/*
Theme Name: Covent Garden
Theme URI: https://coventgarden.co.uk
Author: Streeten Design
Description: Custom theme for CoventGarden.co.uk
Version: 2.0.0
Requires PHP: 8.4
*/

/* =========================================================
   DESIGN TOKENS
   Grounded in Covent Garden's own materials: wrought-iron
   market roof, limestone paving, aged brass fittings, the
   "Garden" in the name, and the marquee red of the theatres
   ringing the Piazza.
   ========================================================= */

:root {
    --ink: #1B1B17;
    --ink-soft: #4A463D;
    --ink-faint: #8B8577;

    --paper: #EDE6D8;
    --paper-light: #F8F4EA;
    --paper-white: #FFFDF8;

    --brass: #A9812E;
    --brass-dark: #7C5E20;
    --brass-tint: #F1E6C8;

    --foliage: #2C4A32;
    --foliage-light: #E8EEE6;

    --marquee: #8E2A20;
    --marquee-light: #F5E5E1;

    --line: #DDD3BE;
    --line-soft: #E8E1D2;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 14px;

    --shadow: 0 1px 2px rgba(27,27,23,0.06), 0 4px 16px rgba(27,27,23,0.06);
    --shadow-hover: 0 2px 4px rgba(27,27,23,0.08), 0 12px 28px rgba(27,27,23,0.10);

    --container: 1200px;
}

/* =========================================================
   BASE
   ========================================================= */

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 0.4em;
    font-weight: 600;
}

h1 { font-weight: 500; }

a {
    color: var(--brass-dark);
}

a:hover { color: var(--marquee); }

img { max-width: 100%; display: block; }

:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 2px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brass-dark);
}

/* Shared section divider - brass rule with a small diamond,
   evoking the market's ironwork tracery. Used between homepage
   sections only, so it stays a deliberate device, not wallpaper. */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}
.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}
.section-divider span {
    width: 6px;
    height: 6px;
    background: var(--brass);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: var(--ink);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--brass);
    color: var(--brass);
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.02em;
}

.site-logo-text {
    font-family: var(--font-display);
    font-size: 19px;
    color: var(--paper-white);
    letter-spacing: 0.01em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    flex: 1;
}

.site-nav a {
    color: var(--paper);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
}

.site-nav a:hover { color: var(--brass); }

.site-nav-offers {
    color: var(--brass) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 4px;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--paper);
}

.site-search-icon {
    background: none;
    border: none;
    color: var(--paper);
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}
.site-search-icon:hover { color: var(--brass); }

.site-search-form {
    display: none;
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    max-width: 400px;
    margin-left: auto;
}
.site-search-form.is-open { display: block; }
.site-search-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-top: none;
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--paper-white);
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ink);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px 20px 16px;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--ink);
    color: var(--paper);
    margin-top: 80px;
}

.site-footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 56px 20px 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
}

.site-footer-brand p {
    color: var(--ink-faint);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 14px;
    max-width: 280px;
}

.site-footer-col h3 {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brass);
    font-weight: 500;
    margin-bottom: 14px;
}

.site-footer-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer-col li { margin-bottom: 10px; }
.site-footer-col a {
    color: var(--paper);
    text-decoration: none;
    font-size: 14.5px;
}
.site-footer-col a:hover { color: var(--brass); }

.site-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
}
.site-footer-bottom p {
    max-width: var(--container);
    margin: 0 auto;
    color: var(--ink-faint);
    font-size: 12.5px;
}

