.egypt-tour-page,
.egypt-checkout-page {
  max-width: 1240px;
}

.egypt-tour-body {
    background-color: var(--dark);
    background-image: url('/images/background-of.webp');
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #321810;
}

.egypt-tour-page {
    background: #efe1c9;
}

.egypt-tour-page main {
    overflow: hidden;
}

.egypt-tour-hero {
    min-height: clamp(310px, 36vw, 430px);
    position: relative;
    display: grid;
    align-items: center;
    padding: 38px max(7vw, 34px) 58px;
    background-color: #2a1711;
    background-image: var(--egypt-tour-hero-image);
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.egypt-tour-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(31, 13, 8, .47);
}

.egypt-tour-hero--empty {
    min-height: 360px;
    background: #2a1711;
}

.egypt-tour-hero__copy {
    width: min(540px, 58vw);
    color: #fff0d1;
}

.egypt-tour-eyebrow,
.egypt-tour-section__heading p,
.egypt-tour-cta__content > p {
    margin: 0 0 12px;
    color: #c99542;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.egypt-tour-hero h1 {
    max-width: 560px;
    margin: 0;
    color: #fff0d1;
    font-family: 'Cinzel', serif;
    font-size: clamp(32px, 4.2vw, 58px);
    font-weight: 500;
    letter-spacing: .04em;
    line-height: .98;
    text-transform: uppercase;
}

.egypt-tour-rule {
    width: 190px;
    height: 1px;
    margin: 12px 0;
    background: #d9a44a;
}

.egypt-tour-hero__intro {
    max-width: 480px;
    margin: 0 0 16px;
    color: #ffe5b0;
    font-family: 'EB Garamond', serif;
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.15;
}

.egypt-tour-pending {
    max-width: 410px;
    margin: 0;
    color: #efd7ae;
    font-family: 'EB Garamond', serif;
    font-size: 19px;
    font-style: italic;
}

.egypt-tour-hero__media-link {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.egypt-tour-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border: 1px solid #d9a44a;
    border-radius: 3px;
    color: #2a1711;
    background: #e0ad4f;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.egypt-tour-facts {
    width: min(1120px, calc(100% - 40px));
    height: 92px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    position: relative;
    z-index: 2;
    margin: -82px auto 0;
    border: 1px solid #b87931;
    background: #4d2115;
}

.egypt-tour-facts div {
    min-height: 0;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 8px 14px;
    border-right: 1px solid rgba(235, 184, 91, .42);
    text-align: center;
}

.egypt-tour-facts div:last-child {
    border-right: 0;
}

.egypt-tour-facts span {
    color: #e1b66d;
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.egypt-tour-facts strong {
    color: #fff0d1;
    font-family: 'EB Garamond', serif;
    font-size: 20px;
    font-weight: 500;
}

.egypt-tour-intro {
    width: min(800px, calc(100% - 40px));
    margin: 0 auto;
    padding: 46px 0 26px;
    text-align: center;
}

.egypt-tour-intro p {
    margin: 0;
    color: #5d291b;
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.25;
}

.egypt-tour-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 30px 0;
}

.egypt-tour-section__heading {
    margin-bottom: 18px;
    text-align: center;
}

.egypt-tour-section__heading h2,
.egypt-tour-cta h2 {
    margin: 0;
    color: #542316;
    font-family: 'Cinzel', serif;
    font-size: clamp(25px, 3.2vw, 40px);
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1.05;
    text-transform: uppercase;
}

.egypt-tour-itinerary {
    display: grid;
    grid-template-columns: repeat(30, minmax(0, 1fr));
    gap: 8px;
}

.egypt-tour-itinerary article,
.egypt-tour-empty {
    min-height: 176px;
    padding: 15px;
    overflow: hidden;
    border: 1px solid #d8b27a;
    background: rgba(255, 249, 237, .68);
}

.egypt-tour-itinerary article { grid-column: span 5; }
.egypt-tour-itinerary article:nth-child(-n + 5) { grid-column: span 6; }

.egypt-tour-itinerary span {
    color: #b46f29;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.egypt-tour-itinerary .egypt-tour-itinerary__image {
    display: block;
    height: 72px;
    margin: -15px -15px 11px;
    color: transparent;
    background-position: center;
    background-size: cover;
}

