/* ============================================================
   RESPONSIVE CSS - ThaaiTamil Index Page
   All base + responsive styles in ONE file
   Structure: Base Styles -> 1199px -> 1000px -> 767px -> 599px -> 380px
   ============================================================ */


/* ============================================================
   BASE STYLES (Desktop - applies to ALL screen sizes first)
   ============================================================ */

/* --- Hover Effects --- */
.hover-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.hover-up-small {
    transition: transform 0.2s ease;
}

.hover-up-small:hover {
    transform: translateY(-2px);
}

.hover-text-success:hover {
    color: #198754 !important;
}

.hover-text-danger:hover {
    color: #dc3545 !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.transition-transform {
    transition: transform 0.3s ease;
}

.transition-transform:hover {
    transform: scale(1.02);
}

/* --- Left Sidebar News List --- */
.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-first-news {
    margin-bottom: 1rem;
}

.sidebar-first-thumb-wrap {
    height: 140px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.sidebar-first-info {
    padding: 0.75rem;
}

.sidebar-first-title {
    font-size: 1.05rem;
    line-height: 1.3;
    color: #111;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sidebar-news-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: background 0.2s ease;
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-item:hover {
    background: #f8fafc;
}

.sidebar-news-thumb-wrap {
    flex-shrink: 0;
    width: 90px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.sidebar-news-info {
    flex: 1;
    min-width: 0;
}

.sidebar-news-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Big News Card (Center) --- */
.big-news-card {
    margin-bottom: 1rem;
}

.big-news-card a {
    text-decoration: none;
}

.big-news-img-wrap {
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.big-news-body {
    padding-bottom: 0.75rem;
}

.big-news-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-family: 'Mukta Malar', sans-serif;
}

/* --- Sub Main News --- */
.sub-main-news {
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.sub-main-news a {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
}

.sub-main-thumb-wrap {
    width: 200px;
    height: 135px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.sub-main-info h4 {
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 700;
    color: #111;
}

/* --- Poster Box --- */
.poster-box {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    background: #fff;
}

.poster-media {
    height: 450px;
    background: #000;
    overflow: hidden;
}

.poster-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.poster-media a {
    display: block;
    height: 100%;
}

/* --- Ad Box --- */
.ad-box {
    height: 450px;
    background: #fdfdfd;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* --- HT Style Category Sections --- */
.ht-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.ht-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
}

.ht-category-box {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.ht-card-main {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin: 0 0 0.75rem 0;
}

.ht-card-main a {
    display: block;
    height: 100%;
    position: relative;
}

.ht-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    padding: 0.75rem;
}

.ht-card-title {
    font-size: 0.95rem;
    line-height: 1.3;
    color: #fff;
    font-weight: 600;
    margin: 0;
}

.ht-list-side {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ht-list-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
}

.ht-list-item:last-child {
    border-bottom: none;
}

.ht-list-content {
    flex: 1;
    min-width: 0;
}

.ht-list-title {
    font-size: 0.85rem;
    line-height: 1.3;
    color: #1e293b;
    font-weight: 600;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ht-list-thumb {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

/* --- Bottom Read More Section --- */
.bottom-read-more-section {
    padding: 2rem 0;
    background: #f8fafc;
}

.bottom-grid-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bottom-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.bottom-grid-card a {
    text-decoration: none;
}

.bottom-grid-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.bottom-grid-body {
    padding: 0.6rem;
}

.bottom-grid-cat {
    font-size: 0.65rem;
    font-weight: 700;
    color: #dc3545;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.bottom-grid-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Card-2 & Section spacing overrides are in RESPONSIVE section only --- */
/* Desktop uses original main.css values - DO NOT add base overrides here */


/* ============================================================
   RESPONSIVE OVERRIDES - By Breakpoint
   Priority: Mobile > Tablet > Desktop (don't touch desktop)
   ============================================================ */


/* --- [LARGE TABLETS & SMALL DESKTOPS] (1001px to 1199px) --- */
@media (max-width: 1199px) {

    /* Big news image - scale down proportionally */
    .big-news-img-wrap {
        height: 320px !important;
    }

    .big-news-title {
        font-size: 1.45rem !important;
    }

    /* Sub-main thumb smaller */
    .sub-main-thumb-wrap {
        width: 160px !important;
        height: 110px !important;
    }

    .sub-main-info h4 {
        font-size: 1rem !important;
    }

    /* Poster height reduce */
    .poster-media {
        height: 350px !important;
    }

    .poster-media img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .ad-box {
        height: 350px !important;
    }

    /* HT sections */
    .ht-card-main {
        height: 170px !important;
    }

    /* Card images - scale down from desktop 386x210 */
    .article.card-2 .card-img-top {
        height: 180px !important;
        max-height: 180px !important;
    }

    /* Card-2 layout adjustments from here down */
    .article.card-2 .post-link {
        gap: 10px !important;
    }

    .article.card-2 .card-body {
        gap: 8px !important;
        padding: 0.75rem !important;
    }

    .article.card-2 .card-body h4,
    .article.card-2 .card-body h4 a.text-dark {
        font-size: 1.05rem !important;
        line-height: 1.4 !important;
        font-weight: 700 !important;
    }

    .article.card-2 .card-footer {
        padding: 0.5rem 0.75rem !important;
    }

    .article.card-2 .card-footer small {
        font-size: 0.75rem !important;
    }

    /* Section spacing */
    .sec-2-home-4 {
        padding-top: 0.5rem !important;
    }
}

/* --- [TABLET SIDEBAR FIX] (990px to 1200px only) --- */
@media (min-width: 990px) and (max-width: 1200px) {

    /* 1. Rebalance 3-col layout: more room for sidebar */
    .sec-2-home-4 .row > .col-lg-3:first-child {
        width: 30% !important;
    }
    .sec-2-home-4 .row > .col-lg-6 {
        width: 45% !important;
    }
    .sec-2-home-4 .row > .col-lg-3:last-child {
        width: 25% !important;
    }

    /* 2. Reduce gutter gap between columns */
    .sec-2-home-4 .row.g-42 {
        --bs-gutter-x: 1.25rem !important;
    }

    /* 3. Smaller thumb for more text room */
    .sidebar-news-thumb-wrap {
        width: 60px !important;
        height: 48px !important;
    }

    /* 4. Date/time font reduction only */
    .sidebar-news-info small,
    .sidebar-news-info .small {
        font-size: 0.6rem !important;
    }

    /* 5. Smaller badge to match */
    .sidebar-news-info .badge {
        font-size: 0.55rem !important;
        padding: 2px 5px !important;
    }

    /* 6. Reduce gap between badge and time */
    .sidebar-news-info .gap-2 {
        gap: 0.25rem !important;
    }
    /* 7. Reduce live clock font size to prevent logo overlap */
    .live-clock {
        font-size: 0.6rem !important;
        line-height: 1.1 !important;
    }
    .live-clock #currentTime {
        font-size: 0.65rem !important;
    }
}



/* --- [TABLETS & IPADS] (768px to 1000px) --- */
@media (max-width: 1000px) {

    /* Header: Force stacking */
    .header-top .row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
    }

    .header-top div[class*="col-"] {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 5px 0 !important;
    }

    .main-logo {
        max-height: 60px !important;
        margin: 5px auto !important;
    }

    .social-links {
        justify-content: center !important;
        gap: 10px !important;
    }

    .live-clock {
        display: inline-flex !important;
        width: auto !important;
        margin: 0 15px !important;
        border: none !important;
    }

    /* --- MAIN LAYOUT: 3-col stacks properly --- */
    .sec-2-home-4 .row.mt-1 {
        gap: 1.5rem 0;
    }

    /* Left sidebar news */
    .sidebar-news-thumb-wrap {
        width: 75px;
        height: 60px;
    }

    .sidebar-news-title {
        font-size: 0.82rem;
    }

    .sidebar-first-thumb-wrap {
        height: 220px !important;
    }

    .sidebar-first-title {
        font-size: 0.95rem;
    }

    /* Big news */
    .big-news-img-wrap {
        height: 260px !important;
    }

    .big-news-title {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
    }

    .big-news-body {
        padding-bottom: 0.5rem !important;
    }

    /* Sub-main news */
    .sub-main-thumb-wrap {
        width: 140px !important;
        height: 95px !important;
    }

    .sub-main-info h4 {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
    }

    .sec-2-home-4 h4 {
        font-size: 0.9rem !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
    }

    .fw-bold.text-dark.mb-2 {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        margin-bottom: 4px !important;
    }

    /* Right side poster/ad height - REDUCE for tablet */
    .poster-media {
        height: 280px !important;
    }

    .poster-media img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .ad-box {
        height: 280px !important;
    }

    /* Meta text */
    .sec-2-home-4 span,
    .sec-2-home-4 small {
        font-size: 0.72rem !important;
    }

    .section-title {
        font-size: 1.25rem !important;
        font-weight: 800 !important;
    }

    /* HT sections tablet */
    .ht-section-title {
        font-size: 1.15rem !important;
    }

    .ht-card-main {
        height: 160px !important;
    }

    .ht-card-title {
        font-size: 0.85rem !important;
    }

    .ht-list-title {
        font-size: 0.8rem !important;
    }

    .ht-list-thumb {
        width: 55px;
        height: 40px;
    }

    /* Bottom grid */
    .bottom-grid-img {
        height: 100px;
    }

    .bottom-grid-title {
        font-size: 0.72rem;
    }

    .bottom-grid-body {
        padding: 0.5rem;
    }

    /* Card-2 tablet */
    .article.card-2 .card-img-top {
        height: 160px !important;
        max-height: 160px !important;
    }

    .article.card-2 .card-body h4,
    .article.card-2 .card-body h4 a.text-dark {
        font-size: 0.98rem !important;
        line-height: 1.35 !important;
    }

    /* Section spacing tablet */
    .sec-2-home-4 .row.mt-5 {
        margin-top: 1.5rem !important;
    }

    .sec-2-home-4.pb-40 {
        padding-bottom: 1.5rem !important;
    }

    .bottom-read-more-section {
        padding: 1.5rem 0;
    }
}


/* --- [SMALL TABLETS & LARGE MOBILE] (600px to 767px) --- */
@media (max-width: 767px) {
    .main-logo {
        max-height: 50px !important;
    }

    .live-clock {
        font-size: 11px !important;
        margin: 5px 0 !important;
    }

    /* Big news */
    .big-news-title {
        font-size: 1.15rem !important;
    }

    /* Big news - small tablet */
    .big-news-img-wrap {
        height: 220px !important;
    }

    /* Left sidebar */
    .sidebar-first-thumb-wrap {
        height: 100px !important;
    }

    .sidebar-first-title {
        font-size: 0.88rem;
    }

    .sidebar-news-thumb-wrap {
        width: 70px;
        height: 55px;
    }

    .sidebar-news-title {
        font-size: 0.78rem;
    }

    /* Sub-main news */
    .sub-main-news a {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .sub-main-thumb-wrap {
        width: 100% !important;
        height: 160px !important;
    }

    .sub-main-info h4 {
        font-size: 0.88rem !important;
    }

    /* Right side poster/ad - small tablet */
    .poster-media {
        height: auto !important;
        aspect-ratio: 9/16 !important;
    }

    .poster-media a {
        height: 100% !important;
    }

    .poster-media img {
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }

    .poster-box {
        margin-bottom: 1rem !important;
        border-radius: 10px !important;
    }

    /* Section title mobile */
    .section-title {
        font-size: 1.1rem !important;
    }

    /* HT sections mobile */
    .ht-section-title {
        font-size: 1.05rem !important;
    }

    .ht-card-main {
        height: 140px !important;
    }

    .ht-category-box {
        padding: 0.6rem !important;
    }

    /* Card-2 small tablet */
    .article.card-2 .card-img-top {
        height: 145px !important;
        max-height: 145px !important;
    }

    .article.card-2 .card-body h4,
    .article.card-2 .card-body h4 a.text-dark {
        font-size: 0.92rem !important;
        line-height: 1.35 !important;
    }

    /* Bottom grid */
    .bottom-grid-img {
        height: 85px;
    }

    .bottom-grid-title {
        font-size: 0.68rem;
    }

    /* Section spacing */
    .sec-2-home-4 .row.mt-5 {
        margin-top: 1.25rem !important;
    }

    .mb-5 {
        margin-bottom: 1.25rem !important;
    }

    .mt-5 {
        margin-top: 1.25rem !important;
    }

    .bottom-read-more-section {
        padding: 1.25rem 0;
    }
}


/* --- [MOBILE PHONES] (Below 600px) --- */
@media (max-width: 599px) {
    .header-top {
        padding: 4px 0 !important;
    }

    .main-logo {
        max-height: 42px !important;
    }

    /* Hide non-essential elements on mobile */
    .live-clock,
    .top-bar-social-label {
        display: none !important;
    }

    .header-action-btn {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }

    /* === MAIN LAYOUT: Single column stack === */
    .sec-2-home-4 .row.mt-1 {
        gap: 1rem 0;
    }

    .sec-2-home-4 .row.mt-1>[class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Big news - mobile */
    .big-news-img-wrap {
        height: 190px !important;
        border-radius: 8px !important;
    }

    .big-news-title {
        font-size: 1.2rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.5rem !important;
    }

    .big-news-body {
        padding-bottom: 0.25rem !important;
        font-size: 13px !important;
    }

    .big-news-body span {
        font-size: 0.65rem !important;
    }

    /* Left sidebar news - mobile */
    .sidebar-first-thumb-wrap {
        height: 190px !important;
    }

    .sidebar-first-title {
        font-size: 0.85rem;
        line-height: 1.25;
    }

    .sidebar-first-info {
        padding: 0.6rem !important;
    }

    .sidebar-news-item {
        gap: 8px;
        padding: 10px 0;
    }

    .sidebar-news-thumb-wrap {
        width: 65px;
        height: 50px;
    }

    .sidebar-news-title {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .sidebar-news-info .badge {
        font-size: 0.55rem !important;
    }

    .sidebar-news-info small {
        font-size: 0.6rem !important;
    }

    /* Sub-main news - full width stack */
    .sub-main-news {
        padding-top: 0.75rem !important;
        margin-top: 0.75rem !important;
    }

    .sub-main-news a {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .sub-main-thumb-wrap {
        width: 100% !important;
        height: 140px !important;
        border-radius: 6px !important;
    }

        /* Sub-main news mt-4 - 358x200px */
    .sub-main-news.mt-4.pt-4.border-top .sub-main-thumb-wrap {
        width: 368px !important;
        height: 200px !important;
        align-self: center !important;
    }

    /* Sub-main news mt-3 - 358x200px */
    .sub-main-news.mt-3.pt-3.border-top .sub-main-thumb-wrap {
        width: 368px !important;
        height: 200px !important;
        align-self: center !important;
    }

    .sub-main-info h4 {
        font-size: 0.85rem !important;
        line-height: 1.25 !important;
    }

    .sub-main-info .d-flex {
        gap: 0.5rem !important;
    }

    .sub-main-info span,
    .sub-main-info small {
        font-size: 0.65rem !important;
    }
    
     /* Sub-main news title margin top */
    .fw-bold.text-dark.mb-2 {
        margin-top: 10px !important;
    }

    /* Right side poster/ad - mobile compact */
    .poster-media {
        height: auto !important;
        aspect-ratio: 9/16 !important;
    }

    .poster-media a {
        height: 100% !important;
    }

    .poster-media img {
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }

    .poster-box {
        margin-bottom: 0.75rem !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    }

    .ad-box {
        height: 180px !important;
        font-size: 0.85rem;
    }

    .poster-box .d-flex h3 {
        font-size: 1rem !important;
    }

    /* Paragraphs */
    p,
    .news-desc {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    /* Section title mobile */
    .section-title {
        font-size: 1rem !important;
        font-weight: 800 !important;
    }

    /* Card-2 mobile */
    .article.card-2 .card-img-top {
        height: 130px !important;
        max-height: 130px !important;
        border-radius: 8px !important;
    }

    .article.card-2 .card-body {
        padding: 0.6rem !important;
        gap: 4px !important;
    }

    .article.card-2 .card-body h4,
    .article.card-2 .card-body h4 a.text-dark {
        font-size: 0.95rem !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
    }

    .article.card-2 .card-body span {
        font-size: 0.65rem !important;
    }

    .article.card-2 .card-footer {
        padding: 0.4rem 0.6rem !important;
    }

    .article.card-2 .card-footer small {
        font-size: 0.65rem !important;
    }

    /* HT sections mobile */
    .ht-section-title {
        font-size: 0.95rem !important;
    }

    .ht-category-box {
        padding: 0.5rem !important;
    }

    .ht-card-main {
        height: 120px !important;
    }

    .ht-card-title {
        font-size: 0.8rem !important;
    }

    .ht-card-overlay {
        padding: 0.5rem !important;
    }

    .ht-list-title {
        font-size: 0.75rem !important;
    }

    .ht-list-thumb {
        width: 55px;
        height: 40px;
    }

    /* Bottom grid mobile */
    .bottom-grid-card {
        border-radius: 8px;
    }

    .bottom-grid-img {
        height: 75px;
    }

    .bottom-grid-body {
        padding: 0.4rem;
    }

    .bottom-grid-cat {
        font-size: 0.55rem;
    }

    .bottom-grid-title {
        font-size: 0.62rem;
        line-height: 1.25;
    }

     /* Bottom section spacing */
    .bottom-read-more-section {
        padding: 0 !important;
    }

    .bottom-read-more-section .d-flex.mb-4,
    .bottom-read-more-section .section-title {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .bottom-read-more-section .row.g-4 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }


    .bottom-read-more-section .row.g-4 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    /* Section spacing mobile - reduce top/bottom gaps */
    .mb-5,
    .mt-5 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .mb-4,
    .mt-4 {
        margin-top: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .mb-3 {
        margin-bottom: 0.5rem !important;
    }

    .sec-2-home-4 .row.mt-5 {
        margin-top: 1rem !important;
    }

    .sec-2-home-4.pb-40 {
        padding-bottom: 1rem !important;
    }

    .pt-4 {
        padding-top: 0.75rem !important;
    }

    .pb-2 {
        padding-bottom: 0.4rem !important;
    }

    /* Nav bar adjustments mobile */
    .nav-bar-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* News Hub Bell - smaller on mobile */
    .news-hub-bell {
        width: 42px !important;
        height: 42px !important;
        bottom: 67px !important;
        right: 15px !important;
    }

    .news-hub-bell .bell-wrapper {
        font-size: 16px !important;
    }

    /* Scroll to top button - smaller on mobile */
    .btn-scroll-top,
    .btn-scroll-top:after {
        width: 40px !important;
        height: 40px !important;
    }

    .btn-scroll-top {
        right: 1rem !important;
        bottom: 1rem !important;
    }

    /* Sidebar news list - remove gap on mobile */
    .sidebar-news-list {
        gap: 0 !important;
    }
}

/* --- [VERY SMALL PHONES] (Below 380px) --- */
@media (max-width: 380px) {

    /* Big news - tiny phone */
    .big-news-img-wrap {
        height: 155px !important;
    }

    .big-news-title {
        font-size: 0.95rem !important;
    }

    .sidebar-news-thumb-wrap {
        width: 55px;
        height: 45px;
    }

    .sidebar-news-title {
        font-size: 0.7rem;
    }

    .sub-main-thumb-wrap {
        height: 120px !important;
    }

    .poster-media {
        height: auto !important;
        aspect-ratio: 9/16 !important;
    }

    .poster-media img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .ad-box {
        height: 150px !important;
    }

    /* Card-2 tiny phone */
    .article.card-2 .card-img-top {
        height: 100px !important;
        max-height: 100px !important;
    }

    .article.card-2 .card-body h4,
    .article.card-2 .card-body h4 a.text-dark {
        font-size: 0.82rem !important;
    }

    .bottom-grid-img {
        height: 65px;
    }

    .bottom-grid-title {
        font-size: 0.58rem;
    }

    .section-title {
        font-size: 0.9rem !important;
    }

    .ht-card-main {
        height: 100px !important;
    }

    .ht-list-thumb {
        width: 45px;
        height: 35px;
    }
}