/* Self Drive Tanzania - Site Enhancements.
   Loaded after the Chauffeur theme CSS. Uses the theme's own colours
   (Theme Options: primary #CC4452, dark #1C1C1C). Sections follow the rollout steps. */

:root {
	--sdt-accent: #cc4452;        /* theme primary (Theme Options) */
	--sdt-accent-dark: #b23847;
	--sdt-dark: #1c1c1c;          /* theme dark (menu bar, footer) */
	--sdt-dark-2: #141414;
	--sdt-soft: #f8f8f8;          /* theme light grey */
	--sdt-ink: #424242;           /* theme body text */
	--sdt-muted: #777;
	--sdt-line: #e8e8e8;          /* theme borders */
	--sdt-wa: #1fa855;            /* WhatsApp buttons only */
	--sdt-radius: 8px;
	--sdt-shadow: 0 6px 24px rgba(0, 0, 0, .1);
}

/* Inline SVG icons */
.sdt-icon { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex: none; }

/* Shared button */
.sdt-btn,
.sdt-btn:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color .2s, color .2s, transform .2s;
}
.sdt-btn:hover { transform: translateY(-1px); }
.sdt-btn--primary, .sdt-btn--primary:visited { background: var(--sdt-accent); color: #fff !important; }
.sdt-btn--primary:hover { background: var(--sdt-accent-dark); }
.sdt-btn--wa, .sdt-btn--wa:visited { background: var(--sdt-wa); color: #fff !important; }
.sdt-btn--wa:hover { background: #17893f; }
.sdt-btn--ghost, .sdt-btn--ghost:visited { border: 2px solid rgba(255, 255, 255, .7); color: #fff !important; padding: 11px 24px; }
.sdt-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.sdt-btn--lg { padding: 16px 32px; font-size: 16px; }


/* =========================================================
   STEP 1: HEADER
   ========================================================= */

/* Top bar */
.header-area-1 .top-bar-wrapper { border-bottom: var(--sdt-line) 1px solid; }
.header-area-1 .top-bar {
	padding: 9px 0;
	font-size: 14px;
}
.header-area-1 .top-bar,
.header-area-1 .top-bar a,
.header-area-1 .top-bar-left p {
	color: var(--sdt-ink);
	font-size: 14px;
}
.header-area-1 .top-bar a:hover { color: var(--sdt-accent); }
.header-area-1 .top-bar-left p { line-height: 1.6; }
.header-area-1 .top-bar-right ul { margin: 0; }
.header-area-1 .top-bar-right ul li { line-height: 1.6; }
.header-area-1 .top-bar-right ul li:after { content: ''; margin: 0; }
.sdt-topbar-link { margin-left: 18px; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.sdt-topbar-link .sdt-icon { color: var(--sdt-accent); }
.sdt-topbar-link--wa .sdt-icon { color: var(--sdt-wa); }

/* Language switcher, moved here from the menu bar by sdt.js.
   GTranslate is set to open upwards; anchor it to the top and open downwards. */
.header-area-1 .top-bar-right ul { display: flex; align-items: center; }
.header-area-1 .top-bar-right li.sdt-topbar-lang {
	position: relative;
	width: 150px;
	height: 24px;
	margin-left: 18px;
	padding: 0;
	z-index: 10000;
}
.sdt-topbar-lang [class*="gt_container"] { position: absolute !important; top: 0 !important; bottom: auto !important; left: 0 !important; right: auto !important; }
.sdt-topbar-lang .gt_switcher { display: flex; flex-direction: column-reverse; width: 150px !important; }
.sdt-topbar-lang .gt_switcher .gt_selected,
.sdt-topbar-lang .gt_switcher .gt_option { width: 148px !important; }
.sdt-topbar-lang .gt_switcher .gt_option { border-top: 0 !important; border-bottom: 1px solid var(--sdt-line) !important; box-shadow: var(--sdt-shadow); }
.sdt-topbar-lang .gt_switcher a { font-size: 13px !important; }

/* Logo row */
.header-area-1 .header-content { padding: 18px 0; }
.header-area-1 .logo img { max-height: 110px; width: auto; display: block; }
.header-area-1 .header-icon { border-left-color: var(--sdt-line); padding: 8px 18px; }
/* The parent's fa-check-square-o renders as an empty box (FA4/FA5 clash): swap for an SVG tick */
.header-area-1 .header-icon i { display: none; }
.header-area-1 .header-icon p strong:before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 0 7px 0 0;
	vertical-align: -2px;
	background: var(--sdt-accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") no-repeat center / contain;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.header-area-1 .header-icon p strong { color: var(--sdt-ink); font-size: 15px; }
.header-area-1 p.header-icon-text { color: var(--sdt-muted); font-size: 14px; }

/* Header CTA ("Online Booking" in Theme Options -> shown as quote button) */
.header-area-1 .topright-button {
	background: var(--sdt-accent) !important;
	color: #fff !important;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 15px;
	padding: 15px 30px;
	margin-top: 4px;
	box-shadow: 0 4px 14px rgba(204, 68, 82, .3);
	transition: background-color .2s, transform .2s;
}
.header-area-1 .topright-button:hover {
	background: var(--sdt-accent-dark) !important;
	transform: translateY(-1px);
}

/* Main navigation bar */
.header-area-1 #primary-navigation {
	background: var(--sdt-dark) !important;
	border-radius: var(--sdt-radius) var(--sdt-radius) 0 0;
}
.header-area-1 .navigation li a {
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 600;
	padding: 22px 18px;
	letter-spacing: .01em;
}
.header-area-1 .navigation li a:hover,
.header-area-1 .navigation li.current-menu-item > a,
.header-area-1 .navigation li.current_page_item > a,
.header-area-1 .navigation li.current-menu-ancestor > a {
	background: var(--sdt-accent) !important;
	color: #fff !important;
}
.header-area-1 .navigation ul li.menu-item-has-children > a:after { color: rgba(255, 255, 255, .7); }

/* Small laptops: keep all menu items on one line */
@media only screen and (min-width: 1021px) and (max-width: 1250px) {
	.header-area-1 .navigation > ul > li > a { font-size: 14px; padding: 20px 11px; }
	.header-area-1 .navigation ul li.menu-item-has-children > a:after { margin-left: 4px; }
	.header-area-1 .header-icon { padding: 8px 12px; }
	.header-area-1 .topright-button { padding: 14px 22px; }
}

/* Dropdowns */
.header-area-1 .navigation ul ul {
	border-top: 3px solid var(--sdt-accent);
	border-radius: 0 0 var(--sdt-radius) var(--sdt-radius);
	box-shadow: var(--sdt-shadow);
	padding: 6px 0;
	width: 260px;
}
.header-area-1 .navigation ul ul li a {
	color: var(--sdt-ink);
	font-weight: 500;
	font-size: 14.5px;
	padding: 10px 20px;
}
.header-area-1 .navigation ul ul li a:hover,
.header-area-1 .navigation li li a:hover {
	background: var(--sdt-accent) !important;
	color: #fff !important;
}

/* Mobile header */
@media only screen and (max-width: 1020px) {
	.header-area-1 .header-content { padding: 12px 0; }
	.header-area-1 .logo img { max-height: 56px; }
	#mobile-navigation a { color: var(--sdt-dark); }

	/* Menu + search buttons: the fa-bars / fa-search glyphs hit the FA4/FA5 clash, so draw them */
	#mobile-navigation a i { display: none; }
	#mobile-navigation a {
		display: inline-block;
		width: 42px;
		height: 42px;
		border-radius: 8px;
		vertical-align: middle;
		background: var(--sdt-soft) center / 22px 22px no-repeat;
	}
	#mobile-navigation #mobile-navigation-btn {
		background-color: var(--sdt-accent);
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
		margin-left: 6px;
	}
	#mobile-navigation a[href="#search-lightbox"] {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
	}
	.mobile-navigation-wrapper { background: var(--sdt-dark) !important; }
	.mobile-navigation-wrapper ul a:hover { background: var(--sdt-accent) !important; }
}


/* =========================================================
   STEP 2: CTA BAND + FOOTER
   ========================================================= */

/* The theme footer only holds the copyright line: replaced by .sdt-footer */
.outer-wrapper > footer.footer { display: none; }

.sdt-cta-band {
	position: relative;
	background: var(--sdt-dark) var(--sdt-cta-img, none) center / cover no-repeat;
	color: #fff;
	padding: 64px 20px;
}
.sdt-cta-band:before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(28, 28, 28, .84);
}
.sdt-cta-band__inner {
	position: relative;
	max-width: 1110px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
.sdt-cta-band__copy { max-width: 520px; }
.sdt-cta-band h2 { color: #fff; font-size: 30px; line-height: 1.25; margin: 0 0 10px; }
.sdt-cta-band p { color: #d6d6d6; font-size: 17px; line-height: 1.6; margin: 0; }
.sdt-cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.sdt-footer { background: var(--sdt-dark); color: #a8a8a8; font-size: 15px; line-height: 1.7; }
.sdt-footer__inner {
	max-width: 1110px;
	margin: 0 auto;
	padding: 56px 20px 40px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
}
.sdt-footer__name,
.sdt-footer__heading { font-family: 'Montserrat', sans-serif; color: #fff; font-weight: 700; margin: 0 0 16px; }
.sdt-footer__name { font-size: 20px; }
.sdt-footer__heading { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.sdt-footer p { margin: 0 0 16px; }
.sdt-footer ul { list-style: none; margin: 0; padding: 0; }
.sdt-footer li { margin: 0 0 8px; padding: 0; }
.sdt-footer li:before { display: none !important; }
.sdt-footer a { color: #d6d6d6; text-decoration: none; }
.sdt-footer a:hover { color: var(--sdt-accent); }
.sdt-footer__contact li { display: flex; align-items: center; gap: 10px; }
.sdt-footer__contact .sdt-icon { color: var(--sdt-accent); }
.sdt-footer__bottom {
	max-width: 1110px;
	margin: 0 auto;
	padding: 18px 20px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-size: 14px;
}
.sdt-footer__bottom p { margin: 0; }
.sdt-footer__top { display: inline-flex; align-items: center; gap: 4px; }

@media only screen and (max-width: 900px) {
	.sdt-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
	.sdt-footer__col--brand { grid-column: 1 / -1; }
}
@media only screen and (max-width: 560px) {
	.sdt-cta-band { padding: 48px 20px; }
	.sdt-cta-band h2 { font-size: 24px; }
	.sdt-cta-band__actions .sdt-btn { flex: 1 1 100%; justify-content: center; }
	.sdt-footer__inner { grid-template-columns: 1fr; }
	.sdt-footer__bottom { flex-direction: column; text-align: center; }
}


/* =========================================================
   STEP 3: MOBILE QUICK-CONTACT BAR
   Phones and tablets: the theme hides its top bar below 1020px.
   ========================================================= */

.sdt-mobile-cta { display: none; }

@media only screen and (max-width: 1020px) {
	.sdt-mobile-cta {
		display: grid;
		grid-template-columns: 1fr 1fr 1.3fr;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9990;
		background: #fff;
		border-top: 1px solid var(--sdt-line);
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.sdt-mobile-cta__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		padding: 9px 4px;
		font-family: 'Montserrat', sans-serif;
		font-size: 12.5px;
		font-weight: 700;
		color: var(--sdt-dark) !important;
		text-decoration: none !important;
	}
	.sdt-mobile-cta__item .sdt-icon { width: 20px; height: 20px; }
	.sdt-mobile-cta__item--wa { color: var(--sdt-wa) !important; }
	.sdt-mobile-cta__item--quote { background: var(--sdt-accent); color: #fff !important; }

	/* keep the page end clear of the bar; the bar has its own WhatsApp
	   button, so the floating chat bubble would only duplicate it */
	body { padding-bottom: 60px; }
	.joinchat { display: none !important; }
}


/* =========================================================
   STEP 4: HOMEPAGE HERO  ([sdt_hero] in a WPBakery text block,
   replacing the LayerSlider shortcode)
   ========================================================= */

.sdt-hero {
	position: relative;
	background: var(--sdt-dark) center / cover no-repeat;
	margin: 0 0 40px;
}
.sdt-hero:before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(28, 28, 28, .88) 0%, rgba(28, 28, 28, .55) 60%, rgba(28, 28, 28, .1) 100%);
}
.sdt-hero__inner { position: relative; max-width: 620px; padding: 88px 56px; color: #fff; }
.sdt-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 14px;
}
.sdt-hero__eyebrow:before { content: ""; width: 28px; height: 3px; background: var(--sdt-accent); flex: none; }
.main-content .sdt-hero__title,
.sdt-hero__title { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #fff; font-size: 44px; line-height: 1.15; margin: 0 0 18px; text-decoration: none; }
.sdt-hero__sub { font-size: 18px; line-height: 1.6; color: #eee; margin: 0 0 28px; }
.sdt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.main-content ul.sdt-hero__points,
.sdt-hero__points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.main-content .sdt-hero__points li,
.sdt-hero__points li { margin: 0; padding: 0 0 0 22px; position: relative; font-size: 15px; color: #fff; }
.main-content .sdt-hero__points li:before,
.sdt-hero__points li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 11px;
	height: 6px;
	border: solid var(--sdt-accent);
	border-width: 0 0 2px 2px;
	transform: rotate(-45deg);
}

@media only screen and (max-width: 767px) {
	.sdt-hero { margin-bottom: 28px; }
	.sdt-hero:before { background: rgba(28, 28, 28, .74); }
	.sdt-hero__inner { padding: 52px 22px; }
	.main-content .sdt-hero__title, .sdt-hero__title { font-size: 30px; }
	.sdt-hero__sub { font-size: 16px; }
	.sdt-hero__actions .sdt-btn { flex: 1 1 100%; justify-content: center; }
}


/* =========================================================
   STEP 5: WPBAKERY CONTENT, SITE-WIDE
   Restyles existing WPBakery elements only: no page is edited.
   ========================================================= */

/* TripAdvisor widget: its SVG logo has no width and stretches the page on phones */
.main-content img[src$=".svg"] { max-width: 100%; height: auto; }

/* Content links: theme red */
.main-content p a:hover { color: var(--sdt-accent-dark) !important; }

/* "BOOK CAR NOW" / "Book Now": the WPBakery red "danger" buttons */
.vc_btn3.vc_btn3-color-danger,
.vc_btn3.vc_btn3-color-danger.vc_btn3-style-classic {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	border-radius: 999px !important;
	padding: 12px 24px !important;
}

/* Card grid: any 1/4 or 1/3 WPBakery column that holds an image + text
   (fleet, destinations, tours) becomes an equal-height card. */
/* Chauffeur wraps outer-row columns in .col.span_12; inner rows hold them directly */
.vc_row:has(> .vc_col-sm-3 .wpb_single_image),
.vc_row:has(> .vc_col-sm-4 .wpb_single_image),
.span_12:has(> .vc_col-sm-3 .wpb_single_image),
.span_12:has(> .vc_col-sm-4 .wpb_single_image) { display: flex; flex-wrap: wrap; }
.vc_row:has(> .vc_col-sm-3 .wpb_single_image):before,
.vc_row:has(> .vc_col-sm-3 .wpb_single_image):after,
.vc_row:has(> .vc_col-sm-4 .wpb_single_image):before,
.vc_row:has(> .vc_col-sm-4 .wpb_single_image):after { display: none; }
/* gutter between cards */
.vc_col-sm-3:has(> .vc_column-inner .wpb_single_image),
.vc_col-sm-4:has(> .vc_column-inner .wpb_single_image) { padding: 0 10px !important; margin-bottom: 24px; }
.vc_col-sm-3 > .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column),
.vc_col-sm-4 > .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) {
	background: #fff;
	border: 1px solid var(--sdt-line);
	border-radius: var(--sdt-radius);
	overflow: hidden;
	height: 100%;
	margin: 0;
	padding: 0 0 18px !important;
	transition: box-shadow .2s, transform .2s;
}
/* stack the card and push the Book button to the bottom so buttons line up */
.vc_col-sm-3 > .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) > .wpb_wrapper,
.vc_col-sm-4 > .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) > .wpb_wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.vc_col-sm-3 .vc_column-inner:has(.wpb_single_image) .vc_btn3-container,
.vc_col-sm-4 .vc_column-inner:has(.wpb_single_image) .vc_btn3-container { margin-top: auto !important; }
.vc_col-sm-3 > .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column):hover,
.vc_col-sm-4 > .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column):hover {
	box-shadow: var(--sdt-shadow);
	transform: translateY(-2px);
}
.vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) .wpb_single_image { margin: 0 0 16px; }
.vc_col-sm-3 .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) .vc_single_image-wrapper,
.vc_col-sm-4 .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) .vc_single_image-wrapper,
.vc_col-sm-3 .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) .vc_figure,
.vc_col-sm-4 .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) .vc_figure,
.vc_col-sm-3 .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) .vc_single_image-img,
.vc_col-sm-4 .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) .vc_single_image-img {
	display: block;
	width: 100%;
	border: 0 !important;
	padding: 0 !important;
	border-radius: 0;
	aspect-ratio: 25 / 16;
	object-fit: cover;
}
.vc_col-sm-3 .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) .wpb_text_column,
.vc_col-sm-4 .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) .wpb_text_column,
.vc_col-sm-3 .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) .vc_btn3-container,
.vc_col-sm-4 .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) .vc_btn3-container {
	padding: 0 18px;
	margin-bottom: 12px;
}
.vc_col-sm-3 .vc_column-inner:has(.wpb_single_image) h4,
.vc_col-sm-4 .vc_column-inner:has(.wpb_single_image) h4 { font-size: 18px; margin: 0 0 8px; }
.vc_col-sm-3 .vc_column-inner:has(.wpb_single_image) .wpb_text_column p,
.vc_col-sm-4 .vc_column-inner:has(.wpb_single_image) .wpb_text_column p { font-size: 15px; line-height: 1.6; color: var(--sdt-muted); }