.egypt-tour-itinerary h3 {
    margin: 10px 0 6px;
    color: #512116;
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
}

.egypt-tour-itinerary p,
.egypt-tour-empty p {
    margin: 0;
    color: #633a2a;
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    line-height: 1.25;
}

.egypt-tour-itinerary__button {
    display: flex;
    width: fit-content;
    margin: 20px auto 0;
    color: #fff1d3;
    background: #681b16;
    border-color: #a55730;
}

.egypt-tour-empty {
    display: grid;
    place-items: center;
    min-height: 170px;
    text-align: center;
}

.egypt-tour-empty h3 {
    margin: 0 0 8px;
    color: #6c321e;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.egypt-tour-media-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.egypt-tour-media-card {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid #c18a43;
    color: #fff0d1;
    background: #2a1711;
    text-decoration: none;
}

.egypt-tour-media-card__image {
    position: absolute;
    inset: 0;
    display: block;
    background-position: center;
    background-size: cover;
    transition: transform .25s ease;
}

.egypt-tour-media-card:hover .egypt-tour-media-card__image {
    transform: scale(1.04);
}

.egypt-tour-media-card strong,
.egypt-tour-media-card__play,
.egypt-tour-media-card__lock {
    position: absolute;
    z-index: 1;
}

.egypt-tour-media-card strong {
    right: 12px;
    bottom: 12px;
    left: 12px;
    color: #fff0d1;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.egypt-tour-media-card__play,
.egypt-tour-media-card__lock {
    top: 10px;
    padding: 5px 7px;
    border: 1px solid #e4b65b;
    color: #fff0d1;
    background: #4d2115;
    font-family: 'Cinzel', serif;
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.egypt-tour-media-card__play { left: 10px; }
.egypt-tour-media-card__lock { right: 10px; }

.egypt-tour-inclusions__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid #d8b27a;
    background: #d8b27a;
}

.egypt-tour-inclusions {
    padding-top: 18px;
    padding-bottom: 18px;
}

.egypt-tour-inclusions .egypt-tour-section__heading {
    margin-bottom: 8px;
}

.egypt-tour-inclusions .egypt-tour-section__heading p {
    display: none;
}

.egypt-tour-inclusions .egypt-tour-section__heading h2 {
    font-size: clamp(18px, 2vw, 25px);
    letter-spacing: .08em;
}

.egypt-tour-inclusions__grid span {
    min-height: 76px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    padding: 10px 8px;
    color: #633a2a;
    background: #f7eddc;
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.egypt-tour-inclusion-item i {
    display: block;
    width: 22px;
    height: 22px;
    border: 1px solid #b46f29;
    border-radius: 50%;
    opacity: .8;
}

.egypt-tour-inclusion-item:nth-child(2n) i { border-radius: 3px 3px 10px 10px; }
.egypt-tour-inclusion-item:nth-child(3n) i { transform: rotate(45deg) scale(.75); }
.egypt-tour-inclusion-item:nth-child(4n) i { border-radius: 50% 50% 3px 3px; }

.egypt-tour-cta {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 17px 20px;
    color: #fff0d1;
    background: #21130f;
    text-align: center;
}

.egypt-tour-cta::before,
.egypt-tour-cta::after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24%;
    content: "";
    background-position: center;
    background-size: cover;
    opacity: .62;
}

.egypt-tour-cta::before {
    left: 0;
    background-image: var(--egypt-tour-cta-left);
}

.egypt-tour-cta::after {
    right: 0;
    background-image: var(--egypt-tour-cta-right);
}

.egypt-tour-cta__content {
    position: relative;
    z-index: 1;
    width: min(700px, 100%);
    margin: 0 auto;
    padding: 0 24px;
}

.egypt-tour-cta h2 {
    max-width: 760px;
    margin: 0 auto 8px;
    color: #e9b358;
    font-size: clamp(14px, 1.55vw, 20px);
    letter-spacing: .08em;
}

.egypt-tour-cta__content > p {
    margin-bottom: 5px;
    font-size: 10px;
}

.egypt-tour-cta .egypt-tour-button {
    min-height: 34px;
    padding: 7px 18px;
    font-size: 9px;
}

.egypt-tour-button--dark {
    color: #fff0d1;
    background: #6d231b;
}

.egypt-tour-secondary-link {
    display: block;
    width: fit-content;
    margin: 8px auto 0;
    color: #e6bd74;
    font-family: 'Cinzel', serif;
    font-size: 9px;
    letter-spacing: .1em;
    text-decoration: underline;
    text-transform: uppercase;
}

.egypt-tour-lightbox[hidden] { display: none; }

.egypt-tour-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(20, 8, 5, .9);
}

