/* ==========================================
   RUNHAMS DECORATING - GLOBAL
   Site-wide chrome (navigation + footer).
   Loaded on every page. Consolidated from
   the old nav.css + footer.css.
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;600;700&display=swap');

/* ==========================================
   DESIGN TOKENS (5.5)
   Brand colours unchanged - now held once here.
   Type scale per Web Build Standards §12.
   ========================================== */

:root {
    /* Brand */
    --brand:       #d90f0f;
    --brand-dark:  #b50d0d;
    --brand-deep:  #8f0a0a;
    --brand-light: #ef3a3a;
    --brand-grad:  linear-gradient(135deg, #ef3a3a 0%, #c41414 100%);
    --brand-grad-hover: linear-gradient(135deg, #d42b2b 0%, #a91111 100%);
    --accent-warm: #ff5a36;

    /* Neutrals */
    --charcoal:   #2b2b2b;
    --charcoal-2: #1f1f1f;
    --ink:        #333333;
    --muted:      #555555;
    --grey:       #f3f3f3;
    --grey-line:  #e8e8e8;
    --white:      #ffffff;
    --star:       #fbbc05;

    /* Type */
    --font-head: 'Be Vietnam Pro', system-ui, sans-serif;
    --font-body: 'Be Vietnam Pro', system-ui, sans-serif;
    --fs-small:  0.9375rem;
    --fs-body:   clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
    --fs-lead:   clamp(1.0625rem, 1rem + 0.45vw, 1.25rem);
    --fs-h3:     clamp(1.25rem, 1.1rem + 0.9vw, 1.6rem);
    --fs-h2:     clamp(1.6rem, 1.2rem + 1.8vw, 2.35rem);
    --fs-h1:     clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
    --fs-h1-inner: clamp(1.85rem, 1.3rem + 2.4vw, 2.9rem);

    /* Rhythm & effects */
    --maxw: 1200px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section-y: clamp(3.5rem, 8vw, 6.5rem);
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.18);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Simple reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.runhams-skip {
    position: absolute; left: 1rem; top: -100px; z-index: 2000;
    background: var(--charcoal); color: #fff; padding: 0.75rem 1.25rem;
    border-radius: 6px; text-decoration: none; font-weight: 600;
}
.runhams-skip:focus { top: 1rem; }

/* ==========================================
   RUNHAMS DECORATING - NAVIGATION (5.5)
   Top bar, sticky desktop nav, standalone mobile overlay.
   Markup: includes/nav.php  Behaviour: js/runhams-navigation.js
   ========================================== */

/* ---------- Top bar ---------- */
.runhams-topbar {
    position: relative;
    background:
        radial-gradient(500px 80px at 100% 50%, rgba(217, 15, 15, 0.35) 0%, rgba(217, 15, 15, 0) 70%),
        var(--charcoal);
    padding: 0.5rem var(--gutter);
    font-family: var(--font-body);
}
.runhams-topbar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--brand-grad);
}
.runhams-topbar-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.runhams-topbar-left,
.runhams-topbar-right { display: flex; align-items: center; gap: 1.5rem; }

.runhams-topbar-item {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.25s ease;
}
.runhams-topbar-item:hover { color: #fff; }
.runhams-topbar-item i { font-size: 0.8125rem; color: var(--brand-light); }

.runhams-topbar-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.25s ease;
}
.runhams-topbar-rating:hover { color: #fff; }
.runhams-topbar-rating strong { color: #fff; }
.runhams-topbar-rating-g svg { width: 15px; height: 15px; display: block; }
.runhams-topbar-rating-stars { display: inline-flex; gap: 1px; }
.runhams-topbar-rating-stars svg { width: 13px; height: 13px; fill: var(--star); display: block; }

.runhams-topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    background: var(--brand-grad);
    color: #fff;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(217, 15, 15, 0.35);
    transition: background 0.25s ease, transform 0.2s ease;
}
.runhams-topbar-phone:hover { background: var(--brand-grad-hover); transform: translateY(-1px); }
.runhams-topbar-phone i { font-size: 0.75rem; }

/* ---------- Sticky nav ---------- */
.runhams-nav {
    background-color: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--grey-line);
    padding: 0 var(--gutter);
    position: relative; /* stays put on desktop and tablet; sticky on mobile only (768px) */
    z-index: 100;
    font-family: var(--font-body);
    transition: box-shadow 0.3s ease;
}
@media screen and (max-width: 768px) {
    .runhams-nav { position: sticky; top: 0; }
}
.runhams-nav::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 3px;
    width: 100%;
    background: var(--brand-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}
