﻿@media (max-width: 768px) {
    body{
        grid-template-columns: calc(100vw - 40px) 40px ;
        align-items: flex-start;
    }
    body > header{
        grid-column: 1 / -1;
        grid-row: 1;
    }
    ul.banner{
        grid-column: 2;
        grid-row: 1 / 4;
    }
    body > main{
        grid-column: 1;
        grid-row: 2;
    }
    body > footer{
        grid-column: 1 / -1;
        grid-row: 3;
    }
    body > #slider,
    body > p{
        display: none;
    }
}

article > header > figure{
    position: relative;
    margin-bottom: 1rem;
}
article > header > figure::after{
    content: "";
    background: radial-gradient( rgba(var(--main-color-opacity), .7) 0%, rgba(var(--main-color-opacity), 0) 70%);
    width: 17.5rem;
    height: 13.5rem;
    position: absolute;
    bottom: -10rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

article > header > figure img{
    width: 50vw;
    height: 25rem;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 768px) {
    article > header > figure img{
        width: 100vw;
        height: 15rem;
    }
}
article > header h2{
    font-size: 2rem;
    padding-left: 6rem;
    position: relative;
    margin-bottom: 3rem;
}
article > header h2::before{
    content: "";
    width: 26.75rem;
    height: 2px;
    background: var(--main-color);
    position: absolute;
    left: 0;
    bottom: -1.5rem;
}
article > header h2::after{
    content: "FAQ";
    color: rgba(var(--main-color-opacity), .5);
    font-size: 3rem;
    position: absolute;
    left: 2rem;
    bottom: -2rem;
    z-index: -1;
}
@media (max-width: 768px) {
    article > header h2{
        font-size: 1.5rem;
        padding-left: 2rem;
    }
    article > header h2::before{
        width: 16rem;
    }
    article > header h2::after{
        left: 17rem;
    }
}


article section > div{
    padding: 3rem 0;
}
article section > div:nth-of-type(even){
    background: rgba(var(--accent-color-opacity),.2);
}

article section > div h4{
    padding: .5rem 1rem;
    font-size: 1.25rem;
    width: 80%;
    max-width: 1100px;
    margin: 0 auto 1.5rem;
}
article section > div:nth-of-type(odd) > h4{
    background: var(--accent-color);
    color: var(--text-color);
}
article section > div:nth-of-type(even) > h4{
    background: var(--main-color);
    color: var(--clear-color);
}

article section > div dl{
    width: 80%;
    margin: 0 auto;
}
article section > div dl dt{
    font-weight: bold;
    border-bottom: 1px dotted rgba(var(--text-color-opacity),.6);
    padding-bottom: .5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .25rem;
}
article section > div dl dt::before{
    content: "";
    background-image: url(../images/circle-question-solid.svg);
    background-repeat: no-repeat;
    width: 1.5rem;
    height: 1.5rem;

}
article section > div dl dd{
    margin-bottom: 3rem;
    font-size: .9rem;
    text-align: justify;
}
