.inner-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 70px;
  background: var(--emerald-950);
  color: var(--white);
}

.inner-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 44, 34, 0.94), rgba(6, 95, 70, 0.7)), url("../images/hero-bg.jpg") center/cover;
  content: "";
}

.inner-hero .content-max {
  position: relative;
  z-index: 1;
}

.inner-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
}

.inner-hero p,
.breadcrumb {
  color: rgba(167, 243, 208, 0.82);
}

.breadcrumb {
  margin-top: 18px;
  font-size: 14px;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
}

.subnav a {
  border: 1px solid var(--emerald-100);
  border-radius: 999px;
  background: var(--white);
  padding: 8px 16px;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 700;
}

.subnav a.active,
.subnav a:hover {
  border-color: var(--emerald-500);
  background: var(--emerald-50);
  color: var(--emerald-700);
}

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

.cms-article-list {
  display: grid;
  gap: 24px;
}

.cms-list-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.cms-list-item img,
.cms-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cms-list-item:hover img,
.cms-card:hover img {
  transform: scale(1.04);
}

.cms-thumb {
  min-height: 220px;
  overflow: hidden;
}

.cms-list-body,
.cms-card-body {
  padding: 28px;
}

.cms-date,
.cms-meta {
  color: var(--slate-400);
  font-size: 13px;
}

.cms-list-body h2,
.cms-card-body h2 {
  margin: 10px 0 12px;
  color: var(--slate-900);
  font-size: 22px;
  line-height: 1.35;
}

.cms-list-body p,
.cms-card-body p {
  color: var(--slate-500);
}

.cms-card {
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.cms-card-thumb {
  height: 230px;
  overflow: hidden;
}

.cms-pagination {
  margin-top: 42px;
  text-align: center;
}

.cms-pagination ul {
  display: inline-flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cms-pagination a,
.cms-pagination span {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--white);
  color: var(--slate-600);
}

.cms-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
}

.cms-panel {
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 34px;
}

.cms-content {
  color: var(--slate-700);
  font-size: 16px;
  line-height: 1.85;
}

.cms-content img {
  height: auto;
  margin: 18px 0;
  border-radius: 12px;
}

.cms-content h1,
.cms-content h2,
.cms-content h3 {
  color: var(--slate-900);
}

.cms-sidebar {
  display: grid;
  gap: 20px;
  align-self: start;
}

.cms-sidebar h3 {
  margin: 0 0 16px;
}

.cms-sidebar ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cms-sidebar a {
  color: var(--slate-600);
}

.cms-sidebar a:hover {
  color: var(--emerald-600);
}

.product-detail {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 44px;
  align-items: start;
}

.product-detail-image {
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.product-detail-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.next-prev {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  border-top: 1px solid var(--slate-200);
  padding-top: 22px;
}

@media (max-width: 980px) {
  .cms-list-grid,
  .cms-detail,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .cms-list-item {
    grid-template-columns: 1fr;
  }
}
