/* Auto Beli RC25.21 — inner hero contrast + compact CF7 presentation */

html body.auto-beli-theme .ab-inner-media-hero{
    position:relative!important;
    isolation:isolate;
    overflow:hidden!important;
    background:#07111b!important;
    background-image:none!important;
    color:#fff!important;
    min-height:390px;
}
html body.auto-beli-theme .ab-inner-media-hero::before,
html body.auto-beli-theme .ab-inner-media-hero::after{
    content:none!important;
    display:none!important;
}
html body.auto-beli-theme .ab-inner-hero-media,
html body.auto-beli-theme .ab-inner-hero-shade{
    position:absolute;
    inset:0;
    pointer-events:none;
}
html body.auto-beli-theme .ab-inner-hero-media{z-index:-3}
html body.auto-beli-theme .ab-inner-hero-media picture,
html body.auto-beli-theme .ab-inner-hero-media img{
    display:block;
    width:100%;
    height:100%;
}
html body.auto-beli-theme .ab-inner-hero-media img{
    object-fit:cover;
    object-position:center 56%;
}
html body.auto-beli-theme .ab-inner-hero-shade{
    z-index:-2;
    background:linear-gradient(90deg,rgba(4,12,20,.94) 0%,rgba(4,12,20,.83) 40%,rgba(4,12,20,.62) 67%,rgba(4,12,20,.32) 100%);
}
html body.auto-beli-theme .ab-inner-media-hero > .ab-container,
html body.auto-beli-theme .ab-inner-media-hero > .ab-container[class*="grid"]{
    position:relative;
    z-index:2;
}

html body.auto-beli-theme .ab-page-hero.ab-inner-media-hero,
html body.auto-beli-theme .ab-info-hero.ab-inner-media-hero,
html body.auto-beli-theme .ab-contact-hero.ab-inner-media-hero,
html body.auto-beli-theme .ab-about-hero.ab-inner-media-hero,
html body.auto-beli-theme .ab-blog-hero.ab-inner-media-hero,
html body.auto-beli-theme .ab-single-hero.ab-inner-media-hero,
html body.auto-beli-theme .ab-materials-hero.ab-inner-media-hero,
html body.auto-beli-theme .ab-install-hero.ab-inner-media-hero,
html body.auto-beli-theme .ab-comfort-hero.ab-inner-media-hero,
html body.auto-beli-theme .ab-protection-hero.ab-inner-media-hero{
    padding:50px 0 58px!important;
    margin:0!important;
}

html body.auto-beli-theme .ab-inner-media-hero h1,
html body.auto-beli-theme .ab-inner-media-hero h2,
html body.auto-beli-theme .ab-inner-media-hero strong,
html body.auto-beli-theme .ab-inner-media-hero .ab-kicker{
    color:#fff!important;
}
html body.auto-beli-theme .ab-inner-media-hero p,
html body.auto-beli-theme .ab-inner-media-hero li,
html body.auto-beli-theme .ab-inner-media-hero .ab-blog-meta,
html body.auto-beli-theme .ab-inner-media-hero .ab-breadcrumbs,
html body.auto-beli-theme .ab-inner-media-hero .ab-breadcrumbs span{
    color:rgba(255,255,255,.78)!important;
}
html body.auto-beli-theme .ab-inner-media-hero .ab-breadcrumbs a{
    color:rgba(255,255,255,.92)!important;
}
html body.auto-beli-theme .ab-inner-media-hero .ab-kicker{
    margin-bottom:7px!important;
}
html body.auto-beli-theme .ab-page-hero.ab-inner-media-hero h1{
    color:#fff!important;
    max-width:850px;
    font-size:clamp(40px,4.5vw,66px)!important;
    line-height:.98!important;
    letter-spacing:-.045em!important;
}
html body.auto-beli-theme .ab-page-hero.ab-inner-media-hero p{
    font-size:17px!important;
    max-width:760px!important;
}

