/*
Theme Name: BlackMeet50 Editorial
Theme URI: https://blackmeet50.com/
Author: BlackMeet50
Description: A lightweight editorial WordPress theme for dating and companionship content for Black singles aged 50 and older.
Version: 1.9.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: blackmeet50
*/

:root {
  color-scheme: light;
  --canvas: #fffaf4;
  --paper: #fbf1e6;
  --ink: #282422;
  --muted: #6c625e;
  --wine: #87364a;
  --wine-dark: #5b2634;
  --gold: #c98b55;
  --peach-gold: #edc28a;
  --peach-gold-hover: #f4d2a4;
  --line: #eadbcd;
  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --body: 1.125rem;
  --small: 1rem;
  --h1: clamp(2.75rem, 3.2vw, 3.25rem);
  --h2: clamp(2rem, 2.35vw, 2.25rem);
  --h3: clamp(1.5rem, 1.8vw, 1.75rem);
  --home-section-title: var(--h2);
  --home-card-title: 1.375rem;
  --home-card-description: 1.125rem;
  --wrap: 1240px;
  --reading: 740px;
  --focus: 0 0 0 3px #fffaf4, 0 0 0 5px var(--gold);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 400 var(--body)/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--wine); text-underline-offset: .2em; }
a:hover { color: var(--wine-dark); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 0; box-shadow: var(--focus); }
img { display: block; max-width: 100%; height: auto; }
::selection { color: white; background: var(--wine); }
.wrap { width: min(var(--wrap), calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 50; top: -5rem; left: 1rem; padding: .75rem 1rem; color: var(--ink); background: white; }
.skip-link:focus { top: 1rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
h1, h2, h3 { margin: 0 0 1rem; font-family: var(--serif); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
.eyebrow { margin: 0 0 .85rem; color: var(--gold); font-size: .9375rem; font-weight: 600; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.text-link { font-size: var(--small); font-weight: 700; text-decoration-thickness: 1px; }
.card-meta, .entry-meta { color: var(--muted); font-size: .9375rem; }

/* White editorial masthead */
.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { width: min(1360px, calc(100% - 3rem)); min-height: 78px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header-controls { display: flex; align-items: center; gap: 1.5rem; }
.header-controls > .primary-nav { order: 1; }
.header-controls > .nav-cta { order: 2; }
.header-controls > .menu-toggle { order: 3; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .65rem; color: var(--ink); font: 700 1.45rem/1 var(--serif); letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--wine); }
.brand-image .custom-logo-link { display: inline-flex; align-items: center; }
.brand-image .custom-logo { width: auto; max-height: 52px; object-fit: contain; }
.footer-brand.brand-image .custom-logo { max-height: 56px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--wine); font: italic 1.1rem var(--serif); }
.primary-nav { display: flex; align-items: center; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 1rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--wine); }
.primary-nav .menu { display: flex; align-items: center; gap: clamp(1.25rem, 2vw, 1.85rem); padding: 0; margin: 0; list-style: none; }
.primary-nav .current-menu-item > a::after, .primary-nav .current_page_item > a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; border-radius: 2px; background: var(--wine); content: ""; }
.header-tools { display: flex; align-items: center; gap: 1rem; }
.search-form { position: relative; display: flex; align-items: center; }
.search-form label { margin: 0; }
.search-field { width: 40px; min-height: 42px; padding: .5rem 2rem .5rem .5rem; border: 1px solid transparent; border-radius: 3px; color: transparent; background: transparent; font: 400 1rem var(--sans); cursor: pointer; transition: width .18s ease, border-color .18s ease; }
.search-field::placeholder { color: transparent; }
.search-form:focus-within .search-field { width: 176px; border-color: var(--line); color: var(--ink); background: var(--canvas); cursor: text; }
.search-form:focus-within .search-field::placeholder { color: var(--muted); }
.search-submit { position: absolute; right: .35rem; width: 32px; height: 36px; padding: 0; border: 0; color: var(--wine); background: transparent; font-size: 1.15rem; cursor: pointer; }
.nav-cta, .button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.15rem; border: 1px solid var(--peach-gold); border-radius: 3px; color: var(--wine-dark) !important; background: var(--peach-gold); font: 600 1rem/1.25 var(--sans); text-align: center; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.nav-cta { min-height: 44px; padding: .6rem 1rem; }
.nav-cta:hover, .button:hover { color: var(--wine-dark) !important; border-color: var(--peach-gold-hover); background: var(--peach-gold-hover); transform: translateY(-1px); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: .5rem; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: #fff; cursor: pointer; }
.menu-icon { width: 18px; display: grid; gap: 4px; }
.menu-icon i { width: 100%; height: 2px; border-radius: 2px; background: var(--wine); transition: transform .18s ease, opacity .18s ease; }
.menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-6px) rotate(-45deg); }

/* Photo-led homepage hero */
.hero { position: relative; min-height: 510px; display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--wine-dark); isolation: isolate; }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { z-index: 0; }
.hero-shade { z-index: 1; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.hero-shade { background: linear-gradient(90deg, rgba(28, 17, 19, .82) 0%, rgba(36, 21, 25, .69) 40%, rgba(38, 22, 26, .14) 100%), linear-gradient(0deg, rgba(26, 18, 19, .25), transparent 48%); }
.hero-content { position: relative; z-index: 2; padding-block: 4rem; }
.hero-text { max-width: 625px; }
.hero h1 { max-width: 700px; margin: 0 0 1rem; color: #fff; font-size: clamp(3.5rem, 3.8vw, 4rem); }
.hero .eyebrow { color: #efd4a1; }
.hero-copy { max-width: 570px; margin: 0; color: #fffaf4; font-size: clamp(1.125rem, 1.15vw, 1.1875rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.75rem; }
.hero .button { min-height: 52px; padding-inline: 1.4rem; }
.hero-secondary { color: #fff; font-size: 1rem; font-weight: 600; text-decoration-color: rgba(255,255,255,.7); }
.hero-secondary:hover { color: var(--peach-gold-hover); }

/* Editorial sections and content cards */
.intro { padding-block: clamp(3rem, 6vw, 5rem); background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.intro h2 { max-width: 420px; margin: 0; }
.intro-copy { max-width: 690px; color: var(--muted); }
.intro-copy p:first-child { margin-top: 0; }
.audience-section { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section-intro { max-width: 360px; margin: 0; color: var(--muted); }
.audience-grid { display: grid; max-width: 1120px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; margin-inline: auto; }
.audience-card { min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: .8rem; padding: 0; border: 0; color: var(--ink); background: transparent; text-decoration: none; }
.audience-card:hover { color: var(--ink); }
.audience-image-wrap { width: 100%; aspect-ratio: 4 / 3; display: block; overflow: hidden; border-radius: 13px; background: #e8dfd2; }
.audience-image { width: 100%; height: 100%; object-fit: cover; transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.audience-card:hover .audience-image, .audience-card:focus-within .audience-image { transform: scale(1.045); }
.audience-copy { display: block; }
.audience-card h3 { min-height: 2.7em; margin: 0 0 .35rem; font: 600 var(--home-card-title)/1.35 var(--sans); letter-spacing: -.015em; }
.audience-card p { max-width: 760px; min-height: 3.4em; display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: var(--home-card-description); line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.audience-more { margin: 1.25rem 0 0; text-align: right; }
.home-audience-section { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.home-audience-section .eyebrow, .home-articles-section .eyebrow, .home-location-section .eyebrow { font-family: var(--sans); font-size: .9375rem; font-weight: 600; letter-spacing: 1.5px; }
.home-audience-section .section-heading h2, .home-articles-section .reading-heading h2, .home-location-section .home-location-heading h2 { font-family: var(--serif); font-size: var(--home-section-title); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.home-audience-section .section-intro, .home-articles-section .reading-heading > div > p:not(.eyebrow), .home-location-section .home-location-heading > p:not(.eyebrow) { font-size: var(--body); line-height: 1.7; }
.why-section { padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--canvas); }
.why-panel { padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: 16px; background: var(--paper); }
.why-heading { max-width: 800px; margin: 0 auto 1.35rem; text-align: center; }
.why-heading h2 { margin-bottom: .45rem; font-family: var(--serif); font-size: var(--h2); font-weight: 600; letter-spacing: -.03em; }
.why-heading .eyebrow { margin-bottom: .45rem; }
.why-heading > p:not(.eyebrow) { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: var(--body); line-height: 1.7; }
.why-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.why-card { min-width: 0; min-height: 164px; padding: .8rem .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; }
.why-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: .55rem; border-radius: 9px; color: var(--wine); background: #f7e8eb; }
.why-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { margin: 0 0 .35rem; font: 600 var(--home-card-title)/1.35 var(--sans); letter-spacing: -.01em; }
.why-card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.location-section { padding-block: clamp(3rem, 6vw, 5rem); }
.location-panel { position: relative; min-height: 270px; display: flex; align-items: center; justify-content: space-between; gap: 3rem; overflow: hidden; padding: clamp(2rem, 5vw, 4rem); color: #fff; background: var(--wine-dark); }
.location-copy { position: relative; z-index: 1; max-width: 610px; }
.location-copy h2 { margin-bottom: .7rem; }
.location-copy p:not(.eyebrow) { max-width: 530px; margin: 0 0 1.4rem; color: #f0e6e1; }
.location-copy .eyebrow { color: var(--peach-gold); }
.button-light { border-color: #f0dfc1; color: var(--wine-dark) !important; background: #f0dfc1; }
.button-light:hover { border-color: #fff; color: var(--wine-dark) !important; background: #fff; }
.location-mark { position: relative; width: 250px; height: 180px; flex: 0 0 250px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 48% 52% 40% 60% / 50% 42% 58% 50%; color: var(--peach-gold); font: 500 3rem var(--serif); transform: rotate(-8deg); }
.location-mark::before, .location-mark::after { position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 48% 52% 40% 60% / 50% 42% 58% 50%; content: ""; }
.location-mark::after { inset: 25px; }
.location-mark i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--peach-gold); }
.location-mark i:nth-of-type(1) { top: 35px; left: 57px; }.location-mark i:nth-of-type(2) { top: 67px; right: 45px; }.location-mark i:nth-of-type(3) { bottom: 45px; right: 75px; }.location-mark i:nth-of-type(4) { bottom: 32px; left: 80px; }.location-mark i:nth-of-type(5) { top: 48px; right: 78px; }
.articles-section { padding-block: clamp(3.25rem, 6vw, 5rem); }
.reading-panel { padding: 0; border-radius: 0; background: transparent; }
.reading-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1rem; }
.home-articles-section { padding-top: clamp(1.5rem, 3vw, 2.25rem); padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.home-location-empty { padding: 1.25rem; margin: 0; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: .9375rem; }
.country-overview-inner { padding-block: 1.25rem 4rem; }
.country-overview-inner .page-hero { padding-block: 1.5rem 1rem; }
.country-overview-inner .page-hero h1 { margin-bottom: .6rem; font: 600 var(--h1)/1.2 var(--serif); letter-spacing: -.03em; }
.country-overview-inner .archive-description { margin: 0; color: var(--muted); font-size: 1rem; }
.country-overview-editor { max-width: 800px; color: var(--muted); }
.country-city-section { margin-top: 2rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 14px; background: #f8f0e7; }
.country-city-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; }
.country-city-heading .eyebrow { margin-bottom: .35rem; }
.country-city-section h2 { margin: 0; font: 600 var(--h2)/1.25 var(--serif); letter-spacing: -.025em; }
.country-city-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.country-city-card { min-height: 146px; display: flex; flex-direction: column; align-items: flex-start; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fffdfa; text-decoration: none; transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.country-city-card:hover { color: var(--ink); border-color: #d9bba2; background: #fff; transform: translateY(-2px); }
.country-city-card[hidden] { display: none; }
.country-city-card-top { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.country-city-card .eyebrow { margin: 0; }
.country-city-arrow { color: var(--wine); }
.country-city-card strong { margin-bottom: .25rem; font: 600 1.375rem/1.35 var(--sans); }
.country-city-card .country-city-region { color: var(--muted); font-size: .9375rem; }
.country-city-card .text-link { margin-top: auto; color: var(--wine); font-size: 1rem; font-weight: 600; }
.country-city-no-results { padding: 1rem; margin: .75rem 0 0; border: 1px dashed #d8c7b8; border-radius: 8px; color: var(--muted); background: #fffdfa; }
.preview-demo-note { margin: 0 0 .85rem; color: var(--muted); font-size: .9375rem; }
.reading-heading h2 { margin: 0 0 .35rem; }
.reading-heading .eyebrow { margin-bottom: .35rem; }
.reading-heading > div > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.reading-heading > .text-link { flex: 0 0 auto; margin-bottom: .25rem; font-size: 1rem; text-decoration: none; }
.reading-heading > .text-link:hover { text-decoration: underline; }
.reading-layout { display: grid; grid-template-columns: 1.12fr 1fr; align-items: stretch; gap: .9rem; }
.reading-feature { min-width: 0; display: flex; flex-direction: column; }
.reading-feature-image-link, .reading-side-image-link { display: block; overflow: hidden; border-radius: 10px; background: #e8dfd2; }
.reading-feature-image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.reading-side-image { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.reading-feature-image-link:hover .reading-feature-image, .reading-side-image-link:hover .reading-side-image { transform: scale(1.04); }
.reading-label, .reading-category { display: block; margin-top: .5rem; color: var(--gold); font-size: .9375rem; font-weight: 700; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; }
.reading-feature h3 { margin: .45rem 0 .5rem; font: 600 var(--home-card-title)/1.35 var(--sans); letter-spacing: -.02em; }
.reading-feature h3 a, .reading-side-copy h3 a { color: var(--ink); text-decoration: none; }
.reading-feature h3 a:hover, .reading-side-copy h3 a:hover { color: var(--wine); }
.reading-feature > p, .reading-side-copy > p { margin: 0; color: var(--muted); font-size: var(--home-card-description); line-height: 1.7; }
.reading-feature > .text-link { display: inline-block; margin-top: auto; padding-top: .5rem; font-size: 1rem; text-decoration: none; }
.reading-feature > .text-link:hover { text-decoration: underline; }
.reading-side-list { display: grid; gap: .85rem; }
.reading-side-item { min-width: 0; display: grid; grid-template-columns: minmax(110px, .8fr) 1.2fr; align-items: start; gap: .6rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.reading-side-item:last-child { padding-bottom: 0; border-bottom: 0; }
.reading-category { margin: 0 0 .35rem; font-size: .9375rem; }
.reading-side-copy h3 { margin: 0 0 .35rem; font: 600 var(--home-card-title)/1.35 var(--sans); letter-spacing: -.02em; }
.reading-side-copy > p { margin-bottom: .35rem; }
.reading-side-copy .text-link { font-size: 1rem; text-decoration: none; }
.reading-side-copy .text-link:hover { text-decoration: underline; }
.faq-section { padding-block: clamp(3rem, 5vw, 4.5rem); background: var(--paper); }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-heading h2 { margin-bottom: .65rem; font: 600 var(--h2)/1.25 var(--serif); letter-spacing: -.03em; }
.faq-heading > p:not(.eyebrow) { max-width: 380px; margin: 0; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; min-height: 58px; display: flex; align-items: center; padding: .9rem 2rem .9rem 0; color: var(--ink); font: 700 .98rem/1.45 var(--sans); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; right: .2rem; color: var(--wine); font-size: 1.25rem; content: "+"; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 0; box-shadow: var(--focus); }
.faq-item p { max-width: 760px; margin: 0; padding: 0 2rem 1.1rem 0; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }
.faq-more { margin: 1rem 0 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.75rem; }
.section-heading h2 { margin: 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.65rem; }
.article-card { min-width: 0; height: 100%; display: flex; flex-direction: column; padding: 0 0 1.2rem; border-bottom: 1px solid var(--line); }
.article-card > a { display: block; color: inherit; text-decoration: none; }
.article-card a:hover h2, .article-card a:hover h3 { color: var(--wine); }
.card-image { width: 100%; aspect-ratio: 3 / 2; margin-bottom: .9rem; object-fit: cover; background: #e8dfd2; }
.card-image-placeholder { display: grid; place-items: center; color: white; background: var(--wine); font: italic 2rem var(--serif); }
.article-card h2, .article-card h3 { margin: .45rem 0 .5rem; font: 600 var(--home-card-title)/1.35 var(--sans); letter-spacing: -.015em; }
.article-card p { margin: 0; color: var(--muted); font-size: 1.125rem; line-height: 1.7; }
.popular-section { padding-block: clamp(2.75rem, 5vw, 4.5rem); background: var(--paper); }
.popular-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.popular-inner h2 { margin: 0 0 .6rem; }
.popular-inner p:not(.eyebrow) { max-width: 400px; margin: 0; color: var(--muted); }
.popular-list { border-top: 1px solid var(--line); }
.popular-list a { min-height: 62px; display: grid; grid-template-columns: 70px 1fr 24px; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.popular-list a > span:first-child { color: var(--muted); font-size: .9375rem; }
.popular-list a strong { font: 600 1rem/1.4 var(--sans); }
.popular-list a > span:last-child { color: var(--wine); }

/* Reusable external referral banner */
.referral { position: relative; overflow: hidden; padding-block: clamp(2.75rem, 5.5vw, 4.5rem); color: #fffaf4; background: var(--wine-dark); isolation: isolate; }
.referral::after { position: absolute; top: -9rem; right: -4rem; z-index: -1; width: 27rem; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 70px rgba(255,255,255,.025); content: ""; }
.referral-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.referral h2 { max-width: 680px; margin: 0 0 .5rem; }
.referral p:not(.eyebrow) { max-width: 680px; margin: 0; color: #e8deda; }
.referral .eyebrow { color: #e6c991; }
.referral .button { flex: 0 0 auto; }

/* Homepage third-party service guide referral */
.service-promo { padding-block: clamp(2.5rem, 4vw, 3.4rem); color: #fffaf4; background: var(--wine-dark); }
.service-promo-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.service-promo-copy { max-width: 650px; }
.service-promo-copy .eyebrow { margin-bottom: .5rem; color: var(--peach-gold); }
.service-promo-copy h2 { max-width: 600px; margin: 0 0 .75rem; font: 600 clamp(2rem, 2.2vw, 2.25rem)/1.2 var(--serif); letter-spacing: -.03em; }
.service-promo-copy > p:not(.eyebrow) { max-width: 610px; margin: 0 0 .7rem; color: #f0e6e1; font-size: 1rem; line-height: 1.6; }
.service-promo-card { min-height: 185px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.075); text-align: center; }
.service-promo-brand { margin: 0 0 .3rem; color: #fff; font: 700 1.55rem/1.2 var(--sans); }
.service-promo-subtitle { margin: 0 0 1rem; color: #f0e6e1; font-size: .9375rem; }
.service-promo-card .button { min-height: 44px; padding: .6rem 1rem; }

/* SilverSingles editorial guide page */
.service-guide-page { padding-bottom: 2rem; }
.service-guide-header { padding-block: 2rem 0; }
.service-guide-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 1.5rem; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: var(--paper); }
.service-guide-heading .eyebrow { margin-bottom: .45rem; }
.service-guide-heading h1 { max-width: 800px; margin: 0 0 .55rem; color: var(--wine-dark); font: 600 var(--h1)/1.2 var(--serif); letter-spacing: -.035em; }
.service-guide-intro { max-width: 760px; margin: 0; color: var(--muted); font-size: var(--body); line-height: 1.7; }
.service-guide-intro p { margin: 0; }
.service-guide-intro-note { max-width: 760px; margin: .85rem 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.service-guide-action { flex: 0 0 auto; display: grid; justify-items: start; gap: .35rem; }
.service-guide-action .button { min-height: 44px; color: #fff !important; border-color: var(--wine-dark); background: var(--wine-dark); }
.service-guide-action .button:hover { color: #fff !important; border-color: var(--wine); background: var(--wine); transform: translateY(-1px); }
.service-guide-action small { color: var(--muted); font-size: .9375rem; }
.service-guide-image { overflow: hidden; border: 1px solid var(--line); border-top: 0; background: #e8dfd2; }
.service-guide-photo { width: 100%; max-height: 510px; aspect-ratio: 16 / 8; object-fit: cover; }
.service-guide-content { padding: 1.75rem 1.5rem 2rem; border: 1px solid var(--line); border-top: 0; background: #fffdfa; }
.service-guide-body { max-width: 800px; margin-inline: auto; font: 400 var(--body)/1.7 var(--sans); }
.service-guide-body h2 { margin: 2rem 0 .65rem; color: var(--wine-dark); font: 600 var(--h2)/1.25 var(--serif); letter-spacing: -.02em; }
.service-guide-body h2:first-child { margin-top: 0; }
.service-guide-body h3 { margin: 1.25rem 0 .5rem; font: 600 var(--h3)/1.3 var(--serif); letter-spacing: 0; }
.service-guide-body p, .service-guide-body ul, .service-guide-body ol { margin-block: 0 .9rem; }
.service-guide-body .wp-block-columns { gap: .75rem; margin-block: 1rem 1.5rem; }
.service-guide-body .wp-block-column { padding: 1rem; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.service-guide-body .wp-block-column > :last-child { margin-bottom: 0; }
.service-guide-disclosure { padding: .9rem 1.5rem 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.service-review-heading { border-bottom: 1px solid var(--line); border-radius: 14px; }
.service-review-draft-note { padding: .85rem 1rem; border-left: 3px solid var(--peach-gold); color: var(--muted); background: var(--paper); font-size: 1rem; line-height: 1.7; }
.service-review-options { margin-block: 1.5rem 1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.service-review-options h2 { margin: 0 0 .35rem; color: var(--wine-dark); font: 600 var(--h2)/1.3 var(--serif); }
.service-review-options > p { margin: 0 0 1rem; color: var(--muted); font-size: var(--body); line-height: 1.7; }
.service-review-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.service-review-links .button-disabled { opacity: .68; cursor: not-allowed; }
.service-review-links .button-disabled:hover { transform: none; }
.service-review-page .service-guide-disclosure { margin-block: .5rem 2rem; padding: 1rem 1.2rem; border-left: 3px solid var(--peach-gold); background: var(--paper); }
.related-reading { padding-block: 2rem 4rem; background: var(--paper); }
.related-reading-inner { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.related-reading h2 { margin: 0 0 1.25rem; color: var(--ink); font: 600 var(--h2)/1.2 var(--serif); }

/* Articles, archives, and pages */
.page-hero { padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.page-hero h1 { max-width: 900px; margin: 0; font-size: var(--h1); }
.archive-description { max-width: 750px; color: var(--muted); }
.blog-archive-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.blog-archive-intro { min-width: 0; }
.blog-archive-heading .eyebrow { margin-bottom: .55rem; }
.blog-archive-heading h1 { margin: 0; }
.blog-archive-heading .archive-description { margin: .8rem 0 0; }
.blog-search-form { width: min(360px, 38%); display: flex; flex: 0 0 auto; align-items: stretch; gap: .5rem; }
.blog-search-form input { width: 100%; min-width: 0; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: #fff; font: 400 1rem var(--sans); }
.blog-search-form input::placeholder { color: var(--muted); }
.blog-search-form button { min-height: 48px; padding: .65rem 1rem; border: 1px solid var(--wine); border-radius: 4px; color: #fff; background: var(--wine); font: 600 1rem var(--sans); cursor: pointer; }
.blog-search-form button:hover { background: var(--wine-dark); }
.article-card .article-read-link { display: inline-flex; align-self: flex-start; margin-top: auto; padding-top: .8rem; font-size: 1rem; font-weight: 600; text-decoration: none; }
.preview-note { margin: 1rem 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.content-layout { display: grid; grid-template-columns: minmax(0,var(--reading)) minmax(210px,1fr); gap: clamp(2rem,6vw,5rem); padding-block: 1rem 5rem; }
.entry-content { max-width: 800px; font: 400 var(--body)/1.7 var(--sans); }
.entry-content h2, .entry-content h3 { margin-top: 2em; }
.entry-content p { margin-block: 0 1.35em; }
.entry-content img { height: auto; }
.entry-content blockquote { margin-inline: 0; padding: .5rem 1.4rem; border-left: 3px solid var(--gold); color: var(--wine-dark); font-style: italic; }
.entry-content a { text-decoration-thickness: 1px; }
.featured-image { width: 100%; max-height: 560px; margin-top: 1.5rem; object-fit: cover; aspect-ratio: 16 / 8; }
.breadcrumbs { margin-bottom: 1rem; color: var(--muted); font-size: .9375rem; }
.breadcrumbs a { color: var(--muted); }
.site-breadcrumbs { padding-block: .7rem; margin-bottom: 0; }
.site-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.site-breadcrumbs li { display: inline-flex; align-items: center; gap: .45rem; }
.site-breadcrumbs li + li::before { color: #b7a69a; content: "/"; }
.site-breadcrumbs a { text-decoration: underline; text-decoration-color: #d5c0b1; text-underline-offset: .2em; }
.site-breadcrumbs [aria-current="page"] { color: var(--ink); }
.city-guides-hero { padding-block: clamp(1.4rem, 3vw, 2.1rem) 1.1rem; }
.city-guides-hero .eyebrow, .city-directory-section-heading .eyebrow { margin-bottom: .45rem; }
.city-guides-hero h1 { margin: 0 0 .8rem; }
.city-guides-lead { max-width: 820px; margin: 0; color: var(--muted); font-size: var(--body); line-height: 1.7; }
.city-directory-section-heading { margin-bottom: 1.1rem; }
.city-directory-section-heading h2 { margin: 0; font: 600 var(--home-section-title)/1.2 var(--serif); }
.city-country-section { padding: .7rem; margin-bottom: 1rem; border-radius: 14px; background: #faf5ef; }
.published-city-note { margin: 0 0 .65rem; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.city-country-directory-grid { display: grid; grid-template-columns: 1fr; gap: .65rem; }
.city-country-panel { min-width: 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 11px; background: #fffdfa; scroll-margin-top: 1rem; }
.city-country-panel-heading { display: flex; align-items: center; gap: .75rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); transition: background-color .18s ease; }
.city-country-panel:target .city-country-panel-heading { padding: .6rem .65rem .7rem; margin: -.6rem -.65rem 0; border-radius: 8px; background: #f2e1d5; }
.city-country-panel-heading .directory-country-code { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--wine); background: #f8f0e7; font-size: 1rem; font-weight: 700; }
.city-country-panel-heading h2 { min-width: 0; margin: 0; color: var(--ink); font: 600 var(--h2)/1.25 var(--serif); }
.city-country-panel-heading .directory-country-arrow { margin-left: auto; color: var(--wine); font-size: 1rem; }
.directory-city-count { margin-left: auto; color: var(--muted); font-size: .9375rem; }
.directory-city-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; padding: .7rem 0 .1rem; margin: 0; list-style: none; }
.directory-city-list li { min-width: 0; }
.directory-city-list a, .directory-city-list li > span { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 8px; color: var(--wine-dark); background: #fffdfa; font-family: var(--sans); font-size: 1.125rem; font-weight: 600; line-height: 1.5; text-decoration: none; }
.directory-city-list a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: .15em; }
.directory-city-list a.is-returned { background: #f2dfd3; border-color: #c98d78; box-shadow: inset 0 0 0 1px rgba(142, 48, 70, .08); }
.directory-city-list a > span { flex: 0 0 auto; color: var(--wine); font-size: 1rem; font-weight: 600; }
.directory-city-empty { min-height: 5.8rem; display: flex; align-items: center; margin: 0; color: var(--muted); font-size: .9375rem; }
.directory-view-all { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 42px; padding-top: .6rem; margin-top: .4rem; border-top: 1px solid var(--line); color: var(--wine-dark); font-size: 1rem; text-decoration: none; }
.directory-view-all:hover { color: var(--wine); text-decoration: underline; text-underline-offset: .15em; }
.city-guide-article-page { padding-block: 1.25rem 4rem; }
.city-guide-article { max-width: 960px; margin: 0 auto; }
.city-guide-article-header { padding: 1.25rem 0 1.4rem; border-bottom: 1px solid var(--line); }
.city-guide-article-header .eyebrow { margin-bottom: .35rem; }
.city-guide-article-header h1 { max-width: 900px; margin: 0; font: 600 var(--h1)/1.2 var(--serif); }
.city-guide-article-intro { max-width: 720px; margin: .75rem 0 0; color: var(--muted); font-size: var(--body); line-height: 1.7; }
.city-guide-article-content { width: min(100%, 760px); min-height: 110px; padding-top: 1.35rem; }
.city-guide-content-placeholder { padding: .85rem 1rem; margin: 0; border-left: 3px solid var(--gold); color: var(--muted); background: var(--paper); font-size: 1rem; line-height: 1.7; }
.city-directory-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .9rem 1rem; margin-bottom: 2rem; border-radius: 10px; background: #f2e5d8; }
.city-directory-cta h2 { margin: 0 0 .2rem; font: 600 var(--h2)/1.3 var(--serif); }
.city-directory-cta p { max-width: 760px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.city-directory-cta .text-link { flex: 0 0 auto; font-size: 1rem; font-weight: 600; }
.preview-demo-note { margin: 0 0 .65rem; color: var(--muted); font-size: .9375rem; }
.city-directory-section { padding-block: 2.5rem; background: #f8f0e7; }
.city-directory-panel { padding: clamp(1.3rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.city-directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.25rem; }
.city-directory-heading .eyebrow { margin-bottom: .35rem; }
.city-directory-heading h2 { margin: 0; font: 600 var(--h2)/1.2 var(--serif); }
.city-search { width: min(340px, 40%); }
.city-search input { width: 100%; min-height: 46px; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #fff; font: 400 1rem var(--sans); }
.city-directory-content[hidden], .city-directory-card[hidden] { display: none; }
.city-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.city-directory-card { min-height: 86px; display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.city-directory-card:hover { border-color: #d8b8a0; color: var(--wine); transform: translateY(-1px); }
.city-directory-card strong { font-family: var(--sans); font-size: 1.3125rem; font-weight: 600; line-height: 1.35; }
.city-directory-card span { color: var(--muted); font-size: .9375rem; }
.city-directory-empty, .city-search-empty { padding: 1.2rem; margin: 0; border: 1px dashed #d8c7b8; border-radius: 8px; color: var(--muted); background: #fffdfa; font-size: 1rem; line-height: 1.7; }
.city-explore-all { display: inline-flex; gap: .35rem; margin-top: 1rem; font-size: 1rem; font-weight: 650; text-decoration: none; }
.city-country-pending { margin: 1rem 0 0; color: var(--muted); font-size: .9375rem; }
.city-guide-benefits { padding-block: clamp(2.5rem, 5vw, 4rem); }
.city-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.city-benefit-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: 10px; background: #fffdfa; }
.city-benefit-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: .75rem; border-radius: 9px; color: var(--wine); background: #f6e9e9; }
.city-benefit-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.city-benefit-card h3 { margin: 0 0 .35rem; font: 600 var(--home-card-title)/1.35 var(--sans); letter-spacing: -.01em; }
.city-benefit-card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.sidebar-note { padding: 1.4rem; border: 1px solid var(--line); background: var(--paper); }
.sidebar-note h2 { margin: 0 0 .6rem; font-size: var(--h2); }
.sidebar-note p:last-child { margin-bottom: 0; color: var(--muted); font-size: .9375rem; }
.popular-articles-sidebar .eyebrow { margin-bottom: .55rem; }
.popular-articles-sidebar h2 { margin: 0 0 1rem; font: 600 1.75rem/1.3 var(--sans); letter-spacing: -.02em; }
.popular-articles-list { padding: 0; margin: 0; border-top: 1px solid var(--line); list-style: none; }
.popular-articles-item { border-bottom: 1px solid var(--line); }
.popular-articles-item a { display: block; padding: 1.15rem 0; color: var(--ink); text-decoration: none; }
.popular-articles-item a:hover .popular-articles-name { color: var(--wine); text-decoration: underline; text-underline-offset: .16em; }
.popular-articles-name { display: block; font-family: var(--sans); font-size: 1.125rem; font-weight: 600; line-height: 1.45; }
.popular-articles-category { display: block; margin-top: .35rem; color: var(--muted); font-family: var(--sans); font-size: .9375rem; line-height: 1.5; }
.popular-articles-empty { padding: 1rem 0; margin: 0; border-block: 1px solid var(--line); color: var(--muted); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
.popular-articles-all { display: inline-flex; margin-top: 1rem; color: var(--wine); font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.5; text-decoration: none; }
.popular-articles-all:hover { text-decoration: underline; text-underline-offset: .16em; }
.pagination { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 2.5rem 4rem; }
.navigation.pagination { display: block; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: .5rem; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pagination .current { border-color: var(--wine); color: #fff; background: var(--wine); }
.pagination a:hover { border-color: var(--wine); }
.no-posts { padding: 1.5rem; border: 1px dashed var(--line); color: var(--muted); }
.page-content { width: min(800px, calc(100% - 3rem)); margin-inline: auto; padding-block: 1rem 5rem; }
.page-content .entry-content { font: 400 var(--body)/1.7 var(--sans); }
.page-content .entry-content h2, .page-content .entry-content h3 { margin-top: 1.5em; font-family: var(--serif); }
.about-intro-content.page-content { padding-block: clamp(2rem, 4vw, 3rem) 1.5rem; }
.about-intro-content .page-hero { padding-block: 0 .75rem; }
.about-intro-content .page-hero h1 { font: 600 var(--h1)/1.2 var(--serif); letter-spacing: -.03em; }
.about-intro-lead { max-width: 790px; margin: 0 0 1rem; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.about-intro-lead p { margin: 0; }
.about-editor-content { color: var(--muted); }
.about-editor-content p:last-child { margin-bottom: 0; }
.about-why-section { padding-block: 1.25rem clamp(2.5rem, 5vw, 4rem); }
.about-how-section { padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--paper); }
.about-how-inner h2 { margin: 0 0 1rem; font: 600 var(--h2)/1.25 var(--serif); letter-spacing: -.03em; }
.about-how-copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 4vw, 3rem); color: var(--muted); }
.about-how-copy p { max-width: 600px; margin: 0; }
.about-reference-wrap { padding-block: .75rem 1.6rem; }
.about-reference-intro { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); padding-block: .25rem 1.3rem; border-bottom: 1px solid rgba(234, 219, 205, .55); }
.about-reference-intro-copy { max-width: 590px; }
.about-reference-intro .eyebrow { margin-bottom: .7rem; }
.about-reference-intro h1 { margin: 0 0 .85rem; font: 600 clamp(2.5rem, 4vw, 3.25rem)/1.12 var(--serif); letter-spacing: -.035em; }
.about-reference-lead { max-width: 590px; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }
.about-reference-intro-image { width: 100%; height: clamp(205px, 22vw, 285px); border-radius: 9px; object-fit: cover; }
.about-focus-section { padding-block: 1.35rem 1.55rem; border-bottom: 1px solid rgba(234, 219, 205, .55); }
.about-reference-heading { display: flex; align-items: flex-start; gap: .95rem; }
.about-reference-number { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 7px; color: var(--ink); background: #fae4e4; font-size: .9rem; font-weight: 600; }
.about-reference-heading .eyebrow { margin: .15rem 0 .35rem; }
.about-focus-section .about-reference-heading h2 { margin: 0; font: 600 clamp(1.85rem, 2.6vw, 2.35rem)/1.2 var(--serif); letter-spacing: -.025em; }
.about-focus-intro { margin: .4rem 0 1rem 3.95rem; color: var(--muted); font-size: 1rem; }
.about-focus-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); padding-left: 3.95rem; }
.about-focus-card { min-width: 0; }
.about-focus-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: .65rem; border-radius: 50%; color: var(--wine); background: #fae9e8; }
.about-focus-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.about-focus-card h3 { margin: 0 0 .25rem; font: 600 1rem/1.35 var(--sans); letter-spacing: 0; }
.about-focus-card p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.about-reference-stories { display: grid; gap: clamp(1.6rem, 3vw, 2.25rem); padding-top: 1.2rem; }
.about-reference-row { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(1.8rem, 4vw, 3rem); }
.about-reference-row:nth-child(even) .about-reference-image { order: 2; }
.about-reference-image { width: 100%; height: clamp(190px, 19vw, 250px); border-radius: 9px; object-fit: cover; }
.about-reference-copy { min-width: 0; }
.about-reference-copy .about-reference-heading { align-items: center; margin-bottom: .35rem; }
.about-reference-copy .about-reference-heading .eyebrow { margin: 0; }
.about-reference-copy h2 { margin: 0 0 .65rem; font: 600 clamp(1.7rem, 2.45vw, 2.2rem)/1.2 var(--serif); letter-spacing: -.025em; }
.about-reference-copy > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.alignwide { width: min(1100px, calc(100vw - 3rem)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }

/* Footer */
.site-footer { padding: 2.7rem 0 1.35rem; color: #f5eee7; background: #211e1c; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 3rem; padding-bottom: 1.8rem; }
.footer-brand { color: #fff; }
.footer-brand .brand-mark { border-color: var(--peach-gold); color: var(--peach-gold); }
.footer-note { max-width: none; margin: .9rem 0 0; color: #d0c5bc; font-size: .95rem; line-height: 1.55; white-space: nowrap; }
.footer-nav { display: grid; grid-template-columns: repeat(2, max-content); align-content: start; justify-content: end; gap: .1rem 1.6rem; }
.footer-nav a, .footer-link-pending { min-height: 40px; display: inline-flex; align-items: center; color: #f5eee7; font-size: 1rem; text-decoration: none; }
.footer-link-pending { color: #bdb2a8; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: #e6c991; }
.footer-nav a:focus-visible { outline: 2px solid var(--peach-gold); outline-offset: 3px; }
.footer-bottom { padding-top: 1rem; border-top: 1px solid #514842; color: #d0c5bc; font-size: .875rem; line-height: 1.55; }
.footer-bottom p { margin: 0; }
.footer-copyright { color: #f5eee7; }

@media (max-width: 1080px) {
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 0; }
  .header-controls { display: contents; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .primary-nav { display: none; flex: 0 0 100%; order: 3; padding: .6rem 0 .8rem; border-top: 1px solid var(--line); }
  .primary-nav.is-open { display: block; flex: 0 0 100%; width: 100%; }
  .primary-nav .menu { display: grid; gap: 0; }
  .primary-nav .menu a { width: 100%; min-height: 46px; }
  .primary-nav .current-menu-item > a::after, .primary-nav .current_page_item > a::after { right: auto; width: 34px; }
  .header-controls > .nav-cta { order: 1; }
  .header-controls > .menu-toggle { order: 2; }
  .header-controls > .primary-nav { order: 3; }
  .search-field { width: min(50vw, 260px); }
  .hero { min-height: 480px; }
  .location-mark { width: 190px; height: 150px; flex-basis: 190px; }
  .article-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .faq-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .content-layout { grid-template-columns: 1fr; gap: 2rem; }
  .sidebar-note { max-width: 700px; }
}
@media (min-width: 961px) and (max-width: 1080px) {
  .header-inner { flex-wrap: nowrap; gap: 1.25rem; }
  .header-controls { display: flex; }
  .header-controls > .primary-nav { display: flex; flex: 0 1 auto; order: 1; padding: 0; border-top: 0; }
  .primary-nav .menu { display: flex; gap: clamp(.7rem, 1.3vw, 1.15rem); }
  .primary-nav .menu a { width: auto; min-height: 44px; }
  .header-controls > .nav-cta { order: 2; }
  .header-controls > .menu-toggle { display: none; }
}
@media (max-width: 900px) {
  .reading-layout { grid-template-columns: 1fr; }
  .reading-side-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reading-side-item { grid-template-columns: 108px minmax(0,1fr); }
}
@media (max-width: 760px) {
  :root { --body: 1rem; --home-section-title: 1.625rem; }
  .wrap, .header-inner { width: calc(100% - 2rem); }
  .audience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand { font-size: 1.3rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-inner { width: calc(100% - 2rem); }
  .header-controls { gap: .45rem; }
  .header-controls > .nav-cta { min-height: 40px; padding: .5rem .75rem; font-size: 1rem; }
  .hero { min-height: 530px; align-items: end; }
  .hero h1 { font-size: clamp(2.25rem, 7vw, 3rem); }
  .hero-photo { object-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(26,17,20,.88) 0%, rgba(35,22,24,.68) 54%, rgba(35,22,24,.08) 100%); }
  .hero-content { padding-block: 3.25rem; }
  .hero-text { max-width: 600px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .intro-grid, .popular-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .location-panel { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .location-mark { align-self: flex-end; }
  .article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
  .service-promo-inner { grid-template-columns: 1fr; }
  .service-promo-card { min-height: 165px; }
  .service-guide-heading { align-items: flex-start; flex-direction: column; gap: 1rem; padding: 1.2rem; }
  .service-guide-action { justify-items: start; }
  .service-guide-photo { aspect-ratio: 4 / 3; }
  .service-guide-content { padding: 1.25rem 1rem 1.5rem; }
  .service-guide-disclosure { padding-inline: 1rem; }
  .related-reading-inner { width: calc(100% - 2rem); }
  .related-reading h2 { font-size: var(--h2); }
  .service-review-options { padding: 1.1rem; }
  .service-review-links { display: grid; }
  .service-review-links .button { width: 100%; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .referral-inner { align-items: flex-start; flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-nav { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: start; gap: .1rem .8rem; }
  .footer-nav a, .footer-link-pending { min-height: 44px; }
  .referral .button { width: 100%; }
  .page-content { width: calc(100% - 2rem); }
  .blog-archive-heading { align-items: stretch; flex-direction: column; gap: 1rem; }
  .blog-search-form { width: 100%; }
  .city-directory-heading { align-items: stretch; flex-direction: column; gap: .9rem; }
  .country-city-heading { align-items: stretch; flex-direction: column; gap: .8rem; }
  .city-search { width: 100%; }
  .city-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-country-directory-grid { grid-template-columns: 1fr; }
  .directory-city-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-directory-cta { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .about-how-copy { grid-template-columns: 1fr; gap: 1rem; }
  .about-reference-intro { grid-template-columns: 1fr; gap: 1rem; }
  .about-reference-intro-image { height: auto; aspect-ratio: 16/8; }
  .about-focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 0; }
  .about-focus-intro { margin-left: 0; }
  .about-reference-row { grid-template-columns: 1fr; gap: .9rem; }
  .about-reference-row:nth-child(even) .about-reference-image { order: 0; }
  .about-reference-image { height: auto; aspect-ratio: 16/8; }
}
@media (max-width: 520px) {
  .article-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .reading-heading { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .reading-side-list { grid-template-columns: 1fr; }
  .reading-side-item { grid-template-columns: 96px minmax(0,1fr); }
  .audience-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .audience-card h3 { min-height: 0; }
  .audience-card p { min-height: 0; }
  .country-city-grid { grid-template-columns: 1fr; }
  .city-benefit-grid, .city-directory-grid { grid-template-columns: 1fr; }
  .city-directory-section { padding-block: 1.5rem; }
  .city-directory-panel { padding: 1rem; }
  .site-breadcrumbs { padding-block: .55rem; font-size: .75rem; }
  .why-cards { grid-template-columns: 1fr; }
  .about-focus-grid { grid-template-columns: 1fr; }
  .directory-city-list { grid-template-columns: 1fr; }
  .audience-image-wrap { border-radius: 10px; }
  .article-card { padding-bottom: 1rem; }
  .hero { min-height: 540px; }
  .hero .button { width: 100%; }
  .popular-list a { grid-template-columns: 55px 1fr 20px; gap: .6rem; }
  .entry-content { font-size: 1.1rem; }
  .site-footer { padding-top: 2.1rem; }
  .footer-top { gap: 1rem; padding-bottom: 1.3rem; }
  .footer-note { max-width: 32ch; white-space: normal; }
  .footer-bottom { font-size: .9rem; }
}
@media (max-width: 380px) {
  .brand { gap: .45rem; font-size: 1.15rem; }
  .brand-mark { width: 30px; height: 30px; }
  .header-controls > .nav-cta { min-height: 38px; padding: .4rem .55rem; }
  .menu-toggle { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .audience-card:hover .audience-image, .audience-card:focus-within .audience-image { transform: none; }
  .reading-feature-image-link:hover .reading-feature-image, .reading-side-image-link:hover .reading-side-image { transform: none; }
}

/* Site-wide typography system */
body { font-family: var(--sans); font-size: var(--body); line-height: 1.7; }
main h1, main h2, main h3 { font-family: var(--serif); letter-spacing: -.02em; }
main h1 { font-size: var(--h1); font-weight: 600; line-height: 1.2; }
main h2 { font-size: var(--h2); font-weight: 600; line-height: 1.25; }
main h3 { font-size: var(--h3); font-weight: 600; line-height: 1.3; }
.brand, .brand-mark, .service-promo-brand, .location-mark { font-family: var(--serif); }
.eyebrow { font-family: var(--sans); font-size: .9375rem; font-weight: 600; letter-spacing: .12em; }
.primary-nav a, .nav-cta, .button, .text-link, .hero-secondary,
.home-country-link, .reading-heading > .text-link, .reading-feature > .text-link,
.reading-side-copy .text-link, .article-card .article-read-link,
.article-read-link, .city-explore-all, .city-directory-cta .text-link,
.directory-view-all, .footer-nav a, .footer-link-pending { font-family: var(--sans); font-size: 1rem; }
.primary-nav a { font-weight: 500; }
.nav-cta, .button, .blog-search-form button, button { font-family: var(--sans); }
.search-field, .blog-search-form input, .city-search input,
input, select, textarea { font-family: var(--sans); font-size: 1rem; }
.card-meta, .entry-meta, .breadcrumbs, .site-breadcrumbs,
.reading-label, .reading-category, .popular-list a > span:first-child,
.directory-city-count, .directory-city-list a > span,
.published-city-note, .preview-demo-note, .preview-note,
.service-guide-action small, .service-guide-disclosure,
.city-country-pending { font-family: var(--sans); font-size: .9375rem; line-height: 1.55; }
.home-location-empty, .country-city-card .country-city-region,
.city-directory-empty, .city-search-empty, .about-how-copy,
.footer-bottom { font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
.home-country-description, .home-country-cities,
.audience-card p, .reading-feature > p, .reading-side-copy > p,
.article-card p, .service-promo-copy > p:not(.eyebrow),
.service-guide-intro, .service-guide-intro-note,
.service-guide-body, .service-guide-body p,
.service-review-options > p, .entry-content,
.city-guides-lead, .city-guide-article-intro,
.city-guide-content-placeholder, .directory-city-list a,
.directory-city-list li > span, .city-directory-cta p,
.city-benefit-card p, .sidebar-note p:last-child,
.about-intro-lead, .about-how-copy p, .footer-note { font-family: var(--sans); font-size: var(--body); line-height: 1.7; }
.city-directory-cta h2 { font-family: var(--serif); }
.faq-item summary, .popular-list a strong { font-family: var(--sans); }
.entry-content :where(p, li, blockquote, td, th) { font-family: var(--sans); font-size: var(--body); line-height: 1.7; }
.entry-content figcaption, .wp-caption-text { font-family: var(--sans); font-size: .9375rem; line-height: 1.6; }

@media (max-width: 760px) {
  :root {
    --body: 1.0625rem;
    --h1: clamp(2.125rem, 8.5vw, 2.5rem);
    --h2: clamp(1.6875rem, 6vw, 1.875rem);
    --h3: clamp(1.375rem, 5vw, 1.5rem);
    --home-section-title: var(--h2);
    --home-card-title: 1.25rem;
    --home-card-description: 1.0625rem;
  }
  .hero h1 { font-size: clamp(2.25rem, 9vw, 2.625rem); }
  .primary-nav a, .header-controls > .nav-cta { font-size: 1rem; }
  .site-breadcrumbs { font-size: .9375rem; }
}
.directory-city-list a, .directory-city-list li > span { font-size: 1.125rem; line-height: 1.5; }

/* Homepage layout refinements from the approved reference screenshots. */
.home-audience-section .section-heading { display: block; margin-bottom: 1.5rem; }
.home-audience-section .section-heading h2 { margin: 0; }
.home-audience-section .section-intro { max-width: 760px; margin: .55rem 0 0; }

.home-articles-section .reading-feature-image { aspect-ratio: 3 / 2; }
.home-articles-section .reading-feature > p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-articles-section .reading-feature h3 { margin-block: .3rem .4rem; }
.home-articles-section .reading-feature > .text-link { margin-top: auto; padding-top: .5rem; }

/* Homepage country cards: one source of truth for card sizing and breakpoints. */
.home-location-section { padding-block: clamp(2rem, 4vw, 3.5rem); }
.home-location-section > .wrap { width: min(1240px, calc(100% - 3rem)); }
.home-location-panel { padding: 0; border: 0; border-radius: 0; background: transparent; }
.home-location-heading { margin-bottom: clamp(1.25rem, 2vw, 2rem); }
.home-location-heading .eyebrow { margin-bottom: .6rem; font-size: clamp(.95rem, 1.1vw, 1.1rem); letter-spacing: .16em; }
.home-location-heading h2 { max-width: 1450px; margin: 0 0 .5rem; color: var(--ink); font-family: var(--serif); font-size: var(--h2); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.home-location-heading > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: var(--body); line-height: 1.7; }
.home-country-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 1.3vw, 1.4rem); align-items: stretch; }
.home-country-card--directory { position: relative; min-width: 0; min-height: 400px; display: flex; flex-direction: column; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: #fffdfa; text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.home-country-card--directory:hover { color: var(--ink); border-color: #d9bba2; background: #fff; transform: translateY(-2px); }
.home-country-card--directory:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.home-country-top { width: 100%; min-height: 82px; display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: .75rem; }
.home-country-code { min-width: 70px; min-height: 64px; display: inline-grid; place-items: center; padding: .2rem; border: 1px solid var(--line); border-radius: 14px; color: var(--wine); background: #fbf0ea; font-size: 1.5rem; font-weight: 700; }
.home-country-map { width: 128px; height: 88px; display: flex; align-items: center; justify-content: flex-end; color: #f2e1d9; opacity: .95; }
.home-country-map svg, .home-country-map img { width: 100%; height: 100%; object-fit: contain; }
.home-country-map--united-kingdom svg, .home-country-map--united-kingdom img { width: 65%; }
.home-country-map--australia svg, .home-country-map--australia img { width: 100%; }
.home-country-name { max-width: 100%; margin: 0 0 .7rem; color: var(--wine); font-family: var(--sans); font-size: 1.5rem; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; white-space: nowrap; }
.home-country-rule { width: 100%; height: 2px; flex: 0 0 2px; margin-bottom: .8rem; background: var(--line); }
.home-country-cities { width: 100%; display: grid; gap: .1rem; margin: 0; padding: 0 0 4.5rem; color: var(--ink); font-size: 1.125rem; line-height: 1.7; }
.home-country-city { min-width: 0; min-height: 44px; display: flex; align-items: center; gap: .8rem; }
.home-country-city svg { width: 24px; height: 27px; flex: 0 0 24px; fill: none; stroke: var(--wine); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-country-arrow-circle { position: absolute; right: 1.25rem; bottom: 1.25rem; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; color: var(--wine); background: #f7eae5; font-size: 2rem; line-height: 1; }
.home-country-card--directory:hover .home-country-arrow-circle { color: #fff; background: var(--wine); }

@media (min-width: 768px) and (max-width: 991px) {
  .home-country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-country-name { font-size: 1.5rem; }
}
@media (min-width: 992px) and (max-width: 1439px) {
  .home-location-heading h2 { font-size: var(--h2); }
  .home-location-heading > p:not(.eyebrow) { font-size: var(--body); }
  .home-country-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 18px); }
  .home-country-card--directory { min-height: clamp(300px, 32vw, 460px); padding: 12px clamp(10px, 1.4vw, 16px); }
  .home-country-top { min-height: clamp(48px, 5.7vw, 72px); margin-bottom: clamp(8px, .75vw, 11px); }
  .home-country-code { min-width: clamp(42px, 4.5vw, 62px); min-height: clamp(40px, 4.2vw, 58px); border-radius: 12px; font-size: clamp(1rem, 1.4vw, 1.3rem); }
  .home-country-map { width: clamp(76px, 8.5vw, 112px); height: clamp(52px, 5.9vw, 78px); }
  .home-country-name { margin-bottom: clamp(6px, .7vw, 10px); font-size: 1.5rem; }
  .home-country-rule { margin-bottom: clamp(6px, .8vw, 11px); }
  .home-country-cities { gap: 0; padding-bottom: clamp(3rem, 4.5vw, 4rem); font-size: 1.125rem; line-height: 1.7; }
  .home-country-city { min-height: clamp(30px, 3.05vw, 38px); gap: clamp(6px, .8vw, 11px); }
  .home-country-city svg { width: clamp(18px, 1.5vw, 22px); height: clamp(20px, 1.7vw, 24px); flex-basis: clamp(18px, 1.5vw, 22px); }
  .home-country-arrow-circle { right: clamp(10px, 1.25vw, 18px); bottom: clamp(10px, 1.25vw, 18px); width: clamp(40px, 3.5vw, 54px); height: clamp(40px, 3.5vw, 54px); font-size: clamp(1.4rem, 2vw, 1.8rem); }
}
@media (min-width: 1440px) {
  .home-location-heading h2 { font-size: var(--h2); }
  .home-location-heading > p:not(.eyebrow) { font-size: var(--body); }
  .home-country-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-country-card--directory { min-height: 470px; padding: 1rem clamp(14px, 1.1vw, 19px); }
  .home-country-top { margin-bottom: .75rem; }
  .home-country-name { font-size: 1.5rem; }
  .home-country-cities { font-size: 1.125rem; }
}
@media (max-width: 767px) {
  .home-location-heading h2 { font-size: var(--h2); }
  .home-country-name { white-space: normal; }
  .home-country-cities { font-size: 1.0625rem; }
}

