/*
Theme Name: Dodgy Drivers Twenty Twenty-Five
Description: Production child theme based on the completed Dodgy Drivers LocalWP redesign.
Version: 1.3.18
Template: twentytwentyfive
Text Domain: dd-dodgy-drivers
*/

.wp-block-table {
	max-width: 100%;
	overflow-x: auto;
}

.wp-block-table table {
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
}

.wp-block-table th,
.wp-block-table td {
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: normal;
}

/* Approved section art stays at its native 8:3 ratio; no fixed-height crop. */
.dd-section-banner {
	box-sizing: border-box;
	position: relative;
	left: 50%;
	width: min(calc(100vw - 2rem), 1200px);
	max-width: 1200px;
	margin: clamp(0.75rem, 2vw, 1.25rem) 0 clamp(1rem, 2.5vw, 1.75rem);
	transform: translateX(-50%);
}

.dd-section-banner img {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	aspect-ratio: 8 / 3;
	object-fit: contain;
}

.dd-section-banner__sr-only,
.dd-contact-wrap .dd-contact-intro > h1 {
	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;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 600px) {
	.dd-section-banner {
		margin-top: 0.5rem;
		margin-bottom: 1rem;
	}
}

/* H148 approved individual social icons, positioned directly beneath the homepage hero. */
.dd-social-section {
  width: min(calc(100% - 2rem), var(--dd-content-width, 1200px));
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.dd-social-section > h2 {
  margin: 0 0 1rem;
  font-family: inherit;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
}
.dd-social-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 150px));
  justify-content: center;
  gap: clamp(.65rem, 1.6vw, 1rem);
}
.dd-social-tile {
  display: block;
  width: 100%;
  min-width: 0;
  border-radius: 12px;
  line-height: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.dd-social-tile picture,
.dd-social-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: inherit;
}
.dd-social-tile img { object-fit: contain; }
.dd-social-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgb(0 0 0 / 18%);
}
.dd-social-tile:focus-visible {
  outline: 3px solid #111;
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .dd-social-grid { grid-template-columns: repeat(3, minmax(0, 150px)); }
}
@media (max-width: 480px) {
  .dd-social-grid { grid-template-columns: repeat(2, minmax(0, 150px)); }
}
@media (prefers-reduced-motion: reduce) {
  .dd-social-tile { transition: none; }
  .dd-social-tile:hover { transform: none; }
}

.wc-block-mini-cart__drawer[aria-hidden="true"] {
	display: none;
}

.ddrl-video-archive {
	max-width: 1180px;
	margin: 2rem auto;
	padding: clamp(1.25rem, 4vw, 3rem);
}

.ddrl-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ddrl-video-card {
	min-width: 0;
	padding: 1rem;
	border: 1px solid #d4d5d8;
	border-radius: 14px;
	overflow-wrap: anywhere;
}

.ddrl-video-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 8px;
}

.ddrl-video-empty {
	padding: clamp(1rem, 3vw, 2rem);
	border-left: 4px solid #a41e26;
	background: #f8f8f8;
	color: #252525;
}

.ddrl-video-archive .ddrl-button {
	display: inline-block;
	min-height: 44px;
	margin: .25rem .5rem .25rem 0;
	padding: .75rem 1rem;
	border-radius: 8px;
	background: #a41e26;
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}

.ddrl-video-archive .ddrl-button:focus-visible {
	outline: 3px solid #111;
	outline-offset: 3px;
}

.ddrl-video-archive .ddrl-button-secondary {
	border: 2px solid #17191d;
	background: #fff;
	color: #17191d;
}

.dd-sprint1-intro {
	max-width: 1180px;
	margin: 1.5rem auto;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border: 1px solid #d4d5d8;
	border-radius: 14px;
	background: #f7f7f7;
	color: #252525;
}

.dd-sprint1-kicker {
	margin: 0 0 .5rem;
	color: #8f1c23;
	font-size: .8rem;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.dd-sprint1-intro h2 {
	margin: .2rem 0 .75rem;
	font-size: clamp(1.8rem, 4.5vw, 3.1rem);
	line-height: 1.08;
}

.dd-sprint1-intro p:last-child {
	margin-bottom: 0;
}

.dd-sprint1-section {
	max-width: 1180px;
	margin: 2rem auto;
	padding: clamp(1.25rem, 4vw, 2.5rem);
}

.dd-sprint1-section > h2 {
	margin-top: 0;
	font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.dd-sprint1-route-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.dd-sprint1-route-card {
	display: flex;
	min-width: 0;
	min-height: 185px;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.1rem;
	border: 1px solid #d4d5d8;
	border-radius: 12px;
	background: #fff;
	color: #202124;
	text-decoration: none;
}

.dd-sprint1-route-card:hover {
	border-color: #a41e26;
	background: #fcf8f8;
	color: #202124;
}

.dd-sprint1-route-card:focus-visible {
	outline: 3px solid #a41e26;
	outline-offset: 3px;
}

.dd-sprint1-route-card .dd-sprint1-kicker {
	margin-bottom: .35rem;
}

.dd-sprint1-route-card h3 {
	margin: 0 0 .5rem;
	font-size: 1.25rem;
	line-height: 1.2;
}

.dd-sprint1-route-card p {
	margin: 0 0 1rem;
	color: #444;
}

.dd-sprint1-route-card .dd-sprint1-link-label {
	margin-top: auto;
	color: #8f1c23;
	font-weight: 850;
	text-decoration: underline;
	text-underline-offset: .18em;
}

.dd-site-header,
.dd-site-footer {
	border-bottom: 1px solid #dedede;
}

.dd-classic-header,
.dd-classic-footer {
	max-width: 1180px;
	margin: 0 auto;
	padding: 1rem clamp(1rem, 4vw, 2.5rem);
}

.dd-classic-header__inner,
.dd-classic-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
}

.dd-classic-header .dd-classic-logo {
	grid-column: 1;
	justify-self: start;
	display: block;
	width: min(100%, 220px);
}

.dd-classic-header .dd-classic-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.dd-classic-header nav {
	grid-column: 2;
	justify-self: center;
}

.dd-classic-header nav ul,
.dd-classic-footer nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .65rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dd-classic-header nav a,
.dd-classic-footer nav a {
	font-weight: 700;
}

.dd-site-footer {
	border-top: 1px solid #dedede;
	border-bottom: 0;
}

.dd-home-articles {
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(1.25rem, 4vw, 2.5rem);
}

.dd-home-articles .wp-block-post-template {
	gap: 1rem;
}

.dd-home-articles .wp-block-post {
	padding: 1rem;
	border: 1px solid #d4d5d8;
	border-radius: 12px;
}

.dd-home-articles .wp-block-post-featured-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* Native News & Features and category archive cards. */
.dd-news-page,
.dd-archive-page {
	box-sizing: border-box;
	width: min(100% - 2rem, var(--dd-content-width));
	margin: clamp(1.5rem, 4vw, 3rem) auto;
	color: var(--dd-ink);
}

.dd-news-intro,
.dd-archive-intro {
	max-width: 900px;
	margin: 0 auto 2rem;
}

.dd-news-intro h1,
.dd-archive-intro h1 {
	color: var(--dd-ink);
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	line-height: 1.1;
}

.dd-news-grid,
.dd-archive-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 1.25rem;
}

