/* GLOBAL */

.home-things {}

@media only screen and (min-width : 961px) {
    .home-things {
        padding-block: 36rem;
    }
}

@media only screen and (min-width : 0) and (max-width : 960px) {

    .home-things {
        padding-block: 16rem 18rem;
    }
}

/* @end */



/* @group HEADER
------------------------------------ */

.home-things .title-wrapper h2 :is(b, strong) {
    font-family: var(--didot-font);
    line-height: 1.1em;
    letter-spacing: 0.03em;
}

.home-things .title-wrapper article {
    margin-top: 3.5rem;
    margin-left: auto;
    display: grid;
    gap: 3rem;
}
.home-things .title-wrapper .img-box::after {
    content: '';
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.40) 100%);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}
@media only screen and (min-width : 961px) {

    .home-things .title-wrapper {
        padding-bottom: 10rem;
    }

    .home-things .title-wrapper .img-box {
        height: 54rem;
    }

    .home-things .title-wrapper .subtitle {
        padding-bottom: 4rem;
    }

    .home-things .title-wrapper h2 {
        margin-left: 3.8rem;
        margin-top: -5.9rem;
        max-width: 80rem;
    }

    .home-things .title-wrapper h2 :is(b, strong) {
        font-size: 8rem;

    }

    .home-things .title-wrapper article {
        margin-left: auto;
        padding-right: 3rem;
    }
}

@media only screen and (min-width : 0) and (max-width : 960px) {
    .home-things .title-wrapper .img-box { margin: 0; }
    .home-things .title-wrapper h2 {
        margin-left: 1.3rem;
        margin-top: -2.8rem;
        max-width: 34.4rem;
        padding: 0;
    }
    .home-things .title-wrapper article {
        max-width: 26rem;
        padding: 0;
    }

    .home-things .title-wrapper {
        margin-bottom: 4.4rem;
    }
}

/* @end */



/* @group Accordions
------------------------------------ */

.home-things .accordion header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-things .accordion:is(:hover, .open) {
    z-index: 10;
}

.home-things .accordion:is(:hover, .open) header .img-box {
    opacity: 1;
}

.home-things .accordion:is(:hover, .open) header h3 {
    font-family: var(--termina);
    font-weight: 700;
    font-style: normal;
}

.home-things .accordion {
    cursor: pointer;
}



.home-things .accordion:last-of-type {
    border-bottom: 1px solid var(--white);
}

.home-things .accordion header .img-box {
    opacity: 0;
    pointer-events: none;
}

.home-things .accordion .content {
    max-height: 0;
    transition: 0.5s;
    overflow: hidden;
    padding: 0;
}

.home-things .accordion :is(a, button) {
    margin-top: 3rem;
}

.home-things .accordion i {
    font-size: 2.5rem;
}

.home-things .accordion.open .content {
    max-height: 90rem;
    padding-bottom: 2.7rem;
}

.home-things .accordion {
    padding-top: 5rem;
    padding-bottom: 3.6rem;
}

@media only screen and (min-width : 961px) {

    .home-things .accordion header {
        padding-bottom: 3.75rem;
    }

    .home-things .accordion .content {
        --_pl: 8rem;
        padding-left: var(--_pl);
        max-width: calc(54.1rem + var(--_pl));
    }

    .home-things .accordion {
        border-top: 1px solid var(--white);
    }


    .home-things .accordion:is(:hover, .open) i {
        opacity: 0;
    }

    .home-things .accordion header .img-box {
        width: 45rem;
        height: 30rem;
        position: absolute;
        top: -3rem;
        right: -20rem;
        transition: opacity 0.5s;
        z-index: -1;
    }
}


@media only screen and (min-width : 0) and (max-width : 960px) {
    .home-things .accordion {
        margin-inline: 4.5rem;
        padding-inline: 0;
        max-width: calc(100% - 9rem);
    }
    .home-things .accordion:not(:first-of-type) {
        border-top: 1px solid var(--white);
    }

    .home-things .accordion .content {
        padding-left: 4.5rem;
    }

    .home-things .accordion header .img-box {
        display: none;
    }

    .home-things .accordion header {
        padding-bottom: 3.2rem;
    }
    .home-things .accordion.open .icon-plus::before {
        content: "\e90a";
        font-size: 1.5px;
        margin-bottom: 5px;
        display: block;
    }

}

/* @end */

/* ANIMATIONS */
.home-things :is(.subtitle, img, h2,hr, article ) {
    opacity: 0;
    --duration: 1s;
}

.home-things:where(.animateActive) :is(.subtitle, img, h2, article ) {
    animation: fade var(--duration) forwards;
    animation-delay: var(--delay, 0);
}

.home-things:where(.animateActive) .subtitle {
    --delay: 0.5s;
}

.home-things:where(.animateActive) img {
    --delay: 1s;
}

.home-things:where(.animateActive) h2 {
    --delay: 1.25s;
}

.home-things:where(.animateActive) article {
    --delay: 2s;
}
.home-things:where(.animateActive) .title-wrapper article {
    --delay: 1.5s;
}