/* =========================================================================
   DSP Growth: block content styles (front end + editor)
   ========================================================================= */

:root {
	--ink: #0F1A2B;
	--ink-raised: #18263C;
	--ink-line: rgba(255, 255, 255, 0.12);
	--blue: #2D5BFF;
	--blue-deep: #1F45D6;
	--blue-soft: #7C9BFF;
	--marigold: #FFC233;
	--marigold-tint: #FFF1CC;
	--paper: #F4F5F0;
	--paper-deep: #E8EAE3;
	--white: #FFFFFF;
	--slate: #3B4658;
	--muted: #4A5568;
	--line: #D9DCD3;
	--on-ink: #FFFFFF;
	--on-ink-muted: #B6C1D3;
	--focus: #2D5BFF;

	--gutter: clamp(20px, 4vw, 32px);
	--container: 1240px;
	--measure: 42rem;
	--radius-s: 12px;
	--radius-m: 18px;
	--radius-l: 28px;

	--font-display: "Funnel Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Funnel Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Type ---------------------------------------------------------- */

.entry h1, .entry h2, .entry h3, .entry h4,
.editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-styles-wrapper h3, .editor-styles-wrapper h4 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: inherit;
	text-wrap: balance;
}
.entry h1 { font-size: clamp(2.9rem, 6.2vw, 5.5rem); line-height: 0.98; letter-spacing: -0.035em; }
.entry h2 { font-size: clamp(2.1rem, 3.9vw, 3.25rem); }
.entry h3 { font-weight: 700; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.015em; }
.entry h4 { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.entry h2 a, .entry h3 a { color: inherit; text-decoration: none; }
.entry p { text-wrap: pretty; }
.entry a {
	color: inherit;
	text-decoration-color: var(--blue);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.entry a:hover { color: var(--blue); }

.dsp-lead { font-size: 1.2rem; line-height: 1.55; color: var(--slate); }
.dsp-kicker { font-weight: 600; font-size: 0.95rem; color: var(--muted); }

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

.entry--sections > .wp-block-group.dsp-section,
.entry--sections > .wp-block-group.dsp-hero,
.editor-styles-wrapper .dsp-section,
.editor-styles-wrapper .dsp-hero {
	margin: 0;
	padding: clamp(72px, 8.5vw, 112px) var(--gutter);
}
.dsp-section--white,
.dsp-section--alt {
	background: var(--white);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.dsp-section--white + .dsp-section--white,
.dsp-section--alt + .dsp-section--alt,
.dsp-section--white + .dsp-section--alt,
.dsp-section--alt + .dsp-section--white { border-top: 0; padding-top: 0 !important; }
.dsp-section--dark {
	--focus: var(--marigold);
	background: var(--ink);
	color: var(--on-ink);
}
.dsp-section--dark .dsp-lead,
.dsp-section--dark p { color: var(--on-ink-muted); }

/* Headings and intros keep a readable measure, left-aligned in the container */
.dsp-section > h2,
.dsp-section > p,
.dsp-section > ul,
.dsp-section > ol {
	padding-right: max(0px, calc(min(100%, var(--container)) - var(--measure)));
}
.dsp-section > h2 { margin-top: 0; }
.dsp-section > h2 + p { margin-top: 1.1rem; }
.dsp-section > h2 + .wp-block-columns,
.dsp-section > p + .wp-block-columns,
.dsp-section > h2 + .wp-block-shortcode,
.dsp-section > h2 + .post-grid { margin-top: clamp(36px, 4vw, 56px); }
.dsp-section > .wp-block-columns + .wp-block-columns { margin-top: 20px; }
.dsp-section > .wp-block-buttons { margin-top: 2.25rem; }
.dsp-section > h3 { margin-top: 2.5rem; }
.dsp-section > h2 ~ h2 { margin-top: 3rem; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.dsp-section > h2 ~ h2 + p { margin-top: 0.75rem; }

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

.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 52px;
	padding: 0 1.6rem;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: var(--blue);
	color: var(--white) !important;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1.03rem;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.wp-block-button__link:hover { background: var(--blue-deep); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: var(--ink);
	color: var(--ink) !important;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--ink); color: var(--white) !important; }
.wp-block-buttons { gap: 12px; }

/* ---------- Homepage hero ------------------------------------------------- */

.dsp-hero { position: relative; overflow: hidden; }
.entry--sections > .wp-block-group.dsp-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 72px); }
.dsp-hero-grid { gap: clamp(40px, 5vw, 64px) !important; }
@media (min-width: 782px) {
	.dsp-hero-grid > .wp-block-column:first-child { flex: 1 1 56% !important; }
	.dsp-hero-grid > .wp-block-column:last-child { flex: 1 1 44% !important; }
}
.dsp-hero h1 { margin: 0; }
.dsp-hero .dsp-kicker { margin: 0 0 1.25rem; }
.dsp-hero .dsp-lead { margin: 1.75rem 0 0; max-width: 34rem; font-size: 1.2rem; }
.dsp-hero .wp-block-buttons { margin-top: 2.25rem; }
.dsp-proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 2.25rem 0 0; padding: 0; list-style: none; font-size: 0.93rem; color: var(--muted); }
.dsp-proof > li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.dsp-proof > li::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Growth-plan board (shortcode) */
.board {
	--focus: var(--marigold);
	max-width: 560px;
	margin-left: auto;
	padding: 28px;
	border-radius: var(--radius-l);
	background: var(--ink);
	color: var(--on-ink);
	box-shadow: 0 40px 80px -40px rgba(15, 26, 43, 0.55);
	font-family: var(--font-body);
}
.board__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--ink-line); }
.board__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--on-ink); }
.board__sub { margin: 2px 0 0; font-size: 0.875rem; color: var(--on-ink-muted); }
.board__pill { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--marigold); color: var(--ink); font-weight: 700; font-size: 0.8rem; }
.board__list { margin: 0; padding: 0; list-style: none; }
.board__row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; align-items: center; gap: 16px; margin: 0; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.board__row:last-child { border-bottom: 0; padding-bottom: 0; }
.board__text { display: flex; flex-direction: column; min-width: 0; }
.board__text strong { font-weight: 600; font-size: 1.02rem; color: var(--on-ink); }
.board__text span { font-size: 0.875rem; color: var(--on-ink-muted); line-height: 1.4; }
.board__spark path {
	fill: none;
	stroke: var(--blue-soft);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: board-draw 0.9s cubic-bezier(0.3, 0.7, 0.2, 1) forwards;
	animation-delay: calc(0.35s + var(--i, 0) * 0.12s);
}
@keyframes board-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
	.board__spark path { animation: none; stroke-dashoffset: 0; }
}
@media (max-width: 480px) {
	.board { padding: 22px; }
	.board__row { grid-template-columns: minmax(0, 1fr) 72px; }
	.board__spark { width: 72px; }
}

