/* ═══════════════════════════════════════════════════════════════
   BLOG — PAGE-SPECIFIC STYLES (listing + single post)
   Reuses every color, font, spacing unit, radius and shadow already
   defined in style.css (var(--gold), var(--navy), var(--cream-2),
   var(--gutter), .en-label-gold, .en-btn-gold-pill, .en-cta, ...).
   Section padding matches every other page: 60px top/bottom,
   var(--gutter) left/right. Prefixed .bl- like .ab-/.gl-/.vd- on the
   other pages.
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   HERO — same treatment as every other page hero:
   full-bleed image, dark overlay, slow zoom, fade-up title.
═══════════════════════════════════════ */
.bl-hero {
  position: relative;
  min-height: clamp(340px, 46vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bl-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bl-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: en-hero-zoom 14s ease-out both;
}

.bl-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,20,0.42) 0%, rgba(10,12,20,0.62) 100%);
}

.bl-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(120px, 18vh, 160px) var(--gutter) 60px;
  text-align: center;
}

.bl-hero-title {
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: clamp(38px, 6vw, 45px);
  color: var(--white);
  line-height: 1.1;
}

/* Detail-page hero adds a badge chip + meta row above/below the title */
.bl-hero-badge {
  display: inline-block;
  font-family: 'Mulish', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: linear-gradient(180deg, #C9A76D, #E3CEA9);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.bl-hero-subtitle {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-top: 14px;
  line-height: 1.5;
}

.bl-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Mulish', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  margin-top: 18px;
}

.bl-hero-meta svg { flex-shrink: 0; }

/* ═══════════════════════════════════════
   SECTION HEADER + GRID (listing page)
═══════════════════════════════════════ */
.bl-section {
  background: var(--cream-2);
  padding: 60px 0;
}

.bl-header {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 var(--gutter);
  text-align: center;
}

.bl-header .en-label-gold { text-align: center; }

.bl-heading {
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: 42px;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.bl-subtitle {
  font-family: 'Mulish', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--mid-gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.bl-grid-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ── Card ── */
.bl-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1), box-shadow 0.4s ease;
}

.bl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
}

.bl-card-img-wrap {
  display: block;
  overflow: hidden;
  background: var(--cream-2);
}

.bl-card-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}

.bl-card:hover .bl-card-img-wrap img { transform: scale(1.05); }

.bl-card-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bl-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.bl-card-badge {
  font-family: 'Mulish', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201,167,109,0.14);
  padding: 5px 12px;
  border-radius: 999px;
}

.bl-card-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--mid-gray);
}

.bl-card-title {
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.35;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.bl-card-desc {
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--mid-gray);
  margin-bottom: 20px;
  flex: 1;
}

.bl-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Mulish', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  align-self: flex-start;
  transition: gap 0.3s ease, color 0.3s ease;
}

.bl-card-link img,
.bl-card-link svg { transition: transform 0.3s ease; }

.bl-card-link:hover { gap: 12px; color: var(--gold-dark); }

/* ── Empty state (no posts published yet) ── */
.bl-empty {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px var(--gutter) 20px;
  text-align: center;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--mid-gray);
}

/* ═══════════════════════════════════════
   FEATURED IMAGE (single post) — eagle_blogs.mainimage, shown full-width
   directly under the hero, above the article body.
═══════════════════════════════════════ */
.bl-featured-image {
  background: var(--white);
  padding: 48px 0 0;
}

.bl-featured-image-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.bl-featured-image-inner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

/* ═══════════════════════════════════════
   SINGLE POST — lede + rich content
═══════════════════════════════════════ */
.bl-article {
  background: var(--white);
  padding: 64px 0 20px;
}

.bl-article-inner {
  /* Matches .bl-featured-image-inner's max-width so the article text
     block lines up with the uploaded image above it. */
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.bl-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Mulish', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mid-gray);
  margin-bottom: 34px;
  transition: color 0.3s ease, gap 0.3s ease;
}

.bl-back:hover { color: var(--gold-dark); gap: 12px; }

