/* ============================================================
 * Farnsworth Clopay Connector — frontend styles
 * Matches farnsworthgarage.com brand style guide:
 *   • Red #ed1c23 + Black + White, light gray (#f8f8f8) accents
 *   • System font stack, body 1rem / line-height 1.7
 *   • H2 black 700 with red 3px underline; H3 red 700
 *   • Cards white bg + #dedede border, 8px radius
 *   • CTA banner red bg, black primary button, outline white button
 * ============================================================ */

/* ---- Brand tokens (CSS custom props for easy override) ---- */
.fcc-product, .fcc-section, .fcc-single-door, .fcc-archive {
	--fcc-red:        #ed1c23;
	--fcc-red-dark:   #c0392b;
	--fcc-red-darker: #a93226;
	--fcc-black:      #000000;
	--fcc-text:       #1a1a1a;
	--fcc-text-soft:  #444;
	--fcc-meta:       #666;
	--fcc-bg-soft:    #f8f8f8;
	--fcc-border:     #dedede;
	--fcc-border-soft:#e8e8e8;
	--fcc-white:      #ffffff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--fcc-text);
	line-height: 1.7;
	box-sizing: border-box;
}
.fcc-product *, .fcc-section *, .fcc-single-door *, .fcc-archive * { box-sizing: border-box; }

/* ---- Sections & headings ---- */
.fcc-section {
	margin-top: 48px;
	margin-bottom: 48px;
}
.fcc-section__title {
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--fcc-black);
	border-bottom: 3px solid var(--fcc-red);
	padding-bottom: 10px;
	margin: 0 0 24px;
	line-height: 1.25;
}
.fcc-section__subtitle {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--fcc-red);
	margin: 0 0 16px;
}
/* H3 sub-group headings inside grids (Colors → "Standard Colors"/"Premium Colors",
   TopSections → "Single Top Sections"/"Double Top Sections", Hardware → "Plates"/
   "Handles"/"Hinges", Designs → "Series 1"/"Series 2", etc.) */
.fcc-group-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--fcc-red);
	margin: 28px 0 14px;
	padding: 0;
	border: 0;
	line-height: 1.25;
}
.fcc-section-inner > .fcc-group-title:first-child { margin-top: 0; }
.fcc-disclaimer {
	font-size: 0.82rem;
	color: var(--fcc-meta);
	margin-top: 12px;
	line-height: 1.6;
}

/* ---- Custom intro / description / overview / etc. ----
   No max-width — text blocks fill the full .fcc-contained width
   (1100px) so they align with section titles and visual grids. */
.fcc-custom-intro,
.fcc-description,
.fcc-overview,
.fcc-short-description {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--fcc-text);
	margin: 0 0 24px;
}
.fcc-custom-intro p,
.fcc-description p,
.fcc-overview p,
.fcc-construction p,
.fcc-springs-hardware p,
.fcc-options p,
.fcc-models p,
.fcc-features-benefits p { margin: 0 0 1em; }

.fcc-construction,
.fcc-springs-hardware,
.fcc-options,
.fcc-models,
.fcc-features-benefits {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--fcc-text);
	margin: 0 0 24px;
	/* No max-width — fills the full .fcc-contained width. */
}

/* Defensive resets — Clopay's Overview HTML occasionally arrives
   with inline widths, alignment overrides, or table layouts that
   make the block look off-center. Neutralize those. */
.fcc-overview > *,
.fcc-construction > *,
.fcc-springs-hardware > *,
.fcc-options > *,
.fcc-models > *,
.fcc-features-benefits > * {
	max-width: 100%;
	box-sizing: border-box;
}
.fcc-overview img,
.fcc-construction img,
.fcc-springs-hardware img,
.fcc-options img,
.fcc-models img,
.fcc-features-benefits img {
	max-width: 100%;
	height: auto;
}
.fcc-overview table,
.fcc-construction table,
.fcc-springs-hardware table,
.fcc-options table,
.fcc-models table,
.fcc-features-benefits table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1em;
}
.fcc-overview *[style*="float"],
.fcc-construction *[style*="float"] {
	float: none !important;
}
.fcc-overview *[align],
.fcc-construction *[align] {
	text-align: inherit !important;
}
.fcc-construction ul, .fcc-construction ol,
.fcc-springs-hardware ul, .fcc-springs-hardware ol,
.fcc-options ul, .fcc-options ol,
.fcc-models ul, .fcc-models ol,
.fcc-features-benefits ul, .fcc-features-benefits ol { padding-left: 1.4em; }
.fcc-construction li, .fcc-springs-hardware li,
.fcc-options li, .fcc-models li, .fcc-features-benefits li { margin-bottom: 0.35em; }

/* ---- Answer capsule (used by single template) ---- */
.fcc-answer-capsule {
	background: var(--fcc-bg-soft);
	border-left: 5px solid var(--fcc-red);
	border-radius: 0 8px 8px 0;
	padding: 20px 24px;
	margin: 24px 0 40px;
	font-size: 1.05rem;
	color: var(--fcc-text);
}
.fcc-answer-capsule strong {
	display: block;
	color: var(--fcc-red);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
}

