/*
 * Banner Section Custom Styles
 * Isolated from style.css.
 */

#electrical_services_banner_section.sale-banner {
    position: relative;
    overflow: hidden;
    background-color: #ecebed;
    background-image: url("../img/banner-bg-img.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
    padding: 0;
    height: 700px;
}

#electrical_services_banner_section .asterthemes-wrapper {
    position: relative;
    z-index: 2;
}

/* Bottom-left angular dark shape */
#electrical_services_banner_section.sale-banner::before {
    content: "";
    position: absolute;
    left: -126px;
    bottom: -240px;
    width: min(68vw, 850px);
    height: 360px;
    background: linear-gradient(115deg, #2d2e34 0%, #1e2025 88%);
    clip-path: polygon(0 82%, 30% 36%, 100% 88%, 100% 100%, 0 100%);
    border-top: 6px solid var(--primary-color);
    transform: rotate(1deg);
    z-index: 0;
}

#electrical_services_banner_section .sale-banner__inner {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
}

#electrical_services_banner_section .sale-banner__content {
    position: relative;
    z-index: 3;
    left: 12%;
    top: -100px;
    width: 600px;
}

#electrical_services_banner_section .sale-banner__kicker {
    margin: 0;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 600;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

#electrical_services_banner_section .sale-banner__title {
    margin: 0;
    font-size: 52px;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

#electrical_services_banner_section .sale-banner__subtitle {
    margin: 0;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 600;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

#electrical_services_banner_section .sale-banner__description {
    margin: 22px 0 0;
    font-weight: 500;
    font-size: 16px;
    color: var(--secondary-color);
    font-family: var(--font-second);
}

#electrical_services_banner_section .sale-banner__actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

#electrical_services_banner_section .sale-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    padding: 11px 26px;
    border: 2px solid transparent;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

#electrical_services_banner_section .sale-banner__button--primary {
    background: var(--primary-color);
    color: #ffffff;
}

#electrical_services_banner_section .sale-banner__button--primary:hover,
#electrical_services_banner_section .sale-banner__button--primary:focus {
    background: #111111;
    color: #ffffff;
}

#electrical_services_banner_section .sale-banner__button--ghost {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

#electrical_services_banner_section .sale-banner__button--ghost:hover,
#electrical_services_banner_section .sale-banner__button--ghost:focus {
    background: var(--primary-color);
    color: #ffffff;
}

#electrical_services_banner_section .sale-banner__media {
    position: relative;
    z-index: 2;
    width: 45%;
    height: 100%;
    top: -110px;
}

#electrical_services_banner_section .sale-banner__mediadivtwo {
    width: 100%;
    height: 100%;
}

/* Center diagonal split accent */
#electrical_services_banner_section .sale-banner__mediadivtwo::before {
    content: "";
    position: absolute;
    left: 12%;
    bottom: 0;
    width: 8px;
    height: 280px;
    background: var(--primary-color);
    transform: rotate(146deg);
    z-index: 1;
}

#electrical_services_banner_section .sale-banner__mediadivtwo::after {
    content: "";
    position: absolute;
    left: 13%;
    bottom: 0;
    width: 8px;
    height: 280px;
    background: var(--secondary-color);
    transform: rotate(146deg);
    z-index: 2;
}

/* Center diagonal split accent */
#electrical_services_banner_section .sale-banner__media::before {
    content: "";
    position: absolute;
    left: 11%;
    top: 0;
    width: 8px;
    height: 500px;
    background: var(--primary-color);
    transform: rotate(21deg);
    z-index: 1;
}

#electrical_services_banner_section .sale-banner__media::after {
    content: "";
    position: absolute;
    left: 12%;
    top: 0;
    width: 8px;
    height: 500px;
    background: var(--secondary-color);
    transform: rotate(21deg);
    z-index: 2;
}

/* Main visual shell uses provided mask image */
#electrical_services_banner_section .sale-banner__hero-shell {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    background: var(--primary-color);
    -webkit-mask-image: url(../img/banner-mask-big.png);
    mask-image: url(../img/banner-mask-big.png);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

#electrical_services_banner_section .sale-banner__hero-image {
    background: #0f1115;
    -webkit-mask-image: url(../img/banner-mask-big.png);
    mask-image: url(../img/banner-mask-big.png);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    width: 100%;
    height: 100%;
}

#electrical_services_banner_section .sale-banner__model-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

#electrical_services_banner_section .sale-banner__model-image:hover {
    filter: brightness(1.09);
}

/* Experience hex badge */
#electrical_services_banner_section .sale-banner__experience-badge {
    position: absolute;
    left: -2%;
    top: 25%;
    width: 150px;
    min-height: 150px;
    background: red;
    z-index: 6;
    padding: 14px 11px;
    text-align: center;
    clip-path: polygon(50% 0%, 93% 24%, 93% 76%, 50% 100%, 7% 76%, 7% 24%);
}