.dd-news-card {
	box-sizing: border-box;
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	padding: 1rem;
	border: 1px solid var(--dd-line);
	border-radius: var(--dd-radius);
	background: var(--dd-paper);
	color: var(--dd-ink);
	box-shadow: 0 4px 18px rgb(22 31 42 / 7%);
}

.dd-news-card .wp-block-post-featured-image {
	margin: 0 0 1rem;
	border-radius: 10px;
	background: var(--dd-soft);
	overflow: hidden;
}

.dd-news-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.dd-news-card .dd-news-card__categories {
	margin: .1rem 0 .55rem;
	color: var(--dd-muted);
	font-size: .82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.dd-news-card .wp-block-post-title {
	margin: .2rem 0 .45rem;
	font-size: clamp(1.15rem, 1.7vw, 1.45rem);
	line-height: 1.3;
}

.dd-news-card .wp-block-post-title a {
	color: var(--dd-ink) !important;
	text-decoration: none;
}

.dd-news-card .wp-block-post-date {
	margin: 0 0 .55rem;
	color: var(--dd-muted);
	font-size: .9rem;
}

.dd-news-card .wp-block-post-excerpt {
	margin-top: 0;
	color: var(--dd-muted);
}

.dd-news-card .wp-block-post-excerpt p {
	color: var(--dd-muted);
}

.dd-news-card a:focus-visible {
	outline: 3px solid var(--dd-accent);
	outline-offset: 3px;
}

.dd-news-page .wp-block-query-pagination,
.dd-archive-page .wp-block-query-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .75rem;
	margin: 2rem 0;
}

.dd-news-page .wp-block-query-pagination a,
.dd-archive-page .wp-block-query-pagination a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: .6rem .9rem;
	border: 1px solid var(--dd-line);
	border-radius: 8px;
	color: var(--dd-ink);
	font-weight: 700;
}

@media (max-width: 850px) {
	.dd-sprint1-route-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.dd-sprint1-route-grid {
		grid-template-columns: 1fr;
	}

	.dd-sprint1-route-card {
		min-height: 0;
	}
}

@media (max-width: 900px) {
	.dd-classic-header__inner { grid-template-columns: 1fr; }
	.dd-classic-header .dd-classic-logo,
	.dd-classic-header nav { grid-column: 1; justify-self: center; }
	.dd-classic-header .dd-classic-logo { justify-self: center; }
}

/* Global type, colour and layout tokens. */
:root {
	--dd-ink: #1b222a;
	--dd-muted: #4b5561;
	--dd-paper: #fff;
	--dd-soft: #f3f5f7;
	--dd-line: #d7dde3;
	--dd-accent: #a41e26;
	--dd-radius: 16px;
	--dd-content-width: 1200px;
}

body {
	background: var(--dd-paper);
	color: var(--dd-ink);
	font-family: Manrope, sans-serif;
	line-height: 1.65;
}

.wp-site-blocks,
.wp-site-blocks main,
.wp-site-blocks footer {
	color: var(--dd-ink);
}

.wp-site-blocks main {
	min-width: 0;
}

.wp-site-blocks :is(img, video, iframe, embed) {
	max-width: 100%;
}

.wp-site-blocks main :is(h1, h2, h3, h4, h5, p, li, label, figcaption, dt, dd) {
	color: var(--dd-ink);
}

/* Match the Manrope typography used by the approved LocalWP design. */
.wp-site-blocks,
.wp-site-blocks :is(h1, h2, h3, h4, h5, h6) {
	font-family: Manrope, sans-serif;
}

.wp-site-blocks main a:not(.dd-sprint1-route-card):not(.ddrl-button):not(.wp-block-button__link):not(.wc-block-components-button) {
	color: var(--dd-accent);
	text-underline-offset: .16em;
}