/* ---------- Logo strip ---------------------------------------------------- */

.entry--sections > .wp-block-group.dsp-logos,
.editor-styles-wrapper .dsp-logos {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: center;
	gap: 12px;
	padding-top: 8px;
	padding-bottom: clamp(56px, 7vw, 88px);
	padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
}
.dsp-logos > * { margin: 0 !important; max-width: none !important; }
.dsp-logos > .dsp-logos__label { grid-column: 1 / -1; padding: 0 !important; margin-bottom: 8px !important; font-size: 0.93rem; color: var(--muted); }
.dsp-logos > .wp-block-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 84px;
	padding: 14px 22px;
	border-radius: var(--radius-s);
	background: var(--ink);
}
/* Client logos arrive in mixed colours (several are white, made for a dark strip),
   so they are shown as one-colour white marks on ink tiles. */
.dsp-logos .wp-block-image img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.88; }
@media (max-width: 781px) {
	.entry--sections > .wp-block-group.dsp-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dsp-logos > .wp-block-image:last-child { grid-column: 1 / -1; }
}

/* ---------- Split rows ---------------------------------------------------- */

.dsp-split { gap: clamp(36px, 6vw, 80px) !important; }
.dsp-split .wp-block-column > h2:first-child,
.dsp-split .wp-block-column > h3:first-child { margin-top: 0; }
.dsp-split .wp-block-column > p,
.dsp-split .wp-block-column > ul { max-width: var(--measure); }
.dsp-split .wp-block-image img,
.entry .wp-block-image img { border-radius: var(--radius-m); }
@media (min-width: 782px) {
	.dsp-split--services > .wp-block-column:first-child,
	.dsp-split--faq > .wp-block-column:first-child { flex: 1 1 34% !important; }
	.dsp-split--services > .wp-block-column:last-child,
	.dsp-split--faq > .wp-block-column:last-child { flex: 1 1 66% !important; }
	.dsp-split--services > .wp-block-column:first-child > * ,
	.dsp-split--faq > .wp-block-column:first-child > * { position: relative; }
}

