/* Khorfakkan city page. Shared branding remains in style.css. */
.city-page {
    --city-navy: #12334a;
    --city-blue: #1c4379;
    --city-gold: #e9bf6a;
    --city-sand: #f6f4ee;
    --city-copy: #52616b;
    color: var(--city-copy);
}

.city-page h1,
.city-page h2,
.city-page h3 {
    letter-spacing: -.035em;
}

.city-page h2 {
    font-size: clamp(2.2rem, 4.3vw, 3.7rem);
    line-height: 1.09;
    color: var(--city-navy);
    font-weight: 750;
    margin-bottom: 24px;
}

.city-page h3 {
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--city-navy);
}

.city-page p {
    line-height: 1.8;
}

.city-page a:focus-visible {
    outline: 3px solid #bd871a;
    outline-offset: 5px;
}

.city-page section[id] {
    scroll-margin-top: calc(var(--header-offset) + 88px);
}

.city-kicker {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 750;
    color: #79613a;
    margin: 0 0 20px;
}

.city-hero {
    position: relative;
    min-height: 680px;
    min-height: min(820px, calc(100svh - var(--header-offset)));
    isolation: isolate;
    color: white;
    background: #173449;
}

.city-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    z-index: -2;
}

.city-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 27, 43, .88), rgba(5, 27, 43, .59) 43%, rgba(5, 27, 43, .03) 83%), linear-gradient(0deg, rgba(5, 27, 43, .6), transparent 35%);
    z-index: -1;
}

.city-hero-inner {
    display: flex;
    flex-direction: column;
    min-height: inherit;
    padding-top: 25px;
    padding-bottom: 25px;
}

.city-breadcrumb {
    display: flex;
    gap: 12px;
    font-size: .78rem;
    color: #f1f4f6;
}

.city-breadcrumb a {
    color: white;
}

.city-hero-copy {
    padding: 54px 0 52px;
    margin: auto 0;
    max-width: 680px;
}

.city-hero .city-kicker {
    color: #f2d49c;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .68rem;
}

.city-hero .city-kicker span {
    width: 25px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

.city-hero h1 {
    color: white;
    font-size: clamp(2.2rem, 4.3vw, 5.6rem);
    line-height: 1.03;
    font-weight: 750;
    margin: 0 0 23px;
}

.city-hero-copy>p:not(.city-kicker) {
    max-width: 425px;
    font-size: 1.04rem;
    color: #f0f3f4;
    margin-bottom: 30px;
}

.city-button {
    display: inline-flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 7px 14px 24px;
    border-radius: 50px;
    font-size: .86rem;
    font-weight: 750;
    transition: background .2s, transform .2s;
}
.city-button i:before {
    align-items: center;
    max-height: 16px;
    max-width: 16px; 
    padding: 14px 18px;
    border-radius: 50px;
    background: #fff;
   
}

.city-button:hover {
    transform: translateY(-2px);
}

.city-button-gold {
    color: #153044;
    background: var(--city-gold);
}

.city-button-gold:hover {
    color: #153044;
    background: #f7d89b;
}

.city-button-blue {
    color: white;
    background: var(--city-blue);
}

.city-button-blue:hover {
    color: white;
    background: #12345f;
}

.city-button span {
    font-size: 1.3rem;
    line-height: 1;
}

.city-hero-foot {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #ffffff40;
    text-transform: uppercase;
    font-size: .65rem;
    letter-spacing: .13em;
}

.city-hero-foot a {
    color: white;
}

.city-hero-foot a span {
    margin-left: 15px;
}

.city-section-nav {
    position: sticky;
    top: var(--header-offset);
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e4e7e8;
    box-shadow: 0 5px 20px #12334a05;
}

.city-section-nav .container {
    display: flex;
    justify-content: space-between;
    gap: 26px;
    overflow-x: auto;
}

.city-section-nav a {
    white-space: nowrap;
    padding: 21px 0 18px;
    font-size: .79rem;
    font-weight: 700;
    color: var(--city-navy);
    border-bottom: 3px solid transparent;
}

.city-section-nav a:hover,
.city-section-nav a:focus-visible {
    border-bottom-color: #bd913e;
}

.city-section-nav a:last-child {
    color: #86601f;
}

.city-section {
    padding: 96px 0;
}

.city-sand {
    background: var(--city-sand);
}

.city-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 90px;
}

.city-intro-copy p:last-child {
    margin-bottom: 0;
}

.city-lead {
    font-size: 1.18rem;
    color: var(--city-navy);
    line-height: 1.7;
}

.city-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 52px 0 0;
    padding: 28px 0 0;
    border-top: 1px solid #dce2e5;
    gap: 24px;
}

