#article-page {
    background-color: #e9ecef;
    
#latest-article {
    background-color: #e9ecef;

    .flex_container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        color: var(--black);

        .text_content {
            .paragraph {
                color: var(--black);
            };

            .subheading {
                color: var(--blue);
            }
        }

        .row {
            display: grid;
            justify-content: center;
            padding-top: 20px;
            gap: 10px;

            img {
                cursor: pointer;
            };
        };

        .row > .column {
            padding: 0 0px;
        }

        .row:after {
            content: "";
            display: table;
            clear: both;
        }

        .column {
            text-align: center;
            max-width: 250px;
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            padding-top: 100px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.94);
        }

        .modal-content {
            position: relative;
            background-color: transparent;
            margin: auto;
            padding: 0;
            width: 90%;
            max-width: 1200px;
        }

        .close {
            color: var(--white);
            top: 10px;
            font-size: 35px;
            font-weight: 700;
        }

        .close:hover,
        .close:focus {
            color: #999;
            text-decoration: none;
            cursor: pointer;
        }

        .mySlides {
            display: none;
            text-align: center;
            margin: 0 auto;

        img {
            max-width: 100%;
        }
        }

        .mySlides_horizontal {
            max-width: 500px;
        };

        .mySlides_vertical {
            max-width: 350px;
        };

        .prev,
        .next {
            cursor: pointer;
            position: absolute;
            top: 30%;
            width: auto;
            padding: 8px;
            margin-top: -50px;
            color: white;
            font-weight: 700;
            font-size: 20px;
            transition: 0.6s ease;
            border-radius: 0 3px 3px 0;
            user-select: none;
            -webkit-user-select: none;
            background-color: rgba(0, 0, 0, 0.8);
        }

        .next {
            right: 0;
            border-radius: 3px 0 0 3px;
        }

        .numbertext {
            color: #f2f2f2;
            font-size: 12px;
            padding: 8px 12px;
            position: absolute;
        top: 0;
        }

        .caption-container {
            text-align: center;
            background-color: black;
            padding: 2px 16px;
            color: white;
        }

        img.demo {
            opacity: 0.6;
            max-width: 200px;
        }

        .active,
        .demo:hover {
            opacity: 1;
        }

        .thumbnails {
            padding-top: 5px;
            display: flex;
            gap: 20px;
            flex-wrap: nowrap;
            overflow-y: hidden;

            img {
                cursor: pointer;
                max-width: 100px;
            };
        };

        img.hover-shadow {
            transition: 0.3s;
        }

        .hover-shadow:hover {
            box-shadow: 0px 0px 2px 5px rgba(255, 212, 71, 0.9);
        };

        a {
            color: var(--blue);
        };

        a:hover {
            color: var(--dark-gold);
        };

        .read_more {
            padding-top: 20px;
            text-transform: uppercase;
            font-size: 12px;

            a {
                text-decoration: underline;
                text-underline-offset: 4px;
            };
        };

    };

    @media screen and (min-width: 320px) {

        .row {
            grid-template-columns: 180px;
            img {
                max-width: 180px;
            };
        };

        .thumbnails {
            justify-content: initial;
            overflow-x: scroll;
        };

        .rowEightThumbnails {
            justify-content: initial;
            overflow-x: scroll;
        }
    }


    @media screen and (min-width: 375px) {

        .row {
            grid-template-columns: 220px;
            img {
                max-width: 220px;
            };
        };


    };

    @media screen and (min-width: 425px) {
        .row {
            grid-template-columns: repeat(2, 150px);
            img {
                max-width: 150px;
            };
        };

    };

    @media screen and (min-width: 512px) {
        .thumbnails {
            justify-content: center;
            overflow-x: hidden;
        };

        .rowEightThumbnails {
            justify-content: initial;
            overflow-x: scroll;
        }
    }

    @media screen and (min-width: 535px) {
        .row {
            grid-template-columns: repeat(2, 200px);
            img {
                max-width: 200px;
            };
        };

    };

    @media screen and (min-width: 625px) {
        .row {
            grid-template-columns: repeat(4, 120px);
            img {
                max-width: 120px;
            };
        };

    };

    @media screen and (min-width: 767px) {
        .row {
            grid-template-columns: repeat(4, 150px);
            img {
                max-width: 150px;
            };
        };

    };

     @media screen and (min-width: 900px) {

        .row {
            grid-template-columns: repeat(4, 180px);

            img {
                max-width: 180px;
            };
        };
        
    };

    @media screen and (min-width: 1024px) {
        .rowEightThumbnails {
            justify-content: center;
            overflow-x: hidden;
        }
    }

    @media screen and (min-width: 1150px) {

        .row {
            grid-template-columns: repeat(4, 250px);

            img {
                max-width: 250px;
            };
        };
        
    };
};

@media screen and (min-width: 320px) {
    .hero_heading {
        font-size: 14px;
    };
};

@media screen and (min-width: 425px) {
    .hero_heading {
        font-size: 18px;
    };
};

@media screen and (min-width: 767px) {
    .hero_heading {
        font-size: 24px;
    };
};

@media screen and (min-width: 1024px) {
    .hero_heading {
        font-size: 32px;
    };
};

@media screen and (min-width: 1200px) {
    .hero_heading {
        font-size: 36px;
    };
};

};
