/* === GL LUXE REFRESH v1 (2026-10-28) — START ===
   Gilded Lot luxury design refresh for Kadence (free). Loaded by the gl-design plugin.
   Roll back: deactivate gl-design (see /workspace/luxe/design/rollback-luxe-2026-10-28.sh).
   Fonts: headings Cormorant Garamond 500/600 (latin), bundled in the plugin, so no Google CDN.
   Body: system sans stack (no web font, zero extra bytes).
   Does NOT touch Complianz (#cmplz-*), only lightly harmonises gl-live-search colours. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --gl-navy: #0B1B33;
  --gl-navy-2: #13294B;
  --gl-gold: #C9A24A;        /* decorative only: rules, borders, icons on navy */
  --gl-gold-text: #8A6A24;   /* gold for text on ivory (AA 4.5:1+) */
  --gl-ivory: #FAF7F0;
  --gl-paper: #FFFFFF;
  --gl-charcoal: #2A2A2E;
  --gl-muted: #5F5E66;
  --gl-line: #E7DFCC;
  --gl-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --gl-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* map onto Kadence global palette so theme components follow */
  --global-palette1: var(--gl-navy);
  --global-palette2: var(--gl-navy-2);
  --global-palette3: var(--gl-navy);
  --global-palette4: var(--gl-charcoal);
  --global-palette5: var(--gl-muted);
  --global-palette6: #8C8B92;
  --global-palette7: #F3EEE2;
  --global-palette8: var(--gl-ivory);
  --global-palette9: var(--gl-paper);
}

