/**
 * Digital Deck Agency v3 — main stylesheet.
 *
 * Implements spec §3, §4.12, §6 and §7.1: sticky header, full-bleed hero,
 * section spacing (80px desktop / 56px mobile, never a gap above 40px
 * between sections), card grids (24px desktop / 16px mobile), buttons,
 * FAQ accordion, forms, footer, breadcrumbs, blog grid + pagination,
 * responsive breakpoints 1024/768/480, touch targets >= 24px,
 * contrast >= 4.5:1, focus-visible styles and print basics.
 *
 * Colour/font variables are defined in style.css and overridden by the
 * Customizer via wp_add_inline_style() in functions.php.
 * Motion lives in assets/css/animations.css.
 *
 * IMPORTANT POLICY (plan section 7.6): no !important is used on any
 * Elementor-controlled property (image, heading, padding, margin, hover,
 * shadow, background), so free Elementor can always override the theme.
 * The only !important rules in this theme are the print stylesheet
 * (hiding chrome on paper) and the prefers-reduced-motion block in
 * animations.css (an accessibility requirement, not a design property).
 */

/* ------------------------------------------------------------------ */
/* Layout                                                              */
/* ------------------------------------------------------------------ */

/* v3.0.92 (mobile responsive fix, 2026-12-04): never let the page scroll
   sideways. The root causes (oversized header logo, oversized hero title,
   non-stacking grids) are fixed below, but this is a safety net so no
   single wide element can ever push the page wider than the viewport and
   push the hamburger off-screen again. `clip` (not `hidden`) so the
   sticky header keeps working. */
html,
body {
	overflow-x: clip;
}

.dda-container {
	width: 100%;
	max-width: var(--dda-container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.dda-main {
	background-color: var(--dda-color-bg);
}

.dda-section {
	padding-top: var(--dda-section-padding);
	padding-bottom: var(--dda-section-padding);
}

.dda-section + .dda-section {
	margin-top: 0;
}

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

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 12px 20px;
	background-color: var(--dda-color-dark);
	color: var(--dda-color-text-on-dark);
	clip: auto;
	overflow: visible;
	white-space: normal;
	border-radius: 8px;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.dda-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--dda-header-height);
	background-color: var(--dda-color-bg);
	border-bottom: 1px solid var(--dda-color-border);
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.dda-site-header.is-scrolled {
	box-shadow: 0 4px 24px rgba(23, 14, 11, 0.12);
	background-color: var(--dda-color-bg);
}

.dda-header-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: var(--dda-header-height);
}

.dda-site-branding {
	flex-shrink: 0;
}

.dda-site-branding .custom-logo {
	max-height: 60px;
	width: auto;
	display: block;
}

.dda-site-title {
	font-family: var(--dda-font-headings);
	font-weight: 800;
	font-size: 1.375rem;
	color: var(--dda-color-dark);
	text-decoration: none;
	letter-spacing: -0.02em;
}

.dda-wordmark-accent {
	color: var(--dda-color-primary);
}

.dda-primary-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.dda-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dda-menu > li {
	position: relative;
}

.dda-menu a {
	display: block;
	padding: 12px 14px;
	min-height: 24px;
	color: var(--dda-color-text);
	text-decoration: none;
	font-weight: 500;
	position: relative;
}

.dda-menu a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 6px;
	height: 2px;
	background-color: var(--dda-color-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.dda-menu a:hover::after,
.dda-menu a:focus-visible::after,
.dda-menu .current-menu-item > a::after {
	transform: scaleX(1);
}

.dda-menu a:hover,
.dda-menu .current-menu-item > a {
	color: var(--dda-color-primary-dark);
}

/* Dropdown (desktop hover + keyboard focus). */
.dda-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: var(--dda-radius);
	box-shadow: 0 12px 32px rgba(23, 14, 11, 0.14);
}

.dda-menu li:hover > .sub-menu,
.dda-menu li:focus-within > .sub-menu {
	display: block;
}

.dda-menu .sub-menu a {
	padding: 10px 18px;
}

.dda-menu .sub-menu a::after {
	display: none;
}

.dda-header-cta {
	flex-shrink: 0;
}

.dda-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: none;
	border: none;
	cursor: pointer;
	margin-left: auto;
}

.dda-nav-toggle-bar {
	display: block;
	height: 2px;
	width: 100%;
	background-color: var(--dda-color-dark);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.dda-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	min-height: 48px;
	border-radius: 8px;
	font-family: var(--dda-font-headings);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	border: 2px solid transparent;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.dda-btn-primary {
	background-color: var(--dda-color-primary);
	color: #1f2937;
}

.dda-btn-primary:hover,
.dda-btn-primary:focus-visible {
	background-color: #d96a1d;
	color: #1f2937;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(234, 121, 40, 0.35);
}

.dda-btn-ghost {
	background-color: transparent;
	border-color: var(--dda-color-dark);
	color: var(--dda-color-dark);
}

.dda-btn-ghost:hover,
.dda-btn-ghost:focus-visible {
	border-color: var(--dda-color-primary);
	color: var(--dda-color-primary-dark);
	transform: translateY(-2px);
}

.dda-btn-arrow {
	display: inline-block;
	transition: transform 0.3s ease;
}

.dda-btn:hover .dda-btn-arrow,
.dda-btn:focus-visible .dda-btn-arrow {
	transform: translateX(4px);
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.dda-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 80vh;
	min-height: 80svh;
	overflow: hidden;
	background-color: var(--dda-color-dark);
	color: var(--dda-color-text-on-dark);
}

.dda-hero__background {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.dda-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1s ease;
}

/* v3.0.85: slides are <img> with alt text (not background divs).
   The image fills the slide exactly like the background did. */
.dda-hero__slide .dda-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dda-hero__slide.is-active {
	opacity: 1;
}

.dda-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* v3.0.55: Home hero video background (replaces the image slideshow
   on the front page only). The video fills the hero and crops to fit
   on every screen size; the poster frame shows while it loads. */
.dda-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* v3.0.60: fallback image inside the hero <video> (shown only by
   browsers without video support). It behaves exactly like the
   video so the hero stays responsive at any viewport. */
.dda-hero__video-fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* v3.0.55: Home hero title, a touch bigger with a soft shadow so it
   stays clear over the moving video. Lead, buttons and micros are
   unchanged.
   v3.0.65: Home title a touch bigger again (1.35x) — the right-half
   hero makes the heading bold and bigger on every hero.
   v3.0.75 (user, 2026-12-03): heading a bit bigger still (1.55x)
   so it fills the left-half hero nicely. */
.dda-hero--home .dda-hero__title {
	font-size: calc(var(--dda-font-size-h1) * 1.55);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* v3.0.56: video-hero refinements (front page only, scoped to
   .dda-hero--video so no other page's hero is affected).
   (1) Lighter overlay: the video shows through more, while a
   moderate darkening remains behind the text for readability.
   (2) Wider text block: heading, lead and buttons span the full
   container width instead of the narrow 760px.
   v3.0.65: the overlay flips to dark-on-RIGHT (270deg) so the
   right-half text sits on the dark side and the video shows on the
   left; the text block becomes the same 50% right-half block as
   every other hero (rule (2) above is superseded).
   v3.0.66: 600px was only ~31% of a 1919px hero, so the block is
   now a true 50% of the hero width.
   v3.0.74 (user, 2026-12-03): hero text moves back to the LEFT
   half, so the overlay flips to dark-on-LEFT (90deg) — the dark
   side is now the left side and the video shows on the right. */
.dda-hero--video .dda-hero__overlay {
	background: linear-gradient(90deg, rgba(23, 14, 11, 0.55) 0%, rgba(23, 14, 11, 0.45) 55%, rgba(23, 14, 11, 0.15) 100%);
}

.dda-hero--video .dda-hero__content {
	max-width: 50%;
	margin-left: 0;
	margin-right: auto;
}

/* v3.0.65: image-hero overlay flips to dark-on-RIGHT (270deg) — the
   text sits on the right half, so the dark side must be the right
   side and the image shows on the left. Same opacities as before.
   v3.0.74 (user, 2026-12-03): text moves back to the LEFT half, so
   the overlay flips to dark-on-LEFT (90deg) — the dark side is now
   the left side and the image shows on the right. */
.dda-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(23, 14, 11, 0.88) 0%, rgba(23, 14, 11, 0.70) 55%, rgba(23, 14, 11, 0.35) 100%);
}

/* v3.0.65: right-half text block on EVERY hero (full, post and
   compact). .dda-hero is display:flex and the content element is a
   direct flex child, so margin-left:auto + margin-right:0 (the base
   .dda-container sets margin: 0 auto, so margin-right: 0 is what
   actually pushes the block to the right half) puts the text on the
   right and leaves the image/video visible on the left. Text stays
   left-aligned inside the block.
   v3.0.66: max-width is 50% of the hero width — a true right half.
   (600px was only ~31% of a 1919px hero, so the text sat in a
   narrow strip at the far right instead of filling the half.)
   v3.0.74 (user, 2026-12-03): text moves back to the LEFT half —
   margin-left:0 + margin-right:auto puts the block on the left and
   leaves the image/video visible on the right. */
.dda-hero__content {
	position: relative;
	z-index: 2;
	padding-top: 64px;
	padding-bottom: 64px;
	max-width: 50%;
	margin-left: 0;
	margin-right: auto;
}

/* v3.0.79 (user, 2026-12-03): hero text sat hard against the left edge
   (x=24px) while the site's content grid starts ~375px in, so the hero
   looked pushed to one side (left:right empty-space ratio ~1:40).
   Above 1200px the container is centred, so offset the 50% hero block
   by the container's left margin to align the hero text with the grid.
   Below 1200px the container is full-width, so no offset is needed
   (and the 1024px rule already goes full-width there). */
@media (min-width: 1201px) {
	.dda-hero__content,
	.dda-hero--video .dda-hero__content {
		margin-left: calc((100% - var(--dda-container-max)) / 2);
	}
}

.dda-hero__eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dda-color-primary);
	margin-bottom: 16px;
}

/* v3.0.65: hero heading is bold (800) and a bit bigger (1.2x the
   H1 size) on EVERY hero, with a soft shadow so it stays clear over
   the image. Home overrides the size to 1.55x (see above).
   v3.0.75 (user, 2026-12-03): heading a bit bigger (1.4x) so it
   fills the left-half hero nicely. */
.dda-hero__title {
	font-size: calc(var(--dda-font-size-h1) * 1.4);
	font-weight: 800;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
	color: var(--dda-color-text-on-dark);
	margin-bottom: 20px;
}

/* v3.0.65: lead is bigger (1.3125rem) and clearly bolder (600) so it
   reads as part of the bold right-half hero text; max-width 100%
   (v3.0.66) so it fills the 50% content block instead of stopping
   at 600px. */
.dda-hero__lead {
	/* v3.0.75 (user, 2026-12-03): lead a touch bigger (1.375rem) to
	   stay balanced with the bigger heading. */
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.6;
	color: var(--dda-color-text-muted-on-dark);
	margin-bottom: 32px;
	max-width: 100%;
}

/* Two-button hero row (plan section 2.2): primary + ghost, side by
   side, wrapping on narrow screens.
   v3.0.79 (user, 2026-12-03): buttons looked modest next to the big
   hero heading, so they are taller with a larger label, a wider gap,
   and the ghost button gets a dark translucent backing so it stays
   readable over a busy photo/video. */
.dda-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}

.dda-hero__buttons .dda-hero__button {
	margin-top: 0;
	padding: 16px 32px;
	min-height: 56px;
	font-size: 1.0625rem;
}

/* Ghost button on the dark hero: white border/text (the base
   .dda-btn-ghost is dark-on-light and would vanish on the hero). */
.dda-hero__button--secondary {
	background-color: rgba(23, 14, 11, 0.35);
	border-color: #f7f4f0;
	color: var(--dda-color-text-on-dark);
}

.dda-hero__button--secondary:hover,
.dda-hero__button--secondary:focus-visible {
	border-color: var(--dda-color-primary);
	color: var(--dda-color-primary);
	transform: translateY(-2px);
}

.dda-hero__micros {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--dda-color-text-muted-on-dark);
	margin: 0;
}

/* Post hero (variant "post", plan section 10.1 P-1): featured image +
   overlay + H1 + byline + the two hero buttons (v3.0.65: buttons now
   render on post heroes too, below the byline). */
.dda-hero--post {
	min-height: 70vh;
	min-height: 70svh;
}

.dda-hero__byline {
	font-size: 0.9375rem;
	color: var(--dda-color-text-muted-on-dark);
	margin: 0;
}

/* v3.0.65: the buttons now follow the byline on post heroes, so the
   byline needs a bottom gap (it was 0 when it was the last element). */
.dda-hero--post .dda-hero__byline {
	margin-bottom: 20px;
}

/* Compact hero (variant "compact"): dark band, no photo, no scroll
   cue — used by utility pages, sitemap, search, 404 and archives.
   The H1 here is the page's only H1. v3.0.65: the two hero buttons
   now render here too, below the lead. */
.dda-hero--compact {
	min-height: 0;
	padding-top: 48px;
	padding-bottom: 48px;
}

.dda-hero--compact .dda-hero__content {
	padding-top: 0;
	padding-bottom: 0;
}

/* v3.0.65: the lead is no longer the last element (the buttons follow
   it), so it keeps a 20px bottom gap instead of 0. */
.dda-hero--compact .dda-hero__lead {
	margin-bottom: 20px;
}

.dda-scroll-cue {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: var(--dda-color-text-muted-on-dark);
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.dda-scroll-cue__chevron {
	width: 12px;
	height: 12px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

/* ------------------------------------------------------------------ */
/* Breadcrumbs                                                         */
/* ------------------------------------------------------------------ */

.dda-breadcrumbs {
	background-color: var(--dda-color-bg);
	padding: 16px 0 0;
}

.dda-breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0 24px;
	list-style: none;
	max-width: var(--dda-container-max);
	margin-left: auto;
	margin-right: auto;
	font-size: 0.875rem;
}

.dda-breadcrumb-item + .dda-breadcrumb-item::before {
	content: "/";
	margin-right: 8px;
	color: var(--dda-color-text-muted);
}

.dda-breadcrumb-item a {
	color: var(--dda-color-primary-dark);
	text-decoration: none;
}

.dda-breadcrumb-item a:hover {
	text-decoration: underline;
}

.dda-breadcrumb-item [aria-current="page"] {
	color: var(--dda-color-text-muted);
}

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */

.dda-section-heading {
	font-size: var(--dda-font-size-h2);
	margin-bottom: 16px;
}

.dda-section-lead {
	font-size: 1.125rem;
	color: var(--dda-color-text-muted);
	max-width: 720px;
	margin-bottom: 40px;
}

.dda-eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dda-color-primary-dark);
	margin-bottom: 12px;
}

