/* ============================================================
   INTERNATIONAL SPA AWARDS — WINNER DIRECTORY
   Loaded after css/main.css + css/blog.css by every page written by
   build-winner-pages.py (hub /winners/, year pages winners-YYYY.html,
   country pages /winners/{country}/, methodology). Dark "Deep Noir +
   Liquid Gold" tokens from main.css; everything here is namespaced wd-*.
   ============================================================ */

/* hero (reuses .blog-hero / .bh-img from blog.css) */
.wd-hero .bh-desc span { color: var(--g); font-weight: 400; }
.wd-hero .bh-desc { max-width: 720px; }

/* breadcrumbs */
.wd-crumbs { font-size: .8rem; color: var(--t3); padding: 16px 0; border-bottom: 1px solid rgba(200,169,106,.1); letter-spacing: .2px; }
.wd-crumbs a { color: var(--t2); }
.wd-crumbs a:hover { color: var(--g); }
.wd-crumbs .sep { color: rgba(200,169,106,.45); padding: 0 8px; }
.wd-crumbs [aria-current] { color: var(--g); }

/* stats strip */
.wd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(200,169,106,.12); border: 1px solid rgba(200,169,106,.14); border-radius: var(--r); overflow: hidden; margin: 28px 0 0; }
.wd-stats .stat { background: var(--n2); border: none; padding: 26px 12px; text-align: center; }
.wd-stats .stat-n { font-size: 2.4rem; }
@media (max-width: 640px) { .wd-stats { grid-template-columns: repeat(2, 1fr); } }

/* 80 / 20 two-column layout, 90% wide up to 1700px */
.wd-container { width: 90%; max-width: 1700px; margin: 0 auto; }
.wd-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 40px 0 64px; }
.wd-main { min-width: 0; }
.wd-sidebar { position: sticky; top: 90px; align-self: start; }   /* 74px fixed nav + 16px */
.wd-cta-inline { display: none; margin: 8px 0 34px; }
@media (max-width: 1024px) {
  .wd-layout { grid-template-columns: 1fr; gap: 0; padding-top: 32px; }
  .wd-sidebar { display: none; }
  .wd-cta-inline { display: block; }
}

/* sub navigation + intro */
.wd-subnav { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 12px 0; border-top: 1px solid rgba(200,169,106,.14); border-bottom: 1px solid rgba(200,169,106,.14); margin-bottom: 28px; font-size: .68rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.wd-subnav a { color: var(--t2); }
.wd-subnav a:hover, .wd-subnav a[aria-current] { color: var(--g); }
.wd-intro { max-width: 900px; font-size: 1.05rem; line-height: 1.85; color: var(--t2); font-weight: 300; margin-bottom: 28px; }
.wd-intro a { color: var(--g); font-weight: 500; }
.wd-intro a:hover { text-decoration: underline; }
.wd-pagenote { font-size: .82rem; color: var(--t3); margin-bottom: 22px; }
.wd-pagenote a { color: var(--g); font-weight: 500; }

.wd-section { margin-bottom: 40px; }
.wd-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.5rem, 2.2vw, 2rem); color: var(--w); font-weight: 600; margin-bottom: 14px; }
.wd-h2 small { font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 400; letter-spacing: .5px; text-transform: uppercase; color: var(--t3); margin-left: 12px; }
.wd-h2 em { color: var(--g); font-style: italic; }
.wd-aside-link { font-size: .84rem; color: var(--g); display: inline-block; margin-top: 12px; }
.wd-aside-link:hover { text-decoration: underline; }

/* year chips */
.wd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wd-chip { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: var(--t1); background: var(--n2); border: 1px solid rgba(200,169,106,.18); border-radius: var(--r); padding: 9px 15px; transition: var(--tr); }
.wd-chip small { font-size: .68rem; color: var(--t3); font-variant-numeric: tabular-nums; }
.wd-chip:hover { border-color: rgba(200,169,106,.5); color: var(--g); transform: translateY(-1px); }
.wd-chip[aria-current] { background: linear-gradient(135deg, var(--g) 0%, var(--g3) 100%); border-color: transparent; color: var(--n0); }
.wd-chip[aria-current] small { color: rgba(7,7,9,.7); }

