
/* AL BADI — TANZANIA SAFARI EDITORIAL V2 */

.safari-editorial-page {
    --se-forest: #21372b;
    --se-olive: #45533b;
    --se-sand: #e9dfc9;
    --se-cream: #f8f5ec;
    --se-gold: #d8a45a;
    --se-ink: #202820;
    --se-orange: #ef813f;
    background: var(--se-cream);
}

.safari-editorial-page .se-main {
    overflow: clip;
    background: var(--se-cream);
}

.se-container {
    width: min(1380px, calc(100% - 80px));
    margin-inline: auto;
}

/* HERO */

.se-hero {
    min-height: min(850px, 92vh);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background: #1b251d;
    color: #fff;
}

.se-hero-photo,
.se-hero-photo::after {
    position: absolute;
    inset: 0;
}

.se-hero-photo {
    z-index: -1;
}

.se-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.se-hero-photo::after {
    content: "";
    background:
        linear-gradient(90deg, rgba(8,18,12,.80), rgba(8,18,12,.23) 75%),
        linear-gradient(0deg, rgba(8,18,12,.72), transparent 35%);
}

.se-hero-inner {
    width: min(1200px, calc(100% - 80px));
    margin: 110px auto 125px;
    position: relative;
}

.se-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .27em;
}

.se-line {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--se-gold);
}

.se-hero-kicker {
    margin: 38px 0 10px;
    font-size: 13px;
    letter-spacing: .24em;
    font-weight: 800;
    color: #f3d7a3;
}

.se-hero h1 {
    margin: 0;
    font-family: Impact, "Arial Narrow", "Arial Black", sans-serif;
    font-size: clamp(68px, 11vw, 170px);
    line-height: .84;
    font-weight: 900;
    letter-spacing: -.035em;
    color: #fff;
    text-transform: uppercase;
    max-width: 1200px;
}

.se-hero h1 span {
    display: block;
    margin-top: 18px;
    font-family: Arial, sans-serif;
    font-size: clamp(27px, 4.5vw, 65px);
    font-weight: 900;
    letter-spacing: .045em;
    line-height: 1.06;
    color: #f6d99f;
}

.se-hero-description {
    max-width: 590px;
    margin: 30px 0;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.75;
    color: rgba(255,255,255,.92);
}

.se-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 17px 25px;
    min-height: 56px;
    background: var(--se-orange);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    transition: transform .25s ease, background .25s ease;
}

.se-primary-button:hover {
    transform: translateY(-3px);
    background: #d76b30;
}

.se-hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px max(40px, calc((100vw - 1380px)/2));
    background: rgba(19,36,25,.84);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

/* INTRO */

.se-intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    padding-block: 105px 55px;
}

.se-overline {
    color: #a06e34;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .23em;
    text-transform: uppercase;
}

.se-section-heading h2,
.se-packages-heading h2,
.se-planning-content h2 {
    margin: 12px 0 22px;
    font-family: Impact, "Arial Narrow", "Arial Black", sans-serif;
    font-size: clamp(48px, 7vw, 94px);
    line-height: .95;
    letter-spacing: -.02em;
    color: var(--se-ink);
}

.se-section-heading h2 em,
.se-packages-heading h2 em,
.se-planning-content h2 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: #a47c4c;
    text-transform: none;
}

.se-section-heading > p:last-child {
    max-width: 620px;
    color: #60695e;
    font-size: 17px;
    line-height: 1.75;
}

.se-intro-stat {
    text-align: center;
    min-width: 170px;
}

.se-intro-stat strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 85px;
    font-weight: 400;
    line-height: 1;
    color: #9e7545;
}

.se-intro-stat span {
    display: block;
    margin-top: 10px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

/* DESTINATIONS */

.se-destinations {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
    padding-bottom: 110px;
}

.se-destination-card {
    position: relative;
    min-width: 0;
    height: 455px;
    overflow: hidden;
    border-radius: 5px;
    isolation: isolate;
    background: #30402e;
    color: #fff;
}

.se-destination-image {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.se-destination-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.28) 0%,
        rgba(0,0,0,.04) 35%,
        rgba(0,0,0,.82) 100%
    );
}

.se-destination-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.se-destination-card:hover img {
    transform: scale(1.07);
}

.se-destination-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 24px;
}

.se-destination-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.se-destination-top span {
    font-family: Georgia, serif;
    font-size: 28px;
    color: #f6d9a4;
}

.se-destination-top small {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
    text-align: right;
}

.se-destination-bottom h3 {
    margin: 0 0 12px;
    font-family: Impact, "Arial Narrow", sans-serif;
    font-size: clamp(34px, 3.2vw, 51px);
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.se-destination-bottom p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255,255,255,.88);
}

/* PACKAGES */

.se-packages {
    padding: 100px 0 120px;
    background: #eae5d9;
}

.se-packages-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 55px;
}

.se-packages-heading > p {
    max-width: 390px;
    font-size: 16px;
    line-height: 1.7;
    color: #60665e;
}

.se-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 25px;
}

.se-package-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fffdf8;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 8px 30px rgba(36,37,24,.05);
    transition: transform .3s ease, box-shadow .3s ease;
}

.se-package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(36,37,24,.12);
}