/* Two-column text/image layout. */
.dda-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.dda-split__image img {
	border-radius: var(--dda-radius);
	width: 100%;
	height: auto;
	display: block;
}

/* ------------------------------------------------------------------ */
/* Cards                                                               */
/* ------------------------------------------------------------------ */

/* v3.0.88 (user, 2026-12-03): Blog guide cards — the 5 "About the
   blog" topics as separate cards with an image + alt text each.
   v3.0.89 (user, 2026-12-03): the bottom 2 cards must be as wide as
   the top 3 cards together — NO empty third column. So this is now
   a 6-column grid like the Locations grid: each card spans 2 (3 per
   row), and when the total is 3n+2 (5 cards) the last 2 cards each
   span 3 (50% each), so together they fill the row like the 3-card
   rows above. Grid items stretch, so all cards in a row are equal
   height. 3 cols on desktop, 2 on tablet, 1 on mobile. */
.dda-blog-guide-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: var(--dda-grid-gap);
}

.dda-blog-guide-grid > .dda-blog-guide-card {
	grid-column: span 2;
}

.dda-blog-guide-grid > .dda-blog-guide-card:nth-last-child(2):nth-child(3n+1),
.dda-blog-guide-grid > .dda-blog-guide-card:last-child:nth-child(3n+2) {
	grid-column: span 3;
}

.dda-blog-guide-card__text p {
	margin: 0 0 8px;
}

.dda-blog-guide-card__text p:last-child {
	margin-bottom: 0;
}

.dda-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--dda-grid-gap);
}

.dda-card-grid--columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.dda-card-grid--columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

/* v3.0.80 (user, 2026-12-03): Locations 8-card grid — 3 columns on
   desktop (3 + 3 + 2), 2 on tablet, 1 on mobile. This is a dedicated
   class, NOT .dda-card-grid, so the theme's last-card span rules
   (which make the last card in a 3n+2 row span 2 columns) do NOT
   apply.
   v3.0.82 (user, 2026-12-03): the last row's 2 cards are now WIDER —
   the grid is 6 columns, each card spans 2 (3 per row), and when the
   total is 3n+2 the last 2 cards each span 3 (50% each), so together
   they fill the row like the 3-card rows above. Grid items stretch,
   so all cards in a row are equal height. Kept in sync with the
   inline <style> in page-templates/tpl-locations.php (v3.0.81: the
   external stylesheet is served stale to some browsers, so the rule
   must also travel with the HTML). */
.dda-locations-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: var(--dda-grid-gap);
}

.dda-locations-grid > .dda-card {
	grid-column: span 2;
}

.dda-locations-grid > .dda-card:nth-last-child(2):nth-child(3n+1),
.dda-locations-grid > .dda-card:last-child:nth-child(3n+2) {
	grid-column: span 3;
}

.dda-locations-markets__intro {
	margin-bottom: 32px;
	color: var(--dda-color-text-muted);
}

@media (max-width: 1024px) {
	.dda-locations-grid > .dda-card {
		grid-column: span 3;
	}

	/* v3.0.89: Blog guide cards on tablet — 2 per row. When the total
	   is odd (5 cards) the last card sits alone in its row, so it
	   spans all 6 columns (full width) instead of leaving an empty
	   half-row. */
	.dda-blog-guide-grid > .dda-blog-guide-card {
		grid-column: span 3;
	}

	.dda-blog-guide-grid > .dda-blog-guide-card:last-child:nth-child(odd) {
		grid-column: span 6;
	}
}

@media (max-width: 768px) {
	.dda-locations-grid {
		grid-template-columns: 1fr;
		gap: var(--dda-grid-gap-mobile);
	}

	.dda-locations-grid > .dda-card {
		grid-column: auto;
	}
}

.dda-card {
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: var(--dda-radius);
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(23, 14, 11, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.dda-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(23, 14, 11, 0.14);
}

.dda-card__image-link {
	display: block;
	overflow: hidden;
	margin: 12px 12px 0;
	border-radius: 8px;
}

.dda-card__image {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.dda-card:hover .dda-card__image {
	transform: scale(1.05);
}

.dda-card__body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.dda-card__meta {
	font-size: 0.8125rem;
	color: var(--dda-color-text-muted);
	margin-bottom: 8px;
}

.dda-card__title {
	font-size: 1.25rem;
	margin-bottom: 12px;
}

.dda-card__title a {
	color: var(--dda-color-dark);
	text-decoration: none;
}

.dda-card:hover .dda-card__title a,
.dda-card__title a:hover {
	color: var(--dda-color-primary-dark);
}

.dda-card__excerpt {
	color: var(--dda-color-text-muted);
	margin-bottom: 16px;
	flex: 1;
}

.dda-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--dda-color-primary-dark);
	text-decoration: none;
}

.dda-card__link:hover {
	text-decoration: underline;
}

.dda-card__arrow {
	transition: transform 0.3s ease;
}

.dda-card__link:hover .dda-card__arrow {
	transform: translateX(4px);
}

.dda-country-card__posts {
	margin: 16px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--dda-color-border);
	list-style: none;
}

.dda-country-card__posts li + li {
	margin-top: 8px;
}

.dda-country-card__posts a {
	color: var(--dda-color-text);
	text-decoration: none;
	font-size: 0.9375rem;
}

.dda-country-card__posts a:hover {
	color: var(--dda-color-primary-dark);
	text-decoration: underline;
}

/* Numbered steps (process / what's included). */
.dda-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--dda-grid-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}

.dda-step {
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: var(--dda-radius);
	padding: 28px 24px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dda-step:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(23, 14, 11, 0.14);
}

.dda-step__number {
	font-family: var(--dda-font-headings);
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--dda-color-primary);
	margin-bottom: 12px;
}

.dda-step__title {
	font-size: 1.125rem;
	margin-bottom: 8px;
}

.dda-step__text {
	color: var(--dda-color-text-muted);
	margin-bottom: 0;
}

/* Mockup gallery (hover-scroll, see animations.css). */
.dda-mockup {
	overflow: hidden;
	border-radius: var(--dda-radius);
	border: 1px solid var(--dda-color-border);
	height: 420px;
	position: relative;
}

.dda-mockup img {
	width: 100%;
	display: block;
	transition: transform 6s ease;
}

/* ------------------------------------------------------------------ */
/* Stats bar                                                           */
/* ------------------------------------------------------------------ */

.dda-stats-bar {
	background-color: var(--dda-color-dark);
	color: var(--dda-color-text-on-dark);
	padding-top: 56px;
	padding-bottom: 56px;
}

.dda-stats-bar__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--dda-grid-gap);
	text-align: center;
}

.dda-stat__number {
	display: block;
	font-family: var(--dda-font-headings);
	font-weight: 800;
	font-size: clamp(2rem, 4vw, 3rem);
	color: var(--dda-color-primary);
	line-height: 1.1;
}

.dda-stat__label {
	display: block;
	margin-top: 8px;
	color: var(--dda-color-text-muted-on-dark);
	font-size: 0.9375rem;
}

/* ------------------------------------------------------------------ */
/* CTA band                                                            */
/* ------------------------------------------------------------------ */

.dda-cta-band {
	background-color: var(--dda-color-dark);
	color: var(--dda-color-text-on-dark);
	padding-top: var(--dda-section-padding);
	padding-bottom: var(--dda-section-padding);
	text-align: center;
}

.dda-cta-band__inner {
	max-width: 800px;
}

.dda-cta-band__heading {
	color: var(--dda-color-text-on-dark);
	font-size: var(--dda-font-size-h2);
	margin-bottom: 16px;
}

.dda-cta-band__text {
	color: var(--dda-color-text-muted-on-dark);
	font-size: 1.125rem;
	margin-bottom: 32px;
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */

.dda-faq {
	padding-top: var(--dda-section-padding);
	padding-bottom: var(--dda-section-padding);
}

.dda-faq__heading {
	font-size: var(--dda-font-size-h2);
	text-align: center;
	margin-bottom: 40px;
}

.dda-faq__list {
	max-width: 860px;
	margin: 0 auto;
}

.dda-faq__item {
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: var(--dda-radius);
	margin-bottom: 12px;
	overflow: hidden;
}

.dda-faq__question-heading {
	margin: 0;
}

.dda-faq__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 20px 24px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--dda-font-headings);
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--dda-color-dark);
	text-align: left;
	transition: background-color 0.3s ease;
}

.dda-faq__button:hover {
	background-color: var(--dda-color-bg);
}

.dda-faq__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: var(--dda-color-primary-dark);
	transition: transform 0.3s ease;
}

.dda-faq__button:hover .dda-faq__icon {
	transform: rotate(90deg);
}

.dda-faq__item.is-open .dda-faq__icon {
	transform: rotate(45deg);
}

.dda-faq__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}

.dda-faq__item.is-open .dda-faq__panel {
	grid-template-rows: 1fr;
}

.dda-faq__panel > p {
	overflow: hidden;
	margin: 0;
	padding: 0 24px;
}

.dda-faq__item.is-open .dda-faq__panel > p {
	padding-bottom: 20px;
}

.dda-faq__panel p {
	color: var(--dda-color-text-muted);
}

/* ------------------------------------------------------------------ */
/* Testimonial placeholder                                             */
/* ------------------------------------------------------------------ */

.dda-testimonials {
	padding-top: var(--dda-section-padding);
	padding-bottom: var(--dda-section-padding);
	text-align: center;
}

.dda-testimonials__heading {
	font-size: var(--dda-font-size-h2);
	margin-bottom: 16px;
}

.dda-testimonials__empty {
	color: var(--dda-color-text-muted);
	font-size: 1.125rem;
}

/* ------------------------------------------------------------------ */
/* Blog                                                                */
/* ------------------------------------------------------------------ */

.dda-article {
	max-width: var(--dda-container-max);
	margin: 0 auto;
	padding: 64px 24px;
}

.dda-entry-content {
	max-width: 1200px;
	margin: 0 auto;
}

.dda-entry-content h2,
.dda-entry-content h3,
.dda-entry-content ul,
.dda-entry-content ol {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.dda-pagination {
	margin-top: 48px;
}

.dda-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dda-pagination a,
.dda-pagination .current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid var(--dda-color-border);
	border-radius: 8px;
	background-color: var(--dda-color-surface);
	color: var(--dda-color-text);
	text-decoration: none;
	font-weight: 700;
}

.dda-pagination a:hover {
	border-color: var(--dda-color-primary);
	color: var(--dda-color-primary-dark);
}

.dda-pagination .current {
	background-color: var(--dda-color-primary);
	border-color: var(--dda-color-primary);
	color: #1f2937;
}

/* ------------------------------------------------------------------ */
/* Forms                                                               */
/* ------------------------------------------------------------------ */

.dda-form label,
form label {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
	color: var(--dda-color-dark);
}

.dda-form input[type="text"],
.dda-form input[type="email"],
.dda-form input[type="tel"],
.dda-form input[type="url"],
.dda-form textarea,
.dda-form select,
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="url"],
form textarea,
form select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--dda-color-border);
	border-radius: 8px;
	background-color: var(--dda-color-surface);
	color: var(--dda-color-text);
	font-family: var(--dda-font-body);
	font-size: 1rem;
	line-height: 1.5;
}

.dda-form input:focus,
.dda-form textarea:focus,
.dda-form select:focus,
form input:focus,
form textarea:focus,
form select:focus {
	border-color: var(--dda-color-primary);
	outline: 3px solid rgba(234, 121, 40, 0.35);
	outline-offset: 0;
}

.dda-form textarea,
form textarea {
	min-height: 140px;
	resize: vertical;
}

.dda-form input[type="submit"],
.dda-form button[type="submit"],
form input[type="submit"],
form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	min-height: 48px;
	border-radius: 8px;
	border: 2px solid transparent;
	background-color: var(--dda-color-primary);
	color: #1f2937;
	font-family: var(--dda-font-headings);
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.dda-form input[type="submit"]:hover,
.dda-form button[type="submit"]:hover,
form input[type="submit"]:hover,
form button[type="submit"]:hover {
	background-color: #d96a1d;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(234, 121, 40, 0.35);
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.dda-site-footer {
	background-color: var(--dda-color-dark);
	color: var(--dda-color-text-on-dark);
	padding-top: 64px;
}

.dda-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 48px;
}

.dda-footer-logo .custom-logo {
	max-height: 72px;
	width: auto;
	display: block;
}

.dda-footer-about {
	color: var(--dda-color-text-muted-on-dark);
	margin-top: 20px;
	margin-bottom: 0;
	max-width: 360px;
}

.dda-footer-heading {
	color: var(--dda-color-text-on-dark);
	font-size: 1.0625rem;
	margin-bottom: 20px;
}

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

.dda-footer-menu li + li {
	margin-top: 10px;
}

.dda-footer-menu a {
	color: var(--dda-color-text-muted-on-dark);
	text-decoration: none;
	position: relative;
	display: inline-block;
	padding: 2px 0;
}