/* ---- Grid layouts ---- */
.fcc-grid {
	display: grid;
	gap: 16px;
}
.fcc-grid--swatch  { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.fcc-grid--card    { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.fcc-grid--archive { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ---- Cards ---- */
.fcc-card {
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-radius: 8px;
	overflow: hidden;
	margin: 0;
	display: flex;
	flex-direction: column;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.fcc-card:hover {
	border-color: var(--fcc-red);
	box-shadow: 0 4px 14px rgba(237,28,35,0.08);
	transform: translateY(-2px);
}
.fcc-card__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.fcc-card__caption {
	padding: 12px 16px 16px;
	font-size: 0.95rem;
	line-height: 1.4;
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--fcc-text);
}
.fcc-card__desc {
	color: var(--fcc-text-soft);
	font-size: 0.85rem;
	font-weight: 400;
}
.fcc-card--swatch .fcc-card__img { aspect-ratio: 1 / 1; }
.fcc-card--swatch .fcc-card__caption { padding: 8px 12px 12px; font-size: 0.85rem; }

/* Top-section / window-option cards — wide horizontal images.
   Don't crop them; show the whole window strip with light gray padding
   filling any empty space. */
.fcc-top-sections .fcc-grid--card {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.fcc-top-sections .fcc-card__img {
	aspect-ratio: auto;
	height: auto;
	min-height: 90px;
	max-height: 200px;
	width: 100%;
	object-fit: contain;
	background: var(--fcc-bg-soft);
	padding: 10px;
}
@media (max-width: 600px) {
	.fcc-top-sections .fcc-card__img { max-height: 160px; padding: 8px; }
}

/* Decorative Hardware cards — items vary widely in shape (plates are
   rectangular, handles are long-narrow, hinges and lift bars are different).
   Use contain + light gray bg so each piece is fully visible regardless of
   its native aspect ratio. */
.fcc-hardware .fcc-card__img {
	aspect-ratio: auto;
	height: 180px;
	width: 100%;
	object-fit: contain;
	background: var(--fcc-bg-soft);
	padding: 14px;
}
@media (max-width: 600px) {
	.fcc-hardware .fcc-card__img { height: 150px; padding: 12px; }
}

/* Material Options — samples that vary in shape; treat like hardware. */
.fcc-materials .fcc-card__img {
	aspect-ratio: auto;
	height: 160px;
	width: 100%;
	object-fit: contain;
	background: var(--fcc-bg-soft);
	padding: 10px;
}

/* Specialty Glass — pattern samples; contain looks better than crop. */
.fcc-glass .fcc-card__img {
	aspect-ratio: auto;
	height: 160px;
	width: 100%;
	object-fit: contain;
	background: var(--fcc-bg-soft);
	padding: 10px;
}

/* ---- Native gallery (preferred) ---- */
.fcc-gallery { margin: 0 0 16px; }
.fcc-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}
/* Aggressive override: defeats Hello Elementor / WP default button styles
   that bleed pink/magenta link-colors into the gallery thumbnails. */
.fcc-gallery .fcc-gallery__item,
.fcc-gallery .fcc-gallery__item:link,
.fcc-gallery .fcc-gallery__item:visited,
.fcc-gallery .fcc-gallery__item:active {
	display: block !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	background: #ffffff !important;
	color: #1a1a1a !important;
	border: 1px solid #dedede !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	text-decoration: none !important;
	outline: none !important;
	overflow: hidden;
	cursor: zoom-in;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font: inherit;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.fcc-gallery .fcc-gallery__item:hover {
	border-color: #ed1c23 !important;
	box-shadow: 0 4px 14px rgba(0,0,0,0.10) !important;
	transform: translateY(-2px);
}
.fcc-gallery .fcc-gallery__item:focus-visible {
	outline: 3px solid #ed1c23 !important;
	outline-offset: 2px !important;
	border-color: #ed1c23 !important;
}
.fcc-gallery .fcc-gallery__item img {
	pointer-events: none; /* clicks always go to the button */
}
.fcc-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4/3;
	object-fit: cover;
}

/* ---- Lightbox ---- */
.fcc-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.92);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 56px;
	opacity: 0;
	transition: opacity .2s ease;
}
.fcc-lightbox.is-open { opacity: 1; }
.fcc-lightbox[hidden] { display: none; }
.fcc-lightbox__figure {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 100%;
	max-height: 100%;
}
.fcc-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 120px);
	object-fit: contain;
	background: #fff;
	border-radius: 6px;
}
.fcc-lightbox__caption {
	color: rgba(255,255,255,0.95);
	font-size: 0.95rem;
	padding-top: 14px;
	text-align: center;
	max-width: 80ch;
}
/* Lightbox controls — white solid buttons with strong contrast.
   Aggressive overrides defeat Hello Elementor's button focus/visited
   color bleed (which was producing the pink boxes). */
.fcc-lightbox__close,
.fcc-lightbox__close:link,
.fcc-lightbox__close:visited,
.fcc-lightbox__close:active,
.fcc-lightbox__nav,
.fcc-lightbox__nav:link,
.fcc-lightbox__nav:visited,
.fcc-lightbox__nav:active {
	position: absolute !important;
	background: #ffffff !important;
	color: #1a1a1a !important;
	border: 2px solid #ffffff !important;
	border-radius: 50% !important;
	box-shadow: 0 4px 16px rgba(0,0,0,0.45) !important;
	outline: none !important;
	text-decoration: none !important;
	font-family: inherit !important;
	font-weight: 700 !important;
	cursor: pointer;
	line-height: 1;
	padding: 0 !important;
	margin: 0 !important;
	-webkit-appearance: none;
	appearance: none;
	transition: background .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease;
	z-index: 10;
}
.fcc-lightbox__close:hover,
.fcc-lightbox__nav:hover {
	background: var(--fcc-red) !important;
	color: #ffffff !important;
	border-color: var(--fcc-red) !important;
	box-shadow: 0 6px 22px rgba(237,28,35,0.45) !important;
}
.fcc-lightbox__close:focus-visible,
.fcc-lightbox__nav:focus-visible {
	outline: 3px solid var(--fcc-red) !important;
	outline-offset: 3px !important;
}
.fcc-lightbox__close {
	top: 24px !important;
	right: 28px !important;
	width: 56px !important;
	height: 56px !important;
	font-size: 30px !important;
}
.fcc-lightbox__close:hover { transform: scale(1.08); }
.fcc-lightbox__nav {
	top: 50% !important;
	transform: translateY(-50%);
	width: 64px !important;
	height: 64px !important;
	font-size: 38px !important;
}
.fcc-lightbox__nav--prev { left: 24px !important; }
.fcc-lightbox__nav--next { right: 24px !important; }
.fcc-lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }
.fcc-lightbox__counter {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255,255,255,0.85);
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	background: rgba(255,255,255,0.1);
	padding: 4px 12px;
	border-radius: 999px;
}

/* ---- Iframe gallery (fallback only) ---- */
.fcc-gallery__frame-wrap {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--fcc-border);
}
.fcc-gallery__iframe {
	display: block;
	width: 100%;
	height: 620px;
	border: 0;
}
.fcc-gallery__actions {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	.fcc-gallery__grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
	.fcc-lightbox { padding: 16px 8px; }
	.fcc-lightbox__nav--prev { left: 6px; }
	.fcc-lightbox__nav--next { right: 6px; }
	.fcc-lightbox__nav { width: 40px; height: 40px; font-size: 24px; }
	.fcc-gallery__iframe { height: 460px; }
}