/* Existing information cards remain usable over the shared image. */
html body.auto-beli-theme .ab-inner-media-hero .ab-info-help-card,
html body.auto-beli-theme .ab-inner-media-hero .ab-contact-card-main,
html body.auto-beli-theme .ab-inner-media-hero .ab-about-signature-card,
html body.auto-beli-theme .ab-inner-media-hero .ab-blog-hero-card,
html body.auto-beli-theme .ab-inner-media-hero .ab-materials-hero-card,
html body.auto-beli-theme .ab-inner-media-hero .ab-install-hero-panel,
html body.auto-beli-theme .ab-inner-media-hero .ab-comfort-hero-panel,
html body.auto-beli-theme .ab-inner-media-hero .ab-protection-hero-panel{
    background:rgba(7,18,29,.62)!important;
    border-color:rgba(255,255,255,.18)!important;
    box-shadow:none!important;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}
html body.auto-beli-theme .ab-inner-media-hero .ab-info-help-card a,
html body.auto-beli-theme .ab-inner-media-hero .ab-contact-card-main a,
html body.auto-beli-theme .ab-inner-media-hero .ab-comfort-hero-panel a,
html body.auto-beli-theme .ab-inner-media-hero .ab-protection-hero-panel a{
    color:#fff!important;
}

/* Use the actual Core-managed logo instead of decorative AB stickers. */
html body.auto-beli-theme .ab-inner-card-logo{
    display:flex;
    align-items:center;
    min-height:52px;
    margin:0 0 18px;
}
html body.auto-beli-theme .ab-inner-card-logo .ab-brand-logo-link,
html body.auto-beli-theme .ab-inner-card-logo .custom-logo-link{
    display:inline-flex!important;
    align-items:center!important;
    line-height:0!important;
    transform:none!important;
}
html body.auto-beli-theme .ab-inner-card-logo img{
    display:block;
    width:auto!important;
    height:auto!important;
    max-width:190px!important;
    max-height:58px!important;
    object-fit:contain!important;
}
html body.auto-beli-theme .ab-inner-card-logo .ab-logo-text{
    color:#fff!important;
}

/* Blog detail uses the featured image as the hero background, not a duplicate side image. */
html body.auto-beli-theme .ab-single-hero.ab-inner-media-hero .ab-single-hero-grid{
    grid-template-columns:minmax(0,880px)!important;
}

