/*
Theme Name: Durban Big 5 Safari
Theme URI: https://durbanbig5safari.com/
Author: Durban Safaris
Description: A modern, fast safari tour operator theme with tour cards, a booking sidebar, FAQ accordions and built-in SEO (titles, descriptions, social tags and structured data).
Version: 1.1.2
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: durban-big5-safari
*/

:root {
	--night: #14110d;
	--ink: #231d16;
	--muted: #6a6054;
	--sand: #f6f1e7;
	--paper: #fffdf8;
	--rule: #e4dac9;
	--clay: #b4531a;
	--clay-dark: #8f4012;
	--amber: #e9a53a;
	--sage: #4d6b4a;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(20, 17, 13, 0.06), 0 8px 24px rgba(20, 17, 13, 0.08);
	--font-head: "DM Serif Display", Georgia, "Times New Roman", serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 72rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--clay);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--clay-dark);
}

:focus-visible {
	outline: 3px solid var(--amber);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-head);
	font-weight: 400;
	line-height: 1.15;
	color: var(--night);
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1.1em;
}

.muted {
	color: var(--muted);
	font-size: 0.92em;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 0.75rem;
	top: -4rem;
	z-index: 200;
	background: var(--night);
	color: #fff;
	padding: 0.6rem 1rem;
	border-radius: 8px;
}

.skip-link:focus {
	top: 0.75rem;
}

/* Buttons */
.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.6rem;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--clay);
	color: #fff;
	font: 600 1rem/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:hover,
.wp-block-button__link:hover {
	background: var(--clay-dark);
	color: #fff;
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--amber);
	color: var(--night);
}

.btn--primary:hover {
	background: #f3b958;
	color: var(--night);
}

.btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

.btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--night);
}

.btn--light {
	background: #fff;
	color: var(--night);
}

.btn--light:hover {
	background: var(--sand);
	color: var(--night);
}

.btn--outline {
	background: transparent;
	border-color: var(--rule);
	color: var(--night);
}

.btn--outline:hover {
	background: var(--sand);
	border-color: var(--night);
	color: var(--night);
}

.btn--small {
	padding: 0.55rem 1.1rem;
	font-size: 0.92rem;
}

.btn--block {
	display: flex;
	width: 100%;
	margin-top: 0.6rem;
}

.btn--nav {
	padding: 0.6rem 1.2rem;
	font-size: 0.95rem;
	background: var(--amber);
	color: var(--night);
}

.btn--nav:hover {
	background: #f3b958;
	color: var(--night);
}

/* Top bar */
.topbar {
	background: var(--night);
	color: #d9cfbd;
	font-size: 0.85rem;
}

.topbar__inner {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.45rem;
}

.topbar p {
	margin: 0;
}

.topbar a {
	color: #fff;
	text-decoration: none;
}

.topbar a:hover {
	color: var(--amber);
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 253, 248, 0.96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--rule);
	transition: box-shadow 0.2s;
}

.site-header.is-stuck {
	box-shadow: 0 6px 20px rgba(20, 17, 13, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 4.5rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	text-decoration: none;
	color: var(--night);
}

.brand__mark {
	width: auto;
	height: 4rem;
	flex: none;
}

.brand__name {
	font-family: "Montserrat", "Arial Black", "Helvetica Neue", Arial, sans-serif;
	font-weight: 800;
	font-size: 1.3rem;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--night);
	white-space: nowrap;
}

.brand__accent {
	color: var(--clay);
}

.brand__tld {
	font-size: 0.72em;
	color: var(--muted);
	letter-spacing: 0;
	margin-left: 0.05em;
}

@media (max-width: 560px) {
	.brand__name {
		font-size: 1.05rem;
	}
	.brand__mark {
		height: 3.2rem;
	}
}

.custom-logo {
	max-height: 3rem;
	width: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.nav {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
}

.nav li {
	position: relative;
	margin: 0;
}

.nav a {
	display: block;
	white-space: nowrap;
	padding: 0.55rem 0.6rem;
	color: var(--night);
	font-weight: 500;
	font-size: 0.97rem;
	text-decoration: none;
	border-radius: 8px;
}

.nav a:hover,
.nav .current-menu-item > a {
	color: var(--clay);
	background: var(--sand);
}

.nav .has-sub > a::after,
.nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 0.4em;
	height: 0.4em;
	margin-left: 0.4em;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: translateY(-0.12em) rotate(45deg);
}

