/*
Theme Name:   Hello Elementor Child – Boddens
Theme URI:    http://boddens.test/
Description:  Child theme of Hello Elementor for Bodden Corporate Services Ltd. Holds brand fonts and small CSS that Elementor widget controls can't express.
Author:       Boddens
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elementor-child
*/

/* ==========================================================================
   1. Brand fonts (self-hosted Exo)
   ========================================================================== */
@font-face { font-family: Exo; src: url("assets/fonts/Exo-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: Exo; src: url("assets/fonts/Exo-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Exo; src: url("assets/fonts/Exo-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Exo; src: url("assets/fonts/Exo-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Exo; src: url("assets/fonts/Exo-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Exo; src: url("assets/fonts/Exo-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
/* 800: the static site's labels/buttons use weight 750, which resolves to this face */
@font-face { font-family: Exo; src: url("assets/fonts/Exo-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

/* ==========================================================================
   2. Brand tokens + base
   ========================================================================== */
:root {
	--bod-ink: #102c37;
	--bod-deep: #071f2b;
	--bod-teal: #063f46;
	--bod-sea: #2f6f7b;
	--bod-sand: #d9c59d;
	--bod-shell: #f1f3f2;
	--bod-paper: #fbfbf9;
	--bod-line: #d9dfdd;
	--bod-footer: #061923;
}

body {
	font-family: Exo, Arial, sans-serif;
	color: var(--bod-ink);
	background: var(--bod-paper);
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid #44a69c;
	outline-offset: 4px;
}

/* ==========================================================================
   3. Header – HFE Navigation Menu: services dropdown panel
   (matches .services-menu from the static build)
   ========================================================================== */
.bod-header .hfe-nav-menu .sub-menu {
	border-top: 3px solid var(--bod-sand);
	box-shadow: 0 22px 55px rgba(7, 31, 43, .2);
	padding: 12px;
}
.bod-header .hfe-nav-menu .sub-menu li:last-child .hfe-sub-menu-item {
	border-bottom: 0 !important;
}
.bod-header .hfe-nav-menu .sub-menu .hfe-sub-menu-item {
	transition: background-color .2s, color .2s, padding-left .2s;
}
@media (min-width: 1025px) {
	.bod-header .hfe-nav-menu .sub-menu .hfe-sub-menu-item:hover {
		padding-left: 16px;
	}
	/* centre the dropdown under "Services" */
	.bod-header .hfe-nav-menu > li.menu-item-has-children > .sub-menu {
		left: 50% !important;
		transform: translateX(-50%);
	}
	/* invisible bridge so the menu doesn't close in the gap */
	.bod-header .hfe-nav-menu > li.menu-item-has-children > .sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -25px;
		height: 25px;
	}
	.bod-header .menu-mobile-only {
		display: none !important;
	}
}

/* Mobile menu (≤900px, the static build's breakpoint) – hamburger on the right
   of an 80px header; the menu opens as a deep navy panel under the header,
   inset to the page width, links left-aligned, the Services list always open
   in a lighter box, "Contact us" as a pill.
   HFE's own switch point is 1024px ("tablet" breakpoint) and it positions the
   panel with inline styles from JS; the rules below take over (!important) so
   the panel never pushes the hamburger off screen. 901–1024px: see below. */
@media (max-width: 900px) {
	/* the panel is positioned against the header's inner (page-width) box */
	.bod-header > .e-con-inner {
		position: relative;
	}
	.bod-header .bod-header-right,
	.bod-header .bod-main-nav,
	.bod-header .bod-main-nav .elementor-widget-container,
	.bod-header .bod-main-nav .hfe-nav-menu {
		position: static !important;
	}
	.bod-header .bod-header-right {
		flex: 0 0 auto !important;
		width: auto !important;
		margin-left: auto;
	}

	/* hamburger: 24px white icon, no box */
	.bod-header .hfe-nav-menu__toggle {
		margin: 4px 0 0 !important; /* icon top at 28px, as the static header */
		padding: 0 !important;
	}
	.bod-header .hfe-nav-menu__toggle .hfe-nav-menu-icon {
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		color: #fff !important;
		line-height: 0;
	}
	.bod-header .hfe-nav-menu__toggle .hfe-nav-menu-icon svg {
		width: 24px !important;
		height: 24px !important;
		fill: none !important; /* Lucide "menu" is a stroke icon */
		stroke: #fff;
	}

	/* the panel: hidden until the hamburger is clicked */
	.bod-header nav.hfe-dropdown {
		position: absolute !important;
		top: 78px !important;
		left: 0 !important;
		right: 0 !important;
		width: auto !important;
		z-index: 9999 !important;
		margin: 0 !important;
		padding: 25px !important;
		background: var(--bod-deep) !important;
		box-shadow: none !important;
		border: 0 !important;
		transform: none !important;
	}
	.bod-header nav.hfe-dropdown:not(.menu-is-active) {
		display: none !important;
	}
	.bod-header nav.hfe-dropdown.menu-is-active {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		height: auto !important;
		max-height: none !important;
	}
	.bod-header nav.hfe-dropdown > ul.hfe-nav-menu {
		display: flex !important;
		flex-direction: column;
		gap: 29px;
		margin: 0 !important;
		padding: 0 !important;
		background: transparent !important;
	}
	/* HFE clearfix pseudo-elements would count as flex items (extra 29px gaps) */
	.bod-header nav.hfe-dropdown > ul.hfe-nav-menu::before,
	.bod-header nav.hfe-dropdown > ul.hfe-nav-menu::after {
		display: none !important;
	}
	.bod-header nav.hfe-dropdown li.menu-item {
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		text-align: left;
	}
	.bod-header nav.hfe-dropdown li > .hfe-has-submenu-container {
		border: 0 !important;
	}
	.bod-header nav.hfe-dropdown li a.hfe-menu-item {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 4px;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		color: #fff !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: 1.5 !important;
		text-align: left;
	}
	.bod-header nav.hfe-dropdown li a.hfe-menu-item:hover,
	.bod-header nav.hfe-dropdown li a.hfe-sub-menu-item:hover {
		color: var(--bod-sand) !important;
	}
	/* Services: centred "Services ⌄" with its list always open */
	.bod-header nav.hfe-dropdown li.menu-item-has-children > .hfe-has-submenu-container > a.hfe-menu-item {
		justify-content: center;
	}
	.bod-header nav.hfe-dropdown .hfe-menu-toggle {
		position: static !important;
		padding: 0 !important;
		margin: 0 0 0 2px !important;
		border: 0 !important;
		width: auto !important;
		height: auto !important;
		transform: none !important;
	}
	.bod-header nav.hfe-dropdown .hfe-menu-toggle::before {
		display: none !important;
	}
	.bod-header nav.hfe-dropdown .sub-menu {
		position: static !important;
		display: grid !important;
		visibility: visible !important;
		opacity: 1 !important;
		height: auto !important;
		width: auto !important;
		left: auto !important;
		transform: none !important;
		transition: none !important;
		margin: 10px 0 0 !important;
		padding: 8px !important;
		border: 0 !important;
		box-shadow: none !important;
		background: rgba(255, 255, 255, .06) !important;
	}
	.bod-header nav.hfe-dropdown .sub-menu::before {
		display: none !important;
	}
	.bod-header nav.hfe-dropdown .sub-menu li.menu-item {
		text-align: center;
	}
	.bod-header nav.hfe-dropdown li a.hfe-sub-menu-item {
		display: block;
		padding: 10px 12px !important;
		border: 0 !important;
		border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
		background: transparent !important;
		color: #fff !important;
		font-size: 12px !important;
		font-weight: 600 !important;
		line-height: 1.35 !important;
		text-align: center;
	}
	.bod-header nav.hfe-dropdown .sub-menu li:last-child a.hfe-sub-menu-item {
		border-bottom: 0 !important;
	}
	/* Contact us: outlined pill with arrow */
	.bod-header nav.hfe-dropdown li.menu-mobile-only > a.hfe-menu-item {
		gap: 12px;
		padding: 12px 17px !important;
		border: 1px solid #fff !important;
		border-radius: 999px;
	}
	.bod-header nav.hfe-dropdown li.menu-mobile-only > a.hfe-menu-item::after {
		content: "";
		width: 15px;
		height: 15px;
		flex: none;
		background-color: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	}
}

/* 901–1024px: the static build still shows the full desktop menu here, but
   HFE has already switched to its hamburger/dropdown mode (fixed 1024px).
   Restore the desktop menu: one row, 29px gaps, Services list on hover,
   "Contact us" button visible. */
@media (min-width: 901px) and (max-width: 1024px) {
	.bod-header .hfe-nav-menu__toggle {
		display: none !important;
	}
	.bod-header .bod-header-right {
		flex-wrap: nowrap;
	}
	.bod-header nav.hfe-dropdown {
		display: block !important;
		position: static !important;
		visibility: visible !important;
		opacity: 1 !important;
		height: auto !important;
		width: auto !important;
		left: auto !important;
		z-index: auto !important;
		padding: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		transform: none !important;
	}
	.bod-header nav.hfe-dropdown > ul.hfe-nav-menu {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap;
		align-items: center;
		gap: 29px;
		visibility: visible !important; /* HFE hides the list in its tablet mode */
		opacity: 1 !important;
		height: auto !important;
		background: transparent !important;
	}
	.bod-header nav.hfe-dropdown > ul.hfe-nav-menu::before,
	.bod-header nav.hfe-dropdown > ul.hfe-nav-menu::after {
		display: none !important;
	}
	.bod-header nav.hfe-dropdown li.menu-item {
		position: relative;
		width: auto !important;
		margin: 0 !important;
		border: 0 !important;
		background: transparent !important;
	}
	.bod-header nav.hfe-dropdown li.menu-mobile-only {
		display: none !important;
	}
	.bod-header nav.hfe-dropdown li > .hfe-has-submenu-container {
		border: 0 !important;
	}
	.bod-header nav.hfe-dropdown li a.hfe-menu-item {
		display: flex;
		align-items: center;
		gap: 4px;
		padding: 10px 0 !important;
		border: 0 !important;
		background: transparent !important;
		color: #fff !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: 1 !important;
		white-space: nowrap;
	}
	.bod-header nav.hfe-dropdown li a.hfe-menu-item:hover {
		color: var(--bod-sand) !important;
	}
	.bod-header nav.hfe-dropdown .hfe-menu-toggle {
		position: static !important;
		padding: 0 !important;
		margin: 0 0 0 2px !important;
		border: 0 !important;
	}
	/* Services list: white panel under the link, shown on hover / keyboard focus */
	.bod-header nav.hfe-dropdown .sub-menu {
		position: absolute !important;
		top: 33px !important;
		left: 50% !important;
		width: 330px !important;
		height: auto !important;
		transform: translateX(-50%) !important;
		margin: 0 !important;
		padding: 12px !important;
		background: #fff !important;
		border-top: 3px solid var(--bod-sand) !important;
		box-shadow: 0 22px 55px rgba(7, 31, 43, .2) !important;
		visibility: hidden !important;
		opacity: 0 !important;
		transition: opacity .2s, visibility .2s !important;
		z-index: 9999;
	}
	.bod-header nav.hfe-dropdown li.menu-item-has-children:hover > .sub-menu,
	.bod-header nav.hfe-dropdown li.menu-item-has-children:focus-within > .sub-menu {
		visibility: visible !important;
		opacity: 1 !important;
	}
	.bod-header nav.hfe-dropdown li.menu-item-has-children > .sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -25px;
		height: 25px;
	}
	.bod-header nav.hfe-dropdown .sub-menu li.menu-item {
		width: 100% !important;
	}
	.bod-header nav.hfe-dropdown li a.hfe-sub-menu-item {
		display: block;
		padding: 10px 12px !important;
		border: 0 !important;
		background: transparent !important;
		color: var(--bod-ink) !important;
		font-size: 12px !important;
		font-weight: 600 !important;
		text-align: left;
	}
	.bod-header nav.hfe-dropdown li a.hfe-sub-menu-item:hover {
		color: var(--bod-teal) !important;
		background: #f1f6f3 !important;
	}
	/* "Contact us" button: Elementor hides it on tablet; the static build shows it here */
	.bod-header .bod-header-cta.elementor-hidden-tablet {
		display: block !important;
	}
}

/* ==========================================================================
   4. Shared helpers used by Elementor widgets
   ========================================================================== */
/* Lucide icons are stroke icons: Elementor fills SVGs by default */
.elementor .bod-btn svg,
.elementor .bod-card-icon svg,
.elementor .bod-card-arrow svg,
.elementor .bod-value svg {
	fill: none !important;
	stroke: currentColor;
}
.elementor .bod-value .elementor-icon-box-content .elementor-icon-box-title{ margin-top: 0px !important; }
.elementor .bod-btn .elementor-button-icon svg {
	width: 17px;
	height: 17px;
}
.elementor .bod-btn .elementor-button-icon {
	transition: transform .2s;
}
.elementor .bod-btn:hover .elementor-button-icon {
	transform: translateX(3px);
}
/* Linked containers (cards / banners) must not take theme link colours */
a.e-con,
a.e-con:hover,
a.e-con:focus {
	color: inherit;
	text-decoration: none;
}
/* Text editor paragraphs */
.elementor .elementor-widget-text-editor p {
	margin: 0 0 18px;
}
.elementor .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   5. Home page
   ========================================================================== */
/* ==========================================================================
   Services grid (CPT bod_service, widget "Boddens Services Grid")
   Loop item: template-parts/loop/service-card.php
   Mirrors the static site's .service-card-grid / .service-card.
   ========================================================================== */
/*
 * Service grid lines (Services Grid widget .bod-svc-grid and the home page
 * Elementor grid .bod-service-grid):
 *  - inner lines: each card draws only its top + left border. A card is
 *    painted after the cards before it, so its lines are never covered;
 *  - outer frame: a ::after layer on the grid, painted above all cards.
 * Every line is one pixel and can't disappear, whatever the screen size.
 * (A 1px gap or right/bottom borders failed when columns have fractional
 * widths - e.g. 356.2px on a 1134px screen - because the next card's
 * background is rounded over the line on some sizes.)
 */
.bod-svc-grid,
.elementor .bod-service-grid {
	position: relative;
}
.bod-svc-grid::after,
.elementor .bod-service-grid::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border: 1px solid var(--bod-grid-line, #d3d8d3);
	pointer-events: none;
}
.bod-svc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	background: var(--bod-grid-line, #d3d8d3); /* fills an empty last cell, like the static site */
}
.bod-svc-card {
	position: relative;
	display: block;
	box-sizing: border-box;
	min-height: 320px;
	border-top: 1px solid var(--bod-grid-line, #d3d8d3);
	border-left: 1px solid var(--bod-grid-line, #d3d8d3);
	padding: 33px;
	overflow: hidden;
	background: var(--bod-paper);
	color: var(--bod-ink);
	text-decoration: none;
	transition: background-color .25s, transform .25s, box-shadow .25s;
}
.bod-svc-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid transparent;
	pointer-events: none;
	transition: all .25s;
}
.bod-svc-card:is(:hover, :focus-visible) {
	z-index: 2;
	outline: 0;
	color: #fff;
	background: #497875;
	transform: translateY(-5px);
	box-shadow: 0 18px 45px rgba(10, 39, 50, .18);
}
.bod-svc-card:is(:hover, :focus-visible)::before {
	inset: 10px;
	border-color: rgba(255, 255, 255, .35);
}
.bod-svc-card__num {
	display: block;
	font-size: 14px;
	line-height: 1.2;
	color: #9aa6a4;
	transition: color .25s;
}
.bod-svc-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 50px 0 18px;
	border: 1px solid rgba(47, 111, 123, .28);
	border-radius: 50%;
	color: var(--bod-sea);
	transition: all .25s;
}
.bod-svc-card__icon svg,
.bod-svc-card__arrow svg {
	display: block;
	fill: none;
	stroke: currentColor;
}
.bod-svc-card__title {
	margin: 0 0 13px;
	font-size: 26px;
	font-weight: 400;
	line-height: 1.16;
	color: inherit;
}
.bod-svc-card__text {
	margin: 0;
	font-size: 13px;
	line-height: 1.65;
	color: #68777b;
	transition: color .25s;
}
.bod-svc-card__arrow {
	position: absolute;
	right: 28px;
	bottom: 28px;
	color: var(--bod-sea);
	transition: all .25s;
}
.bod-svc-card:is(:hover, :focus-visible) .bod-svc-card__num,
.bod-svc-card:is(:hover, :focus-visible) .bod-svc-card__text {
	color: rgba(255, 255, 255, .76);
}
.bod-svc-card:is(:hover, :focus-visible) .bod-svc-card__icon {
	color: #fff;
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .45);
}
.bod-svc-card:is(:hover, :focus-visible) .bod-svc-card__arrow {
	color: var(--bod-sand);
	transform: translateX(4px);
}
@media (max-width: 1024px) {
	.bod-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.bod-svc-grid { grid-template-columns: 1fr; }
	.bod-svc-card { min-height: 285px; }
}

/* KSG banner */
.bod-ksg-banner .bod-ksg-cta {
	white-space: nowrap;
}
@media (max-width: 1024px) {
	.bod-ksg-banner .bod-ksg-cta {
		grid-column: 1 / -1;
	}
}
@media (max-width: 767px) {
	.bod-ksg-banner .bod-ksg-cta {
		grid-column: auto;
	}
}

/* FAQ (nested accordion) */
.bod-faq .e-n-accordion-item-title {
	gap: 18px;
}
.bod-faq .e-n-accordion-item-title-text {
	margin: 0;
	line-height: 26px;
}
.bod-faq .e-n-accordion-item[open] > .e-n-accordion-item-title,
.bod-faq .e-n-accordion-item[open] > .e-con {
	background: rgba(255, 255, 255, .4);
}
.bod-faq .e-n-accordion-item > .e-con {
	border: 0px;
	border-bottom: 1px solid #c0d0cf;
}
.bod-faq .e-n-accordion-item[open] > .e-n-accordion-item-title {
	border-bottom-color: transparent;
	border-bottom: 0px !important;
}

/* ==========================================================================
   Posts loop (Elementor widget "Boddens Posts Loop")
   Loop item: template-parts/loop/insight-card.php
   Defaults below; every value can be overridden in the widget's Style tab.
   ========================================================================== */
.bod-posts-loop {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
@media (max-width: 1024px) {
	.bod-posts-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.bod-posts-loop { grid-template-columns: 1fr; }
}
.bod-post-card {
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e0e7e2;
	border-radius: 14px;
	overflow: hidden;
	transition: transform .2s, box-shadow .2s;
}
.bod-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(6, 63, 70, .07);
}
.bod-post-card__image {
	display: block;
	overflow: hidden;
}
.bod-post-card__image img {
	display: block;
	width: 100%;
	height: 185px;
	object-fit: cover;
	transition: transform .4s;
}
.bod-post-card:hover .bod-post-card__image img {
	transform: scale(1.025);
}
.bod-post-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 22px;
}
.bod-post-card__meta {
	margin: 0;
	font-size: 11px;
	line-height: 1.7;
}
.bod-post-card__category {
	display: block;
	color: var(--bod-sea);
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}
.bod-post-card__read-time {
	display: block;
	color: #617b72;
	font-weight: 400;
}
.bod-post-card__title {
	margin: 12px 0 16px;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 400;
	color: var(--bod-teal);
}
.bod-post-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color .2s;
}
.bod-post-card__title a:hover {
	color: var(--bod-sea);
}
.bod-post-card__excerpt {
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 1.7;
	color: #5b6f68;
}
.bod-post-card__link {
	margin-top: auto;
	padding-top: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	color: var(--bod-sea);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: color .2s;
}
.bod-post-card__link:hover {
	color: var(--bod-teal);
}
.bod-posts-loop__empty {
	color: var(--bod-muted, #68777b);
}
@media (max-width: 767px) {
	.bod-post-card__image img { height: 230px; }
}

/* Enquiry form (Contact Form 7 via Shortcode widget)
   Values mirror the static site's .inquiry-form as it actually renders. */
.bod-inquiry-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	font-family: Exo, Arial, sans-serif;
	color: var(--bod-ink);
}
.bod-inquiry-form .hidden-fields-container {
	display: none;
}
.bod-inquiry-form .bod-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.bod-inquiry-form label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--bod-ink);
}
.bod-inquiry-form .wpcf7-form-control-wrap {
	display: block;
}
.bod-inquiry-form input:not([type="hidden"]),
.bod-inquiry-form select,
.bod-inquiry-form textarea {
	display: block;
	width: 100%;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 12px;
	background: #fbfaf6;
	border: 1px solid currentColor;
	border-radius: 0;
	box-shadow: none;
	font-family: Exo, Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4286;
	letter-spacing: 0;
	text-transform: none;
	color: var(--bod-ink);
	transition: border-color .15s;
}
.bod-inquiry-form select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 36px;
	cursor: pointer;
	/* lucide chevron-down, 16px, 10px from the right edge */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102c37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px 16px;
}
.bod-inquiry-form textarea {
	height: 110px;
	resize: vertical;
}
.bod-inquiry-form input:not([type="hidden"]):focus,
.bod-inquiry-form select:focus,
.bod-inquiry-form textarea:focus {
	outline: 0;
	border-color: var(--bod-sea);
}
/* Submit: same as the static site's ".button.ink" */
.bod-inquiry-form .bod-form-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.bod-inquiry-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: max-content;
	margin: 0;
	padding: 15px 21px;
	border: 0;
	border-radius: 999px;
	background: var(--bod-deep);
	color: #fff;
	font-family: Exo, Arial, sans-serif;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.5; /* 19.5px text + 15px padding = 50px, as the static form */
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: background-color .2s;
}
.bod-inquiry-form button[type="submit"]:hover,
.bod-inquiry-form button[type="submit"]:focus {
	background: var(--bod-teal);
	color: #fff;
}
.bod-inquiry-form button[type="submit"]:disabled {
	opacity: .6;
	cursor: wait;
}
/* lucide arrow-right, 17px, drawn with a mask so it follows the text colour */
.bod-inquiry-form .bod-submit-icon {
	width: 17px;
	height: 17px;
	flex: none;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s;
}
.bod-inquiry-form button[type="submit"]:hover .bod-submit-icon {
	transform: translateX(3px);
}
.bod-inquiry-form .wpcf7-spinner {
	margin: 0 0 0 12px;
}
.bod-inquiry-form .bod-form-note {
	margin: 0;
	font-size: 11px;
	line-height: 1.5;
	color: #68777b;
}
.bod-inquiry-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 12px;
	text-transform: none;
	letter-spacing: 0;
}
.bod-inquiry-form .wpcf7-response-output {
	margin: 0 !important;
	font-size: 13px;
}
@media (max-width: 767px) {
	.bod-inquiry-form .bod-form-row {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Team (CPT bod_team)
   Card: template-parts/loop/team-card.php (widget "Boddens Team Grid")
   Profile: single-bod_team.php
   ========================================================================== */
.bod-team-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	align-items: stretch;
}
.bod-team-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 32px;
	background: #f2f6f3;
	border: 1px solid #cbdad3;
	border-radius: 18px;
	box-shadow: 0 8px 28px rgba(6, 63, 70, .03);
}
/* Portrait tile: teal square, cut-out photo scaled/offset per member */
.bod-portrait {
	position: relative;
	flex: none;
	width: 250px;
	height: 250px;
	margin: 0 0 24px;
	border-radius: 14px;
	overflow: hidden;
	background: var(--bod-teal);
}
.bod-portrait img {
	position: absolute;
	left: 50%;
	top: var(--bod-portrait-top, 0%);
	width: var(--bod-portrait-scale, 100%);
	height: auto;
	max-width: none;
	transform: translateX(-50%);
}
.bod-team-card__name {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--bod-ink);
}
.bod-team-card__role,
.bod-profile__role {
	margin: 0 0 20px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.6;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--bod-sea);
}
.bod-team-card__excerpt {
	flex: 1;
	margin: 0 0 28px;
	font-size: 16px;
	line-height: 1.8;
	color: #68777b;
}
.bod-team-card__actions {
	width: 100%;
	margin-top: auto;
	padding-top: 22px;
	border-top: 1px solid #cbdad3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.bod-team-card__link,
.bod-text-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	font-weight: 800;
	color: var(--bod-sea);
	text-decoration: none;
	transition: color .2s;
}
.bod-team-card__link:hover,
.bod-text-link:hover {
	color: var(--bod-teal);
}
.bod-team-icons {
	display: flex;
	gap: 12px;
}
.bod-team-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #b3c7c3;
	border-radius: 50%;
	color: #527871;
	transition: background-color .2s, color .2s, border-color .2s;
}
.bod-team-icon:hover {
	background: var(--bod-teal);
	border-color: var(--bod-teal);
	color: #fff;
}
.bod-team-icon:focus-visible {
	outline: 2px solid var(--bod-teal);
	outline-offset: 4px;
}
.bod-linkedin-icon {
	position: relative;
	display: block;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	overflow: hidden;
}
.bod-linkedin-icon img {
	position: absolute;
	left: -5px;
	top: -4.85px;
	width: 34px;
	height: auto;
	max-width: none;
}
.bod-team-grid__empty {
	color: #68777b;
}

