/*
 * Block-pattern section styles for the 5 marketing pages (Home, About,
 * Get Involved, Become a Sponsor use these; Programs is its own static
 * template, not a pattern — see page-templates/programs.php).
 *
 * Each pattern wraps in a core/group with one cusal-* className; styling
 * targets descendant core blocks (headings, paragraphs, buttons, columns)
 * by tag/standard class rather than adding a custom className to every
 * element, so patterns stay simple to edit in wp-admin.
 */

/*
 * The original React Section component used two nested elements: a
 * full-bleed outer <section> (background only) and an inner div capped at
 * 1440px holding the padding. Patterns collapse both roles onto this one
 * div, so it must NOT have its own max-width/margin — that would clip the
 * background at 1440px instead of letting it span the viewport. The 1088px
 * inner-content cap is handled by WordPress's own native "constrained"
 * layout (theme.json settings.layout.contentSize), which applies to this
 * element's direct children automatically since every pattern sets
 * {"layout":{"type":"constrained"}} — no extra selector needed here.
 * (.wp-block-group__inner-container doesn't exist in current WordPress
 * versions; that's not a real element to target.)
 */
.cusal-section {
	padding-left: clamp(20px, 12.2vw, 176px);
	padding-right: clamp(20px, 12.2vw, 176px);
	width: 100%;
	box-sizing: border-box;
}

