:root {
    --btw-ink: #1f1f1f;
    --btw-muted: #626262;
    --btw-line: #d8d8d8;
    --btw-soft: #f7f7f7;
    --btw-green: #465b2d;
    --btw-green-dark: #31421f;
    --btw-accent: #b86b16;
    --btw-star: #8a5a00;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.container--tours-directory *,
.relatedlinks1,
.relatedlinks1 *,
.directory-extra,
.directory-extra * {
    box-sizing: border-box;
}

.container--tours-directory a,
.relatedlinks1 a {
    color: inherit;
}

.container--tours-directory a:focus-visible,
.container--tours-directory button:focus-visible,
#filters-section a:focus-visible,
#filters-section button:focus-visible,
#filters-section input:focus-visible,
.safari-footer-bottom-right button:focus-visible,
.safari-modal-overlay button:focus-visible,
header a:focus-visible,
header button:focus-visible,
header select:focus-visible {
    outline: 3px solid var(--btw-accent);
    outline-offset: 3px;
}

#mobile-menu-toggle,
#mobile-menu-close {
    min-width: 44px;
    min-height: 44px;
}

.container--main.container--tours-directory,
.container--directory,
.directory-extra {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
    margin: 0 auto;
    color: var(--btw-ink);
    font-family: "Noto Sans", Arial, sans-serif;
}

.container--tours-directory .row {
    display: flex;
    flex-wrap: wrap;
}

.container--tours-directory .col {
    min-width: 0;
}

.container--tours-directory .col-12 {
    width: 100%;
}

.container--tours-directory > .row {
    align-items: flex-start;
    gap: 0;
}

.filters {
    display: none;
}

.list--tours {
    flex: 1 1 100%;
    width: 100%;
}

.row-header--withintro {
    display: block;
    overflow: hidden;
    padding: 22px 24px 24px;
    border: 0;
    border-radius: 8px;
    background:
        radial-gradient(circle at 8% 0%, rgba(242, 184, 75, .34), transparent 31%),
        radial-gradient(circle at 92% 18%, rgba(107, 142, 61, .34), transparent 34%),
        linear-gradient(135deg, #13231c 0%, #234033 48%, #3f5f32 100%);
    box-shadow: 0 18px 42px rgba(19, 35, 28, .18);
    position: relative;
    text-align: left;
}

@media (min-width: 769px) {
    .container--tours-directory .row-header--withintro {
        display: grid;
        justify-items: center;
        gap: 10px;
        padding: 34px 42px 14px;
        border: 0;
        border-radius: 8px;
        background:
            radial-gradient(circle at 12% 0%, rgba(242, 184, 75, .38), transparent 30%),
            radial-gradient(circle at 88% 12%, rgba(107, 142, 61, .38), transparent 34%),
            linear-gradient(135deg, #13231c 0%, #234033 50%, #3f5f32 100%);
        box-shadow: 0 22px 48px rgba(19, 35, 28, .22);
        text-align: center;
    }

    .container--tours-directory .row-header--withintro::after {
        display: none;
    }

    .container--tours-directory .row-header--withintro > .col {
        width: 100%;
    }

    .container--tours-directory .list--title {
        max-width: 940px;
        margin: 0 auto;
        color: #fff;
        font-size: clamp(1.65rem, 2.35vw, 2.45rem);
        line-height: 1.12;
        font-weight: 950;
        text-align: center;
        text-wrap: balance;
    }

    .container--tours-directory .list--title::after {
        display: none;
    }

    .container--tours-directory .intro {
        max-width: 980px;
        margin: 0 auto;
        color: rgba(255, 255, 255, .9);
        font-size: 1.04rem;
        line-height: 1.78;
        font-weight: 500;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }

    .container--tours-directory .intro p {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .container--tours-directory #overviewPreview,
    .container--tours-directory #overviewText {
        max-width: 980px;
        margin-right: auto;
        margin-left: auto;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }

    .container--tours-directory #toggleLink,
    .container--tours-directory #toggleLessLink {
        margin: 0;
        min-height: auto;
        min-width: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #f2b84b;
        font-size: .96rem;
        font-weight: 900;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .container--tours-directory #toggleLink:hover,
    .container--tours-directory #toggleLessLink:hover {
        background: transparent;
        color: #fff;
        text-decoration: underline;
    }
}

.row-header--withintro::after {
    display: none;
    content: none;
}

.list--title {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 0 16px;
    color: #fff;
    font-family: "Noto Sans", Arial, sans-serif;
    font-size: clamp(1.45rem, 2.2vw, 2.05rem);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: 0;
    text-wrap: balance;
}

.list--title::after {
    display: none;
    content: none;
}

.list--title #titlePreview,
.list--title #titleFull {
    display: inline;
}

