/* MEDTEST bottom CTA — v1.4.2 */
.medtest-bottom-cta{
    margin:0;
    padding:28px 0;
    background:#f3f9f8;
    border:1px solid #dcebea;
}
.medtest-bottom-cta__inner{
    max-width:1170px;
    margin:0 auto;
    padding:0 24px;
    display:grid;
    grid-template-columns:.95fr 1.08fr 1.18fr 1.25fr;
    gap:28px;
    align-items:start;
}
.medtest-bottom-cta__block{
    min-width:0;
}
.medtest-bottom-cta__label{
    margin:0 0 10px;
    color:#435f66;
    font-size:16px;
    line-height:1.35;
    font-weight:700;
}
.medtest-bottom-cta__schedule{
    display:flex;
    flex-direction:column;
    gap:5px;
    color:#29474d;
    font-size:16px;
    line-height:1.35;
}
.medtest-bottom-cta__schedule strong{
    font-weight:700;
}
.medtest-bottom-cta__phone-list{
    display:flex;
    flex-direction:column;
    gap:5px;
}
.medtest-bottom-cta__phone-list a{
    color:#ef7b3b;
    font-size:18px;
    line-height:1.3;
    font-weight:700;
    text-decoration:none;
}
.medtest-bottom-cta__phone-list a:hover{
    color:#16898a;
}

/* Analysis times */
.medtest-bottom-cta__analysis-list{
    display:flex;
    flex-direction:column;
    gap:6px;
}
.medtest-bottom-cta__analysis-row{
    padding-bottom:6px;
    border-bottom:1px solid #dcebea;
}
.medtest-bottom-cta__analysis-row:last-child{
    padding-bottom:0;
    border-bottom:0;
}
.medtest-bottom-cta__analysis-row span{
    display:block;
    margin-bottom:1px;
    color:#60757b;
    font-size:13px;
    line-height:1.3;
}
.medtest-bottom-cta__analysis-row strong{
    display:block;
    color:#29474d;
    font-size:14px;
    line-height:1.35;
    font-weight:700;
}

/* Right action zone */
.medtest-bottom-cta__action-zone{
    display:flex;
    flex-direction:column;
    align-items:stretch;
}
.medtest-bottom-cta__contactus{
    margin:0!important;
    padding:0!important;
}
.medtest-bottom-cta__actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    margin-top:10px!important;
    width:100%!important;
}
.medtest-bottom-cta__actions .medtest-bottom-cta__contactus{
    min-width:0!important;
}
.medtest-bottom-cta__contactus a,
.medtest-bottom-cta__contactus button,
.medtest-bottom-cta__contactus input[type="button"],
.medtest-bottom-cta__contactus input[type="submit"]{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:44px!important;
    box-sizing:border-box!important;
    padding:10px 12px!important;
    border:1px solid #16898a!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#16898a!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:700!important;
    text-align:center!important;
    text-decoration:none!important;
    box-shadow:none!important;
    white-space:normal!important;
    transition:.2s ease!important;
}
.medtest-bottom-cta__contactus--appointment a,
.medtest-bottom-cta__contactus--appointment button,
.medtest-bottom-cta__contactus--appointment input[type="button"],
.medtest-bottom-cta__contactus--appointment input[type="submit"]{
    min-height:48px!important;
    font-size:13px!important;
}
.medtest-bottom-cta__contactus a:hover,
.medtest-bottom-cta__contactus button:hover,
.medtest-bottom-cta__contactus input[type="button"]:hover,
.medtest-bottom-cta__contactus input[type="submit"]:hover{
    background:#16898a!important;
    color:#fff!important;
}

@media(max-width:1100px){
    .medtest-bottom-cta__inner{
        grid-template-columns:1fr 1fr;
        gap:24px;
    }
}
@media(max-width:575px){
    .medtest-bottom-cta{
        padding:24px 0;
    }
    .medtest-bottom-cta__inner{
        grid-template-columns:1fr;
        gap:20px;
        padding:0 16px;
    }
    .medtest-bottom-cta__actions{
        grid-template-columns:1fr!important;
        gap:8px!important;
    }
}


/* ===== v1.4.3 layout corrections ===== */

/* Full-width mint background while content stays aligned to site container */
.medtest-bottom-cta{
    position:relative!important;
    width:100vw!important;
    max-width:none!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    border-left:0!important;
    border-right:0!important;
    background:#f3f9f8!important;
}
.medtest-bottom-cta__inner{
    max-width:1170px!important;
    margin:0 auto!important;
    padding:0 24px!important;
    grid-template-columns:.88fr 1fr 1.12fr 1.55fr!important;
    gap:26px!important;
}

