/* ============================================
   LINDA PEARSON PODIATRY — style.css
   Clean consolidated version. Replaces everything.
   Every rule appears exactly once.
   ============================================ */

/* ============================================
   1. FOUNDATIONS — variables and resets
   ============================================ */

:root {
    --teal: #0f6e6b;         /* main brand colour */
    --teal-dark: #0a4f4d;    /* hovers, deep accents */
    --teal-soft: #e9f3f2;    /* pale teal for panels and icon circles */
    --cream: #faf7f2;        /* page background */
    --ink: #23302f;          /* body text */
    --ink-soft: #55625f;     /* secondary text */
    --white: #ffffff;

    --font-head: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --shadow-soft: 0 1px 2px rgba(16, 42, 41, 0.05),
                   0 4px 16px rgba(16, 42, 41, 0.07);
    --shadow-lift: 0 2px 4px rgba(16, 42, 41, 0.06),
                   0 12px 28px rgba(16, 42, 41, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--cream);
    line-height: 1.65;
}

/* Anchor jumps land headings below the sticky nav */
section {
    scroll-margin-top: 90px;
}

::selection {
    background-color: var(--teal);
    color: var(--white);
}

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

/* ============================================
   2. NAVIGATION BAR — frosted glass
   ============================================ */

header {
    background-color: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 1px 0 rgba(16, 42, 41, 0.06),
                0 2px 12px rgba(16, 42, 41, 0.06);
    position: sticky;
    top: 0;
    z-index: 50;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--teal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-img {
    height: 44px;
    width: auto;
    border-radius: 50%;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-social {
    display: flex;
    gap: 0.5rem;
}

.nav-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--teal);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s, transform 0.2s;
}

.nav-social a:hover {
    background-color: var(--teal-dark);
    transform: translateY(-2px);
}

/* ============================================
   3. HERO
   ============================================ */

.hero {
    background-image:
        linear-gradient(rgba(15, 110, 107, 0.78), rgba(10, 79, 77, 0.84)),
        url("images/stockchp.png");
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 8rem 1.5rem 7rem;
    max-width: none; /* background spans the full screen width */
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 1.1rem;
}

.hero p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    max-width: 34em;
    margin: 0 auto 1.1rem;
    opacity: 0.94;
}

/* Credentials strip — a quiet caption well below the buttons.
   THE ONLY .hero-trust RULE IN THIS FILE (plus one media query). */
.hero-trust {
    margin-top: 0;
    margin-bottom: 3rem;     /* the air between credentials and buttons */
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

@media (min-width: 701px) {
    .hero-trust {
        white-space: nowrap; /* one line on larger screens */
    }
}

/* Gentle entrance animation, skipped for reduced-motion users */
@media (prefers-reduced-motion: no-preference) {
    .hero h1,
    .hero p,
    .hero-buttons,
    .hero-trust {
        animation: rise-in 0.7s ease-out both;
    }
    .hero p       { animation-delay: 0.12s; }
    .hero-trust   { animation-delay: 0.24s; }
    .hero-buttons { animation-delay: 0.36s; }
}

@keyframes rise-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

/* ============================================
   4. BUTTONS — pill shaped
   ============================================ */

.button {
    display: inline-block;
    background-color: var(--white);
    color: var(--teal);
    padding: 0.95rem 2.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-soft);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.button:hover {
    background-color: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.button-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: none;
}

.button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

/* ============================================
   5. SECTIONS (shared rules)
   ============================================ */

section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

section h2 {
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    color: var(--teal-dark);
    letter-spacing: -0.01em;
    margin-bottom: 1.75rem;
}

/* Treatments header sits centred above the card grid */
#services .eyebrow,
#services h2 {
    text-align: center;
}

#services h2 {
    margin-bottom: 2.25rem;
}

/* ============================================
   6. SERVICE / TREATMENT CARDS
   ============================================ */

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

.card {
    background-color: var(--white);
    padding: 2rem 1.75rem;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(16, 42, 41, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}

/* Cards are now links - keep them looking like cards, not links */
a.card {
    text-decoration: none;
    color: inherit;
}

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

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--teal-soft);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
}

