/*
Theme Name: Preservation Home
Description: Custom theme built for Preservation Home Specialists. Child theme of the Beaver Builder Theme: brand colors, Catamaran, the square motif and the section, card and button classes used by the saved rows. Built by Cloverjet (cloverjet.com).
Author: Cloverjet
Author URI: https://cloverjet.com
Template: bb-theme
Version: 1.0.0
Requires PHP: 8.0
Text Domain: preservation-home
*/

/* ==========================================================================
   Fonts: Catamaran (variable, self-hosted, SIL OFL)
   ========================================================================== */

@font-face {
	font-family: "Catamaran";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/catamaran-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Catamaran";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/catamaran-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--ph-green: #A8CF44;
	--ph-green-hover: #9BC23A;
	--ph-green-light: #C9E38A;
	--ph-green-tint: #EEF6DC;
	--ph-green-dark: #4D6B12;
	--ph-green-deep: #34480C;
	--ph-ink: #1F2A33;
	--ph-slate: #3A4650;
	--ph-slate-blue: #30414F;
	--ph-gray-light: #E3E7EA;
	--ph-gray-mid: #9AA6AF;
	--ph-cream: #F5F3EE;
	--ph-white: #FFFFFF;
	--ph-on-dark: #D0D7DC;
	--ph-on-dark-muted: #B8C2C9;

	--ph-font: "Catamaran", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--ph-radius-sm: 8px;
	--ph-radius: 12px;
	--ph-radius-lg: 16px;


	/* Square motif before H2s */
	--ph-mark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'><g fill='%23A8CF44'><rect width='10' height='10'/><rect x='12' width='10' height='10'/><rect y='12' width='10' height='10'/><rect x='12' y='12' width='10' height='10'/></g></svg>");

	/* Background motifs (sizes and opacity match the approved design) */
	--ph-grid-380: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='380' height='380' viewBox='0 0 380 380'><g fill='none' stroke='%23A8CF44' stroke-width='3' opacity='.1'><rect x='1.5' y='1.5' width='181' height='181'/><rect x='197.5' y='1.5' width='181' height='181'/><rect x='1.5' y='197.5' width='181' height='181'/><rect x='197.5' y='197.5' width='181' height='181'/></g></svg>");
	--ph-grid-280: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'><g fill='none' stroke='%23A8CF44' stroke-width='3' opacity='.1'><rect x='1.5' y='1.5' width='131' height='131'/><rect x='147.5' y='1.5' width='131' height='131'/><rect x='1.5' y='147.5' width='131' height='131'/><rect x='147.5' y='147.5' width='131' height='131'/></g></svg>");
	--ph-grid-240-dark: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><g fill='none' stroke='%23A8CF44' stroke-width='6' opacity='.2'><rect x='3' y='3' width='109' height='109'/><rect x='128' y='3' width='109' height='109'/><rect x='3' y='128' width='109' height='109'/><rect x='128' y='128' width='109' height='109'/></g></svg>");
	--ph-solid-08: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><rect width='10' height='10' fill='%23A8CF44' fill-opacity='.08'/></svg>");
	--ph-solid-07: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'><rect width='10' height='10' fill='%23A8CF44' fill-opacity='.07'/></svg>");
	--ph-outline-300: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'><rect x='1.5' y='1.5' width='297' height='297' fill='none' stroke='%2330414F' stroke-width='3' opacity='.08'/></svg>");
	--ph-outline-320: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'><rect x='1.5' y='1.5' width='317' height='317' fill='none' stroke='%2330414F' stroke-width='3' opacity='.08'/></svg>");

	--ph-quote: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='26' viewBox='0 0 34 26'><path d='M0 26V14C0 6 5 1 13 0v5c-4 1-6 4-6 8h6v13zm20 0V14c0-8 5-13 13-14v5c-4 1-6 4-6 8h6v13z' fill='%23A8CF44'/></svg>");
}

/* ==========================================================================
   Base typography
   ========================================================================== */

