/*
Theme Name: MW-market-hub
Theme URI: https://movingwalls.com
Author: Moving Walls
Author URI: https://movingwalls.com
Description: Custom theme for MW Market Hub platform.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: Proprietary
Text Domain: mw-market-hub
*/


/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Brand colours */
    --clr-primary:      #003366;   /* dark navy */
    --clr-primary-dk:   #002244;   /* hover state */
    --clr-accent:       #22c55e;   /* call-to-action green */
    --clr-accent-dk:    #16a34a;   /* CTA hover */

    /* Green palette (homepage) */
    --clr-green:        #22c55e;
    --clr-green-dk:     #16a34a;
    --clr-green-lt:     #dcfce7;
    --clr-green-bg:     #f0fdf4;

    /* Badge colours */
    --clr-badge-concert:    #ef4444;   /* Concert events */
    --clr-badge-conf:       #f59e0b;   /* Conference events */
    --clr-badge-seasonal:   #8b5cf6;   /* Seasonal / festive */
    --clr-badge-new:        #0ea5e9;   /* New listing */
    --clr-badge-hot:        #f97316;   /* Hot / trending */
    --clr-badge-featured:   #22c55e;   /* Featured */

    /* Neutrals */
    --clr-text:         #1A1A1A;
    --clr-muted:        #666666;
    --clr-border:       #E5E5E5;
    --clr-bg:           #FFFFFF;

    /* Footer */
    --clr-footer-bg:    #0D1B2A;
    --clr-footer-mid:   #091624;
    --clr-footer-btm:   #060f1a;
    --clr-footer-txt:   #A8B8C8;
    --clr-footer-head:  #ECEFF1;
    --clr-footer-link:  #B8C8D8;
    --clr-footer-link-h:#FFFFFF;

    /* Social icon accent colours */
    --clr-fb:           #1877F2;
    --clr-ig:           #E1306C;
    --clr-li:           #0A66C2;
    --clr-yt:           #FF0000;

    /* Typography */
    --ff-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

    /* Layout */
    --header-h:   72px;
    --max-w:      1200px;
    --pad-x:      1.5rem;

    /* Effects */
    --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
    --shadow-md:  0 4px 16px rgba(0,0,0,.12);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.16);
    --transition: 0.25s ease;
    --radius:     4px;
    --radius-lg:  8px;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-base);
    font-size: 16px;
    line-height: 1.65;
    color: var(--clr-text);
    background: var(--clr-bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--clr-primary);
}

ul {
    list-style: none;
}

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

address {
    font-style: normal;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
}


/* ============================================================
   3. LAYOUT — CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}


/* ============================================================
   4. HEADER — BASE
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
    transition: box-shadow var(--transition);
}

/* Elevated shadow appears after user scrolls */
.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: var(--header-h);
}


/* ============================================================
   5. HEADER — LOGO
   ============================================================ */
.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}


/* ============================================================
   6. PRIMARY NAVIGATION
   ============================================================ */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--clr-text);
    border-radius: var(--radius);
    white-space: nowrap;
    transition: color var(--transition), background var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
    color: var(--clr-primary);
    background: rgba(0, 51, 102, 0.06);
}


/* ============================================================
   7. DROPDOWN MENUS
   ============================================================ */
.nav-menu .sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 100;
}

/* Open on hover (desktop) and focus-within for keyboard users */
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    color: var(--clr-text);
    transition: color var(--transition), background var(--transition);
}

.nav-menu .sub-menu li a:hover {
    color: var(--clr-primary);
    background: rgba(0, 51, 102, 0.05);
}

.nav-menu .sub-menu li:first-child a {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.nav-menu .sub-menu li:last-child a {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}


/* ============================================================
   8. HEADER — CALL CTA BUTTON
   ============================================================ */
.header-actions {
    flex-shrink: 0;
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    background: var(--clr-accent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    white-space: nowrap;
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn-call:hover {
    background: var(--clr-accent-dk);
    color: #fff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    transform: translateY(-1px);
}

.btn-call:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-call svg {
    flex-shrink: 0;
}


/* ============================================================
   9. HAMBURGER (mobile toggle)
   ============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    flex-shrink: 0;
    transition: background var(--transition);
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animate to X when nav is open */
.nav-open .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-open .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition);
}


/* ============================================================
   10. DROPDOWN TOGGLE BUTTON (injected by JS, mobile only)
   ============================================================ */
.dropdown-toggle {
    display: none;  /* hidden on desktop — shown via media query */
    padding: 0.25rem 0.5rem;
    color: var(--clr-muted);
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition), transform var(--transition);
}

.dropdown-toggle:hover {
    color: var(--clr-primary);
    background: rgba(0, 51, 102, 0.06);
}

.menu-item-has-children.sub-open > .dropdown-toggle {
    transform: rotate(180deg);
    color: var(--clr-primary);
}


/* ============================================================
   11. MAIN CONTENT
   ============================================================ */
.site-main {
    padding-block: 0;
    min-height: 60vh;
}

/* Default page template needs breathing room */
.page:not(.home):not(.front-page) .site-main {
    padding-block: 3rem 4rem;
}


/* ============================================================
   12. FOOTER — TOP (Brand + Tagline)
   ============================================================ */
.site-footer {
    background: var(--clr-footer-bg);
    color: var(--clr-footer-txt);
    font-size: 0.9rem;
}

.footer-top {
    padding-block: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-top-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-link {
    display: inline-flex;
    flex-shrink: 0;
}

.footer-logo {
    height: 88px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
}

.footer-tagline {
    color: var(--clr-footer-txt);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}


/* ============================================================
   13. FOOTER — MIDDLE (Four-column grid)
   ============================================================ */
.footer-middle {
    padding-block: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: var(--clr-footer-mid);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col-heading {
    color: var(--clr-footer-head);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--clr-footer-link);
    font-size: 0.9rem;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
    color: var(--clr-footer-link-h);
    padding-left: 4px;
}


/* ============================================================
   14. FOOTER — CONTACT COLUMN
   ============================================================ */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--clr-footer-link);
}

.footer-contact-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.75;
}

.footer-contact-list a,
.footer-contact-list address {
    color: var(--clr-footer-link);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color var(--transition);
}

.footer-contact-list a:hover {
    color: var(--clr-footer-link-h);
}


/* ============================================================
   15. FOOTER — SOCIAL ICONS
   ============================================================ */
.footer-social {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: var(--clr-footer-link);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

.social-link[aria-label="Facebook"]:hover  { background: var(--clr-fb); }
.social-link[aria-label="Instagram"]:hover { background: var(--clr-ig); }
.social-link[aria-label="LinkedIn"]:hover  { background: var(--clr-li); }
.social-link[aria-label="YouTube"]:hover   { background: var(--clr-yt); }


/* ============================================================
   16. FOOTER — BOTTOM BAR (Copyright + Legal links)
   ============================================================ */
.footer-bottom {
    background: var(--clr-footer-btm);
    padding-block: 1.25rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--clr-footer-txt);
}

.footer-copyright a {
    color: var(--clr-footer-link);
    font-weight: 500;
}

.footer-copyright a:hover {
    color: #fff;
}

.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--clr-footer-txt);
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: #fff;
}


/* ============================================================
   17. RESPONSIVE — Tablet (max 1024px)
        Hamburger appears, nav moves to drawer
   ============================================================ */
@media (max-width: 1024px) {

    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Show overlay element (JS controls opacity) */
    .nav-overlay {
        display: block;
    }

    /* Nav drawer — slides in from right */
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100dvh;
        background: var(--clr-bg);
        border-left: 1px solid var(--clr-border);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        padding: calc(var(--header-h) + 1rem) 1.25rem 2rem;
        z-index: 1001;
        transition: right 0.3s ease;
        justify-content: flex-start;
    }

    /* Slide in when open */
    .nav-open .header-nav {
        right: 0;
    }

    /* Show overlay */
    .nav-open .nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    /* Stack nav items vertically */
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav-menu > li {
        border-bottom: 1px solid var(--clr-border);
    }

    .nav-menu > li > a {
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
    }

    /* Show dropdown toggle button on mobile */
    .dropdown-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Parent item row: link + toggle side by side */
    .menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .menu-item-has-children > a {
        flex: 1;
    }

    /* Sub-menus: static, hidden until .sub-open */
    .nav-menu .sub-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--clr-border);
        border-radius: 0;
        background: rgba(0, 51, 102, 0.03);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        flex-basis: 100%;
    }

    .menu-item-has-children.sub-open > .sub-menu {
        max-height: 600px;
    }

    /* Override desktop hover behaviour */
    .nav-menu > li:hover > .sub-menu,
    .nav-menu > li:focus-within > .sub-menu {
        max-height: 0;
    }

    .menu-item-has-children.sub-open > .sub-menu {
        max-height: 600px !important;
    }

    .nav-menu .sub-menu li a {
        padding-left: 1.5rem;
    }

    /* Footer columns: 2 columns on tablet */
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================================
   18. RESPONSIVE — Mobile (max 640px)
   ============================================================ */
@media (max-width: 640px) {

    :root {
        --pad-x: 1rem;
    }

    /* Footer columns: single column */
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .btn-call span {
        display: none;  /* Icon-only on very small screens */
    }

    .btn-call {
        padding: 0.55rem 0.75rem;
    }
}


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


/* ============================================================
   HP-1. HERO
   ============================================================ */
.hero-section {
    background: var(--clr-green-bg);
    padding-block: 5rem 4rem;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--clr-green-lt);
    color: var(--clr-green-dk);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--clr-primary);
    max-width: 780px;
}

