@media (min-width: 901px) {
    .hero-map {
        width: auto!important;
        height: 80vh!important;
        display: block;
    }
}

@media (min-width: 901px) {
    .caption-desktop-60 {
        max-width: 65%;
    }
}

.back-to-top-btn {
    display: block!important;
    /*margin: 3rem auto 3rem 0!important;*/
    background: #1143ea!important;
    color: white!important;
    border: none!important;
    border-radius: 50px!important;
    padding: 0.75rem 1.5rem!important;
    font-family: "futura-100", sans-serif!important;
    font-size: 0.85rem!important;
    font-weight: 600!important;
    letter-spacing: 0.05em!important;
    cursor: pointer!important;
    transition: background 0.3s!important;
}

.explore-more{
    background: rgba(0,0,0,.05);
    padding:1rem;
    border-radius:5px;
}

/*.explore-more:hover{
    background: rgba(0,0,0,.1);
    padding:1rem;
    border-radius:5px;
}*/

.back-to-top-btn:hover {
    background: black!important;
}

.white-text{

    color:white!important;
}

/* Map Libre control styles */

.maplibregl-ctrl-bottom-right .maplibregl-ctrl {
    float: right;
    margin: 0 1.5rem 1.5rem 0;
}


/* Map logo */
.map-watermark {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    pointer-events: none;
    line-height: 1.1;
    color: white;
}

.map-watermark .en {
    font-family: 'futura-100', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.05em;
    display: block;
    text-shadow: 0px 0px 8px rgba(0,0,0,0.5);

}

.map-watermark .arm {
    font-family: 'futura-100-armenian', sans-serif;
    font-weight: 600;
    font-size: 11px;
    display: block;
    letter-spacing: 0.05em;
    text-shadow: 0px 0px 8px rgba(0,0,0,0.5);

    
}

@media (min-width: 901px) {
    .map-watermark .en { font-size: 15px; }
    .map-watermark .arm { font-size: 15px; }
}


/* Typography */
* {
    box-sizing: border-box;
}

.link-on-blue{
    color:white!important;
}

.armenian-blue{
    color:blue!important;
}

.dict-scroll {
    height: 20vh;
    overflow-y: scroll;
    padding-right: 4px;
    scrollbar-gutter: stable;
}

@media (max-width: 800px) {
    .dict-scroll {
        height: 30vh;
    }
}

.dict-scroll::-webkit-scrollbar {
    width: 10px;
    display: block;
}

.dict-scroll::-webkit-scrollbar-track {
    background: blue;
    border-radius: 0;
}

.dict-scroll::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 0;
    min-height: 60px;
}

.dict-scroll::-webkit-scrollbar-thumb:hover {
    background: #aaaaaa;
}

/* Typography Desktop */
@media (min-width: 901px) {

    .city-body-width-desktop{
        max-width:60%;
        padding-right:0!important;
        margin-right:0!important;
    }
    .page-title-english{
        font-weight: 600;
        font-size:2.5rem;
        margin-bottom:1rem;
    }
    .page-title-armenian{
        font-weight: 600;
        color: #1143ea;
        font-size:2.5rem;
    }
    .caption-english{
        font-size:.75rem;
        line-height:1rem;
        color:rgba(0,0,0,.8);
    }
    .caption-armenian{
        font-size:.75rem;
        line-height:1rem;
        color: #1143ea;
    }
    .caption-legend-english{}
    .caption-legend-armenian{
        color: #1143ea;
    }
    .section-title-english{
        font-size:1.5rem;
        line-height:1.7rem;
        font-weight: 600;
        padding-top:4rem;
    }
    .section-title-armenian{
        font-size:1.5rem;
        line-height:1.8rem;
        font-weight: 600;
        color: #1143ea;
    }
    .body-english{
        font-size:.9rem;
        line-height:1.2rem;
        letter-spacing: .02rem;
        color:rgba(0,0,0,.8);
    }
    .body-armenian{
        font-size:.8rem;
        letter-spacing: .02rem;
        line-height:1.2rem;
        color: #1143ea;
    }
    .location-then-english{
        font-weight: 600;
        line-height: 1.1rem;
    }
    .location-now-english{
        font-weight: 600;
        color:rgba(0,0,0,.4);
    }

}
/* Typography Mobile */
@media (max-width: 900px) {
    .page-title-english{
        font-weight: 600;
        font-size:2.5rem;
        margin-bottom:1rem;
    }
    .page-title-armenian{
        font-weight: 600;
        color: #1143ea;
        font-size:2.5rem;
    }
    .caption-english{
        font-size:.75rem;
        line-height:.95rem;
        color:rgba(0,0,0,.8);
    }
    .caption-armenian{
        font-size:.75rem;
        line-height:1.05rem;
        color: #1143ea;
    }
    .caption-legend-english{}
    .caption-legend-armenian{
        color: #1143ea;
    }
    .section-title-english{
        font-size:1.5rem;
        line-height:1.7rem;
        font-weight: 600;
        padding-top:4rem;
    }
    .section-title-armenian{
        font-size:1.5rem;
        line-height:1.7rem;
        font-weight: 600;
        color: #1143ea;
    }
    .body-english{
        font-size:.85rem;
        line-height:1.1rem;
        letter-spacing: .02rem;
        color:rgba(0,0,0,.8);
    }
    .body-armenian{
        font-size:.8rem;
        line-height:1.2rem;
        letter-spacing: .02rem;
        color: #1143ea;
    }
    .location-then-english{
        font-weight: 600;
        line-height: 1.1rem;
    }
    .location-now-english{
        font-weight: 600;
        color:rgba(0,0,0,.4);
    }

}