body {
	font-family: var(--ph-font);
	font-size: 18px;
	line-height: 1.55;
	color: var(--ph-slate);
	background: var(--ph-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.fl-builder-content :is(h1, h2, h3, h4, h5, h6) {
	font-family: var(--ph-font);
	font-weight: 800;
	color: var(--ph-ink);
	letter-spacing: 0;
	text-transform: none;
	text-wrap: balance;
}

/* No one-word last lines in body copy (browsers without support ignore it). */
p,
li {
	text-wrap: pretty;
}

h1 { font-size: clamp(38px, 2.2rem + 2.2vw, 58px); line-height: 1.04; }
h2 { font-size: clamp(28px, 1.6rem + 1.2vw, 40px); line-height: 1.1; }

@media (max-width: 480px) {
	h2 { font-size: 28px; }
}
h3 { font-size: clamp(23px, 1.2rem + 0.8vw, 28px); line-height: 1.15; }
h4 { font-size: 22px; line-height: 1.2; }
h5 { font-size: 19px; line-height: 1.25; }
h6 { font-size: 17px; line-height: 1.3; }

a {
	color: var(--ph-slate-blue);
}

a:hover,
a:focus {
	color: var(--ph-ink);
}

:focus-visible {
	outline: 3px solid var(--ph-green);
	outline-offset: 2px;
}

strong, b {
	font-weight: 700;
}

.fl-rich-text p:last-child,
.fl-rich-text ul:last-child,
.fl-rich-text ol:last-child {
	margin-bottom: 0;
}

/* Type utilities (add to a module's Class field) */
.ph-lead,
.ph-lead p {
	font-size: 20px;
	line-height: 1.55;
}

.ph-h-sm :is(h1, h2, h3, h4),
:is(h1, h2, h3, h4).ph-h-sm {
	font-size: 22px;
	line-height: 1.2;
}

/* ==========================================================================
   Square motif before H2s
   Automatic on Heading modules and H2s in text/post content.
   Turn off with .ph-no-mark. Off inside dark sections, cards and header/footer.
   ========================================================================== */

/* Heading module. BB 2.11 lean markup renders the wrapper as the h2 itself;
   both forms covered. Flex keeps wrapped lines aligned, square centered. */
h2.fl-module-heading,
.fl-module-heading h2.fl-heading {
	display: flex;
	align-items: center;
	gap: 14px;
}

h2.fl-module-heading::before,
.fl-module-heading h2.fl-heading::before {
	content: "";
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	background: var(--ph-mark) no-repeat center / 22px 22px;
}

/* Phones: multi-line headings keep the square beside the first line. */
@media (max-width: 768px) {
	h2.fl-module-heading,
	.fl-module-heading h2.fl-heading {
		align-items: flex-start;
	}

	h2.fl-module-heading::before,
	.fl-module-heading h2.fl-heading::before {
		margin-top: calc(0.55em - 11px);
	}

	.fl-rich-text h2::before,
	.fl-post-content h2::before,
	.fl-module-fl-post-content h2::before {
		top: 0.55em;
	}
}

h2.fl-module-heading.ph-center,
.fl-module-heading.ph-center h2.fl-heading {
	justify-content: center;
}

/* Text editor and post content H2s */
.fl-rich-text h2,
.fl-post-content h2,
.fl-module-fl-post-content h2 {
	position: relative;
	padding-left: 36px;
}

.fl-rich-text h2::before,
.fl-post-content h2::before,
.fl-module-fl-post-content h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 22px;
	height: 22px;
	transform: translateY(-50%);
	background: var(--ph-mark) no-repeat center / 22px 22px;
}

/* Opt-outs */
:is(.ph-no-mark, .ph-dark, .ph-card, .ph-card-cream, .ph-card-green, .ph-quote, .ph-site-header, .ph-site-footer) h2.fl-heading,
h2.fl-module-heading.ph-no-mark {
	display: block;
}

:is(.ph-no-mark, .ph-dark, .ph-card, .ph-card-cream, .ph-card-green, .ph-quote, .ph-site-header, .ph-site-footer) h2 {
	padding-left: 0;
}

h2.fl-module-heading.ph-no-mark::before {
	content: none;
}

:is(.ph-no-mark, .ph-dark, .ph-card, .ph-card-cream, .ph-card-green, .ph-quote, .ph-site-header, .ph-site-footer) h2::before,
:is(.ph-no-mark, .ph-dark, .ph-card, .ph-card-cream, .ph-card-green, .ph-quote, .ph-site-header, .ph-site-footer) h2:is(.fl-module-heading, .fl-heading)::before {
	content: none;
	background: none;
}

/* ==========================================================================
   Background motifs (row Class field)
   ========================================================================== */

.fl-row[class*="ph-motif-"] > .fl-row-content-wrap {
	position: relative;
	overflow: hidden;
}

.fl-row[class*="ph-motif-"] > .fl-row-content-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-repeat: no-repeat;
}