.dda-footer-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: var(--dda-color-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.dda-footer-menu a:hover {
	color: var(--dda-color-primary);
}

.dda-footer-menu a:hover::after {
	transform: scaleX(1);
}

.dda-footer-contact-list {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.dda-footer-contact-list li + li {
	margin-top: 10px;
}

.dda-footer-contact-list a {
	color: var(--dda-color-text-muted-on-dark);
	text-decoration: none;
	word-break: break-all;
}

.dda-footer-contact-list a:hover {
	color: var(--dda-color-primary);
}

.dda-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.dda-social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--dda-color-border-dark);
	border-radius: 8px;
	color: var(--dda-color-text-muted-on-dark);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 700;
	transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.dda-social-links a:hover {
	color: var(--dda-color-primary);
	border-color: var(--dda-color-primary);
	transform: translateY(-2px);
}

.dda-footer-bottom {
	border-top: 1px solid var(--dda-color-border-dark);
	padding-top: 24px;
	padding-bottom: 24px;
}

.dda-copyright {
	margin: 0;
	color: var(--dda-color-text-muted-on-dark);
	font-size: 0.875rem;
}

.dda-copyright a {
	color: var(--dda-color-text-on-dark);
	text-decoration: none;
}

.dda-copyright a:hover {
	color: var(--dda-color-primary);
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.dda-card-grid--columns-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.dda-steps {
		grid-template-columns: repeat(2, 1fr);
	}

	.dda-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}

	.dda-split {
		gap: 32px;
	}

	/* v3.0.65: the right-half hero collapses to full width below
	   1024px — the text spans the whole hero instead of the right
	   half. v3.0.74: the hero is now left-half, so the text spans
	   the whole hero instead of the left half below 1024px. The
	   overlays go uniformly dark (same value at both ends)
	   so the full-width text stays readable on any image/video.
	   The lead stays 1.0625rem below 768px via the existing rule
	   (no <=480px lead rule exists). Hero min-height is untouched. */
	.dda-hero__content,
	.dda-hero--video .dda-hero__content {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.dda-hero__overlay {
		background: linear-gradient(90deg, rgba(23, 14, 11, 0.70) 0%, rgba(23, 14, 11, 0.70) 100%);
	}

	.dda-hero--video .dda-hero__overlay {
		background: linear-gradient(90deg, rgba(23, 14, 11, 0.50) 0%, rgba(23, 14, 11, 0.50) 100%);
	}
}

/* v3.0.94 (user, 2026-12-04): the Home "Why Us" cards looked joined on
   EVERY device (laptop, desktop, tablet, mobile) — the Elementor container
   (elementor-element-aadf8f6) has flex-direction: row but NO gap, so the
   3 white cards touch each other. Give them a 24px gap on desktop (16px
   on mobile, see the 768px rule below) so there is a little space between
   every card. The (0,3,0) selector beats Elementor's own (0,2,0) rule. */
.elementor .elementor-element-aadf8f6.e-con {
	gap: 24px;
}

@media (max-width: 768px) {
	:root {
		--dda-section-padding: var(--dda-section-padding-mobile);
	}

	.dda-card-grid,
	.dda-card-grid--columns-4,
	.dda-card-grid--columns-2,
	.dda-blog-guide-grid,
	/* v3.0.92 (mobile responsive fix): .dda-numbered-cards had NO 1-column
	   rule — it stayed 2 columns on mobile (from the 1024px rule), so the
	   SEO sub-services cards squeezed to ~150px and were unreadable. */
	.dda-numbered-cards {
		grid-template-columns: 1fr;
		gap: var(--dda-grid-gap-mobile);
	}

	.dda-split {
		grid-template-columns: 1fr;
	}

	.dda-steps {
		grid-template-columns: 1fr;
	}

	.dda-stats-bar__inner {
		grid-template-columns: repeat(2, 1fr);
	}

	.dda-header-inner {
		gap: 16px;
	}

	/* v3.0.92 (mobile responsive fix): the horizontal logo is 1365x240
	   (aspect ~5.69:1), so at the 60px desktop max-height it renders
	   ~341px wide — wider than a 360px phone's 328px content width.
	   That pushed the hamburger off-screen. Cap it at 40px on mobile
	   (~227px wide) so the logo + hamburger fit side by side. */
	.dda-site-branding .custom-logo {
		max-height: 40px;
	}

	.dda-nav-toggle {
		display: flex;
	}

	.dda-primary-nav {
		display: none;
		position: absolute;
		top: var(--dda-header-height);
		left: 0;
		right: 0;
		background-color: var(--dda-color-bg);
		border-bottom: 1px solid var(--dda-color-border);
		box-shadow: 0 16px 32px rgba(23, 14, 11, 0.12);
		padding: 8px 24px 16px;
	}

	.dda-primary-nav.is-open {
		display: block;
	}

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

	.dda-menu .sub-menu {
		position: static;
		display: none;
		border: none;
		box-shadow: none;
		padding: 0 0 0 16px;
		background-color: transparent;
	}

	.dda-menu li.is-open > .sub-menu,
	.dda-menu li:focus-within > .sub-menu {
		display: block;
	}

	.dda-header-cta {
		display: none;
	}

	.dda-hero {
		min-height: 80svh;
	}

	.dda-hero__lead {
		font-size: 1.0625rem;
	}

	/* v3.0.92 (mobile responsive fix): the Home hero title was 55.8px
	   (36px x 1.55) and the single word "Professional" (~330px) overflowed
	   the 328px mobile content width, cutting the title off at the right
	   edge. The regular hero title was 50.4px (36px x 1.4) with the same
	   risk ("Search Visibility That Compounds" was slightly cut). Shrink
	   both on mobile and let a very long word break instead of overflowing. */
	.dda-hero--home .dda-hero__title {
		font-size: clamp(2rem, 9vw, 2.5rem);
	}

	.dda-hero__title {
		font-size: clamp(1.875rem, 8.5vw, 2.25rem);
		overflow-wrap: break-word;
	}

	/* v3.0.92 (mobile responsive fix): the Home "Why Us" row is an Elementor
	   flexbox container (elementor-element-aadf8f6) set to flex-direction: row
	   with no mobile rule, so its 3 icon-box cards stayed side-by-side at
	   ~95px and overlapped. Stack them vertically on mobile. The (0,3,0)
	   selector beats Elementor's own (0,2,0) .e-aadf8f6 rule.
	   v3.0.94: also set the mobile gap to 16px (desktop gap is 24px, see
	   the base rule above) so the stacked cards have a little space
	   between them instead of touching. */
	.elementor .elementor-element-aadf8f6.e-con {
		flex-direction: column;
		gap: 16px;
	}

	/* v3.0.92 (mobile responsive fix): the Services "What Each Service
	   Includes" comparison table (wp-block-table, fixed layout) squeezed its
	   3 columns on mobile and broke words mid-word ("Busines/ses"). Let the
	   table keep a readable minimum width and scroll sideways INSIDE its own
	   container instead of squeezing (the page itself never scrolls sideways). */
	.wp-block-table {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.wp-block-table table {
		min-width: 560px;
	}

	.dda-footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.dda-article {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}

/* v3.0.92 (mobile responsive fix): show the hamburger menu up to 1024px
   instead of only up to 768px. At 769-1024px the 7-item horizontal menu +
   Contact Us button + logo did not fit (at 800-905px "About Us" wrapped to
   2 lines and "Contact Us" was cut off, and the Blog page scrolled
   sideways). Tablets and small laptops now get the same hamburger dropdown
   as phones. These rules mirror the 768px nav rules; the JS toggle is
   width-agnostic, so it works unchanged. */
@media (max-width: 1024px) {
	.dda-header-inner {
		gap: 16px;
	}

	.dda-nav-toggle {
		display: flex;
	}

	.dda-primary-nav {
		display: none;
		position: absolute;
		top: var(--dda-header-height);
		left: 0;
		right: 0;
		background-color: var(--dda-color-bg);
		border-bottom: 1px solid var(--dda-color-border);
		box-shadow: 0 16px 32px rgba(23, 14, 11, 0.12);
		padding: 8px 24px 16px;
	}

	.dda-primary-nav.is-open {
		display: block;
	}

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

	.dda-menu .sub-menu {
		position: static;
		display: none;
		border: none;
		box-shadow: none;
		padding: 0 0 0 16px;
		background-color: transparent;
	}

	.dda-menu li.is-open > .sub-menu,
	.dda-menu li:focus-within > .sub-menu {
		display: block;
	}

	.dda-header-cta {
		display: none;
	}
}

@media (max-width: 480px) {
	.dda-container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.dda-stats-bar__inner {
		grid-template-columns: 1fr 1fr;
		gap: var(--dda-grid-gap-mobile);
	}

	.dda-btn {
		padding: 12px 20px;
	}
}

/* ------------------------------------------------------------------ */
/* Stage 4 appendix — classes referenced by the page templates        */
/* (front-page.php, single.php, archive.php, search.php, 404.php,      */
/* comments.php, page-templates/*). Stage 1 defined the base system;  */
/* these rules complete it so no template class is left unstyled.     */
/* Card-variant classes (dda-benefit-card etc.) inherit .dda-card;     */
/* their headings/placeholder text are styled below.                  */
/* ------------------------------------------------------------------ */

/* Home section wrappers (these <section>s carry no .dda-section class). */
.dda-home-services,
.dda-home-countries,
.dda-home-insights,
.dda-locations-countries,
.dda-browse-country {
	padding-top: var(--dda-section-padding);
	padding-bottom: var(--dda-section-padding);
}

/* Section headings inside template sections (BEM element form). */
.dda-section__heading {
	font-size: var(--dda-font-size-h2);
	margin-bottom: 16px;
}

/* Content column (page.php, single post body): max 1200px, centred. */
.dda-content {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.dda-content > :first-child {
	margin-top: 0;
}

/* Overview split (text left / image right). */
.dda-overview__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.dda-overview__image img {
	border-radius: var(--dda-radius);
	width: 100%;
	height: auto;
	display: block;
}

.dda-overview__text > :first-child {
	margin-top: 0;
}

.dda-overview__text > :last-child {
	margin-bottom: 0;
}

/* Numbered "What's included" — cards (hub) and plain list (sub-service). */
.dda-numbered-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: var(--dda-grid-gap);
}

.dda-numbered-card {
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: var(--dda-radius);
	padding: 24px;
	box-shadow: 0 2px 8px rgba(23, 14, 11, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dda-numbered-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(23, 14, 11, 0.14);
}

.dda-numbered-card__number,
.dda-numbered-list__number,
.dda-process-step__number {
	display: block;
	font-family: var(--dda-font-headings);
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--dda-color-primary);
	margin-bottom: 12px;
}

.dda-numbered-card__title,
.dda-process-step__title {
	font-size: 1.125rem;
	margin-bottom: 8px;
}

.dda-numbered-card__text,
.dda-process-step__text {
	color: var(--dda-color-text-muted);
	margin-bottom: 0;
}

.dda-numbered-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.dda-numbered-list__item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: var(--dda-radius);
	padding: 16px 20px;
}

.dda-numbered-list__number {
	margin-bottom: 0;
	flex-shrink: 0;
}

.dda-numbered-list__text {
	padding-top: 4px;
}

/* Process steps (4 across on desktop). */
.dda-process-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--dda-grid-gap);
}

.dda-process-step {
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: var(--dda-radius);
	padding: 24px;
	box-shadow: 0 2px 8px rgba(23, 14, 11, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dda-process-step:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(23, 14, 11, 0.14);
}

/* Benefit / value / why-us / team cards (inherit .dda-card). */
.dda-benefit-card h3,
.dda-value-card h3,
.dda-why-us-card h3,
.dda-team-card h3 {
	font-size: 1.125rem;
	margin-bottom: 8px;
}

.dda-benefit-card p,
.dda-value-card p,
.dda-why-us-card p,
.dda-team-card p {
	color: var(--dda-color-text-muted);
	margin-bottom: 0;
}

.dda-team-card--placeholder {
	border-style: dashed;
	background-color: transparent;
	box-shadow: none;
}

/* Results / testimonials placeholders. */
.dda-results--placeholder,
.dda-testimonials--placeholder {
	text-align: center;
}

.dda-empty-state {
	color: var(--dda-color-text-muted);
}

/* Tools strip. */
.dda-tools-strip {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.dda-tools-strip__item {
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: 999px;
	padding: 10px 18px;
	font-weight: 600;
	font-size: 0.9375rem;
}

/* City chips (country local focus). */
.dda-city-chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.dda-city-chip {
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: 999px;
	padding: 10px 18px;
	font-weight: 600;
	font-size: 0.9375rem;
}

/* Blog links inside country cards. */
.dda-country-card__posts {
	list-style: none;
	margin: 16px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--dda-color-border);
	display: grid;
	gap: 8px;
}

.dda-country-card__posts a {
	color: var(--dda-color-text);
	text-decoration: none;
	font-size: 0.9375rem;
}

.dda-country-card__posts a:hover {
	color: var(--dda-color-primary-dark);
}

/* Related-services hub link (sub-service pages). */
.dda-related-services__hub-link {
	margin-top: 24px;
}

/* Single post (§4.10). */
.dda-single-featured {
	margin-top: 40px;
}

.dda-single-featured-image {
	width: 100%;
	height: auto;
	border-radius: var(--dda-radius);
	object-fit: contain;
	display: block;
}

.dda-single-header {
	padding-top: 32px;
	text-align: center;
}

.dda-single-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	margin-bottom: 12px;
}

.dda-single-byline {
	color: var(--dda-color-text-muted);
	margin-bottom: 0;
}

.dda-single-content {
	padding-top: 32px;
	padding-bottom: 32px;
}

.dda-single-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--dda-radius);
}

.dda-post-hub {
	padding-top: var(--dda-section-padding);
	padding-bottom: var(--dda-section-padding);
	background-color: var(--dda-color-surface);
	border-top: 1px solid var(--dda-color-border);
	border-bottom: 1px solid var(--dda-color-border);
}

.dda-post-hub__heading {
	font-size: var(--dda-font-size-h2);
	margin-bottom: 16px;
}

.dda-post-hub__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 32px;
}

.dda-post-hub__list a {
	color: var(--dda-color-text);
	text-decoration: none;
}

.dda-post-hub__list a:hover {
	color: var(--dda-color-primary-dark);
}

.dda-single-meta {
	border-top: 1px solid var(--dda-color-border);
	padding-top: 24px;
	padding-bottom: 24px;
}

.dda-single-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	color: var(--dda-color-text-muted);
	margin-bottom: 0;
}

.dda-single-meta a {
	color: var(--dda-color-primary-dark);
}

/* Blog / archive / search wrappers (section padding; grids inside). */
.dda-blog-grid,
.dda-archive-grid,
.dda-search-results {
	padding-top: var(--dda-section-padding);
	padding-bottom: var(--dda-section-padding);
}

.dda-card-grid--columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.dda-search-count {
	color: var(--dda-color-text-muted);
	margin-bottom: 24px;
}

/* 404 + no-results states. */
.dda-not-found {
	padding-top: var(--dda-section-padding);
	padding-bottom: var(--dda-section-padding);
	text-align: center;
}

.dda-not-found__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	justify-content: center;
	list-style: none;
	margin: 24px 0;
	padding: 0;
}

.dda-no-results {
	text-align: center;
	padding-top: var(--dda-section-padding);
	padding-bottom: var(--dda-section-padding);
}

.dda-no-results__heading {
	font-size: var(--dda-font-size-h2);
	margin-bottom: 12px;
}

/* Comments. */
.dda-comments {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 48px 24px var(--dda-section-padding);
}

.dda-comments-title {
	font-size: var(--dda-font-size-h2);
	margin-bottom: 24px;
}

.dda-comment-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	gap: 24px;
}

.dda-comment-list .comment {
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: var(--dda-radius);
	padding: 20px 24px;
}

.dda-comment-list .children {
	list-style: none;
	margin: 16px 0 0;
	padding-left: 24px;
	display: grid;
	gap: 16px;
}

