/* =========================================================
   GLOBAL
========================================================= */
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans Malayalam', Arial, sans-serif;
    background: #f4f6f8;
    color: #1f2937;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 24px;
    color: #111827;
}

/* =========================================================
   TOP BAR
========================================================= */
.top-strip {
    background: #0f172a;
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}

.top-tagline {
    opacity: 0.9;
}

/* =========================================================
   HEADER
========================================================= */
.main-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 26px 0;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    flex-direction: column;
}

.site-logo {
    font-size: 60px;
    font-weight: 900;
    color: #b30000;
    line-height: 1.1;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.site-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-top: 6px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-form input {
    min-width: 320px;
    padding: 14px 18px;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    font-size: 16px;
    outline: none;
    background: #fff;
}

.search-form button {
    background: #b30000;
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 14px 26px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
}

/* =========================================================
   MENU BAR
========================================================= */
.menu-bar {
    background: #c30000;
    color: #fff;
    padding: 16px 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.menu-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    font-size: 34px;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    user-select: none;
}

.menu-title {
    font-size: 32px;
    font-weight: 900;
}

/* CATEGORY DROPDOWN */
.category-menu {
    display: none;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.category-menu.active {
    display: block;
}

.category-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-menu-list li {
    border-bottom: 1px solid #f1f1f1;
}

.category-menu-list li:last-child {
    border-bottom: none;
}

.category-menu-list li a {
    display: block;
    padding: 16px 18px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    transition: 0.2s;
}

.category-menu-list li a:hover {
    background: #f9fafb;
    color: #b30000;
}

/* LIVE NAV */
.live-nav-link {
    background: #dc2626;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    margin-left: 12px;
}

/* =========================================================
   BREAKING BAR
========================================================= */
.breaking-bar {
    background: #fff3cd;
    border-left: 5px solid #dc2626;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
}

.breaking-bar a {
    color: #111827;
    margin-left: 8px;
}

.breaking-dot,
.dot {
    width: 12px;
    height: 12px;
    background: #dc2626;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

/* =========================================================
   HOMEPAGE HERO
========================================================= */
.hero-news-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.14);
}

.hero-news-card a {
    display: block;
    position: relative;
    text-decoration: none;
}

.hero-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.08));
}

.hero-chip,
.category-chip {
    display: inline-block;
    background: #fff;
    color: #b30000;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 12px;
}

.hero-overlay h1 {
    font-size: 44px;
    line-height: 1.2;
    font-weight: 900;
    color: #fff;
    margin: 0;
}

/* =========================================================
   GRID CARDS
========================================================= */
.news-grid-card,
.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: 0.25s;
    height: 100%;
}

.news-grid-card:hover,
.news-card:hover {
    transform: translateY(-4px);
}

.news-grid-card img,
.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-grid-body,
.news-card .card-body {
    padding: 18px;
}

.news-grid-chip {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: #b30000;
    margin-bottom: 10px;
}

.news-grid-body h3,
.news-title {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.news-meta {
    color: #6b7280;
    font-size: 14px;
    margin-top: 8px;
}

/* =========================================================
   CATEGORY SECTION
========================================================= */
.category-section {
    margin-top: 10px;
}

.category-section .row {
    row-gap: 22px;
}

.section-heading h2 {
    font-size: 32px;
    font-weight: 900;
    color: #111827;
    margin: 0;
}

.view-all-link {
    color: #b30000;
    font-weight: 800;
    text-decoration: none;
}

/* =========================================================
   FIXED SMALL CATEGORY CARDS
========================================================= */
.small-news-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.07);
    height: 100%;
    min-height: 150px;
}

.small-news-card a {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    padding: 14px;
    height: 100%;
}

.small-news-card img {
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    flex-shrink: 0;
}

.small-news-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.small-news-text h4 {
    font-size: 24px;
    line-height: 1.45;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111827;
    word-break: break-word;
}

.small-news-text p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* =========================================================
   SIDEBAR
========================================================= */
.sidebar-sticky-wrap {
    position: sticky;
    top: 20px;
}

.sidebar-box {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

.sidebar-box h4 {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 18px;
    color: #1f2937;
}

.latest-list a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    color: #111827;
    line-height: 1.7;
}

.latest-list a:last-child {
    border-bottom: none;
}

.ad-box img {
    width: 100%;
    border-radius: 16px;
}

/* LIVE BUTTON */
.live-sidebar-box {
    margin-bottom: 24px;
}

.live-sidebar-btn,
.live-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #e11d2e;
    color: #fff !important;
    font-size: 28px;
    font-weight: 900;
    padding: 18px;
    border-radius: 18px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(225,29,46,0.28);
}

/* =========================================================
   ARTICLE PAGE
========================================================= */
.article-card {
    background: #fff;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.08);
}

