:root {
  --academy-red: #d20412;
  --text-dark: #333;
  --bg-gray: #f8f8f8;
  --box-border: #e8e8e8;
  --purple-dot: #802a8c; /* 截图中的紫色方块色 */
}

body {
  font-family: PingFang SC, system-ui, -apple-system, Segoe UI, Rototo, Helvetica,
    Arial, sans-serif;
  background: #f2f2f2;
  color: var(--text-dark);
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

/* --- 1. Top Utils & Header --- */
.header-top {
  padding: 25px 0;
  background-color: #fff;
  background: url(../images/bg_header.png) repeat-x left top;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;
  margin-right: 15px;
}

.logo-text {
  padding-left: 15px;
}

.logo-text h1 {
  font-size: 24px;
  font-weight: bold;
  color: var(--academy-red);
  margin: 0;
}

.logo-text p {
  font-size: 12px;
  margin: 0;
  letter-spacing: 2px;
  color: #999;
}

/* --- 2. Navigation --- */
.main-nav-wrap {
  background-color: var(--academy-red);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.nav-list li {
  position: relative;
}

.nav-list li a,
.nav-list li .nav-link {
  display: block;
  padding: 12px 22px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.nav-list li a:hover,
.nav-list li .nav-link:hover,
.nav-list li.active > a,
.nav-list li.active > .nav-link {
  background: rgba(0, 0, 0, 0.1);
}

.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  background: #b31818;
  border: 0;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 30;
  display: none;
}

.nav-dropdown-menu li {
  width: 100%;
}

.nav-dropdown-menu li a {
  color: #fff;
  padding: 14px 26px;
  font-size: 14px;
  white-space: nowrap;
  text-align: center;
  letter-spacing: 1px;
}

.nav-dropdown-menu li:not(:last-child) a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-dropdown-menu li a:hover {
  background: #8f1010;
  color: #fff;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
  display: block;
}

/* --- Sub Banner --- */
.sub-banner {
  max-width: 1200px;
  height: 150px;
  margin: 0 auto;
  padding: 10px;
  background: #fff;
  overflow: hidden;
}

.sub-banner img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* --- Breadcrumb --- */
.breadcrumb-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb-inner {
  height: 60px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
}

.breadcrumb-icon {
  color: var(--academy-red);;
  width: 26px;
  line-height: 1;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

.breadcrumb-nav a:hover {
  color: var(--academy-red);
}

.breadcrumb-sep {
  color: #7a7a7a;
}

/* 子页面主容器（与首页宽度保持一致） */
.main-container {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 40px 10px;
}

/* --- 3. Banner --- */
.banner-wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 10px;
}

.banner-wrap .carousel-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.banner-wrap .carousel-indicators {
  margin-bottom: 16px;
}

.banner-wrap .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.75);
  border: none;
  margin: 0 4px;
}

.banner-wrap .carousel-indicators .active {
  background-color: #9d1515;
}

/* --- 4-1. banner 下方要闻区块 --- */
.notice-section {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  padding: 24px 10px 24px;
}

.notice-wrap {
  display: flex;
  gap: 18px;
}

.notice-left {
  flex: 0 0 50%;
  border: 1px solid #ececec;
  background: #f8f8f8;
}

.notice-left a {
  display: block;
}

.notice-left .carousel-item a {
  display: block;
}

.notice-left img {
  width: 100%;
  height: 335px;
  object-fit: cover;
  display: block;
}

.notice-caption {
  background: #33373b;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  padding: 12px 20px;
  font-weight: 500;
}

.notice-left .carousel-control-prev,
.notice-left .carousel-control-next {
  width: 48px;
  opacity: 1;
}

.notice-left .carousel-control-prev-icon,
.notice-left .carousel-control-next-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.38);
  background-size: 58% 58%;
}

.notice-right {
  flex: 1;
  min-width: 0;
}

.notice-group {
  margin-bottom: 18px;
}

.notice-group:last-child {
  margin-bottom: 0;
}

.notice-group-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.notice-group-title h3 {
  margin: 0;
  color: #1b6ca5;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.1;
}

.notice-more {
  color: #555;
  font-size: 30px;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notice-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  color: #333;
  border-bottom: 1px dashed #f0f0f0;
}

.notice-list li:last-child {
  border-bottom: 0;
}

.notice-item-title {
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* font-size: 14px; */
}

.notice-right .notice-list li:hover .notice-item-title {
  color: var(--academy-red);
}

.notice-date {
  color: #999;
  font-family: Arial;
  flex-shrink: 0;
  font-size: 13px;
}

@media (max-width: 992px) {
  .notice-wrap {
    flex-direction: column;
  }
  .notice-left {
    flex-basis: auto;
  }
  .notice-left img {
    height: 260px;
  }
  .notice-caption {
    font-size: 20px;
  }
  .notice-group-title h3 {
    font-size: 28px;
  }
  .notice-more {
    font-size: 18px;
  }
  .notice-list li,
  .notice-date {
    font-size: 16px;
  }
  .notice-badge-new {
    font-size: 12px;
  }
}

