/* ==========================================================================
   Tour Package Detail Page — image-led wildlife journeys layout
   ========================================================================== */

.tour-detail-page {
    background: #f5f7f6;
}

/* --- HERO --- */
.td-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: stretch;
    color: #fff;
    overflow: visible;
}

.td-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.03);
    clip-path: inset(0);
}

.td-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(11, 48, 34, 0.9) 0%,
        rgba(11, 48, 34, 0.55) 50%,
        rgba(11, 48, 34, 0.4) 100%
    );
    z-index: 1;
}

.td-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: end;
    padding-top: calc(var(--header-height) + 18px);
    padding-bottom: 36px;
}

.td-hero-main {
    min-width: 0;
}

.td-hero-main .detail-breadcrumb {
    margin-bottom: 14px;
}

.td-hero-copy {
    max-width: 640px;
}

.td-hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.td-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.td-pill i { color: var(--accent); }

.td-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.8vw, 2.45rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.td-hero-sub {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 16px;
    max-width: 520px;
}

.td-hero-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.td-hero-price small {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.85;
    margin-left: 4px;
}

.td-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Hero enquiry card (replaces search bar) */
.td-book-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 14px;
    padding: 18px 16px;
    color: var(--text-dark);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    max-width: 360px;
    margin-left: auto;
    width: 100%;
    position: relative;
    z-index: 8;
    overflow: visible;
}

.td-book-card h3 {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 4px;
    text-align: center;
}

.td-book-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0 0 14px;
    line-height: 1.4;
}

.td-book-field {
    margin-bottom: 10px;
}

.td-book-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 5px;
}

.td-book-field input,
.td-book-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8e5;
    border-radius: 8px;
    font-size: 0.86rem;
    background: #fff;
    color: var(--text-dark);
    outline: none;
    font-family: inherit;
}

.td-book-field input:focus,
.td-book-field select:focus {
    border-color: var(--primary);
}

.td-book-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.td-book-row .td-book-field {
    min-width: 0;
}

.td-book-submit {
    width: 100%;
    margin-top: 4px;
    padding: 12px 14px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}

.td-book-submit:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.td-book-field input.td-park-locked {
    background: #f3f6f4;
    color: #334155;
    cursor: default;
    pointer-events: none;
    border-color: #e2e8e5;
}

.td-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.td-btn-gold {
    background: var(--accent);
    color: var(--primary);
    border: 2px solid var(--accent);
}

.td-btn-gold:hover {
    background: #d4b36a;
    color: var(--primary);
    transform: translateY(-2px);
}

.td-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.55);
}

.td-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

.td-btn-green {
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
}

.td-btn-green:hover {
    background: #0d3d2b;
    color: #fff;
}

/* --- SEARCH BAR --- */
.td-search-wrap {
    position: relative;
    z-index: 5;
    margin-top: -28px;
    margin-bottom: 0;
}

.td-search-bar {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(11, 48, 34, 0.14);
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(5, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.td-search-field label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.td-search-field select,
.td-search-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8e5;
    border-radius: 8px;
    font-size: 0.84rem;
    background: #fff;
    color: var(--text-dark);
}

.td-search-bar .td-btn-green {
    padding: 11px 18px;
    white-space: nowrap;
    border-radius: 8px;
    font-size: 0.82rem;
}

/* --- TRUST --- */
.td-trust {
    background: #fff;
    border-bottom: 1px solid #e8ebe9;
    padding: 18px 0;
    margin-top: 20px;
}

.td-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.td-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.td-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef5f1, #f7f1e4);
    color: var(--primary);
    border: 1px solid rgba(11, 48, 34, 0.08);
    flex-shrink: 0;
}

.td-trust-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    color: var(--primary);
    line-height: 1.25;
}

.td-trust-text span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* --- SECTION --- */
.td-section {
    padding: 40px 0;
}

.td-section-alt {
    background: #fff;
}

