/**
 * Hurlburt Reviews Aggregator — front-end styles.
 * Brand colors are CSS variables — change these two lines to match hurlburthp.com.
 */
.hr-page,
.hr-total,
.hr-rating,
.hr-locations,
.hr-wall,
.hr-badge {
	--hr-primary: #0b3d63;   /* deep brand blue — change to match your site */
	--hr-accent:  #c8102e;   /* Hurlburt red accent — change to match */
	--hr-star:    #fbbc04;   /* Google review gold — leave as-is */
	--hr-ink:     #1c2733;
	--hr-muted:   #5b6b7a;
	--hr-line:    #e6eaee;
	--hr-bg:      #ffffff;
	--hr-soft:    #f5f8fb;
	--hr-radius:  14px;
	font-family: inherit;
	color: var(--hr-ink);
	box-sizing: border-box;
}
.hr-page *,
.hr-wall *,
.hr-locations * { box-sizing: border-box; }
.hr-page { max-width: 1200px; margin-inline: auto; }
.hr-card-text, .hr-card-author, .hr-card-sub, .hr-loc-name { overflow-wrap: anywhere; }

/* ---------- Stars ---------- */
.hr-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.hr-star svg { width: 1.05em; height: 1.05em; display: block; }
.hr-star--full svg   { fill: var(--hr-star); }
.hr-star--empty svg  { fill: #d8dde2; }
/* Half star fills the same path with an inline SVG gradient (see stars_html);
   no CSS fill here, or it would override the gradient. */

.hr-g { width: 18px; height: 18px; vertical-align: middle; }

/* ---------- Hero ---------- */
.hr-hero {
	text-align: center;
	background: linear-gradient(180deg, var(--hr-soft), #fff);
	border: 1px solid var(--hr-line);
	border-radius: var(--hr-radius);
	padding: 42px 24px 36px;
	margin: 0 0 32px;
}
.hr-hero-badge {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; color: var(--hr-muted); letter-spacing: .02em;
	text-transform: uppercase; font-size: 13px; margin-bottom: 10px;
}
.hr-hero-num {
	font-size: clamp(56px, 12vw, 104px); font-weight: 800; line-height: 1;
	color: var(--hr-primary); letter-spacing: -0.02em;
}
.hr-hero-sub { margin-top: 10px; font-size: clamp(15px, 3.4vw, 18px); color: var(--hr-muted); max-width: 620px; margin-inline: auto; }
.hr-hero-rating {
	margin-top: 22px; display: inline-flex; align-items: center; justify-content: center;
	flex-wrap: wrap; gap: 6px 14px; max-width: 100%;
	font-size: clamp(30px, 8vw, 44px); font-weight: 800; color: var(--hr-ink);
}
.hr-hero-rating .hr-stars { font-size: clamp(34px, 10vw, 50px); max-width: 100%; }

/* ---------- Sections ---------- */
.hr-section { margin: 0 0 40px; }
.hr-h2 {
	font-size: clamp(20px, 4.5vw, 26px); font-weight: 700; margin: 0 0 18px; color: var(--hr-ink);
	text-align: center;
}

/* ---------- Per-location grid ---------- */
.hr-locations {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px;
}
.hr-loc-card {
	border: 1px solid var(--hr-line); border-radius: var(--hr-radius);
	padding: 16px 18px; background: var(--hr-bg);
	transition: box-shadow .15s ease, transform .15s ease;
}
.hr-loc-card:hover { box-shadow: 0 8px 24px rgba(11,61,99,.08); transform: translateY(-2px); }
.hr-loc-name { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.hr-loc-rating { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--hr-primary); }
.hr-loc-rating .hr-stars { font-size: 16px; }
.hr-loc-count { color: var(--hr-muted); font-size: 14px; margin: 4px 0 10px; }
.hr-loc-link {
	display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
	text-decoration: none; color: var(--hr-primary);
}
.hr-loc-link:hover { text-decoration: underline; }

/* ---------- Review wall ---------- */
.hr-wall {
	columns: 3 300px; column-gap: 16px;
}
.hr-card {
	break-inside: avoid; margin: 0 0 16px; padding: 18px;
	border: 1px solid var(--hr-line); border-radius: var(--hr-radius); background: var(--hr-bg);
}
.hr-card-head { display: flex; align-items: center; gap: 10px; }
.hr-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 44px; }
.hr-avatar--letter {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--hr-primary); color: #fff; font-weight: 700; font-size: 18px;
}
.hr-card-meta { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.hr-card-author { font-weight: 700; font-size: 15px; }
.hr-card-sub { color: var(--hr-muted); font-size: 12.5px; margin-top: 2px; }
.hr-card-stars { margin: 10px 0 8px; }
.hr-card-stars .hr-stars { font-size: 17px; }
.hr-card-text { margin: 0; font-size: 15px; line-height: 1.55; color: #33414f; border: 0; padding: 0; font-style: normal; }
.hr-card-foot { margin-top: 12px; font-size: 13px; }
.hr-card-foot a { color: var(--hr-muted); text-decoration: none; }
.hr-card-foot a:hover { color: var(--hr-primary); text-decoration: underline; }

/* ---------- View more ---------- */
.hr-wall-more-wrap { text-align: center; margin-top: 6px; }
.hr-wall-more {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--hr-primary); color: #fff; border: 0; border-radius: 999px;
	padding: 13px 30px; font: inherit; font-weight: 700; font-size: 15px;
	line-height: 1; cursor: pointer; transition: filter .15s ease, transform .15s ease;
	-webkit-appearance: none; appearance: none;
}
.hr-wall-more:hover { filter: brightness(1.08); }
.hr-wall-more:active { transform: translateY(1px); }

/* ---------- Notice ---------- */
.hr-notice { text-align: center; color: var(--hr-muted); font-size: 13px; max-width: 720px; margin: 8px auto 0; }

/* ---------- Reusable inline total ---------- */
.hr-total { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.hr-total-num { font-size: clamp(40px, 8vw, 64px); font-weight: 800; color: var(--hr-primary); }
.hr-total-suffix { color: var(--hr-accent); font-weight: 800; }
.hr-total-label { margin-top: 6px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--hr-muted); }

.hr-rating { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.hr-rating-num { font-size: 20px; color: var(--hr-primary); }
.hr-rating-meta { color: var(--hr-muted); font-weight: 500; font-size: 14px; }

/* ---------- Trust badge (reusable micro widget for other pages) ---------- */
.hr-badge {
	display: inline-flex; align-items: center; flex-wrap: wrap;
	gap: 6px 12px; text-decoration: none; line-height: 1; font-weight: 700;
	vertical-align: middle; text-transform: none; font-style: normal;
}
.hr-badge--center { justify-content: center; }
.hr-badge--left   { justify-content: flex-start; }
.hr-badge--right  { justify-content: flex-end; }
.hr-badge .hr-g { width: clamp(20px, 4.5vw, 26px); height: clamp(20px, 4.5vw, 26px); }
.hr-badge-stars  { font-size: clamp(22px, 5.2vw, 30px); }
.hr-badge-rating { font-size: clamp(18px, 4.2vw, 24px); }
.hr-badge-text   { font-size: clamp(15px, 3.6vw, 19px); font-weight: 600; letter-spacing: .01em; }
.hr-badge:hover .hr-badge-text { text-decoration: underline; }

/* Light variant — white text + gold stars for dark/photo backgrounds (hero) */
.hr-badge--light .hr-badge-rating,
.hr-badge--light .hr-badge-text { color: #fff; }
.hr-badge--light { text-shadow: 0 1px 4px rgba(0,0,0,.45); }
.hr-badge--light .hr-star svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }

/* Dark variant — for light backgrounds */
.hr-badge--dark .hr-badge-rating { color: var(--hr-primary); }
.hr-badge--dark .hr-badge-text   { color: var(--hr-muted); }

/* Home-page hero badge — placed inside the hero title heading */
body.home .hr-badge {
	display: flex; justify-content: center; width: 100%;
	margin-top: -12px; margin-bottom: 26px;
}
/* Service-page hero badge — auto-placed above the heading */
.hr-badge--interior {
	display: flex; justify-content: center; width: 100%;
	margin-top: 0; margin-bottom: 16px;
}

/* Mobile: the theme shrinks the hero heading (80px -> 32px) below 992px, so the
   badge's desktop gap reads too tight under the smaller heading. Open it back up. */
@media (max-width: 991px) {
	body.home .hr-badge { margin-bottom: 30px; }
	.hr-badge--interior { margin-bottom: 24px; }
}

/* Tablets and below: review wall drops to 2 columns */
@media (max-width: 900px) {
	.hr-wall { columns: 2 260px; }
}

/* Phones: single-column wall, tighter hero, no hover-jump on touch */
@media (max-width: 640px) {
	.hr-wall { columns: 1; }
	.hr-hero { padding: 30px 16px 26px; }
	.hr-section { margin-bottom: 30px; }
	.hr-loc-card:hover { transform: none; box-shadow: none; }
}

/* Small phones: trim padding so nothing crowds the edges */
@media (max-width: 380px) {
	.hr-loc-card { padding: 14px 15px; }
	.hr-card { padding: 15px; }
	.hr-hero-badge { font-size: 12px; }
}
