site-header,
site-footer {
    display: block;
}

.inner-hero {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    text-align: center;
    color: #fff;
    background-image: linear-gradient(rgba(17, 24, 32, 0.72), rgba(17, 24, 32, 0.72)), url("images/exterior.jpg");
    background-position: center;
    background-size: cover;
}

.inner-hero h1 {
    max-width: 960px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.page-section {
    padding: 64px 0;
}

.page-section.alt-bg {
    background: #f7f8fa;
}

.inner-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    color: #222;
    font-size: 1.08rem;
    line-height: 1.85;
}

.page-heading {
    margin-bottom: 18px;
    color: #111820;
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.heading-rule {
    width: 76px;
    height: 4px;
    margin: 0 auto 30px;
    border-radius: 2px;
    background: #d7a45b;
}

.image-copy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.image-copy-grid img {
    width: 100%;
    min-height: 320px;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(17, 24, 32, 0.18);
}

.copy-panel h2 {
    margin-bottom: 18px;
    color: #111820;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.copy-panel p {
    margin-bottom: 15px;
    color: #222;
    font-size: 1.05rem;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 30px 24px;
    text-align: center;
    background: #fff;
    border-top: 4px solid #d7a45b;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(17, 24, 32, 0.1);
}

.feature-card i {
    margin-bottom: 18px;
    color: #d7a45b;
    font-size: 2.1rem;
}

.feature-card h2,
.feature-card h3 {
    margin-bottom: 12px;
    color: #111820;
}

.feature-card p {
    color: #333;
    line-height: 1.7;
}

.attraction-banner {
    width: 100%;
    max-height: 540px;
    margin-bottom: 38px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(17, 24, 32, 0.2);
}

.attractions-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.attraction-page-card {
    padding: 28px;
    background: #fff;
    border-left: 5px solid #d7a45b;
    border-radius: 10px;
    box-shadow: 0 7px 20px rgba(17, 24, 32, 0.1);
}

.attraction-page-card h2 {
    margin-bottom: 10px;
    color: #111820;
    font-size: 1.45rem;
}

.attraction-page-card p {
    color: #333;
    line-height: 1.7;
}

.location-page-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: 30px;
    align-items: stretch;
}

.location-page-panel {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 24, 32, 0.12);
}

.location-page-panel h2,
.location-page-panel h3 {
    margin-bottom: 15px;
    color: #111820;
}

.location-page-panel p {
    margin-bottom: 18px;
    color: #222;
    line-height: 1.75;
}

.coordinates-list {
    margin: 22px 0;
}

.coordinates-list li {
    margin: 10px 0;
    color: #222;
}

.coordinates-list i {
    width: 24px;
    color: #d7a45b;
}

.location-map-embed {
    min-height: 560px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 24, 32, 0.12);
}

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

.directions-form .fixed-destination {
    background: #f0f1f3;
    color: #333;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
}

.contact-panel {
    min-height: 100%;
    padding: 34px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 24, 32, 0.12);
}

.contact-panel h2 {
    margin-bottom: 22px;
    color: #111820;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin: 24px 0;
}

.contact-detail i {
    width: 28px;
    color: #d7a45b;
    font-size: 1.45rem;
    text-align: center;
}

.contact-detail h3 {
    margin-bottom: 4px;
    color: #111820;
    font-size: 1.1rem;
}

.contact-detail a:hover {
    color: #d7a45b;
    text-decoration: underline;
}