.hero-title .highlight {
    color: var(--clr-green);
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--clr-muted);
    max-width: 560px;
    line-height: 1.7;
}

/* Intent pills */
.intent-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-block: 0.25rem;
}

.pill {
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 2px solid var(--clr-border);
    background: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clr-muted);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.pill:hover,
.pill.active {
    border-color: var(--clr-green);
    color: var(--clr-green-dk);
    background: var(--clr-green-lt);
}

/* Search bar */
.hero-search {
    display: flex;
    width: 100%;
    max-width: 580px;
    background: #fff;
    border: 2px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: border-color var(--transition);
}

.hero-search:focus-within {
    border-color: var(--clr-green);
}

.hero-search-input {
    flex: 1;
    padding: 0.85rem 1.1rem;
    font-size: 0.9375rem;
    border: none;
    outline: none;
    background: transparent;
    color: var(--clr-text);
}

.hero-search-input::placeholder {
    color: var(--clr-muted);
}

.hero-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.4rem;
    background: var(--clr-green);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0 6px 6px 0;
    white-space: nowrap;
    transition: background var(--transition);
    cursor: pointer;
    border: none;
}

.hero-search-btn:hover {
    background: var(--clr-green-dk);
}

/* Popular search chips */
.popular-searches {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.85rem;
}

.popular-label {
    color: var(--clr-muted);
    font-weight: 500;
    white-space: nowrap;
}

.search-chip {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: 999px;
    color: var(--clr-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: border-color var(--transition), color var(--transition);
}

.search-chip:hover {
    border-color: var(--clr-green);
    color: var(--clr-green-dk);
}


/* ============================================================
   HP-2. TRUST BAR
   ============================================================ */
.trust-bar {
    background: var(--clr-primary);
    padding-block: 1.5rem;
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 2.5rem;
    border-right: 1px solid rgba(255,255,255,.15);
}

.trust-item:last-child {
    border-right: none;
}

.trust-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--clr-green);
    line-height: 1.1;
}

.trust-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
    white-space: nowrap;
}


/* ============================================================
   HP-3. SECTION SHELL (shared heading + container)
   ============================================================ */
.hp-section {
    padding-block: 4rem;
}

.hp-section--grey {
    background: #f8fafc;
}

.hp-section--dark {
    background: var(--clr-primary);
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-green);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    font-weight: 800;
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
}

.hp-section--dark .section-title {
    color: #fff;
}

.section-subtitle {
    color: var(--clr-muted);
    font-size: 1rem;
    max-width: 520px;
    margin-inline: auto;
}

.hp-section--dark .section-subtitle {
    color: rgba(255,255,255,.7);
}

.section-cta-row {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}


/* ============================================================
   HP-4. LOCATION CARDS
   ============================================================ */
.location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.location-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: #1e3a5f;
    background-image: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.65) 100%), var(--card-photo, none);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.location-card:hover {
    background-image: linear-gradient(to bottom, rgba(0,0,0,.18) 0%, rgba(0,0,0,.58) 100%), var(--card-photo, none);
}

/* Fallback tints when photo fails to load */
.location-card--my { background-color: #003366; }
.location-card--sg { background-color: #1a3a4a; }
.location-card--id { background-color: #4a1a1a; }
.location-card--ph { background-color: #1a2a4a; }

.location-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    color: #fff;
}

.location-flag {
    font-size: 2rem;
    margin-bottom: 0.4rem;
    display: block;
}

.location-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.location-count {
    font-size: 0.8125rem;
    opacity: 0.85;
}

.location-screen-badge {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    background: var(--clr-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}


/* ============================================================
   HP-5. EVENT CARDS
   ============================================================ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.event-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.event-card-img {
    height: 160px;
    background: linear-gradient(135deg, #1e3a5f, #2a5298);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.event-card-img--concert  { background: linear-gradient(135deg, #1a0a0a, #7f1d1d); }
.event-card-img--conf     { background: linear-gradient(135deg, #1a1000, #78350f); }
.event-card-img--seasonal { background: linear-gradient(135deg, #150c20, #4c1d95); }
.event-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.event-card-body {
    padding: 1rem 1.1rem 1.25rem;
}

.event-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
    color: #fff;
}

.event-badge--concert  { background: var(--clr-badge-concert); }
.event-badge--conf     { background: var(--clr-badge-conf); color: #1a1a1a; }
.event-badge--seasonal { background: var(--clr-badge-seasonal); }

.event-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 0.25rem;
}

.event-meta {
    font-size: 0.8125rem;
    color: var(--clr-muted);
}


/* ============================================================
   HP-6. PRICING CARDS
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    border: 2px solid var(--clr-border);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card--featured {
    border-color: var(--clr-green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
    transform: translateY(-6px);
}

.pricing-card--featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 36px rgba(34, 197, 94, 0.22);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-green);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1.1;
}

.pricing-price sup {
    font-size: 1rem;
    font-weight: 600;
    vertical-align: super;
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--clr-muted);
    margin-bottom: 1.25rem;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--clr-text);
}

.pricing-features li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    background: var(--clr-green-lt);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}

.btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
    background: var(--clr-primary);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
    background: var(--clr-primary-dk);
    color: #fff;
    transform: translateY(-1px);
}

.btn-green {
    background: var(--clr-green);
}

.btn-green:hover {
    background: var(--clr-green-dk);
}

.btn-outline {
    background: transparent;
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
}

.btn-outline:hover {
    background: var(--clr-primary);
    color: #fff;
}


/* ============================================================
   HP-7. PARTNER SPOTLIGHT
   (card styles are shared with .partner-card in PARTNER ARCHIVE section)
   ============================================================ */

/* Type-filter pills on the homepage */
.hp-partner-type-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hp-partner-type-pill {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid var(--clr-border);
    color: var(--clr-primary);
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.hp-partner-type-pill:hover {
    background: var(--clr-green-bg);
    border-color: var(--clr-green);
    color: var(--clr-green-dk);
}


/* ============================================================
   HP-8. MEDIA OWNERS GRID
   ============================================================ */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.media-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.media-card--rich {
    display: flex;
    flex-direction: column;
}

.media-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-green);
}

/* head: avatar + badge */
.media-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 0;
}

.media-logo-placeholder {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 12px;
    background: var(--clr-green-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.media-logo-img-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 12px;
    background: #f1f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.media-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.media-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.media-badge--verified  { background: #dcfce7; color: #15803d; }
.media-badge--premium   { background: #fef9c3; color: #92400e; }
.media-badge--featured  { background: #ede9fe; color: #6d28d9; }

/* body: name, tagline, location, format tags */
.media-card-body {
    padding: 0.875rem 1.25rem 1rem;
    flex: 1;
}

.media-info-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 0.3rem;
}

.media-info-tagline {
    font-size: 0.8125rem;
    color: var(--clr-text);
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.media-info-loc {
    font-size: 0.8rem;
    color: var(--clr-muted);
    margin-bottom: 0.75rem;
}

.media-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.media-format-tag {
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--clr-green-bg);
    color: var(--clr-green-dk);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

/* stats row */
.media-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    margin: 0;
}

.media-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.5rem;
    text-align: center;
}
.media-stat + .media-stat {
    border-left: 1px solid var(--clr-border);
}

.media-stat-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1.2;
}

.media-stat-lbl {
    font-size: 0.7rem;
    color: var(--clr-muted);
    margin-top: 0.15rem;
}

/* CTA link */
.media-card-cta {
    display: block;
    text-align: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-green-dk);
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}
.media-card-cta:hover {
    background: var(--clr-green-bg);
    color: var(--clr-green);
}


/* ============================================================
   HP-9. CASE STUDIES
   ============================================================ */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.case-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.case-card-header {
    padding: 1.5rem;
    background: var(--clr-green-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.case-stat {
    font-size: 3rem;
    font-weight: 900;
    color: var(--clr-green);
    line-height: 1;
}

.case-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.case-industry {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-muted);
    margin-bottom: 0.4rem;
}

.case-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.case-excerpt {
    font-size: 0.875rem;
    color: var(--clr-muted);
    line-height: 1.6;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-green);
    margin-top: auto;
    padding-top: 0.75rem;
    transition: gap var(--transition);
}

.case-link:hover {
    color: var(--clr-green-dk);
    gap: 0.5rem;
}


/* ============================================================
   HP-10. LEARN & EXPLORE
   ============================================================ */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.learn-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.learn-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-green);
}

.learn-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--clr-green-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.learn-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 0.4rem;
}

.learn-desc {
    font-size: 0.875rem;
    color: var(--clr-muted);
    line-height: 1.6;
}


/* ============================================================
   HP-11. NEWSLETTER CTA BANNER
   ============================================================ */
.newsletter-section {
    background: var(--clr-green);
    padding-block: 4rem;
    text-align: center;
}

.newsletter-title {
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.newsletter-subtitle {
    color: rgba(255,255,255,.85);
    font-size: 1rem;
    margin-bottom: 1.75rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
    margin-inline: auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    font-size: 0.9375rem;
    outline: none;
    transition: border-color var(--transition);
}

.newsletter-input:focus {
    border-color: var(--clr-green-dk);
}

.newsletter-btn {
    padding: 0.85rem 1.6rem;
    background: var(--clr-primary);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
}

.newsletter-btn:hover {
    background: var(--clr-primary-dk);
}

.newsletter-privacy {
    font-size: 0.8rem;
    color: rgba(255,255,255,.7);
    margin-top: 0.75rem;
}


/* ============================================================
   HP-12. MOBILE STICKY CTA BAR
   ============================================================ */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--clr-border);
    box-shadow: 0 -4px 16px rgba(0,0,0,.1);
    padding: 0.75rem 1rem;
    z-index: 900;
    gap: 0.75rem;
}