/* --- 4. 新闻板块：卡片整体化设计 (模仿截图) --- */
.news-section {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  padding: 20px 10px;
}

/* 每一个板块容器 */
.news-card-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.section-title-bar {
  border-top: 2px solid var(--academy-red);
  background: linear-gradient(to bottom, #fcfcfc, #f5f5f5);
  display: flex;
  align-items: center;
  padding: 8px 15px;
  margin-bottom: 0; /* 修改点：去掉底部边距 */
  justify-content: space-between;
}

.section-title-bar h2 {
  font-size: 16px;
  color: #9d1515;
  font-weight: 500;
  margin: 0;
}

.title-main {
  display: flex;
  align-items: center;
  color: #9d1515;
  font-size: 16px;
  font-weight: 500;
}

.title-main i {
  color: #999;
  margin-right: 8px;
  font-size: 16px;
}

.title-tabs {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 20px;
}

.tab-item {
  position: relative;
  padding: 0 10px;
  color: #666;
  font-size: 14px;
}

.tab-item.active {
  color: var(--academy-red);
  font-weight: bold;
}

.tab-item.active::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--academy-red);
}

.title-more {
  font-size: 13px;
  color: #999;
}

.title-more:hover {
  color: var(--academy-red);
}

/* 新闻左侧：焦点图轮播（参考截图） */
.news-focus-card {
  border: 1px solid #eaeaea;
}

.news-focus-carousel {
  position: relative;
}

.news-focus-carousel .carousel-item img {
  width: 100%;
  height: 325px;
  object-fit: cover;
  display: block;
}

.news-focus-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-focus-carousel .carousel-indicators {
  margin-bottom: 10px;
  justify-content: center;
}

.news-focus-carousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.75);
  border: none;
  margin: 0 4px;
}

.news-focus-carousel .carousel-indicators .active {
  background-color: #9d1515;
}

/* 新闻中间：顶部双Tab + 列表日期（参考截图） */
.news-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-tab-btn {
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #333;
  font-size: 14px;
  padding: 4px 12px;
  line-height: 1.2;
  border-radius: 2px;
  cursor: pointer;
  user-select: none;
}

.news-tab-btn.active {
  background: #2d4f7a;
  border-color: #2d4f7a;
  color: #fff;
  font-weight: 600;
}

.news-tab-panel {
  display: none;
}

.news-tab-panel.active {
  display: block;
}

.news-mid-list.is-tabbed {
  padding-top: 10px;
}

.news-mid-list.is-tabbed li {
  border-bottom: 0;
  padding: 9px 0;
}

.news-mid-list.is-tabbed li a::before {
  background: #2d4f7a;
}

.news-date.is-paren {
  color: #c9c9c9;
  font-size: 12px;
}

@media (max-width: 992px) {
  .nav-dropdown-menu li a {
    font-size: 16px;
    padding: 12px 18px;
  }
  .news-focus-carousel .carousel-item img {
    height: 240px;
  }
}

/* 内容列表样式 (复刻 image_199aa8.png) */
.news-mid-list {
  list-style: none;
  padding: 15px;
  margin: 0;
  flex: 1;
}

.news-mid-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-mid-list li a {
  flex: 0 1 calc(100% - 92px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 22px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

/* 红色方块引导符 */
.notice-item-title::before,
.news-mid-list li a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--academy-red);
  margin-right: 12px;
  flex-shrink: 0;
}

.news-mid-list li a:hover {
  color: var(--academy-red);
}

.news-date {
  flex: 0 0 78px;
  text-align: right;
  color: #999;
  font-size: 13px;
  font-family: Arial;
}

/* 左右内容容器 */
.news-inner-padding {
  padding: 15px;
  flex: 1;
}

.news-left-feed {
  padding: 0 18px;
}

.news-left-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #e9e9e9;
}

.news-left-item:last-child {
  border-bottom: none;
}

.news-left-text {
  flex: 1;
  min-width: 0;
}

.news-left-title {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 10px;
  font-weight: 400;
}

.news-left-meta {
  margin: 0;
  color: #9a9a9a;
  font-size: 12px;
}