/* Shared automotive editorial heading treatment: real text, restrained red rule. */
.dd-editorial-heading,
.dd-editorial-heading :is(h1,h2,h3),
.dd-news-intro h1,
.dd-archive-intro h1,
.dd-article-header h1,
.ddrl-hero-title,
.ddrl-section > h2,
.ddrl-archive :is(h1, h2),
.ddrl-video-archive :is(h1, h2),
.dd-sprint1-intro h2,
.dd-sprint1-section > h2,
.ddu-uploader > :is(h1,h2),
.woocommerce-page main > :is(h1,h2),
body.page-id-18 main h1 {
	font-family: Manrope, sans-serif;
	font-weight: 400;
	letter-spacing: normal;
	text-wrap: balance;
}

.dd-editorial-heading::after,
.dd-news-intro h1::after,
.dd-archive-intro h1::after,
.dd-article-header h1::after,
.ddrl-section > h2::after,
.ddrl-archive-header h1::after,
.ddrl-video-archive > h1::after,
.dd-sprint1-section > h2::after,
body.page-id-18 main h1::after {
	content: "";
	display: block;
	width: clamp(3rem, 9vw, 5.5rem);
	height: .24rem;
	margin-top: .55rem;
	border-radius: 99px;
	background: var(--dd-accent);
}