@media only screen and (max-width: 767px) {
	.vc_col-sm-3 > .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column),
	.vc_col-sm-4 > .vc_column-inner:has(.wpb_single_image):has(.wpb_text_column) { height: auto; }
}


/* =========================================================
   STEP 6: PAGE SIDEBAR (location pages)
   Same proportions and widget look as the theme's own sidebar.
   ========================================================= */

.sdt-has-sidebar {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	padding: 40px 15px 0;
}
.sdt-page-main { flex: 1 1 68%; min-width: 0; }
.sdt-has-sidebar > .sdt-sidebar {
	float: none;
	flex: 0 0 32%;
	width: auto;
	padding: 0;
}
.sdt-sidebar .widget { margin-bottom: 40px; }
.sdt-sidebar .widget-block { background: var(--sdt-accent); }
.sdt-sidebar .widget h3 { margin-bottom: 18px; }
.sdt-sidebar .widget ul li { padding: 10px 0 10px 18px; }
.sdt-sidebar .widget ul li:before { position: absolute; left: 0; top: 50%; color: var(--sdt-accent); }
.sdt-sidebar .widget ul li a { color: var(--sdt-ink); text-decoration: none; }
.sdt-sidebar .widget ul li a:hover { color: var(--sdt-accent); }

.sdt-widget-book p { font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.sdt-widget-book__actions { display: flex; flex-direction: column; gap: 10px; }
.sdt-widget-book__actions .sdt-btn { justify-content: center; }
.sdt-widget-book__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 6px 0;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	color: var(--sdt-dark) !important;
	text-decoration: none !important;
}
.sdt-widget-book__phone .sdt-icon { color: var(--sdt-accent); }