.list--title #titlePreview[hidden],
.list--title #titleFull[hidden] {
    display: none !important;
}

.intro {
    position: relative;
    z-index: 1;
    max-width: none;
    width: 100%;
    color: rgba(255, 255, 255, .9);
    font-size: 1rem;
    line-height: 1.68;
    text-align: left;
}

.intro p {
    margin: 0;
    padding: 14px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#introPreview,
#introContent {
    width: 100%;
}

#introPreview[hidden],
#introContent[hidden] {
    display: none !important;
}

#overviewPreview,
#overviewText {
    max-width: none;
}

#introPreview,
#introPreview *,
#introContent,
#introContent *,
#overviewPreview,
#overviewPreview *,
#overviewText,
#overviewText * {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

#introContent p,
#introPreview p,
#overviewPreview p,
#overviewText p {
    margin: 0 !important;
    padding: 0 !important;
}

#introContent hr,
#introPreview hr,
#overviewText hr,
#overviewPreview hr {
    display: none !important;
}

#toggleLink,
#toggleLessLink {
    display: inline-flex;
    appearance: none;
    position: relative;
    z-index: 1;
    margin: 0;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--btw-accent);
    font-size: .95rem;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#toggleLink:hover,
#toggleLessLink:hover {
    border-color: transparent;
    background: transparent;
    color: var(--btw-green-dark);
    text-decoration: underline;
}

.home-marketplace {
    width: 100%;
    color: var(--btw-ink);
    font-family: "Noto Sans", Arial, sans-serif;
    background: #fff;
}

.home-marketplace *,
.home-marketplace *::before,
.home-marketplace *::after {
    box-sizing: border-box;
}

.home-hero {
    background:
        linear-gradient(180deg, rgba(17, 17, 17, .28), rgba(17, 17, 17, .48)),
        url("../images/masai_mara_safari.jpg") center/cover no-repeat;
    color: #fff;
}

.home-hero__inner,
.home-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.home-hero__inner {
    min-height: 480px;
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 70px 0 54px;
}

.home-eyebrow {
    margin: 0;
    color: var(--btw-accent);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 4.5rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
}

.home-hero__copy {
    max-width: 680px;
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.22rem);
    line-height: 1.55;
}

.home-search {
    width: min(760px, 100%);
    margin-top: 14px;
}

.home-search label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: .92rem;
    font-weight: 800;
}

.home-search__bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .2);
}

.home-search__bar input {
    width: 100%;
    min-height: 48px;
    border: 0;
    padding: 0 14px;
    color: #111;
    font: 700 1rem/1.2 "Noto Sans", Arial, sans-serif;
    outline: none;
}

.home-search__bar button,
.home-contact-grid a,
.home-hero__quicklinks a {
    border-radius: 4px;
    text-decoration: none;
    font-weight: 900;
}

.home-search__bar button {
    min-height: 48px;
    border: 0;
    padding: 0 24px;
    background: var(--btw-green);
    color: #fff;
    cursor: pointer;
}

.home-hero__quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.home-hero__quicklinks a {
    padding: 9px 12px;
    background: rgba(255, 255, 255, .92);
    color: #111;
}

.home-section {
    padding: 40px 0;
}

.home-section__head {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.home-section__head h2,
.home-panel h2 {
    margin: 0;
    color: #111;
    font-size: clamp(1.45rem, 2.6vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: 0;
}

.home-inventory__grid,
.home-contact-grid,
.home-why-grid,
.home-info-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-inventory__grid div,
.home-contact-grid a,
.home-panel,
.home-activity-grid a,
.home-partners div {
    border: 1px solid rgba(70, 91, 45, .16);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}

.home-inventory__grid div {
    display: grid;
    gap: 4px;
    padding: 18px;
}

.home-inventory__grid strong {
    color: var(--btw-green);
    font-size: 1.8rem;
    line-height: 1;
}

.home-inventory__grid span {
    color: var(--btw-muted);
    font-weight: 800;
}

.home-contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-contact-grid a {
    display: grid;
    gap: 6px;
    padding: 18px;
    color: #111;
}

.home-contact-grid span,
.home-chip-list strong,
.home-activity-grid strong {
    color: var(--btw-muted);
    font-size: .86rem;
}

.home-contact-grid strong {
    color: var(--btw-green-dark);
    overflow-wrap: anywhere;
}

.home-destination-grid,
.home-departure-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-panel {
    padding: 20px;
}

.home-panel h3 {
    margin: 0 0 14px;
    color: #111;
    font-size: 1.18rem;
}

.home-chip-list,
.home-city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.home-chip-list a,
.home-city-list a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 9px 11px;
    border: 1px solid var(--btw-line);
    border-radius: 999px;
    background: var(--btw-soft);
    color: #111;
    text-decoration: none;
    font-weight: 800;
}

.home-city-list a span {
    display: inline-flex;
    min-width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: var(--btw-green);
    font-size: .78rem;
}

.home-activity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-activity-grid a {
    display: grid;
    gap: 8px;
    padding: 17px;
    color: #111;
    text-decoration: none;
    font-weight: 900;
}

.home-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-gallery figure {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    margin: 0;
    border-radius: 8px;
    background: #111;
}

.home-gallery img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    opacity: .88;
}

