.safari-tools-heading,
.safari-tools-links,
.safari-comparison-toolbar,
.safari-tool-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.safari-tools-heading {
    margin-bottom: 20px;
}

.safari-tools-links {
    flex-wrap: wrap;
}

.safari-tools-links .text-link {
    font-size: 11px;
}

.safari-comparison-toolbar {
    margin-bottom: 24px;
    padding: 14px 18px;
    background: #f4f2eb;
    color: #657168;
    font-size: 12px;
}

.safari-comparison-toolbar .button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.safari-tool-card[hidden] {
    display: none;
}

.safari-tool-actions {
    justify-content: flex-start;
    margin: 15px 0 18px;
}

.safari-tool-button {
    padding: 9px 11px;
    border: 1px solid #d9ddd2;
    background: #fff;
    color: #315344;
    cursor: pointer;
    font: 600 10px var(--sans);
    transition: background-color .2s ease, border-color .2s ease;
}

.safari-tool-button:hover,
.safari-tool-button[aria-pressed="true"] {
    border-color: #163e31;
    background: #edf2ed;
}

.safari-tool-button:focus-visible {
    outline: 2px solid #858b55;
    outline-offset: 2px;
}

.safari-favorites-empty {
    padding: 30px;
    background: #f4f2eb;
    text-align: center;
}

.safari-favorites-empty[hidden] {
    display: none;
}

.safari-favorites-empty a {
    display: block;
    margin-top: 12px;
    color: #315344;
    font-weight: 700;
}

.safari-comparison-dialog {
    width: min(900px, calc(100vw - 30px));
    max-width: none;
    max-height: calc(100vh - 30px);
    overflow: auto;
    padding: 24px;
    border: 0;
    border-radius: 8px;
    color: #20342c;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .28);
}

.safari-comparison-dialog::backdrop {
    background: rgba(16, 35, 27, .72);
}

.safari-comparison-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.safari-comparison-header h2 {
    margin: 0;
    font: 500 32px/1.2 var(--serif);
}

.safari-comparison-header button {
    width: 38px;
    height: 38px;
    border: 1px solid #d9ddd2;
    border-radius: 50%;
    background: #fff;
    color: #20342c;
    cursor: pointer;
    font-size: 24px;
}

.safari-comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.safari-comparison-table th,
.safari-comparison-table td {
    min-width: 130px;
    padding: 13px;
    border-bottom: 1px solid #e4e7df;
    vertical-align: top;
}

.safari-comparison-table th {
    color: #657168;
    font-size: 11px;
}

.destination-map-section {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.5fr);
    align-items: start;
    gap: 28px;
}

.destination-map-list {
    display: grid;
    gap: 10px;
}

.destination-map-choice {
    display: grid;
    grid-template-columns: 36px 1fr 20px;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e4e7df;
    background: #fff;
    color: #20342c;
    cursor: pointer;
    text-align: left;
    transition: border-color .2s ease, background .2s ease;
}

.destination-map-choice:hover,
.destination-map-choice.is-active {
    border-color: #638170;
    background: #f1f4ef;
}

.destination-map-marker {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: #163e31;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.destination-map-choice strong,
.destination-map-choice small {
    display: block;
}

.destination-map-choice strong {
    font: 600 14px/1.4 var(--serif);
}

.destination-map-choice small {
    margin-top: 3px;
    color: #747d75;
    font-size: 10px;
}

.destination-map-chevron {
    color: #858b55;
}

.destination-map-panel {
    overflow: hidden;
    border: 1px solid #e4e7df;
    background: #fff;
    box-shadow: 0 14px 34px rgba(32, 52, 44, .08);
}

.destination-map-panel iframe {
    display: block;
    width: 100%;
    height: 430px;
    border: 0;
    background: #e7ebe4;
}

.destination-map-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px;
}

.destination-map-details h2 {
    margin: 10px 0;
    font: 500 27px/1.2 var(--serif);
}

.destination-map-details [data-map-safaris] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.destination-map-details [data-map-safaris] a {
    color: #486451;
    font-size: 11px;
    font-weight: 600;
}

.travel-guide {
    max-width: 1000px;
}

.travel-guide-card {
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid #e6e8e1;
}