.card h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: var(--teal-dark);
    margin-bottom: 0.6rem;
}

.card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 1.15rem;
}

/* Price pill pinned to each card's bottom edge */
.card .price {
    margin-top: auto;
    margin-bottom: 0;
    align-self: flex-start;
    color: var(--teal-dark);
    font-weight: 700;
    font-size: 0.9rem;
    background-color: var(--teal-soft);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
}

.card-link {
    color: inherit;          /* keep the teal heading colour */
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

/* ============================================
   7. FOOTER
   ============================================ */

footer {
    background-color: var(--teal-dark);
    color: var(--white);
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-top: 3rem;
}

.footer-name {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-creds {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 0.4rem;
}

.footer-contact {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--white);
    font-weight: 600;
}

.footer-copy {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-copy a {
    color: var(--white);
    text-decoration: underline;
}

/* ============================================
   8. CONTACT FORM — floated on a card
   ============================================ */

.contact-intro {
    margin-bottom: 2rem;
}

.contact-intro a {
    color: var(--teal);
    font-weight: 600;
}

form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(16, 42, 41, 0.04);
}

.form-field {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
}

input,
textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1.5px solid #d5dedd;
    border-radius: 10px;
    background-color: #fcfcfb;
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(15, 110, 107, 0.14);
    background-color: var(--white);
}

form .button {
    background-color: var(--teal);
    color: var(--white);
    border: none;
    cursor: pointer;
    width: 100%;
}

form .button:hover {
    background-color: var(--teal-dark);
}

/* ============================================
   9. FORM STATUS MESSAGES
   ============================================ */

#form-status {
    margin-top: 1rem;
    font-weight: 600;
}

#form-status.error {
    color: #b3261e;
}

#form-status.success {
    color: var(--teal-dark);
}

/* ============================================
   10. CONTACT LAYOUT — form + details panel
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-details {
    background-color: var(--teal-soft);
    padding: 2rem;
    border-radius: 14px;
}

.contact-details h3 {
    font-family: var(--font-head);
    color: var(--teal-dark);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.contact-details h3 i {
    color: var(--teal);
    margin-right: 0.45rem;
    font-size: 0.95rem;
}

.contact-details p {
    margin-bottom: 1.5rem;
    color: var(--ink-soft);
}

.reassurance {
    font-weight: 600;
    color: var(--teal);
}

.map-embed {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden; /* clips the map's square corners to rounded */
    line-height: 0;
}

.map-embed iframe {
    width: 100%;
    height: 220px;
    border: 0;
}

#contact {
    max-width: none;              /* span full width for the white band */
    background-color: #ffffff;
}

/* Re-impose the readable content width inside the full-width band */
#contact .eyebrow,
#contact > h2,
#contact > .contact-intro,
#contact > .contact-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   11. CONTACT SOCIAL ICONS
   ============================================ */

.contact-social {
    display: flex;
    gap: 0.5rem;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--teal);
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.contact-social a:hover {
    background-color: var(--teal-dark);
    transform: translateY(-2px);
}

/* ============================================
   12. ABOUT — white band, credentials, text + photo
   ============================================ */

#about {
    max-width: none;
    background-color: #ffffff;
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Italic serif credentials line under the About heading */
.credentials-line {
    font-family: var(--font-head);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--teal);
    margin-bottom: 0.4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: stretch;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--ink-soft);
}

/* Organic "blob" frame echoing the wave dividers.
   Eight radii: horizontal four / vertical four. */
.about-photo {
    width: 100%;
    height: 100%;            /* match the height of the text column */
    max-height: 460px;       /* but never grow into a tower */
    object-fit: cover;       /* crop to fit, never squash */
    object-position: top;    /* keep the top of the photo - Linda's face */
    border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
    box-shadow: var(--shadow-lift);
}
/* Registration logos strip */
.registrations {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 42, 41, 0.1);
    text-align: center;
}

.registrations-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
}

.registration-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

/* object-fit: contain shows the whole logo inside the box
   without cropping or distorting it, whatever its proportions */
.registration-logos img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.registration-logos img:first-child {
    height: 72px;   /* HCPC - taller to balance the wider IOP badge */
}