/* Base English Font */
body, p, h1, h2, h3, summary, .popup-eng, .nav-link, .label-header, .view-link, .page-title-english,
.caption-english, .caption-legend-english, .section-title-english, .body-english, .location-past-english,
.location-now-english {
    font-family: "futura-100", sans-serif;
}

h1 {
    font-size: 2.5rem;
    line-height: 2.75rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: .05rem;
}

h2 {
    font-size: 1.75rem;
    margin: 0;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

h4 {
    margin: 0;
    font-weight: 600;
}

/*p {
    font-size: .85rem;
    line-height: 1.2rem;
    letter-spacing: 0.025em;
}*/

::selection {
    background: black;
    color: #1143ea;
}

.city-section-intro {
    font-size: 1.5rem;
    max-width: 50%;
}

.city-title {
    margin-bottom: 1rem;
}

.metadata-block {
    width: 50%;
}

/* Armenian Specific Typography */
.h1-armenian,
.h1-armenian-title,
.h2-armenian,
.h3-armenian,
.body-armenian,
.body-armenian-dropdown,
.h1-arm,
.popup-arm,
.city-name-arm,
.label-arm,
.page-title-armenian,
.caption-armenian,
.caption-legend-armenian,
.section-title-armenian,
.body-armenian
{
    font-family: "futura-100-armenian", sans-serif !important;
}

.h1-armenian-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 2.75rem;
    margin: 0;
    /*letter-spacing: .05rem;*/
    color: black;
}

.h1-armenian {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 2.75rem;
    margin: 0;
    letter-spacing: .05rem;
    color: #1143ea;
}

.h2-armenian {
    font-size: 1.75rem;
    line-height: 1.4rem;
    margin: 0;
    font-weight: 600;
    color: #1143ea;
}

.h3-armenian {
    font-size: 1.375rem;
    margin: 0;
    font-weight: 600;
    color: #1143ea;
}

.popup-eng {
    font-size: 1rem;
    line-height: 1.2rem;
    font-weight: 500;
}

.popup-arm {
    font-size: 1rem;
    line-height: 1.2rem;
    font-weight: 500;
    color: #1143ea;
}

.english-dictionary-term {
    font-style: italic;
}

.body-english {
/*    font-size: .85rem;
    line-height: 1.3rem;
*/
}

.body-armenian {
/*    font-size: .85rem;
    line-height: 1.3rem;*/
    color: #1143ea;
}

.body-armenian-dropdown {
    font-size: .8rem;
    line-height: 1.2rem;
    color: rgba(255,255,255,1);
}

/* Image sections */
@media (min-width: 901px) {
    .image-block{
        margin-top:1rem;
        margin-bottom:2rem;
    }

}
/* Typography Mobile */
@media (max-width: 900px) {
    .image-block{
        margin-top:1rem;
        margin-bottom:2rem;
    }
}

 /*── Atlas bar ── */
#atlas-bar {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(0,0,0,.95);
    border: none;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#atlas-bar.visible {
    opacity: 1;
    pointer-events: auto;
}

#atlas-bar .bar-title {
    font-family: "futura-100", sans-serif;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .05rem;
    color: white;
    white-space: nowrap;
}

#atlas-bar .bar-title-arm {
    font-family: "futura-100-armenian", sans-serif;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .05rem;
    color: white;
    white-space: nowrap;
    text-transform: uppercase;
}