/* Profile page */
.bod-profile {
	padding: 56px 24px 80px;
	background: var(--bod-paper);
}
.bod-profile__inner {
	max-width: 1180px;
	margin: 0 auto;
}
.bod-profile__grid {
	display: grid;
	grid-template-columns: 328px minmax(0, 1fr);
	gap: 72px;
	align-items: start;
	margin-top: 40px;
}
.bod-profile__card {
	min-width: 0;
	padding: 24px;
	background: #f2f6f3;
	border: 1px solid #cbdad3;
	border-radius: 18px;
}
.bod-profile__card .bod-portrait {
	width: 280px;
	height: 280px;
	margin-bottom: 26px;
}
.bod-profile__card-name {
	margin: 0 0 12px;
	font-size: 28px;
	line-height: 1.2;
	color: var(--bod-ink);
}
.bod-profile__card .bod-profile__role {
	margin-bottom: 0;
}
.bod-profile__card .bod-team-icons {
	margin-top: 22px;
}
.bod-profile__name {
	margin: 0 0 28px;
	font-size: clamp(32px, 4vw, 54px);
	font-weight: 400;
	line-height: 1.15;
	color: var(--bod-ink);
}
.bod-profile__content p {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.8;
	color: var(--bod-ink);
}
.bod-profile__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 21px;
	border-radius: 999px;
	background: #387c7c;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s;
}
.bod-profile__cta:hover,
.bod-profile__cta:focus {
	background: var(--bod-sea);
	color: #fff;
}
@media (max-width: 1024px) {
	.bod-profile__grid { gap: 40px; }
}
@media (max-width: 767px) {
	.bod-team-grid { grid-template-columns: 1fr; gap: 24px; }
	.bod-team-card { padding: 24px; }
	.bod-team-card .bod-portrait { width: 230px; height: 230px; }
	.bod-team-card__actions { flex-wrap: wrap; }
	.bod-profile { padding: 40px 16px 56px; }
	.bod-profile__grid { grid-template-columns: 1fr; }
	.bod-profile__card { max-width: 328px; width: 100%; }
	.bod-profile__card .bod-portrait { width: 100%; max-width: 280px; height: auto; aspect-ratio: 1; }
}