.ddrl-hero :is(.ddrl-hero-title)::after { background: #e64a52; }

/* Contact page form presentation; message handling is in the theme shortcode. */
.dd-contact-wrap { box-sizing:border-box; width:min(100% - 2rem, 920px); margin:clamp(1.5rem,4vw,3rem) auto 4rem; color:var(--dd-ink); }
.dd-contact-intro { max-width:760px; margin:0 auto 1.5rem; }
.dd-contact-intro h1 { font-size:clamp(2.4rem,6vw,4.5rem); line-height:1.02; }
.dd-contact-form { display:grid; gap:1rem; padding:clamp(1.25rem,4vw,2.5rem); border:1px solid var(--dd-line); border-radius:var(--dd-radius); background:var(--dd-paper); box-shadow:0 8px 32px rgb(22 31 42 / 8%); }
.dd-contact-form label { display:block; margin:0 0 .35rem; color:var(--dd-ink); font-weight:750; }
.dd-contact-form input:not([type=checkbox]):not([type=hidden]), .dd-contact-form select, .dd-contact-form textarea { box-sizing:border-box; display:block; width:100%; min-height:50px; padding:.75rem .85rem; border:1px solid #88939e; border-radius:8px; background:#fff; color:var(--dd-ink); font:inherit; }
.dd-contact-form textarea { min-height:180px; resize:vertical; }
.dd-contact-form input:focus-visible, .dd-contact-form select:focus-visible, .dd-contact-form textarea:focus-visible { outline:3px solid var(--dd-accent); outline-offset:2px; }
.dd-contact-consent { display:flex!important; align-items:flex-start; gap:.75rem; line-height:1.5; }
.dd-contact-consent input { width:20px; height:20px; flex:0 0 20px; margin:.18rem 0 0; }
.dd-contact-form button { min-height:50px; padding:.8rem 1.25rem; border:0; border-radius:9px; background:var(--dd-accent); color:#fff; font:inherit; font-weight:800; cursor:pointer; }
.dd-contact-form button:hover { background:#78151b; }
.dd-contact-alert { padding:1rem 1.1rem; border-left:4px solid var(--dd-accent); background:var(--dd-soft); color:var(--dd-ink); }
.dd-contact-hp { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
@media (max-width:600px) { .dd-contact-wrap { width:calc(100% - 1.25rem); } .dd-contact-form { padding:1rem; } }

/* Header navigation: larger targets, better spacing and safe wrapping. */
.dd-site-header {
	background: var(--dd-paper);
	border-bottom: 1px solid var(--dd-line);
}

.dd-site-header > .wp-block-group.alignfull > .wp-block-group.alignwide {
	width: min(100% - 2rem, var(--dd-content-width));
	gap: 1rem 1.5rem;
}

.dd-site-header .wp-block-site-logo img,
.dd-site-header .custom-logo {
	display: block;
	width: min(100%, 220px);
	height: auto;
}

.dd-site-header .dd-header-logo {
	display: block;
	width: min(100%, 220px);
}

.dd-site-header .dd-header-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.dd-site-header .wp-block-navigation {
	flex: 1 1 650px;
	min-width: 0;
	justify-content: center;
}

.dd-site-header .wp-block-navigation__container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .25rem .4rem;
}

.dd-site-header .wp-block-navigation-item__content {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: .55rem .7rem;
	border-radius: 8px;
	color: var(--dd-ink);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

.dd-site-header .wp-block-navigation-item__content:hover,
.dd-site-header .wp-block-navigation-item__content:focus-visible {
	background: var(--dd-soft);
	color: var(--dd-accent);
}

.dd-site-header a:focus-visible,
.dd-site-footer a:focus-visible,
.dd-sprint1-route-card:focus-visible,
.ddrl-button:focus-visible,
.ddu-uploader :focus-visible {
	outline: 3px solid var(--dd-accent);
	outline-offset: 3px;
}

/* Preserve the approved dark hero and explicitly protect its contrast. */
.ddrl-hero {
	box-sizing: border-box;
	max-width: var(--dd-content-width);
	margin: clamp(1rem, 3vw, 2.5rem) auto;
	padding: clamp(1.5rem, 5vw, 4rem);
	border-radius: 20px;
	background: #17191d;
	color: #fff;
}

.ddrl-section,
.ddrl-card,
.ddrl-archive {
	box-sizing: border-box;
}

.ddrl-hero :is(h1, h2, p, a:not(.ddrl-secondary)) {
	color: #fff !important;
}

.ddrl-hero .ddrl-secondary {
	background: #fff;
	color: var(--dd-ink) !important;
}

.ddrl-hero-title {
	font-size: clamp(2.5rem, 6vw, 5rem);
	line-height: 1.02;
}

.ddrl-lead {
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Shared section widths, spacing, cards and calls to action. */
.dd-sprint1-intro,
.dd-sprint1-section,
.dd-home-articles,
.ddrl-section,
.ddrl-cta,
.ddrl-archive {
	box-sizing: border-box;
	width: min(100% - 2rem, var(--dd-content-width));
	margin: clamp(1.5rem, 4vw, 3rem) auto;
}

.dd-sprint1-intro,
.ddrl-cta {
	border: 1px solid var(--dd-line);
	border-radius: var(--dd-radius);
	background: var(--dd-soft);
	color: var(--dd-ink);
}

.dd-sprint1-intro :is(h2, p),
.ddrl-cta :is(h2, p) {
	color: var(--dd-ink);
}

.dd-sprint1-route-grid,
.ddrl-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
	gap: 1.1rem;
}

.dd-sprint1-route-card,
.ddrl-card,
.dd-home-articles .wp-block-post {
	box-sizing: border-box;
	min-width: 0;
	border: 1px solid var(--dd-line);
	border-radius: var(--dd-radius);
	background: var(--dd-paper);
	color: var(--dd-ink);
	box-shadow: 0 4px 18px rgb(22 31 42 / 6%);
}

.dd-sprint1-route-card {
	min-height: 205px;
	padding: 1.25rem;
}

.dd-sprint1-route-card h3,
.dd-sprint1-route-card p,
.ddrl-card :is(h2, h3, p),
.dd-home-articles .wp-block-post :is(h2, h3, p) {
	color: var(--dd-ink);
}

.dd-sprint1-route-card:hover {
	border-color: var(--dd-accent);
	box-shadow: 0 8px 24px rgb(22 31 42 / 12%);
}

.ddrl-button,
.dd-sprint1-route-card .dd-sprint1-link-label,
.wp-block-button__link,
.wc-block-components-button {
	min-height: 44px;
	border-radius: 9px;
	font-weight: 750;
}

.dd-home-articles .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)) !important;
	gap: 1.25rem;
}

.dd-home-articles .wp-block-post {
	overflow: hidden;
	padding: 1rem;
}

.dd-home-articles .wp-block-post-featured-image {
	margin: 0 0 1rem;
	border-radius: 10px;
	overflow: hidden;
}

.dd-home-articles .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* News & Features is a legacy Avada query inside WordPress page 4758. */
body.page-id-4758 main .fusion-columns.columns-1 {
	box-sizing: border-box;
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 1.25rem;
	width: 100% !important;
	max-width: var(--dd-content-width);
	margin: 1.5rem auto !important;
	padding: 0 1rem;
}

body.page-id-4758 main .fusion-columns.columns-1 > .fusion-column {
	box-sizing: border-box;
	display: flex;
	width: auto !important;
	min-width: 0;
	flex-direction: column;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	border: 1px solid var(--dd-line);
	border-radius: var(--dd-radius);
	background: var(--dd-paper);
	box-shadow: 0 4px 18px rgb(22 31 42 / 7%);
	container-type: inline-size;
}

body.page-id-4758 .fusion-flexslider {
	order: 0;
	float: none !important;
	width: 100% !important;
	flex: 0 0 auto;
	position: relative !important;
	height: auto !important;
	aspect-ratio: 16 / 10;
	margin: 0 !important;
	overflow: hidden;
	background: var(--dd-soft);
}

body.page-id-4758 .fusion-flexslider .slides,
body.page-id-4758 .fusion-flexslider .slides > li {
	height: 100% !important;
}

body.page-id-4758 .fusion-flexslider .slides {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
}

body.page-id-4758 .fusion-flexslider .full-video {
	display: none !important;
}

body.page-id-4758 .fusion-flexslider img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.page-id-4758 .recent-posts-content {
	padding: 1.15rem;
}

body.page-id-4758 .recent-posts-content .entry-title,
body.page-id-4758 .recent-posts-content .entry-title a {
	color: var(--dd-ink) !important;
	font-size: clamp(1.15rem, 1.7vw, 1.4rem);
	font-weight: 750;
	line-height: 1.3;
}

body.page-id-4758 .recent-posts-content p {
	color: var(--dd-muted);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}

/* Article reading width, featured image and legacy Fusion content. */
body.single-post .dd-article-layout {
	box-sizing: border-box;
	width: min(100% - 2rem, var(--dd-content-width));
	margin: 2rem auto 4rem;
}

body.single-post .dd-article-header {
	max-width: 900px;
	margin: 0 auto 1.5rem;
}

body.single-post .dd-article-header h1 {
	color: var(--dd-ink);
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.12;
}

body.single-post .dd-article-date {
	color: var(--dd-muted);
	font-size: .95rem;
}

body.single-post .dd-article-featured img {
	display: block;
	width: 100%;
	max-height: 600px;
	border-radius: var(--dd-radius);
	object-fit: cover;
}

body.single-post .dd-article-content {
	max-width: 900px;
	margin: 2rem auto;
	font-size: 1.08rem;
	line-height: 1.8;
}

body.single-post .fusion-fullwidth,
body.single-post .fusion-row {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100%;
}

body.single-post main :is(p, li, h2, h3, h4) {
	color: var(--dd-ink);
}

body.single-post main .wp-post-author-meta.awpa-author-block {
	position: static !important;
	inset: auto !important;
	transform: none !important;
	float: none !important;
	clear: both;
	box-sizing: border-box;
	width: 100% !important;
	max-width: 900px;
	margin: 2rem auto !important;
	padding: 1.25rem;
	border: 1px solid var(--dd-line);
	border-radius: var(--dd-radius);
	background: var(--dd-soft);
}

body.single-post main .wp-post-author-meta :is(h4, p, a, li) {
	color: var(--dd-ink) !important;
}

/* Existing uploader: centred white form panel; uploader processing untouched. */
body.page-id-901 main .fusion-fullwidth,
body.page-id-901 main .fusion-row {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100%;
	margin-inline: auto !important;
}

.ddu-uploader {
	box-sizing: border-box;
	width: min(100% - 2rem, 900px);
	margin: clamp(1.5rem, 4vw, 3rem) auto;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border: 1px solid var(--dd-line);
	border-radius: 20px;
	background: #fff;
	color: var(--dd-ink);
	box-shadow: 0 8px 32px rgb(22 31 42 / 9%);
}

.ddu-uploader :is(h1, h2, h3, p, label, small) {
	color: var(--dd-ink);
}

.ddu-uploader h2 {
	margin-top: 0;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	line-height: 1.2;
}

.ddu-form {
	display: grid;
	gap: .55rem;
}

.ddu-form .ddu-label {
	display: block;
	margin: .65rem 0 .15rem;
	color: var(--dd-ink);
	font-weight: 700;
}

.ddu-form .ddu-text {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: .75rem .85rem;
	border: 1px solid #9aa4af;
	border-radius: 8px;
	background: #fff;
	color: var(--dd-ink);
	font: inherit;
}

.ddu-form textarea.ddu-text {
	min-height: 130px;
	resize: vertical;
}

.ddu-form .ddu-dropzone {
	box-sizing: border-box;
	width: 100%;
	min-height: 150px;
	margin: .5rem 0;
	padding: 1.5rem;
	border: 2px dashed #778492;
	border-radius: 12px;
	background: var(--dd-soft);
	color: var(--dd-ink);
	text-align: center;
}

.ddu-form .ddu-consent {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	margin: .75rem 0;
	color: var(--dd-ink);
	line-height: 1.5;
}

.ddu-form .ddu-consent input[type="checkbox"] {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	margin-top: .15rem;
}

.ddu-form .ddu-choose,
.ddu-form .ddu-submit {
	box-sizing: border-box;
	min-height: 48px;
	padding: .75rem 1rem;
	border: 0;
	border-radius: 9px;
	background: var(--dd-accent);
	color: #fff;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
}

.ddu-form .ddu-choose {
	background: #26313d;
}

.ddu-form .ddu-submit {
	width: 100%;
	margin-top: .5rem;
}

/* Existing WooCommerce archive uses the core product-template block. */
.woocommerce ul.wc-block-product-template {
	box-sizing: border-box;
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 320px)) !important;
	gap: 1.25rem;
	width: 100%;
	margin: 1.5rem 0;
	justify-content: center;
}