.home-gallery figcaption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    color: #fff;
    font-weight: 900;
}

.home-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-why-grid div {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(70, 91, 45, .16);
    border-radius: 8px;
    background: var(--btw-soft);
    font-weight: 900;
}

.home-why-grid span {
    color: var(--btw-green);
}

.home-partners {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.home-partners div {
    min-height: 92px;
    display: grid;
    place-items: center;
    color: var(--btw-green-dark);
    font-size: 1.1rem;
    font-weight: 900;
}

.home-info-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-panel ul {
    margin: 14px 0 0 18px;
    padding: 0;
    color: #333;
    line-height: 1.7;
}

.home-panel p {
    margin: 12px 0 0;
    color: #333;
    line-height: 1.65;
}

.filters__close {
    display: none;
}

.filters__all {
    border: 1px solid var(--btw-line);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}

.filters__all form::before {
    content: "Filters";
    display: block;
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--btw-line);
    font-size: 1.25rem;
    font-weight: 800;
}

.filters__block {
    padding: 18px 0;
    border-bottom: 1px solid var(--btw-line);
}

.filters__block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.filters__block h3,
.filters__block summary {
    margin: 0 0 12px;
    color: #111;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
}

.filters__block details {
    margin: 0;
}

.filters__block summary {
    list-style: none;
    position: relative;
    padding-right: 24px;
}

.filters__block summary::-webkit-details-marker {
    display: none;
}

.filters__block summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--btw-muted);
    font-size: 1.2rem;
    line-height: 1;
}

.filters__block details[open] summary::after {
    content: "-";
}

.filters__block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.filters__block__check {
    margin: 10px 0;
}

.filters__block__check label {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    min-height: 44px;
    padding: 8px 0;
    color: #343434;
    font-size: .95rem;
    line-height: 1.35;
    cursor: pointer;
}

.filters__block__check input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    border: 2px solid #767676;
    border-radius: 3px;
    background: #fff;
}

.filters__block__check input[type="checkbox"]:checked {
    background: var(--btw-green);
    border-color: var(--btw-green);
    box-shadow: inset 0 0 0 3px #fff;
}

.filters__block__check label:hover {
    color: var(--btw-green);
}

.filter {
    display: block;
    margin-top: 14px;
}

.filter > .btn-filter {
    display: none !important;
}

#filters-section {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    margin-top: 0;
    padding: 72px 18px 24px;
    overflow-y: auto;
    background: rgba(17, 17, 17, .48);
}

#filters-section.active {
    display: block;
}

body.filters-modal-open {
    overflow: hidden;
}

#filters-section .filters-modal__close {
    position: fixed;
    top: 22px;
    right: max(22px, calc((100vw - 760px) / 2));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2002;
    width: 42px;
    height: 42px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 1.55rem;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
    cursor: pointer;
}

#filters-section .filters-modal__close:hover,
#filters-section .filters-modal__close:focus {
    background: var(--btw-green);
    color: #fff;
}

#filters-section > .filters__all,
#filters-section form {
    width: min(720px, 100%);
    margin: 0 auto;
}

#filters-section > .filters__all {
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

#filters-section > form {
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

#filters-section,
#filters-section form,
#filters-section .filters__block,
#filters-section .filters__block h3,
#filters-section .filters__block summary,
#filters-section .filters__block label,
#filters-section .filters__block span,
#filters-section .filters__block li {
    text-align: left;
}

.selected-filters.hide {
    display: none;
}

.tour-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0 14px;
}

.package-count {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 15px;
    border: 1px solid rgba(70, 91, 45, .18);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(70, 91, 45, .08), rgba(184, 107, 22, .06)),
        #f4f4f4;
    color: #111;
    font-size: 1.14rem;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: 0 8px 22px rgba(31, 31, 31, .05);
}

.tour-list-toolbar__note {
    margin: 4px 0 0;
    color: var(--btw-muted);
    font-size: .95rem;
}

.tour-list-toolbar__sort {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--btw-muted);
    font-size: .95rem;
    white-space: nowrap;
}

.tour-list-toolbar__sort strong {
    color: #111;
}

.tour-category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.tour-category-chips a,
.tour-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--btw-line);
    border-radius: 999px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.tour-category-chips a:hover,
