/*
Theme Name: JewishCalifornia Premium
Theme URI: https://jewishca.org/
Description: Premium flat-brand Astra child theme for the JewishCalifornia statewide education network.
Author: JewishCalifornia / ICAN
Template: astra
Version: 2.0.0
Text Domain: jewishca
*/

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
	--jca-navy: #001f7f;
	--jca-gold: #ffc220;
	--jca-midnight: #0d1e40;
	--jca-blue: #2d6de5;
	--jca-red: #ec1a33;
	--jca-hot-white: #fffaff;
	--jca-cool-white: #f5f5ff;
	--jca-white: #ffffff;
	--jca-carbon: #232323;
	--jca-gray: #52525b;
	--jca-rule: #e4e4e7;
	--jca-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--jca-mono: "JetBrains Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.jewishca-premium-theme { margin: 0; color: var(--jca-carbon); background: var(--jca-hot-white); font: 17px/1.65 var(--jca-sans); -webkit-font-smoothing: antialiased; }
body.jca-menu-open { overflow: hidden; }
body.jewishca-premium-theme a { color: inherit; }
body.jewishca-premium-theme img { max-width: 100%; }
body.jewishca-premium-theme #content { margin: 0; }
.jca-container { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.jca-skip-link { position: fixed; left: 16px; top: -100px; z-index: 1100; padding: 10px 16px; color: var(--jca-hot-white); background: var(--jca-navy); }
.jca-skip-link:focus { top: 16px; }

.jca-site-header { position: sticky; top: 0; z-index: 1000; color: var(--jca-hot-white); background: var(--jca-midnight); border-top: 7px solid var(--jca-gold); }
.jca-header-row { min-height: 102px; display: flex; align-items: center; justify-content: space-between; gap: 36px; border-bottom: 1px solid rgba(255,255,255,.16); }
body.jewishca-premium-theme a.jca-identity,
body.jewishca-premium-theme a.jca-identity:visited,
body.jewishca-premium-theme a.jca-identity:hover,
body.jewishca-premium-theme a.jca-identity:focus-visible { display: inline-flex; align-items: center; gap: 12px; color: var(--jca-hot-white); text-decoration: none; }
body.jewishca-premium-theme a.jca-identity:focus-visible { outline: 2px solid var(--jca-gold); outline-offset: 6px; }
.jca-identity img { display: block; width: 48px; height: 56px; flex: 0 0 48px; }
.jca-identity-type { min-width: 196px; color: inherit; }
.jca-identity-jewish, .jca-identity-california { display: block; letter-spacing: -.05em; }
.jca-identity-jewish { font-size: 17px; font-weight: 600; line-height: .72; }
.jca-identity-california { margin-top: 2px; font-size: 22px; font-weight: 700; line-height: .82; letter-spacing: -.055em; }
.jca-primary-nav { margin-left: auto; }
.jca-primary-nav ul { margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; list-style: none; }
.jca-site-header .jca-primary-nav a { color: rgba(255,255,255,.78); font: 600 14px/1.2 var(--jca-sans); text-decoration: none; }
.jca-site-header .jca-primary-nav a:hover,
.jca-site-header .jca-primary-nav a:focus-visible,
.jca-site-header .jca-primary-nav .current-menu-item > a { color: var(--jca-gold); }
.jca-site-header .jca-primary-nav li:last-child a { padding: 13px 19px; color: var(--jca-midnight); background: var(--jca-gold); }
.jca-site-header .jca-primary-nav li:last-child a:hover,
.jca-site-header .jca-primary-nav li:last-child a:focus-visible { color: var(--jca-hot-white); background: var(--jca-blue); }
.jca-menu-toggle { width: 48px; height: 48px; padding: 12px; display: none; align-content: center; gap: 6px; color: var(--jca-hot-white); background: transparent; border: 1px solid rgba(255,255,255,.35); }
.jca-menu-toggle span { width: 100%; height: 2px; display: block; background: currentColor; }

.jca-hero { min-height: 760px; position: relative; overflow: hidden; color: var(--jca-hot-white); background: var(--jca-midnight); }
.jca-hero-video { position: absolute; inset: 0; overflow: hidden; opacity: .6; pointer-events: none; }
.jca-hero-video iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%; border: 0; transform: translate(-50%, -50%); }
.jca-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(13,30,64,.76); }
.jca-hero-inner { min-height: 760px; position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 780px) 1fr; align-items: center; }
.jca-hero-copy { grid-column: 1; padding: 118px 0 132px; }
.jca-hero h1, .jca-section h2, .jca-section h3 { margin: 0; letter-spacing: -.055em; }
.jca-hero h1 { max-width: 900px; margin-top: 22px; color: var(--jca-hot-white); font-size: clamp(66px, 8.2vw, 112px); line-height: .86; }
.jca-hero-copy > p { max-width: 720px; margin: 30px 0 0; color: rgba(255,255,255,.76); font-size: clamp(20px, 2vw, 26px); line-height: 1.45; }

