/* Single trip extras (inc/trip-price-line.php) */
.td-price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 16px;
    margin: 0 0 24px;
    padding: 14px 18px;
    background: #F1FAF9;
    border-left: 4px solid #2BB3A6;
    border-radius: 6px;
    font-family: Poppins, sans-serif;
    color: #3C3C3C;
}
.td-price-line__label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #2BB3A6;
}
.td-price-line__amount {
    font-size: 24px;
    font-weight: 700;
    color: #1F2933;
}
.td-price-line__regular {
    margin-right: 6px;
    color: #9CA3AF;
}
.td-price-line__unit,
.td-price-line__group {
    font-size: 15px;
}
.td-price-line__group {
    color: #6B7280;
}
.td-price-line__group::before {
    content: "·";
    margin-right: 16px;
    color: #C4C9CE;
}

@media (max-width: 480px) {
    .td-price-line__group { flex-basis: 100%; }
    .td-price-line__group::before { content: none; }
}

/* Upcoming departures (inc/departure-dates.php) */
.td-departures {
    margin: 28px 0 8px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #E8ECEF;
    border-radius: 10px;
    font-family: Poppins, sans-serif;
}
.td-departures__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    color: #1F2933;
}
.td-departures__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.td-dep {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 12px 0;
    border-top: 1px solid #EEF1F3;
    margin: 0;
}
.td-dep:first-child { border-top: 0; }
.td-dep::before { content: none; }
.td-dep__when {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    color: #3C3C3C;
    font-size: 15px;
}
.td-dep__start,
.td-dep__end { font-weight: 600; color: #1F2933; }
.td-dep__to { color: #9CA3AF; }
.td-dep__note {
    flex-basis: 100%;
    font-size: 13px;
    color: #2BB3A6;
    font-weight: 500;
}
.td-dep__btn {
    flex: none;
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #2BB3A6;
    border-radius: 6px;
    color: #2BB3A6;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.td-dep__btn:hover,
.td-dep__btn:focus-visible {
    background: #2BB3A6;
    color: #fff;
}
.td-dep--more { display: none; }
.td-departures.is-expanded .td-dep--more { display: flex; }
.td-departures__more {
    margin-top: 10px;
    padding: 0;
    background: none;
    border: 0;
    color: #2BB3A6;
    font: 600 14px Poppins, sans-serif;
    cursor: pointer;
    text-decoration: underline;
}

@media (max-width: 480px) {
    /* .td-departures { padding: 16px; } */
    .td-dep { align-items: flex-start; flex-direction: column; }
}

/* Text for screen readers only (not defined elsewhere in the theme) */
.td-departures .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Departures tab: the list sits inside the tab, so no extra card frame. */
.tab-content .td-departures {
    margin: 0;
    padding: 0;
    border: 0;
    
}

/* Larger text in the trip tabs (Overview, Itinerary, Cost, Departures) */
.nav-tab-wrapper .tab-anchor-wrapper .nav-tab {
    font-family: Poppins, sans-serif;
    font-size: 18px;
    font-weight: 500;
    /* padding: 18px 8px; */
    background: #fbfae2;
}
.tab-content .post-data,
.tab-content .post-data p,
.tab-content .post-data li {
    font-size: 17px;
    line-height: 1.75;
}
.tab-content .itinerary-title,
.tab-content .wte-itinerary-head-wrap .title {
    font-size: 19px !important;
}
.tab-content .cost ul li {
    font-size: 17px;
}
.tab-content .td-dep__when { font-size: 17px; }
.tab-content .td-dep__note { font-size: 15px; }
.tab-content .td-dep__btn { font-size: 15px; }

@media (max-width: 600px) {
    .nav-tab-wrapper .tab-anchor-wrapper .nav-tab { font-size: 16px; padding: 14px 6px; }
    .tab-content .post-data,
    .tab-content .post-data p,
    .tab-content .post-data li,
    .tab-content .cost ul li,
    .tab-content .td-dep__when { font-size: 15px; }
    .tab-content .itinerary-title,
    .tab-content .wte-itinerary-head-wrap .title { font-size: 17px !important; }
}

.td-price-line__taxes {
    font-size: 15px;
    color: #6B7280;
}