/* ---- Document list (brochures, install docs) — uniform card sizing ---- */
.fcc-doc-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	grid-auto-rows: 1fr;          /* equal-height rows */
	gap: 12px;
}
.fcc-doc { margin: 0; height: 100%; }
.fcc-doc__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	min-height: 80px;             /* uniform minimum height */
	height: 100%;                 /* fill the cell */
	background: var(--fcc-bg-soft);
	border: 1px solid var(--fcc-border);
	border-left: 4px solid var(--fcc-red);
	border-radius: 0 8px 8px 0;
	text-decoration: none;
	color: var(--fcc-text);
	font-size: 0.95rem;
	transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.fcc-doc__link:hover {
	background: var(--fcc-white);
	border-color: var(--fcc-red);
	transform: translateX(2px);
}
.fcc-doc__thumb {
	width: 36px;
	height: 36px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}
.fcc-doc__title {
	font-weight: 600;
	line-height: 1.35;
	flex: 1;
	min-width: 0;
	/* No line-clamp: full title shown. Cards in the same row stretch
	   to match the tallest title via grid-auto-rows: 1fr. */
}
.fcc-doc__ext {
	font-size: 0.7rem;
	color: var(--fcc-white);
	background: var(--fcc-red);
	margin-left: auto;
	padding: 3px 7px;
	border-radius: 3px;
	font-weight: 800;
	letter-spacing: 0.05em;
	flex-shrink: 0;
}

/* ---- Related products ---- */
.fcc-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
}
.fcc-related-card {
	display: block;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: var(--fcc-text);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.fcc-related-card:hover {
	border-color: var(--fcc-red);
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
	transform: translateY(-3px);
}
.fcc-related-card__img {
	background: var(--fcc-bg-soft);
}
.fcc-related-card__img img {
	display: block;
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
}
.fcc-related-card__body { padding: 14px 16px 18px; }
.fcc-related-card__title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--fcc-red);
	margin: 0 0 6px;
	border-bottom: 0;
	padding: 0;
	line-height: 1.25;
}
.fcc-related-card__desc {
	color: var(--fcc-text-soft);
	font-size: 0.88rem;
	margin: 0 0 10px;
	line-height: 1.5;
}
.fcc-related-card__cta {
	color: var(--fcc-red);
	font-weight: 700;
	font-size: 0.85rem;
}
.fcc-related-card__cta::after { content: " →"; }

/* ---- Track & jamb drawings ---- */
.fcc-track-jamb__row {
	background: var(--fcc-bg-soft);
	border: 1px solid var(--fcc-border);
	border-left: 4px solid var(--fcc-red);
	border-radius: 0 8px 8px 0;
	padding: 14px 18px;
	margin-bottom: 12px;
	display: grid;
	grid-template-columns: minmax(180px, 1fr) auto;
	gap: 14px;
	align-items: center;
}
.fcc-track-jamb__name {
	font-weight: 700;
	color: var(--fcc-text);
}
.fcc-track-jamb__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.fcc-track-jamb__links li { margin: 0; }
.fcc-track-jamb__links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-radius: 4px;
	color: var(--fcc-text);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .15s ease, background .15s ease;
}
.fcc-track-jamb__links a:hover {
	border-color: var(--fcc-red);
	background: var(--fcc-white);
}
.fcc-track-jamb__links .fcc-doc__ext {
	background: var(--fcc-red);
	color: var(--fcc-white);
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.05em;
}
@media (max-width: 600px) {
	.fcc-track-jamb__row { grid-template-columns: 1fr; }
}

/* ---- Spec models ---- */
.fcc-spec-model {
	background: var(--fcc-bg-soft);
	border-left: 4px solid var(--fcc-red);
	border-radius: 0 8px 8px 0;
	padding: 20px 24px;
	margin-bottom: 16px;
}
.fcc-spec-model__name {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--fcc-red);
	margin: 0 0 12px;
}
.fcc-spec-model__docs {
	margin: 0;
	padding-left: 1.25rem;
}
.fcc-spec-model__docs li { margin-bottom: 4px; }
.fcc-spec-model__docs a { color: var(--fcc-text); text-decoration: underline; text-underline-offset: 2px; }
.fcc-spec-model__docs a:hover { color: var(--fcc-red); }

/* ============================================================
 * Single-Door template (Service-page Template A pattern)
 * ============================================================ */
.fcc-single-door {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--fcc-text);
	line-height: 1.7;
	margin: 0 auto;
	padding: 0;
	overflow-x: hidden;
}

/* Inner content constraint */
.fcc-contained {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* Full-bleed sections */
.fcc-full-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
}

/* Split hero: text-left + image-right */
.fcc-hero-split {
	background: var(--fcc-bg-soft);
	border-bottom: 1px solid var(--fcc-border);
	padding: 56px 0 48px;
	margin-top: 100px;            /* desktop top spacing */
}
@media (max-width: 768px) {
	.fcc-hero-split { margin-top: 120px; }   /* mobile top spacing */
}

/* Auto-appended sections (when theme's single.php renders the door) */
.fcc-auto-appended { margin-top: 100px; }
@media (max-width: 768px) {
	.fcc-auto-appended { margin-top: 120px; }
}

/* And the first section inside the plugin's own single template, in
   case the user is rendering with no hero. */
.fcc-single-door > article > section:first-of-type:not(.fcc-hero-split),
.fcc-single-door > article > .fcc-contained:first-of-type {
	margin-top: 100px;
}
@media (max-width: 768px) {
	.fcc-single-door > article > section:first-of-type:not(.fcc-hero-split),
	.fcc-single-door > article > .fcc-contained:first-of-type {
		margin-top: 120px;
	}
}
.fcc-hero-split__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.fcc-hero-split__text { min-width: 0; }
.fcc-eyebrow {
	color: var(--fcc-red);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
	margin: 0 0 10px;
}
.fcc-hero-split__title {
	color: var(--fcc-black);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 14px;
	letter-spacing: -0.01em;
}
.fcc-hero-split__sub {
	color: var(--fcc-text-soft);
	font-size: clamp(1rem, 2vw, 1.15rem);
	line-height: 1.55;
	max-width: 56ch;
	margin: 0 0 24px;
}
.fcc-hero-split__cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.fcc-hero-split__media {
	margin: 0;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fcc-hero-split__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: contain;
	background: var(--fcc-white);
}
@media (max-width: 900px) {
	.fcc-hero-split__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.fcc-hero-split__media { order: -1; }
}