/* ---------- Base ---------- */
body { background: var(--gl-ivory); color: var(--gl-charcoal); font-family: var(--gl-sans); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
.content-bg, body.content-style-unboxed .site { background: var(--gl-ivory); }
h1, h2, h3, h4, .entry-title, .site-title { font-family: var(--gl-serif); color: var(--gl-navy); font-weight: 600; letter-spacing: .01em; }
h1, .entry-hero h1.entry-title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.12; }
.entry-content h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.2; margin-top: 2.4em; margin-bottom: .55em; }
.entry-content h3 { font-size: 1.45rem; line-height: 1.3; }
.entry-content h2::after { content: ""; display: block; width: 48px; height: 1px; background: var(--gl-gold); margin-top: .45em; }
.entry-content p, .entry-content li { color: var(--gl-charcoal); }
.entry-content a, .entry-content a:visited { color: var(--gl-gold-text); text-decoration: underline; text-decoration-color: rgba(201,162,74,.55); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:hover { color: var(--gl-navy); text-decoration-color: var(--gl-gold); }
::selection { background: #EBDDB8; color: var(--gl-navy); }
:focus-visible { outline: 2px solid var(--gl-gold); outline-offset: 3px; }

/* ---------- Header: white, thin gold rule, serif wordmark ---------- */
#masthead, .site-main-header-wrap .site-header-row-container-inner { background: var(--gl-paper); }
#masthead { border-bottom: 1px solid var(--gl-gold); box-shadow: 0 1px 0 rgba(11,27,51,.04); }
.site-branding a.brand { gap: 14px; }
.site-branding a.brand img, .site-branding a.brand img.custom-logo { width: 52px; max-width: 52px; height: auto; }
.site-branding .site-title { font-family: var(--gl-serif); font-weight: 600; font-size: 26px; text-transform: uppercase; letter-spacing: .22em; color: var(--gl-navy); margin: 0; }
.main-navigation .primary-menu-container > ul > li.menu-item > a { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--gl-navy); }
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a { color: var(--gl-gold-text); }
.header-navigation .header-menu-container ul ul.sub-menu { background: var(--gl-navy); border-top: 2px solid var(--gl-gold); }
.header-navigation .header-menu-container ul ul li.menu-item > a { color: #F1EBDD; font-size: 14px; letter-spacing: .04em; text-transform: none; }
.header-navigation .header-menu-container ul ul li.menu-item > a:hover { color: var(--gl-gold); background: transparent; }
.search-toggle-open-container .search-toggle-open, .menu-toggle-open { color: var(--gl-navy); }
@media (max-width: 1024px) {
  .site-branding a.brand img, .site-branding a.brand img.custom-logo { width: 40px; max-width: 40px; }
  .site-branding .site-title { font-size: 19px; letter-spacing: .16em; }
}

/* ---------- Hero: deep navy band, ivory serif title, gold hairline ---------- */
.entry-hero.page-hero-section .entry-hero-container-inner { background: radial-gradient(120% 140% at 50% 0%, var(--gl-navy-2) 0%, var(--gl-navy) 62%); border-bottom: 1px solid var(--gl-gold); }
.entry-hero.page-hero-section .hero-section-overlay { background: transparent; }
.entry-hero .entry-header { min-height: 0; padding: clamp(48px, 7vw, 96px) 0; }
.entry-hero h1.entry-title { color: #F6F1E4; max-width: 22ch; margin-left: auto; margin-right: auto; }
.entry-hero h1.entry-title::after { content: ""; display: block; width: 64px; height: 1px; background: var(--gl-gold); margin: .55em auto 0; }
.entry-hero .entry-meta, .entry-hero .entry-meta a, .entry-hero .kadence-breadcrumbs, .entry-hero .kadence-breadcrumbs a { color: #D9CFB8; }
.entry-hero .entry-taxonomies a { color: var(--gl-gold); border-color: var(--gl-gold); }

/* ---------- Content card ---------- */
.content-style-boxed .entry.content-bg, .entry.single-entry { background: var(--gl-paper); border: 1px solid var(--gl-line); border-radius: 2px; box-shadow: 0 18px 40px -28px rgba(11,27,51,.25); }
.entry-content-wrap { padding: clamp(24px, 4vw, 56px); }
.content-container.site-container { max-width: 1180px; }
.content-style-boxed .content-container.site-container { max-width: 1040px; }

/* ---------- Buttons: navy, gold hairline, small caps tracking ---------- */
.button, .wp-block-button__link, .entry-content .button, button[type=submit]:not(.search-submit), input[type=submit]:not(.search-submit), .gl-internal-cta {
  background: var(--gl-navy) !important; color: #F6F1E4 !important; border: 1px solid var(--gl-gold) !important;
  border-radius: 0 !important; padding: .95em 1.9em !important; font-family: var(--gl-sans); font-size: 13px !important;
  font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none !important; box-shadow: none !important;
  transition: background .2s ease, color .2s ease; }
.button:hover, .wp-block-button__link:hover, .gl-internal-cta:hover, button[type=submit]:not(.search-submit):hover, input[type=submit]:not(.search-submit):hover {
  background: var(--gl-gold) !important; color: var(--gl-navy) !important; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent !important; color: var(--gl-navy) !important; }

/* ---------- Cards: archives, related guides, latest posts ---------- */
.loop-entry, .wp-block-latest-posts li {
  background: var(--gl-paper); border: 1px solid var(--gl-line); border-radius: 2px; box-shadow: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.loop-entry:hover, .wp-block-latest-posts li:hover { transform: translateY(-3px); border-color: var(--gl-gold); box-shadow: 0 22px 40px -30px rgba(11,27,51,.45); }
.loop-entry .entry-title, .loop-entry .entry-title a { font-family: var(--gl-serif); font-size: 1.5rem; color: var(--gl-navy); text-decoration: none; }
.loop-entry .entry-taxonomies a, .loop-entry .category-links a { color: var(--gl-gold-text); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.loop-entry .more-link-wrap a, .loop-entry a.post-more-link { color: var(--gl-navy); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--gl-gold); text-decoration: none; }

/* ---------- Tables, quotes, lists ---------- */
.entry-content table { border-collapse: collapse; width: 100%; font-size: .95em; }
.entry-content th { background: var(--gl-navy); color: #F6F1E4; font-weight: 600; letter-spacing: .04em; text-align: left; }
.entry-content th, .entry-content td { border: 1px solid var(--gl-line); padding: .7em .9em; }
.entry-content tr:nth-child(even) td { background: #FCFAF5; }
.entry-content blockquote { border-left: 2px solid var(--gl-gold); font-family: var(--gl-serif); font-size: 1.35em; font-style: italic; color: var(--gl-navy); padding-left: 1.1em; }
.entry-content ul li::marker { color: var(--gl-gold); }

/* Tables scroll sideways on phones instead of squeezing or overflowing the page (v1.0.2, 2026-10-30). */
.entry-content .wp-block-table, .entry-content figure.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 767px) {
  .entry-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .entry-content th, .entry-content td { min-width: 7.5em; }
  .entry-content table { background: linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) left/24px 100% no-repeat local, linear-gradient(to left, #fff 30%, rgba(255,255,255,0)) right/24px 100% no-repeat local, linear-gradient(to right, rgba(11,27,51,.12), rgba(11,27,51,0)) left/10px 100% no-repeat scroll, linear-gradient(to left, rgba(11,27,51,.12), rgba(11,27,51,0)) right/10px 100% no-repeat scroll; }
}

/* ---------- Footer: navy, ivory links, gold hairline ---------- */
#colophon .site-footer-row-container-inner { background: var(--gl-navy); }
#colophon .site-middle-footer-wrap .site-footer-row-container-inner { border-top: 1px solid var(--gl-gold); padding-top: 28px; padding-bottom: 12px; }
#colophon .site-bottom-footer-wrap .site-footer-row-container-inner { border-top: 1px solid rgba(201,162,74,.25); }
#colophon, #colophon a, #colophon .footer-navigation a, #colophon .footer-html { color: #E9E2D2; }
#colophon .footer-navigation .menu > li > a, #colophon .footer-navigation a { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #EFE8D8 !important; }
#colophon a:hover, #colophon .footer-navigation a:hover { color: var(--gl-gold); }
#colophon .footer-html { font-size: 13px; letter-spacing: .06em; color: #BDB6A6; }
#colophon .footer-navigation .menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; }
#colophon .footer-navigation .menu > li > a { padding: .35em 0; }
/* social links (footer menu items with class gl-social) */
#colophon .footer-navigation .menu > li.gl-social > a { color: var(--gl-gold) !important; }
#colophon .gl-social > a svg { width: 18px; height: 18px; }

/* ---------- Related guides as a card grid ---------- */
.entry-content ul.gl-related { list-style: none; padding: 0; margin: 1em 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.entry-content ul.gl-related li { margin: 0; }
.entry-content ul.gl-related a { display: block; height: 100%; padding: 18px 20px; background: var(--gl-ivory); border: 1px solid var(--gl-line); border-top: 2px solid var(--gl-gold);
  font-family: var(--gl-serif); font-size: 1.2rem; line-height: 1.3; color: var(--gl-navy); text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.entry-content ul.gl-related a:hover { background: var(--gl-paper); border-color: var(--gl-gold); }

/* ---------- Live search (gl-live-search): follows the palette vars above; only accents here ---------- */
.glls-list { border-color: var(--gl-line) !important; border-top: 2px solid var(--gl-gold) !important; border-radius: 0 !important; }
.glls-head { color: var(--gl-gold-text) !important; letter-spacing: .14em !important; }
.glls-price, .glls-all a { color: var(--gl-navy) !important; }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) { .loop-entry, .wp-block-latest-posts li { transition: none; } .loop-entry:hover { transform: none; } }
/* === GL LUXE REFRESH v1 — END === */

/* ---------- 1.0.3: category header image (archive description) ---------- */
.gl-cat-hero { margin: 0 auto 1.6em; max-width: 960px; }
.gl-cat-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--gl-gold); border-radius: 2px; box-shadow: 0 18px 40px -20px rgba(11, 27, 51, .5); }
@media (max-width: 600px) { .gl-cat-hero { margin-bottom: 1.2em; } }