/* ---------- Service list (homepage) -------------------------------------- */

.dsp-service-list > * { margin: 0 !important; }
.dsp-service-row {
	position: relative;
	padding: 26px 64px 26px 0;
	border-top: 1px solid var(--line);
}
.dsp-service-row:last-child { border-bottom: 1px solid var(--line); }
.dsp-service-row > h3 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.dsp-service-row > h3 a::after { content: ""; position: absolute; inset: 0; }
.dsp-service-row > p { margin: 8px 0 0; color: var(--slate); max-width: 38rem; }
.dsp-service-row::after {
	content: "";
	position: absolute;
	top: 26px;
	right: 0;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / 18px no-repeat;
	transition: background-color 0.15s ease;
	pointer-events: none;
}
.dsp-service-row:hover > h3 a { color: var(--blue); }
.dsp-service-row:hover::after { background-color: var(--marigold); }
.dsp-service-row:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
.dsp-service-row a:focus-visible { outline: none; }
.dsp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; }
.dsp-tags span { padding: 5px 12px; border-radius: 999px; background: var(--paper); font-size: 0.85rem; font-weight: 500; color: var(--slate); }

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

.dsp-cards { gap: 20px !important; align-items: stretch !important; }
.dsp-cards > .wp-block-column { display: flex; }
.dsp-card {
	position: relative;
	flex: 1;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	background: var(--white);
}
.dsp-section--alt .dsp-card,
.dsp-section--white .dsp-card { background: var(--paper); border-color: transparent; }
.dsp-section--dark .dsp-card { background: var(--ink-raised); border-color: transparent; color: var(--on-ink); }
.dsp-card > h3 { margin: 0 0 0.5rem; }
.dsp-card > p { margin: 0.5rem 0 0; font-size: 1rem; color: var(--slate); }
.dsp-section--dark .dsp-card > p { color: var(--on-ink-muted); }
.dsp-card > *:first-child { margin-top: 0; }
.dsp-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.dsp-card:has(h3 a):hover { border-color: var(--ink); }

.dsp-card[class*="has-icon-"]::before {
	content: "";
	display: block;
	width: 48px;
	height: 48px;
	margin-bottom: 22px;
	border-radius: 14px;
	background-color: var(--marigold-tint);
	background-image: var(--icon);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 26px 26px;
}
.dsp-section--dark .dsp-card[class*="has-icon-"]::before { background-color: var(--marigold); }

/* Steps: a real sequence, so numbered */
.dsp-steps { counter-reset: dsp-step; gap: 32px !important; }
.dsp-steps .dsp-card {
	counter-increment: dsp-step;
	padding: 22px 0 0;
	border: 0;
	border-top: 3px solid var(--ink);
	border-radius: 0;
	background: transparent !important;
}
.dsp-steps .dsp-card::before {
	content: counter(dsp-step);
	display: block;
	margin: 0 0 16px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 2.75rem;
	line-height: 1;
	color: var(--blue);
}
.dsp-section--dark .dsp-steps .dsp-card { border-top-color: var(--on-ink); }
.dsp-section--dark .dsp-steps .dsp-card::before { color: var(--marigold); }

