/* Friendly Travel — several departure dates (Nov 2026) */

/* Shared tags */
.ft-tag { display: inline-block; font-size: 16px; font-weight: 700; line-height: 1.3; padding: 3px 11px; border-radius: 999px; background: #E8F0F8; color: #0B3A66; white-space: nowrap; }
.ft-status { display: inline-block; font-size: 16px; font-weight: 700; line-height: 1.3; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.ft-status--available { background: #DCFCE7; color: #166534; }
.ft-status--few { background: #FEF3C7; color: #92400E; }
.ft-status--full { background: #E5E7EB; color: #374151; }

/* Tour page: dates list – compact cards; a full table only when the column is wide enough (container query). */
.ft-dates { margin: 0 0 28px; container-type: inline-size; container-name: ftdates; }
.ft-dates__title { margin: 0 0 4px !important; font-size: 28px !important; color: #0B3A66 !important; }
.ft-dates__lead { margin: 0 0 12px !important; color: #4B5563; font-size: 17px; }
.ft-dates__table { display: flex; flex-direction: column; gap: 10px; }
.ft-dates__head { display: none; }
.ft-dates__row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; border: 2px solid #D5DEE8; border-radius: 12px; background: #fff; padding: 12px 16px; }
.ft-dates__row[hidden] { display: none; }
.ft-dates__row.is-chosen { border-color: #C2410C; background: #EEF5FC; }
.ft-dates__row.is-full:not(.is-chosen) { background: #F8FAFC; color: #6B7280; }
.ft-dates__row.is-full:not(.is-chosen) .ft-dates__when strong,
.ft-dates__row.is-full:not(.is-chosen) .ft-dates__price { color: #6B7280; }
.ft-dates__when { grid-column: 1; line-height: 1.3; }
.ft-dates__when strong { font-size: 19px; font-weight: 400; color: #0B3A66; }
/* The chosen date stands out: dates in bold */
.ft-dates__row.is-chosen .ft-dates__when strong,
.ft-dates__row.is-chosen .ft-dates__when span { font-weight: 700; color: #0B3A66; }
.ft-dates__when span { font-size: 19px; color: #4B5563; margin-left: 4px; }
.ft-dates__row > div:nth-child(4) { grid-column: 2; grid-row: 1; justify-self: end; }
.ft-dates__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 16px; color: #4B5563; }
.ft-dates__cities { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ft-dates__label { display: none; }
.ft-dates__air::before { content: "·"; margin-right: 10px; color: #9CA3AF; }
.ft-dates .ft-tag { font-size: 15px; padding: 2px 10px; }
.ft-dates .ft-status { font-size: 15px; padding: 3px 11px; }
.ft-dates__price { grid-column: 1; font-size: 28.5px; font-weight: 700; color: #0B3A66; line-height: 1.25; margin-top: 2px; }
.ft-dates__eb { font-size: 14.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #C2410C; margin-right: 6px; vertical-align: 2px; }
.ft-dates__small { display: inline-block; margin-left: 12px; vertical-align: 3px; font-size: 16.5px; font-weight: 400; color: #4B5563; }
.ft-dates__ebend { color: #92400E; }
.ft-dates__reg + .ft-dates__ebend::before { content: " · "; color: #9CA3AF; }
.ft-dates__row.is-full:not(.is-chosen) .ft-dates__eb,
.ft-dates__row.is-full:not(.is-chosen) .ft-dates__ebend { color: #6B7280; }
.ft-dates__pick { grid-column: 2; align-self: end; }
.ft-dates__btn { min-width: 150px; min-height: 44px; font: inherit; font-size: 16px; font-weight: 700; border: 2px solid #0B3A66; border-radius: 10px; background: #fff; color: #0B3A66; cursor: pointer; padding: 4px 12px; }
.ft-dates__btn:hover,
.ft-dates__btn:focus-visible { background: #E8F0F8; }
.ft-dates__btn[aria-pressed="true"] { background: #0B3A66; color: #fff; }
.ft-dates__btn:focus-visible,
.ft-dates__all:focus-visible { outline: 3px solid #C2410C; outline-offset: 2px; }
.ft-dates__all { margin-top: 10px; min-height: 44px; font: inherit; font-size: 17px; font-weight: 700; color: #0B5CAD; background: none; border: 2px solid #0B5CAD; border-radius: 10px; padding: 6px 16px; cursor: pointer; }
.ft-dates__more { margin: 10px 0 0 !important; font-size: 16px; color: #4B5563; }

@container ftdates (max-width: 420px) {
	.ft-dates__price,
	.ft-dates__pick { grid-column: 1 / -1; }
	.ft-dates__btn { width: 100%; }
	.ft-dates__when span { display: block; margin-left: 0; }
	.ft-dates__air { flex-basis: 100%; }
	.ft-dates__air::before { content: none; }
}

@container ftdates (min-width: 860px) {
	.ft-dates__table { display: block; gap: 0; border: 1px solid #D5DEE8; border-radius: 14px; overflow: hidden; background: #fff; }
	.ft-dates__head,
	.ft-dates__row { display: grid; grid-template-columns: 1.45fr 1.2fr 1.2fr 0.95fr 0.95fr 1.1fr; gap: 14px; align-items: center; padding: 12px 18px; }
	.ft-dates__head { background: #0B3A66; color: #fff; font-size: 16px; font-weight: 700; padding-top: 10px; padding-bottom: 10px; }
	.ft-dates__row { border: 0; border-top: 1px solid #E2E8F0; border-radius: 0; }
	.ft-dates__row.is-chosen { box-shadow: inset 5px 0 0 #C2410C; }
	.ft-dates__meta { display: contents; }
	.ft-dates__air::before { content: none; }
	.ft-dates__when span { display: block; margin-left: 0; }
	.ft-dates__when,
	.ft-dates__price,
	.ft-dates__pick,
	.ft-dates__row > div:nth-child(4) { grid-column: auto; grid-row: auto; justify-self: stretch; align-self: center; }
	.ft-dates__eb { display: block; }
	.ft-dates__small { display: block; margin-left: 0; vertical-align: 0; }
	.ft-dates__btn { width: 100%; min-width: 0; }
}

/* Price box: the chosen date */
.ft-bookbox__chosen { margin: 0 0 18px; padding: 0 0 16px; border-bottom: 1px solid #E2E8F0; }
.ft-bookbox__when { margin: 2px 0 0 !important; font-size: 22px; font-weight: 700; color: #0B3A66; line-height: 1.25; }
.ft-bookbox__facts { margin: 12px 0 0; padding: 12px 14px; background: #F4F7FA; border-radius: 10px; font-size: 17px; }
.ft-bookbox__facts div { display: flex; gap: 8px; flex-wrap: wrap; }
.ft-bookbox__facts dt { font-weight: 700; color: #0B3A66; }
.ft-bookbox__facts dt::after { content: ":"; }
.ft-bookbox__facts dd { margin: 0; }
.ft-bookbox__fullnote { margin: 12px 0 0 !important; font-size: 17px; color: #92400E; }

/* Tours list cards */
.ft-card__dates { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.ft-card__dline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 18px; color: #1F2933; }
.ft-card__dline strong { color: #0B3A66; min-width: 150px; }
.ft-card__dline.is-full strong,
.ft-card__dline.is-full { color: #6B7280; }
.ft-card__air { font-size: 16px; color: #4B5563; }
.ft-card__also { display: block; margin-top: 6px; font-size: 16px; color: #4B5563; }
.ft-card__more { font-weight: 400; color: #4B5563; }

/* Booking box moved under the dates on phones/tablets (ft-dates.js) */
.ft-bookbox--inline { margin: 4px 0 28px; }

/* Phones/tablets: the chosen date's details are already in the highlighted card above, so the
   booking box shows only the price and buttons. */
.ft-bookbox--inline .ft-bookbox__chosen { display: none; }

/* Bottom bar: price above "Enquire" */
.ft-mobilebar__go--price { flex-direction: column; gap: 0 !important; line-height: 1.15; }
.ft-mobilebar__price { font-size: 15px; font-weight: 600; opacity: .95; }
.ft-mobilebar__act { font-size: 19px; font-weight: 700; }

/* Single supplement */
.ft-dates__single { display: block; font-size: 15px; font-weight: 400; color: #4B5563; }
.ft-bookbox__solo { margin: 8px 0 14px !important; font-size: 17px !important; line-height: 1.6 !important; }
.ft-bookbox__solo a { font-size: inherit !important; }