/* ==========================================================================
   Service detail pages (built with Elementor per service)
   ========================================================================== */
/* Hero breadcrumb */
.bod-svc-crumb p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
}
.bod-svc-crumb a {
	color: #fff;
}
.bod-svc-crumb a:hover {
	text-decoration: underline;
}

/* Sidebar stays in view while reading (static site: sticky, top 30px) */
@media (min-width: 768px) {
	.bod-svc-aside {
		position: sticky;
		top: 30px;
		align-self: start;
	}
	.admin-bar .bod-svc-aside {
		top: 62px;
	}
}

/* Widget: Boddens Service Nav */
.bod-svc-nav {
	padding-top: 25px;
	border-top: 1px solid #d5e0dc;
}
.bod-svc-nav__heading {
	margin: 0 0 18px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--bod-sea);
}
.bod-svc-nav a {
	display: block;
	padding: 12px 15px;
	border-left: 2px solid transparent;
	font-size: 13px;
	line-height: 1.5;
	color: #687c7a;
	text-decoration: none;
	transition: background-color .18s, color .18s;
}
.bod-svc-nav a:hover {
	background: #f0f4f1;
	color: #244a47;
}
.bod-svc-nav a[aria-current] {
	border-left-color: #387c7c;
	background: #eaf0ed;
	color: #244a47;
	font-weight: 600;
}

