/* ══════════════════════════════════════════════
   BLOGS PAGE — Matches About Page Design System
══════════════════════════════════════════════ */

/* ══ HERO ══ */
.blogs-hero {
  position: relative; min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #1a1209; padding: 0;
}
.blogs-hero-bg {
  position: absolute; inset: 0;
  background-image: var(--blogs-hero-bg, none);
  background-size: cover; background-position: center 30%;
  transform: scale(1.06); transition: transform 10s ease; opacity: .35;
}
.blogs-hero.loaded .blogs-hero-bg { transform: scale(1); }
.blogs-hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(15,9,3,.6) 0%, transparent 40%, transparent 60%, rgba(15,9,3,.75) 100%),
    linear-gradient(to right,  rgba(15,9,3,.5) 0%, transparent 60%);
}
.blogs-hero-inner {
  position: relative; z-index: 2;
  max-width: 820px; padding: 5rem 2rem; color: #fff; text-align: center;
}
.blogs-hero-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .62rem; letter-spacing: .38em; text-transform: uppercase;
  color: #e8d4a8; font-weight: 500; margin-bottom: 1.4rem;
  animation: blogFadeUp .8s .2s both;
}
.blogs-hero-eyebrow span { display:block; width:32px; height:1px; background:#e8d4a8; opacity:.6; }
.blogs-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300; line-height: 1.05; color: #fff;
  margin-bottom: 1.2rem; letter-spacing: -.02em;
  text-shadow: 0 6px 50px rgba(0,0,0,.4);
  animation: blogFadeUp .8s .35s both;
}
.blogs-hero h1 em { color: #e8c98a; font-style: italic; }
.blogs-hero-sub {
  font-size: .9rem; color: rgba(255,255,255,.55);
  line-height: 1.85; max-width: 540px; margin: 0 auto 2rem;
  animation: blogFadeUp .8s .5s both; font-weight: 300;
}
.blogs-hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.4); font-size: .58rem;
  letter-spacing: .22em; text-transform: uppercase;
  animation: blogFadeUp .8s 1s both;
}
.blogs-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: blogScrollPulse 2s ease-in-out infinite;
}
@keyframes blogScrollPulse { 0%,100%{opacity:.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(.5)} }
@keyframes blogFadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }

/* ══ SCROLL REVEAL ══ */
.b-reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.b-reveal.visible { opacity:1; transform:none; }

/* ══ SECTION COMMON ══ */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .6rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--gold, #c9a96e); font-weight: 600; margin-bottom: 1.2rem;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; display:block; width:24px; height:1px;
  background: var(--gold, #c9a96e); opacity:.5;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; color: #1a1612; line-height: 1.15; margin-bottom: .8rem;
}
.section-title em { color: #9e7840; font-style: italic; }
.section-sub { font-size: .86rem; color: #a89880; line-height: 1.85; font-weight: 300; }

/* ══ BLOGS GRID SECTION ══ */
.blogs-section {
  padding: 7rem 5%;
  background: linear-gradient(180deg, #faf7f2 0%, #fff 100%);
  position: relative; overflow: hidden;
}
.blogs-section::before {
  content:''; position:absolute;
  background: radial-gradient(circle at 80% 20%, rgba(212,165,116,.04) 0%, transparent 50%);
  inset:0; pointer-events:none;
}
.blogs-header {
  max-width: 580px; margin: 0 auto 4rem; text-align: center;
}

/* ══ BLOG GRID ══ */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* ══ BLOG CARD ══ */
.blog-card {
  background: #fff;
  border: 1px solid rgba(212,165,116,.15);
  border-radius: 20px;
  padding: 2.4rem 2rem 2rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: all .45s cubic-bezier(.16,1,.3,1);
}
.blog-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #c9a96e, transparent);
  transform: scaleX(0); transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.blog-card:hover::before { transform: scaleX(1); }
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(201,169,110,.12), 0 4px 16px rgba(0,0,0,.04);
  border-color: rgba(212,165,116,.25);
}

/* Card date badge */
.blog-card-date {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: #c9a96e; font-weight: 600; margin-bottom: 1.2rem;
}
.blog-card-date::before {
  content: ''; display: block; width: 20px; height: 1px; background: #c9a96e; opacity: .6;
}

/* Card title */
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 400;
  color: #1a1612; line-height: 1.3;
  margin-bottom: 1rem;
  transition: color .3s;
}
.blog-card:hover h3 { color: #9e7840; }

/* Card description */
.blog-card p {
  font-size: .82rem; color: #6b5b47;
  line-height: 1.85; font-weight: 300;
  flex: 1;                       /* pushes the button to the bottom */
  display: -webkit-box;
  -webkit-line-clamp: 4;         /* show ~4 lines then fade */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* PDF link button */
.blog-card-footer {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(212,165,116,.1);
  display: flex; align-items: center; justify-content: space-between;
}
.blog-read-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: #9e7840;
  text-decoration: none;
  transition: gap .3s, color .3s;
}
.blog-read-btn:hover { gap: .9rem; color: #c9a96e; }
.blog-read-btn svg { transition: transform .3s; }
.blog-read-btn:hover svg { transform: translateX(3px); }

/* No PDF state */
.blog-no-link {
  font-size: .7rem; color: rgba(0,0,0,.22);
  letter-spacing: .1em; text-transform: uppercase;
}

/* ══ EMPTY STATE ══ */
.blogs-empty {
  text-align: center; padding: 5rem 2rem;
  max-width: 480px; margin: 0 auto;
}
.blogs-empty-icon {
  width: 72px; height: 72px;
  background: rgba(212,165,116,.08);
  border: 1px solid rgba(201,169,110,.2);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 1.5rem;
}
.blogs-empty h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 300;
  color: #1a1612; margin-bottom: .6rem;
}
.blogs-empty p {
  font-size: .84rem; color: #a89880;
  line-height: 1.8; font-weight: 300;
}

/* ══ CTA SECTION ══ */
.blogs-cta {
  padding: 6rem 5%;
  background: linear-gradient(135deg, #1a1209 0%, #2c1f0e 50%, #1a1209 100%);
  text-align: center; position: relative; overflow: hidden;
}
.blogs-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201,169,110,.08) 0%, transparent 60%);
}
.blogs-cta-inner { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
.blogs-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300; color: #fff; margin-bottom: 1rem; line-height: 1.15;
}
.blogs-cta h2 em { color: #e8c98a; font-style: italic; }
.blogs-cta p { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.85; margin-bottom: 2.5rem; font-weight: 300; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══ RESPONSIVE ══ */
@media (max-width: 960px) {
  .blogs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blogs-hero h1 { font-size: 2.8rem; }
  .blogs-grid { grid-template-columns: 1fr; }
  .blogs-section { padding: 5rem 5%; }
  .blogs-cta { padding: 5rem 5%; }
}