.egypt-tour-lightbox figure {
    position: relative;
    max-width: min(94vw, 1100px);
    max-height: 92vh;
    margin: 0;
    text-align: center;
}

.egypt-tour-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 84vh;
    border: 1px solid #d9a44a;
    object-fit: contain;
}

.egypt-tour-lightbox figcaption {
    margin-top: 8px;
    color: #fff0d1;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.egypt-tour-lightbox__close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 1;
    width: 38px;
    height: 38px;
    border: 1px solid #d9a44a;
    color: #fff0d1;
    background: #4d2115;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.egypt-tour-lightbox-open { overflow: hidden; }

@media (max-width: 1050px) and (min-width: 761px) {
    .egypt-tour-itinerary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .egypt-tour-itinerary article,
    .egypt-tour-itinerary article:nth-child(-n + 5) { grid-column: auto; }
}

@media (max-width: 760px) {
    .egypt-tour-hero {
        min-height: 300px;
        padding: 34px 18px 70px;
        background-position: 62% center;
    }

    .egypt-tour-hero__copy {
        width: 100%;
    }

    .egypt-tour-hero h1 {
        font-size: clamp(30px, 8.5vw, 44px);
    }

    .egypt-tour-hero__intro { font-size: 18px; }

    .egypt-tour-facts {
        width: calc(100% - 20px);
        height: 68px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: -68px;
    }

    .egypt-tour-facts div {
        min-height: 0;
        padding: 6px;
        border-right: 1px solid rgba(235, 184, 91, .42);
        border-bottom: 0;
    }

    .egypt-tour-facts div:last-child {
        border-right: 0;
    }

    .egypt-tour-facts span { font-size: 8px; letter-spacing: .08em; }
    .egypt-tour-facts strong { font-size: 14px; line-height: 1.05; }

    .egypt-tour-intro,
    .egypt-tour-section {
        width: calc(100% - 20px);
    }

    .egypt-tour-intro {
        padding: 34px 0 18px;
    }

    .egypt-tour-intro p { font-size: 20px; }
    .egypt-tour-section { padding: 26px 0; }

    .egypt-tour-itinerary,
    .egypt-tour-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .egypt-tour-itinerary article,
    .egypt-tour-itinerary article:nth-child(-n + 5) { grid-column: auto; }

    .egypt-tour-itinerary article { min-height: 132px; padding: 12px; }
    .egypt-tour-itinerary .egypt-tour-itinerary__image {
        height: 58px;
        margin: -12px -12px 9px;
    }
    .egypt-tour-itinerary h3 { font-size: 14px; }
    .egypt-tour-itinerary p { font-size: 14px; }
    .egypt-tour-media-card strong { right: 8px; bottom: 8px; left: 8px; font-size: 9px; }

    .egypt-tour-inclusions__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .egypt-tour-inclusions__grid span { min-height: 68px; }
    .egypt-tour-cta { padding: 18px 16px; }
    .egypt-tour-cta::before,
    .egypt-tour-cta::after { width: 15%; opacity: .35; }
    .egypt-tour-cta__content { padding: 0 8px; }
}

@media (max-width: 430px) {
    .egypt-tour-hero { min-height: 300px; }

    .egypt-tour-eyebrow,
    .egypt-tour-section__heading p,
    .egypt-tour-cta__content > p { font-size: 9px; }

    .egypt-tour-section__heading h2 { font-size: 25px; }
    .egypt-tour-cta h2 { font-size: 14px; }

    .egypt-tour-itinerary,
    .egypt-tour-media-grid,
    .egypt-tour-inclusions__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .egypt-tour-itinerary article { min-height: 124px; }
    .egypt-tour-itinerary p { font-size: 13px; }
    .egypt-tour-button { max-width: 100%; padding-inline: 16px; font-size: 10px; }
}