/* ============================================
   13. WAVE DIVIDERS
   ============================================ */

.wave {
    background-color: var(--cream);
    line-height: 0;
}

.wave svg {
    display: block;
    width: 100%;
    height: 70px;
}

.wave path {
    fill: #ffffff;
}

.wave-flip svg {
    transform: rotate(180deg);
}

/* ============================================
   14. SCROLL-REVEAL ANIMATION
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   15. RESPONSIVE — tablets (up to 1000px)
   ============================================ */

@media (max-width: 1000px) {

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

/* ============================================
   16. RESPONSIVE — phones (700px and below)
   ============================================ */

@media (max-width: 700px) {

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

    nav {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .nav-social {
        justify-content: center;
    }

    section {
        scroll-margin-top: 150px;
    }

    .hero {
        padding: 4.5rem 1.5rem 4rem;
    }

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

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

    .wave svg {
        height: 40px;
    }

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

    .registration-logos {
        gap: 1.5rem;
    }

    .registration-logos img {
        height: 48px;
    }
}

/* ============================================
   17. LEGAL PAGES (privacy notice etc.)
   ============================================ */

.legal {
    max-width: 720px;   /* narrow = comfortable reading width for text */
    padding-top: 3rem;
}

.legal h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.6rem);
    color: var(--teal-dark);
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--ink-soft);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal h2 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--teal-dark);
    margin-top: 2rem;
    margin-bottom: 0.6rem;
}

.legal p {
    margin-bottom: 1rem;
    color: var(--ink);
}

.legal a {
    color: var(--teal);
    font-weight: 600;
}

.legal-back {
    margin-top: 2.5rem;
    font-weight: 600;
}

/* ============================================
   18. TREATMENTS PAGE
   ============================================ */

/* Page header band */
.treatments-hero {
    text-align: center;
    padding-top: 3.5rem;
    padding-bottom: 1rem;
}

.treatments-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--teal-dark);
    margin-bottom: 1rem;
}

.treatments-intro {
    max-width: 40em;
    margin: 0 auto;
    color: var(--ink-soft);
}

/* The stack of treatment blocks, in a readable column */
.treatment-list {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

/* Each treatment card */
.treatment {
    background-color: var(--white);
    border: 1px solid rgba(16, 42, 41, 0.06);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    margin-bottom: 1.75rem;
    scroll-margin-top: 100px; /* land below the sticky nav when linked to */
}

.treatment h2 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--teal-dark);
    margin-bottom: 0.75rem;
}

.treatment-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--teal-soft);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.treatment > .treatment-body > p {
    color: var(--ink);
    margin-bottom: 1.25rem;
}

/* The "What is...?" explainer box — visually distinct, teal-tinted */
.explainer {
    background-color: var(--teal-soft);
    border-left: 4px solid var(--teal);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.explainer h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    color: var(--teal-dark);
    margin-bottom: 0.6rem;
}

.explainer h3 i {
    margin-right: 0.4rem;
    color: var(--teal);
}

.explainer p {
    color: var(--ink);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.explainer-source {
    font-size: 0.82rem !important;
    color: var(--ink-soft) !important;
    font-style: italic;
    margin-bottom: 0 !important;
}

/* Price + button row at the bottom of each treatment */
.treatment-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.treatment-footer .price {
    color: var(--teal-dark);
    font-weight: 700;
    font-size: 0.95rem;
    background-color: var(--teal-soft);
    padding: 0.45rem 1rem;
    border-radius: 999px;
}

/* Closing conversion band */
.cta-band {
    background-color: var(--teal);
    color: var(--white);
    text-align: center;
    max-width: none;
    padding: 4rem 1.5rem;
    margin: 0;
}

.cta-band h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 0.75rem;
    color: var(--white);
}

.cta-band p {
    max-width: 34em;
    margin: 0 auto 2rem;
    opacity: 0.94;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Outline button variant for the phone number in the CTA band */
.button-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: none;
}

