:root {
    --light: #ffe6e6;
    --dark: #0c0c0c;
}

.modern-accordion-container {
    --bg-color: radial-gradient(
            circle at 50% 0%,
            rgba(50, 50, 50, 1) 0%,
            rgba(12, 12, 12, 1) 100%
    );
    overflow: clip;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 5rem;
    width: 100%;
    height: 80dvh;
    /*background-image: var(--bg-color);*/
    background-color: transparent;
}

.category_container {
    --gap: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: calc(var(--gap) * 2);
    width: 100%;
    height: 100%;
}

.modern-accordion-container .content {
    --active: 0;
    cursor: pointer;
    overflow: clip;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.5rem;
    padding: 2.5rem;
    width: calc((100% / 3) - var(--gap));
    height: 100%;
    border-radius: 1rem;
    transition: width 0.5s ease-in-out;
}

.modern-accordion-container .content:hover {
    --active: 1;
    width: calc(70% - var(--gap));
}

.modern-accordion-container .content::before {
    content: "";
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    opacity: 0.6;
}

.modern-accordion-container .content img {
    position: absolute;
    z-index: -20;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.modern-accordion-container .content .profile_image {
    opacity: calc(1 - var(--active));
    transition: opacity 0.3s ease-in-out;
}

.modern-accordion-container .profile_detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 12rem;
    transition: transform 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}

.modern-accordion-container .profile_detail span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light);
    text-wrap: nowrap;
}

.modern-accordion-container .profile_detail p {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--light);
}

.modern-accordion-container .profile_quote {
    width: 22rem;
    transform: translate(0, calc((1 - var(--active)) * (100% + 2.5rem)));
}

.modern-accordion-container .profile_quote p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--light);
    transform: translate(0, calc((1 - var(--active)) * (100% + 2.5rem)));
    transition: transform 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.1s;
}

.modern-accordion-container .wrapper {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
    transition: grid-template-rows 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s, -ms-grid-rows 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}

.modern-accordion-container .profile_quote {
    min-height: 0;
    transform: translateY(50%);
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
}

.modern-accordion-container .content:hover .wrapper {
    grid-template-rows: 1fr;
}

.modern-accordion-container .content:hover .profile_quote {
    transform: none;
    opacity: 1;
}

.modern-accordion-container dialog {
    position: absolute;
    z-index: 1;
    background: none;
    color: white;
    border: 0;
    font-size: 0.8rem;
    padding: 0.5em;
}

.modern-accordion-container dialog a {
    color: whitesmoke;
}

.iconCard.-type-2.-light .iconCard__icon {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.icons-feature-item {
    margin-bottom: 1rem;
}

.feature-item {
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: .5s;
}

.feature-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, .5);
    pointer-events: none;
    transition: opacity .4s ease-in-out;
}

.feature-item__content h4 {
    color: #fff;
    position: relative;
    z-index: 2;
    font-weight: 300;
    text-align: center;
    font-size: 1.8rem;
}

.feature-item:hover::before {
    opacity: .4;
}

.feature__main-img {
    margin-bottom: 1.5rem;
}

.feature__main-img img {
    width: 100%;
}


@media screen and (min-width: 800px) {
    .pageHeader.-type-1.feature-breadcrumb .pageHeader__title {
        font-size: 50px;
        text-transform: capitalize;
    }
}

@media screen and (max-width: 480px) {
    .modern-accordion-container {
        padding: 1.5rem;
    }

    .category_container {
        flex-wrap: wrap;
    }

    .modern-accordion-container .content {
        width: 100%;
        height: 300px;
    }

    .modern-accordion-container {
        height: unset;
    }

    .modern-accordion-container .content:hover {
        width: 100%;
    }

    .pageHeader.-type-1.feature-breadcrumb .pageHeader__title {
        font-size: 18px;
        text-transform: capitalize;
    }

    .pageHeader.-type-1.feature-breadcrumb .pageHeader-nav__link a, .pageHeader.-type-1 .pageHeader-nav__link span {
        font-size: 13px;
        text-transform: capitalize;
    }

    .feature-item__content h4 {
        padding-inline: 1rem;
    }

    .modal ol, ul {
        padding-left: 1.2rem;
    }
}