/* ==========================================================================
   Delivero theme – main styles
   Colors, fonts, sizes come from CSS variables set in Customizer (inc/dynamic-css.php)
   ========================================================================== */

:root {
	--dv-primary: #0AA593;
	--dv-primary-dark: #088f7f;
	--dv-primary-deep: #07786b;
	--dv-navy: #16354A;
	--dv-mint: #E4F7F4;
	--dv-text: #33485A;
	--dv-container: 1200px;
	--dv-radius: 14px;
	--dv-font-heading: "Poppins", system-ui, sans-serif;
	--dv-font-body: "Inter", system-ui, sans-serif;
	--dv-topbar-bg: #16354A;
	--dv-topbar-text: #fff;
	--dv-header-bg: #fff;
	--dv-header-text: #16354A;
	--dv-header-h: 84px;
	--dv-logo-w: 190px;
	--dv-footer-bg: #16354A;
	--dv-footer-text: #C5D5DD;
	--dv-footer-head: #fff;
	--dv-line: #DCE7EA;
	--dv-ease: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
	margin: 0;
	font-family: var(--dv-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--dv-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--dv-primary-deep); text-underline-offset: 3px; }
a:hover { color: var(--dv-navy); }
:focus-visible { outline: 3px solid var(--dv-primary); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--dv-font-heading);
	color: var(--dv-navy);
	line-height: 1.2;
	letter-spacing: -.015em;
	margin: 1.6em 0 .6em;
}
h1 { font-size: clamp(2rem, 4vw + .5rem, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.2vw + .8rem, 2.25rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1.25em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap;
}
.screen-reader-text:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; clip-path: none;
	background: var(--dv-navy); color: #fff; padding: 12px 18px; z-index: 100000; border-radius: 8px; margin: 0;
}
.skip-link:focus { color: #fff; }

.container { width: 100%; max-width: var(--dv-container); margin-inline: auto; padding-inline: 24px; }
.dv-icon { flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--dv-font-heading); font-weight: 600; font-size: .95rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .2s var(--dv-ease), color .2s var(--dv-ease), border-color .2s var(--dv-ease), transform .2s var(--dv-ease);
}
.btn .dv-icon { transition: transform .2s var(--dv-ease); }
.btn:hover .dv-icon { transform: translateX(3px); }
.btn-solid { background: var(--dv-primary); color: var(--dv-navy); }
.btn-solid:hover { background: var(--dv-navy); color: #fff; }
.btn-outline { border-color: var(--dv-primary); color: var(--dv-primary-deep); background: transparent; }
.btn-outline:hover { background: var(--dv-primary); color: var(--dv-navy); }
.btn-dark { background: var(--dv-navy); color: #fff; }
.btn-dark:hover { background: var(--dv-primary); color: var(--dv-navy); }

.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
	background: transparent; border: 0; border-radius: 50%; color: var(--dv-header-text); cursor: pointer;
	transition: background-color .2s;
}
.icon-btn:hover { background: var(--dv-mint); }

/* ---------- Top bar ---------- */
.topbar { background: var(--dv-topbar-bg); color: var(--dv-topbar-text); font-size: .875rem; line-height: 1.4; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: inherit; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; padding-block: 6px; }
.topbar-left { min-width: 0; }
.topbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item .dv-icon { color: var(--dv-primary); }
.topbar-menu, .social-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center; }
.topbar-social { gap: 6px; }
.topbar-social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; transition: background-color .2s; }
.topbar-social a:hover { background: rgba(255,255,255,.14); text-decoration: none; }

/* ---------- Header ---------- */
.site-header { background: var(--dv-header-bg); position: relative; z-index: 100; transition: box-shadow .25s, background-color .25s; }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
.has-header-shadow .site-header { box-shadow: 0 6px 24px -12px rgba(22, 53, 74, .28); }
.has-transparent-header .site-header { position: absolute; left: 0; right: 0; background: transparent; box-shadow: none; }
.has-transparent-header.has-sticky-header .site-header.is-scrolled { position: fixed; background: var(--dv-header-bg); box-shadow: 0 6px 24px -12px rgba(22,53,74,.28); }