.woocommerce .wc-block-product-template > .wc-block-product {
	box-sizing: border-box;
	width: auto !important;
	min-width: 0;
	max-width: 380px;
	justify-self: stretch;
	padding: 1rem;
	border: 1px solid var(--dd-line);
	border-radius: var(--dd-radius);
	background: var(--dd-paper);
	box-shadow: 0 4px 18px rgb(22 31 42 / 7%);
}

.woocommerce .wc-block-product-template .wc-block-components-product-image {
	margin: 0 0 1rem;
	border-radius: 10px;
	background: var(--dd-soft);
	overflow: hidden;
}

.woocommerce .wc-block-product-template .wc-block-components-product-image img {
	box-sizing: border-box;
	width: 100%;
	height: 250px;
	object-fit: contain !important;
}

/* Rights-cleared photos are preferred; make text-only products intentional, not a generic Woo placeholder. */
.woocommerce .dd-product-image-fallback {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	min-height: 0;
	aspect-ratio: 286 / 250;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .65rem;
	padding: 1.25rem;
	text-align: center;
	background: linear-gradient(135deg, #17212b 0%, #293745 68%, #a51d2d 68.2%, #a51d2d 100%);
	border-radius: 10px;
	color: #fff;
}

.woocommerce .dd-product-image-fallback__mark {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: .2rem .6rem;
	border: 1px solid rgb(255 255 255 / 45%);
	border-radius: 999px;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.woocommerce .dd-product-image-fallback__title {
	max-width: 24ch;
	margin: 0;
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.3;
}

.woocommerce .dd-product-image-fallback__note {
	margin: 0;
	color: #eef1f4;
	font-size: .82rem;
}

.single-product .woocommerce-product-gallery .dd-product-image-fallback {
	width: 100%;
	min-height: 0;
	aspect-ratio: 1 / 1;
}

@media (max-width: 600px) {
	.woocommerce .dd-product-image-fallback {
		min-height: 0;
		height: auto;
		padding: 1rem;
	}

	.single-product .woocommerce-product-gallery .dd-product-image-fallback {
		height: auto;
	}
}

/* Center desktop navigation against the page container, not the space beside the logo. */
@media (min-width: 901px) {
  .dd-site-header.wp-block-group.alignfull > .wp-block-group.alignwide,
  .dd-classic-header__inner { position: relative; }
  .dd-site-header.wp-block-group.alignfull > .wp-block-group.alignwide,
  .dd-classic-header__inner { justify-content: flex-start; }
  .dd-site-header.wp-block-group.alignfull > .wp-block-group.alignwide > .dd-header-logo,
  .dd-classic-header .dd-classic-logo { margin-right: auto; }
  .dd-site-header.wp-block-group.alignfull > .wp-block-group.alignwide > .wp-block-navigation,
  .dd-classic-header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: 0 1 auto;
    width: max-content;
    max-width: calc(100% - 240px);
  }
}

.woocommerce .wc-block-product-template .wp-block-post-title,
.woocommerce .wc-block-product-template .wc-block-components-product-title {
	color: var(--dd-ink);
	font-size: 1.2rem;
	line-height: 1.35;
}

.woocommerce .wc-block-product-template .wc-block-components-product-price {
	color: var(--dd-ink);
	font-size: 1.1rem;
	font-weight: 750;
}

.woocommerce .wc-block-product-template .wp-block-button__link,
.woocommerce .wc-block-product-template .wc-block-components-product-button__button {
	min-height: 46px;
	border-radius: 8px;
	background: var(--dd-accent);
	color: #fff;
	font-weight: 750;
}

/* H148 visual recovery: align the live Community page with the accepted H145 review. */
body.page-id-5685 .wp-block-post-title {
	box-sizing: border-box;
	width: min(100% - 2rem, 1180px);
	margin: clamp(2rem, 4vw, 3.25rem) auto 1.15rem;
	padding: 0;
	text-align: center;
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	line-height: 1.08;
}

body.page-id-5685 .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.dd-otr-community,
.dd-otr-community * {
	box-sizing: border-box;
}

.dd-otr-community {
	width: min(100% - 2rem, 1180px);
	max-width: 1180px !important;
	margin: 0 auto clamp(3rem, 7vw, 5rem) !important;
	color: #142235;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.6;
}

.dd-otr-community > * {
	max-width: 100%;
}

.dd-otr-community .dd-otr-kicker {
	margin: 0 0 .65rem;
	color: #315d7c;
	font-size: .82rem;
	font-weight: 850;
	letter-spacing: .09em;
	line-height: 1.35;
	text-transform: uppercase;
}

.dd-otr-community .dd-otr-hero {
	margin: 0;
	overflow: hidden;
	border-radius: 14px;
	background: #102c49;
}

.dd-otr-community .dd-otr-hero img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 2;
	object-fit: cover;
}

