
:root{
  /* Cellar Ledger design tokens */
  --wg-bg:#fbf8f3; --wg-bg-2:#f6f0e7; --wg-surface:#fffaf2; --wg-surface-2:#f8f0e5;
  --wg-text:#1d1f23; --wg-text-soft:#3f3a34; --wg-muted:#6d655c; --wg-muted-2:#8d8378;
  --wg-oxblood:#5b1a18; --wg-merlot:#7c2828; --wg-brass:#b88645; --wg-vineyard:#2f5a45; --wg-slate:#5f6472;
  --wg-border:#ded2c3; --wg-border-strong:#c8b8a6; --wg-line:rgba(91,26,24,.18);
  --wg-success-bg:#edf5ed; --wg-success-text:#2f5a45;
  --wg-warning-bg:#fbf1df; --wg-warning-text:#8a5a14;
  --wg-danger-bg:#f8e7e4; --wg-danger-text:#7c2828;
  --wg-neutral-bg:#eef0f2; --wg-neutral-text:#4d535c;
  --wg-radius-sm:6px; --wg-radius-md:10px; --wg-radius-lg:16px;
  --wg-shadow-soft:0 10px 30px rgba(49,34,24,.06);
  --wg-shadow-card:0 1px 2px rgba(49,34,24,.08);
  --wg-container:1180px;
  /* Legacy aliases used by templates */
  --wine-dark:var(--wg-oxblood); --wine-mid:var(--wg-merlot); --wine-soft:#a04040;
  --gold:var(--wg-brass); --gold-light:#d4a86a; --gold-deep:#9a6e2e;
  --content-bg:var(--wg-bg); --panel:var(--wg-surface); --ink:var(--wg-text);
  --grey:var(--wg-muted); --grey-light:var(--wg-muted-2);
  --border:var(--wg-border); --border-soft:#ede5d9; --bg-soft:var(--wg-bg-2);
  --radius:var(--wg-radius-md); --radius-sm:var(--wg-radius-sm); --shadow:var(--wg-shadow-card);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Inter',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--wg-text);background:var(--wg-bg);font-size:14px;line-height:1.6;}
a{color:var(--wg-merlot);}

/* Registry notice bar */
.source-bar{background:var(--wg-bg-2);border-bottom:1px solid var(--wg-border);color:var(--wg-muted);font-size:11.5px;padding:5px 28px;text-align:center;letter-spacing:.01em;}
.source-bar a{color:var(--wg-oxblood);text-decoration:none;font-weight:500;}
.source-bar a:hover{text-decoration:underline;}

/* Header — parchment + oxblood lower rule */
.topbar{background:var(--wg-surface);border-bottom:2px solid var(--wg-oxblood);padding:0 28px;display:flex;align-items:center;justify-content:space-between;height:62px;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(49,34,24,.07);}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;}
.brand-mark{display:flex;align-items:center;justify-content:center;width:36px;height:36px;color:var(--wg-oxblood);flex-shrink:0;}
.brand-txt .name{font-family:'Fraunces',Georgia,serif;font-size:17px;font-weight:700;color:var(--wg-oxblood);line-height:1.1;letter-spacing:-.01em;}
.brand-txt .sub{font-size:10px;color:var(--wg-muted);letter-spacing:.07em;text-transform:uppercase;margin-top:1px;}
.topnav{display:flex;gap:2px;}
.topnav a{color:var(--wg-muted);font-size:13px;font-weight:500;text-decoration:none;transition:.15s;padding:6px 10px;border-radius:6px;}
.topnav a:hover,.topnav a.active{color:var(--wg-oxblood);background:var(--wg-bg-2);}

/* Breadcrumb */
.breadcrumb-bar{background:var(--wg-bg-2);border-bottom:1px solid var(--wg-border);padding:9px 28px;font-size:12.5px;color:var(--wg-muted);}
.breadcrumb-bar a{color:var(--wg-merlot);text-decoration:underline;}