.mobile-sticky-bar .btn-sticky {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 700;
    transition: background var(--transition), color var(--transition);
}

.btn-sticky--search {
    background: var(--clr-primary);
    color: #fff;
}

.btn-sticky--search:hover {
    background: var(--clr-primary-dk);
    color: #fff;
}

.btn-sticky--events {
    background: var(--clr-green);
    color: #fff;
}

.btn-sticky--events:hover {
    background: var(--clr-green-dk);
    color: #fff;
}


/* ============================================================
   HOMEPAGE RESPONSIVE — Tablet 1024px
   ============================================================ */
@media (max-width: 1024px) {

    .hero-section {
        padding-block: 3.5rem 3rem;
    }

    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card--featured {
        transform: none;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .learn-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        padding: 0.5rem 1.5rem;
    }
}


/* ============================================================
   HOMEPAGE RESPONSIVE — Mobile 640px
   ============================================================ */
@media (max-width: 640px) {

    .hero-section {
        padding-block: 2.5rem 2rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-search {
        flex-direction: column;
        border-radius: var(--radius);
    }

    .hero-search-btn {
        border-radius: 0 0 var(--radius) var(--radius);
        justify-content: center;
    }

    .trust-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.15);
        padding: 1rem;
    }

    .trust-item:nth-child(2n) {
        border-left: 1px solid rgba(255,255,255,.15);
    }

    .trust-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid,
    .pricing-grid,
    .partner-grid,
    .media-grid,
    .case-grid,
    .learn-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .mobile-sticky-bar {
        display: flex;
    }

    body {
        padding-bottom: 72px;
    }

    .hp-section {
        padding-block: 2.5rem;
    }

    .section-header {
        margin-bottom: 1.75rem;
    }
}


/* ============================================================
   ARCHIVE & TAXONOMY — mw_location
   ============================================================ */

/* Archive hero */
.loc-archive-hero {
    background: var(--clr-green-bg);
    padding-block: 3.5rem 3rem;
    border-bottom: 1px solid var(--clr-green-lt);
}

.loc-archive-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.loc-archive-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1.15;
}

.loc-archive-subtitle {
    color: var(--clr-muted);
    font-size: 1rem;
    max-width: 520px;
}

/* Country tabs + filter bar */
.loc-filter-bar {
    background: #fff;
    border-bottom: 1px solid var(--clr-border);
    position: sticky;
    top: var(--header-h);
    z-index: 90;
    box-shadow: var(--shadow-sm);
}

.loc-filter-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.75rem;
    flex-wrap: wrap;
}

.loc-country-tabs {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.loc-country-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clr-muted);
    border: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
    white-space: nowrap;
}

.loc-country-tab:hover {
    color: var(--clr-primary);
    border-color: var(--clr-border);
    background: #f8fafc;
}

.loc-country-tab.active {
    color: var(--clr-green-dk);
    background: var(--clr-green-lt);
    border-color: var(--clr-green);
}

.loc-filter-selects {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.loc-filter-select {
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--clr-text);
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition);
}

.loc-filter-select:focus {
    border-color: var(--clr-green);
}

/* Archive body + result count */
.loc-archive-body {
    padding-block: 2.5rem 4rem;
}

.loc-result-count {
    font-size: 0.9rem;
    color: var(--clr-muted);
    margin-bottom: 1.5rem;
}

/* Location card grid */
.loc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.loc-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.loc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Card image */
.loc-card-image {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e2e8f0;
}

.loc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.loc-card:hover .loc-card-image img {
    transform: scale(1.04);
}

/* Availability badge */
.loc-avail-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    z-index: 1;
}

.loc-avail-badge--available { background: var(--clr-green); }
.loc-avail-badge--limited   { background: var(--clr-badge-hot); }
.loc-avail-badge--sold_out  { background: #94a3b8; }

/* BNPL badge on card */
.loc-bnpl-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.2rem 0.55rem;
    background: var(--clr-primary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.04em;
    z-index: 1;
}

/* Card body */
.loc-card-body {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.loc-card-meta-top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.loc-card-country {
    font-size: 0.8rem;
    color: var(--clr-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.loc-format-badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    background: var(--clr-green-lt);
    color: var(--clr-green-dk);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
}

.loc-format-badge--format {
    background: rgba(0, 51, 102, 0.06);
    color: var(--clr-primary);
}

.loc-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.loc-card-title a {
    color: var(--clr-primary);
    transition: color var(--transition);
}

.loc-card-title a:hover {
    color: var(--clr-green-dk);
}

.loc-card-location {
    font-size: 0.8125rem;
    color: var(--clr-muted);
}

.loc-card-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--clr-border);
    flex-wrap: wrap;
}

.loc-card-stat {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.loc-card-stat-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.loc-card-stat-label {
    font-size: 0.75rem;
    color: var(--clr-muted);
}

.loc-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-green);
    margin-top: 0.5rem;
    transition: gap var(--transition), color var(--transition);
}

.loc-card-cta:hover {
    color: var(--clr-green-dk);
    gap: 0.5rem;
}

/* Pagination */
.loc-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.loc-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.loc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--clr-border);
    font-size: 0.9rem;
    color: var(--clr-text);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.loc-pagination .page-numbers:hover,
.loc-pagination .page-numbers.current {
    background: var(--clr-green);
    color: #fff;
    border-color: var(--clr-green);
}

.loc-pagination .page-numbers.prev,
.loc-pagination .page-numbers.next {
    width: auto;
    padding-inline: 0.875rem;
}

/* No results */
.loc-no-results {
    text-align: center;
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.loc-no-results p {
    color: var(--clr-muted);
    font-size: 1rem;
}


/* ============================================================
   COUNTRY HERO BANNER (taxonomy-mw_country.php)
   ============================================================ */
.country-hero {
    background: var(--clr-primary);
    padding-block: 4rem 3rem;
    color: #fff;
}

.country-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.country-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,.65);
    align-self: flex-start;
    transition: color var(--transition);
}

.country-back-link:hover {
    color: #fff;
}

.country-hero-flag {
    font-size: 3.5rem;
    line-height: 1;
}

.country-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.country-hero-subtitle {
    color: rgba(255,255,255,.75);
    font-size: 1rem;
    max-width: 500px;
}

.country-stats {
    display: flex;
    gap: 0;
    margin-top: 1rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.country-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2.5rem;
    border-right: 1px solid rgba(255,255,255,.2);
}

.country-stat:last-child {
    border-right: none;
}

.country-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--clr-green);
    line-height: 1.1;
}

.country-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
    white-space: nowrap;
}


/* ============================================================
   SINGLE LOCATION — single-mw_location.php
   ============================================================ */

/* Breadcrumb */
.loc-breadcrumb-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--clr-border);
    padding-block: 0.75rem;
}

.loc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--clr-muted);
    flex-wrap: wrap;
}

.loc-breadcrumb a {
    color: var(--clr-muted);
    transition: color var(--transition);
}

.loc-breadcrumb a:hover {
    color: var(--clr-primary);
}

.loc-breadcrumb span[aria-current] {
    color: var(--clr-text);
    font-weight: 500;
}

/* Hero */
.loc-hero {
    position: relative;
    min-height: 460px;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.loc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
}

.loc-hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 2.5rem;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.loc-hero-badges {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.loc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.65rem;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(4px);
    color: #fff;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.25);
}

.loc-hero-badge.loc-avail-badge--available { background: rgba(34,197,94,.75); border-color: transparent; }
.loc-hero-badge.loc-avail-badge--limited   { background: rgba(249,115,22,.75); border-color: transparent; }

.loc-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.loc-hero-city {
    color: rgba(255,255,255,.85);
    font-size: 1rem;
}

.loc-hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-hero-book {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.75rem;
    background: var(--clr-green);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    transition: background var(--transition), transform var(--transition);
}

.btn-hero-book:hover {
    background: var(--clr-green-dk);
    color: #fff;
    transform: translateY(-1px);
}

.loc-hero-price {
    color: rgba(255,255,255,.9);
    font-size: 1rem;
    font-weight: 600;
}

/* Stats bar */
.loc-stats-bar {
    background: var(--clr-primary);
    padding-block: 1.25rem;
}

.loc-stats-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.loc-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 2rem;
    border-right: 1px solid rgba(255,255,255,.15);
}

.loc-stat-item:last-child {
    border-right: none;
}

.loc-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--clr-green);
    line-height: 1.1;
    white-space: nowrap;
}

.loc-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    margin-top: 0.15rem;
}

/* Content layout */
.loc-content-wrap {
    padding-block: 3rem 4rem;
}

.loc-content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

/* Sections */
.loc-section {
    margin-bottom: 2.5rem;
}

.loc-section:last-child {
    margin-bottom: 0;
}

.loc-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--clr-green-lt);
}

/* Gallery */
.loc-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.loc-gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #e2e8f0;
}

.loc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.loc-gallery-item:hover img {
    transform: scale(1.05);
}

/* Detail grid (audience) */
.loc-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.loc-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: var(--radius);
    border: 1px solid var(--clr-border);
}

.loc-detail-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.loc-detail-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--clr-muted);
    margin-bottom: 0.25rem;
}

.loc-detail-item p {
    font-size: 0.9rem;
    color: var(--clr-text);
    line-height: 1.5;
}

/* Spec table */
.loc-spec-table {
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.loc-spec-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--clr-border);
}

.loc-spec-row:last-child {
    border-bottom: none;
}

.loc-spec-key {
    flex: 0 0 180px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.loc-spec-val {
    font-size: 0.9375rem;
    color: var(--clr-text);
    font-weight: 500;
}

/* Intent tags */
.loc-intent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
}

