/**
 * Location Landing Page Stylesheet
 * MindLAB Neuroscience — location page template styles.
 *
 * Placement: wp-content/themes/hello-elementor-child/css/location-page.css
 * Enqueued conditionally on Location Landing Page template only.
 */

/* ============================================================
   0. Reset — Browser Details/Summary Defaults + Box Sizing
   ============================================================ */

/* 2026-03-08: box-sizing reset — prevents padding from causing overflow at narrow viewports (Fix 1) */
.location-page *,
.location-page *::before,
.location-page *::after {
    box-sizing: border-box;
}

details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

/* ============================================================
   1. Layout
   ============================================================ */

.location-page {
    font-family: 'Instrument Sans', sans-serif;
    color: #2C3539;
    /* 2026-03-07: All location page text left-aligned; bottom CTA overrides to center */
    text-align: left;
    /* 2026-03-08: Prevent horizontal overflow at 375px and below (Fix 1) */
    overflow-x: hidden;
    /* 2026-03-08: Prevent long words from breaking layout on mobile */
    word-wrap: break-word;
    overflow-wrap: break-word;
    /* 2026-03-08: Cream background on entire page — prevents #05141B body bg from bleeding
       between sections. Hero/breadcrumb/CTA override to dark explicitly. */
    background-color: #F4F3EE;
}

.location-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ============================================================
   2. Breadcrumb
   ============================================================ */

.location-breadcrumb {
    /* 2026-03-07: Clear fixed header (announcement bar ~31px + nav ~100px) */
    padding: 16px 0;
    padding-top: 140px;
    font-size: 14px;
    line-height: 1;
    color: #2C3539;
    /* 2026-03-08: Explicit dark bg — prevents body #05141B bleed-through gap */
    background-color: #05141B;
}

.location-breadcrumb a {
    color: #A56D5B;
    text-decoration: none;
    font-weight: 500;
}

.location-breadcrumb a:hover {
    text-decoration: underline;
}

.location-breadcrumb__sep {
    margin: 0 8px;
    color: #2C353966;
}

.location-breadcrumb span[aria-current="page"] {
    /* 2026-03-07: Bumped from #2C353999 for contrast against dark header */
    color: rgba(244, 243, 238, 0.7);
    font-weight: 400;
}

/* ============================================================
   3. Hero
   ============================================================ */

.location-hero {
    width: 100%;
    /* 2026-03-08: Solid fallback — prevents body #05141B showing through semi-transparent overlay when no hero image set */
    background-color: #05141B;
    background-size: cover;
    background-position: center;
    min-height: 500px;
    position: relative;
}

.location-hero__overlay {
    background: linear-gradient(rgba(5, 20, 27, 0.7), rgba(5, 20, 27, 0.7));
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.location-hero__content {
    text-align: left;
    padding: 40px 24px;
}

.location-hero__headline {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin: 0 0 16px;
}

.location-hero__subhead {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #FFFFFFDE;
    max-width: 700px;
    font-size: 1.125rem;
    margin: 0 0 24px;
    line-height: 1.6;
}

/* 2026-03-08: Service intro paragraph inside hero — lighter weight, slightly smaller than subhead */
.location-hero__intro {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 32px;
}

.location-hero__intro p {
    margin: 0;
}

/* ============================================================
   4. Button
   ============================================================ */

.location-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
    cursor: pointer;
}

.location-btn--primary {
    background-color: #A56D5B;
    color: #FFFFFF;
    border: none;
}

/* 2026-03-07: Override CSS Engine global a:not(.elementor-button) copper color */
a.location-btn--primary,
a.location-btn--primary:visited {
    color: #FFFFFF !important;
}

a.location-btn--primary:hover {
    background-color: #8E5D4E;
    color: #FFFFFF !important;
}

/* ============================================================
   5. NAP (Name, Address, Phone) + Map — Core Only
   ============================================================ */

.location-nap {
    background-color: #F4F3EE;
    padding: 80px 0;
}

.location-nap__grid {
    display: grid;
    /* 2026-03-07: Widen address card to reduce H2 wrapping on long city names */
    grid-template-columns: 3fr 2fr;
    gap: 32px;
}