#electrical_services_banner_section .sale-banner__experience-image {
    overflow: hidden;
    background: #1e2026;
    clip-path: polygon(50% 0%, 93% 24%, 93% 76%, 50% 100%, 7% 76%, 7% 24%);
    width: 135px;
    min-height: 135px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    color: #ffffff;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 5px 10px;
}

#electrical_services_banner_section .sale-banner__experience-value {
    font-size: 40px;
    line-height: 1;
    font-weight: 600;
    font-family: var(--font-second);
    color: #ffffff;
}

#electrical_services_banner_section .sale-banner__experience-label {
    font-size: 12px;
    line-height: 1.3;
    color: #d3d5da;
    font-family: var(--font-second);
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* Lower small masked image */
#electrical_services_banner_section .sale-banner__mini-shell {
    position: absolute;
    left: -7%;
    bottom: 25%;
    width: 180px;
    height: 190px;
    background: var(--primary-color);
    z-index: 6;
    -webkit-mask-image: url(../img/banner-mask-small.png);
    mask-image: url(../img/banner-mask-small.png);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

#electrical_services_banner_section .sale-banner__mini-image {
    position: absolute;
    inset: 7px;
    overflow: hidden;
    background: var(--secondary-color);
    -webkit-mask-image: url("../img/banner-mask-small.png");
    mask-image: url("../img/banner-mask-small.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

#electrical_services_banner_section .sale-banner__mini-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

#electrical_services_banner_section .sale-banner__mini-image img:hover {
    transform: scale(1.04);
}



@media only screen and (max-width: 1910px) {
    #electrical_services_banner_section .sale-banner__media {
        top: -60px;
    }
}


@media only screen and (max-width: 1800px) {
    #electrical_services_banner_section .sale-banner__media {
        top: 0;
    }
}

@media only screen and (max-width: 1680px) {
    #electrical_services_banner_section .sale-banner__media {
        top: 0;
    }
}

@media only screen and (max-width: 1610px) {
    #electrical_services_banner_section.sale-banner {
        height: 650px;
    }
    #electrical_services_banner_section .sale-banner__mediadivtwo::before{
        left: 11%;
        height: 280px;
    }
    #electrical_services_banner_section .sale-banner__mediadivtwo::after{
        left: 12%;
        height: 280px;
    }
    #electrical_services_banner_section .sale-banner__media::before{
        left: 10%;
        height: 500px;
    }
    #electrical_services_banner_section .sale-banner__media::after{
        left: 11%;
        height: 500px;
    }
    #electrical_services_banner_section .sale-banner__content {
        top: -40px;
    }
}

@media only screen and (max-width: 1550px) {
    #electrical_services_banner_section.sale-banner {
        height: 600px;
    }
    #electrical_services_banner_section .sale-banner__mediadivtwo::before{
        left: 11%;
        height: 240px;
    }
    #electrical_services_banner_section .sale-banner__mediadivtwo::after{
        left: 12%;
        height: 240px;
    }
    #electrical_services_banner_section .sale-banner__media::before{
        left: 10%;
        height: 400px;
    }
    #electrical_services_banner_section .sale-banner__media::after{
        left: 11%;
        height: 400px;
    }
    #electrical_services_banner_section .sale-banner__content {
        top: -40px;
        width: 500px;
    }
}


@media only screen and (max-width: 1380px) {
    #electrical_services_banner_section .sale-banner__media {
        height: 700px;
        top: -50px;
    }
    #electrical_services_banner_section .sale-banner__hero-image,#electrical_services_banner_section .sale-banner__hero-shell{
        mask-size: 100% 100%;
    }
    #electrical_services_banner_section .sale-banner__mediadivtwo::before{
        left: 10%;
        height: 240px;
        transform: rotate(151deg);
    }
    #electrical_services_banner_section .sale-banner__mediadivtwo::after{
        left: 11%;
        height: 240px;
        transform: rotate(151deg);
    }
    #electrical_services_banner_section .sale-banner__media::before{
        left: 11%;
        height: 400px;
        transform: rotate(17deg);
    }
    #electrical_services_banner_section .sale-banner__media::after {
        left: 12%;
        height: 400px;
        transform: rotate(17deg);
    }
    #electrical_services_banner_section .sale-banner__content {
        top: -70px;
        width: 600px;
        left: 7%;
    }
}

@media only screen and (max-width: 1240px) {
    #electrical_services_banner_section .sale-banner__content {
        top: -70px;
        width: 450px;
    }
    #electrical_services_banner_section .sale-banner__title {
        font-size: 42px;
    }
    #electrical_services_banner_section .sale-banner__mini-shell {
        left: -12%;
        bottom: 20%;
    }
    #electrical_services_banner_section .sale-banner__experience-badge {
        left: -7%;
        top: 28%;
    }
}

