:root {
  --forest-dark: #0e3d2f;
  --forest-dark-hover: #144e3d;
  --wood: #b78a48;
  --wood-hover: #9d7338;
  --wood-light: #e5cbab;
}

/* ==========================================================================
   Section 1: Hero Banner (Matching Design Mockup)
   ========================================================================== */
.news-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 136px 0 92px;
  background: linear-gradient(90deg, rgba(8, 21, 16, 0.88) 0%, rgba(8, 21, 16, 0.58) 55%, rgba(8, 21, 16, 0.28) 100%),
              url("../images/about-banner.png") center right / cover no-repeat;
  overflow: hidden;
}

.products-hero__bg-fx {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 50%, rgba(183, 138, 72, 0.16) 0%, transparent 60%);
  pointer-events: none;
}

.products-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.products-hero__content {
  max-width: 640px;
  color: #ffffff;
}

.products-hero__kicker {
  margin: 0 0 10px;
  color: #e5cbab;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.products-hero__title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.products-hero__subtitle {
  max-width: 580px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(15.5px, 1.35vw, 18px);
  font-weight: 500;
  line-height: 1.55;
}

.products-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.products-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.22s ease;
}

.products-hero__breadcrumb a:hover {
  color: #e5cbab;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.products-hero__breadcrumb span:last-child {
  color: #e5cbab;
  font-weight: 700;
}

/* Vertical Architectural Typography from Design Mockup */
.products-hero__vertical-tag {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
  color: rgba(229, 203, 171, 0.8);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  line-height: 1.2;
  user-select: none;
}

.products-hero__vertical-tag span {
  display: block;
}

/* ==========================================================================
   Section 2: News Main Layout
   ========================================================================== */
.news-main-section {
  padding: 72px 0 108px;
  background: #ffffff;
}

/* ==========================================================================
   Section 3: Featured News Hero Card
   ========================================================================== */
.featured-news-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  background: #faf8f5;
  border: 1px solid #ede7df;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 44px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.featured-news-card:hover {
  box-shadow: 0 12px 32px rgba(14, 61, 47, 0.08);
  border-color: rgba(183, 138, 72, 0.45);
}

.featured-news-card__media {
  width: 100%;
  height: 100%;
  min-height: 330px;
  overflow: hidden;
  background: #eae5dc;
}

.featured-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-news-card:hover .featured-news-card__media img {
  transform: scale(1.04);
}

.featured-news-card__body {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-kicker-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.featured-kicker-text {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--wood);
  text-transform: uppercase;
}

.featured-kicker-line {
  flex: 1;
  max-width: 60px;
  height: 1.5px;
  background: var(--wood);
  display: block;
}

.featured-news-card__title {
  margin: 0 0 12px;
  color: var(--forest-dark);
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.featured-news-card__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #79837f;
  font-weight: 500;
  margin-bottom: 16px;
}

.featured-news-card__date i {
  color: var(--wood);
  font-size: 13.5px;
}

.featured-news-card__desc {
  margin: 0 0 24px;
  color: #55605d;
  font-size: 14.5px;
  line-height: 1.7;
}

.featured-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  background: var(--forest-dark);
  color: #ffffff;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: all 0.22s ease;
  box-shadow: 0 4px 12px rgba(14, 61, 47, 0.2);
}

.featured-read-btn i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.featured-read-btn:hover {
  background: var(--forest-dark-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 61, 47, 0.3);
}

.featured-read-btn:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   Section 4: News 4-Column Grid
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  background: #ffffff;
  border: 1px solid #ebe5dc;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.news-card[hidden] {
  display: none !important;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(14, 61, 47, 0.09);
  border-color: rgba(183, 138, 72, 0.45);
}

.news-card__img-wrap {
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  position: relative;
  background: #f4f1eb;
}

.news-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card:hover .news-card__img-wrap img {
  transform: scale(1.06);
}

.news-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__date {
  font-size: 12px;
  color: #838e8a;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.news-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #172421;
  line-height: 1.35;
  margin: 0 0 10px;
  transition: color 0.2s ease;
}

.news-card:hover .news-card__title {
  color: var(--forest-dark);
}

.news-card__excerpt {
  font-size: 13px;
  color: #5e6865;
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--forest-dark);
  text-decoration: none;
  margin-top: auto;
  transition: color 0.2s ease;
}

.news-card__link i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.news-card:hover .news-card__link {
  color: var(--wood);
}

.news-card:hover .news-card__link i {
  transform: translateX(4px);
}

/* Empty State */
.news-empty-state {
  text-align: center;
  padding: 64px 20px;
  background: #faf8f5;
  border: 1px dashed #dcd7ce;
  border-radius: 8px;
  margin: 20px 0;
}

.news-empty-icon {
  font-size: 40px;
  color: #9aa29f;
  margin-bottom: 14px;
}

.news-empty-state h3 {
  margin: 0 0 8px;
  color: var(--forest-dark);
  font-size: 20px;
}

.news-empty-state p {
  margin: 0 0 20px;
  color: #636d6a;
  font-size: 14px;
}

.news-empty-reset-btn {
  padding: 10px 24px;
  background: var(--forest-dark);
  color: #ffffff;
  border: 0;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.news-empty-reset-btn:hover {
  background: var(--forest-dark-hover);
}

/* ==========================================================================
   Section 5: Pagination
   ========================================================================== */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 52px;
}

.pagination-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #ded7cc;
  border-radius: 4px;
  background: #ffffff;
  color: #3b4542;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.pagination-btn:hover {
  border-color: var(--forest-dark);
  color: var(--forest-dark);
}

.pagination-btn.is-active {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  color: #ffffff;
  font-weight: 700;
}

.pagination-ellipsis {
  padding: 0 4px;
  color: #8c9693;
  font-size: 15px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 980px) {
  .news-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .news-search-wrap {
    max-width: 100%;
  }

  .news-toolbar-meta {
    justify-content: space-between;
  }

  .featured-news-card {
    grid-template-columns: 1fr;
  }

  .featured-news-card__media {
    min-height: 260px;
  }

  .featured-news-card__body {
    padding: 32px 28px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-main-section {
    padding: 48px 0 76px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .featured-news-card__body {
    padding: 24px 20px;
  }

  .featured-news-card__desc {
    font-size: 13.5px;
  }

  .news-pagination {
    gap: 5px;
  }

  .pagination-btn {
    min-width: 32px;
    height: 32px;
    font-size: 12.5px;
  }
}
