/*
Theme Name: Octobots
Theme URI: https://indianolarobotics.org
Author: Indianola Robotics Team
Description: Custom theme for the Indianola Robotics Team (FTC 8938, The Octobots).
Version: 1.0.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: octobots
*/

:root {
  --navy: #1c1b3a;
  --navy-2: #26254a;
  --navy-3: #33325a;
  --purple: #7c4dff;
  --purple-d: #5b2fd6;
  --yellow: #ffd63b;
  --yellow-l: #ffe680;
  --paper: #f7f6fb;
  --ink: #1c1b3a;
  --muted: #4b4a66;
  --lav: #c9c3ee;
  --lav-2: #d9d6ef;
  --lav-3: #e6e3f7;
  --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1440px;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-decoration: none; }
a:hover { color: var(--yellow-l); }
p { margin: 0 0 1em; }
sup.reg { font-size: .5em; vertical-align: super; line-height: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; line-height: 0.9; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; line-height: 0.9; }
.eyebrow { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 30px); letter-spacing: 0.08em; color: var(--yellow); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
.accent { color: var(--yellow); }
.accent-purple { color: var(--purple); }
.section-title { font-size: clamp(56px, 6vw, 84px); }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; color: var(--lav-3); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 17px; padding: 16px 28px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; text-align: center; white-space: nowrap; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-l); color: var(--navy); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-sm { font-size: 15px; padding: 11px 20px; }
.arrow-link { font-weight: 700; font-size: 17px; color: var(--yellow); }
.arrow-link::after { content: " \2192"; }
.arrow-link-sm { font-size: 16px; }
.section-title-lg { font-size: clamp(56px, 7vw, 96px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(28,27,58,.92); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand img { width: 56px; height: 56px; }
.brand-name { font-size: 20px; font-weight: 700; line-height: 1.05; }
.brand-sub { white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lav); }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.site-nav ul a { font-size: 16px; font-weight: 600; color: #fff; }
.site-nav ul a:hover, .site-nav ul .current-menu-item > a { color: var(--yellow); }
.nav-actions { display: flex; gap: 12px; }
.nav-toggle { display: none; background: none; border: 2px solid #fff; border-radius: 8px; color: #fff; padding: 8px 12px; font: inherit; font-weight: 700; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: clamp(560px, 62vw, 860px); display: flex; align-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: .55; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 25%, rgba(28,27,58,.2) 100%); }
.hero .wrap { position: relative; width: 100%; padding-block: 72px; }
.hero-inner { display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.hero h1 { font-size: clamp(72px, 11.5vw, 168px); color: #fff; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }

.hero-logo { position: absolute; right: clamp(16px, 5vw, 96px); top: clamp(24px, 6vw, 96px); width: clamp(140px, 22vw, 340px); height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); pointer-events: none; }
@media (max-width: 860px) { .hero-logo { width: 120px; top: 24px; right: 20px; opacity: .9; } }

/* Video lightbox */
.video-lightbox { position: relative; margin: 0; max-width: 640px; }
.video-lightbox a { display: block; position: relative; border-radius: 16px; overflow: hidden; }
.video-lightbox img { width: 100%; display: block; }
.video-lightbox a::after { content: ""; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231c1b3a' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/40px no-repeat; box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .15s ease; }
.video-lightbox a:hover::after { transform: scale(1.06); }
.video-lightbox figcaption { font-size: 14px; color: var(--lav); margin-top: 10px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,11,30,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox-frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: var(--yellow); color: var(--navy); border: 0; border-radius: 8px; font: inherit; font-weight: 700; padding: 10px 16px; cursor: pointer; }
.prose .media-row { gap: 48px; align-items: center; margin: 40px 0; }
.prose .media-row .wp-block-column { flex-basis: 0; min-width: 0; }
.prose .media-row .wp-block-image { margin: 0; }
.prose .media-row .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.prose .media-row p:last-child { margin-bottom: 0; }
.prose .media-row h2, .prose .media-row h3 { margin-top: 0; }
.prose .callout { margin: 32px 0 48px; }
.prose .wp-block-image.alignwide { margin-top: 48px; margin-bottom: 48px; }
.prose .about-team-photo { max-width: 720px; }
.prose .form-row { gap: 48px; align-items: flex-start; margin-top: 48px; }
.prose .form-row .wp-block-column { min-width: 0; }
.prose .form-row h2 { margin-top: 0; }
.prose .form-row .wpcf7 { max-width: none; }
.prose .form-photo { align-self: stretch; display: flex; }
.prose .form-photo .wp-block-image { margin: 0; display: flex; flex-direction: column; flex: 1; }
.prose .form-photo .wp-block-image img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: 50% 30%; border-radius: 16px; }
@media (max-width: 781px) { .prose .form-photo .wp-block-image img { aspect-ratio: 3 / 4; flex: none; } }
.prose .wp-block-image.crop-wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 35%; border-radius: 16px; }
.prose .about-team-photo img { border-radius: 16px; }
.prose figcaption, .wp-block-image figcaption { font-size: 14px; color: var(--lav); margin-top: 10px; text-align: left; }

/* Sponsor strip */
.sponsor-strip { border-top: 1px solid var(--navy-3); border-bottom: 1px solid var(--navy-3); }
.sponsor-strip .wrap { display: flex; align-items: center; gap: 32px; padding-block: 28px; }
.sponsor-strip-label { flex: 0 0 200px; display: flex; flex-direction: column; gap: 4px; }
.sponsor-strip-label strong { font-size: 18px; line-height: 1.2; }
.sponsor-strip-label a { font-size: 14px; font-weight: 700; color: var(--lav); }
.ticker { flex: 1 1 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 20px; width: max-content; animation: ticker 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker.is-static { -webkit-mask-image: none; mask-image: none; }
.ticker.is-static .ticker-track { animation: none; width: auto; flex-wrap: wrap; }
.ticker-logo.is-empty:hover { border-color: var(--yellow); color: var(--yellow); }
.ticker-logo { flex: 0 0 auto; width: 180px; height: 84px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 12px; }
.ticker-logo img { max-height: 60px; width: auto; object-fit: contain; }
.ticker-logo.is-empty { background: none; border: 2px dashed var(--navy-3); color: #6f6c9a; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Sections */
.section { padding-block: clamp(56px, 6.5vw, 96px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-head-title { display: flex; align-items: center; gap: 18px; }
.section-head-title img { width: 56px; height: 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* News cards */
.card { display: flex; flex-direction: column; background: var(--navy-2); border-radius: 16px; overflow: hidden; color: #fff; }
.card:hover { color: #fff; }
.card-img { height: 210px; overflow: hidden; background: var(--navy-3); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.card-title { font-size: 34px; line-height: .95; }
.card-excerpt { font-size: 15px; line-height: 1.5; color: var(--lav); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text { display: flex; flex-direction: column; gap: 22px; }
.about-text p { font-size: 19px; line-height: 1.55; color: var(--lav-2); margin: 0; }
.about-photos { position: relative; height: 420px; }
.about-photo-1 { position: absolute; left: 0; top: 0; width: 76%; height: 76%; border-radius: 14px; overflow: hidden; }
.about-photo-2 { position: absolute; right: 0; bottom: 0; width: 46%; height: 52%; border-radius: 14px; overflow: hidden; border: 6px solid var(--navy); }
.about-photos img { width: 100%; height: 100%; object-fit: cover; }

/* Get involved */
.involve-card { display: flex; flex-direction: column; gap: 14px; background: var(--navy-2); border-radius: 16px; padding: 32px; }
.involve-icon { width: 96px; height: 96px; border-radius: 20px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.involve-icon img { width: 72px; height: 72px; }
.involve-card h3 { font-size: 44px; }
.involve-card p { font-size: 16px; color: var(--lav); margin: 0; }

/* CTA */
.cta { margin-block: clamp(56px, 6.5vw, 96px); background: var(--purple); border-radius: 20px; padding: clamp(32px, 4vw, 56px) clamp(24px, 4.5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-text { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.cta-text h2 { font-size: clamp(48px, 5vw, 72px); color: #fff; }
.cta-text p { font-size: 18px; color: #efeaff; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* Block-built homepage */
.hero-inner > * { margin: 0; }
.hero-inner .wp-block-buttons { gap: 16px; padding-top: 8px; }
.hero-title { font-size: clamp(72px, 11.5vw, 168px); color: #fff; line-height: .9; }
:is(.home, .editor-styles-wrapper) mark { background: none !important; color: inherit; }
:is(.home, .editor-styles-wrapper) .has-yellow-color { color: var(--yellow) !important; }
:is(.home, .editor-styles-wrapper) .has-purple-color { color: var(--purple) !important; }
:is(.home, .editor-styles-wrapper) .wp-block-buttons { gap: 16px; }
:is(.home, .editor-styles-wrapper) .wp-block-button__link { border-radius: 8px; font-weight: 700; font-family: var(--font-body); font-size: 17px; padding: 16px 28px; background: var(--yellow); color: var(--navy); border: 2px solid var(--yellow); }
:is(.home, .editor-styles-wrapper) .is-style-outline .wp-block-button__link, .home .is-style-outline > .wp-block-button__link { background: none; border-color: #fff; color: #fff; }
:is(.home, .editor-styles-wrapper) .wp-block-group.section > .wrap { width: 100%; }
:is(.home, .editor-styles-wrapper) .section-head p { margin: 0 0 12px; }
:is(.home, .editor-styles-wrapper) .wp-block-columns.grid-3 { gap: 24px; }
:is(.home, .editor-styles-wrapper) .wp-block-columns.grid-3 .wp-block-column.involve-card { flex-basis: 0; }
:is(.home, .editor-styles-wrapper) .involve-card .wp-block-image { margin: 0; }
:is(.home, .editor-styles-wrapper) .involve-card .wp-block-image img { width: 72px; height: 72px; }
:is(.home, .editor-styles-wrapper) .involve-card .involve-icon { width: 96px; height: 96px; border-radius: 20px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
:is(.home, .editor-styles-wrapper) .involve-card p { margin: 0; }
:is(.home, .editor-styles-wrapper) .wp-block-columns.about { gap: 64px; }
:is(.home, .editor-styles-wrapper) .about-text p { margin: 0; }
:is(.home, .editor-styles-wrapper) .about-photos { position: relative; height: 420px; }
:is(.home, .editor-styles-wrapper) .about-photos .wp-block-image { margin: 0; position: absolute; overflow: hidden; border-radius: 14px; }
:is(.home, .editor-styles-wrapper) .about-photos .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
:is(.home, .editor-styles-wrapper) .about-photos .about-photo-1 { left: 0; top: 0; width: 76%; height: 76%; }
:is(.home, .editor-styles-wrapper) .about-photos .about-photo-2 { right: 0; bottom: 0; width: 46%; height: 52%; border: 6px solid var(--navy); }
:is(.home, .editor-styles-wrapper) .wp-block-group.cta { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 40px; margin-block: clamp(56px, 6.5vw, 96px); }
:is(.home, .editor-styles-wrapper) .cta > * { margin: 0; }
:is(.home, .editor-styles-wrapper) .cta > .cta-text { flex: 1 1 auto; min-width: 0; max-width: 760px; }
:is(.home, .editor-styles-wrapper) .wp-block-buttons.cta-actions { flex: 0 0 auto; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; width: auto; }
:is(.home, .editor-styles-wrapper) .cta-actions .wp-block-button { width: auto; margin: 0; }
:is(.home, .editor-styles-wrapper) .cta-actions .wp-block-button__link { display: block; width: 100%; text-align: center; font-size: 18px; padding: 18px 32px; }
@media (max-width: 1024px) {
  .home .wp-block-group.cta { flex-direction: column; align-items: flex-start; }
  .home .wp-block-buttons.cta-actions { flex-direction: row; flex-wrap: wrap; }
  .home .cta-actions .wp-block-button { width: auto; }
  .home .wp-block-columns.about { gap: 40px; }
  .home .about-photos { height: 380px; }
}
@media (max-width: 781px) {
  .home .wp-block-columns.grid-3 .wp-block-column.involve-card { flex-basis: 100% !important; }
  .home .about-photos { height: 300px; }
}

/* Footer */
#main { flex: 1 0 auto; }
.site-footer { margin-top: auto; background: var(--navy-2); padding-block: 40px; }
.site-footer .wrap { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand strong { font-size: 16px; letter-spacing: .12em; text-transform: uppercase; }
.footer-brand span { font-size: 14px; color: var(--lav); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px 32px; }
.footer-nav a { font-size: 14px; font-weight: 600; color: #fff; }
.footer-nav a:hover { color: var(--yellow); }

/* Social */
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; width: 40px; height: 40px; border-radius: 10px; background: var(--navy-3); color: #fff; justify-content: center; transition: background .12s ease, color .12s ease; }
.social-link svg { width: 22px; height: 22px; }
.social-link:hover { background: var(--yellow); color: var(--navy); }
.social-row.has-labels { gap: 12px; }
.social-row.has-labels .social-link { width: auto; height: auto; padding: 12px 18px 12px 14px; font-weight: 700; font-size: 16px; }
.prose .social-row { margin: 8px 0 32px; }
@media (max-width: 600px) { .footer-right { align-items: flex-start; } }

/* Inner pages */
.page-hero { padding-block: clamp(48px, 6vw, 88px) clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--navy-3); }
.page-hero .kicker { display: block; margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(64px, 8vw, 120px); margin-left: -0.04em; }
.page-hero .lead { max-width: 720px; margin-top: 16px; }
.content { padding-block: clamp(40px, 5vw, 72px); }
.prose { max-width: 1100px; font-size: 18px; line-height: 1.6; color: var(--lav-3); }
.prose > p, .prose > ul, .prose > ol, .prose > h2, .prose > h3, .prose > blockquote { max-width: 860px; }
.prose a { overflow-wrap: anywhere; }
.prose h2 { font-size: 48px; margin: 1.2em 0 .4em; color: #fff; }
.prose h3 { font-size: 34px; margin: 1.2em 0 .4em; color: #fff; }
.prose img { border-radius: 14px; }
.prose a { text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1em; border-left: 4px solid var(--yellow); color: #fff; }
.prose .wp-block-image figcaption { font-size: 14px; color: var(--lav); }
.prose p { margin: 0 0 1.2em; }
.prose .lead { font-size: clamp(19px, 1.6vw, 22px); color: #fff; }
.content .alignwide { max-width: 1100px; }
.prose .wp-block-columns { gap: 24px; }
.prose .wp-block-buttons { margin: 1.5em 0; }
.prose .wp-block-button__link { border-radius: 8px; font-weight: 700; font-family: var(--font-body); text-decoration: none; padding: 14px 26px; }
.prose .wp-block-button__link, .prose .is-style-fill .wp-block-button__link { background: var(--yellow); color: var(--navy); }
.prose .is-style-outline .wp-block-button__link { background: none; border: 2px solid #fff; color: #fff; }
.prose .wp-block-table table { border-collapse: collapse; width: 100%; }
.prose .wp-block-table td, .prose .wp-block-table th { border: 1px solid var(--navy-3); padding: 10px 12px; }
.prose .has-yellow-color { color: var(--yellow); } .prose .has-purple-color { color: var(--purple); }

/* Reusable block classes (add under Advanced > Additional CSS class in the editor) */
.tier { background: var(--navy-2); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.tier.is-top { background: var(--purple); }
.tier .tier-price { font-family: var(--font-display); font-size: 52px; line-height: .9; color: var(--yellow); margin: 0 0 6px !important; }
.tier h3 { font-size: 32px; margin: 0 0 6px; color: #fff; }
.tier ul { margin: 6px 0 0; padding-left: 1.1em; font-size: 15px; color: var(--lav-3); }
.tier ul li { margin-bottom: 6px; }
.tier .tier-note { font-size: 13px; color: var(--lav); margin: 0; }
.callout { background: var(--purple); border-radius: 16px; padding: 28px 32px; color: #fff; }
.callout p { margin: 0; font-size: 18px; }
.info-card { background: var(--navy-2); border-radius: 16px; padding: 28px; height: 100%; }
.info-card h3 { font-size: 30px; margin: 0 0 12px; color: #fff; }
.info-card .card-icon { margin: 0 0 18px; width: 72px; height: 72px; border-radius: 16px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.info-card .card-icon img { width: 48px !important; height: 48px; }
.prose .wp-block-table.schedule td, .prose .wp-block-table.schedule th { padding: 14px 16px; font-size: 17px; vertical-align: top; }
.prose .wp-block-table.schedule th { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); text-align: left; }
.prose .wp-block-table.schedule td:first-child { font-family: var(--font-display); font-size: 28px; line-height: 1; color: #fff; white-space: nowrap; }
.prose .wp-block-table.schedule tr.is-past { opacity: .55; }
.prose .wp-block-table.schedule figcaption { font-size: 14px; color: var(--lav); }
.info-card p { margin: 0; font-size: 16px; color: var(--lav-3); }
.step-num { font-family: var(--font-display); font-size: 40px; color: var(--yellow); line-height: 1; margin: 0 0 14px !important; }

/* Events */
.event-card { display: flex; gap: 28px; align-items: flex-start; background: var(--navy-2); border-radius: 16px; padding: 28px; }
.event-card.is-featured { padding: clamp(24px, 3vw, 40px); }
.event-date-block { flex: 0 0 auto; width: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--yellow); color: var(--navy); border-radius: 14px; padding: 12px 8px; text-align: center; }
.event-month { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.event-day { font-family: var(--font-display); font-size: 56px; line-height: .9; }
.event-dow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.event-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.event-title { font-size: clamp(32px, 3.2vw, 48px); line-height: .95; }
.event-title a { color: #fff; }
.event-title a:hover { color: var(--yellow); }
.event-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 16px; color: var(--lav-2); }
.event-meta a { color: var(--lav-2); text-decoration: underline; text-underline-offset: 3px; }
.event-meta a:hover { color: var(--yellow); }
.event-desc { font-size: 17px; line-height: 1.5; color: var(--lav-3); margin: 4px 0 0; max-width: 680px; }
.event-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.event-card p.event-desc { margin: 4px 0 0; }
.schedule small { font-size: 14px; color: var(--lav); }
.schedule small.kicker { font-size: 11px; }
.schedule td a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .event-card { flex-direction: column; gap: 18px; }
  .event-date-block { flex-direction: row; gap: 10px; width: auto; align-self: flex-start; padding: 8px 14px; }
  .event-day { font-size: 36px; }
}
:is(.home, .editor-styles-wrapper) .outreach { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
:is(.home, .editor-styles-wrapper) .outreach-photo .wp-block-image { margin: 0; border-radius: 16px; overflow: hidden; }
:is(.home, .editor-styles-wrapper) .outreach-photo img { width: 100%; height: auto; display: block; }
:is(.home, .editor-styles-wrapper) .outreach-photo figcaption { font-size: 14px; color: var(--lav); margin-top: 10px; }
:is(.home, .editor-styles-wrapper) .outreach .wp-block-column { flex-basis: 0; }
:is(.home, .editor-styles-wrapper) .outreach-text p { margin: 0 0 16px; }
:is(.home, .editor-styles-wrapper) .outreach-text p:last-of-type { margin-bottom: 0; }
:is(.home, .editor-styles-wrapper) .outreach-text .section-title { margin-bottom: 8px; }
:is(.home, .editor-styles-wrapper) .outreach-icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; align-items: stretch; }
:is(.home, .editor-styles-wrapper) .outreach-icons .wp-block-group { background: var(--navy-2); border-radius: 14px; padding: 16px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 0; }
:is(.home, .editor-styles-wrapper) .outreach-icons > *, :is(.home, .editor-styles-wrapper) .outreach-icons .wp-block-group > * { margin: 0 !important; }
:is(.home, .editor-styles-wrapper) .outreach-icons .wp-block-image { margin: 0; width: 44px; height: 44px; flex: 0 0 44px; }
:is(.home, .editor-styles-wrapper) .outreach-icons .wp-block-image img { width: 44px !important; height: 44px !important; display: block; }
:is(.home, .editor-styles-wrapper) .outreach-icons p { margin: 0; font-size: 14px; font-weight: 600; color: var(--lav-3); }
@media (max-width: 900px) { :is(.home, .editor-styles-wrapper) .outreach { grid-template-columns: 1fr; gap: 32px; } }

/* Contact Form 7 */
.wpcf7 { max-width: 640px; }
.wpcf7 label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lav); margin-bottom: 6px; }
.wpcf7 p { margin: 0 0 18px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .wpcf7 select { width: 100%; min-height: 52px; background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 8px; color: #fff; font: inherit; line-height: 1.5; padding: 12px 14px; }
.wpcf7 select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ffd63b' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.wpcf7 select option { background: var(--navy-2); color: #fff; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: 2px solid var(--yellow); outline-offset: 1px; border-color: var(--yellow); }
.wpcf7 input[type="submit"] { background: var(--yellow); color: var(--navy); border: 0; border-radius: 8px; font: inherit; font-weight: 700; font-size: 17px; padding: 14px 28px; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--yellow-l); }
.wpcf7 .wpcf7-not-valid-tip { color: #ffb4b4; font-size: 14px; margin-top: 4px; }
.wpcf7 .wpcf7-response-output { border-radius: 8px; border-color: var(--yellow); margin: 12px 0 0; padding: 12px 16px; }
.wpcf7 .wpcf7-spinner { display: none; }
.post-meta { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.post-featured { border-radius: 16px; overflow: hidden; margin: 0 0 40px; max-width: 1100px; }
.post-featured img { width: 100%; height: auto; display: block; }
.post-featured img { width: 100%; height: 100%; object-fit: cover; }
.pagination { display: flex; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { padding: 10px 16px; border-radius: 8px; background: var(--navy-2); color: #fff; font-weight: 700; }
.pagination .page-numbers.current { background: var(--yellow); color: var(--navy); }

/* Sponsors page */
.sponsor-level { margin-bottom: 56px; }
.sponsor-level h2 { font-size: 48px; margin-bottom: 20px; display: flex; align-items: baseline; gap: 14px; }
.sponsor-level h2 small { font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lav); }
.sponsor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sponsor-tile { background: #fff; border-radius: 12px; padding: 20px; height: 140px; display: flex; align-items: center; justify-content: center; }
.sponsor-tile img { max-height: 90px; width: auto; object-fit: contain; }
.sponsor-tile-name { font-weight: 700; color: var(--navy); text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-photos { height: 380px; }
  .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 1080px) {
  .site-nav { position: fixed; inset: 0 0 auto 0; top: 88px; flex-direction: column; align-items: stretch; gap: 20px; background: var(--navy); padding: 24px var(--gutter) 32px; border-bottom: 1px solid var(--navy-3); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .15s ease; }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 14px; }
  .site-nav ul a { font-size: 20px; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { width: 100%; }
  .nav-toggle { display: inline-flex; }
  .sponsor-strip .wrap { flex-direction: column; align-items: stretch; gap: 20px; }
  .sponsor-strip-label { flex-basis: auto; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .btn { width: 100%; }
  .about-photos { height: 300px; }
  .site-footer .wrap { flex-direction: column; }
  .brand-sub { display: none; }
}
