/*
Theme Name: WebSite Relief Hub
Theme URI: https://hub.websiterelief.com/
Description: Hello Elementor child theme that gives the client hub the same header, footer, fonts and colors as websiterelief.com. Build pages in Elementor as usual.
Author: WebSite Relief
Author URI: https://www.websiterelief.com/
Template: hello-elementor
Version: 1.0.2
Requires PHP: 7.4
Text Domain: websiterelief-hub
*/

/* Brand colors, taken from websiterelief.com */
:root {
	--wrh-navy: #09192F;
	--wrh-ink: #0B1A2B;
	--wrh-cream: #F2EEE6;
	--wrh-paper: #FBFAF8;
	--wrh-blue: #2F63F6;
	--wrh-blue-dark: #2453D8;
	--wrh-blue-light: #5B8BFF;
	--wrh-lime: #C7F04E;
	--wrh-muted: rgba(251, 250, 248, .72);
	--wrh-faint: rgba(251, 250, 248, .45);
	--wrh-line: rgba(251, 250, 248, .1);
	--wrh-sans: 'Plus Jakarta Sans', Helvetica, Arial, sans-serif;
	--wrh-serif: 'Instrument Serif', Georgia, serif;
}

body {
	background: var(--wrh-cream);
	color: var(--wrh-ink);
	font-family: var(--wrh-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--wrh-sans); color: var(--wrh-ink); letter-spacing: -.02em; }
a { color: var(--wrh-blue); }
a:hover { color: var(--wrh-blue-dark); }

.wrh-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* Buttons */
.wrh-btn,
.elementor-widget.wrh-btn-cream .elementor-button,
.elementor-widget.wrh-btn-outline .elementor-button,
.elementor-widget.wrh-btn-blue .elementor-button {
	display: inline-flex;
	align-items: center;
	font-family: var(--wrh-sans);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.5;
	border-radius: 6px;
	padding: 13px 22px;
	text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
}
.wrh-btn-blue, .elementor-widget.wrh-btn-blue .elementor-button { background: var(--wrh-blue); color: #fff; border: 0; }
.wrh-btn-blue:hover, .elementor-widget.wrh-btn-blue .elementor-button:hover { background: var(--wrh-blue-dark); color: #fff; }
.elementor-widget.wrh-btn-cream .elementor-button { background: var(--wrh-cream); color: var(--wrh-ink); border: 0; padding: 15px 24px; }
.elementor-widget.wrh-btn-cream .elementor-button:hover { background: #fff; color: var(--wrh-ink); }
.elementor-widget.wrh-btn-outline .elementor-button { background: transparent; color: var(--wrh-paper); border: 1px solid rgba(251, 250, 248, .25); padding: 14px 22px; }
.elementor-widget.wrh-btn-outline .elementor-button:hover { border-color: var(--wrh-paper); color: var(--wrh-paper); }

/* Header */
.wrh-header { background: var(--wrh-navy); position: sticky; top: 0; z-index: 100; }
.admin-bar .wrh-header { top: 32px; }
.wrh-header-row { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.wrh-wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: -.02em; white-space: nowrap; }
.wrh-wordmark img { width: 30px; height: 30px; border-radius: 50%; }
.wrh-wordmark .wrh-wm-a { color: var(--wrh-paper); }
.wrh-wordmark .wrh-wm-b { color: var(--wrh-blue-light); margin-left: -6px; }
.wrh-nav { flex: 1; display: flex; justify-content: center; }
.wrh-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.wrh-menu a { color: var(--wrh-muted); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.wrh-menu a:hover, .wrh-menu .current-menu-item > a { color: var(--wrh-lime); }
.wrh-header-cta { font-size: 13px; padding: 11px 20px; }

/* Mobile menu (no JavaScript: a details/summary toggle) */
.wrh-mobile { display: none; margin-left: auto; }
.wrh-mobile summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 8px; }
.wrh-mobile summary::-webkit-details-marker { display: none; }
.wrh-mobile summary span { display: block; height: 2px; background: var(--wrh-paper); border-radius: 2px; }
.wrh-mobile-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--wrh-navy); border-top: 1px solid var(--wrh-line); padding: 12px 32px 24px; }
.wrh-mobile-panel .wrh-menu { flex-direction: column; gap: 0; margin-bottom: 16px; }
.wrh-mobile-panel .wrh-menu a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--wrh-line); }

@media (max-width: 860px) {
	.wrh-nav, .wrh-header-cta { display: none; }
	.wrh-mobile { display: block; }
	.wrh-header-row { min-height: 68px; }
	.wrh-wrap { padding: 0 20px; }
	.wrh-mobile-panel { padding: 12px 20px 24px; }
}
@media (max-width: 782px) {
	.admin-bar .wrh-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .wrh-header { top: 0; }
}