/* ── City bar ── */
#city-bar {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 500;
    background: #1143ea;
    border: none;
    padding: 1.0rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#city-bar.visible {
    opacity: 1;
    pointer-events: auto;
}

#city-bar .bar-title {
    font-family: "futura-100", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: .0rem;
    color: white;
    white-space: nowrap;
}

@media (max-width: 901px) {
#city-bar .bar-title {
    font-family: "futura-100", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .0rem;
    color: white;
    white-space: nowrap;
}
}

.bar-close {
    padding: 0;
}

#city-bar .bar-close {
    text-decoration: none;
    font-size: 4rem;
    color: white;
    line-height: 1;
    flex-shrink: 0;
}

#city-bar .bar-close:hover {
    color: black;
}

/* ── Go back ── */

@media (max-width: 901px) {
.go-back {
    position: fixed;
    top: 1.3rem!important;
    right: 1.3rem!important;
}
}



.go-back {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000;
    text-decoration: none;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.5);
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.5s;
}

.go-back:hover {
    background: rgba(17,67,234,.95);
    color: black;
}

/* ── Root variables ── */
:root {
    --accent: #1143ea;
    --bg: #ffffff;
    --accent-blue: #0000ff;
    --bg-color: #ffffff;
    --label-opacity: rgba(0, 0, 0, 0.3);
    --label-offset-x: 3.5px;
    --label-offset-y: 1px;
}

/* ── Base layout ── */
body, html {
    margin: 0;
    padding: 0;
    background: var(--bg);
    height: 100%;
    overflow-x: hidden;
    width: 100%;
}

.master-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.map-pane {
    flex: 0 0 40%;
    height: 100vh;
    position: sticky;
    top: 0;
    border-right: 1px solid rgba(0,0,0,0.1);
    z-index: 10;
}

.content-pane {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    scroll-behavior: smooth;
    padding-bottom:3rem!important;
}






.content-pane > :not(.hero-image) {
    padding-left: 4rem;
    padding-right: 4rem;
}

.content-pane > .hero-image {
    margin-bottom: 0;
}

.content-pane .city-header {
    padding-top: 2rem;
}

.city-header {
    padding-top: 2rem;
}

.city-header .armenian {
    font-size: 2.8rem;
    color: var(--accent);
    display: block;
    margin-top: 10px;
}

/* ── Main layout (index page) ── */
.main-layout {
    display: flex;
}

.sidebar {
    width: 40%;
    padding: 3rem;
    box-sizing: border-box;
    background: #1143ea;
    min-height: 100vh;
}