.tour-filter-chip:hover {
    border-color: var(--btw-green);
}

.tour-filter-chip {
    border-color: var(--btw-green);
    background: var(--btw-green);
    color: #fff;
}

.tour-results-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: stretch;
}

.tour-result-card {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
}

.tour-list-empty {
    margin: 18px 0 34px;
    padding: 18px;
    border-radius: 8px;
    background: #f4f4f4;
    color: #222;
    font-weight: 700;
    text-align: left;
}

.tour-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    height: 100%;
    min-height: 100%;
    padding: 13px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .46)),
        #f4f4f4;
    color: #1f1f1f;
    transition: box-shadow .18s ease, border-color .18s ease;
}

.tour-card:hover {
    border-color: #b9b9b9;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

.tour-card__media {
    position: relative;
    height: 210px;
}

.tour-card__image-link {
    display: block;
    overflow: hidden;
    height: 100%;
    border-radius: 8px;
    background: var(--btw-soft);
    position: relative;
}

.tour-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-card__body {
    display: flex;
    min-height: 0;
    flex-direction: column;
    min-width: 0;
    padding: 13px 1px 0;
}

.tour-card__badge-row,
.tour-card__meta,
.tour-card__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tour-card__badge {
    padding: 3px 7px;
    border-radius: 4px;
    background: #f2b203;
    color: #1f1f1f;
    font-size: .75rem;
    font-weight: 800;
}

.tour-card__muted {
    color: var(--btw-muted);
    font-size: .88rem;
}

.tour-card__title {
    margin: 10px 0 8px;
    font-size: 1.02rem;
    line-height: 1.3;
    letter-spacing: 0;
    font-family: "Noto Sans", Arial, sans-serif;
    font-weight: 900;
    text-align: left;
}

.tour-card__title a {
    text-decoration: none;
}

.tour-card__title a:hover {
    text-decoration: underline;
}

.tour-card__summary,
.tour-card__route {
    margin: 0 0 11px;
    color: #3f3f3f;
    font-size: .86rem;
    line-height: 1.55;
    text-align: left;
    text-justify: auto;
    word-spacing: normal;
    hyphens: auto;
}

.tour-card__summary span,
.tour-card__route span {
    margin-left: 4px;
}

.tour-card__meta {
    margin: 0 0 10px;
    color: #2f2f2f;
    font-size: .88rem;
    line-height: 1.45;
}

.tour-card__meta span {
    position: relative;
    padding-left: 0;
}

.tour-card__meta span::before {
    content: none;
}

.tour-card__meta span:not(:last-child)::after {
    content: "•";
    margin-left: 8px;
    color: #6d6d6d;
}

.tour-card__rating {
    margin-top: auto;
    color: #222;
    font-size: .88rem;
    line-height: 1.4;
}

.tour-card__stars {
    color: var(--btw-star);
    letter-spacing: 1px;
}

.tour-card__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 3px;
    padding-left: 0;
    padding-top: 12px;
    text-align: left;
}

.tour-card__save {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.tour-card__from,
.tour-card__person {
    color: var(--btw-muted);
    font-size: .86rem;
}

.tour-card__price-panel {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    min-width: 132px;
    padding: 10px 12px;
    border: 1px solid rgba(242, 184, 75, .55);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(242, 184, 75, .18), rgba(255, 255, 255, .96) 42%),
        #fff;
    box-shadow:
        0 14px 30px rgba(19, 35, 28, .14),
        inset 4px 0 0 var(--btw-accent);
}

.tour-card__price-panel .tour-card__from {
    color: var(--btw-green-dark);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1.1;
    text-transform: none;
}

.tour-card__price-panel .tour-card__person {
    color: var(--btw-muted);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
}

.tour-card__price strong {
    color: #111;
    font-size: 1.32rem;
    line-height: 1.1;
}

.tour-card__price-panel strong {
    margin: 3px 0 2px;
    color: var(--btw-green-dark);
    font-size: 1.42rem;
    font-weight: 950;
}

.tour-card__price-note {
    max-width: 150px;
    color: var(--btw-muted);
    font-size: .78rem;
    line-height: 1.25;
}

.tour-card__cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding: 0 22px;
    margin-top: 10px;
    align-self: center;
    border-radius: 999px;
    background: var(--btw-green);
    color: #fff !important;
    text-decoration: none;
    font-weight: 800;
    font-size: .94rem;
}

.tour-card__cta:hover {
    background: var(--btw-green-dark);
    color: #fff !important;
}

.tour-card__cta:visited,
.tour-card__cta:focus,
.tour-card__cta:active {
    color: #fff !important;
}