.location-nap__address-card {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.location-nap__heading {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #A56D5B;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    margin-bottom: 16px;
}

.location-nap__line {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
    margin: 4px 0;
}

.location-nap__phone a,
.location-nap__email a {
    color: #A56D5B;
    text-decoration: none;
}

.location-nap__phone a:hover,
.location-nap__email a:hover {
    text-decoration: underline;
}

.location-nap__map iframe {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    border: none;
}

/* ============================================================
   6. Services Accordion
   ============================================================ */

.location-services {
    background-color: #F4F3EE;
    padding: 80px 0;
}

.location-services__heading {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #A56D5B;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.location-services__item {
    border-bottom: 1px solid #05141B1A;
    padding: 0;
}

.location-services__name {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    color: #2C3539;
    padding: 16px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-services__name::after {
    content: "+";
    color: #A56D5B;
    font-size: 1.25rem;
    transition: transform 0.2s;
}

.location-services__item[open] .location-services__name::after {
    content: "\2212";
}

.location-services__description {
    padding: 0 0 16px 0;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
}

/* ============================================================
   7. Local Context
   ============================================================ */

.location-context {
    background-color: #F4F3EE;
    padding: 80px 0;
}

.location-context__visible {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
    font-size: 1rem;
    line-height: 1.7;
}

.location-read-more-toggle {
    background: none;
    border: none;
    color: #A56D5B;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px 0;
    display: inline-block;
}

.location-read-more-toggle:hover {
    color: #8E5D4E;
}

/* 2026-03-08: Replace browser blue outline with brand copper */
.location-read-more-toggle:focus-visible {
    outline: 2px solid #A56D5B;
    outline-offset: 2px;
}

.location-read-more-content {
    padding-top: 16px;
}

/* ============================================================
   8. Credentials
   ============================================================ */

.location-credentials {
    background-color: #F4F3EE;
    padding: 80px 0;
}

.location-credentials__card {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
    line-height: 1.7;
    /* 2026-03-07: 2-column layout — photo left, bio right */
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: start;
}

.location-credentials__photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* ============================================================
   9. FAQ Accordion — Restyled to match S27 CSS Engine accordion
   2026-03-09: Navy heading bars, copper active border, cream panels
   ============================================================ */

.location-faq {
    background-color: #F4F3EE;
    padding: 80px 0;
}

.location-faq__heading {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #8E5D4E;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    margin-bottom: 24px;
}

.location-faq__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-faq__item {
    background-color: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.location-faq__question {
    /* 2026-03-09: Navy heading bar — matches S27 .light-bg .ml-accordion .uc-heading */
    background-color: #05141B;
    border: 1px solid #05141B2E;
    border-radius: 8px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    font-size: clamp(1rem, calc(0.88rem + 0.52vw), 1.25rem);
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.2s;
}

.location-faq__item[open] .location-faq__question {
    /* 2026-03-09: Active state — copper border, top-only radius */
    border-color: #A56D5B;
    border-radius: 8px 8px 0 0;
}

.location-faq__question::after {
    content: "+";
    color: #A56D5B;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.location-faq__item[open] .location-faq__question::after {
    content: "\2212";
}

.location-faq__answer {
    /* 2026-03-09: Cream panel with copper border — matches S27 .ml-accordion .uc_content */
    background-color: #F4F3EE;
    border: 1px solid #A56D5B;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 28px 24px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
    font-size: clamp(0.9375rem, calc(0.82rem + 0.50vw), 1.0625rem);
    line-height: 1.65;
}

.location-faq__answer p {
    margin: 0 0 12px;
}

.location-faq__answer p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   10. Testimonials
   ============================================================ */

.location-testimonials {
    background-color: #F4F3EE;
    padding: 80px 0;
}

.location-testimonials__heading {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #A56D5B;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.location-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.location-testimonials__card {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    border-left: 3px solid #A56D5B;
    margin: 0;
}

.location-testimonials__quote {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-style: italic;
    font-size: 1.375rem;
    color: #2C3539;
    line-height: 1.5;
    margin-bottom: 16px;
}

.location-testimonials__footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.location-testimonials__attribution {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
    font-style: normal;
    font-size: 0.875rem;
}

.location-testimonials__location {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #A56D5B;
    font-size: 0.8125rem;
}

/* ============================================================
   11. Nearby Locations
   ============================================================ */

.location-nearby {
    background-color: #F4F3EE;
    padding: 80px 0;
}

.location-nearby__heading {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #A56D5B;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.location-nearby__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.location-nearby__card {
    display: block;
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #05141B1A;
    transition: border-color 0.2s;
    position: relative;
}

.location-nearby__card:hover {
    border-color: #A56D5B;
}

.location-nearby__name {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    color: #A56D5B;
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.location-nearby__desc {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.location-nearby__arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #A56D5B;
    font-size: 1.25rem;
}

/* ============================================================
   12. Bottom CTA
   ============================================================ */

.location-cta {
    background-color: #05141B;
    padding: 80px 0;
}

/* 2026-03-07: 2-column grid — copy left, image right */
.location-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.location-cta__copy {
    text-align: left;
}

.location-cta__heading {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #A56D5B;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.location-cta__subhead {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #FFFFFFDE;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 16px 0 32px;
}

.location-cta__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* ============================================================
   13. Locations Hub
   ============================================================ */

.location-hub__hero {
    background-color: #05141B;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 80px 0;
    /* 2026-03-07: Clear fixed header */
    padding-top: 180px;
    position: relative;
}

/* 2026-03-08: Dark overlay so white text stays readable over hero image */
.location-hub__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 27, 0.88);
    pointer-events: none;
}

.location-hub__hero .location-container {
    position: relative;
    z-index: 1;
}

.location-hub__headline {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    color: #F4F3EE;
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin: 0 0 16px;
}

.location-hub__intro {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #FFFFFFDE;
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 0 32px;
}

.location-hub__section {
    background-color: #F4F3EE;
    padding: 80px 0;
}

.location-hub__section-heading {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #A56D5B;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    margin-bottom: 24px;
}

/* ============================================================
   14. Responsive — Tablet (max-width: 1024px)
   ============================================================ */

@media (max-width: 1024px) {

    .location-nap__grid {
        grid-template-columns: 1fr;
    }

    .location-nearby__grid {
        grid-template-columns: 1fr;
    }

    /* 2026-03-07: Stack CTA on tablet */
    .location-cta__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .location-cta__copy {
        text-align: center;
    }

    .location-cta__subhead {
        margin-left: auto;
        margin-right: auto;
    }

    .location-cta__image img {
        max-width: 500px;
        margin: 0 auto;
        display: block;
    }

}

/* ============================================================
   14. Responsive — Mobile (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {

    /* 2026-03-07: Announcement bar hidden on mobile, less header clearance needed */
    .location-breadcrumb {
        padding-top: 100px;
    }

    .location-hero {
        min-height: 400px;
    }

    /* 2026-03-08: Force hero content to stay in normal document flow at tablet/mobile.
       Prevents negative positioning from Elementor header/sticky JS (Fix 2). */
    .location-hero,
    .location-hero__overlay,
    .location-hero__content {
        position: relative;
        top: auto;
        transform: none;
    }

    .location-nap,
    .location-services,
    .location-context,
    .location-credentials,
    .location-faq,
    .location-testimonials,
    .location-nearby {
        padding: 48px 0;
    }

    .location-cta {
        padding: 48px 0;
    }

    .location-nap__grid {
        grid-template-columns: 1fr;
    }

    .location-nearby__grid {
        grid-template-columns: 1fr;
    }

    .location-testimonials__grid {
        grid-template-columns: 1fr;
    }

    /* 2026-03-07: Stack credentials photo above text on mobile */
    .location-credentials__card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .location-credentials__photo img {
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }

}

/* ============================================================
   15. Tier 1 — Category Intro
   ============================================================ */

.location-cat-intro {
    background-color: #F4F3EE;
    padding: 60px 0 0;
}

.location-cat-intro__text {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 800px;
}

/* ============================================================
   16. Tier 1 — Category Service Sections
   ============================================================ */

.location-cat-services {
    background-color: #F4F3EE;
    padding: 80px 0;
}

.location-cat-services__item {
    padding: 40px 0;
    border-bottom: 1px solid #05141B1A;
}

.location-cat-services__item:first-child {
    padding-top: 0;
}

.location-cat-services__item:last-child {
    border-bottom: none;
}

.location-cat-services__name {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #A56D5B;
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    margin: 0 0 16px;
}

.location-cat-services__content {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
    line-height: 1.7;
    max-width: 800px;
}

.location-cat-services__content p {
    margin-bottom: 12px;
}

/* 2026-03-09: H2 rules for T1 service content and context sections */
.location-cat-services__content h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #8E5D4E;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    margin: 24px 0 12px;
}

