/**
 * WordPress + Block editor glue so Tailwind layout matches the React shell.
 */

html {
	scroll-behavior: smooth;
}

body {
	font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
}

/* Remove global horizontal padding from core wrapper so full-bleed sections match React */
.wp-site-blocks {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0;
	margin-right: 0;
	max-width: none !important;
}

/* Admin bar offset */
body.admin-bar #designtab-site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar #designtab-site-header {
		top: 46px;
	}
}

/* Pricing: sticky tab rail sits below fixed header + admin bar */
body.admin-bar .designtab-pricing-sticky {
	top: calc(5rem + 32px);
}
@media (min-width: 768px) {
	body.admin-bar .designtab-pricing-sticky {
		top: calc(6rem + 32px);
	}
}
@media screen and (max-width: 782px) {
	body.admin-bar .designtab-pricing-sticky {
		top: calc(5rem + 46px);
	}
}
@media screen and (max-width: 782px) and (min-width: 768px) {
	body.admin-bar .designtab-pricing-sticky {
		top: calc(6rem + 46px);
	}
}

/* Hide decorative overflow like React */
.designtab-shell {
	overflow-x: clip;
}

/* Optional: Rank Math breadcrumbs tweak */
.rank-math-breadcrumb {
	color: rgb(156 163 175);
	font-size: 0.875rem;
}

.rank-math-breadcrumb a {
	color: rgb(34 211 238);
}

/* Brand logos: header asset + footer asset (light footer background) */
.designtab-logo {
	flex-shrink: 0;
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
}

.designtab-logo--header {
	display: block;
	width: 9.5rem;
	height: 2.25rem;
	background-image: url('../images/logo-header.png');
}

.designtab-logo--footer {
	display: block;
	width: 9.5rem;
	height: 2.25rem;
	background-image: url('../images/logo-footer.png');
}

/* Remove default link underlines (header, footer, CTA-style links, buttons) */
* {
	text-decoration: none !important;
}

a, a:hover, a:focus, a:active,
button, button:hover, button:focus {
	text-decoration: none !important;
	box-shadow: none !important;
}

/*
 * Header nav / CTAs — kill stray hairlines from decoration or theme defaults
 */
#designtab-site-header a,
#designtab-site-header button {
	border-bottom: none !important;
	text-underline-offset: 0 !important;
	text-decoration-line: none !important;
	text-decoration-thickness: 0 !important;
}

/* Clickable controls — match anchor / CTA affordance (pointer finger). */
button:not(:disabled),
input[type='button']:not(:disabled),
input[type='submit']:not(:disabled),
input[type='reset']:not(:disabled) {
	cursor: pointer;
}

button:disabled,
input[type='button']:disabled,
input[type='submit']:disabled,
input[type='reset']:disabled {
	cursor: not-allowed;
}

/*
 * About / Services hero — Tailwind utilities in wp:html may not exist in the
 * production bundle (CSS was built from the React app). Force readable type.
 * `.designtab-page-hero-heading` is on-pattern so headings stay visible even when
 * `.designtab-shell main` or direct-child selectors fail (Site Editor templates,
 * `display:contents` wrappers, stacking).
 */
h1.designtab-page-hero-heading,
.designtab-shell main .text-center.mb-20 > h1,
.designtab-shell main .text-center.mb-16 > h1 {
	display: block !important;
	font-size: clamp(2.25rem, 4vw, 3.75rem) !important;
	line-height: 1.15 !important;
	font-weight: 700 !important;
	margin-bottom: 1.5rem !important;
	color: #f9fafb !important;
	min-height: 2.75rem !important;
	position: relative;
	z-index: 2;
	opacity: 1 !important;
	visibility: visible !important;
}

