/* =========================
  NewsGlitz Theme (v3)
========================= */

/* style.css */
/*
Theme Name: NewsGlitz
Author: Rajesh
Version: 3.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

body{font-family:Montserrat,sans-serif;background:#fff}

/* =========================
   GLOBAL RESET (HEADER AREA)
========================= */
.top-header,
.navbar,
.nav-menu,
.nav-menu ul,
.nav-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* =========================
   TOP HEADER (YELLOW)
========================= */
.top-header {
    background: #FFD700 !important;
    color: #000;
    width: 100%;
    border-bottom: 1px solid #e0c200;
}

.top-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 8px 15px;
}

/* LEFT (time etc) */
.top-left {
    font-size: 14px;
}

/* CENTER (logo) */
.top-center {
    text-align: center;
}

.top-center img {
    max-height: 40px;
    width: auto;
}

/* RIGHT (languages) */
.top-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px; /* FIXED spacing */
}

/* Language links */
.top-right a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 6px;
}

/* Dropdown (if exists) */
.top-right select {
    padding: 5px 8px;
    border-radius: 4px;
}

/* =========================
   NAVBAR (FORCED BLACK)
========================= */
.navbar,
nav,
.main-nav,
.menu,
.menu-header,
.site-navigation {
    background: #000 !important;
}

/* Remove white from inner wrappers */
.navbar *,
nav *,
.menu * {
    background: transparent;
}

/* =========================
   MENU LAYOUT
========================= */
.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
}

/* Menu items */
.nav-menu li {
    display: inline-block;
}

/* Links */
.nav-menu li a {
    color: #fff !important;
    text-decoration: none;
    padding: 12px 15px;
    display: inline-block;
    position: relative;
    font-weight: 500;
    transition: 0.3s;
}

/* Hover text */
.nav-menu li a:hover {
    color: #FFD700 !important;
}