/* Buttons */
.fcc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--fcc-black);
	color: var(--fcc-white);
	padding: 14px 28px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	border: 2px solid var(--fcc-black);
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.fcc-btn:hover { background: #222; border-color: #222; color: var(--fcc-white); }
.fcc-btn--outline {
	background: transparent;
	color: var(--fcc-white);
	border: 2px solid rgba(255,255,255,0.6);
}
.fcc-btn--outline:hover {
	background: rgba(255,255,255,0.1);
	border-color: var(--fcc-white);
	color: var(--fcc-white);
}
.fcc-btn--outline-dark {
	background: transparent;
	color: var(--fcc-text);
	border: 2px solid var(--fcc-text);
}
.fcc-btn--outline-dark:hover {
	background: var(--fcc-text);
	color: var(--fcc-white);
	border-color: var(--fcc-text);
}
.fcc-btn--ghost {
	background: var(--fcc-white);
	color: var(--fcc-text);
	border: 1px solid var(--fcc-border);
	padding: 10px 18px;
	font-size: 0.92rem;
	font-weight: 600;
}
.fcc-btn--ghost:hover {
	border-color: var(--fcc-red);
	color: var(--fcc-red);
	background: var(--fcc-white);
}
.fcc-btn--red {
	background: var(--fcc-red);
	border-color: var(--fcc-red);
	color: var(--fcc-white);
}
.fcc-btn--red:hover { background: var(--fcc-red-dark); border-color: var(--fcc-red-dark); color: var(--fcc-white); }

/* CTA banner (red full-bleed at the bottom of every door) */
.fcc-cta {
	background: var(--fcc-red);
	color: var(--fcc-white);
	padding: 56px 32px;
	text-align: center;
	margin: 56px 0 0;
}
.fcc-cta h2 {
	color: var(--fcc-white);
	border-bottom: none;
	padding: 0;
	margin: 0 0 12px;
	font-size: clamp(1.4rem, 3vw, 1.85rem);
	font-weight: 800;
}
.fcc-cta p {
	margin: 0 0 24px;
	font-size: 1.05rem;
	opacity: 0.95;
	max-width: 60ch;
	margin-left: auto;
	margin-right: auto;
}
.fcc-cta__buttons {
	display: flex;
	gap: 14px;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

/* ============================================================
 * Doors Overview / Landing Page
 * Used by /clopay-garage-door-options/ archive AND [clopay_doors_overview].
 *
 * The overview escapes its parent container (Elementor column,
 * theme content-area, etc.) via the 100vw + negative-margin trick
 * so the hero, filter bar, and grid run edge-to-edge regardless of
 * where the shortcode is dropped.
 * ============================================================ */
.fcc-doors-overview {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--fcc-text);
	line-height: 1.7;
	/* Full-bleed escape — break out of any narrow parent container. */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	margin-top: 100px;             /* Desktop top spacing — clears your fixed header */
	overflow-x: hidden;
}
@media (max-width: 768px) {
	.fcc-doors-overview { margin-top: 120px; }   /* Mobile top spacing */
}
.fcc-doors-overview *, .fcc-doors-overview *::before, .fcc-doors-overview *::after { box-sizing: border-box; }

/* Elementor / theme wrapper override — strip horizontal padding and
   max-width constraints from any ancestor that wraps the doors-overview, so
   the 100vw escape can actually reach the viewport edge. Mirrors the
   same pattern used on your service pages. */
.elementor-element:has(> .elementor-widget-container > .fcc-doors-overview),
.elementor-element:has(.fcc-doors-overview),
.e-con:has(.fcc-doors-overview),
.e-con-inner:has(.fcc-doors-overview),
.elementor-widget-container:has(> .fcc-doors-overview),
.elementor-widget-container:has(.fcc-doors-overview),
.entry-content:has(.fcc-doors-overview),
.post-content:has(.fcc-doors-overview),
.page-content:has(.fcc-doors-overview) {
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: 100% !important;
	overflow: visible !important;
}

/* Cinematic black hero with red accent + authority badge + stats row */
.fcc-doors-overview__hero {
	position: relative;
	background: #0d0d0d;
	color: #fff;
	padding: 80px 0 72px;
	text-align: center;
	overflow: hidden;
	border-bottom: 4px solid var(--fcc-red);
}
/* Red diagonal accent — subtle geometric flourish */
.fcc-hero-accent {
	position: absolute;
	top: -60%;
	right: -20%;
	width: 70%;
	height: 220%;
	background: linear-gradient(135deg, transparent 0%, transparent 45%, rgba(237,28,35,0.25) 45%, rgba(237,28,35,0.15) 55%, transparent 55%, transparent 100%);
	transform: rotate(-12deg);
	pointer-events: none;
}
/* Authorized Dealer badge — floating top-right on desktop.
   Right offset uses max() so it never clips off-screen on wider viewports. */
.fcc-hero-badge {
	position: absolute;
	top: 24px;
	right: max(20px, calc((100vw - 1100px) / 2 + 20px));
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--fcc-red);
	color: #fff;
	padding: 12px 18px;
	border-radius: 999px;
	box-shadow: 0 6px 20px rgba(237,28,35,0.4);
	z-index: 5;
}
.fcc-hero-badge svg { width: 20px; height: 20px; flex-shrink: 0; }
.fcc-hero-badge__text { display: flex; flex-direction: column; line-height: 1.05; }
.fcc-hero-badge__lead { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.92; font-weight: 700; }
.fcc-hero-badge__brand { font-size: 0.92rem; font-weight: 800; }

.fcc-hero-content { position: relative; z-index: 2; }

.fcc-doors-overview__hero .fcc-eyebrow {
	color: var(--fcc-red);
	font-size: 0.85rem;
	letter-spacing: 0.18em;
	font-weight: 800;
	margin: 0 0 18px;
}
.fcc-doors-overview__title {
	color: #fff;
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 18px;
	text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.fcc-doors-overview__subtitle {
	color: rgba(255,255,255,0.82);
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	margin: 0 auto 38px;
	line-height: 1.55;
	max-width: 70ch;
}

/* 4-stat trust row */
.fcc-hero-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	max-width: 920px;
	margin: 0 auto 36px;
	padding: 24px 0;
	border-top: 1px solid rgba(255,255,255,0.15);
	border-bottom: 1px solid rgba(255,255,255,0.15);
}
.fcc-hero-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0 12px;
	border-right: 1px solid rgba(255,255,255,0.12);
}
.fcc-hero-stat:last-child { border-right: 0; }
.fcc-hero-stat__num {
	color: var(--fcc-red);
	font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.02em;
}
.fcc-hero-stat__label {
	color: rgba(255,255,255,0.78);
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-align: center;
}

