body {
    margin: 0;
    font-family: "Merriweather", serif;
    background-color: #f3f0e8;
    color: #2f5a3f;
}

.hero {
    position: relative;
    height: 430px;
    background-color: #9abe6942;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding: 38px 30px 0 42px;
}

.hero-text {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding-top: 36px;
    margin-left: 8%;
}

.hero-text h1 {
    font-family: "Baskervville", serif;
    font-size: 92px;
    line-height: 0.98;
    margin: 0 0 20px 0;
    color: #355d42;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-text h2 {
    font-family: "Merriweather", serif;
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 20px 0;
    color: #2f5a3f;
    font-weight: 400;
}

.hero-text p {
    font-size: 15px;
    line-height: 1.45;
    margin: 0;
    color: #2f5a3f;
    max-width: 470px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 72%;
    height: 100%;
    background-image: url("../images/hero-street.png");
    background-size: cover;
    background-position: center right;
    opacity: 0.35;
    filter: grayscale(100%) sepia(25%) hue-rotate(45deg) saturate(70%);
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #f3f0e8 0%,
        #f3f0e8 48%,
        rgba(243, 240, 232, 0.94) 58%,
        rgba(243, 240, 232, 0.60) 68%,
        rgba(243, 240, 232, 0.14) 80%,
        rgba(243, 240, 232, 0.00) 100%
    );
    z-index: 2;
}

.nav-section {
    padding: 32px 60px 20px;
    background: #ece7dd;
}

.page-content1 {
    background: #ece7dd;
    padding: 10px 60px 80px;
}

.some-space {
    background: #ece7dd;
    padding: 10px 60px 40px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 24px auto;
}

.nav-links {
    display: flex;
    gap: 60px;
}

.main-nav a {
    text-decoration: none;
    color: #1f1f1f;
    font-size: 20px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: 0.2s;
}

.main-nav a:hover {
    background: #35563f;
    color: #f3f1eb;
}

.contact-btn {
    border: 2px solid #1f1f1f;
    border-radius: 999px;
    padding: 10px 22px;
}

.divider {
    height: 2px;
    background: #4d4d4d;
    margin-bottom: 28px;
}

#map {
    width: 100%;
    height: 500px;
    border-radius: 4px;
}

.site-footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
    background-color: #2f5a3f;
    color: #ffffff;
}

.subpage-header {
    background: #ece7dd;
    padding: 24px 60px 10px;
}

.page-content {
    padding: 50px 80px 80px;
    background: #f3f0e8;
    min-height: 70vh;
}

.page-hero h1,
.text-page h1,
.street-detail h1 {
    font-family: "Baskervville", serif;
    font-size: 56px;
    margin: 0 0 16px 0;
    color: #355d42;
}

.page-hero p,
.text-page p,
.street-detail p,
.street-detail li,
.text-page li {
    font-family: "Merriweather", serif;
    font-size: 17px;
    line-height: 1.7;
    color: #2f5a3f;
}

.streets-list-section {
    margin-top: 30px;
}

.streets-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 900px;
}

.street-item {
    display: block;
    text-decoration: none;
    padding: 22px 24px;
    border: 1.5px solid #cfc6b8;
    border-radius: 10px;
    background: #f9f6ef;
    transition: 0.2s;
}

.street-item h2 {
    margin: 0 0 10px 0;
    font-family: "Baskervville", serif;
    font-size: 32px;
    color: #355d42;
}

.street-item p {
    margin: 0;
    font-family: "Merriweather", serif;
    color: #2f5a3f;
}

.street-item:hover {
    background: #35563f;
}

.street-item:hover h2,
.street-item:hover p {
    color: #f3f1eb;
}

.street-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 48px;
}

.street-text {
    flex: 1;
    max-width: 700px;
}

.street-image-wrap {
    width: 360px;
    flex-shrink: 0;
}

.street-image-wrap img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.street-short {
    font-size: 21px;
    margin-bottom: 14px;
}

.street-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 850px;
}

.info-block h2,
.text-page h2 {
    font-family: "Baskervville", serif;
    font-size: 30px;
    margin-bottom: 12px;
    color: #355d42;
}

.text-page {
    max-width: 900px;
}

.text-page ul {
    padding-left: 24px;
}
.page-header {
    position: relative;
    height: 430px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 38px 42px 0 30px;
    background-color: #0d1423;
}

.page-header-text {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding-top: 48px;
    margin-right: 8%;
    text-align: right;
}

.page-header-label {
    display: inline-block;
    font-family: "Baskervville", serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff4de;
    background: #3ac7e8;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.page-header-text h1 {
    font-family: "Baskervville", serif;
    font-size: 92px;
    line-height: 0.98;
    margin: 0 0 20px 0;
    color: #f5f2ea;
    font-weight: 700;
    letter-spacing: -1px;
}

.page-header-desc {
    font-family: "Merriweather", serif;
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    color: #f1ede4;
    max-width: 470px;
    margin-left: auto;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/hero-street-white.png");
    background-size: cover;
    background-position: left center;
    opacity: 0.52;
    filter: brightness(145%) contrast(115%);
    z-index: 1;
}

.page-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to right,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0.10) 22%,
            rgba(18, 28, 49, 0.18) 42%,
            rgba(8, 19, 37, 0.48) 58%,
            rgba(8, 19, 37, 0.78) 72%,
            rgba(8, 19, 37, 0.96) 100%
        );
    z-index: 2;
}

.page-header-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 36%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(8, 19, 37, 0.68) 0%,
        rgba(5, 14, 28, 0.88) 45%,
        rgba(2, 8, 20, 0.98) 100%
    );
    z-index: 2;
}

