/* ==========================================================================
   Friendly Travel — 2026 redesign
   Larger, clearer text; strong contrast; big buttons; works on phones.
   ========================================================================== */

:root {
	--ft-navy: #0B3A66;
	--ft-navy-dark: #072a4b;
	--ft-orange: #C2410C;
	--ft-orange-dark: #9a3412;
	--ft-ink: #1F2933;
	--ft-muted: #4B5563;
	--ft-line: #D5DEE8;
	--ft-soft: #F4F7FA;
	--ft-pale: #DCE7F2;
	--ft-link: #0B5CAD;
	--ft-radius: 14px;
	--ft-font: 'Source Sans 3', Arial, Helvetica, sans-serif;
}

/* ---------- Base ---------- */
html, body { overflow-x: hidden; }
#site-wrapper { overflow-x: clip; }

body.ft-redesign,
body.ft-redesign p,
body.ft-redesign li,
body.ft-redesign td,
body.ft-redesign input,
body.ft-redesign select,
body.ft-redesign textarea,
body.ft-redesign button,
body.ft-redesign label {
	font-family: var(--ft-font) !important;
	color: var(--ft-ink);
}
body.ft-redesign { font-size: 19px; line-height: 1.6; background: #fff; }
body.ft-redesign p, body.ft-redesign li { font-size: 19px; line-height: 1.6; }
body.ft-redesign h1, body.ft-redesign h2, body.ft-redesign h3,
body.ft-redesign h4, body.ft-redesign h5, body.ft-redesign h6 {
	font-family: var(--ft-font) !important;
	color: var(--ft-navy);
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}
body.ft-redesign a { color: var(--ft-link); }
body.ft-redesign a:hover, body.ft-redesign a:focus { color: var(--ft-navy-dark); }
body.ft-redesign :focus-visible { outline: 3px solid var(--ft-orange); outline-offset: 2px; }
body.ft-redesign input[type="text"], body.ft-redesign input[type="email"],
body.ft-redesign input[type="tel"], body.ft-redesign input[type="number"],
body.ft-redesign input[type="date"], body.ft-redesign select, body.ft-redesign textarea {
	font-size: 18px !important;
	min-height: 48px;
	border: 1px solid #94A3B8 !important;
	border-radius: 8px !important;
	padding: 10px 12px !important;
	color: var(--ft-ink) !important;
	background: #fff !important;
}
body.ft-redesign input[type="radio"], body.ft-redesign input[type="checkbox"] {
	width: 22px; height: 22px; accent-color: var(--ft-navy);
}

/* ---------- Buttons ---------- */
.ft-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--ft-font) !important; font-weight: 700; font-size: 20px; line-height: 1.2;
	padding: 15px 26px; min-height: 52px; border-radius: 10px; border: 2px solid transparent;
	text-decoration: none !important; cursor: pointer; box-sizing: border-box; text-align: center;
}
.ft-btn--orange { background: var(--ft-orange); color: #fff !important; }
.ft-btn--orange:hover { background: var(--ft-orange-dark); color: #fff !important; }
.ft-btn--navy { background: var(--ft-navy); color: #fff !important; }
.ft-btn--navy:hover { background: var(--ft-navy-dark); color: #fff !important; }
.ft-btn--white { background: #fff; color: var(--ft-navy) !important; }
.ft-btn--outline { background: #fff; color: var(--ft-navy) !important; border-color: var(--ft-navy); }
.ft-btn--outline:hover { background: var(--ft-soft); }
.ft-btn--sm { font-size: 17px; padding: 10px 16px; min-height: 44px; }
.ft-btn--block { display: flex; width: 100%; }
.ft-btn[hidden] { display: none !important; }

/* Existing theme buttons get the same look */
body.ft-redesign .btn-inspiry-download,
body.ft-redesign .ft-pdf-btn,
body.ft-redesign .read-more,
body.ft-redesign input[type="submit"],
body.ft-redesign button[type="submit"],
body.ft-redesign .gform_button {
	font-family: var(--ft-font) !important; font-size: 19px !important; font-weight: 700 !important;
	padding: 13px 22px !important; min-height: 50px; border-radius: 10px !important;
	background: var(--ft-navy) !important; color: #fff !important; border: 0 !important;
	text-transform: none !important; letter-spacing: 0 !important;
}
body.ft-redesign input[type="submit"], body.ft-redesign button[type="submit"], body.ft-redesign .gform_button {
	background: var(--ft-orange) !important;
}

/* ---------- Header ---------- */
body.ft-redesign .top-bar { background: var(--ft-navy) !important; }
body.ft-redesign .top-bar, body.ft-redesign .top-bar p, body.ft-redesign .top-bar a, body.ft-redesign .top-bar i {
	color: #fff !important; font-size: 17px !important;
}
body.ft-redesign .header header { background: #fff; border-bottom: 1px solid #E2E8F0; }
body.ft-redesign .header .site-logo img { max-height: 60px; width: auto; }
body.ft-redesign .header-phone-wrap .header-phone {
	display: inline-flex !important; align-items: center; gap: 8px;
	background: var(--ft-orange); color: #fff !important; border-radius: 10px;
	padding: 10px 18px !important; font-weight: 700; font-size: 20px !important; text-decoration: none;
}
body.ft-redesign .header-phone-wrap .header-phone span { color: #fff !important; font-size: 20px !important; }
body.ft-redesign .header-phone-wrap .header-phone svg, body.ft-redesign .header-phone-wrap .header-phone svg path { fill: #fff !important; width: 22px; height: 22px; }
body.ft-redesign .main-menu > li > a {
	font-family: var(--ft-font) !important; font-size: 19px !important; font-weight: 700 !important;
	color: var(--ft-navy) !important; text-transform: none !important; letter-spacing: 0 !important;
}
body.ft-redesign .main-menu > li.current-menu-item > a,
body.ft-redesign .main-menu > li > a:hover { color: var(--ft-orange) !important; }
body.ft-redesign .main-menu .sub-menu a { font-size: 18px !important; text-transform: none !important; }

/* Page banner on inner pages: shorter, readable */
body.ft-redesign #site-banner { min-height: 0 !important; }
body.ft-redesign #site-banner .banner-content { padding: 70px 15px !important; }
body.ft-redesign #site-banner h1 {
	color: #fff !important; font-size: 44px !important; line-height: 1.15; text-transform: none !important;
	text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
body.ft-redesign #site-banner .breadcrumb, body.ft-redesign #site-banner .breadcrumb a { color: #fff !important; font-size: 17px !important; }

/* ---------- Layout helpers used by new templates ---------- */
.ft-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.ft-section { padding: 56px 0; }
.ft-section--soft { background: var(--ft-soft); }
.ft-h2 { font-size: 36px !important; line-height: 1.2; margin: 0 0 8px !important; }
.ft-lead { color: var(--ft-muted) !important; margin: 0 0 24px !important; }
.ft-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Homepage ---------- */
.ft-hero { position: relative; background: var(--ft-navy); color: #fff; overflow: hidden; }
.ft-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ft-hero__inner { position: relative; padding: 110px 0 100px; }
.ft-hero__kicker { color: #fff !important; font-weight: 700; font-size: 20px !important; margin: 0 0 12px !important; }
.ft-hero h1 { color: #fff !important; font-size: 54px !important; line-height: 1.12; max-width: 780px; margin: 0 !important; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.ft-hero__sub { color: #fff !important; font-size: 22px !important; max-width: 680px; margin: 20px 0 32px !important; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.ft-hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.ft-regions { background: var(--ft-soft); border-bottom: 1px solid #E2E8F0; padding: 30px 0; }
.ft-regions h2 { font-size: 26px !important; margin: 0 0 14px !important; }
.ft-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.ft-chip {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; box-sizing: border-box;
	background: #fff; border: 2px solid var(--ft-navy); color: var(--ft-navy) !important;
	font-family: var(--ft-font) !important; font-weight: 700; font-size: 19px; padding: 10px 20px;
	border-radius: 999px; text-decoration: none !important; cursor: pointer;
}
.ft-chip:hover { background: var(--ft-soft); }
.ft-chip[aria-pressed="true"] { background: var(--ft-navy); color: #fff !important; }
.ft-chip__n { background: var(--ft-navy); color: #fff; border-radius: 999px; padding: 0 10px; font-size: 16px; }
.ft-chip[aria-pressed="true"] .ft-chip__n { background: #fff; color: var(--ft-navy); }

.ft-headrow { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.ft-headrow .ft-lead { margin: 0 !important; }
.ft-more { font-weight: 700; font-size: 20px; }

.ft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 28px; }

/* Tour card */
.ft-card {
	display: flex; flex-direction: column; text-decoration: none !important; color: var(--ft-ink) !important;
	background: #fff; border: 1px solid var(--ft-line); border-radius: var(--ft-radius); overflow: hidden;
	transition: box-shadow .15s ease, transform .15s ease;
}
.ft-card:hover { box-shadow: 0 8px 24px rgba(11,58,102,.12); transform: translateY(-2px); }
.ft-card[hidden] { display: none !important; }
.ft-card__img { display: block; background: var(--ft-pale); }
.ft-card__img img, .ft-card__noimg { display: block; width: 100%; height: 210px; object-fit: cover; }
.ft-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 0; flex-grow: 1; }
.ft-card__date { color: var(--ft-navy); font-weight: 700; font-size: 18px; }
.ft-card__title { color: var(--ft-navy); font-weight: 700; font-size: 22px; line-height: 1.3; }
.ft-card__facts { color: var(--ft-muted); font-size: 18px; }
.ft-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 22px 22px; padding-top: 14px; border-top: 1px solid #E2E8F0; }
.ft-card__price { color: var(--ft-muted); font-size: 17px; }
.ft-card__price strong { color: var(--ft-ink); font-size: 26px; }

/* Card as a wide row (tours page) */
.ft-card--row { flex-direction: row; flex-wrap: wrap; }
.ft-card--row .ft-card__img { flex: 0 0 260px; }
.ft-card--row .ft-card__img img, .ft-card--row .ft-card__noimg { height: 100%; min-height: 180px; }
.ft-card--row .ft-card__body { flex: 999 1 300px; min-width: 0; padding: 20px 24px; justify-content: center; }
.ft-card--row .ft-card__foot { flex: 1 0 210px; flex-direction: column; align-items: flex-start; justify-content: center; margin: 0; padding: 20px 24px; border-top: 0; border-left: 1px solid #E2E8F0; }

/* Included band */
.ft-band { background: var(--ft-navy); color: #fff; border-radius: 18px; padding: 44px 40px; }
.ft-band h2 { color: #fff !important; font-size: 34px !important; margin: 0 0 8px !important; }
.ft-band p { color: var(--ft-pale) !important; }
.ft-ticks { list-style: none !important; margin: 24px 0 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px 32px; }
.ft-ticks li { display: flex; gap: 14px; align-items: flex-start; color: #fff !important; margin: 0 !important; }
.ft-ticks li strong { color: #fff; font-size: 20px; display: block; }
.ft-ticks li span { color: var(--ft-pale); font-size: 18px; }
.ft-ticks__icon { flex: none; width: 44px; height: 44px; border-radius: 999px; background: #fff; color: var(--ft-navy); display: flex; align-items: center; justify-content: center; }

/* Steps */
.ft-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.ft-step { border: 1px solid var(--ft-line); border-radius: var(--ft-radius); padding: 28px; }
.ft-step__n { width: 52px; height: 52px; border-radius: 999px; background: var(--ft-orange); color: #fff; font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ft-step h3 { font-size: 23px !important; margin: 16px 0 8px !important; }
.ft-step p { color: var(--ft-muted) !important; margin: 0 !important; }

/* Reviews */
.ft-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.ft-review { margin: 0; background: #fff; border-radius: var(--ft-radius); padding: 28px; border: 1px solid var(--ft-line); }
.ft-review blockquote { margin: 0 !important; padding: 0 !important; border: 0 !important; font-size: 19px !important; font-style: normal; color: var(--ft-ink); }
.ft-review figcaption { margin-top: 16px; font-weight: 700; color: var(--ft-navy); }

/* About */
.ft-about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.ft-about img { flex: 1 1 420px; min-width: 0; width: 100%; height: 380px; object-fit: cover; border-radius: 18px; }
.ft-about > div { flex: 1 1 460px; min-width: 0; }

/* Hide the old homepage blog box if it ever shows "No Posts Found" */
body.ft-redesign .home-page .blog-section:has(h4) { display: none; }

/* ---------- Tours page ---------- */
/* The new page has its own heading, so hide the old photo banner above it */
body.ft-redesign.page-template-tours-list #site-banner,
body.ft-redesign.page-template-page-templates-tours-list #site-banner { display: none !important; }
.ft-toursintro { background: var(--ft-soft); border-bottom: 1px solid #E2E8F0; padding: 36px 0 30px; }
.ft-toursintro h1 { font-size: 44px !important; margin: 0 !important; }
.ft-toursintro .ft-lead { margin: 8px 0 22px !important; font-size: 20px !important; }
.ft-filter__label { font-weight: 700; color: var(--ft-navy) !important; margin: 0 0 10px !important; }
.ft-count { color: var(--ft-muted) !important; font-size: 18px !important; margin: 24px 0 0 !important; }
.ft-month { margin-top: 28px; }
.ft-month[hidden] { display: none !important; }
.ft-month h2 { font-size: 26px !important; margin: 0 0 14px !important; padding-bottom: 8px; border-bottom: 3px solid var(--ft-navy); }
.ft-month__list { display: flex; flex-direction: column; gap: 16px; }
.ft-callout { margin-top: 48px; background: var(--ft-navy); color: #fff; border-radius: 16px; padding: 32px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.ft-callout h2 { color: #fff !important; font-size: 28px !important; margin: 0 !important; }
.ft-callout p { color: var(--ft-pale) !important; margin: 6px 0 0 !important; }

/* ---------- Single tour page ---------- */
body.ft-redesign.single-tour #site-banner h1 { font-size: 42px !important; }
.ft-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 0 0 28px; }
.ft-facts__item { background: var(--ft-soft); border-radius: 12px; padding: 14px 18px; margin: 0; }
.ft-facts dt { font-weight: 400; font-size: 16px; color: var(--ft-muted); }
.ft-facts dd { margin: 0; font-weight: 700; font-size: 20px; color: var(--ft-navy); }

.ft-bookbox { border: 2px solid var(--ft-navy); border-radius: 16px; padding: 26px; margin-bottom: 30px; background: #fff; }
.ft-bookbox p { margin: 0 !important; }
.ft-bookbox__label, .ft-bookbox__note { color: var(--ft-muted) !important; font-size: 17px !important; }
.ft-bookbox__price { font-size: 44px !important; font-weight: 700; line-height: 1.1 !important; color: var(--ft-ink) !important; }
.ft-bookbox__note { margin-top: 4px !important; }
.ft-bookbox__date { background: var(--ft-soft); border-radius: 10px; padding: 14px 16px; margin: 18px 0 20px; color: var(--ft-navy); }
.ft-bookbox__date span { color: var(--ft-muted); font-size: 17px; }
.ft-bookbox__actions { display: flex; flex-direction: column; gap: 12px; }
.ft-bookbox__talk { margin-top: 22px; padding-top: 18px; border-top: 1px solid #E2E8F0; }
.ft-bookbox__talk strong { color: var(--ft-navy); }
.ft-bookbox__phone { display: inline-block; font-size: 26px; font-weight: 700; margin-top: 2px; }
.ft-bookbox__mail { font-size: 17px !important; color: var(--ft-muted) !important; margin-top: 4px !important; word-break: break-word; }

/* The old price/meta strip under the banner */
body.ft-redesign .tour-meta-wrap, body.ft-redesign .tour-single-meta { font-size: 18px !important; }
body.ft-redesign .tour-meta-wrap *, body.ft-redesign .tour-single-meta * { max-width: 100%; box-sizing: border-box; }

/* Tabs → large, clear */
body.ft-redesign .tour-tabs { display: flex !important; flex-wrap: wrap; gap: 8px; border: 0 !important; margin: 0 0 24px !important; padding: 0 !important; }
body.ft-redesign .tour-tabs li {
	float: none !important; margin: 0 !important; list-style: none;
	font-family: var(--ft-font) !important; font-size: 19px !important; font-weight: 700 !important;
	text-transform: none !important; letter-spacing: 0 !important;
	padding: 12px 22px !important; min-height: 48px; border-radius: 10px !important;
	border: 2px solid var(--ft-navy) !important; background: #fff !important; color: var(--ft-navy) !important; cursor: pointer;
}
body.ft-redesign .tour-tabs li.active { background: var(--ft-navy) !important; color: #fff !important; }
body.ft-redesign .tour-detail .detail-title, body.ft-redesign .tour-single h3 { font-size: 26px !important; text-transform: none !important; }
body.ft-redesign .tour-include li, body.ft-redesign .tour-exclude li { font-size: 19px !important; padding: 6px 0 !important; float: none !important; width: auto !important; }
body.ft-redesign .tour-include .fa-check { color: #15803D !important; }
body.ft-redesign .tour-exclude .fa-times { color: #B91C1C !important; }

/* Itinerary accordion (enhanced by ft-redesign.js) */
.ft-itin-all {
	font-family: var(--ft-font) !important; font-size: 18px; font-weight: 700; color: var(--ft-link);
	background: #fff; border: 2px solid var(--ft-link); border-radius: 8px; padding: 8px 16px; min-height: 44px;
	margin: 0 0 14px; cursor: pointer;
}
body.ft-redesign .tour-itinerary .itinerary-step {
	border: 1px solid var(--ft-line) !important; border-radius: 12px; margin: 0 0 10px !important; padding: 0 !important;
	overflow: hidden; background: #fff;
}
body.ft-redesign .tour-itinerary .itinerary-step::before, body.ft-redesign .tour-itinerary .itinerary-step::after { display: none !important; }
body.ft-redesign .tour-itinerary .itinerary-step h3 { margin: 0 !important; padding: 0 !important; font-size: 20px !important; }
.ft-itin-toggle {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
	font-family: var(--ft-font) !important; font-size: 20px; font-weight: 700; color: var(--ft-navy);
	background: #fff; border: 0; padding: 16px 20px; min-height: 56px; cursor: pointer;
}
.ft-itin-sign::before { content: '+'; font-size: 28px; line-height: 1; color: var(--ft-navy); }
.itinerary-step.is-open .ft-itin-toggle { background: var(--ft-soft); }
.itinerary-step.is-open .ft-itin-sign::before { content: '\2212'; }
body.ft-redesign .tour-itinerary .itinerary-step > :not(h3) { display: none; }
body.ft-redesign .tour-itinerary .itinerary-step.is-open > :not(h3) { display: block; }
body.ft-redesign .tour-itinerary .itinerary-step > p { padding: 0 20px; margin: 12px 0 !important; }
body.ft-redesign .tour-itinerary .itinerary-step > p:last-child { padding-bottom: 8px; }
/* Before the script runs, show everything */
body.ft-redesign:not(.ft-js) .tour-itinerary .itinerary-step > :not(h3) { display: block; }

/* Sidebar on tour page */
body.ft-redesign.single-tour .col-sidebar { padding-top: 0; }

/* ---------- Footer ---------- */
body.ft-redesign .site-footer { background: var(--ft-navy) !important; }
body.ft-redesign .site-footer, body.ft-redesign .site-footer p, body.ft-redesign .site-footer li,
body.ft-redesign .site-footer a, body.ft-redesign .site-footer h3, body.ft-redesign .site-footer label {
	color: #fff !important; font-size: 18px !important;
}
body.ft-redesign .site-footer h3 { font-size: 22px !important; }
body.ft-redesign .site-footer .bottom-socket { background: var(--ft-navy-dark) !important; }
body.ft-redesign .site-footer .bottom-socket p { color: var(--ft-pale) !important; font-size: 16px !important; }

/* ---------- Mobile quick-contact bar ---------- */
.ft-mobilebar { display: none; }
@media (max-width: 767px) {
	body.ft-redesign { font-size: 18px; padding-bottom: 76px; }
	body.ft-redesign p, body.ft-redesign li { font-size: 18px; }
	.ft-mobilebar {
		display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--ft-navy);
		box-shadow: 0 -4px 16px rgba(0,0,0,.15);
	}
	.ft-mobilebar a {
		flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 8px;
		min-height: 52px; border-radius: 10px; font-weight: 700; font-size: 19px; text-decoration: none !important;
	}
	.ft-mobilebar__call { background: #fff; color: var(--ft-navy) !important; }
	.ft-mobilebar__go { background: var(--ft-orange); color: #fff !important; }
	/* Floating WhatsApp button sits above the bar */
	body.ft-redesign .ht-ctc, body.ft-redesign .ht_ctc_style, body.ft-redesign #ht-ctc-chat { bottom: 86px !important; }
	body.ft-redesign #scroll-top { bottom: 86px !important; }

	.ft-wrap { padding: 0 16px; }
	.ft-section { padding: 40px 0; }
	.ft-h2 { font-size: 28px !important; }
	.ft-hero__inner { padding: 64px 0 56px; }
	.ft-hero h1 { font-size: 34px !important; }
	.ft-hero__sub { font-size: 19px !important; }
	.ft-hero__ctas .ft-btn { width: 100%; }
	.ft-grid { grid-template-columns: 1fr; gap: 18px; }
	.ft-card__img img, .ft-card__noimg { height: 190px; }
	.ft-card--row .ft-card__img { flex: 1 1 100%; }
	.ft-card--row .ft-card__img img { min-height: 0; height: 190px; }
	.ft-card--row .ft-card__foot { flex-direction: row; align-items: center; border-left: 0; border-top: 1px solid #E2E8F0; margin: 0 20px 18px; padding: 14px 0 0; }
	.ft-band { padding: 28px 20px; }
	.ft-band h2 { font-size: 26px !important; }
	.ft-about img { height: 240px; flex-basis: 100%; }
	.ft-toursintro h1 { font-size: 32px !important; }
	.ft-chip { font-size: 17px; padding: 8px 14px; }
	body.ft-redesign #site-banner .banner-content { padding: 44px 15px !important; }
	body.ft-redesign #site-banner h1, body.ft-redesign.single-tour #site-banner h1 { font-size: 28px !important; }
	body.ft-redesign .header-phone-wrap { text-align: center; }
	.ft-bookbox { padding: 20px; }
	.ft-bookbox__price { font-size: 38px !important; }
	body.ft-redesign .tour-tabs li { flex: 1 1 auto; text-align: center; padding: 10px 12px !important; font-size: 17px !important; }
	.ft-itin-toggle { font-size: 18px; padding: 14px 16px; }
}

/* --- Fixes after first staging check --- */
/* Shorter photo banner on tour pages */
body.ft-redesign.single-tour #site-banner { height: 380px !important; min-height: 0 !important; display: flex; align-items: center; justify-content: center; background-position: center !important; }
body.ft-redesign.single-tour #site-banner .banner-content { padding: 0 15px !important; }
/* The new key-facts boxes replace the old icon strip (which also overflowed on phones) */
body.ft-redesign.single-tour .tour-meta-bar { display: none !important; }
/* Tabs on their own row, content underneath */
body.ft-redesign .tour-tabs { width: 100%; }
body.ft-redesign .tour-single .post-content, body.ft-redesign .tour-single .tour-detail { clear: both; }
body.ft-redesign .tour-single .detail-title { display: block; float: none !important; margin: 0 0 12px !important; }
@media (max-width: 767px) {
	body.ft-redesign.single-tour #site-banner { height: 220px !important; }
}

/* --- Phone fixes 12 Nov --- */
/* Hero text never touches the screen edge */
.ft-hero__inner { padding-left: 24px; padding-right: 24px; }
/* Less empty space between the tour photo and the key facts */
body.ft-redesign.single-tour #content-wrapper { padding-top: 36px !important; }
@media (max-width: 767px) {
	.ft-hero__inner { padding: 56px 16px 48px !important; }
	body.ft-redesign.single-tour #content-wrapper { padding-top: 20px !important; }
	/* Theme pulls the tour text under the sidebar on desktop; on phones keep it on screen */
	body.ft-redesign.single-tour .post-content { margin-right: 0 !important; margin-left: 0 !important; padding: 20px 4px !important; width: auto !important; max-width: 100% !important; box-sizing: border-box; }
	body.ft-redesign.single-tour .post-content * { max-width: 100%; box-sizing: border-box; }
	body.ft-redesign.single-tour .post-content h2 { font-size: 22px !important; }
	/* Shorter header on phones: the bottom bar already has Call us */
	body.ft-redesign .top-bar { display: none !important; }
}

/* --- Phone: price box first --- */
@media (max-width: 991px) {
	body.ft-redesign.single-tour .tour-single > .container > .row:first-child { display: flex; flex-direction: column; }
	body.ft-redesign.single-tour .tour-single > .container > .row:first-child > .col-sidebar { order: -1; }
}

/* --- Fixes 12 Nov (Dennis notes) --- */
/* Tour page: the theme stretches the tab content under the sidebar on Itinerary/Photos – keep it in its own column */
body.ft-redesign.single-tour .post-content { margin-right: 0 !important; width: auto !important; max-width: 100% !important; }
/* Current tours page (Tours Grid template) uses the new list: hide the old photo banner there too */
body.ft-redesign.page-template-tours-grid #site-banner,
body.ft-redesign.page-template-page-templatestours-grid-php #site-banner { display: none !important; }
/* Source Sans 3 is a little smaller than the old font: nudge body text up */
body.ft-redesign { font-size: 20px; }
body.ft-redesign p, body.ft-redesign li { font-size: 20px; }

/* --- Homepage featured tour (rotates every 2 days) --- */
.ft-feature { background: var(--ft-navy); color: #fff; }
.ft-feature__inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.ft-feature__text { flex: 1 1 440px; min-width: 0; }
.ft-feature__photo { flex: 1 1 460px; min-width: 0; display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.ft-feature__photo img { display: block; width: 100%; height: 420px; object-fit: cover; }
.ft-feature__kicker { display: inline-block; background: var(--ft-orange); color: #fff !important; font-weight: 700; font-size: 18px !important; padding: 6px 14px; border-radius: 999px; margin: 0 0 16px !important; }
.ft-feature h1 { color: #fff !important; font-size: 46px !important; line-height: 1.15; margin: 0 !important; }
.ft-feature__facts { color: var(--ft-pale) !important; font-size: 20px !important; margin: 12px 0 0 !important; }
.ft-feature__price { color: #fff !important; font-size: 20px !important; margin: 14px 0 0 !important; }
.ft-feature__price strong { font-size: 34px; color: #fff; }
.ft-feature__promise { color: var(--ft-pale) !important; font-size: 19px !important; margin: 18px 0 26px !important; max-width: 560px; }
@media (max-width: 767px) {
	.ft-feature__inner { flex-direction: column-reverse; gap: 22px; padding: 0 0 36px !important; }
	.ft-feature__photo { flex-basis: auto; width: 100%; border-radius: 0; box-shadow: none; }
	.ft-feature__photo img { height: 240px; }
	.ft-feature__text { flex-basis: auto; padding: 0 16px; }
	.ft-feature h1 { font-size: 30px !important; }
	.ft-feature__price strong { font-size: 28px; }
	.ft-feature .ft-hero__ctas .ft-btn { width: 100%; }
}

/* --- Phone menu (meanmenu) --- */
body.ft-redesign.mean-container .mean-bar { background: var(--ft-navy) !important; min-height: 56px; }
body.ft-redesign.mean-container a.meanmenu-reveal { color: #fff !important; font-size: 26px !important; font-weight: 700; }
body.ft-redesign.mean-container a.meanmenu-reveal span { background: #fff !important; }
body.ft-redesign.mean-container .mean-nav { background: #fff !important; border-bottom: 3px solid var(--ft-navy); }
body.ft-redesign.mean-container .mean-nav ul li { position: relative; background: #fff !important; }
body.ft-redesign.mean-container .mean-nav ul li a {
	font-family: var(--ft-font) !important; font-size: 21px !important; font-weight: 700 !important;
	color: var(--ft-navy) !important; background: #fff !important; text-transform: none !important; letter-spacing: 0 !important;
	padding: 16px 70px 16px 20px !important; border-top: 1px solid #D5DEE8 !important; line-height: 1.3 !important; opacity: 1 !important;
}
body.ft-redesign.mean-container .mean-nav ul li.current-menu-item > a { color: var(--ft-orange) !important; }
/* Sub-menu items: slightly smaller, indented, pale background */
body.ft-redesign.mean-container .mean-nav ul li li a {
	font-size: 19px !important; font-weight: 400 !important; color: var(--ft-ink) !important;
	background: var(--ft-soft) !important; padding: 14px 20px 14px 36px !important; width: 100% !important; box-sizing: border-box;
}
/* The + / - buttons that open sub-menus */
body.ft-redesign.mean-container .mean-nav ul li a.mean-expand,
body.ft-redesign.mean-container .mean-nav ul li a.mean-expand:hover,
body.ft-redesign.mean-container .mean-nav ul li a.mean-expand.mean-clicked {
	position: absolute !important; right: 0 !important; top: 0 !important; width: 60px !important; height: 100% !important; max-height: 62px;
	padding: 0 !important; margin: 0 !important; display: flex !important; align-items: center; justify-content: center;
	background: var(--ft-soft) !important; color: var(--ft-navy) !important; border: 0 !important; border-left: 1px solid #D5DEE8 !important; border-top: 1px solid #D5DEE8 !important;
	font-size: 30px !important; font-weight: 700 !important; outline: none !important; box-shadow: none !important;
}
body.ft-redesign.mean-container .mean-nav ul li a.mean-expand.mean-clicked { background: var(--ft-navy) !important; color: #fff !important; }

/* --- Top bar company name --- */
body.ft-redesign .top-bar .welcome-note { font-size: 22px !important; font-weight: 700 !important; letter-spacing: .01em; color: #fff !important; margin: 0 !important; line-height: 1.4; }

/* --- Phone: company name bar --- */
@media (max-width: 767px) {
	body.ft-redesign .top-bar { display: block !important; padding: 8px 0 !important; }
	body.ft-redesign .top-bar .row > div:nth-child(2) { display: none !important; }
	body.ft-redesign .top-bar .welcome-note { font-size: 18px !important; text-align: center; padding: 0 !important; }
}

/* --- Tour page pop-up window for Enquire / Book / Brochure --- */
.ft-hide { display: none !important; }
html.ft-modal-open, html.ft-modal-open body { overflow: hidden !important; }
.ft-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(7, 42, 75, .65); display: flex; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; }
.ft-modal[hidden] { display: none !important; }
.ft-modal__box { position: relative; background: #fff; border-radius: 16px; width: 100%; max-width: 680px; padding: 28px 28px 32px; box-shadow: 0 20px 60px rgba(0,0,0,.35); box-sizing: border-box; }
.ft-modal__close { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 999px; border: 2px solid var(--ft-navy); background: #fff; color: var(--ft-navy); font-size: 30px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ft-modal__close:hover { background: var(--ft-soft); }
.ft-modal__title { font-size: 30px !important; margin: 0 60px 4px 0 !important; color: var(--ft-navy) !important; }
.ft-modal__tour { color: var(--ft-muted) !important; font-size: 18px !important; margin: 0 0 20px !important; }
.ft-modal__body > [hidden] { display: none !important; }
/* The "What would you like to do?" choice isn't needed – the button already chose */
.ft-modal .ft-choice-question, .ft-modal .ft-choice-row { display: none !important; }
.ft-modal .ft-pdf-form-wrap:not([hidden]) { display: block !important; }
.ft-modal .ft-pdf-panel { margin-top: 0 !important; }
/* Tidy the Summary tab now the form and PDF button have moved out */
body.ft-redesign #tour-detail > p:empty, body.ft-redesign #tour-detail > h6:empty { display: none !important; }
@media (max-width: 767px) {
	.ft-modal { padding: 0; }
	.ft-modal__box { border-radius: 0; min-height: 100%; padding: 20px 16px 100px; }
	.ft-modal__title { font-size: 26px !important; }
}

/* --- Hide "Tour overview" heading --- */
/* Only the first heading in the Summary tab; "Included" / "Not Included" stay */
body.ft-redesign #tour-detail > h3.detail-title:first-child { display: none !important; }

/* --- Summary tab: departure / return box (moved from the price box) --- */
.ft-datebox { background: var(--ft-soft); border-radius: 12px; padding: 16px 20px; margin: 4px 0 28px; display: inline-flex; flex-direction: column; gap: 4px; }
.ft-datebox strong { color: var(--ft-navy); font-size: 22px; }
.ft-datebox span { color: var(--ft-muted); font-size: 18px; }

/* --- WhatsApp link in the price box --- */
.ft-wa { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; min-height: 50px; padding: 12px 16px; border-radius: 10px; background: #15803D; color: #fff !important; font-weight: 700; font-size: 19px; text-decoration: none !important; }
.ft-wa:hover { background: #166534; color: #fff !important; }
/* Date box text weight */
.ft-datebox strong { font-weight: 700 !important; color: var(--ft-navy) !important; }

/* --- Round 3 (12 Nov) --- */
/* Floating WhatsApp icon hidden (WhatsApp is in the price box instead) */
body.ft-redesign .ht-ctc, body.ft-redesign .ht_ctc_style, body.ft-redesign .ht-ctc-chat { display: none !important; }
/* Map tab */
body.ft-redesign .tour-map:not(.active) { display: none; }
body.ft-redesign .tour-map .ft-map-img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--ft-line); }
/* Page title over the photo banner: solid panel so it's easy to read on any photo */
body.ft-redesign #site-banner { position: relative; }
body.ft-redesign #site-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,42,75,.10) 0%, rgba(7,42,75,.45) 100%); pointer-events: none; }
body.ft-redesign #site-banner .banner-content { position: relative; z-index: 1; }
body.ft-redesign #site-banner h1 { display: inline-block; background: rgba(7,42,75,.85); padding: 16px 30px !important; border-radius: 14px; font-weight: 700 !important; text-shadow: none !important; max-width: min(1000px, 92vw); box-sizing: border-box; line-height: 1.2 !important; }
@media (max-width: 767px) {
	body.ft-redesign #site-banner h1 { padding: 12px 18px !important; font-size: 24px !important; }
}

/* Round 5: contact-layout pages (Tour leader) - no sidebar, full width, readable text */
body.ft-redesign.page-template-contact #content-wrapper .col-sidebar { display: none; }
body.ft-redesign.page-template-contact #content-wrapper .col-main-content { width: 100%; float: none; }
body.ft-redesign.page-template-contact #content-wrapper .col-main-content p,
body.ft-redesign.page-template-contact #content-wrapper .col-main-content span { font-size: 20px; line-height: 1.6; }
body.ft-redesign.page-template-contact #content-wrapper .col-main-content h1 { font-size: 32px; line-height: 1.25; }
body.ft-redesign.page-template-contact #content-wrapper .col-main-content h4 { font-size: 22px; line-height: 1.4; }
body.ft-redesign.page-template-contact #content-wrapper .col-main-content img { max-width: 100%; height: auto; }
body.ft-redesign.page-template-contact #content-wrapper .contact-form { max-width: 860px; float: none; width: auto; }
/* Round 5: ordinary pages (About us, Contact, Travel insurance ...) - comfortable line length */
body.ft-redesign.page-template-default #content-wrapper .col-main-content p,
body.ft-redesign.page-template-default #content-wrapper .col-main-content li { max-width: 760px; line-height: 1.7; }
body.ft-redesign.page-template-default #content-wrapper .col-main-content p { margin: 0 0 18px; }
/* Footer: no card logos; copyright line (with ABN) uses the full width */
body.ft-redesign figure.credit-cards,
body.ft-redesign .col-sm-6:has(> figure.credit-cards) { display: none !important; }
body.ft-redesign .col-sm-6:has(> p.copyright) { width: 100%; float: none; text-align: center; }
/* Top bar: bigger Facebook / Instagram icons */
body.ft-redesign .smart-social li { margin-left: 14px; }
body.ft-redesign .smart-social li a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; }
body.ft-redesign .smart-social li a i { font-size: 28px !important; line-height: 1 !important; }
/* Footer "Follow us" buttons */
body.ft-redesign .ft-follow { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
body.ft-redesign .ft-follow-btn { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; border: 2px solid rgba(255,255,255,.85); border-radius: 12px; color: #fff !important; font-size: 18px; font-weight: 600; text-decoration: none !important; line-height: 1.2; }
body.ft-redesign .ft-follow-btn i { font-size: 26px; width: 28px; text-align: center; }
body.ft-redesign .ft-follow-btn:hover, body.ft-redesign .ft-follow-btn:focus { background: rgba(255,255,255,.12); }
body.ft-redesign .ft-follow { margin-bottom: 32px; }
@media (max-width: 767px) { body.ft-redesign .ft-follow { margin-left: 10px; } }
/* ===== Homepage carousel (5 random tours, moved only by the visitor) ===== */
.ft-carousel { position: relative; }
.ft-carousel__stage { position: relative; display: grid; }
.ft-carousel .ft-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.ft-carousel .ft-slide.is-active { opacity: 1; visibility: visible; }
.ft-carousel .ft-feature__inner { padding-bottom: 28px; }
.ft-feature h2.ft-feature__title { color: #fff !important; font-size: 46px !important; line-height: 1.15; margin: 0 !important; font-weight: 700; }
/* Big round side arrows (wide screens, where there is room beside the panel) */
.ft-carousel__arrow { display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 60px; height: 60px; border-radius: 50%; border: 0; background: #fff; color: var(--ft-navy); font-size: 44px; line-height: 1; font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.35); cursor: pointer; padding: 0 0 6px; }
.ft-carousel__arrow--prev { left: max(14px, calc(50% - 650px)); }
.ft-carousel__arrow--next { right: max(14px, calc(50% - 650px)); }
.ft-carousel__arrow:hover, .ft-carousel__arrow:focus-visible { background: var(--ft-orange); color: #fff; outline: 3px solid #fff; outline-offset: 3px; }
/* Side arrows switched off on all screens (Dennis, 12 Nov) - the Previous / Next bar is the only control. */
/* Bottom bar: Previous tour | 2 of 5 | Next tour */
.ft-carousel__bar { display: flex; align-items: center; justify-content: center; gap: 22px; padding-top: 4px !important; padding-bottom: 40px !important; }
.ft-carousel__btn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 24px 0 8px; border: 0; border-radius: 999px; background: #fff; color: var(--ft-navy); font-size: 20px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); font-family: inherit; }
.ft-carousel__btn--next { padding: 0 8px 0 24px; }
.ft-carousel__ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ft-navy); color: #fff; font-size: 32px; line-height: 1; padding-bottom: 4px; box-sizing: border-box; }
.ft-carousel__btn:focus-visible { background: var(--ft-orange); color: #fff; outline: 3px solid #fff; outline-offset: 3px; }
.ft-carousel__btn:focus-visible .ft-carousel__ico { background: #fff; color: var(--ft-orange); }
@media (hover: hover) {
	.ft-carousel__btn:hover { background: var(--ft-orange); color: #fff; }
	.ft-carousel__btn:hover .ft-carousel__ico { background: #fff; color: var(--ft-orange); }
}
.ft-carousel__count { color: #fff; font-size: 20px; font-weight: 700; min-width: 70px; text-align: center; }
@media (max-width: 767px) {
	.ft-carousel .ft-feature__inner { padding-bottom: 20px !important; }
	.ft-feature h2.ft-feature__title { font-size: 30px !important; }
	.ft-carousel__bar { gap: 10px; padding-left: 12px !important; padding-right: 12px !important; padding-bottom: 32px !important; }
	.ft-carousel__btn { font-size: 18px; min-height: 54px; gap: 8px; padding: 0 16px 0 6px; }
	.ft-carousel__btn--next { padding: 0 6px 0 16px; }
	.ft-carousel__count { font-size: 18px; min-width: 56px; }
}
@media (max-width: 420px) { .ft-carousel__word { display: none; } }
@media (prefers-reduced-motion: reduce) { .ft-carousel .ft-slide { transition: none; } }
/* Carousel on phones: Previous / Next bar at the top (above the photo), no arrows on the image */
@media (max-width: 767px) {
	.ft-carousel { display: flex; flex-direction: column; }
	.ft-carousel__bar { order: -1; padding-top: 16px !important; padding-bottom: 16px !important; }
	.ft-carousel__arrow { display: none !important; }
}
/* Enquiry/booking "Is this correct?" pop-up: readable Confirm button (white on navy), bigger buttons */
body.ft-redesign #ft-popup-confirm,
body.ft-redesign #ft-popup-cancel { min-height: 52px; min-width: 120px; padding: 10px 22px; font-size: 19px !important; font-weight: 700 !important; border-radius: 10px; cursor: pointer; }
body.ft-redesign #ft-popup-confirm { background: var(--ft-navy) !important; color: #fff !important; border: 2px solid var(--ft-navy) !important; }
body.ft-redesign #ft-popup-confirm:hover, body.ft-redesign #ft-popup-confirm:focus-visible { background: var(--ft-orange) !important; border-color: var(--ft-orange) !important; color: #fff !important; }
body.ft-redesign #ft-popup-cancel { background: #fff !important; color: var(--ft-navy) !important; border: 2px solid var(--ft-navy) !important; }
/* ===== Newsletter pop-up ===== */
.ft-sub { position: fixed; inset: 0; z-index: 100000; background: rgba(7,42,75,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ft-sub[hidden] { display: none !important; }
.ft-sub__box { position: relative; background: #fff; color: var(--ft-ink); width: 100%; max-width: 520px; border-radius: 18px; padding: 34px 32px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.35); font-size: 20px; line-height: 1.5; text-align: center; max-height: calc(100vh - 32px); overflow-y: auto; }
.ft-sub__box h2 { color: var(--ft-navy) !important; font-size: 30px !important; line-height: 1.2; margin: 0 0 12px !important; font-weight: 700; padding-right: 30px; padding-left: 30px; }
.ft-sub__lead { margin: 0 0 20px !important; color: var(--ft-ink); }
.ft-sub__box .mc4wp-form p { margin: 0 0 14px !important; }
.ft-sub__box .mc4wp-form label { display: block; font-weight: 700; color: var(--ft-navy); margin-bottom: 6px; text-align: left; font-size: 19px; }
.ft-sub__box .mc4wp-form input[type=email] { width: 100%; box-sizing: border-box; min-height: 56px; font-size: 20px; padding: 10px 16px; border: 2px solid #9AA5B1; border-radius: 10px; font-family: inherit; }
.ft-sub__box .mc4wp-form input[type=email]:focus { border-color: var(--ft-navy); outline: 3px solid rgba(11,58,102,.25); }
.ft-sub__box .mc4wp-form input[type=submit] { width: 100%; min-height: 58px; font-size: 21px; font-weight: 700; color: #fff; background: var(--ft-orange); border: 0; border-radius: 12px; cursor: pointer; font-family: inherit; }
.ft-sub__box .mc4wp-form input[type=submit]:focus-visible { outline: 3px solid var(--ft-navy); outline-offset: 3px; }
@media (hover: hover) { .ft-sub__box .mc4wp-form input[type=submit]:hover { background: var(--ft-navy); } }
.ft-sub__box .mc4wp-response { font-size: 19px; font-weight: 600; color: var(--ft-navy); }
.ft-sub__small { font-size: 16px !important; color: var(--ft-muted); margin: 4px 0 6px !important; }
.ft-sub__no { background: none; border: 0; color: var(--ft-navy); font-size: 18px; text-decoration: underline; cursor: pointer; padding: 10px 16px; min-height: 48px; font-family: inherit; }
.ft-sub__x { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #F1F4F8; color: var(--ft-navy); font-size: 32px; line-height: 1; cursor: pointer; padding: 0 0 4px; }
.ft-sub__x:focus-visible, .ft-sub__no:focus-visible { outline: 3px solid var(--ft-orange); outline-offset: 2px; }
@media (max-width: 480px) { .ft-sub__box { padding: 30px 20px 18px; } .ft-sub__box h2 { font-size: 26px !important; } }
/* "What's usually included": green ticks */
body.ft-redesign .ft-ticks__icon { background: #16A34A !important; color: #fff !important; }