.article-title {
    font-size: 52px;
    line-height: 1.25;
    font-weight: 900;
    color: #111827;
    margin-bottom: 20px;
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.article-summary {
    font-size: 22px;
    line-height: 1.9;
    color: #374151;
    background: #f9fafb;
    padding: 22px;
    border-left: 5px solid #b30000;
    border-radius: 16px;
    margin-bottom: 28px;
}

.article-image-wrap {
    margin-bottom: 28px;
}

.article-main-image {
    width: 100%;
    border-radius: 22px;
    object-fit: cover;
    max-height: 560px;
}

/* ARTICLE CONTENT */
.article-content {
    font-size: 22px;
    line-height: 2.05;
    color: #1f2937;
    word-break: break-word;
}

.article-content p {
    margin-bottom: 26px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 30px;
    margin-bottom: 16px;
    font-weight: 800;
}

/* VIDEO */
.article-video-box {
    margin-top: 30px;
}

.video-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 16px;
}

/* =========================================================
   SHARE BUTTONS
========================================================= */
.share-box {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
    align-items: center;
}

.share-label {
    font-weight: 800;
    font-size: 16px;
}

.share-btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    color: #fff !important;
    border: none;
    cursor: pointer;
}

.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #111827; }
.share-btn.telegram { background: #229ED9; }
.share-btn.copy { background: #6b7280; }

/* =========================================================
   COMMENTS
========================================================= */
.comments-section {
    margin-top: 40px;
}

.comment-form-box {
    background: #f9fafb;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 30px;
}

.comment-form-box input,
.comment-form-box textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 16px;
    margin-bottom: 14px;
    outline: none;
}

.comment-form-box button {
    background: #b30000;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
}

.comment-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #6b7280;
}

.comment-header strong {
    color: #111827;
    font-size: 16px;
}

.comment-text {
    font-size: 17px;
    line-height: 1.9;
    color: #1f2937;
}

/* =========================================================
   LIVE PAGE
========================================================= */
.live-badge-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-badge {
    background: #dc2626;
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 1px;
    animation: pulseLive 1.2s infinite;
}

.live-label {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

@keyframes pulseLive {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.88; }
    100% { transform: scale(1); opacity: 1; }
}

.live-player-box iframe,
.live-player-box video {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
}

.no-live-box {
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 18px;
    padding: 50px 24px;
    text-align: center;
}

.no-live-box h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 10px;
}

.no-live-box p {
    font-size: 18px;
    color: #6b7280;
}

/* =========================================================
   FOOTER
========================================================= */
footer {
    background: #111827;
    color: #fff;
    padding: 40px 20px;
    margin-top: 60px;
}