.dd-otr-community .dd-otr-hero figcaption {
	margin: 0;
	padding: .55rem 1rem;
	background: #102c49;
	color: #fff;
	font-size: .82rem;
	line-height: 1.4;
}

.dd-otr-community .dd-otr-badge-row {
	margin: 1.25rem 0 1.5rem;
}

.dd-otr-community .dd-otr-badge {
	display: block;
	width: clamp(88px, 11vw, 128px);
	height: auto;
	border-radius: 50%;
}

.dd-otr-community .dd-otr-intro {
	max-width: 980px;
	margin: 0 auto;
}

.dd-otr-community .dd-otr-intro > p:not(.dd-otr-kicker) {
	margin: 0 0 1.15rem;
	font-size: clamp(1.08rem, 2vw, 1.35rem);
	line-height: 1.55;
}

.dd-otr-community .dd-otr-nav {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem;
	margin: 1.4rem 0 0;
}

.dd-otr-community .dd-otr-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: .68rem 1rem;
	border: 2px solid #102c49;
	border-radius: 999px;
	background: #fff;
	color: #102c49;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
}

.dd-otr-community .dd-otr-button-primary {
	background: #102c49;
	color: #fff;
}

.dd-otr-community .dd-otr-button:hover {
	background: #c83240;
	border-color: #c83240;
	color: #fff;
}

.dd-otr-community .dd-otr-button:focus-visible {
	outline: 3px solid #c83240;
	outline-offset: 3px;
}

.dd-otr-community .dd-otr-panel {
	margin: clamp(2rem, 5vw, 3.5rem) 0;
	padding: clamp(1rem, 3vw, 1.5rem);
	border-inline-start: 5px solid #c83240;
	border-radius: 10px;
	background: #f5f2e9;
}

.dd-otr-community .dd-otr-panel h2 {
	margin-top: 0;
	color: #102c49;
}

.dd-otr-community .dd-otr-forum-index {
	margin-top: clamp(2.25rem, 6vw, 4rem);
}

.dd-otr-community .dd-otr-forum-index h2,
.dd-otr-community .dd-otr-account h2 {
	margin: 0 0 .6rem;
	color: #142235;
	font-size: clamp(1.65rem, 3vw, 2.2rem);
	line-height: 1.2;
}

.dd-otr-community #bbpress-forums {
	width: 100%;
	max-width: 100%;
	margin: 1.2rem 0 0;
	padding: 0;
}

.dd-otr-community #bbpress-forums .bbp-forums {
	width: 100%;
	max-width: 100%;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0 .65rem;
}

.dd-otr-community #bbpress-forums .bbp-header,
.dd-otr-community #bbpress-forums .bbp-footer {
	background: #102c49;
	color: #fff;
}

.dd-otr-community #bbpress-forums .bbp-header li,
.dd-otr-community #bbpress-forums .bbp-footer li {
	color: #fff !important;
	font-weight: 800;
}

.dd-otr-community #bbpress-forums .bbp-body > ul,
.dd-otr-community #bbpress-forums .bbp-body > div,
.dd-otr-community #bbpress-forums .bbp-body > li {
	background: #fff;
}

.dd-otr-community #bbpress-forums .bbp-forum-title a,
.dd-otr-community #bbpress-forums .bbp-topic-title a {
	color: #153f68;
	font-weight: 800;
	text-underline-offset: .15em;
}

.dd-otr-community #bbpress-forums .bbp-forum-content,
.dd-otr-community #bbpress-forums .bbp-forum-title,
.dd-otr-community #bbpress-forums .bbp-topic-title,
.dd-otr-community #bbpress-forums .bbp-forum-info,
.dd-otr-community #bbpress-forums .bbp-forum-freshness {
	overflow-wrap: anywhere;
	word-break: normal;
}

.dd-otr-community .ddfs-registration-preview {
	max-width: 760px;
	margin: 1.5rem 0 0;
	padding: clamp(1rem, 3vw, 1.5rem);
	border: 1px solid #bdc8d2;
	border-radius: 12px;
	background: #fff;
}