/* Sticky sidebars (desktop). The theme's menu bar becomes fixed (62px) on scroll;
   sdt.js sets --sdt-sticky-top so a sidebar taller than the screen scrolls until
   its last box is visible and then holds ("smart sticky"). */
@media only screen and (min-width: 1021px) {
	.sdt-has-sidebar > .sdt-sidebar,
	.blog .sidebar-content,
	.archive .sidebar-content,
	.search .sidebar-content,
	.single-post .sidebar-content {
		position: sticky;
		top: var(--sdt-sticky-top, 86px);
	}
}

/* Phones and tablets: the sidebar sits under the content as full-width boxes
   with even side padding (the desktop left border and indent waste space). */
@media only screen and (max-width: 1020px) {
	.sidebar-content,
	.sdt-has-sidebar > .sdt-sidebar {
		float: none;
		width: auto !important;
		padding: 0 16px !important;
		margin: 40px 0 0;
	}
	.sidebar-content .widget,
	.sdt-sidebar .widget {
		border-left: 0;
		border-top: 1px solid var(--sdt-line);
		padding: 24px 0 0;
		margin: 0 0 32px;
	}
	.sidebar-content .widget-block,
	.sdt-sidebar .widget-block { top: -1px; left: 0; width: 48px; height: 3px; }
	.sdt-widget-book__actions { max-width: 420px; }
	/* the breadcrumb under the page title touched the screen edge */
	#page-header .page-header-inner { padding-left: 16px; padding-right: 16px; }
}

