﻿* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans Gujarati', sans-serif;
  background: #f4f4f4;
  color: #222;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ── TOP BAR ── */
.topbar {
  background: #1a1a2e;
  color: #ccc;
  font-size: 13px;
  padding: 6px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.social-top a { color: #ccc; margin-left: 12px; transition: color .2s; }
.social-top a:hover { color: #f0a500; }

/* ── HEADER ── */
.header { background: #fff; padding: 16px 0; border-bottom: 3px solid #f0a500; }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.logo h1 { font-size: 36px; font-weight: 700; color: #1a1a2e; line-height: 1; }
.logo h1 span { color: #f0a500; }
.tagline { font-size: 13px; color: #888; margin-top: 4px; letter-spacing: 1px; }
.header-ad img { border-radius: 4px; }

/* ── NAVBAR ── */
.navbar { background: #1a1a2e; position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; gap: 10px; }
.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { position: relative; }
.nav-links li a {
  display: block; color: #fff; padding: 14px 14px;
  font-size: 14px; transition: background .2s, color .2s;
}
.nav-links li a:hover, .nav-links li a.active { background: #f0a500; color: #1a1a2e; }

/* Dropdown */
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #1a1a2e; min-width: 160px; z-index: 200;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.dropdown-menu li a { padding: 10px 14px; border-top: 1px solid #2a2a4a; font-size: 13px; }
.dropdown:hover .dropdown-menu { display: block; }

.nav-search { display: flex; margin-left: auto; }
.nav-search input {
  padding: 6px 10px; border: none; outline: none;
  font-size: 13px; width: 180px; border-radius: 3px 0 0 3px;
}
.nav-search button {
  background: #f0a500; border: none; padding: 6px 12px;
  color: #fff; cursor: pointer; border-radius: 0 3px 3px 0;
}
.hamburger { display: none; background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; padding: 14px 10px; }

/* Panel links in navbar */
.nav-panel-links { display:flex; gap:6px; margin-left:6px; }
.nav-panel-btn {
  display:flex; align-items:center; gap:5px; padding:6px 12px;
  border-radius:4px; font-size:12px; font-weight:600; transition:opacity .2s;
}
.nav-panel-btn:hover { opacity:.85; }
.nav-panel-btn.writer { background:#28a745; color:#fff; }
.nav-panel-btn.admin  { background:#dc3545; color:#fff; }

/* ── TICKER ── */
.ticker-wrap { background: #fff; border-bottom: 1px solid #ddd; padding: 8px 0; }
.ticker-inner { display: flex; align-items: center; overflow: hidden; }
.ticker-label {
  background: #f0a500; color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 10px; white-space: nowrap; border-radius: 2px; margin-right: 12px;
}
.ticker-content { overflow: hidden; flex: 1; }
#tickerText { font-size: 13px; color: #333; display: inline-block; white-space: nowrap; animation: ticker 30s linear infinite; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* ── MAIN LAYOUT ── */
.main-content { display: grid; grid-template-columns: 1fr 300px; gap: 24px; padding: 24px 15px; }

/* ── FEATURED GRID ── */
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.featured-main { grid-row: span 3; }

/* ── CARD ── */
.card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: transform .2s; cursor: pointer; }
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; object-fit: cover; display: block; }
.featured-main img { height: 280px; }
.featured-side .card img { height: 130px; }
.card-body { padding: 12px; }
.card-body h2 { font-size: 18px; margin: 8px 0 6px; line-height: 1.4; }
.card-body h3 { font-size: 14px; margin: 6px 0 4px; line-height: 1.4; }

/* ── BADGES ── */
.badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 2px; display: inline-block; }
.yellow { background: #f0a500; color: #fff; }
.blue   { background: #0077cc; color: #fff; }
.green  { background: #28a745; color: #fff; }
.red    { background: #dc3545; color: #fff; }

.meta { font-size: 12px; color: #888; margin-top: 4px; }
.meta i { margin-right: 3px; }
.excerpt { font-size: 13px; color: #555; margin-top: 8px; line-height: 1.5; }

/* ── TAB SECTION ── */
.tab-section { background: #fff; border-radius: 6px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.08); margin-bottom: 24px; }
.tab-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; border-bottom: 2px solid #f0a500; padding-bottom: 10px; }
.section-label { background: #1a1a2e; color: #f0a500; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 3px; }
.tabs { display: flex; gap: 6px; }
.tab { background: none; border: 1px solid #ddd; padding: 5px 14px; font-size: 13px; cursor: pointer; border-radius: 3px; font-family: 'Noto Sans Gujarati', sans-serif; transition: background .2s; }
.tab.active, .tab:hover { background: #f0a500; color: #fff; border-color: #f0a500; }

.tab-content { display: none; }
.tab-content.active { display: block; }

.news-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.news-thumb-card { background: #fff; border-radius: 6px; overflow: hidden; }
.news-thumb-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.news-thumb-card .card-body h3 { font-size: 15px; }

.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-list-item {
  display: flex; gap: 10px; align-items: flex-start;
  cursor: pointer; padding: 8px; border-radius: 4px; transition: background .15s;
}
.news-list-item:hover { background: #fafafa; }
.news-list-item img { width: 90px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.news-list-item h4 { font-size: 13px; line-height: 1.4; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget { background: #fff; border-radius: 6px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.widget-title {
  font-size: 14px; font-weight: 700; background: #1a1a2e; color: #f0a500;
  padding: 8px 12px; margin: -16px -16px 14px; border-radius: 6px 6px 0 0;
}
.trending-title { background: #dc3545; color: #fff; }

.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.social-btn {
  display: flex; align-items: center; gap: 6px; padding: 8px 10px;
  color: #fff; font-size: 12px; border-radius: 4px; font-weight: 600; transition: opacity .2s;
}
.social-btn:hover { opacity: .85; }
.fb { background: #1877f2; }
.tw { background: #1da1f2; }
.yt { background: #ff0000; }
.ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }

.recent-post { display: flex; flex-direction: column; gap: 12px; }
.recent-item { display: flex; gap: 10px; align-items: flex-start; }
.recent-item img { width: 70px; height: 50px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.recent-item h4 { font-size: 12px; line-height: 1.4; }
.recent-item .meta { font-size: 11px; }

.trending-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.trending-item { position: relative; border-radius: 4px; overflow: hidden; }
.trending-item img { width: 100%; height: 70px; object-fit: cover; display: block; }
.trending-item .overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; font-size: 11px; padding: 4px 6px; line-height: 1.3;
}

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 999;
  justify-content: center; align-items: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff; max-width: 640px; width: 95%; border-radius: 8px;
  padding: 24px; position: relative; max-height: 90vh; overflow-y: auto;
  margin: 10px;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  background: #f0a500; border: none; color: #fff;
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 14px;
}
.modal-box img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; margin-bottom: 12px; }
.modal-box h2 { font-size: 20px; margin: 8px 0; }
.modal-box p { font-size: 14px; line-height: 1.7; margin-top: 10px; color: #444; }

/* ── FOOTER ── */
.footer { background: #1a1a2e; color: #aaa; margin-top: 32px; padding: 36px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; padding-bottom: 28px; }
.footer-col h2 { font-size: 24px; color: #fff; margin-bottom: 10px; }
.footer-col h2 span { color: #f0a500; }
.footer-col h4 { color: #f0a500; margin-bottom: 12px; font-size: 14px; }
.footer-col p { font-size: 13px; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #aaa; transition: color .2s; }
.footer-col ul li a:hover { color: #f0a500; }
.footer-col p i { margin-right: 6px; color: #f0a500; }
.footer-bottom { background: #111; text-align: center; padding: 12px; font-size: 12px; color: #666; }

/* ── RESPONSIVE ── */
/* ══════════════════════════════════════════
   RESPONSIVE — complete mobile overhaul
══════════════════════════════════════════ */

/* ── Tablet 900px ── */
@media (max-width: 900px) {
  .main-content        { grid-template-columns: 1fr; }
  .featured-grid       { grid-template-columns: 1fr; gap: 12px; }
  .featured-main       { grid-row: auto; }
  .featured-side       { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .featured-side .card img { height: 140px; }
  .footer-inner        { grid-template-columns: 1fr 1fr; }
  .header-ad img       { max-width: 320px; height: auto; }
  .sidebar             { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .latest-grid         { grid-template-columns: repeat(3,1fr); }
  .nav-panel-links     { display: none; }
}

/* ── Mobile 600px ── */
@media (max-width: 600px) {

  /* Topbar */
  .topbar-inner        { flex-direction: column; gap: 6px; text-align: center; padding: 6px 0; }
  .social-top          { display: flex; justify-content: center; gap: 14px; }

  /* Header */
  .header              { padding: 12px 0; }
  .header-inner        { flex-direction: column; align-items: flex-start; gap: 6px; }
  .logo h1             { font-size: 28px; }
  .tagline             { font-size: 12px; }
  .header-ad           { display: none; }

  /* Navbar */
  .navbar              { position: sticky; top: 0; z-index: 100; }
  .nav-inner           { flex-wrap: wrap; gap: 0; padding: 0; position: relative; }
  .hamburger           { display: flex; align-items: center; padding: 14px 12px; order: 1; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #1a1a2e;
    z-index: 300;
    box-shadow: 0 8px 20px rgba(0,0,0,.4);
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-links.open      { display: flex; }
  .nav-links li        { width: 100%; border-bottom: 1px solid #2a2a4a; }
  .nav-links li a      { padding: 13px 16px; font-size: 15px; }
  .dropdown-menu       { display: none !important; }
  .dropdown.open-mob .dropdown-menu {
    display: block !important;
    position: static;
    box-shadow: none;
    background: #0f0f22;
    min-width: 100%;
  }
  .nav-search          { order: 3; width: 100%; padding: 6px 10px; }
  .nav-search input    { width: 100%; }
  .nav-panel-links     { display: none; }

  /* Ticker */
  .ticker-label        { font-size: 11px; padding: 3px 7px; }
  #tickerText          { font-size: 12px; }

  /* Main layout */
  .main-content        { padding: 12px 10px; gap: 16px; }

  /* Featured grid */
  .featured-grid       { grid-template-columns: 1fr; gap: 10px; }
  .featured-main img   { height: 200px; }
  .featured-side       { display: flex; flex-direction: column; gap: 10px; }
  .featured-side .card img { height: 160px; }
  .card-body h2        { font-size: 16px; }
  .card-body h3        { font-size: 13px; }

  /* Tab section */
  .tab-section         { padding: 12px; }
  .tab-header          { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tabs                { flex-wrap: wrap; gap: 5px; }
  .tab                 { padding: 5px 10px; font-size: 12px; }
  .news-row            { grid-template-columns: 1fr; }
  .news-thumb-card img { height: 180px; }
  .news-list-item img  { width: 80px; height: 55px; }
  .news-list-item h4   { font-size: 12px; }

  /* Sidebar — stacked single column */
  .sidebar             { grid-template-columns: 1fr; gap: 14px; }
  .widget              { padding: 12px; }
  .widget-title        { font-size: 13px; padding: 7px 10px; margin: -12px -12px 12px; }
  .social-grid         { grid-template-columns: 1fr 1fr; gap: 6px; }
  .social-btn          { padding: 7px 8px; font-size: 11px; }
  .trending-grid       { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-inner        { grid-template-columns: 1fr; gap: 20px; padding-bottom: 20px; }
  .footer-col h2       { font-size: 20px; }
  .footer-col p,
  .footer-col ul li a  { font-size: 13px; }
  .footer-bottom       { font-size: 11px; padding: 10px; }

  /* Modal */
  .modal-box           { padding: 16px; margin: 10px; }
  .modal-box img       { height: 180px; }
  .modal-box h2        { font-size: 17px; }
}

/* ── Small mobile 400px ── */
@media (max-width: 400px) {
  .logo h1             { font-size: 24px; }
  .sl-main             { font-size: 28px; }
  .sl-sub              { font-size: 34px; }
  .featured-main img   { height: 170px; }
  .featured-side .card img { height: 140px; }
  .news-list-item img  { width: 70px; height: 50px; }
  .ln-card img         { height: 140px; }
}


/* ══════════════════════════════════════════
   LATEST NEWS SECTION
══════════════════════════════════════════ */
.latest-section {
  background:#f0f2f5;
  padding:36px 0 48px;
  margin-top:8px;
}
.latest-header {
  display:flex; flex-wrap:wrap; align-items:center;
  justify-content:space-between; gap:14px; margin-bottom:24px;
}
.latest-title-block { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.latest-subtitle { font-size:13px; color:#888; }

/* Filter buttons */
.latest-filters { display:flex; flex-wrap:wrap; gap:6px; }
.lf-btn {
  background:#fff; border:1px solid #ddd; padding:6px 14px;
  border-radius:20px; font-size:12px; cursor:pointer;
  font-family:'Noto Sans Gujarati',sans-serif;
  transition:all .2s; color:#555;
}
.lf-btn:hover, .lf-btn.active {
  background:#f0a500; color:#fff; border-color:#f0a500;
}

/* Article cards grid */
.latest-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.ln-card {
  background:#fff; border-radius:8px; overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,.07); cursor:pointer;
  transition:transform .2s, box-shadow .2s;
  display:flex; flex-direction:column;
}
.ln-card:hover { transform:translateY(-4px); box-shadow:0 6px 20px rgba(0,0,0,.12); }
.ln-card img { width:100%; height:170px; object-fit:cover; display:block; }
.ln-card .ln-body { padding:12px 14px; flex:1; display:flex; flex-direction:column; }
.ln-card .ln-cat  { font-size:11px; font-weight:700; padding:2px 8px; border-radius:2px; display:inline-block; margin-bottom:6px; }
.ln-card h4       { font-size:14px; line-height:1.5; margin-bottom:6px; flex:1; }
.ln-card .ln-excerpt { font-size:12px; color:#777; line-height:1.5; margin-bottom:8px; }
.ln-card .ln-meta { font-size:11px; color:#aaa; margin-top:auto; display:flex; align-items:center; gap:8px; }
.ln-card .ln-meta i { color:#f0a500; }

/* Skeleton */
.ln-skeleton {
  background:#fff; border-radius:8px; overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,.07); min-height:260px;
  animation:lnShimmer 1.2s ease-in-out infinite;
  background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);
  background-size:200% 100%;
}
@keyframes lnShimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* Load more */
.latest-load-more { text-align:center; margin-top:28px; }
.latest-load-more button {
  background:#1a1a2e; color:#f0a500; border:none;
  padding:11px 32px; border-radius:5px; font-size:14px;
  cursor:pointer; font-family:'Noto Sans Gujarati',sans-serif;
  display:inline-flex; align-items:center; gap:8px;
  transition:background .2s;
}
.latest-load-more button:hover { background:#f0a500; color:#fff; }

/* No results */
.ln-empty {
  grid-column:1/-1; text-align:center;
  padding:50px 20px; color:#aaa;
}
.ln-empty i { font-size:40px; display:block; margin-bottom:10px; }

/* Badge colours inside ln-card */
.ln-yellow { background:#f0a500; color:#fff; }
.ln-blue   { background:#0077cc; color:#fff; }
.ln-green  { background:#28a745; color:#fff; }
.ln-red    { background:#dc3545; color:#fff; }

@media(max-width:1000px){ .latest-grid{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:700px) { .latest-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px) {
  .latest-grid { grid-template-columns: 1fr; }
  .latest-header { flex-direction: column; align-items: flex-start; }
  .latest-filters { gap: 5px; }
  .lf-btn { padding: 5px 10px; font-size: 11px; }
  .latest-subtitle { font-size: 12px; }
}

/* ══════════════════════════════════════════
   SPLASH / LOADING SCREEN
══════════════════════════════════════════ */
#splashScreen {
  position: fixed;
  inset: 0;
  background: #1a1a2e;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#splashScreen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

/* ── Rotating cross / plus ── */
.splash-cross {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 4px;
  animation: crossSpin 2s linear infinite;
}
.cross-h, .cross-v {
  position: absolute;
  background: #f0a500;
  border-radius: 3px;
}
.cross-h {
  width: 100%;
  height: 10px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.cross-v {
  width: 10px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
@keyframes crossSpin {
  0%   { transform: rotate(0deg)   scale(1); }
  25%  { transform: rotate(90deg)  scale(1.15); }
  50%  { transform: rotate(180deg) scale(1); }
  75%  { transform: rotate(270deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

/* ── Logo text ── */
.splash-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  animation: splashFadeIn .8s ease forwards;
}
.sl-main {
  font-family: 'Noto Sans Gujarati', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}
.sl-sub {
  font-family: 'Noto Sans Gujarati', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #f0a500;
  margin-top: -4px;
}

.splash-tagline {
  font-family: 'Noto Sans Gujarati', sans-serif;
  font-size: 14px;
  color: #888;
  letter-spacing: 2px;
  animation: splashFadeIn 1.2s ease forwards;
}

/* ── Three bouncing dots ── */
.splash-dots {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.splash-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0a500;
  animation: dotBounce 1.2s ease-in-out infinite;
}
.splash-dots span:nth-child(2) { animation-delay: .2s; background: #fff; }
.splash-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: .5; }
  40%            { transform: scale(1.2); opacity: 1;  }
}

@keyframes splashFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   ENHANCED ARTICLE MODAL
══════════════════════════════════════════ */

/* Blur background when modal open */
.blur-bg {
  filter: blur(4px) brightness(.85);
  transition: filter .3s ease;
  pointer-events: none;
  user-select: none;
}
body.modal-open { overflow: hidden; }

/* Overlay */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9999;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 12px;
  overflow-y: auto;
  backdrop-filter: blur(2px);
  animation: overlayIn .25s ease;
}
.modal-overlay.open { display: flex; }

@keyframes overlayIn {
  from { opacity:0; }
  to   { opacity:1; }
}

/* Modal box */
.modal-box {
  background: #fff;
  max-width: 720px;
  width: 100%;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  animation: modalSlideIn .3s cubic-bezier(.34,1.3,.64,1);
  margin: auto;
}
@keyframes modalSlideIn {
  from { transform: translateY(40px) scale(.97); opacity:0; }
  to   { transform: translateY(0)    scale(1);   opacity:1; }
}

.modal-scroll {
  max-height: 88vh;
  overflow-y: auto;
  padding: 24px;
  scrollbar-width: thin;
  scrollbar-color: #f0a500 #eee;
}
.modal-scroll::-webkit-scrollbar { width: 5px; }
.modal-scroll::-webkit-scrollbar-thumb { background: #f0a500; border-radius: 3px; }

.modal-close {
  position: absolute; top: 12px; right: 12px;
  background: #f0a500; border: none; color: #fff;
  width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; font-size: 14px; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.modal-close:hover { background: #d4920a; transform: rotate(90deg); }

.modal-meta-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.modal-date { font-size: 12px; color: #aaa; }

/* Share row */
.modal-share {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid #eee;
}
.modal-share span { font-size: 13px; color: #888; margin-right: 4px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 20px; font-size: 12px;
  font-weight: 600; cursor: pointer; border: none;
  text-decoration: none; transition: opacity .2s;
}
.share-btn:hover { opacity: .85; }
.share-btn.wa   { background: #25d366; color: #fff; }
.share-btn.fb   { background: #1877f2; color: #fff; }
.share-btn.tw   { background: #1da1f2; color: #fff; }
.share-btn.copy { background: #1a1a2e; color: #f0a500; }

/* Related news */
.modal-related { margin-top: 24px; padding-top: 18px; border-top: 2px solid #f0a500; }
.related-title {
  font-size: 15px; color: #1a1a2e; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.related-title i { color: #f0a500; }

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.related-card {
  display: flex; gap: 10px; align-items: flex-start;
  background: #f8f8f8; border-radius: 8px; padding: 10px;
  cursor: pointer; transition: background .15s, transform .15s;
}
.related-card:hover { background: #fff0d0; transform: translateY(-2px); }
.related-card img {
  width: 80px; height: 58px;
  object-fit: cover; border-radius: 5px; flex-shrink: 0;
}
.related-body h5 { font-size: 12px; line-height: 1.4; margin: 4px 0 3px; }
.related-body p  { font-size: 11px; color: #888; line-height: 1.4; }

/* Mobile modal */
@media (max-width: 600px) {
  .modal-overlay { padding: 12px 8px; align-items: flex-start; }
  .modal-scroll  { padding: 16px 14px; max-height: 92vh; }
  .modal-box     { border-radius: 10px; }
  .related-grid  { grid-template-columns: 1fr; }
  .modal-share   { gap: 6px; }
  .share-btn     { padding: 5px 10px; font-size: 11px; }
}
