.retc-site-main {
    margin-inline: auto;
    width: 100%;
}

/*
 * The receiver header's accessibility link targets #main-content. The active
 * Tristanphotos theme currently supplies the link but not its usual visually
 * hidden utility on this plugin template, so restore the standard behaviour:
 * hidden for sighted pointer users and immediately visible when focused.
 */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background: var(--bg-surface, #fff);
    clip: auto !important;
    clip-path: none;
    color: var(--text-title, #111);
    display: block;
    font-weight: 700;
    height: auto;
    left: var(--space-s, 1rem);
    padding: var(--space-xs, .75rem) var(--space-s, 1rem);
    text-decoration: none;
    top: var(--space-s, 1rem);
    width: auto;
    z-index: 100000;
}

.retc-tour {
    color: var(--text-body, #1f2933);
    background: var(--bg-body, #fff);
}

/* RemoteX owns the page grid; these rules only place remote media within it. */
.retc-tour__hero {
    min-height: clamp(24rem, 58vw, 46rem);
    background: var(--bg-surface, #171717);
}

.retc-tour__hero figure {
    grid-column: full-width;
    height: 100%;
}

.retc-tour__hero img {
    height: 100%;
    object-fit: cover;
}

.retc-tour__hero-copy {
    align-self: end;
    grid-column: breakout;
    max-width: 80rem;
    padding-block: var(--space-xl, 2.5rem);
}

.retc-tour__hero h1 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    margin: 0;
    max-width: 18ch;
    text-wrap: balance;
}

.retc-tour__body,
.retc-tour__main,
.retc-tour__section,
.retc-tour__sidebar {
    min-width: 0;
    width: 100%;
}

.retc-notice {
    border-inline-start: .25rem solid var(--primary, #face48);
}

.retc-prose {
    max-width: 70ch;
}

.retc-tour__facts {
    margin: 0;
}

.retc-tour__facts .retc-icon {
    color: var(--primary, currentColor);
}

.retc-booking-card p,
.retc-contact-card h2,
.retc-contact-card p,
.retc-itinerary__day h3,
.retc-itinerary__eyebrow {
    margin: 0;
}

.retc-booking-card,
.retc-contact-card {
    align-self: start;
    border-radius: var(--radius-l, 1rem);
}

.retc-booking-card .btn,
.retc-contact-card .btn {
    box-sizing: border-box;
    justify-content: center;
    min-height: 3.5rem;
    text-align: center;
}

.retc-booking-card__meta {
    margin: 0;
    padding: 0;
}

.retc-icon {
    flex: 0 0 auto;
}

/*
 * Core Framework does not provide a no-shrink flex utility. Preserve the
 * square icon box here while the adjacent copy absorbs the available width.
 * This also covers the earlier template variant that put `flex-grow-1` on
 * the decorative SVG itself.
 */
.retc-tour__main .flex-row > svg.icon.circle {
    flex: 0 0 auto;
    aspect-ratio: 1;
}

.retc-pricing__base {
    line-height: 1;
    min-width: 0;
}

.retc-pricing__amount {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: .9;
}

.retc-pricing__currency {
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    line-height: 1.1;
}

.retc-pricing__scales {
    margin: 0;
}

.retc-pricing__scales dd,
.retc-pricing__scales dt {
    margin: 0;
}

.retc-itinerary__days {
    padding-inline-start: calc(var(--space-l, 2rem) + 1.5rem);
    position: relative;
}

.retc-itinerary__days::before {
    background: var(--border-primary, currentColor);
    bottom: var(--space-m, 1.5rem);
    content: '';
    inset-inline-start: 1.25rem;
    opacity: .75;
    position: absolute;
    top: var(--space-m, 1.5rem);
    width: 2px;
}

.retc-itinerary__day {
    position: relative;
}

.retc-itinerary__marker {
    align-items: center;
    background: var(--bg-body, #fff);
    border: 2px solid var(--border-primary, currentColor);
    border-radius: 50%;
    display: flex;
    height: 2.5rem;
    inset-inline-start: calc(0rem - var(--space-l, 2rem) - 1.5rem);
    justify-content: center;
    position: absolute;
    top: var(--space-m, 1.5rem);
    width: 2.5rem;
    z-index: 1;
}

.retc-itinerary__marker .retc-icon {
    color: var(--primary, currentColor);
    height: 1.35rem;
    width: 1.35rem;
}

.retc-itinerary__media {
    height: 14.375rem;
    margin-block-start: var(--space-xs, .75rem);
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
}


.retc-itinerary__media a {
    background: transparent !important;
    background-image: none !important;
    border-radius: var(--radius-s, .5rem);
    display: block;
    flex: 0 0 auto;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    scroll-snap-align: start;
    text-decoration: none !important;
}

#main-content .retc-itinerary__media a img {
    display: block;
    height: 100%;
    max-width: none;
    object-fit: cover;
    width: auto;
}

.retc-inclusions ul {
    margin: 0;
    padding-inline-start: 2em;
}

.retc-inclusions li {
    list-style: none;
    padding-inline-start: .3em;
    position: relative;
}

.retc-inclusions li::before {
    background-color: var(--success);
    border: 0 !important;
    content: '';
    height: 1.1em;
    inset-inline-start: -1.6em;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: contain;
    position: absolute;
    top: .25em;
    transform: none !important;
    width: 1.1em;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.retc-inclusions .list-svg-excluded li::before {
    background-color: var(--error);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='m336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144 56 56ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='m336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144 56 56ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z'/%3E%3C/svg%3E");
}

.retc-justified-gallery:not(.retc-gallery--enhanced) {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.retc-justified-gallery:not(.retc-gallery--enhanced) a {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-m, .75rem);
    display: block;
    overflow: hidden;
}

.retc-justified-gallery:not(.retc-gallery--enhanced) img {
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
    width: 100%;
}

.retc-justified-gallery:not(.retc-gallery--enhanced) a:hover img,
.retc-justified-gallery:not(.retc-gallery--enhanced) a:focus-visible img {
    transform: scale(1.04);
}

.retc-highlight-gallery > a,
.retc-highlight-gallery > .jg-entry-visible {
    border-radius: var(--radius-m, .75rem);
}

.retc-guide__details {
    display: grid;
    gap: var(--space-3xs, .4rem) var(--space-xs, .75rem);
    grid-template-columns: max-content 1fr;
    margin-block-start: var(--space-xs, .75rem);
}

.retc-guide__details div {
    display: contents;
}

.retc-guide__details dd {
    margin: 0;
}

@media (max-width: 62rem) {
    .retc-tour__sidebar {
        position: static;
    }
}

@media (max-width: 48rem) {
    .retc-tour__hero {
        min-height: 26rem;
    }

    .retc-tour__hero .overlay-gradient-ltr {
        width: 100%;
    }

    .retc-tour__hero-copy {
        padding-block: var(--space-l, 2rem);
    }

}