.runhams-nav.scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.runhams-nav.scrolled::after { transform: scaleX(1); }

.runhams-nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 84px;
}
.runhams-nav-logo { display: flex; align-items: center; flex-shrink: 1; min-width: 0; overflow: hidden; }
.runhams-nav-logo img { height: 62px; width: auto; display: block; }

.runhams-nav-menu { display: flex; align-items: center; gap: 0.75rem; }
.runhams-nav-menu ul { list-style: none; display: flex; align-items: center; gap: 0.15rem; }
.runhams-nav-menu ul li a {
    position: relative;
    display: block;
    padding: 0.6rem 0.9rem;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}
.runhams-nav-menu ul li a::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.2rem;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.runhams-nav-menu ul li a:hover,
.runhams-nav-menu ul li a.active { color: var(--brand); }
.runhams-nav-menu ul li a:hover::after,
.runhams-nav-menu ul li a.active::after { transform: scaleX(1); }

.runhams-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-radius: 50px;
    background: var(--brand-grad);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(217, 15, 15, 0.3);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.runhams-nav-cta:hover { background: var(--brand-grad-hover); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(217, 15, 15, 0.4); }
.runhams-nav-cta i { font-size: 0.8rem; transition: transform 0.25s ease; }
.runhams-nav-cta:hover i { transform: translateX(3px); }

/* Mobile actions (call + hamburger) - hidden on desktop */
.runhams-nav-mobile-actions { display: none; align-items: center; gap: 0.6rem; }
.runhams-nav-call {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(217, 15, 15, 0.3);
}
.runhams-nav-hamburger {
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--charcoal);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s ease;
}
.runhams-nav-hamburger span {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transform: translateX(-50%);
    transition: top 0.3s ease, transform 0.3s ease, opacity 0.2s ease;
}
.runhams-nav-hamburger span:nth-child(1) { top: 15px; }
.runhams-nav-hamburger span:nth-child(2) { top: 21px; }
.runhams-nav-hamburger span:nth-child(3) { top: 27px; }
.runhams-nav-hamburger.active { background: var(--brand); }
.runhams-nav-hamburger.active span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
.runhams-nav-hamburger.active span:nth-child(2) { opacity: 0; }
.runhams-nav-hamburger.active span:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }

/* Mobile overlay - hidden until opened */
.runhams-mobile-nav { display: none; }