.nav .sub,
.nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.5rem;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 17rem;
	background: #fff;
	border: 1px solid var(--rule);
	border-radius: 12px;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.nav li:hover > .sub,
.nav li:focus-within > .sub,
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nav .sub a,
.nav .sub-menu a {
	font-size: 0.93rem;
	padding: 0.5rem 0.7rem;
}

.nav-toggle {
	display: none;
	width: 2.9rem;
	height: 2.9rem;
	border: 1px solid var(--rule);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	position: relative;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 50%;
	width: 1.3rem;
	height: 2px;
	background: var(--night);
	transform: translateX(-50%);
	transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle__bars {
	top: 50%;
}

.nav-toggle__bars::before {
	top: -0.42rem;
	left: 50%;
}

.nav-toggle__bars::after {
	top: 0.42rem;
	left: 50%;
}

/* Hero */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(86vh, 46rem);
	overflow: hidden;
	color: #fff;
	background: #1d1410 url("assets/hero-fallback.svg") center bottom / cover no-repeat;
}

.hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--hero-pos, 50% 50%);
}

@media (max-width: 720px) {
	.hero__img {
		object-position: var(--hero-pos-m, 50% 50%);
	}
}

.hero--photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20, 17, 13, 0.66) 0%, rgba(20, 17, 13, 0.3) 55%, rgba(20, 17, 13, 0) 100%);
}

.hero__inner {
	position: relative;
	z-index: 1;
	padding-block: 5rem 6.5rem;
}

.eyebrow {
	margin: 0 0 1rem;
	color: var(--amber);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero__title {
	max-width: 14ch;
	margin-bottom: 0.4em;
	color: #fff;
	font-size: clamp(2.7rem, 7vw, 5rem);
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__text {
	max-width: 36rem;
	margin-bottom: 1.8rem;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin: 0 0 1.5rem;
}

.hero__price {
	display: inline-block;
	margin: 0;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background: rgba(20, 17, 13, 0.55);
	font-size: 0.95rem;
}

.hero__price strong {
	color: var(--amber);
}

/* Trust bar */
.trust {
	position: relative;
	z-index: 2;
	margin-top: -2.75rem;
}

.trust__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin-block: 0;
	padding: 0.4rem;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.trust__list li {
	display: flex;
	flex-direction: column;
	padding: 1rem 1.2rem;
	border-left: 1px solid var(--rule);
}

.trust__list li:first-child {
	border-left: 0;
}

.trust__list strong {
	color: var(--night);
	font-size: 1rem;
}

.trust__list span {
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.4;
}

/* Sections */
.section {
	padding-block: 4.5rem;
}

.section__title {
	font-size: clamp(2rem, 4vw, 2.8rem);
}

.section__lead {
	max-width: 40rem;
	color: var(--muted);
	font-size: 1.1rem;
}

.group-title {
	margin: 2.5rem 0 1.1rem;
	font-size: 1.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--amber);
	display: inline-block;
}

/* Tour cards */
.tour-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
	gap: 1.5rem;
}

.tour-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(20, 17, 13, 0.04);
	transition: transform 0.2s, box-shadow 0.2s;
}

.tour-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.tour-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--night);
	overflow: hidden;
}

.tour-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.tour-card:hover .tour-card__media img {
	transform: scale(1.04);
}

.tour-card__ph {
	position: absolute;
	inset: 0;
	background: #1d1410 url("assets/hero-fallback.svg") center bottom / cover no-repeat;
}

.tour-card--overnight .tour-card__ph {
	background-position: 70% bottom;
	filter: hue-rotate(-18deg) saturate(0.9);
}

.tour-card__badge {
	position: absolute;
	left: 0.9rem;
	top: 0.9rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	background: var(--night);
	color: var(--amber);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tour-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem 1.3rem 1.3rem;
}

