/*
Theme Name: Grand Peaks
Theme URI: https://grandpeaksapartments.com
Author: KJO Media
Author URI: https://kjomedia.com
Description: Custom block theme for Grand Peaks Apartments, Johnstown, Colorado. Pairs with the grandpeaks-core plugin (floor plans, tour request form, site info).
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: Proprietary (fonts: SIL Open Font License, see assets/fonts)
Text Domain: grandpeaks
*/

/* ---------- Shared pieces (front end and editor) ---------- */

.gp-eyebrow {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wp--preset--color--rust);
	line-height: 1.4;
}

.gp-subhead {
	font-family: var(--wp--preset--font-family--cormorant);
	font-style: italic;
	font-weight: 500;
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.2;
	color: var(--wp--preset--color--muted);
}

.gp-lead { font-size: 18px; color: var(--wp--preset--color--body); }
.gp-note { font-size: 14px; color: var(--wp--preset--color--muted); }

/* Section heading row: eyebrow + title over a hairline */
.gp-section-head {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-bottom: 20px;
	margin-bottom: 36px;
}

/* At a glance strip */
.gp-glance {
	border: 1px solid var(--wp--preset--color--line);
	gap: 0 !important;
}
.gp-glance > * {
	padding: 26px 28px;
	text-align: center;
	margin: 0 !important;
	border-right: 1px solid var(--wp--preset--color--line);
}
.gp-glance > *:last-child { border-right: 0; }
.gp-glance .gp-glance-big {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 40px;
	line-height: 1.1;
	color: var(--wp--preset--color--rust);
	margin: 0;
}
.gp-glance .gp-glance-small {
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 6px 0 0;
}
@media (max-width: 781px) {
	.gp-glance > * { border-right: 0; border-bottom: 1px solid var(--wp--preset--color--line); }
	.gp-glance > *:last-child { border-bottom: 0; }
}

/* Feature lists */
.gp-feature-group h3 {
	font-style: italic;
	font-weight: 500;
	color: var(--wp--preset--color--rust);
	border-top: 2px solid var(--wp--preset--color--rust);
	padding-top: 12px;
	margin: 0 0 12px;
}
.gp-diamonds {
	list-style: none;
	padding-left: 0;
	margin: 0;
}
.gp-diamonds li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 9px;
}
.gp-diamonds li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 7px;
	height: 7px;
	background: #C9A995;
	transform: rotate(45deg);
}
.gp-plain-list { list-style: none; padding-left: 0; margin: 0; }
.gp-plain-list li { margin-bottom: 8px; }

/* Community addresses */
.gp-addr-table { margin: 8px 0 0; }
.gp-addr-table table { border-collapse: collapse; width: 100%; border-top: 1px solid var(--wp--preset--color--line); }
.gp-addr-table td {
	border: 0;
	border-bottom: 1px dotted #D3C4B3;
	padding: 12px 0;
}
.gp-addr-table td:last-child { text-align: right; color: var(--wp--preset--color--rust); }

.gp-figure-card {
	background: var(--wp--preset--color--cream);
	padding: 20px;
}
.gp-figure-card figcaption {
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	text-align: center;
}

.gp-card { border: 1px solid var(--wp--preset--color--line); }

/* ---------- Header ---------- */

.gp-announce {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-align: center;
}
.gp-announce a { color: #FFFFFF; font-weight: 600; }
.gp-announce a:hover { color: var(--wp--preset--color--rust-light); }

.gp-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.gp-header .wp-block-site-logo img { height: 84px; width: auto; }
.gp-header-phone { font-weight: 500; }
.gp-header-phone a { color: var(--wp--preset--color--ink); text-decoration: none; }
.gp-header .wp-block-navigation a { text-decoration: none; }
.gp-header .wp-block-navigation a:hover { color: var(--wp--preset--color--rust); }
.gp-header .wp-block-button__link { padding: 13px 24px; }

/* ---------- Footer ---------- */

.gp-footer-peaks { display: block; width: 100%; height: 70px; background: #FFFFFF; }
.gp-footer a { color: #FFFFFF; }
.gp-footer a:hover { color: var(--wp--preset--color--rust-light); }
.gp-footer-label {
	font-size: 13px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wp--preset--color--rust-light);
	margin-bottom: 8px;
}
.gp-footer-title {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 34px;
	line-height: 1.1;
}
.gp-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.35); font-size: 14px; }

/* ---------- Hero (shared base; the slideshow motion lives in assets/css/hero.css, front end only) ---------- */

.gp-hero-content .gp-subhead { margin-top: 0; }

/* Neighborhood headings */
.gp-place-head {
	font-family: var(--wp--preset--font-family--jost);
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wp--preset--color--rust);
	margin: 0 0 14px;
	line-height: 1.4;
}
.gp-office-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--wp--preset--color--rust);
	margin-bottom: 4px;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 24px; }
.gp-header-phone:empty { display: none; }
@media (max-width: 600px) {
	.gp-header .wp-block-site-logo img { height: 64px; }
	.gp-announce { letter-spacing: 0.12em; font-size: 12px; }
}