@media screen and (max-width: 1024px) {
    .runhams-topbar { display: none; }
    .runhams-nav-inner { height: 72px; }
    .runhams-nav-logo img { height: 54px; }
    .runhams-nav-menu { display: none; }
    .runhams-nav-mobile-actions { display: flex; }

    /* Keep the bar (and its close button) above the open overlay */
    body.menu-open .runhams-nav { z-index: 1001; }

    .runhams-mobile-nav {
        position: fixed;
        inset: 0;
        z-index: 1000;
        background:
            radial-gradient(600px 400px at 100% 100%, rgba(217, 15, 15, 0.3) 0%, rgba(217, 15, 15, 0) 65%),
            var(--charcoal);
        opacity: 0;
        transition: opacity 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .runhams-mobile-nav.active { display: flex; opacity: 1; }

    .runhams-mobile-nav-body {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        min-height: 100%;
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
        padding: calc(72px + 1.75rem) var(--gutter) 2.5rem;
    }

    .runhams-mobile-nav-links { list-style: none; }
    .runhams-mobile-nav-links li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .runhams-mobile-nav-links li:last-child { border-bottom: 0; padding-top: 1.25rem; }
    .runhams-mobile-nav-links li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.95rem 0.25rem;
        color: #fff;
        font-family: var(--font-head);
        font-size: 1.375rem;
        font-weight: 700;
        text-decoration: none;
        transition: color 0.25s ease, padding 0.25s ease;
    }
    .runhams-mobile-nav-links li a i { font-size: 0.875rem; color: var(--brand-light); }
    .runhams-mobile-nav-links li a:hover { padding-left: 0.6rem; }
    .runhams-mobile-nav-links li a.active { color: var(--brand-light); }

    .runhams-mobile-nav-links li a.runhams-mobile-nav-cta {
        justify-content: center;
        gap: 0.6rem;
        padding: 1rem 1.5rem;
        border-radius: 50px;
        background: var(--brand-grad);
        font-size: 1.125rem;
        box-shadow: 0 10px 24px rgba(217, 15, 15, 0.4);
    }
    .runhams-mobile-nav-links li a.runhams-mobile-nav-cta i { color: #fff; }
    .runhams-mobile-nav-links li a.runhams-mobile-nav-cta:hover { padding-left: 1.5rem; background: var(--brand-grad-hover); }

    .runhams-mobile-nav-badge { align-self: center; }

    .runhams-mobile-nav-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
        padding-top: 1.5rem;
        margin-top: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }
    .runhams-mobile-nav-phone,
    .runhams-mobile-nav-email,
    .runhams-mobile-nav-social {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        font-size: 1rem;
        transition: color 0.25s ease;
        word-break: break-word;
    }
    .runhams-mobile-nav-phone { color: #fff; font-size: 1.125rem; font-weight: 700; }
    .runhams-mobile-nav-phone:hover,
    .runhams-mobile-nav-email:hover,
    .runhams-mobile-nav-social:hover { color: #fff; }
    .runhams-mobile-nav-phone i,
    .runhams-mobile-nav-email i,
    .runhams-mobile-nav-social i { color: var(--brand-light); }
}

@media screen and (max-width: 480px) {
    .runhams-nav-inner { height: 64px; }
    .runhams-nav-logo img { height: 46px; }
    .runhams-nav-call, .runhams-nav-hamburger { width: 42px; height: 42px; }
    .runhams-nav-hamburger span:nth-child(1) { top: 14px; }
    .runhams-nav-hamburger span:nth-child(2) { top: 20px; }
    .runhams-nav-hamburger span:nth-child(3) { top: 26px; }
    .runhams-nav-hamburger.active span:nth-child(1),
    .runhams-nav-hamburger.active span:nth-child(3) { top: 20px; }
    .runhams-mobile-nav-body { padding-top: calc(64px + 1.5rem); gap: 1.5rem; }
    .runhams-mobile-nav-links li a { font-size: 1.25rem; padding: 0.85rem 0.25rem; }
    .runhams-mobile-nav-email { font-size: 0.9375rem; }
}

/* ==========================================
   RUNHAMS DECORATING - FOOTER (5.5)
   Trust row, 4 columns, bottom bar.
   ========================================== */

.runhams-footer {
    position: relative;
    background:
        radial-gradient(800px 420px at 100% 0%, rgba(217, 15, 15, 0.18) 0%, rgba(217, 15, 15, 0) 62%),
        radial-gradient(600px 360px at 0% 100%, rgba(217, 15, 15, 0.12) 0%, rgba(217, 15, 15, 0) 60%),
        #222;
    color: #fff;
    font-family: var(--font-body);
    border-top: 4px solid var(--brand);
}

/* ---------- Trust row ---------- */
.runhams-footer-trust {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}
.runhams-footer-trust-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    flex-wrap: wrap;
}
.runhams-footer-trust-text {
    font-family: var(--font-head);
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    font-weight: 700;
    line-height: 1.3;
    max-width: 42ch;
    flex: 1 1 22rem;
    text-wrap: balance;
}
.runhams-footer-trust-badges { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.runhams-footer-dbs { background: #fff; border-radius: 10px; padding: 0.3rem; }
.runhams-footer-dbs img,
a.runhams-dbs.runhams-footer-dbs img { height: 64px; }
.runhams-footer-cline {
    height: 76px;
    width: auto;
    border-radius: 10px;
    background: #fff;
    padding: 0.3rem;
    display: block;
}

/* ---------- Columns ---------- */
.runhams-footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 3.5rem var(--gutter) 3rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 2.5rem;
}
.runhams-footer-col { display: flex; flex-direction: column; align-items: flex-start; }

.runhams-footer-logo-text {
    font-family: var(--font-head);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}
.runhams-footer-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    margin-bottom: 1.4rem;
    max-width: 36ch;
}
.runhams-footer-social-row { display: flex; gap: 0.6rem; }
.runhams-footer-social-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.runhams-footer-social-link:hover { background: var(--brand-grad); border-color: transparent; transform: translateY(-2px); }

.runhams-footer-heading {
    position: relative;
    font-family: var(--font-head);
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}
.runhams-footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-grad);
}