/* Entry header / title (utility, sitemap, index fallback). */
.dda-entry-header {
	padding-top: 48px;
	margin-bottom: 8px;
}

.dda-entry-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}

/* Sitemap page. */
.dda-sitemap {
	padding-top: 48px;
	padding-bottom: var(--dda-section-padding);
}

.dda-sitemap__section {
	margin-bottom: 40px;
}

.dda-sitemap__group-heading {
	font-size: 1.25rem;
	margin: 24px 0 12px;
}

.dda-sitemap__pages,
.dda-sitemap__posts,
.dda-sitemap__categories {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.dda-sitemap__pages ul,
.dda-sitemap__posts ul,
.dda-sitemap__categories ul {
	margin-left: 24px;
}

.dda-sitemap a {
	color: var(--dda-color-text);
	text-decoration: none;
}

.dda-sitemap a:hover {
	color: var(--dda-color-primary-dark);
}

/* Utility page inner (narrow readable column). */
.dda-utility__inner {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 48px;
	padding-bottom: var(--dda-section-padding);
}

/* Contact page layout. */
.dda-contact__inner {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 48px;
	align-items: start;
}

.dda-contact-info {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.dda-contact-info__item {
	display: grid;
	gap: 4px;
}

.dda-contact-info__label {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dda-color-text-muted);
}

/* Hero / CTA / FAQ / scroll-cue element rules. */
.dda-hero--slideshow {
	position: relative;
}

.dda-hero__button,
.dda-cta-band__button {
	margin-top: 24px;
}

.dda-faq__question-text {
	flex: 1;
	text-align: left;
}

.dda-scroll-cue__text {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Footer brand column + nav columns. */
.dda-footer-brand {
	max-width: 340px;
}

.dda-footer-nav .dda-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

/* Theme utility classes (plan section 7.6) — add these class names
   in free Elementor's Advanced > CSS Classes field to get the theme's
   card / lift / rounding / shadow styling on any Elementor element.
   .dda-card is the theme's existing card component (background,
   border, radius, padding) and is usable the same way. */
.dda-hover-lift {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dda-hover-lift:hover,
.dda-hover-lift:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(23, 14, 11, 0.14);
}

.dda-rounded {
	border-radius: var(--dda-radius);
	overflow: hidden;
}

.dda-shadow {
	box-shadow: 0 8px 24px rgba(23, 14, 11, 0.12);
}

/* Back-to-top button (plan section 12.5 item 4). Hidden until the
   page is scrolled 600px; .is-visible is set by main.js. */
.dda-back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 2px solid var(--dda-color-primary);
	border-radius: 50%;
	background-color: var(--dda-color-dark);
	color: var(--dda-color-text-on-dark);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
}

.dda-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
}

.dda-back-to-top:hover,
.dda-back-to-top:focus-visible {
	background-color: var(--dda-color-primary);
	color: var(--dda-color-dark);
}

/* Footer search (plan section 12.5 item 3): the footer search form
   added by footer.php via get_search_form(). */
.dda-footer-search {
	margin-top: 24px;
}

.dda-footer-search .search-form {
	display: flex;
	gap: 8px;
}

.dda-footer-search .search-field {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border: 1px solid var(--dda-color-border-dark);
	border-radius: 8px;
	background-color: transparent;
	color: var(--dda-color-text-on-dark);
}

.dda-footer-search .search-field::placeholder {
	color: var(--dda-color-text-muted-on-dark);
}

.dda-footer-search .search-submit {
	padding: 10px 18px;
	border: 2px solid var(--dda-color-primary);
	border-radius: 8px;
	background-color: var(--dda-color-primary);
	color: #1f2937;
	font-family: var(--dda-font-headings);
	font-weight: 700;
	cursor: pointer;
}

/* Elementor canvas main. */
.dda-canvas-main {
	background-color: var(--dda-color-bg);
	min-height: 60vh;
}

/* Section wrappers that carry .dda-section already: their vertical
   padding comes from .dda-section; these rules only add what the
   inner layout needs. */
.dda-benefits,
.dda-included,
.dda-sub-services,
.dda-values,
.dda-country-channels,
.dda-country-posts,
.dda-local-focus,
.dda-next-steps {
	/* Inner grids/cards carry their own layout; no extra padding here. */
}

.dda-country-cards {
	/* Grid comes from .dda-card-grid--columns-4 on the same element. */
}

.dda-contact__form {
	min-width: 0;
}

.dda-contact__info {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.dda-team--placeholder {
	text-align: center;
}

/* Related posts section on single posts. */
.dda-related-posts {
	padding-top: var(--dda-section-padding);
	padding-bottom: var(--dda-section-padding);
}

/* Single-post meta spans (inline items in the flex meta row). */
.dda-single-meta-author,
.dda-single-meta-categories,
.dda-single-meta-tags {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* NOTE: .dda-hero-image-picker / .dda-hero-image-remove are admin
   buttons in the Hero Settings meta box; they are styled by the
   WordPress admin .button class (main.css is not loaded in wp-admin).
   .dda-year is an inline span in the footer copyright line and
   inherits the footer text styles. */

/* Responsive: appendix grids stack like the base system. */
@media (max-width: 1024px) {
	.dda-numbered-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.dda-process-steps {
		grid-template-columns: repeat(2, 1fr);
	}

	.dda-contact__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 768px) {
	.dda-overview__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.dda-numbered-cards,
	.dda-process-steps,
	.dda-post-hub__list {
		grid-template-columns: 1fr;
	}

	.dda-home-services,
	.dda-home-countries,
	.dda-home-insights,
	.dda-locations-countries,
	.dda-browse-country,
	.dda-blog-grid,
	.dda-archive-grid,
	.dda-search-results,
	.dda-not-found,
	.dda-no-results {
		padding-top: var(--dda-section-padding-mobile);
		padding-bottom: var(--dda-section-padding-mobile);
	}
}

/* ------------------------------------------------------------------ */
/* v3.0 appendix — video findings V-1..V-15 (goodlinedigital.com)       */
/* ------------------------------------------------------------------ */

/* V-1 — Rotating typewriter word in the hero H1: the word is orange,
   the cursor blinks (keyframes in animations.css). When JS is off or
   reduced motion is preferred, the static first word still shows. */
.dda-typewriter {
	color: var(--dda-color-primary);
	white-space: nowrap;
}

.dda-typewriter__cursor {
	color: var(--dda-color-primary);
	font-weight: 400;
	animation: dda-cursor-blink 1s steps(2, start) infinite;
}

/* V-8 — Giant background word behind the hero content: huge, faint,
   uppercase, clipped by the hero's overflow. Purely decorative. */
.dda-hero__giant-word {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.12em;
	z-index: 1;
	font-family: var(--dda-font-headings);
	font-weight: 800;
	font-size: clamp(5rem, 18vw, 15rem);
	line-height: 0.8;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: center;
	color: rgba(255, 255, 255, 0.07);
	pointer-events: none;
	user-select: none;
}

/* V-13 — Rotating circular badge: slow CSS rotation (keyframes in
   animations.css), decorative, positioned bottom-LEFT of the hero.
   v3.0.65: moved from bottom-right to bottom-left — the text and
   buttons now sit on the right half, so the badge lives over the
   visible image/video on the left instead of colliding with them. */
.dda-rotating-badge {
	position: absolute;
	/* v3.0.74 (user, 2026-12-03): hero text is back on the LEFT
	   half, so the badge moves back to the bottom-right (it was
	   bottom-left in v3.0.65 when the text was on the right). */
	right: 32px;
	left: auto;
	bottom: 32px;
	z-index: 3;
	width: 120px;
	height: 120px;
	color: var(--dda-color-text-on-dark);
	pointer-events: none;
}

.dda-rotating-badge__svg {
	width: 100%;
	height: 100%;
	animation: dda-badge-rotate 18s linear infinite;
}

.dda-rotating-badge__text {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	fill: currentColor;
}

.dda-rotating-badge__centre {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: var(--dda-color-primary);
}

/* V-2 — Nested dropdown menus (plan section 7.9). NO mega menu.
   The base dropdown (hidden .sub-menu, shown on hover / focus-within)
   is defined with the header menu above; these rules add the parts a
   two-level menu needs:
   - .is-open (set by main.js on focus / Escape / tap-to-toggle);
   - second-level fly-out (hub > sub-page) to the side on desktop;
   - a "›" marker on sub-menu parents that have their own submenu. */
.dda-menu li.is-open > .sub-menu {
	display: block;
}

.dda-menu .sub-menu li {
	position: relative;
}

.dda-menu .sub-menu .sub-menu {
	top: -8px;
	left: 100%;
}

.dda-menu .sub-menu .menu-item-has-children > a {
	padding-right: 32px;
}

.dda-menu .sub-menu .menu-item-has-children > a::after {
	display: block;
	content: "\203A";
	position: absolute;
	right: 14px;
	left: auto;
	bottom: auto;
	top: 50%;
	transform: translateY(-50%);
	height: auto;
	background: none;
	font-size: 1.1rem;
	font-weight: 700;
}

/* V-3 — Case-study cards: hover turns the card orange and shows the
   black "View Full Image" pill; the media button opens the lightbox. */
.dda-case-card {
	overflow: hidden;
}

.dda-case-card:hover,
.dda-case-card:focus-within {
	background-color: var(--dda-color-primary);
	border-color: var(--dda-color-primary);
}

.dda-case-card:hover .dda-card__title,
.dda-case-card:hover .dda-case-card__category,
.dda-case-card:hover .dda-case-card__metrics,
.dda-case-card:focus-within .dda-card__title,
.dda-case-card:focus-within .dda-case-card__category,
.dda-case-card:focus-within .dda-case-card__metrics {
	color: var(--dda-color-text-on-dark);
}

.dda-case-card__media {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background-color: var(--dda-color-surface);
	cursor: pointer;
}

.dda-case-card__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.dda-case-card__media:hover .dda-case-card__image,
.dda-case-card__media:focus-visible .dda-case-card__image {
	transform: scale(1.05);
}

.dda-case-card__media--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	color: var(--dda-color-text-muted);
	cursor: default;
}

.dda-case-card__graph {
	width: 120px;
	height: 60px;
}

.dda-case-card__pill {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	opacity: 0;
	padding: 10px 20px;
	border-radius: 999px;
	background-color: var(--dda-color-dark);
	color: var(--dda-color-text-on-dark);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.dda-case-card__media--placeholder .dda-case-card__pill {
	position: static;
	transform: none;
	opacity: 1;
	margin-top: 16px;
}

.dda-case-card:hover .dda-case-card__pill,
.dda-case-card:focus-within .dda-case-card__pill,
.dda-case-card__media:hover .dda-case-card__pill,
.dda-case-card__media:focus-visible .dda-case-card__pill {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.dda-case-card__media--placeholder:hover .dda-case-card__pill,
.dda-case-card__media--placeholder:focus-visible .dda-case-card__pill {
	transform: none;
}

.dda-case-card__category {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dda-color-primary);
	margin: 0 0 8px;
}

.dda-case-card__metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 12px 0 0;
	color: var(--dda-color-text-muted);
	font-size: 0.9375rem;
}

.dda-case-card__metrics span {
	font-weight: 700;
	color: var(--dda-color-text);
}

/* V-3 — Lightbox (shared dialog, populated by main.js). */
.dda-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.dda-lightbox[hidden] {
	display: none;
}

.dda-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background-color: rgba(23, 14, 11, 0.85);
}

.dda-lightbox__figure {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	width: 100%;
	margin: 0;
}

.dda-lightbox__image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 80vh;
	object-fit: contain;
	border-radius: var(--dda-radius);
}

.dda-lightbox__caption {
	margin-top: 12px;
	text-align: center;
	color: var(--dda-color-text-on-dark);
	font-weight: 600;
}

.dda-lightbox__close {
	position: absolute;
	top: -48px;
	right: 0;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background-color: var(--dda-color-surface);
	color: var(--dda-color-text);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

/* V-4 — Auto-scrolling testimonial carousel: the track scrolls
   continuously (keyframes in animations.css) and PAUSES on hover and
   on focus-within; static under reduced motion. */
.dda-testimonials__note {
	color: var(--dda-color-text-muted);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 24px;
}

.dda-testimonial-carousel {
	overflow: hidden;
	margin: 0 calc(-1 * var(--dda-grid-gap));
	padding: 4px var(--dda-grid-gap);
}

.dda-testimonial-carousel__track {
	display: flex;
	gap: var(--dda-grid-gap);
	width: max-content;
	animation: dda-marquee 36s linear infinite;
}

.dda-testimonial-carousel:hover .dda-testimonial-carousel__track,
.dda-testimonial-carousel:focus-within .dda-testimonial-carousel__track {
	animation-play-state: paused;
}

.dda-testimonial-card {
	flex: 0 0 340px;
	max-width: 340px;
	text-align: left;
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: var(--dda-radius);
	padding: 24px;
}

.dda-testimonial-card__stars {
	color: var(--dda-color-primary);
	letter-spacing: 0.15em;
	margin: 0 0 12px;
}

.dda-testimonial-card__quote {
	font-size: 1.0625rem;
	margin: 0 0 16px;
}

.dda-testimonial-card__name {
	font-weight: 700;
	margin: 0;
}

.dda-testimonial-card__role {
	color: var(--dda-color-text-muted);
	font-size: 0.9375rem;
	margin: 4px 0 0;
}

/* V-5/V-6 — Team page: filter pills, team grid, member modal. */
.dda-team-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-bottom: 32px;
}

.dda-team-filter {
	padding: 10px 18px;
	border: 1px solid var(--dda-color-border);
	border-radius: 999px;
	background-color: var(--dda-color-surface);
	color: var(--dda-color-text);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dda-team-filter:hover,
.dda-team-filter:focus-visible {
	border-color: var(--dda-color-primary);
	color: var(--dda-color-primary-dark);
}

.dda-team-filter.is-active {
	background-color: var(--dda-color-primary);
	border-color: var(--dda-color-primary);
	color: var(--dda-color-text-on-dark);
}

.dda-team-grid__empty {
	text-align: center;
	color: var(--dda-color-text-muted);
}

.dda-team-card {
	overflow: hidden;
}

.dda-team-card__photo {
	aspect-ratio: 1 / 1;
	background-color: var(--dda-color-surface);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dda-color-text-muted);
	overflow: hidden;
}

.dda-team-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.dda-team-card:hover .dda-team-card__image,
.dda-team-card:focus-within .dda-team-card__image {
	transform: scale(1.05);
}

.dda-team-card__avatar {
	width: 96px;
	height: 96px;
}

.dda-team-card__role {
	color: var(--dda-color-text-muted);
	margin: 4px 0 0;
}

