/* 
    Table of content
    1. BLOG
    2. POST
    3. FAQS
    4. 404
*/

/* 1. BLOG */
.page-id-49 {
    background-color: var(--color-lightpurple);
}

/* 2. POST */
.post-section .image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    border-radius: 1rem;
    overflow: hidden;
}

.post-section .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.post-section .label {
    position: absolute;
    top: 3rem;
    left: 3rem;
    padding: .75rem 1.25rem;
    border-radius: .6rem;
    background-color: var(--color-purple);
    font-family: "Archivo", sans-serif; 
    font-optical-sizing: auto;
    font-size: 1.4rem;
    font-weight: 500;    
    line-height: 1.3;
    color: white;
    transition: .3s;
}

.post-section:hover .label {
    background-color: var(--color-purple);
}

.post-section .date {
    margin-top: 3rem;
    font-size: 1.6rem;
    color: #aaa;
}

.post-section h1 {
    hyphens: auto;
}

.post-section .video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    border-radius: 1rem;
    overflow: hidden;
}

.post-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.post-bottom .container {
    padding-top: 4rem;
    border-top: .1rem solid #ddd;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
}

.post-bottom .share-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-bottom .share-wrapper a {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: .4rem;
    background-color: var(--color-purple);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.7rem;
    line-height: 1;
    color: white;
    text-decoration: none;
}

.post-bottom .share-wrapper a:hover {
    background-color: var(--color-darkpurple);
}

.post-bottom .container > span {
    text-align: right;
}

.post-bottom .container > span a {
    color: var(--color-black);
}

/* 3. FAQS */
.page-id-51 {
    background-color: var(--color-lightpurple);
}

.faqs-section {
    margin-top: 5rem;
}

.faqs-section .container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-gap: 10rem;
}

.faqs-section .filter {
    position: sticky;
    top: 11.6rem;
    padding: 3rem;
    border-radius: 1rem;
    background-color: white;
}

.faqs-section .filter ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.faqs-section .filter li:not(:first-child) {
    margin-top: .5rem;
}

.faqs-section .filter a {
    font-size: 1.6rem;
    line-height: 1.3;
    color: var(--color-black);
    text-decoration: none;
}

.faqs-section .filter a:hover,
.faqs-section .filter li.active a {
    text-decoration: underline;
}

.faqs-section .faqs-wrapper {
    margin-top: -5rem;
}

.faqs-section .term-wrapper {
    padding-top: 5rem;
}

.faqs-section .header {
    margin-bottom: 1rem;
    padding: 2rem 7.5rem 2rem 2.5rem;
    border-radius: 1rem;
    background-color: var(--color-purple);
    font-family: "Archivo", sans-serif; 
    font-optical-sizing: auto;
    font-size: 1.8rem;
    font-weight: 500;    
    line-height: 1.3;
    color: white;
}

/* 4. 404 */
.error404 header {
    position: relative;
}

/* RESIZE */
@media (max-width: 1340px) {
    /* 3. FAQS */
    .faqs-section .filter {
        top: 5rem;
    }
}

@media (max-width: 1024px) {
    /* 3. FAQS */
    .faqs-section .container {
        grid-template-columns: 2fr 5fr;
        grid-gap: 6rem;
    }
}

@media (max-width: 899px) {
    /* 2. POST */
    .post-section .date {
        font-size: 1.4rem;
    }

    /* 3. FAQS */
    .faqs-section .header {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    /* 2. POST */
    .post-section.pt-md {
        padding-top: 4rem;
    }

    .post-section .label {
        top: 2rem;
        left: 2rem;
    }

    .post-bottom.pt-md {
        padding-top: 4rem;
    }

    /* 3. FAQS */
    .faqs-section {
        margin-top: 4rem;
    }
    
    .faqs-section .container {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    .faqs-section .filter {
        position: relative;
        top: inherit;
        padding: 2rem;
    }

    .faqs-section .faqs-wrapper {
        margin-top: 0;
    }
    
    .faqs-section .term-wrapper {
        padding-top: 4rem;
    }

    .faqs-section .header {
        padding: 1.5rem 7rem 1.5rem 2rem;
    }
}