.list__paginator {
    margin: 28px 0 40px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.pagination button.btn {
    font-family: inherit;
    cursor: pointer;
}

.pagination button.btn:disabled {
    cursor: default;
    opacity: .5;
}

.pagination__numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.btn--white,
.pagination__nmbr {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--btw-line);
    border-radius: 4px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

.pagination__nmbr.active,
.btn--white:hover {
    border-color: var(--btw-green);
    background: var(--btw-green);
    color: #fff;
}

.btn--prev.inactive {
    color: #9a9a9a;
}

.pagination__summary {
    flex: 0 0 auto;
    color: var(--btw-muted);
    font-size: .95rem;
    text-align: center;
}

.directory-extra {
    padding: 0;
}

.relatedlinks1 {
    display: grid;
    gap: 26px;
    width: 100%;
    margin: 30px auto 0;
    padding: 34px 0 54px;
    color: var(--btw-ink);
    font-family: "Noto Sans", Arial, sans-serif;
    justify-items: center;
}

.relatedlinks1 .container1 {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(70, 91, 45, .18);
    border-radius: 8px;
    background: #fff;
    box-shadow:
        0 26px 64px rgba(19, 35, 28, .18),
        0 8px 22px rgba(0, 0, 0, .1);
}

.relatedlinks1 .container1::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(70, 91, 45, .13), rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, rgba(184, 107, 22, .08), rgba(255, 255, 255, 0) 42%);
}

.relatedlinks1 .relatedlinks__body {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
    gap: 26px;
    align-items: start;
    padding: 24px 26px 0;
}

.relatedlinks1 .relatedlinks__body .rendered-content:only-child {
    grid-column: 1 / -1;
}

.relatedlinks1 .relatedlinks__top {
    position: relative;
    margin: 0;
    padding: 24px 26px 18px;
    border-bottom: 1px solid rgba(70, 91, 45, .14);
    color: #111;
    font-size: clamp(1.28rem, 2.2vw, 1.95rem);
    line-height: 1.18;
    letter-spacing: 0;
    text-align: center;
}

.relatedlinks1 .rendered-content {
    position: relative;
    padding: 2px 0 0;
    color: #303030;
    font-size: 1rem;
    line-height: 1.75;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.relatedlinks1 .rendered-content > *:first-child {
    margin-top: 0;
}

.relatedlinks1 .rendered-content p {
    margin: 0 0 14px;
    max-width: none;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.relatedlinks1 .rendered-content h1,
.relatedlinks1 .rendered-content h2,
.relatedlinks1 .rendered-content h3,
.relatedlinks1 .rendered-content h4,
.relatedlinks1 .rendered-content h5,
.relatedlinks1 .rendered-content h6 {
    margin: 20px 0 10px;
    color: var(--btw-green-dark);
    line-height: 1.25;
    letter-spacing: 0;
}

.relatedlinks1 .rendered-content ul,
.relatedlinks1 .rendered-content ol {
    margin: 0 0 16px 22px;
    padding: 0;
}

.relatedlinks1 .rendered-content li {
    margin: 6px 0;
}

.relatedlinks1 .rendered-content li::marker {
    color: var(--btw-green);
}

.relatedlinks1 .rendered-content blockquote {
    margin: 18px 0;
    padding: 16px 18px;
    border-left: 5px solid var(--btw-accent);
    border-radius: 0 8px 8px 0;
    background: linear-gradient(90deg, rgba(184, 107, 22, .1), rgba(247, 247, 247, .95));
    color: #444;
}

.relatedlinks1 .relatedlinks__media {
    position: relative;
    margin: 0;
}

.relatedlinks1 .relatedlinks__media::before {
    content: "";
    position: absolute;
    inset: 14px -10px -10px 14px;
    z-index: 0;
    border: 1px solid rgba(70, 91, 45, .22);
    border-radius: 8px;
    background: var(--btw-soft);
}

.relatedlinks1 .relatedlinks__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: clamp(240px, 28vw, 390px);
    margin: 0;
    border-radius: 8px;
    object-fit: cover;
    box-shadow:
        0 22px 46px rgba(19, 35, 28, .2),
        0 8px 18px rgba(0, 0, 0, .12);
}

.relatedlinks1 .table-container {
    width: 100%;
    margin: 24px 26px 0;
    width: calc(100% - 52px);
    overflow-x: auto;
    border: 1px solid rgba(70, 91, 45, .18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(19, 35, 28, .12);
}

.relatedlinks1 .table-title {
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid var(--btw-line);
    color: var(--btw-green-dark);
    text-align: left;
}

.relatedlinks1 .data-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    background: transparent;
}

.relatedlinks1 .data-table th,
.relatedlinks1 .data-table td {
    padding: 12px 14px;
    border: 1px solid rgba(70, 91, 45, .14);
    text-align: left;
    vertical-align: top;
}

.relatedlinks1 .data-table th {
    background: var(--btw-green);
    color: #fff;
}

.relatedlinks1 .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 26px 0;
    justify-content: center;
}