/* Page hero — oxblood gradient */
.page-hero{background:linear-gradient(155deg,var(--wg-oxblood) 0%,#8b2222 100%);color:#fff;padding:44px 28px 50px;position:relative;overflow:hidden;}
.page-hero::before{content:'';position:absolute;top:-40px;right:-40px;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.04);pointer-events:none;}
.page-hero .wrap{max-width:var(--wg-container);margin:0 auto;position:relative;z-index:1;}
.page-hero .kicker{font-size:10.5px;font-weight:600;letter-spacing:1.8px;text-transform:uppercase;color:rgba(212,168,106,.9);margin-bottom:14px;display:flex;align-items:center;gap:7px;}
.page-hero h1{font-family:'Fraunces',Georgia,serif;font-size:34px;font-weight:700;line-height:1.08;margin:0;letter-spacing:-.02em;}
.page-hero .meta{font-size:13px;color:rgba(255,255,255,.65);margin-top:14px;}

/* Content layout */
.content-section{max-width:var(--wg-container);margin:0 auto;padding:32px 28px;}

/* Tables — ledger style */
.entity-table{width:100%;border-collapse:collapse;font-size:13px;}
.entity-table th{text-align:left;padding:8px 12px;border-bottom:1px solid var(--wg-oxblood);color:var(--wg-muted);font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;font-weight:600;}
.entity-table td{padding:10px 12px;border-bottom:1px solid var(--wg-border);vertical-align:top;}
.entity-table tr:last-child td{border-bottom:none;}
.entity-table tr:hover td{background:var(--wg-bg-2);}
.entity-table a{color:var(--wg-merlot);text-decoration:underline;}
.mono{font-family:ui-monospace,'SF Mono','JetBrains Mono',monospace;font-size:11.5px;letter-spacing:.02em;}
/* Producer name & address — verbatim multi-line TTB block (form field 8). white-space:pre-line
   keeps real newlines as line breaks while still collapsing runs of spaces/tabs, reproducing
   the block exactly as TTB shows it without needing a pre element. */
.cola-address-block{white-space:pre-line;line-height:1.5;}

/* Status badges — semantic palette */
.badge-status{font-size:10.5px;font-weight:600;padding:3px 9px;border-radius:20px;letter-spacing:.04em;white-space:nowrap;}
.badge-APPROVED{background:var(--wg-success-bg);color:var(--wg-success-text);}
.badge-SURRENDERED{background:var(--wg-neutral-bg);color:var(--wg-neutral-text);}
.badge-REVOKED{background:var(--wg-danger-bg);color:var(--wg-danger-text);}

/* Stat cards — registry ledger sheets */
.stat-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin:24px 0;}
.stat-card{background:var(--wg-surface);border:1px solid var(--wg-border);border-top:2px solid var(--wg-oxblood);border-radius:var(--wg-radius-sm);padding:16px;}
.stat-card .v{font-family:'Fraunces',Georgia,serif;font-size:26px;font-weight:700;color:var(--wg-oxblood);line-height:1;}
.stat-card .l{font-size:10.5px;color:var(--wg-muted);margin-top:5px;font-weight:500;text-transform:uppercase;letter-spacing:.07em;}

/* Section heads with ledger rule */
.section-head{font-size:15px;font-weight:600;color:var(--wg-text);margin:28px 0 14px;display:flex;align-items:center;gap:8px;padding-bottom:9px;border-bottom:1px solid var(--wg-line);}
.section-head i{color:var(--wg-brass);}

/* Pills */
.pill-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;}
.pill-item{background:var(--wg-bg-2);border:1px solid var(--wg-border);border-radius:20px;padding:4px 12px;font-size:12.5px;color:var(--wg-text);}
.pill-item a{color:var(--wg-merlot);text-decoration:none;}
.pill-item a:hover{text-decoration:underline;}