.fl-row[class*="ph-motif-"] > .fl-row-content-wrap > .fl-row-content {
	position: relative;
	z-index: 1;
}

/* Hero: 2x2 outline grid, left */
.fl-row.ph-motif-grid-left > .fl-row-content-wrap::before {
	background-image: var(--ph-grid-380);
	background-size: 380px 380px;
	background-position: left -140px top 60px;
}

/* Outline square over solid square, right */
.fl-row.ph-motif-squares-right > .fl-row-content-wrap::before {
	background-image: var(--ph-outline-300), var(--ph-solid-08);
	background-size: 300px 300px, 240px 240px;
	background-position: right 40px top 70px, right -60px top 140px;
}

/* 2x2 outline grid, bottom left */
.fl-row.ph-motif-grid-bottom-left > .fl-row-content-wrap::before {
	background-image: var(--ph-grid-280);
	background-size: 280px 280px;
	background-position: left -110px bottom 10px;
}

/* Solid square, top right */
.fl-row.ph-motif-square-right > .fl-row-content-wrap::before {
	background-image: var(--ph-solid-07);
	background-size: 260px 260px;
	background-position: right -90px top -20px;
}

/* Outline square plus small solid square, left */
.fl-row.ph-motif-squares-left > .fl-row-content-wrap::before {
	background-image: var(--ph-outline-320), var(--ph-solid-07);
	background-size: 320px 320px, 140px 140px;
	background-position: left -120px top -40px, left 150px bottom 20px;
}

/* ==========================================================================
   Panels and cards (column or module Class field)
   ========================================================================== */

.fl-col.ph-panel > .fl-col-content,
.fl-module.ph-panel,
.fl-col.ph-dark > .fl-col-content,
.fl-module.ph-dark {
	border-radius: var(--ph-radius-lg);
	padding: 56px 48px;
}

.fl-col.ph-panel > .fl-col-content,
.fl-module.ph-panel {
	background: var(--ph-cream);
}

/* Dark CTA box */
.fl-col.ph-dark > .fl-col-content,
.fl-module.ph-dark {
	position: relative;
	overflow: hidden;
	background: var(--ph-ink);
	color: var(--ph-on-dark);
}

.ph-dark :is(h1, h2, h3, h4, h5, h6) {
	color: var(--ph-white);
}

.ph-dark a:not(.fl-button):not(.ph-btn) {
	color: var(--ph-green-light);
}

/* Dark box corner grid motif (add with ph-dark) */
.fl-row.ph-motif-grid-corner > .fl-row-content-wrap::before {
	background-image: var(--ph-grid-240-dark);
	background-size: 240px 240px;
	background-position: left -50px bottom -50px;
}

.fl-col.ph-motif-grid-corner > .fl-col-content::before {
	content: "";
	position: absolute;
	left: -50px;
	bottom: -50px;
	width: 240px;
	height: 240px;
	pointer-events: none;
	background: var(--ph-grid-240-dark) no-repeat center / 240px 240px;
}

.fl-col.ph-motif-grid-corner > .fl-col-content > * {
	position: relative;
	z-index: 1;
}

/* Outline card (testimonials, general) */
.fl-col:is(.ph-card, .ph-quote) > .fl-col-content,
.fl-module:is(.ph-card, .ph-quote) {
	background: var(--ph-white);
	border: 1px solid var(--ph-gray-light);
	border-radius: var(--ph-radius);
	padding: 30px;
}

/* Filled info cards (specials, financing, referrals) */
.fl-col:is(.ph-card-cream, .ph-card-green) > .fl-col-content,
.fl-module:is(.ph-card-cream, .ph-card-green) {
	border-radius: var(--ph-radius);
	padding: 32px;
}

.fl-col.ph-card-cream > .fl-col-content,
.fl-module.ph-card-cream {
	background: var(--ph-cream);
}

.fl-col.ph-card-green > .fl-col-content,
.fl-module.ph-card-green {
	background: var(--ph-green-tint);
	color: var(--ph-green-deep);
}

