/* ==========================================================================
   A1 Garage — modern native template styles (service_area, ppc, blog, etc.)
   ========================================================================== */

/* ---- Font Awesome 5 family aliases ----------------------------------------
   styles.css hard-codes `font-family:'Font Awesome 5 Free'` for the accordion
   toggle carets (\f0da / \f0d7 / \f105), but the theme bundles Font Awesome 6
   webfonts (registered as 'Font Awesome 6 Free/Brands'). Without an FA5 family
   the caret glyphs render as nothing — that's the "accordion icon missing"
   issue. The classic caret/angle codepoints are identical across FA5/FA6, so we
   alias the FA5 family names to the same bundled woff files. weight 700 (used by
   one rule) falls back to the nearest declared weight (900 = solid). */
@font-face {
	font-family: 'Font Awesome 5 Free';
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url('../webfonts/fa-solid-900.woff2') format('woff2'), url('../webfonts/fa-solid-900.ttf') format('truetype');
}
@font-face {
	font-family: 'Font Awesome 5 Free';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url('../webfonts/fa-regular-400.woff2') format('woff2'), url('../webfonts/fa-regular-400.ttf') format('truetype');
}
@font-face {
	font-family: 'Font Awesome 5 Brands';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url('../webfonts/fa-brands-400.woff2') format('woff2'), url('../webfonts/fa-brands-400.ttf') format('truetype');
}

:root {
	--a1-red: #034b37;
	--a1-red-dark: #a00d25;
	--a1-ink: #0a0a0a;
	--a1-muted: #555;
	--a1-bg-soft: #f1f1f2;
	--a1-radius: 8px;
}

/* WP core emoji sizing — print_emoji_styles removed in a1garage_perf_tweaks(). */
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 0.07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}

.a1-wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* Genesis skip-links: keep visually hidden (legacy theme had none). */
.genesis-skip-link { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px; border: 0; }
.genesis-skip-link:focus { clip: auto; width: auto; height: auto; }

/* Homepage price-estimator flex layout (ported from legacy front-page inline CSS). */
section.location-h2-description.indy.rsd_home_newsection .card.layout-flex { display: flex; gap: 20px; align-items: center; }
section.location-h2-description.indy.rsd_home_newsection .card.layout-flex p,
section.location-h2-description.indy.rsd_home_newsection .card.layout-flex li { font-size: 18px; line-height: 25px; }
section.location-h2-description.indy.rsd_home_newsection .card.layout-flex a.red-button-link.text-std br { display: none; }
section.location-h2-description.indy.rsd_home_newsection .card.layout-flex a.red-button-link.text-std { width: fit-content; padding: 10px 20px 13px; height: auto; border-radius: 5px; }
@media (max-width: 640px) { section.location-h2-description.indy.rsd_home_newsection .card.layout-flex { gap: 0; flex-direction: column; } }

/* Buttons */
.a1-btn {
	display: inline-block;
	background: var(--a1-red);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	padding: .85rem 1.75rem;
	border-radius: var(--a1-radius);
	transition: background .2s ease, transform .2s ease;
}
.a1-btn:hover { background: var(--a1-red-dark); color: #fff; transform: translateY(-1px); }

/* ---- service_area hero ---- */
.a1-service-area .a1-sa-hero {
	background: var(--a1-ink) center/cover no-repeat;
	color: #fff;
	padding: 4.5rem 0;
	text-align: center;
}
.a1-sa-title {
	font-family: "Oswald", "Barlow Semi Condensed", sans-serif;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.05;
	text-transform: uppercase;
	margin: 0 0 .75rem;
	color: #fff;
}
.a1-sa-sub { font-size: 1.25rem; margin: 0 0 1rem; opacity: .95; }
.a1-sa-herocontent { max-width: 760px; margin: 0 auto 1.5rem; }
.a1-sa-herocontent p { margin: 0 0 .75rem; }

/* ---- service_area body ---- */
.a1-sa-body { padding: 3rem 1.25rem; }
.a1-sa-intro {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--a1-ink);
	border-left: 4px solid var(--a1-red);
	padding-left: 1rem;
	margin: 0 0 2rem;
}
.a1-sa-content { font-size: 1.0625rem; line-height: 1.75; }
.a1-sa-content h2, .a1-sa-content h3 { margin-top: 2rem; }