.tour-card__duration {
	margin: 0 0 0.3rem;
	color: var(--muted);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.tour-card__title {
	margin-bottom: 0.7rem;
	font-size: 1.4rem;
}

.tour-card__title a {
	color: var(--night);
	text-decoration: none;
}

.tour-card__title a:hover {
	color: var(--clay);
}

.tour-card__list {
	list-style: none;
	margin: 0 0 1.2rem;
	padding: 0;
	font-size: 0.95rem;
}

.tour-card__list li {
	position: relative;
	padding-left: 1.4rem;
	margin-bottom: 0.3rem;
}

.tour-card__list li::before {
	content: "";
	position: absolute;
	left: 0.1rem;
	top: 0.5em;
	width: 0.45rem;
	height: 0.8rem;
	border: solid var(--sage);
	border-width: 0 2px 2px 0;
	transform: translateY(-50%) rotate(45deg);
}

.tour-card__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--rule);
}

.tour-card__price {
	margin: 0;
	line-height: 1.2;
}

.tour-card__from,
.tour-card__note {
	display: block;
	color: var(--muted);
	font-size: 0.8rem;
}

.tour-card__price strong {
	font-family: var(--font-head);
	font-size: 1.7rem;
	font-weight: 400;
	color: var(--night);
}

/* Page banner */
.page-banner {
	position: relative;
	overflow: hidden;
	background: #1d1410 url("assets/hero-fallback.svg") center 78% / cover no-repeat;
	color: #fff;
}

.page-banner--photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(20, 17, 13, 0.62), rgba(20, 17, 13, 0.08));
}

.page-banner__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--banner-pos, 50% 50%);
}

@media (max-width: 720px) {
	.page-banner__img {
		object-position: var(--banner-pos-m, 50% 50%);
	}
}

.page-banner__inner {
	position: relative;
	z-index: 1;
	padding-block: 3rem 3rem;
}

.page-banner--photo .page-banner__inner {
	padding-block: 6rem 3rem;
}

.page-banner__title {
	max-width: 22ch;
	margin-bottom: 0.3em;
	color: #fff;
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.page-banner__lead {
	max-width: 42rem;
	margin: 0;
	font-size: 1.15rem;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.crumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin: 0 0 1rem;
	padding: 0;
	font-size: 0.85rem;
}

.crumbs li + li::before {
	content: "/";
	margin-right: 0.3rem;
	opacity: 0.6;
}

.crumbs a {
	color: #fff;
	opacity: 0.85;
}

.crumbs a:hover {
	opacity: 1;
	color: var(--amber);
}

/* Page body */
.page-body {
	padding-block: 3.5rem 4.5rem;
}

.page-body--tour {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 21rem;
	gap: 3rem;
	align-items: start;
}

.prose {
	min-width: 0;
}

.prose > * {
	max-width: 46rem;
}

.prose > .tour-grid,
.prose > .dbs-wide,
.prose > .wp-block-table,
.prose > .dbs-inc {
	max-width: none;
}

.prose h2 {
	margin-top: 2.2em;
	font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.prose > h2:first-child {
	margin-top: 0;
}

.prose h3 {
	margin-top: 1.6em;
	font-size: 1.35rem;
}

.prose ul,
.prose ol {
	padding-left: 1.3rem;
	margin: 0 0 1.2em;
}

.prose li {
	margin-bottom: 0.4em;
}

.prose strong {
	color: var(--night);
}

/* Tables */
.wp-block-table {
	margin: 1.5rem 0 2rem;
	overflow-x: auto;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.97rem;
	background: #fff;
	border: 1px solid var(--rule);
}

.wp-block-table th,
.wp-block-table td {
	padding: 0.8rem 1rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--rule);
}

.wp-block-table thead th {
	background: var(--night);
	color: #fff;
	font-weight: 600;
	border-bottom: 0;
}

.wp-block-table tbody tr:nth-child(even) td {
	background: var(--sand);
}

/* Details / FAQ accordion */
.wp-block-details {
	margin: 0 0 0.7rem;
	border: 1px solid var(--rule);
	border-radius: 12px;
	background: #fff;
}

.wp-block-details summary {
	position: relative;
	padding: 1rem 3rem 1rem 1.25rem;
	font-weight: 600;
	color: var(--night);
	cursor: pointer;
	list-style: none;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--clay);
}

