@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

/* Curated experience detail typography aligned with the Home scale */
.curated-experience-detail-page {
    background: #fff;
}

.curated-experience-detail-page .experience-detail-intro {
    min-height: 0;
    padding: 100px 0 80px;
}

.curated-experience-detail-page .experience-detail-intro h1 {
    margin-bottom: 28px;
    font-size: clamp(28px, 2.5vw, 38px);
    font-weight: 500;
    line-height: 1.35;
}

.curated-experience-detail-page .experience-detail-copy,
.curated-experience-detail-page .experience-detail-copy p,
.curated-experience-detail-page .experience-detail-copy .experience-detail-copy__lead {
    color: var(--main-color);
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.curated-experience-detail-page .experience-detail-copy .experience-detail-copy__lead {
    font-size: 20px;
    line-height: 30px;
}

.curated-experience-detail-page .experience-detail-copy p {
    margin-top: 24px;
}

.curated-experience-detail-page .experience-detail-copy p:first-child {
    margin-top: 0;
}

.curated-experience-detail-page .experience-signature {
    padding: 80px 0;
}

.curated-experience-detail-page .experience-signature__layout {
    gap: 48px;
}

.curated-experience-detail-page .experience-signature h2,
.curated-experience-detail-page .experience-regions h2,
.curated-experience-detail-page .experience-other h2 {
    font-size: clamp(28px, 2.5vw, 38px);
    font-weight: 500;
    line-height: 1.35;
}

.curated-experience-detail-page .experience-signature h2 {
    margin-bottom: 28px;
}

.curated-experience-detail-page .experience-signature ul {
    gap: 24px;
}

.curated-experience-detail-page .experience-signature li {
    color: var(--main-color);
    font-size: 15px;
    line-height: 1.6;
}

.curated-experience-detail-page .experience-regions {
    min-height: 0;
    padding-bottom: 80px;
}

.curated-experience-detail-page .experience-regions ul {
    margin-bottom: 0;
}

.curated-experience-detail-page .experience-regions li {
    color: var(--main-color);
    font-size: 15px;
    line-height: 1.6;
}

.curated-experience-detail-page .experience-detail-cta {
    color: var(--brown-color);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.curated-experience-detail-page .experience-detail-cta::after {
    width: 20px;
    height: 14px;
}

.curated-experience-detail-page .experience-other {
    min-height: 0;
    padding: 100px 0 80px;
}

.curated-experience-detail-page .experience-other h2 {
    margin-bottom: 48px;
}

.curated-experience-detail-page .experience-other .experience-cta {
    margin-top: 60px;
}

.curated-experience-detail-page .experience-other__card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.curated-experience-detail-page .experience-other__card img {
    transition: transform 300ms ease;
}

.curated-experience-detail-page .experience-other__card:hover img {
    transform: scale(1.03);
}

.curated-experience-detail-page .experience-other__card:focus-visible {
    outline: 2px solid var(--brown-color);
    outline-offset: 6px;
}

.curated-experience-detail-page .experience-other__card h3 {
    margin: 16px 0 0;
    color: var(--main-color);
    font-family: "Playfair-Display";
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .curated-experience-detail-page .experience-detail-intro {
        padding: 88px 0;
    }

    .curated-experience-detail-page .experience-detail-intro h1 {
        margin-bottom: 28px;
        font-size: 28px;
        line-height: 1.35;
    }

    .curated-experience-detail-page .experience-detail-copy,
    .curated-experience-detail-page .experience-detail-copy p,
    .curated-experience-detail-page .experience-detail-copy .experience-detail-copy__lead {
        font-size: 15px;
        line-height: 1.6;
    }

    .curated-experience-detail-page .experience-signature,
    .curated-experience-detail-page .experience-other {
        padding-top: 88px;
        padding-bottom: 88px;
    }

    .curated-experience-detail-page .experience-signature__layout {
        gap: 40px;
    }

    .curated-experience-detail-page .experience-signature__image {
        height: auto;
        aspect-ratio: 4 / 5;
    }

    .curated-experience-detail-page .experience-signature h2,
    .curated-experience-detail-page .experience-regions h2,
    .curated-experience-detail-page .experience-other h2 {
        font-size: 28px;
        line-height: 1.35;
    }

    .curated-experience-detail-page .experience-signature h2,
    .curated-experience-detail-page .experience-other h2 {
        margin-bottom: 28px;
    }

    .curated-experience-detail-page .experience-signature ul {
        gap: 24px;
    }

    .curated-experience-detail-page .experience-signature li,
    .curated-experience-detail-page .experience-regions li {
        font-size: 15px;
        line-height: 1.6;
    }

    .curated-experience-detail-page .experience-regions {
        padding-bottom: 88px;
    }

    .curated-experience-detail-page .experience-regions h2 {
        margin-bottom: 28px;
    }

    .curated-experience-detail-page .experience-regions ul {
        margin-bottom: 0;
    }

    .curated-experience-detail-page .experience-other__grid {
        gap: 40px;
    }
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

/* Featured journey detail page — Frame 6 */
body:has(.experience-detail-page) header {
    background: #fff;
    border-bottom: 1px solid #dfdfdf;
}

body:has(.experience-detail-page) header * {
    color: var(--brown-color);
}

body:has(.experience-detail-page) header .logo {
    width: 147px;
    height: 48px;
    background-color: var(--brown-color);
}

body:has(.experience-detail-page) header .query {
    border-color: rgba(43, 43, 43, 0.3);
    color: var(--main-color);
}

body:has(.experience-detail-page) header i.iconMundi {
    background-color: var(--main-color);
}

.experience-detail-page {
    --detail-primary: #5a3926;
    padding-top: 96px;
    background: #fff;
}

.experience-journey-hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    height: 630px;
    background: #fff;
}

.experience-journey-hero__image,
.experience-journey-hero__image img {
    width: 100%;
    height: 100%;
}

.experience-journey-hero__image {
    overflow: hidden;
}

.experience-journey-hero__image img {
    display: block;
    object-fit: cover;
}

.experience-journey-hero__content {
    display: flex;
    min-width: 0;
    height: 630px;
    flex-direction: column;
    gap: 30px;
    padding: 0 48px 48px 0;
    overflow: hidden;
}

.experience-detail-breadcrumb {
    display: flex;
    width: 100%;
    height: 57px;
    flex: 0 0 57px;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    border-bottom: 1px solid #e9e9e9;
    white-space: nowrap;
}

.experience-detail-breadcrumb a,
.experience-detail-breadcrumb .is-current {
    flex: 0 0 auto;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
}

.experience-detail-breadcrumb .is-current {
    overflow: hidden;
    color: #6d6d6d;
    text-overflow: ellipsis;
}

.experience-detail-breadcrumb > span:not(.is-current) {
    display: inline-flex;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    align-items: center;
    justify-content: center;
}

.experience-detail-breadcrumb > span:not(.is-current) img {
    display: block;
    width: 15px;
    height: 15px;
    object-fit: contain;
}

.experience-journey-hero__copy {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    gap: 40px;
}

.experience-journey-hero__title {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 20px;
}

.experience-journey-hero__title h1,
.experience-journey-hero__title p,
.experience-journey-hero__description p {
    margin: 0;
}

.experience-journey-hero__title h1 {
    color: var(--detail-primary);
    font-family: "Playfair-Display", serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.25;
}

.experience-journey-hero__title p {
    color: var(--detail-primary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.018px;
    line-height: 1.2;
    text-transform: uppercase;
}

.experience-journey-hero__description {
    min-width: 0;
    color: var(--main-color);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
}

.experience-journey-hero__description p {
    line-height: 1.8;
}

.experience-journey-hero__description p + p {
    margin-top: 30px;
}

.experience-journey-hero__description .is-lead {
    font-size: 22px;
}

.experience-enquire-button {
    display: inline-flex;
    width: 226px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border: 1px solid var(--main-color);
    border-radius: 8px;
    color: var(--main-color);
    font-size: 15px;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    backdrop-filter: blur(2px);
    transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.experience-enquire-button:hover {
    border-color: var(--detail-primary);
    background: rgba(90, 57, 38, 0.05);
    color: var(--detail-primary);
}

/* Featured journey CTAs use the same text-link treatment as Home and Curated experiences. */
.experience-detail-page.featured-journey-detail-page .experience-detail-cta,
.experience-detail-page.featured-journey-detail-page .experience-cta .experience-detail-cta {
    color: var(--brown-color);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.experience-detail-page.featured-journey-detail-page .experience-detail-cta::after {
    width: 20px;
    height: 14px;
}

.experience-detail-page.featured-journey-detail-page .experience-enquire-button.experience-detail-cta {
    width: 226px;
    height: 34px;
    min-height: 34px;
    padding: 8px 15px;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
}

.experience-detail-page.featured-journey-detail-page .experience-enquire-button.experience-detail-cta:hover {
    border-color: transparent;
    background: transparent;
}

.experience-detail-page.featured-journey-detail-page .experience-arrow-link.experience-detail-cta {
    width: max-content;
    min-height: 44px;
    padding: 10px 18px 10px 0;
    border-radius: 40px;
}

.experience-route-section {
    background: #f7f4ef;
    padding: 80px 0 120px;
}

.experience-route-section__inner {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 20px;
}

.experience-route-timeline,
.experience-route-media {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.experience-route-timeline {
    padding: 48px 0 40px;
}

.experience-route-timeline h2,
.experience-other-featured h2 {
    margin: 0;
    color: var(--detail-primary);
    font-family: "Playfair-Display", serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.25;
}

.experience-route-highlights h2 {
    margin: 0;
    color: var(--detail-primary);
    font-family: "Playfair-Display", serif;
    font-size: 46px;
    font-weight: 500;
    line-height: 1.25;
}

.experience-route-stops {
    display: grid;
    grid-template-columns: repeat(var(--route-track-count), minmax(0, 1fr));
    margin-top: 42px;
}

.experience-route-stop {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
}

.experience-route-stop p {
    margin: 0;
}

.experience-route-stop p {
    overflow: visible;
    color: var(--detail-primary);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    white-space: normal;
}

.experience-route-track {
    position: relative;
    width: 100%;
    height: 13px;
    margin-top: 16px;
}

.experience-route-track__line,
.experience-route-track__dots {
    position: absolute;
    display: block;
}

.experience-route-track__line {
    top: 5.5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--detail-primary) 0 4px,
        transparent 4px 9px
    );
}

.experience-route-track__dots {
    inset: 0;
    display: grid;
    grid-template-columns: repeat(var(--route-track-count), minmax(0, 1fr));
    align-items: center;
}

.experience-route-track__dot {
    width: 13px;
    height: 13px;
    justify-self: start;
    border-radius: 50%;
    background: var(--detail-primary);
}

.experience-route-track__dot--end {
    width: 12px;
    height: 12px;
    justify-self: end;
    background: var(--cream-color);
    border: 2px solid var(--detail-primary);
}

.experience-route-media {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.experience-route-media__image,
.experience-route-media__image img {
    display: block;
    width: 100%;
    height: 675px;
}

.experience-route-media__image {
    overflow: hidden;
}

.experience-route-media__image img {
    object-fit: cover;
}

.experience-route-highlights {
    display: flex;
    min-height: 424px;
    align-items: flex-start;
    padding-left: 253px;
}

.experience-route-highlights__content {
    display: flex;
    width: 520px;
    min-width: 0;
    flex-direction: column;
    gap: 40px;
}

.experience-route-highlights__list {
    display: flex;
    width: 538px;
    min-width: 0;
    flex-direction: column;
    gap: 35px;
}

.experience-route-highlights__list > p {
    margin: 0;
    color: var(--main-color);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.08;
}

.experience-arrow-link {
    display: inline-flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 18px 10px 0;
    border-radius: 40px;
    color: var(--detail-primary);
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: color 200ms ease, transform 200ms ease;
}

.experience-arrow-link img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 200ms ease;
}

.experience-arrow-link:hover {
    color: var(--tuquesa-color);
}

.experience-arrow-link:hover img {
    transform: translateX(5px);
}

.experience-other-featured {
    background: #fff;
    padding: 140px 0;
}

.experience-other-featured__inner {
    display: flex;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    flex-direction: column;
    gap: 80px;
}

.experience-other-featured__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
}

.experience-featured-card,
.experience-featured-card__image {
    display: block;
    width: 100%;
    height: 338px;
}

.experience-featured-card {
    position: relative;
    overflow: hidden;
    color: #f7f4ef;
}

.experience-featured-card__image {
    position: relative;
    overflow: hidden;
}

.experience-featured-card__image > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.experience-featured-card__gradient,
.experience-featured-card__shade,
.experience-featured-card__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

.experience-featured-card__gradient {
    z-index: 1;
    height: 99px;
}

.experience-featured-card__shade {
    z-index: 2;
    height: 338px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.33) 0%, rgba(0, 0, 0, 0.231) 35%, rgba(0, 0, 0, 0.099) 65%, rgba(0, 0, 0, 0) 100%);
}

.experience-featured-card__content {
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 30px;
    color: #f7f4ef;
    line-height: 1.2;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.experience-featured-card__title {
    color: inherit;
    font-family: "Playfair-Display", serif;
    font-size: 24px;
    font-weight: 600;
}

.experience-featured-card__duration {
    color: inherit;
    font-size: 14px;
    font-weight: 500;
}

.experience-featured-card:hover img {
    transform: scale(1.03);
}

.experience-arrow-link--other {
    align-self: center;
}

@media (max-width: 1280px) and (min-width: 992px) {
    .experience-route-highlights {
        padding-left: 21%;
    }
}

@media (max-width: 991px) {
    .experience-journey-hero {
        height: auto;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .experience-journey-hero__image {
        height: min(630px, 70vw);
        min-height: 360px;
    }

    .experience-journey-hero__content {
        height: auto;
        min-height: 630px;
        padding: 0 24px 64px;
    }

    .experience-route-stops {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 24px;
    }

    .experience-route-track {
        display: none;
    }

    .experience-route-media__image,
    .experience-route-media__image img {
        height: min(675px, 56.25vw);
    }

    .experience-route-highlights {
        padding-left: 0;
    }

    .experience-other-featured__grid {
        gap: 24px;
    }
}

@media (max-width: 575px) {
    .experience-detail-page {
        padding-top: 80px;
    }

    body:has(.experience-detail-page) header,
    body:has(.experience-detail-page) header .container {
        min-height: 80px;
    }

    body:has(.experience-detail-page) header .logo {
        width: 126px;
        height: 42px;
    }

    .experience-journey-hero__image {
        height: 360px;
        min-height: 0;
    }

    .experience-journey-hero__content {
        min-height: 0;
        padding: 0 24px 56px;
    }

    .experience-detail-breadcrumb {
        gap: 10px;
        overflow-x: auto;
    }

    .experience-detail-breadcrumb a,
    .experience-detail-breadcrumb .is-current {
        font-size: 12px;
    }

    .experience-journey-hero__copy {
        gap: 32px;
    }

    .experience-journey-hero__title h1 {
        font-size: 32px;
    }

    .experience-journey-hero__description,
    .experience-journey-hero__description .is-lead {
        font-size: 17px;
        line-height: 1.7;
    }

    .experience-journey-hero__description .is-lead {
        font-size: 20px;
    }

    .experience-route-section {
        padding: 56px 0 72px;
    }

    .experience-route-timeline,
    .experience-route-media,
    .experience-other-featured__inner {
        width: calc(100% - 48px);
    }

    .experience-route-timeline {
        padding: 0;
    }

    .experience-route-timeline h2,
    .experience-route-highlights h2,
    .experience-other-featured h2 {
        font-size: 30px;
    }

    .experience-route-stops {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
        margin-top: 32px;
    }

    .experience-route-stop p {
        font-size: 18px;
    }

    .experience-route-media {
        gap: 40px;
    }

    .experience-route-media__image,
    .experience-route-media__image img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .experience-route-highlights {
        min-height: 0;
    }

    .experience-route-highlights__content,
    .experience-route-highlights__list {
        width: 100%;
    }

    .experience-route-highlights__content {
        gap: 32px;
    }

    .experience-route-highlights__list {
        gap: 24px;
    }

    .experience-route-highlights__list > p {
        font-size: 17px;
    }

    .experience-arrow-link {
        font-size: 17px;
    }

    .experience-other-featured {
        padding: 72px 0;
    }

    .experience-other-featured__inner {
        gap: 40px;
    }

    .experience-other-featured__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .experience-featured-card,
    .experience-featured-card__image {
        height: auto;
        aspect-ratio: 576 / 338;
    }

    .experience-featured-card__shade {
        height: 100%;
    }

    .experience-featured-card__content {
        padding: 24px;
    }
}