.dda-team-card__department {
	display: inline-block;
	margin: 12px 0 0;
	padding: 4px 12px;
	border-radius: 999px;
	background-color: var(--dda-color-surface);
	color: var(--dda-color-primary-dark);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.dda-team-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background-color: var(--dda-color-dark);
	color: var(--dda-color-text-on-dark);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.dda-team-card__more:hover,
.dda-team-card__more:focus-visible {
	background-color: var(--dda-color-primary);
	transform: translateY(-2px);
}

/* V-6 — Team member modal: centred dialog with internal scroll,
   backdrop, X close; focus trap handled by main.js. */
.dda-team-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.dda-team-modal[hidden] {
	display: none;
}

.dda-team-modal__backdrop {
	position: absolute;
	inset: 0;
	background-color: rgba(23, 14, 11, 0.7);
}

.dda-team-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 760px;
	max-height: 88vh;
	overflow-y: auto;
	background-color: var(--dda-color-bg);
	border-radius: var(--dda-radius);
	box-shadow: 0 24px 64px rgba(23, 14, 11, 0.35);
}

.dda-team-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background-color: var(--dda-color-surface);
	color: var(--dda-color-text);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}

.dda-team-modal__content {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 24px;
	padding: 24px;
}

.dda-team-modal__photo {
	aspect-ratio: 1 / 1;
	border-radius: var(--dda-radius);
	background-color: var(--dda-color-surface);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dda-color-text-muted);
	overflow: hidden;
}

.dda-team-modal__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dda-team-modal__photo--placeholder::after {
	content: "Photo — to be added";
	font-size: 0.875rem;
	font-weight: 600;
	text-align: center;
	padding: 16px;
}

.dda-team-modal__name {
	font-size: 1.5rem;
	margin: 0 0 4px;
}

.dda-team-modal__role {
	color: var(--dda-color-text-muted);
	margin: 0;
}

.dda-team-modal__department {
	display: inline-block;
	margin: 12px 0 0;
	padding: 4px 12px;
	border-radius: 999px;
	background-color: var(--dda-color-surface);
	color: var(--dda-color-primary-dark);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.dda-team-modal__bio {
	margin: 16px 0 0;
	color: var(--dda-color-text-muted);
}

.dda-team-modal__label {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dda-color-text-muted);
	margin: 24px 0 8px;
}

.dda-team-modal__expertise {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dda-team-modal__expertise li {
	padding: 6px 14px;
	border-radius: 999px;
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	font-size: 0.875rem;
	font-weight: 600;
}

.dda-team-modal__focus {
	margin: 0;
}

.dda-team-modal__projects {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.dda-team-modal__projects li {
	padding: 10px 14px;
	border: 1px solid var(--dda-color-border);
	border-radius: var(--dda-radius);
	background-color: var(--dda-color-surface);
	font-weight: 600;
}

.dda-team-modal__footer {
	margin: 24px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--dda-color-border);
	color: var(--dda-color-text-muted);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Prevent the page behind an open modal/lightbox from scrolling. */
body.dda-modal-open {
	overflow: hidden;
}

/* V-9 — "Growth, measured" 3-column metrics section. */
.dda-metrics__columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--dda-grid-gap);
}

.dda-metrics__column {
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: var(--dda-radius);
	padding: 24px;
}

.dda-metrics__column-heading {
	font-size: 1.25rem;
	margin: 0 0 16px;
}

.dda-metrics__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 12px 0;
	border-top: 1px solid var(--dda-color-border);
}

.dda-metrics__row:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.dda-metrics__label {
	color: var(--dda-color-text-muted);
}

.dda-metrics__value {
	font-family: var(--dda-font-headings);
	font-weight: 800;
	font-size: 1.375rem;
	color: var(--dda-color-primary-dark);
	white-space: nowrap;
}

/* V-10 — Numbered playbook list 01–06. */
.dda-playbook__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.dda-playbook__item {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background-color: var(--dda-color-surface);
	border: 1px solid var(--dda-color-border);
	border-radius: var(--dda-radius);
	padding: 20px 24px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dda-playbook__item:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(23, 14, 11, 0.10);
}

.dda-playbook__number {
	font-family: var(--dda-font-headings);
	font-weight: 800;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--dda-color-primary);
	flex-shrink: 0;
	padding-top: 2px;
}

.dda-playbook__title {
	font-size: 1.25rem;
	margin: 0;
}

.dda-playbook__text {
	color: var(--dda-color-text-muted);
	margin: 6px 0 0;
}

/* V-11 — "Powered By" dark strip: slow marquee, pauses on hover/focus. */
.dda-powered-by {
	background-color: var(--dda-color-dark);
	color: var(--dda-color-text-on-dark);
	padding-top: 28px;
	padding-bottom: 28px;
	overflow: hidden;
}

.dda-powered-by__track {
	display: flex;
	width: max-content;
	animation: dda-marquee 40s linear infinite;
}

.dda-powered-by:hover .dda-powered-by__track,
.dda-powered-by:focus-within .dda-powered-by__track {
	animation-play-state: paused;
}

.dda-powered-by__list {
	list-style: none;
	margin: 0;
	padding: 0 24px 0 0;
	display: flex;
	align-items: center;
	gap: 24px;
}

.dda-powered-by__label {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dda-color-text-muted-on-dark);
	white-space: nowrap;
}

.dda-powered-by__item {
	font-family: var(--dda-font-headings);
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: -0.01em;
	white-space: nowrap;
	color: var(--dda-color-text-on-dark);
}

/* V-12 — Footer pill nav: pill-shaped service links at the footer bottom. */
.dda-footer-pill-nav {
	margin-bottom: 24px;
}

.dda-footer-pill-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dda-footer-pill-nav__pill {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--dda-color-border);
	border-radius: 999px;
	color: var(--dda-color-text);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dda-footer-pill-nav__pill:hover,
.dda-footer-pill-nav__pill:focus-visible {
	background-color: var(--dda-color-primary);
	border-color: var(--dda-color-primary);
	color: var(--dda-color-text-on-dark);
}

/* v3.0 responsive adjustments. */
@media (max-width: 1024px) {
	.dda-metrics__columns {
		grid-template-columns: 1fr;
	}

}

@media (max-width: 768px) {
	.dda-rotating-badge {
		display: none;
	}

	/* Mobile nested dropdowns: sub-menus are collapsed until their
	   parent is tapped (.is-open, set by main.js) or focused, so the
	   mobile menu does not dump all 21 sub-pages at once. Second-level
	   fly-outs stack below their parent instead. */
	.dda-menu .sub-menu .sub-menu {
		top: auto;
		left: auto;
	}

	.dda-menu li.is-open > .sub-menu,
	.dda-menu li:focus-within > .sub-menu {
		display: block;
	}

	.dda-team-modal__content {
		grid-template-columns: 1fr;
	}

	.dda-team-modal__photo {
		max-width: 240px;
	}
}

@media (max-width: 480px) {
	.dda-testimonial-card {
		flex-basis: 280px;
		max-width: 280px;
	}
}

/* ------------------------------------------------------------------ */
/* Print                                                               */
/* ------------------------------------------------------------------ */

@media print {
	.dda-site-header,
	.dda-site-footer,
	.dda-cta-band,
	.dda-scroll-cue,
	.dda-nav-toggle {
		display: none !important;
	}

	body {
		background-color: #fff;
		color: #000;
	}

	.dda-hero {
		min-height: 0;
		background-color: #fff;
		color: #000;
	}

	.dda-hero__background,
	.dda-hero__overlay {
		display: none;
	}

	.dda-hero__title,
	.dda-hero__lead {
		color: #000;
	}

	a {
		color: #000;
	}
}

/* DDA v3.0.6 colour fix — one palette: black text, theme orange accent, no blue.
   Elementor's default Kit was never customised: primary #6EC1E4 (light blue)
   coloured every Image Box / Icon Box title, text #7A7A7A (grey) coloured
   every Text Editor paragraph. The theme itself has no blue anywhere. */

/* 1. Take over Elementor's global colours. Redefining the variables on
   body.elementor-kit-6 beats the kit rule (.elementor-kit-6) on specificity,
   so this wins regardless of stylesheet load order — and fixes every
   Elementor page at once (Home, Our Markets, Contact), including hovers,
   because all widget rules reference these variables. */
body.elementor-kit-6 {
  --e-global-color-primary: #ea7928;   /* was #6EC1E4 blue  -> theme orange (icons/accents) */
  --e-global-color-secondary: #170e0b; /* was #54595F grey -> theme dark */
  --e-global-color-text: #241a15;      /* was #7A7A7A grey -> body black */
  --e-global-color-accent: #9a3412;    /* was #61CE70 green -> dark orange */
}

/* 1b. Card titles stay BLACK (not orange): the user asked for black bold
   headings. The kit colours Image Box / Icon Box titles with the primary
   variable, so override them explicitly with higher specificity. Hover
   turns dark orange, matching the theme's own card-title hover. */
body.elementor-kit-6 .elementor-widget-image-box .elementor-image-box-title,
body.elementor-kit-6 .elementor-widget-icon-box .elementor-icon-box-title {
  color: #170e0b;
}
body.elementor-kit-6 .elementor-widget-image-box .elementor-image-box-title:hover,
body.elementor-kit-6 .elementor-widget-icon-box .elementor-icon-box-title:hover {
  color: #9a3412;
}

/* 2. Kill the theme's own dim text. --dda-color-text-muted (#5d534c) is
   used for real body copy: .dda-section-lead, .dda-faq__panel p (FAQ
   answers), .dda-step__text / .dda-process-step__text. Pointing it at the
   body text colour makes FAQ answers, section leads and step descriptions
   full black. */
:root {
  --dda-color-text-muted: #241a15;
}

/* 3. Unify the near-black on orange buttons. The theme uses #1f2937 (a cool
   slate grey, off-palette) for text on orange buttons; make it the theme's
   warm black instead. Hover background #d96a1d is unchanged. */
.dda-btn-primary,
.dda-btn-primary:hover,
.dda-btn-primary:focus-visible,
.dda-pagination .current,
.dda-form input[type="submit"],
.dda-form button[type="submit"],
form input[type="submit"],
form button[type="submit"],
.dda-footer-search .search-submit {
  color: var(--dda-color-dark);
}

/* 4. Links inside Elementor content: dark orange, orange on hover. The
   theme already sets `a { color: #9a3412 }`, but Elementor widget rules
   set the container colour, so state it explicitly here. */
.elementor-widget-text-editor a,
.elementor-widget-image-box .elementor-image-box-description a,
.elementor-widget-icon-box .elementor-icon-box-description a {
  color: #9a3412;
}
.elementor-widget-text-editor a:hover,
.elementor-widget-image-box .elementor-image-box-description a:hover,
.elementor-widget-icon-box .elementor-icon-box-description a:hover {
  color: #ea7928;
}

/* 5. Unify the 7 explicitly orange icons on Home. The 4 Process icons and
   3 Why Us icons were set per-widget to #F97316. Rule 1 makes every other
   icon #ea7928; the two oranges are near-identical, so this rule is only
   for pixel-perfect consistency. It needs !important because the
   per-widget rules are more specific. */
.elementor-widget-icon .elementor-icon,
.elementor-widget-icon-box .elementor-icon {
  color: #ea7928 !important;
  fill: #ea7928 !important;
}

/* DDA v3.0.7 — Home layout fix (user, 2026-12-01).
   The Home page's Elementor content is FLAT: every section piece is a
   top-level flexbox sharing one parent, so the editor could not regroup
   them into rows/columns by dragging. These rules fix the layout in CSS,
   targeting the stable Elementor element IDs on the Home page (1113).
   Nothing here touches any other page. */

/* 1. Section margins: space ABOVE each section's eyebrow, so no section
   sits "open" on the page. 80px on desktop, 40px on mobile. */
.elementor-1113 .elementor-element-80216bf,
.elementor-1113 .elementor-element-4b96796,
.elementor-1113 .elementor-element-4dafea3,
.elementor-1113 .elementor-element-0f5ea81 {
  margin-top: 80px;
}
@media (max-width: 767px) {
  .elementor-1113 .elementor-element-80216bf,
  .elementor-1113 .elementor-element-4b96796,
  .elementor-1113 .elementor-element-4dafea3,
  .elementor-1113 .elementor-element-0f5ea81 {
    margin-top: 40px;
  }
}

/* 2. What We Do as ONE section in two parts: the container 7ea23d4 holds
   the intro text (13fb030), the main image (afcb781) and the 3 cards
   (b727a82, 2623658, 713acf2). A 6-column grid puts text left + image
   right on row 1, and the 3 cards side by side on row 2. On mobile
   everything stacks. */
.elementor-1113 .elementor-element-7ea23d4 {
  --display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}