.wp-block-details[open] summary::after {
	content: "\2212";
}

.wp-block-details > :not(summary) {
	margin-inline: 1.25rem;
}

.wp-block-details > :last-child {
	margin-bottom: 1.1rem;
}

/* Itinerary and included lists */
.dbs-day {
	position: relative;
	margin: 0 0 1.4rem;
	padding: 0 0 0 1.6rem;
	border-left: 2px solid var(--amber);
}

.dbs-day::before {
	content: "";
	position: absolute;
	left: -0.5rem;
	top: 0.35rem;
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 50%;
	background: var(--amber);
	box-shadow: 0 0 0 4px var(--paper);
}

.dbs-day h3 {
	margin: 0 0 0.4rem;
	font-size: 1.25rem;
}

.dbs-day p:last-child,
.dbs-day ul:last-child {
	margin-bottom: 0;
}

.dbs-inc {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	margin: 1.5rem 0 2rem;
}

.dbs-inc__col {
	padding: 1.25rem 1.4rem;
	border-radius: var(--radius);
	background: var(--sand);
}

.dbs-inc__col h3 {
	margin: 0 0 0.6rem;
	font-size: 1.2rem;
}

.dbs-inc__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dbs-inc__col li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: 0.4rem;
	font-size: 0.97rem;
}

.dbs-inc__col--yes li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--sage);
	font-weight: 700;
}

.dbs-inc__col--no li::before {
	content: "\2715";
	position: absolute;
	left: 0;
	color: var(--clay);
	font-weight: 700;
}

.dbs-note {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border-left: 4px solid var(--amber);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--sand);
}

.dbs-note p:last-child {
	margin-bottom: 0;
}

/* Booking card */
.booking-card {
	position: sticky;
	top: 6.5rem;
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.booking-card__label {
	margin: 0;
	color: var(--muted);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.booking-card__price {
	margin: 0 0 1rem;
	font-family: var(--font-head);
	font-size: 2.6rem;
	line-height: 1.1;
	color: var(--night);
}

.booking-card__price span {
	font-family: var(--font-body);
	font-size: 0.9rem;
	color: var(--muted);
}

.booking-card__facts {
	margin: 0 0 1.2rem;
}

.booking-card__facts div {
	padding: 0.55rem 0;
	border-top: 1px solid var(--rule);
	font-size: 0.92rem;
}

.booking-card__facts dt {
	color: var(--muted);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.booking-card__facts dd {
	margin: 0;
	font-weight: 500;
}

.booking-card__small {
	margin: 1rem 0 0;
	color: var(--muted);
	font-size: 0.8rem;
	line-height: 1.5;
}

/* Home page content blocks (Pages > Home) */
.dbs-sec {
	padding: 4.5rem max(1.25rem, calc((100% - var(--wrap)) / 2 + 1.25rem));
}

.dbs-sec--alt {
	background: var(--sand);
}

.dbs-sec--dark {
	background: var(--night);
	color: #e8dfcf;
}

.dbs-sec--dark h2,
.dbs-sec--dark h3 {
	color: #fff;
}

.dbs-sec h2 {
	font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.dbs-sec > p {
	max-width: 46rem;
}

.dbs-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 1.25rem;
	margin-top: 1.75rem;
}

.dbs-item {
	padding: 1.4rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	background: #fff;
}

.dbs-item h3 {
	margin: 0 0 0.4rem;
	font-size: 1.25rem;
}

.dbs-item p:last-child {
	margin-bottom: 0;
}

.dbs-steps {
	list-style: none;
	counter-reset: step;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 1.25rem;
	margin: 1.75rem 0 0;
	padding: 0;
}

.dbs-steps li {
	counter-increment: step;
	padding: 1.4rem;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.07);
}

.dbs-steps li::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	margin-bottom: 0.8rem;
	border-radius: 50%;
	background: var(--amber);
	color: var(--night);
	font-family: var(--font-head);
	font-size: 1.2rem;
}

.dbs-steps strong {
	display: block;
	margin-bottom: 0.25rem;
	color: #fff;
}

.dbs-sec .wp-block-table {
	max-width: 56rem;
}

.dbs-sec .wp-block-details {
	max-width: 52rem;
}

/* Contact */
.contact-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 1.25rem;
	margin: 1.5rem 0 2rem;
}