/* H148 shop recovery: six existing WooCommerce gear listings, keeping their product links and data. */
body.woocommerce-shop main .wp-block-query-title {
	width: min(100% - 2rem, 1180px);
	margin: clamp(1.75rem, 4vw, 3rem) auto 1rem;
	text-align: center;
	font-size: clamp(2rem, 4vw, 3rem);
}

body.woocommerce-shop main .wp-block-breadcrumbs,
body.woocommerce-shop main .wp-block-woocommerce-product-collection,
body.woocommerce-shop main .wc-block-components-notices {
	width: min(100% - 2rem, 1180px);
	max-width: 1180px;
	margin-inline: auto;
}

body.woocommerce-shop main .wp-block-woocommerce-product-collection {
	margin-top: 1.4rem;
	margin-bottom: 3rem;
}

body.woocommerce-shop .wp-block-group.is-content-justification-space-between {
	width: min(100% - 2rem, 1180px);
	max-width: 1180px;
	margin-inline: auto;
	flex-wrap: wrap;
	gap: .75rem 1.25rem;
}

body.woocommerce-shop .wc-block-product-template {
	box-sizing: border-box;
	display: grid !important;
	width: 100% !important;
	max-width: 1180px;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: clamp(1rem, 2vw, 1.5rem) !important;
	margin: 1.25rem auto 0 !important;
	padding: 0;
}

body.woocommerce-shop .wc-block-product-template > .wc-block-product {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: auto !important;
	min-width: 0;
	max-width: none;
	margin: 0 !important;
	padding: clamp(.8rem, 1.5vw, 1.15rem);
	border: 1px solid var(--dd-line);
	border-radius: var(--dd-radius);
	background: #fff;
	box-shadow: 0 4px 18px rgb(22 31 42 / 7%);
}

body.woocommerce-shop .wc-block-product-template .wc-block-components-product-image {
	margin: 0 0 1rem;
	border-radius: 10px;
	background: var(--dd-soft);
	 aspect-ratio: 1 / 1;
	overflow: hidden;
}

body.woocommerce-shop .wc-block-product-template .wc-block-components-product-image img {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain !important;
}

body.woocommerce-shop .wc-block-product-template .wp-block-post-title,
body.woocommerce-shop .wc-block-product-template .wc-block-components-product-title {
	min-height: 3.1em;
	margin: 0 0 .55rem;
	font-size: clamp(1rem, 1.4vw, 1.18rem);
	line-height: 1.35;
}

body.woocommerce-shop .wc-block-product-template .wc-block-components-product-price {
	margin-top: auto;
	font-size: 1.05rem;
}

body.woocommerce-shop .wc-block-product-template .wp-block-button__link,
body.woocommerce-shop .wc-block-product-template .wc-block-components-product-button__button {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	justify-content: center;
	border-radius: 8px;
	background: var(--dd-accent);
	color: #fff;
	font-weight: 800;
}

@media (max-width: 900px) {
	body.woocommerce-shop .wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 620px) {
	body.page-id-5685 .wp-block-post-title {
		margin-top: 1.75rem;
	}

	.dd-otr-community .dd-otr-hero {
		border-radius: 9px;
	}

	.dd-otr-community .dd-otr-hero img {
		aspect-ratio: 5 / 2;
	}

	.dd-otr-community .dd-otr-nav {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.dd-otr-community .dd-otr-button {
		width: 100%;
	}

	body.woocommerce-shop .wc-block-product-template {
		grid-template-columns: minmax(0, 1fr) !important;
		max-width: 480px;
	}

	body.woocommerce-shop .wc-block-product-template > .wc-block-product {
		padding: 1rem;
	}

	body.woocommerce-shop .wc-block-product-template .wc-block-components-product-image {
		max-height: 320px;
	}

	body.woocommerce-shop .wc-block-product-template .wp-block-post-title,
	body.woocommerce-shop .wc-block-product-template .wc-block-components-product-title {
		min-height: 0;
		font-size: 1.12rem;
	}
}

/* Prevent oversized third-party iframe slots from widening these two responsive pages. */
@media (max-width: 900px) {
	body.page-id-5685,
	body.woocommerce-shop {
		overflow-x: clip !important;
	}
}

/* Keep a blank AdSense auto-placement out of these page headers; other placements remain intact. */
body.page-id-5685 header.wp-block-template-part .google-auto-placed,
body.page-id-5685 header.wp-block-template-part ins.adsbygoogle-noablate,
body.woocommerce-shop header.wp-block-template-part .google-auto-placed,
body.woocommerce-shop header.wp-block-template-part ins.adsbygoogle-noablate {
	display: none !important;
}

/* Footer links remain readable and touch-friendly at every width. */
.dd-site-footer {
	margin-top: 3rem;
	border-top: 1px solid var(--dd-line);
	background: #f7f8f9;
	color: var(--dd-ink);
}

.dd-site-footer .wp-block-navigation__container,
.dd-classic-footer nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem .85rem;
}

.dd-site-footer .wp-block-navigation-item__content,
.dd-classic-footer nav a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: .35rem .5rem;
	color: var(--dd-ink);
	font-weight: 650;
}

.dd-site-footer p,
.dd-classic-footer p {
	color: var(--dd-muted);
}