.elementor-1113 .elementor-element-13fb030 {
  grid-column: 1 / 4;
  grid-row: 1;
  min-width: 0;
}
.elementor-1113 .elementor-element-afcb781 {
  grid-column: 4 / 7;
  grid-row: 1;
  min-width: 0;
}
.elementor-1113 .elementor-element-b727a82 {
  grid-column: 1 / 3;
  grid-row: 2;
  min-width: 0;
}
.elementor-1113 .elementor-element-2623658 {
  grid-column: 3 / 5;
  grid-row: 2;
  min-width: 0;
}
.elementor-1113 .elementor-element-713acf2 {
  grid-column: 5 / 7;
  grid-row: 2;
  min-width: 0;
}
@media (max-width: 767px) {
  .elementor-1113 .elementor-element-7ea23d4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .elementor-1113 .elementor-element-13fb030,
  .elementor-1113 .elementor-element-afcb781,
  .elementor-1113 .elementor-element-b727a82,
  .elementor-1113 .elementor-element-2623658,
  .elementor-1113 .elementor-element-713acf2 {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

/* DDA v3.0.8 — Site-wide card treatment (user, 2026-12-01).
   Home look everywhere: every section below the hero is a proper white
   card (background #FFFFFF, padding 24px, radius 12px, shadow
   0px 4px 16px rgba(0,0,0,0.5)). The v3.0.7 rules 3-4 that were here
   are removed: their Elementor IDs (20ff304/44116aa/e3c0e94, de049cc)
   no longer exist — the Work and Approach cards are now styled in
   Elementor itself. Nothing here changes any page's text or headings. */

/* 1. Overview image column (Our Markets page only, v3.0.9): the
   .dda-overview__text card is gone — the Overview is now per-heading
   cards (see the v3.0.9 block at the end of this file). The image
   column keeps its card. */
.dda-overview__image {
  background-color: #FFFFFF;
  border: 1px solid var(--dda-color-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.5);
}

/* 2. Blog post bodies (16 posts) and legal pages (3): one white card
   wrapping the whole article text. */
.dda-single-content,
.dda-entry-content {
  background-color: #FFFFFF;
  border: 1px solid var(--dda-color-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.5);
}

/* 3. Sitemap sections (Pages / Blog Posts / Categories): one card each. */
.dda-sitemap__section {
  background-color: #FFFFFF;
  border: 1px solid var(--dda-color-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.5);
}

/* 4. Blog intro (Blog page) and Team join (Team page): card the content. */
.dda-blog-content .dda-container,
.dda-team-join__inner {
  background-color: #FFFFFF;
  border: 1px solid var(--dda-color-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.5);
}

/* 5. Related-services hub link (21 sub-service pages): the "View all …
   services" line below the card grid becomes an orange button. */
.dda-related-services__hub-link {
  text-align: center;
}
.dda-related-services__hub-link a {
  display: inline-block;
  background-color: var(--dda-color-primary);
  color: #1f2937;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.dda-related-services__hub-link a:hover,
.dda-related-services__hub-link a:focus-visible {
  background-color: #d96a1d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 121, 40, 0.35);
}

/* 6. On small screens the big text cards get a little less padding. */
@media (max-width: 767px) {
  .dda-single-content,
  .dda-entry-content,
  .dda-blog-content .dda-container,
  .dda-team-join__inner {
    padding: 20px;
  }
}

/* DDA v3.0.9 — Overview as per-heading cards + section icons.
   User, 2026-12-01: the single big Overview card looked bad, so each
   heading is now its own card (image + H3 title + the heading's own
   text). Long descriptions are landscape (wide) cards; short ones are
   grid cards. The heading-less intro is a landscape lead card with an
   H3 (the page name) and the featured image. Headings with no text
   stay as plain H3s after the grid. Numbers 01–06 on process steps,
   playbook items and "What's included" cards are replaced by icons
   matched to each item. */

/* --- Overview per-heading cards --- */
.dda-overview-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  /* v3.0.64 — equal card height: every card in a row stretches to the
     tallest card in that row (grid default, made explicit so a later
     rule cannot silently break it). */
  align-items: stretch;
}

.dda-overview-card {
  background-color: #FFFFFF;
  border: 1px solid var(--dda-color-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* v3.0.64 — equal card height: the card stretches to the row height
     even when its text is shorter than its neighbours'. */
  align-self: stretch;
}

/* v3.0.64 — the description area grows to fill the card, so the extra
   space of a shorter card sits evenly inside it and every card in the
   row stays the same height. Image, title and description order and
   positions are unchanged. */
.dda-overview-card__body {
  flex: 1 1 auto;
}

.dda-overview-card__image {
  margin: -12px -12px 20px;
}

.dda-overview-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.dda-overview-card__title {
  color: #170e0b;
  margin-bottom: 12px;
}

.dda-overview-card__body p:last-child {
  margin-bottom: 0;
}

/* Long cards: full width, image on top (landscape banner), text below. */
.dda-overview-card--wide {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dda-overview-card--wide .dda-overview-card__image {
  margin: -12px -12px 20px;
}

.dda-overview-card--wide .dda-overview-card__image img {
  aspect-ratio: 21 / 9;
  border-radius: 8px;
}

/* Lead card: stands above the grid, image on top (landscape banner), text below. */
.dda-overview-card--lead {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

.dda-overview-card--lead .dda-overview-card__image {
  margin: -12px -12px 20px;
}

.dda-overview-card--lead .dda-overview-card__image img {
  aspect-ratio: 21 / 9;
  border-radius: 8px;
}

/* Table cards: full width, no image, the table fills the card. */
.dda-overview-card--table {
  grid-column: 1 / -1;
  display: block;
}

.dda-overview-card--table .wp-block-table {
  margin: 16px 0 0;
  overflow-x: auto;
}

.dda-overview-card--table table {
  width: 100%;
}

/* Headings with no text: plain H3s after the grid. */
.dda-overview-empty {
  margin-top: 32px;
}

.dda-overview-empty__heading {
  color: #170e0b;
  margin-bottom: 16px;
}

/* v3.0.63 — "Explore More" bottom section: the internal links removed
   by the per-block link limit, collected into one white card. */
.dda-explore-more__card {
  background-color: #FFFFFF;
  border: 1px solid var(--dda-color-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.5);
}

.dda-explore-more__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.dda-explore-more__list a {
  color: var(--dda-color-dark);
  text-decoration: none;
}

.dda-explore-more__list a::before {
  content: "→";
  color: var(--dda-color-primary);
  margin-right: 8px;
}

.dda-explore-more__list a:hover {
  color: var(--dda-color-primary-dark);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .dda-explore-more__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Section icons (replacing the 01–06 numbers) --- */
.dda-numbered-card__icon,
.dda-numbered-list__icon,
.dda-process-step__icon,
.dda-playbook__icon {
  display: block;
  color: var(--dda-color-primary);
  margin-bottom: 12px;
}

.dda-numbered-list__icon,
.dda-playbook__icon {
  margin-bottom: 0;
  flex-shrink: 0;
  padding-top: 2px;
}

.dda-numbered-card__icon svg,
.dda-numbered-list__icon svg,
.dda-process-step__icon svg,
.dda-playbook__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.dda-playbook__icon svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 1024px) {
  .dda-overview-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dda-overview-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .dda-overview-card--wide,
  .dda-overview-card--lead {
    grid-template-columns: minmax(0, 1fr);
  }
  .dda-overview-card,
  .dda-overview-card--table {
    padding: 20px;
  }
  .dda-overview-card__image {
    margin: -8px -8px 16px;
  }
}

/* DDA v3.0.10 — Section icons on the left (user, 2026-12-01).
   The "What's included" cards and the Process steps had their icon
   above the title; the icon now sits in a left column beside the
   title and text (CSS grid, no template change). The Playbook list
   and the numbered list already used a flex row, so their icons were
   on the left already and are unchanged. */
.dda-numbered-card,
.dda-process-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}

.dda-numbered-card__icon,
.dda-process-step__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-bottom: 0;
  padding-top: 4px;
}

.dda-numbered-card__title,
.dda-process-step__title {
  grid-column: 2;
  grid-row: 1;
}

.dda-numbered-card__text,
.dda-process-step__text {
  grid-column: 2;
  grid-row: 2;
}

/* ------------------------------------------------------------------ */
/* v3.0.12 — lone card in the last row fills the row (no big empty    */
/* space). A card is "lone" when it is the last child AND the first   */
/* item of its row (3n+1 in a 3-col grid, 4n+1 in a 4-col grid,       */
/* 2n+1 in a 2-col grid); "short" when it is the last child and the   */
/* second item of its row (3n+2 / 4n+2 / 4n+3) — it spans the rest.   */
/* v3.0.14 — a spanned card keeps the normal vertical layout (image   */
/* on top, text below); the old image-left landscape treatment was    */
/* removed. The Overview grid is covered too.                        */
/* ------------------------------------------------------------------ */
@media (min-width: 1025px) {
	/* 3-column grids: .dda-card-grid (default), .dda-numbered-cards
	   and .dda-overview-cards. */
	.dda-card-grid:not(.dda-card-grid--columns-2):not(.dda-card-grid--columns-4) > .dda-card:last-child:nth-child(3n+1),
	.dda-numbered-cards > .dda-numbered-card:last-child:nth-child(3n+1),
	.dda-overview-cards > .dda-overview-card:last-child:nth-child(3n+1),
	.dda-card-grid--columns-4 > .dda-card:last-child:nth-child(4n+1) {
		grid-column: 1 / -1;
	}
	/* v3.0.32 — the numbered cards ("What's Included") no longer span
	   the last card across 2 columns. The user wants the last row's
	   cards the same width as the cards above (1 column each, height
	   unchanged); the span made the last card ~760 px wide against
	   ~368 px for the others, with ~181 px of blank space inside it
	   because its text is short. The card-grid and overview-card
	   spans are unchanged. */
	.dda-card-grid:not(.dda-card-grid--columns-2):not(.dda-card-grid--columns-4) > .dda-card:last-child:nth-child(3n+2),
	.dda-overview-cards > .dda-overview-card:last-child:nth-child(3n+2),
	.dda-card-grid--columns-4 > .dda-card:last-child:nth-child(4n+2) {
		grid-column: span 2;
	}
	/* v3.0.33 — the numbered cards ("What's Included") use a 6-column
	   grid so a 2-card last row is two EQUAL half-width cards that
	   fill the row (no empty third column). Each card spans 2 (3 per
	   row); when the total is 3n+2 the last two cards each span 3
	   (50% each, with the normal gap between them and padding at the
	   sides). The user changed their mind after v3.0.32: they do NOT
	   want the last-row cards narrow (1 column, like the cards above)
	   because that leaves a big empty space on the right — they want
	   them wider, equal to each other, filling the row. A lone last
	   card (3n+1) still spans the full row via the rule above. */
	.dda-numbered-cards > .dda-numbered-card {
		grid-column: span 2;
	}
	.dda-numbered-cards > .dda-numbered-card:nth-last-child(2):nth-child(3n+1),
	.dda-numbered-cards > .dda-numbered-card:last-child:nth-child(3n+2) {
		grid-column: span 3;
	}
	.dda-card-grid--columns-4 > .dda-card:last-child:nth-child(4n+3) {
		grid-column: span 3;
	}
	.dda-card-grid--columns-2 > .dda-card:last-child:nth-child(2n+1) {
		grid-column: 1 / -1;
	}
	/* v3.0.14: a spanned card keeps the normal vertical layout (image
	   on top, text below) — no image-left landscape treatment. */
}
@media (min-width: 769px) and (max-width: 1024px) {
	/* Tablet: .dda-card-grid (default) stays 3 cols; .dda-numbered-cards,
	   .dda-card-grid--columns-4 and .dda-card-grid--columns-2 are 2 cols. */
	.dda-card-grid:not(.dda-card-grid--columns-2):not(.dda-card-grid--columns-4) > .dda-card:last-child:nth-child(3n+1) {
		grid-column: 1 / -1;
	}
	.dda-card-grid:not(.dda-card-grid--columns-2):not(.dda-card-grid--columns-4) > .dda-card:last-child:nth-child(3n+2) {
		grid-column: span 2;
	}
	.dda-numbered-cards > .dda-numbered-card:last-child:nth-child(2n+1),
	.dda-overview-cards > .dda-overview-card:last-child:nth-child(2n+1),
	.dda-card-grid--columns-4 > .dda-card:last-child:nth-child(2n+1),
	.dda-card-grid--columns-2 > .dda-card:last-child:nth-child(2n+1) {
		grid-column: 1 / -1;
	}
	/* v3.0.14: a spanned card keeps the normal vertical layout (image
	   on top, text below) — no image-left landscape treatment. */
}
/* Mobile (1 column): every card is already full-width, so any span is
   reset to a single column and the card stacks normally. */
@media (max-width: 768px) {
	.dda-card-grid > .dda-card,
	.dda-numbered-cards > .dda-numbered-card,
	.dda-overview-cards > .dda-overview-card,
	.dda-blog-guide-grid > .dda-blog-guide-card {
		grid-column: auto;
	}
}

/* v3.0.12 — Playbook as a 3-column card grid (was six full-width rows
   with headings only). Each step is now a card with its image on top,
   then icon, title and description. */
.dda-playbook__list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--dda-grid-gap);
}
.dda-playbook__item {
	flex-direction: column;
	gap: 0;
	align-items: stretch;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(23, 14, 11, 0.06);
}
.dda-playbook__item:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(23, 14, 11, 0.14);
}
.dda-playbook__image {
	width: calc(100% - 24px);
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	margin: 12px 12px 0;
	border-radius: 8px;
}
.dda-playbook__body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.dda-playbook__body .dda-playbook__icon {
	margin-bottom: 12px;
	padding-top: 0;
}
.dda-playbook__title {
	margin: 0 0 8px;
}
.dda-playbook__text {
	margin: 0;
}
@media (max-width: 1024px) {
	.dda-playbook__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 768px) {
	.dda-playbook__list {
		grid-template-columns: 1fr;
	}
}

/* v3.0.13 — Playbook icon back on the LEFT (the v3.0.12 card restyle had
   stacked it above the title; the site-wide icon rule is icon-left).
   Same grid pattern as the v3.0.10 numbered cards / process steps:
   icon in the left column spanning title + text, text in the right column.
   Country cards gain a one-line description (see dda_country_cards). */
.dda-playbook__body {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
}
.dda-playbook__body .dda-playbook__icon {
	grid-column: 1;
	grid-row: 1 / span 2;
	margin-bottom: 0;
	padding-top: 4px;
}
.dda-playbook__title {
	grid-column: 2;
}
.dda-playbook__text {
	grid-column: 2;
}
.dda-country-card__text {
	margin: 8px 0 0;
}