.news-left-thumb {
  width: 122px;
  height: 73px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

.news-right-about {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.about-img {
  width: 100%;
  border-radius: 2px;
  margin-bottom: 15px;
}

.news-about-box {
  border: 1px solid #dedede;
  border-radius: 2px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  background: #fff;
}

.news-extra-image {
  width: 100%;
  display: block;
  border-radius: 4px;
  margin-top: 10px;
}

/* news-section 右侧：服务入口 + 二维码 */
.service-and-qrcode {
  display: flex;
  gap: 18px;
}

.service-links-box {
  flex: 1;
  border: 1px solid #cfcfcf;
  /* border-radius: 8px; */
  background: #fff;
  padding: 8px;
}

.service-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #dad4c3;
  border-radius: 8px;
  padding: 1px 14px;
  margin-bottom: 6px;
  color: #834a01;
  font-size: 14px;
  font-weight: 500;
  line-height:0.9;
}

.service-link-item:last-child {
  margin-bottom: 0;
}

.service-link-item img {
  width: 62px;
  height: 46px;
  object-fit: contain;
  margin-left: 12px;
  flex-shrink: 0;
  border-radius: 8px;
  padding: 6px 8px;
}

.qrcode-box {
  flex: 1;
  background: #f7f7f7;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  justify-content: space-between;
}

.qrcode-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
  display: block;
}

/* --- 5. 联企服务板块 --- */
.academic-section {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  padding: 0px 10px 40px 10px;
}

/* 顶部红色大标题栏 */
.academic-header {
  background-color: #9d1515;
  display: inline-block;
  padding: 8px 30px 8px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%); /* 右侧斜角效果 */
  margin-bottom: 0;
}

.academic-container {
  border-top: 2px solid #9d1515;
  padding-top: 20px;
}

.academic-container .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.academic-container .col-md-6 {
  padding: 10px 20px;
}

/* 子栏目标题 */
.sub-column-title {
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sub-column-title h3 {
  font-size: 16px;
  color: #9d1515;
  font-weight: bold;
  margin: 0;
  padding-bottom: 5px;
  position: relative;
}

/* 子栏目标题下的红色激活横条 */
.sub-column-title h3::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #9d1515;
}

.sub-more {
  font-size: 13px;
  color: #666;
}

/* 列表样式 */
.academic-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.academic-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 15px;
}

.academic-list li a {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
  padding-right: 15px;
}

/* 列表前的红色圆点 */
.academic-list li::before {
  content: "•";
  color: var(--academy-red);
  margin-right: 8px;
  font-weight: bold;
}

.academic-list li a:hover {
  color: var(--academy-red);
}

.academic-date {
  color: #999;
  font-family: Arial;
  font-size: 13px;
}

/* NEW 标签样式 */
.badge-new {
  background-color: #e60012;
  color: #fff;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 3px;
  margin-left: 5px;
  font-style: normal;
}

/* --- 5. 学术动态滑动区 --- */
.academic-section {
  max-width: 1200px;
  margin: 0 auto 40px;
}

.friendly-links-wrap {
  padding: 16px 20px 20px;
}

.friendly-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.friendly-links-list li {
  width: calc(25% - 18px);
  min-width: 220px;
}

.friendly-links-list a {
  color: #666;
  font-size: 14px;
  display: inline-block;
  white-space: nowrap;
}

.friendly-links-list a:hover {
  color: var(--academy-red);
  text-decoration: underline;
}

/* --- Footer --- */
.site-footer {
  padding-top: 50px;
  background: #313131;
  color: #8e8b86;
  padding: 30px 0;
}

.site-footer a {
  color: #b5ada0;
}

.site-footer a:hover {
  color: #9d1515;
  text-decoration: underline;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.footer-links {
  flex: 1;
  min-width: 0;
}

.footer-links-title {
  font-size: 13px;
  margin: 0 0 12px;
  opacity: 0.9;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: 60px;
}

.footer-links-list li {
  break-inside: avoid;
  padding: 3px 0;
}

.footer-links-list a {
  font-size: 12px;
  opacity: 0.9;
}

.footer-right {
  flex: 0 0 380px;
  min-width: 0;
}

.footer-org-title {
  font-size: 13px;
  margin: 0 0 12px;
  opacity: 0.9;
}

.footer-org {
  font-size: 12px;
  line-height: 1.9;
  opacity: 0.95;
}

.footer-org p {
  margin: 0;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px solid #bbbbbb;
  text-align: center;
  font-size: 12px;
  opacity: 0.85;
}

.footer-bottom a {
  color: #b5ada0;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: #7f0f0f;
}

@media (max-width: 992px) {
  .breadcrumb-inner {
    height: 62px;
    padding: 0 16px;
    gap: 10px;
  }
  .breadcrumb-icon {
    width: 16px;
  }
  .breadcrumb-nav {
    font-size: 28px;
    gap: 8px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 22px;
  }
  .footer-right {
    width: 100%;
  }
  .footer-links-list {
    columns: 2;
    column-gap: 40px;
  }
  .service-and-qrcode {
    flex-direction: column;
  }
  .service-link-item {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .breadcrumb-inner {
    height: 52px;
    padding: 0 12px;
  }
  .breadcrumb-nav {
    font-size: 20px;
  }
  .footer-links-list {
    columns: 1;
  }
  .service-link-item {
    font-size: 16px;
    padding: 10px 12px;
  }
  .service-link-item img {
    width: 52px;
    height: 40px;
  }
}

/* --- Contact Page --- */
.main-content {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 10px;
  background: #fff;
}

.list-container {
  background: #fff;
  border: 1px solid #ececec;
  padding: 0 18px 28px;
}

.list-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--academy-red);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 18px 0 18px;
  padding-left: 8px;
}