:is(.ph-card-cream, .ph-card-green) :is(h2, h3) {
	font-size: 28px;
	line-height: 1.15;
}

/* Full-band boxes: the row itself is the panel or dark box (set row Width to
   Fixed so the box stays inset). A box holding a heading band plus a grid band
   is two stacked rows: use -top on the first and -bottom on the second. */
.fl-row:is(.ph-panel, .ph-panel-top, .ph-panel-bottom) > .fl-row-content-wrap {
	background-color: var(--ph-cream);
}

.fl-row:is(.ph-dark, .ph-dark-top, .ph-dark-bottom) > .fl-row-content-wrap {
	background-color: var(--ph-ink);
	color: var(--ph-on-dark);
}

.fl-row:is(.ph-panel, .ph-dark) > .fl-row-content-wrap {
	border-radius: var(--ph-radius-lg);
	padding: 56px 48px;
}

.fl-row:is(.ph-panel-top, .ph-dark-top) > .fl-row-content-wrap {
	border-radius: var(--ph-radius-lg) var(--ph-radius-lg) 0 0;
	padding: 56px 48px 4px;
}

.fl-row:is(.ph-panel-bottom, .ph-dark-bottom) > .fl-row-content-wrap {
	border-radius: 0 0 var(--ph-radius-lg) var(--ph-radius-lg);
	padding: 0 48px 56px;
}

@media (max-width: 768px) {
	.fl-row:is(.ph-panel, .ph-dark) > .fl-row-content-wrap {
		padding: 40px 24px;
	}

	.fl-row:is(.ph-panel-top, .ph-dark-top) > .fl-row-content-wrap {
		padding: 40px 24px 4px;
	}

	.fl-row:is(.ph-panel-bottom, .ph-dark-bottom) > .fl-row-content-wrap {
		padding: 0 24px 40px;
	}
}

/* Light green card inside the dark CTA (Thryv embed). The Thryv iframe has a
   transparent background, so the card color shows behind the form; Thryv's
   white fields, dark labels and form border come from Thryv and can't be
   styled from here. Tint (not white) so the form ties into the navy/green. */
.fl-col.ph-embed-card > .fl-col-content,
.fl-module.ph-embed-card {
	background: var(--ph-green-tint);
	color: var(--ph-ink);
	border-top: 6px solid var(--ph-green);
	border-radius: var(--ph-radius);
	padding: 10px 32px 24px;
}

/* The card sits inside .ph-dark, whose headings are white; keep its own
   heading dark so it shows on the light card. */
.ph-dark .ph-embed-card :is(h1, h2, h3, h4, h5, h6) {
	color: var(--ph-ink);
}

.ph-embed-card > h3:first-child,
.ph-embed-card .fl-col-content > h3:first-child {
	margin-top: 10px;
}

.ph-embed-card a:not(.fl-button):not(.ph-btn) {
	color: var(--ph-green-dark);
}

.ph-embed-card iframe {
	display: block;
	width: 100%;
	border: 0;
}

@media (max-width: 768px) {
	.fl-col.ph-panel > .fl-col-content,
	.fl-module.ph-panel,
	.fl-col.ph-dark > .fl-col-content,
	.fl-module.ph-dark {
		padding: 40px 24px;
	}

	.fl-col:is(.ph-card, .ph-quote, .ph-card-cream, .ph-card-green, .ph-embed-card) > .fl-col-content,
	.fl-module:is(.ph-card, .ph-quote, .ph-card-cream, .ph-card-green, .ph-embed-card) {
		padding: 24px;
	}

	/* Phones: thinner card padding so the Thryv form gets more width. */
	.fl-col.ph-embed-card > .fl-col-content,
	.fl-module.ph-embed-card {
		padding: 8px 16px 20px;
	}
}

/* Testimonial: quote mark, quote text, name */
.fl-col.ph-quote > .fl-col-content::before,
.fl-module.ph-quote::before {
	content: "";
	display: block;
	width: 34px;
	height: 26px;
	margin-bottom: 14px;
	background: var(--ph-quote) no-repeat left top / 34px 26px;
}

.ph-quote blockquote,
.ph-quote .ph-quote-text,
.ph-quote .ph-quote-text p {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	font-size: 19px;
	line-height: 1.5;
	color: var(--ph-ink);
}

.ph-cite,
.ph-cite p {
	font-size: 16px;
	font-weight: 700;
	color: var(--ph-green-dark);
}