/* Help box link: label left, arrow right */
.bod-svc-help-link .elementor-heading-title a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: inherit;
}

/* Option cards: teal top edge (Elementor's border control has one colour for all sides) */
.bod-svc-option-card {
	border-top-color: #387c7c !important;
}
@media (min-width: 1025px) {
	.bod-svc-option-title .elementor-heading-title {
		min-height: 70px;
	}
}
/* CTA panel heading: 26ch of its own font size */
.bod-svc-cta-title .elementor-heading-title {
	max-width: 26ch;
}

/* Copy column: lists inside text blocks */
.bod-svc-block ul {
	margin: 24px 0 28px;
	padding: 22px 28px 22px 46px;
	list-style: disc;
	background: #f0f5f2;
	border-radius: 12px;
}
.bod-svc-block li {
	padding: 8px 0 8px 6px;
	font-size: 16px;
	line-height: 1.75;
}
.bod-svc-option ul {
	margin: 22px 0;
	padding: 20px 20px 20px 36px;
}
.bod-svc-option li {
	padding: 7px 0 7px 2px;
}
.bod-svc-copy a:not(.elementor-button) {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* FAQ – nested accordion styled like the static ".polished-faq" */
.bod-svc-faq .e-n-accordion {
	counter-reset: bod-faq;
}
.bod-svc-faq .e-n-accordion-item {
	counter-increment: bod-faq;
	margin: 0 0 12px;
	background: transparent;
	border: 1px solid #d4dfdb;
	border-radius: 3px;
	transition: background-color .22s, border-color .22s, box-shadow .22s;
}
.bod-svc-faq .e-n-accordion-item:hover {
	background: #f1f6f3;
	border-color: #80a7a0;
}
.bod-svc-faq .e-n-accordion-item[open] {
	background: #edf3ef;
	border-color: #9bb9b0;
	box-shadow: 0 5px 18px rgba(33, 75, 69, .06);
}
.bod-svc-faq .e-n-accordion-item-title {
	display: grid !important;
	grid-template-columns: 26px minmax(0, 1fr) 32px;
	align-items: center;
	gap: 14px;
	border: 0 !important;
	background: transparent !important;
}
.bod-svc-faq .e-n-accordion-item-title::before {
	content: counter(bod-faq, decimal-leading-zero);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .05em;
	color: #70918c;
}
.bod-svc-faq .e-n-accordion-item-title-header {
	min-width: 0;
}
.bod-svc-faq .e-n-accordion-item-title-text {
	margin: 0;
}
/* ring toggle with +/- */
.bod-svc-faq .e-n-accordion-item-title-icon {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid #9cb8b2;
	border-radius: 50%;
	transition: background-color .25s, border-color .25s;
}
.bod-svc-faq .e-n-accordion-item[open] .e-n-accordion-item-title-icon {
	background: #387c7c;
	border-color: #387c7c;
}
.bod-svc-faq .e-n-accordion-item > .e-con {
	border: 0 !important;
	background: transparent !important;
}
.bod-svc-faq .bod-faq-answer p {
	max-width: 68ch;
}
@media (max-width: 1024px) {
	.bod-svc-faq .e-n-accordion-item-title {
		grid-template-columns: 20px minmax(0, 1fr) 28px;
		gap: 10px;
	}
	.bod-svc-faq .e-n-accordion-item-title-icon { width: 28px; height: 28px; }
}
@media (max-width: 767px) {
	.bod-svc-faq .e-n-accordion-item-title {
		grid-template-columns: minmax(0, 1fr) 28px;
		gap: 12px;
	}
	.bod-svc-faq .e-n-accordion-item-title::before { display: none; }
}

/* Widget: Boddens Next Service */
.bod-next-svc {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}
.bod-next-svc__label {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #68777b;
}
.bod-next-svc__link {
	display: flex;
	align-items: center;
	gap: 15px;
	text-align: right;
	font-size: 28px;
	line-height: 1.2;
	color: var(--bod-ink);
	text-decoration: none;
	transition: color .2s;
}
.bod-next-svc__link svg {
	flex: none;
	fill: none;
	stroke: currentColor;
	transition: transform .2s;
}
.bod-next-svc__link:hover {
	color: var(--bod-sea);
}
.bod-next-svc__link:hover svg {
	transform: translateX(4px);
}
@media (max-width: 767px) {
	.bod-next-svc { flex-direction: column; align-items: flex-start; }
	.bod-next-svc__link { text-align: left; font-size: 25px; }
}

/* Service single – interim layout (single-bod_service.php) */
.bod-svc-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 530px;
	padding: 65px 40px 75px;
	background: #082b34 center 55% / cover no-repeat;
	color: #fff;
}
.bod-svc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(4, 24, 33, .72), rgba(4, 24, 33, .42) 48%, rgba(4, 24, 33, .08));
}
.bod-svc-hero__inner,
.bod-svc-body__inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}
.bod-svc-hero__crumb {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
	font-size: 13px;
}
.bod-svc-hero__crumb a {
	color: #fff;
}
.bod-svc-hero__title {
	max-width: 780px;
	margin: 0;
	font-size: clamp(38px, 4.6vw, 66px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -.045em;
	color: #fff;
}
.bod-svc-hero__intro {
	max-width: 650px;
	margin: 24px 0 0;
	font-size: 17px;
	line-height: 1.75;
	color: #fff;
}
.bod-svc-body {
	padding: 80px 24px 90px;
}
.bod-svc-body__inner {
	max-width: 860px;
	font-size: 16px;
	line-height: 1.85;
	color: #607472;
}
.bod-svc-body__inner h2 {
	margin: 0 0 24px;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 400;
	line-height: 1.2;
	color: var(--bod-ink);
}
@media (max-width: 767px) {
	.bod-svc-hero { min-height: 460px; padding: 48px 24px 55px; }
	.bod-svc-hero::before { background: rgba(4, 24, 33, .52); }
	.bod-svc-body { padding: 56px 16px 64px; }
}

/* Anchor targets sit below the header when jumped to */
#meet-the-team,
#enquire,
#insights {
	scroll-margin-top: 20px;
}
html {
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* ==========================================================================
   6. Footer
   ========================================================================== */
.bod-footer a {
	transition: color .2s;
}
.bod-footer .elementor-heading-title {
	margin: 0;
}
.bod-footer .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}
/* Tablet: regulator + KSG sit on the second row */
@media (max-width: 1024px) {
	.bod-footer .bod-footer-regulator,
	.bod-footer .bod-footer-ksg {
		grid-column: auto;
	}
}
/* Mobile: brand, regulator and KSG span both columns */
@media (max-width: 767px) {
	.bod-footer .bod-footer-brand,
	.bod-footer .bod-footer-regulator,
	.bod-footer .bod-footer-ksg {
		grid-column: 1 / -1;
	}
}
.bod-footer address,
.bod-footer .bod-footer-address p {
	font-style: normal;
	margin: 0;
}
/* CIMA badge: white circle behind the logo */
.bod-footer .bod-cima-logo img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	background: #fff;
	border-radius: 50%;
	padding: 3px;
}
/* KSG card */
.bod-footer .bod-ksg-card img {
	object-fit: contain;
}
/* Bottom legal links: underline on hover like the static build */
.bod-footer .bod-legal-links a:hover .elementor-icon-list-text {
	text-decoration: underline;
}

