/* ============================================================
   BLOGS  —  /blogs
   Sections: hero band / featured article / categories filter /
             grid (3-col) / newsletter strip
============================================================ */

body { background: #fff; color: var(--navy); font-family: var(--font-sans); }


/* ------------------------------------------------------------
   1. HERO BAND
------------------------------------------------------------ */
.blg-hero {
  position: relative;
  padding: clamp(140px, 16vw, 200px) clamp(20px, 5vw, 80px) clamp(60px, 7vw, 110px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #0b1e3d;
}
.blg-hero__bg {
  position: absolute; inset: 0; margin: 0; z-index: 0;
}
.blg-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.9);
}
.blg-hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(184,150,110,0.22), transparent 60%),
    linear-gradient(180deg, rgba(11,30,61,0.55) 0%, rgba(11,30,61,0.85) 100%);
  pointer-events: none;
}
.blg-hero__inner {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  text-align: center;
}
.blg-hero__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(184,150,110,0.55);
  border-radius: 999px;
  background: rgba(184,150,110,0.12);
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 22px;
}
.blg-hero__chip-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,110,0.18);
  animation: blgPulse 1.6s ease-in-out infinite;
}
@keyframes blgPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(184,150,110,0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(184,150,110,0.05); }
}
.blg-hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: #fff;
}
.blg-hero__title em { font-style: italic; font-weight: 400; color: var(--gold); }
.blg-hero__sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0 auto;
  max-width: 60ch;
}


/* ------------------------------------------------------------
   2. FEATURED ARTICLE
------------------------------------------------------------ */
.blg-featured-sec {
  padding: clamp(50px, 6vw, 90px) clamp(20px, 5vw, 80px) clamp(30px, 3vw, 50px);
  background: #fff;
}
.blg-featured {
  max-width: 1120px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  background: #f7f5f0;
  border-radius: 22px;
  padding: clamp(20px, 2vw, 28px);
  transition: background 0.5s ease;
}
.blg-featured:hover { background: #f1ede5; }

.blg-featured__media {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #ececea;
  text-decoration: none;
}
.blg-featured__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16,1,0.3,1);
}
.blg-featured:hover .blg-featured__media img { transform: scale(1.05); }
.blg-featured__arrow {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  opacity: 0;
  transform: translate(6px, -6px) scale(0.85);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), background 0.3s ease;
}
.blg-featured__arrow svg { width: 14px; height: 14px; }
.blg-featured:hover .blg-featured__arrow {
  opacity: 1;
  transform: translate(0,0) scale(1);
  background: var(--gold);
}

.blg-featured__copy { padding: clamp(8px, 1vw, 16px); }
.blg-featured__meta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.blg-featured__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 14px;
}
.blg-featured__title a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.blg-featured__title a:hover { color: var(--gold); }
.blg-featured__excerpt {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.6;
  color: rgba(11,30,61,0.7);
  margin: 0 0 22px;
  max-width: 50ch;
}


/* ------------------------------------------------------------
   META  (date + category pill)  —  shared
------------------------------------------------------------ */
.blg-meta__date {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(11,30,61,0.55);
}
.blg-meta__cat {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase;
}


/* ------------------------------------------------------------
   AUTHOR BADGE  —  shared
------------------------------------------------------------ */
.blg-author {
  display: inline-flex; align-items: center; gap: 10px;
}
.blg-author__avatar {
  width: 38px; height: 38px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), #6f5a3f 70%);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(11,30,61,0.06);
}
.blg-author__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.blg-author__copy { display: flex; flex-direction: column; line-height: 1.25; }
.blg-author__name {
  font-family: var(--font-sans);
  font-size: 0.84rem; font-weight: 600;
  color: var(--navy);
}
.blg-author__role {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(11,30,61,0.55);
}
.blg-author--sm .blg-author__avatar { width: 30px; height: 30px; }
.blg-author--sm .blg-author__name { font-size: 0.78rem; }
.blg-author--sm .blg-author__role { font-size: 0.68rem; }


/* ------------------------------------------------------------
   3. CATEGORIES FILTER
------------------------------------------------------------ */
.blg-cats-sec {
  padding: 0 clamp(20px, 5vw, 80px) clamp(28px, 3vw, 44px);
  background: #fff;
}
.blg-cats {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 8px 0;
  border-top: 1px solid rgba(11,30,61,0.08);
  border-bottom: 1px solid rgba(11,30,61,0.08);
  padding: 18px 0;
}
.blg-cat {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  border: 1px solid rgba(11,30,61,0.12);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.blg-cat:hover {
  background: #f7f5f0;
  border-color: rgba(184,150,110,0.45);
  transform: translateY(-1px);
}
.blg-cat.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}