.loc-intent-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--clr-green-lt);
    color: var(--clr-green-dk);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.loc-nearby-venues {
    width: 100%;
    font-size: 0.875rem;
    color: var(--clr-muted);
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: var(--radius);
    border: 1px solid var(--clr-border);
}

/* Map */
.loc-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
}

/* Sidebar */
.loc-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Booking card */
.loc-booking-card {
    background: #fff;
    border: 2px solid var(--clr-green);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(34,197,94,.15);
}

.loc-booking-card-header {
    margin-bottom: 0.75rem;
}

.loc-booking-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.loc-booking-price-from {
    font-size: 0.8rem;
    color: var(--clr-muted);
}

.loc-booking-price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--clr-primary);
}

.loc-booking-price-period {
    font-size: 0.85rem;
    color: var(--clr-muted);
}

.loc-booking-min {
    font-size: 0.8125rem;
    color: var(--clr-muted);
    margin-bottom: 1rem;
}

.loc-bnpl-block {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--clr-green-lt);
    border-radius: var(--radius);
    padding: 0.6rem 0.75rem;
    font-size: 0.8125rem;
    color: var(--clr-green-dk);
    font-weight: 500;
    margin-bottom: 1rem;
}

.loc-bnpl-badge-lg {
    background: var(--clr-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.loc-book-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.875rem;
    background: var(--clr-green);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    margin-bottom: 0.6rem;
    transition: background var(--transition), transform var(--transition);
}

.loc-book-btn:hover {
    background: var(--clr-green-dk);
    color: #fff;
    transform: translateY(-1px);
}

.loc-enquire-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
}

.loc-enquire-btn:hover {
    background: var(--clr-primary);
    color: #fff;
}

/* Sidebar cards */
.loc-sidebar-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.loc-sidebar-card-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--clr-muted);
    margin-bottom: 0.875rem;
}

.loc-quick-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.loc-quick-specs li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--clr-text);
}

/* Media owner card */
.loc-mo-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.loc-mo-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: var(--radius);
    border: 1px solid var(--clr-border);
}

.loc-mo-name {
    font-weight: 700;
    color: var(--clr-primary);
    font-size: 0.9375rem;
}

.loc-mo-link {
    font-size: 0.8125rem;
    color: var(--clr-green);
    font-weight: 500;
    transition: color var(--transition);
}

.loc-mo-link:hover {
    color: var(--clr-green-dk);
}

/* Back to country */
.loc-back-card {
    padding: 0.875rem 1.25rem;
}

.loc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-muted);
    transition: color var(--transition);
}

.loc-back-link:hover {
    color: var(--clr-primary);
}


/* ============================================================
   ARCHIVE + SINGLE RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {

    .loc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .loc-content-layout {
        grid-template-columns: 1fr;
    }

    .loc-sidebar {
        position: static;
    }

    .country-stat {
        padding: 0.875rem 1.5rem;
    }

    .loc-filter-bar-inner {
        gap: 0.75rem;
    }

    .loc-stats-bar-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .loc-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.15);
        padding: 0.75rem 1rem;
    }

    .loc-stat-item:nth-child(3),
    .loc-stat-item:last-child {
        border-bottom: none;
    }
}


/* ============================================================
   ARCHIVE + SINGLE RESPONSIVE — 640px
   ============================================================ */
@media (max-width: 640px) {

    .loc-grid {
        grid-template-columns: 1fr;
    }

    .loc-country-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.25rem;
        scrollbar-width: none;
    }

    .loc-country-tabs::-webkit-scrollbar {
        display: none;
    }

    .loc-filter-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .loc-filter-selects {
        width: 100%;
    }

    .loc-filter-select {
        flex: 1;
    }

    .loc-hero {
        min-height: 320px;
    }

    .loc-hero-title {
        font-size: 1.5rem;
    }

    .loc-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .loc-detail-grid {
        grid-template-columns: 1fr;
    }

    .loc-spec-key {
        flex: 0 0 130px;
    }

    .country-stats {
        flex-direction: column;
    }

    .country-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.2);
        padding: 0.875rem 2rem;
    }

    .country-stat:last-child {
        border-bottom: none;
    }

    .loc-stats-bar-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================================
   PARTNER FILTER BAR
   ============================================================ */
.partner-filter-bar {
    background: #fff;
    border-bottom: 1px solid var(--clr-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.partner-type-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.partner-type-tabs::-webkit-scrollbar {
    display: none;
}

.partner-type-tab {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color var(--transition), border-color var(--transition);
}

.partner-type-tab:hover {
    color: var(--clr-primary);
}

.partner-type-tab--active {
    color: var(--clr-green-dk);
    border-bottom-color: var(--clr-green);
}

.partner-type-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    background: var(--clr-bg);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--clr-muted);
}

.partner-type-tab--active .partner-type-tab-count {
    background: var(--clr-green-lt);
    color: var(--clr-green-dk);
}

.partner-result-count {
    font-size: 0.875rem;
    color: var(--clr-muted);
    margin-bottom: 1.25rem;
}


/* ============================================================
   PARTNER ARCHIVE
   ============================================================ */
.partner-archive-hero {
    background: var(--clr-primary);
    color: #fff;
    padding: 4rem 0 3rem;
    text-align: center;
}

.partner-archive-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
}

.partner-archive-subtitle {
    font-size: 1.0625rem;
    opacity: 0.8;
    max-width: 560px;
    margin: 0 auto;
}

.partner-archive-body {
    padding: 3rem 0 4rem;
    background: var(--clr-bg);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.partner-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-green);
}

.partner-card--featured {
    border-color: var(--clr-green);
    border-width: 2px;
}

.partner-featured-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--clr-green);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-bottom-left-radius: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.partner-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.25rem 0;
}

.partner-card-logo {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--clr-border);
}

.partner-card-logo-fallback {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 12px;
    background: var(--clr-green-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.partner-card-head-info {
    flex: 1;
    min-width: 0;
}

.partner-type-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    background: var(--clr-green-lt);
    color: var(--clr-green-dk);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.partner-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partner-card-desc {
    font-size: 0.8125rem;
    color: var(--clr-text);
    line-height: 1.5;
    padding: 0.75rem 1.25rem 0;
    flex: 1;
}

.partner-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.75rem 1.25rem 0.875rem;
    justify-content: center;
}

.partner-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

.partner-tag--region {
    background: #dbeafe;
    color: #1e40af;
}

.partner-tag--venue {
    background: var(--clr-green-bg);
    color: var(--clr-green-dk);
}

.partner-card-stats {
    display: flex;
    gap: 1.5rem;
    padding: 0.875rem 1.25rem;
    border-top: 1px solid var(--clr-border);
    margin-top: 0.875rem;
    justify-content: center;
}

.partner-card-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partner-card-stat-val {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1.2;
}

.partner-card-stat-lbl {
    font-size: 0.7rem;
    color: var(--clr-muted);
    margin-top: 0.1rem;
}

.partner-card-cta {
    display: block;
    text-align: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ea580c;
    text-decoration: none;
    border-top: 1px solid var(--clr-border);
    transition: background var(--transition), color var(--transition);
}

.partner-card-cta:hover {
    background: #fff7ed;
    color: #c2410c;
}


/* ============================================================
   PARTNER SINGLE
   ============================================================ */
.partner-hero {
    background: var(--clr-primary);
    color: #fff;
    padding: 3rem 0 0;
}

.partner-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.partner-hero-logo-wrap {
    flex-shrink: 0;
}

.partner-hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
}

.partner-hero-logo-fallback {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.partner-hero-content {
    flex: 1;
    min-width: 0;
}

.partner-hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.partner-back-link {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition);
}

.partner-back-link:hover {
    color: #fff;
}

.partner-hero .partner-type-pill {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.partner-hero-name {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.6rem;
}

.partner-hero-tagline {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    max-width: 580px;
}

.partner-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.partner-hero .partner-tag--region {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.partner-hero .partner-tag--venue {
    background: rgba(34,197,94,0.25);
    color: #86efac;
}

/* stats bar (navy strip at the bottom of the hero) */
.partner-stats-bar {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.12);
    margin: 2rem calc(var(--container-px) * -1) 0;
    padding: 0 var(--container-px);
    flex-wrap: wrap;
}

.partner-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2.5rem;
    text-align: center;
    position: relative;
    min-width: 100px;
}

.partner-stat-item + .partner-stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}

.partner-stat-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--clr-green);
    line-height: 1.1;
    display: block;
}

.partner-stat-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.55);
    margin-top: 0.35rem;
    display: block;
}

/* section shared styles */
.partner-section {
    padding: 3.5rem 0;
}

.partner-section--grey {
    background: var(--clr-bg);
}

.partner-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
}

/* about */
.partner-about-layout {
    max-width: 760px;
}

.partner-full-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--clr-text);
}

.partner-full-desc p + p {
    margin-top: 1rem;
}

/* benefits */
.partner-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.partner-benefit-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}

.partner-benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.partner-benefit-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-primary);
    line-height: 1.4;
}

/* inventory header */
.partner-inv-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.partner-inv-count {
    font-size: 0.875rem;
    color: var(--clr-muted);
}

/* CTA banner */
.partner-cta-banner {
    background: var(--clr-primary);
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}

.partner-cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.partner-cta-sub {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1.75rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .partner-hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .partner-hero-meta {
        justify-content: center;
    }

    .partner-hero-tags {
        justify-content: center;
    }

    .partner-stats-bar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .partner-stat-item {
        flex: 1 1 calc(50% - 1px);
        padding: 1.25rem 1.5rem;
    }

    .partner-stat-item:nth-child(odd)::before {
        display: none;
    }

    .partner-benefits-grid {
        grid-template-columns: 1fr;
    }

    .partner-card-name {
        white-space: normal;
    }
}