footer a {
    color: #fff;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 992px) {
    .site-logo {
        font-size: 48px;
    }

    .menu-title {
        font-size: 26px;
    }

    .hero-img {
        height: 380px;
    }

    .hero-overlay h1 {
        font-size: 34px;
    }

    .article-title {
        font-size: 40px;
    }

    .sidebar-box h4 {
        font-size: 28px;
    }

    .small-news-text h4 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 20px 0;
    }

    .header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-logo {
        font-size: 38px;
    }

    .site-subtitle {
        font-size: 14px;
    }

    .search-form {
        width: 100%;
    }

    .search-form input {
        min-width: unset;
        width: 100%;
    }

    .menu-toggle {
        font-size: 28px;
    }

    .menu-title {
        font-size: 22px;
    }

    .hero-img {
        height: 280px;
    }

    .hero-overlay {
        padding: 18px;
    }

    .hero-overlay h1 {
        font-size: 26px;
    }

    .news-grid-body h3 {
        font-size: 20px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .small-news-card a {
        flex-direction: column;
    }

    .small-news-card img {
        width: 100%;
        height: 220px;
    }

    .small-news-text h4 {
        font-size: 20px;
    }

    .article-card {
        padding: 24px 20px;
    }

    .article-title {
        font-size: 30px;
    }

    .article-summary {
        font-size: 19px;
    }

    .article-content {
        font-size: 20px;
        line-height: 1.95;
    }

    .sidebar-box h4 {
        font-size: 24px;
    }

    .live-sidebar-btn,
    .live-btn {
        font-size: 22px;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .top-strip {
        font-size: 12px;
    }

    .site-logo {
        font-size: 32px;
    }

    .search-form button {
        padding: 12px 18px;
        font-size: 15px;
    }

    .hero-overlay h1 {
        font-size: 22px;
    }

    .news-grid-body h3 {
        font-size: 18px;
    }

    .article-title {
        font-size: 26px;
    }

    .article-content {
        font-size: 18px;
    }

    .comment-text {
        font-size: 16px;
    }
}

/* =========================================================
   CATEGORY PAGE
========================================================= */
.category-page-header {
    background: #fff;
    border-radius: 24px;
    padding: 28px 30px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.category-page-chip {
    display: inline-block;
    background: #fef2f2;
    color: #b30000;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 14px;
}

.category-page-title {
    font-size: 46px;
    font-weight: 900;
    color: #111827;
    margin-bottom: 10px;
}

.category-page-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin: 0;
}

.category-news-card img {
    height: 250px;
    object-fit: cover;
}

.no-news-box {
    background: #fff;
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.no-news-box h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 10px;
}

.no-news-box p {
    font-size: 18px;
    color: #6b7280;
}

/* MOBILE */
@media (max-width: 768px) {
    .category-page-title {
        font-size: 32px;
    }

    .category-page-subtitle {
        font-size: 16px;
    }

    .category-news-card img {
        height: 220px;
    }
}

/* =========================================================
   LIVE CHANNEL CARDS
========================================================= */
.live-channel-card img {
    width: 100%;
    height: 220px;
    object-fit: contain !important;
    background: #ffffff;
    padding: 18px;
    border-bottom: 1px solid #f1f1f1;
}

.live-channel-card .news-grid-body {
    padding: 20px;
}

.live-channel-card h3 {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 900;
    color: #111827;
    margin-bottom: 10px;
}

.live-channel-card .news-grid-chip {
    display: inline-block;
    font-size: 13px;
    font-weight: 900;
    color: #dc2626;
    margin-bottom: 12px;
    letter-spacing: 0.4px;
}

.live-channel-card {
    transition: 0.25s ease;
}

.live-channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
    .live-channel-card img {
        height: 180px;
        padding: 14px;
    }

    .live-channel-card h3 {
        font-size: 20px;
    }
}
/* =========================================================
   LIVE CHANNEL MOBILE FIX
========================================================= */
@media (max-width: 768px) {
    .live-channel-card {
        border-radius: 16px;
        overflow: hidden;
    }

    .live-channel-card img {
        height: 140px !important;
        object-fit: contain !important;
        background: #fff;
        padding: 10px !important;
    }

    .live-channel-card .news-grid-body {
        padding: 14px 14px 16px;
    }

    .live-channel-card .news-grid-chip {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .live-channel-card h3 {
        font-size: 18px;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .live-channel-card .search-excerpt,
    .live-channel-card p {
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
    }
}

/* =========================================================
   POLL BOX
========================================================= */
.poll-box h5.poll-question {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 800;
    margin-bottom: 18px;
    color: #111827;
}

.poll-box .form-check-label {
    font-size: 16px;
    color: #1f2937;
}

.poll-box .btn {
    border-radius: 14px;
    padding: 12px 18px;
}

.poll-bar {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.poll-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc2626, #b30000);
    border-radius: 999px;
}

/* =========================================================
   PREMIUM POLL BOX
========================================================= */
.poll-box {
    border: 1px solid #f1f1f1;
    border-radius: 22px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.poll-box h4 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 16px;
    color: #111827;
}

.poll-box h5.poll-question {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 800;
    margin-bottom: 18px;
    color: #111827;
}

.poll-box .form-check {
    padding: 14px 16px;
    border: 1px solid #ececec;
    border-radius: 14px;
    margin-bottom: 12px;
    transition: 0.25s ease;
    background: #fafafa;
}

.poll-box .form-check:hover {
    border-color: #dc2626;
    background: #fff5f5;
}

.poll-box .form-check-input {
    margin-top: 6px;
}

.poll-box .form-check-label {
    font-size: 16px;
    color: #1f2937;
    font-weight: 600;
    margin-left: 8px;
}

.poll-submit-btn {
    border-radius: 14px;
    padding: 12px 18px;
    font-size: 17px;
    font-weight: 800;
}

.poll-result-item span {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.poll-bar {
    width: 100%;
    height: 14px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.poll-fill {
    height: 100%;
    background: linear-gradient(90deg, #dc2626, #b30000);
    border-radius: 999px;
    transition: width 0.6s ease;
}

/* SHARE */
.poll-share-box {
    border-top: 1px solid #eee;
    padding-top: 18px;
}

.poll-share-title {
    font-size: 15px;
    font-weight: 800;
    color: #374151;
    margin-bottom: 12px;
}

.poll-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.whatsapp { background: #25D366; color: #fff; }
.share-btn.facebook { background: #1877F2; color: #fff; }
.share-btn.twitter { background: #111827; color: #fff; }
.share-btn.telegram { background: #229ED9; color: #fff; }
.share-btn.copy { background: #f3f4f6; color: #111827; }

/* MOBILE */
@media (max-width: 768px) {
    .poll-box {
        padding: 18px;
        border-radius: 18px;
    }

    .poll-box h5.poll-question {
        font-size: 20px;
    }

    .poll-share-buttons {
        gap: 6px;
    }

    .share-btn {
        font-size: 12px;
        padding: 9px 12px;
    }
}

/* =========================================================
   POLL PAGE
========================================================= */
.poll-page-box {
    padding: 10px 0;
}

.poll-page-question {
    font-size: 34px;
    line-height: 1.45;
    font-weight: 900;
    color: #111827;
}

.poll-page-option {
    padding: 16px 18px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fafafa;
    transition: 0.25s ease;
}

.poll-page-option:hover {
    border-color: #dc2626;
    background: #fff5f5;
}

.poll-page-option .form-check-label {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .poll-page-question {
        font-size: 26px;
    }

    .poll-page-option .form-check-label {
        font-size: 16px;
    }
}