.list-title::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(135deg, #fb4a4a 0%, #91010b 100%);
  box-shadow: 4px -4px 0 0 #fed3d3;
}

.list-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: calc(100vw - 80px);
  max-width: 1120px;
  height: 1px;
  background: #ececec;
}

.article-content {
  color: #444;
  font-size: 16px;
  line-height: 1.95;
  padding-top: 20px;
}

.article-content p {
  margin-bottom: 14px;
}

.article-empty {
  color: #999;
  margin: 10px 0;
}

.contact-feedback-wrap {
  margin-top: 22px;
  padding: 18px;
  background: #fafafa;
  border: 1px solid #ededed;
}

.contact-feedback-desc {
  display: block;
  color: #666;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 14px;
}

.detail-content {
  margin-top: 10px;
}

.crc-feedback-form .form-group {
  margin-bottom: 12px;
}

.crc-feedback-field {
  border-radius: 0;
  border: 1px solid #dfdfdf;
  min-height: 42px;
  font-size: 14px;
}

.crc-feedback-field:focus {
  border-color: #c24f4f;
  box-shadow: 0 0 0 0.12rem rgba(210, 4, 18, 0.14);
}

.crc-feedback-textarea {
  min-height: 128px;
  resize: vertical;
}

.crc-feedback-submit {
  min-width: 130px;
  height: 40px;
  border: none;
  border-radius: 0;
  background: var(--academy-red);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.crc-feedback-submit:hover,
.crc-feedback-submit:focus {
  background: #b10410;
  color: #fff;
}

.crc-feedback-submit:disabled {
  background: #d99ba0;
  cursor: not-allowed;
}

@media (max-width: 992px) {
  .list-container {
    padding: 0 12px 20px;
  }
  .list-title {
    font-size: 20px;
    margin: 14px 0 14px;
  }
  .article-content {
    font-size: 15px;
    line-height: 1.85;
  }
  .contact-feedback-wrap {
    padding: 14px;
  }
}

/* --- Inner Page: Explore Detail (aligned with law theme structure) --- */
.inner-page {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  padding-bottom: 40px;
}

.inner-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.inner-content {
  /* border: 1px solid #ececec; */
  background: #fff;
  min-width: 0;
}

.article-container {
  margin: 0;
}

.law-brand-detail {
  padding: 14px 26px 36px;
  background: #fff;
}

.law-brand-detail-summary {
  display: flex;
  gap: 36px;
  margin-bottom: 8px;
  padding-bottom: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.law-brand-detail-logo {
  flex: 0 0 340px;
  max-width: 100%;
}

.law-brand-detail-logo img {
  display: block;
  width: 100%;
  max-width: 400px;
  min-width: 260px;
  object-fit: contain;
  border: 1px solid #eee;
  padding: 14px;
  background: #fafafa;
  margin: 0 auto;
}

.law-brand-detail-params {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

.param-label {
  display: inline-block;
  color: #888;
}

.param-value {
  display: inline-block;
  color: #333;
}

.law-brand-detail-rich {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}

.law-brand-detail-block {
  margin-top: 32px;
}

.law-brand-detail-block-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--academy-red);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e3b6ba;
}

.img-list {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.img-list--4col {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.img-card {
  display: block;
  border: 1px solid #ececec;
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
  border-radius: 4px;
}

.img-card:hover {
  transform: translateY(-2px);
  border-color: rgba(210, 4, 18, 0.25);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.img-thumb {
  width: 100%;
  aspect-ratio: 1;
  background: #eee;
  overflow: hidden;
}

.img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-meta {
  padding: 12px 12px 14px;
}

.img-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.35;
  height: 38px;
  overflow: hidden;
}

@media (max-width: 992px) {
  .inner-page {
    padding-bottom: 20px;
  }

  .law-brand-detail {
    padding: 14px;
  }

  .law-brand-detail-summary {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding-bottom: 18px;
  }

  .law-brand-detail-logo {
    flex: 0 0 auto;
    width: 100%;
  }

  .law-brand-detail-logo img {
    min-width: 0;
    max-width: min(400px, 100%);
  }

  .law-brand-detail-params {
    width: 100%;
  }

  .img-list {
    padding: 14px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .img-list--4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .law-brand-detail {
    padding: 12px;
  }

  .law-brand-detail-block-title {
    font-size: 18px;
    margin-bottom: 12px;
  }
}
