/* ============================================================
   Continent upcoming-departures section
   Colors: #FF6A00 orange | #111214 black | #EDE3D5 milk
   ============================================================ */

.cont-dep {
    background: #f5f0eb;
    padding: 56px 0 48px;
}

.cont-dep__inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Filter pills */
.cont-dep__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.cont-dep__filters--date {
    margin-top: -10px;
    margin-bottom: 18px;
    padding-top: 8px;
    border-top: 1px solid #ede8e1;
}

.cont-dep__pill {
    display: inline-block;
    padding: 5px 16px;
    border: 1px solid #d0c8be;
    background: #fff;
    color: #555;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
    line-height: 1.6;
}

.cont-dep__pill:hover {
    border-color: #FF6A00;
    color: #FF6A00;
    background: #fff;
}

.cont-dep__pill--active {
    background: #FF6A00;
    border-color: #FF6A00;
    color: #fff;
}

.cont-dep__pill--active:hover {
    background: #d95800;
    border-color: #d95800;
    color: #fff;
}

/* Section heading */
.cont-dep__heading {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.cont-dep__h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #111214;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
}

.cont-dep__h2 span {
    color: #FF6A00;
}

.cont-dep__subtitle {
    font-size: 0.88rem;
    color: #777;
    font-weight: 400;
    white-space: nowrap;
}

/* Table */
.cont-dep__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e0d8cf;
    border-radius: 6px;
    overflow: hidden;
}

/* Header row */
.cont-dep__thead th {
    background: #111214;
    color: #EDE3D5;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 11px 14px;
    text-align: left;
    white-space: nowrap;
    border-right: 1px solid #2a2d30;
}

.cont-dep__thead th:last-child {
    border-right: none;
}

/* Body rows */
.cont-dep__tbody tr {
    border-top: 1px solid #ede8e1;
    cursor: pointer;
    transition: background 0.15s;
}

.cont-dep__tbody tr:hover {
    background: #fdf8f3;
}

/* Thumbnail cell */
.cont-dep__cell--img {
    width: 110px;
    padding: 6px 8px;
    text-align: center;
    vertical-align: middle;
}

.cont-dep__cell--img img {
    width: 100px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Tour name cell */
.cont-dep__cell--name {
    padding: 10px 14px;
    vertical-align: middle;
    min-width: 220px;
}

.cont-dep__crumb {
    font-size: 0.72rem;
    color: #999;
    margin-bottom: 3px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.cont-dep__crumb a {
    color: #999;
    text-decoration: none;
}

.cont-dep__crumb a:hover {
    color: #FF6A00;
}

.cont-dep__crumb-sep {
    color: #ccc;
    font-size: 0.85em;
}

.cont-dep__tour-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111214;
    text-decoration: none;
    line-height: 1.3;
    display: block;
}

.cont-dep__tour-link:hover {
    color: #FF6A00;
}

/* Date cell */
.cont-dep__cell--date {
    padding: 10px 14px;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 0.88rem;
    color: #333;
    font-weight: 500;
    min-width: 160px;
}

.cont-dep__cell--date .cont-dep__date-icon {
    color: #FF6A00;
    margin-right: 5px;
    font-size: 0.85em;
}

/* Price cell */
.cont-dep__cell--price {
    padding: 10px 14px;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 0.92rem;
    font-weight: 700;
    color: #111214;
    min-width: 80px;
}

/* CTA cell */
.cont-dep__cell--cta {
    padding: 10px 14px;
    vertical-align: middle;
    text-align: right;
    white-space: nowrap;
    width: 130px;
}

.cont-dep__btn {
    display: inline-block;
    background: #FF6A00;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.cont-dep__btn:hover {
    background: #d95800;
    color: #fff;
    text-decoration: none;
}

/* "Show more" expand row */
.cont-dep__expand-row td {
    padding: 0;
    background: #f0ebe4;
}

.cont-dep__expand-btn,
.cont-dep__collapse-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #111214;
    color: #EDE3D5;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.cont-dep__expand-btn:hover,
.cont-dep__collapse-btn:hover {
    background: #1e2226;
}

/* Days-until badge */
.cont-dep__days-badge {
    display: inline-block;
    background: #FF6A00;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 2px;
    margin-left: 6px;
    vertical-align: middle;
    white-space: nowrap;
}

/* Empty state */
.cont-dep__empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 0.95rem;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .cont-dep__cell--img { display: none; }
    .cont-dep__cell--cta { display: none; }
    .cont-dep__cell--date { min-width: unset; }
    .cont-dep__cell--name { min-width: unset; }
}

@media (max-width: 600px) {
    .cont-dep { padding: 36px 0 32px; }
    .cont-dep__table { font-size: 0.85rem; }
    .cont-dep__cell--price { display: none; }
    .cont-dep__h2 { font-size: 1.4rem; }
}