/* ------------------------------------------------------------------ */
/* v3.0.14 — user, 2026-12-01 (screenshots):                         */
/* (1) Card images are inset so a thin white card background shows    */
/*     around them (they no longer bleed to the card edge) — see the  */
/*     .dda-card__image-link, .dda-overview-card__image and           */
/*     .dda-playbook__image rules above.                              */
/* (2) Wide and lead Overview cards are image-on-top (landscape       */
/*     banner) with the text below, not image-left / text-right.      */
/* (3) A lone card keeps the normal vertical layout (image on top,    */
/*     text below) and the Overview grid is covered by the lone-card  */
/*     span rules — see the v3.0.12 block above.                      */
/* (4) "What's included" cards, Process steps and Playbook steps are  */
/*     vertical stacks: icon on top, heading below it, description    */
/*     below the heading, all left-aligned, standard 10px gaps — the  */
/*     same shape as the Home Our Process cards. The v3.0.10 / v3.0.13 */
/*     icon-left grids are overridden here.                           */
/* ------------------------------------------------------------------ */
.dda-numbered-card,
.dda-process-step {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.dda-numbered-card__icon,
.dda-process-step__icon {
	margin-bottom: 0;
	padding-top: 0;
}
.dda-numbered-card__title,
.dda-process-step__title {
	margin-bottom: 0;
}
.dda-playbook__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.dda-playbook__body .dda-playbook__icon {
	margin-bottom: 0;
	padding-top: 0;
}
.dda-playbook__title {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* v3.0.15 — country pages: uniform Overview grid (user, 2026-12-01). */
/* The user wants the cards below the hero on the 4 country pages in   */
/* two rows of three equal cards — no wide/landscape card breaking the  */
/* grid. The Overview grid becomes a centred flex row (3 per row on    */
/* desktop, 2 on tablet, 1 on mobile) so a partial last row stays      */
/* centred as a group: Canada's single last card is a standard-size    */
/* card in the middle of its row (not full-width, not a small corner   */
/* card), and Australia's two last cards sit centred as a pair with    */
/* the same 24px gap between them and equal space on the left and      */
/* right. Wide cards become regular cards here (same size, 16/9        */
/* image, same 12px image inset as every other card). Scoped to the    */
/* country template only; every other page is unchanged.                */
/* ------------------------------------------------------------------ */
body.page-template-tpl-country .dda-overview-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	/* v3.0.64 — equal card height: every card in a flex line stretches
	   to the tallest card in that line (flex default, made explicit). */
	align-items: stretch;
}
body.page-template-tpl-country .dda-overview-cards > .dda-overview-card {
	flex: 0 1 calc(33.333% - 16px);
	grid-column: auto;
	box-sizing: border-box;
}
body.page-template-tpl-country .dda-overview-card--wide .dda-overview-card__image img {
	aspect-ratio: 16 / 9;
}
body.page-template-tpl-country .dda-overview-card--table {
	flex-basis: 100%;
}
@media (max-width: 1024px) {
	body.page-template-tpl-country .dda-overview-cards > .dda-overview-card {
		flex-basis: calc(50% - 12px);
	}
}
@media (max-width: 767px) {
	body.page-template-tpl-country .dda-overview-cards > .dda-overview-card {
		flex-basis: 100%;
	}
}

/* ------------------------------------------------------------------ */
/* v3.0.16 — country pages: side space + compact cards (user, 2026-12-01). */
/* (1) A little more space on the left and right of the cards than the  */
/*     centre gap: the country Overview grid gets 16px horizontal       */
/*     padding, so the cards (including the centred last-row cards)     */
/*     sit a little further in from the section edges.                  */
/* (2) No big empty white space inside cards: the grid no longer        */
/*     stretches cards to equal height — each card is only as tall as   */
/*     its own content (align-items: flex-start), so a short            */
/*     description no longer leaves a large empty area below it. The    */
/*     user chose this over writing extra text to fill the space, so    */
/*     cards in a row may now have slightly different heights.          */
/* ------------------------------------------------------------------ */
body.page-template-tpl-country .dda-overview-cards {
	padding-left: 16px;
	padding-right: 16px;
	align-items: flex-start;
}

/* ------------------------------------------------------------------ */
/* v3.0.17 — country pages: last-row pair gap (user, 2026-12-01).      */
/* The user wants the two cards in the last row (Australia) to stay    */
/* the same standard size as all the other cards, with just a little   */
/* more space between them than the normal 24px gap. The last card,    */
/* when it is the second card of the last row (3n+2 and last child —   */
/* only the 8-card Australia page), gets an extra 8px left margin, so  */
/* the gap between the pair is 32px instead of 24px. The pair stays    */
/* centred as a group. Desktop only: on tablet/mobile the row layout   */
/* is different and the normal gap applies.                             */
/* ------------------------------------------------------------------ */
@media (min-width: 1025px) {
	body.page-template-tpl-country .dda-overview-cards > .dda-overview-card:nth-child(3n+2):last-child {
		margin-left: 8px;
	}
}

/* ------------------------------------------------------------------ */
/* v3.0.18 — country pages: long cards as landscape banners + equal    */
/* grid (user, 2026-12-01, from 4 screenshots). v3.0.19 (user,          */
/* 2026-12-02): the landscape banner moved from the TOP to the END of   */
/* the section (order: 99), so the uniform grid of regular cards comes  */
/* first and the banner(s) sit at the bottom.                           */
/* The very long card on each country page (the "--wide" card, 1000+   */
/* chars — "Affordable..." / "Full-Service..." / "Digital Marketing    */
/* Services in Australia") was stretching the grid and making one card */
/* far taller than its neighbours, so the section looked messy and     */
/* unprofessional. It now becomes a full-width landscape banner at the */
/* END of the section (image on top as a 21/9 banner, text below), and */
/* the remaining cards form a uniform grid above it. The regular cards  */
/* are equal height again (align-items: stretch — this overrides the   */
/* v3.0.16 compact rule, because the user now wants all cards the same */
/* size), so every card in a row is the same height. The v3.0.17       */
/* pair-gap rule is neutralised (margin-left: 0) because the last-row  */
/* pair no longer exists in this layout — the long card is a banner,   */
/* so Australia's last row is now a single centred card, like Canada's */
/* was, and USA keeps a centred pair at the standard 24px gap.         */
/* ------------------------------------------------------------------ */
body.page-template-tpl-country .dda-overview-cards {
	align-items: stretch;
}
body.page-template-tpl-country .dda-overview-cards > .dda-overview-card.dda-overview-card--wide {
	flex: 0 1 100%;
	order: 99;
}
body.page-template-tpl-country .dda-overview-cards > .dda-overview-card.dda-overview-card--wide .dda-overview-card__image img {
	aspect-ratio: 21 / 9;
}
@media (min-width: 1025px) {
	body.page-template-tpl-country .dda-overview-cards > .dda-overview-card:nth-child(3n+2):last-child {
		margin-left: 0;
	}
}

/* ------------------------------------------------------------------ */
/* v3.0.20 — Pakistan page ONLY: 2-per-row Overview grid (user,        */
/* 2026-12-02, from a Pakistan screenshot).                             */
/* Pakistan showed 3 cards + 1 lone card + 2 full-width landscape      */
/* banners, which looked uneven. Pakistan now uses 2 cards per row     */
/* (sets of two): the 4 regular cards form 2 rows of 2 (the 3rd        */
/* regular card moves down to the second row), and the 2 long cards    */
/* sit side by side in the last row (half width each, not full-width   */
/* banners). Because the cards are wider, their images are a little    */
/* bigger (the long cards' images go back to 16/9, like the regular    */
/* cards) and the description text is a little bigger too (1.125rem).  */
/* Scoped to body.page-id-489, so the other 3 country pages keep their */
/* 3-per-row grid + landscape banner at the end. Mobile stays 1 column.*/
/* ------------------------------------------------------------------ */
body.page-template-tpl-country.page-id-489 .dda-overview-cards > .dda-overview-card {
	flex: 0 1 calc(50% - 12px);
}
body.page-template-tpl-country.page-id-489 .dda-overview-cards > .dda-overview-card.dda-overview-card--wide {
	flex: 0 1 calc(50% - 12px);
}
body.page-template-tpl-country.page-id-489 .dda-overview-cards > .dda-overview-card.dda-overview-card--wide .dda-overview-card__image img {
	aspect-ratio: 16 / 9;
}
body.page-template-tpl-country.page-id-489 .dda-overview-cards .dda-overview-card__body {
	font-size: 1.125rem;
	line-height: 1.6;
}
@media (max-width: 767px) {
	body.page-template-tpl-country.page-id-489 .dda-overview-cards > .dda-overview-card {
		flex-basis: 100%;
	}
}

/* ------------------------------------------------------------------ */
/* v3.0.21 — Australia page ONLY: lone card + long card as a 2-card    */
/* row (user, 2026-12-02, from an Australia screenshot).               */
/* Australia showed 3 cards + 3 cards + 1 lone centred card + 1       */
/* full-width landscape banner. The lone card ("Affordable SEO         */
/* Packages in Melbourne") and the long card ("Digital Marketing       */
/* Services in Australia") both have long descriptions, so they now    */
/* sit side by side in the last row (half width each, same height),    */
/* below the two 3-card rows. The long card is no longer a full-width  */
/* banner here (its image goes back to 16/9, matching the regular      */
/* cards). Scoped to body.page-id-488, so the other country pages are  */
/* unchanged. The lone card is the last regular card in DOM order,     */
/* targeted with :not(.dda-overview-card--wide):last-child.            */
/* ------------------------------------------------------------------ */
body.page-template-tpl-country.page-id-488 .dda-overview-cards > .dda-overview-card.dda-overview-card--wide {
	flex: 0 1 calc(50% - 12px);
}
body.page-template-tpl-country.page-id-488 .dda-overview-cards > .dda-overview-card.dda-overview-card--wide .dda-overview-card__image img {
	aspect-ratio: 16 / 9;
}
body.page-template-tpl-country.page-id-488 .dda-overview-cards > .dda-overview-card:not(.dda-overview-card--wide):last-child {
	flex: 0 1 calc(50% - 12px);
}

/* ------------------------------------------------------------------ */
/* v3.0.71 — Australia page ONLY: last-row 2 cards equal half width   */
/* (user, 2026-12-03, from an Australia screenshot). The Australia    */
/* Overview has 8 cards (3 + 3 + 2). The last row's 2 cards were      */
/* unequal: "Mobile-First Websites for Australian Small Businesses"   */
/* was a normal 1-column card (33.333%) while "Affordable SEO         */
/* Packages in Melbourne" was half width (50%, from the v3.0.21       */
/* :last-child rule), leaving empty space on the right. The user wants */
/* both the same size, together spanning the full row — the first card */
/* starting at the first card's left edge and the second ending at    */
/* the third card's right edge, with the same 24px gap as the rows    */
/* above, and the same height as each other (flex stretch already     */
/* does that). FIX: on desktop both last cards get flex 50% - 12px,   */
/* so 50% + 24px gap + 50% fills the row exactly. The v3.0.21 rule    */
/* only set the LAST card to 50% (the other card was --wide then); it */
/* is left in place and this extends it to the 2nd-to-last card. On   */
/* mobile the v3.0.21 half-width is undone so both cards stack full   */
/* width like every other card. Scoped to body.page-id-488.           */
/* ------------------------------------------------------------------ */
@media (min-width: 1025px) {
	body.page-template-tpl-country.page-id-488 .dda-overview-cards > .dda-overview-card:nth-last-child(2),
	body.page-template-tpl-country.page-id-488 .dda-overview-cards > .dda-overview-card:last-child {
		flex: 0 1 calc(50% - 12px);
	}
}
@media (max-width: 767px) {
	body.page-template-tpl-country.page-id-488 .dda-overview-cards > .dda-overview-card:not(.dda-overview-card--wide):nth-last-child(2),
	body.page-template-tpl-country.page-id-488 .dda-overview-cards > .dda-overview-card:not(.dda-overview-card--wide):last-child {
		flex-basis: 100%;
	}
}

/* ------------------------------------------------------------------ */
/* v3.0.69 — USA page ONLY: 3 + 3 Overview grid (user, 2026-12-03,    */
/* from a USA screenshot). This REPLACES the v3.0.39 rule, which made  */
/* the last card ("Marketing for Every Stage of Business") span 2      */
/* columns (66.666%) so it sat alone on a third row. The user now      */
/* wants the last card as a normal 1-column card in the second row,    */
/* so the grid is 3 cards on top and 3 below. Removing the v3.0.39    */
/* rule lets the last card fall back to the normal country-card width  */
/* (33.333%), which puts it in the second row. No rule is needed here  */
/* — the base country grid already lays 6 cards out as 3 + 3.          */
/* ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ */
/* v3.0.70 — Canada page ONLY: remove Toronto card, move Cities card  */
/* to the top row (user, 2026-12-03, from a Canada screenshot). The   */
/* Canada Overview has 7 cards (3 + 3 + 1). The user wants: (1) the   */
/* "Digital Marketing Agency Toronto for Small Business" card (3rd in */
/* the top row) REMOVED; (2) the last card, "Cities We Serve in       */
/* Canada" (map card, alone on the third row), moved up to the 3rd     */
/* position in the top row; (3) the grid to be 3 on top and 3 below,  */
/* with the standard section spacing below (no extra gap). The cards  */
/* come from the page content in DOM order, so this is done with flex  */
/* order + display:none (theme-only, reversible): the Toronto card is  */
/* hidden, the Cities card gets order 3, and the rest keep their       */
/* order. Scoped to body.page-id-487 so other country pages are       */
/* unchanged. The 3 + 3 grid is one row shorter than 3 + 3 + 1, so    */
/* the section below follows with the standard section padding and    */
/* no extra empty space. Applies at all widths (the order holds on    */
/* tablet 2-per-row and mobile 1-per-row too).                        */
/* ------------------------------------------------------------------ */
body.page-template-tpl-country.page-id-487 .dda-overview-cards > .dda-overview-card:nth-child(3) {
	display: none;
}
body.page-template-tpl-country.page-id-487 .dda-overview-cards > .dda-overview-card:nth-child(1) { order: 1; }
body.page-template-tpl-country.page-id-487 .dda-overview-cards > .dda-overview-card:nth-child(2) { order: 2; }
body.page-template-tpl-country.page-id-487 .dda-overview-cards > .dda-overview-card:nth-child(7) { order: 3; }
body.page-template-tpl-country.page-id-487 .dda-overview-cards > .dda-overview-card:nth-child(4) { order: 4; }
body.page-template-tpl-country.page-id-487 .dda-overview-cards > .dda-overview-card:nth-child(5) { order: 5; }
body.page-template-tpl-country.page-id-487 .dda-overview-cards > .dda-overview-card:nth-child(6) { order: 6; }

/* ------------------------------------------------------------------ */
/* v3.0.40 — AI hub ONLY: rearrange Overview last row + banner to end  */
/* (user, 2026-12-02, from an AI hub screenshot). The AI Overview has  */
/* 6 cards: 3 on top, 1 wide banner, 2 at the bottom. The user wants:  */
/* (1) the top 3 cards unchanged; (2) the bottom 2 cards rearranged so */
/* the short-desc card ("AI-Powered Marketing for Small Businesses",   */
/* 209 chars) sits 1 column wide under the first card, and the         */
/* long-desc card ("Found by People, and by AI Search", 378 chars) is  */
/* wider, spanning 2 columns, filling the empty third column space;    */
/* (3) the single wide banner ("Best AI Content Creation Services for  */
/* Small Businesses") moved to the very end. In DOM order the long     */
/* card (5th) comes before the short card (6th), so their visual order */
/* is swapped with `order`, and the banner gets order 99. Scoped to    */
/* body.page-id-466, desktop only (min-width 1025px).                  */
/* ------------------------------------------------------------------ */
@media (min-width: 1025px) {
	body.page-template-tpl-service-hub.page-id-466 .dda-overview-cards > .dda-overview-card:nth-child(6) {
		order: 4;
	}
	body.page-template-tpl-service-hub.page-id-466 .dda-overview-cards > .dda-overview-card:nth-child(5) {
		order: 5;
		grid-column: span 2;
	}
	body.page-template-tpl-service-hub.page-id-466 .dda-overview-cards > .dda-overview-card--wide {
		order: 99;
	}
}

/* ------------------------------------------------------------------ */
/* v3.0.42 — Black header + white menu + transparent logo (user,       */
/* 2026-12-02, from a header screenshot). The header background        */
/* becomes black (#170e0b, the site dark), the top-level menu links    */
/* become white, and the Contact Us button stays exactly as it is      */
/* (orange). The logo file itself is replaced separately with a        */
/* transparent-background version (logo-header-horizontal-transparent  */
/* .png); the black inside the D shape is kept in that file. The       */
/* desktop dropdown keeps its white surface with dark links so it      */
/* stays readable; the mobile nav panel and its toggle bars go white  */
/* on black to match.                                                  */
/* ------------------------------------------------------------------ */
.dda-site-header,
.dda-site-header.is-scrolled {
	background-color: var(--dda-color-dark);
	border-bottom-color: rgba(255, 255, 255, 0.12);
}

.dda-site-header .dda-menu > li > a {
	color: #ffffff;
}

.dda-site-header .dda-menu > li > a:hover,
.dda-site-header .dda-menu > li.current-menu-item > a {
	color: #ffffff;
}

.dda-site-header .dda-menu .sub-menu a {
	color: var(--dda-color-text);
}

.dda-site-header .dda-nav-toggle-bar {
	background-color: #ffffff;
}

@media (max-width: 1024px) {
	.dda-site-header .dda-primary-nav {
		background-color: var(--dda-color-dark);
		border-bottom-color: rgba(255, 255, 255, 0.12);
	}
	.dda-site-header .dda-menu a {
		color: #ffffff;
	}
	.dda-site-header .dda-menu .sub-menu a {
		color: #ffffff;
	}
}

/* ------------------------------------------------------------------ */
/* v3.0.45 — Elementor Kit typography override (user-approved,        */
/* 2026-12-02): the Kit's own post-6.css sets these 4 variables on    */
/* `.elementor-kit-6` (specificity 0,1,0) AFTER main.css loads, so a   */
/* plain :root rule here would lose. `body.elementor-kit-6` (0,1,1)    */
/* beats it, so Inter/Poppins win on the front end and the Roboto /    */
/* Roboto Slab Google Fonts requests can be dequeued (see             */
/* dda_v3_dequeue_roboto_fonts() in functions.php). The Kit admin UI   */
/* still shows Roboto — this override wins on the front end regardless;*/
/* if the user later edits the Kit and saves, post-6.css regenerates  */
/* with Roboto again, but this override still wins.                    */
/* ------------------------------------------------------------------ */
body.elementor-kit-6 {
	--e-global-typography-primary-font-family: "Poppins";
	--e-global-typography-secondary-font-family: "Poppins";
	--e-global-typography-text-font-family: "Inter";
	--e-global-typography-accent-font-family: "Poppins";
}

/* ------------------------------------------------------------------ */
/* v3.0.50 — Services page (ID 9) "What We Do" Overview rework.       */
/* The user wants: short cards on top in rows of 3; then "Who We Help" */
/* PAIRED with "Why Businesses Choose This Approach" in ONE row below  */
/* the 3-card rows; then the long "Best Digital Marketing Services"    */
/* card as a full-width LANDSCAPE banner; the "What Each Service       */
/* Includes" TABLE card stays LAST, unchanged.                          */
/* NOTE: the user said "total 8 cards", but there are actually TEN     */
/* cards in the grid (8 regular + "Who We Help" + the table card),     */
/* so the layout below uses all 10. DOM order is:                      */
/* 1 Why Businesses (227 chars, LONG), 2 Audience First (60, SHORT),  */
/* 3 Brand Consistency (60, SHORT), 4 Thoughtful Execution (66),      */
/* 5 Best Digital Marketing (635, LONG, --wide banner),                */
/* 6 Affordable SEO (119, SHORT), 7 SEO and Local SEO (146, SHORT),   */
/* 8 Digital Marketing Agency (136, SHORT), 9 Who We Help (216),      */
/* 10 What Each Service Includes (343, TABLE, --wide full-width).     */
/* Visual order is 2,3,4 / 6,7,8 / 9,1 / 5 / 10. Desktop only.        */
/* v3.0.47/48 BUG: order was only set on cards 1-8, leaving cards 9   */
/* and 10 at the default order 0, so "Who We Help" and the table       */
/* rendered FIRST (at the top). v3.0.49/50 set an explicit `order` on  */
/* ALL TEN cards (1-10).                                               */
/* NO `grid-row` anywhere (v3.0.47 lesson: explicit grid-row placed    */
/* the long cards in row 1). Order + auto-placement only: rows 1-3    */
/* are full (3 short cards x span 2 = 6 columns each; 3+3 = 6), so    */
/* the later cards cannot fit above their intended rows.               */
/* Row 3 pairs "Who We Help" (LEFT) with "Why Businesses" (RIGHT),    */
/* span 3 each = full grid width.                                      */
/* Row 4 is card 5 as a full-width LANDSCAPE banner: the v3.0.46       */
/* 16/9 override on the --wide image is REMOVED in v3.0.50, so the     */
/* theme's native --wide styling applies again (image aspect-ratio     */
/* 21/9, full-width banner, text below).                               */
/* Row 5 is the table card, full width, LAST. `body.page-id-9`         */
/* (0,4,1) beats the generic last-child span rules (0,4,0) above,     */
/* and this block sits at the end of the file. Tablet/mobile           */
/* unchanged.                                                          */
/* ------------------------------------------------------------------ */
@media (min-width: 1025px) {
	body.page-id-9 .dda-overview-cards {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	/* Row 1 — 3 SHORT cards. */
	body.page-id-9 .dda-overview-cards > .dda-overview-card:nth-child(2) {
		grid-column: span 2;
		order: 1;
	}
	body.page-id-9 .dda-overview-cards > .dda-overview-card:nth-child(3) {
		grid-column: span 2;
		order: 2;
	}
	body.page-id-9 .dda-overview-cards > .dda-overview-card:nth-child(4) {
		grid-column: span 2;
		order: 3;
	}
	/* Row 2 — 3 SHORT cards. */
	body.page-id-9 .dda-overview-cards > .dda-overview-card:nth-child(6) {
		grid-column: span 2;
		order: 4;
	}
	body.page-id-9 .dda-overview-cards > .dda-overview-card:nth-child(7) {
		grid-column: span 2;
		order: 5;
	}
	body.page-id-9 .dda-overview-cards > .dda-overview-card:nth-child(8) {
		grid-column: span 2;
		order: 6;
	}
	/* Row 3 — PAIRED: "Who We Help" LEFT + "Why Businesses" RIGHT. */
	body.page-id-9 .dda-overview-cards > .dda-overview-card:nth-child(9) {
		grid-column: span 3;
		order: 7;
	}
	body.page-id-9 .dda-overview-cards > .dda-overview-card:nth-child(1) {
		grid-column: span 3;
		order: 8;
	}
	/* Row 4 — LONG card, full-width LANDSCAPE banner. */
	body.page-id-9 .dda-overview-cards > .dda-overview-card:nth-child(5) {
		grid-column: 1 / -1;
		order: 9;
	}
	/* Row 5 — TABLE card, full width, LAST. */
	body.page-id-9 .dda-overview-cards > .dda-overview-card:nth-child(10) {
		grid-column: 1 / -1;
		order: 10;
	}
}

/* ------------------------------------------------------------------ */
/* v3.0.51/52 — LOCATIONS page (ID 1130), "Digital Marketing Agencies */
/* Near Me" section. The 3 white cards (a495b00 "New York", 71b58a4  */
/* "International", 4d29cc4 "Cross-Border") stack vertically inside  */
/* one parent flexbox container (elementor-element-4f069b4) with     */
/* `flex-direction: column` and NO gap, so the cards touch with 0    */
/* space. v3.0.51's plain `gap: 24px` did NOT take effect (rendered  */
/* gap measured ~10px, not 24px): Elementor's variable-based gap    */
/* system wins over the plain declaration. v3.0.52 therefore sets   */
/* the variables too AND the property with !important, so the 24px   */
/* gap holds whichever path applies. The world map image is a       */
/* SEPARATE element outside this parent and is untouched; card      */
/* padding/radius/shadow untouched; no margin on the cards; no      */
/* media query — spacing applies at all widths.                     */
/* ------------------------------------------------------------------ */
body.page-id-1130 .elementor-element-4f069b4 {
	--row-gap: 24px;
	--column-gap: 24px;
	--gap: 24px;
	gap: 24px !important;
}

/* ------------------------------------------------------------------ */
/* v3.0.53 — ABOUT US page (ID 490), "About Us" Overview cards. The  */
/* page uses the same dda-overview-cards grid as Services (base      */
/* 3-col, 24px gap). 6 cards in DOM order: 1 "Built to Support      */
/* Your Next Step" (206), 2 "A Professional Digital Marketing       */
/* Agency in Pakistan" (199), 3 "About Our Digital Marketing        */
/* Agency" (135), 4 "A Flexible Digital Partner" (265), 5 "About    */
/* Digital Deck Agency: Our Mission, Values, Team and Approach"     */
/* (661, --wide, the LANDSCAPE card), 6 "Why Businesses Choose      */
/* Digital Deck Agency" (236). User-confirmed layout: Row 1 = cards */
/* 1,2,3 UNCHANGED; Row 2 = cards 4+6 paired, span 3 each (together */
/* = full grid width, equal to the 3 cards above); Row 3 = card 5   */
/* landscape, full width, LAST. Explicit `order` on ALL six cards   */
/* (v3.0.47 lesson: cards left at default order 0 render first);   */
/* no `grid-row` (v3.0.47 lesson). Card 5 keeps its native --wide   */
/* landscape image (aspect-ratio 21/9) — NOT overridden to 16/9.    */
/* Desktop only; tablet/mobile unchanged.                            */
/* ------------------------------------------------------------------ */
@media (min-width: 1025px) {
	body.page-id-490 .dda-overview-cards {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	/* Row 1 — top 3 cards, UNCHANGED. */
	body.page-id-490 .dda-overview-cards > .dda-overview-card:nth-child(1) {
		grid-column: span 2;
		order: 1;
	}
	body.page-id-490 .dda-overview-cards > .dda-overview-card:nth-child(2) {
		grid-column: span 2;
		order: 2;
	}
	body.page-id-490 .dda-overview-cards > .dda-overview-card:nth-child(3) {
		grid-column: span 2;
		order: 3;
	}
	/* Row 2 — PAIRED, half-width each. */
	body.page-id-490 .dda-overview-cards > .dda-overview-card:nth-child(4) {
		grid-column: span 3;
		order: 4;
	}
	body.page-id-490 .dda-overview-cards > .dda-overview-card:nth-child(6) {
		grid-column: span 3;
		order: 5;
	}
	/* Row 3 — LANDSCAPE card, full width, LAST. */
	body.page-id-490 .dda-overview-cards > .dda-overview-card:nth-child(5) {
		grid-column: 1 / -1;
		order: 6;
	}
}

/* ------------------------------------------------------------------ */
/* v3.0.54 — Ecommerce Website Development page (ID 485) Overview:   */
/* the top row had only 2 cards + an EMPTY third column (the wide     */
/* landscape card below takes a full row), so widen the top 2 cards   */
/* to half-width each and remove the empty space. Target: Row 1 =     */
/* cards 1+2 paired (span 3 each); Row 2 = card 3 landscape full     */
/* width; Row 3 = cards 4,5,6 three across. Explicit `order` on ALL   */
/* SIX cards (v3.0.47 lesson: cards left at default order 0 render    */
/* first); no `grid-row` (v3.0.47 lesson). Card 3 keeps its native    */
/* --wide landscape image (aspect-ratio 21/9) — NOT overridden.      */
/* Desktop only; tablet/mobile unchanged.                            */
/* ------------------------------------------------------------------ */
@media (min-width: 1025px) {
	body.page-id-485 .dda-overview-cards {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	/* Row 1 — PAIRED, half-width each (removes the empty 3rd column). */
	body.page-id-485 .dda-overview-cards > .dda-overview-card:nth-child(1) {
		grid-column: span 3;
		order: 1;
	}
	body.page-id-485 .dda-overview-cards > .dda-overview-card:nth-child(2) {
		grid-column: span 3;
		order: 2;
	}
	/* Row 2 — LANDSCAPE card, full width. */
	body.page-id-485 .dda-overview-cards > .dda-overview-card:nth-child(3) {
		grid-column: 1 / -1;
		order: 3;
	}
	/* Row 3 — three across. */
	body.page-id-485 .dda-overview-cards > .dda-overview-card:nth-child(4) {
		grid-column: span 2;
		order: 4;
	}
	body.page-id-485 .dda-overview-cards > .dda-overview-card:nth-child(5) {
		grid-column: span 2;
		order: 5;
	}
	body.page-id-485 .dda-overview-cards > .dda-overview-card:nth-child(6) {
		grid-column: span 2;
		order: 6;
	}
}

/* ------------------------------------------------------------------ */
/* v3.0.93 — Mobile 1-column override (LAST rule in the file, on purpose). */
/* ------------------------------------------------------------------ */
/* v3.0.92 fixed the header, hero, Why Us, table and footer, but the SEO
   sub-services and Blog cards STILL did not stack on mobile. Root cause:
   the base grid rules and the high-specificity span rules
   (:nth-child(3n+1) / :nth-child(3n+2), specificity 0,4,1) sit AFTER the
   theme's 768px media query in this file (and, for Locations, in an
   inline <style> in the template), so a normal 768px override cannot win:
   the later 1024px 2-column rule beats the 768px 1-column rule, the
   .dda-card-grid--columns-3 base rule beats the 768px .dda-card-grid
   rule, and the span-3 / span-6 rules survive the 768px span reset and
   force the 1-column grid to grow implicit columns. This block sits at
   the END of the file and uses !important ONLY on these two grid
   properties so it wins on both order and specificity. These are theme
   grids, NOT Elementor-controlled properties, so this does not break the
   theme's no-!important policy for Elementor properties. */
@media (max-width: 768px) {
	.dda-card-grid,
	.dda-card-grid--columns-2,
	.dda-card-grid--columns-3,
	.dda-card-grid--columns-4,
	.dda-numbered-cards,
	.dda-overview-cards,
	.dda-blog-guide-grid,
	.dda-locations-grid,
	.dda-playbook__list {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.dda-card-grid > .dda-card,
	.dda-numbered-cards > .dda-numbered-card,
	.dda-overview-cards > .dda-overview-card,
	.dda-blog-guide-grid > .dda-blog-guide-card,
	.dda-locations-grid > .dda-card,
	.dda-playbook__list > * {
		grid-column: auto !important;
	}
}