.relatedlinks1 .relatedlinks__actions {
    align-items: center;
    justify-content: center;
}

.relatedlinks1 .buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 170px;
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.relatedlinks1 .buttons a:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .2);
}

.relatedlinks1 .buttons .whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.relatedlinks1 .buttons .whatsapp::before {
    content: "\2706";
    display: inline-flex;
    margin-right: 8px;
    font-size: 1rem;
    font-weight: 900;
    opacity: .86;
}

.relatedlinks1 .buttons .email {
    background: linear-gradient(135deg, #2563eb, #0f3f8f);
}

.relatedlinks1 .buttons .email::before {
    content: "\2709";
    display: inline-flex;
    margin-right: 8px;
    font-size: 1rem;
    font-weight: 900;
    opacity: .86;
}

.relatedlinks1 hr {
    border: 0;
    border-top: 1px solid rgba(70, 91, 45, .16);
    margin: 24px 26px 0;
}

.safari-footer-bottom-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 34px;
}

.safari-footer-bottom-right .safari-footer-btn {
    display: inline-flex;
    width: auto;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--btw-line);
    border-radius: 4px;
    background: #fff;
    color: #111;
    font: 700 .92rem/1.2 "Noto Sans", Arial, sans-serif;
    cursor: pointer;
}

.relatedlinks1 .container1:nth-of-type(even) .relatedlinks__body {
    grid-template-columns: minmax(310px, .85fr) minmax(0, 1.15fr);
}

.relatedlinks1 .container1:nth-of-type(even) .rendered-content {
    order: 2;
}

.relatedlinks1 .container1:nth-of-type(even) .relatedlinks__media {
    order: 1;
}

.single-line-ellipsis {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .wrapper,
    main,
    .container--tours-directory,
    .directory-extra,
    .relatedlinks1,
    .relatedlinks1 .container1 {
        max-width: 100%;
        overflow-x: hidden;
    }

    .home-hero__inner {
        min-height: 420px;
        padding: 54px 0 42px;
    }

    .home-inventory__grid,
    .home-why-grid,
    .home-partners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-contact-grid,
    .home-activity-grid,
    .home-gallery,
    .home-info-row {
        grid-template-columns: 1fr;
    }

    .home-destination-grid,
    .home-departure-grid {
        grid-template-columns: 1fr;
    }

    .container--tours-directory > .row {
        display: block;
    }

    .relatedlinks1 .relatedlinks__body {
        grid-template-columns: 1fr;
    }

    .relatedlinks1 {
        gap: 30px;
        padding-top: 28px;
    }

    .relatedlinks1 .container1 {
        border-color: rgba(70, 91, 45, .22);
        box-shadow:
            0 24px 56px rgba(19, 35, 28, .16),
            0 8px 20px rgba(0, 0, 0, .1);
    }

    .relatedlinks1 .container1:nth-of-type(even) .relatedlinks__body {
        grid-template-columns: 1fr;
    }

    .relatedlinks1 .container1:nth-of-type(even) .rendered-content,
    .relatedlinks1 .container1:nth-of-type(even) .relatedlinks__media {
        order: initial;
    }

    .relatedlinks1 .relatedlinks__image {
        height: 300px;
    }

    .tour-results-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .tour-card {
        min-height: 0;
    }

    .tour-card__price {
        grid-column: auto;
    }

    .tour-card__save {
        display: block;
    }

    .tour-card__media,
    .tour-card__body,
    .tour-card__image {
        min-height: 0;
    }

    .tour-card__media {
        height: 190px;
    }
}