.page-header-desc {
    font-family: "Merriweather", serif;
    font-size: 17px;
    line-height: 1.55;
    margin: 0;
    color: #f1ede4;
    max-width: 520px;
    margin-left: auto;
}

/* ===== Contribution / Get Involved Page ===== */

.contribution-main {
    margin: 0;
    padding: 0;
}

.contribution-slide {
    padding: 90px 60px;
}

.slide-cream {
    background: #f3f0e8;
}

.slide-sand {
    background: #ece7dd;
}

.slide-green {
    background: #e6eee5;
}

.slide-lightgreen {
    background: #eef3ea;
}

.slide-inner {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 172px;
}

.slide-inner.reverse {
    flex-direction: row-reverse;
}

.slide-media {
    flex: 0 0 420px;
}

.slide-media img {
    width: 100%;
    display: block;
    border-radius: 22px;
    object-fit: cover;
}

.poster-media img {
    max-height: 520px;
    background: #3f724d;
    padding: 6px;
    border-radius: 14px;
}

.slide-copy {
    flex: 1;
    max-width: 600px;
}

.slide-copy h2 {
    font-family: "Baskervville", serif;
    font-size: 56px;
    margin: 0 0 22px 0;
    color: #355d42;
    line-height: 1.05;
}

.slide-copy p,
.slide-copy li {
    font-family: "Merriweather", serif;
    font-size: 17px;
    line-height: 1.75;
    color: #2f5a3f;
}

.slide-copy p {
    margin: 0 0 18px 0;
}

.slide-copy ul {
    margin: 10px 0 28px 0;
    padding-left: 22px;
}

.slide-copy li {
    margin-bottom: 10px;
}

.story-btn {
    display: inline-block;
    background: #355d42;
    color: #f3f1eb;
    text-decoration: none;
    font-family: "Merriweather", serif;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 999px;
    transition: 0.2s;
}

.story-btn:hover {
    background: #2a4934;
    color: #ffffff;
}

.contribution-slide + .contribution-slide {
    border-top: 1px solid #d7d0c2;
}

@media (max-width: 950px) {
    .contribution-slide {
        padding: 70px 30px;
    }

    .slide-inner,
    .slide-inner.reverse {
        flex-direction: column;
        gap: 36px;
        align-items: flex-start;
    }

    .slide-media,
    .slide-copy {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .slide-copy h2 {
        font-size: 42px;
    }
}

/* ===== About Page (Vertical Layout) ===== */

.about-section {
    padding: 80px 60px;
    background: #f3f0e8;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-image img {
    max-width: 200px;
    display: block;
    margin: 0 auto;
     padding-top: 40px;
}

.about-text h2 {
    font-family: "Baskervville", serif;
    font-size: 52px;
    margin-bottom: 24px;
    color: #355d42;
}

.about-text p {
    font-family: "Merriweather", serif;
    font-size: 22px;
    line-height: 1.75;
    color: #2f5a3f;
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .about-section {
        padding: 60px 30px;
    }

    .about-text h2 {
        font-size: 38px;
    }
}

/* ===== Contact Page ===== */

.contact-essay-section {
    background: #f3f0e8;
    padding: 72px 60px 96px;
}

.contact-essay-container {
    max-width: 960px;
    margin: 0 auto;
}

.contact-essay-text {
    font-family: "Merriweather", serif;
    font-size: 18px;
    line-height: 1.75;
    color: #355d42;
    margin: 0 0 24px 0;
}

.contact-email-block {
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid #d7d0c2;
}

.contact-email-label {
    font-family: "Baskervville", serif;
    font-size: 20px;
    color: #355d42;
    margin: 0 0 10px 0;
}

.contact-email {
    margin: 0;
}

.contact-email a {
    font-family: "Baskervville", serif;
    font-size: 20px;
    color: #355d42;
    text-decoration: none;
    border-bottom: 1px solid rgba(53, 93, 66, 0.35);
    padding-bottom: 4px;
}

.contact-email a:hover {
    color: #2a4934;
}

@media (max-width: 900px) {
    .contact-essay-section {
        padding: 56px 30px 72px;
    }

    .contact-essay-text {
        font-size: 17px;
        line-height: 1.7;
    }

    .contact-email a {
        font-size: 30px;
    }
}

.street-media img {

    width: 100%;
    display: block;
    border-radius: 24px;
}

.media-single img,
.main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 24px;
}

.thumb {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}

.fallback-card.minimal {
    min-height: 420px;
    border: 1px solid #444;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.35);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    opacity: 0.7;
}

.fallback-kicker {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.fallback-note {
    margin-top: 12px;
    opacity: 0.75;
}

.street-text h1 {
    margin-bottom: 12px;
}

.street-byline {
    margin-bottom: 16px;
    font-size: 18px;
}

.street-short {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.text-divider {
    border-top: 1px dashed #555;
    margin: 20px 0 24px;
}

.text-divider.light {
    margin: 24px 0;
}

.comment-bubble {
    margin-top: 28px;
    padding: 20px 24px;
    border: 1px solid #444;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.45);
}

.comment-text {
    margin: 0 0 10px;
    line-height: 1.6;
}

.comment-author {
    margin: 0;
    text-align: right;
    font-style: italic;
}

@media (max-width: 900px) {
    .street-layout {
        grid-template-columns: 1fr;
    }
}

.street-meta-row {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
    margin: 8px 0 24px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

.meta-value {
    font-size: 22px;
    line-height: 1.4;
}

.street-text .story-credit {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.75;
    font-style: italic;
    text-align: right;
}

.street-detail {
    max-width: 1180px;
    margin: 0 auto;
}

.street-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
    margin-top: 40px;
    margin-bottom: 80px;
}

.media-gallery .thumb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.gallery-item {
    object-fit: cover;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
}

.thumb {
    width: calc(50% - 6px);
    aspect-ratio: 4 / 3;
}