/* ---------- Industries ---------------------------------------------------- */

.dsp-industries {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0 !important;
	list-style: none;
}
.dsp-industries > li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	background: var(--white);
	font-size: 0.93rem;
	color: var(--muted);
}
.dsp-industries > li strong { font-size: 1.06rem; font-weight: 700; color: var(--ink); }

/* ---------- Plans --------------------------------------------------------- */

.dsp-plans { gap: 20px !important; align-items: stretch !important; }
.dsp-plans > .wp-block-column { display: flex; }
.dsp-plan {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--white);
}
.dsp-plan > * { margin: 0 !important; }
.dsp-plan > h3 { font-size: 1.5rem; }
.dsp-plan > p { color: var(--slate); }
.dsp-plan > .dsp-plan__price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.dsp-plan > .wp-block-buttons { margin-top: auto !important; padding-top: 10px; }
.dsp-plan .wp-block-button { width: 100%; }
.dsp-plan .wp-block-button__link { width: 100%; }
.dsp-plan.is-featured { --focus: var(--marigold); background: var(--ink); border-color: var(--ink); color: var(--on-ink); position: relative; }
.dsp-plan.is-featured > p { color: var(--on-ink-muted); }
.dsp-plan.is-featured > .dsp-plan__price { color: var(--marigold); }
.dsp-plan.is-featured .dsp-checklist > li::before { background-color: var(--marigold); }

/* ---------- Lists --------------------------------------------------------- */

.dsp-checklist { list-style: none; padding-left: 0 !important; }
.dsp-checklist > li { position: relative; margin: 0.6rem 0; padding-left: 1.9rem; }
.dsp-checklist > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.22em;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 50%;
	background: var(--marigold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 68% no-repeat;
}
.entry ol:not([class*="dsp-"]) > li,
.entry ul:not([class*="dsp-"]) > li { margin: 0.5rem 0; }
.entry ol:not([class*="dsp-"]) > li::marker { font-weight: 700; color: var(--muted); }

.dsp-contact-list { list-style: none; padding: 0 !important; margin: 1.75rem 0 0; display: grid; gap: 14px; }
.dsp-contact-list > li { display: flex; flex-direction: column; gap: 2px; margin: 0; font-size: 1.08rem; }
.dsp-contact-list > li strong { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.dsp-contact-list a { font-weight: 600; }
.dsp-next-steps { padding-left: 1.3rem !important; }
.dsp-next-steps > li { margin: 0.5rem 0; color: var(--slate); }
.dsp-next-steps > li::marker { font-family: var(--font-display); font-weight: 800; color: var(--blue); }

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

.dsp-faq { margin: 0 !important; padding: 0; border-bottom: 1px solid var(--line); }
.dsp-faq:first-child { border-top: 1px solid var(--line); }
.dsp-faq > summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	min-height: 44px;
	padding: 22px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	letter-spacing: -0.01em;
}
.dsp-faq > summary::-webkit-details-marker { display: none; }
.dsp-faq > summary::after { content: "+"; flex: none; font-family: var(--font-body); font-weight: 400; font-size: 1.9rem; line-height: 1; transition: transform 0.2s ease; }
.dsp-faq[open] > summary::after { transform: rotate(45deg); }
.dsp-faq > :not(summary) { margin: 0 0 22px; max-width: var(--measure); color: var(--slate); }

/* ---------- Quotes -------------------------------------------------------- */

.entry .wp-block-quote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--blue); font-size: 1.15rem; }
.entry .wp-block-quote cite { display: block; margin-top: 0.75rem; font-style: normal; font-size: 0.95rem; color: var(--muted); }

/* ---------- Calls to action ---------------------------------------------- */