.contact-map iframe {
    width: 100%;
    min-height: 440px;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gallery-page-button {
    width: 100%;
    height: 280px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: #111820;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(17, 24, 32, 0.15);
}

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

.gallery-page-button:hover img,
.gallery-page-button:focus img {
    transform: scale(1.05);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 70px 60px;
    background: rgba(4, 15, 30, 0.94);
}

.gallery-lightbox.open {
    display: flex;
}

.gallery-lightbox img {
    max-width: 90vw;
    max-height: 78vh;
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 12px;
    color: #fff;
    text-align: center;
}

.lightbox-control {
    position: absolute;
    cursor: pointer;
    color: #fff;
    background: #111820;
    border: 2px solid #d7a45b;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
}

.lightbox-close { top: 18px; right: 22px; }
.lightbox-prev { left: 16px; top: 50%; }
.lightbox-next { right: 16px; top: 50%; }

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sitemap-link {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 110px;
    padding: 24px;
    color: #111820;
    background: #fff;
    border: 1px solid #e4e6e9;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(17, 24, 32, 0.08);
}

.sitemap-link:hover,
.sitemap-link:focus {
    color: #fff;
    background: #111820;
    transform: translateY(-3px);
}

.sitemap-link i {
    color: #d7a45b;
    font-size: 1.7rem;
}

.faq-section .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-section .faq-card {
    height: 100%;
}

.mobile-toggle {
    color: #111820;
}

@media (max-width: 992px) {
    .feature-grid,
    .gallery-page-grid,
    .sitemap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .image-copy-grid,
    .location-page-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .location-map-embed,
    .location-map-embed iframe {
        min-height: 440px;
    }
}

@media (max-width: 700px) {
    .inner-hero {
        min-height: 260px;
        padding: 48px 18px;
    }

    .page-section {
        padding: 44px 0;
    }

    .feature-grid,
    .attractions-page-grid,
    .gallery-page-grid,
    .sitemap-grid,
    .faq-section .faq-grid {
        grid-template-columns: 1fr;
    }

    .image-copy-grid {
        gap: 26px;
    }

    .image-copy-grid img {
        min-height: 240px;
    }

    .gallery-page-button {
        height: 250px;
    }

    .gallery-lightbox {
        padding: 65px 45px;
    }

    .location-page-panel,
    .contact-panel {
        padding: 24px 20px;
    }
}

@media (max-width: 420px) {
    .inner-intro {
        font-size: 1rem;
    }

    .gallery-lightbox {
        padding: 70px 30px;
    }

    .lightbox-control {
        width: 42px;
        height: 42px;
    }
}

/* ================================================================
   LOGO-MATCHED INNER PAGE THEME
   ================================================================ */
.inner-hero {
    background-image: linear-gradient(rgba(17, 24, 32, 0.78), rgba(17, 24, 32, 0.78)), url("images/exterior.jpg");
}

.page-section.alt-bg {
    background: var(--brand-ivory);
}

.page-heading,
.copy-panel h2,
.feature-card h2,
.feature-card h3,
.attraction-page-card h2,
.location-page-panel h2,
.location-page-panel h3,
.contact-panel h2,
.contact-detail h3 {
    color: var(--brand-ink);
}

.heading-rule {
    background: var(--brand-red);
}

.feature-card {
    border-top-color: var(--brand-red);
}

.feature-card i,
.contact-detail i,
.coordinates-list i,
.sitemap-link i {
    color: var(--brand-red);
}

.attraction-page-card {
    border-left-color: var(--brand-red);
}

.contact-detail a:hover,
.contact-detail a:focus {
    color: var(--brand-red);
}

.gallery-page-button,
.lightbox-control {
    background: var(--brand-ink);
}

.lightbox-control {
    border-color: var(--brand-warm);
}

.sitemap-link:hover,
.sitemap-link:focus {
    color: #ffffff;
    background: var(--brand-ink);
}

/* ================================================================
   FIVE INDIVIDUAL ATTRACTION PAGE COMPOSITIONS
   ================================================================ */
.attraction-detail-page {
    color: var(--brand-text);
    background: var(--brand-cream);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0;
}

.detail-hero h1 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.detail-eyebrow {
    margin-bottom: 16px;
    color: var(--brand-warm);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.detail-hero-photo,
.village-hero-photo,
.automotive-hero-photo,
.zoo-hero-photo,
.innovation-photo-panel {
    margin: 0;
    overflow: hidden;
    background: var(--brand-ink-soft);
    box-shadow: 0 22px 46px rgba(17, 24, 32, 0.24);
}

.detail-hero-photo img,
.village-hero-photo img,
.automotive-hero-photo img,
.zoo-hero-photo img,
.innovation-photo-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.official-source {
    color: var(--brand-red);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.official-source:hover,
.official-source:focus {
    color: var(--brand-red-dark);
}

.heritage-story-card,
.innovation-panel,
.village-chapter,
.automotive-panel,
.zoo-story-panel {
    font-size: 1.05rem;
    line-height: 1.9;
}

/* 1. Heritage Park: offset editorial cards */
.heritage-detail-hero {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-ink) 0%, var(--brand-ink-soft) 68%, var(--brand-red-dark) 100%);
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 58px;
    align-items: center;
}

.heritage-hero-photo {
    height: 430px;
    border: 6px solid rgba(215, 164, 91, 0.72);
    border-radius: 90px 18px 90px 18px;
}

.heritage-story-section {
    background: var(--brand-ivory);
}

.heritage-story-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
}

