/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    #headerArea {

        .topbar {
            a {
                font: normal 14px/20px OutfitRegular, "Sans-serif";
            }
            button.btn.btn-primary {
                min-width: 100px !important;
                padding: 10px;
            }
            .navbar-brand {
                h3 {
                    transition: 300ms ease-in-out;
                    color: var(--primary-color) !important;
                    font: normal 20px/20px LexendExtraBold, "Sans-serif";

                    span {
                        font: normal 20px/20px LexendExtraBold, "Sans-serif";
                        color: var(--dark-color);
                    }
                }

                img {
                    max-width: 60px;
                    height: auto;
                    border-radius: 5px;
                }
            }
        }
    }

    #footerArea {
        .navbar-brand {
            font: normal 20px/20px LexendExtraBold, "Sans-serif";

            span {
                font: normal 20px/20px LexendExtraBold, "Sans-serif";
                color: var(--dark-color);
            }
            img {
                max-width: 40px;
            }
        }

        h3 {
            font: bold 18px/24px LexendBold, "Sans-serif";
        }
    }

    .LatestNews {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 224px;
        grid-auto-rows: 180px;

        article {
            &:first-child {
                grid-row: 1 / 1;

                .text {
					padding: 16px !important;
                    a {
                        font: normal 24px/28px OutfitMedium, "Sans-serif";
                    }
					
					.excerpt {
						margin-bottom: 2px;
					}

                    .date {
                        font: normal 12px/12px OutfitRegular, "Sans-serif";
                    }
                }
            }

            &:not(:first-child) {
                gap: 10px;

                img {
                    width: 150px;
                    height: 150px;
                    object-fit: cover;
                }

                .text {
                    width: calc(100% - 150px);

                    a {
                        font: normal 18px/24px OutfitMedium, "Sans-serif";
                    }

                    .date {
                        font: normal 12px/12px OutfitRegular, "Sans-serif";
                    }
                }
            }
        }
    }

    .top-stories {
        .item {

            .text {
                padding: 12px;

                a {
                    font: normal 18px/24px OutfitMedium, "Sans-serif";
                }

                .date {
                    font: normal 12px/12px OutfitRegular, "Sans-serif";
                }
            }
        }
    }

    .TopNews {
        grid-template-columns: 1fr;
        grid-template-rows: 350px auto;

        article {
            &:first-child {
                grid-column: 1 / 1;
            }

            &:nth-child(2) {
                grid-row: 1 / 1;
                grid-column: 1 / 1;

                .text {
                    a {
                        font: normal 20px/28px OutfitMedium, "Sans-serif";
                    }

                    .date {
                        font: normal 12px/12px OutfitRegular, "Sans-serif";
                    }
                }
            }

            &:not(:first-child, :nth-child(2)) {
                align-items: center;
                justify-content: start;
                gap: 16px;

                .text {
                    a {
                        font: normal 18px/24px OutfitMedium, "Sans-serif";
                    }

                    .date {
                        font: normal 12px/12px OutfitRegular, "Sans-serif";
                    }
                }
            }
        }
    }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {}

/* Extra large devices (large desktops, 1400px and up) */
@media only screen and (min-width: 1400px) {}