/* Underline animation */
.nav-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.menu-bar {
	width:100%;
	background:#000;
}
/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

    .top-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 5px;
    }

    .top-left,
    .top-right {
        text-align: center;
        justify-content: center;
    }

    .top-right {
        gap: 10px;
        margin-top: 5px;
    }

    .nav-menu {
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
        padding: 10px;
        background: #000 !important;
    }

    .nav-menu li a {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Breadcrumb */
nav a {
    color: #666;
}

nav a:hover {
    color: #e60023;
}

/* Share buttons spacing */
.btn-sm {
    font-size: 13px;
}

/* Content readability */
.content {
    font-size: 16px;
    line-height: 1.7;
}

/* Sidebar */
.sidebar-block p {
    margin-bottom: 8px;
}


.container { max-width:1200px; margin:auto; }

/* Override Bootstrap link color */
a {
    color: #111;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #e60023!important;
}

a:visited {
    color: #111!important;
}
/* =========================
   GLOBAL RESET
========================= */


a {
    color: #111;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #e60023;
}

a:visited {
    color: #111;
}

img {
    width: 100%;
    height: auto;
}

/* =========================
   CONTAINER
========================= */
.container {
    max-width: 1200px;
}

/* =========================
   HEADINGS
========================= */
h1, h2, h3, h4 {
    font-weight: 700;
}

/* =========================
   BREAKING NEWS
========================= */
.breaking {
    background: #e60023;
    color: #fff;
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.breaking strong {
    margin-right: 10px;
}

.breaking a {
    color: #fff;
    margin-right: 15px;
    font-weight: 500;
}

.breaking a:hover {
    text-decoration: underline;
}

/* =========================
   HERO GRID
========================= */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-big img {
    height: 300px;
    object-fit: cover;
}

.hero-big h2 {
    font-size: 22px;
    margin-top: 10px;
}

.hero-small img {
    height: 120px;
    object-fit: cover;
}

.hero-small p {
    font-size: 12px;
    margin-top: 5px;
}

/* =========================
   CATEGORY BLOCK
========================= */
.block {
    margin-bottom: 30px;
}

.block h3 {
    border-bottom: 2px solid #e60023;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.block-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.card img {
    height: 150px;
    object-fit: cover;
}

.card p {
    font-size: 14px;
    margin-top: 5px;
}

/* =========================
   ARCHIVE PAGE
========================= */
.archive-card {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.archive-card img {
    width: 200px;
    height: 130px;
    object-fit: cover;
}

.archive-card h2 {
    font-size: 18px;
    margin: 0;
}

.meta {
    font-size: 12px;
    color: #777;
}

.excerpt {
    font-size: 14px;
    margin-top: 5px;
}

/* =========================
   SIDEBAR
========================= */
.sidebar-block {
    margin-bottom: 25px;
}

.sidebar-block h4 {
    border-bottom: 2px solid #e60023;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.sidebar-block a {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
    color: #222;
}

.sidebar-block a:hover {
    color: #e60023;
}

/* =========================
   SHORT NEWS
========================= */
.short-card {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.short-card h4 {
    font-size: 14px;
}

/* =========================
   ADS
========================= */
.ads img {
    width: 100%;
    margin: 15px 0;
}

/* =========================
   PAGINATION
========================= */
.pagination {
    margin-top: 20px;
}

.pagination a {
    padding: 6px 10px;
    border: 1px solid #ddd;
    margin-right: 5px;
    color: #111;
}

.pagination a:hover {
    background: #e60023;
    color: #fff;
}

/* =========================
   BOOTSTRAP OVERRIDES
========================= */
.row {
    margin-left: 0;
    margin-right: 0;
}

.col-lg-4, .col-lg-8 {
    padding-left: 10px;
    padding-right: 10px;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 992px) {

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .block-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-card {
        flex-direction: column;
    }

    .archive-card img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {

    .block-grid {
        grid-template-columns: 1fr;
    }

    .hero-big h2 {
        font-size: 18px;
    }
}





/* Sidebar item */
.sidebar-block .d-flex {
    align-items: center;
}

.sidebar-block img {
    width: 90px;
    height: 65px;
    object-fit: cover;
}

/* Sidebar title */
.sidebar-block a {
    color: #111;
}

.sidebar-block a:hover {
    color: #e60023;
}

/* More news grid */
.row .col-md-4 img {
    height: 130px;
    object-fit: cover;
}

/* Title spacing */
.small {
    line-height: 1.3;
}




/* homepage styles */

/* HERO */

.hero-card {
    height: 100%;
}

.trending-modern {
    height: 100%;
}

.col-lg-8, .col-lg-4 {
    display: flex;
    flex-direction: column;
}
.hero-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    padding: 20px;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
}

.hero-overlay h2 {
    font-size: 26px;
    font-weight: 700;
}

/* NEWS CARD */
.news-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    transition: 0.3s;
}

.news-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.news-card p {
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
}

.news-card:hover {
    transform: translateY(-5px);
}

/* TRENDING */
.trending-modern {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}

.trending-modern ol {
    padding-left: 18px;
}

.trending-modern li {
    margin-bottom: 10px;
}

/* SHORT NEWS */

.short-news-section {
	padding:20px;
	margin-bottom:10px;
}
.short-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
    gap: 12px;
}

.short-card {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
}

.short-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.short-card span {
    font-size: 14px;
    display: block;
    padding: 5px;
	font-weight:500;
}

/* LANGUAGE */
.lang-section {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}

.lang-card {
    display: flex;
    gap: 8px;
    text-decoration: none;
    color: #000;
}

.lang-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}




.side-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.side-thumb {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.side-title {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    line-height: 1.4;
}

.side-title:hover {
    color: #ffc107; /* yellow highlight */
}

.trending-modern {
    background: #ffc107; /* yellow */
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.trending-modern h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.trending-list {
    padding-left: 18px;
    margin: 0;
}

.trending-list li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.trending-list li a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
}

.trending-list li a:hover {
    text-decoration: underline;
}

/* Optional: numbered style enhancement */
.trending-list li::marker {
    font-weight: bold;
    color: #000;
}

.trending-modern {
    background: linear-gradient(135deg, #ffcc00, #ffb300);
}

.trending-list li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.trending-list li:last-child {
    border-bottom: none;
}

/*mla page*/
.mla-container {
    max-width: 900px;
    margin: auto;
    padding: 15px;
}

/* =========================
   MLA ELECTION CARD (MAIN)
========================= */
.mla-election-card {
    background: #c7f4ff;
	background: linear-gradient(140deg, rgba(199, 244, 255, 1) 0%, rgba(252, 235, 199, 1) 100%);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    font-family: 'Montserrat', sans-serif;
}

/* =========================
   LAYOUT
========================= */
.mla-election-layout {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* =========================
   LEFT SIDE (PROFILE)
========================= */
.mla-left {
    width: 35%;
    text-align: center;
}

.mla-left img {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 10px;
}

.mla-left h1 {
    font-size: 22px;
    margin: 10px 0;
    font-weight: 700;
}

/* PARTY BADGE */
.party-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 10px;
}

/* META INFO */
.mla-meta span {
    display: block;
    font-size: 13px;
    color: #444;
    margin: 4px 0;
}

/* STATUS BADGE */
.mla-status {
    margin-top: 10px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
}

.mla-status.winner {
    background: #2e7d32;
    color: #fff;
}

.mla-status.leading {
    background: #0277bd;
    color: #fff;
}

.mla-status.lost {
    background: #c62828;
    color: #fff;
}

/* =========================
   RIGHT SIDE (DETAILS)
========================= */
.mla-right {
    width: 65%;
}

/* =========================
   VOTE BAR
========================= */
.vote-box {
    margin-bottom: 18px;
}

.vote-label {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
}

.vote-bar {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.vote-fill {
    height: 100%;
    transition: width 0.6s ease;
}

.vote-percent {
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
    font-weight: 600;
}

/* =========================
   DETAILS ROW
========================= */
/* DETAILS ROW */
.detail-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.detail-row:last-child {
    border-bottom: none;
}

/* LABEL (FIXED WIDTH) */
.detail-row span:first-child {
    width: 150px;   /* 🔥 controls alignment */
    min-width: 150px;
    font-weight: 600;
    color: #555;
}

/* VALUE (ALWAYS START SAME POSITION) */
.detail-row span:last-child {
    flex: 1;
    font-weight: 700;
    color: #1a237e;
}

/* SPECIAL COLORS */
.green {
    color: #2e7d32 !important;
}

.red {
    color: #c62828 !important;
}

/* =========================
   PARTY LOGO (OPTIONAL)
========================= */
.party-logo {
    width: 40px;
    height: 40px;
    margin-top: 10px;
}

/* =========================
   HOVER EFFECT (CARD)
========================= */
.mla-election-card:hover {
    transform: translateY(-3px);
    transition: 0.3s ease;
}

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

    .mla-election-layout {
        flex-direction: column;
        text-align: center;
    }

    .mla-left,
    .mla-right {
        width: 100%;
    }

    .mla-right {
        margin-top: 15px;
    }

    .mla-left img {
        width: 120px;
        height: 120px;
    }

    .mla-left h1 {
        font-size: 20px;
    }

    .detail-row {
        font-size: 14px;
    }
}

.breadcrumb {
    font-size: 13px;
    margin-bottom: 15px;
    color: #666;
}

.breadcrumb a {
    text-decoration: none;
    color: #1a237e;
}

.breadcrumb a:hover {
    text-decoration: underline;
}


/* 🔥 MAIN VOTE BOX */
.mla-vote-box {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: #fff;
    padding: 18px;
    border-radius: 16px;
    margin-top: 20px;
	margin-bottom:20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

/* SUBTLE GLOW EFFECT */
.mla-vote-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
    transform: rotate(25deg);
    
    /* 🔥 IMPORTANT FIX */
    pointer-events: none;
    z-index: 0;
}

/* TITLE */
.vote-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* BUTTON */
.vote-btn {
    position: relative;
    z-index: 2; /* 🔥 above overlay */

    background: linear-gradient(135deg, #ffcc00, #ff9800);
    color: #000;
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

/* HOVER */
.vote-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* COUNT */
.vote-count {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* 🔥 PULSE ANIMATION */
@keyframes pulseVote {
    0% { box-shadow: 0 0 0 0 rgba(255,204,0, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(255,204,0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255,204,0, 0); }
}

.vote-btn {
    animation: pulseVote 2s infinite;
}
/*mla page end*/