/* ==========================================================================
   Insight article (single post)
   Built with Elementor per post (+ "Insight article – layout" template).
   Widgets: Boddens Post Meta, Boddens Article Contents, Boddens Posts Loop.
   single.php renders the same design for posts not built with Elementor
   (.bod-art-classic rules at the end of this block).
   ========================================================================== */
/* Back link */
.bod-article-back .elementor-heading-title a:hover {
	text-decoration: underline;
}
/* Eyebrow + topic pills (widget "Boddens Post Meta") */
.bod-post-meta {
	margin: 0;
}
.bod-post-topics {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.bod-post-topics__item {
	display: inline-block;
	padding: 8px 13px;
	border: 1px solid #76958f;
	border-radius: 24px;
	color: #fff;
	font-size: 13px;
	line-height: 1.5;
	text-decoration: none;
	transition: background-color .2s;
}
a.bod-post-topics__item:hover,
a.bod-post-topics__item:focus-visible {
	color: #fff;
	background-color: rgba(255, 255, 255, .094);
}

/* "In this article" (widget "Boddens Article Contents") */
.bod-toc {
	display: grid;
}
.bod-toc__link {
	display: block;
	padding: 9px 0;
	border-bottom: 1px solid #e0e7e3;
	color: #42615d;
	font-size: 13px;
	line-height: 1.5;
	text-decoration: none;
}
.bod-toc__link:hover,
.bod-toc__link:focus-visible {
	color: var(--bod-teal);
	text-decoration: underline;
}
.bod-toc__empty {
	margin: 0;
	font-size: 13px;
	color: #8a9a96;
}
@media (min-width: 768px) {
	.bod-article-index {
		position: sticky;
		top: 28px;
	}
	.admin-bar .bod-article-index {
		top: 60px;
	}
}
@media (max-width: 767px) {
	.bod-article-index .bod-toc {
		max-height: 200px;
		overflow: auto;
	}
}

/* Article copy (Text Editor widgets with class bod-article-text) */
.bod-article-body .elementor-widget-heading[id] {
	scroll-margin-top: 30px;
}
.elementor .bod-article-text p {
	margin: 0 0 24px;
}
.elementor .bod-article-text :is(p, ul, ol, h3, .article-table):first-child {
	margin-top: 0;
}
.elementor .bod-article-text :is(p, ul, ol, .article-table):last-child {
	margin-bottom: 0;
}
.bod-article-text ul,
.bod-article-text ol {
	margin: 20px 0 28px;
	padding-left: 24px;
	list-style: none;
}
.bod-article-text li {
	padding: 5px 0;
}
.bod-article-text strong {
	font-weight: 700;
}
.bod-article-text a {
	color: #096d69;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.bod-article-text a:hover {
	color: var(--bod-teal);
}
.bod-article-text h3 {
	margin: 30px 0 16px;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--bod-teal);
}
.bod-article-text .article-table {
	overflow-x: auto;
	margin: 28px 0;
}
.bod-article-text table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.6;
}
.bod-article-text th,
.bod-article-text td {
	padding: 15px 18px;
	border: 1px solid #d8e1dd;
	text-align: left;
	vertical-align: top;
}
/* (.elementor prefix: beats Hello Elementor's default table striping) */
.elementor .bod-article-text table th {
	background-color: var(--bod-teal);
	color: #fff;
	font-weight: 700;
}
.elementor .bod-article-text table tbody > tr > td,
.elementor .bod-article-text table tbody > tr:hover > td {
	background-color: transparent;
}
.elementor .bod-article-text table tbody > tr:nth-child(2n) > td {
	background-color: #f0f5f2;
}
/* Related services box */
.bod-article-resources .bod-article-text ul {
	margin-bottom: 0;
}

