/* =========================================
   TABLET
========================================= */

@media (max-width: 992px) {

    .main-header .container {
        flex-direction: column;
    }

    .header-ad {
        width: 100%;
        margin-top: 20px;
    }

    .main-nav ul {
        flex-wrap: wrap;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .logo h1 {
        font-size: 32px;
    }

    .main-nav a {
        padding: 14px 12px;
        font-size: 14px;
    }

    .header-ad {
        height: 70px;
        font-size: 14px;
    }

}


/* =========================================
   HERO
========================================= */

@media (max-width: 992px) {

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .featured-image img {
        height: 350px;
    }

    .featured-content h2 {
        font-size: 28px;
    }

}

@media (max-width: 768px) {

    .featured-image img {
        height: 250px;
    }

    .featured-content {
        padding: 20px;
    }

    .featured-content h2 {
        font-size: 22px;
    }

    .read-btn {
        width: 100%;
        text-align: center;
    }

}


/* =========================================
   LATEST NEWS
========================================= */

@media (max-width: 992px) {

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .news-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

}


/* =========================================
   HERO CAROUSEL
========================================= */

@media (max-width: 768px) {

    .hero-image {
        height: 350px;
    }

    .carousel-caption {
        bottom: 5%;
    }

    .carousel-caption h1 {
        font-size: 28px;
    }

    .carousel-caption p {
        display: none;
    }

}


/* =========================================
   TOP HEADER
========================================= */

.top-header {
    width: 100% !important;
    height: 40px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

.top-header .container {
    width: 95% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.top-header-inner {
    width: 100% !important;
    height: 40px !important;

    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;
    justify-content: space-between !important;

    flex-wrap: nowrap !important;
}

.top-links {
    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;
    justify-content: flex-start !important;

    gap: 20px !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.top-links a {
    display: inline-block !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 40px !important;

    white-space: nowrap !important;

    color: #333 !important;
    font-size: 14px !important;
    font-weight: 400 !important;

    text-decoration: none !important;
}

.top-links a:hover {
    color: #e10600 !important;
}

.top-date {
    display: block !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 40px !important;

    white-space: nowrap !important;

    color: #333 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}


/* =========================================
   MOBILE TOP HEADER
========================================= */

@media (max-width: 768px) {

    .top-header {
        height: auto !important;
    }

    .top-header-inner {
        height: auto !important;
        min-height: 40px !important;

        flex-direction: row !important;
        flex-wrap: nowrap !important;

        padding: 0 5px !important;
    }

    .top-links {
        gap: 12px !important;
    }

    .top-links a,
    .top-date {
        font-size: 12px !important;
        line-height: 40px !important;
    }

}