/* ---- NAP ---- */
.a1-nap {
	background: var(--a1-bg-soft);
	border-radius: var(--a1-radius);
	padding: 1.5rem;
	margin: 0 0 2rem;
}
.a1-nap h2 { margin: 0 0 .5rem; font-size: 1.4rem; }
.a1-nap-addr { margin: 0 0 .25rem; }
.a1-nap-phone a { color: var(--a1-red); font-weight: 700; text-decoration: none; }

/* ---- FAQs ---- */
.a1-faqs { margin: 3rem 0; }
.a1-faqs > h2 { text-align: center; margin-bottom: 1.5rem; }
.a1-faq {
	border: 1px solid #e2e2e4;
	border-radius: var(--a1-radius);
	margin-bottom: .75rem;
	background: #fff;
}
.a1-faq summary {
	cursor: pointer;
	padding: 1rem 1.25rem;
	font-weight: 700;
	color: var(--a1-ink);
	list-style: none;
	position: relative;
}
.a1-faq summary::-webkit-details-marker { display: none; }
.a1-faq summary::after { content: "+"; position: absolute; right: 1.25rem; color: var(--a1-red); font-size: 1.4rem; line-height: 1; }
.a1-faq[open] summary::after { content: "\2212"; }
.a1-faq-answer { padding: 0 1.25rem 1rem; }

/* ---- locations accordion (reused legacy markup) ---- */
.a1-locations-block { margin: 2.5rem 0; }
.a1-locations-block .locations ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 0; }
.a1-locations-block .locations .accordion-title { display: inline-block; font-weight: 700; margin-bottom: 1rem; }
.a1-locations-block .mb-accordion-content { display: none; }