/* ---------- Home: Hero ---------- */
.cusal-hero { background: #ffffff; padding-top: clamp(60px, 6.9vw, 100px); padding-bottom: clamp(60px, 6.9vw, 100px); }
.cusal-hero .cusal-eyebrow { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; color: #404359; letter-spacing: 2.4px; text-transform: uppercase; }
.cusal-hero h1 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: clamp(34px, 4.03vw, 58px); color: #00263f; letter-spacing: -0.58px; line-height: 1.07; margin: 20px 0; }
.cusal-hero h1 mark, .cusal-hero h1 .cusal-accent { background: none; color: #0f428a; }
.cusal-hero p:not(.cusal-eyebrow) { font-family: 'Inter', sans-serif; font-size: clamp(15px, 1.15vw, 16.5px); color: #404359; line-height: 1.7; max-width: 580px; }
.cusal-hero figure img { border-radius: 4px; outline: 9.7px solid #f1f8fc; outline-offset: -9.7px; }

/* ---------- Home: Lending Brief teaser ---------- */
.cusal-lending-brief { background: #00263f; padding-top: clamp(48px, 4.9vw, 70px); padding-bottom: clamp(48px, 4.9vw, 70px); }
.cusal-lending-brief h2 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: clamp(30px, 3.19vw, 46px); color: #ffffff; letter-spacing: -0.46px; margin: 0 0 10px; }
.cusal-lending-brief > .wp-block-columns p { font-family: 'Inter', sans-serif; font-size: 13.5px; color: #c2e7ed; line-height: 1.5; margin: 0; }
.cusal-lending-brief .cusal-subscribe-card .wp-block-paragraph { font-family: 'Inter', sans-serif; font-size: 13.5px; color: #0e272b; line-height: 1.5; margin: 0; }
.cusal-newsletter-cadence { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; color: #9fb3c8; letter-spacing: 2.16px; text-transform: uppercase; white-space: nowrap; }
.cusal-lending-brief-divider { border-color: #234057; margin: 34px 0 0; }
.cusal-subscribe-card { background: #ffffff; border-radius: 14px; padding: 30px 28px; }
.cusal-subscribe-card h3 { font-family: 'Newsreader', serif; font-weight: 400; font-size: 24px; color: #00263f; margin: 12px 0 10px; }
.cusal-subscribe-card p { color: #404359; font-size: 13.5px; }
.cusal-lending-brief .wp-block-button__link { background: #1a61c6; border-radius: 7px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14.5px; width: 100%; text-align: center; }
.cusal-lendingg-breif-highlight__container { display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:40px; }
@media (min-width: 1081px) {
	.cusal-lendingg-breif-highlight__container { display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:40px; }
}

/* No. 14/13/... issue rows in the Home lending-brief teaser. */
.cusal-brief-issue-list { padding-top: 34px; }
.cusal-brief-issue-row { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid #234057; }
.cusal-brief-issue-row--last { border-bottom: none; }
.cusal-brief-issue-meta { display: flex; flex-direction: column; gap: 2px; width: 84px; flex-shrink: 0; }
.cusal-brief-issue-meta span:first-child { font-family: 'Newsreader', serif; font-weight: 400; font-size: 18px; color: #ffffff; line-height: 1; }
.cusal-brief-issue-meta span:last-child { font-family: 'Newsreader', serif; font-weight: 400; font-size: 12.5px; color: #9fb3c8; line-height: 1; }
.cusal-brief-issue-copy { display: flex; flex-direction: column; gap: 5px; }
.cusal-brief-issue-copy p:first-child { font-family: 'Newsreader', serif; font-weight: 400; font-size: 21px; color: #ffffff; line-height: 1.25; margin: 0; }
.cusal-brief-issue-copy p:last-child { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 13.5px; color: #c2e7ed; line-height: 1.5; margin: 0; }
.cusal-lending-brief > .wp-block-columns:last-of-type a { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13.5px; color: #c2e7ed; text-decoration: none; display: inline-block; padding-top: 18px; }

/* ---------- Home: Why Federal Credit (stats) ---------- */
.cusal-why-federal-credit { background: #ffffff; padding-top: 78px; padding-bottom: 78px; }
.cusal-why-federal-credit .cusal-eyebrow { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; color: #0f428a; letter-spacing: 2.4px; text-transform: uppercase; }
.cusal-why-federal-credit h2 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: clamp(24px, 2.3vw, 33px); color: #00263f; line-height: 1.22; margin: 0; }
.cusal-why-federal-credit .cusal-lede-copy p { font-family: 'Inter', sans-serif; font-size: clamp(14px, 1.11vw, 16px); color: #404359; line-height: 1.75; }
.cusal-stat { font-family: 'Newsreader', serif; font-weight: 400; font-size: clamp(40px, 3.82vw, 55px); color: #0f428a; line-height: 1; margin: 0; }
.cusal-stat-caption { font-family: 'Inter', sans-serif; font-size: 13px; color: #404359; }

/* ---------- Home: Sponsors & Partners (also reused on About) ---------- */
.cusal-sponsors { background: #f4f8fa; padding-top: 74px; padding-bottom: 74px; text-align: center; }
.cusal-sponsors .cusal-eyebrow { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; color: #00263f; letter-spacing: 2.4px; text-transform: uppercase; }
.cusal-sponsors h2 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: clamp(24px, 2.22vw, 32px); color: #00263f; line-height: 1.18; max-width: 760px; margin: 0 auto; }
.cusal-sponsors p:not(.cusal-eyebrow) { font-family: 'Inter', sans-serif; font-size: 15.5px; color: #404359; line-height: 1.65; max-width: 784px; margin: 0 auto; }
.cusal-sponsor-label { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px; color: #00263f; letter-spacing: 1.3px; text-transform: uppercase; white-space: nowrap; }
/* Two rows: Founded&PoweredBy+Founding (row 1), Champion+Community+Partners (row 2) — matches the original's two ScrollReveal groups, not one flat wrap. */
.cusal-sponsor-row { display: grid; gap: 32px; align-items: self-start; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)) !important;}
.cusal-sponsor-row:last-of-type { margin-bottom: 0; align-items: flex-start; }
.cusal-sponsor-row img { max-height: 55px; object-fit: contain; }
.cusal-sponsor-row  .cusal-allocore-logo { width: auto; height: 55px; display: block; }

.hr { color: #e5dfdc; }

/* ---------- Get Involved CTA band (Home + About) ---------- */
.cusal-get-involved-cta { padding-top: 76px; padding-bottom: 76px; }
.cusal-get-involved-cta.is-light { background: #f4f8fa; }
.cusal-get-involved-cta h2 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; color: #404359; line-height: 1.1; margin: 0; }
.cusal-get-involved-cta .wp-block-buttons { align-items: center; }
.cusal-get-involved-cta .wp-block-button.is-style-fill .wp-block-button__link { background: #1a61c6; border-radius: 6px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14.5px; padding: 13px 22px; }
.cusal-get-involved-cta .wp-block-button.is-style-outline .wp-block-button__link { color: #404359; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13.5px; border: none; padding: 0; }

/* ---------- About: Page header ---------- */
.cusal-about-header { background: #ffffff; padding: 60px clamp(20px, 12.2vw, 176px) 0px; }
.cusal-about-header h1 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: clamp(34px, 3.89vw, 56px); color: #00263f; line-height: 1.06; letter-spacing: -0.56px; max-width: 1000px; margin: 24px 0; }
.cusal-about-header p:not(.cusal-eyebrow) { font-family: 'Inter', sans-serif; font-size: 16.5px; color: #404359; line-height: 1.7; }
/* Only the Sponsor variant of this header has a CTA button (sponsor-header pattern). */
.cusal-about-header .wp-block-button__link { background: #1a61c6; border-radius: 6px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14.5px; padding: 14px 24px; }

/* ---------- About: Mission / Vision ---------- */
.cusal-mission-vision { padding-top: 20vh; padding-bottom: 20vh; }
.cusal-mission-vision.is-dark { background: #00263f; position: relative; overflow: hidden; background-image: url('../images/program-wheel.png'); background-repeat: no-repeat; background-position: center; }
.cusal-mission-vision .cusal-eyebrow { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; }
.cusal-mission-vision:not(.is-dark) .cusal-eyebrow { color: #0f428a; }
.cusal-mission-vision.is-dark .cusal-eyebrow { color: #c2e7ed; }
.cusal-mission-vision p:not(.cusal-eyebrow) { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: clamp(22px, 2.08vw, 30px); line-height: 1.38; margin: 48px 0 0; }
.cusal-mission-vision:not(.is-dark) p:not(.cusal-eyebrow) { color: #00263f; }
.cusal-mission-vision.is-dark p:not(.cusal-eyebrow) { color: #ffffff; }

/* ---------- About: How We Work / Sponsorship "What It Supports" 3-column ---------- */
.cusal-three-col-features { padding-top: 74px; padding-bottom: 74px; background: #ffffff; }
.cusal-three-col-features .cusal-eyebrow { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; color: #00263f; letter-spacing: 2.4px; text-transform: uppercase; }
.cusal-three-col-features .wp-block-column { border-top: 2px solid #ff1111; padding-top: 16px; }
.cusal-three-col-features h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 24px; color: #00263f; margin: 0 0 10px; }
.cusal-three-col-features p:not(.cusal-eyebrow) { font-family: 'Inter', sans-serif; font-size: 15px; color: #404359; line-height: 1.65; }

/* ---------- About: Featured video (decorative, static) ---------- */
.cusal-featured-video { position: relative; overflow: hidden; }
.cusal-featured-video img { width: 100%; height: clamp(320px, 56vw, 806px); object-fit: cover; display: block; }
.cusal-featured-video::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.cusal-featured-video .cusal-play-button { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cusal-play-button span { width: 90px; height: 90px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; opacity: 0.85; }

/* ---------- Sponsorship tiers (Become a Sponsor) ---------- */
.cusal-sponsorship-tiers { background: #f4f8fa; padding-top: 74px; padding-bottom: 74px; }
.cusal-sponsorship-tiers .cusal-eyebrow { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; color: #00263f; letter-spacing: 2.4px; text-transform: uppercase; }
.cusal-sponsorship-tiers h2 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 33px; color: #00263f; margin: 0 0 30px; max-width: 760px; }
.cusal-tier-card { background: #ffffff; border-radius: 18px; padding: 28px 26px; border: 1px solid #e4e9ef; box-shadow: 0 8px 20px 0 rgba(0,38,64,0.06); height: 100%; }
.cusal-tier-card.is-founding { background: #00263f; border: none; box-shadow: 0 16px 40px 0 rgba(0,38,64,0.18); }
.cusal-tier-card .cusal-tier-name { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px; color: #0f428a; letter-spacing: 1.3px; text-transform: uppercase; }
.cusal-tier-card.is-founding .cusal-tier-name { color: #c2e7ed; }
.cusal-tier-card .cusal-tier-price { font-family: 'Newsreader', serif; font-size: 44px; color: #00263f; }
.cusal-tier-card.is-founding .cusal-tier-price { color: #ffffff; }
.cusal-tier-card .cusal-tier-price-suffix { font-family: 'Inter', sans-serif; font-size: 13px; color: #404359; }
.cusal-tier-card.is-founding .cusal-tier-price-suffix { color: #9fb3c8; }
.cusal-tier-card ul { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid #e4e9ef; padding-top: 18px; }
.cusal-tier-card.is-founding ul { border-top-color: #234057; color: #c2e7ed; }
.cusal-tier-card li { font-family: 'Inter', sans-serif; font-size: 14px; color: #404359; line-height: 1.5; padding-left: 22px; position: relative; margin-bottom: 10px; }
.cusal-tier-card.is-founding li { color: #c2e7ed; }
.cusal-tier-card li::before { content: "✓"; position: absolute; left: 0; color: #1a61c6; font-weight: 700; }
.cusal-tier-badge { display: inline-block; background: #1a61c6; color: #fff; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 10.5px; letter-spacing: 0.84px; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- Forms shared by Get Involved + Become a Sponsor ---------- */
.cusal-lead-form label { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px; color: #00263f; display: block; margin-bottom: 8px; }
.cusal-lead-form input[type="text"],
.cusal-lead-form input[type="email"],
.cusal-lead-form textarea {
	font-family: 'Inter', sans-serif; font-size: 14.5px; color: #00263f; background: #ffffff;
	border: 1px solid #cfd8e2; border-radius: 8px; padding: 14px; width: 100%; box-sizing: border-box; outline: none;
}
.cusal-lead-form textarea { resize: vertical; }
.cusal-lead-form .cusal-form-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cusal-lead-form .cusal-form-row > div { flex: 1 1 200px; }
.cusal-lead-form button[type="submit"] {
	background: #1a61c6; color: #ffffff; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
	padding: 15px 30px; border-radius: 8px; border: none; cursor: pointer;
}
.cusal-lead-form .cusal-form-note { font-family: 'Inter', sans-serif; font-size: 12.5px; color: #404359; line-height: 1.5; max-width: 560px; margin-top: 14px; }
.cusal-contact-card { background: #00263f; border-radius: 16px; padding: 34px 32px; }
.cusal-contact-card h2 { font-family: 'Newsreader', Georgia, serif; font-size: 26px; color: #ffffff; margin: 0 0 14px; }
.cusal-contact-card > p { font-family: 'Inter', sans-serif; font-size: 14.5px; color: #c2e7ed; line-height: 1.65; }
.cusal-contact-card hr { border: none; border-top: 1px solid #234057; margin: 28px 0; }
.cusal-contact-card .cusal-contact-label { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 11.5px; color: #9fb3c8; letter-spacing: 1.38px; text-transform: uppercase; margin: 0 0 5px; }
.cusal-contact-card .cusal-contact-value { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 15px; color: #ffffff; margin: 0 0 20px; }