.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--dv-header-h); }
.site-branding { flex: none; }
.site-branding-title { margin: 0; line-height: 0; font-size: 0; }
.site-branding .custom-logo-link { display: inline-block; line-height: 0; }
.site-branding .custom-logo { width: var(--dv-logo-w); max-width: 100%; height: auto; max-height: calc(var(--dv-header-h) - 12px); object-fit: contain; }

.main-navigation { flex: 1; display: flex; justify-content: flex-end; }
.header-layout-split .main-navigation { justify-content: center; }

.main-navigation .menu, .main-navigation .menu ul { list-style: none; margin: 0; padding: 0; }
.main-navigation .menu { display: flex; align-items: center; gap: 2px; }
.main-navigation .menu > li { position: relative; display: flex; align-items: center; }
.main-navigation a {
	position: relative; display: block; padding: .55em .85em; color: var(--dv-header-text);
	font-family: var(--dv-font-heading); font-weight: 500; font-size: .975rem; text-decoration: none; white-space: nowrap;
}
.main-navigation .menu > li > a::after {
	content: ""; position: absolute; left: .85em; right: .85em; bottom: .15em; height: 3px; border-radius: 3px;
	background: var(--dv-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--dv-ease);
}
.main-navigation .menu > li > a:hover::after,
.main-navigation .menu > li.current-menu-item > a::after,
.main-navigation .menu > li.current-menu-ancestor > a::after,
.main-navigation .menu > li.current_page_item > a::after { transform: scaleX(1); }
.main-navigation a:hover { color: var(--dv-header-text); }

.submenu-toggle {
	display: grid; place-items: center; width: 28px; height: 28px; margin-left: -8px; padding: 0;
	border: 0; background: transparent; color: var(--dv-header-text); cursor: pointer; border-radius: 50%;
}
.submenu-toggle .dv-icon { transition: transform .2s; }
.submenu-toggle[aria-expanded="true"] .dv-icon { transform: rotate(180deg); }

/* Dropdowns (desktop) */
.main-navigation .sub-menu {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; padding: 10px;
	background: #fff; border-radius: var(--dv-radius); border: 1px solid var(--dv-line);
	box-shadow: 0 24px 48px -20px rgba(22,53,74,.35);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--dv-ease), visibility .2s;
}
.main-navigation .sub-menu .sub-menu { top: -11px; left: calc(100% + 6px); }
.main-navigation .menu-item-has-children { position: relative; }
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu,
.main-navigation .sub-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.main-navigation .sub-menu a { padding: .6em .85em; border-radius: calc(var(--dv-radius) - 4px); white-space: normal; }
.main-navigation .sub-menu a:hover, .main-navigation .sub-menu .current-menu-item > a { background: var(--dv-mint); color: var(--dv-navy); }
.main-navigation .sub-menu li { position: relative; display: block; }

.nav-mobile-extras { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-layout-left .header-actions { margin-left: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dv-header-text); font-family: var(--dv-font-heading); font-weight: 600; font-size: .95rem; margin-right: 6px; }
.header-phone-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--dv-mint); color: var(--dv-primary-deep); }
.header-phone:hover { color: var(--dv-primary-deep); }
.menu-toggle { display: none; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline; }

/* Layout: split (menu centered) */
@media (min-width: 992px) {
	.header-layout-split .header-inner { justify-content: space-between; }

	/* Layout: logo centered, menu below */
	.header-layout-center .header-inner {
		display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: ". brand actions" "nav nav nav";
		row-gap: 0; min-height: 0; padding-top: 14px;
	}
	.header-layout-center .site-branding { grid-area: brand; justify-self: center; }
	.header-layout-center .header-actions { grid-area: actions; justify-self: end; }
	.header-layout-center .main-navigation { grid-area: nav; justify-content: center; border-top: 1px solid var(--dv-line); margin-top: 12px; }
}