.jca-overline { display: inline-flex; align-items: center; gap: 12px; color: var(--jca-blue); font: 700 10px/1.2 var(--jca-mono); letter-spacing: .14em; text-transform: uppercase; }
.jca-overline::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.jca-overline.gold { color: var(--jca-gold); }
.jca-overline.blue { color: var(--jca-blue); }
.jca-overline.navy-label { color: var(--jca-navy); }
.jca-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
body.jewishca-premium-theme a.jca-button { min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; color: var(--jca-midnight); background: var(--jca-gold); border: 2px solid var(--jca-gold); font: 700 11px var(--jca-mono); letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
body.jewishca-premium-theme a.jca-button:hover,
body.jewishca-premium-theme a.jca-button:focus-visible { color: var(--jca-hot-white); background: var(--jca-blue); border-color: var(--jca-blue); }
body.jewishca-premium-theme a.jca-button.secondary { color: var(--jca-hot-white); background: transparent; border-color: rgba(255,255,255,.45); }
body.jewishca-premium-theme a.jca-button.secondary:hover,
body.jewishca-premium-theme a.jca-button.secondary:focus-visible { color: var(--jca-midnight); background: var(--jca-hot-white); border-color: var(--jca-hot-white); }
body.jewishca-premium-theme a.jca-button.dark { color: var(--jca-hot-white); background: var(--jca-midnight); border-color: var(--jca-midnight); }

.jca-section { padding: clamp(90px, 10vw, 144px) 0; }
.jca-section.white { background: var(--jca-white); }
.jca-section.cream { background: var(--jca-hot-white); }
.jca-section.navy { color: var(--jca-hot-white); background: var(--jca-navy); }
.jca-section.midnight { color: var(--jca-hot-white); background: var(--jca-midnight); }
.jca-section.gold { color: var(--jca-midnight); background: var(--jca-gold); }
.jca-split { display: grid; grid-template-columns: .96fr 1.04fr; gap: 84px; align-items: end; }
.jca-split h2, .jca-final-cta h2 { margin-top: 14px; color: var(--jca-carbon); font-size: clamp(46px, 6.4vw, 78px); line-height: .94; }
.jca-split .jca-lead { margin: 0; color: var(--jca-gray); font-size: clamp(21px, 2.2vw, 29px); line-height: 1.42; }
.jca-section.navy .jca-split h2, .jca-section.midnight .jca-split h2, .jca-section.navy h3, .jca-section.midnight h3 { color: var(--jca-hot-white); }
.jca-section.navy .jca-split .jca-lead, .jca-section.midnight .jca-split .jca-lead { color: rgba(255,255,255,.7); }

.jca-pillar-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--jca-rule); border-bottom: 1px solid var(--jca-rule); }
.jca-pillar { min-height: 330px; padding: 36px; border-right: 1px solid var(--jca-rule); }
.jca-pillar:first-child { padding-left: 0; }
.jca-pillar:last-child { border-right: 0; }
.jca-pillar > span { color: var(--jca-blue); font: 700 11px var(--jca-mono); }
.jca-pillar h3 { margin-top: 112px; color: var(--jca-carbon); font-size: 31px; line-height: 1; }
.jca-pillar p { margin: 16px 0 0; color: var(--jca-gray); }