@media (max-width: 620px) {
    .wrapper,
    main,
    footer,
    .container,
    .row,
    .col,
    .container--tours-directory,
    .directory-extra,
    .relatedlinks1,
    .relatedlinks1 .container1 {
        max-width: 100% !important;
        overflow-x: hidden;
    }

    .home-hero__inner,
    .home-section {
        width: min(100% - 24px, 1180px);
    }

    .home-hero__inner {
        min-height: 390px;
    }

    .home-search__bar {
        grid-template-columns: 1fr;
    }

    .home-search__bar button {
        width: 100%;
    }

    .home-section {
        padding: 30px 0;
    }

    .home-inventory__grid,
    .home-partners {
        grid-template-columns: 1fr;
    }

    .home-chip-list a,
    .home-city-list a {
        width: 100%;
        justify-content: space-between;
    }

    .container--main.container--tours-directory,
    .container--directory,
    .directory-extra {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }

    .tour-list-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .row-header--withintro {
        padding: 20px 12px 10px;
        border: 0;
        background:
            radial-gradient(circle at 10% 0%, rgba(242, 184, 75, .3), transparent 34%),
            linear-gradient(145deg, #13231c 0%, #234033 58%, #3f5f32 100%);
    }

    .row-header--withintro::after {
        display: none;
        content: none;
    }

    .list--title {
        max-width: none;
        color: #fff;
        font-size: clamp(1.32rem, 5.4vw, 1.7rem);
        line-height: 1.16;
        font-weight: 900;
        text-align: center;
    }

    .list--title::after {
        display: none;
        content: none;
    }

    .intro {
        font-size: .98rem;
        line-height: 1.65;
        text-align: left;
    }

    .intro p {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    #toggleLink,
    #toggleLessLink {
        min-height: auto;
        padding: 0;
        font-size: .9rem;
    }

    #filters-section {
        padding: 64px 12px 18px;
    }

    #filters-section .filters-modal__close {
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
        font-size: 1.45rem;
    }

    .tour-results-list {
        grid-template-columns: 1fr !important;
        gap: 12px;
        width: 100%;
        max-width: 100%;
    }

    .tour-card {
        grid-template-columns: 1fr;
        padding: 12px;
        max-width: 100%;
        overflow: hidden;
    }

    .tour-card__summary,
    .tour-card__route {
        text-align: left;
    }

    .tour-card__image {
        min-height: 0;
    }

    .tour-card__media {
        height: 210px;
        max-width: 100%;
    }

    .tour-card__body {
        min-height: 0;
    }

    .tour-card__price {
        grid-column: auto;
    }

    .tour-card__cta {
        width: auto;
    }

    .list__paginator {
        margin: 22px 0 30px;
        overflow-x: hidden;
    }

    .pagination {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 8px;
        width: 100%;
        max-width: 100%;
    }

    .pagination__numbers {
        min-width: 0;
        justify-content: center;
        overflow: hidden;
    }

    .pagination__numbers .pagination__nmbr:not(.active),
    .pagination__numbers .pagination__dots,
    .pagination__numbers .pagination__last {
        display: none;
    }

    .pagination__summary {
        grid-column: 1 / -1;
        width: 100%;
        font-size: .88rem;
    }

    .btn--white,
    .pagination__nmbr {
        min-width: 42px;
        height: 42px;
        padding: 0 10px;
    }

    .relatedlinks1 {
        gap: 28px;
        padding: 24px 0 44px;
    }

    .relatedlinks1 .container1 {
        width: calc(100% - 4px);
        margin: 0 auto;
        padding: 0;
        border: 1px solid rgba(70, 91, 45, .28);
        border-radius: 8px;
        box-shadow:
            0 22px 48px rgba(19, 35, 28, .18),
            0 8px 18px rgba(0, 0, 0, .12);
    }

    .relatedlinks1 .relatedlinks__body {
        gap: 20px;
        padding: 20px 18px 6px;
    }

    .relatedlinks1 .relatedlinks__top {
        padding: 20px 18px 16px;
        border-bottom-color: rgba(70, 91, 45, .22);
    }

    .relatedlinks1 .rendered-content,
    .relatedlinks1 .rendered-content p {
        text-align: left;
    }

    .relatedlinks1 .relatedlinks__image {
        height: 230px;
    }

    .relatedlinks1 .table-container {
        width: calc(100% - 36px);
        margin: 22px 18px 4px;
        max-width: calc(100% - 36px);
        overflow-x: auto;
        box-shadow: 0 16px 32px rgba(19, 35, 28, .12);
    }

    .relatedlinks1 .buttons {
        flex-direction: column;
        margin: 22px 18px 4px;
    }

    .relatedlinks1 .buttons a {
        width: 100%;
    }

    .relatedlinks1 hr {
        margin: 22px 18px 4px;
    }

    .safari-footer-bottom-right {
        justify-content: flex-end;
        gap: 8px;
        margin-bottom: 28px;
    }

    .safari-footer-bottom-right .safari-footer-btn {
        min-height: 38px;
        padding: 8px 10px;
        font-size: .85rem;
    }
}