/* =============================================================================
   SHARED CPT STYLES
   ============================================================================= */

.cpt-archive-hero {
    background: var(--color-dark, #0f172a);
    color: #fff;
    padding: 4rem 0 3rem;
    text-align: center;
}
.cpt-archive-title { font-size: 2.5rem; font-weight: 700; margin: 0 0 0.75rem; }
.cpt-archive-sub { font-size: 1.125rem; opacity: 0.8; max-width: 640px; margin: 0 auto; }
.cpt-filter-bar { background: #fff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; }
.cpt-filter-tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.cpt-filter-tabs::-webkit-scrollbar { display: none; }
.cpt-filter-tab { padding: 0.875rem 1.25rem; font-size: 0.875rem; font-weight: 500; color: #64748b; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.cpt-filter-tab:hover { color: #22c55e; }
.cpt-filter-tab--active { color: #22c55e; border-bottom-color: #22c55e; }
.cpt-archive-body { padding: 3rem 0 5rem; }
.cpt-no-results { color: #64748b; text-align: center; padding: 3rem 0; }
.back-link { display: inline-block; color: #64748b; font-size: 0.875rem; text-decoration: none; margin-bottom: 1.25rem; transition: color 0.2s; }
.back-link:hover { color: #22c55e; }
.back-link--white { color: rgba(255,255,255,0.7); }
.back-link--white:hover { color: #fff; }

/* =============================================================================
   BLOG
   ============================================================================= */

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.blog-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: box-shadow 0.2s, transform 0.2s; }
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.blog-card-image-wrap { position: relative; display: block; }
.blog-card-image { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-image-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, #1e293b 0%, #334155 100%); }
.blog-card-category { position: absolute; top: 0.75rem; left: 0.75rem; background: #22c55e; color: #fff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.2rem 0.6rem; border-radius: 4px; }
.blog-card-body { padding: 1.25rem; }
.blog-card-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.5rem; line-height: 1.4; }
.blog-card-title a { color: #0f172a; text-decoration: none; }
.blog-card-title a:hover { color: #22c55e; }
.blog-card-excerpt { font-size: 0.875rem; color: #64748b; margin: 0 0 0.75rem; }
.blog-card-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: #94a3b8; }
.blog-single-header { background: #f8fafc; padding: 3.5rem 0 2.5rem; }
.blog-single-header-inner { max-width: 740px; }
.blog-single-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.blog-single-category { background: #dcfce7; color: #16a34a; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 4px; }
.blog-single-read, .blog-single-date { font-size: 0.8rem; color: #94a3b8; }
.blog-single-title { font-size: 2.25rem; font-weight: 700; line-height: 1.25; margin: 0 0 1rem; }
.blog-single-excerpt { font-size: 1.125rem; color: #475569; line-height: 1.7; }
.blog-single-hero { padding: 1.5rem 0 0; }
.blog-single-hero-img { width: 100%; border-radius: 12px; max-height: 500px; object-fit: cover; }
.blog-single-body { padding: 3rem 0 5rem; }
.blog-single-layout { max-width: 740px; }
.blog-inline-cta { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 2rem; text-align: center; margin: 3rem 0; }
.blog-inline-cta-text { font-weight: 600; margin: 0 0 1rem; }
.blog-related { background: #f8fafc; padding: 4rem 0; }
.blog-related--promos { background: #fff; }
.blog-related--locs { background: #f8fafc; }
.blog-related--partners { background: #fff; }
.blog-related-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 2rem; }
.blog-related-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.blog-related-header .blog-related-title { margin: 0; }
.blog-related-viewall { font-size: 0.9375rem; font-weight: 600; color: #16a34a; text-decoration: none; }
.blog-related-viewall:hover { text-decoration: underline; }
.promo-grid--blog { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .promo-grid--blog { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .promo-grid--blog { grid-template-columns: 1fr; } }
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .blog-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid, .blog-grid--3 { grid-template-columns: 1fr; } .blog-single-title { font-size: 1.75rem; } }

/* =============================================================================
   CASE STUDIES
   ============================================================================= */

.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; }
.cs-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.cs-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.cs-card-image-wrap { display: block; }
.cs-card-image { width: 100%; height: 220px; object-fit: cover; display: block; }
.cs-card-image-placeholder { width: 100%; height: 220px; background: linear-gradient(135deg, #1e293b 0%, #22c55e 100%); }
.cs-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.cs-card-tags { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.cs-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 4px; }
.cs-tag--industry { background: #e0f2fe; color: #0369a1; }
.cs-tag--campaign { background: #fef9c3; color: #854d0e; }
.cs-card-client { font-size: 0.8rem; font-weight: 600; color: #22c55e; margin: 0 0 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.cs-card-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.75rem; line-height: 1.4; }
.cs-card-title a { color: #0f172a; text-decoration: none; }
.cs-card-title a:hover { color: #22c55e; }
.cs-card-stats { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.cs-stat { font-size: 0.8rem; font-weight: 700; color: #22c55e; background: #f0fdf4; padding: 0.25rem 0.6rem; border-radius: 6px; }
.cs-card-read { font-size: 0.875rem; font-weight: 600; color: #22c55e; text-decoration: none; margin-top: auto; display: inline-block; padding-top: 0.75rem; }
.cs-hero { padding: 6rem 0 4rem; background: #1e293b; color: #fff; min-height: 380px; display: flex; align-items: flex-end; }
.cs-hero-tags { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.cs-hero-title { font-size: 2.25rem; font-weight: 700; max-width: 680px; line-height: 1.25; margin: 0 0 0.5rem; }
.cs-hero-client { font-size: 1rem; opacity: 0.7; margin: 0 0 1.5rem; }
.cs-hero-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.cs-hero-stat-val { display: block; font-size: 1.375rem; font-weight: 700; color: #22c55e; }
.cs-body { padding: 4rem 0 5rem; }
.cs-layout { max-width: 740px; }
.cs-section { margin-bottom: 2.5rem; }
.cs-section-title { font-size: 1.375rem; font-weight: 700; margin: 0 0 0.75rem; }
.cs-results-grid { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.cs-result-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 1rem 1.5rem; text-align: center; }
.cs-result-val { font-size: 1.375rem; font-weight: 700; color: #16a34a; display: block; }
.cs-quote { border-left: 4px solid #22c55e; padding: 1.5rem 2rem; margin: 2rem 0; background: #f8fafc; border-radius: 0 10px 10px 0; }
.cs-quote-text { font-size: 1.125rem; font-style: italic; margin: 0 0 0.75rem; }
.cs-quote-attr { font-size: 0.875rem; color: #64748b; font-style: normal; }
.cs-cta-banner { background: #0f172a; color: #fff; padding: 4rem 0; text-align: center; }
.cs-cta-banner h2 { font-size: 1.75rem; margin: 0 0 0.75rem; }
.cs-cta-banner p { opacity: 0.7; margin: 0 0 1.5rem; }
@media (max-width: 640px) { .cs-grid { grid-template-columns: 1fr; } .cs-hero-title { font-size: 1.75rem; } }

/* Case study — related media owner + location sections */
.cs-related { padding: 3rem 0; }
.cs-related--mo { background: #f8fafc; }
.cs-related-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.cs-related-title { margin: 0 !important; }
.cs-partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.partner-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.partner-card-logo { padding: 1.5rem; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #f1f5f9; min-height: 90px; background: #f8fafc; }
.cs-related--mo .partner-card-logo { background: #fff; }
.partner-card-logo-img { max-height: 56px; max-width: 160px; object-fit: contain; }
.partner-card-logo-fallback { font-size: 2.5rem; }
/* Landscape cover image for partner cards in related sections */
.partner-card-cover { display: block; height: 180px; overflow: hidden; text-decoration: none; }
.partner-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.partner-card:hover .partner-card-cover img { transform: scale(1.04); }
.partner-card-cover-fallback { width: 100%; height: 100%; background: linear-gradient(135deg, #1e293b 0%, #1e3a5f 100%); }
.partner-card-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.partner-card-name { font-size: 1.0625rem; font-weight: 600; margin: 0; }
.partner-card-name a { color: #0f172a; text-decoration: none; }
.partner-card-name a:hover { color: #16a34a; }
.partner-card-desc { font-size: 0.875rem; color: #475569; margin: 0; line-height: 1.5; }
.partner-card-screens { font-size: 0.8125rem; color: #64748b; margin: 0; }
.cs-view-link { font-size: 0.875rem; font-weight: 600; color: #16a34a; text-decoration: none; margin-top: auto; padding-top: 0.5rem; display: inline-block; }
.cs-view-link:hover { text-decoration: underline; }

/* =============================================================================
   INDUSTRY GUIDES
   ============================================================================= */

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.guide-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: box-shadow 0.2s, transform 0.2s; }
.guide-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.guide-card-image-wrap { display: block; }
.guide-card-image { width: 100%; height: 200px; object-fit: cover; display: block; }
.guide-card-image-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, #1e293b 0%, #22c55e 100%); }
.guide-card-body { padding: 1.5rem; }
.guide-card-tags { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.guide-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 4px; letter-spacing: 0.04em; }
.guide-tag--industry { background: #e0f2fe; color: #0369a1; }
.guide-tag--difficulty { background: #f1f5f9; color: #475569; }
.guide-tag--beginner { background: #dcfce7; color: #16a34a; }
.guide-tag--intermediate { background: #fef9c3; color: #854d0e; }
.guide-tag--advanced { background: #fee2e2; color: #b91c1c; }
.guide-card-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.75rem; line-height: 1.4; }
.guide-card-title a { color: #0f172a; text-decoration: none; }
.guide-card-title a:hover { color: #22c55e; }
.guide-card-topics { list-style: none; padding: 0; margin: 0 0 1rem; }
.guide-card-topics li { font-size: 0.8rem; color: #64748b; padding: 0.2rem 0 0.2rem 1rem; position: relative; }
.guide-card-topics li::before { content: "\2713"; position: absolute; left: 0; color: #22c55e; font-weight: 700; }
.guide-card-footer { display: flex; justify-content: space-between; align-items: center; }
.guide-updated { font-size: 0.75rem; color: #94a3b8; }
.guide-card-cta { font-size: 0.875rem; font-weight: 600; color: #22c55e; text-decoration: none; }
.guide-single-header { background: #f8fafc; padding: 3.5rem 0 2.5rem; }
.guide-single-tags { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.guide-single-title { font-size: 2.25rem; font-weight: 700; margin: 0 0 1.5rem; }
.guide-single-toc { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 1.25rem 1.5rem; max-width: 500px; }
.guide-toc-label { font-weight: 600; font-size: 0.875rem; margin: 0 0 0.5rem; color: #475569; }
.guide-toc-list { list-style: none; padding: 0; margin: 0; }
.guide-toc-list li { font-size: 0.875rem; color: #475569; padding: 0.25rem 0; border-bottom: 1px solid #f1f5f9; }
.guide-toc-list li:last-child { border-bottom: none; }
.guide-single-hero img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.guide-single-body { padding: 3rem 0 5rem; }
.guide-single-layout { max-width: 740px; }
.guide-pdf-cta { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 2rem; text-align: center; margin: 3rem 0; }
.guide-pdf-cta h3 { margin: 0 0 0.5rem; }
.guide-pdf-cta p { color: #475569; margin: 0 0 1.25rem; }
.guide-cta-banner { background: #0f172a; color: #fff; padding: 4rem 0; text-align: center; }
.guide-cta-banner h2 { font-size: 1.75rem; margin: 0 0 0.75rem; }
.guide-cta-banner p { opacity: 0.7; margin: 0 0 1.5rem; }
@media (max-width: 640px) { .guide-grid { grid-template-columns: 1fr; } .guide-single-title { font-size: 1.75rem; } }

/* =============================================================================
   FAQs
   ============================================================================= */

.faq-list { display: flex; flex-direction: column; gap: 1.5rem; max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 12px; padding: 1.75rem 2rem; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.faq-item-header { margin-bottom: 0.75rem; }
.faq-category-badge { display: inline-block; background: #e0f2fe; color: #0369a1; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.5rem; }
.faq-question { font-size: 1.125rem; font-weight: 600; margin: 0; }
.faq-question a { color: #0f172a; text-decoration: none; }
.faq-question a:hover { color: #22c55e; }
.faq-short-answer { font-size: 0.9rem; color: #475569; margin: 0 0 0.75rem; line-height: 1.65; }
.faq-read-more { font-size: 0.875rem; font-weight: 600; color: #22c55e; text-decoration: none; }
.single-faq .faq-single { padding: 4rem 0 6rem; }
.faq-single-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; max-width: 1000px; }
.faq-single-question { font-size: 1.875rem; font-weight: 700; margin: 0.75rem 0 1.5rem; }
.faq-short-box { background: #f0fdf4; border-left: 4px solid #22c55e; padding: 1.25rem 1.5rem; border-radius: 0 10px 10px 0; margin-bottom: 1.75rem; font-size: 1rem; line-height: 1.7; color: #1e293b; }
.faq-full-answer { font-size: 1rem; line-height: 1.8; color: #334155; margin-bottom: 2rem; }
.faq-cta { margin-top: 2rem; }
.faq-sidebar { background: #f8fafc; border-radius: 12px; padding: 1.5rem; align-self: start; }
.faq-sidebar-title { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin: 0 0 1rem; }
.faq-related-list { list-style: none; padding: 0; margin: 0; }
.faq-related-list li { border-bottom: 1px solid #e2e8f0; padding: 0.5rem 0; }
.faq-related-list li:last-child { border-bottom: none; }
.faq-related-list a { font-size: 0.875rem; color: #334155; text-decoration: none; }
.faq-related-list a:hover { color: #22c55e; }
@media (max-width: 768px) { .faq-single-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .faq-question { font-size: 1rem; } .faq-single-question { font-size: 1.5rem; } }

/* =============================================================================
   WEBINARS
   ============================================================================= */

.webinar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.webinar-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: box-shadow 0.2s, transform 0.2s; }
.webinar-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.webinar-card-image-wrap { position: relative; display: block; }
.webinar-card-image { width: 100%; height: 200px; object-fit: cover; display: block; }
.webinar-card-image-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, #1e293b 0%, #334155 100%); }
.webinar-status-badge { position: absolute; top: 0.75rem; right: 0.75rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 4px; }
.webinar-status--upcoming { background: #dbeafe; color: #1d4ed8; }
.webinar-status--live { background: #fee2e2; color: #b91c1c; }
.webinar-status--recording { background: #dcfce7; color: #16a34a; }
.webinar-card-body { padding: 1.25rem; }
.webinar-card-tags { display: flex; gap: 0.4rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.webinar-tag { font-size: 0.7rem; font-weight: 600; padding: 0.15rem 0.5rem; background: #f1f5f9; color: #475569; border-radius: 4px; }
.webinar-tag--diff { background: #f0fdf4; color: #16a34a; }
.webinar-card-title { font-size: 1rem; font-weight: 600; margin: 0 0 0.5rem; line-height: 1.4; }
.webinar-card-title a { color: #0f172a; text-decoration: none; }
.webinar-card-title a:hover { color: #22c55e; }
.webinar-card-meta { display: flex; gap: 0.75rem; font-size: 0.8rem; color: #94a3b8; margin-bottom: 0.5rem; }
.webinar-card-hosts { font-size: 0.8rem; color: #64748b; margin: 0 0 0.75rem; }
.webinar-card-cta { font-size: 0.875rem; font-weight: 600; color: #22c55e; text-decoration: none; }
.webinar-single-header { min-height: 420px; background: linear-gradient(to right, #1e293b 50%, #334155 100%); color: #fff; padding: 4rem 0 3.5rem; display: flex; align-items: flex-end; }
.webinar-single-tags { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.webinar-single-title { font-size: 2rem; font-weight: 700; max-width: 700px; line-height: 1.3; margin: 0 0 0.75rem; }
.webinar-single-meta { display: flex; gap: 1rem; font-size: 0.875rem; opacity: 0.8; margin-bottom: 1.5rem; flex-wrap: wrap; }
.webinar-gated-note { font-size: 0.875rem; opacity: 0.8; margin-bottom: 1rem; }
.webinar-single-body { padding: 3.5rem 0 5rem; }
.webinar-single-layout { max-width: 740px; }
.webinar-hosts { margin-bottom: 2.5rem; }
.webinar-hosts h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 1rem; }
.webinar-hosts-list { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.webinar-host { display: flex; align-items: center; gap: 0.75rem; }
.webinar-host-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.webinar-host-name { font-weight: 600; font-size: 0.9rem; margin: 0; }
.webinar-host-title { font-size: 0.8rem; color: #64748b; margin: 0; }
.webinar-description { margin-bottom: 2rem; line-height: 1.8; }
.webinar-takeaways h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 0.75rem; }
.webinar-takeaways-list { list-style: none; padding: 0; margin: 0; }
.webinar-takeaways-list li { padding: 0.5rem 0 0.5rem 1.5rem; position: relative; border-bottom: 1px solid #f1f5f9; font-size: 0.9375rem; color: #334155; }
.webinar-takeaways-list li::before { content: "\2713"; position: absolute; left: 0; color: #22c55e; font-weight: 700; }
.webinar-takeaways-list li:last-child { border-bottom: none; }
@media (max-width: 640px) { .webinar-grid { grid-template-columns: 1fr; } .webinar-single-title { font-size: 1.5rem; } }

/* =============================================================================
   EVENTS
   ============================================================================= */

.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.event-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: box-shadow 0.2s, transform 0.2s; }
.event-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.event-card-image-wrap { position: relative; display: block; }
.event-card-image { width: 100%; height: 220px; object-fit: cover; display: block; }
.event-card-image-placeholder { width: 100%; height: 220px; background: linear-gradient(135deg, #1e293b 0%, #334155 100%); }
.event-category-badge { position: absolute; top: 0.75rem; left: 0.75rem; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 4px; backdrop-filter: blur(4px); }
.event-recurring-badge { position: absolute; top: 0.75rem; right: 0.75rem; background: #22c55e; color: #fff; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 4px; }
.event-card-body { padding: 1.25rem; }
.event-card-when { display: flex; gap: 0.75rem; font-size: 0.8rem; color: #94a3b8; margin-bottom: 0.5rem; flex-wrap: wrap; }
.event-card-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.5rem; line-height: 1.4; }
.event-card-title a { color: #0f172a; text-decoration: none; }
.event-card-title a:hover { color: #22c55e; }
.event-card-desc { font-size: 0.85rem; color: #64748b; margin: 0 0 0.5rem; }
.event-card-stat { font-size: 0.8rem; font-weight: 600; color: #22c55e; margin: 0 0 0.75rem; }
.event-card-cta { font-size: 0.875rem; font-weight: 600; color: #22c55e; text-decoration: none; }
.event-single-hero { min-height: 480px; background: #1e293b; color: #fff; padding: 5rem 0 3.5rem; display: flex; align-items: flex-end; }
.event-single-tags { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.event-single-title { font-size: 2.25rem; font-weight: 700; max-width: 720px; line-height: 1.25; margin: 0 0 0.75rem; }
.event-single-when { display: flex; gap: 1.25rem; font-size: 0.9rem; opacity: 0.8; margin-bottom: 1.5rem; flex-wrap: wrap; }
.event-hero-stats { display: flex; gap: 2rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.event-hero-stat-val { display: block; font-size: 1.5rem; font-weight: 700; color: #22c55e; }
.event-hero-stat-lbl { font-size: 0.8rem; opacity: 0.8; }
.event-map-section { padding: 3rem 0; background: #f8fafc; }
.event-map-wrap { height: 420px; border-radius: 12px; overflow: hidden; border: 1px solid var(--clr-border); }
.event-single-body { padding: 3.5rem 0 5rem; }
.event-single-layout { max-width: 740px; }
.event-section { margin-bottom: 2.5rem; }
.event-section h2 { font-size: 1.375rem; font-weight: 700; margin: 0 0 0.75rem; }
.event-section--green { background: #f0fdf4; border-radius: 12px; padding: 1.5rem; }
.event-screens { padding: 4rem 0; background: #f8fafc; }
.event-screens-title { font-size: 1.5rem; font-weight: 700; margin: 0; }
.event-screens-cta { text-align: center; margin-top: 2rem; }
.event-case-studies { padding: 4rem 0; background: #fff; }
.event-packages { padding: 4rem 0; background: #fff; }

/* Guide related sections */
.guide-related { padding: 4rem 0; }
.guide-related--cs { background: #fff; }
.guide-related--locs { background: #f8f9fa; }
.guide-related--events { background: #fff; }
.guide-related-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 2rem; }
@media (max-width: 640px) { .event-grid { grid-template-columns: 1fr; } .event-single-title { font-size: 1.625rem; } }

/* =============================================================================
   GLOSSARY
   ============================================================================= */

.glossary-az-nav { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-bottom: 2.5rem; }
.glossary-az-letter { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 6px; font-size: 0.875rem; font-weight: 700; text-decoration: none; background: #e2e8f0; color: #334155; transition: background 0.15s, color 0.15s; }
.glossary-az-letter:hover { background: #22c55e; color: #fff; }
.glossary-az-letter--inactive { opacity: 0.35; pointer-events: none; }
.glossary-group { margin-bottom: 3rem; }
.glossary-group-letter { font-size: 2rem; font-weight: 800; color: #22c55e; border-bottom: 2px solid #e2e8f0; padding-bottom: 0.5rem; margin: 0 0 1rem; }
.glossary-term-list { display: flex; flex-direction: column; }
.glossary-term-list--filtered { gap: 0; }
.glossary-term-item { padding: 1rem 0; border-bottom: 1px solid #f1f5f9; }
.glossary-term-item:last-child { border-bottom: none; }
.glossary-term-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem; flex-wrap: wrap; }
.glossary-term-name { font-size: 1rem; font-weight: 600; margin: 0; }
.glossary-term-name a { color: #0f172a; text-decoration: none; }
.glossary-term-name a:hover { color: #22c55e; }
.glossary-cat-badge { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 0.15rem 0.5rem; background: #f1f5f9; color: #64748b; border-radius: 4px; letter-spacing: 0.04em; }
.glossary-aka { font-size: 0.8rem; color: #94a3b8; margin: 0 0 0.25rem; }
.glossary-short-def { font-size: 0.875rem; color: #475569; margin: 0; }
.single-glossary .glossary-single { padding: 4rem 0 6rem; }
.glossary-single-layout { display: grid; grid-template-columns: 1fr 260px; gap: 3rem; max-width: 1000px; }
.glossary-single-header { margin-bottom: 1.5rem; }
.glossary-single-term { font-size: 2.25rem; font-weight: 700; margin: 0.5rem 0 0.25rem; }
.glossary-single-aka { font-size: 0.875rem; color: #64748b; margin: 0; }
.glossary-short-box { background: #f0fdf4; border-left: 4px solid #22c55e; padding: 1.25rem 1.5rem; border-radius: 0 10px 10px 0; margin-bottom: 1.75rem; font-size: 1.05rem; line-height: 1.7; }
.glossary-full-explanation { line-height: 1.8; color: #334155; margin-bottom: 2rem; }
.glossary-example { background: #f8fafc; border-radius: 10px; padding: 1.5rem; margin-bottom: 2rem; }
.glossary-example h3 { font-size: 1rem; font-weight: 700; margin: 0 0 0.5rem; }
.glossary-single-sidebar { align-self: start; }
.glossary-sidebar-block { background: #f8fafc; border-radius: 10px; padding: 1.25rem; margin-bottom: 1rem; }
.glossary-sidebar-block h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin: 0 0 0.75rem; }
.glossary-sidebar-block ul { list-style: none; padding: 0; margin: 0; }
.glossary-sidebar-block li { border-bottom: 1px solid #e2e8f0; padding: 0.4rem 0; }
.glossary-sidebar-block li:last-child { border-bottom: none; }
.glossary-sidebar-block a { font-size: 0.875rem; color: #334155; text-decoration: none; }
.glossary-sidebar-block a:hover { color: #22c55e; }
.glossary-sidebar-guide-link { font-size: 0.875rem; font-weight: 600; color: #22c55e; text-decoration: none; }
.btn-secondary { display: inline-block; background: #f1f5f9; color: #334155; padding: 0.6rem 1.25rem; border-radius: 8px; font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.btn-secondary:hover { background: #e2e8f0; }
@media (max-width: 768px) { .glossary-single-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .glossary-single-term { font-size: 1.75rem; } }

/* =============================================================================
   PROMOTIONS & PACKAGES
   ============================================================================= */

.promo-archive-hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.promo-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: box-shadow 0.2s, transform 0.2s; position: relative; }
.promo-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.promo-card--featured { box-shadow: 0 0 0 2px #22c55e, 0 4px 16px rgba(34,197,94,.2); }
.promo-featured-ribbon { position: absolute; top: 0; right: 0; background: #22c55e; color: #fff; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 0 0 0 8px; z-index: 2; }
.promo-card-image-wrap { position: relative; display: block; }
.promo-card-image { width: 100%; height: 200px; object-fit: cover; display: block; }
.promo-card-image-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, #1e293b 0%, #1e3a5f 100%); }
.promo-saving-badge { position: absolute; bottom: 0.75rem; left: 0.75rem; background: #ef4444; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.75rem; border-radius: 20px; }
.promo-saving-badge--inline { position: static; font-size: 0.8rem; padding: 0.35rem 0.875rem; }
.promo-bnpl-badge { position: absolute; bottom: 0.75rem; right: 0.75rem; background: rgba(0,0,0,0.75); color: #fff; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 4px; backdrop-filter: blur(4px); }
.promo-bnpl-badge--inline { position: static; backdrop-filter: none; }
.promo-card-body { padding: 1.25rem; }
.promo-card-tags { display: flex; gap: 0.4rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.promo-type-badge { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 4px; }
.promo-type--package { background: #e0f2fe; color: #0369a1; }
.promo-type--promotion { background: #fef9c3; color: #854d0e; }
.promo-status-badge { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 4px; }
.promo-status--green { background: #dcfce7; color: #16a34a; }
.promo-status--blue { background: #dbeafe; color: #1d4ed8; }
.promo-status--grey { background: #f1f5f9; color: #64748b; }
.promo-card-title { font-size: 1rem; font-weight: 600; margin: 0 0 0.4rem; line-height: 1.4; }
.promo-card-title a { color: #0f172a; text-decoration: none; }
.promo-card-title a:hover { color: #22c55e; }
.promo-card-desc { font-size: 0.85rem; color: #64748b; margin: 0 0 0.5rem; }
.promo-card-pricing { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.4rem; }
.promo-price-orig { font-size: 0.85rem; color: #94a3b8; text-decoration: line-through; }
.promo-price-now { font-size: 1.125rem; font-weight: 700; color: #22c55e; }
.promo-card-meta { display: flex; gap: 0.75rem; font-size: 0.75rem; color: #94a3b8; margin-bottom: 0.5rem; flex-wrap: wrap; }
.promo-expiry { font-size: 0.75rem; color: #ef4444; font-weight: 600; margin: 0 0 0.75rem; }
.promo-card-cta { margin-top: 0.25rem; }
.promo-single-hero { min-height: 460px; background: #1e3a5f; color: #fff; padding: 4.5rem 0 3.5rem; display: flex; align-items: flex-end; }
.promo-single-tags { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; align-items: center; }
.promo-single-title { font-size: 2.25rem; font-weight: 700; max-width: 700px; line-height: 1.25; margin: 0 0 0.5rem; }
.promo-single-tagline { font-size: 1.125rem; opacity: 0.85; max-width: 580px; margin: 0 0 1.25rem; }
.promo-single-pricing { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 0.75rem; }
.promo-countdown { font-size: 0.875rem; background: rgba(239,68,68,.2); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; padding: 0.4rem 0.875rem; border-radius: 6px; display: inline-block; margin-bottom: 1rem; }
.promo-expiry-note { font-size: 0.8rem; opacity: 0.7; margin-bottom: 1rem; }
.promo-single-body { padding: 3.5rem 0 5rem; }
.promo-single-layout { max-width: 740px; }
.promo-quick-facts { display: flex; gap: 2rem; background: #f0fdf4; border-radius: 12px; padding: 1.5rem 2rem; margin-bottom: 2rem; flex-wrap: wrap; justify-content: center; }
.promo-fact { text-align: center; }
.promo-fact-val { display: block; font-size: 1.375rem; font-weight: 700; color: #16a34a; }
.promo-fact-lbl { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; }
.promo-full-desc { line-height: 1.8; color: #334155; margin-bottom: 2rem; }
.promo-cta-box { background: #0f172a; color: #fff; border-radius: 12px; padding: 2rem; text-align: center; }
.promo-bnpl-note { font-size: 0.875rem; opacity: 0.8; margin-bottom: 1rem; }
.promo-cta-expiry { font-size: 0.8rem; opacity: 0.6; margin-top: 0.75rem; }
.pricing-saving-tag { display: inline-block; width: fit-content; align-self: flex-start; background: #ef4444; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 20px; margin-bottom: 0.75rem; }
.pricing-price--custom { font-size: 1.5rem; line-height: 1.4; font-weight: 700; color: #0f172a; }
.promo-related { padding: 4rem 0; }
.promo-related--partners { background: #f8f9fa; }
.promo-related--events { background: #fff; }
.promo-related--locations { background: #f8fafc; }
.promo-related-title { font-size: 1.5rem; font-weight: 700; margin: 0; }
.promo-locs-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.promo-locs-count { font-size: 0.875rem; font-weight: 600; color: #16a34a; background: #dcfce7; padding: 0.25rem 0.75rem; border-radius: 999px; }

/* Promo locations map */
.promo-locations-map { width: 100%; height: 420px; border-radius: 12px; margin-bottom: 2rem; border: 1px solid #e2e8f0; position: relative; z-index: 0; }
.promo-loc-grid { margin-top: 0; }

/* Leaflet custom marker */
.promo-map-pin { width: 28px; height: 28px; background: #16a34a; border: 3px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.promo-map-popup strong { font-size: 0.9rem; color: #0f172a; display: block; margin-bottom: 2px; }
.promo-map-popup span { font-size: 0.8rem; color: #64748b; }
.promo-map-popup a { font-size: 0.8rem; color: #16a34a; font-weight: 600; text-decoration: none; display: inline-block; margin-top: 4px; }
.promo-map-popup a:hover { text-decoration: underline; }
.leaflet-popup-content-wrapper { border-radius: 8px !important; box-shadow: 0 4px 16px rgba(0,0,0,.12) !important; }

@media (max-width: 640px) { .promo-grid { grid-template-columns: 1fr; } .promo-single-title { font-size: 1.625rem; } .promo-quick-facts { gap: 1rem; } .promo-locations-map { height: 280px; } }

/* =============================================================================
   CONTENT TABLES — Standardised across all post-type body areas
   ============================================================================= */

.guide-body-content,
.blog-single-content,
.cs-content,
.event-section,
.faq-single-answer,
.webinar-single-content,
.glossary-single-content,
.promo-single-content {
    overflow-x: auto;
}

.guide-body-content table,
.blog-single-content table,
.cs-content table,
.event-section table,
.faq-single-answer table,
.webinar-single-content table,
.glossary-single-content table,
.promo-single-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
}

/* Header row */
.guide-body-content table thead th,
.blog-single-content table thead th,
.cs-content table thead th,
.event-section table thead th,
.faq-single-answer table thead th,
.webinar-single-content table thead th,
.glossary-single-content table thead th,
.promo-single-content table thead th,
/* Handles tables with no <thead> — first row <th> cells */
.guide-body-content table tr:first-child th,
.blog-single-content table tr:first-child th,
.cs-content table tr:first-child th,
.event-section table tr:first-child th,
.faq-single-answer table tr:first-child th,
.webinar-single-content table tr:first-child th,
.glossary-single-content table tr:first-child th,
.promo-single-content table tr:first-child th {
    background: #16a34a;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.875rem 1.25rem;
    text-align: left;
    border-right: 1px solid rgba(255,255,255,0.18);
    border-bottom: none;
    white-space: nowrap;
}

.guide-body-content table thead th:last-child,
.blog-single-content table thead th:last-child,
.cs-content table thead th:last-child,
.event-section table thead th:last-child,
.faq-single-answer table thead th:last-child,
.webinar-single-content table thead th:last-child,
.glossary-single-content table thead th:last-child,
.promo-single-content table thead th:last-child,
.guide-body-content table tr:first-child th:last-child,
.blog-single-content table tr:first-child th:last-child,
.cs-content table tr:first-child th:last-child,
.event-section table tr:first-child th:last-child,
.faq-single-answer table tr:first-child th:last-child,
.webinar-single-content table tr:first-child th:last-child,
.glossary-single-content table tr:first-child th:last-child,
.promo-single-content table tr:first-child th:last-child {
    border-right: none;
}

/* Body cells */
.guide-body-content table td,
.blog-single-content table td,
.cs-content table td,
.event-section table td,
.faq-single-answer table td,
.webinar-single-content table td,
.glossary-single-content table td,
.promo-single-content table td {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: top;
}

.guide-body-content table td:last-child,
.blog-single-content table td:last-child,
.cs-content table td:last-child,
.event-section table td:last-child,
.faq-single-answer table td:last-child,
.webinar-single-content table td:last-child,
.glossary-single-content table td:last-child,
.promo-single-content table td:last-child {
    border-right: none;
}

/* Zebra striping */
.guide-body-content table tbody tr:nth-child(even),
.blog-single-content table tbody tr:nth-child(even),
.cs-content table tbody tr:nth-child(even),
.event-section table tbody tr:nth-child(even),
.faq-single-answer table tbody tr:nth-child(even),
.webinar-single-content table tbody tr:nth-child(even),
.glossary-single-content table tbody tr:nth-child(even),
.promo-single-content table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.guide-body-content table tbody tr:last-child td,
.blog-single-content table tbody tr:last-child td,
.cs-content table tbody tr:last-child td,
.event-section table tbody tr:last-child td,
.faq-single-answer table tbody tr:last-child td,
.webinar-single-content table tbody tr:last-child td,
.glossary-single-content table tbody tr:last-child td,
.promo-single-content table tbody tr:last-child td {
    border-bottom: none;
}

/* Row hover */
.guide-body-content table tbody tr:hover,
.blog-single-content table tbody tr:hover,
.cs-content table tbody tr:hover,
.event-section table tbody tr:hover,
.faq-single-answer table tbody tr:hover,
.webinar-single-content table tbody tr:hover,
.glossary-single-content table tbody tr:hover,
.promo-single-content table tbody tr:hover {
    background: #f0fdf4;
}

@media (max-width: 640px) {
    .guide-body-content table,
    .blog-single-content table,
    .cs-content table,
    .event-section table,
    .faq-single-answer table,
    .webinar-single-content table,
    .glossary-single-content table,
    .promo-single-content table {
        font-size: 0.875rem;
        min-width: 480px;
    }

    .guide-body-content table thead th,
    .blog-single-content table thead th,
    .cs-content table thead th,
    .event-section table thead th,
    .faq-single-answer table thead th,
    .webinar-single-content table thead th,
    .glossary-single-content table thead th,
    .promo-single-content table thead th,
    .guide-body-content table tr:first-child th,
    .blog-single-content table tr:first-child th,
    .cs-content table tr:first-child th,
    .event-section table tr:first-child th,
    .faq-single-answer table tr:first-child th,
    .webinar-single-content table tr:first-child th,
    .glossary-single-content table tr:first-child th,
    .promo-single-content table tr:first-child th {
        padding: 0.625rem 0.875rem;
    }

    .guide-body-content table td,
    .blog-single-content table td,
    .cs-content table td,
    .event-section table td,
    .faq-single-answer table td,
    .webinar-single-content table td,
    .glossary-single-content table td,
    .promo-single-content table td {
        padding: 0.625rem 0.875rem;
    }
}

/* ============================================================
   HOME PAGE COLOUR PREVIEW — Navy/White/Green-accent
   Matches landing page aesthetic. Remove block to revert.
============================================================ */

/* Promo strip: green-tinted bg → neutral grey */
body.home .fp-promo-wrap {
    background: #f0f4f8;
}

/* Hero: light green bg → dark navy gradient */
body.home .hero-section {
    background: linear-gradient(135deg, #002244 0%, #003a6e 60%, #004d99 100%);
}

body.home .hero-eyebrow {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
}

body.home .hero-title {
    color: #fff;
}

body.home .hero-subtitle {
    color: rgba(255,255,255,0.78);
}

body.home .pill {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
}

body.home .pill:hover,
body.home .pill.active {
    background: rgba(34,197,94,0.18);
    border-color: var(--clr-green);
    color: #86efac;
}

body.home .popular-label {
    color: rgba(255,255,255,0.55);
}

body.home .search-chip {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
}

body.home .search-chip:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}

/* Newsletter: solid green → dark navy */
body.home .newsletter-section {
    background: linear-gradient(135deg, #001429 0%, #003366 100%);
}

body.home .newsletter-input:focus {
    border-color: var(--clr-green);
}

/* Case studies: featured image header */
body.home .case-card-header {
    background: #1e293b;
    padding: 0;
    min-height: 180px;
}

body.home .case-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

body.home .case-card-img-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1e293b 0%, #003a6e 100%);
}

/* Packages: greyscale neutral (Option B) — grey border, dark badge, outline CTA */
body.home .pricing-card--featured {
    border-color: #e5e5e5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

body.home .pricing-card--featured:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

body.home .pricing-badge {
    background: var(--clr-green);
}

/* Featured card CTA: white bg, green border + text */
body.home .pricing-card--featured .btn-green {
    background: #fff;
    color: var(--clr-green-dk);
    border: 2px solid var(--clr-green);
}

body.home .pricing-card--featured .btn-green:hover {
    background: var(--clr-green-lt);
    color: var(--clr-green-dk);
}
