/* Croatia destination detail — Figma frame 2260:1294 */
.croatia-page {
    --croatia-brown: #5a3926;
    --croatia-dark-brown: #331c0f;
    --croatia-copy: #2b2b2b;
    --croatia-cream: #f7f4ef;
    background: #fff;
    color: var(--croatia-copy);
}

.croatia-content-width {
    width: min(1200px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.croatia-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    color: #f5f1e8;
}

.croatia-hero__image,
.croatia-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.croatia-hero__image {
    display: block;
    object-fit: cover;
    object-position: center center;
}

.croatia-hero__shade--side {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.098) 35%, rgba(0, 0, 0, 0.042) 65%, rgba(0, 0, 0, 0) 100%);
}

.croatia-hero__shade--bottom {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.098) 35%, rgba(0, 0, 0, 0.042) 65%, rgba(0, 0, 0, 0) 100%);
}

.croatia-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(1200px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    align-items: flex-start;
}

.croatia-hero__content {
    display: flex;
    margin-top: 177px;
    padding: 5px 80px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.croatia-hero h1 {
    margin: 0;
    color: #f5f1e8;
    font-family: "Playfair-Display", serif;
    font-size: 72px;
    font-weight: 400;
    letter-spacing: 2.16px;
    line-height: 1.15;
}

.croatia-hero p {
    margin: 0;
    color: #f5f1e8;
    font-size: 20px;
    line-height: 1.7;
}

.croatia-subnav-slot {
    min-height: 58px;
}

.croatia-subnav {
    position: sticky;
    top: 96px;
    left: 0;
    z-index: 98;
    display: flex;
    width: 100%;
    min-height: 58px;
    margin: 0;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-bottom: 1px solid rgba(90, 57, 38, 0.08);
    background: var(--white-color);
    transition: box-shadow 200ms ease;
}

.croatia-subnav.is-sticky {
    background: var(--cream-color);
    box-shadow: 0 8px 18px rgba(43, 43, 43, 0.08);
}

.croatia-subnav a {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--brown-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

.croatia-subnav a.is-active,
.croatia-subnav a:hover,
.croatia-subnav a:focus-visible {
    background: transparent;
    color: var(--teal-color);
    text-decoration: underline;
}

.croatia-overview {
    padding: 120px 0;
    background: #fff;
}

.croatia-overview__inner,
.croatia-explore__intro,
.croatia-places__intro {
    padding-left: 80px;
}

.croatia-overview__copy {
    display: flex;
    width: min(850px, 100%);
    flex-direction: column;
    gap: 0;
}

.croatia-overview h2,
.croatia-explore h2,
.croatia-places h2,
.croatia-cta h2 {
    font-family: "Playfair-Display", serif;
    font-weight: 400;
}

.croatia-overview h2 {
    margin: 0 0 32px;
    color: var(--croatia-brown);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.15;
}

.croatia-body-copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: var(--croatia-copy);
    font-size: 15px;
    line-height: 24px;
}

.croatia-body-copy p {
    margin: 0;
    line-height: inherit;
}

.croatia-body-copy p + p {
    margin-top: 0;
}

.croatia-explore {
    background: #fff;
}

.croatia-explore__intro {
    padding-bottom: 48px;
}

.croatia-explore__intro > div,
.croatia-places__intro > div {
    width: min(760px, 100%);
}

.croatia-explore h2,
.croatia-places h2 {
    margin: 0 0 40px;
    color: var(--croatia-dark-brown);
    font-size: 36px;
    line-height: 1.25;
}

.croatia-explore__intro p,
.croatia-places__intro p {
    margin: 0;
    color: var(--croatia-copy);
    font-size: 18px;
    line-height: 1.7;
}

.croatia-map {
    position: relative;
    width: 100%;
    height: clamp(540px, 43vw, 760px);
    overflow: hidden;
    background: #fff;
}

.croatia-map--image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.croatia-map--image .croatia-map__image {
    display: block;
    width: min(1200px, calc(100% - 48px));
    height: 100%;
    object-fit: contain;
}

.croatia-map__country,
.croatia-map__accent {
    position: absolute;
    display: block;
    max-width: none;
    height: auto;
    pointer-events: none;
}

.croatia-map__country {
    top: 2.29%;
    left: 33.78%;
    width: 31.39%;
}

.croatia-map__accent {
    top: 29.96%;
    left: 38.52%;
    width: 23.81%;
}

.croatia-map__neighbours,
.croatia-map__cities {
    position: absolute;
    inset: 0;
}

.croatia-map__neighbours {
    z-index: 1;
}

.croatia-map__cities {
    z-index: 2;
}

.croatia-map__neighbour {
    position: absolute;
    color: #a69b95;
    font-size: 16px;
    font-style: italic;
    line-height: 1.15;
    white-space: nowrap;
}

.croatia-map__neighbour--austria {
    top: 0.08%;
    left: 43.24%;
}

.croatia-map__neighbour--hungary {
    top: 4.55%;
    left: 61.28%;
}

.croatia-map__neighbour--slovenia {
    top: 17.71%;
    left: 35.12%;
}

.croatia-map__neighbour--italy {
    top: 40.12%;
    left: 28.90%;
}

.croatia-map__neighbour--bosnia {
    top: 43.47%;
    left: 54.43%;
    width: 110px;
    text-align: center;
    transform: translateX(-50%);
}

.croatia-map__neighbour--serbia {
    top: 50.49%;
    left: 70.34%;
}

.croatia-map__neighbour--montenegro {
    top: 69.22%;
    left: 68.29%;
}

.croatia-map__city {
    position: absolute;
    top: var(--city-top);
    left: var(--city-left);
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: #4a2e1f;
    font-size: 16px;
    line-height: 1.15;
    text-decoration: none;
    white-space: nowrap;
}

.croatia-map__city::after {
    position: absolute;
    top: var(--thumbnail-offset-y, 0);
    left: var(--thumbnail-offset-x, 0);
    display: block;
    transform: translate(5px, -180px);
    width: var(--thumbnail-width, 0);
    height: var(--thumbnail-height, 0);
    content: "";
    background: var(--thumbnail-image) center / cover no-repeat;
    pointer-events: none;
}

.croatia-map__city img {
    display: block;
    width: 6px;
    height: 6px;
    margin-top: 7px;
    flex: 0 0 6px;
}

.croatia-map__city:hover,
.croatia-map__city:focus-visible {
    color: #3f8f97;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.croatia-map__city:focus-visible {
    outline: 2px solid var(--croatia-brown);
    outline-offset: 4px;
}

.croatia-places {
    padding: 120px 0;
    background: var(--croatia-cream);
}

.croatia-places__intro {
    margin-bottom: 42px;
}

.croatia-places__grid {
    display: flex;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding-left: 80px;
    flex-direction: column;
    gap: 48px;
}

.croatia-places__row {
    display: grid;
    grid-template-columns: minmax(0, 700fr) minmax(0, 449fr);
    gap: 48px;
    align-items: center;
}

.croatia-places__row:nth-child(even) {
    grid-template-columns: minmax(0, 449fr) minmax(0, 700fr);
}

.croatia-place-card {
    min-width: 0;
}

.croatia-place-card__media {
    width: 100%;
    overflow: hidden;
}

.croatia-place-card--large .croatia-place-card__media {
    aspect-ratio: 577 / 530;
}

.croatia-place-card--small .croatia-place-card__media {
    aspect-ratio: 449 / 460;
}

.croatia-place-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.croatia-place-card__caption {
    display: flex;
    padding: 3px 0 3px clamp(40px, 5vw, 64px);
    flex-direction: column;
    gap: 8px;
}

.croatia-place-card--small .croatia-place-card__caption {
    padding-right: 0;
    padding-left: clamp(16px, 2vw, 24px);
}

.croatia-place-card__caption h3 {
    margin: 0;
    color: var(--croatia-copy);
    font-family: "Playfair-Display", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
}

.croatia-place-card__caption p {
    margin: 0;
    color: var(--croatia-copy);
    font-size: 16px;
    line-height: 1.2;
}

.croatia-cta {
    position: relative;
    height: 455px;
    overflow: hidden;
    color: #f5f1e8;
}

.croatia-cta__image,
.croatia-cta__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.croatia-cta__image {
    display: block;
    object-fit: cover;
    object-position: center center;
}

.croatia-cta__shade {
    background: rgba(47, 36, 29, 0.5);
}

.croatia-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(1200px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    text-align: center;
}

.croatia-cta__copy {
    display: flex;
    width: min(680px, 100%);
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.croatia-cta h2 {
    margin: 0;
    color: #f5f1e8;
    font-size: 42px;
    line-height: normal;
}

.croatia-cta p {
    max-width: 680px;
    margin: 0;
    color: #ede7dd;
    font-size: 18px;
    line-height: 24px;
}

.croatia-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border: 1px solid #f7f4ef;
    border-radius: 5px;
    color: #f7f4ef;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 200ms ease, color 200ms ease;
}

.croatia-cta__button:hover,
.croatia-cta__button:focus-visible {
    background: #f7f4ef;
    color: var(--croatia-brown);
}

.croatia-cta__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* .destinations-hero {
  position: relative;
  overflow: hidden;
}

.destinations-hero > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.destinations-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
} */