.location-context__visible h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #8E5D4E;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    margin: 40px 0 16px;
}

.location-cat-services__link {
    display: inline-block;
    margin-top: 12px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    color: #A56D5B;
    text-decoration: none;
    transition: color 0.2s;
}

.location-cat-services__link:hover {
    color: #8E5D4E;
    text-decoration: underline;
}

/* ============================================================
   17. Tier 2 — Service Intro
   ============================================================ */

.location-svc-intro {
    background-color: #F4F3EE;
    padding: 60px 0 0;
}

.location-svc-intro__text {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 800px;
}

/* ============================================================
   18. Tier 2 — Service Main Content
   ============================================================ */

.location-svc-content {
    background-color: #F4F3EE;
    padding: 48px 0 60px;
}

.location-svc-content__body {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
    line-height: 1.7;
    max-width: 800px;
}

.location-svc-content__body h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    /* 2026-03-09: Dark copper for H2 on light bg per Visual Identity Protocol */
    color: #8E5D4E;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    margin: 40px 0 16px;
}

.location-svc-content__body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: #8BADC4;
    font-size: clamp(1.375rem, 2.1vw, 1.75rem);
    margin: 32px 0 12px;
}

.location-svc-content__body p {
    margin-bottom: 16px;
}

.location-svc-content__body ul,
.location-svc-content__body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.location-svc-content__body li {
    margin-bottom: 8px;
}

