@media(max-width:1200px){

.container{

width:95%;

}

}

@media(max-width:768px){

.logo img{
    width:220px;
}

}

@media(max-width:900px){

.hero-grid,

.latest-grid{

grid-template-columns:1fr;

}

.news-grid{

grid-template-columns:1fr;

}

.nav ul{

flex-wrap:wrap;

}

.header{

flex-direction:column;

gap:20px;

text-align:center;

}

.topbar .container{

flex-direction:column;

gap:10px;

}

}

@media(max-width:600px){

.logo h1{

font-size:34px;

}

.tagline{

font-size:18px;

}

.overlay h1{

font-size:20px;

}

.weather h2{

font-size:19px;

}

.small-news{

flex-direction:column;

}

.small-news img{

width:100%;

height:180px;

margin:0 0 10px;

}

}

@media(max-width:900px){

.menu-toggle{
    display:block;
}

.logo-mobile{
    display:block;
}

/* =========================================
   MOBILE NAVIGATION
========================================= */

@media (max-width: 900px) {

    .desktop-auth-menu{
        display:none !important;
    }

    .menu-toggle {
        display: block;
    }

    .logo-mobile {
        display: block;
    }

    .nav .nav-links {
        display: none !important;

        position: absolute;
        top: 65px;
        left: 0;

        width: 100%;

        background: #081a3b;

        flex-direction: column;

        z-index: 9999;
    }

    .nav .nav-links.active {
        display: flex !important;
    }

    .nav .nav-links li {
        width: 100%;
    }

    .nav .nav-links li a {
        display: block;
        width: 100%;
        padding: 18px;
        border-bottom: 1px solid rgba(255,255,255,.15);
    }

}
.nav-links li{
    width:100%;
}

.nav-links li a{
    padding:18px;
    border-bottom:1px solid rgba(255,255,255,.15);
}

}

/* =========================================
   MOBILE HEADER
========================================= */

@media (max-width: 900px) {

    header {
        padding: 8px 12px !important;
    }

    header .header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    /* LOGO */

    header .logo {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    header .logo img {
        width: 105px !important;
        height: auto !important;
        display: block !important;
    }

    /* TAGLINE */

    header .tagline {
        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        font-size: 13px !important;
        line-height: 1.2 !important;

        text-align: left !important;

        max-width: 180px !important;
    }

    /* WEATHER */

    header .weather {
        display: flex !important;

        align-items: center;
        justify-content: center;

        flex: 0 0 auto;

        margin: 0 !important;
    }

    /* CLOCK */

    header .clock {
        display: none !important;
    }

}

@media (max-width: 768px) {

    #mobileAuthLink {
        display: flex;
        align-items: center;
        gap: 12px;

        width: 100%;
        padding: 18px 22px;

        color: #fff;
        background: #061b3a;

        text-decoration: none;

        border-top: 1px solid rgba(255,255,255,.12);

        font-size: 16px;
        font-weight: 600;
    }

    #mobileAuthLink i {
        width: 20px;
        text-align: center;
    }

}

/* =========================================
   MOBILE LOGIN / LOGOUT
========================================= */

.mobile-auth-menu {
    display: none;
}


/* MOBILE ONLY */
@media (max-width: 768px) {

    .mobile-auth-menu {
        display: block;
        border-top: 1px solid rgba(255,255,255,0.12);
    }

    .mobile-auth-menu a {
        display: flex;
        align-items: center;
        gap: 12px;

        width: 100%;
        min-height: 52px;

        padding: 0 22px;

        box-sizing: border-box;

        color: #ffffff;
        background: #061d3a;

        text-decoration: none;

        font-size: 15px;
        font-weight: 600;
    }

    .mobile-auth-menu a:hover {
        background: #102d50;
    }

    .mobile-auth-menu i {
        width: 20px;
        text-align: center;
    }

}

/* =====================================================
   MOBILE HEADER REDESIGN
   PRIMETIME NEWS
===================================================== */