/* ==========================================================================
   Images
   ========================================================================== */

.ph-rounded img,
img.ph-rounded {
	border-radius: var(--ph-radius);
}

/* Hero photo with offset green frame (Photo module Class field) */
.fl-module.ph-photo-frame {
	position: relative;
	padding: 24px;
}

.fl-module.ph-photo-frame::before {
	content: "";
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width: 70%;
	height: 72%;
	border: 10px solid var(--ph-green);
	border-radius: 4px;
	box-sizing: border-box;
	pointer-events: none;
}

.fl-module.ph-photo-frame :is(.fl-photo, img) {
	position: relative;
}

.fl-module.ph-photo-frame img {
	border-radius: var(--ph-radius);
}

/* Phones: photo starts on the text edge; the frame still peeks out top-right. */
@media (max-width: 768px) {
	.fl-module.ph-photo-frame {
		padding: 16px 16px 16px 0;
	}
}

/* ==========================================================================
   Buttons
   Button module defaults to the primary green button. Colors or padding set
   in a Button module's own settings still override these.
   Variants (module Class field): ph-btn-outline, ph-btn-dark, ph-btn-sm
   Plain links in text/HTML: class="ph-btn" plus the same variant classes.
   ========================================================================== */

.fl-builder-content a.fl-button,
.fl-builder-content a.fl-button:visited,
a.ph-btn,
a.ph-btn:visited {
	display: inline-block;
	background: var(--ph-green);
	color: var(--ph-ink);
	border: 0;
	border-radius: var(--ph-radius-sm);
	padding: 16px 28px;
	font-family: var(--ph-font);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.fl-builder-content a.fl-button *,
.fl-builder-content a.fl-button:visited * {
	color: inherit;
}

.fl-builder-content a.fl-button:hover,
.fl-builder-content a.fl-button:focus,
a.ph-btn:hover,
a.ph-btn:focus {
	background: var(--ph-green-hover);
	color: var(--ph-ink);
}

/* Outline */
.fl-builder-content .ph-btn-outline a.fl-button,
.fl-builder-content .ph-btn-outline a.fl-button:visited,
a.ph-btn.ph-btn-outline,
a.ph-btn.ph-btn-outline:visited {
	background: transparent;
	color: var(--ph-slate-blue);
	border: 2px solid var(--ph-slate-blue);
	padding: 14px 26px;
	font-weight: 700;
}

.fl-builder-content .ph-btn-outline a.fl-button:hover,
.fl-builder-content .ph-btn-outline a.fl-button:focus,
a.ph-btn.ph-btn-outline:hover,
a.ph-btn.ph-btn-outline:focus {
	background: var(--ph-slate-blue);
	color: var(--ph-white);
}

/* Dark */
.fl-builder-content .ph-btn-dark a.fl-button,
.fl-builder-content .ph-btn-dark a.fl-button:visited,
a.ph-btn.ph-btn-dark,
a.ph-btn.ph-btn-dark:visited {
	background: var(--ph-ink);
	color: var(--ph-white);
	font-weight: 700;
}

.fl-builder-content .ph-btn-dark a.fl-button:hover,
.fl-builder-content .ph-btn-dark a.fl-button:focus,
a.ph-btn.ph-btn-dark:hover,
a.ph-btn.ph-btn-dark:focus {
	background: var(--ph-slate-blue);
	color: var(--ph-white);
}

/* Small (cards, header) */
.fl-builder-content .ph-btn-sm a.fl-button,
a.ph-btn.ph-btn-sm {
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 700;
}

.fl-builder-content .ph-btn-sm.ph-btn-outline a.fl-button,
a.ph-btn.ph-btn-sm.ph-btn-outline {
	padding: 10px 18px;
}

/* Button row in text or HTML modules: <p class="ph-btn-row"> holding ph-btn links */
.ph-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

/* Bold green text link ("Explore windows") */
.ph-link a,
a.ph-link {
	font-size: 17px;
	font-weight: 700;
	color: var(--ph-green-dark);
	text-decoration: none;
}

.ph-link a:hover,
a.ph-link:hover {
	color: var(--ph-ink);
	text-decoration: underline;
}

/* ==========================================================================
   Small components (HTML / text modules)
   ========================================================================== */

/* "New" announcement pill: <a class="ph-badge"><span class="ph-badge-tag">New</span> Text</a> */
.ph-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--ph-green-tint);
	color: var(--ph-green-deep);
	border-radius: var(--ph-radius-sm);
	padding: 8px 16px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

