/* Scoped to the dedicated ACE giveaway registration page only. */
.acegr-registration-page .entry-title,
.acegr-registration-page article.page .entry-header { display:none; }
.acegr-registration-page .site-content { background:linear-gradient(180deg,#f3f7fa 0%,#ffffff 100%); }
.acegr-wrap,
.acegr-wrap * {box-sizing:border-box;}
.acegr-wrap{width:min(1080px,calc(100% - 24px));max-width:1080px;margin:24px auto 60px;font-family:Arial,Helvetica,sans-serif;color:#17384c;}
.acegr-hero{background-image:linear-gradient(95deg,rgba(1,23,41,.82),rgba(8,42,63,.59)),var(--acegr-photo);background-position:center;background-size:cover;background-color:#0c304d;border-radius:22px 22px 0 0;min-height:265px;padding:50px 45px 85px;text-align:center;color:#fff;box-shadow:0 20px 56px rgba(7,30,49,.14);}
.acegr-hero h1{font-family:Arial,Helvetica,sans-serif;color:#fff;font-size:clamp(27px,4.3vw,48px);letter-spacing:-.027em;line-height:1.15;font-weight:800;margin:12px auto 14px;max-width:900px;text-shadow:0 2px 9px rgba(0,0,0,.4);}
.acegr-hero h1 span{color:#ffe5a4;}
.acegr-eyebrow{display:inline-block;border:1px solid rgba(255,255,255,.42);border-radius:24px;background:rgba(10,55,82,.75);letter-spacing:.13em;color:#f5f9fc;font-size:11px;font-weight:700;padding:9px 16px;}
.acegr-hero p{font-size:clamp(15px,1.7vw,19px);color:#f3f8fc;margin:0;line-height:1.5;}
.acegr-card{position:relative;z-index:1;max-width:900px;border:1px solid #dce8ee;border-top:5px solid #0e6d5c;border-radius:17px;background:#fff;margin:-52px auto 0;padding:clamp(24px,4vw,42px);box-shadow:0 19px 44px rgba(12,44,65,.16);}
.acegr-card-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:26px;}
.acegr-card h2{font-family:Arial,Helvetica,sans-serif;color:#073857;font-size:clamp(23px,2.8vw,31px);line-height:1.2;font-weight:800;margin:0 0 8px;}
.acegr-card p{color:#4a6675;line-height:1.55;}
.acegr-card-heading p{margin:0;}
.acegr-step{color:#087059;font-weight:700;background:#eaf7f3;font-size:13px;border-radius:30px;padding:7px 13px;white-space:nowrap;}
.acegr-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px;}
.acegr-fields label{display:block;font-weight:750;color:#163d53;font-size:15px;line-height:1.5;}
.acegr-fields label span{color:#af3b3b;}
.acegr-fields input{display:block;width:100%;height:54px;margin:8px 0 0;padding:12px 14px;border:1.5px solid #b9cfdb;border-radius:9px;background:#fff;font-family:inherit;font-weight:400;font-size:16px;color:#0f3045;transition:border-color .15s,box-shadow .15s;}
.acegr-fields input::placeholder{color:#718899;opacity:1;}
.acegr-fields input:focus{outline:3px solid rgba(26,127,168,.17);outline-offset:1px;border-color:#1672a1;box-shadow:0 0 0 1px #1672a1;}
.acegr-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
.acegr-privacy{color:#567080!important;font-size:13px;margin:23px 0 17px!important;}
.acegr-submit{display:block;width:100%;min-height:57px!important;padding:15px 24px!important;border:2px solid #effaf5!important;border-radius:100px!important;cursor:pointer!important;color:#fff!important;background:#0d604b!important;box-shadow:0 8px 18px rgba(4,73,56,.22);font-size:clamp(15px,1.6vw,18px)!important;line-height:1.3!important;font-family:inherit!important;font-weight:800!important;text-align:center;transition:background .2s,transform .2s;}
.acegr-submit:hover,.acegr-submit:focus-visible{background:#087e62!important;transform:translateY(-2px);}
.acegr-submit span{font-size:23px;vertical-align:-1px;margin-left:8px;}
.acegr-fineprint{color:#5c7281;font-size:12px;line-height:1.65;margin:17px 0 0;text-align:center;}
.acegr-fineprint a{color:#035f8b;text-decoration:underline;}
.acegr-message{font-size:16px;font-weight:650;padding:16px 18px;border-radius:9px;margin:0 0 22px;line-height:1.45;}
.acegr-success{color:#125238;background:#e5f8ed;border:1px solid #9acdad;}
.acegr-error{color:#8c2525;background:#fff0ef;border:1px solid #eac5c1;}
.acegr-back{text-align:center;margin:25px auto;}
.acegr-back a{color:#0e5b82!important;font-weight:700;text-decoration:none!important;}
.acegr-back a:hover{text-decoration:underline!important;}
@media(max-width:680px){.acegr-wrap{width:min(100% - 16px,1080px);margin-top:12px;}.acegr-hero{min-height:225px;padding:35px 18px 76px;}.acegr-card{margin:-40px 8px 0;padding:24px 18px;}.acegr-fields{grid-template-columns:1fr;gap:16px;}.acegr-eyebrow{font-size:9px;letter-spacing:.07em;}.acegr-card-heading{margin-bottom:19px;}.acegr-submit{margin-top:8px;}}

.acegr-field-help{display:block;font-size:.83rem;font-weight:400;margin-top:5px;color:#587386;}

/* 1.1.0: concise rules introduction replaces the oversized refinery banner. */
.acegr-registration-page .acegr-hero{display:none!important}
.acegr-rules-panel{background:#0c3049;color:#fff;border-radius:18px;padding:clamp(24px,4vw,40px);margin:10px auto 24px;box-shadow:0 12px 26px rgba(0,30,55,.12)}
.acegr-rules-panel h1{margin:8px auto 11px;color:#fff;text-align:center;font-size:clamp(24px,3vw,38px);line-height:1.16;font-weight:800}
.acegr-rules-eyebrow{text-align:center;color:#d5e7f0!important;font-size:12px!important;font-weight:700;letter-spacing:.12em;margin:0 auto 7px!important}
.acegr-rules-intro{text-align:center;color:#eff5f9!important;margin:0 auto 22px!important;font-size:16px!important}
.acegr-rules-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.acegr-rules-list>div{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);border-radius:10px;padding:15px 16px}
.acegr-rules-list strong{color:#fff;font-size:15px}.acegr-rules-list p{color:#e7f1f8!important;font-size:13px!important;line-height:1.55;margin:6px 0 0!important}
.acegr-wrap .acegr-card{margin:0 auto;max-width:950px}
.acegr-terms{margin:24px 0 0;padding:21px;background:#f5f9fc;border:1px solid #c3d6e3;border-radius:14px}
.acegr-terms h3{color:#103e59;font-size:20px!important;line-height:1.35;font-weight:800;margin:0 0 9px}
.acegr-terms>p{font-size:14px;color:#445e6f;line-height:1.5;margin:0 0 12px}
.acegr-terms a,.acegr-full-rules a{color:#086a97;text-decoration:underline}
.acegr-terms-scroll{height:220px;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;background:#fff;border:1px solid #c0d0da;border-radius:9px;padding:12px 16px;line-height:1.55}
.acegr-terms-scroll h2{font-size:15px!important;line-height:1.35;margin:13px 0 7px!important;color:#073d58}
.acegr-terms-scroll p,.acegr-terms-scroll li{font-size:13px!important;line-height:1.62!important;color:#2e4859!important}
.acegr-terms-scroll p{margin:0 0 12px!important}
.acegr-terms-scroll .acelterms-meta{font-size:11px!important}
.acegr-terms-scroll:focus{outline:3px solid #acd4e9;outline-offset:2px}
.acegr-terms-agree{display:flex!important;align-items:flex-start!important;gap:12px!important;margin:15px 0 0!important;cursor:pointer;font-size:14px;line-height:1.58;color:#163b53;font-weight:500}
.acegr-terms-agree input{appearance:auto!important;flex:0 0 22px!important;width:22px!important;height:22px!important;min-height:22px!important;padding:0!important;margin:3px 0 0!important;accent-color:#0d604b}
.acegr-terms-agree span{flex:1}.acegr-terms-agree strong{font-weight:750}
.acegr-full-rules{max-width:920px;padding:30px 34px;background:#fff;margin:30px auto;border:1px solid #dde6ec;border-radius:16px;line-height:1.65}
.acegr-full-rules h2{font-size:20px!important;line-height:1.3;margin:24px 0 9px;color:#073857}
.acegr-full-rules p,.acegr-full-rules li{font-size:15px!important;line-height:1.67}
.acegr-upgrade-js .acegr-submit:not(.acegr-submit-ready){display:none!important}
@media(max-width:680px){.acegr-rules-list{grid-template-columns:1fr}.acegr-rules-panel{padding:22px 18px}.acegr-terms{padding:15px 12px}.acegr-terms-scroll{height:235px;padding:11px}.acegr-full-rules{padding:20px 17px;margin:14px}}

/* Version 1.2: visible but disabled until all required fields and rules acceptance are valid. */
.acegr-upgrade-js .acegr-submit:not(.acegr-submit-ready){display:block!important;opacity:.58;cursor:not-allowed!important;background:#657c7c!important;transform:none!important}
.acegr-submit:disabled{pointer-events:none;box-shadow:none!important}
.acegr-period-summary{margin:0 0 18px;background:#eaf5f4;border:1px solid #b9d9d3;border-radius:10px;padding:13px 16px;color:#174b50;font-size:14px;line-height:1.55}
/* Override older ACE Form Reveal plugin which otherwise hides disabled buttons. */
html.acegr-submit-gated body.acegr-registration-page form.acegr-form .acegr-submit:not(.acegr-submit-ready){display:block!important}