/* Right action area: appointment above, two secondary actions in one clean row */
.medtest-bottom-cta__action-zone{
    min-width:0!important;
}
.medtest-bottom-cta__actions{
    display:grid!important;
    grid-template-columns:minmax(0, .82fr) minmax(0, 1.38fr)!important;
    gap:10px!important;
    margin-top:10px!important;
    width:100%!important;
    align-items:stretch!important;
}
.medtest-bottom-cta__actions .medtest-bottom-cta__contactus{
    min-width:0!important;
    margin:0!important;
    padding:0!important;
}
.medtest-bottom-cta__actions .medtest-bottom-cta__contactus > *{
    margin-top:0!important;
    margin-bottom:0!important;
}
.medtest-bottom-cta__actions .medtest-bottom-cta__contactus a,
.medtest-bottom-cta__actions .medtest-bottom-cta__contactus button,
.medtest-bottom-cta__actions .medtest-bottom-cta__contactus input[type="button"],
.medtest-bottom-cta__actions .medtest-bottom-cta__contactus input[type="submit"]{
    width:100%!important;
    height:46px!important;
    min-height:46px!important;
    margin:0!important;
    padding:8px 10px!important;
    box-sizing:border-box!important;
    font-size:11.5px!important;
    line-height:1.15!important;
    white-space:normal!important;
}

/* Equal distance between appointment and secondary row */
.medtest-bottom-cta__contactus--appointment{
    margin:0!important;
}
.medtest-bottom-cta__contactus--appointment > *{
    margin-bottom:0!important;
}
.medtest-bottom-cta__contactus--appointment a,
.medtest-bottom-cta__contactus--appointment button,
.medtest-bottom-cta__contactus--appointment input[type="button"],
.medtest-bottom-cta__contactus--appointment input[type="submit"]{
    margin:0!important;
}

/* Remove legacy Contactus wrapper spacing inside this module only */
.medtest-bottom-cta__action-zone [class*="contactus"]{
    margin-top:0!important;
    margin-bottom:0!important;
}

@media(max-width:1100px){
    .medtest-bottom-cta__inner{
        grid-template-columns:1fr 1fr!important;
    }
    .medtest-bottom-cta__action-zone{
        max-width:520px;
    }
}
@media(max-width:575px){
    .medtest-bottom-cta{
        width:100vw!important;
        margin-left:calc(50% - 50vw)!important;
        margin-right:calc(50% - 50vw)!important;
    }
    .medtest-bottom-cta__inner{
        grid-template-columns:1fr!important;
        padding:0 16px!important;
    }
    .medtest-bottom-cta__actions{
        grid-template-columns:1fr 1fr!important;
        gap:8px!important;
    }
    .medtest-bottom-cta__actions .medtest-bottom-cta__contactus a,
    .medtest-bottom-cta__actions .medtest-bottom-cta__contactus button,
    .medtest-bottom-cta__actions .medtest-bottom-cta__contactus input[type="button"],
    .medtest-bottom-cta__actions .medtest-bottom-cta__contactus input[type="submit"]{
        height:auto!important;
        min-height:44px!important;
        font-size:11px!important;
    }
}


/* ===== FORCE FINAL v1.4.4 ===== */
.medtest-bottom-cta{
    width:100vw!important;
    max-width:none!important;
    margin:0 calc(50% - 50vw)!important;
    padding:26px 0!important;
    background:#f3f9f8!important;
    border-top:1px solid #dcebea!important;
    border-bottom:1px solid #dcebea!important;
    border-left:0!important;
    border-right:0!important;
}
.medtest-bottom-cta__inner{
    width:100%!important;
    max-width:1170px!important;
    margin:0 auto!important;
    padding:0 24px!important;
    display:grid!important;
    grid-template-columns:.88fr 1fr 1.12fr 1.55fr!important;
    gap:26px!important;
    align-items:start!important;
}
.medtest-bottom-cta__action-zone{
    min-width:0!important;
}
.medtest-bottom-cta__actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1.45fr)!important;
    gap:10px!important;
    margin:10px 0 0!important;
    width:100%!important;
}
.medtest-bottom-cta__actions .medtest-bottom-cta__contactus,
.medtest-bottom-cta__actions .medtest-bottom-cta__contactus > *{
    margin:0!important;
    padding:0!important;
    min-width:0!important;
}
.medtest-bottom-cta__actions a,
.medtest-bottom-cta__actions button,
.medtest-bottom-cta__actions input[type="button"],
.medtest-bottom-cta__actions input[type="submit"]{
    width:100%!important;
    min-height:46px!important;
    height:46px!important;
    margin:0!important;
    padding:8px 10px!important;
    box-sizing:border-box!important;
    font-size:11.5px!important;
    line-height:1.15!important;
}
@media(max-width:1100px){
    .medtest-bottom-cta__inner{
        grid-template-columns:1fr 1fr!important;
    }
}
@media(max-width:575px){
    .medtest-bottom-cta__inner{
        grid-template-columns:1fr!important;
        padding:0 16px!important;
    }
}
