/* =========================================================================
   VEDA NEWS PORTAL — COMPLETE RESPONSIVE STYLESHEET
   ========================================================================= */

.print-only-masthead { display: none; }

/* === DESKTOP TOP BAR & HEADER === */
.pc-topbar { background: linear-gradient(180deg, #fafafa, #e2e4e8); border-bottom: 1px solid #ccc; padding: 6px 0; font-size: 13px; color: #444; }
.pc-container { width: 96%; max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.pc-time-box { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #111; }
.pc-top-links { display: flex; gap: 12px; align-items: center; }
.pc-top-links a:hover { color: var(--ap-red); }

.pc-header { background: #fff; padding: 14px 0; border-bottom: 1px solid #ddd; position: relative; }
.pc-header::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--ap-dark-red), var(--ap-red), var(--ap-dark-red)); }
.pc-header-inner { width: 96%; max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.pc-logo img { max-height: 76px; width: auto; display: block; }
.logo-text { font-size: 32px; font-weight: 800; color: var(--ap-red); }
.pc-header-ad { flex: 1; text-align: center; }
.pc-action-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* HEADER MODEL 2 (Clean Modern Flat) */
.veda-header-style2 .pc-nav > li > a {
    background: transparent; border: none; margin: 0; border-radius: 0; border-right: 1px solid rgba(255,255,255,0.2); box-shadow: none; text-shadow: none; padding: 13px 18px;
}
.veda-header-style2 .pc-nav > li > a:hover { background: rgba(0,0,0,0.22); transform: none; }

/* HEADER MODEL 3 (Dark Slate Pro App Header) */
.veda-header-style3 .pc-header { background: #0f172a; border-bottom-color: #1e293b; }
.veda-header-style3 .pc-header .logo-text { color: #ffffff; }
.veda-header-style3 .pc-topbar { background: #020617; color: #cbd5e1; border-bottom-color: #1e293b; }
.veda-header-style3 .pc-time-box { color: #f8fafc; }

/* 3D HEADER ACTION BUTTONS */
.btn-3d-header {
    color: #fff !important; font-weight: 900; font-size: 14px; padding: 10px 18px; border-radius: 6px;
    display: inline-flex; align-items: center; gap: 6px; text-shadow: 1px 1px 2px rgba(0,0,0,0.75);
    border-top: 1px solid rgba(255,255,255,0.4); box-shadow: 0 4px 6px rgba(0,0,0,0.3); transition: 0.2s;
}
.btn-3d-header:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn-news-3d { background: linear-gradient(to bottom, #ff9800, #e65100); border: 1px solid #bf360c; }
.btn-epaper-3d { background: linear-gradient(to bottom, #e53935, #b71c1c); border: 1px solid #7f0000; }
.btn-livetv-3d { background: linear-gradient(to bottom, #00c6ff, #0072ff); border: 1px solid #005b9f; }

/* RED METALLIC NAVIGATION */
.pc-nav-wrap {
    background: linear-gradient(180deg, var(--ap-red) 0%, var(--ap-dark-red) 100%);
    border-bottom: 3px solid var(--ap-gold); box-shadow: 0 8px 18px rgba(0,0,0,0.4);
    position: sticky; top: 0; z-index: 1000;
}
.pc-nav { list-style: none; margin: 0 auto; padding: 0; display: flex; width: 96%; max-width: 1400px; flex-wrap: wrap; align-items: stretch; }
.pc-nav > li { position: relative; display: flex; }
.pc-nav > li > a {
    display: flex; align-items: center; color: #f1f1f1; padding: 10px 15px; font-size: 15px; font-weight: 700;
    background: linear-gradient(180deg, #c21820, #870014); border: 1px solid #5a000d; margin: 4px 2px; border-radius: 4px;
    text-shadow: 1px 1px 2px #000; transition: 0.2s; white-space: nowrap;
}
.pc-nav > li > a:hover { background: linear-gradient(180deg, #334155, #0f172a); color: var(--ap-gold); transform: translateY(-2px); }
.nav-home-icon { background: linear-gradient(180deg, var(--ap-gold), #f57f17) !important; color: #000 !important; text-shadow: none !important; }
.nav-search-item { margin-left: auto; }

/* 4-COLUMN COMPACT DISTRICT DROPDOWN */
.pc-dropdown {
    display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 580px;
    border-top: 4px solid var(--ap-red); box-shadow: 0 15px 40px rgba(0,0,0,0.45); z-index: 1001; padding: 10px; border-radius: 0 0 8px 8px;
}
.pc-dropdown-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pc-dropdown a {
    display: block; padding: 8px; color: #111; font-size: 13px; border: 1px solid #eee; border-radius: 4px;
    text-align: center; background: #f8fafc; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: 0.15s;
}
.pc-dropdown a:hover { background: #ffebee; color: var(--ap-red); border-color: #ef9a9a; transform: scale(1.03); }
.pc-nav > li:hover .pc-dropdown { display: block; }

/* BREAKING TICKER */
.breaking-ticker-bar { background: #111827; color: #fff; padding: 8px 0; overflow: hidden; border-bottom: 2px solid var(--ap-red); }
.breaking-label { background: var(--ap-red); color: #fff; font-weight: 900; font-size: 12px; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.breaking-marquee-wrap { overflow: hidden; flex: 1; white-space: nowrap; }
.breaking-marquee-track { display: inline-flex; gap: 32px; animation: vedaMarquee 35s linear infinite; }
.breaking-marquee-track:hover { animation-play-state: paused; }
.breaking-marquee-track a { color: #fff; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
@keyframes vedaMarquee { 0% { transform: translateX(35%); } 100% { transform: translateX(-100%); } }

/* 2D TACTILE BUTTONS & FEATURE TILES */
.btn-2d {
    border: 1.5px solid #0f172a; border-radius: 9px; font-weight: 800; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    box-shadow: 2.5px 2.5px 0 #0f172a; transition: 0.15s; text-decoration: none !important;
}
.btn-2d:hover { transform: translate(-1px, -2px); }
.btn-2d:active { transform: translate(2px, 2px); box-shadow: 0 0 0 #0f172a; }

.w2n-feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 22px; }
.w2n-tile { background: #fff; padding: 11px 10px; color: #0f172a; font-size: 14px; }

/* MAIN LAYOUT & HERO */
.main-content-wrapper { max-width: 1360px; margin: 20px auto; padding: 0 15px; }
.single-story-wrapper { max-width: 920px; margin: 20px auto; padding: 0 15px; }
.newspaper-layout { display: flex; gap: 24px; align-items: flex-start; }
.main-content-column { flex: 1 1 70%; min-width: 0; }
.sidebar-column { flex: 0 0 330px; max-width: 100%; }

.hero-grid-section { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; margin-bottom: 24px; }
.hero-main-card { position: relative; border-radius: 10px; overflow: hidden; background: #000; min-height: 360px; }
.hero-main-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; display: block; }
.hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.92)); color: #fff; }
.hero-overlay h1 { font-size: 22px; line-height: 1.35; margin: 8px 0 0; color: #fff; }
.hero-cat-pill { background: var(--ap-red); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 20px; }

.hero-side-list { display: flex; flex-direction: column; gap: 10px; }
.hero-mini-card { display: flex; gap: 12px; background: #fff; padding: 10px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.mini-thumb { flex: 0 0 110px; height: 76px; border-radius: 6px; overflow: hidden; background: #e2e8f0; }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-info h3 { font-size: 15px; margin: 0 0 4px; line-height: 1.35; }
.meta-stamp { font-size: 11px; color: #64748b; }

/* CATEGORY SECTIONS */
.portal-cat-box { background: #fff; border-radius: 10px; padding: 16px; margin-bottom: 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.portal-cat-header { display: flex; justify-content: space-between; align-items: center; background: #111827; color: #fff; padding: 10px 15px; border-radius: 6px; margin-bottom: 16px; border-left: 5px solid var(--ap-red); }
.portal-cat-header h2 { margin: 0; font-size: 18px; color: #fff; }
.more-btn { color: var(--ap-gold); font-weight: 800; font-size: 13px; }
.portal-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card-item { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; background: #fff; }
.news-card-img { display: block; height: 155px; overflow: hidden; background: #e2e8f0; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 12px; }
.news-card-body h3 { font-size: 15px; line-height: 1.4; margin: 0 0 8px; }
.news-card-meta { display: flex; justify-content: space-between; font-size: 12px; color: #64748b; }

.lead-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-big-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.lead-big-card h3 { font-size: 19px; line-height: 1.4; margin: 0 0 8px; }
.lead-side-items { display: flex; flex-direction: column; gap: 10px; }

.home-mid-ad-slot, .article-ad-unit { margin: 18px auto; text-align: center; }

/* SIDEBAR, POLL & WIDGETS */
.sidebar-widget { background: #fff; border-radius: 10px; padding: 16px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.widget-title { font-size: 17px; border-bottom: 3px solid var(--ap-red); padding-bottom: 8px; margin-bottom: 14px; color: #0f172a; }
.sidebar-post-row { display: flex; gap: 10px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed #e2e8f0; }
.sb-thumb { flex: 0 0 85px; height: 60px; border-radius: 5px; overflow: hidden; background: #e2e8f0; }
.sb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sb-text a { font-size: 14px; font-weight: 700; display: block; line-height: 1.35; }
.sb-text small { color: #64748b; font-size: 11px; }

.poll-head-bar { display: flex; justify-content: space-between; align-items: center; background: var(--ap-red); color: #fff; padding: 8px 12px; border-radius: 6px; font-weight: 800; font-size: 13px; margin-bottom: 12px; }
.poll-question { font-size: 16px; margin: 0 0 12px; line-height: 1.45; }
.poll-options-list { display: flex; flex-direction: column; gap: 8px; }
.poll-opt-btn { position: relative; overflow: hidden; width: 100%; text-align: left; padding: 10px 12px; border: 1.5px solid #cbd5e1; border-radius: 8px; background: #f8fafc; cursor: pointer; display: flex; justify-content: space-between; font-weight: 700; }
.poll-opt-fill { position: absolute; top: 0; left: 0; bottom: 0; background: rgba(209, 32, 39, 0.16); transition: width 0.4s ease; }
.poll-opt-text, .poll-opt-pct { position: relative; z-index: 2; }

/* SINGLE ARTICLE (p02_story style) */
.full-article { background: #fff; padding: 24px; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.title-box h1 {
    font-size: 28px; line-height: 1.4; margin: 10px 0 15px;
    background: linear-gradient(90deg, #d12027, #0b3c68, #d12027); background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.meta-info-bar { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; margin-bottom: 14px; flex-wrap: wrap; }
.author-info-box { display: flex; align-items: center; gap: 10px; background: #f8f9fa; padding: 5px 14px 5px 5px; border-radius: 50px; border: 1px solid #e5e7eb; }
.author-info-box img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ap-red); }
.author-details { display: flex; flex-direction: column; line-height: 1.15; }
.posted-label { font-size: 10px; color: #64748b; text-transform: uppercase; font-weight: 800; }
.author-name { font-size: 13px; font-weight: 800; }
.meta-cat-badge { padding: 4px 12px; border-radius: 20px; color: #fff; font-size: 12px; font-weight: 700; }

.top-action-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.btn-short-clip { background: linear-gradient(135deg, #25D366, #128C7E); color: #fff !important; padding: 8px 14px; font-size: 13px; }
.btn-epaper-clip { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff !important; padding: 8px 14px; font-size: 13px; }
.btn-home-nav { background: linear-gradient(135deg, #334155, #0f172a); color: #fff !important; padding: 8px 14px; font-size: 13px; }

.social-share-container { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.share-btn { width: 38px; height: 38px; color: #fff !important; font-size: 16px; }
.share-whatsapp { background: #25D366; } .share-facebook { background: #1877F2; } .share-x { background: #0f172a; } .share-telegram { background: #0284c7; } .share-copy { background: #64748b; }
.share-like-btn { background: #fff; color: var(--ap-red); padding: 7px 14px; font-size: 14px; }

.article-image { width: 100%; max-height: 500px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.custom-video-thumbnail { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; border-radius: 8px; overflow: hidden; margin-bottom: 16px; background: #000; }
.custom-video-thumbnail iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.article-content { font-size: 18px; line-height: 1.75; color: #1f2937; }
.w2n-whatsapp-banner { display: flex; align-items: center; justify-content: space-between; background: #e6f4ea; padding: 14px; margin: 20px 0; border-radius: 10px; border: 1px solid #a7f3d0; gap: 10px; }
.tags-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tag-link { padding: 5px 14px; background: #f1f5f9; border-radius: 20px; font-size: 13px; font-weight: 700; }
.most-viewed-container { margin-top: 28px; padding-top: 20px; border-top: 3px solid #0f172a; }
.section-title-bar { font-size: 19px; font-weight: 800; color: var(--ap-red); margin-bottom: 15px; }
.most-viewed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.most-viewed-item { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
.most-viewed-image { height: 115px; overflow: hidden; background: #e2e8f0; }
.most-viewed-image img { width: 100%; height: 100%; object-fit: cover; }
.most-viewed-content { padding: 10px; }
.most-viewed-content h4 { font-size: 14px; margin: 0; line-height: 1.35; }

/* FLIP SHORT NEWS APP FEED (p01_feed style) */
.flip-app-container { max-width: 480px; margin: 16px auto 30px; padding: 0 12px; }
.flip-top-note { background: #0f172a; color: #fff; padding: 10px 14px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 800; font-size: 13px; }
.flip-snap-feed { display: flex; flex-direction: column; gap: 18px; }
.flip-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(15,23,42,0.12); border: 1px solid #e2e8f0; }
.flip-media { position: relative; height: 240px; background: #000; }
.flip-media img { width: 100%; height: 100%; object-fit: cover; }
.flip-cat-badge { position: absolute; bottom: 10px; left: 10px; background: var(--ap-red); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 800; }
.flip-body { padding: 16px; }
.flip-body h2 { font-size: 19px; line-height: 1.4; margin: 0 0 10px; color: #0f172a; }
.flip-body p { font-size: 15px; color: #334155; margin: 0 0 12px; line-height: 1.6; }
.flip-meta-row { display: flex; gap: 14px; font-size: 12px; color: #64748b; font-weight: 700; }
.flip-footer-actions { display: flex; justify-content: space-between; padding: 12px 16px; background: #f8fafc; border-top: 1px solid #e2e8f0; }

/* ARCHIVE, LATEST, SEARCH & ASTROLOGY */
.bbc-section-ribbon { background: var(--ap-red); color: #fff; padding: 12px 18px; border-radius: 8px; margin-bottom: 20px; }
.bbc-section-ribbon h1 { margin: 0; font-size: 22px; color: #fff; }
.article-list-item { display: flex; gap: 16px; background: #fff; padding: 15px; margin-bottom: 16px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.article-list-image { flex: 0 0 210px; height: 135px; border-radius: 6px; overflow: hidden; background: #e2e8f0; }
.article-list-image img { width: 100%; height: 100%; object-fit: cover; }
.article-list-content h2 { font-size: 18px; margin: 0 0 8px; line-height: 1.4; }
.article-meta { font-size: 12px; color: #64748b; margin-bottom: 8px; }
.article-excerpt { font-size: 14px; color: #475569; margin: 0; }

.veda-search-form { display: flex; width: 100%; }
.veda-search-form input { flex: 1; padding: 10px 12px; border: 1.5px solid #cbd5e1; border-radius: 6px 0 0 6px; outline: none; }
.veda-search-form button { background: var(--ap-red); color: #fff; border: none; padding: 10px 16px; border-radius: 0 6px 6px 0; cursor: pointer; }

.veda-pagination { margin: 22px 0; text-align: center; }
.veda-pagination .page-numbers { display: inline-block; padding: 7px 14px; background: #fff; border: 1px solid #cbd5e1; border-radius: 6px; margin: 0 3px; font-weight: 700; }
.veda-pagination .page-numbers.current { background: var(--ap-red); color: #fff; border-color: var(--ap-red); }

.ap-news-box { background: #fff; border-radius: 10px; margin-bottom: 20px; border: 1px solid #e2e8f0; overflow: hidden; }
.ap-news-box-header { background: #f8fafc; border-bottom: 2px solid var(--ap-red); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; }
.ap-10-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
.ap-10-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px; border-bottom: 1px dashed #e2e8f0; }
.ap-10-number { background: var(--ap-red); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }

.panchangam-box { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.p-item { background: #fff; padding: 14px; border-radius: 8px; border-left: 4px solid var(--ap-red); box-shadow: 0 2px 8px rgba(0,0,0,0.06); display: flex; flex-direction: column; }
.zodiac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.zodiac-card { background: #fff; padding: 18px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.06); text-align: center; }
.zodiac-icon { font-size: 34px; margin-bottom: 6px; }
.live-pulse-badge { background: #ef4444; color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 800; animation: pulseLive 1.4s infinite; }
@keyframes pulseLive { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }

/* FOOTER */
.main-footer { background: var(--footer-bg, #0f172a); color: #94a3b8; padding: 45px 0 20px; margin-top: 40px; border-top: 4px solid var(--ap-red); font-family: 'Inter', sans-serif; }
.footer-container { max-width: 1350px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-col h4 { color: #fff; font-size: 15px; border-bottom: 2px solid var(--ap-red); padding-bottom: 8px; margin-bottom: 14px; display: inline-block; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: #94a3b8; font-size: 14px; }
.footer-col ul li a:hover { color: #fff; }
.social-links { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.social-links a:hover { background: var(--ap-red); transform: translateY(-2px); }
.join-reporter-box { background: rgba(255,255,255,0.04); padding: 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.join-reporter-btn, .reporters-list-btn { display: flex; justify-content: center; gap: 8px; padding: 10px; border-radius: 6px; font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.join-reporter-btn { background: var(--ap-red); color: #fff; }
.reporters-list-btn { border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.footer-subscribe-form { display: flex; margin-bottom: 14px; }
.footer-subscribe-form input { flex: 1; padding: 10px; border: none; border-radius: 6px 0 0 6px; outline: none; }
.footer-subscribe-form button { background: var(--ap-red); color: #fff; border: none; padding: 10px 16px; border-radius: 0 6px 6px 0; cursor: pointer; }
.download-app-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 700; font-size: 13px; }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.visitor-counter { background: rgba(255,255,255,0.06); padding: 6px 14px; border-radius: 20px; color: #cbd5e1; }
#scrollTopBtn { position: fixed; bottom: 76px; right: 20px; width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--ap-red); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 999; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
#scrollTopBtn.visible { opacity: 1; pointer-events: auto; }

/* MOBILE HEADER, DRAWER & BOTTOM NAV */
.mobile-header-wrap { display: none; background: #fff; }
.mob-top-actions { background: linear-gradient(90deg, #111, #333, #111); display: flex; justify-content: center; gap: 8px; padding: 6px 10px; border-bottom: 2px solid var(--ap-gold); }
.slim-action-btn { font-size: 10px; font-weight: 900; color: #fff; padding: 4px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 4px; }
.btn-news-m { background: #e65100; } .btn-epaper-m { background: #b71c1c; } .btn-live-m { background: #007bc4; }
.mob-main-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 3px solid var(--ap-red); }
.mob-icon-btn { background: none; border: none; font-size: 21px; color: #111; cursor: pointer; }
.mob-logo-box { text-align: center; }
.mob-logo-box img { max-height: 46px; width: auto; }
.mob-time-date { font-size: 10px; font-weight: 800; color: #555; }
.mob-scroll-menu { background: linear-gradient(180deg, var(--ap-red), var(--ap-dark-red)); overflow-x: auto; white-space: nowrap; display: flex; padding: 5px; position: sticky; top: 0; z-index: 1000; }
.mob-scroll-menu::-webkit-scrollbar { display: none; }
.mob-scroll-menu a { color: #fff; padding: 7px 14px; font-size: 13px; font-weight: 700; background: rgba(0,0,0,0.2); border-radius: 4px; margin-right: 5px; }
.mob-nav-home { background: var(--ap-gold) !important; color: #000 !important; }
.mob-ad-strip { padding: 8px; text-align: center; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }

.mob-bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,0.15); z-index: 9999; display: flex; border-top: 1px solid #ddd; padding-bottom: env(safe-area-inset-bottom); }
.mob-bottom-nav a { flex: 1; text-align: center; padding: 8px 0; color: #444; font-size: 11px; font-weight: 700; display: flex; flex-direction: column; align-items: center; }
.mob-bottom-nav a i { font-size: 18px; margin-bottom: 3px; }
.mob-bottom-nav a.active { color: var(--ap-red); }

.side-drawer { position: fixed; top: 0; right: -320px; width: 300px; height: 100%; background: #fff; box-shadow: -5px 0 20px rgba(0,0,0,0.45); z-index: 10000; transition: right 0.3s; overflow-y: auto; padding-bottom: 80px; }
.side-drawer.active { right: 0; }
.drawer-head { background: #111; color: #fff; padding: 14px 18px; font-size: 17px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--ap-red); cursor: pointer; }
.drawer-list { list-style: none; padding: 0; margin: 0; }
.drawer-list > li > a { display: block; padding: 13px 18px; border-bottom: 1px solid #eee; font-size: 14px; font-weight: 800; }
.mob-dropdown-toggle i { float: right; color: var(--ap-red); }
.mob-dropdown-menu { display: none; background: #f8fafc; padding: 10px; }
.drawer-all-btn { display: block; background: var(--ap-red); color: #fff; text-align: center; padding: 6px; border-radius: 4px; font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.compact-districts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; list-style: none; padding: 0; margin: 0; }
.compact-districts-grid a { display: block; background: #fff; border: 1px solid #ddd; padding: 6px 4px; font-size: 11px; text-align: center; border-radius: 4px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 9998; display: none; }
.menu-overlay.active { display: block; }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    .pc-topbar, .pc-header, .pc-nav-wrap { display: none !important; }
    .mobile-header-wrap { display: block !important; }
    body { padding-bottom: 64px; }
    .newspaper-layout { flex-direction: column; }
    .sidebar-column { width: 100%; flex: none; }
    .hero-grid-section, .portal-cat-grid, .lead-story-grid, .footer-grid, .zodiac-grid { grid-template-columns: 1fr; }
    .w2n-feature-grid { grid-template-columns: repeat(3, 1fr); }
    .panchangam-box { grid-template-columns: repeat(2, 1fr); }
    .ap-10-grid, .most-viewed-grid { grid-template-columns: repeat(2, 1fr); }
    .article-list-item { flex-direction: column; }
    .article-list-image { width: 100%; height: 185px; }
    .title-box h1 { font-size: 22px; }
}

/* PRINT / NEWS CLIP STYLES */
@media print {
    .no-print { display: none !important; }
    body { background: #fff !important; padding: 0 !important; }
    .print-only-masthead { display: block !important; text-align: center; border-bottom: 3px solid #d12027; margin-bottom: 16px; padding-bottom: 8px; }
    .print-only-masthead img { max-height: 70px; margin: 0 auto 6px; }
    .print-meta-bar { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #333; padding-top: 6px; border-top: 1px solid #ccc; }
    .single-story-wrapper { max-width: 100%; margin: 0; padding: 0; }
    .full-article { box-shadow: none; padding: 0; }
    .title-box h1 { -webkit-text-fill-color: #000 !important; color: #000 !important; background: none !important; }
}


/* =========================================================================
   V3.0 VISUAL UPGRADES: SLIM AUTHOR BAR, LARGE HD PHOTO, SOLID TITLE COLOR,
   MID-ARTICLE "ALSO READ", AD TAGS & SINGLE POST STICKY SIDEBAR
   ========================================================================= */

/* 1. Vibrant Solid Headline Color (Fixes washed-out transparent gradient bug) */
.title-box h1 {
    font-size: 30px;
    line-height: 1.38;
    margin: 8px 0 12px;
    color: var(--title-color, #d12027) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: currentColor !important;
    font-weight: 800;
}

/* 2. Slim Compact Author & Meta Strip */
.slim-meta-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 7px 12px;
    margin-bottom: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--ap-red, #d12027);
    border-radius: 7px;
    font-size: 12.5px;
    color: #475569;
    line-height: 1.2;
}
.slim-author-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f172a;
}
.slim-author-pill img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--ap-red, #d12027);
    display: block;
}
.slim-author-pill strong { font-size: 12.5px; font-weight: 800; color: #0f172a; }
.slim-dot { color: #cbd5e1; font-weight: 700; }
.slim-meta-item { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 12px; }
.slim-meta-item i { color: var(--ap-red, #d12027); font-size: 11px; }
.slim-cat-tag {
    margin-left: auto;
    background: var(--ap-red, #d12027);
    color: #ffffff !important;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 800;
}

/* 3. Large Full-Width HD Single Post Photo (Never Tiny) */
.single-hero-photo-wrap {
    width: 100%;
    margin: 12px 0 18px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}
.single-hero-photo-wrap .article-image,
.full-article .article-image {
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    max-height: 620px !important;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    border-radius: 10px;
}

/* 4. Single Post 2-Column Sticky Right Sidebar */
.single-two-col {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.single-sticky-sidebar {
    position: sticky;
    top: 72px;
}

/* 5. Mid-Article "ఇవి కూడా చదవండి (Also Read)" Box */
.mid-article-related {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-left: 5px solid var(--ap-red, #d12027);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 22px 0;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
}
.mid-article-related h4 {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}
.mid-article-related ul { list-style: none; padding: 0; margin: 0; }
.mid-article-related li {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #cbd5e1;
}
.mid-article-related li:last-child { border-bottom: none; padding-bottom: 0; }
.mid-article-related li img {
    width: 96px;
    min-width: 96px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.mid-article-related .related-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
    text-decoration: none;
}
.mid-article-related .related-title:hover { color: var(--ap-red, #d12027); }

/* 6. Clean Advertisement Tag */
.veda-ad-tag {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 5px;
    text-align: center;
}
.home-mid-ad-slot {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 10px;
    margin: 18px 0;
    text-align: center;
}

@media (max-width: 992px) {
    .single-two-col { flex-direction: column; }
    .single-sticky-sidebar { position: static; width: 100%; }
    .title-box h1 { font-size: 23px; }
    .slim-cat-tag { margin-left: 0; }
}
