/* Base — preserve brand */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
    border: solid #10142e;
    color: #10142e;
    margin:0;
    background:#fff;
    -webkit-font-smoothing:antialiased;
}
.showcase_img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center top;
}
.inputbox{
    margin: 0 auto;
    max-width: 890px;
    border: 1px solid #10142e;
    text-align: center;
    font-size: 16px;
    position: relative;
    padding-bottom: 20px;
    background:#fff;
    width:92%;
}
.ModuleTitle{
    background: #ed1d24 !important;
    margin-top: 0 !important;
}
.ModuleTitle h3{
        border-bottom: 1px solid #eee; 
        display: block;
        color: #fff;
        text-align: center;
        padding: 12px 14px;
        font-size: clamp(1rem, 2.4vw, 1.2rem);
        line-height:1.35;
        margin:0;
}
.email,.emailLabel{
    padding: 8px;
}
.email{
    border:1px solid #10142e;
    border-radius:6px;
    width:100%;
    max-width:420px;
    font-size:16px; /* prevents iOS zoom */
    padding:12px 14px;
}
.emailLabel{
    margin-right: 12px;
    color: #10142e;
    font-weight: bold;
    display:inline-block;
}
.buttons{
    padding: 24px 15px 30px;
    display:flex;
    justify-content:center;
    align-items:center;
}
.submitButton{
    font-weight: bold;
    padding: 12px 28px;
    background: #ed1d24;
    color: #fff;
    border: 1px solid #ed1d24;
    border-radius: 999px;
    font-size:16px;
    cursor:pointer;
    min-height:48px;
    touch-action:manipulation;
}
.submitButton:hover{
    background: #b31217;
    border-color: #b31217;
}
.site-footer{
    text-align: center;
    font-weight: bold;
    padding: 14px 12px;
    background: #10142e;
    color: #fff;
    font-size:14px;
    line-height:1.4;
}
.register_form{
    width: 50%;
    padding: 12px 18px;
}
.sucess_form{
    padding: 30px;
}
.regLabel{
    float: left;
    padding: 5px 0;
    color: #10142e;
    font-weight: bold;
    font-size:14px;
}
.cregLabel{
    min-width: 247px;
    float: left;
    text-align: left;
}
.span{
    float: left;
}
.message{
    font-size: clamp(1.25rem, 3vw, 1.9rem);
    font-weight: bold;
    color: #ed1d24;
    line-height:1.2;
}

/* Bootstrap row fix inside inputbox */
.inputbox .row{--bs-gutter-x:0;margin:0;flex-wrap:wrap}

/* --- Mobile responsiveness --- */
@media (max-width: 991px){
    .register_form{width:50%}
}
@media (max-width: 768px){
    body{border-width:4px}
    .inputbox{width:95%;font-size:15px}
    .register_form{width:100%;padding:10px 14px}
    .regLabel{float:none;display:block;text-align:left}
    .emailLabel{display:block;margin:0 0 8px 0}
    .email{max-width:100%}
    .buttons{padding:18px 12px 24px}
    .ModuleTitle h3{font-size:1.05rem;padding:12px 10px}
    .site-footer{font-size:13px;padding:14px 10px}
    /* side-crop — previous good version (zoom center, readable) */
    body{overflow-x:hidden}
    body > div:first-child, div:has(> .showcase_img){overflow:hidden}
    .showcase_img{
        width:165%;
        max-width:none;
        margin-left:-32.5%;
        height:auto;
        object-fit:unset;
        max-height:none;
        display:block;
    }
}
@media (max-width: 576px){
    .container{padding-left:12px;padding-right:12px}
    .mt-5{margin-top:1.25rem !important}
    .inputbox{border-width:1px}
    .inputbox .pt-3{padding:14px 10px !important}
    .register_form{padding:8px 10px}
    .regLabel{font-size:13px}
    .form-control{font-size:16px;padding:10px 12px}
    .showcase_img{width:200%;margin-left:-50%}
    /* summary compact tweaks */
    .compact-wrap{padding:0 4px}
    .event-strip{font-size:0.82rem !important;padding:12px !important}
    .event-strip .evt-date{font-size:1rem !important}
    .message{font-size:1.2rem !important}
    .kv label{min-width:110px !important;font-size:0.82rem}
    .kv div{font-size:0.88rem}
    .action-bar{flex-direction:column}
    .action-bar a{width:100%;max-width:280px}
    .site-footer{padding:16px 10px 20px}
}
@media (max-width: 380px){
    .ModuleTitle h3{font-size:0.92rem}
    .submitButton{width:100%;max-width:280px}
}
