/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    
    #header-bottom {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .nav-link {
        font-size: 1rem;
    }

}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) { 
    .container-fluid {
        --bs-gutter-x: .75rem;
    }

    /* Header top */
    .header-top-content {
        justify-content: end;
    }

    .custom-logo-link {
        margin-right: auto;
    }

    .header-top-navbar {
        margin-right: 1rem;
    }

    .header-top-navbar .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        background: #fff;
        width: 100%;
        height: 100%;
        border: 1.5px solid rgba(0, 0, 0, 0.52);
        padding: 1rem;
        text-align: center;
        z-index: 9999;
        display: flex;
        flex-direction: column;
    }

    /* .header-top-navbar .navbar-collapse.show,
    .header-top-navbar .navbar-collapse.showing {
        display: flex;
        flex-direction: column;
    } */

    .header-top-navbar .navbar-collapse:not(.show) {
        display: none;
    }

    .header-top-navbar .navbar-collapse .btn-close {
        margin-left: auto;
        margin-bottom: 1rem;
        display: block;
        width: .5em;
        height: .5em;
    }

    .header-top-navbar .navbar-collapse .nav-item {
        margin-bottom: 1rem;
    }

    .news-item-extended .news-image-link {
        margin-top: 2rem;
    }
    
}

/* Medium devices (less than 1440px height) */
@media (max-height: 1440px) {
    
    #header-top {
        --bs-gutter-y: 3.125vh;
    }

    #header-bottom {
        padding-top: 4vh;
        padding-bottom: 4vh;
    }

    .news-title {
        font-size: 1.75rem;
    }

    .news-item-extended {
        padding-top: 8vh;
        padding-bottom: 8vh;
    }

    .news-item-extended .news-title {
        font-size: 2.5rem;
    }

    #news-footer {
        padding-top: 4vh;
        padding-bottom: 4vh;
    }

}

/* Extra Large devices (more than 1920px) */
@media (min-width: 1920px) { 
    
    #header-top {
        --bs-gutter-y: 2rem;
    }

    #header-bottom {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .news-title {
        font-size: 2.5rem;
        line-height: 1;
    }

    .news-item-extended .news-title {
        font-size: 4rem;
        margin-bottom: 2.125rem;
    }
    
}