/* WW Custom Decks Manager — front end. */

/* ── Hero (replaces Slider Revolution) ─────────────────────── */
/* Full browser width, 500px tall on desktop — as Slider Revolution showed it. */
html, body { overflow-x: clip; }
.wwcd-hero {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	height: clamp(260px, 39vw, 500px);
	overflow: hidden;
	background: #2d1d12;
}
.wwcd-hero__track, .wwcd-hero__slide { position: absolute; inset: 0; }
.wwcd-hero__slide { opacity: 0; transition: opacity .9s ease; }
.wwcd-hero__slide.is-active { opacity: 1; z-index: 1; }
.wwcd-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.wwcd-hero__slide.is-active .wwcd-hero__img { animation: wwcd-kenburns 9s ease-out both; }
@keyframes wwcd-kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Caption: Oswald 60/70, white, hard drop shadow; second line "browse …" with the white arrow. */
.wwcd-hero__caption {
	position: absolute;
	left: 0; right: 0;
	bottom: 70px;
	z-index: 2;
}
/* Centred slides (awards, Trex): text centred, vertical position per slide via --cap-top. */
.wwcd-hero__slide--center .wwcd-hero__caption { bottom: auto; top: var(--cap-top, 18%); transform: translateY(-50%); text-align: center; z-index: 3; }
.wwcd-hero__slide--center .wwcd-hero__text { text-align: center; }

/* Emblems (Angie's List, Best of Houzz, TrexPRO) — positions from Slider Revolution's 984x500 grid,
   so they scale with the hero and stay over the same part of the photo. */