@media (max-width: 768px) {

    /* =========================================
       MAIN HEADER
    ========================================= */

    header {
        padding: 0;
        width: 100%;
    }

    .container.header {
        width: 100%;
        min-height: 72px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 8px 12px;

        box-sizing: border-box;
        gap: 8px;
    }


    /* =========================================
       LOGO
    ========================================= */

    .header .logo {
        flex: 0 0 auto;

        display: flex;
        align-items: center;

        width: auto;
        max-width: 105px;
    }

    .header .logo img,
    #websiteLogoHeader {
        display: block;

        width: auto;
        max-width: 100px;
        height: auto;

        max-height: 58px;

        object-fit: contain;
    }


    /* =========================================
       TAGLINE
       
       HIDE ON MOBILE
       Para hindi magsiksikan.
    ========================================= */

    .header .tagline {
        display: none !important;
    }


    /* =========================================
       WEATHER
    ========================================= */

    .header .weather {
        margin-left: auto;

        display: flex;
        align-items: center;

        gap: 7px;

        min-width: 0;
        flex: 0 0 auto;
    }


    .header .weather > i {
        font-size: 29px;

        flex-shrink: 0;
    }


    .header .weather > div {
        min-width: 0;
    }


    #weatherTemp {
        margin: 0;

        font-size: 17px;
        line-height: 1.1;

        white-space: nowrap;
    }


    #weatherDescription {
        margin: 2px 0 0;

        font-size: 9px;
        line-height: 1.1;

        white-space: nowrap;

        overflow: hidden;
        text-overflow: ellipsis;

        max-width: 75px;
    }


    /* =========================================
       LIVE CLOCK
       
       HIDE ON MOBILE
    ========================================= */

    .header .clock {
        display: none !important;
    }


    /* =========================================
       NAVIGATION
    ========================================= */

    #navbar {
        width: 100%;
    }


    #navbar .container.nav {
        width: 100%;

        min-height: 48px;

        padding: 0 10px;

        display: flex;
        align-items: center;

        box-sizing: border-box;
    }


    /* =========================================
       MOBILE BRAND
    ========================================= */

    .logo-mobile {
        flex: 1;

        min-width: 0;
    }


    .logo-mobile h2 {
        margin: 0;

        font-size: 14px;
        font-weight: 700;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    /* =========================================
       HAMBURGER
    ========================================= */

    .menu-toggle {
        width: 42px;
        height: 42px;

        padding: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        flex-shrink: 0;
    }


    .menu-toggle i {
        font-size: 22px;
    }


    /* =========================================
       KEBAB
    ========================================= */

    .kebab-menu {
        flex-shrink: 0;

        margin-left: 4px;
    }


    .kebab-toggle {
        width: 40px;
        height: 40px;

        padding: 0;

        display: flex;
        align-items: center;
        justify-content: center;
    }


    .kebab-toggle i {
        font-size: 18px;
    }


    /* =========================================
       SEARCH
    ========================================= */

    .menu-search {
        width: 38px;
        height: 40px;

        display: flex;
        align-items: center;
        justify-content: center;

        flex-shrink: 0;
    }


    .menu-search i {
        font-size: 17px;
    }


    /* =========================================
       NAV LINKS
    ========================================= */

    #navbar .nav-links {
        display: none;
    }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 480px) {

    .container.header {
        min-height: 66px;

        padding: 6px 10px;
    }


    .header .logo img,
    #websiteLogoHeader {
        max-width: 88px;
        max-height: 52px;
    }


    .header .weather > i {
        font-size: 25px;
    }


    #weatherTemp {
        font-size: 15px;
    }


    #weatherDescription {
        font-size: 8px;
        max-width: 65px;
    }


    #navbar .container.nav {
        min-height: 46px;

        padding-left: 8px;
        padding-right: 8px;
    }


    .logo-mobile h2 {
        font-size: 13px;
    }


    .menu-toggle {
        width: 38px;
        height: 38px;
    }


    .kebab-toggle {
        width: 36px;
        height: 36px;
    }


    .menu-search {
        width: 34px;
    }

}


/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 360px) {

    .header .logo img,
    #websiteLogoHeader {
        max-width: 78px;
    }


    #weatherDescription {
        display: none;
    }


    #weatherTemp {
        font-size: 14px;
    }


    .logo-mobile h2 {
        font-size: 12px;
    }

}









/* =========================================================
   PRIMETIME NEWS - DESKTOP VIEW FIX ONLY
   992px PATAAS
   HUWAG GALAWIN ANG MOBILE / RESPONSIVE
========================================================= */

@media (min-width: 992px) {

    /* =========================
       MAIN CONTAINER
    ========================= */

    .container {
        width: 1200px;
        max-width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }


    /* =========================
       HEADER
    ========================= */

    header .header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 20px !important;
        text-align: left !important;
    }

    header .logo {
        flex: 0 0 auto !important;
    }

    header .logo img {
        width: 230px !important;
        height: auto !important;
    }

    header .tagline {
        display: block !important;
        font-size: 24px !important;
        text-align: center !important;
    }

    header .weather {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }

    header .clock {
        display: block !important;
    }


    /* =========================
       DESKTOP NAVIGATION
    ========================= */

    #navbar .nav {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-direction: row !important;
    }

    #navbar .nav-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        position: static !important;
        width: auto !important;
        background: transparent !important;
    }

    #navbar .nav-links li {
        width: auto !important;
    }

    #navbar .nav-links li a {
        display: block !important;
        width: auto !important;
        padding: 18px 20px !important;
        border: none !important;
    }

    .menu-toggle,
    .logo-mobile {
        display: none !important;
    }


    /* =========================
       HERO
    ========================= */

    .hero {
        margin: 30px 0 !important;
    }

    .hero-grid {
        display: grid !important;
        grid-template-columns: 2.3fr 0.9fr !important;
        gap: 18px !important;
        align-items: start !important;
    }

    .hero-left {
        min-width: 0 !important;
        position: relative !important;
    }

    .hero-right {
        min-width: 0 !important;
        height: 550px !important;
        overflow-y: auto !important;
    }

    #heroSlider {
        width: 100% !important;
    }


    /* =========================
       LATEST NEWS
    ========================= */

    body .latest-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr) !important;
        gap: 30px !important;
        align-items: start !important;

        width: 100% !important;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;

        box-sizing: border-box !important;
    }

    .latest-left {
        min-width: 0 !important;
        grid-column: 1 !important;
    }

    .sidebar {
        min-width: 0 !important;
        grid-column: 2 !important;
    }


    /* =========================
       LATEST NEWS CARDS
    ========================= */

    #newsContainer.news-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
        width: 100% !important;
    }

    #newsContainer .news-card {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    #newsContainer .news-card img {
        width: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
    }


    /* =========================
       MOST READ SIDEBAR
    ========================= */

    .sidebar {
        width: 100% !important;
    }

    .sidebar #mostReadList {
        width: 100% !important;
        box-sizing: border-box !important;
    }










    