/* country list */
.wd-countries { columns: 4; column-gap: 28px; background: var(--n2); border: 1px solid rgba(200,169,106,.14); border-radius: var(--r); padding: 18px 24px; }
.wd-countries a { display: flex; justify-content: space-between; gap: 10px; break-inside: avoid; font-size: .86rem; color: var(--t2); padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,.07); }
.wd-countries a small { color: var(--t3); font-variant-numeric: tabular-nums; font-size: .74rem; }
.wd-countries a:hover { color: var(--g); }
@media (max-width: 1280px) { .wd-countries { columns: 3; } }
@media (max-width: 768px)  { .wd-countries { columns: 2; } }
@media (max-width: 480px)  { .wd-countries { columns: 1; } }

/* country summary + category breakdown */
.wd-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 24px; background: var(--n2); border: 1px solid rgba(200,169,106,.14); border-radius: var(--r); padding: 22px 24px; }
.wd-summary dt { font-size: .62rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t3); }
.wd-summary dd { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; color: var(--g); line-height: 1.2; margin-top: 4px; }
.wd-breakdown { list-style: none; background: var(--n2); border: 1px solid rgba(200,169,106,.14); border-radius: var(--r); padding: 6px 24px; }
.wd-breakdown li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .88rem; color: var(--t2); }
.wd-breakdown li:last-child { border-bottom: none; }
.wd-breakdown li b { font-weight: 600; color: var(--g); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* winner cards (the export's image URLs are not live, so a monogram is shown) */
.wd-listhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.wd-listhead .wd-h2 { margin-bottom: 0; }
.wd-count-line { font-size: .8rem; color: var(--t3); margin: 0; }
.wd-count-line strong { color: var(--t2); font-weight: 500; }
.wd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
@media (max-width: 480px) { .wd-grid { grid-template-columns: 1fr; } }
.wd-winner { background: var(--n2); border: 1px solid rgba(200,169,106,.14); border-radius: var(--r); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; transition: var(--tr); }
.wd-winner:hover { border-color: rgba(200,169,106,.4); box-shadow: var(--gsh); transform: translateY(-3px); }
.wd-winner-top { display: flex; gap: 14px; align-items: flex-start; }
.wd-monogram { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--g) 0%, var(--g3) 100%); color: var(--n0); font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.wd-cat { display: block; font-size: .62rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--g); margin-bottom: 6px; line-height: 1.5; }
.wd-winner h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.22rem; font-weight: 600; line-height: 1.2; color: var(--w); margin-bottom: 6px; }
.wd-sub { font-size: .8rem; color: var(--t3); margin-bottom: 6px; }
.wd-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 5px 14px; font-size: .74rem; color: var(--t3); }
.wd-meta li { display: inline-flex; gap: 5px; align-items: baseline; }
.wd-meta a { color: var(--t1); font-weight: 500; }
.wd-meta a:hover { color: var(--g); }
.wd-desc { font-size: .88rem; line-height: 1.7; color: var(--t2); font-weight: 300; border-top: 1px solid rgba(255,255,255,.06); padding-top: 12px; }
.wd-site { align-self: flex-start; font-size: .66rem; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; color: var(--g); background: rgba(200,169,106,.08); border: 1px solid rgba(200,169,106,.25); border-radius: 100px; padding: 6px 13px; transition: var(--tr); }
.wd-site:hover { background: rgba(200,169,106,.18); }

/* pagination */
.wd-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.wd-pagination a, .wd-pagination span.wd-current { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid rgba(200,169,106,.18); border-radius: var(--r); background: var(--n2); font-size: .8rem; font-weight: 500; color: var(--t2); transition: var(--tr); }
.wd-pagination a:hover { border-color: var(--g); color: var(--g); }
.wd-pagination span.wd-current { background: linear-gradient(135deg, var(--g) 0%, var(--g3) 100%); color: var(--n0); border-color: transparent; }
.wd-pagination .pager-gap { padding: 0 4px; color: var(--t3); }