@media (max-width: 1199px) {
    .croatia-places__row {
        grid-template-columns: minmax(0, 1.56fr) minmax(0, 1fr);
    }
}

@media (max-width: 991px) {
    .croatia-overview {
        padding: 88px 0;
    }

    .croatia-hero__content,
    .croatia-overview__inner,
    .croatia-explore__intro,
    .croatia-places__intro {
        padding-left: 0;
    }

    .croatia-hero__content {
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .croatia-content-width,
    .croatia-hero__inner,
    .croatia-cta__inner,
    .croatia-places__grid {
        width: calc(100% - 48px);
    }

    .croatia-hero {
        height: 500px;
    }

    .croatia-hero__image {
        object-position: 58% center;
    }

    .croatia-hero__content {
        width: 100%;
        margin-top: 164px;
        padding: 5px 0;
        gap: 18px;
    }

    .croatia-hero h1 {
        font-size: clamp(50px, 14vw, 64px);
        letter-spacing: 1px;
    }

    .croatia-hero p {
        max-width: 320px;
        font-size: 17px;
        line-height: 1.6;
    }

    .croatia-hero__desktop-break,
    .croatia-explore__desktop-break,
    .croatia-places__desktop-break {
        display: none;
    }

    .croatia-subnav a {
        padding: 20px 10px;
        font-size: 13px;
    }

    .croatia-overview {
        padding: 88px 0;
    }

    .croatia-overview__copy {
        gap: 0;
    }

    .croatia-overview h2 {
        font-size: 34px;
        line-height: 1.2;
    }

    .croatia-body-copy {
        font-size: 15px;
        line-height: 24px;
    }

    .croatia-body-copy p + p {
        margin-top: 0;
    }

    .croatia-explore__intro {
        padding-bottom: 30px;
    }

    .croatia-explore h2,
    .croatia-places h2 {
        margin-bottom: 24px;
        font-size: 30px;
        line-height: 1.25;
    }

    .croatia-explore__intro p,
    .croatia-places__intro p {
        font-size: 15px;
        line-height: 1.7;
    }

    .croatia-map {
        height: 440px;
    }

    .croatia-map__country {
        top: 5%;
        left: 14%;
        width: 72%;
    }

    .croatia-map__accent {
        top: 35%;
        left: 23%;
        width: 55%;
    }

    .croatia-map__neighbours,
    .croatia-map__city::after {
        display: none;
    }

    .croatia-map__city {
        gap: 4px;
        font-size: 11px;
    }

    .croatia-map__city img {
        width: 4px;
        height: 4px;
        margin-top: 4px;
        flex-basis: 4px;
    }

    .croatia-places {
        padding: 88px 0;
    }

    .croatia-places__intro {
        margin-bottom: 36px;
    }

    .croatia-places__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 48px;
        padding-left: 0;
    }

    .croatia-places__row {
        display: contents;
    }

    .croatia-place-card--large .croatia-place-card__media,
    .croatia-place-card--small .croatia-place-card__media {
        aspect-ratio: 1 / 1;
    }

    .croatia-place-card__caption,
    .croatia-place-card--small .croatia-place-card__caption {
        padding: 3px 0;
    }

    .croatia-place-card__caption h3 {
        font-size: 22px;
    }

    .croatia-place-card__caption p {
        font-size: 15px;
        line-height: 1.35;
    }

    .croatia-cta {
        height: 500px;
    }

    .croatia-cta__copy {
        gap: 16px;
    }

    .croatia-cta h2 {
        font-size: 34px;
    }

    .croatia-cta p {
        font-size: 16px;
        line-height: 1.5;
    }

    .croatia-cta__button {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .croatia-cta__button {
        transition: none;
    }
}

/* Shared country destination template */
.country-destination-page .croatia-hero p {
    max-width: 650px;
}

.country-destination-map {
    display: flex;
    width: 100%;
    height: clamp(540px, 43vw, 760px);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.country-destination-map img {
    display: block;
    width: min(1200px, 100%);
    height: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    .country-destination-page .croatia-hero p {
        max-width: 320px;
    }

    .country-destination-map {
        height: 440px;
    }
}