/* In the narrower column, WPBakery 1/3 cards read better two per row */
.sdt-page-main .vc_col-sm-4:has(> .vc_column-inner .wpb_single_image) { width: 50%; }

@media only screen and (max-width: 1020px) {
	.sdt-has-sidebar { display: block; padding-top: 24px; }
	.sdt-has-sidebar > .sdt-sidebar { padding: 0 !important; }
}
@media only screen and (max-width: 767px) {
	.sdt-page-main .vc_col-sm-4:has(> .vc_column-inner .wpb_single_image) { width: 100%; }
}


/* =========================================================
   STEP 7: BLOG
   Listing = two-column card grid of summaries; single post =
   larger title and photo, booking prompt, related articles.
   ========================================================= */

/* --- Listing (Travel News, categories, search) ---
   One post per row: photo left, text right. Stacks on phones. */
.news-block-wrapper-1-col-listing:not(.news-single) {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 40px;
}
.news-block-wrapper-1-col-listing:not(.news-single):before,
.news-block-wrapper-1-col-listing:not(.news-single):after { display: none; }
.news-block-wrapper-1-col-listing:not(.news-single) .news-block {
	display: grid;
	grid-template-columns: 1fr;
	align-content: start;
	padding: 24px;
	margin: 0;
	border: 1px solid var(--sdt-line);
	border-radius: var(--sdt-radius);
	background: #fff;
	transition: box-shadow .2s;
}
.news-block-wrapper-1-col-listing:not(.news-single) .news-block:last-child { border-bottom: 1px solid var(--sdt-line); }
.news-block-wrapper-1-col-listing:not(.news-single) .news-block:hover { box-shadow: var(--sdt-shadow); }
.news-block-wrapper-1-col-listing:not(.news-single) .news-description { display: contents; }