.td-section-head {
    text-align: center;
    margin-bottom: 26px;
}

.td-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-hover, #b08d3e);
    margin-bottom: 8px;
}

.td-eyebrow::before,
.td-eyebrow::after {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--accent);
}

.td-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.td-sub {
    margin: 8px auto 0;
    max-width: 540px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- EXPLORE + PACKAGES GRID --- */
.td-explore-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    align-items: start;
}

.td-park-side {
    background: #fff;
    border: 1px solid #e8ebe9;
    border-radius: 14px;
    padding: 16px;
    position: sticky;
    top: calc(var(--header-height) + 16px);
}

.td-park-side h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 12px;
}

.td-park-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.2s ease;
    margin-bottom: 4px;
}

.td-park-link:hover,
.td-park-link.active {
    background: #eef5f1;
}

.td-park-link img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.td-park-link span {
    flex: 1;
    font-size: 0.84rem;
    font-weight: 600;
}

.td-park-link i {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.td-pkg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.td-pkg-card {
    background: #fff;
    border: 1px solid #e8ebe9;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.td-pkg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(11, 48, 34, 0.1);
}

.td-pkg-media {
    position: relative;
    height: 150px;
}

.td-pkg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.td-pkg-ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.td-pkg-ribbon.best { background: #c5a059; }
.td-pkg-ribbon.popular { background: #2563eb; }
.td-pkg-ribbon.new { background: var(--primary); }

.td-pkg-body {
    padding: 14px;
}

.td-pkg-body h4 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 6px;
    line-height: 1.3;
}

.td-pkg-body p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0 0 10px;
    line-height: 1.4;
}

.td-pkg-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.td-pkg-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.td-pkg-price {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent-hover, #b08d3e);
}

/* Overview highlight card */
.td-overview-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #fff 0%, #f8faf8 100%);
    border: 1px solid #e8ebe9;
    border-radius: 14px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
}

.td-overview-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px;
}

.td-overview-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 12px;
}

.td-overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.td-stat {
    background: #fff;
    border: 1px solid #e8ebe9;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.td-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
}

.td-stat span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* --- ITINERARY + DESTINATIONS --- */
.td-trip-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 18px;
    align-items: start;
}

.td-panel {
    background: #fff;
    border: 1px solid #e8ebe9;
    border-radius: 14px;
    padding: 18px;
}

.td-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.td-panel h3 i { color: var(--accent); }

.td-timeline {
    position: relative;
    padding-left: 28px;
}

.td-timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #d7e5dd;
}

.td-day {
    position: relative;
    margin-bottom: 18px;
}

.td-day:last-child { margin-bottom: 0; }

.td-day-dot {
    position: absolute;
    left: -28px;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #eef5f1;
}

.td-day h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 6px;
}