.wwcd-hero__badges {
	position: absolute; top: 0; bottom: 0; left: 50%; z-index: 2;
	height: 100%; aspect-ratio: 984 / 500; transform: translateX(-50%);
	pointer-events: none;
}
.wwcd-hero__badge { position: absolute; height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.wwcd-hero__caption-inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 12px;
	box-sizing: border-box;
}
.ww-site .cd-content .wwcd-hero .wwcd-hero__text, .wwcd-hero .wwcd-hero__text {
	display: inline-block;
	font-family: "Oswald", sans-serif;
	font-size: clamp(26px, 4.7vw, 60px);
	line-height: 1.1667;
	font-weight: 400;
	color: #fff;
	text-shadow: 4px 4px 0 rgba(0, 0, 0, .9);
	text-decoration: none;
	text-align: left;
	margin: 0;
	padding-right: 1.17em;
	min-height: 1.17em;
	background: url(/wp-content/uploads/2015/09/arrow-white.png) no-repeat right bottom / auto .95em;
}
.wwcd-hero .wwcd-hero__text--plain { background: none; padding-right: 0; }
.wwcd-hero a.wwcd-hero__text:hover,
.wwcd-hero a.wwcd-hero__text:focus-visible { color: #fff; text-shadow: 4px 4px 0 rgba(0, 0, 0, .9), 0 0 18px rgba(255, 255, 255, .45); }
.wwcd-hero__dots {
	position: absolute; right: 24px; top: 16px; z-index: 3;
	display: flex; gap: 8px;
}
.wwcd-hero__dot {
	width: 12px; height: 12px; border-radius: 50%; padding: 0; cursor: pointer;
	border: 2px solid #fff; background: rgba(0, 0, 0, .35);
}
.wwcd-hero__dot.is-active { background: #fff; }
@media (prefers-reduced-motion: reduce) {
	.wwcd-hero__slide { transition: none; }
	.wwcd-hero__slide.is-active .wwcd-hero__img { animation: none; }
}

/* ── Awards slide: heading band on top, badge belt below ─────────────── */
.wwcd-hero__slide--awards .wwcd-hero__img { filter: brightness(.5) saturate(.75) blur(2px); }
.wwcd-awards__band {
	position: absolute; left: 0; right: 0; top: 0; z-index: 3;
	padding: clamp(12px, 3vw, 30px) 0 clamp(26px, 5vw, 56px);
	background: linear-gradient(rgba(0, 0, 0, .72), rgba(0, 0, 0, .45) 65%, rgba(0, 0, 0, 0));
	text-align: center;
}
.wwcd-awards__band-inner { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.wwcd-hero .wwcd-awards__heading {
	display: inline-block; color: #fff; text-decoration: none;
	font-family: "Oswald", sans-serif; font-weight: 400; line-height: 1.1;
	font-size: clamp(22px, 4vw, 46px); text-shadow: 3px 3px 0 rgba(0, 0, 0, .85);
}
.wwcd-hero .wwcd-awards__heading:hover, .wwcd-hero .wwcd-awards__heading:focus-visible { color: #ffe8a8; }
.ww-site .cd-content .wwcd-hero .wwcd-awards__sub, .wwcd-hero .wwcd-awards__sub {
	margin: .35em 0 0; color: #fff; font-family: "Oswald", sans-serif; font-weight: 300;
	font-size: clamp(13px, 1.9vw, 21px); line-height: 1.3; text-shadow: 1px 1px 2px #000;
}
.wwcd-awards__belt {
	position: absolute; left: 0; right: 0; bottom: 56px; z-index: 2;
	height: calc(var(--bh-px, 120px) + 24px); overflow: hidden; /* --bh-px set by wwcd.js from the hero height */
	display: flex; align-items: center;
}
.wwcd-awards__row {
	list-style: none; margin: 0; padding: 0 12px;
	display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 100%; gap: var(--gap, 18px); will-change: transform;
}
.wwcd-awards__belt.is-crawl .wwcd-awards__row { justify-content: flex-start; width: max-content; padding: 0; }
.wwcd-awards__badge {
	flex: 0 0 auto; margin: 0; height: var(--bh-px, 120px);
	aspect-ratio: var(--w) / var(--h);
	margin-left: var(--ov, 0px);
	transform: rotate(var(--tilt, 0deg));
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .55));
}
.wwcd-awards__badge:first-child { margin-left: 0; }
.wwcd-awards__badge img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Deal: each badge drops in and settles, one at a time (like the Balloonantics polaroids). */
.wwcd-awards__belt.is-dealing .wwcd-awards__badge { animation: wwcd-deal .55s cubic-bezier(.2, .9, .3, 1.25) both; animation-delay: calc(var(--n) * 140ms); }
@keyframes wwcd-deal {
	from { opacity: 0; transform: translateY(-70px) rotate(calc(var(--tilt, 0deg) * -3)) scale(1.15); }
	to   { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
}
.wwcd-awards__belt.is-wrap { height: auto; bottom: 50px; }
.wwcd-awards__belt.is-wrap .wwcd-awards__row { flex-wrap: wrap; row-gap: 8px; }

/* ── Credential slide (TrexPRO): real project photo + panel ──────────── */
.wwcd-hero__slide--credential .wwcd-hero__img { object-position: right center; }
.wwcd-cred {
	position: absolute; inset: 0; z-index: 2;
	background: linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .6) 38%, rgba(0, 0, 0, .1) 70%, rgba(0, 0, 0, 0) 100%);
	display: flex; align-items: center; padding-bottom: 40px; box-sizing: border-box;
}
.wwcd-cred__inner { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.wwcd-cred__panel { max-width: 560px; color: #fff; }
.wwcd-cred__emblem {
	display: inline-block; background: #fff; padding: 8px 12px; border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .45); width: clamp(150px, 24vw, 280px); box-sizing: border-box;
}
.wwcd-cred__emblem img { display: block; width: 100%; height: auto; }
.ww-site .cd-content .wwcd-hero .wwcd-cred__heading, .wwcd-hero .wwcd-cred__heading {
	margin: .45em 0 .2em; color: #fff; font-family: "Oswald", sans-serif; font-weight: 400;
	font-size: clamp(24px, 4.2vw, 50px); line-height: 1.05; text-shadow: 3px 3px 0 rgba(0, 0, 0, .85);
}
.ww-site .cd-content .wwcd-hero .wwcd-cred__text, .wwcd-hero .wwcd-cred__text { margin: 0 0 .9em; color: #fff; font-size: clamp(13px, 1.6vw, 19px); line-height: 1.35; text-shadow: 1px 1px 2px #000; }
.wwcd-hero .wwcd-cred__cta {
	display: inline-block; background: linear-gradient(#7a0026 49%, #5e0004 57%); color: #fff; text-decoration: none;
	font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: clamp(14px, 1.6vw, 19px);
	padding: .45em 1em; border-radius: 4px; box-shadow: 0 3px 8px rgba(0, 0, 0, .45);
}
.wwcd-hero .wwcd-cred__cta:hover, .wwcd-hero .wwcd-cred__cta:focus-visible { background: #095505; color: #fff; }
.wwcd-hero__slide--credential.is-active .wwcd-cred__panel > * { animation: wwcd-rise .6s ease both; }
.wwcd-hero__slide--credential.is-active .wwcd-cred__panel > *:nth-child(2) { animation-delay: .15s; }
.wwcd-hero__slide--credential.is-active .wwcd-cred__panel > *:nth-child(3) { animation-delay: .3s; }
.wwcd-hero__slide--credential.is-active .wwcd-cred__panel > *:nth-child(4) { animation-delay: .45s; }
@keyframes wwcd-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Mid widths (Garth, 2026-11-05): at the left edge the TrexPRO emblem ran into the Call Me tab (830-944px).
   Centre the logo + text block (text stays left-aligned) and darken the photo evenly behind it. */
@media (max-width: 1040px) {
	.wwcd-cred { background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .7) 30%, rgba(0, 0, 0, .7) 70%, rgba(0, 0, 0, .45)); }
	.wwcd-cred__panel { margin: 0 auto; text-align: left; }
	.wwcd-cred { padding: 48px 0 24px; } /* start below the Call Me tab and slide dots */
}
@media (max-width: 600px) {
	.wwcd-awards__belt { bottom: 14px; }
	.wwcd-awards__band { padding-top: 48px; } /* clear the Call Me tab and slide dots */
	.wwcd-cred { padding-bottom: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .55) 75%, rgba(0, 0, 0, .3)); }
	.ww-site .cd-content .wwcd-hero .wwcd-cred__text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.wwcd-awards__belt.is-dealing .wwcd-awards__badge, .wwcd-hero__slide--credential.is-active .wwcd-cred__panel > * { animation: none; }
}

/* ── Service tiles (overlap the hero bottom, as on the old site) ── */
.wwcd-tiles {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin: -40px 0 30px;
	text-align: center;
}
.wwcd-tile { min-width: 0; padding: 0 5px; }
.wwcd-tile__img img {
	display: block; width: 100%; max-width: 173px; height: auto; margin: 0 auto;
}
/* Tile title: not a heading (Garth). Oswald Light 30/30, dark green, as live. */
.ww-site .cd-content .wwcd-tile__title { font-family: "Oswald", sans-serif; font-size: 30px; font-weight: 300; line-height: 30px; margin: 10px 0; color: #095505; }
.ww-site .cd-content .wwcd-tile__title a { color: inherit; text-decoration: none; }
.ww-site .cd-content .wwcd-tile__text { font-size: 14px; line-height: 1.2; margin: 0 0 10px; }
/* "browse / custom arbors": arrow then left-aligned text, as live. */
.ww-site .cd-content .wwcd-tile__more {
	display: flex; align-items: center; justify-content: flex-start; gap: 10px;
	padding: 0 15px; text-align: left;
	font-style: italic; color: #009900; text-decoration: none; line-height: 1.2;
}
.wwcd-tile__more::before {
	content: ""; flex: 0 0 22px; height: 22px;
	background: url(/wp-content/uploads/2015/09/arrow-small.png) no-repeat center / 22px 22px;
}
.wwcd-tile__more-text { display: block; text-align: left; }
.wwcd-tile__more-text span { display: block; }

/* ── Project grid (replaces Huge-IT gallery): numbered cards, title under the photo ── */
.wwcd-projects {
	list-style: none; margin: 20px 0 30px; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.wwcd-project { margin: 0; min-width: 0; }
.ww-site .cd-content .wwcd-project__link { display: block; text-decoration: none; background: #f4f4f0; height: 100%; }
.wwcd-project__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.wwcd-project__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.wwcd-project__link:hover .wwcd-project__img img, .wwcd-project__link:focus-visible .wwcd-project__img img { transform: scale(1.04); }
.wwcd-project__count {
	position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .65); color: #fff;
	font-size: 12px; padding: 2px 8px; border-radius: 10px;
}
.ww-site .cd-content .wwcd-project__title {
	display: block; padding: 8px 10px 10px;
	font-family: "Oswald", sans-serif; font-size: 18px; line-height: 22px; font-weight: 400; color: #009900;
}
.wwcd-project__num { white-space: nowrap; }

/* ── Project page ──────────────────────────────────────────── */
.wwcd-project-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 20px; }
.wwcd-project-photos > a:first-child { grid-column: 1 / -1; }
.wwcd-project-photos--single > a { grid-column: 1 / -1; }
.wwcd-project-photo { display: block; overflow: hidden; background: #ddd; }
.wwcd-project-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wwcd-project-photos > a:not(:first-child) { aspect-ratio: 4 / 3; }
.wwcd-project-meta { list-style: none; padding: 0; margin: 16px 0; }
.wwcd-project-meta li { margin: 0 0 4px; }
.wwcd-project-cta { background: #f4f4f0; border-left: 4px solid #7a0026; padding: 12px 16px; }

/* Lightbox for project photos */
.wwcd-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.wwcd-lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.wwcd-lightbox img { display: block; max-width: 96vw; max-height: 88vh; width: auto; height: auto; margin: 0 auto; }
.wwcd-lightbox__btn {
	position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
	border: 0; background: rgba(255, 255, 255, .85); color: #000; font-size: 28px; cursor: pointer;
}
.wwcd-lightbox__prev { left: 12px; }
.wwcd-lightbox__next { right: 12px; }
.wwcd-lightbox__close { position: fixed; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #7a0026; color: #fff; font-size: 26px; cursor: pointer; }
.wwcd-lightbox__count { color: #fff; text-align: center; margin: 8px 0 0; font-size: 14px; }

@media (max-width: 767px) {
	.wwcd-projects { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.wwcd-project-photos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) { .wwcd-projects { grid-template-columns: 1fr; } }

/* ── "Call Me" popup (replaces Popup Maker) — look carried over from live ── */
.wwcd-modal {
	width: min(640px, calc(100vw - 24px));
	max-height: calc(100vh - 40px);
	margin: 100px auto auto;
	padding: 0; border: 0; background: transparent; overflow: visible;
}
.wwcd-modal::backdrop {
	background: #fff url(/wp-content/uploads/2015/10/Background-for-form2.jpg) repeat center top;
	opacity: .97;
}
.wwcd-modal[open] { animation: wwcd-fade .35s ease both; }
@keyframes wwcd-fade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.wwcd-modal__panel {
	position: relative;
	background: rgba(255, 255, 255, .8);
	padding: 30px;
	max-height: calc(100vh - 140px);
	overflow-y: auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	box-sizing: border-box;
}
.wwcd-modal__title { font-size: 20px; font-weight: 700; text-align: center; margin: 0 0 12px; color: #000; }
.wwcd-modal__close {
	position: absolute; top: 6px; right: 8px;
	width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
	background: #7a0026; color: #fff; font-size: 24px; line-height: 1;
}
.wwcd-modal__close:hover, .wwcd-modal__close:focus-visible { background: #095505; }
@media (max-width: 600px) {
	.wwcd-modal { margin-top: 12px; }
	.wwcd-modal__panel { padding: 44px 16px 20px; max-height: calc(100vh - 24px); }
}
@media (prefers-reduced-motion: reduce) { .wwcd-modal[open] { animation: none; } }

/* ── Testimonials (replaces Indeed + Owl Carousel) ─────────── */
.wwcd-testimonials { margin: 30px 0; }
.wwcd-testimonials__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 40px) / 3);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 8px;
	scrollbar-width: thin;
}
.wwcd-testimonial {
	scroll-snap-align: start;
	background: #f7f7f2;
	border-top: 4px solid #94c523;
	padding: 16px;
	display: flex; flex-direction: column;
}
.wwcd-testimonial__img img { display: block; width: 100%; height: 180px; object-fit: cover; margin-bottom: 10px; }
.cd-content .wwcd-testimonial__title { font-size: 20px; margin: 0 0 4px; }
.cd-content .wwcd-testimonial__title a { color: #095505; text-decoration: none; }
.wwcd-testimonial__stars { color: #e5a00d; letter-spacing: 2px; margin: 0 0 6px; }
.wwcd-testimonial__text { margin: 0 0 10px; padding: 0; border: 0; font-style: italic; flex: 1; }
.wwcd-testimonial__more { font-weight: 600; }
.wwcd-testimonials__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.wwcd-testimonials__nav button {
	width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
	background: #7a0026; color: #fff; font-size: 24px; line-height: 1;
}
.wwcd-testimonials__all { text-align: center; margin-top: 10px; }

/* Full list on the Testimonials page: every review card links to its own page (no orphans). */
.wwcd-testimonials--grid .wwcd-testimonials__track {
	display: grid; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr);
	overflow: visible; scroll-snap-type: none;
}
@media (max-width: 900px) { .wwcd-testimonials--grid .wwcd-testimonials__track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wwcd-testimonials--grid .wwcd-testimonials__track { grid-template-columns: 1fr; } }

/* ── Share links ────────────────────────────────────────────── */
.wwcd-share { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 10px; }
.wwcd-share__link {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; background: #7a0026; color: #fff !important;
}
.wwcd-share__link:hover, .wwcd-share__link:focus-visible { background: #095505; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
	/* Tablet/phone: wrap tiles and centre the last row instead of leaving a hole. */
	.wwcd-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 10px; margin-top: 20px; }
	.wwcd-tile { flex: 0 0 calc((100% - 20px) / 3); }
	.wwcd-testimonials__track { grid-auto-columns: calc((100% - 20px) / 2); }
	.wwcd-hero__caption { bottom: 28px; }
	.wwcd-hero__slide--center .wwcd-hero__caption-inner { padding-left: 12px; }
}
@media (max-width: 600px) {
	.wwcd-hero { height: 300px; }
	.wwcd-hero__slide--center .wwcd-hero__caption { top: auto; bottom: 28px; }
	.wwcd-hero__dots { right: 12px; top: 10px; }
	.wwcd-tile { flex-basis: calc((100% - 10px) / 2); }
	.wwcd-testimonials__track { grid-auto-columns: 88%; }
}

/* =====================================================================
   Customer priorities + FAQs (class-wwcd-priorities.php)
   ===================================================================== */
/* Bar placed in content (theme supplies .ww-bp-* button styles + bp-bar.js) */
.wwcd-priority-bar { margin: 8px 0 28px; }
.wwcd-priority-bar .ww-bp-button.is-current { background-color: var(--ww-color-b); }

/* Hub cards */
.ww-bp-cards { display: grid; grid-template-columns: repeat(var(--bp-card-columns, 3), 1fr); gap: 24px; margin: 30px 0; }
a.ww-bp-card { position: relative; display: block; min-height: 380px; border-radius: 12px; overflow: hidden; text-decoration: none; color: #fff;
	background-size: cover; background-position: center; background-color: var(--ww-color-b); transition: transform .3s ease, box-shadow .3s ease; }
a.ww-bp-card:hover, a.ww-bp-card:focus-visible { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
a.ww-bp-card::before { content: ''; position: absolute; inset: 0; opacity: .85; transition: background .3s ease; }
a.ww-bp-card.ww-bp-card-overlay--a::before { background: var(--ww-color-a); }
a.ww-bp-card.ww-bp-card-overlay--b::before { background: var(--ww-color-b); }
a.ww-bp-card.ww-bp-card-overlay--c::before { background: var(--ww-color-c); }
a.ww-bp-card.ww-bp-card-overlay--d::before { background: var(--ww-color-d); }
a.ww-bp-card:hover::before, a.ww-bp-card:focus-visible::before { background: var(--ww-color-b); opacity: .9; }
.ww-bp-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding: 30px 24px; min-height: 380px; }
.ww-bp-card-icon { width: 72px; height: 72px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	margin-bottom: 20px; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); flex-shrink: 0; transition: transform .3s ease; }
a.ww-bp-card:hover .ww-bp-card-icon { transform: scale(1.05); }
.ww-bp-card-icon svg { width: 40px; height: 40px; fill: var(--ww-color-a); }
a.ww-bp-card:hover .ww-bp-card-icon svg { fill: var(--ww-color-b); }
.ww-site a.ww-bp-card .ww-bp-card-title, a.ww-bp-card .ww-bp-card-title { margin: 0 0 16px; font-size: 1.5em; font-weight: 400; line-height: 1.3; color: #fff; }
.ww-bp-card-title-prefix { display: block; font-size: .85em; opacity: .95; margin-bottom: 4px; }
.ww-bp-card-title-main { display: block; font-size: 1.3em; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
a.ww-bp-card .ww-bp-card-intro { margin: 0 0 24px; font-size: .95em; line-height: 1.6; color: #fff; max-width: 90%; }
.ww-bp-card-btn { display: inline-block; padding: 12px 32px; background: #fff; color: var(--ww-color-b); font-weight: 600; font-size: .95em; border-radius: 6px;
	text-transform: uppercase; letter-spacing: .5px; transition: transform .2s ease; }
a.ww-bp-card .ww-bp-card-btn { color: var(--ww-color-a); }
a.ww-bp-card:hover .ww-bp-card-btn { color: var(--ww-color-b); transform: scale(1.02); }

/* Priority page hero: scrim over the featured image, page H1 + first paragraph reversed out */
.wwcd-phero { position: relative; background-size: cover; background-position: center; border-radius: 10px; overflow: hidden; margin: 0 0 30px; background-color: var(--ww-color-b); }
.wwcd-phero__scrim { min-height: 220px; padding: 48px 40px; display: flex; align-items: center; }
.wwcd-phero__scrim--a { background: color-mix(in srgb, var(--ww-color-a) 85%, transparent); }
.wwcd-phero__scrim--b { background: color-mix(in srgb, var(--ww-color-b) 85%, transparent); }
.wwcd-phero__scrim--c { background: color-mix(in srgb, var(--ww-color-c) 85%, transparent); }
.wwcd-phero__scrim--d { background: color-mix(in srgb, var(--ww-color-d) 85%, transparent); }
.wwcd-phero__inner { max-width: 900px; margin: 0 auto; }
.ww-site .wwcd-phero .wwcd-phero__title, .wwcd-phero .wwcd-phero__title { color: #fff; margin: 0 0 14px; font-size: 2em; line-height: 1.2; text-shadow: 1px 1px 3px rgba(0, 0, 0, .3); }
.ww-site .wwcd-phero .wwcd-phero__text, .wwcd-phero .wwcd-phero__text { color: #fff; margin: 0; font-size: 1.3em; line-height: 1.6; font-weight: 500; text-shadow: 1px 1px 3px rgba(0, 0, 0, .3); }

/* FAQ accordion */
.wwcd-faqs { margin: 0 0 28px; }
.wwcd-faqs__title, .ww-sidebar-heading { color: var(--ww-color-a); border-bottom: 2px solid var(--ww-color-b); padding-bottom: 8px; margin: 0 0 16px; }
.wwcd-faq { margin: 0 0 8px; border: 1px solid #ddd; border-radius: 6px; background: #fff; overflow: hidden; scroll-margin-top: 120px; }
.wwcd-faq[open], .wwcd-faq:target { border-color: var(--ww-color-b); }
.wwcd-faq__q { position: relative; padding: 14px 40px 14px 16px; cursor: pointer; font-weight: 600; color: #000; list-style: none; }
.wwcd-faq__q::-webkit-details-marker { display: none; }
.wwcd-faq__q::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.4em; font-weight: 400; color: var(--ww-color-b); }
.wwcd-faq[open] .wwcd-faq__q::after { content: '\2212'; }
.wwcd-faq__q:hover { background: #f6f6f6; }
.wwcd-faq__a { padding: 0 16px 16px; color: #000; line-height: 1.7; }
.wwcd-faq__a p { margin: 0 0 .8em; }
.wwcd-faq__a p:last-child { margin-bottom: 0; }

/* Sidebar: product lines + featured image */
.wwcd-lines { background: #f7f7f7; border: 1px solid #e2e2e2; border-radius: 8px; padding: 18px 20px; margin: 0 0 24px; }
.wwcd-lines__title { margin: 0 0 12px; color: var(--ww-color-a); border-bottom: 2px solid var(--ww-color-b); padding-bottom: 8px; }
.wwcd-lines__list { list-style: none; margin: 0; padding: 0; }
.wwcd-lines__list li { border-bottom: 1px solid #e2e2e2; }
.wwcd-lines__list li:last-child { border-bottom: 0; }
.wwcd-lines__list a { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: #000; font-weight: 600; text-decoration: none; }
.wwcd-lines__list a:hover span { color: var(--ww-color-a); text-decoration: underline; }
.wwcd-lines__list img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.wwcd-featured { margin: 0 0 24px; line-height: 0; }
.wwcd-featured img { width: 100%; height: auto; border-radius: 10px; }

/* In-body project photos */
.wwcd-pphoto { margin: 6px 0 18px; max-width: 100%; }
.wwcd-pphoto img { width: 100%; height: auto; border-radius: 8px; display: block; }
.wwcd-pphoto figcaption { font-size: .9em; color: #000; margin-top: 6px; line-height: 1.4; }
.wwcd-pphoto--right { float: right; width: 46%; margin-left: 22px; }
.wwcd-pphoto--left { float: left; width: 46%; margin-right: 22px; }
.wwcd-pphoto--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wwcd-clear { clear: both; }
.wwcd-cta { background: var(--ww-color-b); color: #fff; border-radius: 8px; padding: 26px 28px; margin: 28px 0; text-align: center; clear: both; }
.ww-site .wwcd-cta p, .wwcd-cta p { color: #fff; margin: 0 0 14px; font-size: 1.1em; }
.wwcd-cta a.wwcd-cta__btn { display: inline-block; background: #fff; color: var(--ww-color-b); padding: 12px 28px; border-radius: 6px; font-weight: 700; text-decoration: none; margin: 4px 6px; }
.wwcd-cta a.wwcd-cta__btn:hover { color: var(--ww-color-a); }

@media (max-width: 992px) { .ww-bp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
	.wwcd-phero__scrim { padding: 32px 20px; min-height: 0; }
	.ww-site .wwcd-phero .wwcd-phero__title, .wwcd-phero .wwcd-phero__title { font-size: 1.6em; }
	.ww-site .wwcd-phero .wwcd-phero__text, .wwcd-phero .wwcd-phero__text { font-size: 1.1em; }
	.wwcd-pphoto--right, .wwcd-pphoto--left { float: none; width: 100%; margin: 6px 0 18px; }
}
@media (max-width: 600px) {
	.ww-bp-cards { grid-template-columns: 1fr; }
	a.ww-bp-card, .ww-bp-card-content { min-height: 300px; }
	.wwcd-pphoto--pair { grid-template-columns: 1fr; }
}
/* Beat the theme's !important heading colors inside reversed-out blocks. */
body .ww-site .cd-content .wpb_wrapper .wwcd-phero h1.wwcd-phero__title,
body .ww-site .cd-content .wwcd-phero h1.wwcd-phero__title,
body .wwcd-phero h1.wwcd-phero__title { color: #fff !important; font-size: 2em !important; margin: 0 0 14px !important; }
body .ww-site .cd-content .wpb_wrapper a.ww-bp-card h2.ww-bp-card-title,
body .ww-site .cd-content a.ww-bp-card h2.ww-bp-card-title,
body a.ww-bp-card h2.ww-bp-card-title { color: #fff !important; font-size: 1.5em !important; border: 0 !important; padding: 0 !important; margin: 0 0 16px !important; text-transform: none !important; }
@media (max-width: 768px) { body .wwcd-phero h1.wwcd-phero__title, body .ww-site .cd-content .wwcd-phero h1.wwcd-phero__title, body .ww-site .cd-content .wpb_wrapper .wwcd-phero h1.wwcd-phero__title { font-size: 1.6em !important; } }
/* Key-question callout + CTA heading (priority pages) */
.wwcd-callout { background: #f7f2f3; border-left: 4px solid var(--ww-color-a); padding: 14px 18px; margin: 18px 0; color: #000; font-size: 1.05em; }
.wwcd-callout strong { color: var(--ww-color-a); }
.wwcd-cta { background: var(--ww-color-a); }
.ww-site .wwcd-cta p.wwcd-cta__head, .wwcd-cta p.wwcd-cta__head { font-size: 1.35em; font-weight: 700; margin: 0 0 6px; }
.wwcd-cta a.wwcd-cta__btn { color: var(--ww-color-a); }
.wwcd-cta a.wwcd-cta__btn:hover { color: var(--ww-color-b); }