.city-facts div+div {
    border-left: 1px solid #dce2e5;
    padding-left: 30px;
}

.city-facts dt {
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #6c767c;
    font-size: .66rem;
    font-weight: 600;
    margin-bottom: 9px;
}

.city-facts dd {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--city-navy);
    margin: 0;
}

.city-facts small {
    display: block;
    font-size: .73rem;
    font-weight: 400;
    color: var(--city-copy);
}

.city-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 38px;
}

.city-section-heading h2 {
    margin-bottom: 0;
}

.city-section-heading>p {
    max-width: 330px;
    font-size: .96rem;
    margin-bottom: 3px;
}

.city-featured-places {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 24px;
}

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

.city-place-photo {
    overflow: hidden;
    position: relative;
    background: #d8e0df;
}

.city-place-photo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform .5s;
}

.city-place:hover .city-place-photo img {
    transform: scale(1.035);
}

.city-place-number {
    position: absolute;
    left: 16px;
    top: 16px;
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    background: #12334a65;
    color: white;
    font-size: .72rem;
}

.city-place-copy {
    padding: 22px 0 0;
}

.city-category {
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: .62rem;
    font-weight: 750;
    color: #816125;
    margin-bottom: 8px;
}

.city-place-copy h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.city-place-copy>p:last-child {
    font-size: .87rem;
    margin-bottom: 0;
}

.city-more-places {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid #deded6;
}

.city-more-places .city-place-photo img {
    height: 215px;
}

.city-more-places .city-place-copy h3 {
    font-size: 1.13rem;
}

.city-heritage-grid {
    display: grid;
    grid-template-columns: .9fr 1fr;
    align-items: center;
    gap: 85px;
}

.city-heritage-image {
    position: relative;
    padding: 0 28px 28px 0;
}

.city-heritage-image::before {
    content: '';
    position: absolute;
    inset: 28px 0 0 28px;
    background: #ede8dc;
    z-index: -1;
}

.city-heritage-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.city-heritage-image>span {
    position: absolute;
    bottom: 55px;
    left: 24px;
    right: 50px;
    padding: 12px 16px;
    background: #ffffffed;
    color: var(--city-navy);
    font-size: .74rem;
}

.city-text-link {
    display: inline-flex;
    gap: 25px;
    align-items: center;
    color: var(--city-blue);
    font-size: .85rem;
    font-weight: 750;
    border-bottom: 1px solid #a8b7c2;
    padding-bottom: 6px;
    margin-top: 8px;
}

.city-experiences {
    background: #12334a;
    color: #dde5e9;
}

.city-experiences h2,
.city-experiences h3 {
    color: white;
}

.city-experiences .city-kicker {
    color: #ebc780;
}

.city-experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.city-experience-photo {
    position: relative;
    min-height: 470px;
    overflow: hidden;
}

.city-experience-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #051e32d9, transparent 75%);
}

.city-experience-photo img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-experience-photo>div {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 24px;
    z-index: 1;
}

.city-experience-photo .city-kicker {
    margin-bottom: 10px;
}

.city-experience-photo h3 {
    font-size: 2.15rem;
    margin: 0;
}

.city-experience-list article {
    display: flex;
    gap: 22px;
    padding: 21px 0;
    border-bottom: 1px solid #ffffff29;
}

.city-experience-list article:first-child {
    padding-top: 0;
}

.city-experience-list article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.city-experience-list article>span {
    font-size: .72rem;
    color: #e5bf78;
    margin-top: 5px;
}

.city-experience-list h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.city-experience-list p {
    font-size: .88rem;
    margin-bottom: 0;
}

.city-conditions {
    display: flex;
    gap: 13px;
    align-items: baseline;
    font-size: .77rem;
    color: #cbd7de;
    border-top: 1px solid #ffffff29;
    padding-top: 25px;
    margin: 35px 0 0;
}

.city-conditions i {
    color: #ebc780;
}

.city-port-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.city-port-photo {
    margin: 0;
}

.city-port-photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.city-port-photo figcaption {
    font-size: .69rem;
    margin-top: 12px;
    color: #6c767c;
}

.city-planning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.city-planning-grid article {
    border-top: 1px solid #cdd2d2;
    padding-top: 28px;
}

.city-plan-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: #e9e6db;
    color: #795e2e;
    border-radius: 50%;
    margin-bottom: 23px;
    font-size: 1.2rem;
}

.city-planning-grid h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.city-planning-grid p {
    font-size: .9rem;
}

.city-event-note {
    margin-top: 55px;
    padding: 35px 40px;
    background: white;
    border-left: 3px solid #c69c4b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.city-event-note .city-kicker {
    margin-bottom: 10px;
}

