@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Noto+Serif+Devanagari:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #FF008C;
    --secondary: #080609;
    --text: #1f1f1f;
    --light-text: #6b6b6b;
    --bg: #f7f8fa;
    --white: #ffffff;
    --border: #e6e6e6;
    --sports: #0f9d58;
    --ent: #9c27b0;
    --tech: #0366d6;
    --biz: #ff6b00;
    --pol: #b71c1c;

    /* Divya Shakti Times hero palette */
    --card: #ffffff;
    --head: #080609;
    --ink-soft: #555555;
    --muted: #7b7b7b;
    --line-2: #d5d5d5;
    --line-3: #e9e9e9;
    --grey: #f1f2f4;
    --pink: #FF008C;
    --blue: #1955a5;

    /* Khalihan News section palette */
    --red: #FF008C;
    --red-dark: #C0005A;
    --red-soft: #FFF0F7;
    --ink: #1a1a1a;
    --gray: #555;
    --gray-light: #8a8a8a;
    --line: #e5e5e5;
    --line-dark: #d9d9d9;
    --bg-soft: #f7f7f7;
    --serif: "Noto Serif Devanagari", Georgia, "Times New Roman", serif;
    --sans: "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

    /* ===== Neon Pink theme (logo palette) ===== */
    --neon: #FF1493;
    --deep: #C0005A;
    --inner: #80003D;
    --panel: #080609;
    --silver: #F5F5F7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Noto Sans Devanagari', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

/* Top Bar */
.top-bar {
    background-color: var(--panel);
    background-image: linear-gradient(90deg, rgba(255, 0, 140, .18) 0%, transparent 45%);
    color: var(--silver);
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 20, 147, .22);
}

.date-time {
    opacity: 0.9;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: var(--white);
    opacity: 0.85;
    transition: opacity 0.3s;
    font-size: 14px;
}

.social-icons a:hover {
    opacity: 1;
    color: var(--neon);
    text-shadow: 0 0 12px rgba(255, 20, 147, .95);
}

/* Logo Header */
.logo-header {
    background-color: var(--panel);
    background-image: radial-gradient(620px 170px at 10% 130%, rgba(255, 20, 147, .30), transparent 68%),
                      radial-gradient(520px 150px at 88% -30%, rgba(192, 0, 90, .35), transparent 70%);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 20, 147, .32);
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: opacity .2s;
}

.logo-link:hover {
    opacity: .88;
}

.logo-link:hover .logo-text {
    color: var(--neon);
}

.logo-link:hover .logo-text span {
    background: linear-gradient(135deg, var(--neon) 0%, var(--primary) 55%, var(--inner) 100%);
    box-shadow: 0 6px 20px rgba(255, 0, 140, .5);
}

.logo-img {
    height: 84px;
    width: auto;
    display: block;
    border-radius: 6px;
    filter: drop-shadow(0 0 18px rgba(255, 20, 147, .35));
}

.logo {
    display: flex;
    align-items: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.logo h1 {
    font-size: 37px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--silver);
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo h1 span {
    background: linear-gradient(135deg, var(--neon) 0%, var(--primary) 45%, var(--inner) 100%);
    color: var(--silver);
    padding: 6px 15px;
    border-radius: 9px;
    font-size: 0.68em;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 5px 18px rgba(255, 0, 140, .50), inset 0 -3px 10px rgba(128, 0, 61, .70);
    position: relative;
    top: 1px;
}

.logo p {
    font-size: 12px;
    color: var(--light-text);
    margin-top: 4px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, var(--deep) 0%, var(--primary) 14%, var(--primary) 86%, var(--deep) 100%);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 18px rgba(255, 0, 140, .45), inset 0 -2px 12px rgba(128, 0, 61, .55);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--silver);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 0;
    position: relative;
    transition: opacity 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    text-shadow: 0 0 14px rgba(255, 20, 147, .95);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
}

/* ===== NAV DROPDOWN (अन्य) ===== */
.nav-drop {
    position: relative;
}

.nav-drop-btn i {
    font-size: 11px;
    margin-left: 4px;
    transition: transform 0.2s;
}

.nav-drop:hover .nav-drop-btn i,
.nav-drop.open .nav-drop-btn i {
    transform: rotate(180deg);
}