@media (max-width: 780px) {
    .site-footer-inner { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   HOMEPAGE
   ========================================================= */

.homepage {
    max-width: var(--container);
    margin: auto;
}

.hero {
    padding: 96px 20px 80px;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(169,129,46,0.10), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(44,74,50,0.10), transparent 45%);
}

.hero h1 {
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 500;
    letter-spacing: -0.01em;
    max-width: 16ch;
    margin: 0 auto 0.3em;
}

.hero p {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 46ch;
    margin: 0 auto 36px;
}

.site-search {
    display: inline-flex;
    gap: 0;
    max-width: 480px;
    width: 100%;
}

.site-search input {
    flex: 1;
    padding: 16px 20px;
    border: 1.5px solid var(--ink);
    border-right: none;
    font-family: var(--font-body);
    font-size: 15px;
    background: var(--paper-white);
}

.site-search button {
    padding: 16px 28px;
    background: var(--ink);
    color: var(--paper-white);
    border: 1.5px solid var(--ink);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}
.site-search button:hover { background: var(--marquee); border-color: var(--marquee); }

section.categories,
.whats-on,
.current-offers,
.latest-guides,
section:has(> h2:only-of-type) {
    padding: 64px 20px;
}

.categories h2,
.whats-on h2,
.current-offers h2,
.latest-guides h2,
section > h2 {
    text-align: center;
    font-size: 32px;
}

.whats-on > p,
.current-offers > p,
.latest-guides > p {
    text-align: center;
    color: var(--ink-soft);
    max-width: 50ch;
    margin: 0 auto 32px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 32px;
}

.category-grid a {
    padding: 28px 20px;
    background: var(--paper-light);
    border: 1px solid var(--line);
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 17px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.category-grid a:hover {
    border-color: var(--brass);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--brass-dark);
}

@media (max-width: 780px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}

.placeholder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
    padding: 0 20px 64px;
}

.placeholder-grid p {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--ink-faint);
}

@media (max-width: 900px) {
    .placeholder-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .placeholder-grid { grid-template-columns: 1fr; }
}

.newsletter {
    padding: 72px 20px;
    text-align: center;
    background: var(--ink);
    color: var(--paper-white);
    margin-top: 40px;
}

.newsletter h2 { color: var(--paper-white); font-size: 30px; }
.newsletter > p { color: var(--ink-faint); margin-bottom: 24px; }

.newsletter-form {
    display: inline-flex;
    gap: 0;
    margin-top: 6px;
}

.newsletter-form input[type="email"] {
    padding: 14px 18px;
    width: 280px;
    border: 1.5px solid var(--brass);
    border-right: none;
    background: var(--paper-white);
    font-family: var(--font-body);
    font-size: 15px;
}

.newsletter-form button {
    padding: 14px 26px;
    background: var(--brass);
    color: var(--ink);
    border: 1.5px solid var(--brass);
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
}
.newsletter-form button:hover { background: var(--brass-dark); border-color: var(--brass-dark); color: var(--paper-white); }

.newsletter-notice {
    background: rgba(169,129,46,0.15);
    color: var(--brass);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 14px;
    font-size: 14px;
}

.whats-on-more {
    text-align: center;
    margin-top: 24px;
}
.whats-on-more a {
    color: var(--brass-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
}

/* ---------- Business card (used on homepage, archive & category grids) ---------- */

.business-card {
    position: relative;
    background: var(--paper-light);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.business-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.business-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.business-card h2, .business-card h3 { font-size: 19px; margin: 16px 16px 6px; }

.business-card h3 a,
.business-card h2 a,
.business-card a { color: var(--ink); text-decoration: none; }

.business-card > p,
.business-card p:not([class]) {
    margin: 0 16px 16px;
    color: var(--ink-soft);
    font-size: 14px;
}

.featured-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--marquee);
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 1;
}

.price-range {
    display: block;
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--brass-dark);
    margin: 0 16px 6px;
}

.view-listing {
    display: inline-block;
    margin: 0 16px 16px;
    padding: 9px 18px;
    background: var(--ink);
    color: var(--paper-white) !important;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
}
.view-listing:hover { background: var(--marquee); }

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .business-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   SINGLE BUSINESS PAGE
   ========================================================= */

.business-single {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px 80px;
}

.business-hero img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.business-header { text-align: center; margin-bottom: 50px; }

.business-header h1 { font-size: 48px; }

@media (max-width: 768px) {
    .business-header h1 { font-size: 32px; }
}

.business-category {
    font-family: var(--font-mono);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    color: var(--brass-dark);
    margin-top: 22px;
    display: block;
}

.business-price {
    font-family: var(--font-mono);
    font-size: 20px;
    margin-top: 12px;
    color: var(--ink-soft);
}

.business-content {
    max-width: 720px;
    margin: 50px auto;
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink-soft);
}