.content-scroll {
    width: 60%;
    padding: 3rem;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* ── City nav section ── */
.city-nav-section {
    background: rgba(0,0,0,.05);
    padding: 2rem 3rem;
    /* pull left/right to cancel .content-scroll padding */
    margin: -3rem -3rem 2rem -3rem;
}



/*.city-nav-section .nav-link {
    color: white;
}*/

.city-nav-section .nav-link:hover {
    color: #1143ea;
}

.city-nav {
    column-count: 2;
    column-gap: 16px;
    max-width: 500px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.nav-link {
    display: block;
    color: black;
    font-size: 1rem;
    line-height: 1.1rem !important;
    font-weight: 600;
    transition: color 0.3s;
    width: fit-content;
    margin-bottom: 8px;
}

.nav-link:hover {
    color: var(--accent-blue);
}

/* ── Map section ── */
.map-section {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
    background: var(--bg-color);
}

.map-relative-box {
    position: relative;
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

.base-map-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

.overlay-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* ── SVG markers & labels ── */
.water-label text {
    fill: rgba(255,255,255,.4);
    font-size: .15rem;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}

.marker-persistent {
    fill: rgba(0,0,0,1);
    stroke: none;
}

.label-group-persistent {
    display: block !important;
    pointer-events: none;
}

/*.label-en-p { font-size: .225rem; fill: rgba(0,0,0,.5); font-weight:600; }
.label-arm-p { font-size: .225rem; fill: rgba(17,67,234,.5);font-weight:600;  }*/

.city-marker {
    fill: rgba(0,0,0,.3);
    transition: all 0.4s linear;
    r: 1;
}

.city-label-group {
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.label-en,
.label-en-p {
    font-family: "futura-100", sans-serif;
    font-size: 0.3rem;
    font-weight: 600;
    fill: rgba(0, 0, 0, 0.75);
}

.label-arm,
.label-arm-p {
    font-family: "futura-100-armenian", sans-serif;
    font-size: 0.3rem;
    font-weight: 600;
    fill: #1143ea;
}

@media (max-width: 900px) {
    .label-en,
    .label-en-p {
        font-size: 0.35rem;
    }
    .label-arm,
    .label-arm-p {
        font-size: 0.35rem;
    }
}

.city-group {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.city-group.active-city {
    opacity: 1;
}

.city-group .city-label-group {
    display: none;
}

.city-group.active-city .city-label-group {
    display: block;
}

.city-group.active-city .city-marker {
    fill: #ff4500;
    r: 1.5;
}

.active-city .city-marker {
    fill: rgba(0,0,0);
    r: 1.0;
    z-index: 1000;
}

.active-city .city-label-group {
    opacity: 1;
}

/* ── Details / summary ── */
details {
    color: white !important;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

details summary {
    font-size: 1.2rem;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-top: 2px solid white;
}

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

summary::after {
    content: "+";
    color: white;
}

details[open] summary::after {
    content: "×";
}

/* ── Dictionary ── */
.main-title {
    color: white !important;
    margin-bottom: 50px;
}

.dict-term {
    font-family: "futura-100-armenian", sans-serif;
    font-weight: 600;
    font-style: normal;
    margin-top: 100px !important;
}

.dict-letter {
    font-family: "futura-100-armenian", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
    border-top: solid 0px white;
}

/* ── City containers ── */
.city-container {
    margin-bottom: 80px;
    border-bottom: 0px solid rgba(0,0,0,0.05);
    scroll-margin-top: 4rem;
}

.city-name-en {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
}

.city-name-arm {
    font-size: 1.75rem;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 1.5rem;
}

.label-header {
    font-size: 0.6rem;
    font-weight: 500 !important;
    text-transform: uppercase;
    color: var(--label-opacity);
    letter-spacing: 0.05rem;
    display: block;
    margin-top: 5px;
}

hr {
    border: 0;
    border-top: 1px solid var(--accent-blue);
    opacity: .25;
    margin-bottom: 0px;
}

.view-link {
    display: inline-block;
    /*margin-top: 10px;*/
    color: var(--accent-blue);
    transition: color 0.3s;
    text-decoration: underline;
    font-weight: 600;
}

.view-link:hover {
    color: black;
}

/* ── Images ── */
.full-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: .5rem;
    margin-top: .5rem;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.hero-image-vertical {
    width: auto;
    height: 80vh;
    display: block;
    margin: 0;
    padding: 0;
}

/* ── Narrative sections (aintab detail page) ── */
.narrative-section {
    /*min-height: 100vh;*/
    padding: 0rem 0;
    border-top: 0px solid rgba(0,0,0,0.1);
    max-width: 100%;
}

.section-title {
    font-size: 1.2rem;
    line-height: 1.4rem;
    font-weight: 600;
}

.section-subtitle {
    margin: 0;
}

/* ── Popup ── */
.maplibregl-popup-content {
    padding: 10px;
    font-size: 13px;
    border-radius: 5px;
    box-shadow: 0 20px 20px rgba(0,0,0,0.25);
}

.h1-arm, .city-name-arm, .label-arm {
    font-family: "futura-100-armenian" !important;
}

.back-to-top {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    padding: 10px;
    display: inline-block;
}

.back-to-top:hover {
    text-decoration: underline;
}

/* ════════════════════════════════════════
   DESKTOP  (min-width: 901px)
════════════════════════════════════════ */
@media (min-width: 901px) {

    #atlas-bar {
        top: 0;
        left: 40%;
        justify-content: flex-start;
    }

    #city-bar {
        top: 0;
        left: 39.9%;
        padding-left: 4rem;
    }

    #city-bar .bar-close { display: block; }

    body.bar-visible .go-back { display: flex; }

    .content-pane { transition: padding-top 0.3s ease; }
    body.bar-visible .content-pane { padding-top: 44px; }

    .detail-image {
        width: 70%;
        height: auto;
        margin-bottom: 2rem;
    }

    .detail-image,
    .detail-image-vertical {
        filter: brightness(99%);
    }

    .detail-image-vertical {
        width: 50%;
        height: auto;
        margin-bottom: 2rem;
    }

    .map-section {
        position: static;
        border-bottom: none;
        background: transparent;
        margin-bottom: 0;
    }

    #desktop-map-target {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    #desktop-map-target .map-section {
        margin: 0;
        padding: 0;
    }

    .main-layout {
        height: 100vh;
        overflow: hidden;
    }

    .sidebar {
        overflow-y: auto;
        height: 100vh;
        padding: 0;
    }

    .sidebar > :not(#desktop-map-target) {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .main-title {
        padding-top: 3rem;
    }

    .content-scroll {
        overflow-y: scroll;
        height: 100vh;
    }

    /* City nav: flush to top, same height as the sidebar map image */
    .city-nav-section {
        height: calc(40vw * 0.525);
        margin: -3rem -3rem 3rem -3rem;
        padding: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        overflow: hidden;
    }

    .city-nav-section > span.nav-link {
        margin-bottom: 1rem;
        flex-shrink: 0;
    }

    .city-nav {
        column-count: 2;
        column-gap: 2rem;
        column-fill: auto;
        width: auto;
        max-width: 480px;
        /* full box height minus top padding minus bottom padding minus label row */
        height: calc(40vw * 0.525 - 3rem - 3rem - 2rem);
        margin: 0;
        padding: 0;
        border: none;
    }
}

/* ════════════════════════════════════════
   MOBILE  (max-width: 900px)
════════════════════════════════════════ */
@media (max-width: 900px) {

    body, html {
        height: auto;
        min-height: 100vh;
    }

    #atlas-bar {
        top: 195.5px;
        height:2rem;
    }

    #atlas-bar .bar-title-arm {
        font-size: 0.85rem !important;
    }

    #city-bar {
        top: 196.5px;
        justify-content: center;
        height:2rem;
        /*padding: 0.5rem 1.5rem !important;*/
    }

    #city-bar .bar-close { display: none; }

    .content-pane { transition: margin-top 0.3s ease; }
    body.bar-visible .content-pane { margin-top: calc(196.5px + 42px); }

    .water-label text {
        fill: rgba(255,255,255,.4);
        font-size: .2rem;
        letter-spacing: 0.75px;
        text-transform: uppercase;
    }

    /*.label-en {
        font-size: 6.5px;
        fill: black;
        font-weight: 600;
    }

    .label-arm {
        font-size: 6.5px;
        fill: #1143ea;
        font-weight: 600;
    }

    .label-en-p {
        font-size: 6.5px;
        font-weight: 500;
        fill: rgba(0,0,0,.5);
        font-weight:600; 
    }

    .label-arm-p {
        font-size: 6.5px;
        fill: rgba(17,67,234,.5);
        font-weight: 500;
        font-weight:600; 
    }*/

    .master-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .map-pane {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        height: 196.5px;
        flex: none;
        z-index: 100;
    }

    .content-pane {
        margin-top: 196.5px;
        padding: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        overflow-y: visible;
    }

    .content-pane > :not(.hero-image) {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .content-pane .city-header {
        padding-top: 1rem;
    }

    .map-section {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        height: 196.5px;
        overflow: hidden;
        z-index: 2000;
        margin: 0;
        padding: 0;
        border-bottom: none;
    }

    .base-map-img {
        height: 196.5px;
        width: 100%;
        object-fit: cover;
        display: block;
        margin: 0;
        padding: 0;
        line-height: 0;
        vertical-align: bottom;
    }

    .map-relative-box {
        margin: 0;
        padding: 0;
        display: block;
        line-height: 0;
        font-size: 0;
    }

    .base-map-img {
        display: block;
        margin: 0;
        padding: 0;
        line-height: 0;
        vertical-align: bottom;
    }

    .full-image {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .narrative-section {
        max-width: 100%;
        /*min-height: 80vh;*/
        /*padding: 2rem 0;*/
    }

    .city-header {
        padding-bottom: 3rem;
        padding-top: 1rem;
    }

    .main-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-height: auto;
        padding: 2rem;
        padding-top: calc(100vw * 0.52 + 2rem);
    }

    .content-scroll {
        width: 100%;
        padding: 2rem;
    }

    /* City nav: full bleed, no gap above */
    .city-nav-section {
        height: auto;
        margin: -2rem -2rem 2rem -2rem;
        padding: 2rem;
        display: block;
    }
}

/* ════════════════════════════════════════
   SMALL MOBILE  (max-width: 600px)
════════════════════════════════════════ */
@media (max-width: 600px) {

    .detail-image,
    .detail-image-vertical {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
        filter: brightness(99%);
    }

    .metadata-block {
        width: 100%;
        font-size: .9rem;
        line-height: 1rem;
        letter-spacing: .01rem;
    }
}