.fcc-hero-cta {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 4px;
}

@media (max-width: 760px) {
	.fcc-doors-overview__hero { padding: 32px 0 48px; }

	/* Badge becomes inline at the top of the hero, centered above the eyebrow.
	   No more absolute positioning — eliminates the overlap risk on small screens. */
	.fcc-hero-badge {
		position: static;
		top: auto;
		right: auto;
		margin: 0 auto 22px;
		align-self: center;
		display: inline-flex;
	}
	/* Make the section a column flex so the static badge sits cleanly above content. */
	.fcc-doors-overview__hero {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.fcc-hero-content { width: 100%; }

	/* Diagonal red stripe — make it big enough to span any mobile hero height
	   even when the 2x2 stats grid makes the hero tall. */
	.fcc-hero-accent {
		top: -200%;
		right: -50%;
		width: 200%;
		height: 600%;
	}

	.fcc-hero-stats { grid-template-columns: 1fr 1fr; gap: 18px 0; padding: 20px 0; }
	.fcc-hero-stat { border-right: 0; }
	.fcc-hero-stat:nth-child(1), .fcc-hero-stat:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.12); }
}

/* Filter chips */
.fcc-doors-overview__filters {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 36px 0 28px;
	padding: 20px 22px;
	background: var(--fcc-bg-soft);
	border: 1px solid var(--fcc-border);
	border-radius: 8px;
}
.fcc-filter-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.fcc-filter-label {
	font-weight: 700;
	color: var(--fcc-text);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-right: 6px;
}
.fcc-filter-btn,
.fcc-filter-btn:link,
.fcc-filter-btn:visited {
	display: inline-block !important;
	background: var(--fcc-white) !important;
	color: var(--fcc-text) !important;
	border: 1px solid var(--fcc-border) !important;
	border-radius: 999px !important;
	padding: 6px 16px !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none !important;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
	-webkit-appearance: none;
	appearance: none;
}
.fcc-filter-btn:hover {
	border-color: var(--fcc-red) !important;
	color: var(--fcc-red) !important;
}
.fcc-filter-btn.is-active,
.fcc-filter-btn.is-active:hover {
	background: var(--fcc-red) !important;
	border-color: var(--fcc-red) !important;
	color: var(--fcc-white) !important;
}
.fcc-filter-empty {
	color: var(--fcc-meta);
	font-size: 0.92rem;
	padding-top: 4px;
}
.fcc-filter-reset {
	background: none;
	border: 0;
	color: var(--fcc-red);
	cursor: pointer;
	text-decoration: underline;
	font: inherit;
}

/* Door cards grid */
.fcc-doors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	margin: 28px 0 56px;
}
.fcc-door-card,
.fcc-door-card:link,
.fcc-door-card:visited {
	display: block;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none !important;
	color: var(--fcc-text) !important;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.fcc-door-card:hover {
	border-color: var(--fcc-red) !important;
	box-shadow: 0 8px 28px rgba(0,0,0,0.10);
	transform: translateY(-3px);
}
.fcc-door-card__img {
	background: var(--fcc-bg-soft);
}
.fcc-door-card__img img {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: cover;
}
.fcc-door-card__body { padding: 16px 20px 22px; }
.fcc-door-card__eyebrow {
	color: var(--fcc-red);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 700;
	margin: 0 0 6px;
}
.fcc-door-card__title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--fcc-red);
	margin: 0 0 8px;
	border-bottom: 0;
	padding: 0;
	line-height: 1.2;
}
.fcc-door-card__desc {
	color: var(--fcc-text-soft);
	font-size: 0.95rem;
	margin: 0 0 12px;
	line-height: 1.55;
}
.fcc-door-card__cta {
	color: var(--fcc-red);
	font-weight: 700;
	font-size: 0.88rem;
	letter-spacing: 0.02em;
}
.fcc-door-card__cta::after { content: " →"; }

.fcc-doors-overview__empty {
	text-align: center;
	padding: 48px 24px;
	color: var(--fcc-meta);
}

/* ---- Landing-page section common ---- */
.fcc-section__title--landing {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 14px;
}
.fcc-section__lead {
	color: var(--fcc-text-soft);
	font-size: 1.05rem;
	margin: 0 auto 32px;
	text-align: center;
	line-height: 1.6;
	/* No max-width — leads use the full .fcc-contained width. */
}
.fcc-doors-overview .fcc-section { margin: 56px 0; }
.fcc-doors-overview .fcc-section.fcc-full-bleed-bg {
	background: var(--fcc-bg-soft);
	margin: 56px 0;
	padding: 56px 0;
	border-top: 1px solid var(--fcc-border);
	border-bottom: 1px solid var(--fcc-border);
}