/* "More insights" cards: category and read time on one line */
.bod-article-related .bod-post-card__meta {
	margin-bottom: 19px;
	text-transform: uppercase;
}
.bod-article-related .bod-post-card__category,
.bod-article-related .bod-post-card__read-time {
	display: inline;
}


/* ---- Fallback template (single.php) ---- */
.bod-art-classic {
	color: var(--bod-ink);
}
.bod-art-shell {
	width: 100%;
	max-width: 1228px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}
.bod-art-hero {
	background: var(--bod-deep);
	color: #fff;
	padding: 64px 0 72px;
}
.bod-art-back {
	display: inline-block;
	margin-bottom: 30px;
	color: #d4e5e1;
	text-decoration: none;
}
.bod-art-back:hover {
	color: #d4e5e1;
	text-decoration: underline;
}
.bod-art-hero .bod-post-meta {
	margin: 0 0 19px;
	color: #99d7cf;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: .24em;
	text-transform: uppercase;
}
.bod-art-title {
	max-width: 1050px;
	margin: 20px 0 30px;
	color: #fff;
	font-size: clamp(34px, 4vw, 60px);
	font-weight: 400;
	line-height: 1.17;
	letter-spacing: -.025em;
}
.bod-art-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 780px);
	justify-content: space-between;
	align-items: start;
	gap: 70px;
	padding-top: 64px;
	padding-bottom: 64px;
}
.bod-art-classic .bod-article-index {
	border-top: 2px solid var(--bod-teal);
	padding-top: 20px;
}
.bod-article-index__title {
	margin: 0 0 18px;
	font-size: 17px;
	font-weight: 400;
	color: var(--bod-ink);
}
.bod-art-content {
	min-width: 0;
	font-size: 17px;
	line-height: 1.85;
	color: #344b47;
}
.bod-art-cover {
	display: block;
	width: 100%;
	height: 360px;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 38px;
}
.bod-art-content > p {
	margin: 0 0 24px;
}
.bod-art-content h2 {
	margin: 48px 0 20px;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--bod-teal);
	scroll-margin-top: 30px;
}
.bod-art-content h3 {
	margin: 30px 0 16px;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--bod-teal);
}
.bod-art-content ul,
.bod-art-content ol {
	margin: 20px 0 28px;
	padding-left: 24px;
	list-style: none;
}
.bod-art-content li {
	padding: 5px 0;
}
.bod-art-content a {
	color: #096d69;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.bod-art-more {
	padding-top: 72px;
	padding-bottom: 90px;
}
.bod-art-more > * {
	border-top: 0;
}
.bod-art-more::before {
	content: "";
	display: block;
	border-top: 1px solid #dce4df;
	margin-top: -72px;
	padding-top: 72px;
}
.bod-eyebrow-text {
	margin: 0 0 19px;
	color: var(--bod-sea);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: .24em;
	text-transform: uppercase;
}
.bod-art-more__title {
	margin: 12px 0 30px;
	font-size: clamp(28px, 3vw, 42px);
	font-weight: 400;
	line-height: 1.25;
	color: var(--bod-ink);
}
.bod-art-more .bod-posts-loop {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 42px 30px;
}
.bod-art-more .bod-post-card__image img {
	height: 190px;
}
.bod-art-more .bod-post-card__body {
	padding: 24px;
}
.bod-art-more .bod-post-card__meta {
	margin-bottom: 19px;
	text-transform: uppercase;
}
.bod-art-more .bod-post-card__category,
.bod-art-more .bod-post-card__read-time {
	display: inline;
}

