/*
Theme Name:   Figg Appraisal Group
Theme URI:    https://figgappraisal.com
Description:  Child theme of Twenty Twenty-Five for Figg Appraisal Group
Author:       Your Name
Template:     twentytwentyfive
Version:      1.0.0
License:      GNU General Public License v2 or later
Text Domain:  figg-appraisal
*/

/* ============================================================
   GOOGLE FONTS
   Load Playfair Display, Source Serif 4, and DM Sans.
   These are enqueued via functions.php — this comment is
   here as a reference only.
   ============================================================ */

/* ============================================================
   GLOBAL RESETS & BASE OVERRIDES
   These supplement theme.json. Use sparingly — prefer
   theme.json for anything that can live there.
   ============================================================ */

/* Smooth font rendering */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Remove Twenty Twenty-Five's default post padding on pages */
.wp-site-blocks {
	padding-top: 0 !important;
}

/* Ensure full-width sections break out of content constraints */
.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ============================================================
   TOPBAR
   The dark utility bar above the nav (phone, email, CTA link)
   ============================================================ */

.figg-topbar {
	background-color: var(--wp--preset--color--stone);
	padding: 8px 40px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 24px;
}

.figg-topbar a,
.figg-topbar span {
	font-size: 12px;
	color: var(--wp--preset--color--stone-light);
	text-decoration: none;
	letter-spacing: 0.04em;
	font-weight: 300;
}

.figg-topbar a:hover {
	color: var(--wp--preset--color--gold-light);
}

/* ============================================================
   NAVIGATION
   Overrides for the Twenty Twenty-Five nav block
   ============================================================ */

.wp-block-navigation {
	font-size: 13px !important;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.wp-block-navigation-item__content {
	padding: 6px 14px !important;
	color: var(--wp--preset--color--stone-mid) !important;
}

.wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--gold) !important;
}

/* Active page highlight */
.wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--gold) !important;
}

/* Dropdown menus */
.wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--cream-dark) !important;
	border-top: 2px solid var(--wp--preset--color--gold-mid) !important;
	border-radius: 0 0 2px 2px !important;
	box-shadow: 0 4px 12px rgba(44, 40, 32, 0.08) !important;
	padding: 8px 0 !important;
	min-width: 210px !important;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 13px !important;
	font-weight: 300 !important;
	padding: 8px 16px !important;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item:hover {
	background: var(--wp--preset--color--cream) !important;
}

/* ============================================================
   HEADER SITE TITLE / LOGO AREA
   ============================================================ */

.figg-logo-name {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 21px;
	font-weight: 500;
	color: var(--wp--preset--color--stone);
	line-height: 1;
	margin: 0;
}

.figg-logo-tagline {
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-mid);
	margin-top: 3px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

/* Primary — dark stone */
.wp-block-button.is-style-primary .wp-block-button__link,
.wp-element-button {
	background-color: var(--wp--preset--color--stone) !important;
	color: var(--wp--preset--color--cream) !important;
	border: none !important;
	border-radius: 2px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0.04em !important;
	padding: 12px 24px !important;
	text-decoration: none !important;
	transition: background-color 0.15s ease;
}

.wp-block-button.is-style-primary .wp-block-button__link:hover {
	background-color: #3d3830 !important;
}

/* Secondary — gold text link */
.wp-block-button.is-style-secondary .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--gold) !important;
	border: none !important;
	border-bottom: 1px solid var(--wp--preset--color--gold-light) !important;
	border-radius: 0 !important;
	padding: 0 0 2px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0.03em !important;
}

/* Gold / CTA button */
.wp-block-button.is-style-gold .wp-block-button__link {
	background-color: var(--wp--preset--color--gold-mid) !important;
	color: var(--wp--preset--color--cream) !important;
	border: none !important;
	border-radius: 2px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0.04em !important;
	padding: 12px 24px !important;
}

/* ============================================================
   FIGG CUSTOM COMPONENTS
   Reusable patterns that appear across multiple pages.
   ============================================================ */

/* Eyebrow label (small ALL CAPS label above headings) */
.figg-eyebrow {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-mid);
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.figg-eyebrow::before {
	content: '';
	display: inline-block;
	width: 32px;
	height: 1px;
	background: var(--wp--preset--color--gold-light);
	flex-shrink: 0;
}