@media (max-width: 760px) {
    .list__paginator {
        margin: 22px 0 34px;
    }

    .pagination {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .pagination__numbers {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 2px 2px 8px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .pagination__summary {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .btn--prev,
    .btn--next {
        grid-row: 3;
        width: 100%;
    }

    .btn--prev {
        grid-column: 1;
    }

    .btn--next {
        grid-column: 2;
    }

    .btn--white,
    .pagination__nmbr {
        min-width: 42px;
        height: 40px;
        white-space: nowrap;
    }

    .pagination__dots {
        display: inline-flex;
        height: 40px;
        align-items: center;
        padding: 0 4px;
    }
}

@media (max-width: 420px) {
    .pagination {
        gap: 8px;
    }

    .btn--white,
    .pagination__nmbr {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: .92rem;
    }

    .pagination__summary {
        font-size: .9rem;
    }
}

/* Africa Natural Tours-style footer. Scoped to footer only. */
footer {
    --ant-forest: #234033;
    --ant-deep: #13231c;
    --ant-leaf: #6b8e3d;
    --ant-gold: #f2b84b;
    --ant-line: rgba(255, 255, 255, .14);
    --ant-soft: rgba(255, 255, 255, .08);
}

footer > div[style],
footer .footer,
footer #footer-bottom {
    background: var(--ant-deep) !important;
    color: #fff !important;
    font-family: "Noto Sans", Arial, sans-serif !important;
}

footer > div[style]:first-child {
    padding: 42px 20px !important;
    border-bottom: 4px solid var(--ant-gold) !important;
    background:
        linear-gradient(135deg, rgba(19, 35, 28, .96), rgba(35, 64, 51, .96)) !important;
}

footer > div[style]:first-child h2,
footer > div[style]:first-child > div:first-child,
footer > div[style] > div:first-child {
    color: var(--ant-gold) !important;
    font-weight: 900 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

footer > div[style]:first-child a {
    background: rgba(255, 255, 255, .96) !important;
    color: var(--ant-deep) !important;
    border: 1px solid rgba(242, 184, 75, .35) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18) !important;
}

footer .footer {
    padding: 54px 0 34px !important;
    border-top: 1px solid rgba(242, 184, 75, .22) !important;
}

footer .footer .container,
footer #footer-bottom .container {
    width: min(1220px, calc(100% - 32px)) !important;
    max-width: 1220px !important;
    margin: 0 auto !important;
}

footer .footer .row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 26px 28px !important;
    align-items: start !important;
}

footer .footer-column {
    min-width: 0 !important;
    padding: 0 !important;
}

footer .footer-column h4 {
    margin: 0 0 14px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid var(--ant-line) !important;
    color: var(--ant-gold) !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
    text-align: left !important;
    text-transform: uppercase !important;
}

footer .footer-column ul,
footer .social-icons ul,
footer #terms ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

footer .footer-column li {
    margin: 0 !important;
    padding: 0 !important;
}

footer .footer-column a {
    display: inline-block !important;
    padding: 4px 0 !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: .88rem !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    transition: color .18s ease, transform .18s ease !important;
}

footer .footer-column a:hover,
footer #terms a:hover {
    color: var(--ant-gold) !important;
    transform: translateX(3px) !important;
}

footer .social-icons {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding-top: 24px !important;
    border-top: 1px solid var(--ant-line) !important;
    text-align: center !important;
}

footer .social-icons ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
}

footer .social-icons a {
    display: grid !important;
    width: 42px !important;
    height: 42px !important;
    place-items: center !important;
    border: 1px solid rgba(242, 184, 75, .35) !important;
    border-radius: 50% !important;
    background: var(--ant-soft) !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease, transform .18s ease !important;
}

footer .social-icons a:hover {
    background: var(--ant-gold) !important;
    color: var(--ant-deep) !important;
    transform: translateY(-2px) !important;
}

footer .footer div[style*="background-color: #222"],
footer .footer div[style*="background-color:#222"] {
    grid-column: 1 / -1 !important;
    margin: 8px 0 0 !important;
    padding: 26px 18px !important;
    border: 1px solid var(--ant-line) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #fff !important;
}

footer .footer div[style*="background-color: #222"] > div:first-child,
footer .footer div[style*="background-color:#222"] > div:first-child {
    color: var(--ant-gold) !important;
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    letter-spacing: .05em !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}

footer .footer div[style*="background-color: #ffffff"],
footer .footer div[style*="background-color:#ffffff"] {
    background: #fff !important;
    border-radius: 8px !important;
}

footer .footer img {
    border-radius: 6px !important;
}

footer #footer-bottom {
    padding: 18px 0 !important;
    border-top: 1px solid var(--ant-line) !important;
}

footer #footer-bottom .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

footer #copyright,
footer #terms {
    width: auto !important;
    max-width: none !important;
    flex: 1 1 320px !important;
}

footer #copyright p {
    margin: 0 !important;
    color: rgba(255, 255, 255, .74) !important;
    font-size: .9rem !important;
    text-align: left !important;
}

footer #terms ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 14px !important;
}

footer #terms a {
    color: rgba(255, 255, 255, .76) !important;
    font-size: .9rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

@media (max-width: 980px) {
    footer .footer .row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 620px) {
    footer .footer {
        padding: 38px 0 26px !important;
    }

    footer .footer .row {
        grid-template-columns: 1fr !important;
    }

    footer #copyright p,
    footer #terms ul {
        justify-content: center !important;
        text-align: center !important;
    }
}