/* ---- Intro authority block ---- */
.fcc-intro-block__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 40px;
	align-items: center;
}
.fcc-intro-block__text .fcc-section__title { text-align: left; border-bottom: none; padding-bottom: 0; max-width: none; margin: 0 0 16px; }
.fcc-intro-block__text p { font-size: 1.02rem; line-height: 1.7; margin: 0 0 14px; color: var(--fcc-text); }
.fcc-intro-block__badge-card {
	background: var(--fcc-black);
	color: var(--fcc-white);
	padding: 24px 28px;
	border-radius: 10px;
	border-top: 4px solid var(--fcc-red);
}
.fcc-intro-block__badge-eyebrow { color: var(--fcc-red); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; margin: 0 0 8px; }
.fcc-intro-block__badge-title { color: var(--fcc-white); font-size: 1.2rem; font-weight: 800; margin: 0 0 4px; }
.fcc-intro-block__badge-meta { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin: 0 0 14px; }
.fcc-intro-block__badge-list { list-style: none; padding: 0; margin: 0; }
.fcc-intro-block__badge-list li { color: rgba(255,255,255,0.92); font-size: 0.92rem; padding: 6px 0 6px 22px; position: relative; line-height: 1.4; }
.fcc-intro-block__badge-list li::before { content: "✓"; position: absolute; left: 0; color: var(--fcc-red); font-weight: 800; }
@media (max-width: 760px) { .fcc-intro-block__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Understanding Each Collection (explainer cards) ---- */
.fcc-explainer-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 1000px;
	margin: 0 auto;
}
.fcc-explainer-card {
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-left: 4px solid var(--fcc-red);
	border-radius: 0 10px 10px 0;
	padding: 22px 28px;
	transition: box-shadow .15s ease;
}
.fcc-explainer-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
.fcc-explainer-card__head {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 10px;
}
.fcc-explainer-card__title {
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--fcc-red);
	margin: 0;
	padding: 0;
	border: 0;
	line-height: 1.15;
}
.fcc-explainer-card__tag {
	color: var(--fcc-text-soft);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.fcc-explainer-card__desc {
	color: var(--fcc-text);
	font-size: 1rem;
	line-height: 1.65;
	margin: 0 0 10px;
}
.fcc-explainer-card__best {
	color: var(--fcc-text-soft);
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0;
	padding-top: 10px;
	border-top: 1px solid var(--fcc-border-soft);
}
.fcc-explainer-card__best strong {
	color: var(--fcc-text);
}
@media (max-width: 600px) {
	.fcc-explainer-card { padding: 18px 20px; }
	.fcc-explainer-card__title { font-size: 1.2rem; }
}

/* ---- Browse by Collection ---- */
.fcc-collection-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}
.fcc-collection-card,
.fcc-collection-card:link,
.fcc-collection-card:visited {
	display: block;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none !important;
	color: var(--fcc-text) !important;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.fcc-collection-card:hover {
	border-color: var(--fcc-red) !important;
	box-shadow: 0 8px 24px rgba(0,0,0,0.10);
	transform: translateY(-3px);
}
.fcc-collection-card__img { background: var(--fcc-bg-soft); aspect-ratio: 4/3; overflow: hidden; }
.fcc-collection-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fcc-collection-card__img--placeholder { background: linear-gradient(135deg, #f4ecd8, #d4c89e); }
.fcc-collection-card__body { padding: 14px 18px 18px; }
.fcc-collection-card__tag { color: var(--fcc-red); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin: 0 0 4px; }
.fcc-collection-card__title { font-size: 1.2rem; font-weight: 700; color: var(--fcc-red); margin: 0 0 6px; line-height: 1.2; border: 0; padding: 0; }
.fcc-collection-card__desc { color: var(--fcc-text-soft); font-size: 0.9rem; margin: 0 0 10px; line-height: 1.5; }
.fcc-collection-card__cta { color: var(--fcc-red); font-weight: 700; font-size: 0.85rem; }

/* ---- Why Clopay ---- */
.fcc-why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 18px;
}
.fcc-why-card {
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-radius: 10px;
	padding: 24px 22px;
	transition: border-color .15s, box-shadow .15s;
}
.fcc-why-card:hover { border-color: var(--fcc-red); box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.fcc-why-card__icon {
	width: 56px;
	height: 56px;
	background: rgba(237,28,35,0.08);
	color: var(--fcc-red);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
.fcc-why-card__title { font-size: 1.1rem; font-weight: 700; color: var(--fcc-black); margin: 0 0 8px; padding: 0; border: 0; }
.fcc-why-card__desc { color: var(--fcc-text-soft); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* ---- Carriage House Tier comparison ---- */
.fcc-tiers-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.fcc-tier-card {
	position: relative;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-radius: 12px;
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
}
.fcc-tier-card.is-recommended {
	border: 2px solid var(--fcc-red);
	box-shadow: 0 8px 28px rgba(237,28,35,0.10);
	transform: translateY(-4px);
}
.fcc-tier-card__ribbon {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--fcc-red);
	color: var(--fcc-white);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
	white-space: nowrap;
}
.fcc-tier-card__price { color: var(--fcc-red); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; margin: 0 0 6px; }
.fcc-tier-card__title { font-size: 1.5rem; font-weight: 800; color: var(--fcc-black); margin: 0 0 4px; padding: 0; border: 0; line-height: 1.1; }
.fcc-tier-card__sub { color: var(--fcc-text-soft); font-size: 0.95rem; margin: 0 0 18px; }
.fcc-tier-card__list { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.fcc-tier-card__list li { padding: 8px 0 8px 26px; border-bottom: 1px solid var(--fcc-border-soft); position: relative; font-size: 0.92rem; line-height: 1.45; color: var(--fcc-text); }
.fcc-tier-card__list li:last-child { border-bottom: 0; }
.fcc-tier-card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--fcc-red); font-weight: 800; }
.fcc-tier-card__best { font-size: 0.9rem; color: var(--fcc-text-soft); margin: 0; line-height: 1.5; }
@media (max-width: 900px) { .fcc-tiers-grid { grid-template-columns: 1fr; } .fcc-tier-card.is-recommended { transform: none; } }

/* ============================================================
 * Section 1: Material Matters
 * ============================================================ */
.fcc-mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcc-mat-card {
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-top: 4px solid var(--fcc-red);
	border-radius: 0 0 10px 10px;
	padding: 22px 22px 20px;
	display: flex;
	flex-direction: column;
}
.fcc-mat-card__head { margin-bottom: 14px; }
.fcc-mat-card__title { font-size: 1.4rem; font-weight: 800; color: var(--fcc-black); margin: 0 0 4px; padding: 0; border: 0; line-height: 1.1; }
.fcc-mat-card__tag { color: var(--fcc-red); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.fcc-mat-card__pros { list-style: none; padding: 0; margin: 0 0 16px; }
.fcc-mat-card__pros li { padding: 6px 0 6px 22px; position: relative; font-size: 0.92rem; line-height: 1.45; border-bottom: 1px solid var(--fcc-border-soft); }
.fcc-mat-card__pros li:last-child { border-bottom: 0; }
.fcc-mat-card__pros li::before { content: "✓"; position: absolute; left: 0; color: var(--fcc-red); font-weight: 800; }
.fcc-mat-card__specs { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0 0 14px; padding: 12px 14px; background: var(--fcc-bg-soft); border-radius: 6px; font-size: 0.85rem; }
.fcc-mat-card__specs dt { color: var(--fcc-text-soft); font-weight: 600; margin: 0; }
.fcc-mat-card__specs dd { color: var(--fcc-text); font-weight: 700; margin: 0; text-align: right; }
.fcc-mat-card__cons { font-size: 0.86rem; color: var(--fcc-text-soft); line-height: 1.55; margin: 0; padding-top: 12px; border-top: 1px solid var(--fcc-border-soft); }
.fcc-mat-card__cons strong { color: var(--fcc-text); }
@media (max-width: 1000px) { .fcc-mat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fcc-mat-grid { grid-template-columns: 1fr; } }

/* ============================================================
 * Section 2: Find the Right Door for Your Home (matcher)
 * ============================================================ */
.fcc-home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcc-home-card {
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-radius: 10px;
	padding: 24px 22px 22px;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.fcc-home-card:hover { border-color: var(--fcc-red); box-shadow: 0 6px 18px rgba(0,0,0,0.06); transform: translateY(-2px); }
.fcc-home-card__illus { width: 100%; height: 90px; position: relative; margin: 0 0 16px; }
.fcc-home-card__roof, .fcc-home-card__body, .fcc-home-card__door { position: absolute; }
/* Stucco & Tile — tan walls with red tile roof */
.fcc-home--stucco .fcc-home-card__roof { left: 0; right: 0; top: 0; height: 38px; background: linear-gradient(135deg, #b53a2a 0%, #8b2818 100%); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.fcc-home--stucco .fcc-home-card__body { left: 8%; right: 8%; bottom: 0; height: 56px; background: #d4b896; border: 1px solid #b59874; }
.fcc-home--stucco .fcc-home-card__door { left: 36%; bottom: 0; width: 28%; height: 38px; background: #6b4a2a; border: 2px solid #4a3018; border-bottom: 0; }
/* Modern Desert — dark flat-roof angular */
.fcc-home--modern .fcc-home-card__roof { left: 0; right: 0; top: 18px; height: 6px; background: #1a1a1a; }
.fcc-home--modern .fcc-home-card__body { left: 6%; right: 6%; top: 24px; bottom: 0; background: #d8d4cd; border: 1px solid #aaa6a0; }
.fcc-home--modern .fcc-home-card__door { left: 40%; bottom: 0; width: 28%; height: 50px; background: rgba(40,40,40,0.85); border: 2px solid #1a1a1a; border-bottom: 0; }
/* Traditional Ranch — wide horizontal */
.fcc-home--ranch .fcc-home-card__roof { left: 0; right: 0; top: 0; height: 28px; background: linear-gradient(135deg, #6b5a4a 0%, #4a3d33 100%); clip-path: polygon(8% 100%, 50% 0, 92% 100%); }
.fcc-home--ranch .fcc-home-card__body { left: 4%; right: 4%; bottom: 0; height: 60px; background: #e8dac4; border: 1px solid #c4b59a; }
.fcc-home--ranch .fcc-home-card__door { left: 38%; bottom: 0; width: 30%; height: 42px; background: #5a4030; border: 2px solid #3a2818; border-bottom: 0; }
/* Modern Farmhouse — board & batten with gabled */
.fcc-home--farmhouse .fcc-home-card__roof { left: 0; right: 0; top: 0; height: 36px; background: #1a1a1a; clip-path: polygon(8% 100%, 50% 0, 92% 100%); }
.fcc-home--farmhouse .fcc-home-card__body { left: 8%; right: 8%; bottom: 0; height: 58px; background: #f5f1ea; border: 1px solid #c4b59a; background-image: repeating-linear-gradient(90deg, transparent 0, transparent 8px, rgba(180,160,130,0.4) 8px, rgba(180,160,130,0.4) 9px); }
.fcc-home--farmhouse .fcc-home-card__door { left: 36%; bottom: 0; width: 28%; height: 42px; background: #1a1a1a; border: 2px solid #1a1a1a; border-bottom: 0; }

.fcc-home-card__title { font-size: 1.2rem; font-weight: 700; color: var(--fcc-red); margin: 0 0 6px; padding: 0; border: 0; line-height: 1.2; }
.fcc-home-card__desc { color: var(--fcc-text-soft); font-size: 0.88rem; line-height: 1.55; margin: 0 0 14px; }
.fcc-home-card__rec-label { color: var(--fcc-text); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 8px; padding-top: 12px; border-top: 1px solid var(--fcc-border-soft); }
.fcc-home-card__doors { list-style: none; padding: 0; margin: 0; }
.fcc-home-card__doors li { padding: 6px 0 6px 22px; position: relative; font-size: 0.88rem; line-height: 1.4; color: var(--fcc-text); }
.fcc-home-card__doors li::before { content: "→"; position: absolute; left: 0; color: var(--fcc-red); font-weight: 800; }
@media (max-width: 1000px) { .fcc-home-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fcc-home-grid { grid-template-columns: 1fr; } }

/* ============================================================
 * Section 3: Innovation That Sets Clopay Apart
 * ============================================================ */
.fcc-innov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcc-innov-card {
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-radius: 10px;
	padding: 24px 22px;
	transition: border-color .15s, box-shadow .15s;
}
.fcc-innov-card:hover { border-color: var(--fcc-red); box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.fcc-innov-card__badge {
	display: inline-block;
	background: var(--fcc-red);
	color: var(--fcc-white);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 4px;
	margin-bottom: 14px;
}
.fcc-innov-card__title { font-size: 1.15rem; font-weight: 700; color: var(--fcc-black); margin: 0 0 10px; padding: 0; border: 0; line-height: 1.25; }
.fcc-innov-card__desc { color: var(--fcc-text-soft); font-size: 0.92rem; line-height: 1.6; margin: 0; }
@media (max-width: 1000px) { .fcc-innov-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fcc-innov-grid { grid-template-columns: 1fr; } }

/* ============================================================
 * Section 4: Anatomy of a Clopay Door
 * ============================================================ */
.fcc-anatomy-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: center; }
.fcc-anatomy-diagram {
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-radius: 10px;
	padding: 22px;
	position: relative;
}
.fcc-anatomy-layer {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 6px;
	font-weight: 700;
	color: var(--fcc-text);
	font-size: 0.92rem;
}
.fcc-anatomy-layer--ext   { background: linear-gradient(90deg, #d8d4cd 0%, #b8b4ad 100%); }
.fcc-anatomy-layer--core  { background: linear-gradient(90deg, #fef3d4 0%, #f4e4a8 100%); }
.fcc-anatomy-layer--int   { background: linear-gradient(90deg, #b8b4ad 0%, #98948d 100%); color: var(--fcc-white); }
.fcc-anatomy-layer--seal  { background: linear-gradient(90deg, #1a1a1a 0%, #2a2a2a 100%); color: var(--fcc-white); }
.fcc-anatomy-layer--reinf { background: linear-gradient(90deg, #444 0%, #2a2a2a 100%); color: var(--fcc-white); }
.fcc-anatomy-num {
	width: 32px;
	height: 32px;
	background: var(--fcc-red);
	color: var(--fcc-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95rem;
	font-weight: 800;
	flex-shrink: 0;
}
.fcc-anatomy-list { list-style: none; padding: 0; margin: 0; counter-reset: anatomy; }
.fcc-anatomy-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--fcc-border-soft); }
.fcc-anatomy-list li:last-child { border-bottom: 0; }
.fcc-anatomy-list__num {
	width: 36px;
	height: 36px;
	background: var(--fcc-red);
	color: var(--fcc-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 800;
	flex-shrink: 0;
}
.fcc-anatomy-list__name { font-size: 1.05rem; font-weight: 700; color: var(--fcc-black); margin: 4px 0 4px; padding: 0; border: 0; line-height: 1.2; }
.fcc-anatomy-list__desc { color: var(--fcc-text-soft); font-size: 0.92rem; line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .fcc-anatomy-wrap { grid-template-columns: 1fr; } }

/* ============================================================
 * Section 5: Most Popular in Your City
 * ============================================================ */
.fcc-city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fcc-city-card {
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-left: 4px solid var(--fcc-red);
	border-radius: 0 8px 8px 0;
	padding: 18px 20px;
	transition: box-shadow .15s;
}
.fcc-city-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.fcc-city-card__name { font-size: 1.1rem; font-weight: 800; color: var(--fcc-black); margin: 0 0 4px; padding: 0; border: 0; line-height: 1.2; }
.fcc-city-card__arch { color: var(--fcc-text-soft); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin: 0 0 10px; }
.fcc-city-card__door { font-size: 0.95rem; font-weight: 700; color: var(--fcc-red); margin: 0 0 8px; line-height: 1.3; }
.fcc-city-card__why { color: var(--fcc-text-soft); font-size: 0.86rem; line-height: 1.55; margin: 0; }
@media (max-width: 1000px) { .fcc-city-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fcc-city-grid { grid-template-columns: 1fr; } }

/* ---- AZ Climate ---- */
.fcc-climate-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}
.fcc-climate-card {
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-left: 4px solid var(--fcc-red);
	border-radius: 0 10px 10px 0;
	padding: 22px 26px;
}
.fcc-climate-card__title { font-size: 1.2rem; font-weight: 700; color: var(--fcc-red); margin: 0 0 10px; padding: 0; border: 0; line-height: 1.25; }
.fcc-climate-card__body { color: var(--fcc-text); font-size: 0.95rem; line-height: 1.65; margin: 0; }
@media (max-width: 760px) { .fcc-climate-grid { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.fcc-faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }
.fcc-faq-item {
	border: 1px solid var(--fcc-border);
	border-radius: 8px;
	overflow: hidden;
	background: var(--fcc-white);
}
.fcc-faq-item__q {
	background: var(--fcc-black);
	color: var(--fcc-white);
	padding: 16px 22px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 50px;
	line-height: 1.4;
}
.fcc-faq-item__q::-webkit-details-marker { display: none; }
.fcc-faq-item__q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--fcc-red); font-size: 1.4rem; font-weight: 700; transition: transform .2s; }
.fcc-faq-item[open] .fcc-faq-item__q::after { content: "−"; }
.fcc-faq-item__a { padding: 18px 22px; background: var(--fcc-white); color: var(--fcc-text); font-size: 0.96rem; line-height: 1.65; }
.fcc-faq-item__a p { margin: 0; }

@media (max-width: 600px) {
	.fcc-doors-overview__hero { padding: 48px 20px 36px; }
	.fcc-doors-overview__filters { padding: 16px 14px; }
	.fcc-doors-grid { grid-template-columns: 1fr; gap: 18px; }
	.fcc-door-card__img img { height: 200px; }
}

/* ============================================================
 * Archive (/doors/) — service-style listing
 * ============================================================ */
.fcc-archive {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--fcc-text);
	line-height: 1.7;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}
.fcc-archive__hero {
	background: var(--fcc-black);
	color: var(--fcc-white);
	padding: 64px 32px 48px;
	text-align: center;
}
.fcc-archive__title {
	color: var(--fcc-white);
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	font-weight: 800;
	margin: 0 0 12px;
}
.fcc-archive__subtitle {
	color: rgba(255,255,255,0.85);
	font-size: 1.05rem;
	max-width: 65ch;
	margin: 0 auto;
	line-height: 1.55;
}
.fcc-archive__grid-wrap {
	max-width: 1200px;
	margin: 48px auto;
	padding: 0 24px;
}
.fcc-archive-card {
	display: block;
	background: var(--fcc-white);
	border: 1px solid var(--fcc-border);
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: var(--fcc-text);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.fcc-archive-card:hover {
	border-color: var(--fcc-red);
	box-shadow: 0 8px 24px rgba(237,28,35,0.10);
	transform: translateY(-3px);
}
.fcc-archive-card__img img {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: cover;
}
.fcc-archive-card__body { padding: 18px 22px 24px; }
.fcc-archive-card__title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--fcc-red);
	margin: 0 0 6px;
}
.fcc-archive-card__desc {
	color: var(--fcc-text-soft);
	font-size: 0.95rem;
	margin: 0 0 12px;
	line-height: 1.55;
}
.fcc-archive-card__cta {
	color: var(--fcc-red);
	font-weight: 700;
	font-size: 0.92rem;
	letter-spacing: 0.02em;
}
.fcc-archive-card__cta::after {
	content: " →";
}

/* ============================================================
 * Auto-appended sections (when content is rendered through
 * the_content filter on the theme's default single template)
 * ============================================================ */
.fcc-auto-appended { margin-top: 32px; }
.fcc-auto-appended .fcc-section:first-child { margin-top: 0; }

/* ============================================================
 * Responsive
 * ============================================================ */
@media (max-width: 768px) {
	.fcc-hero { min-height: 380px; }
	.fcc-hero__overlay { padding: 40px 20px 32px; }
	.fcc-cta { padding: 40px 20px; }
	.fcc-section { margin: 36px 0; }
	.fcc-section__title { font-size: 1.4rem; }
	.fcc-grid--swatch  { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
	.fcc-grid--card    { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
	.fcc-grid--archive { grid-template-columns: 1fr; gap: 18px; }
	.fcc-archive__hero { padding: 48px 20px 36px; }
	.fcc-archive__grid-wrap { margin: 32px auto; padding: 0 18px; }
}
@media (max-width: 600px) {
	.fcc-hero__title { font-size: 1.6rem; }
	.fcc-cta h2 { font-size: 1.35rem; }
}