.contact-card {
	padding: 1.4rem;
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	background: #fff;
}

.contact-card h3 {
	margin: 0 0 0.6rem;
	font-size: 1.25rem;
}

.contact-card p:last-child {
	margin-bottom: 0;
}

/* CTA band */
.cta-band {
	background: var(--clay);
	color: #fff;
}

.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 3.2rem;
}

.cta-band h2 {
	margin-bottom: 0.3rem;
	color: #fff;
	font-size: clamp(1.7rem, 3.5vw, 2.3rem);
}

.cta-band p {
	margin: 0;
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

/* Footer */
.site-footer {
	background: var(--night);
	color: #cfc5b3;
	font-size: 0.95rem;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--amber);
	text-decoration: underline;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1.2fr 1fr 1.2fr;
	gap: 2.5rem;
	padding-block: 3.5rem 2.5rem;
}

.footer-brand__name {
	font-family: var(--font-head);
	font-size: 1.6rem;
	color: #fff;
}

.footer-title {
	margin-bottom: 0.9rem;
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--amber);
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-links li {
	margin-bottom: 0.5rem;
}

.footer-address {
	color: #a99f8e;
}

.footer-base {
	padding-block: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.85rem;
	color: #a99f8e;
}

.footer-base p {
	margin: 0;
}

/* Mobile quick bar */
.mobile-bar {
	display: none;
}

/* Responsive */
@media (max-width: 86rem) {
	.nav-toggle {
		display: block;
	}

	.site-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		max-height: calc(100vh - 6rem);
		overflow-y: auto;
		padding: 1rem 1.25rem 1.5rem;
		background: var(--paper);
		border-bottom: 1px solid var(--rule);
		box-shadow: 0 16px 24px rgba(20, 17, 13, 0.1);
	}

	.site-nav.is-open {
		display: flex;
	}

	.nav {
		flex-direction: column;
		align-items: stretch;
	}

	.nav a {
		padding: 0.7rem 0.4rem;
		font-size: 1.05rem;
	}

	.nav .sub,
	.nav .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0.4rem 0.8rem;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
	}

	.nav .sub a,
	.nav .sub-menu a {
		font-size: 0.95rem;
		color: var(--muted);
	}

	.nav .has-sub > a::after,
	.nav .menu-item-has-children > a::after {
		display: none;
	}

	.btn--nav {
		justify-content: center;
		padding: 0.85rem;
	}

	.site-header {
		position: sticky;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.page-body--tour {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.booking-card {
		position: static;
	}
}

@media (max-width: 48rem) {
	body {
		padding-bottom: 4.2rem;
	}

	.topbar__msg {
		display: none;
	}

	.topbar__inner {
		justify-content: center;
	}

	.hero__inner {
		padding-block: 3.5rem 5.5rem;
	}

	.trust__list {
		grid-template-columns: 1fr 1fr;
	}

	.trust__list li:nth-child(odd) {
		border-left: 0;
	}

	.trust__list li:nth-child(n + 3) {
		border-top: 1px solid var(--rule);
	}

	.section,
	.dbs-sec {
		padding-block: 3rem;
	}

	.dbs-inc {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.cta-band__inner {
		padding-block: 2.5rem;
	}

	.mobile-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 120;
		display: flex;
		gap: 0.5rem;
		padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
		background: var(--night);
		box-shadow: 0 -6px 20px rgba(20, 17, 13, 0.25);
	}

	.mobile-bar a {
		flex: 1;
		padding: 0.75rem 0.5rem;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.12);
		color: #fff;
		font-weight: 600;
		font-size: 0.95rem;
		text-align: center;
		text-decoration: none;
	}

	.mobile-bar .mobile-bar__book {
		background: var(--amber);
		color: var(--night);
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.topbar,
	.site-header,
	.cta-band,
	.mobile-bar,
	.booking-card {
		display: none !important;
	}
}

/* Flag-map badge on banners */
.hero__badge {
	position: absolute;
	z-index: 1;
	pointer-events: none;
}

.hero__badge {
	right: max(2rem, calc((100% - 72rem) / 2));
	bottom: 3.2rem;
	width: clamp(10rem, 21vw, 18rem);
}

.flag-badge {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

@media (max-width: 900px) {
	.hero__badge {
		right: 1rem;
		bottom: 1.2rem;
		width: 7.5rem;
	}

}

@media (max-width: 560px) {
	.hero__badge {
		display: none;
	}
}


/* Get in touch form */
.enquiry {
	margin: 2.5rem 0;
	padding: 1.75rem;
	background: var(--paper);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.enquiry h2 {
	margin-top: 0;
}
.enquiry__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1.25rem;
}
.enquiry label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	color: var(--night);
}
.enquiry .req {
	font-weight: 400;
	color: var(--muted);
	font-size: 0.9em;
}
.enquiry input[type="text"],
.enquiry input[type="email"],
.enquiry textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 0.9rem;
	font: inherit;
	color: var(--ink);
	background: var(--sand);
	border: 1px solid var(--rule);
	border-radius: 10px;
}
.enquiry input:focus,
.enquiry textarea:focus {
	outline: 3px solid var(--amber);
	outline-offset: 1px;
	background: #fff;
}
.enquiry textarea {
	min-height: 10rem;
	resize: vertical;
}
.enquiry__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.enquiry__notice {
	padding: 0.9rem 1.1rem;
	border-radius: 10px;
	margin: 1rem 0;
}
.enquiry__notice p {
	margin: 0.2rem 0;
}
.enquiry__notice--ok {
	background: #e8f1e6;
	color: var(--sage);
	font-weight: 600;
	font-size: 1.1rem;
	border-left: 4px solid var(--sage);
}
.enquiry__notice--error {
	background: #fbeae2;
	color: var(--clay-dark);
}
@media (max-width: 640px) {
	.enquiry {
		padding: 1.25rem;
	}
	.enquiry__row {
		grid-template-columns: 1fr;
	}
}