/* ---- ACF page hero ---- */
.a1-page-hero {
	background: var(--a1-ink) center/cover no-repeat;
	color: #fff;
	padding: 4rem 0;
	text-align: center;
}
.a1-page-hero-eyebrow {
	font-family: "Oswald", "Barlow Semi Condensed", sans-serif;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	margin: 0 0 .25rem;
	color: var(--a1-red);
}
.a1-page-hero-title {
	font-family: "Oswald", "Barlow Semi Condensed", sans-serif;
	font-size: clamp(1.75rem, 4.5vw, 3rem);
	line-height: 1.08;
	margin: 0 0 1rem;
	color: #fff;
}
.a1-page-hero-content { max-width: 820px; margin: 0 auto 1.5rem; }
.a1-page-hero-content a { color: #fff; text-decoration: underline; }

/* ---- generic single (blog / ppc) ---- */
.a1-entry { max-width: 800px; margin: 0 auto; padding: 2.5rem 1.25rem; }
.a1-entry .entry-title { margin-bottom: .5rem; }

@media (max-width: 640px) {
	.a1-service-area .a1-sa-hero { padding: 3rem 0; }
	.a1-sa-body { padding: 2rem 1rem; }
}

/* =====================================================================
 * Footer — ported from live framework2-child footer-desktop.twig.
 * Single responsive footer (replaces the legacy dt-/mb- footer styles).
 * Loaded after styles.css so these win over the legacy .footer rules.
 * ===================================================================== */
footer.footer { background-color: #ffffff; padding: 60px 20px 30px; color: #333; }
footer.footer .footer-container { max-width: 1200px; margin: 0 auto; }
footer.footer .footer-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
footer.footer .footer-section h3 { margin-bottom: 25px; font-size: 18px; font-weight: 700; color: #333; display: flex; align-items: center; gap: 12px; }
footer.footer .section-icon { width: 40px; height: 40px; background: #034b37; color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
footer.footer .locations-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px 10px; }
footer.footer .locations-list a { color: #000; text-decoration: none; font-size: 14px; transition: color 0.3s; font-weight: 500; }
footer.footer .locations-list a:hover { color: #034b37; }
footer.footer .cta-buttons { display: flex; flex-direction: column; gap: 15px; }
footer.footer .phone-btn { display: block; background-color: #034b37; color: #fff; text-align: center; padding: 10px 20px; text-decoration: none; border-radius: 4px; font-weight: 700; font-size: 18px; transition: background-color 0.3s; }
footer.footer .phone-btn:hover { background-color: #02382a; }
footer.footer .schedule-btn { display: block; background-color: #034b37; color: #fff; text-align: center; padding: 10px 20px; text-decoration: none; border-radius: 4px; font-weight: 700; font-size: 16px; transition: background-color 0.3s; }
footer.footer .schedule-btn:hover { background-color: #02382a; }
footer.footer .phone-btn:hover, footer.footer .phone-btn:focus, footer.footer .schedule-btn:hover, footer.footer .schedule-btn:focus { color: #fff; text-decoration: none; }
footer.footer .contact-info p { margin-bottom: 12px; font-size: 14px; line-height: 1.6; color: #000; font-weight: 500; }
footer.footer .about-links { list-style: none; margin: 0; padding: 0; }
footer.footer .about-links li { margin-bottom: 10px; padding-left: 1rem; position: relative; }
/* Override legacy typography.scss li::before { left: -20px } — beats ul:not(.ul--no-bullet)… specificity. */
footer.footer .about-links li::before { left: 0 !important; }
footer.footer .about-links a { color: #000; text-decoration: none; font-size: 14px; transition: color 0.3s; font-weight: 500; }
footer.footer .about-links a:hover { color: #034b37; }
footer.footer .van-section { display: flex; align-items: center; justify-content: center; }
footer.footer .van-section img { max-width: 300px; height: auto; max-height: 200px; }
footer.footer .powered-by { text-align: center; padding: 10px 0; border-top: 1px solid #e0e0e0; margin: 10px 0; }
footer.footer .powered-by-logo { max-width: 200px; height: auto; }
footer.footer .brand-logos { display: flex; justify-content: center; align-items: center; gap: 30px; margin-bottom: 20px; flex-wrap: wrap; }
footer.footer .brand-logo { height: 60px; width: auto; opacity: 1; transition: opacity 0.3s; }
footer.footer .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-top: 20px; }
footer.footer .copyright { font-size: 14px; color: #666; }
footer.footer .footer-links { display: flex; gap: 15px; align-items: center; }
footer.footer .footer-links a { color: #666; text-decoration: none; font-size: 14px; transition: color 0.3s; font-weight: 600; }
footer.footer .footer-links a:hover { color: #034b37; }
footer.footer .footer-links span { color: #999; }
footer.footer .social-icons { display: flex; gap: 12px; }
footer.footer .social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: #f5f5f5; border-radius: 50%; text-decoration: none; color: #333; font-size: 18px; transition: all 0.3s; }
footer.footer .social-icons a i.fab { color: #000; }
footer.footer .social-icons a:hover { background-color: #034b37; color: #fff; transform: translateY(-2px); }
footer.footer .social-icons a:hover i.fab { color: #fff; }
@media (max-width: 992px) {
	footer.footer .footer-main { grid-template-columns: repeat(2, 1fr); }
	footer.footer .van-section { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 768px) {
	footer.footer { padding: 40px 20px 20px; }
	footer.footer .footer-main { grid-template-columns: 1fr; gap: 30px; }
	footer.footer .van-section { order: 0; }
	footer.footer .locations-list { grid-template-columns: repeat(3, 1fr); }
	footer.footer .brand-logos { gap: 20px; }
	footer.footer .brand-logo { height: 50px; }
	footer.footer .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
	footer.footer .footer-links { flex-direction: row; gap: 10px; justify-content: center; }
}
/* Sticky bottom nav (shell.css: 4rem) — keep Privacy/Terms above the bar on phones. */
@media (max-width: 639px) {
	footer.footer {
		padding-bottom: calc(4rem + 1rem + env(safe-area-inset-bottom, 0px));
	}
}
@media (max-width: 480px) {
	footer.footer .locations-list { grid-template-columns: repeat(3, 1fr); }
	footer.footer .phone-btn { font-size: 16px; padding: 12px 15px; }
	footer.footer .schedule-btn { padding: 12px 15px; font-size: 15px; }
	footer.footer .social-icons a { width: 36px; height: 36px; font-size: 16px; }
	footer.footer .brand-logos { gap: 20px; display: grid; grid-template-columns: repeat(2, 1fr); }
	footer.footer .brand-logo { height: auto; max-height: 100px; margin: auto; }
}

/* Site shell — fixed header on scroll (live HFCM header.is-sticky rules). */
header.is-sticky {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9999;
	background: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header.is-sticky .header-desktop.header a.logo img {
	max-width: 150px;
}

header.is-sticky ul.dt-menu {
	margin-top: 60px;
}

header.is-sticky .dt-header-btns a.btn.btn-primary.text-std,
header.is-sticky .dt-header-btns button.btn.btn-secondary.se-widget-button.text-std {
	padding: 10px;
}

/*
 * Desktop header CTAs — match live Customizer CSS (framework2-child additional CSS):
 * `.btn, header .btn { … 16px, 6px radius, 1px border }`.
 * Phone uses Directors Gothic Bold (live); Schedule stays Barlow like live computed styles.
 * Higher specificity than shell.css `.dt-header-btns a.btn { font-weight:400 }` (loads after).
 */
.header-desktop .dt-header-btns a.btn,
.header-desktop .dt-header-btns button.btn {
	background-image: none !important;
	border-radius: 6px;
	border-style: solid !important;
	border-width: 1px !important;
	box-sizing: border-box !important;
	display: inline-block;
	font-size: 16px !important;
	line-height: 1em;
	max-width: 100%;
	/* Keep legacy 10rem / 12rem from styles.css+shell.css (live computes ~192px, not Customizer 200px). */
	outline: 0 !important;
	/* Tighter vertical than legacy 1rem — Directors Gothic Bold reads taller in the same box. */
	padding: 0.7rem 2rem;
	text-align: center !important;
	text-decoration: none;
	transition: color 0.3s ease-in-out, background 0.3s ease-in-out, border 0.3s ease-in-out;
	width: auto;
}

.header-desktop .dt-header-btns a.btn-primary {
	border-color: #333;
	color: #333;
	font-family: 'Oswald', sans-serif !important;
	font-weight: 700 !important;
}

.header-desktop .dt-header-btns a.btn-secondary,
.header-desktop .dt-header-btns button.btn-secondary {
	border-color: #fff;
	color: #fff;
}

.header-desktop .dt-header-btns a.btn:hover,
.header-desktop .dt-header-btns a.btn:focus,
.header-desktop .dt-header-btns button.btn:hover,
.header-desktop .dt-header-btns button.btn:focus {
	cursor: pointer;
}

header.is-sticky .header-desktop.header {
	height: 6rem;
}

@media (max-width: 600px) {
	header.is-sticky .header-mobile.header {
		padding: 5px;
	}

	header.is-sticky .header-mobile.header .logo-container a.logo img {
		max-height: 40px;
	}
}

/* Landing-page headers (#lp_header) — phone CTA wraps on narrow phones (e.g. /garage-door-repairs-v2/). */
@media (max-width: 390px) {
	#lp_header .header_logo {
		width: 120px;
		max-width: 38%;
	}
	#lp_header .lp_heaader_wrapper {
		gap: 6px;
	}
	#lp_header .cta_box {
		gap: 6px;
		flex-shrink: 0;
	}
	#lp_header .cta_main {
		white-space: nowrap;
		font-size: 13px;
		line-height: 1.3;
		padding: 8px 8px 8px 10px;
	}
}

/* Site shell mobile header — allow Call / Schedule labels to breathe on small screens. */
@media (max-width: 639px) {
	.header-mobile.header {
		max-width: 100%;
		box-sizing: border-box;
	}

	.header-mobile .mb-header-btns {
		gap: 0.5rem;
		align-items: stretch;
		flex-wrap: wrap;
		max-width: 100%;
	}

	.header-mobile .mb-header-btn {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: auto;
		flex: 1 1 0;
		min-width: 0;
		height: 2rem !important;
		min-height: 2rem;
		line-height: 1.2 !important;
		padding: 0 0.35rem;
		font-size: 0.75rem;
		white-space: nowrap;
		box-sizing: border-box;
	}
}

/* Narrow phones — stack header CTAs (live parity; avoids horizontal scroll). */
@media (max-width: 480px) {
	.header-mobile .mb-header-btn {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: 100%;
	}
}

/*
 * Sticky bottom nav — keep visible until desktop header appears (64em / 1024px).
 * styles.css hides .sticky-nav-container at min-width:48em; shell.css previously
 * hid it at 40em. That left ~640–1023px with no header menus and no bottom nav.
 */
@media (max-width: 63.9375em) {
	.sticky-nav-container.active {
		display: block !important;
	}
}

@media (min-width: 64em) {
	.sticky-nav-container {
		display: none !important;
	}
}

/* ==========================================================================
   SiteOrigin Page Builder grid base (ported from siteorigin-panels front-flex.css)
   The /media/, /featured-articles/ and /jingle/ pages were converted from
   SiteOrigin to classic content (frozen panels markup). The per-layout cell
   widths/margins ship inline in each page's content (<style> keyed by #pg-*/#pgc-*);
   these are the generic flexbox grid rules so layout survives the plugin removal.
   ========================================================================== */
.panel-grid.panel-no-style,
.panel-grid.panel-has-style > .panel-row-style {
	display: -webkit-flex;
	display: flex;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-justify-content: space-between;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}
.panel-layout {
	width: 100%;
}
/* Higher-specificity flex row rules (must include gutter props — display-only
   overrides were dropping justify-content: space-between on /media/). */
.default-content-wrapper .content-header.section .panel-layout .panel-grid.panel-no-style,
.default-content-wrapper .content-header.section .panel-layout .panel-grid.panel-has-style > .panel-row-style {
	display: -webkit-flex;
	display: flex;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-justify-content: space-between;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	width: 100%;
}
.panel-grid-cell {
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.panel-grid-cell .panel-cell-style { height: 100%; }
.panel-grid-cell .so-panel { zoom: 1; }
.panel-grid-cell .so-panel:before { content: ''; display: block; }
.panel-grid-cell .so-panel:after { content: ''; display: table; clear: both; }
.panel-grid-cell .panel-last-child { margin-bottom: 0; }
.panel-grid-cell .widget-title { margin-top: 0; }
.panel-layout .so-panel .textwidget img { max-width: 100%; height: auto; }
/* Keep the brandfolder video embeds at their natural size (matches live, which
   renders them at the default iframe box) while staying responsive on mobile. */
.panel-layout .so-panel .textwidget iframe { max-width: 100%; }

/* SiteOrigin audio widgets (/media/ radio spots): honour inline 50% cell widths
   and keep MediaElement players within the column (live: mejs-container max-width 100%). */
.panel-layout .widget_media_audio .wp-audio-shortcode,
.panel-layout .widget_media_audio .mejs-container {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.panel-layout .widget_media_audio .mejs-container {
	clear: both;
}
.panel-layout .widget_media_audio .mejs-container .mejs-controls {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.panel-layout .panel-grid.panel-no-style > .panel-grid-cell:not(.panel-grid-cell-empty) {
	flex: 0 0 auto;
	min-width: 0;
}

/* SiteOrigin pages skip copy-section grouping — match copy-section mobile gutters. */
@media screen and (max-width: 600px) {
	.default-content-wrapper .content-header.section .panel-layout {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
		box-sizing: border-box;
	}
}

/* ---- /news/ archive list (template-news.php) ----------------------------- */
.news-list.section { max-width: 1440px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.news-item { border-bottom: 1px solid #e7e7e7; padding: 2rem 0; }
.news-item:first-child { padding-top: 0; }
.news-item__title { font-size: 1.75rem; margin: 0 0 0.75rem; }
.news-item__title a { color: inherit; text-decoration: none; }
.news-item__title a:hover { color: #034b37; }
.news-item__excerpt { margin: 0 0 1rem; }

/* ---- Blog single related posts (block--related-post) --------------------- */
.block--related-post { background: #fff; margin-top: 1.5rem; }
/* Kill the shared block padding (styles.css .block__content-wrapper: 3.125rem 0). */
.block--related-post .block__content-wrapper { padding-top: 0; padding-bottom: 0; }
.block--related-post h3 { text-align: center; margin-bottom: 1rem; }
.block--related-post .blog-item { margin-bottom: 1.25rem; }
.block--related-post .blog-item__image { background-position: center; margin-bottom: 0.5rem; }
.block--related-post .blog-item__image-default { height: 120px; background: #e7e7e7; margin-bottom: 0.5rem; }
.block--related-post .blog-item__title { display: block; margin: 0.25rem 0; color: inherit; text-decoration: none; font-family: 'Barlow', sans-serif; font-size: 24px; font-weight: 700; line-height: 1.3; }
.block--related-post .blog-item__read-more { color: #034b37; }

/* ---- /news/ landing (template-news.php) ---------------------------------- */
.temp-news .news-archive__wrapper { position: relative; background: #fff; }
.temp-news .news-archive__section h2 { text-align: center; margin: 2rem 0 1.5rem; }
.temp-news .news-card { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e7e7e7; }
.temp-news .news-card__header { font-size: 1.25rem; margin: 0 0 0.5rem; }
.temp-news .news-card__header a { color: inherit; text-decoration: none; }
.temp-news .news-card__excerpt { margin: 0 0 0.75rem; }
.temp-news .news-card__link { color: #034b37; font-weight: 600; }
.temp-news .news-archive__section .load-more.news-button {
	display: block;
	margin: 2rem auto 0;
	cursor: pointer;
	border: 0;
}

/* styles.css bumps .textwidget to 2rem/1.5rem at ≥64em; keep base padding. */
@media print, screen and (min-width: 64em) {
	.temp-news .textwidget {
		padding: 1.5rem 1rem;
	}
}

/* ---- Master Slider ------------------------------------------------------- */
.master-slider-parent {
	padding-bottom: 1.5rem;
}

/* ---- Inspiration gallery carousel ----------------------------------------
   Live Divi customizer adds min-height:480px on .carousel-images so each
   image fills the track (img{height:100%}) and the JS translateX(-50%) offset
   shows one full image with left/right neighbors half-visible. Without it,
   styles.css height:14–19rem shrinks images enough that three show at once. */
@media print, screen and (min-width: 64em) {
	.inspiration-gallery-section .carousel-images {
		height: 480px;
		min-height: 480px;
	}
}

/* Service single banner hero — image-only overlay (empty .hero-body, no mb-only CTA).
   Removing the duplicate mobile Call Now collapsed the band; restore height on phones. */
@media screen and (max-width: 63.9375em) {
	.page__main[class*="page--service-single"] > section.hero.default-hero {
		min-height: 12rem;
	}
}

/*
 * /24-hour-emergency-garage-door-repair-service/ (page 25112) — ACF page_stylesheet
 * still ships top:10rem to clear the hero .sc_strip. That gap is excessive; tighten it.
 * !important beats the per-page admin CSS (DB is disposable; layout lives in theme).
 */
.page-id-25112 .off-canvas-content article.service-single-c-content-wrapper,
.page-id-25112 article.service-single-c-content-wrapper {
	top: 3rem !important;
}

@media screen and (max-width: 63.9375em) {
	.page-id-25112 .off-canvas-content article.service-single-c-content-wrapper,
	.page-id-25112 article.service-single-c-content-wrapper {
		top: 1rem !important;
	}
}

/* page-reviews.php — cancel styles.css bottom:3rem on FB CTA (mobile/tablet). */
@media (max-width: 63.9375em) {
	.reviews-main-article .reviews-fb .reviews-section__btn {
		bottom: 0 !important;
	}
}

/*
 * Service-single accordion images — live Customizer CSS on framework2-child
 * (not loaded under theme a1garage). styles.css desktop uses object-fit:cover
 * which crops brand logos (best-garage-doors / garage-door-brands) and photos.
 * Match live: contain inside a 1:1 box.
 */
.accordion-main-content .accordion .accordion-content__img {
	object-fit: contain;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
}