a.ph-badge:hover,
a.ph-badge:focus {
	color: var(--ph-ink);
}

.ph-badge-tag {
	background: var(--ph-green);
	color: var(--ph-ink);
	border-radius: var(--ph-radius-sm);
	padding: 2px 10px;
	font-size: 13px;
}

/* Trust line: <ul class="ph-trust"><li>Veteran founded</li>...</ul> */
.ph-trust,
.ph-trust ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	font-weight: 700;
	color: var(--ph-slate);
}

.ph-trust li {
	margin: 0;
}

/* Icon tile: Icon module with this class, or <span class="ph-icon-tile">svg</span> */
span.ph-icon-tile,
.fl-module.ph-icon-tile i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--ph-radius-sm);
	background: var(--ph-green);
	color: var(--ph-ink);
	font-size: 26px;
}

.fl-module.ph-icon-tile i::before {
	color: var(--ph-ink);
}

span.ph-icon-tile svg,
span.ph-icon-tile img {
	width: 28px;
	height: 28px;
}

/* Location / link tiles: text or HTML module with a list of links */
ul.ph-link-tiles,
.ph-link-tiles ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ph-link-tiles li {
	margin: 0;
}

.ph-link-tiles a {
	display: block;
	border: 1px solid var(--ph-gray-light);
	border-radius: var(--ph-radius-sm);
	padding: 14px 22px;
	font-weight: 700;
	color: var(--ph-slate-blue);
	text-decoration: none;
	transition: border-color 0.15s ease;
}

.ph-link-tiles a:hover,
.ph-link-tiles a:focus {
	border-color: var(--ph-green);
	color: var(--ph-ink);
}

/* Card columns: gutters + equal heights (ph-card, ph-card-cream, ph-card-green) */
.fl-col-group:has(> .fl-col[class*="ph-card"]) {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.fl-col[class*="ph-card"] {
	padding: 10px;
}

.fl-col[class*="ph-card"] > .fl-col-content {
	height: 100%;
}

/* Uniform image ratio for photo grids (style cards, galleries) */
.fl-module.ph-media-cover img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--ph-radius-sm);
}

/* Headings pair tightly with the text directly beneath them */
:is(h1, h2, h3, h4).fl-module-heading:has(+ .fl-module-rich-text) {
	margin-bottom: 10px;
}

.fl-module-heading + .fl-module-rich-text > :first-child {
	margin-top: 0;
}

/* Small headings pair tightly with the text beneath them (cards, photo grids) */
:is(h2, h3, h4).fl-module-heading.ph-h-sm,
.fl-module-heading.ph-h-sm :is(h2, h3, h4) {
	margin-bottom: 4px;
}

.fl-module-heading.ph-h-sm + .fl-module-rich-text :is(p, ul):first-child {
	margin-top: 6px;
}

.fl-module-photo + .fl-module-heading.ph-h-sm {
	margin-top: 14px;
}

/* Keep phone numbers and short phrases on one line */
.ph-nowrap {
	white-space: nowrap;
}

/* ==========================================================================
   Header and footer (Beaver Themer row Class field)
   ========================================================================== */

/* Footer menus: tighter vertical rhythm */
.ph-site-footer .fl-menu a {
	padding-top: 4px !important;
	padding-bottom: 4px !important;
}

.fl-row:is(.ph-site-header, .ph-site-footer) > .fl-row-content-wrap {
	background-color: var(--ph-ink);
}

.ph-site-header {
	color: var(--ph-white);
}

/* Menu module links */
.ph-site-header .fl-menu .menu > li > a,
.ph-site-header .fl-menu .menu > li > .fl-has-submenu-container > a {
	color: var(--ph-white);
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
}

.ph-site-header .fl-menu .menu > li > a:hover,
.ph-site-header .fl-menu .menu > li > a:focus {
	color: var(--ph-green-light);
}

/* Menu item CSS classes (Appearance > Menus > CSS Classes) */
.ph-site-header .fl-menu .menu > li.ph-menu-phone > a {
	color: var(--ph-green-light);
	font-weight: 700;
}