.bod-art-more .bod-post-card__excerpt {
	font-size: 15px;
}
@media (max-width: 1024px) {
	.bod-art-layout {
		grid-template-columns: 190px minmax(0, 1fr);
		gap: 36px;
	}
	.bod-art-more .bod-posts-loop {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	.bod-art-hero {
		padding: 42px 0 48px;
	}
	.bod-art-title {
		font-size: 34px;
	}
	.bod-art-layout {
		display: block;
		padding-top: 35px;
	}
	.bod-art-classic .bod-article-index {
		margin-bottom: 32px;
	}
	.bod-art-cover {
		height: 240px;
	}
	.bod-art-content {
		font-size: 16px;
	}
	.bod-art-content h2 {
		font-size: 26px;
	}
	.bod-art-more {
		padding-top: 48px;
		padding-bottom: 56px;
	}
	.bod-art-more .bod-posts-loop {
		grid-template-columns: 1fr;
	}
}
/* ==========================================================================
   Insights page (/insights/)
   Widgets: Boddens Topic Filters (buttons + count), Boddens Posts Loop.
   Filtering: assets/js/insights-filter.js
   ========================================================================== */
.bod-topic-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.elementor .bod-topic-filters__btn,
.bod-topic-filters__btn {
	margin: 0;
	padding: 10px 18px;
	border: 1px solid #b9cac4;
	border-radius: 24px;
	background-color: transparent;
	color: #244c45;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	text-transform: none;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.elementor .bod-topic-filters__btn[aria-pressed="true"],
.elementor .bod-topic-filters__btn:hover,
.elementor .bod-topic-filters__btn:focus-visible {
	background-color: var(--bod-teal);
	border-color: var(--bod-teal);
	color: #fff;
}
.bod-topic-filters__btn:focus-visible {
	outline: 2px solid var(--bod-sea);
	outline-offset: 2px;
}
.bod-article-count {
	margin: 0;
	white-space: nowrap;
	color: #5c736d;
	font-size: 14px;
}
.bod-post-card[hidden] {
	display: none;
}
.bod-filter-empty {
	margin: 30px 0 0;
	color: #5c736d;
	font-size: 16px;
}
/* Cards: category and read time on one line (insights page + "More insights") */
.bod-insights-list .bod-post-card__meta {
	margin-bottom: 19px;
	text-transform: uppercase;
}
.bod-insights-list .bod-post-card__category,
.bod-insights-list .bod-post-card__read-time {
	display: inline;
}
.bod-insights-list .bod-post-card__title {
	margin: 12px 0 16px;
}
/* ==========================================================================
   Contact page (/contact/)
   ========================================================================== */
/* Contact lines (Icon List): Lucide stroke icons, address icon nudged to the first line */
.elementor .bod-contact-lines svg {
	fill: none !important;
	stroke: var(--e-icon-list-icon-color, #2f6f7b); /* widget's Icon colour */
}
/* icon 20px + "Text indent" 22px (widget setting, applied as icon padding) = text at 42px */
.bod-contact-lines .elementor-icon-list-icon {
	flex: none;
	width: auto;
}
.elementor .bod-contact-lines .elementor-icon-list-icon svg {
	width: 20px;
}
.elementor .bod-contact-lines .elementor-icon-list-text {
	padding-inline-start: 0;
}
.bod-contact-lines .elementor-icon-list-item {
	align-items: flex-start;
}
.bod-contact-lines .elementor-icon-list-icon svg {
	height: 24px; /* lucide 24px box, 20px wide like the static page */
}
.bod-contact-lines .elementor-icon-list-text {
	line-height: 1.6;
}
.bod-contact-lines .elementor-icon-list-item:last-child .elementor-icon-list-icon {
	margin-top: 4px; /* address pin sits on the first line */
}
/* Small bold text link ("Explore KSG's legal services") */
.bod-text-link .elementor-heading-title a:hover {
	color: var(--bod-teal);
}
/* FAQ as separate cards (contact page) */
.bod-faq-cards .e-n-accordion-item {
	background: rgba(255, 255, 255, .92);
	border: 1px solid #d3dcda;
	transition: border-color .2s, box-shadow .2s;
}
.bod-faq-cards .e-n-accordion-item[open] {
	border-color: rgba(73, 120, 117, .5);
	box-shadow: 0 12px 30px rgba(16, 44, 55, .07);
}
.bod-faq-cards .e-n-accordion-item > .e-n-accordion-item-title,
.bod-faq-cards .e-n-accordion-item > .e-con {
	border: 0;
	background: transparent;
}
.bod-faq-cards .e-n-accordion-item-title-text {
	margin: 0;
}
.elementor .bod-faq-cards .e-n-accordion-item-title-icon svg {
	width: 18px;
	height: 18px;
	fill: none !important;
	stroke: currentColor;
}
/* ==========================================================================
   Compliance & AML page (/compliance-aml/)
   ========================================================================== */
/* Check lists (Icon List with Lucide check) */
.elementor .bod-check-list svg {
	fill: none !important;
	stroke: var(--e-icon-list-icon-color, #2f6f7b);
}
.bod-check-list .elementor-icon-list-icon {
	flex: none;
	width: auto;
}
.elementor .bod-check-list .elementor-icon-list-text {
	padding-inline-start: 0;
}
/* "Tri-Bridge Compliance Partners" link inside the intro text */
.bod-prose a.partner-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.bod-prose a.partner-link:hover {
	color: var(--bod-teal);
}
/* "Discuss your requirements": underlined link-button, no inline line-box gap above it */
.elementor .bod-service-cta,
.bod-service-cta .elementor-button-wrapper {
	line-height: 0;
	display: flex;
}
.bod-service-cta .elementor-button:hover {
	border-color: var(--bod-teal);
}
/* ==========================================================================
   Privacy Notice + Cookie Policy (/privacy-policy/, /cookies/)
   ========================================================================== */
.elementor .bod-policy-text p {
	margin: 0 0 18px;
}
.elementor .bod-policy-text p:last-child {
	margin-bottom: 0;
}
.bod-policy-text a {
	color: inherit;
	text-decoration: underline;
	overflow-wrap: anywhere;
}
.bod-policy-text a:hover {
	color: var(--bod-teal);
}
.bod-policy-text strong {
	font-weight: 700;
}
/* Cookie tables */
.bod-policy-table .policy-table-wrap {
	overflow-x: auto;
}
.bod-policy-table table {
	width: 100%;
	min-width: 640px;
	margin: 0;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.65;
}
.elementor .bod-policy-table th,
.elementor .bod-policy-table td {
	padding: 15px 16px;
	border: 1px solid #d9e3df;
	font-size: 14px;
	line-height: 1.65; /* Hello Elementor sets table cells to 1.5 */
	text-align: left;
	vertical-align: top;
}
.elementor .bod-policy-table th {
	background-color: var(--bod-teal);
	color: #fff;
	font-weight: 600;
}
.elementor .bod-policy-table th strong {
	font-weight: 600;
}
.elementor .bod-policy-table td,
.elementor .bod-policy-table tr:hover > td {
	background-color: transparent;
	color: var(--bod-ink);
}
.elementor .bod-policy-table tr:nth-child(2n+1) > td {
	background-color: #f2f5f1;
}
/* ==========================================================================
   Shared service layout (Services → Page layout, "Service – Single layout")
   Widgets: Boddens Service Hero, Boddens Service Content.
   Defaults below = the static design; the widgets' Style tabs override them.
   ========================================================================== */
.bod-svc-hero2 {
	--bod-hero-overlay-a: rgba(4, 24, 33, .72);
	--bod-hero-overlay-b: rgba(4, 24, 33, .08);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 530px;
	padding: 30px 40px 75px;
	background-color: #082b34;
	background-position: 50% 55%;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
}
.bod-svc-hero2::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--bod-hero-overlay-a) 0%, var(--bod-hero-overlay-b) 100%);
	pointer-events: none;
}
.bod-svc-hero2__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}
.bod-svc-hero2 .bod-svc-crumb {
	margin: 0 0 45px;
}
.bod-svc-hero2 .bod-svc-crumb p {
	color: #b9d3d0;
	font-size: 12px;
	line-height: 1.5;
}
.bod-svc-hero2__title {
	max-width: 780px;
	margin: 0;
	color: #fff;
	font-family: Exo, Arial, sans-serif;
	font-size: clamp(38px, 4.6vw, 66px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -.045em;
}
.bod-svc-hero2__intro {
	max-width: 650px;
	margin: 24px 0 0;
	color: #fff;
	font-size: 18px;
	line-height: 1.75;
}
@media (max-width: 1024px) {
	.bod-svc-hero2 { min-height: 480px; }
	.bod-svc-hero2__title { max-width: 100%; }
}
@media (max-width: 767px) {
	.bod-svc-hero2 { min-height: 460px; padding: 30px 24px 55px; }
	.bod-svc-hero2 .bod-svc-crumb { margin-bottom: 28px; }
	.bod-svc-hero2__title { font-size: 40px; }
	.bod-svc-hero2__intro { font-size: 16px; }
}

/* Service content inside the layout */
.bod-svc-content-placeholder {
	padding: 60px 24px;
	border: 2px dashed #9cb8b2;
	border-radius: 8px;
	background: #f1f6f3;
	color: #2f6f7b;
	font-size: 18px;
	text-align: center;
}
.bod-svc-content-placeholder small {
	color: #68777b;
	font-size: 13px;
}
.bod-svc-content-classic > :first-child { margin-top: 0; }

/* A widget with nothing to show hides the top-level section it sits in
   (service with no related insights / no full-width sections). */
.elementor .e-con.e-parent:has(.bod-hide-section) {
	display: none;
}
.elementor-edit-area .e-con.e-parent:has(.bod-hide-section) {
	display: flex; /* keep it visible while editing the layout */
}

/* Related insights of the current service: grid fits the number of cards */
.elementor .bod-posts-loop--fit[data-count="1"] {
	grid-template-columns: minmax(0, 400px);
}
.elementor .bod-posts-loop--fit[data-count="2"] {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 820px;
}
@media (max-width: 767px) {
	.elementor .bod-posts-loop--fit[data-count] {
		grid-template-columns: 1fr;
		max-width: none;
	}
}
/* Service overview / content blocks: paragraphs max 70ch (static polish.css,
   service-flow-v30.css); the lead paragraph (class bod-lead) is full width. */
.elementor .bod-svc-overview .elementor-widget-text-editor p,
.elementor .bod-svc-block p {
	max-width: 70ch;
}
.elementor .bod-svc-overview .elementor-widget-text-editor p.bod-lead {
	max-width: none;
}
/* Related insights fitted to the number of cards must beat the widget's Columns setting */
.elementor .elementor-widget .bod-posts-loop--fit[data-count="1"] {
	grid-template-columns: minmax(0, 400px) !important;
}
.elementor .elementor-widget .bod-posts-loop--fit[data-count="2"] {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	max-width: 820px;
}
@media (max-width: 767px) {
	.elementor .elementor-widget .bod-posts-loop--fit[data-count] {
		grid-template-columns: 1fr !important;
	}
}
/* CTA panel on service pages: the static last paragraph keeps its 22px before the button */
.elementor .bod-svc-cta .elementor-widget-text-editor p:last-child {
	margin-bottom: 22px;
}
/* Option cards: paragraph spacing like the static page */
.elementor .bod-svc-option-card .elementor-widget-text-editor p {
	margin-bottom: 20px;
}
/* Boddens Post Image (insight cover): block image, full column width, no baseline gap */
.elementor-widget-bod-post-image img.bod-post-image {
	display: block;
	width: 100%;
	max-width: 100%;
}

.elementor-element.elementor-widget-text-editor ul,
.elementor-element.elementor-widget-text-editor ol{ margin-bottom: 18px; }