/* ============================================================
   PitchPulse - Place & Attraction Pages
   Local guides, attraction cards, place layouts
   ============================================================ */

/* ── Card Grid ────────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.card-grid--2 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card-grid--3 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card-grid--4 {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

@media (max-width: 640px) {
    .card-grid,
    .card-grid--2,
    .card-grid--3,
    .card-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* ── Search Form ──────────────────────────────────────────── */
.search-form {
    margin: 0 auto;
    max-width: 680px;
}

.search-form--hero {
    margin-top: 2rem;
}

.search-form__wrapper {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.06);
    padding: 4px;
    transition: box-shadow 0.2s ease;
}

.search-form__wrapper:focus-within {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
}

.search-form__input {
    flex: 1;
    border: none;
    background: none;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    outline: none;
}

.search-form__button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--pp-green, #2D6A4F);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-form__button:hover {
    background: var(--pp-green-dark, #1B5E3F);
    transform: translateY(-1px);
}

.search-form__results {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.search-form__results .link--reset {
    color: var(--pp-green, #2D6A4F);
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* ── Section Flush (no vertical padding) ─────────────────── */
.section.section--flush {
    padding-top: 0;
    padding-bottom: 0;
}

/* ── Advanced Filter Bar ──────────────────────────────────── */
.filter-bar--advanced {
    background: #f9f8f6;
    border-radius: 12px;
    padding: 1.25rem;
    margin: -0.5rem 0 1.5rem;
}

.filter-bar__row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.filter-bar__row:last-child {
    margin-bottom: 0;
}

.filter-bar__group--location {
    flex: 1;
}

.filter-bar__group--view {
    flex-shrink: 0;
}

.filter-bar__group--full {
    flex: 1;
}

.filter-bar__selects {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-bar__select {
    flex: 1;
    min-width: 160px;
    padding: 0.5rem 0.875rem;
    border: 1px solid #e0ddd7;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-bar__select:hover {
    border-color: var(--pp-green, #2D6A4F);
}

.filter-bar__select:focus {
    outline: none;
    border-color: var(--pp-green, #2D6A4F);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.filter-bar__pills--wrap {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-bar__more {
    position: relative;
    display: inline-block;
}

.pill--more {
    cursor: pointer;
    background: #fff;
    border: 1px dashed #ddd;
}

.pill--more:hover {
    border-color: var(--pp-green, #2D6A4F);
}

.filter-bar__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 0.5rem;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
}

.filter-bar__dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0.875rem;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-bar__dropdown-item:hover {
    background: #f5f3f0;
}

.filter-bar__dropdown-item.active {
    background: var(--pp-green, #2D6A4F);
    color: white;
}

.filter-bar__dropdown-item .count {
    font-size: 0.85rem;
    opacity: 0.7;
}

.pill--toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* ── Results Header ───────────────────────────────────────── */
.results-header {
    margin-bottom: 1.5rem;
}

.results-count {
    font-size: 0.9rem;
    color: #666;
}

.results-count .link--reset {
    margin-left: 1rem;
    color: var(--pp-green, #2D6A4F);
    text-decoration: underline;
}

/* ── Empty State ──────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state__icon {
    color: #ddd;
    margin-bottom: 1.5rem;
}

.empty-state h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.empty-state p {
    color: #666;
    margin-bottom: 1.5rem;
}

.empty-state .button {
    display: inline-block;
}

/* ── Map View ─────────────────────────────────────────────── */
.attraction-map {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

@media (max-width: 768px) {
    .attraction-map {
        height: 400px;
    }
}

/* Map Popup */
.map-popup {
    padding: 0.75rem;
    min-width: 200px;
}

.map-popup h3 {
    font-size: 1rem;
    margin: 0 0 0.25rem;
    color: #1a1a1a;
}

.map-popup__type {
    font-size: 0.875rem;
    color: var(--pp-green, #2D6A4F);
    text-transform: capitalize;
    margin: 0 0 0.5rem;
}

.map-popup__location {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 0.25rem;
}

.map-popup__parks {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 0.75rem;
}

.map-popup__link {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--pp-green, #2D6A4F);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.map-popup__link:hover {
    color: var(--pp-green-dark, #1B5E3F);
}

/* Map Legend */
.map-legend {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 1rem;
    max-width: 200px;
}

.map-legend h4 {
    font-size: 0.875rem;
    margin: 0 0 0.75rem;
    color: #333;
}

.map-legend__items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.map-legend__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

.map-legend__color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Attraction Map Marker Hover */
.attraction-marker:hover .attraction-marker__dot {
    transform: scale(1.35);
}

/* MapLibre Popup Override (match /map Leaflet popup styling) */
.pp-popup-wrapper .maplibregl-popup-content {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    width: 280px;
}

.pp-popup-wrapper .maplibregl-popup-close-button {
    font-size: 18px;
    padding: 4px 8px;
    color: #666;
    z-index: 2;
}

.pp-popup-wrapper .maplibregl-popup-close-button:hover {
    color: #333;
    background: rgba(0,0,0,0.05);
}

.pp-popup-wrapper .maplibregl-popup-tip {
    border-top-color: #fff;
}

.pp-popup-wrapper .pp-popup__title {
    display: block;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--text-primary, #1e293b);
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 2px;
}

.pp-popup-wrapper .pp-popup__title:hover {
    color: var(--pp-green, #2D6A4F);
}

.pp-popup-wrapper .pp-popup__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border: none;
    outline: none;
    background: var(--pp-green, #2D6A4F);
    transition: background 0.15s;
    white-space: nowrap;
}

.pp-popup-wrapper .pp-popup__cta:hover {
    background: #1B4332;
}

.pp-popup-wrapper .pp-popup__cta--attraction {
    background: #d97706;
}

.pp-popup-wrapper .pp-popup__cta--attraction:hover {
    background: #b45309;
}

[data-theme="dark"] .pp-popup-wrapper .maplibregl-popup-content {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .pp-popup-wrapper .maplibregl-popup-tip {
    border-top-color: #1a1a2e;
}

[data-theme="dark"] .pp-popup-wrapper .pp-popup__title {
    color: #f1f5f9;
}

/* ── Featured Section ─────────────────────────────────────── */
.section--featured {
    background: linear-gradient(to bottom, #fff, #faf9f7);
    border-top: 1px solid #f0ede8;
    padding-top: 3rem;
}

.section__title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.section__subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2.5rem;
}

/* ── Card Variants ────────────────────────────────────────── */
.card--featured {
    display: flex;
    flex-direction: column;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-xl, 0.75rem);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pp-green, #2D6A4F), var(--pp-green-light, #40916C), var(--pp-gold, #C9983A));
    opacity: 0.85;
    transition: opacity 0.2s;
}

.card--featured[data-category="nature"]::before {
    background: linear-gradient(90deg, #16a34a, #22c55e, #4ade80);
}
.card--featured[data-category="heritage"]::before {
    background: linear-gradient(90deg, #b45309, #d97706, #f59e0b);
}
.card--featured[data-category="leisure"]::before {
    background: linear-gradient(90deg, #4f46e5, #6366f1, #818cf8);
}
.card--featured[data-category="water"]::before {
    background: linear-gradient(90deg, #0284c7, #0ea5e9, #38bdf8);
}
.card--featured[data-category="culture"]::before {
    background: linear-gradient(90deg, #7c3aed, #8b5cf6, #a78bfa);
}

.card--featured .card__body {
    padding: 1.5rem 1.5rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card--featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
    border-color: var(--pp-green, #2D6A4F);
}

.card--featured:hover::before {
    opacity: 1;
}

.card--featured .card__header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.card--featured .card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.card--featured .card__meta {
    font-size: 0.8125rem;
    color: var(--text-secondary, #64748b);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card--featured .card__stats {
    margin-top: auto;
    padding-top: 0.75rem;
}

.card--featured .card__excerpt {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-secondary, #475569);
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card--featured .card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.5rem;
    border-top: 1px solid var(--border, #e2e8f0);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--pp-green, #2D6A4F);
    transition: background 0.2s, color 0.2s;
    background: var(--bg-section-alt, rgba(45, 106, 79, 0.02));
}

.card--featured:hover .card__footer {
    background: var(--accent-glow, rgba(45, 106, 79, 0.06));
    color: var(--pp-green-dark, #1B4332);
}

.card--featured .card__footer svg {
    transition: transform 0.2s;
}

.card--featured:hover .card__footer svg {
    transform: translateX(3px);
}

.card__icon--large {
    font-size: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card__badge--featured {
    display: inline-block;
    background: var(--pp-green, #2D6A4F);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.1875rem 0.625rem;
    border-radius: 999px;
    margin-bottom: 0.375rem;
}

.card__stat--primary {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--pp-green, #2D6A4F);
    font-weight: 600;
    font-size: 0.8125rem;
    background: var(--accent-glow, rgba(45, 106, 79, 0.08));
    padding: 0.3125rem 0.625rem;
    border-radius: 999px;
}

.card__stat--primary svg {
    color: var(--pp-green, #2D6A4F);
    flex-shrink: 0;
}

.card__stat--muted {
    color: #999;
    font-size: 0.875rem;
}

/* ── Improved Pagination ──────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
}

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

.pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #666;
    transition: all 0.2s ease;
}

.pagination__page:hover {
    background: #f5f3f0;
    color: var(--pp-green, #2D6A4F);
}

.pagination__page--active {
    background: var(--pp-green, #2D6A4F);
    color: white;
    font-weight: 600;
}

.pagination__ellipsis {
    color: #999;
    padding: 0 0.5rem;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1.25rem;
    background: white;
    border: 1px solid #e0ddd7;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination__link:hover {
    border-color: var(--pp-green, #2D6A4F);
    color: var(--pp-green, #2D6A4F);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .filter-bar__row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-bar__group--view {
        width: 100%;
    }
    
    .filter-bar__selects {
        flex-direction: column;
    }
    
    .filter-bar__select {
        width: 100%;
    }
    
    .pagination__pages {
        display: none;
    }
}

/* ── Place Layout (main + sidebar) ────────────────────────── */
.place-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.place-layout__main {
    min-width: 0;
}

.place-layout__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: calc(var(--header-height, 64px) + 1.5rem);
}

@media (max-width: 1024px) {
    .place-layout {
        grid-template-columns: 1fr;
    }
    .place-layout__sidebar {
        position: static;
    }
}

/* ── Hero (Place variant) ─────────────────────────────────── */
.hero.hero--place {
    background:
        linear-gradient(175deg,
            rgba(253, 250, 243, 0.85) 0%,
            rgba(251, 247, 238, 0.70) 30%,
            rgba(250, 244, 230, 0.58) 50%,
            rgba(249, 242, 229, 0.55) 75%,
            rgba(247, 243, 235, 0.72) 100%
        ),
        url('/images/hero-bg.jpg') center 60% / cover no-repeat;
    padding: calc(var(--header-height, 64px) + 2.5rem) 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero--place::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(255,255,255,0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 20%, rgba(255,255,255,0.10) 0%, transparent 40%);
    pointer-events: none;
}

.hero--place .container {
    position: relative;
    z-index: 1;
}

.hero--place .hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pp-green, #2D6A4F);
    margin-bottom: 0.625rem;
    opacity: 0.85;
}

.hero--place .hero__eyebrow a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(45, 106, 79, 0.35);
    transition: text-decoration-color 0.15s;
}

.hero--place .hero__eyebrow a:hover {
    text-decoration-color: rgba(45, 106, 79, 0.7);
}

.hero--place .hero__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--text-primary, #1e293b);
    margin: 0 0 0.625rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 3px rgba(253, 250, 243, 0.6);
}

.hero--place .hero__subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary, #475569);
    margin: 0;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(253, 250, 243, 0.5);
}

/* Hero Highlight Pills */
.hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.hero__highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.875rem;
    background: var(--pp-green, #2D6A4F);
    border: 1px solid var(--pp-green, #2D6A4F);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.15s;
}

.hero__highlight-pill:hover {
    background: var(--pp-green-dark, #1B4332);
    border-color: var(--pp-green-dark, #1B4332);
}

.hero__highlight-pill svg {
    color: #fff;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero.hero--place {
        padding: calc(var(--header-height, 56px) + 1.5rem) 1rem 2rem;
    }

    .hero--place .hero__title {
        font-size: 1.75rem;
    }
}

/* ── Hero with Photo Background (attraction / place detail) ─ */
.hero.hero--photo::before { display: none; }
[data-theme="dark"] .hero--place.hero--photo { background: inherit; }

.hero--place.hero--photo .hero__eyebrow {
    color: rgba(255,255,255,0.92);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}
.hero--place.hero--photo .hero__eyebrow a {
    color: #fff;
    text-decoration-color: rgba(255,255,255,0.5);
}
.hero--place.hero--photo .hero__eyebrow a:hover {
    text-decoration-color: #fff;
}
.hero--place.hero--photo .hero__title {
    color: #fff;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.5),
        0 4px 16px rgba(0,0,0,0.35),
        0 0 40px rgba(0,0,0,0.15);
}
.hero--place.hero--photo .hero__subtitle {
    color: rgba(255,255,255,0.92);
    text-shadow:
        0 1px 3px rgba(0,0,0,0.5),
        0 2px 10px rgba(0,0,0,0.25);
}
.hero--place.hero--attraction .hero__title {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.35);
}
.hero--place.hero--attraction .hero__subtitle {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.hero__attribution {
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
    font-size: 0.625rem;
    color: rgba(255,255,255,0.55);
    z-index: 2;
    line-height: 1.3;
}
.hero__attribution a {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(255,255,255,0.3);
}
.hero__attribution a:hover { color: #fff; text-decoration-color: rgba(255,255,255,0.6); }
.hero__google-attr {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 2px 8px;
    background: rgba(0,0,0,0.5);
    border-radius: 3px;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    z-index: 2;
    line-height: 1.4;
}
.hero__google-attr a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(255,255,255,0.4);
}
.hero__google-attr a:hover {
    color: #fff;
    text-decoration-color: rgba(255,255,255,0.7);
}

/* ── Hero Plain (gradient only, no image) ───────────────────── */
.hero--plain {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.55) 35%,
        rgba(0, 0, 0, 0.72) 100%
    );
}

/* ── Hero with Map Background ────────────────────────────── */
.hero--map {
    position: relative;
    overflow: hidden;
}
.hero--map #hero-map {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero--map::before { display: none; }
.hero--map::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.55) 100%
    );
    pointer-events: none;
}
.hero--map .container {
    position: relative;
    z-index: 2;
}
.hero--map .hero__eyebrow {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}
.hero--map .hero__eyebrow a {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.5);
}
.hero--map .hero__eyebrow a:hover {
    text-decoration-color: #fff;
}
.hero--map .hero__title {
    color: #fff;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.35);
}
.hero--map .hero__subtitle {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.hero--map .hero__highlight-pill {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.hero-map-marker {
    cursor: default;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
[data-theme="dark"] .hero--map::after {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.50) 50%,
        rgba(0, 0, 0, 0.70) 100%
    );
}

/* ── Breadcrumbs ────────────────────────────────────────── */
.breadcrumbs {
    padding: 0.75rem 0;
    font-size: 0.8125rem;
}
.breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}
.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
}
.breadcrumbs__link {
    color: var(--accent, #2D6A4F);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}
.breadcrumbs__link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.breadcrumbs__sep {
    margin: 0 0.375rem;
    color: var(--text-muted, #94a3b8);
    font-weight: 400;
}
.breadcrumbs__current {
    color: var(--text-secondary, #64748b);
    font-weight: 500;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
[data-theme="dark"] .breadcrumbs__link { color: var(--pp-green-lighter, #95D5B2); }
[data-theme="dark"] .breadcrumbs__current { color: rgba(255,255,255,0.6); }

/* ── Hero Compact (index pages) ──────────────────────────── */
.hero.hero--compact {
    min-height: auto;
    padding: calc(var(--header-height, 64px) + 2rem) 0 2rem;
    background:
        linear-gradient(175deg,
            rgba(253, 250, 243, 0.88) 0%,
            rgba(251, 247, 238, 0.75) 30%,
            rgba(250, 244, 230, 0.62) 50%,
            rgba(249, 242, 229, 0.60) 75%,
            rgba(247, 243, 235, 0.75) 100%
        ),
        url('/images/hero-bg.jpg') center 40% / cover no-repeat;
}

.hero--compact .hero__title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--text-primary, #1e293b);
    margin: 0 0 0.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero--compact .hero__accent {
    color: var(--pp-green, #2D6A4F);
}

.hero--compact .hero__subtitle {
    font-size: 1rem;
    color: var(--text-secondary, #475569);
    margin: 0;
    max-width: 600px;
}

[data-theme="dark"] .hero.hero--compact {
    background:
        linear-gradient(175deg,
            rgba(13, 27, 20, 0.88) 0%,
            rgba(18, 36, 26, 0.80) 30%,
            rgba(22, 45, 33, 0.72) 50%,
            rgba(22, 45, 33, 0.72) 75%,
            rgba(13, 27, 20, 0.88) 100%
        ),
        url('/images/hero-bg.jpg') center 40% / cover no-repeat;
}

/* ── Place Guide / Narrative ──────────────────────────────── */
.place-guide {
    margin-bottom: 2.5rem;
}

.place-guide__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.place-guide__prose {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary, #475569);
}

.place-guide__prose p {
    margin: 0 0 1rem;
}

/* ── Place Sections ───────────────────────────────────────── */
.place-section {
    margin-bottom: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border, #e2e8f0);
}

.place-section__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin: 0 0 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.place-section__title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: var(--accent-glow, rgba(45, 106, 79, 0.08));
    color: var(--pp-green, #2D6A4F);
    flex-shrink: 0;
}

.place-section__subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary, #64748b);
    margin: 0 0 1.25rem;
}

.place-section__more {
    margin-top: 1.25rem;
    text-align: center;
}

/* ── Attraction Grid ──────────────────────────────────────── */
.attraction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}

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

/* ── Attraction Card ──────────────────────────────────────── */
.attraction-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-lg, 0.625rem);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.attraction-card:hover {
    border-color: var(--pp-green, #2D6A4F);
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.08);
    transform: translateY(-2px);
}

.attraction-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: var(--accent-glow, rgba(45, 106, 79, 0.08));
    color: var(--pp-green, #2D6A4F);
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

/* ── Icon Category Colours ───────────────────────────────── */
.attraction-card__icon[data-category="nature"] {
    background: rgba(34, 197, 94, 0.10);
    color: #16a34a;
}
.attraction-card__icon[data-category="heritage"] {
    background: rgba(217, 119, 6, 0.10);
    color: #b45309;
}
.attraction-card__icon[data-category="leisure"] {
    background: rgba(99, 102, 241, 0.10);
    color: #4f46e5;
}
.attraction-card__icon[data-category="food"] {
    background: rgba(249, 115, 22, 0.10);
    color: #ea580c;
}
.attraction-card__icon[data-category="transport"] {
    background: rgba(107, 114, 128, 0.10);
    color: #4b5563;
}
.attraction-card__icon[data-category="water"] {
    background: rgba(14, 165, 233, 0.10);
    color: #0284c7;
}
.attraction-card__icon[data-category="culture"] {
    background: rgba(168, 85, 247, 0.10);
    color: #7c3aed;
}

.attraction-card__body {
    flex: 1;
    min-width: 0;
}

.attraction-card__name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attraction-card__type {
    display: block;
    font-size: 0.6875rem;
    color: var(--pp-green, #2D6A4F);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    margin-top: 0.125rem;
}

/* Category-specific type label colours */
.attraction-card[data-category="nature"] .attraction-card__type { color: #16a34a; }
.attraction-card[data-category="heritage"] .attraction-card__type { color: #b45309; }
.attraction-card[data-category="leisure"] .attraction-card__type { color: #4f46e5; }
.attraction-card[data-category="food"] .attraction-card__type { color: #ea580c; }
.attraction-card[data-category="transport"] .attraction-card__type { color: #4b5563; }
.attraction-card[data-category="water"] .attraction-card__type { color: #0284c7; }
.attraction-card[data-category="culture"] .attraction-card__type { color: #7c3aed; }

.attraction-card__distance {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-tertiary, #94a3b8);
    background: var(--bg-section-alt, #f8fafc);
    padding: 0.1875rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.attraction-card__arrow {
    flex-shrink: 0;
    color: var(--text-tertiary, #94a3b8);
    transition: transform 0.15s, color 0.15s;
}

.attraction-card:hover .attraction-card__arrow {
    transform: translateX(3px);
    color: var(--pp-green, #2D6A4F);
}

/* ── Compact Variant (sidebar) ───────────────────────────── */
.attraction-card--compact {
    padding: 0.625rem 0.5rem;
    border: none;
    border-bottom: 1px solid var(--border-light, #f1f5f9);
    border-radius: 0;
    background: transparent;
}

.attraction-card--compact:last-child {
    border-bottom: none;
}

.attraction-card--compact:hover {
    background: var(--bg-section-alt, #f8fafc);
    border-color: var(--border-light, #f1f5f9);
    box-shadow: none;
    transform: none;
    border-radius: var(--radius-md, 0.5rem);
}

.attraction-card--compact .attraction-card__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.4375rem;
}

.attraction-card--compact .attraction-card__icon svg {
    width: 15px;
    height: 15px;
}

.attraction-card--compact .attraction-card__name {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}

.attraction-card--compact .attraction-card__type {
    font-size: 0.625rem;
    letter-spacing: 0.05em;
}

.attraction-card--compact .attraction-card__distance {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
}

/* ── Attraction List (sidebar container) ─────────────────── */
.attraction-list {
    display: flex;
    flex-direction: column;
    margin: 0 -0.25rem;
}

/* ── Card Icon (index page header) ───────────────────────── */
.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    flex-shrink: 0;
    background: var(--accent-glow, rgba(45, 106, 79, 0.08));
    color: var(--pp-green, #2D6A4F);
}

.card__icon[data-category="nature"] { background: rgba(34, 197, 94, 0.10); color: #16a34a; }
.card__icon[data-category="heritage"] { background: rgba(217, 119, 6, 0.10); color: #b45309; }
.card__icon[data-category="leisure"] { background: rgba(99, 102, 241, 0.10); color: #4f46e5; }
.card__icon[data-category="food"] { background: rgba(249, 115, 22, 0.10); color: #ea580c; }
.card__icon[data-category="transport"] { background: rgba(107, 114, 128, 0.10); color: #4b5563; }
.card__icon[data-category="water"] { background: rgba(14, 165, 233, 0.10); color: #0284c7; }
.card__icon[data-category="culture"] { background: rgba(168, 85, 247, 0.10); color: #7c3aed; }

/* ── Place Map ────────────────────────────────────────────── */
.place-map {
    width: 100%;
    height: 220px;
    border-radius: var(--radius-lg, 0.625rem);
    background: var(--bg-section-alt, #F2F7F0);
    overflow: hidden;
}

.place-map canvas {
    border-radius: var(--radius-lg, 0.625rem);
}

.place-map .maplibregl-ctrl-attrib {
    font-size: 0.625rem;
    border-radius: 0 0 var(--radius-lg, 0.625rem) 0;
}

/* Map Marker */
.place-map-marker {
    cursor: pointer;
}

.place-map-marker__pin {
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25));
    animation: place-marker-drop 0.4s ease-out;
}

@keyframes place-marker-drop {
    0%   { transform: translateY(-20px); opacity: 0; }
    60%  { transform: translateY(2px); opacity: 1; }
    100% { transform: translateY(0); }
}

/* ── Fallback hero image (shown in body when hero is map) ─── */
.place-guide__hero-img {
    margin: 0 0 var(--space-6, 1.5rem);
    border-radius: var(--radius-lg, 0.75rem);
    overflow: hidden;
    line-height: 0;
}

.place-guide__hero-img img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    border-radius: var(--radius-lg, 0.75rem);
}

/* ── Place Facts (sidebar) ────────────────────────────────── */
.place-facts {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Inline variant: horizontal bar above narrative for AIO + scannability */
.place-facts--inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-2, 0.5rem);
    padding: var(--space-4, 1rem) var(--space-5, 1.25rem);
    background: var(--surface-secondary, #f8fafc);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: var(--radius-lg, 0.75rem);
    margin-bottom: var(--space-6, 1.5rem);
}

.place-facts--inline .place-facts__item {
    flex: 0 0 auto;
    padding: var(--space-2, 0.5rem) var(--space-4, 1rem);
    border-bottom: none;
    border-right: 1px solid var(--border-light, #e2e8f0);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
}

.place-facts--inline .place-facts__item:last-child {
    border-right: none;
}

.place-facts--inline .place-facts__label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.place-facts--inline .place-facts__value {
    text-align: left;
    font-size: 0.8125rem;
}

@media (max-width: 640px) {
    .place-facts--inline {
        gap: 0;
    }
    .place-facts--inline .place-facts__item {
        flex: 1 1 calc(50% - 1rem);
        border-right: none;
        border-bottom: 1px solid var(--border-light, #e2e8f0);
        padding: var(--space-2, 0.5rem) var(--space-3, 0.75rem);
    }
    .place-facts--inline .place-facts__item:last-child,
    .place-facts--inline .place-facts__item:nth-last-child(2):nth-child(odd) {
        border-bottom: none;
    }
}

.place-facts__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light, #f1f5f9);
    font-size: 0.875rem;
}

.place-facts__item:last-child {
    border-bottom: none;
}

.place-facts__label {
    color: var(--text-tertiary, #94a3b8);
    font-size: 0.8125rem;
}

.place-facts__value {
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    text-align: right;
    font-size: 0.875rem;
}

.place-facts__value a {
    color: var(--pp-green, #2D6A4F);
    text-decoration: none;
    transition: color 0.15s;
}

.place-facts__value a:hover {
    color: var(--pp-green-dark, #1B4332);
    text-decoration: underline;
}

/* ── Park Place Link (sidebar card) ───────────────────────── */
.park-place-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin: 0.5rem 0;
    background: var(--accent-glow, rgba(45, 106, 79, 0.08));
    border: 1px solid rgba(45, 106, 79, 0.15);
    border-radius: var(--radius-md, 0.5rem);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, border-color 0.15s;
}

.park-place-link:hover {
    background: rgba(45, 106, 79, 0.12);
    border-color: var(--pp-green, #2D6A4F);
}

.park-place-link__info {
    flex: 1;
    min-width: 0;
}

.park-place-link__name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--pp-green-dark, #1B4332);
}

.park-place-link__type {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary, #64748b);
}

/* ── Enhanced Nearby Items (linkable) ─────────────────────── */
a.park-nearby__item--link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    padding: 0.625rem 0.75rem;
    margin: 0 -0.25rem;
    border-radius: var(--radius-md, 0.5rem);
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

a.park-nearby__item--link:hover {
    background: var(--accent-glow, rgba(45, 106, 79, 0.08));
    border-color: var(--accent-border-subtle, rgba(45, 106, 79, 0.15));
}

a.park-nearby__item--link .park-nearby__name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary, #1e293b);
    text-align: left;
}

a.park-nearby__item--link .park-nearby__distance {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pp-green, #2D6A4F);
    background: var(--accent-glow, rgba(45, 106, 79, 0.08));
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
    text-align: right;
}

.park-nearby__meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.park-nearby__type {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pp-green, #2D6A4F);
    font-weight: 600;
}

.park-sidebar-card__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-top: 1px solid var(--border, #e2e8f0);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--pp-green, #2D6A4F);
    text-decoration: none;
    text-align: center;
    border-radius: 0 0 var(--radius-md, 0.5rem) var(--radius-md, 0.5rem);
    transition: background 0.15s, color 0.15s;
}

.park-sidebar-card__more svg {
    flex-shrink: 0;
    transition: transform 0.15s;
}

.park-sidebar-card__more:hover {
    background: var(--accent-glow, rgba(45, 106, 79, 0.08));
    color: var(--pp-green-dark, #1B4332);
}

.park-sidebar-card__more:hover svg {
    transform: translateX(3px);
}

.park-sidebar-card__excerpt {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-secondary, #475569);
    margin: 0.5rem 0 0;
}

/* ── Sidebar Title with Icon ─────────────────────────────── */
.park-sidebar-card__title {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.park-sidebar-card__title svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.place-section--faq {
    border-top: none;
    padding-top: 2rem;
}

.place-section--faq .place-section__title {
    margin-bottom: 1.25rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.faq-item {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-lg, 0.625rem);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    border-color: var(--accent-border-subtle, rgba(45, 106, 79, 0.15));
}

.faq-item[open] {
    border-color: var(--pp-green, #2D6A4F);
    box-shadow: 0 2px 8px rgba(45, 106, 79, 0.08);
}

.faq-item__question {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary, #1e293b);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.15s;
}

.faq-item:hover .faq-item__question {
    color: var(--pp-green-dark, #1B4332);
}

.faq-item__question::after {
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-section-alt, #F2F7F0);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232D6A4F' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.25s ease, background-color 0.2s;
}

.faq-item[open] .faq-item__question::after {
    background-color: var(--pp-green, #2D6A4F);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
    transform: rotate(180deg);
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__answer {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary, #475569);
    border-top: 1px solid var(--border, #e2e8f0);
    margin-top: -1px;
    padding-top: 1rem;
}

.faq-item__answer p {
    margin: 0;
}

/* ── Card Variants ────────────────────────────────────────── */
.card--place,
.card--attraction {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-xl, 0.75rem);
    background: var(--bg-card, #fff);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.card--attraction::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pp-green, #2D6A4F), var(--pp-green-light, #40916C));
    opacity: 0;
    transition: opacity 0.2s;
}

.card--attraction[data-category="nature"]::after { background: linear-gradient(90deg, #16a34a, #4ade80); }
.card--attraction[data-category="heritage"]::after { background: linear-gradient(90deg, #b45309, #f59e0b); }
.card--attraction[data-category="leisure"]::after { background: linear-gradient(90deg, #4f46e5, #818cf8); }
.card--attraction[data-category="water"]::after { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.card--attraction[data-category="culture"]::after { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.card--attraction[data-category="food"]::after { background: linear-gradient(90deg, #ea580c, #fb923c); }

.card--attraction:hover::after {
    opacity: 1;
}

.card--place .card__body,
.card--attraction .card__body {
    padding: 1.125rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card--place .card__title,
.card--attraction .card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin: 0 0 0.25rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.card--place .card__meta,
.card--attraction .card__meta {
    font-size: 0.8125rem;
    color: var(--text-secondary, #64748b);
    margin: 0 0 0.5rem;
}

.card--place .card__stats,
.card--attraction .card__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.card--place .card__stat,
.card--attraction .card__stat {
    font-size: 0.75rem;
    color: var(--text-secondary, #64748b);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.1875rem 0.5rem;
    background: var(--bg-section-alt, #f8fafc);
    border-radius: 999px;
    font-weight: 500;
}

.card--place .card__stat svg,
.card--attraction .card__stat svg {
    color: var(--pp-green, #2D6A4F);
    flex-shrink: 0;
}

.card--place .card__footer,
.card--attraction .card__footer {
    margin-top: auto;
}

.card--attraction .card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6875rem 1.25rem;
    border-top: 1px solid var(--border, #e2e8f0);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--pp-green, #2D6A4F);
    transition: background 0.15s;
}

.card--attraction .card__footer svg {
    transition: transform 0.2s;
}

.card--attraction:hover .card__footer svg {
    transform: translateX(3px);
}

.card--attraction:hover .card__footer {
    background: var(--accent-glow, rgba(45, 106, 79, 0.04));
}

.card--place:hover,
.card--attraction:hover {
    border-color: var(--pp-green, #2D6A4F);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.10), 0 2px 6px rgba(0,0,0,0.04);
    transform: translateY(-3px);
}

.card--park-compact {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-xl, 0.75rem);
    background: var(--bg-card, #fff);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.card--park-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pp-green, #2D6A4F), var(--pp-green-light, #40916C));
    opacity: 0;
    transition: opacity 0.2s;
}

.card--park-compact:hover {
    border-color: var(--pp-green, #2D6A4F);
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.10), 0 1px 3px rgba(0,0,0,0.04);
    transform: translateY(-2px);
}

.card--park-compact:hover::before {
    opacity: 1;
}

.card--park-compact .card__body {
    padding: 1rem 1.25rem;
}

.card--park-compact .card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.card--park-compact .card__meta {
    font-size: 0.8125rem;
    color: var(--text-secondary, #64748b);
    margin: 0 0 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.card--park-compact .card__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.card--park-compact .card__stat {
    font-size: 0.75rem;
    color: var(--text-secondary, #64748b);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.1875rem 0.5rem;
    background: var(--bg-section-alt, #F2F7F0);
    border-radius: 999px;
    font-weight: 500;
}

.card__header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.card--attraction .card__header-row {
    justify-content: flex-start;
    align-items: center;
}

.card__badge--subtle {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-tertiary, #94a3b8);
    background: var(--bg-section-alt, #f1f5f9);
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
}

.card__badge--type {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pp-green, #2D6A4F);
    background: var(--accent-glow, rgba(45, 106, 79, 0.08));
    padding: 0.1875rem 0.5rem;
    border-radius: 999px;
    margin-bottom: 0.375rem;
}

.card__excerpt {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-secondary, #475569);
    margin-top: 0.5rem;
}

.card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border, #e2e8f0);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--pp-green, #2D6A4F);
    transition: background 0.15s;
}

.card--park-compact:hover .card__footer {
    background: var(--accent-glow, rgba(45, 106, 79, 0.04));
}

.card__link-text {
    flex: 1;
}

/* ── Filter Bar ───────────────────────────────────────────── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.filter-bar__group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-bar__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-tertiary, #94a3b8);
    white-space: nowrap;
}

.filter-bar__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.filter-bar__pills--wrap {
    flex-wrap: wrap;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3125rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary, #475569);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
    white-space: nowrap;
}

.pill:hover {
    border-color: var(--pp-green, #2D6A4F);
    color: var(--pp-green-dark, #1B4332);
    background: var(--accent-glow, rgba(45, 106, 79, 0.08));
}

.pill--active {
    background: var(--pp-green, #2D6A4F);
    border-color: var(--pp-green, #2D6A4F);
    color: #fff;
}

.pill--active:hover {
    background: var(--pp-green-dark, #1B4332);
    border-color: var(--pp-green-dark, #1B4332);
    color: #fff;
}

.pill__count {
    font-size: 0.6875rem;
    opacity: 0.7;
}

/* ── Pagination ──────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1.5rem 0;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pp-green, #2D6A4F);
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-md, 0.5rem);
    text-decoration: none;
    transition: all 0.15s;
}

.pagination__link:hover {
    border-color: var(--pp-green, #2D6A4F);
    background: var(--accent-glow, rgba(45, 106, 79, 0.08));
}

.pagination__info {
    font-size: 0.8125rem;
    color: var(--text-tertiary, #94a3b8);
    font-weight: 500;
}

[data-theme="dark"] .pagination__link {
    background: var(--bg-elevated, #1a2e23);
    border-color: rgba(255,255,255,0.08);
    color: var(--accent-light, #74C69D);
}

[data-theme="dark"] .pagination__link:hover {
    border-color: var(--accent, #52B788);
    background: rgba(82, 183, 136, 0.08);
}

/* ── Empty State ──────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-tertiary, #94a3b8);
}

/* ── Dark Mode Overrides ─────────────────────────────────── */
[data-theme="dark"] .hero.hero--place {
    background:
        linear-gradient(175deg,
            rgba(13, 27, 20, 0.88) 0%,
            rgba(18, 36, 26, 0.80) 30%,
            rgba(22, 45, 33, 0.72) 50%,
            rgba(22, 45, 33, 0.72) 75%,
            rgba(13, 27, 20, 0.88) 100%
        ),
        url('/images/hero-bg.jpg') center 60% / cover no-repeat;
}

[data-theme="dark"] .hero--place::before {
    background: radial-gradient(ellipse at 20% 50%, rgba(82, 183, 136, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(201, 152, 58, 0.04) 0%, transparent 50%);
}

[data-theme="dark"] .hero--place .hero__eyebrow {
    color: var(--pp-green-lighter, #D8F3DC);
}

[data-theme="dark"] .hero--place .hero__eyebrow a {
    text-decoration-color: rgba(255,255,255,0.4);
}

[data-theme="dark"] .hero--place .hero__eyebrow a:hover {
    text-decoration-color: rgba(255,255,255,0.8);
}

[data-theme="dark"] .hero--place .hero__title,
[data-theme="dark"] .hero--compact .hero__title {
    color: #fff;
    text-shadow: none;
}

[data-theme="dark"] .hero--place .hero__subtitle,
[data-theme="dark"] .hero--compact .hero__subtitle {
    color: rgba(255,255,255,0.8);
    text-shadow: none;
}

[data-theme="dark"] .hero__highlight-pill {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.15);
}

[data-theme="dark"] .place-guide__title,
[data-theme="dark"] .place-section__title {
    color: var(--text-on-dark, #f1f5f9);
}

[data-theme="dark"] .place-guide__prose,
[data-theme="dark"] .place-section__subtitle {
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .faq-item {
    background: var(--bg-elevated, #1a2e23);
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .faq-item:hover {
    border-color: rgba(82, 183, 136, 0.2);
}

[data-theme="dark"] .faq-item[open] {
    border-color: var(--accent, #52B788);
    box-shadow: 0 2px 12px rgba(82, 183, 136, 0.1);
}

[data-theme="dark"] .faq-item__question {
    color: var(--text-on-dark, #f1f5f9);
}

[data-theme="dark"] .faq-item:hover .faq-item__question {
    color: var(--accent-light, #74C69D);
}

[data-theme="dark"] .faq-item__question::after {
    background-color: rgba(82, 183, 136, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2352B788' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}

[data-theme="dark"] .faq-item[open] .faq-item__question::after {
    background-color: var(--accent, #52B788);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}

[data-theme="dark"] .faq-item__answer {
    color: var(--text-on-dark-secondary, #94a3b8);
    border-top-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .card--park-compact {
    background: var(--bg-elevated, #1a2e23);
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .card--park-compact:hover {
    border-color: var(--accent, #52B788);
    box-shadow: 0 4px 16px rgba(82, 183, 136, 0.12);
}

[data-theme="dark"] .card--park-compact::before {
    background: linear-gradient(90deg, var(--accent, #52B788), var(--accent-light, #74C69D));
}

[data-theme="dark"] .card--park-compact .card__title {
    color: var(--text-on-dark, #f1f5f9);
}

[data-theme="dark"] .card--park-compact .card__footer {
    color: var(--accent-light, #74C69D);
    border-top-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .attraction-card {
    background: var(--bg-elevated, #1a2e23);
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .attraction-card:hover {
    border-color: var(--accent, #52B788);
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.1);
}

[data-theme="dark"] .attraction-card__icon {
    background: rgba(82, 183, 136, 0.12);
    color: var(--accent-light, #74C69D);
}

/* Dark mode category icon colours */
[data-theme="dark"] .attraction-card__icon[data-category="nature"] {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}
[data-theme="dark"] .attraction-card__icon[data-category="heritage"] {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}
[data-theme="dark"] .attraction-card__icon[data-category="leisure"] {
    background: rgba(129, 140, 248, 0.15);
    color: #a5b4fc;
}
[data-theme="dark"] .attraction-card__icon[data-category="food"] {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
}
[data-theme="dark"] .attraction-card__icon[data-category="transport"] {
    background: rgba(156, 163, 175, 0.15);
    color: #d1d5db;
}
[data-theme="dark"] .attraction-card__icon[data-category="water"] {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}
[data-theme="dark"] .attraction-card__icon[data-category="culture"] {
    background: rgba(192, 132, 252, 0.15);
    color: #c084fc;
}

/* Dark mode category type label colours */
[data-theme="dark"] .attraction-card[data-category="nature"] .attraction-card__type { color: #4ade80; }
[data-theme="dark"] .attraction-card[data-category="heritage"] .attraction-card__type { color: #fbbf24; }
[data-theme="dark"] .attraction-card[data-category="leisure"] .attraction-card__type { color: #a5b4fc; }
[data-theme="dark"] .attraction-card[data-category="food"] .attraction-card__type { color: #fb923c; }
[data-theme="dark"] .attraction-card[data-category="transport"] .attraction-card__type { color: #d1d5db; }
[data-theme="dark"] .attraction-card[data-category="water"] .attraction-card__type { color: #38bdf8; }
[data-theme="dark"] .attraction-card[data-category="culture"] .attraction-card__type { color: #c084fc; }

[data-theme="dark"] .attraction-card__name {
    color: var(--text-on-dark, #f1f5f9);
}

[data-theme="dark"] .attraction-card__distance {
    background: rgba(255,255,255,0.06);
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .attraction-card:hover .attraction-card__arrow {
    color: var(--accent-light, #74C69D);
}

/* Dark compact variant */
[data-theme="dark"] .attraction-card--compact {
    background: transparent;
    border-color: rgba(255,255,255,0.04);
}

[data-theme="dark"] .attraction-card--compact:hover {
    background: rgba(82, 183, 136, 0.06);
    border-color: rgba(255,255,255,0.04);
}

/* Dark mode card__icon */
[data-theme="dark"] .card__icon {
    background: rgba(82, 183, 136, 0.12);
    color: var(--accent-light, #74C69D);
}
[data-theme="dark"] .card__icon[data-category="nature"] { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
[data-theme="dark"] .card__icon[data-category="heritage"] { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
[data-theme="dark"] .card__icon[data-category="leisure"] { background: rgba(129, 140, 248, 0.15); color: #a5b4fc; }
[data-theme="dark"] .card__icon[data-category="food"] { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
[data-theme="dark"] .card__icon[data-category="transport"] { background: rgba(156, 163, 175, 0.15); color: #d1d5db; }
[data-theme="dark"] .card__icon[data-category="water"] { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
[data-theme="dark"] .card__icon[data-category="culture"] { background: rgba(192, 132, 252, 0.15); color: #c084fc; }

[data-theme="dark"] a.park-nearby__item--link:hover {
    background: rgba(82, 183, 136, 0.08);
    border-color: rgba(82, 183, 136, 0.15);
}

[data-theme="dark"] a.park-nearby__item--link .park-nearby__name {
    color: var(--text-on-dark, #f1f5f9);
}

[data-theme="dark"] a.park-nearby__item--link .park-nearby__distance {
    color: var(--accent-light, #74C69D);
    background: rgba(82, 183, 136, 0.1);
}

[data-theme="dark"] .place-map {
    background: rgba(82, 183, 136, 0.06);
}

[data-theme="dark"] .place-section {
    border-top-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .place-section__title-icon {
    background: rgba(82, 183, 136, 0.12);
    color: var(--accent-light, #74C69D);
}

[data-theme="dark"] .park-sidebar-card__more {
    color: var(--accent-light, #74C69D);
    border-top-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .park-sidebar-card__more:hover {
    background: rgba(82, 183, 136, 0.08);
    color: var(--accent-lighter, #95D5B2);
}

[data-theme="dark"] .card__badge--type {
    color: var(--accent-light, #74C69D);
    background: rgba(82, 183, 136, 0.12);
}

[data-theme="dark"] .section--featured {
    background: linear-gradient(to bottom, var(--bg-surface, #0d1b14), var(--bg-elevated, #1a2e23));
    border-top-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .section--featured .section__title {
    color: var(--text-on-dark, #f1f5f9);
}

[data-theme="dark"] .section--featured .section__subtitle {
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .card--featured {
    background: var(--bg-elevated, #1a2e23);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.1);
}

[data-theme="dark"] .card--featured:hover {
    border-color: var(--accent, #52B788);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 4px 12px rgba(82, 183, 136, 0.12);
}

[data-theme="dark"] .card--featured .card__title {
    color: var(--text-on-dark, #f1f5f9);
}

[data-theme="dark"] .card--featured .card__meta {
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .card--featured .card__excerpt {
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .card--featured .card__footer {
    color: var(--accent-light, #74C69D);
    border-top-color: rgba(255,255,255,0.06);
    background: rgba(82, 183, 136, 0.04);
}

[data-theme="dark"] .card--featured:hover .card__footer {
    background: rgba(82, 183, 136, 0.08);
}

[data-theme="dark"] .card__badge--featured {
    background: var(--accent, #52B788);
}

[data-theme="dark"] .card__stat--primary {
    color: var(--accent-light, #74C69D);
    background: rgba(82, 183, 136, 0.12);
}

[data-theme="dark"] .card__stat--primary svg {
    color: var(--accent-light, #74C69D);
}

[data-theme="dark"] .card--place,
[data-theme="dark"] .card--attraction {
    background: var(--bg-elevated, #1a2e23);
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .card--place:hover,
[data-theme="dark"] .card--attraction:hover {
    border-color: var(--accent, #52B788);
    box-shadow: 0 6px 20px rgba(82, 183, 136, 0.12), 0 2px 6px rgba(0,0,0,0.2);
}

[data-theme="dark"] .card--attraction .card__footer {
    color: var(--accent-light, #74C69D);
    border-top-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .card--attraction:hover .card__footer {
    background: rgba(82, 183, 136, 0.06);
}

[data-theme="dark"] .card--attraction .card__stat {
    background: rgba(82, 183, 136, 0.10);
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .pill {
    background: var(--bg-elevated, #1a2e23);
    border-color: rgba(255,255,255,0.08);
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .pill:hover {
    border-color: var(--accent, #52B788);
    color: var(--accent-light, #74C69D);
    background: rgba(82, 183, 136, 0.08);
}

[data-theme="dark"] .pill--active {
    background: var(--accent, #52B788);
    border-color: var(--accent, #52B788);
    color: #fff;
}

[data-theme="dark"] .place-facts__label {
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .place-facts__value {
    color: var(--text-on-dark, #f1f5f9);
}

[data-theme="dark"] .place-facts__value a {
    color: var(--accent-light, #74C69D);
}

[data-theme="dark"] .place-facts__item {
    border-bottom-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .place-facts--inline {
    background: var(--surface-dark-secondary, rgba(255,255,255,0.04));
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .place-facts--inline .place-facts__item {
    border-right-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .park-place-link {
    background: rgba(82, 183, 136, 0.08);
    border-color: rgba(82, 183, 136, 0.15);
}

[data-theme="dark"] .park-place-link:hover {
    background: rgba(82, 183, 136, 0.14);
    border-color: var(--accent, #52B788);
}

[data-theme="dark"] .park-place-link__name {
    color: var(--accent-light, #74C69D);
}

[data-theme="dark"] .park-place-link__type {
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .card__excerpt {
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .card__badge--subtle {
    background: rgba(255,255,255,0.06);
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .attraction-card__type {
    color: var(--accent-light, #74C69D);
}

[data-theme="dark"] .filter-bar--advanced {
    background: var(--bg-elevated, #1a2e23);
}

[data-theme="dark"] .filter-bar--advanced .filter-bar__select {
    background: var(--bg-surface, #0d1b14);
    border-color: rgba(255,255,255,0.08);
    color: var(--text-on-dark, #f1f5f9);
}

[data-theme="dark"] .filter-bar--advanced .filter-bar__select:hover {
    border-color: var(--accent, #52B788);
}

[data-theme="dark"] .filter-bar {
    border-bottom-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .filter-bar__label {
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .card--place .card__title,
[data-theme="dark"] .card--attraction .card__title {
    color: var(--text-on-dark, #f1f5f9);
}

[data-theme="dark"] .card--place .card__meta,
[data-theme="dark"] .card--attraction .card__meta {
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .card--place .card__stat,
[data-theme="dark"] .card--attraction .card__stat {
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .card--place .card__stat svg,
[data-theme="dark"] .card--attraction .card__stat svg {
    color: var(--accent-light, #74C69D);
}

[data-theme="dark"] .card--park-compact .card__meta {
    color: var(--text-on-dark-secondary, #94a3b8);
}

[data-theme="dark"] .card--park-compact .card__stat {
    background: rgba(82, 183, 136, 0.10);
    color: var(--text-on-dark-secondary, #94a3b8);
}

/* ── Content Links (auto-linked entities in AI narratives) ──── */
.content-link {
    color: var(--accent, #2D6A4F);
    text-decoration: underline;
    text-decoration-color: rgba(45, 106, 79, 0.3);
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: color var(--transition-fast, 0.15s), text-decoration-color var(--transition-fast, 0.15s);
}

.content-link:hover {
    color: var(--accent-hover, #1B4332);
    text-decoration-color: currentColor;
}

.content-link--place { font-weight: 500; }
.content-link--attraction { font-weight: 500; }
.content-link--county,
.content-link--region { font-weight: 400; }

[data-theme="dark"] .content-link {
    color: var(--accent-light, #74C69D);
    text-decoration-color: rgba(116, 198, 157, 0.3);
}

[data-theme="dark"] .content-link:hover {
    color: #95D5B2;
    text-decoration-color: currentColor;
}

/* ── Share Buttons ──────────────────────────────────────────── */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.75rem;
    border-radius: var(--radius-md, 8px);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    line-height: 1;
    font-family: inherit;
}

.share-btn:hover { border-color: var(--accent); color: var(--accent); }
.share-btn--facebook:hover { color: #1877F2; border-color: #1877F2; }
.share-btn--twitter:hover { color: #000; border-color: #000; }
.share-btn--whatsapp:hover { color: #25D366; border-color: #25D366; }
.share-btn--copy:hover { color: var(--accent); border-color: var(--accent); }

[data-theme="dark"] .share-btn {
    background: var(--bg-card);
    border-color: var(--border-subtle);
    color: var(--text-secondary);
}
[data-theme="dark"] .share-btn--twitter:hover { color: #fff; border-color: #fff; }
[data-theme="dark"] .share-btn--whatsapp:hover { color: #25D366; border-color: #25D366; }
[data-theme="dark"] .share-btn--facebook:hover { color: #4599FF; border-color: #4599FF; }

/* ── Content Links (AI narrative cross-linking) ─────────────── */
.content-link {
    color: var(--accent, #2D6A4F);
    text-decoration: underline;
    text-decoration-color: rgba(45, 106, 79, 0.3);
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: color 0.15s, text-decoration-color 0.15s;
    font-weight: 500;
}
.content-link:hover {
    text-decoration-color: currentColor;
}
.content-link--park {
    color: var(--pp-green, #2D6A4F);
    text-decoration-color: rgba(45, 106, 79, 0.3);
}
.content-link--attraction {
    color: #b45309;
    text-decoration-color: rgba(180, 83, 9, 0.3);
}
.content-link--place {
    color: #6d28d9;
    text-decoration-color: rgba(109, 40, 217, 0.3);
}
.content-link--county {
    color: #0369a1;
    text-decoration-color: rgba(3, 105, 161, 0.3);
}
.content-link--region {
    color: #0369a1;
    text-decoration-color: rgba(3, 105, 161, 0.3);
}
[data-theme="dark"] .content-link--park { color: #95D5B2; text-decoration-color: rgba(149, 213, 178, 0.3); }
[data-theme="dark"] .content-link--attraction { color: #fbbf24; text-decoration-color: rgba(251, 191, 36, 0.3); }
[data-theme="dark"] .content-link--place { color: #c4b5fd; text-decoration-color: rgba(196, 181, 253, 0.3); }
[data-theme="dark"] .content-link--county { color: #7dd3fc; text-decoration-color: rgba(125, 211, 252, 0.3); }
[data-theme="dark"] .content-link--region { color: #7dd3fc; text-decoration-color: rgba(125, 211, 252, 0.3); }