.business-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

@media (max-width: 768px) {
    .business-details { grid-template-columns: 1fr; }
}

.facilities ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.facilities li {
    background: var(--foliage-light);
    color: var(--foliage);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 500;
}

.opening-hours { width: 100%; border-collapse: collapse; }
.opening-hours td { padding: 10px; border-bottom: 1px solid var(--line); }

.business-gallery { max-width: 1200px; margin: 50px auto; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gallery-item img,
.business-gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius);
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

.business-map { margin: 60px 0; }
.business-map iframe { border-radius: var(--radius); }

.directions-button,
.event-ticket-button,
.offer-redeem-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 26px;
    background: var(--ink);
    color: #fff !important;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14.5px;
}
.directions-button:hover,
.event-ticket-button:hover,
.offer-redeem-button:hover { background: var(--marquee); }

#business-map, #category-map {
    height: 400px;
    width: 100%;
    border-radius: var(--radius);
}
#category-map { height: 500px; border-radius: var(--radius-lg); }

/* ---------- Category / taxonomy page ---------- */

.category-page { max-width: var(--container); margin: auto; padding: 40px 20px 80px; }

.category-header { text-align: center; max-width: 1000px; margin: 0 auto 60px; }

.category-hero-image { height: 340px; overflow: hidden; margin-bottom: 40px; border-radius: var(--radius-lg); }
.category-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.listing-count { font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); letter-spacing: 0.03em; }

.category-intro { max-width: 720px; margin: 30px auto; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }

.subcategory-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: var(--container);
    margin: 0 auto 40px;
}

.subcategory-filter-all {
    padding: 8px 18px;
    border-radius: 20px;
    background: var(--ink);
    color: var(--paper-white) !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.subcategory-filter-all:hover { background: var(--marquee); }

.subcategory-chip {
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--paper-light);
    color: var(--ink-soft) !important;
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-mono);
}
.subcategory-chip:hover { border-color: var(--brass); color: var(--brass-dark) !important; }
.subcategory-chip.active {
    background: var(--brass);
    border-color: var(--brass);
    color: #fff !important;
    font-weight: 600;
}

.category-map { margin: 50px 0; }

/* =========================================================
   IMAGE ATTRIBUTION
   ========================================================= */

.cg-image-credit {
    display: block;
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--ink-faint);
    margin-top: 4px;
    text-align: right;
}
.cg-image-credit a { color: var(--ink-faint); text-decoration: underline; }

/* =========================================================
   CROSS-LINKS ON BUSINESS PAGES
   (Featured In / Upcoming Events / Current Offers)
   ========================================================= */

.business-featured-guides,
.business-upcoming-events,
.business-current-offers {
    margin: 30px 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.business-featured-guides h3,
.business-upcoming-events h3,
.business-current-offers h3 {
    font-size: 17px;
    margin-bottom: 12px;
}
.business-featured-guides ul,
.business-upcoming-events ul,
.business-current-offers ul {
    list-style: none; padding: 0; margin: 0;
}
.business-featured-guides li,
.business-upcoming-events li,
.business-current-offers li {
    display: flex; justify-content: space-between; align-items: center;
    gap: 10px; margin-bottom: 10px; padding-bottom: 10px;
    border-bottom: 1px solid var(--line-soft);
}
.business-featured-guides li:last-child,
.business-upcoming-events li:last-child,
.business-current-offers li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.business-featured-guides a,
.business-upcoming-events a,
.business-current-offers a {
    color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
}
.business-featured-guides a:hover,
.business-upcoming-events a:hover,
.business-current-offers a:hover { color: var(--brass-dark); }

.business-event-date {
    font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); white-space: nowrap;
}
.business-offer-badge {
    font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--foliage); white-space: nowrap;
}

/* =========================================================
   OWNERSHIP CLAIMS
   ========================================================= */