.nav-drop-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background-color: var(--white);
    border-top: 3px solid var(--red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    padding: 6px 0;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu {
    display: block;
}

.nav-drop-menu a {
    display: block;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    position: static;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.nav-drop-menu a:hover {
    background-color: var(--red-soft);
    color: var(--red);
    opacity: 1;
}

.nav-drop-menu a.active::after {
    display: none;
}

.search-box {
    display: flex;
    background-color: rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    overflow: hidden;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    padding: 7px 12px;
    font-size: 13px;
    width: 190px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.search-box button {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 7px 10px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
}

/* Breaking News */
.breaking-news {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 9px 0;
}

.breaking-label {
    background: linear-gradient(135deg, var(--primary) 0%, var(--deep) 100%);
    color: var(--silver);
    box-shadow: 0 4px 16px rgba(255, 0, 140, .45), inset 0 -3px 8px rgba(128, 0, 61, .65);
    padding: 6px 16px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    text-transform: uppercase;
    border-radius: 2px;
}

.breaking-ticker {
    flex: 1;
    overflow: hidden;
}

.breaking-ticker marquee {
    font-size: 14px;
    color: var(--text);
}

.breaking-ticker span {
    margin-right: 40px;
}

/* ============================================================
   HERO — Divya Shakti Times style
   3 column: lead khabar + 5 chhoti khabrein + मौसम rail
   ============================================================ */
.tblockbox {
    margin-top: 25px;
    background: var(--card);
    padding: 15px;
    border: 1px solid var(--line-3);
    border-bottom: 2px solid var(--line-2);
    border-radius: 4px;
}

.tblockmain {
    display: flex;
    align-items: flex-start;
}

/* left — badi lead khabar */
.tblock-mdd {
    flex: 2 1 380px;
    padding-right: 20px;
    min-width: 0;
}

/* middle — 5 chhoti khabrein */
.tblock-right {
    flex: 1.35 1 260px;
    padding-left: 20px;
    border-left: 1px solid var(--line-2);
    min-width: 0;
}

/* right — मौसम rail */
.tblock-rail {
    flex: 0 1 250px;
    padding-left: 24px;
    border-left: 1px solid var(--line-2);
    min-width: 0;
}

.rhsnbox { min-width: 0; }

/* lead story box */
.tnbox figure {
    padding-bottom: 10px;
    margin: 0;
}

.tnbox figure img {
    width: 100%;
    display: block;
}

.tnbox h1 {
    font-size: 24px;
    line-height: 30px;
    color: var(--head);
    margin-bottom: 15px;
    font-weight: 700;
}

.tnbox h1 a:hover { color: var(--primary); }

.tnbox .descrip {
    font-size: 14px;
    line-height: 20px;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.tnbox .bylinehome2 {
    font-size: 13px;
    line-height: 16px;
    color: var(--pink);
    font-weight: 700;
    display: block;
}

/* right small news rows */
.rhsnews1 {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-top: 1px solid var(--line-2);
    padding: 15px 0;
}

.rhsnews1:first-child {
    border-top: 0;
    padding-top: 5px;
}

.rhsnews1 .newst-summ1 {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
}

.rhsnews1 .ntitle {
    font-size: 15px;
    line-height: 20px;
    font-weight: 500;
    color: var(--head);
    margin-bottom: 5px;
}

.rhsnews1 .ntitle a:hover { color: var(--primary); }

.rhsnews1 figure {
    order: 1;
    flex: 0 0 110px;
    width: 110px;
    margin: 0;
    min-width: 0;
}

.rhsnews1 figure img {
    display: block;
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* weather rail */
.hero-weather .widget-title {
    font-size: 20px;
    line-height: 23px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 7px;
    margin-bottom: 15px;
    color: var(--head);
    font-weight: 700;
}

.weather-now {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px dashed var(--border);
    padding: 9px 0;
}

.weather-now:last-of-type { border-bottom: 0; }

.weather-now .temp {
    font-size: 26px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
}

.weather-now .city {
    font-size: 13.5px;
    color: var(--ink-soft);
}

.weather-now .city b {
    display: block;
    color: var(--text);
    font-size: 14.5px;
}

/* category badges */
.cat-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.cat-badge.sm { font-size: 11px; padding: 4px 9px; }
.cat-badge.xs { font-size: 10px; padding: 3px 8px; margin-bottom: 8px; }
.cat-badge.sports { background-color: var(--sports); }
.cat-badge.ent { background-color: var(--ent); }
.cat-badge.tech { background-color: var(--tech); }
.cat-badge.biz { background-color: var(--biz); }
.cat-badge.pol { background-color: var(--pol); }

/* Main */
.main-grid-two {
    display: grid;
    grid-template-columns: 2.05fr 1fr;
    gap: 28px;
    padding: 0 15px 40px;
}

/* Khalihan style box */
.khalihan-box {
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 32px;
}

.kh-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(90deg, #FFF0F7 0%, #ffffff 100%);
    border-left: 4px solid var(--primary);
}

.kh-header.green {
    background: linear-gradient(90deg, #f4fff9 0%, #ffffff 100%);
    border-left-color: var(--sports);
}

.kh-header.purple {
    background: linear-gradient(90deg, #fbf4ff 0%, #ffffff 100%);
    border-left-color: var(--ent);
}

.kh-header.blue {
    background: linear-gradient(90deg, #f4f9ff 0%, #ffffff 100%);
    border-left-color: var(--tech);
}

.kh-header.orange {
    background: linear-gradient(90deg, #fff8f0 0%, #ffffff 100%);
    border-left-color: var(--biz);
}

.kh-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}

.kh-more {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.kh-more:hover {
    text-decoration: underline;
}

.latest-list {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.latest-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.latest-thumb {
    width: 245px;
    height: 160px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.latest-item:hover .latest-thumb img {
    transform: scale(1.07);
}

.latest-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.latest-info h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--secondary);
    transition: color 0.25s ease;
}

.latest-item:hover .latest-info h3 {
    color: var(--primary);
}

.latest-excerpt {
    font-size: 14px;
    color: var(--light-text);
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--light-text);
    margin-top: 4px;
}

.cat-block-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cat-block {
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.cat-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    padding: 22px 24px;
}

.cat-big-card {
    position: relative;
    display: block;
    height: 325px;
    border-radius: 4px;
    overflow: hidden;
}

.cat-big-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cat-big-card:hover img {
    transform: scale(1.06);
}

.cat-big-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    color: var(--white);
    padding: 40px 24px 20px;
}

.cat-big-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 8px;
}

.cat-big-overlay p {
    font-size: 12px;
    opacity: 0.9;
}

.cat-small-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cat-small-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.cat-small-item img {
    width: 110px;
    height: 78px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cat-small-item:hover img {
    transform: scale(1.06);
}

.cat-small-item h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--secondary);
    margin-bottom: 6px;
    transition: color 0.25s ease;
}

.cat-small-item:hover h4 {
    color: var(--primary);
}

.sm-time {
    font-size: 12px;
    color: var(--light-text);
}

/* Sidebar */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 26px;
    position: sticky;
    top: 80px;
    height: fit-content;
}

.sidebar-widget {
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.widget-header {
    background-color: var(--secondary);
    color: var(--white);
    padding: 11px 20px;
}

.widget-header h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.trending-list {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trending-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.trending-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.trending-item .num {
    background-color: var(--primary);
    color: var(--white);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.trending-item p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    color: var(--secondary);
    transition: color 0.25s ease;
}

.trending-item:hover p {
    color: var(--primary);
}

.mini-news {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mini-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.mini-item img {
    width: 95px;
    height: 72px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mini-item:hover img {
    transform: scale(1.05);
}

.mini-item h4 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--secondary);
    margin-bottom: 5px;
    transition: color 0.25s ease;
}

.mini-item:hover h4 {
    color: var(--primary);
}

.mini-item .meta {
    font-size: 11px;
    color: var(--light-text);
}

.ad-box {
    padding: 12px;
}

.ad-placeholder {
    background-color: var(--bg);
    border: 2px dashed var(--border);
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    gap: 8px;
    text-align: center;
}

.ad-placeholder p {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ad-placeholder span {
    font-size: 12px;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    margin-top: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 45px;
    padding: 55px 15px 40px;
}

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.9;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer .social-icons {
    margin-top: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 15px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 22px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: .3px;
    transition: background-color .2s, transform .2s;
}

.footer-bottom .admin-btn:hover {
    background-color: var(--red, #FF008C);
    transform: translateY(-2px);
    color: #fff;
}

/* Article */
.article-box {
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    padding: 35px;
}

.article-box h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin: 16px 0 20px;
    color: var(--secondary);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
}

.article-body p {
    margin-bottom: 22px;
}

.article-body h2 { font-size: 22px; margin: 26px 0 12px; color: var(--ink); }
.article-body h3 { font-size: 19px; margin: 22px 0 10px; color: var(--ink); }
.article-body h4 { font-size: 17px; margin: 20px 0 9px; color: var(--ink); }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 28px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--primary); text-decoration: underline; }
.article-body img { max-width: 100%; border-radius: 6px; margin: 10px 0; height: auto; }

/* body image caption (figure) */
.article-body figure { margin: 18px 0; }
.article-body figure img { margin: 0; }
.article-body figcaption {
    font-size: 13.5px; color: #6b7280; font-style: italic;
    line-height: 1.65; margin-top: 8px; text-align: center;
}

/* photo gallery block */
.article-body .art-gallery { display: grid; gap: 10px; margin: 18px 0; }
.article-body .art-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.article-body .art-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.article-body .art-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.article-body .art-gallery figure { margin: 0; }
.article-body .art-gallery figcaption { font-size: 12.5px; margin-top: 5px; }
@media (max-width: 700px) {
    .article-body .art-gallery.cols-3,
    .article-body .art-gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

.article-tags {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border);
    font-size: 13px;
}
.article-tags i { color: var(--primary); }
.article-tags a {
    background: var(--bg); color: var(--text); text-decoration: none;
    padding: 5px 13px; border-radius: 20px; font-weight: 500;
    border: 1px solid var(--border); transition: .18s;
}
.article-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.article-body blockquote {
    background-color: var(--bg);
    border-left: 4px solid var(--primary);
    padding: 20px 25px;
    margin: 25px 0;
    font-style: italic;
}

/* Responsive */
@media (max-width: 1200px) {
    .tblock-mdd { flex: 2 1 340px; }
    .tblock-rail { flex: 0 1 220px; }
}

@media (max-width: 1080px) {
    .main-grid-two {
        grid-template-columns: 1fr;
    }

    .right-sidebar {
        position: static;
        margin-top: 10px;
    }

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

@media (max-width: 992px) {
    .tblockmain { flex-wrap: wrap; }
    .tblock-mdd { flex: 1 1 100%; padding-right: 0; }
    .tblock-right {
        flex: 1 1 55%;
        padding-left: 0;
        border-left: 0;
        margin-top: 20px;
    }
    .tblock-rail {
        flex: 1 1 40%;
        padding-left: 20px;
        margin-top: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

@media (max-width: 860px) {
    .cat-grid {
        grid-template-columns: 1fr;
    }

    .latest-item {
        flex-direction: column;
    }

    .latest-thumb {
        width: 100%;
        height: 240px;
    }

    .latest-info h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--primary);
        align-items: flex-start;
        padding: 0 15px;
        gap: 0;
        display: none;
    }

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

    .nav-links a {
        width: 100%;
        padding: 11px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    .nav-links a.active::after {
        display: none;
    }

    .search-box input {
        width: 150px;
    }

    .tblock-right,
    .tblock-rail {
        flex: 1 1 100%;
        padding-left: 0;
        border-left: 0;
    }

    .tnbox h1 {
        font-size: 21px;
        line-height: 27px;
    }

    .kh-header {
        padding: 11px 18px;
    }

    .latest-list,
    .cat-grid {
        padding: 18px;
    }

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

    .logo h1 {
        font-size: 28px;
    }

    .logo-img {
        height: 62px;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 21px;
        gap: 8px;
    }

    .logo h1 span {
        padding: 4px 10px;
        border-radius: 7px;
    }

    .logo-img {
        height: 54px;
    }
    .breaking-news .flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .breaking-label {
        width: 100%;
        text-align: center;
    }

    .cat-big-card {
        height: 280px;
    }

    .cat-big-overlay h3 {
        font-size: 18px;
    }
}