.jca-journey { margin-top: 68px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.jca-step { min-height: 310px; padding: 34px; border-right: 1px solid rgba(255,255,255,.22); }
.jca-step:last-child { border-right: 0; }
.jca-step > span { color: var(--jca-gold); font: 700 42px var(--jca-mono); }
.jca-step h3 { margin-top: 88px; color: var(--jca-hot-white); font-size: 29px; }
.jca-step p { color: rgba(255,255,255,.68); }

.jca-district-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 100px; align-items: center; }
.jca-district-copy h2 { margin-top: 14px; color: var(--jca-midnight); font-size: clamp(48px, 6.5vw, 82px); line-height: .9; }
.jca-district-copy > p { max-width: 610px; color: var(--jca-midnight); font-size: 20px; }
.jca-district-card { min-height: 580px; overflow: hidden; border: 1px solid rgba(13,30,64,.22); }
.jca-district-card-head { min-height: 92px; padding: 22px 28px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid rgba(13,30,64,.22); }
.jca-district-card-head span, .jca-district-card-footer { font: 600 9px var(--jca-mono); letter-spacing: .09em; text-transform: uppercase; }
.jca-district-card-head img { width: 46px; }
.jca-district-card-body { padding: 52px 38px; }
.jca-district-card-body > span { font: 600 10px var(--jca-mono); letter-spacing: .1em; text-transform: uppercase; }
.jca-district-card-body h3 { margin-top: 76px; color: var(--jca-midnight); font-size: clamp(48px, 6vw, 76px); line-height: .88; }
.jca-district-card-body dl { margin: 64px 0 0; }
.jca-district-card-body dl div { padding: 11px 0; display: grid; grid-template-columns: 86px 1fr; border-top: 1px solid rgba(13,30,64,.22); }
.jca-district-card-body dt { font: 600 9px var(--jca-mono); text-transform: uppercase; }
.jca-district-card-body dd { margin: 0; }
.jca-district-card-footer { min-height: 72px; padding: 24px 30px; display: flex; align-items: center; color: var(--jca-hot-white); background: var(--jca-midnight); }

.jca-featured-action { margin-top: 68px; padding: clamp(34px, 5vw, 62px); display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: end; color: var(--jca-hot-white); background: var(--jca-midnight); }
.jca-featured-action h3 { margin-top: 20px; color: var(--jca-hot-white); font-size: clamp(38px, 5vw, 62px); line-height: .95; }
.jca-featured-action p { max-width: 760px; color: rgba(255,255,255,.7); font-size: 18px; }
.jca-action-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.jca-action-card { min-height: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--jca-white); border: 1px solid var(--jca-rule); }
.jca-action-image { aspect-ratio: 16 / 9; overflow: hidden; background: var(--jca-navy); }
.jca-action-image img { width: 100%; height: 100%; object-fit: cover; }
.jca-action-body { min-height: 340px; padding: 28px; display: flex; flex-direction: column; }
.jca-kicker { color: var(--jca-blue); font: 700 10px var(--jca-mono); letter-spacing: .12em; text-transform: uppercase; }
.jca-action-card h3 { margin-top: 70px; color: var(--jca-midnight); font-size: 29px; line-height: 1; }
.jca-action-card p { color: var(--jca-gray); }
.jca-text-link { margin-top: auto; color: var(--jca-blue) !important; font: 700 10px var(--jca-mono); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }

.jca-issue-grid { margin-top: 66px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.jca-issue { min-height: 245px; padding: 30px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.jca-issue:nth-child(even) { border-right: 0; }
.jca-issue > span { color: var(--jca-gold); font: 700 10px var(--jca-mono); }
.jca-issue h3 { margin-top: 68px; color: var(--jca-hot-white); font-size: 31px; }
.jca-issue p { color: rgba(255,255,255,.65); }

.jca-briefing-list { margin-top: 66px; display: grid; border-top: 1px solid var(--jca-rule); }
.jca-briefing { padding: 22px 0; display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: center; border-bottom: 1px solid var(--jca-rule); text-decoration: none; }
.jca-briefing time { color: var(--jca-gray); font: 600 11px var(--jca-mono); }
.jca-briefing h3 { color: var(--jca-midnight); font-size: 21px; line-height: 1.35; }
.jca-briefing > span { color: var(--jca-blue); }

.jca-final-cta { display: grid; grid-template-columns: 240px 1fr; gap: 100px; align-items: center; }
.jca-final-mark { padding: 38px; border: 1px solid rgba(255,255,255,.18); }
.jca-final-mark img { display: block; }
.jca-final-cta h2 { color: var(--jca-hot-white); }
.jca-final-cta p { max-width: 680px; color: rgba(255,255,255,.68); font-size: 20px; }

.jca-content-wrap { padding: 82px 0 112px; background: var(--jca-hot-white); }
.jca-content { max-width: 900px; margin: 0 auto; }
.jca-content h1 { margin: 0 0 34px; color: var(--jca-midnight); font-size: clamp(46px, 6vw, 76px); line-height: .96; letter-spacing: -.05em; }
.jca-content h2, .jca-content h3 { color: var(--jca-midnight); letter-spacing: -.035em; }
.jca-content img { max-width: 100%; height: auto; }
.jca-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.single-actions .jca-content article { max-width: 900px; margin: 0 auto; }
.single-actions .jca-content article > img { width: 100%; margin: 24px 0 34px; }
.single-actions .jca-content .gform_wrapper { margin-top: 36px; padding: clamp(24px, 4vw, 42px); background: var(--jca-cool-white); border: 1px solid var(--jca-rule); }
.single-actions .gform_wrapper [id^="field_"][id$="_13"] { display: none !important; }
.single-actions .gform_wrapper [id^="field_"][id$="_14"] > div > div { height: auto !important; }
body.jewishca-premium-theme .gform_wrapper input:not([type="checkbox"]):not([type="radio"]),
body.jewishca-premium-theme .gform_wrapper select,
body.jewishca-premium-theme .gform_wrapper textarea { border: 1px solid var(--jca-rule); border-radius: 0; background: var(--jca-white); }
body.jewishca-premium-theme .gform_wrapper input[type="submit"],
body.jewishca-premium-theme .gform_wrapper .gform_button { min-height: 52px; padding: 0 24px; color: var(--jca-midnight); background: var(--jca-gold); border: 0; border-radius: 0; font: 700 10px var(--jca-mono); letter-spacing: .08em; text-transform: uppercase; }

.jca-site-footer { color: var(--jca-hot-white); background: var(--jca-midnight); border-top: 1px solid rgba(255,255,255,.16); }
.jca-footer-main { padding: 72px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.jca-footer-main p { max-width: 560px; margin: 22px 0 0; color: rgba(255,255,255,.63); }
.jca-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.jca-footer-links a { padding: 14px 0; color: rgba(255,255,255,.75) !important; border-bottom: 1px solid rgba(255,255,255,.16); font: 600 10px var(--jca-mono); text-decoration: none; text-transform: uppercase; }
.jca-footer-links a:hover, .jca-footer-links a:focus-visible { color: var(--jca-gold) !important; }
.jca-footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; gap: 24px; color: rgba(255,255,255,.48); border-top: 1px solid rgba(255,255,255,.16); font: 500 9px/1.5 var(--jca-mono); text-transform: uppercase; }

@media (max-width: 1020px) {
	.jca-menu-toggle { display: grid; }
	.jca-primary-nav { display: none; position: absolute; left: 0; right: 0; top: 102px; min-height: calc(100vh - 102px); padding: 32px 24px; background: var(--jca-midnight); }
	.jca-primary-nav.is-open { display: block; }
	.jca-primary-nav ul { display: grid; gap: 0; }
	.jca-primary-nav li { border-bottom: 1px solid rgba(255,255,255,.16); }
	.jca-site-header .jca-primary-nav a { padding: 20px 4px; display: block; font-size: 16px; }
	.jca-site-header .jca-primary-nav li:last-child a { margin-top: 18px; padding: 18px; text-align: center; }
	.jca-hero-inner { grid-template-columns: 1fr; }
	.jca-hero-copy { max-width: 760px; }
	.jca-split, .jca-district-layout, .jca-final-cta { grid-template-columns: 1fr; }
	.jca-district-layout, .jca-final-cta { gap: 52px; }
	.jca-final-mark { width: 240px; }
	.jca-featured-action { grid-template-columns: 1fr; }
	.jca-action-grid, .jca-archive-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
	.jca-container { width: min(100% - 30px, 1220px); }
	.jca-header-row { min-height: 86px; }
	.jca-primary-nav { top: 86px; min-height: calc(100vh - 86px); }
	.jca-identity-type { min-width: 150px; }
	.jca-identity-california { font-size: 18px; }
	.jca-identity-jewish { font-size: 14px; }
	.jca-identity img { width: 42px; height: 49px; flex-basis: 42px; }
	.jca-hero, .jca-hero-inner { min-height: auto; }
	.jca-hero-copy { padding: 94px 0 104px; }
	.jca-hero h1 { font-size: 58px; }
	.jca-pillar-grid, .jca-journey, .jca-issue-grid, .jca-action-grid, .jca-archive-grid, .jca-footer-main { grid-template-columns: 1fr; }
	.jca-pillar, .jca-step, .jca-issue { border-right: 0; border-bottom: 1px solid var(--jca-rule); }
	.jca-step, .jca-issue { border-color: rgba(255,255,255,.2); }
	.jca-pillar { padding-inline: 0; }
	.jca-pillar h3, .jca-step h3 { margin-top: 68px; }
	.jca-featured-action { margin-top: 52px; }
	.jca-district-card-body { padding: 40px 24px; }
	.jca-district-card-body h3 { font-size: 50px; }
	.jca-briefing { grid-template-columns: 1fr auto; gap: 8px 18px; }
	.jca-briefing time { grid-column: 1 / -1; }
	.jca-footer-links { grid-template-columns: 1fr; }
	.jca-footer-bottom { flex-direction: column; }
	.jca-content-wrap { padding: 64px 0 84px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.jca-hero-video { display: none; }
}