h1.designtab-page-hero-heading .designtab-heading-gradient-cyan,
.text-center.mb-20 > h1 .designtab-heading-gradient-cyan,
.text-center.mb-16 > h1 .designtab-heading-gradient-cyan {
	color: #67e8f9 !important;
	-webkit-text-fill-color: #67e8f9 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

p.designtab-page-hero-lede {
	color: #d1d5db !important;
	font-size: 1.25rem !important;
	line-height: 1.75rem !important;
	position: relative;
	z-index: 2;
}

/*
 * Pastel sections on dark shell — restore light band + dark body copy (Home Services / Portfolio).
 */
section.designtab-band-light {
	color: #1f2937;
}

section.designtab-band-light .relative.z-10 > .text-center.mb-16 p.max-w-3xl {
	color: #1f2937 !important;
}

section.designtab-band-light h2.text-gray-900 {
	color: #111827 !important;
}

section.designtab-band-light h2 span.text-pink-600 {
	color: #db2777 !important;
}

section.designtab-band-light h2 span.text-cyan-600 {
	color: #0891b2 !important;
}

section.designtab-band-light h3.text-gray-900 {
	color: #111827 !important;
}

section.designtab-band-light span.text-gray-900 {
	color: #111827 !important;
}

section.designtab-band-light p.text-gray-600 {
	color: #4b5563 !important;
}

section.designtab-band-light p.text-gray-800 {
	color: #1f2937 !important;
}

section.designtab-band-light h2 span.text-gray-900 {
	color: #111827 !important;
	-webkit-text-fill-color: #111827 !important;
}

section.designtab-band-light h2 span.bg-clip-text.text-transparent {
	background-image: linear-gradient(90deg, #0891b2 0%, #2563eb 55%, #0891b2 100%) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	color: transparent !important;
	-webkit-text-fill-color: transparent !important;
}

/*
 * Heading accents — solid colours only so titles never paint “invisible”
 * when background-clip is flaky inside nested stacking contexts.
 */
.designtab-heading-gradient-cyan {
	display: inline-block;
	max-width: 100%;
	color: #67e8f9;
	text-shadow: 0 0 28px rgba(34, 211, 238, 0.45);
}

section[aria-labelledby="designtab-process-heading"] .text-cyan-300,
section[aria-labelledby="designtab-social-heading"] .text-cyan-300 {
	color: #67e8f9 !important;
	-webkit-text-fill-color: #67e8f9;
}

section[aria-labelledby="designtab-process-heading"] .text-pink-400 {
	color: #f472b6 !important;
	-webkit-text-fill-color: #f472b6;
}

section[aria-labelledby="designtab-social-heading"] span.font-bold.text-sm {
	color: #f1f5f9 !important;
}

section[aria-labelledby="designtab-process-heading"] p.text-gray-300,
section[aria-labelledby="designtab-social-heading"] p.text-gray-300 {
	color: #d1d5db !important;
}

section[aria-labelledby="designtab-process-heading"] h2.text-white,
section[aria-labelledby="designtab-social-heading"] h2.text-white {
	color: #ffffff !important;
}

section[aria-labelledby="designtab-process-heading"] h3.text-white {
	color: #ffffff !important;
}

.designtab-blog-title-gradient {
	display: inline-block;
	max-width: 100%;
	color: #6ee7b7;
	text-shadow: 0 0 28px rgba(52, 211, 153, 0.35);
}

/* Blog archive — title: match React bg-gradient-to-r from-green-400 via-emerald-500 to-green-400 bg-clip-text */
.designtab-blog-page-title {
	background: linear-gradient(to right, #4ade80, #10b981, #4ade80);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: inline-block;
}

.designtab-blog-hero-subtitle {
	color: #d1d5db !important;
}

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

.designtab-blog-query .wp-block-post-template.is-layout-grid {
	gap: 2rem;
	align-items: stretch;
}

.designtab-blog-query .wp-block-post-template.is-layout-grid > li {
	height: 100%;
	display: flex;
}

.designtab-blog-query .wp-block-post-template.is-layout-grid > li > .wp-block-group {
	width: 100%;
}

@media (max-width: 599px) {
	.designtab-blog-query .wp-block-post-template.is-layout-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Hide accidental extra block groups on blog route (e.g. homepage pattern in page) */
.designtab-blog-view main .designtab-react-blog ~ .wp-block-group {
	display: none !important;
}

.designtab-blog-card__img img {
	width: 100%;
	height: 100%;
	min-height: 14rem;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.designtab-blog-card:hover .designtab-blog-card__img img {
	transform: scale(1.1);
}

.designtab-blog-card .wp-block-post-terms {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.375rem;
	margin: 0;
}

.designtab-blog-card .wp-block-post-terms a,
.designtab-blog-php-cat {
	display: inline-block;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25;
	color: #ffffff !important;
	background: linear-gradient(90deg, #4ade80, #10b981);
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.designtab-blog-card .wp-block-read-more {
	display: inline-flex;
	align-items: center;
	color: #22d3ee !important;
	font-weight: 600;
	transition: all 0.3s ease;
}

.designtab-blog-card:hover .wp-block-read-more {
	gap: 1rem;
}

.designtab-blog-card .wp-block-read-more a {
	color: inherit !important;
}

.designtab-blog-query .wp-block-query-pagination {
	margin-top: 2.5rem;
	justify-content: center;
	gap: 0.75rem 1.25rem;
	flex-wrap: wrap;
}

.designtab-blog-query .wp-block-query-pagination a,
.designtab-blog-query .wp-block-query-pagination-placeholder {
	color: #22d3ee;
	font-weight: 600;
}

.designtab-blog-query .wp-block-query-pagination .page-numbers.current {
	color: #f9fafb;
	text-decoration: none !important;
}

.designtab-blog-query.designtab-blog-query--php .designtab-blog-php-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	list-style: none;
	padding: 0;
	margin: 0;
	align-items: stretch;
}

@media (min-width: 768px) {
	.designtab-blog-query.designtab-blog-query--php .designtab-blog-php-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.designtab-blog-query.designtab-blog-query--php .designtab-blog-php-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.designtab-blog-query.designtab-blog-query--php .designtab-blog-php-grid > li {
	height: 100%;
	display: flex;
}

.designtab-blog-query.designtab-blog-query--php .designtab-blog-php-cat {
	display: inline-block;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25;
	color: #ffffff !important;
	text-decoration: none !important;
}

.designtab-blog-php-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.75rem 1.25rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.designtab-blog-php-pagination a.page-numbers,
.designtab-blog-php-pagination span.page-numbers {
	color: #22d3ee;
	font-weight: 600;
	text-decoration: none !important;
}

.designtab-blog-php-pagination span.page-numbers.current {
	color: #f9fafb;
	cursor: default;
}

.designtab-blog-php-pagination a.page-numbers:hover {
	color: #67e8f9;
}

/* Single post — reading progress, surface layout, prose */
.designtab-reading-progress {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	transform: scaleX(0);
	transform-origin: left center;
	pointer-events: none;
	transition: transform 0.15s ease-out;
	height: 3px;
	z-index: 45;
	background: linear-gradient(90deg, #22d3ee, #6366f1, #ec4899);
	box-shadow: 0 0 12px rgba(34, 211, 238, 0.45);
}

.designtab-reading-progress.designtab-reading-progress--react {
	height: 4px;
	z-index: 60;
	background: linear-gradient(90deg, #4ade80, #10b981, #22d3ee);
	box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
}

body.admin-bar .designtab-reading-progress.designtab-reading-progress--react {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .designtab-reading-progress.designtab-reading-progress--react {
		top: 46px;
	}
}

body.admin-bar .designtab-reading-progress {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .designtab-reading-progress {
		top: 46px;
	}
}

.designtab-single-main {
	position: relative;
}

/*
 * Single post — React `BlogPostPage` hero & shell: explicit tokens so layout matches even when
 * the Tailwind bundle was built without scanning theme PHP (see app `tailwind.css` @source).
 */
body.designtab-single-php-template {
	font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

.designtab-single-post--react .designtab-single-accent-chip {
	background: linear-gradient(90deg, #22d3ee, #34d399, #f472b6);
	box-shadow: 0 0 20px rgba(34, 211, 238, 0.35);
}

.designtab-single-post--react .designtab-single-hero-cats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.designtab-single-post--react .designtab-single-cat-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25rem;
	color: #ffffff;
	box-shadow:
		0 10px 15px -3px rgba(0, 0, 0, 0.1),
		0 4px 6px -4px rgba(34, 211, 238, 0.1);
}

.designtab-single-post--react .designtab-single-hero-readtime {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: #9ca3af;
}

.designtab-single-post--react .designtab-single-breadcrumb {
	margin-bottom: 2rem;
}

.designtab-single-post--react .designtab-single-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #9ca3af;
}

.designtab-single-post--react .designtab-single-breadcrumb a {
	color: #9ca3af;
	text-decoration: none;
	transition: color 0.2s ease;
}

.designtab-single-post--react .designtab-single-breadcrumb a:hover {
	color: #22d3ee;
}

.designtab-single-post--react .designtab-single-hero-head {
	margin-bottom: 2.5rem;
}

.designtab-single-post--react .designtab-single-hero-head h1 {
	font-size: 2.25rem;
	line-height: 1.15;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: -0.025em;
	margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
	.designtab-single-post--react .designtab-single-hero-head h1 {
		font-size: 3rem;
	}
}

@media (min-width: 1024px) {
	.designtab-single-post--react .designtab-single-hero-head h1 {
		font-size: 3.25rem;
	}
}

.designtab-single-post--react .designtab-single-hero-excerpt {
	font-size: 1.25rem;
	line-height: 1.625;
	color: #9ca3af;
	margin: 0 0 2rem;
	padding-left: 1.25rem;
	border-left: 4px solid rgba(255, 255, 255, 0.1);
}

.designtab-single-post--react .designtab-single-hero-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 2rem;
	row-gap: 1rem;
	color: #d1d5db;
	font-size: 0.875rem;
	line-height: 1.5;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.designtab-single-post--react .designtab-single-hero-meta .text-gray-300 {
	color: #d1d5db;
}

.designtab-single-post--react .designtab-blog-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #22d3ee;
	text-decoration: none;
}

.designtab-single-post--react .designtab-blog-back-link:hover {
	color: #67e8f9;
}

/* Header CTA — match React `Header.tsx` (rounded-lg ≈ 8px, red→pink gradient, padding). */
a.designtab-header-cta {
	display: inline-block;
	text-align: center;
	border-radius: 0.5rem;
	font-weight: 600;
	color: #ffffff;
	padding: 0.625rem 1.5rem;
	background-image: linear-gradient(90deg, #ef4444, #db2777);
	text-decoration: none;
	transition:
		box-shadow 0.3s ease,
		transform 0.3s ease;
}

a.designtab-header-cta:hover {
	box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.5);
	transform: scale(1.05);
}

a.designtab-header-cta.designtab-header-cta--mobile {
	display: block;
	padding: 0.75rem 1.5rem;
	margin-top: 1rem;
}

a.designtab-header-cta.designtab-header-cta--mobile:hover {
	transform: none;
}

.designtab-single-post--react .designtab-single-glass {
	margin-bottom: 4rem;
	border-radius: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
	padding: 1.5rem;
	box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
	.designtab-single-post--react .designtab-single-glass {
		padding: 2.25rem;
	}
}

@media (min-width: 1024px) {
	.designtab-single-post--react .designtab-single-glass {
		padding: 2.75rem;
	}
}

.designtab-single-post--react .designtab-single-feature {
	margin-bottom: 3rem;
	width: 100%;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 25px 50px -12px rgba(34, 211, 238, 0.1);
	background: rgba(255, 255, 255, 0.05);
}

.designtab-single-post--react .designtab-single-feature img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: middle;
	object-fit: cover;
	aspect-ratio: 16 / 9;
}

/* Strip default block wrapper spacing so React layout fills the column */
.designtab-single-post--react .wp-block-post-content {
	margin-block: 0;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

.designtab-single-surface {
	position: relative;
}

.designtab-single-surface .designtab-single-article-inner,
.designtab-single-glass .designtab-single-article-inner {
	position: relative;
	z-index: 1;
}

/* React single: full-width prose inside glass (no 65ch cap) */
.designtab-single-glass .designtab-single-content {
	max-width: none;
	font-size: 1.125rem;
	line-height: 1.75;
	color: #d1d5db;
}

/* Match React `BlogBodyBlock` typography (scoped — avoids “first paragraph lead” bump) */
.designtab-single-post--react .designtab-single-glass .designtab-single-content > p:first-of-type {
	font-size: 1.125rem;
	line-height: 1.625;
	color: #d1d5db;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content > * + * {
	margin-top: 0;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content p {
	font-size: 1.125rem;
	line-height: 1.625;
	color: #d1d5db;
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content p:last-child {
	margin-bottom: 0;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content strong {
	font-weight: 600;
	color: #ffffff;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content ul {
	list-style: none;
	padding-left: 0;
	margin: 1.5rem 0;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content ul > li {
	display: flex;
	gap: 0.75rem;
	margin-top: 0.75rem;
	font-size: 1.125rem;
	line-height: 1.625;
	color: #d1d5db;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content ul > li:first-child {
	margin-top: 0;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content ul > li::before {
	content: '';
	margin-top: 0.5rem;
	height: 0.5rem;
	width: 0.5rem;
	flex-shrink: 0;
	border-radius: 9999px;
	background: linear-gradient(90deg, #22d3ee, #34d399);
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content ol {
	margin: 1.5rem 0;
	padding-left: 1.5rem;
	list-style: decimal;
	font-size: 1.125rem;
	line-height: 1.625;
	color: #d1d5db;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content ol > li {
	padding-left: 0.5rem;
	margin-top: 0.75rem;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content ol > li:first-child {
	margin-top: 0;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content ol > li::marker {
	color: #22d3ee;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content blockquote {
	margin: 2.5rem 0;
	padding: 0.5rem 0 0.5rem 1.5rem;
	border-left: 4px solid rgba(34, 211, 238, 0.6);
	background: transparent;
	border-radius: 0;
	color: #e5e7eb;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content blockquote p {
	font-size: 1.25rem;
	font-weight: 500;
	font-style: italic;
	line-height: 1.625;
	color: #e5e7eb;
	margin: 0;
}

.designtab-single-post--react .designtab-single-glass .designtab-single-content blockquote cite,
.designtab-single-post--react .designtab-single-glass .designtab-single-content blockquote footer {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.875rem;
	font-style: normal;
	color: #6b7280;
}

.designtab-single-content > p:first-of-type {
	font-size: 1.2rem;
	line-height: 1.65;
	color: #e5e7eb;
}

.designtab-single-empty {
	max-width: 42rem;
}

.designtab-skip-link:focus {
	position: absolute;
	left: 1.5rem;
	top: 7rem;
	z-index: 60;
	width: auto;
	height: auto;
	padding: 0.5rem 1rem;
	margin: 0;
	overflow: visible;
	clip: auto;
	white-space: normal;
	border-radius: 0.5rem;
	background: #22d3ee;
	color: #0a1628;
	font-weight: 600;
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.designtab-single-head .rank-math-breadcrumb {
	font-size: 0.875rem;
	line-height: 1.5;
	color: #9ca3af;
}

.designtab-single-head .rank-math-breadcrumb a {
	color: #d1d5db;
	text-decoration: none;
	transition: color 0.2s ease;
	cursor: pointer;
}

.designtab-single-head .rank-math-breadcrumb a:hover {
	color: #22d3ee;
}

.designtab-single-post .designtab-single-cats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}

.designtab-single-post .designtab-single-cats a {
	display: inline-block;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25;
	color: #ffffff !important;
	background: linear-gradient(90deg, #22d3ee, #3b82f6);
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(34, 211, 238, 0.25);
	transition: opacity 0.2s ease, transform 0.2s ease;
	cursor: pointer;
}

.designtab-single-post .designtab-single-cats a:hover {
	opacity: 0.95;
}

.designtab-single-feature img {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: middle;
}

.designtab-single-content {
	max-width: 65ch;
	font-size: 1.125rem;
	line-height: 1.75;
	color: #d1d5db;
}

.designtab-single-content > * + * {
	margin-top: 1.25em;
}

.designtab-single-content h2,
.designtab-single-content h3,
.designtab-single-content h4 {
	color: #f9fafb;
	font-weight: 700;
	line-height: 1.25;
	margin-top: 1.75em;
	margin-bottom: 0.65em;
}

.designtab-single-glass .designtab-single-content h2 {
	font-size: clamp(1.5rem, 4vw, 1.875rem);
	margin-top: 3.5rem;
	margin-bottom: 1.25rem;
	scroll-margin-top: 7rem;
}

.designtab-single-glass .designtab-single-content h3 {
	font-size: clamp(1.25rem, 3vw, 1.5rem);
	margin-top: 2.5rem;
}

.designtab-single-content h3 {
	font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.designtab-single-content a {
	color: #67e8f9;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
	cursor: pointer;
}

.designtab-single-content a:hover {
	color: #a5f3fc;
}

.designtab-single-content ul,
.designtab-single-content ol {
	padding-left: 1.35em;
	margin: 1em 0;
}

.designtab-single-content blockquote {
	margin: 1.5em 0;
	padding: 1rem 1.25rem;
	border-left: 4px solid rgba(34, 211, 238, 0.65);
	background: rgba(255, 255, 255, 0.04);
	border-radius: 0 0.75rem 0.75rem 0;
	color: #e5e7eb;
}

.designtab-single-content pre {
	overflow-x: auto;
	padding: 1rem 1.25rem;
	border-radius: 0.75rem;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9em;
	line-height: 1.6;
}

.designtab-single-content img {
	height: auto;
	max-width: 100%;
	border-radius: 0.75rem;
}

.designtab-single-content figcaption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: #9ca3af;
	text-align: center;
}

.designtab-single-related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

@media (min-width: 768px) {
	.designtab-single-related-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.designtab-single-related__media img.designtab-single-related__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 10rem;
}

.designtab-single-adjacent-card .line-clamp-2,
.designtab-single-related-card .line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.designtab-single-post .designtab-single-cats a,
	.designtab-single-adjacent-card,
	.designtab-single-related-card,
	.designtab-single-tag-link,
	.designtab-single-topic-pill {
		transition: none !important;
	}

	.designtab-single-related-card:hover {
		transform: none !important;
	}
}

/*
 * Service detail — Tailwind-token parity with React `ServiceDetailPage.tsx`
 * Breakpoints: sm 640px, md 768px, lg 1024px (Tailwind defaults).
 */
/*
 * Anchor on `article.designtab-service-detail` only — Site Editor templates may drop
 * `.designtab-shell` / `main` wrappers; descendant selectors would otherwise match nothing.
 */
article.designtab-service-detail {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	min-height: 100vh;
	padding-top: 8rem;
	padding-bottom: 5rem;
	color: #d1d5db;
	/* Fallbacks if inline CSS variables are stripped */
	--dt-svc-grad: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
	--dt-svc-shadow: 0 25px 50px -12px rgba(34, 211, 238, 0.45);
}

article.designtab-service-detail *,
article.designtab-service-detail *::before,
article.designtab-service-detail *::after {
	box-sizing: border-box;
}

article.designtab-service-detail .designtab-service-detail__wrap {
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

@media (min-width: 1024px) {
	article.designtab-service-detail .designtab-service-detail__wrap {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

article.designtab-service-detail .designtab-service-detail__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
	color: #9ca3af;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	transition: color 0.3s ease;
}

article.designtab-service-detail .designtab-service-detail__back:hover {
	color: #22d3ee;
}

article.designtab-service-detail .designtab-service-detail__back-icon {
	flex-shrink: 0;
	display: block;
}

article.designtab-service-detail .designtab-service-detail__hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
	margin-bottom: 5rem;
}

@media (min-width: 1024px) {
	article.designtab-service-detail .designtab-service-detail__hero {
		grid-template-columns: 1fr 1fr;
	}
}

article.designtab-service-detail .designtab-service-detail__hero-main {
	min-width: 0;
}

article.designtab-service-detail .designtab-service-detail__hero-icon {
	width: 6rem;
	height: 6rem;
	border-radius: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	background: var(--dt-svc-grad);
	box-shadow: var(--dt-svc-shadow);
	transition: transform 0.3s ease;
}

article.designtab-service-detail .designtab-service-detail__hero-icon:hover {
	transform: scale(1.05) rotate(5deg);
}

article.designtab-service-detail .designtab-service-detail__hero-icon svg {
	display: block;
}

article.designtab-service-detail .designtab-service-detail__title {
	margin: 0 0 1.5rem;
	font-size: 3rem;
	line-height: 1.1;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
	article.designtab-service-detail .designtab-service-detail__title {
		font-size: 3.75rem;
	}
}

article.designtab-service-detail .designtab-service-detail__lede {
	margin: 0 0 2rem;
	font-size: 1.25rem;
	line-height: 1.75rem;
	color: #d1d5db;
}

article.designtab-service-detail .designtab-service-detail__btn {
	display: inline-block;
	text-align: center;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: 0.5rem;
	padding: 1rem 2rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
	cursor: pointer;
}

article.designtab-service-detail .designtab-service-detail__btn--primary {
	background: linear-gradient(90deg, #ef4444, #db2777);
	color: #ffffff;
}

article.designtab-service-detail .designtab-service-detail__btn--primary:hover {
	transform: scale(1.05);
	box-shadow: 0 25px 50px -12px rgba(239, 68, 68, 0.5) !important;
	color: #ffffff;
}

article.designtab-service-detail .designtab-service-detail__btn--ghost {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

article.designtab-service-detail .designtab-service-detail__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
}

article.designtab-service-detail .designtab-service-detail__hero-visual {
	position: relative;
	min-width: 0;
	min-height: min(80vw, 28rem);
}

article.designtab-service-detail .designtab-service-detail__hero-blob {
	aspect-ratio: 1 / 1;
	width: 100%;
	max-width: 28rem;
	margin-left: auto;
	margin-right: auto;
	border-radius: 1.5rem;
	background: var(--dt-svc-grad);
	opacity: 0.2;
	filter: blur(64px);
}

article.designtab-service-detail .designtab-service-detail__hero-water {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	color: #ffffff;
}

article.designtab-service-detail .designtab-service-detail__hero-water svg {
	width: min(100%, 400px);
	height: auto;
	max-height: 400px;
	opacity: 0.1;
	display: block;
}

article.designtab-service-detail .designtab-service-detail__section--features {
	margin-bottom: 5rem;
}

article.designtab-service-detail .designtab-service-detail__section--process {
	margin-bottom: 0;
}

article.designtab-service-detail .designtab-service-detail__section-title {
	margin: 0 0 3rem;
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
}

@media (min-width: 1024px) {
	article.designtab-service-detail .designtab-service-detail__section-title {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}
}

article.designtab-service-detail .designtab-service-detail__feature-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	article.designtab-service-detail .designtab-service-detail__feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	article.designtab-service-detail .designtab-service-detail__feature-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

article.designtab-service-detail .designtab-service-detail__feature-card {
	background: rgba(255, 255, 255, 0.05);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0.75rem;
	padding: 1.5rem;
	transition: background-color 0.3s ease;
}

article.designtab-service-detail .designtab-service-detail__feature-card:hover {
	background: rgba(255, 255, 255, 0.1);
}

article.designtab-service-detail .designtab-service-detail__feature-icon {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	background: var(--dt-svc-grad);
}

article.designtab-service-detail .designtab-service-detail__feature-icon svg {
	display: block;
}

article.designtab-service-detail .designtab-service-detail__feature-title {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-weight: 600;
	color: #ffffff;
}

article.designtab-service-detail .designtab-service-detail__process-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	article.designtab-service-detail .designtab-service-detail__process-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	article.designtab-service-detail .designtab-service-detail__process-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

article.designtab-service-detail .designtab-service-detail__process-step {
	position: relative;
}

article.designtab-service-detail .designtab-service-detail__process-inner {
	text-align: center;
}

article.designtab-service-detail .designtab-service-detail__process-num {
	width: 4rem;
	height: 4rem;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	font-size: 1.5rem;
	line-height: 2rem;
	font-weight: 700;
	color: #ffffff;
	background: var(--dt-svc-grad);
	box-shadow: var(--dt-svc-shadow);
}

article.designtab-service-detail .designtab-service-detail__process-heading {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 700;
	color: #ffffff;
}

article.designtab-service-detail .designtab-service-detail__process-desc {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5rem;
	color: #9ca3af;
}

@media (min-width: 1024px) {
	article.designtab-service-detail .designtab-service-detail__process-step:not(:last-child)::after {
		content: '';
		position: absolute;
		top: 2rem;
		left: 100%;
		width: 100%;
		height: 2px;
		background: linear-gradient(to right, rgba(255, 255, 255, 0.2), transparent);
		transform: translateX(-50%);
		pointer-events: none;
	}
}

article.designtab-service-detail .designtab-service-detail__cta {
	margin-top: 5rem;
	text-align: center;
	background: rgba(255, 255, 255, 0.05);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 1rem;
	padding: 3rem;
}

article.designtab-service-detail .designtab-service-detail__cta-title {
	margin: 0 0 1rem;
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
	color: #ffffff;
}

@media (min-width: 1024px) {
	article.designtab-service-detail .designtab-service-detail__cta-title {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}
}

article.designtab-service-detail .designtab-service-detail__cta-copy {
	margin: 0 auto 2rem;
	max-width: 42rem;
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: #d1d5db;
}

article.designtab-service-detail .designtab-service-detail__cta-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: center;
	align-items: center;
}

@media (min-width: 640px) {
	article.designtab-service-detail .designtab-service-detail__cta-actions {
		flex-direction: row;
	}
}

/*
 * Header nav from wp_nav_menu: flatten <li> so flex + gap apply to links (desktop only).
 */
#designtab-site-header ul.designtab-header-desktop-ul > li {
	display: contents;
}

/* Footer menu link “pill” bar (matches prior span animation) */
.designtab-footer-menu a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.designtab-footer-menu a::before {
	content: '';
	display: block;
	width: 0;
	height: 2px;
	background: #0891b2;
	transition: width 0.3s ease;
	flex-shrink: 0;
}

.designtab-footer-menu a:hover::before {
	width: 1rem;
}

/*
 * Homepage “Latest insights” — balanced columns when only 1–2 posts exist.
 */
.designtab-home-blog-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.designtab-home-blog-grid--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.designtab-home-blog-grid--two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 56rem;
		margin-left: auto;
		margin-right: auto;
	}

	.designtab-home-blog-grid--one {
		grid-template-columns: minmax(0, 28rem);
		justify-content: center;
		margin-left: auto;
		margin-right: auto;
	}
}

/* FAQ accordion: visible keyboard focus on summary */
.designtab-home-faq-list details summary:focus-visible {
	outline: 2px solid rgb(34 211 238);
	outline-offset: 2px;
	border-radius: 0.5rem;
}

/*
 * Homepage HTML patterns — tailwind-app.css only includes classes from the React bundle.
 * Patterns use many utilities that were never generated (gradients with alpha, group-open,
 * responsive grids, arbitrary sizes). These rules restore layout and “glass” panels.
 */

/* --- How we work (methodology) — responsive 2-col tablet; step badge size --- */
@media (min-width: 640px) and (max-width: 1023px) {
	section[aria-labelledby="designtab-process-heading"] ol.grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

section[aria-labelledby="designtab-process-heading"] ol > li > div:hover {
	transform: translateY(-2px);
}

/* Step number badges — solid gradients + white numerals (works if Tailwind omits utilities) */
section[aria-labelledby="designtab-process-heading"] .designtab-step-num {
	width: 3.5rem;
	height: 3.5rem;
	min-width: 3.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff;
	border-radius: 0.75rem;
}

section[aria-labelledby="designtab-process-heading"] .designtab-step-num--1 {
	background: linear-gradient(135deg, #2dd4bf 0%, #0d9488 100%) !important;
	box-shadow: 0 10px 25px -8px rgba(45, 212, 191, 0.45);
}

section[aria-labelledby="designtab-process-heading"] .designtab-step-num--2 {
	background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%) !important;
	box-shadow: 0 10px 25px -8px rgba(99, 102, 241, 0.45);
}

section[aria-labelledby="designtab-process-heading"] .designtab-step-num--3 {
	background: linear-gradient(135deg, #fbbf24 0%, #ea580c 100%) !important;
	box-shadow: 0 10px 25px -8px rgba(251, 191, 36, 0.4);
}

section[aria-labelledby="designtab-process-heading"] .designtab-step-num--4 {
	background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%) !important;
	box-shadow: 0 10px 25px -8px rgba(251, 113, 133, 0.45);
}

/* --- Perth & WA industries (light band; cards styled in HTML) --- */
@media (min-width: 1024px) {
	section[aria-labelledby="designtab-social-heading"] .max-w-7xl > div.grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

section[aria-labelledby="designtab-social-heading"] .max-w-7xl > div.grid > div:hover {
	transform: translateY(-2px);
}

/* --- Testimonials (light cards on dark shell) --- */
section[aria-labelledby="designtab-testimonials-heading"] figure {
	background: #fff !important;
	background-color: #fff !important;
	border: 1px solid rgb(226 232 240) !important;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.07);
	color: rgb(15 23 42);
}

section[aria-labelledby="designtab-testimonials-heading"] figure blockquote,
section[aria-labelledby="designtab-testimonials-heading"] figure blockquote p {
	color: rgb(51 65 85) !important;
	-webkit-text-fill-color: rgb(51 65 85);
}

section[aria-labelledby="designtab-testimonials-heading"] figure figcaption p {
	color: rgb(71 85 105) !important;
	-webkit-text-fill-color: rgb(71 85 105);
}

section[aria-labelledby="designtab-testimonials-heading"] figure figcaption p.font-bold {
	color: rgb(15 23 42) !important;
	-webkit-text-fill-color: rgb(15 23 42);
}

/* Star row: restrained “review” gold (Tailwind text-amber-* is often missing from the bundle) */
section[aria-labelledby="designtab-testimonials-heading"] svg.designtab-testimonial-star {
	display: block;
	color: #b45309 !important;
	-webkit-text-fill-color: #b45309;
	filter: drop-shadow(0 1px 0 rgba(146, 64, 14, 0.35)) drop-shadow(0 1px 2px rgba(15, 23, 42, 0.06));
}

section[aria-labelledby="designtab-testimonials-heading"] .grid > figure:nth-child(2) svg.designtab-testimonial-star {
	color: #a16207 !important;
	-webkit-text-fill-color: #a16207;
}

section[aria-labelledby="designtab-testimonials-heading"] .grid > figure:nth-child(3) svg.designtab-testimonial-star {
	color: #9a3412 !important;
	-webkit-text-fill-color: #9a3412;
}

section[aria-labelledby="designtab-testimonials-heading"] figure:hover {
	box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.12);
	transform: translateY(-2px);
}

section[aria-labelledby="designtab-testimonials-heading"] .text-cyan-300 {
	color: #67e8f9 !important;
	-webkit-text-fill-color: #67e8f9;
}

/* --- FAQ accordion (transparent panels) --- */
.designtab-home-faq-list details {
	background: transparent !important;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: none;
}

.designtab-home-faq-list details[open] {
	box-shadow: none;
	border-color: rgba(34, 211, 238, 0.45);
}

.designtab-home-faq-list details[open] summary .shrink-0 {
	transform: rotate(180deg);
	background: rgba(244, 63, 94, 0.22);
	border-color: rgba(244, 114, 182, 0.5);
	color: #fce7f3;
}

.designtab-home-faq-list details summary .shrink-0 {
	transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.designtab-home-faq-list details > div.border-t {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	padding-bottom: 1.5rem;
}

section[aria-labelledby="designtab-faq-heading"] .text-cyan-300 {
	color: #67e8f9 !important;
	-webkit-text-fill-color: #67e8f9;
}

/* --- Final CTA (no gradient frame; sits on shell) --- */
section[aria-labelledby="designtab-final-cta-heading"] h2 {
	font-size: clamp(1.75rem, 4vw, 3rem);
	line-height: 1.15;
}

@media (min-width: 1024px) {
	section[aria-labelledby="designtab-final-cta-heading"] h2 {
		font-size: clamp(2rem, 3.5vw, 3.15rem);
	}
}

section[aria-labelledby="designtab-final-cta-heading"] .text-pink-400 {
	color: #f472b6 !important;
	-webkit-text-fill-color: #f472b6;
}

section[aria-labelledby="designtab-final-cta-heading"] a[href="/contact/"] {
	transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
	box-shadow: 0 10px 40px -10px rgba(244, 63, 94, 0.45);
}

section[aria-labelledby="designtab-final-cta-heading"] a[href="/contact/"]:hover {
	transform: scale(1.02);
	box-shadow: 0 20px 50px -12px rgba(244, 63, 94, 0.5);
}

/* --- Blog insights strip (light article cards) --- */
section[aria-labelledby="designtab-blog-strip-heading"] article {
	background: rgba(255, 255, 255, 0.96) !important;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
	border: 1px solid rgba(203, 213, 225, 0.95) !important;
	border-radius: 1rem;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

section[aria-labelledby="designtab-blog-strip-heading"] article:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.12);
}

section[aria-labelledby="designtab-blog-strip-heading"] .text-cyan-300 {
	color: #67e8f9 !important;
	-webkit-text-fill-color: #67e8f9;
}

@media (min-width: 1024px) {
	section[aria-labelledby="designtab-blog-strip-heading"] article > div:last-child:not(.absolute) {
		padding: 1.75rem;
	}
}

/*
 * Contact form — service select (native fallback only when JS custom UI is unavailable).
 * Do NOT set -webkit-text-fill-color on the select: Chromium applies it to the native
 * dropdown list, causing white-on-white options with color-scheme: light.
 */
form[data-designtab-form="contact"] select[name="dt_service"]:not(.designtab-native-select-hidden),
form[data-designtab-form="contact"] select.designtab-contact-service-select:not(.designtab-native-select-hidden) {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: rgba(255, 255, 255, 0.05) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 1.25rem;
	padding-right: 2.5rem;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 0.5rem;
}

form[data-designtab-form="contact"] select[name="dt_service"]:not(.designtab-native-select-hidden):focus,
form[data-designtab-form="contact"] select.designtab-contact-service-select:not(.designtab-native-select-hidden):focus {
	border-color: rgba(34, 211, 238, 0.65) !important;
	outline: none;
	box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35);
}

form[data-designtab-form="contact"] select.designtab-contact-service-select:not(.designtab-native-select-hidden) option,
form[data-designtab-form="contact"] select[name="dt_service"]:not(.designtab-native-select-hidden) option {
	background-color: #ffffff;
	color: #0f172a;
}

/* Custom service dropdown (JS) — reliable black text on light panel in Chrome/Edge */
/* Contact block: saved pages may keep overflow-hidden on <section>, which clips the custom list */
section.designtab-contact-section:has(form[data-designtab-form="contact"]),
section:has(form[data-designtab-form="contact"]) {
	overflow: visible !important;
}

/* Standalone /contact/ page: same section as home — extra top offset for fixed header */
body.page-contact .designtab-contact-section {
	padding-top: 8rem !important;
}

.designtab-service-select-wrap {
	position: relative;
	z-index: 100;
}

form[data-designtab-form="contact"] select.designtab-native-select-hidden,
.designtab-service-select-wrap .designtab-native-select-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: transparent !important;
}

.designtab-service-select-trigger {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.05) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 1.25rem;
	padding: 0.75rem 2.5rem 0.75rem 1rem;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 0.5rem;
	font: inherit;
	line-height: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.designtab-service-select-trigger:hover {
	border-color: rgba(255, 255, 255, 0.18) !important;
}

.designtab-service-select-trigger:focus {
	border-color: rgba(34, 211, 238, 0.65) !important;
	outline: none;
	box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35);
}

.designtab-service-select-trigger[aria-expanded="true"] {
	border-color: rgba(34, 211, 238, 0.65) !important;
}

.designtab-service-select-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 0.25rem);
	z-index: 100;
	max-height: none;
	overflow: visible;
	background: #ffffff !important;
	border: 1px solid rgb(226 232 240);
	border-radius: 0.5rem;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
	/* Isolate from dark-shell / text-white ancestors (contact + home) */
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	color-scheme: light;
}

.designtab-service-select-option {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.65rem 1rem;
	margin: 0;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: left;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	background: #ffffff !important;
	border: 0;
	border-bottom: 1px solid rgb(241 245 249);
	cursor: pointer;
	forced-color-adjust: none;
}

.designtab-service-select-option:last-child {
	border-bottom: 0;
}

.designtab-service-select-option:hover,
.designtab-service-select-option:focus {
	background: #f1f5f9 !important;
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
	outline: none;
}

/* Extra guard: Site Editor wrappers sometimes force light text onto all controls */
.designtab-service-select-wrap .designtab-service-select-panel button.designtab-service-select-option {
	color: #0f172a !important;
	-webkit-text-fill-color: #0f172a !important;
}
