/* /blogs listing, built to Figma "Blog Dashboard" (node 213:215). Header, footer and theme stay authoritative.
   Also loaded by article pages (prestige-blog-article.css) for the shared cards and footer CTA. */
body:is(.prestige-blog-index, .prestige-blog-article) { background: #eae4db; }
body:is(.prestige-blog-index, .prestige-blog-article) .site.grid-container { max-width: none; padding: 0; background: transparent; }
body:is(.prestige-blog-index, .prestige-blog-article) :is(.site-content, .content-area) { padding: 0; margin: 0; width: 100%; }
.prestige-blog-list { --pbi-ink: #101010; color: var(--pbi-ink); font-family: Montserrat, sans-serif; }
.prestige-blog-list .pbi-serif { font-family: "Bookman Old Style", serif; font-weight: 400; }
.prestige-blog-list :is(h1, h2, h3) { margin: 0; letter-spacing: 0; text-wrap: balance; }
.prestige-blog-list p { margin: 0; font-size: 16px; line-height: 26px; font-weight: 500; }
.prestige-blog-list a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Hero */
.pbi-hero { position: relative; min-height: min(1080px, 100vh); display: flex; align-items: flex-end; overflow: hidden; background: #34312b; }
.pbi-hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
/* Design gradients, plus a top fade so the transparent header nav stays legible on the light photo. */
.pbi-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, #34312b, rgba(52, 49, 43, 0)) bottom / 100% 57.6% no-repeat,
    linear-gradient(to bottom, rgba(52, 49, 43, 0.55), rgba(52, 49, 43, 0)) top / 100% 200px no-repeat; }
.pbi-hero-inner { position: relative; z-index: 2; width: min(1440px, 100% - 40px); margin: 0 auto; padding: 160px 0 80px; color: #fff; }
.pbi-hero-inner > * { max-width: 1000px; }
.pbi-hero h1 { color: #fff; font-family: Montserrat, sans-serif; font-weight: 400; font-size: clamp(44px, 4.17vw, 80px); line-height: 1; text-transform: uppercase; }
.pbi-hero h1 + p { margin-top: 24px; color: #fff; }
.pbi-hero .btn-wrap { margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 40px; max-width: none; }
.pbi-hero .btn-wrap > .primSC-btn, .pbi-hero .btn-wrap > .secSC-btn { width: auto; flex: 0 0 auto; }

/* Intro */
.pbi-intro { width: min(1024px, 100% - 40px); margin: 0 auto; padding: 160px 0 143px; text-align: center; }
.pbi-intro h2 { color: var(--pbi-ink); font-family: Montserrat, sans-serif; font-weight: 400; font-size: clamp(28px, 3.33vw, 64px); line-height: 1; text-transform: uppercase; }
.pbi-intro p { margin-top: 24px; }

/* Featured */
.pbi-featured, .pbi-grid { width: min(1440px, 100% - 40px); margin: 0 auto; }
.pbi-label { margin-bottom: 24px !important; }
.pbi-featured-row { display: grid; grid-template-columns: 900fr 460fr; gap: 80px; align-items: start; padding-top: 50px; }
.pbi-lead { position: relative; aspect-ratio: 900 / 716; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.pbi-lead > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pbi-lead::before { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 52.2%; background: linear-gradient(to top, #34312b, rgba(52, 49, 43, 0)); }
.pbi-lead-body { padding: 0 48px 48px; color: #fff; }
.pbi-lead h3 { font-family: "Bookman Old Style", serif; font-weight: 400; font-size: clamp(24px, 1.67vw, 32px); line-height: 1; }
.pbi-lead h3 a, .pbi-card h3 a { color: inherit; text-decoration: none; }
.pbi-lead h3 a::after, .pbi-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pbi-lead-body p { margin-top: 24px; color: #fff; }
.pbi-learn { display: inline-flex; gap: 16px; align-items: center; margin-top: 64px; padding: 10px 0; border-bottom: 1px solid #fff; font-size: 16px; font-weight: 500; }

/* Cards */
.pbi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 80px 30px; padding: 80px 0 0; }
.pbi-card { position: relative; display: flex; flex-direction: column; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(16, 16, 16, 0.2); }
.pbi-card > img { width: 100%; height: 250px; object-fit: cover; display: block; }
.pbi-card h3 { color: var(--pbi-ink); font-family: "Bookman Old Style", serif; font-weight: 400; font-size: 24px; line-height: 34px; }
.pbi-card > p { opacity: 0.7; }
.pbi-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; line-height: 24px; font-weight: 500; }
.pbi-card-meta time { opacity: 0.7; }
.pbi-card:hover h3, .pbi-card:focus-within h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pbi-lead:hover .pbi-learn { opacity: 0.8; }

/* Footer CTA: site's real .mid-cta block, framed to the design. */
.pbi-cta { margin-top: 160px; }
.pbi-cta .mid-cta { margin: 0; padding: 160px 20px; background: #101010; }
.pbi-cta .mid-cta .inner { flex-direction: column; justify-content: center; }
.pbi-cta .mid-cta .content { max-width: 1024px; margin: 0 auto; text-align: center; }
.pbi-cta .mid-cta h2 { color: #eae4db; font-weight: 300; font-size: clamp(40px, 4.17vw, 80px); line-height: 1; text-align: center; }
.pbi-cta .mid-cta h2 .bos-head { font-family: "Bookman Old Style", serif; font-weight: 400; }
.pbi-cta .mid-cta p { color: #eae4db; text-align: center; }
.pbi-cta .mid-cta .btn-wrap { margin-top: 80px; justify-content: center; }
.pbi-cta .mid-cta .inner > img { display: none; }

@media (max-width: 1024px) {
  .pbi-featured-row { grid-template-columns: 1fr; gap: 48px; }
  .pbi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .pbi-hero { min-height: 640px; }
  .pbi-hero-inner { padding: 140px 0 56px; }
  .pbi-hero .btn-wrap { margin-top: 40px; }
  .pbi-intro { padding: 80px 0 64px; }
  .pbi-featured-row { padding-top: 0; }
  .pbi-hero::before { background:
      linear-gradient(to top, #34312b 25%, rgba(52, 49, 43, 0)) bottom / 100% 75% no-repeat,
      linear-gradient(to bottom, rgba(52, 49, 43, 0.55), rgba(52, 49, 43, 0)) top / 100% 140px no-repeat; }
  .pbi-lead { aspect-ratio: 4 / 5; }
  .pbi-lead::before { height: 80%; background: linear-gradient(to top, #34312b 35%, rgba(52, 49, 43, 0)); }
  .pbi-lead-body { padding: 0 24px 24px; }
  .pbi-learn { margin-top: 32px; }
  .pbi-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
  .pbi-cta { margin-top: 96px; }
  .pbi-cta .mid-cta { padding: 80px 20px; }
  .pbi-cta .mid-cta .btn-wrap { margin-top: 40px; }
  .pbi-hero .btn-wrap { gap: 16px; }
}