/* nomination widget (sticky sidebar on desktop, inline module on tablet/mobile) */
.wd-widget { background: var(--n2); border: 1px solid rgba(200,169,106,.22); border-radius: var(--r); overflow: hidden; }
.wd-widget img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.wd-widget-body { padding: 22px 20px; }
.wd-widget-body .eyebrow { margin-bottom: 10px; }
.wd-widget h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; line-height: 1.15; color: var(--w); margin-bottom: 14px; }
.wd-widget ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.wd-widget li { display: flex; gap: 9px; align-items: flex-start; font-size: .84rem; line-height: 1.6; color: var(--t2); font-weight: 300; }
.wd-widget li::before { content: '\2726'; color: var(--g); flex-shrink: 0; font-size: .7rem; margin-top: 5px; }
.wd-widget .btn { width: 100%; justify-content: center; }
.wd-widget-note { font-size: .74rem; color: var(--t3); margin-top: 12px; text-align: center; }
.wd-widget-note a { color: var(--g); font-weight: 500; }
@media (min-width: 1025px) { .wd-cta-inline .wd-widget { display: none; } }
@media (max-width: 1024px) {
  .wd-cta-inline .wd-widget { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .wd-cta-inline .wd-widget img { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 640px) {
  .wd-cta-inline .wd-widget { grid-template-columns: 1fr; }
  .wd-cta-inline .wd-widget img { aspect-ratio: 16 / 9; height: auto; }
}

/* bottom banner */
.wd-cta-banner { background: linear-gradient(135deg, var(--n3), var(--n2)); border-top: 1px solid rgba(200,169,106,.14); border-bottom: 1px solid rgba(200,169,106,.14); padding: 72px 0; }
.wd-cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.wd-cta-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.6vw, 3rem); color: var(--w); margin-bottom: 12px; }
.wd-cta-banner h2 em { color: var(--g); font-style: italic; }
.wd-cta-banner p { font-size: 1.1rem; color: var(--t2); line-height: 1.8; font-weight: 300; max-width: 640px; }
.wd-cta-banner-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 640px) { .wd-cta-banner { padding: 52px 0; } .wd-cta-banner-actions .btn { width: 100%; justify-content: center; } }

/* gallery page: directory panel */
.wd-hub-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; background: linear-gradient(135deg, rgba(200,169,106,.12), rgba(200,169,106,.04)); border: 1px solid rgba(200,169,106,.22); border-radius: var(--r); padding: 30px 34px; margin-bottom: 56px; }
.wd-hub-panel h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--w); margin-bottom: 8px; }
.wd-hub-panel h2 em { color: var(--g); font-style: italic; }
.wd-hub-panel p { color: var(--t2); font-size: 1rem; line-height: 1.7; font-weight: 300; max-width: 640px; }
.wd-hub-panel-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* methodology prose */
.wd-prose { max-width: 880px; background: var(--n2); border: 1px solid rgba(200,169,106,.14); border-radius: var(--r); padding: 34px 38px; }
.wd-prose h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; color: var(--w); font-weight: 600; margin: 28px 0 10px; }
.wd-prose h2:first-child { margin-top: 0; }
.wd-prose p, .wd-prose li { font-size: .98rem; line-height: 1.8; color: var(--t2); font-weight: 300; margin-bottom: 10px; }
.wd-prose strong { color: var(--t1); font-weight: 500; }
.wd-prose ul { list-style: disc; padding-left: 22px; }
.wd-prose a { color: var(--g); font-weight: 500; }
.wd-prose a:hover { text-decoration: underline; }
.wd-prose .btn { margin-top: 12px; }
@media (max-width: 640px) { .wd-prose { padding: 22px; } }