.button-outline:hover {
    background-color: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

/* ============================================
   19. BLOG — catalogue + posts
   ============================================ */

/* --- Catalogue page --- */
.blog-hero {
    text-align: center;
    padding-top: 3.5rem;
    padding-bottom: 1rem;
}

.blog-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--teal-dark);
    margin-bottom: 1rem;
}

.blog-intro {
    max-width: 38em;
    margin: 0 auto;
    color: var(--ink-soft);
}

.blog-grid-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

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

.blog-card {
    background-color: var(--white);
    border: 1px solid rgba(16, 42, 41, 0.06);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: 1.75rem;
    text-decoration: none;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}

/* Only real (linked) cards lift on hover */
a.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.blog-card-tag {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    background-color: var(--teal-soft);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.blog-card h2 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: var(--teal-dark);
    margin-bottom: 0.6rem;
}

.blog-card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.blog-card-more {
    margin-top: auto;
    font-weight: 600;
    color: var(--teal);
    font-size: 0.9rem;
}

.blog-card-more i {
    font-size: 0.8rem;
    margin-left: 0.3rem;
}

/* "Coming soon" cards look quieter and aren't clickable */
.blog-card-soon {
    opacity: 0.7;
}

.blog-card-soon .blog-card-more {
    color: var(--ink-soft);
}

/* --- Single post page --- */
.post {
    max-width: 720px;   /* narrow column = comfortable reading */
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2rem;
}

.post-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.post h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    color: var(--teal-dark);
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.post-meta {
    color: var(--ink-soft);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.post-image {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.blog-card-image {
    /* Pull out to the card edges, cancelling the card's padding */
    margin: -1.75rem -1.75rem 1.25rem;
    width: calc(100% + 3.5rem);
    height: 160px;
    object-fit: cover;            /* fill the space, crop nicely, no squashing */
    border-radius: 14px 14px 0 0; /* round only the top corners */
    display: block;
}

.post-lead {
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 2rem;
}

.post h2 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--teal-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.post p {
    color: var(--ink);
    margin-bottom: 1.1rem;
    line-height: 1.75;
}

/* Highlighted takeaway box inside a post */
.post-callout {
    background-color: var(--teal-soft);
    border-left: 4px solid var(--teal);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.post-callout h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--teal-dark);
    margin-bottom: 0.6rem;
}

.post-callout h3 i {
    color: var(--teal);
    margin-right: 0.4rem;
}

.post-callout p {
    margin-bottom: 0;
}

.post-source {
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-style: italic;
    border-top: 1px solid rgba(16, 42, 41, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}
/* ============================================
   20. REVIEWS
   ============================================ */

#reviews {
    text-align: center;
}

#reviews h2 {
    margin-bottom: 2.5rem;
}

.review-grid {
    display: grid;
    /* "Fit as many columns as will fit, each at least 280px wide."
       The grid re-flows itself at any screen size - no media query needed. */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.review-card {
    background-color: var(--white);
    border: 1px solid rgba(16, 42, 41, 0.06);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.stars {
    color: #f4b740;      /* warm gold, the universal review colour */
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.review-text {
    color: var(--ink);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.review-name {
    margin-top: auto;    /* pins the name to the bottom, so cards align */
    font-weight: 700;
    color: var(--teal-dark);
}

/* ============================================
   21. COOKIE CONSENT BANNER
   ============================================ */

.cookie-banner {
    position: fixed;          /* pinned to the window, not the page */
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;             /* above everything, including the nav */
    background-color: var(--teal-dark);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(16, 42, 41, 0.2);
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 0.9rem;
    margin: 0;
    flex: 1 1 320px;          /* takes the space, wraps when tight */
}

.cookie-banner a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-buttons .button {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
}

/* Quieter secondary button for Decline - equal prominence to
   Accept is the fair way to present the choice */
.button-quiet {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: none;
}

.button-quiet:hover {
    background-color: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

/* Message shown where the map would be, if cookies are declined */
.map-placeholder {
    font-size: 0.88rem;
    color: var(--ink-soft);
    background-color: var(--white);
    border: 1px dashed rgba(16, 42, 41, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 0;
    line-height: 1.5;
}

.map-placeholder a {
    color: var(--teal);
    font-weight: 600;
}