@media (max-width: 1000px) {
	.dd-site-header .wp-block-navigation {
		flex-basis: 100%;
		justify-content: center;
	}

	.dd-site-header .wp-block-navigation__container {
		justify-content: center;
	}

	body.page-id-4758 main .fusion-columns.columns-1 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.dd-news-grid,
	.dd-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	.dd-site-header > .wp-block-group.alignfull > .wp-block-group.alignwide {
		width: min(100% - 1.25rem, var(--dd-content-width));
		justify-content: center;
	}

	.dd-site-header .wp-block-site-logo img,
	.dd-site-header .custom-logo {
		width: min(100%, 185px);
		margin-inline: auto;
	}

	.dd-site-header .wp-block-navigation__container {
		gap: .1rem .2rem;
	}

	.dd-site-header .wp-block-navigation-item__content {
		padding: .45rem .55rem;
		font-size: .95rem;
	}

	body.page-id-4758 main .fusion-columns.columns-1 {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.dd-news-grid,
	.dd-archive-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.dd-sprint1-section,
	.dd-home-articles,
	.ddrl-section,
	.ddrl-cta {
		width: min(100% - 1.25rem, var(--dd-content-width));
	}

	.ddu-uploader {
		width: calc(100% - 1.25rem);
		padding: 1.15rem;
	}

	body.single-post .dd-article-layout {
		width: calc(100% - 1.25rem);
	}
}


/* Keep the shared site navigation aligned to the same center line on every template. */
.dd-site-header .wp-block-navigation { justify-content: center !important; }
.dd-site-header .wp-block-navigation__container { justify-content: center !important; }
.dd-site-footer .wp-block-navigation { justify-content: center !important; }
.dd-site-footer .wp-block-navigation__container { justify-content: center !important; }
@media (max-width: 781px) {
  .dd-site-header .wp-block-navigation__responsive-container-open { margin-inline: auto; }
}

/* The LocalWP reference uses clean Manrope headings without decorative rules. */
.dd-editorial-heading::after,
.dd-news-intro h1::after,
.dd-archive-intro h1::after,
.dd-article-header h1::after,
.ddrl-section > h2::after,
.ddrl-archive-header h1::after,
.ddrl-video-archive > h1::after,
.dd-sprint1-section > h2::after,
body.page-id-18 main h1::after {
	display: none;
	content: none;
}
.ddrl-hero .ddrl-hero-title::after { display: none; content: none; }

/* Center the shared navigation across the full site header on desktop. */
.dd-site-header > .wp-block-group.alignfull > .wp-block-group.alignwide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}
.dd-site-header .wp-block-html {
  grid-column: 1;
  justify-self: start;
  width: 220px;
  max-width: 100%;
}
.dd-site-header .wp-block-navigation {
  grid-column: 2;
  justify-self: center;
  flex: 0 1 auto;
  width: max-content;
  max-width: 100%;
}
.dd-site-header .wp-block-navigation__container { justify-content: center !important; }
@media (max-width: 900px) {
  .dd-site-header > .wp-block-group.alignfull > .wp-block-group.alignwide {
    grid-template-columns: 1fr;
  }
  .dd-site-header .wp-block-html,
  .dd-site-header .wp-block-navigation {
    grid-column: 1;
    justify-self: center;
  }
  .dd-site-header .wp-block-html { text-align: center; }
  .dd-site-header .wp-block-navigation { width: 100%; }
}

/* Keep responsive auto-ad iframes inside the current viewport after resize. */
@media (max-width: 900px) {
  ins.adsbygoogle-noablate {
    max-width: calc(100vw - 16px) !important;
  }
  ins.adsbygoogle-noablate > div {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  ins.adsbygoogle-noablate iframe {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Normalize the block header container before centering its logo/navigation row. */
.dd-site-header.wp-block-group.alignfull > .wp-block-group.alignwide {
  box-sizing: border-box;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center !important;
  gap: 1rem 1.5rem;
  width: min(calc(100% - 2rem), 1200px) !important;
  margin-inline: auto !important;
}
.dd-site-header.wp-block-group.alignfull > .wp-block-group.alignwide > .dd-header-logo {
  flex: 0 0 220px;
  width: 220px;
  max-width: 100%;
}
.dd-site-header.wp-block-group.alignfull > .wp-block-group.alignwide > nav {
  flex: 1 1 650px !important;
  width: auto !important;
  max-width: none;
  justify-content: center;
}
@media (max-width: 900px) {
  .dd-site-header.wp-block-group.alignfull > .wp-block-group.alignwide {
    width: calc(100% - 2rem) !important;
  }
  .dd-site-header.wp-block-group.alignfull > .wp-block-group.alignwide > .dd-header-logo {
    margin-inline: auto;
  }
  .dd-site-header.wp-block-group.alignfull > .wp-block-group.alignwide > nav {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}

/* Use the same centered 1,200px header row in classic and block templates. */
.dd-classic-header {
  box-sizing: border-box;
  width: min(calc(100% - 2rem), 1200px);
  max-width: 1200px;
  margin-inline: auto;
  padding: 1rem 0;
}
.dd-classic-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}
.dd-classic-header .dd-classic-logo {
  flex: 0 0 220px;
}
.dd-classic-header nav {
  display: flex;
  flex: 1 1 650px;
  justify-content: center;
  min-width: 0;
}
.dd-classic-header nav ul { justify-content: center; }

/* H148 approved DD identity handoff: monogram in the shared header; approved banner in the homepage hero. */
.dd-site-header .dd-header-logo,
.dd-classic-header .dd-classic-logo {
  flex: 0 0 76px;
  width: 76px;
  max-width: 76px;
}
.dd-site-header .dd-header-logo img,
.dd-classic-header .dd-classic-logo img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 50%;
}
.ddrl-hero {
  max-width: var(--dd-content-width);
  padding: clamp(.75rem, 2.5vw, 1.5rem);
}
.ddrl-hero .ddrl-brand-logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: contain;
  border-radius: 12px;
}
@media (max-width: 600px) {
  .dd-site-header .dd-header-logo,
  .dd-classic-header .dd-classic-logo { flex-basis: 64px; width: 64px; max-width: 64px; }
  .dd-site-header .dd-header-logo img,
  .dd-classic-header .dd-classic-logo img { width: 64px; height: 64px; }
}