.dsp-cta-box,
.dsp-cta-panel {
	--focus: var(--marigold);
	border-radius: 32px;
	background: var(--blue);
	color: var(--white);
}
.dsp-cta-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 48px;
	padding: clamp(32px, 5vw, 64px);
}
.dsp-cta-box > * { margin: 0 !important; }
.dsp-cta-box > h2 { flex: 1 1 24rem; max-width: 34rem; font-size: clamp(2rem, 3.6vw, 3rem); }
.dsp-cta-box > p { order: 3; flex: 1 1 100%; max-width: var(--measure); color: var(--white); font-size: 1.1rem; }
.dsp-cta-box > .wp-block-buttons { order: 2; }
.dsp-cta-panel { padding: clamp(28px, 5vw, 64px); }
.dsp-cta-panel h2 { font-size: clamp(2.2rem, 4.4vw, 3.75rem); line-height: 1; }
.dsp-cta-panel p { color: var(--white); font-size: 1.1rem; }
.dsp-cta-panel .dsp-contact-list > li strong { color: var(--white); }
.dsp-cta-panel .dsp-contact-list a, .dsp-cta-panel .dsp-contact-list li { color: var(--white); }
.dsp-cta-panel .dsp-contact-list > li { font-size: 1rem; }
.dsp-cta-box .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.dsp-cta-panel .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--ink); }
.dsp-cta-box .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: #000; }
.dsp-cta-box .wp-block-button.is-style-outline > .wp-block-button__link,
.dsp-cta-panel .wp-block-button.is-style-outline > .wp-block-button__link { border-color: var(--white); color: var(--white) !important; }
.dsp-cta-box .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--white); color: var(--blue) !important; }
.dsp-section--cta { padding-top: 0 !important; }

/* ---------- Forms (Contact Form 7) --------------------------------------- */

.dsp-form-card,
.dsp-cta-panel .wpcf7 {
	padding: clamp(24px, 3vw, 36px);
	border-radius: 22px;
	background: var(--white);
	color: var(--ink);
}
.dsp-form-card { border: 1px solid var(--line); }
.dsp-form-card > h3 { margin: 0 0 1rem; }
.wpcf7 form > p { margin: 0 0 16px; }
.wpcf7 label { display: block; font-weight: 600; font-size: 0.93rem; color: var(--ink); }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"],
.wpcf7 input[type="number"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea,
.search-form input[type="search"],
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%;
	min-height: 50px;
	margin-top: 6px;
	padding: 12px 14px;
	border: 1px solid #B9BEB2;
	border-radius: var(--radius-s);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-weight: 400;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus, .search-form input:focus,
.comment-form input:focus, .comment-form textarea:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(45, 91, 255, 0.2);
}
.wpcf7 input[type="submit"], .comment-form input[type="submit"] {
	width: 100%;
	min-height: 52px;
	padding: 0 1.6rem;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: var(--white);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: var(--blue); }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: 0.875rem; color: #B42318; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius-s); }

