:root {
  --navy: #102c4b;
  --navy-dark: #0a2038;
  --blue: #245b91;
  --gold: #d9b574;
  --text: #192a3b;
  --muted: #697787;
  --light: #f5f7fa;
  --border: #e5e9ef;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
/* 
    body {
        margin: 0;
        font-family: 'DM Sans', sans-serif;
        color: var(--text);
        background: #fff;
        line-height: 1.7;
    } */

h1,
h2,
h3,
h4,
.brand-name {
  font-family: "Manrope", sans-serif;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* =========================
       HEADER
    ========================= */

.journal-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

/* =========================
       HERO / NAVY BANNER
    ========================= */

.journal-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 57px;
  color: white;
  background: radial-gradient(
      ellipse at 90% 15%,
      rgba(61, 111, 157, 0.28),
      transparent 35%
    ),
    linear-gradient(125deg, #0a2038 0%, #123555 55%, #173e60 100%);
}

.journal-hero::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  right: -100px;
  top: -170px;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.025),
    0 0 0 90px rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.journal-hero::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(217, 181, 116, 0.2);
  border-radius: 50%;
  right: 12%;
  bottom: -205px;
  box-shadow: 0 0 0 35px rgba(217, 181, 116, 0.035);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.journal-hero h1 {
  font-size: clamp(25px, 3vw, 45px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -2.6px;
  margin: 0 0 20px;
  color: #fff;
}

.journal-hero h1 span {
  color: var(--gold);
}

.hero-description {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 31px;
}

.hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-filter {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 50px;
  padding: 9px 17px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.category-filter:hover,
.category-filter.active {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.category-filter .count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin-left: 5px;
  border-radius: 50px;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.15);
}

.category-filter.active .count {
  background: #eaf0f6;
}

/* =========================
       SECTION INTRO
    ========================= */

.journal-main {
  padding: 74px 0 90px;
}

.section-kicker {
  color: #a17a3a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

.section-heading {
  font-size: clamp(27px, 3vw, 37px);
  font-weight: 800;
  letter-spacing: -1.4px;
  color: var(--navy);
  margin-bottom: 8px;
}

.section-description {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* =========================
       FEATURED ARTICLE
    ========================= */

.featured-section {
  margin-bottom: 78px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: white;
  margin-top: 30px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.featured-card:hover {
  box-shadow: 0 20px 55px rgba(16, 44, 75, 0.09);
  transform: translateY(-3px);
}

.featured-image {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background: #e9edf1;
}

.featured-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.featured-card:hover .featured-image img {
  transform: scale(1.045);
}

.featured-label {
  position: absolute;
  top: 23px;
  left: 23px;
  background: var(--gold);
  color: #1b2d3e;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(27px, 4vw, 53px);
}

.article-category {
  display: inline-block;
  color: var(--blue);
  background: #edf3f9;
  padding: 6px 11px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #84909d;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 16px;
}

.meta-dot {
  width: 3px;
  height: 3px;
  background: #aab3bc;
  border-radius: 50%;
}

.featured-content h3 {
  color: var(--navy);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

.featured-content p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 25px;
}

.read-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 12px 19px;
  border-radius: 5px;
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.read-button:hover {
  background: var(--blue);
  color: white;
  gap: 19px;
}

/* =========================
       BLOG GRID
    ========================= */

.articles-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.articles-count {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.blog-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16, 44, 75, 0.09);
}

.blog-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e9edf1;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.06);
}

.blog-image .image-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 23px 25px;
}

.blog-card-content .article-category {
  margin-bottom: 13px;
}

.blog-card-content .article-meta {
  margin-bottom: 12px;
  font-size: 10px;
}

.blog-card h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.55px;
  line-height: 1.5;
  margin-bottom: 11px;
}

.blog-card h3 a {
  color: var(--navy);
  transition: color 0.25s ease;
}

.blog-card h3 a:hover {
  color: var(--blue);
}

.blog-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.text-link i {
  transition: transform 0.25s ease;
}

.text-link:hover {
  color: var(--blue);
}

.text-link:hover i {
  transform: translateX(5px);
}

.blog-column[hidden] {
  display: none !important;
}

.empty-state {
  display: none;
  padding: 50px 20px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
}

/* =========================
       BOTTOM CTA
    ========================= */

.journal-cta {
  background: var(--light);
  padding: 50px 0;
  border-top: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.cta-inner h2 {
  font-size: 24px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.7px;
  margin-bottom: 8px;
}

.cta-inner p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}

.cta-button {
  flex-shrink: 0;
  background: var(--gold);
  color: #172d42;
  padding: 13px 20px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  transition: background 0.25s ease;
}

.cta-button:hover {
  background: #cba45e;
  color: #172d42;
}

/* =========================
       FOOTER
    ========================= */

.journal-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 23px 0;
  font-size: 11px;
}

.journal-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.journal-footer a:hover {
  color: var(--gold);
}

/* =========================
       RESPONSIVE
    ========================= */

@media (max-width: 991px) {
  .journal-hero {
    padding: 65px 0 48px;
  }

  .journal-main {
    padding: 55px 0 70px;
  }

  .featured-image,
  .featured-image img {
    min-height: 350px;
  }

  .featured-content {
    padding: 28px;
  }

  .blog-card-content {
    padding: 21px 18px;
  }

  .blog-card h3 {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .header-inner {
    min-height: 70px;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-caption {
    font-size: 9px;
    letter-spacing: 1.7px;
  }

  .journal-hero {
    padding: 52px 0 40px;
  }

  .journal-hero h1 {
    font-size: clamp(36px, 8vw, 49px);
    letter-spacing: -1.7px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-categories {
    gap: 8px;
  }

  .category-filter {
    padding: 8px 12px;
    font-size: 11px;
  }

  .journal-main {
    padding: 45px 0 55px;
  }

  .featured-section {
    margin-bottom: 55px;
  }

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

  .featured-image,
  .featured-image img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .featured-content {
    padding: 26px 23px 29px;
  }

  .featured-content h3 {
    font-size: 25px;
  }

  .articles-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
  }

  .blog-card-content {
    padding: 22px;
  }

  .blog-card h3 {
    font-size: 19px;
  }

  .blog-image {
    aspect-ratio: 16 / 10;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-inner h2 {
    font-size: 22px;
  }

  .journal-footer .footer-inner {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