/* ============================================================
   19. Tier 2 — City-Specific Section
   ============================================================ */

.location-svc-city {
    background-color: #F4F3EE;
    padding: 0 0 60px;
}

.location-svc-city__heading {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #A56D5B;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    margin: 0 0 16px;
}

.location-svc-city__content {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
    line-height: 1.7;
    max-width: 800px;
}

.location-svc-city__content p {
    margin-bottom: 12px;
}

/* 2026-03-09: H2 rules for city-specific content section */
.location-svc-city__content h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #8E5D4E;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    margin: 40px 0 16px;
}

.location-svc-city__content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: #8BADC4;
    font-size: clamp(1.375rem, 2.1vw, 1.75rem);
    margin: 32px 0 12px;
}

/* ============================================================
   20. Shared — Parent Link
   ============================================================ */

.location-parent-link {
    background-color: #F4F3EE;
    padding: 24px 0;
}

.location-parent-link__anchor {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    color: #A56D5B;
    text-decoration: none;
    transition: color 0.2s;
}

.location-parent-link__anchor:hover {
    color: #8E5D4E;
    text-decoration: underline;
}

/* ============================================================
   21. Tier 2 — Related Services Grid
   ============================================================ */

.location-related {
    background-color: #F4F3EE;
    padding: 60px 0;
}

.location-related__heading {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #A56D5B;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    margin-bottom: 24px;
}

.location-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.location-related__card {
    display: block;
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #05141B1A;
    transition: border-color 0.2s;
    position: relative;
}

.location-related__card:hover {
    border-color: #A56D5B;
}

.location-related__name {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    color: #A56D5B;
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.location-related__desc {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    color: #2C3539;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.location-related__arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #A56D5B;
    font-size: 1.25rem;
}

/* ============================================================
   22. Responsive — Tier 1/2 Tablet (max-width: 1024px)
   ============================================================ */

@media (max-width: 1024px) {

    .location-related__grid {
        grid-template-columns: 1fr;
    }

}

/* ============================================================
   23. Responsive — Tier 1/2 Mobile (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {

    .location-cat-intro,
    .location-svc-intro {
        padding: 32px 0 0;
    }

    .location-cat-services,
    .location-svc-content,
    .location-related {
        padding: 48px 0;
    }

    .location-svc-city {
        padding: 0 0 32px;
    }

    .location-cat-services__item {
        padding: 24px 0;
    }

    .location-parent-link {
        padding: 16px 0;
    }

}

/* ============================================================
   24. References — E-E-A-T Citation Block (2026-03-09)
   ============================================================ */

.location-references {
    background-color: #F4F3EE;
    padding: 0 0 60px;
}

.location-references__heading {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-style: italic;
    color: #8BADC4;
    font-size: clamp(1.375rem, 2.1vw, 1.75rem);
    margin: 0 0 16px;
}

.location-references__content {
    font-family: "Instrument Sans", sans-serif;
    font-weight: 400;
    color: #2C3539;
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 800px;
    opacity: 0.75;
}

.location-references__content p {
    margin-bottom: 10px;
}

/* 2026-03-09: Auto-linked DOI/URL styling */
.location-references__content a {
    color: #8E5D4E;
    text-decoration: underline;
    text-decoration-color: rgba(142, 93, 78, 0.4);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s;
    word-break: break-all;
}

.location-references__content a:hover {
    text-decoration-color: #8E5D4E;
}