/* Entity cards */
.entity-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin-top:16px;}
.entity-card{background:var(--wg-surface);border:1px solid var(--wg-border);border-radius:var(--wg-radius-sm);padding:14px 16px;transition:.15s;}
.entity-card:hover{border-color:var(--wg-brass);box-shadow:var(--wg-shadow-soft);}
.entity-card a{color:var(--wg-text);text-decoration:none;display:block;}
.entity-card .name{font-weight:600;font-size:13.5px;color:var(--wg-merlot);margin-bottom:4px;}
.entity-card .count{font-size:12px;color:var(--wg-muted);}

/* Rich multi-column footer */
.site-footer{background:var(--wg-oxblood);color:rgba(255,255,255,.58);padding:40px 28px 24px;margin-top:60px;font-size:12.5px;line-height:1.7;}
.site-footer .wrap{max-width:var(--wg-container);margin:0 auto;}
.footer-cols{display:grid;grid-template-columns:1.8fr 1fr 1fr;gap:36px;margin-bottom:28px;}
.footer-brand .fn{font-family:'Fraunces',Georgia,serif;font-size:17px;font-weight:700;color:#fff;letter-spacing:-.01em;margin-bottom:10px;}
.footer-brand p{font-size:12px;color:rgba(255,255,255,.52);line-height:1.65;max-width:280px;}
.footer-col h4{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:rgba(212,168,106,.85);margin-bottom:10px;}
.footer-col a{display:block;color:rgba(255,255,255,.62);text-decoration:none;margin-bottom:5px;font-size:12.5px;transition:.15s;}
.footer-col a:hover{color:#fff;}
.footer-rule{border:none;border-top:1px solid rgba(255,255,255,.1);margin:0 0 16px;}
.footer-bottom{font-size:11.5px;color:rgba(255,255,255,.36);text-align:center;}
.footer-bottom a{color:rgba(255,255,255,.5);}
.footer-refresh{display:block;margin-top:4px;font-size:10.5px;color:rgba(255,255,255,.25);}

/* Official source box */
.source-box{background:var(--wg-bg-2);border:1px solid var(--wg-border);border-left:3px solid var(--wg-brass);border-radius:var(--wg-radius-sm);padding:16px 20px;margin-top:24px;}
.source-box-title{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--wg-brass);margin-bottom:6px;}
.source-box p{font-size:13px;color:var(--wg-text-soft);margin:0 0 10px;line-height:1.6;}
.source-box a.src-link{color:var(--wg-oxblood);font-weight:600;text-decoration:none;font-size:13px;}
.source-box a.src-link:hover{text-decoration:underline;}
.what-to-expect-box{background:var(--wg-surface-2);border:1px solid var(--wg-border);border-left:3px solid var(--wg-vineyard);border-radius:var(--wg-radius-sm);padding:18px 22px;margin-bottom:24px;}
.what-to-expect-box .section-head{margin:0 0 10px;padding-bottom:0;border-bottom:none;color:var(--wg-vineyard);}
.what-to-expect-box .section-head i{color:var(--wg-vineyard);}
.what-to-expect-box p{font-size:14.5px;color:var(--wg-text);margin:0;line-height:1.7;}
.wte-copyright{margin-top:12px;padding-top:10px;border-top:1px solid var(--wg-line);font-size:11px;color:var(--wg-muted);line-height:1.5;}
.wte-copyright a{color:var(--wg-vineyard);text-decoration:none;}
.wte-copyright a:hover{text-decoration:underline;}

/* Coverage note */
.coverage-note{background:var(--wg-warning-bg);border:1px solid rgba(184,134,69,.28);border-radius:var(--wg-radius-sm);padding:12px 16px;font-size:12.5px;color:var(--wg-warning-text);margin:20px 0 4px;}

/* Disclaimer */
.disclaimer{background:var(--wg-bg-2);border:1px solid var(--wg-border);border-radius:var(--wg-radius-sm);padding:14px 18px;font-size:12.5px;color:var(--wg-muted);margin-top:32px;line-height:1.6;}
.disclaimer i{color:var(--wg-brass);}

/* Detail record card */
.record-card{background:var(--wg-surface);border:1px solid var(--wg-border);border-radius:var(--wg-radius-md);overflow:hidden;margin-bottom:24px;}
.record-card .rc-group{padding:4px 0;}
.record-card .rc-label{display:block;font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--wg-muted);font-weight:600;margin-bottom:2px;}
.record-card .rc-value{font-size:14px;color:var(--wg-text);font-weight:500;}