/* Wider header so the logo, menu and button fit on one line */
.site-header > .wrap,
.site-header__inner.wrap {
	max-width: 88rem;
}

/* Tour cards: always 3 per row on desktop, the last row simply fills from the left */
.tour-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (max-width: 64rem) {
	.tour-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 40rem) {
	.tour-grid {
		grid-template-columns: 1fr;
	}
}

/* WhatsApp button in the top bar */
.topbar__wa {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.2rem 0.75rem;
	border-radius: 999px;
	background: #25d366;
	color: #0b2e17 !important;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.6;
}
.topbar__wa:hover,
.topbar__wa:focus-visible {
	background: #1ebe5a;
	color: #0b2e17 !important;
}

/* WhatsApp and email side by side on one line, also on phones */
.topbar__contact {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 0.9rem;
	white-space: nowrap;
}
@media (max-width: 48rem) {
	.topbar__contact {
		width: 100%;
		justify-content: space-between;
		gap: 0.5rem;
		font-size: 0.8rem;
	}
	.topbar__wa {
		padding: 0.15rem 0.6rem;
	}
}
@media (max-width: 22rem) {
	.topbar__contact {
		font-size: 0.72rem;
	}
	.topbar__wa svg {
		display: none;
	}
}

/* Tailor-made safari panel under the overnight safaris */
.tailor-made {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
	margin-top: 2.5rem;
	padding: 1.75rem 2rem;
	background: var(--sand);
	border: 2px dashed var(--rule);
	border-radius: var(--radius);
}
.tailor-made__kicker {
	margin: 0 0 0.25rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--clay);
}
.tailor-made h3 {
	margin: 0 0 0.4rem;
}
.tailor-made p {
	margin: 0;
	color: var(--muted);
	max-width: 46rem;
}
.tailor-made .btn {
	flex: none;
}
@media (max-width: 48rem) {
	.tailor-made {
		flex-direction: column;
		align-items: flex-start;
		padding: 1.5rem;
	}
}