/* with a photo: two columns, the photo spans the full height of the row */
.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) {
	grid-template-columns: 260px 1fr;
	grid-template-rows: auto auto 1fr auto;
	column-gap: 24px;
	padding: 0 24px 0 0;
	overflow: hidden;
}
.news-block-wrapper-1-col-listing:not(.news-single) .news-block-image {
	grid-column: 1;
	grid-row: 1 / -1;
	margin: 0;
}
.news-block-wrapper-1-col-listing:not(.news-single) .news-block-image a { display: block; height: 100%; }
.news-block-wrapper-1-col-listing:not(.news-single) .news-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 210px;
	max-width: none;
	object-fit: cover;
}
.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) > h3,
.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) > .news-meta,
.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) .sdt-excerpt,
.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) .sdt-read-more { grid-column: 2; }
.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) > h3 { margin-top: 22px; }
.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) .sdt-read-more { margin-bottom: 22px; }

.news-block-wrapper-1-col-listing:not(.news-single) .news-block h3 {
	font-size: 20px;
	line-height: 1.35;
	margin: 0 0 8px;
}
.news-block-wrapper-1-col-listing:not(.news-single) .news-block h3 a { color: var(--sdt-dark); text-decoration: none; }
.news-block-wrapper-1-col-listing:not(.news-single) .news-block h3 a:hover { color: var(--sdt-accent); }
.news-block-wrapper-1-col-listing:not(.news-single) .news-block .news-meta {
	margin: 0 0 10px;
	padding: 0;
	border-top: 0;
}
.news-block-wrapper-1-col-listing:not(.news-single) .news-meta span { font-size: 13.5px; margin-right: 16px; color: var(--sdt-muted); }
.news-block-wrapper-1-col-listing:not(.news-single) .news-meta .nm-news-author,
.news-block-wrapper-1-col-listing:not(.news-single) .news-meta .nm-news-comments { display: none; }
.news-block-wrapper-1-col-listing:not(.news-single) .sdt-excerpt {
	margin: 0 0 16px !important;
	font-size: 15px;
	line-height: 1.65;
	color: var(--sdt-ink);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.news-block-wrapper-1-col-listing:not(.news-single) .sdt-read-more {
	justify-self: start;
	align-self: end;
	margin: 0;
	text-decoration: none;
}
/* the theme's pagination under the list */
.pagination-wrapper { margin: 10px 0 40px; }

/* --- Single post --- */
.news-single .news-block > h3 {
	font-size: 32px;
	line-height: 1.25;
	margin: 0 0 14px;
	color: var(--sdt-dark);
}
.news-single .news-block-image img { display: block; width: 100%; height: auto; border-radius: var(--sdt-radius); }
.news-single .news-block > p,
.news-single .news-block > ul li,
.news-single .news-block > ol li { font-size: 17px; line-height: 1.75; }

.sdt-post-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin: 40px 0;
	padding: 26px 28px;
	background: var(--sdt-soft);
	border-left: 4px solid var(--sdt-accent);
	border-radius: var(--sdt-radius);
}
.sdt-post-cta h3 { font-size: 20px; margin: 0 0 6px; }
.sdt-post-cta p { margin: 0; font-size: 15px; color: var(--sdt-ink); }
.sdt-post-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.sdt-related { margin: 0 0 20px; }
.sdt-related h3 { font-size: 20px; margin: 0 0 18px; }
.sdt-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sdt-related__card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--sdt-line);
	border-radius: var(--sdt-radius);
	overflow: hidden;
	text-decoration: none !important;
	background: #fff;
	transition: box-shadow .2s, transform .2s;
}
.sdt-related__card:hover { box-shadow: var(--sdt-shadow); transform: translateY(-2px); }
.sdt-related__card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sdt-related__date { margin: 12px 14px 4px; font-size: 13px; color: var(--sdt-muted); }
.sdt-related__title {
	margin: 0 14px 16px;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--sdt-dark);
}
.sdt-related__card:hover .sdt-related__title { color: var(--sdt-accent); }