/* Search drawer */
.header-search { border-top: 1px solid var(--dv-line); background: #fff; padding: 18px 0; }
.header-search[hidden] { display: none; }

/* Search form */
.search-form { display: flex; align-items: stretch; width: 100%; max-width: 640px; border: 2px solid var(--dv-line); border-radius: 999px; background: #fff; overflow: hidden; transition: border-color .2s; }
.search-form:focus-within { border-color: var(--dv-primary); }
.search-field { flex: 1; min-width: 0; border: 0; background: transparent; padding: .8em 1.3em; font: inherit; color: var(--dv-navy); outline: 0; }
.search-submit { border: 0; background: var(--dv-primary); color: var(--dv-navy); padding: 0 1.3em; cursor: pointer; transition: background-color .2s, color .2s; }
.search-submit:hover { background: var(--dv-navy); color: #fff; }

/* ---------- Mobile nav ---------- */
@media (max-width: 991px) {
	.menu-toggle { display: inline-grid; }
	.header-actions .header-cta, .header-actions .header-phone { display: none; }
	.header-inner { gap: 12px; min-height: 72px; }
	.header-actions { margin-left: auto; }
	.site-branding .custom-logo { width: min(var(--dv-logo-w), 160px); }

	.main-navigation {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(88vw, 380px);
		flex-direction: column; justify-content: flex-start; align-items: stretch;
		background: #fff; padding: 84px 20px 28px; overflow-y: auto; overscroll-behavior: contain;
		transform: translateX(100%); visibility: hidden; transition: transform .35s var(--dv-ease), visibility .35s;
		box-shadow: -30px 0 60px -30px rgba(22,53,74,.4);
	}
	.main-navigation.is-open { transform: none; visibility: visible; }
	.menu-toggle { position: relative; z-index: 210; }
	.nav-open .menu-toggle { position: fixed; top: 14px; right: 16px; background: var(--dv-mint); }
	.admin-bar.nav-open .menu-toggle { top: 60px; }
	.nav-open { overflow: hidden; }
	.nav-backdrop { position: fixed; inset: 0; z-index: 99; background: rgba(22,53,74,.55); backdrop-filter: blur(2px); }
	.nav-backdrop[hidden] { display: none; }

	.main-navigation .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-navigation .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--dv-line); }
	.main-navigation .menu > li > a { flex: 1; padding: 1em .25em; font-size: 1.05rem; color: var(--dv-navy); }
	.main-navigation .menu > li > a::after { display: none; }
	.main-navigation .menu > li.current-menu-item > a { color: var(--dv-primary-deep); }
	.submenu-toggle { width: 44px; height: 44px; margin: 0; color: var(--dv-navy); }
	.main-navigation .sub-menu {
		position: static; flex-basis: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none;
		display: none; padding: 0 0 10px 14px; border: 0; box-shadow: none; background: transparent;
	}
	.main-navigation .sub-menu.is-open { display: block; }
	.main-navigation .sub-menu .sub-menu { margin-top: 0; }
	.main-navigation .sub-menu a { padding: .7em .25em; color: var(--dv-text); }

	.nav-mobile-extras { display: grid; gap: 14px; margin-top: 26px; }
	.header-phone-mobile { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--dv-font-heading); font-weight: 600; color: var(--dv-navy); }
	.nav-cta-mobile { width: 100%; }
}
@media (max-width: 782px) { .admin-bar.has-sticky-header .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar.has-sticky-header .site-header { top: 0; } .hide-mobile { display: none; } .topbar-inner { justify-content: center; text-align: center; } .topbar-right { display: none; } .topbar.hide-mobile { display: none; } }