/* Responsive */
@media(max-width:900px){.footer-cols{grid-template-columns:1fr 1fr;}.footer-brand{grid-column:1/-1;}}
@media(max-width:780px){
  .topbar{padding:0 16px;height:58px;}
  .topnav a{font-size:12px;padding:5px 7px;}
  .source-bar,.breadcrumb-bar{padding-left:16px;padding-right:16px;}
  .page-hero{padding:36px 16px 42px;}
  .page-hero h1{font-size:26px;}
  .content-section{padding:24px 16px;}
  .footer-cols{grid-template-columns:1fr;}
  .site-footer{padding:32px 16px 20px;}
}
@media(max-width:480px){.topnav a{font-size:11px;padding:4px 5px;}.stat-cards{grid-template-columns:1fr 1fr;}}

/* Responsive table wrapper */
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:8px;}
@media(max-width:700px){
  .entity-table{font-size:12px;}
  .entity-table th,.entity-table td{padding:7px 8px;}
  .entity-table th:nth-child(n+4),.entity-table td:nth-child(n+4){display:none;}
}

/* Related sections */
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;margin-top:12px;}
.related-card{background:var(--wg-surface);border:1px solid var(--wg-border);border-radius:var(--wg-radius-sm);padding:10px 14px;}
.related-card a{color:var(--wg-merlot);text-decoration:none;font-size:13px;font-weight:500;}
.related-card a:hover{text-decoration:underline;}
.related-card .rc-count{font-size:11.5px;color:var(--wg-muted);margin-top:2px;}

/* Top list */
.top-list{list-style:none;margin:0;padding:0;}
.top-list li{display:flex;align-items:center;justify-content:space-between;padding:7px 0;border-bottom:1px solid var(--wg-border);}
.top-list li:last-child{border-bottom:none;}
.top-list li a{color:var(--wg-merlot);text-decoration:none;font-size:13px;}
.top-list li a:hover{text-decoration:underline;}
.top-list .tl-count{font-size:11.5px;color:var(--wg-muted);white-space:nowrap;}

/* Index page intro */
.index-intro{max-width:680px;font-size:14px;color:var(--wg-text-soft);line-height:1.7;margin-bottom:24px;}

/* Alpha navigation for index pages */
.alpha-nav{display:flex;flex-wrap:wrap;gap:4px;margin:16px 0 24px;}
.alpha-nav a,.alpha-nav span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:12px;font-weight:600;border-radius:4px;text-decoration:none;}
.alpha-nav a{color:var(--wg-merlot);border:1px solid var(--wg-border);}
.alpha-nav a:hover{background:var(--wg-bg-2);border-color:var(--wg-brass);}
.alpha-nav span{color:var(--wg-muted);border:1px solid var(--wg-border);opacity:.35;}
.alpha-section{margin-top:20px;}
.alpha-section h3{font-size:11.5px;font-weight:700;color:var(--wg-muted);text-transform:uppercase;letter-spacing:.12em;border-bottom:1px solid var(--wg-border);padding-bottom:6px;margin-bottom:12px;}

/* Pagination controls for paged record pages */
.page-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 8px;flex-wrap:wrap;}
.page-nav a{padding:8px 16px;font-size:13px;font-weight:500;border:1px solid var(--wg-border);border-radius:var(--wg-radius-sm);color:var(--wg-merlot);text-decoration:none;}
.page-nav a:hover{background:var(--wg-bg-2);border-color:var(--wg-brass);}
.page-nav .pn-current{padding:8px 16px;font-size:13px;color:var(--wg-muted);background:var(--wg-bg-2);border:1px solid var(--wg-border);border-radius:var(--wg-radius-sm);}
.page-nav .pn-info{font-size:12.5px;color:var(--wg-muted);}