.runhams-footer-links { list-style: none; display: grid; gap: 0.65rem; }
.runhams-footer-links li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s var(--ease);
}
.runhams-footer-links li a::before {
    content: "";
    width: 0;
    height: 2px;
    margin-right: 0;
    background: var(--brand-light);
    transition: width 0.25s var(--ease), margin 0.25s var(--ease);
}
.runhams-footer-links li a:hover { color: #fff; }
.runhams-footer-links li a:hover::before { width: 12px; margin-right: 0.5rem; }

.runhams-footer-contact { list-style: none; display: grid; gap: 0.85rem; margin-bottom: 1.5rem; }
.runhams-footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
}
.runhams-footer-contact-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(217, 15, 15, 0.16);
    color: var(--brand-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}
.runhams-footer-contact li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    word-break: break-word;
    transition: color 0.25s ease;
}
.runhams-footer-contact li a:hover { color: #fff; }

.runhams-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    border-radius: 50px;
    background: var(--brand-grad);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(217, 15, 15, 0.35);
    transition: background 0.25s ease, transform 0.2s ease;
}
.runhams-footer-cta:hover { background: var(--brand-grad-hover); transform: translateY(-2px); }
.runhams-footer-cta i { font-size: 0.8rem; }

/* ---------- Bottom bar ---------- */
.runhams-footer-bottom {
    width: calc(100% - 2 * var(--gutter));
    max-width: calc(var(--maxw) - 2 * var(--gutter));
    margin: 0 auto;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 1.5rem;
    flex-wrap: wrap;
}
.runhams-footer-bottom p,
.runhams-footer-bottom-links a,
.runhams-footer-bottom-sep { font-size: 0.875rem; color: rgba(255, 255, 255, 0.55); }
.runhams-footer-bottom-links { display: flex; align-items: center; gap: 0.6rem; }
.runhams-footer-bottom-links a { text-decoration: none; transition: color 0.25s ease; }
.runhams-footer-bottom-links a:hover { color: #fff; }
.runhams-footer-bottom-sep { color: rgba(255, 255, 255, 0.25); }

@media (max-width: 1024px) {
    .runhams-footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
    .runhams-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .runhams-footer-trust-inner { flex-direction: column; text-align: center; }
    .runhams-footer-trust-text { max-width: 36ch; flex: none; font-size: 1.25rem; }
    .runhams-footer-trust-badges { justify-content: center; }

    .runhams-footer-inner { grid-template-columns: 1fr; gap: 0; padding-top: 2.5rem; padding-bottom: 1rem; }
    .runhams-footer-col {
        align-items: center;
        text-align: center;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .runhams-footer-brand { padding-top: 0; }
    .runhams-footer-col:last-child { border-bottom: 0; }
    .runhams-footer-heading::after { left: 50%; transform: translateX(-50%); }
    .runhams-footer-links li a:hover::before { width: 0; margin-right: 0; }
    .runhams-footer-contact li { justify-content: center; }
    .runhams-footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .runhams-footer-dbs img,
    a.runhams-dbs.runhams-footer-dbs img { height: 56px; }
    .runhams-footer-cline { height: 66px; }
    .runhams-footer-contact li { font-size: 0.9375rem; }
}

@media (prefers-reduced-motion: reduce) {
    .runhams-nav::after, .runhams-nav-menu ul li a::after, .runhams-nav-cta,
    .runhams-footer-links li a, .runhams-footer-links li a::before,
    .runhams-footer-social-link, .runhams-footer-cta, .runhams-mobile-nav { transition: none; }
}

/* WhatConverts - hide tracking code container */
#what-converts-code,
#what-converts-code * {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    visibility: hidden !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

/* ==========================================
   ENHANCED DBS VERIFIED BADGE (shared)
   seal = corner overlay (parent needs position:relative);
   inline = centred in normal flow.
   ========================================== */
.runhams-dbs { display: block; width: fit-content; transition: opacity 0.2s ease; }
.runhams-dbs:hover { opacity: 0.85; }
a.runhams-dbs img { display: block; width: auto; height: 100px; border-radius: 0; box-shadow: none; }
.runhams-dbs-seal { position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 3; }
.runhams-dbs-inline { margin: 2.5rem auto 0; }
@media (max-width: 768px) { a.runhams-dbs img { height: 82px; } }
@media (max-width: 480px) { a.runhams-dbs img { height: 70px; } .runhams-dbs-seal { right: 0.75rem; bottom: 0.75rem; } }

/* DBS badge - slim-hero bottom-right corner */
.runhams-dbs-hero { position: absolute; right: 2rem; bottom: 2rem; z-index: 3; }
@media (max-width: 768px) { .runhams-dbs-hero { right: 1.25rem; bottom: 1.25rem; } }
@media (max-width: 480px) { .runhams-dbs-hero { right: 1rem; bottom: 1rem; } }


/* ==========================================================================
   5.5 SHARED COMPONENTS
   ========================================================================== */

/* ---------- Eyebrow (small label above a heading / H1) ---------- */
.runhams-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-head);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin: 0 0 0.875rem;
    line-height: 1.3;
}
.runhams-eyebrow::before {
    content: '';
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--accent-warm) 100%);
    flex-shrink: 0;
}
.runhams-eyebrow--light { color: #fff; }
.runhams-eyebrow--light::before { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.55) 100%); }
.runhams-eyebrow--centre { justify-content: center; flex-wrap: wrap; text-align: center; }
@media (max-width: 640px) {
    .runhams-eyebrow--centre::before { display: none; }
    .runhams-eyebrow { letter-spacing: 0.1em; }
}