.ph-site-header .fl-menu .menu > li.ph-menu-cta > a {
	background: var(--ph-green);
	color: var(--ph-ink);
	border-radius: var(--ph-radius-sm);
	padding: 12px 20px;
	font-weight: 700;
}

.ph-site-header .fl-menu .menu > li.ph-menu-cta > a:hover,
.ph-site-header .fl-menu .menu > li.ph-menu-cta > a:focus {
	background: var(--ph-green-hover);
	color: var(--ph-ink);
}

.ph-site-footer {
	color: var(--ph-on-dark);
	font-size: 16px;
}

.ph-site-footer :is(h1, h2, h3, h4, h5, h6) {
	color: var(--ph-white);
}

.ph-site-footer a:not(.fl-button):not(.ph-btn) {
	color: var(--ph-white);
	text-decoration: none;
}

.ph-site-footer a:not(.fl-button):not(.ph-btn):hover,
.ph-site-footer a:not(.fl-button):not(.ph-btn):focus {
	color: var(--ph-green-light);
}

.ph-site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ph-site-footer li {
	margin: 0 0 8px;
}

.ph-fine-print,
.ph-fine-print p {
	font-size: 14px;
	color: var(--ph-on-dark-muted);
}

/* Row width guard. The Beaver Builder AI connector stamps max-width: 1192px on
   every row it builds (per-node CSS), which overrides the 1360 Row Width in
   Global Settings and leaves rows at two different widths. Hold every
   fixed-width row to the 1360 frame. Higher specificity than BB's per-node
   rule; change the number here and in Global Settings together. */
.fl-builder-content .fl-row.fl-row-fixed-width,
.fl-builder-content .fl-row .fl-row-content.fl-row-fixed-width {
	max-width: 1360px;
}

/* Boxed rows on the grid. Cream/dark boxed rows (and ph-box, for a boxed row
   with a photo background) sit on the same left and right lines as the logo,
   page text and the Free Estimate button, instead of 24px outside them.
   Content inside the box is inset by the box padding. */
.fl-builder-content .fl-row.fl-row-fixed-width:is(.ph-panel, .ph-panel-top, .ph-panel-bottom, .ph-dark, .ph-dark-top, .ph-dark-bottom, .ph-box) {
	max-width: 1312px;
	width: calc(100% - 48px);
	margin-left: auto;
	margin-right: auto;
}

/* Photo modules that crop to fill (ph-media-cover) span the full column.
   BB shrink-wraps .fl-photo-content to the image's natural width, which left
   600px images inset inside wider columns. */
.fl-module.ph-media-cover .fl-photo-content {
	display: block;
	width: 100%;
}

/* Site frame alignment. Width itself comes from BB Global Settings (Row Width
   1360, module side margins 0). Beaver Builder puts a full-width row's side
   padding OUTSIDE its 1360 content box but a fixed-width row's padding INSIDE
   it, so header/footer/bands sat 24px left of page content. Move full-width
   rows' side padding inside the content box so every row shares one text edge;
   on small screens the gutter stays 24px. */
.fl-row-full-width > .fl-row-content-wrap:has(> .fl-row-content.fl-row-fixed-width) {
	padding-left: 0;
	padding-right: 0;
}

.fl-row-full-width > .fl-row-content-wrap > .fl-row-content.fl-row-fixed-width {
	box-sizing: border-box;
	padding-left: 24px;
	padding-right: 24px;
}

/* Phones: fixed-width rows keep a 24px gutter. BB Global Settings' mobile row
   padding is 0, which put text on fixed-width rows flush against the screen
   edge while full-width rows (above) kept 24px. */
@media (max-width: 768px) {
	.fl-row-fixed-width[data-node] > .fl-row-content-wrap {
		padding-left: 24px;
		padding-right: 24px;
	}
}

/* Column gutters. Module side margins are 0 in BB Global Settings so text
   sits on the frame edge; gutters come from the columns instead: 24px between
   columns, outer columns flush with the frame. Flex-wrap so rows with more
   columns than fit (e.g. 6 x 33%) wrap cleanly instead of staggering when
   floated columns have different heights. Stacked columns on mobile get
   no side padding. Only groups with 2+ columns are affected. */
.fl-col-group:has(> .fl-col + .fl-col) {
	display: flex;
	flex-wrap: wrap;
	margin-left: -12px;
	margin-right: -12px;
}