.travel-guide-number {
    color: #929960;
    font: 500 30px/1 var(--serif);
}

.travel-guide-card h2 {
    margin: 0 0 10px;
    font: 500 26px/1.2 var(--serif);
}

.travel-guide-card p {
    margin: 0;
    color: #657168;
    line-height: 1.8;
}

.reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
    align-items: start;
    gap: clamp(30px, 6vw, 80px);
}

.reviews-list {
    display: grid;
    gap: 18px;
}

.traveller-review,
.home-review-card {
    padding: 26px;
    border: 1px solid #e7e9e3;
    background: #fff;
}

.traveller-review h2,
.home-review-card h3 {
    margin: 10px 0;
    font: 500 23px/1.3 var(--serif);
}

.traveller-review p,
.home-review-card p {
    color: #657168;
    line-height: 1.8;
}

.traveller-review > strong,
.traveller-review > span,
.home-review-card > strong,
.home-review-card > span {
    display: block;
}

.traveller-review > span,
.home-review-card > span {
    color: #747d75;
    font-size: 11px;
}

.review-stars {
    color: #969b58;
    letter-spacing: .12em;
}

.traveller-review-photo {
    display: block;
    width: min(100%, 420px);
    max-height: 300px;
    margin: 15px 0;
    object-fit: cover;
}

.traveller-review-form {
    display: grid;
    gap: 14px;
    margin: 0;
}

.traveller-review-form h2 {
    margin: 0;
    font: 500 30px/1.2 var(--serif);
}

.traveller-review-form > p {
    margin: 0;
    color: #747d75;
    font-size: 12px;
}

.traveller-review-form label {
    display: grid;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
}

.traveller-review-form input,
.traveller-review-form select,
.traveller-review-form textarea,
.quote-request-form input,
.quote-request-form select,
.quote-request-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d9ddd2;
    border-radius: 0;
    background: #fff;
    color: #20342c;
    font: 13px var(--sans);
}

.traveller-review-form textarea,
.quote-request-form textarea {
    min-height: 110px;
    resize: vertical;
}

.traveller-review-form .button {
    justify-self: start;
}

.travel-tool-empty {
    padding: 25px;
    background: #f4f2eb;
    color: #657168;
}

.quote-request-page {
    max-width: 960px;
}

.quote-request-form {
    margin: 0;
}

.quote-privacy {
    margin: 0 0 20px;
    color: #747d75;
    font-size: 11px;
}

.home-reviews {
    padding: 85px 7%;
    background: #f4f2eb;
    text-align: center;
}

.home-reviews-inner {
    width: min(1260px, 100%);
    margin: 0 auto;
}

.home-reviews-inner > .eyebrow {
    justify-content: center;
}

.home-reviews-inner > h2 {
    margin: 14px 0 30px;
    font: 500 clamp(32px, 4vw, 48px)/1.2 var(--serif);
}

.home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.home-review-card {
    padding: 22px;
    box-shadow: 0 10px 26px rgba(32, 52, 44, .05);
}

.home-review-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

@media (max-width: 800px) {
    .destination-map-section,
    .reviews-layout {
        grid-template-columns: 1fr;
    }

    .home-reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .safari-tools-heading,
    .safari-comparison-toolbar,
    .destination-map-details {
        align-items: flex-start;
        flex-direction: column;
    }

    .safari-tool-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .safari-comparison-table {
        display: block;
        overflow-x: auto;
    }

    .destination-map-panel iframe {
        height: 330px;
    }

    .travel-guide-card {
        grid-template-columns: 42px 1fr;
        gap: 12px;
    }

    .traveller-review,
    .home-review-card {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .safari-tool-button,
    .destination-map-choice {
        transition: none;
    }
}

.safari-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    align-items: end;
    gap: 14px;
    margin: 0 0 28px;
    padding: 20px;
    border: 1px solid #e4e7df;
    background: #fbfbf8;
}

.safari-filter-form label {
    display: grid;
    gap: 6px;
    color: #657168;
    font-size: 11px;
    font-weight: 600;
}

.safari-filter-form input,
.safari-filter-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #d9ddd2;
    border-radius: 0;
    background: #fff;
    color: #20342c;
    font: 13px var(--sans);
}