/* ---------- Post grid ----------------------------------------------------- */

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 3vw, 36px); }
.dsp-section > .wp-block-shortcode + .wp-block-buttons,
.dsp-section > .post-grid + .wp-block-buttons { margin-top: 2.5rem; }
.post-card { position: relative; display: flex; flex-direction: column; }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-m); background: var(--paper-deep); }
.post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform 0.4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--paper-deep), var(--line)); }
.post-card__body { padding-top: 16px; }
.post-card__cat { margin: 0 0 6px; font-size: 0.875rem; font-weight: 600; color: var(--blue-deep); }
.post-card__title { margin: 0; font-family: var(--font-display); font-weight: 700 !important; font-size: 1.35rem !important; line-height: 1.22 !important; letter-spacing: -0.015em !important; }
.post-card__title a { color: inherit; text-decoration: none !important; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover .post-card__title a { color: var(--blue); }
.post-card:has(.post-card__title a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: var(--radius-m); }
.post-card__title a:focus-visible { outline: none; }
.post-card__excerpt { margin: 10px 0 0; color: var(--slate); font-size: 1rem; }
.post-card__meta { display: flex; gap: 14px; margin: 12px 0 0; font-size: 0.875rem; color: var(--muted); }

/* ---------- Testimonial plugin ------------------------------------------- */

.dsp-section .rt-container-fluid,
.dsp-section .rt-container { padding-left: 0; padding-right: 0; }

/* ---------- Leftover Fusion shortcodes (fallback rendering) -------------- */

.fx-section { padding: 48px var(--gutter); max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; }
.fx-row { display: flex; flex-wrap: wrap; gap: 32px; }
.fx-col { flex: 1 1 100%; min-width: 0; }
@media (min-width: 782px) {
	.fx-col-1_2 { flex-basis: calc(50% - 16px); }
	.fx-col-1_3 { flex-basis: calc(33.333% - 22px); }
	.fx-col-2_3 { flex-basis: calc(66.666% - 11px); }
	.fx-col-1_4 { flex-basis: calc(25% - 24px); }
	.fx-col-3_4 { flex-basis: calc(75% - 8px); }
	.fx-col-1_5 { flex-basis: calc(20% - 26px); }
	.fx-col-2_5 { flex-basis: calc(40% - 20px); }
	.fx-col-3_5 { flex-basis: calc(60% - 13px); }
}
.fx-image { margin: 0; }
.fx-image img { border-radius: var(--radius-m); }
.fx-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.fx-box { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white); }
/* ---------- Card icons (generated) ------------------------------------- */
.dsp-card.has-icon-seo { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.8-4.8M7.5 12l2-2.2 1.8 1.6 2.2-2.9'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-ppc { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3l6.5 17 2.2-6.8L20.5 11z'/%3E%3Cpath d='m14 14 5.5 5.5'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-social { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='12' r='2.5'/%3E%3Ccircle cx='18' cy='6' r='2.5'/%3E%3Ccircle cx='18' cy='18' r='2.5'/%3E%3Cpath d='m8.2 10.8 7.6-3.6M8.2 13.2l7.6 3.6'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-web { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M6.5 6.5h.01M9 6.5h.01'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-wordpress { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M4.5 8.5 9 20M8 8.5h5M10.5 8.5l4 11.2M15 8.5h3.2l-2.6 8'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-ecommerce { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.5l2.2 11h10.6L20.5 7H6.3'/%3E%3Ccircle cx='9.5' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-mobile { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.5'/%3E%3Cpath d='M11 18.5h2'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-design { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18c1.3 0 2-.8 2-1.8 0-1.4-1.2-1.7-1.2-3 0-1 .8-1.7 1.8-1.7H17a4 4 0 0 0 4-4C21 6.4 17 3 12 3z'/%3E%3Ccircle cx='7.5' cy='11' r='1'/%3E%3Ccircle cx='10' cy='7' r='1'/%3E%3Ccircle cx='15' cy='7.2' r='1'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-analytics { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-content { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6.5A1.5 1.5 0 0 0 5 4.5v15A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V8z'/%3E%3Cpath d='M14 3v5h5M8.5 13h7M8.5 17h5'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-local { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-email { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-support { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14v-2a8 8 0 0 1 16 0v2'/%3E%3Crect x='3' y='13' width='4' height='6' rx='1.5'/%3E%3Crect x='17' y='13' width='4' height='6' rx='1.5'/%3E%3Cpath d='M19 19c0 1.5-2 2.5-5 2.5'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-speed { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 17a8.5 8.5 0 1 1 15 0'/%3E%3Cpath d='m12 13 4-5'/%3E%3Ccircle cx='12' cy='13' r='1.2'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-security { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.2 8.4 7.5 9.5 4.3-1.1 7.5-4.9 7.5-9.5V6z'/%3E%3Cpath d='m8.8 12 2.2 2.2 4.2-4.4'/%3E%3C/svg%3E"); }
.dsp-card.has-icon-strategy { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='.9' fill='%230F1A2B'/%3E%3C/svg%3E"); }

/* ---------- reCAPTCHA ----------------------------------------------------- */
/* The floating badge covers content on phones; the required notice is printed under each form instead. */
.grecaptcha-badge { visibility: hidden !important; }
.dsp-recaptcha-note { margin: 12px 0 0 !important; font-size: 0.8rem; line-height: 1.5; color: var(--muted); }
.dsp-recaptcha-note a { color: inherit; }
