/* ============================================================
   BLOG / THE AAT JOURNAL — redesign (2026-05-24)
   Mockup: samples/blogs/blogs design.png
   Sections: full-bleed hero · featured story · category nav ·
             editor's picks · latest articles · CTA banner.
   Nav + footer inject via includes (untouched).
   Tokens: gold #D4AF37, base #030303, headings var(--font-heading).
   ============================================================ */

:root { --blog-gold: #d4af37; --blog-gold-soft: #e7c66a; }

/* Homepage hero treatment: hide the 145px nav-gutter + ambient glows so the
   hero photo runs flush to the top under the transparent nav. */
body > div[aria-hidden="true"][style*="height: 145px"] { display: none !important; }
.ambient-light { display: none !important; }

.blog-wrap { background: #030303; }

/* ---------- 1. HERO (full-bleed, homepage pattern) ---------- */
.blog-hero {
  position: relative;
  min-height: 760px;
  padding: 150px 0 64px;
  overflow: hidden;
  isolation: isolate;
  background: #030303;
}
.blog-hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--blog-hero-img);
  background-size: cover;
  background-position: right center; /* anchor right so the vehicles are fully shown; copy sits on the right over the scrim-free photo */
  z-index: 0;
}
/* No-hero-tint rule: image stays at full natural luminance — no scrim.
   Legibility lives on the glyphs via text-shadow, not on the photo. */
.blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  text-shadow: 0 2px 22px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.85);
}
.blog-hero-eyebrow {
  color: var(--blog-gold);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.blog-hero-title {
  font-family: var(--font-heading), "Cormorant Garamond", serif;
  color: #fff; font-weight: 500; line-height: 1.02;
  font-size: clamp(3rem, 7vw, 5rem);
  margin: 0 0 1.5rem;
}
.blog-hero-title em { color: var(--blog-gold); font-style: normal; }
.blog-hero-desc {
  color: #c4c4c4; font-weight: 300; font-size: 1.05rem; line-height: 1.7;
  max-width: 30rem; margin: 0 0 2rem;
}
.blog-hero-link {
  display: inline-flex; align-items: center; gap: 0.65rem;
  color: #fff; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 13px 28px; border: 1px solid rgba(212,175,55,0.55); border-radius: 999px;
  background: rgba(0,0,0,0.35); transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.blog-hero-link:hover { background: var(--blog-gold); color: #030303; border-color: var(--blog-gold); }
.blog-hero-link span { transition: transform 0.2s ease; }
.blog-hero-link:hover span { transform: translateX(5px); }

/* ---------- 2. FEATURED STORY ---------- */
.blog-featured-wrap { background: #030303; padding: 0 1.25rem; }
.blog-featured {
  max-width: 1180px; margin: -64px auto 0;
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 1.25rem; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: #0a0a0a;
}
.blog-featured__img { background-size: cover; background-position: right center; min-height: 360px; }
.blog-featured__body { position: relative; padding: 3.25rem 3.5rem; }
.blog-featured__label {
  color: var(--blog-gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.blog-featured__title {
  font-family: var(--font-heading), "Cormorant Garamond", serif;
  color: #fff; font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.15;
  margin: 1rem 0 1.1rem; max-width: 26rem;
}
.blog-featured__excerpt { color: #a9a9a9; font-weight: 300; font-size: 0.98rem; line-height: 1.65; margin: 0 0 1.75rem; max-width: 30rem; }
.blog-featured__cta {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.85rem 1.5rem; border: 1px solid rgba(212,175,55,0.6); border-radius: 0.5rem;
  color: var(--blog-gold); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.blog-featured__cta:hover { background: var(--blog-gold); color: #1a1303; }
.blog-featured__date {
  position: absolute; top: 3.25rem; right: 1.4rem;
  writing-mode: vertical-rl; text-orientation: mixed;
  color: #6f6f6f; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.blog-featured__num {
  position: absolute; bottom: 1rem; right: 2rem;
  font-family: var(--font-heading), serif; font-size: 5.5rem; line-height: 1;
  color: rgba(255,255,255,0.06); font-weight: 600; pointer-events: none;
}

/* ---------- 3. CATEGORY NAV ---------- */
.blog-catnav-wrap { background: #030303; padding: 3.5rem 1.25rem 0; }
.blog-catnav {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.25rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.blog-cat {
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  color: #b4b4b4; cursor: pointer; background: none; border: none;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative; padding-bottom: 0.75rem;
}
.blog-cat__ring {
  width: 52px; height: 52px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(212,175,55,0.4);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.blog-cat__ring img { width: 22px; height: 22px; }
/* category icons use Lucide; keep them full-strength gold (override sitewide svg.lucide{opacity:.55}) */
.blog-cat__ring svg, .blog-cat__ring [data-lucide] { width: 22px; height: 22px; opacity: 1 !important; color: var(--blog-gold); }
.blog-cat.is-active .blog-cat__ring svg { color: var(--blog-gold); }
.blog-card.is-hidden { display: none; }
.blog-cat:hover { color: #fff; }
.blog-cat:hover .blog-cat__ring { border-color: var(--blog-gold); }
.blog-cat.is-active { color: var(--blog-gold); }
.blog-cat.is-active .blog-cat__ring { background: rgba(212,175,55,0.12); border-color: var(--blog-gold); }
.blog-cat.is-active::after {
  content: ""; position: absolute; bottom: -1.5rem; left: 50%; transform: translateX(-50%);
  width: 100%; height: 2px; background: var(--blog-gold);
}

/* ---------- shared section heads ---------- */
.blog-section { max-width: 1180px; margin: 0 auto; padding: 3.5rem 1.25rem; }
.blog-sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; }
.blog-eyebrow { color: var(--blog-gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.blog-h2 { font-family: var(--font-heading), "Cormorant Garamond", serif; color: #fff; font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0.4rem 0 0; }
.blog-viewall { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--blog-gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.blog-viewall:hover { color: var(--blog-gold-soft); }

/* ---------- 4. EDITOR'S PICKS (overlay cards) ---------- */
.blog-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-pick {
  position: relative; min-height: 320px; border-radius: 1rem; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem; border: 1px solid rgba(255,255,255,0.06);
  background-size: cover; background-position: right center;
  transition: transform 0.25s ease;
}
.blog-pick:hover { transform: translateY(-4px); }
/* No tint on the image — legibility for the overlaid copy lives on the glyphs (text-shadow). */
.blog-pick > * { position: relative; z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,0.95), 0 2px 18px rgba(0,0,0,0.85); }
.blog-pick__tag {
  align-self: flex-start; margin-bottom: auto;
  padding: 0.35rem 0.7rem; border-radius: 0.35rem;
  background: rgba(8,8,8,0.7); border: 1px solid rgba(212,175,55,0.35);
  color: #e2e2e2; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.blog-pick__title { font-family: var(--font-heading), serif; color: #fff; font-weight: 500; font-size: 1.55rem; line-height: 1.2; margin: 0.9rem 0 0.6rem; }
.blog-pick__excerpt { color: #c2c2c2; font-weight: 300; font-size: 0.88rem; line-height: 1.55; margin: 0 0 1rem; }
.blog-pick__meta { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--blog-gold); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.blog-pick__meta img { width: 14px; height: 14px; }

/* ---------- 5. LATEST ARTICLES ---------- */
.blog-latest { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.blog-card {
  display: flex; flex-direction: column; border-radius: 0.85rem; overflow: hidden;
  background: #0c0c0c; border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,0.3); }
.blog-card__img { aspect-ratio: 4 / 3; background-size: cover; background-position: right center; }
.blog-card__body { padding: 1.1rem 1.1rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.blog-card__date { color: var(--blog-gold); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.blog-card__title { font-family: var(--font-heading), serif; color: #fff; font-weight: 500; font-size: 1.12rem; line-height: 1.25; margin: 0 0 0.9rem; }
.blog-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.45rem; color: #cfcfcf; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.blog-card__more img { width: 12px; height: 12px; }
.blog-card:hover .blog-card__more { color: var(--blog-gold); }
.blog-empty { grid-column: 1 / -1; text-align: center; color: #8a8a8a; padding: 2.5rem 0; font-weight: 300; }

/* ---------- 6. CTA BANNER ---------- */
.blog-cta-wrap { padding: 1rem 1.25rem 4rem; }
.blog-cta {
  position: relative; max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  border-radius: 1.25rem; overflow: hidden; padding: 3rem 3.25rem;
  border: 1px solid rgba(212,175,55,0.18); min-height: 220px;
}
.blog-cta__copy { position: relative; z-index: 1; max-width: 30rem; }
.blog-cta__eyebrow { color: var(--blog-gold); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.blog-cta__title { font-family: var(--font-heading), serif; color: #fff; font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.15; margin: 0.7rem 0 0.8rem; }
.blog-cta__desc { color: #bdbdbd; font-weight: 300; font-size: 0.95rem; line-height: 1.6; margin: 0; }
.blog-cta__btns { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.85rem; }
.blog-cta__btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0.95rem 1.6rem; border-radius: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.blog-cta__btn:hover { transform: translateY(-2px); }
.blog-cta__btn--gold { background: linear-gradient(135deg, var(--blog-gold-soft), var(--blog-gold)); color: #1a1303; border: 1px solid var(--blog-gold); }
.blog-cta__btn--outline { background: rgba(255,255,255,0.02); color: #fff; border: 1px solid rgba(212,175,55,0.55); }
.blog-cta__btn--outline:hover { border-color: var(--blog-gold); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .blog-latest { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; margin-top: 16px; }
  .blog-featured__img { min-height: 240px; }
  .blog-featured__date { display: none; }
  .blog-picks { grid-template-columns: 1fr; }
  .blog-cta { flex-direction: column; align-items: flex-start; }
  .blog-cta__btns { width: 100%; }
  .blog-cta__btn { width: 100%; }
}
@media (max-width: 640px) {
  .blog-hero { min-height: 0; padding: 128px 0 36px; }   /* size to content so the articles sit right under the hero */
  .blog-hero-bg { background-image: var(--blog-hero-img-mobile, var(--blog-hero-img)); background-position: right center; }
  .blog-latest { grid-template-columns: 1fr 1fr; }
  .blog-sec-head { flex-direction: column; align-items: flex-start; }
  .blog-featured__body { padding: 2.25rem 1.75rem; }
}