/* ------------------------------------------------------------
   4. GRID
------------------------------------------------------------ */
.blg-grid-sec {
  padding: clamp(20px, 2vw, 32px) clamp(20px, 5vw, 80px) clamp(60px, 7vw, 110px);
  background: #fff;
}
.blg-grid {
  /* 2026-06-10: columns reduced ~20% (1380 -> 1120) + 16:9 media so the
     client blog images (≈1.85 ratio) sit clean and uncut, more enticing. */
  max-width: 1120px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
@media (max-width: 1100px) { .blg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .blg-grid { grid-template-columns: 1fr; } }

.blg-card {
  display: flex; flex-direction: column;
  gap: 14px;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.blg-card:hover { transform: translateY(-4px); }

.blg-card__media {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #ececea;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(11,30,61,0.04);
  transition: box-shadow 0.45s cubic-bezier(0.16,1,0.3,1);
}
.blg-card:hover .blg-card__media {
  box-shadow:
    0 24px 48px -22px rgba(11,30,61,0.30),
    0 0 0 4px rgba(184,150,110,0.10);
}
.blg-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16,1,0.3,1);
}
.blg-card:hover .blg-card__media img { transform: scale(1.06); }

.blg-card__arrow {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  opacity: 0;
  transform: translate(6px, -6px) scale(0.85);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), background 0.3s ease;
}
.blg-card__arrow svg { width: 12px; height: 12px; }
.blg-card:hover .blg-card__arrow {
  opacity: 1;
  transform: translate(0,0) scale(1);
  background: var(--gold);
}

.blg-card__copy { padding: 0 4px; display: flex; flex-direction: column; gap: 10px; }
.blg-card__meta {
  display: inline-flex; align-items: center; gap: 10px;
}
.blg-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  line-height: 1.22;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0;
}
.blg-card__title a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.blg-card__title a:hover { color: var(--gold); }
.blg-card__excerpt {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(11,30,61,0.62);
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ------------------------------------------------------------
   LOAD MORE
------------------------------------------------------------ */
.blg-loadmore {
  display: flex; justify-content: center;
  margin-top: clamp(36px, 4vw, 56px);
}
.blg-loadmore__btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  background: #fff;
  border: 1px solid rgba(11,30,61,0.18);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.88rem; font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, gap 0.35s ease, transform 0.35s ease;
}
.blg-loadmore__btn svg { width: 13px; height: 13px; transition: transform 0.45s cubic-bezier(0.16,1,0.3,1); }
.blg-loadmore__btn:hover { background: var(--navy); color: #fff; gap: 16px; transform: translateY(-2px); }
.blg-loadmore__btn:hover svg { transform: translateY(2px); }


/* ------------------------------------------------------------
   5. NEWSLETTER
------------------------------------------------------------ */
.blg-news {
  padding: clamp(60px, 7vw, 110px) clamp(20px, 5vw, 80px);
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.blg-news::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at 80% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.blg-news__wrap {
  position: relative; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .blg-news__wrap { grid-template-columns: 1fr; } }

.blg-news__chip {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(184,150,110,0.55);
}
.blg-news__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  max-width: 22ch;
}
.blg-news__title em { font-style: italic; font-weight: 400; color: var(--gold); }
.blg-news__sub {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 50ch;
}

.blg-news__form {
  display: flex; gap: 10px;
  padding: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.blg-news__input {
  flex: 1; min-width: 0;
  padding: 12px 18px;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: #fff;
}
.blg-news__input::placeholder { color: rgba(255,255,255,0.5); }
.blg-news__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--gold);
  color: #0b1e3d;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.88rem; font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.35s ease, gap 0.35s ease;
}
.blg-news__btn svg { width: 13px; height: 10px; }
.blg-news__btn:hover { background: #cba883; gap: 14px; }
@media (max-width: 600px) {
  .blg-news__form { flex-direction: column; border-radius: 22px; padding: 14px; }
  .blg-news__input { padding: 10px 14px; }
}

/* 2026-06-10 (client request): the featured blog card had no mobile
   breakpoint — its 2-column grid squeezed a tiny thumbnail beside a
   2-words-per-line text column on phones. Stack it like the
   Publications page: full-width image on top, copy beneath. Scoped
   ≤700px (same breakpoint as the card grid) — desktop is untouched,
   non-negotiable per client. */
@media (max-width: 700px) {
  .blg-featured {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
  }
  .blg-featured__media { width: 100%; }
  .blg-featured__copy { padding: 2px 6px 10px; }
  .blg-featured__title { font-size: clamp(1.25rem, 5.6vw, 1.6rem); line-height: 1.25; }
  .blg-featured__excerpt { font-size: 0.95rem; line-height: 1.6; }
}
/* F10 (2026-06-10): refinements for narrow phones. The hero
   stays readable, the newsletter copy doesn't dominate, and the
   button gets full width when stacked. */
@media (max-width: 480px) {
  .blg-hero { padding-left: 16px; padding-right: 16px; }
  .blg-hero__chip { font-size: 0.68rem; padding: 5px 12px; }
  .blg-news__title { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .blg-news__sub { font-size: 0.88rem; }
  .blg-news__btn { width: 100%; justify-content: center; }
}