.fl-col-group:has(> .fl-col + .fl-col) > .fl-col {
	padding-left: 12px;
	padding-right: 12px;
}

@media (max-width: 768px) {
	.fl-col-group:has(> .fl-col + .fl-col) {
		margin-left: 0;
		margin-right: 0;
	}

	.fl-col-group:has(> .fl-col + .fl-col) > .fl-col {
		padding-left: 0;
		padding-right: 0;
		flex: 1 1 100%;
	}

	/* Stacked columns take the full row. Without this, BB's mobile
	   width: auto shrinks short columns to their content (centered), and the
	   tablet 50% sizes leak through so cards sat two-up on phones. Header and
	   footer keep their side-by-side columns. */
	:is(.ph-site-header, .ph-site-footer) .fl-col-group:has(> .fl-col + .fl-col) > .fl-col {
		flex: 0 1 auto;
	}

	/* The header menu's mobile "below row" clone is inserted into this flex
	   group; make it a full-width line, links on the logo's left edge. */
	.ph-site-header .fl-col-group > .fl-module-menu {
		flex: 0 0 100%;
		max-width: none;
	}

	.ph-site-header .fl-col-group > .fl-module-menu .menu {
		text-align: left;
		padding-top: 16px;
		padding-bottom: 20px;
	}

	/* Dropdown items: text on the logo edge (BB's 14px side padding pushed it
	   in), thin dividers so items read as a list, current page in green. */
	.ph-site-header .fl-col-group > .fl-module-menu .menu > li > a {
		padding: 14px 0 !important;
	}

	.ph-site-header .fl-col-group > .fl-module-menu .menu > li + li {
		border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
	}

	.ph-site-header .fl-col-group > .fl-module-menu .menu > li.current-menu-item > a {
		color: var(--ph-green-light);
	}

	/* Free Estimate: full-width button with centered text, set off from the list. */
	.ph-site-header .fl-col-group > .fl-module-menu .menu > li.ph-menu-cta {
		border-top: 0 !important;
		margin-top: 12px;
	}

	.ph-site-header .fl-col-group > .fl-module-menu .menu > li.ph-menu-cta > a {
		padding: 14px 20px !important;
		text-align: center;
	}
}

/* Thryv LiveSite action buttons: the vendor script pins the icon stack to the
   top of the viewport, where it collides with the header nav. Center it on the
   window instead. Uses the `translate` property (not transform) so the
   widget's own transforms are untouched. Desktop variant only; mobile keeps
   Thryv's native layout. */
#livesite_action_buttons.ls-desktop {
	top: 50% !important;
	translate: 0 -50%;
}

/* Thryv LiveSite bottom-right pieces: pull the schedule tab and the greeting
   card closer to the right edge so they overlap page content less on wide
   screens (Thryv's defaults inset them 170px/80px). Desktop only. */
#livesite_engage_button.ls-desktop {
	margin-right: 24px !important;
}

#livesite_active_engage.ls-overlay {
	margin-right: 24px !important;
}

/* Thryv LiveSite mobile bar (menu, call, Schedule Free In-Home): Thryv's
   default is 50px buttons in a 75px bar. Slim it to 42px buttons in a ~57px
   bar; icons and wording unchanged. The bar is Thryv markup in our page (not
   an iframe), so these selectors depend on Thryv's ls- classes; recheck if
   Thryv updates the widget. */
#livesite_engage_button.ls-mobile {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

#livesite_engage_button.ls-mobile :is(.ls-ab-trigger, .ls-trigger-P, .ls-icon-menu, .livesite-call, .ls-engage-button) {
	height: 42px !important;
}

#livesite_engage_button.ls-mobile :is(.ls-icon-menu, .livesite-call) {
	width: 42px !important;
	line-height: 42px !important;
}

#livesite_engage_button.ls-mobile .ls-engage-button {
	line-height: 42px !important;
}

/* Clearance under the footer's copyright row so the fixed Thryv bar doesn't
   cover Privacy Policy / Terms of Use. Keyed to Thryv's mobile bar being on
   the page (not a breakpoint), since Thryv picks mobile by device. */
body:has(#livesite_engage_button.ls-mobile) .fl-builder-content > .ph-site-footer:last-child > .fl-row-content-wrap {
	padding-bottom: 96px !important;
}
