.cities-hero {
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(212, 137, 26, 0.16),
            transparent 34%
        ),
        var(--bg-body);
}

.cities-hero-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: clamp(28px, 6vw, 80px);
}

.cities-hero .lead {
    margin-top: 24px;
}

/*
|--------------------------------------------------------------------------
| Generic cities-page artwork
|--------------------------------------------------------------------------
*/

.journey-art {
    position: relative;
}

.journey-art::before {
    content: "";
    position: absolute;
    inset: 10% 8%;
    border-radius: 50%;
    background: rgba(212, 137, 26, 0.14);
    filter: blur(55px);
}

.journey-art img {
    position: relative;
    display: block;
    width: 100%;
    max-height: 640px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(
        0 20px 38px rgba(0, 0, 0, 0.45)
    );
}

/*
|--------------------------------------------------------------------------
| City detail hero
|--------------------------------------------------------------------------
*/

body[data-page="city-detail"] .journey-art {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #050505;
    box-shadow: var(--shadow-card);
}

body[data-page="city-detail"] .journey-art::before {
    display: none;
}

body[data-page="city-detail"] .journey-art img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    filter: none;
}

/*
|--------------------------------------------------------------------------
| City catalog
|--------------------------------------------------------------------------
*/

.cities-list {
    background: var(--bg-elevated);
    border-top: 1px solid var(--color-border);
}

.cities-list-head {
    max-width: 850px;
    margin-bottom: 38px;
}

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

/*
|--------------------------------------------------------------------------
| City card
|--------------------------------------------------------------------------
*/

.city-card {
    overflow: hidden;
    display: grid;
    grid-template-columns:
        minmax(190px, 0.78fr)
        minmax(0, 1.22fr);
    align-items: stretch;
    background: var(--card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.city-card-media {
    position: relative;
    overflow: hidden;
    align-self: start;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #050505;
}

.city-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.city-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: clamp(
        22px,
        2.5vw,
        32px
    );
}

.city-count {
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.city-card h3 {
    margin: 8px 0 16px;
    font-family: var(--fd);
    font-size: clamp(
        31px,
        3vw,
        46px
    );
    line-height: 0.92;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.city-card-body > p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.city-card ul {
    margin-bottom: 24px;
}

.city-card li + li {
    margin-top: 8px;
}

.city-card li a {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.4;
    transition: color 0.25s;
}

.city-card li a:hover {
    color: var(--gold);
}

.city-card .btn-secondary {
    min-height: 40px;
    margin-top: auto;
    padding: 8px 15px;
    font-size: 12px;
}

/*
|--------------------------------------------------------------------------
| Missing-image placeholder
|--------------------------------------------------------------------------
*/

.city-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background:
        radial-gradient(
            circle at center,
            rgba(212, 137, 26, 0.16),
            transparent 58%
        ),
        #050505;
    color: var(--gold);
    font-family: var(--fd);
    font-size: clamp(
        44px,
        6vw,
        72px
    );
    letter-spacing: 0.08em;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

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

    .city-card {
        grid-template-columns:
            minmax(220px, 0.72fr)
            minmax(0, 1.28fr);
    }
}

@media (max-width: 800px) {
    .cities-hero-grid {
        grid-template-columns: 1fr;
    }

    .journey-art {
        width: 100%;
        max-width: 700px;
        margin-inline: auto;
    }

    body[data-page="city-detail"] .journey-art {
        max-width: 700px;
    }
}

@media (max-width: 640px) {
    .city-card {
        grid-template-columns:
            minmax(125px, 0.68fr)
            minmax(0, 1.32fr);
    }

    .city-card-body {
        padding: 20px;
    }

    .city-card h3 {
        font-size: clamp(
            28px,
            9vw,
            38px
        );
    }

    .city-card-body > p {
        font-size: 12px;
    }
}

@media (max-width: 460px) {
    .city-card {
        grid-template-columns: 1fr;
    }

    .city-card-media {
        width: min(72vw, 280px);
        margin: 20px auto 0;
        border-radius: var(--radius-md);
    }

    .city-card-body {
        padding: 22px;
    }
}