/* ---------- Page hero (speed lines motif from the logo) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--dv-mint); padding: clamp(40px, 6vw, 76px) 0; }
.page-hero::before, .prefooter-inner::before {
	content: ""; position: absolute; right: 0; top: 50%; width: min(46vw, 540px); height: 130px; transform: translateY(-50%);
	background: var(--dv-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 540 130'%3E%3Crect x='150' y='6' width='390' height='14' rx='7'/%3E%3Crect x='0' y='58' width='540' height='14' rx='7'/%3E%3Crect x='230' y='110' width='310' height='14' rx='7'/%3E%3C/svg%3E") no-repeat right center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 540 130'%3E%3Crect x='150' y='6' width='390' height='14' rx='7'/%3E%3Crect x='0' y='58' width='540' height='14' rx='7'/%3E%3Crect x='230' y='110' width='310' height='14' rx='7'/%3E%3C/svg%3E") no-repeat right center / contain;
	opacity: .9; pointer-events: none;
}
.page-hero .container { position: relative; }
.page-title { margin: 0; max-width: 22em; }
.page-title span { color: var(--dv-primary-deep); }
.page-subtitle { margin-top: 1rem; max-width: 60ch; font-size: 1.15rem; }
.page-subtitle p:last-child { margin-bottom: 0; }
@media (max-width: 700px) { .page-hero::before { opacity: .35; width: 80vw; } }

.breadcrumbs { margin-bottom: 18px; font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; color: var(--dv-text); }
.breadcrumbs li + li::before { content: "/"; margin: 0 .6em; opacity: .5; }
.breadcrumbs a { color: var(--dv-navy); font-weight: 500; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Content layout ---------- */
.content-area { padding-block: clamp(36px, 5vw, 72px); }
.content-area.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
.content-area.no-sidebar .entry, .content-area.no-sidebar .content-main { max-width: 820px; margin-inline: auto; }
.content-area.no-sidebar .post-grid { max-width: none; }
@media (max-width: 991px) { .content-area.with-sidebar { grid-template-columns: 1fr; gap: 40px; } }
.front-content > .entry > .entry-content > *:not(.alignfull):not(.alignwide) { max-width: var(--dv-container); margin-inline: auto; padding-inline: 24px; }