/* Footer */
.wrh-footer { background: var(--wrh-navy); color: var(--wrh-muted); padding-top: 64px; }
.wrh-footer p { margin: 0; }
.wrh-footer a { text-decoration: none; }
.wrh-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.wrh-footer-brand .wrh-wordmark { margin-bottom: 22px; }
.wrh-footer-tag { color: rgba(251, 250, 248, .62); font-size: 14px; line-height: 1.7; max-width: 300px; margin-bottom: 28px !important; }
.wrh-footer-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px !important; }
.wrh-footer-contact a { color: var(--wrh-paper); font-size: 14px; font-weight: 500; }
.wrh-footer-contact a:hover { color: var(--wrh-lime); }
.wrh-badge { display: inline-block; border: 1px solid rgba(251, 250, 248, .2); padding: 10px 14px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(251, 250, 248, .6); line-height: 1.6; max-width: 260px; }
.wrh-label { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--wrh-faint); margin-bottom: 20px !important; }
.wrh-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wrh-footer-col a { color: var(--wrh-muted); font-size: 13.5px; font-weight: 500; }
.wrh-footer-col a:hover { color: var(--wrh-lime); }
.wrh-footer-bottom { border-top: 1px solid var(--wrh-line); }
.wrh-footer-bottom-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(251, 250, 248, .5); }
.wrh-footer-bottom a { color: rgba(251, 250, 248, .6); }
.wrh-footer-bottom a:hover { color: var(--wrh-lime); }
@media (max-width: 860px) {
	.wrh-footer { padding-top: 48px; }
	.wrh-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
	.wrh-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.wrh-footer-grid { grid-template-columns: 1fr; }
}

/* Ordinary pages (not built with Elementor), e.g. the Client Portal */
.wrh-content .site-main:not(.elementor-page) { max-width: 1000px; margin: 0 auto; padding: 56px 32px 80px; }
.wrh-content .page-header .entry-title { font-size: 40px; font-weight: 800; letter-spacing: -.035em; margin: 0 0 28px; }
@media (max-width: 600px) {
	.wrh-content .site-main:not(.elementor-page) { padding: 36px 20px 56px; }
	.wrh-content .page-header .entry-title { font-size: 32px; }
}

/* Client portal (Relief Rounds) on the cream background */
.rr-portal { font-family: var(--wrh-sans); }
.rr-portal .rr-card, .rr-portal .rr-login { border-color: #E2DCD0; box-shadow: 0 1px 2px rgba(11, 26, 43, .05); }
.rr-portal .rr-login input[type=submit] { background: var(--wrh-blue); font-weight: 600; font-family: var(--wrh-sans); }
.rr-portal .rr-login input[type=submit]:hover { background: var(--wrh-blue-dark); }
.wrh-portal-page .page-header { display: none; }
.rr-portal h2 { font-weight: 800; letter-spacing: -.03em; }
.rr-portal h3 { font-weight: 700; letter-spacing: -.02em; }
.rr-portal .rr-login input[type=checkbox] { margin-right: 6px; }
.rr-portal .rr-login a { color: var(--wrh-blue); }

/* Elementor page pieces used on the Home page */
body .wrh-hero { background: var(--wrh-navy); }
body .wrh-eyebrow .elementor-heading-title { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(251, 250, 248, .6); display: flex; align-items: center; gap: 12px; }
body .wrh-eyebrow .elementor-heading-title::before { content: ""; width: 22px; height: 1px; background: rgba(251, 250, 248, .35); }
body .wrh-h1 .elementor-heading-title { color: var(--wrh-paper); font-size: clamp(44px, 7vw, 76px); font-weight: 800; line-height: .98; letter-spacing: -.035em; }
body .wrh-h1 .elementor-heading-title em { font-family: var(--wrh-serif); font-weight: 400; letter-spacing: -.01em; }
body .wrh-lead, body .wrh-lead p { color: rgba(251, 250, 248, .78); font-size: 17px; line-height: 1.65; }
body .wrh-lead p { max-width: 560px; }
body .wrh-h2 .elementor-heading-title { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
body .wrh-h2 .elementor-heading-title em { font-family: var(--wrh-serif); font-weight: 400; }
body .wrh-card { background: var(--wrh-paper); border: 1px solid #E2DCD0; border-radius: 10px; }
body .wrh-card .elementor-heading-title { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
body .wrh-card p { color: #4A5664; font-size: 15px; margin: 0; }
body .wrh-kicker .elementor-heading-title { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wrh-blue); }
body .wrh-help, body .wrh-help p { color: #4A5664; }
body .wrh-help a { font-weight: 600; }
body .wrh-cards { flex-direction: row; flex-wrap: wrap; }
body .wrh-cards > .wrh-card, body .wrh-cards > .e-con-inner > .wrh-card { flex: 1 1 260px; }
body .wrh-buttons { flex-direction: row; flex-wrap: wrap; }
