/* =========================================================
   OUR STRENGTH - DESKTOP IMAGE OVERLAY
========================================================= */

.himg {
    position: relative;
    overflow: hidden;
}

.himg > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Desktop overlay */
.strength-image-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;

    padding: 80px 55px 45px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0) 100%
    );

    color: #fff;
}

.strength-image-content {
    max-width: 600px;
}

.strength-image-content h3 {
    margin: 0 0 12px;
    padding: 0;

    color: #fff;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
}

.strength-image-content p {
    margin: 0 0 20px;
    padding: 0;

    color: #fff;
    font-size: 16px;
    line-height: 1.7;
}

.strength-overlay-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}
.strength-overlay-link:hover{
    color: #fff;
}

.strength-overlay-link:hover::after {
       filter: brightness(0) saturate(100%) invert(100%) sepia(99%) saturate(2%) hue-rotate(256deg) brightness(106%) contrast(100%);
}


.strength-overlay-link span {
    font-size: 20px;

    transition: transform 0.3s ease;
}

.strength-overlay-link:hover span {
    transform: translateX(5px);
}


/* Smooth image change */
#slider {
    transition:
        opacity 0.25s ease,
        transform 0.5s ease;
}

#slider.image-changing {
    opacity: 0.25;
}


/* =========================================================
   ACCORDION
   Hidden completely on desktop
========================================================= */

.strength-accordion {
    display: none;
}

.accordion-icon {
    display: none;
}


/* =========================================================
   TABLET + MOBILE
========================================================= */

@media (max-width: 991px) {

    .himg {
    position: absolute;
   
}

    .strength-image-overlay {
        display: none;
    }

    .strength-main-view {
        display: none;
    }

    .imglink .strength-item {
        position: relative;
    }

    .imglink .strength-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;

        cursor: pointer;
    }

    .imglink .strength-trigger span:first-child {
        flex: 1;
    }

    .accordion-icon {
        position: relative;

        display: block;

        width: 18px;
        min-width: 18px;
        height: 18px;

        margin-left: 15px;
    }

    .accordion-icon::before,
    .accordion-icon::after {
        content: "";

        position: absolute;
        top: 50%;
        left: 50%;

        background: #fff;

        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
    }

    .accordion-icon::before {
        width: 12px;
        height: 1px;
    }

    .accordion-icon::after {
        width: 1px;
        height: 12px;
    }

    .strength-item.active .accordion-icon::after {
        transform:
            translate(-50%, -50%)
            rotate(90deg);

        opacity: 0;
    }

    .strength-accordion {
        display: grid;
        grid-template-rows: 0fr;

        overflow: hidden;

        transition: grid-template-rows 0.4s ease;
    }

    .strength-accordion-inner {
        min-height: 0;
        overflow: hidden;
    }

    .strength-item.active .strength-accordion {
        grid-template-rows: 1fr;
    }

    .strength-accordion-inner p {
        margin: 0;
        padding: 5px 35px 14px 0;

        color: rgba(255, 255, 255, 0.9);

        font-size: 16px;
        line-height: 1.6;
    }



    .imglink li .strength-view-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0px 30px 0px 0px;
        margin: 0 0 18px;
        position: relative;
        color: #fff;

        font-size: 16px;
        font-weight: 500;

        text-decoration: none;
    }

    .strength-view-more span {
        font-size: 18px;

        transition: transform 0.3s ease;
    }

    .strength-view-more:hover span {
        transform: translateX(4px);
    }
}

@media (max-width:480px) {
    .strength-accordion-inner p{
       -webkit-line-clamp: none;
    }
}