.se-package-image {
    position: relative;
    display: block;
    height: 270px;
    overflow: hidden;
    background: #45533b;
}

.se-package-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .65s ease;
}

.se-package-card:hover .se-package-image img {
    transform: scale(1.055);
}

.se-package-image-label {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--se-forest);
    color: #fff;
    padding: 9px 13px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.se-package-arrow {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--se-forest);
    font-size: 20px;
}

.se-package-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
}

.se-package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 17px;
    color: #87734f;
    font-size: 12px;
    font-weight: 700;
}

.se-package-body h3 {
    margin: 17px 0 12px;
    font-family: Georgia, serif;
    font-size: clamp(22px, 2vw, 29px);
    line-height: 1.2;
    color: #233329;
}

.se-package-body h3 a {
    color: inherit;
    text-decoration: none;
}

.se-package-summary {
    color: #697068;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 25px;
}

.se-package-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e8e3d7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.se-package-price small {
    display: block;
    margin-bottom: 6px;
    color: #84877e;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}

.se-package-price strong {
    font-size: 22px;
    color: #9a6934;
}

.se-package-button {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 13px 15px;
    border-radius: 4px;
    background: var(--se-forest);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.se-package-button:hover {
    background: #3b563f;
}

.se-empty {
    padding: 50px;
    background: #fff;
    border-radius: 6px;
}

.se-empty a {
    color: #b36c31;
    font-weight: 800;
}

/* PLANNING */

.se-planning {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 510px;
    background: var(--se-forest);
    color: #fff;
}

.se-planning-photo {
    min-height: 450px;
}

.se-planning-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.se-planning-content {
    align-self: center;
    padding: 70px clamp(35px, 7vw, 120px);
}

.se-planning-content h2 {
    color: #fff;
}

.se-planning-content h2 em {
    color: #f1d2a0;
}

.se-planning-content > p:not(.se-overline) {
    max-width: 500px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.75;
    color: #e0e5d9;
}

/* ANIMATION */

[data-se-reveal] {
    opacity: 1;
}

.se-motion-ready [data-se-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}

.se-motion-ready [data-se-reveal].se-visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */

@media (max-width: 1050px) {
    .se-destinations {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .se-package-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .se-destination-card {
        height: 390px;
    }
}

/* MOBILE */

@media (max-width: 700px) {
    .se-container {
        width: calc(100% - 32px);
    }

    .se-hero {
        min-height: 690px;
    }

    .se-hero-inner {
        width: calc(100% - 38px);
        margin: 90px auto 120px;
    }

    .se-hero-eyebrow {
        font-size: 9px;
        letter-spacing: .13em;
    }

    .se-hero-kicker {
        margin-top: 25px;
        font-size: 10px;
        letter-spacing: .12em;
    }

    .se-hero h1 {
        font-size: clamp(58px, 16vw, 92px);
        overflow-wrap: anywhere;
    }

    .se-hero h1 span {
        font-size: clamp(25px, 7vw, 38px);
        line-height: 1.08;
        margin-top: 15px;
    }

    .se-hero-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .se-hero-bottom {
        padding: 16px 20px;
        font-size: 9px;
    }

    .se-hero-bottom span:nth-child(2),
    .se-hero-bottom span:nth-child(3) {
        display: none;
    }

    .se-intro {
        display: block;
        padding-block: 65px 30px;
    }

    .se-section-heading h2,
    .se-packages-heading h2,
    .se-planning-content h2 {
        font-size: clamp(45px, 11vw, 66px);
    }

    .se-section-heading > p:last-child {
        font-size: 15px;
    }

    .se-intro-stat {
        display: none;
    }

    .se-destinations {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding-bottom: 65px;
    }

    .se-destination-card {
        height: 290px;
    }

    .se-destination-content {
        padding: 13px;
    }

    .se-destination-top {
        align-items: start;
    }

    .se-destination-top span {
        font-size: 21px;
    }

    .se-destination-top small {
        font-size: 8px;
        line-height: 1.3;
    }

    .se-destination-bottom h3 {
        font-size: clamp(25px, 7vw, 35px);
    }

    .se-destination-bottom p {
        font-size: 11px;
        line-height: 1.45;
    }

    .se-packages {
        padding: 65px 0 75px;
    }

    .se-packages-heading {
        display: block;
        margin-bottom: 30px;
    }

    .se-packages-heading > p {
        font-size: 14px;
    }

    .se-package-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .se-package-image {
        height: 250px;
    }

    .se-package-body {
        padding: 22px;
    }

    .se-package-body h3 {
        font-size: 25px;
    }

    .se-package-footer {
        align-items: center;
    }

    .se-package-button {
        font-size: 10px;
        padding: 13px 12px;
    }

    .se-planning {
        grid-template-columns: 1fr;
    }

    .se-planning-photo {
        min-height: 260px;
        height: 280px;
    }

    .se-planning-content {
        padding: 50px 22px 65px;
    }
}

@media (max-width: 360px) {
    .se-destinations {
        grid-template-columns: 1fr;
    }

    .se-destination-card {
        height: 320px;
    }

    .se-package-footer {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .se-motion-ready [data-se-reveal],
    .se-package-card,
    .se-package-image img,
    .se-destination-image img {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