/* Contact Form 7 — editorial, theme-native form. */
html body.auto-beli-theme .ab-contact-form-card .wpcf7{
    width:100%;
}
html body.auto-beli-theme .ab-cf7-form{
    display:grid;
    gap:18px;
}
html body.auto-beli-theme .ab-cf7-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px 18px;
}
html body.auto-beli-theme .ab-cf7-field,
html body.auto-beli-theme .ab-cf7-field label{
    display:grid;
    gap:7px;
}
html body.auto-beli-theme .ab-cf7-field label{
    color:var(--ab-text,#15171a);
    font-size:14px;
    font-weight:700;
    letter-spacing:normal;
}
html body.auto-beli-theme .ab-cf7-field .wpcf7-form-control-wrap{
    display:block;
}
html body.auto-beli-theme .ab-cf7-field input,
html body.auto-beli-theme .ab-cf7-field textarea,
html body.auto-beli-theme .ab-cf7-field select{
    width:100%;
    min-height:52px;
    padding:12px 15px;
    border:1px solid var(--ab-border,#d9e3ee);
    border-radius:6px;
    background:#fff;
    color:var(--ab-text,#15171a);
    font:inherit;
    letter-spacing:normal;
    outline:none;
    transition:border-color .18s ease,box-shadow .18s ease;
}
html body.auto-beli-theme .ab-cf7-field textarea{
    min-height:150px;
    resize:vertical;
}
html body.auto-beli-theme .ab-cf7-field input:focus,
html body.auto-beli-theme .ab-cf7-field textarea:focus,
html body.auto-beli-theme .ab-cf7-field select:focus{
    border-color:#07366c;
    box-shadow:0 0 0 3px rgba(7,54,108,.09);
}
html body.auto-beli-theme .ab-cf7-consent{
    color:var(--ab-muted,#6b7078);
    font-size:13px;
}
html body.auto-beli-theme .ab-cf7-submit-row{
    display:flex;
    align-items:center;
    gap:16px;
}
html body.auto-beli-theme .ab-cf7-form input[type="submit"]{
    min-height:50px;
    padding:0 24px;
    border:1px solid #07366c;
    border-radius:5px;
    background:#07366c;
    color:#fff;
    font:inherit;
    font-weight:700;
    letter-spacing:normal;
    text-transform:none;
    cursor:pointer;
}
html body.auto-beli-theme .ab-cf7-form input[type="submit"]:hover,
html body.auto-beli-theme .ab-cf7-form input[type="submit"]:focus{
    background:#052b56;
    border-color:#052b56;
    color:#fff;
}
html body.auto-beli-theme .ab-cf7-form .wpcf7-not-valid-tip{
    margin-top:5px;
    color:#a32727;
    font-size:13px;
}
html body.auto-beli-theme .ab-cf7-form .wpcf7-response-output{
    margin:0!important;
    padding:13px 15px!important;
    border-radius:6px;
}

@media(max-width:820px){
    html body.auto-beli-theme .ab-inner-media-hero{
        min-height:350px;
    }
    html body.auto-beli-theme .ab-page-hero.ab-inner-media-hero,
    html body.auto-beli-theme .ab-info-hero.ab-inner-media-hero,
    html body.auto-beli-theme .ab-contact-hero.ab-inner-media-hero,
    html body.auto-beli-theme .ab-about-hero.ab-inner-media-hero,
    html body.auto-beli-theme .ab-blog-hero.ab-inner-media-hero,
    html body.auto-beli-theme .ab-single-hero.ab-inner-media-hero,
    html body.auto-beli-theme .ab-materials-hero.ab-inner-media-hero,
    html body.auto-beli-theme .ab-install-hero.ab-inner-media-hero,
    html body.auto-beli-theme .ab-comfort-hero.ab-inner-media-hero,
    html body.auto-beli-theme .ab-protection-hero.ab-inner-media-hero{
        padding:38px 0 44px!important;
    }
    html body.auto-beli-theme .ab-inner-hero-media img{object-position:62% center}
    html body.auto-beli-theme .ab-inner-hero-shade{background:linear-gradient(90deg,rgba(4,12,20,.94),rgba(4,12,20,.74))}
    html body.auto-beli-theme .ab-cf7-grid{grid-template-columns:1fr}
    html body.auto-beli-theme .ab-inner-card-logo img{max-width:160px!important;max-height:48px!important}
}

/* RC25.21 — inner hero glass treatment and kicker contrast. */
html body.auto-beli-theme .ab-inner-media-hero .ab-materials-hero-copy,
html body.auto-beli-theme .ab-inner-media-hero .ab-install-hero-copy,
html body.auto-beli-theme .ab-inner-media-hero .ab-comfort-hero-copy,
html body.auto-beli-theme .ab-inner-media-hero .ab-protection-hero-copy{
    background:rgba(0,0,0,.50)!important;
    border-color:rgba(255,255,255,.18)!important;
    box-shadow:0 18px 54px rgba(0,0,0,.16)!important;
    color:#fff!important;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}
html body.auto-beli-theme .ab-inner-media-hero .ab-materials-hero-copy h1,
html body.auto-beli-theme .ab-inner-media-hero .ab-install-hero-copy h1,
html body.auto-beli-theme .ab-inner-media-hero .ab-comfort-hero-copy h1,
html body.auto-beli-theme .ab-inner-media-hero .ab-protection-hero-copy h1{
    color:#fff!important;
}
html body.auto-beli-theme .ab-inner-media-hero .ab-materials-hero-copy p,
html body.auto-beli-theme .ab-inner-media-hero .ab-install-hero-copy p,
html body.auto-beli-theme .ab-inner-media-hero .ab-comfort-hero-copy p,
html body.auto-beli-theme .ab-inner-media-hero .ab-protection-hero-copy p{
    color:rgba(255,255,255,.82)!important;
}
html body.auto-beli-theme .ab-inner-media-hero .ab-materials-hero-copy .ab-breadcrumbs,
html body.auto-beli-theme .ab-inner-media-hero .ab-install-hero-copy .ab-breadcrumbs,
html body.auto-beli-theme .ab-inner-media-hero .ab-comfort-hero-copy .ab-breadcrumbs,
html body.auto-beli-theme .ab-inner-media-hero .ab-protection-hero-copy .ab-breadcrumbs{
    color:rgba(255,255,255,.72)!important;
}
html body.auto-beli-theme .ab-inner-media-hero .ab-materials-hero-copy .ab-breadcrumbs a,
html body.auto-beli-theme .ab-inner-media-hero .ab-install-hero-copy .ab-breadcrumbs a,
html body.auto-beli-theme .ab-inner-media-hero .ab-comfort-hero-copy .ab-breadcrumbs a,
html body.auto-beli-theme .ab-inner-media-hero .ab-protection-hero-copy .ab-breadcrumbs a{
    color:#fff!important;
}
html body.auto-beli-theme .ab-inner-media-hero .ab-kicker,
html body.auto-beli-theme .ab-inner-media-hero .ab-protection-hero-panel>span,
html body.auto-beli-theme .ab-inner-media-hero .ab-install-hero-panel>span,
html body.auto-beli-theme .ab-inner-media-hero .ab-comfort-hero-panel>span,
html body.auto-beli-theme .ab-inner-media-hero .ab-materials-hero-card>span{
    color:#fff!important;
}

/* RC25.21 — CF7: compact vertical rhythm and explicit left alignment. */
html body.auto-beli-theme .ab-contact-form-card,
html body.auto-beli-theme .ab-contact-form-card .wpcf7,
html body.auto-beli-theme .ab-contact-form-card .wpcf7-form,
html body.auto-beli-theme .ab-contact-form-card .ab-cf7-form,
html body.auto-beli-theme .ab-contact-form-card .ab-contact-placeholder{
    text-align:left!important;
}
html body.auto-beli-theme .ab-contact-form-card .ab-contact-placeholder{
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:var(--ab-text,#15171a)!important;
}
html body.auto-beli-theme .ab-contact-form-card .ab-contact-placeholder>strong{
    display:block!important;
    margin:0 0 16px!important;
    color:var(--ab-text,#15171a)!important;
    font-size:22px!important;
    line-height:1.2!important;
    text-align:left!important;
}
html body.auto-beli-theme .ab-contact-form-card .ab-contact-placeholder>p{
    margin:0 0 14px!important;
    color:var(--ab-muted,#6b7078)!important;
    text-align:left!important;
}
html body.auto-beli-theme .ab-contact-form-card .wpcf7-form p{
    margin:0 0 14px!important;
    padding:0!important;
    text-align:left!important;
}
html body.auto-beli-theme .ab-contact-form-card .wpcf7-form p:last-child{
    margin-bottom:0!important;
}
html body.auto-beli-theme .ab-cf7-form{
    gap:14px!important;
    text-align:left!important;
}
html body.auto-beli-theme .ab-cf7-grid{
    gap:12px 16px!important;
}
html body.auto-beli-theme .ab-cf7-field,
html body.auto-beli-theme .ab-cf7-field label{
    gap:5px!important;
    text-align:left!important;
}
html body.auto-beli-theme .ab-cf7-field label{
    justify-items:stretch!important;
    margin:0!important;
    font-size:14px!important;
    line-height:1.3!important;
}
html body.auto-beli-theme .ab-cf7-field input,
html body.auto-beli-theme .ab-cf7-field select{
    min-height:48px!important;
    padding:10px 14px!important;
    text-align:left!important;
}
html body.auto-beli-theme .ab-cf7-field textarea{
    min-height:128px!important;
    padding:12px 14px!important;
    text-align:left!important;
}
html body.auto-beli-theme .ab-cf7-consent{
    margin:0!important;
    line-height:1.5!important;
    text-align:left!important;
}
html body.auto-beli-theme .ab-cf7-submit-row{
    justify-content:flex-start!important;
    margin-top:2px!important;
}

@media(max-width:700px){
    html body.auto-beli-theme .ab-inner-media-hero .ab-materials-hero-copy,
    html body.auto-beli-theme .ab-inner-media-hero .ab-install-hero-copy,
    html body.auto-beli-theme .ab-inner-media-hero .ab-comfort-hero-copy,
    html body.auto-beli-theme .ab-inner-media-hero .ab-protection-hero-copy{
        background:rgba(0,0,0,.58)!important;
    }
}

