/* ATC 1.2.4. Field alignment fix: do not use two-column grids for the legacy form.
   All layout selectors are restricted to the new contact-page form slot. */
.atcdp-contact-v2 .atcdp-contact-v2-formslot,
.atcdp-contact-v2 .atcdp-contact-v2-formslot *{box-sizing:border-box}
.atcdp-contact-v2 .atcdp-contact-v2-formslot{min-width:0!important;width:100%!important;max-width:100%!important;overflow:visible}
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form,
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form.wpcf7-form,
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form.wpforms-form{
 display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
 align-items:stretch!important;justify-content:flex-start!important;
 grid-template-columns:none!important;grid-auto-flow:row!important;
 gap:12px!important;width:100%!important;max-width:100%!important;
 margin:0!important;padding:0!important;min-width:0!important;
}
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form > :not(input[type=hidden]){
 box-sizing:border-box!important;grid-column:auto!important;float:none!important;
 min-width:0!important;max-width:100%!important;width:100%!important;
 flex:0 1 auto!important;position:static!important;left:auto!important;right:auto!important;
 margin-left:0!important;margin-right:0!important;
}
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form :is(
 .wpforms-field-container,.wpforms-field,.wpcf7-form-control-wrap,.wpcf7-form-control,
 .atcdp124-field,.atcdp-contact-pair,.frm_form_field,.nf-field,.nf-field-container
 ){
 min-width:0!important;max-width:100%!important;width:100%!important;
 box-sizing:border-box!important;position:static!important;float:none!important;
 transform:none!important;margin-left:0!important;margin-right:0!important;
}
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form :is(
 .wpforms-field-container,.atcdp124-field,.atcdp-contact-pair,.wpforms-field,.frm_form_field,.nf-field
 ){
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 grid-template-columns:none!important;gap:6px!important;
}
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form > p,
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form > div:not(.wpforms-field-container):not(.atcdp124-field):not(.atcdp-contact-pair){
 width:100%!important;min-width:0!important;max-width:100%!important;
 grid-column:auto!important;box-sizing:border-box!important;
}
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form :is(label,.wpforms-field-label){
 display:block!important;text-align:left!important;width:100%!important;max-width:100%!important;
 min-width:0!important;position:static!important;float:none!important;
 font:600 15px/1.45 system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
 margin:0 0 5px!important;color:#1d4968!important;
}
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form :is(
 input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),
 textarea,select
 ){
 display:block!important;box-sizing:border-box!important;
 position:static!important;inset:auto!important;float:none!important;transform:none!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 margin:0!important;padding:12px 13px!important;
 border:1px solid #c8dbe7!important;border-radius:10px!important;
 background:#fff!important;color:#1b4662!important;
 font:400 16px/1.45 system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
 min-height:47px!important;height:auto!important;
}
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form textarea{min-height:120px!important;resize:vertical!important}
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form label:has(input[type=checkbox]){
 display:flex!important;align-items:flex-start!important;flex-direction:row!important;gap:9px!important;
}
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form label input[type=checkbox]{width:auto!important;flex:0 0 auto!important;margin:3px 0 0!important}
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form button[type=submit],
.atcdp-contact-v2 .atcdp-contact-v2-formslot form.atcdp124-contact-form input[type=submit]{
 display:inline-flex!important;justify-content:center!important;align-items:center!important;
 width:fit-content!important;min-height:45px!important;max-width:100%!important;
 margin:8px 0 0!important;background:#196fa8!important;color:#fff!important;
 border:0!important;border-radius:9px!important;padding:10px 20px!important;
 font:600 15px/1.4 system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
}
/* Login: a dedicated, guaranteed visible action, independent of a legacy text link. */
.atcdp-login-card a.atcdp124-login-link{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 position:relative!important;z-index:3!important;
 visibility:visible!important;opacity:1!important;pointer-events:auto!important;
 background:#1b6da5!important;color:#fff!important;text-decoration:none!important;
 font:600 16px/1.35 system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
 min-height:46px!important;border:0!important;border-radius:10px!important;
 padding:12px 22px!important;margin:4px 0 0!important;
 width:auto!important;max-width:100%!important;box-shadow:none!important;
}
.atcdp-login-card a.atcdp124-login-link:hover,.atcdp-login-card a.atcdp124-login-link:focus-visible{background:#135887!important}
.atcdp-login-card .atcdp124-old-login-hidden{display:none!important}
/* Sponsors – match the calm blue/white cards and typography used on the club pages. */
body.atcdp-sponsor-page .entry-content{max-width:1250px;margin-left:auto;margin-right:auto;}
body.atcdp-sponsor-page .entry-content h1,
body.atcdp-sponsor-page .entry-content h2,
body.atcdp-sponsor-page .entry-content h3{font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;font-weight:600!important;letter-spacing:-.024em!important}
body.atcdp-sponsor-page .atcdp-sponsor-gratitude{
 background:linear-gradient(115deg,#eaf4fa 0%,#f9fcfe 100%)!important;
 border:1px solid #cfe3ef!important;border-left:4px solid #377ca8!important;
 border-radius:18px!important;padding:clamp(24px,3.5vw,42px)!important;
 box-shadow:0 9px 26px rgba(19,61,90,.035)!important;
 margin-bottom:32px!important;
}
body.atcdp-sponsor-page .atcdp-sponsor-gratitude h2{font-size:clamp(24px,2.4vw,32px)!important;color:#173e5d!important;margin:0 0 18px!important}
body.atcdp-sponsor-page .atcdp-sponsor-gratitude p{font-size:clamp(15px,1.15vw,17px)!important;color:#456783!important;max-width:75ch!important;line-height:1.65!important}
body.atcdp-sponsor-page .atcdp-engagement-card{
 background:#fff!important;border:1px solid #d8e7f0!important;
 border-radius:15px!important;box-shadow:0 6px 18px rgba(18,68,104,.035)!important;
 padding:clamp(16px,2vw,24px)!important;
}
body.atcdp-sponsor-page .atcdp-premium-logo-card{
 background:#fff!important;border:1px solid #d8e6f0!important;
 box-shadow:0 4px 13px rgba(19,69,103,.035)!important;border-radius:14px!important;
}
body.atcdp-sponsor-page .atcdp-premium-gallery{gap:14px!important}
body.atcdp-sponsor-page .atcdp-standard-partners .atcdp-partner-name{
 background:#fff!important;border-radius:15px!important;
 box-shadow:0 4px 16px rgba(18,66,98,.038)!important;
}
body.atcdp-sponsor-page .atcdp124-join-section{
 border-radius:17px!important;border:1px solid #d7e7f0!important;
 background:#fff!important;box-shadow:0 5px 19px rgba(16,63,95,.04)!important;
 padding:clamp(18px,3vw,34px)!important;
}
@media(max-width:760px){body.atcdp-sponsor-page .atcdp-sponsor-gratitude{padding:22px!important;margin-bottom:24px!important}}
/* Engagement cards must not be squeezed into three narrow mobile columns. */
body.atcdp-sponsor-page .atcdp-engagement{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;
}
@media(max-width:820px){
 body.atcdp-sponsor-page .atcdp-engagement{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
 body.atcdp-sponsor-page .atcdp-engagement-card{min-height:auto!important;}
}
body.atcdp-sponsor-page main .entry-content .atcdp-sponsor-gratitude{
 background:linear-gradient(115deg,#eaf4fa 0%,#f9fcfe 100%)!important;
}