.heritage-story-card {
    padding: 34px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(17, 24, 32, 0.1);
}

.heritage-story-lead {
    grid-column: 1 / span 5;
    border-top: 5px solid var(--brand-red);
}

.heritage-story-detail {
    grid-column: 6 / span 7;
    border-left: 5px solid var(--brand-warm);
}

.heritage-story-stay {
    grid-column: 3 / span 8;
    color: #ffffff;
    background: var(--brand-ink);
}

/* 2. Henry Ford Museum: image-led innovation grid */
.innovation-detail-hero {
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    color: #ffffff;
    background-image: linear-gradient(90deg, rgba(17, 24, 32, 0.94) 0%, rgba(17, 24, 32, 0.72) 58%, rgba(168, 15, 42, 0.34) 100%), url("images/museum.jpg");
    background-position: center;
    background-size: cover;
}

.innovation-hero-copy {
    padding-right: min(30vw, 360px);
}

.innovation-story-section {
    background: var(--brand-cream);
}

.innovation-story-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 26px;
}

.innovation-panel {
    padding: 36px;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(17, 24, 32, 0.1);
}

.innovation-intro-panel {
    grid-column: 1 / span 7;
    color: #ffffff;
    background: var(--brand-red);
}

.innovation-photo-panel {
    grid-column: 8 / span 5;
    grid-row: 1 / span 2;
    min-height: 520px;
    border-radius: 18px 80px 18px 18px;
}

.innovation-collection-panel {
    grid-column: 1 / span 7;
    background: #ffffff;
    border-bottom: 5px solid var(--brand-warm);
}

.innovation-stay-panel {
    grid-column: 2 / span 10;
    color: #ffffff;
    background: var(--brand-ink);
}

.innovation-intro-panel .official-source,
.innovation-stay-panel .official-source {
    color: #ffffff;
}

/* 3. Greenfield Village: stepped living-history panels */
.village-detail-hero {
    background: linear-gradient(115deg, var(--brand-ivory) 0%, #ffffff 64%, #f1dfca 100%);
}

.village-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
    gap: 56px;
    align-items: center;
}

.village-hero-copy h1 {
    color: var(--brand-ink);
}

.village-hero-copy .detail-eyebrow {
    color: var(--brand-red);
}

.village-hero-photo {
    height: 410px;
    border: 8px solid #ffffff;
    border-radius: 18px 100px 18px 100px;
}

.village-story-section {
    background: var(--brand-ink);
}

.village-story-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 28px;
}

.village-chapter {
    padding: 36px;
    color: var(--brand-text);
    background: var(--brand-cream);
    border-radius: 16px;
}

.village-chapter-one {
    grid-column: 1 / span 6;
    border-top: 5px solid var(--brand-warm);
}

.village-chapter-two {
    grid-column: 7 / span 6;
    transform: translateY(34px);
    border-top: 5px solid var(--brand-red);
}

.village-chapter-three {
    grid-column: 3 / span 8;
    margin-top: 34px;
    color: #ffffff;
    background: var(--brand-red);
}

.village-chapter-three .official-source {
    color: #ffffff;
}

/* 4. Automotive Hall of Fame: bold bento composition */
.automotive-detail-hero {
    color: #ffffff;
    background: var(--brand-ink);
}

.automotive-hero-grid {
    display: grid;
    grid-template-columns: minmax(420px, 1.1fr) minmax(0, 0.9fr);
    gap: 58px;
    align-items: center;
}

.automotive-hero-photo {
    height: 430px;
    border-radius: 20px;
    box-shadow: -18px 18px 0 var(--brand-red);
}

.automotive-story-section {
    background: #eee5da;
}

.automotive-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.automotive-panel {
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(17, 24, 32, 0.1);
}

.automotive-lead-panel {
    grid-column: 1 / span 7;
    background: #ffffff;
    border-left: 6px solid var(--brand-red);
}