.bl-lede {
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 1.7;
  color: #3d3d3d;
  /* padding-bottom: 30px; */
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.bl-lede p { margin-bottom: 14px; }
.bl-lede p:last-child { margin-bottom: 0; }

.bl-lede a {
  color: #1a56db;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Admin-authored rich-text HTML (eagle_blogs.fullcontent, CKEditor) —
   trusted content, not escaped. Same typography family as
   .en-story-body-html, extended with headings/lists/quote/img/link
   styling since a blog article uses more block types than the About
   page's story copy does. */
.bl-content {
  font-family: 'Mulish', sans-serif;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.85;
  color: #444444;
  text-align:justify;
}

.bl-content p { margin-bottom: 20px; }
.bl-content p:last-child { margin-bottom: 0; }

.bl-content h2,
.bl-content h3,
.bl-content h4 {
  font-family: Georgia, serif;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
  margin: 36px 0 16px;
}

.bl-content h2 { font-size: 26px; }
.bl-content h3 { font-size: 21px; }
.bl-content h4 { font-size: 17px; }

.bl-content ul,
.bl-content ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.bl-content li { margin-bottom: 8px; }

.bl-content a {
  color: #1a56db;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bl-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 24px;
  margin: 28px 0;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--charcoal);
}

.bl-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 8px 0 24px;
}

.bl-content strong { color: var(--charcoal); }

/* Safety net for whatever CKEditor content actually contains — a pasted
   table, embed or an image dropped into the short lede shouldn't be able
   to force horizontal scroll on phone or tablet widths. */
.bl-content,
.bl-lede {
  overflow-wrap: break-word;
  word-break: break-word;
}

.bl-lede img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 8px 0 20px;
}

.bl-content table,
.bl-lede table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.bl-content iframe,
.bl-lede iframe,
.bl-content video,
.bl-lede video {
  max-width: 100%;
}

/* ═══════════════════════════════════════
   FAQ (single post) — eagle_faq rows for this blogsid. Accordion list
   with a circular gold toggle that morphs from "+" to "×" on open.
═══════════════════════════════════════ */
.bl-faq {
  background: var(--white);
  padding: 10px 0 60px;
}

.bl-faq-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.bl-faq .bl-heading {
  text-align: center;
  font-size: 32px;
  margin-bottom: 8px;
}

.bl-faq-list {
  margin-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.bl-faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 22px 0;
}

.bl-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-family: Georgia, serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: var(--charcoal);
}

.bl-faq-question::-webkit-details-marker { display: none; }
.bl-faq-question::marker { content: ''; }

.bl-faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream-2);
  transition: background 0.3s ease;
}

.bl-faq-icon::before,
.bl-faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--charcoal);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.bl-faq-icon::before { width: 12px; height: 2px; }
.bl-faq-icon::after  { width: 2px; height: 12px; }

.bl-faq-item[open] .bl-faq-icon {
  background: linear-gradient(180deg, #C9A76D, #E3CEA9);
}

.bl-faq-item[open] .bl-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.bl-faq-answer {
  font-family: 'Mulish', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--mid-gray);
  padding: 14px 46px 0 0;
}

/* ═══════════════════════════════════════
   RELATED POSTS
═══════════════════════════════════════ */
.bl-related {
  background: var(--cream-2);
  padding: 60px 0;
  margin-top: 40px;
}

.bl-related-header {
  max-width: 1400px;
  margin: 0 auto 32px;
  padding: 0 var(--gutter);
}

/* ═══════════════════════════════════════
   RESPONSIVE — BLOG PAGES
   Same breakpoint scale as the homepage/other pages.
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .bl-heading { font-size: 34px; }
  .bl-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
  .bl-hero-inner { padding-top: 120px; }
  .bl-heading { font-size: 30px; }
  .bl-article { padding: 48px 0 10px; }
  .bl-lede { font-size: 17px; }
  .bl-content h2 { font-size: 22px; }
  .bl-content h3 { font-size: 19px; }
  .bl-featured-image { padding-top: 32px; }
  .bl-featured-image-inner img { max-height: 320px; }
  .bl-faq .bl-heading { font-size: 26px; }
  .bl-faq-question { font-size: 16px; gap: 14px; }
  .bl-faq-answer { padding-right: 0; }
}

@media (max-width: 600px) {
  .bl-grid { grid-template-columns: 1fr; gap: 22px; }
  .bl-hero-subtitle { font-size: 16px; }
}

@media (max-width: 430px) {
  .bl-hero-title { font-size: clamp(32px, 10vw, 44px); }
  .bl-card-body { padding: 22px 20px 24px; }
}