/* Year distribution mini chart */
.year-dist{margin:8px 0 20px;}
.year-dist .yd-row{display:flex;align-items:center;gap:8px;margin-bottom:5px;}
.year-dist .yd-year{font-size:11px;color:var(--wg-muted);width:38px;flex-shrink:0;text-align:right;}
.year-dist .yd-track{flex:1;height:9px;background:var(--wg-border);border-radius:3px;overflow:hidden;}
.year-dist .yd-fill{height:100%;background:var(--wg-merlot);border-radius:3px;}
.year-dist .yd-ct{font-size:11px;color:var(--wg-muted);width:30px;}

/* View-all link from entity page to records page */
.view-all-link{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:var(--wg-merlot);text-decoration:none;font-weight:500;margin-top:10px;}
.view-all-link:hover{text-decoration:underline;}

/* Paged record page count summary chip */
.records-info{font-size:12.5px;color:var(--wg-muted);margin-bottom:12px;}

/* WG-K1: Encyclopedia of Wine cross-link callout */
.ew-callout{display:flex;align-items:flex-start;gap:8px;border-left:3px solid #B8943F;background:#faf9f5;padding:10px 14px;margin:14px 0;border-radius:0 4px 4px 0;font-size:13.5px;color:#4A5B6E;line-height:1.5;}
.ew-callout .ew-callout-icon{flex-shrink:0;font-size:16px;margin-top:1px;}
.ew-callout a{color:#5A7A5A;font-weight:500;text-decoration:none;}
.ew-callout a:hover{text-decoration:underline;}

/* P1I: COLA detail label-image panel — occupies the space to the left of the record table.
   Absent entirely (no grid, no column) when a record has no fetched label images, so the
   no-image case renders identically to the plain single-column table layout. */
.record-detail-grid.has-image{display:grid;grid-template-columns:260px 1fr;gap:28px;align-items:start;}
.label-image-panel{position:sticky;top:78px;}
.label-hero{display:block;border:1px solid var(--wg-border);border-radius:var(--wg-radius-md);overflow:hidden;background:var(--wg-surface);box-shadow:var(--wg-shadow-card);}
.label-hero img{display:block;width:100%;height:auto;}
.label-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px;margin-top:10px;}
.label-thumb{display:block;border:1px solid var(--wg-border);border-radius:var(--wg-radius-sm);overflow:hidden;background:var(--wg-surface);text-decoration:none;transition:.15s;}
.label-thumb:hover{border-color:var(--wg-brass);box-shadow:var(--wg-shadow-soft);}
.label-thumb img{display:block;width:100%;height:64px;object-fit:cover;}
.label-thumb-kind{display:block;font-size:9.5px;color:var(--wg-muted);text-align:center;padding:3px 2px;text-transform:uppercase;letter-spacing:.05em;background:var(--wg-bg-2);}
@media(max-width:820px){
  .record-detail-grid.has-image{grid-template-columns:1fr;}
  .label-image-panel{position:static;max-width:320px;}
}

/* ── A1 result router + confidence (Cellar-Ledger tokens) ── */
.wg-conf-band{display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:720px;margin:0 0 18px;padding:12px 16px;border-radius:var(--wg-radius-md,10px);border:1px solid var(--wg-border,#ded2c3);background:var(--wg-surface,#fffaf2);}
.wg-conf-badge{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;border-radius:30px;padding:4px 12px;border:1px solid transparent;white-space:nowrap;}
.wg-conf-copy{font-size:12.5px;color:var(--wg-muted,#6d655c);}
.conf-high .wg-conf-badge{background:var(--wg-success-bg,#edf5ed);color:var(--wg-success-text,#2f5a45);border-color:#cfe3cf;}
.conf-likely .wg-conf-badge{background:var(--wg-warning-bg,#fbf1df);color:var(--wg-warning-text,#8a5a14);border-color:#ecd7ad;}
.conf-uncertain .wg-conf-badge{background:var(--wg-neutral-bg,#eef0f2);color:var(--wg-neutral-text,#4d535c);border-color:#d8dde2;}
.conf-failed .wg-conf-badge{background:var(--wg-danger-bg,#f8e7e4);color:var(--wg-danger-text,#7c2828);border-color:#eccfc9;}
.wg-router{max-width:720px;margin:32px 0 0;}
.wg-router-head h2{font-family:'Fraunces',Georgia,serif;font-size:22px;font-weight:700;color:var(--wg-text,#1d1f23);letter-spacing:-.02em;margin:0;}
.wg-router-head p{font-size:13px;color:var(--wg-muted,#6d655c);margin:4px 0 0;}
.wg-router-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px;}
@media(max-width:680px){.wg-router-grid{grid-template-columns:1fr;}}
.wg-route{background:var(--wg-surface,#fffaf2);border:1px solid var(--wg-border,#ded2c3);border-radius:var(--wg-radius-lg,16px);padding:20px;display:flex;flex-direction:column;border-top:3px solid transparent;}
.wg-route.consumer{border-top-color:var(--wg-vineyard,#2f5a45);}
.wg-route.operator{border-top-color:var(--wg-slate,#5f6472);}
.wg-route-eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
.wg-route.consumer .wg-route-eyebrow{color:var(--wg-vineyard,#2f5a45);}
.wg-route.operator .wg-route-eyebrow{color:var(--wg-slate,#5f6472);}
.wg-route-label{font-family:'Fraunces',Georgia,serif;font-size:18px;font-weight:700;color:var(--wg-text,#1d1f23);margin-top:9px;}
.wg-route-desc{font-size:12.5px;color:var(--wg-muted,#6d655c);line-height:1.5;margin-top:6px;min-height:38px;}
.wg-route-actions{display:flex;flex-direction:column;gap:8px;margin-top:14px;}
.wg-btn-pri,.wg-btn-sec{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--wg-radius-md,10px);padding:11px 15px;font-size:13px;font-weight:600;text-decoration:none;border:1px solid transparent;transition:.15s;cursor:pointer;}
.wg-route.consumer .wg-btn-pri{background:var(--wg-vineyard,#2f5a45);color:#fff;}
.wg-route.consumer .wg-btn-pri:hover{background:#264a39;}
.wg-route.operator .wg-btn-pri{background:var(--wg-oxblood,#5b1a18);color:#fff;}
.wg-route.operator .wg-btn-pri:hover{background:#4a1210;}
.wg-btn-sec{background:transparent;color:var(--wg-text-soft,#3f3a34);border-color:var(--wg-border-strong,#c8b8a6);}
.wg-btn-sec:hover{background:var(--wg-bg-2,#f6f0e7);}

/* ── Label-image lightbox (click hero/thumbnail → same-page modal, not a new tab) ── */
.wg-lightbox{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:32px;}
.wg-lightbox[hidden]{display:none;}
.wg-lightbox-backdrop{position:absolute;inset:0;background:rgba(29,31,35,.82);}
.wg-lightbox-stage{position:relative;max-width:min(92vw,900px);max-height:90vh;z-index:1;}
.wg-lightbox-stage img{display:block;max-width:100%;max-height:90vh;border-radius:var(--wg-radius-md,10px);box-shadow:var(--wg-shadow-soft,0 10px 30px rgba(49,34,24,.06));background:var(--wg-surface,#fffaf2);}
.wg-lightbox-close{position:absolute;top:-16px;right:-16px;width:36px;height:36px;border-radius:50%;border:1px solid var(--wg-border,#ded2c3);background:var(--wg-surface,#fffaf2);color:var(--wg-text,#1d1f23);font-size:20px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--wg-shadow-card,0 1px 2px rgba(49,34,24,.08));}
.wg-lightbox-close:hover{border-color:var(--wg-brass,#b88645);color:var(--wg-oxblood,#5b1a18);}
@media(max-width:480px){
  .wg-lightbox{padding:16px;}
  .wg-lightbox-close{top:-14px;right:0;}
}