/* ---------- Buttons ---------- */
.runhams-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.9rem;
    min-height: 48px;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.runhams-btn i { font-size: 0.9em; }
.runhams-btn:hover { transform: translateY(-2px); }
.runhams-btn--primary { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 18px rgba(217, 15, 15, 0.28); }
.runhams-btn--primary:hover { background: var(--brand-grad-hover); box-shadow: 0 10px 26px rgba(217, 15, 15, 0.38); }
.runhams-btn--dark { background: var(--charcoal); color: #fff; }
.runhams-btn--dark:hover { background: #111; box-shadow: var(--shadow-md); }
.runhams-btn--light { background: #fff; color: var(--brand); }
.runhams-btn--light:hover { background: var(--charcoal); color: #fff; }
.runhams-btn--ghost-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.55); }
.runhams-btn--ghost-light:hover { background: rgba(255,255,255,0.16); border-color: #fff; }

/* ---------- Inline text link (body copy) ---------- */
.runhams-link {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(217, 15, 15, 0.3);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.runhams-link:hover { color: var(--brand-dark); text-decoration-color: currentColor; }

/* ---------- Google rating badge (3 styles) ----------
   Markup + numbers come from includes/google-rating.php */
.runhams-gbadge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1.1rem 0.55rem 0.55rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-head);
    line-height: 1.15;
    transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.runhams-gbadge:hover { transform: translateY(-2px); }
.runhams-gbadge__logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.runhams-gbadge__logo svg { width: 22px; height: 22px; display: block; }
.runhams-gbadge__body { display: flex; flex-direction: column; gap: 0.2rem; text-align: left; }
.runhams-gbadge__top { display: inline-flex; align-items: center; gap: 0.45rem; }
.runhams-gbadge__score { font-size: 1.125rem; font-weight: 700; }
.runhams-gbadge__stars { display: inline-flex; gap: 2px; }
.runhams-gbadge__stars svg { width: 15px; height: 15px; display: block; fill: var(--star); }
.runhams-gbadge__count { font-size: 0.875rem; font-weight: 400; }

/* light - white pill for light backgrounds */
.runhams-gbadge--light { background: #fff; color: var(--ink); border: 1px solid var(--grey-line); box-shadow: var(--shadow-sm); }
.runhams-gbadge--light .runhams-gbadge__count { color: var(--muted); }
.runhams-gbadge--light:hover { box-shadow: var(--shadow-md); }

/* dark - frosted glass for photos / dark sections */
.runhams-gbadge--dark { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.runhams-gbadge--dark .runhams-gbadge__count { color: rgba(255,255,255,0.85); }
.runhams-gbadge--dark:hover { background: rgba(255,255,255,0.2); }

/* brand - solid red pill */
.runhams-gbadge--brand { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 18px rgba(217, 15, 15, 0.28); }
.runhams-gbadge--brand .runhams-gbadge__stars svg { fill: #fff; }
.runhams-gbadge--brand .runhams-gbadge__count { color: rgba(255,255,255,0.9); }

@media (max-width: 480px) {
    .runhams-gbadge { gap: 0.6rem; padding-right: 0.95rem; }
    .runhams-gbadge__logo { width: 36px; height: 36px; }
    .runhams-gbadge__logo svg { width: 20px; height: 20px; }
    .runhams-gbadge__score { font-size: 1rem; }
}

/* ---------- Scroll reveal (below-the-fold only; JS adds .is-pending) ---------- */
.runhams-reveal.is-pending { opacity: 0; transform: translateY(24px); }
.runhams-reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.runhams-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .runhams-reveal, .runhams-reveal.is-pending { opacity: 1; transform: none; transition: none; }
    .runhams-btn, .runhams-gbadge { transition: none; }
    .runhams-btn:hover, .runhams-gbadge:hover { transform: none; }
}

/* Body lock while the mobile menu is open */
body.menu-open { overflow: hidden; }

/* ==========================================
   LIGHTBOX - any [data-runhams-lightbox] trigger (runhams-content.js #9)
   Native <dialog>: Escape, backdrop click and the X all close it.
   ========================================== */
.runhams-lightbox {
    position: fixed;
    inset: 0;
    margin: auto; /* the * reset removes the browser's dialog centring */
    border: 0;
    padding: 0;
    width: fit-content;
    height: fit-content;
    background: transparent;
    max-width: min(1100px, 92vw);
    max-height: 92vh;
    overflow: visible;
}
.runhams-lightbox::backdrop { background: rgba(17, 17, 17, 0.88); }
.runhams-lightbox[open] { animation: runhams-lb-in 0.25s var(--ease); }
.runhams-lightbox__figure {
    margin: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border-bottom: 4px solid var(--brand);
}
.runhams-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 4.5rem);
    width: auto;
    height: auto;
    margin: 0 auto;
    background: #222;
}
.runhams-lightbox__caption {
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}
.runhams-lightbox__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s var(--ease);
}
.runhams-lightbox__close:hover { transform: rotate(90deg); }
.runhams-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand);
    font-size: 1.05rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: background 0.25s ease, color 0.25s ease;
}
.runhams-lightbox__nav:hover { background: var(--brand); color: #fff; }
.runhams-lightbox__nav[hidden] { display: none; }
.runhams-lightbox__nav--prev { left: 0.75rem; }
.runhams-lightbox__nav--next { right: 0.75rem; }
@keyframes runhams-lb-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .runhams-lightbox[open] { animation: none; }
    .runhams-lightbox__close:hover { transform: none; }
}

