/* /blogs/<slug> article pages, built to Figma "Blog Detail" (node 213:286).
   Loaded after prestige-blog-index.css, which supplies the page frame, cards (.pbi-*) and footer CTA. */

/* Hero: article image, centred title, author + date */
.pbd-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(1080px, 100vh); display: flex; align-items: center; justify-content: center; background: #34312b; }
.pbd-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pbd-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% 77.8% no-repeat,
    linear-gradient(to bottom, rgba(52, 49, 43, 0.55), rgba(52, 49, 43, 0)) top / 100% 200px no-repeat; }
.pbd-hero-inner { width: min(1024px, 100% - 40px); padding: 200px 0 120px; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; color: #fff; }
.pbd-hero-inner nav { font-size: 14px; line-height: 24px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.pbd-hero-inner nav a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.prestige-blog-detail .pbd-hero h1 { color: #fff; font-family: Montserrat, sans-serif; font-weight: 400; font-size: clamp(34px, 3.4vw, 64px); line-height: 1.1; text-transform: uppercase; }
.pbd-byline { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 112px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.5); font-size: 16px; line-height: 26px; font-weight: 500; }
.pbd-author { display: inline-flex; align-items: center; gap: 22px; color: #fff; text-align: left; text-decoration: none; }
.pbd-author img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.pbd-author > span { display: flex; flex-direction: column; }
.pbd-author-name { font-family: "Bookman Old Style", serif; font-weight: 700; font-size: 20px; line-height: normal; }
.pbd-author-role { font-style: italic; font-weight: 400; font-size: 14px; line-height: normal; }
.pbd-author:hover .pbd-author-name { text-decoration: underline; text-underline-offset: 3px; }

/* Article body typography */
.prestige-blog-detail .pbd-body { width: min(1024px, 100% - 40px); margin: 160px auto 0; color: #101010; }
.prestige-blog-detail .pbd-body > :first-child { margin-top: 0; }
.prestige-blog-detail .pbd-body p { margin: 0 0 16px; font-size: 16px; line-height: 26px; font-weight: 400; }
.prestige-blog-detail .pbd-body :is(h2, h3) { text-wrap: pretty; }
.prestige-blog-detail .pbd-body h2 { margin: 40px 0 16px; color: #694f45; font-family: "Bookman Old Style", serif; font-weight: 700; font-size: clamp(28px, 2.1vw, 40px); line-height: 1.2; }
.prestige-blog-detail .pbd-body h3 { margin: 40px 0 16px; color: #694f45; font-family: "Bookman Old Style", serif; font-weight: 700; font-size: clamp(24px, 1.67vw, 32px); line-height: 1.2; }
.prestige-blog-detail .pbd-body a { color: #694f45; text-decoration: underline; text-underline-offset: 3px; }
.prestige-blog-detail .pbd-body a:hover { color: #34312b; }
.prestige-blog-detail .pbd-body :is(ul, ol) { margin: 24px 0 40px; padding: 0; list-style: none; }
.prestige-blog-detail .pbd-body li { position: relative; margin: 0 0 16px; padding-left: 26px; font-size: 20px; line-height: 30px; }
.prestige-blog-detail .pbd-body ul > li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; background: url("/assets/images/blog-bullet.svg") center / 10px 10px no-repeat; }
.prestige-blog-detail .pbd-body ol { counter-reset: pbd-ol; }
.prestige-blog-detail .pbd-body ol > li { counter-increment: pbd-ol; }
.prestige-blog-detail .pbd-body ol > li::before { content: counter(pbd-ol); position: absolute; left: 0; top: 0; color: #694f45; font-family: "Bookman Old Style", serif; font-weight: 700; font-size: 20px; line-height: 30px; }
.prestige-blog-detail .pbd-body table { width: 100%; margin: 40px 0; border-collapse: collapse; table-layout: fixed; border: 0; }
.prestige-blog-detail .pbd-body caption { padding-bottom: 16px; text-align: left; color: #694f45; font-family: "Bookman Old Style", serif; font-weight: 700; font-size: 20px; line-height: 1.3; }
.prestige-blog-detail .pbd-body thead th { padding: 15px 16px; background: #694f45; border: 0; color: #fff; text-align: center; font-family: "Bookman Old Style", serif; font-weight: 700; font-size: 20px; line-height: normal; }
.prestige-blog-detail .pbd-body tbody :is(th, td) { padding: 16px; border: 1px solid rgba(16, 16, 16, 0.4); background: transparent; vertical-align: top; text-align: left; font-size: 16px; line-height: 26px; overflow-wrap: anywhere; }
.prestige-blog-detail .pbd-body tbody th { font-weight: 600; }
.prestige-blog-detail .pbd-body blockquote { position: relative; margin: 40px 0; padding: 33px 42px; border: 0; font-style: normal; }
.prestige-blog-detail .pbd-body blockquote::before, .prestige-blog-detail .pbd-body blockquote::after { content: ""; position: absolute; width: 42px; height: 30px; background: url("/assets/images/blog-quote-open.svg") center / contain no-repeat; }
.prestige-blog-detail .pbd-body blockquote::before { top: 0; left: 0; }
.prestige-blog-detail .pbd-body blockquote::after { right: 0; bottom: 0; background-image: url("/assets/images/blog-quote-close.svg"); transform: rotate(180deg) scaleY(-1); }

/* Author box */
.pbd-author-box { width: min(1024px, 100% - 40px); min-height: 380px; margin: 80px auto 0; padding: 48px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 592px) 256px; justify-content: space-between; align-items: center; gap: 40px; color: #fff;
  background:
    url("/assets/images/blog-sparkle-lg.svg") 30px 27px / 37px 37px no-repeat,
    url("/assets/images/blog-sparkle-sm.svg") 83px 55px / 17px 17px no-repeat,
    url("/assets/images/blog-sparkle-sm.svg") right 42px top 27px / 17px 17px no-repeat,
    url("/assets/images/blog-sparkle-sm.svg") left 48px bottom 31px / 17px 17px no-repeat,
    url("/assets/images/blog-sparkle-sm.svg") right 69px bottom 14px / 17px 17px no-repeat,
    #694f45; }
.prestige-blog-detail .pbd-author-box p { color: #fff; }
.prestige-blog-detail .pbd-author-label { font-family: "Bookman Old Style", serif; font-weight: 400; line-height: 16px; }
.prestige-blog-detail .pbd-author-title { margin-top: 8px; font-family: "Bookman Old Style", serif; font-weight: 400; font-size: 32px; line-height: 42px; }
.pbd-author-title a { color: #fff; text-decoration: none; }
.pbd-author-title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prestige-blog-detail .pbd-author-title + p { margin-top: 24px; }
.pbd-author-box > img { width: 256px; height: 284px; object-fit: cover; object-position: top; display: block; }

.prestige-blog-detail .pbd-back { width: min(1024px, 100% - 40px); margin: 40px auto 0; }
.pbd-back a { color: #694f45; text-decoration: underline; text-underline-offset: 3px; }

/* More articles */
.pbd-more { width: min(1440px, 100% - 40px); margin: 160px auto 0; }
.prestige-blog-detail .pbd-more h2 { max-width: 1024px; color: #101010; font-family: Montserrat, sans-serif; font-weight: 400; font-size: clamp(34px, 3.33vw, 64px); line-height: 1; text-transform: uppercase; }
.pbd-more .pbi-grid { width: 100%; }

@media (max-width: 767px) {
  .pbd-hero { min-height: 0; }
  .pbd-hero-inner { padding: 140px 0 56px; gap: 24px; }
  .pbd-hero::before { background:
      linear-gradient(to top, #34312b 30%, rgba(52, 49, 43, 0)) bottom / 100% 90% no-repeat,
      linear-gradient(to bottom, rgba(52, 49, 43, 0.55), rgba(52, 49, 43, 0)) top / 100% 140px no-repeat; }
  .pbd-byline { padding-bottom: 24px; gap: 16px 40px; }
  .prestige-blog-detail .pbd-body { margin-top: 64px; }
  .prestige-blog-detail .pbd-body li { font-size: 17px; line-height: 27px; }
  .prestige-blog-detail .pbd-body ul > li::before { top: 9px; }
  .prestige-blog-detail .pbd-body ol > li::before { font-size: 17px; line-height: 27px; }
  .prestige-blog-detail .pbd-body thead th { padding: 12px 10px; font-size: 16px; }
  .prestige-blog-detail .pbd-body tbody :is(th, td) { padding: 12px 10px; font-size: 15px; line-height: 24px; }
  .pbd-author-box { grid-template-columns: 1fr; padding: 96px 24px 56px; margin-top: 56px; }
  .pbd-author-box > img { width: min(256px, 100%); height: auto; aspect-ratio: 256 / 284; }
  .pbd-more { margin-top: 96px; }
}