/* Gold rule (decorative divider under section headings) */
.figg-rule {
	width: 36px;
	height: 2px;
	background: var(--wp--preset--color--gold-light);
	margin: 0 0 22px;
	border: none;
}

/* Breadcrumb */
.figg-breadcrumb {
	font-size: 12px;
	color: var(--wp--preset--color--stone-light);
	font-weight: 300;
	margin-bottom: 20px;
	letter-spacing: 0.03em;
}

.figg-breadcrumb a {
	color: var(--wp--preset--color--stone-light);
	text-decoration: none;
}

.figg-breadcrumb a:hover {
	color: var(--wp--preset--color--gold);
}

.figg-breadcrumb .sep {
	margin: 0 8px;
	color: var(--wp--preset--color--cream-dark);
}

/* Trust / credentials bar */
.figg-trust-bar {
	background-color: var(--wp--preset--color--stone);
	padding: 20px 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	flex-wrap: wrap;
}

.figg-trust-item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--wp--preset--color--cream-mid);
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 0.05em;
	padding: 4px 24px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.figg-trust-item:last-child {
	border-right: none;
}

/* Sidebar contact card */
.figg-sidebar-card {
	background: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--cream-dark);
	border-radius: 2px;
	padding: 22px;
}

.figg-sidebar-card-head {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--stone);
	margin-bottom: 14px;
}

/* Service navigation (sidebar) */
.figg-service-nav {
	border: 1px solid var(--wp--preset--color--cream-dark);
	border-radius: 2px;
	overflow: hidden;
}

.figg-service-nav-head {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--stone);
	padding: 14px 16px;
	background: var(--wp--preset--color--cream);
	border-bottom: 1px solid var(--wp--preset--color--cream-dark);
}

.figg-service-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 300;
	color: var(--wp--preset--color--stone-mid);
	padding: 11px 16px;
	text-decoration: none;
	border-bottom: 1px solid var(--wp--preset--color--cream-dark);
}

.figg-service-nav a:last-child {
	border-bottom: none;
}

.figg-service-nav a:hover {
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--gold);
}

.figg-service-nav a.active {
	background: var(--wp--preset--color--gold-pale);
	color: var(--wp--preset--color--gold);
	font-weight: 500;
}

/* Ask Rich / Verify flags — visible in draft, hidden on live */
.figg-ask {
	font-size: 13px;
	background: #FFF8E6;
	border: 1px solid #E8D08A;
	color: #8A6A00;
	padding: 12px 16px;
	border-radius: 2px;
	font-weight: 300;
	font-style: italic;
	line-height: 1.65;
	margin-top: 10px;
}

.figg-ask strong {
	font-weight: 500;
	font-style: normal;
}

/* Hide all flags on live site by adding class .site-live to <body> */
.site-live .figg-ask,
.site-live .figg-verify {
	display: none !important;
}

/* ============================================================
   CTA STRIPS
   ============================================================ */

.figg-cta-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding: 24px 40px;
}

.figg-cta-strip-phone {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 22px;
	font-weight: 500;
	text-decoration: none;
}

/* ============================================================
   PAGE HEADER
   Consistent across all interior pages
   ============================================================ */

.figg-page-header {
	padding: 60px 40px 52px;
	border-bottom: 1px solid var(--wp--preset--color--cream-dark);
}

/* ============================================================
   TWO-COLUMN PAGE LAYOUT (body + sidebar)
   ============================================================ */

.figg-page-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
	gap: 64px;
	padding: 60px 40px;
	align-items: start;
	max-width: 980px;
	margin: 0 auto;
}

.figg-sidebar {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* ============================================================
   MOBILE — single column below 768px
   ============================================================ */

@media (max-width: 768px) {
	.figg-topbar {
		padding: 8px 20px;
		gap: 14px;
	}

	.figg-page-layout {
		grid-template-columns: 1fr;
		padding: 40px 20px;
		gap: 40px;
	}

	.figg-sidebar {
		position: static;
	}

	.figg-trust-bar {
		padding: 16px 20px;
	}

	.figg-trust-item {
		padding: 4px 14px;
		font-size: 11px;
	}

	.figg-cta-strip {
		padding: 24px 20px;
		flex-direction: column;
		align-items: flex-start;
	}

	.figg-page-header {
		padding: 40px 20px 36px;
	}
}