.city-event-note h3 {
    font-size: 1.45rem;
}

.city-event-note p:last-child {
    margin: 0;
    font-size: .88rem;
}

.city-event-note .city-button {
    flex-shrink: 0;
}

/* @media (min-width: 1400px) {
    .city-page .container {
        max-width: 1240px;
    }
} */

@media (max-width: 1199px) {

    .city-intro-grid,
    .city-heritage-grid,
    .city-port-grid {
        gap: 45px;
    }

    .city-featured-places {
        grid-template-columns: repeat(3, 1fr);
    }

    .city-place-photo img {
        height: 230px;
    }

    .city-more-places {
        gap: 20px;
    }

    .city-more-places .city-place-photo img {
        height: 180px;
    }

    .city-experience-grid {
        gap: 35px;
    }

    .city-hero {
        min-height: 680px;
    }
}

@media (max-width: 991px) {
    .city-section {
        padding: 72px 0;
    }

    .city-section-nav .container {
        justify-content: flex-start;
    }

    .city-intro-grid {
        gap: 30px;
        grid-template-columns: .9fr 1.1fr;
    }

    .city-more-places {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 35px;
    }

    .city-more-places .city-place-photo img {
        height: 245px;
    }

    .city-place-photo img {
        height: 200px;
    }

    .city-heritage-grid {
        gap: 35px;
    }

    .city-heritage-image img {
        height: 480px;
    }

    .city-experience-grid {
        grid-template-columns: 1fr;
    }

    .city-experience-photo {
        min-height: 400px;
    }

    .city-experience-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .city-experience-list article {
        padding: 0 0 20px;
    }

    .city-experience-list article:last-child {
        border-bottom: 1px solid #ffffff29;
    }

    .city-port-grid {
        gap: 30px;
    }

    .city-port-photo img {
        height: 470px;
    }

    .city-planning-grid {
        gap: 25px;
    }

    .city-event-note {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .city-hero {
        min-height: 660px;
    }

    .city-hero-image {
        object-position: 60% center;
    }

    .city-hero::before {
        background: linear-gradient(90deg, #051b2be8, #051b2b5c), linear-gradient(0deg, #051b2bb3, transparent 65%);
    }

    .city-hero h1 {
        font-size: clamp(3rem, 10vw, 4.2rem);
    }

    .city-hero-copy {
        padding: 45px 0;
    }

    .city-hero .city-kicker {
        font-size: .58rem;
        letter-spacing: .1em;
    }

    .city-hero-foot {
        font-size: .55rem;
        letter-spacing: .08em;
    }

    .city-section {
        padding: 58px 0;
    }

    .city-section-nav a {
        padding: 16px 0 13px;
    }

    .city-intro-grid,
    .city-heritage-grid,
    .city-port-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .city-section-heading {
        display: block;
        margin-bottom: 28px;
    }

    .city-section-heading>p {
        margin-top: 20px;
        max-width: 100%;
    }

    .city-facts {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        margin-top: 32px;
    }

    .city-facts div+div {
        border: 0;
        padding-left: 0;
    }

    .city-facts div:nth-child(even) {
        padding-left: 20px;
        border-left: 1px solid #dce2e5;
    }

    .city-featured-places {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .city-place-photo img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .city-place-copy {
        padding-top: 18px;
    }

    .city-more-places {
        gap: 30px 18px;
        margin-top: 30px;
        padding-top: 30px;
    }

    .city-more-places .city-place-photo img {
        height: auto;
        aspect-ratio: 1;
    }

    .city-more-places .city-place-copy h3 {
        font-size: 1.07rem;
    }

    .city-more-places .city-place-copy>p:last-child {
        font-size: .82rem;
    }

    .city-category {
        font-size: .57rem;
    }

    .city-heritage-image img {
        height: 420px;
    }

    .city-heritage-copy {
        padding-top: 12px;
    }

    .city-experience-photo {
        min-height: 350px;
    }

    .city-experience-photo>div {
        left: 22px;
        bottom: 24px;
    }

    .city-experience-photo h3 {
        font-size: 1.8rem;
    }

    .city-experience-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .city-experience-list article:last-child {
        border: 0;
    }

    .city-port-photo img {
        height: auto;
        aspect-ratio: 4/3;
    }

    .city-planning-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .city-plan-icon {
        margin-bottom: 18px;
    }

    .city-event-note {
        padding: 28px 24px;
        margin-top: 36px;
    }

    .city-event-note .city-button {
        width: 100%;
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .city-page *,
    .city-page *::before,
    .city-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}