/* Comment form: keep it, but smaller than the article */
.news-single ~ #respond-wrapper textarea,
#respond-wrapper textarea { height: 130px; }

/* --- Blog sidebar (printed inside the theme's own .sidebar-content) --- */
.sidebar-content .sdt-widget-book,
.sdt-sidebar .sdt-widget-book { background: none; }
.sidebar-content .widget ul li:before { color: var(--sdt-accent); }
.sidebar-content .widget ul li a { color: var(--sdt-ink); text-decoration: none; }
.sidebar-content .widget ul li a:hover { color: var(--sdt-accent); }
.sdt-widget-posts .news-widget-wrapper { margin: 0 0 16px; }
.sdt-widget-posts .news-widget-wrapper img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; }
.sdt-widget-posts .news-widget-content { overflow: hidden; }
.sdt-widget-posts .news-widget-content h4 a { color: var(--sdt-dark); text-decoration: none; }
.sdt-widget-posts .news-widget-content h4 a:hover { color: var(--sdt-accent); }

@media only screen and (max-width: 767px) {
	.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		padding: 0 0 20px;
	}
	.news-block-wrapper-1-col-listing:not(.news-single) .news-block-image { grid-row: auto; order: -1; margin-bottom: 16px; }
	.news-block-wrapper-1-col-listing:not(.news-single) .news-block-image img { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
	.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) > h3,
	.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) > .news-meta,
	.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) .sdt-excerpt,
	.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) .sdt-read-more { grid-column: 1; margin-left: 18px !important; margin-right: 18px !important; }
	.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) > h3 { margin-top: 0; }
	.news-block-wrapper-1-col-listing:not(.news-single) .news-block:has(.news-block-image) .sdt-read-more { margin-bottom: 0; }
	.news-block-wrapper-1-col-listing:not(.news-single) .news-block:not(:has(.news-block-image)) { padding: 18px; }
	.news-block-wrapper-1-col-listing:not(.news-single) .sdt-read-more { padding: 14px 26px; }
	.news-single .news-block > h3 { font-size: 26px; }
	.sdt-related__grid { grid-template-columns: 1fr; }
	.sdt-post-cta__actions .sdt-btn { flex: 1 1 100%; justify-content: center; }
}

/* Tablets: keep the quick-contact bar compact and centred */
@media only screen and (min-width: 768px) and (max-width: 1020px) {
	.sdt-mobile-cta { grid-template-columns: repeat(3, 190px); justify-content: center; }
	.sdt-mobile-cta__item { flex-direction: row; gap: 8px; font-size: 14px; padding: 14px 8px; }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

/* Visible keyboard focus on everything the plugin adds */
.sdt-btn:focus-visible,
.sdt-mobile-cta__item:focus-visible,
.sdt-topbar-link:focus-visible,
.sdt-footer a:focus-visible,
.sdt-sidebar a:focus-visible,
.sidebar-content a:focus-visible,
.sdt-related__card:focus-visible,
.sdt-read-more:focus-visible,
.sdt-widget-book__phone:focus-visible {
	outline: 3px solid var(--sdt-accent);
	outline-offset: 2px;
}

/* No hover lift for visitors who ask their device to reduce motion */
@media (prefers-reduced-motion: reduce) {
	.sdt-btn,
	.sdt-related__card,
	.news-block,
	.vc_column-inner,
	.header-area-1 .topright-button { transition: none !important; transform: none !important; }
}