/* Entry content */
.entry-content > * { max-width: 100%; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content a { font-weight: 500; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.25em; }
.entry-content li { margin-bottom: .4em; }
.entry-content img { border-radius: var(--dv-radius); }
.entry-content blockquote { margin: 2em 0; padding: 1.2em 1.6em; background: var(--dv-mint); border-left: 5px solid var(--dv-primary); border-radius: 0 var(--dv-radius) var(--dv-radius) 0; font-size: 1.15em; color: var(--dv-navy); }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; font-size: .95em; }
.entry-content th, .entry-content td { padding: .7em 1em; border-bottom: 1px solid var(--dv-line); text-align: left; }
.entry-content th { background: var(--dv-mint); color: var(--dv-navy); }
.entry-content pre { overflow-x: auto; padding: 1.2em; background: var(--dv-navy); color: #e6f2f4; border-radius: var(--dv-radius); font-size: .9em; }
.entry-content code { background: var(--dv-mint); padding: .15em .4em; border-radius: 6px; font-size: .9em; }
.entry-content pre code { background: none; padding: 0; }
.entry-thumb { margin-bottom: 2rem; }
.entry-thumb img { width: 100%; border-radius: var(--dv-radius); }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { max-width: min(1200px, 100%); }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: .875rem; color: #5d7282; margin-top: .5em; }
.wp-block-button__link { border-radius: 999px; }
.has-primary-color { color: var(--dv-primary); } .has-primary-background-color { background-color: var(--dv-primary); }
.has-navy-color { color: var(--dv-navy); } .has-navy-background-color { background-color: var(--dv-navy); }
.has-mint-color { color: var(--dv-mint); } .has-mint-background-color { background-color: var(--dv-mint); }
.has-white-color { color: #fff; } .has-white-background-color { background-color: #fff; }

.entry-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .875rem; color: #5d7282; margin-bottom: 1.2rem; }
.entry-meta a { color: inherit; }
.entry-footer { margin-top: 2rem; }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: .3em .9em; border-radius: 999px; background: var(--dv-mint); color: var(--dv-navy); font-size: .85rem; text-decoration: none; }
.tags a:hover { background: var(--dv-primary); }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 32px; }
.with-sidebar .post-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dv-line); border-radius: var(--dv-radius); overflow: hidden; transition: border-color .25s, transform .25s var(--dv-ease); }
.post-card:hover { border-color: var(--dv-primary); transform: translateY(-3px); }
.post-card-thumb { display: block; aspect-ratio: 20 / 13; overflow: hidden; background: var(--dv-mint); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card .entry-title { margin: 0 0 .5em; font-size: 1.25rem; }
.post-card .entry-title a { color: var(--dv-navy); text-decoration: none; }
.post-card .entry-title a:hover { color: var(--dv-primary-deep); }
.post-card .entry-summary p { margin-bottom: 1em; font-size: .975rem; }
.read-more { display: inline-flex; align-items: center; gap: .4em; margin-top: auto; font-family: var(--dv-font-heading); font-weight: 600; font-size: .925rem; text-decoration: none; }
.read-more:hover .dv-icon { transform: translateX(3px); }
.read-more .dv-icon { transition: transform .2s; }

/* Pagination */
.pagination .nav-links, .post-navigation .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--dv-line); color: var(--dv-navy); text-decoration: none; font-weight: 600; }
a.page-numbers:hover { border-color: var(--dv-primary); background: var(--dv-mint); }
.page-numbers.current { background: var(--dv-primary); border-color: var(--dv-primary); color: var(--dv-navy); }
.post-navigation .nav-links { justify-content: space-between; margin-block: 48px; }
.post-navigation a { display: block; padding: 18px 22px; border: 1px solid var(--dv-line); border-radius: var(--dv-radius); text-decoration: none; max-width: 48%; }
.post-navigation a:hover { border-color: var(--dv-primary); }
.nav-sub { display: block; font-size: .8rem; color: #5d7282; }
.nav-title { display: block; font-family: var(--dv-font-heading); font-weight: 600; color: var(--dv-navy); }

/* Sidebar & widgets */
.sidebar .widget { margin-bottom: 32px; padding: 26px; background: var(--dv-mint); border-radius: var(--dv-radius); }
.widget-title { margin: 0 0 1em; font-size: 1.1rem; font-weight: 700; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .4em 0; }
.widget a { text-decoration: none; }
.widget a:hover { text-decoration: underline; }

/* Forms */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="tel"], input[type="number"], textarea, select {
	width: 100%; padding: .8em 1em; border: 2px solid var(--dv-line); border-radius: calc(var(--dv-radius) - 2px); background: #fff; font: inherit; color: var(--dv-navy); transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--dv-primary); outline: 0; }
button, input[type="submit"] { font: inherit; }
input[type="submit"], .form-submit .submit {
	padding: .8em 1.6em; border: 0; border-radius: 999px; background: var(--dv-primary); color: var(--dv-navy); font-family: var(--dv-font-heading); font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s;
}
input[type="submit"]:hover { background: var(--dv-navy); color: #fff; }

/* Comments */
.comments-area { margin-top: 56px; }
.comments-title, .comment-reply-title { font-size: 1.5rem; margin-top: 0; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .children { list-style: none; padding-left: 1.5rem; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--dv-line); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .875rem; }
.comment-author .avatar { float: left; margin-right: 14px; border-radius: 50%; }
.comment-metadata a { color: #5d7282; text-decoration: none; }
.reply a { font-weight: 600; font-size: .9rem; }
.comment-form label { display: block; font-weight: 600; margin-bottom: .3em; color: var(--dv-navy); }
.comment-form p { margin-bottom: 1em; }

.no-results, .not-found { text-align: center; }
.no-results .search-form, .not-found .search-form { margin: 24px auto; }
.not-found .widget { text-align: left; max-width: 420px; margin: 40px auto 0; padding: 26px; background: var(--dv-mint); border-radius: var(--dv-radius); }

/* ---------- Pre-footer CTA ---------- */
.prefooter { position: relative; z-index: 3; margin-top: 40px; margin-bottom: -64px; }
.prefooter-inner {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
	padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 56px); border-radius: calc(var(--dv-radius) + 10px);
	background: linear-gradient(120deg, var(--dv-primary-deep), var(--dv-primary-dark));
	color: #fff; width: calc(100% - 48px); box-shadow: 0 30px 60px -30px rgba(22,53,74,.6);
}
.prefooter-inner::before { background: #fff; opacity: .14; width: min(50%, 480px); }
.prefooter-copy { position: relative; max-width: 620px; }
.prefooter-title { margin: 0 0 .3em; color: #fff; font-size: clamp(1.5rem, 2vw + .8rem, 2.1rem); }
.prefooter-text { margin: 0; font-size: 1.1rem; color: #E9FBF8; }
.prefooter-btn { position: relative; background: #fff; color: var(--dv-navy); }
.prefooter-btn:hover { background: var(--dv-navy); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dv-footer-bg); color: var(--dv-footer-text); font-size: .975rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--dv-primary); }
.prefooter + .site-footer { padding-top: 64px; }
.footer-widgets { display: grid; gap: 48px; padding-block: 72px 56px; }
.footer-cols-1 { grid-template-columns: 1fr; }
.footer-cols-2 { grid-template-columns: 1.4fr 1fr; }
.footer-cols-3 { grid-template-columns: 1.5fr 1fr 1.2fr; }
.footer-cols-4 { grid-template-columns: 1.5fr 1fr 1.2fr 1.1fr; }
@media (max-width: 991px) { .footer-cols-3, .footer-cols-4, .footer-cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .footer-widgets { grid-template-columns: 1fr !important; gap: 36px; padding-block: 56px 36px; } }

.site-footer .widget-title { color: var(--dv-footer-head); font-size: 1.1rem; margin: 0 0 1.2em; }
.site-footer .widget { margin-bottom: 28px; }
.footer-about { margin: 1.2em 0; max-width: 38ch; }
.footer-logo-badge { display: inline-block; padding: 12px 18px; background: #fff; border-radius: var(--dv-radius); }
.footer-logo-badge .custom-logo, .site-footer .custom-logo { width: 170px; }
.site-footer .site-branding-title { margin: 0; line-height: 0; font-size: 0; }
.footer-menu, .legal-menu, .site-footer .widget ul { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .site-footer .widget li { padding: .35em 0; }
.footer-menu a, .site-footer .widget a { display: inline-block; transition: transform .2s var(--dv-ease), color .2s; }
.footer-menu a:hover, .site-footer .widget a:hover { transform: translateX(4px); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .dv-icon { margin-top: .3em; color: var(--dv-primary); }
.footer-social { margin-top: 8px; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background-color .2s, color .2s, transform .2s var(--dv-ease); }
.footer-social a:hover { background: var(--dv-primary); color: var(--dv-navy); transform: translateY(-3px); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-block: 22px; font-size: .875rem; }
.footer-bottom p { margin: 0; }
.legal-menu { display: flex; gap: 22px; flex-wrap: wrap; }
.credit { opacity: .7; }

/* Light footer variant */
.footer-style-light .site-footer { background: var(--dv-mint); color: var(--dv-text); }
.footer-style-light .site-footer .widget-title { color: var(--dv-navy); }
.footer-style-light .footer-logo-badge { padding: 0; background: none; }
.footer-style-light .footer-social a { background: #fff; color: var(--dv-navy); }
.footer-style-light .footer-bottom { border-color: var(--dv-line); }
.footer-style-light .site-footer a:hover { color: var(--dv-primary-deep); }
.footer-style-light .contact-list .dv-icon { color: var(--dv-primary-deep); }

/* Back to top */
.back-to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 50px; height: 50px;
	border: 0; border-radius: 50%; background: var(--dv-primary); color: var(--dv-navy); cursor: pointer;
	box-shadow: 0 12px 30px -10px rgba(22,53,74,.5); transition: transform .25s var(--dv-ease), background-color .2s, opacity .25s;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--dv-navy); color: #fff; transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