.safari-filter-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.safari-filter-actions .text-link {
    white-space: nowrap;
}

.safari-filter-error {
    grid-column: 1 / -1;
    margin: 0;
    color: #a33b2c;
    font-size: 12px;
}

.safari-offer-badge,
.verified-review {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 5px 9px;
    background: #edf2ed;
    color: #315344;
    font-size: 10px;
    font-weight: 700;
}

.safari-detail {
    display: grid;
    gap: 30px;
}

.safari-detail-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 30px;
}

.safari-detail-overview .lead {
    max-width: 760px;
}

.safari-detail-price {
    display: grid;
    gap: 4px;
    color: #657168;
    font-size: 12px;
}

.safari-detail-price strong {
    color: #20342c;
    font: 500 30px/1.2 var(--serif);
}

.safari-detail-columns,
.home-offers-grid,
.local-impact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.safari-detail-panel {
    padding: 25px;
    border: 1px solid #e4e7df;
    background: #fff;
}

.safari-detail-panel h2,
.safari-detail-panel h3,
.safari-detail-reviews h2 {
    margin: 0 0 14px;
    color: #20342c;
    font: 500 25px/1.25 var(--serif);
}

.safari-detail-panel p,
.safari-detail-copy {
    color: #657168;
    font-size: 14px;
    line-height: 1.8;
}

.safari-detail-panel dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 18px;
    margin: 0;
    font-size: 13px;
}

.safari-detail-panel dt {
    color: #657168;
}

.safari-detail-panel dd {
    margin: 0;
    color: #20342c;
    font-weight: 600;
}

.safari-offer-panel {
    padding: 26px;
    background: #f4f2eb;
}

.safari-offer-panel h2 {
    margin: 10px 0;
    font: 500 27px/1.2 var(--serif);
}

.safari-offer-panel p {
    max-width: 720px;
    color: #657168;
    line-height: 1.7;
}

.safari-date-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.safari-date-list li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e4e7df;
}

.safari-date-list span {
    color: #657168;
}

.safari-detail-reviews {
    display: grid;
    gap: 16px;
}

.safari-detail-reviews .home-reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.home-offers-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 10px 0 20px;
}

.home-offers-heading h2 {
    margin: 0;
    font: 500 34px/1.2 var(--serif);
}

.home-offers-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    padding: 20px 22px;
    border: 1px solid #e4e7df;
    background: #fff;
}

.faq-item summary {
    color: #20342c;
    cursor: pointer;
    font: 500 20px/1.4 var(--serif);
}

.faq-item p {
    margin: 14px 0 0;
    color: #657168;
    line-height: 1.8;
}

.local-impact {
    display: grid;
    gap: 20px;
}

.local-impact h2 {
    margin: 0;
    font: 500 34px/1.2 var(--serif);
}

.local-impact-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.newsletter-form {
    display: grid;
    gap: 9px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.newsletter-form h3 {
    margin: 0;
    color: #fff;
    font: 500 19px/1.3 var(--serif);
}

.newsletter-form > input {
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font: 12px var(--sans);
}

.newsletter-form > input::placeholder {
    color: rgba(255, 255, 255, .7);
}

.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
    line-height: 1.5;
}

.newsletter-consent input {
    flex: 0 0 auto;
    margin-top: 2px;
}

.newsletter-form button {
    justify-self: start;
    padding: 9px 13px;
    border: 0;
    background: #f1eee5;
    color: #20342c;
    cursor: pointer;
    font: 700 11px var(--sans);
}

.newsletter-form > small,
.newsletter-form p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    line-height: 1.6;
}

.newsletter-form p a {
    color: #fff;
    text-decoration: underline;
}

.newsletter-error {
    color: #ffd2c8 !important;
}

.newsletter-unsubscribe {
    max-width: 760px;
}

.newsletter-unsubscribe h1 {
    font: 500 38px/1.2 var(--serif);
}

.newsletter-unsubscribe p {
    margin-bottom: 24px;
    color: #657168;
    line-height: 1.8;
}

@media (max-width: 700px) {
    .safari-detail-overview,
    .safari-detail-columns {
        grid-template-columns: 1fr;
    }

    .home-offers-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .safari-filter-actions {
        grid-column: 1 / -1;
    }
}
