/* BVSP Energeniq. Section styles are inline in the templates; this file holds the shared pieces and phone layouts. */
@font-face { font-family: Archivo; src: url(../fonts/archivo-var.woff2) format("woff2"); font-weight: 500 900; font-stretch: 100% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url(../fonts/inter-var.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #0B1533; background: #FFFFFF; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; }
.site-main img[style*="position: absolute"] { height: 100%; }
a { color: #002068; }
a:hover { color: #B8430F; }
input, select, textarea, button { font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid #F8C008; outline-offset: 1px; border-color: #002068; }
a:focus-visible, button:focus-visible { outline: 3px solid #F8C008; outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #F8C008; color: #001544; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* Buttons and links shared by the templates. */
.btn-amber:hover { background: #FFD52E !important; color: #001544 !important; }
.btn-line:hover { background: rgba(255, 255, 255, .12) !important; color: #FFFFFF !important; }
.btn-navy:hover { background: #0A2F86 !important; color: #FFFFFF !important; }
.card-link { color: #002068; font-weight: 600; text-decoration: none; }
.card-link:hover { color: #B8430F; }
button[type="submit"] { cursor: pointer; }
button[type="submit"]:hover { background: #0A2F86 !important; }
button[type="submit"][style*="#F8C008"]:hover { background: #FFD52E !important; }

/* Header. */
.site-header { position: sticky; top: 0; z-index: 50; background: #FFFFFF; border-bottom: 1px solid #E4E8F2; }
.admin-bar .site-header { top: 32px; }
.hdr { position: relative; max-width: 1240px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hdr-logo { display: flex; flex: none; }
.hdr-logo img { height: 56px; width: auto; display: block; }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.nav a { color: #0B1533; text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: #B8430F; }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 #E85820; }
.nav .nav-cta { display: none; }
.hdr-cta { background: #F8C008; color: #001544; font-weight: 700; font-size: 15px; text-decoration: none; padding: 0 22px; height: 46px; display: inline-flex; align-items: center; border-radius: 4px; flex: none; }
.nav-toggle { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1.5px solid #002068; border-radius: 4px; background: #FFFFFF; color: #002068; font-weight: 700; font-size: 15px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; margin-left: auto; }
	.hdr-cta { display: none; }
	.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 4px 32px 24px; background: #FFFFFF; border-bottom: 1px solid #E4E8F2; box-shadow: 0 18px 30px -18px rgba(0, 21, 68, .35); max-height: calc(100vh - 85px); overflow-y: auto; }
	.nav.is-open { display: flex; }
	.nav a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid #EEF1F7; }
	.nav a[aria-current="page"] { box-shadow: inset 4px 0 0 #E85820; padding-left: 14px; }
	.nav .nav-cta { display: flex; justify-content: center; margin-top: 18px; padding: 15px; border: 0; border-radius: 4px; background: #F8C008; color: #001544; font-weight: 700; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

/* Footer. */
.foot { background: #002068; color: #C9D3EC; }
.foot a { color: #C9D3EC; text-decoration: none; }
.foot a:hover { color: #F8C008; }
.foot-top { max-width: 1240px; margin: 0 auto; padding: 72px 32px 40px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.foot-brand { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.foot-brand img { width: 200px; height: auto; display: block; }
.foot-brand p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 300px; }
.foot-col { flex: 0 1 200px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-title { font-family: Archivo, sans-serif; font-stretch: 125%; font-weight: 800; font-size: 12px; letter-spacing: .18em; color: #F8C008; }
.foot-bottom { max-width: 1240px; margin: 0 auto; padding: 22px 32px 30px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #A9B6D8; }

/* Forms. */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bvsp-form { position: relative; }
.form-notice { padding: 14px 16px; border-radius: 4px; font-size: 15px; line-height: 1.5; font-weight: 600; }
.form-notice.is-ok { background: #E7F6EC; color: #10532A; border-left: 4px solid #1E8E4B; }
.form-notice.is-error { background: #FDECE4; color: #8A2F0B; border-left: 4px solid #E85820; }
.bvsp-form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* Plain pages (privacy policy and the like). */
.plain { max-width: 820px; margin: 0 auto; padding: 72px 32px 96px; font-size: 17px; line-height: 1.7; color: #3A4563; }
.plain h1 { font-family: Archivo, sans-serif; font-stretch: 115%; font-weight: 800; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; text-transform: uppercase; color: #002068; margin: 0 0 28px; }
.plain h2, .plain h3 { color: #002068; }

/* Tablets and phones. */
@media (max-width: 900px) {
	.hero-copy { padding-right: 0 !important; }
	.hero-media { margin-right: -32px !important; margin-left: -32px !important; min-height: 280px !important; }
	.hero-media img { clip-path: none !important; }
}
@media (max-width: 720px) {
	html { scroll-padding-top: 80px; }
	.hdr { padding: 10px 20px; }
	.hdr-logo img { height: 46px; }
	.nav { padding-left: 20px; padding-right: 20px; }
	.wrap { padding-left: 20px !important; padding-right: 20px !important; }
	.hero-copy { padding-top: 44px !important; padding-bottom: 48px !important; }
	.hero-media { margin-right: -20px !important; margin-left: -20px !important; min-height: 240px !important; }
	.sec { padding-top: 60px !important; padding-bottom: 60px !important; }
	.club-copy { padding: 30px 22px 32px !important; }
	.pad-box { padding: 26px 20px !important; }
	.foot-top { padding: 56px 20px 32px; gap: 32px; }
	.foot-bottom { padding: 20px 20px 28px; }
	.plain { padding: 48px 20px 64px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* Director cards: two per row on phones. */
@media (max-width: 720px) {
	.director { flex: 0 1 calc(50% - 12px) !important; max-width: none !important; }
	.dir-photo { aspect-ratio: 1 / 1 !important; }
	.dir-photo > span:last-child { font-size: 44px !important; }
	.director > div[style*="padding: 26px"] { padding: 16px 14px 18px !important; }
	.director h2, .director h3 { font-size: 17px !important; }
}
@media (max-width: 720px) {
	.dir-photo > span:last-child { position: relative; z-index: 1; }
	.dir-photo > span:nth-child(1):not(:last-child) { top: 14px !important; width: 120px !important; height: 16px !important; }
	.dir-photo > span:nth-child(2):not(:last-child) { top: 36px !important; width: 120px !important; height: 16px !important; }
	.site-main img[style*="flex: 1 1 260px"] { flex-basis: calc(50% - 10px) !important; }
}
.bvsp-form > label { flex: none !important; }
@media (max-width: 720px) {
	article > div[style*="min-height: 360px"] { min-height: 240px !important; }
	div[role="img"] { height: 300px !important; }
	div[role="img"] > div[style*="left: 70%"] { left: auto !important; right: 12px; }
	div[role="img"] > div[style*="left: 14%"] { left: 8% !important; }
}
