/* articles section */
.articles {
    padding: 30px;
}

.article {
    border-bottom: var(--text) solid 1px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.article:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.article img {
    width: 50%;
    margin-bottom: 20px;
}

.article h1 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.article q {
    font-size: 16px;
    font-weight: 300;
}

.article a {
    margin-top: 20px;
    display: block;
    color: var(--text);
    text-decoration: none;
    transition: color ease .3s;
}

.article:last-child a {
    margin-top: 0;
}

.article a:hover {
    color: var(--yellow);
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

	.articles {
        padding: 40px 100px;
    }

    .article img {
        width: 40%;
    }

    .article {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }
    
    .article:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 1024px) {

    .articles {
        padding: 40px 200px;
    }

}

/* Extra large devices (large laptops) */
@media only screen and (min-width: 1440px) {

    .articles {
        padding: 50px 300px;
    }

    .article img {
        width: 30%;
    }

    .article {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    
    .article:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

}

/* Extra large devices (Desktops) */
@media only screen and (min-width: 1920px) {

    .articles {
        padding: 60px 500px;
    }

    .article img {
        width: 20%;
    }

    .article {
        padding-bottom: 35px;
        margin-bottom: 35px;
    }
    
    .article:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

}

/* Extra large devices (Large Desktops) */
@media only screen and (min-width: 2560px) {

    .articles {
        padding: 60px 600px;
    }

    .article img {
        width: 15%;
    }

    .article {
        padding-bottom: 50px;
        margin-bottom: 50px;
    }
    
    .article:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

}