/* Adding variables */
@import url("../../css/variables.css");

.vertical-divider {
    width: 1px;
    height: auto;
    min-height: 200px;
    background: var(--neoblue);
}

.featured-resources__main-container {
    width: var(--width);
    padding: var(--padding);
    margin: 0 auto;
}

.featured-resources__inner-container {
    display: flex;
    flex-direction: column;
    gap: var(--xl-spacing);
    padding: var(--xxxl-spacing) 0;
}

.featured-resources__inner-container .featured-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-spacing);
}

.featured-resources__main-title {
    font-family: var(--racing);
    font-size: var(--bigtext);
    font-weight: var(--regular);
    text-transform: uppercase;
    color: var(--neopaleblue);
}

.featured-resources__main-subtitle {
    font-size: var(--h2);
    font-weight: var(--extralight);
}

.featured-resources__content-container {
    display: flex;
    gap: var(--xl-spacing);
}

.featured-resources__left-container {
    display: flex;
    flex-direction: column;
    gap: var(--s-spacing);
    align-items: flex-start;
    width: 40%;
    max-width: 460px;
}

.featured_resources__featured-image {
    display: flex;
    width: auto;
    position: relative;
}

.featured-resources__left-container img {
    width: auto;
    max-width: 350px;
    height: auto;
    max-height: 300px;
    position: relative;
}

.featured-resources__left-container h3 a {
    font-size: calc(var(--text) * 2);
    font-weight: var(--extralight);
    line-height: var(--lh-1);
    color: black;
}

.featured-resources__left-container p {
    font-weight: var(--light);
    line-height: var(--lh-2);
}

.featured-resources__right-container {
    display: flex;
    flex-direction: column;
    gap: var(--xl-spacing);
    width: 60%;
}

.featured-resources__right-container a {
    display: flex;
}

.featured-resources__right-container__post-container {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--l-spacing) - .5rem);
}

.featured-resources__right-container__post-container img {
    width: auto;
    max-width: 120px;
    height: auto;
    max-height: 120px;
}

.featured_resources__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-spacing);
}

.featured_resources__content h3 a {
    font-size: calc(var(--text) * 2);
    font-weight: var(--extralight);
    line-height: var(--lh-1);
    color: black;
}

/**********************************************/
/******************* Laptop *******************/
/**********************************************/
@media (max-width: 1366px) {
    
}

/**********************************************/
/******************* Tablet *******************/
/**********************************************/
@media (max-width: 1024px) {
    .featured-resources__content-container {
        gap: var(--m-spacing);
    }

    .featured-resources__right-container {
        gap: var(--l-spacing);
    }

    .featured-resources__right-container__post-container {
        gap: var(--m-spacing);
    }

    .featured-resources__right-container__post-container > div h3 a {
        font-size: var(--h2);
    }
}

/**********************************************/
/******************* Mobile *******************/
/**********************************************/
@media (max-width: 767px) {
    .vertical-divider {
        width: var(--full);
        height: 1px;
        min-height: 0;
        max-height: 1px;
    }

    .featured-resources__inner-container {
        gap: var(--l-spacing);
    }

    .featured-resources__content-container {
        flex-direction: column;
    }

    .featured-resources__left-container {
        width: var(--full);
    }

    .featured-resources__left-container h3 a {
        font-size: var(--h2);
    }

    .featured-resources__right-container {
        width: var(--full);
    }

    .featured-resources__right-container__post-container img {
        max-width: 100px;
        max-height: 100px;
    }
}