/* ==========================================
   INNER PAGE HERO (smaller H1 section, all inner organic pages)
   Set a page photo with: style="--hero-img:url('/img/...')" on the section.
   ========================================== */
.runhams-page-hero {
    --hero-img: url('/img/runhams-hero.jpg');
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(100deg, rgba(25, 25, 25, 0.94) 0%, rgba(25, 25, 25, 0.82) 45%, rgba(25, 25, 25, 0.55) 100%),
        var(--hero-img) center / cover no-repeat,
        var(--charcoal);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.75rem);
    border-bottom: 4px solid var(--brand);
}
.runhams-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 360px at 0% 100%, rgba(217, 15, 15, 0.35) 0%, rgba(217, 15, 15, 0) 65%);
    pointer-events: none;
}
.runhams-page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
/* H1 sits in the eyebrow slot on inner pages (SEO phrase); the display line below is a styled <p> */
.runhams-page-hero-h1 {
    max-width: 60ch;
    line-height: 1.5;
    margin: 0 0 0.9rem;
}
.runhams-page-hero-title {
    font-family: var(--font-head);
    font-size: var(--fs-h1-inner);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    max-width: 30ch;
    margin: 0 0 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.runhams-page-hero-text {
    font-size: var(--fs-lead);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 52ch;
    margin: 0 0 1.75rem;
}
.runhams-page-hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