.td-day p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.td-map-box {
    background: linear-gradient(160deg, #e8f2ec, #f4efe4);
    border-radius: 12px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.td-map-box i.fa-map {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.35;
    margin-bottom: 8px;
}

.td-map-box strong {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 0.95rem;
}

.td-map-box span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.td-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.td-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.td-legend i { color: var(--primary); }

.td-attraction {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
}

.td-attraction:last-child { margin-bottom: 0; }

.td-attraction img {
    width: 56px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
}

.td-attraction h4 {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 2px;
    font-family: var(--font-heading);
}

.td-attraction p {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.35;
}

/* --- INC / EXC + PRICING --- */
.td-inc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.td-inc-col {
    background: #fff;
    border: 1px solid #e8ebe9;
    border-radius: 14px;
    padding: 18px;
}

.td-inc-col h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.td-inc-col.include h3 { color: #166534; }
.td-inc-col.exclude h3 { color: #b91c1c; }

.td-inc-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.td-inc-col li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 8px;
}

.td-inc-col.include li i { color: #16a34a; margin-top: 2px; }
.td-inc-col.exclude li i { color: #dc2626; margin-top: 2px; }

.td-price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8ebe9;
    font-size: 0.88rem;
}

.td-price-table th,
.td-price-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e8ebe9;
}

.td-price-table th {
    background: #eef5f1;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
}

.td-price-table .price-cell {
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

.td-tier {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    background: #f3f4f6;
    color: var(--text-dark);
}

.td-tier.deluxe { background: #eff6ff; color: #1d4ed8; }
.td-tier.premium { background: #faf5ff; color: #7e22ce; }
.td-tier.luxury { background: #fffbeb; color: #b45309; }

/* --- GALLERY --- */
.td-gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 140px 140px;
    gap: 10px;
}

.td-gallery a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.td-gallery a:first-child {
    grid-row: 1 / 3;
}

.td-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.td-gallery a:hover img {
    transform: scale(1.06);
}

/* --- REVIEWS --- */
.td-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.td-review {
    background: #fff;
    border: 1px solid #e8ebe9;
    border-radius: 14px;
    padding: 18px;
}

.td-review-stars {
    color: #f5b301;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: flex;
    gap: 2px;
}

.td-review p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
    font-style: italic;
    margin: 0 0 14px;
}

.td-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.td-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.td-review-author strong {
    display: block;
    font-size: 0.84rem;
    color: var(--primary);
    font-family: var(--font-heading);
}

.td-review-author span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* --- FAQ --- */
.td-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.td-faq-item {
    background: #fff;
    border: 1px solid #e8ebe9;
    border-radius: 10px;
    overflow: hidden;
}

.td-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    font-family: var(--font-heading);
}

.td-faq-q i {
    color: var(--accent);
    transition: transform 0.25s ease;
}

.td-faq-item.is-open .td-faq-q i {
    transform: rotate(45deg);
}

.td-faq-a {
    display: none;
    padding: 0 16px 14px;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.td-faq-item.is-open .td-faq-a {
    display: block;
}

/* --- OFFERS --- */
.td-offers {
    background: linear-gradient(120deg, #0b3022 0%, #164a36 55%, #1a3a28 100%);
    color: #fff;
    padding: 28px 0;
}

.td-offers-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.td-offers-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.td-offer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
}

.td-offer-item i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.5);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.td-offers .td-btn-gold {
    flex-shrink: 0;
}

/* --- NEWSLETTER --- */
.td-newsletter {
    background: #0b3022;
    color: #fff;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.td-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.td-newsletter-inner h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0 0 4px;
}

.td-newsletter-inner p {
    margin: 0;
    font-size: 0.84rem;
    opacity: 0.85;
}

.td-newsletter-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.td-newsletter-form input {
    min-width: 220px;
    padding: 11px 14px;
    border: none;
    border-radius: 8px;
}

.td-newsletter-form button {
    padding: 11px 18px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .td-search-bar {
        grid-template-columns: repeat(3, 1fr);
    }

    .td-hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: stretch;
    }

    .td-book-card {
        max-width: none;
        margin-left: 0;
    }

    .td-trip-grid {
        grid-template-columns: 1fr 1fr;
    }

    .td-trip-grid .td-panel:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .td-explore-grid {
        grid-template-columns: 1fr;
    }

    .td-park-side {
        position: static;
    }

    .td-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .td-overview-card {
        grid-template-columns: 1fr;
    }

    .td-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 120px 120px;
    }

    .td-gallery a:first-child {
        grid-column: 1 / 3;
        grid-row: 1;
    }

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

@media (max-width: 600px) {
    .td-search-bar {
        grid-template-columns: 1fr;
    }

    .td-pkg-grid {
        grid-template-columns: 1fr;
    }

    .td-trip-grid,
    .td-inc-grid,
    .td-trust-grid {
        grid-template-columns: 1fr;
    }

    .td-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 150px);
    }

    .td-gallery a:first-child {
        grid-column: auto;
        grid-row: auto;
    }

    .td-newsletter-form input {
        min-width: 0;
        width: 100%;
    }
}
