/* ALA Padel 4 Lungs at Padel N9NE — P9 brand with American Lung Association accents. */
.p9-ala, .p9-ala-entry, .p9-ala-spons, .p9-ala-lockup, .p9-ala-video, .p9-ala-marquee {
	--a-p9: #124EBE;      /* P9 blue */
	--a-sand: #E9DECB;    /* P9 tan */
	--a-ink: #0b0b0b;
	--a-navy: #0D2354;    /* ALA navy */
	--a-blue: #0064FF;    /* ALA blue */
	--a-lime: #C4D600;    /* ALA green accent */
	--a-line: rgba(0,0,0,.12);
}

/* Section helpers used by the page blocks */
.p9-ala-navy { background: #0D2354 !important; color: #fff !important; }
.p9-ala-navy a:not(.wp-block-button__link):not(.p9-ala-btn) { color: #fff; }
.p9-ala-kicker { display: inline-flex; align-items: center; gap: .6em; }
.p9-ala-kicker::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: #C4D600; }
.p9-ala-hero .p9-label { color: #fff; }
.p9-ala-hero h1 { max-width: 14ch; margin-inline: auto; }
.p9-ala-hero .p9-ala-when { font-family: var(--wp--preset--font-family--wide); text-transform: uppercase; letter-spacing: .06em; font-size: clamp(.95rem, 1.6vw, 1.15rem); }
.p9-ala-hero .wp-block-button.is-style-outline .wp-block-button__link { border-color: #fff; color: #fff; }

/* Co-branded lockup */
.p9-ala-lockup { display: inline-flex; align-items: center; gap: clamp(12px, 2.4vw, 22px); background: #fff; border-radius: 999px; padding: 12px clamp(18px, 3vw, 30px); margin: 0 auto 1.6rem; box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.p9-ala-lockup img { display: block; height: auto; }
.p9-ala-lockup__ala img { width: clamp(92px, 12vw, 128px); }
.p9-ala-lockup__p9 img { width: clamp(110px, 14vw, 150px); filter: brightness(0); }
.p9-ala-lockup__x { font-family: var(--wp--preset--font-family--wide); color: #0D2354; font-size: 1.3rem; line-height: 1; }
.wp-block-shortcode:has(.p9-ala-lockup), p:has(> .p9-ala-lockup) { text-align: center; }

/* Quick facts */
.p9-ala-facts { gap: 0 !important; border-top: 1px solid var(--a-line, rgba(0,0,0,.12)); }
.p9-ala-facts > .wp-block-column { padding: 1.4rem 1rem; border-right: 1px solid rgba(0,0,0,.12); }
.p9-ala-facts > .wp-block-column:last-child { border-right: 0; }
.p9-ala-facts .p9-label { font-size: .85rem; margin-bottom: .5rem; color: #124EBE; }
.p9-ala-facts p:not(.p9-label) { margin: 0; font-family: var(--wp--preset--font-family--wide); text-transform: uppercase; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.25; }
@media (max-width: 781px) { .p9-ala-facts > .wp-block-column { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.12); } }

/* Impact stats / mission pillars */
.p9-ala-pillars { gap: 14px !important; }
.p9-ala-pillars > .wp-block-column { background: rgba(255,255,255,.08); border-radius: 18px; padding: 22px 20px; border-top: 4px solid #C4D600; }
.p9-ala-pillars h4 { font-family: var(--wp--preset--font-family--wide); text-transform: uppercase; font-weight: 400; font-size: 1.05rem; margin: 0 0 .4rem; }
.p9-ala-pillars p { margin: 0; font-size: .95rem; opacity: .9; }

/* Video */
.p9-ala-video { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0D2354; max-width: 1000px; margin: 0 auto; }
.p9-ala-video iframe, .p9-ala-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.p9-ala-video--placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
	background: radial-gradient(120% 90% at 20% 10%, #124EBE 0%, #0D2354 60%); }
.p9-ala-video--placeholder p { margin: 1rem 0 0; font-family: var(--wp--preset--font-family--wide); text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; opacity: .9; }
.p9-ala-video__play { width: 84px; height: 84px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); position: relative; }
.p9-ala-video__play::after { content: ""; position: absolute; left: 34px; top: 26px; border-left: 22px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }

/* Schedule */
.p9-ala-schedule { list-style: none; padding: 0; margin: 0; max-width: 760px; margin-inline: auto; }
.p9-ala-schedule li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,.14); align-items: baseline; }
.p9-ala-schedule li strong { font-family: var(--wp--preset--font-family--wide); font-weight: 400; color: #124EBE; text-transform: uppercase; }

/* Buttons */
.p9-ala-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .8em 1.6em; background: #124EBE; color: #fff !important; text-decoration: none !important;
	font-family: var(--wp--preset--font-family--wide); text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; border: 2px solid #124EBE; cursor: pointer; transition: background .15s, color .15s; }
.p9-ala-btn:hover, .p9-ala-btn:focus-visible { background: #0D2354; border-color: #0D2354; }
.p9-ala-btn--ghost { background: transparent; color: #124EBE !important; }
.p9-ala-btn--ghost:hover { color: #fff !important; }
.p9-ala-btn--lg { padding: 1em 2.2em; font-size: 1rem; }
.p9-ala-btn:disabled { opacity: .6; cursor: default; }

/* Entry cards */
.p9-ala-entry { max-width: 1240px; margin: 0 auto; }
.p9-ala-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) { .p9-ala-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .p9-ala-cards { grid-template-columns: 1fr; } }
.p9-ala-card { background: #fff; color: #0b0b0b; border-radius: 22px; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: .7rem; }
.p9-ala-card__label { margin: 0; font-family: var(--wp--preset--font-family--wide); text-transform: uppercase; font-size: 1.1rem; letter-spacing: .02em; }
.p9-ala-card__price { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: 2.3rem; line-height: 1; color: #124EBE; }
.p9-ala-card__price span { display: block; font-family: var(--wp--preset--font-family--body); font-size: .85rem; color: #52514e; margin-top: .35rem; }
.p9-ala-card__inc { margin: 0; font-size: .95rem; line-height: 1.45; flex: 1; }
.p9-ala-card__left { margin: 0; font-size: .85rem; font-weight: 600; color: #0D2354; }
.p9-ala-card .p9-ala-btn { align-self: flex-start; }
.p9-ala-card.is-full .p9-ala-card__price { color: #8a8780; }
.p9-ala-meter { height: 6px; border-radius: 3px; background: #ece6da; overflow: hidden; }
.p9-ala-meter i { display: block; height: 100%; background: linear-gradient(90deg, #124EBE, #0064FF); border-radius: 3px; transition: width .4s; }

/* Sign-up */
.p9-ala-signup { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); scroll-margin-top: 120px;
	background: #fff; color: #0b0b0b; border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
@media (max-width: 900px) { .p9-ala-signup { grid-template-columns: 1fr; } }
.p9-ala-signup .p9-label { color: #124EBE; }
.p9-ala-signup h3 { margin-top: 0; }
.p9-ala-steps { padding-left: 1.2rem; margin: 1.2rem 0 0; line-height: 1.8; }
.p9-ala-steps li::marker { color: #124EBE; font-weight: 700; }
.p9-ala-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; align-content: start; }
@media (max-width: 600px) { .p9-ala-form { grid-template-columns: 1fr; } }
.p9-ala-f { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: #0D2354; }
.p9-ala-f--full { grid-column: 1 / -1; }
.p9-ala-f[hidden], .p9-ala-opt[hidden] { display: none !important; }
.p9-ala-opt { font-weight: 400; color: #6b6a66; }
.p9-ala-form input, .p9-ala-form select, .p9-ala-form textarea { font: inherit; font-weight: 400; font-size: 1rem; color: #0b0b0b; background: #fff !important; border: 1px solid rgba(0,0,0,.25) !important; border-radius: 12px !important; padding: 12px 14px !important; width: 100%; box-sizing: border-box; }
.p9-ala-form input:focus, .p9-ala-form select:focus, .p9-ala-form textarea:focus { outline: 2px solid #124EBE; outline-offset: 1px; border-color: #124EBE !important; }
.p9-ala-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.p9-ala-total { flex-direction: row; align-items: baseline; gap: .8rem; flex-wrap: wrap; background: #f4efe6; border-radius: 14px; padding: 14px 18px; }
.p9-ala-total[hidden] { display: none; }
.p9-ala-total span { font-weight: 400; color: #52514e; }
.p9-ala-total strong { font-family: var(--wp--preset--font-family--display); font-size: 1.6rem; color: #124EBE; font-weight: 400; }
.p9-ala-total em { font-style: normal; font-weight: 400; color: #52514e; margin-left: auto; }
.p9-ala-msg { margin: .8rem 0 0; font-weight: 600; min-height: 1.2em; }
.p9-ala-msg.is-err { color: #b42318; }
.p9-ala-done { grid-column: 1 / -1; background: #f4efe6; border-radius: 18px; padding: 28px; border-left: 6px solid #C4D600; }
.p9-ala-done h3 { margin: 0 0 .6rem; }

/* Live board */
.p9-ala-board { margin-top: 28px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 22px; padding: clamp(18px, 3vw, 28px); }
.p9-ala-board__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.p9-ala-board__head .p9-label { margin: 0; }
.p9-ala-board__upd { margin: 0; font-size: .8rem; opacity: .75; }
.p9-ala-board__head .p9-label::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #C4D600; margin-right: .6em; vertical-align: .1em; animation: p9-ala-pulse 1.8s infinite; }
@keyframes p9-ala-pulse { 50% { opacity: .35; } }
.p9-ala-board__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
@media (max-width: 1080px) { .p9-ala-board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .p9-ala-board__grid { grid-template-columns: 1fr; } }
.p9-ala-board__top { display: flex; justify-content: space-between; gap: .5rem; font-size: .9rem; margin-bottom: 8px; }
.p9-ala-board__top strong { font-family: var(--wp--preset--font-family--wide); font-weight: 400; text-transform: uppercase; }
.p9-ala-board .p9-ala-meter { background: rgba(255,255,255,.18); }
.p9-ala-board .p9-ala-meter i { background: #C4D600; }
.p9-ala-teams { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.p9-ala-teams li { font-size: .8rem; background: rgba(255,255,255,.12); border-radius: 999px; padding: 4px 10px; }
.p9-ala-tick { color: #C4D600; }

/* Sponsorship packages */
.p9-ala-spons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1240px; margin: 0 auto; }
@media (max-width: 1080px) { .p9-ala-spons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .p9-ala-spons { grid-template-columns: 1fr; } }
.p9-ala-spon { background: #fff; color: #0b0b0b; border-radius: 22px; padding: 26px 22px; display: flex; flex-direction: column; gap: .6rem; border-top: 6px solid #0D2354; }
.p9-ala-spon h4 { margin: 0; font-family: var(--wp--preset--font-family--wide); text-transform: uppercase; font-weight: 400; font-size: 1.1rem; }
.p9-ala-spon p { margin: 0; font-size: .95rem; line-height: 1.45; }
.p9-ala-spon > p:nth-of-type(2) { flex: 1; }
.p9-ala-spon__price { font-family: var(--wp--preset--font-family--display); font-size: 2.2rem !important; line-height: 1; color: #0D2354; }
.p9-ala-spon .p9-ala-btn { align-self: flex-start; margin-top: .4rem; }
.p9-ala-spon.is-full { border-top-color: #C4D600; }
.p9-ala-spon.is-full .p9-ala-card__left { color: #5d6600; }

/* Sponsor marquee */
.p9-ala-marquee { display: flex; overflow: hidden; gap: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.p9-ala-marquee__track { display: flex; gap: 16px; padding: 0 8px; margin: 0; list-style: none; flex-shrink: 0; animation: p9-ala-marquee 40s linear infinite; }
.p9-ala-marquee:hover .p9-ala-marquee__track, .p9-ala-marquee.is-paused .p9-ala-marquee__track { animation-play-state: paused; }
@keyframes p9-ala-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .p9-ala-marquee__track { animation: none; } .p9-ala-marquee { flex-wrap: wrap; mask-image: none; -webkit-mask-image: none; } .p9-ala-marquee__track[aria-hidden] { display: none; } }
.p9-ala-logo { flex: 0 0 auto; width: 220px; height: 110px; background: #f4efe6; border-radius: 18px; display: flex; align-items: center; justify-content: center; padding: 16px 20px; box-sizing: border-box; text-align: center; }
.p9-ala-logo img { max-width: 100%; max-height: 64px; object-fit: contain; }
.p9-ala-logo span { font-family: var(--wp--preset--font-family--wide); text-transform: uppercase; font-size: .95rem; line-height: 1.2; color: #0D2354; letter-spacing: .02em; }
.p9-ala-pillars + *, .p9-ala-navy .p9-hero-text { max-width: 760px; margin-inline: auto; }
.p9-ala-video-wrap, .wp-block-shortcode:has(.p9-ala-video) { max-width: 1000px; margin-inline: auto; }

/* Form CTA */
.p9-ala-form button[type=submit].p9-ala-btn { background: #94E25F !important; border-color: #94E25F !important; color: #0B1F33 !important; font-weight: 700; min-height: 56px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.p9-ala-form button[type=submit].p9-ala-btn:hover, .p9-ala-form button[type=submit].p9-ala-btn:focus-visible { background: #fff !important; border-color: #fff !important; color: #0B1F33 !important; }
.p9-ala-form button[type=submit].p9-ala-btn:disabled { opacity: .7; }
.p9-ala-ctanote { display: block; width: 100%; margin-top: .6rem; font-size: .85rem; opacity: .85; text-align: center; }

/* How it works: formats */
.p9-ala-formats .p9-ala-pillars > .wp-block-column { background: #fff; display: flex; flex-direction: column; }
.p9-ala-formats .p9-ala-pillars .p9-label { color: #124EBE; margin-bottom: .2rem; }
.p9-ala-formats .p9-ala-format-meta { margin-top: auto; padding-top: .8rem; border-top: 1px solid rgba(0,0,0,.1); font-size: .9rem; }

/* Short sponsor list: no scrolling */
.p9-ala-marquee--static { -webkit-mask-image: none !important; mask-image: none !important; overflow: visible; }
.p9-ala-marquee--static .p9-ala-marquee__track { animation: none !important; width: 100%; justify-content: center; flex-wrap: wrap; }

/* Hero: Presented by Sharp HealthCare */
.p9-ala-presented { margin-top: .4rem !important; margin-bottom: .5rem !important; opacity: .9; }
.p9-ala-presented-logo { margin: 0 auto 1.2rem !important; }
.p9-ala-presented-logo img { width: 170px; max-width: 45vw; height: auto; }
/* Sponsor logos */
.p9-ala-logo { width: 240px; height: 130px; background: #fff; }
.p9-ala-logo img { max-height: 92px; }