.cg-claim-widget {
    margin: 30px 0;
    padding: 22px;
    background: var(--paper-light);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.cg-claim-status { margin: 0; font-weight: 600; font-size: 14.5px; }
.cg-claim-owned { color: var(--foliage); }
.cg-claim-pending { color: var(--brass-dark); }

.cg-claim-form textarea {
    width: 100%;
    max-width: 400px;
    display: block;
    margin-bottom: 12px;
    padding: 10px;
    font-family: var(--font-body);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.cg-claim-form-guest label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cg-claim-form-guest input[type="text"],
.cg-claim-form-guest input[type="email"] {
    width: 100%;
    max-width: 400px;
    display: block;
    margin-bottom: 14px;
    padding: 10px;
    font-family: var(--font-body);
    font-size: 14.5px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.cg-claim-form-note {
    font-size: 12.5px;
    color: var(--ink-faint);
    margin-top: 12px;
    max-width: 400px;
}
.cg-claim-form-note a { color: var(--brass-dark); }

.cg-claim-button {
    display: inline-block;
    padding: 11px 22px;
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 600;
    font-family: var(--font-body);
}
.cg-claim-button:hover { background: var(--marquee); }

.cg-notice {
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    background: var(--foliage-light);
    color: var(--foliage);
    margin-bottom: 14px;
    font-size: 14px;
}

/* ---------- Owner dashboard ([cg_my_businesses]) ---------- */

.cg-owner-dashboard { max-width: 700px; margin: 40px auto; padding: 0 20px; }

.cg-owned-business {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    background: var(--paper-light);
}

.cg-owned-business h2 { margin-top: 0; }

.cg-listing-level { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 22px; }

.cg-update-business-form label {
    display: block;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 14px;
}

.cg-update-business-form input[type="text"],
.cg-update-business-form input[type="email"],
.cg-update-business-form input[type="url"] {
    display: block;
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-top: 5px;
    font-weight: normal;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
}

.cg-opening-hours-fields { border: none; padding: 0; margin: 0 0 22px; }
.cg-opening-hours-fields legend { font-weight: 600; margin-bottom: 10px; padding: 0; font-size: 14px; }

.cg-hours-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: normal; }
.cg-day-label { width: 90px; flex-shrink: 0; font-size: 13.5px; }
.cg-closed-toggle { display: inline-flex !important; align-items: center; gap: 4px; margin: 0 0 0 10px; font-weight: normal; font-size: 13px; }
.cg-featured-toggle { display: flex !important; align-items: center; gap: 8px; }

.cg-save-button {
    padding: 11px 26px;
    background: var(--foliage);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 600;
    margin-top: 10px;
    font-family: var(--font-body);
}
.cg-save-button:hover { background: #1f3524; }

.cg-offers-section { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.cg-offers-list { list-style: none; padding: 0; margin: 0 0 18px; }
.cg-offers-list li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; border-bottom: 1px solid var(--line-soft);
}
.cg-offer-status { font-family: var(--font-mono); font-size: 11px; padding: 3px 10px; border-radius: 12px; font-weight: 600; }
.cg-offer-active { background: var(--foliage-light); color: var(--foliage); }
.cg-offer-inactive { background: var(--marquee-light); color: var(--marquee); }
.cg-create-offer-form textarea {
    width: 100%; max-width: 400px; padding: 10px; font-family: var(--font-body);
    border: 1px solid var(--line); border-radius: var(--radius-sm);
}

/* =========================================================
   SEARCH RESULTS
   ========================================================= */

.search-results-wrap { max-width: var(--container); margin: 50px auto 80px; padding: 0 20px; }
.search-results-wrap h1 { font-size: 34px; }
.search-results-count { font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); margin-bottom: 28px; }
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* =========================================================
   STANDARD PAGES
   (page.php - was missing entirely; every Page fell back to
   the static index.php text before this existed)
   ========================================================= */

.page-content-wrap {
    max-width: 800px;
    margin: 50px auto 80px;
    padding: 0 20px;
}

.page-featured-image img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.page-content h1 {
    font-size: 2.4rem;
    margin-bottom: 30px;
}

.page-body {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
}

.page-body h2 { font-size: 1.5rem; margin-top: 40px; }
.page-body h3 { font-size: 1.2rem; margin-top: 30px; }
.page-body a { color: var(--brass-dark); }
.page-body ul, .page-body ol { padding-left: 22px; }