@media only screen and (max-width: 1080px) {
    #electrical_services_banner_section .sale-banner__content {
        top: -70px;
        width: 450px;
    }
    #electrical_services_banner_section .sale-banner__title {
        font-size: 42px;
    }
    #electrical_services_banner_section .sale-banner__mini-shell {
        left: -12%;
        bottom: 20%;
        width: 140px;
        height: 150px;
    }
    #electrical_services_banner_section .sale-banner__experience-badge {
        left: -7%;
        top: 28%;
        width: 110px;
        min-height: 110px;
    }
    #electrical_services_banner_section .sale-banner__experience-image {
        width: 100px;
        min-height: 100px;
    }
    #electrical_services_banner_section .sale-banner__experience-value {
        font-size: 24px;
    }
    #electrical_services_banner_section .sale-banner__mediadivtwo::before{
        left: 9%;
        height: 240px;
        transform: rotate(151deg);
    }
    #electrical_services_banner_section .sale-banner__mediadivtwo::after{
        left: 11%;
        height: 240px;
        transform: rotate(151deg);
    }
    #electrical_services_banner_section .sale-banner__media::before{
        left: 10%;
        height: 450px;
        transform: rotate(12deg);
    }
    #electrical_services_banner_section .sale-banner__media::after {
        left: 11.5%;
        height: 450px;
        transform: rotate(12deg);
    }
}

@media only screen and (max-width: 920px) {
    #electrical_services_banner_section .sale-banner__title {
        font-size: 32px;
    }
    #electrical_services_banner_section .sale-banner__kicker,#electrical_services_banner_section .sale-banner__subtitle {
        font-size: 18px;
    }
    #electrical_services_banner_section .sale-banner__description{
        font-size: 14px;
    }
    #electrical_services_banner_section .sale-banner__button {
        font-size: 13px;
        padding: 9px 15px;
    }
    #electrical_services_banner_section .sale-banner__content {
        top: -90px;
        width: 340px;
    }
    #electrical_services_banner_section.sale-banner {
        height: 550px;
    }
    #electrical_services_banner_section .sale-banner__mini-shell {
        left: -12%;
        bottom: 24%;
        width: 100px;
        height: 110px;
    }
    #electrical_services_banner_section .sale-banner__experience-badge {
        left: -7%;
        top: 32%;
        width: 100px;
        min-height: 100px;
    }
    #electrical_services_banner_section .sale-banner__experience-image {
        width: 90px;
        min-height: 90px;
    }
    #electrical_services_banner_section .sale-banner__experience-value {
        font-size: 14px;
    }
    #electrical_services_banner_section .sale-banner__media::before {
        left: 8%;
        height: 480px;
        transform: rotate(9deg);
    }
    #electrical_services_banner_section .sale-banner__media::after {
        left: 9.5%;
        height: 480px;
        transform: rotate(9deg);
    }
}

@media only screen and (max-width: 700px) {
    #electrical_services_banner_section .sale-banner__title {
        font-size: 28px;
    }
    #electrical_services_banner_section .sale-banner__kicker,#electrical_services_banner_section .sale-banner__subtitle {
        font-size: 18px;
    }
    #electrical_services_banner_section .sale-banner__description{
        font-size: 14px;
    }
    #electrical_services_banner_section .sale-banner__button {
        font-size: 13px;
        padding: 9px 15px;
    }
    #electrical_services_banner_section .sale-banner__content {
        top: 0;
        width: 100%;
        padding: 20px 5px 0 5px;
        text-align: center;
        left: unset;
    }
    #electrical_services_banner_section .sale-banner__actions {
        justify-content: center;
    }
    #electrical_services_banner_section.sale-banner {
        height: 750px;
        background-image: none;
    }

    #electrical_services_banner_section .sale-banner__hero-shell,#electrical_services_banner_section .sale-banner__hero-image {
        -webkit-mask-image: none;
        mask-image: none;
    }

    #electrical_services_banner_section .sale-banner__media {
        height: 300px;
        top: 30px;
        width: 90%;
    }

    #electrical_services_banner_section .sale-banner__mini-shell {
        left: 80%;
        top: unset;
        bottom: -130px;
        transform: translateX(-80%);
        width: 100px;
        height: 110px;
    }
    #electrical_services_banner_section .sale-banner__experience-badge {
        left: 20%;
        top: unset;
        width: 110px;
        min-height: 110px;
        bottom: -130px;
        transform: translateX(-20%);
    }
    #electrical_services_banner_section .sale-banner__experience-image {
        width: 100px;
        min-height: 100px;
    }
    #electrical_services_banner_section .sale-banner__experience-value {
        font-size: 14px;
    }
    #electrical_services_banner_section .sale-banner__media::before {
        content: none;
    }
    #electrical_services_banner_section .sale-banner__media::after {
        content: none;
    }
    #electrical_services_banner_section .sale-banner__mediadivtwo::before {
        content: none;
    }
    #electrical_services_banner_section .sale-banner__mediadivtwo::after {
        content: none;
    }
    #electrical_services_banner_section .sale-banner__inner {
        flex-direction: column;
    }
}