.automotive-exhibits-panel {
    grid-column: 8 / span 5;
    color: #ffffff;
    background: var(--brand-ink-soft);
}

.automotive-hours-panel {
    grid-column: 1 / span 5;
    background: var(--brand-cream);
    border-bottom: 6px solid var(--brand-warm);
}

.automotive-stay-panel {
    grid-column: 6 / span 7;
    color: #ffffff;
    background: var(--brand-red);
}

.automotive-stay-panel .official-source {
    color: #ffffff;
}

/* 5. Detroit Zoo: family-focused split and stacked cards */
.zoo-detail-hero {
    background: linear-gradient(135deg, #f1dfca 0%, var(--brand-cream) 56%, #ffffff 100%);
}

.zoo-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
    gap: 60px;
    align-items: center;
}

.zoo-hero-copy h1 {
    color: var(--brand-ink);
}

.zoo-hero-copy .detail-eyebrow {
    color: var(--brand-red);
}

.zoo-hero-photo {
    height: 440px;
    border: 10px solid #ffffff;
    border-radius: 120px 22px 120px 22px;
}

.zoo-story-section {
    background: var(--brand-cream);
}

.zoo-story-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 24px;
}

.zoo-story-panel {
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(17, 24, 32, 0.1);
}

.zoo-intro-panel {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    color: #ffffff;
    background: var(--brand-ink);
    border-top: 6px solid var(--brand-warm);
}

.zoo-experience-panel {
    grid-column: 8 / span 5;
    background: #ffffff;
    border-right: 6px solid var(--brand-red);
}

.zoo-stay-panel {
    grid-column: 8 / span 5;
    color: #ffffff;
    background: var(--brand-red);
}

.zoo-intro-panel .official-source,
.zoo-stay-panel .official-source {
    color: #ffffff;
}

@media (max-width: 1050px) {
    .detail-hero-grid,
    .village-hero-grid,
    .automotive-hero-grid,
    .zoo-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
        gap: 36px;
    }

    .innovation-hero-copy {
        padding-right: 10vw;
    }

    .heritage-hero-photo,
    .village-hero-photo,
    .automotive-hero-photo,
    .zoo-hero-photo {
        height: 360px;
    }
}

@media (max-width: 820px) {
    .detail-hero {
        padding: 54px 0;
    }

    .detail-hero-grid,
    .village-hero-grid,
    .automotive-hero-grid,
    .zoo-hero-grid {
        grid-template-columns: 1fr;
    }

    .automotive-hero-copy {
        grid-row: 1;
    }

    .innovation-detail-hero {
        min-height: 420px;
    }

    .innovation-hero-copy {
        padding-right: 0;
    }

    .heritage-story-lead,
    .heritage-story-detail,
    .heritage-story-stay,
    .innovation-intro-panel,
    .innovation-photo-panel,
    .innovation-collection-panel,
    .innovation-stay-panel,
    .village-chapter-one,
    .village-chapter-two,
    .village-chapter-three,
    .automotive-lead-panel,
    .automotive-exhibits-panel,
    .automotive-hours-panel,
    .automotive-stay-panel,
    .zoo-intro-panel,
    .zoo-experience-panel,
    .zoo-stay-panel {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .innovation-photo-panel {
        min-height: 380px;
    }

    .village-chapter-two {
        transform: none;
    }

    .village-chapter-three {
        margin-top: 0;
    }
}

@media (max-width: 520px) {
    .detail-hero {
        padding: 42px 0;
    }

    .detail-hero h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .heritage-hero-photo,
    .village-hero-photo,
    .automotive-hero-photo,
    .zoo-hero-photo {
        height: 260px;
        border-width: 5px;
        border-radius: 34px 12px 34px 12px;
    }

    .automotive-hero-photo {
        box-shadow: -9px 9px 0 var(--brand-red);
    }

    .heritage-story-card,
    .innovation-panel,
    .village-chapter,
    .automotive-panel,
    .zoo-story-panel {
        padding: 25px 22px;
        font-size: 1rem;
        line-height: 1.78;
        border-radius: 14px;
    }

    .innovation-photo-panel {
        min-height: 280px;
        border-radius: 14px 50px 14px 14px;
    }
}
