/*
 * a1-default-page.css — template-container layout pages (page.php default,
 * page-amarr-page, page-amarr-main, Page-collection-type).
 *
 * Live ships these via WP Rocket used CSS + legacy Divi customizer globals. The
 * compiled styles.css covers most .default-content-wrapper rules but not the
 * content-header width column, read-more toggles, or app.css heading overrides.
 */

/* Beat .default-content-wrapper .section { max-width: none } from styles.css. */

/* WP caption figures ship inline width (e.g. style="width:753px") — preserve on desktop, shrink on mobile. */

/* Product/inline hero images: left at natural width, not full column. */

/*
 * Tailwind shell/app.css .size-full = 100%×100%; WP size-full = attachment size class.
 * Default-template copy sections (e.g. /chamberlin-b550/ product hero in h2).
 */

/*
 * Pasted YouTube/Vimeo iframes (width="560") inside <center> — live WP Rocket wraps
 * .rll-youtube-player (16:9); keep normal .copy-section gutters (4rem / 1.5rem mobile)
 * and gray-band max-width (1280px). Embed fills the padded inner column.
 */

/* Divs like .readmore-blockz are not in the styles.css max-width list. */

/* H1 centered (matches live default-template pages). */

/*
 * Copy-section subheadings — live Divi customizer / WP Rocket used CSS
 * (.content-header.section .copy-section h2/h3). Ship in the theme so they
 * apply on first paint instead of flashing Directors Gothic then switching ~2s later.
 */

/*
 * Body links in default-template content — live Foundation a{color:#034b37;font-weight:800}.
 * Beat Genesis gutenberg/front-end.css .site-container p.has-background a{color:inherit}.
 */

.site-container .default-content-wrapper .content-header.section p.has-background a:not(.wp-block-button__link),
.site-container .default-content-wrapper .content-header.section p.has-text-color a:not(.wp-block-button__link),
.site-container .default-content-wrapper .content-header.section .copy-section p.has-background a:not(.wp-block-button__link),
.site-container .default-content-wrapper .content-header.section .copy-section p.has-text-color a:not(.wp-block-button__link) {
	color: #034b37 !important;
	font-weight: 800;
	text-decoration: none;
}

/*
 * Genesis gutenberg blockquotes add margin: 24px 24px 36px on .site-container
 * .wp-block-quote — stacks with copy-section gutters + legacy blockquote padding.
 */

/* Legacy read-more: collapsed only when a .show-block toggle exists (color pages
 * use readmore-blockz as a layout wrapper and stay visible on live). */

/*
 * Legacy Divi global-btn row (Call Now / Build My Door) on collection + Amarr pages.
 * Live customizer / HFCM: only `p.global-btn` is inline-flex with width:100% children
 * (~50% each). Pages that omit the class (e.g. Grand Harbor) keep content-sized buttons.
 */

/* Legacy HFCM: stack Call Now / Build My Door at ≤499px (inline-flex row squeezes on mobile). */

/* Gutenberg button blocks (reusable block ref on material pages like /aluminum-garage-doors/). */

/* Other wp-block buttons in default-template content (non-global-btn). */

/* Gutenberg image blocks (e.g. product hero on material pages). */

/*
 * /military-veterans-careers/ — AVSE logo beside intro copy (live parity).
 * Float the Gutenberg .wp-block-image wrapper (not display:contents — that
 * let the float escape the flex column and overlap the h2 below). flow-root
 * on the content column contains the float; mobile stack unchanged (≤600px).
 */
@media screen and (min-width: 601px) {
	.page-id-17214 .default-content-wrapper .wp-block-column.has-background {
		display: flow-root;
	}

	.page-id-17214 .default-content-wrapper .wp-block-column.has-background .wp-block-image:has(> .alignright) {
		float: right;
		width: auto;
		max-width: 50%;
		margin: 0 0 20px 20px;
	}

	.page-id-17214 .default-content-wrapper .wp-block-column.has-background .wp-block-image figure.alignright {
		float: none;
		display: block;
		margin: 0;
		max-width: none;
	}

	.page-id-17214 .default-content-wrapper .wp-block-column.has-background .wp-block-image figure.alignright img {
		display: block;
		margin: 0;
		width: auto;
		max-width: 100%;
		height: auto;
	}
}

/*
 * Default-template mobile layout (buyers guide, Amarr pages, etc.).
 * a1-location.css copy-section padding + table rules only load on service_area.
 */

@media screen and (max-width: 767px) {

	/* Legacy gutter cells (~2–5% inline width), not content columns. */
}

/* Amarr / buyers guide listing grids (HFCM CSS used .page-template-page-amarr-page). */

/* Amarr product grid — overlay .logo-brand on the door image, not the caption below. */

/* Empty legacy link before the logo wrapper — not used for layout. */

/* Legacy column shortcodes (Clopay collection pages) — Foundation .row/.columns from styles.css. */

/*
 * Legacy .btn-orange in post_content (Call now / Clopay CTAs): live has no button
 * styles for this class — it renders as a normal red content link (Foundation a).
 * Do not restyle as a block button; that broke product pages vs live.
 * Real buttons use .wp-block-button__link / .red-button-link / .button.
 */

/* Legacy column shortcode CTAs — stack full-width on phones (Clopay collection pages). */
