/* ===== KONGTV — BANDAR KONG THEME ===== */
/* Palette: white shore · gulf blue · golden sun */
:root {
  --bg:        #F7F9FC;
  --bg2:       #EEF3F9;
  --bg3:       #E4EDF6;
  --surface:   #FFFFFF;
  --surface2:  #F0F5FB;
  --border:    #D0DFF0;
  --blue:      #0A4D8C;
  --blue2:     #1A7FC4;
  --blue-light:#E8F2FB;
  --gold:      #F5A623;
  --gold2:     #FFC85A;
  --gold-light:#FFF6E5;
  --red:       #E53E3E;
  --green:     #27AE60;
  --text:      #1A2A3A;
  --text2:     #4A6180;
  --text3:     #8FA8C0;
  --white:     #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.7;
}

a { color: var(--blue2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== SIGNATURE IMAGE CORNERS =====
   Three rounded corners, bottom-left sharp — like a boat prow or coastal stone */
.img-kong {
  border-radius: 16px 16px 16px 0;
}
.card-img, .post-featured-img {
  border-radius: 14px 14px 14px 0;
}
.card-img-placeholder {
  border-radius: 14px 14px 14px 0;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--blue);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 16px rgba(10,77,140,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 44px; width: auto; }
.logo-text { font-size: 1.25rem; font-weight: 300; color: var(--blue); letter-spacing: -.5px; }
.logo-text strong { color: var(--gold); font-weight: 900; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a, .nav-dropdown > a {
  color: var(--text2); font-size: .9rem; padding: 8px 14px;
  border-radius: 8px; transition: all .2s; white-space: nowrap; font-weight: 500;
}
.nav-links > a:hover, .nav-dropdown > a:hover {
  color: var(--blue); background: var(--blue-light);
}
.nav-live {
  background: rgba(229,62,62,.08) !important;
  color: var(--red) !important;
  border: 1.5px solid rgba(229,62,62,.25) !important;
  font-weight: 700 !important;
  animation: pulse-border 2s infinite;
}
@keyframes pulse-border { 50% { border-color: rgba(229,62,62,.7) !important; } }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 4px); right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 12px 12px;
  min-width: 210px; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .2s; z-index: 999;
  box-shadow: 0 8px 32px rgba(10,77,140,.12);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 10px 20px;
  color: var(--text2); font-size: .875rem;
  transition: all .15s; border-right: 3px solid transparent;
}
.dropdown-menu a:hover {
  color: var(--blue); background: var(--blue-light);
  border-right-color: var(--blue);
}

.menu-toggle { display: none; background: none; border: none; color: var(--blue); font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0D5FA8 60%, #1A7FC4 100%);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-label { font-size: .75rem; letter-spacing: 3px; color: var(--gold2); margin-bottom: 16px; font-weight: 600; }
.hero h1 { font-size: 2.8rem; font-weight: 900; line-height: 1.3; color: #fff; margin-bottom: 16px; }
.hero h1 span { color: var(--gold); }
.hero p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px; font-size: .95rem; font-weight: 600;
  transition: all .2s; cursor: pointer; border: none; font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--blue); }
.btn-primary:hover { background: var(--gold2); color: var(--blue); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,166,35,.4); }
.btn-outline { border: 2px solid rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-outline-blue { border: 2px solid var(--border); color: var(--text2); background: var(--white); }
.btn-outline-blue:hover { border-color: var(--blue); color: var(--blue); }
.btn-live { background: var(--red); color: #fff; }
.btn-live:hover { background: #c53030; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,62,62,.35); }

/* Hero countdown card */
.hero-countdown {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px 20px 20px 0;
  padding: 36px; text-align: center;
}
.hero-countdown h3 { font-size: 1rem; color: rgba(255,255,255,.85); margin-bottom: 24px; }
.countdown-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.cd-box { background: rgba(255,255,255,.15); border-radius: 12px 12px 12px 0; padding: 16px 8px; }
.cd-num { font-size: 2rem; font-weight: 900; color: var(--gold); display: block; }
.cd-label { font-size: .7rem; color: rgba(255,255,255,.7); margin-top: 4px; }

.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(229,62,62,.15); color: #fff;
  border: 1px solid rgba(229,62,62,.5); border-radius: 20px;
  padding: 6px 16px; font-size: .85rem; font-weight: 700; margin-bottom: 16px;
}
.live-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ===== SECTIONS ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--bg2); }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.section-title {
  font-size: 1.4rem; font-weight: 800; color: var(--blue);
  position: relative; padding-right: 16px;
}
.section-title::before {
  content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 26px; background: var(--gold); border-radius: 2px;
}
.see-all { font-size: .85rem; color: var(--text2); font-weight: 500; }
.see-all:hover { color: var(--blue); }

/* ===== CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.cards-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 0;
  overflow: hidden;
  transition: all .25s;
  box-shadow: 0 2px 8px rgba(10,77,140,.06);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--blue2);
  box-shadow: 0 12px 40px rgba(10,77,140,.15);
}
.card-img { width: 100%; height: 190px; object-fit: cover; }
.card-img-placeholder {
  width: 100%; height: 190px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.card-body { padding: 20px; }
.card-meta { font-size: .75rem; color: var(--text3); margin-bottom: 8px; display: flex; gap: 12px; }
.card-cat { color: var(--blue2); font-weight: 600; }
.card h3 { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 10px; }
.card p { font-size: .875rem; color: var(--text2); line-height: 1.65; }

/* Video card */
.video-card .card-img-wrap { position: relative; }
.play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10,77,140,.35); opacity: 0; transition: opacity .2s;
}
.play-btn span {
  width: 52px; height: 52px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--blue);
}
.video-card:hover .play-btn { opacity: 1; }

/* ===== LIVE PAGE ===== */
.live-hero { background: linear-gradient(180deg, var(--blue) 0%, #0D5FA8 100%); padding: 60px 0 80px; }
.live-player {
  background: var(--white); border-radius: 20px 20px 20px 0;
  overflow: hidden; margin-bottom: 24px;
  box-shadow: 0 20px 60px rgba(10,77,140,.25);
}
.live-player iframe { width: 100%; height: 500px; display: block; border: none; }
.live-info {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px); border-radius: 16px 16px 16px 0; padding: 28px; color: #fff;
}

/* ===== CONTACT / FORM ===== */
.contact-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px 20px 20px 0; padding: 40px;
  box-shadow: 0 4px 20px rgba(10,77,140,.07);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .875rem; color: var(--text2); margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 12px 16px; color: var(--text);
  font-family: inherit; font-size: .95rem; transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue2); background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,127,196,.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .78rem; color: var(--text3); margin-top: 6px; }
.alert { padding: 14px 20px; border-radius: 10px; margin-bottom: 20px; font-size: .9rem; font-weight: 500; }
.alert-success { background: #EBF8F0; border: 1px solid #9AE6B4; color: var(--green); }
.alert-error { background: #FFF5F5; border: 1px solid #FEB2B2; color: var(--red); }

/* ===== SPONSORS ===== */
.sponsors-bar {
  background: var(--white); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 36px 0;
}
.sponsors-title { text-align: center; font-size: .75rem; color: var(--text3); letter-spacing: 2px; margin-bottom: 24px; font-weight: 600; }
.sponsors-list { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }
.sponsor-item {
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: 12px 12px 12px 0; padding: 12px 24px; transition: all .2s;
}
.sponsor-item:hover { border-color: var(--blue2); box-shadow: 0 4px 16px rgba(10,77,140,.12); }
.sponsor-item img { height: 40px; width: auto; filter: grayscale(60%); transition: filter .2s; }
.sponsor-item:hover img { filter: none; }
.sponsor-name { color: var(--text2); font-size: .875rem; font-weight: 500; }

/* ===== WHATSAPP CTA ===== */
.whatsapp-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #0D5FA8 100%);
  border-radius: 20px 20px 20px 0; padding: 36px; text-align: center; color: #fff;
}
.whatsapp-cta h3 { color: #fff; margin-bottom: 8px; font-size: 1.2rem; }
.whatsapp-cta p { color: rgba(255,255,255,.8); margin-bottom: 20px; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1DA851; color: #fff; transform: translateY(-2px); }

/* ===== FILTER BAR ===== */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 8px 20px; border-radius: 20px; font-size: .875rem;
  border: 1.5px solid var(--border); background: var(--white); color: var(--text2);
  cursor: pointer; transition: all .2s; font-family: inherit; font-weight: 500;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--blue); color: #fff; border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(10,77,140,.2);
}

/* ===== VPN NOTICE ===== */
.vpn-notice {
  background: var(--gold-light); border: 1.5px solid rgba(245,166,35,.4);
  border-radius: 10px; padding: 14px 20px; margin-bottom: 24px;
  font-size: .875rem; color: #92600A; font-weight: 500;
}

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: .875rem; border: 1.5px solid var(--border); font-weight: 500;
}
.pagination a { color: var(--text2); background: var(--white); }
.pagination a:hover, .pagination span.active {
  background: var(--blue); color: #fff; border-color: var(--blue);
}

/* ===== SINGLE POST ===== */
.post-title { font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1.4; margin-bottom: 16px; }
.post-meta { display: flex; gap: 20px; color: var(--text3); font-size: .85rem; }
.post-body { font-size: 1.05rem; line-height: 2; color: var(--text); max-width: 760px; }
.post-body h2 { color: var(--blue); margin: 32px 0 16px; font-size: 1.3rem; }
.post-body p { margin-bottom: 20px; }
.post-featured-img { width: 100%; height: 420px; object-fit: cover; margin-bottom: 40px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--blue);
  margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding: 56px 0 40px; }
.footer-logo { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 12px; display:flex; align-items:center; gap:10px; }
.footer-logo img { height: 36px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-socials a {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; padding: 7px 14px; font-size: .8rem; color: rgba(255,255,255,.85);
  transition: all .2s;
}
.footer-socials a:hover { background: rgba(255,255,255,.22); color: #fff; }
.footer-links h4, .footer-contact h4 { color: var(--gold); margin-bottom: 16px; font-size: .95rem; font-weight: 700; }
.footer-links a { display: block; color: rgba(255,255,255,.7); font-size: .875rem; margin-bottom: 10px; }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: .875rem; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.footer-contact a { color: var(--gold); }
.live-schedule {
  background: rgba(255,255,255,.1); border-radius: 8px; padding: 10px 14px !important;
  border: 1px solid rgba(255,255,255,.2); color: #fff !important;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 20px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.5); font-size: .8rem; }

/* ===== ADMIN PANEL ===== */
.admin-sidebar {
  width: 240px; min-height: 100vh; background: var(--blue);
  border-left: none; padding: 24px 0; position: fixed; right: 0; top: 0;
}
.admin-main { margin-right: 240px; padding: 32px; min-height: 100vh; background: var(--bg); }
.admin-nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 24px;
  color: rgba(255,255,255,.7); font-size: .9rem; transition: all .2s;
  border-right: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
  color: #fff; background: rgba(255,255,255,.12);
  border-right-color: var(--gold);
}
.admin-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px 16px 16px 0; padding: 28px; margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(10,77,140,.06);
}
.admin-card h2 { color: var(--blue); margin-bottom: 24px; font-size: 1.1rem; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--border); font-size: .875rem; }
.data-table th { color: var(--text3); font-weight: 600; background: var(--bg2); }
.data-table td { color: var(--text2); }
.data-table tr:hover td { background: var(--bg); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: .75rem; font-weight: 600; }
.badge-green { background: #EBF8F0; color: var(--green); }
.badge-red { background: #FFF5F5; color: var(--red); }
.badge-gold { background: var(--gold-light); color: #92600A; }
.action-btn { padding: 5px 12px; border-radius: 6px; font-size: .78rem; cursor: pointer; border: 1.5px solid; font-family: inherit; font-weight: 500; }
.action-edit { border-color: var(--blue2); color: var(--blue2); background: transparent; }
.action-delete { border-color: var(--red); color: var(--red); background: transparent; }
.action-btn:hover { opacity: .75; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 32px; }
.stat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px 16px 16px 0; padding: 24px; text-align: center;
  box-shadow: 0 2px 8px rgba(10,77,140,.06);
}
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--blue); }
.stat-label { font-size: .8rem; color: var(--text3); margin-top: 4px; font-weight: 500; }
.nav-section { padding: 8px 16px; font-size: .7rem; color: rgba(255,255,255,.35); letter-spacing: 2px; margin-top: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .admin-sidebar { display: none; }
  .admin-main { margin-right: 0; padding: 20px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; right: 0; left: 0; background: var(--white); border-bottom: 2px solid var(--blue); padding: 16px; box-shadow: 0 8px 24px rgba(10,77,140,.15); z-index: 999; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 1.9rem; }
  .form-row { grid-template-columns: 1fr; }
  .countdown-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .live-player iframe { height: 260px; }
}

/* ===== SLIDER ===== */
.slider-wrap { position: relative; overflow: hidden; border-radius: 20px 20px 20px 0; margin-bottom: 48px; box-shadow: 0 8px 32px rgba(10,77,140,.15); }
.slider-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.slide { min-width: 100%; position: relative; }
.slide img { width: 100%; height: 420px; object-fit: cover; display: block; border-radius: 0; }
.slide-caption {
  position: absolute; bottom: 0; right: 0; left: 0;
  background: linear-gradient(transparent, rgba(10,40,80,.85));
  padding: 40px 28px 24px;
  color: #fff;
}
.slide-caption h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.slide-caption p { font-size: .85rem; opacity: .85; }
.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.9); border: none; border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,.2); transition: all .2s; z-index: 10;
}
.slider-prev { right: 16px; }
.slider-next { left: 16px; }
.slider-prev:hover, .slider-next:hover { background: var(--gold); color: var(--blue); transform: translateY(-50%) scale(1.1); }
.slider-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; cursor: pointer; transition: all .2s; padding: 0; }
.slider-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ===== AUTHOR AVATAR ===== */
.author-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border);
  flex-shrink: 0;
}
.author-avatar-placeholder {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-light); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; }
.author-name { font-size: .875rem; font-weight: 600; color: var(--text); }
.author-date { font-size: .75rem; color: var(--text3); }

/* Card author */
.card-author { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--border); }
.card-author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.card-author-placeholder { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: .75rem; flex-shrink: 0; }
.card-author span { font-size: .78rem; color: var(--text2); font-weight: 500; }

/* ===== MOBILE IMPROVEMENTS ===== */
@media (max-width: 768px) {
  /* Header */
  .header-inner { height: 56px; padding: 0 14px; }
  .logo img { height: 32px; }
  .logo-text { font-size: .95rem; }

  /* Hero — فشرده‌تر */
  .hero { padding: 28px 0 50px; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-label { font-size: .7rem; margin-bottom: 8px; }
  .hero h1 { font-size: 1.45rem; margin-bottom: 10px; }
  .hero p { font-size: .875rem; margin-bottom: 18px; display: none; }
  .hero-btns { gap: 8px; }
  .hero-btns .btn { padding: 9px 16px; font-size: .82rem; }

  /* Countdown — کوچک و فشرده */
  .hero-countdown { padding: 16px; border-radius: 14px 14px 14px 0; }
  .hero-countdown h3 { font-size: .82rem; margin-bottom: 14px; }
  .countdown-grid { grid-template-columns: repeat(4,1fr); gap: 6px; }
  .cd-box { padding: 10px 4px; border-radius: 8px 8px 8px 0; }
  .cd-num { font-size: 1.3rem; }
  .cd-label { font-size: .6rem; margin-top: 2px; }
  .hero-countdown .btn { padding: 9px; font-size: .82rem; margin-top: 14px; }

  /* Slider */
  .slide img { height: 190px; }
  .slide-caption { padding: 24px 16px 16px; }
  .slide-caption h3 { font-size: .9rem; }
  .slide-caption p { display: none; }
  .slider-prev, .slider-next { width: 32px; height: 32px; font-size: .85rem; }
  .slider-prev { right: 10px; }
  .slider-next { left: 10px; }

  /* Cards — دو ستون روی موبایل */
  .cards-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cards-grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-img, .card-img-placeholder { height: 120px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: .82rem; line-height: 1.4; margin-bottom: 6px; }
  .card-body p { display: none; }
  .card-meta { font-size: .68rem; margin-bottom: 5px; gap: 6px; }
  .card-author { padding: 8px 12px; }
  .card-author span { font-size: .72rem; }

  /* Section headers */
  .section { padding: 28px 0; }
  .section-header { margin-bottom: 20px; }
  .section-title { font-size: 1rem; }
  .see-all { font-size: .78rem; }
  .container { padding: 0 12px; }

  /* VPN notice */
  .vpn-notice { font-size: .78rem; padding: 10px 14px; }

  /* Contact */
  .contact-form { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .whatsapp-cta { padding: 20px 16px; }
  .whatsapp-cta h3 { font-size: 1rem; }

  /* Footer */
  .site-footer { margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; padding: 28px 0 20px; }
  .footer-socials { gap: 6px; }
  .footer-socials a { font-size: .75rem; padding: 5px 10px; }
  .footer-links, .footer-contact { display: none; }

  /* Live */
  .live-hero { padding: 32px 0 48px; }
  .live-player iframe { height: 210px; }
  .live-info { padding: 16px; }
  .live-info > div { grid-template-columns: 1fr !important; gap: 12px !important; }

  /* People message */
  .section > .container > div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; gap: 14px !important; }

  /* Post */
  .post-title { font-size: 1.25rem; }
  .post-featured-img { height: 200px; }
  .post-body { font-size: .95rem; line-height: 1.85; }

  /* Filter bar */
  .filter-bar { gap: 7px; margin-bottom: 20px; }
  .filter-btn { padding: 6px 14px; font-size: .8rem; }

  /* Sponsors */
  .sponsors-bar { padding: 20px 0; }
  .sponsors-list { gap: 12px; }
  .sponsor-item { padding: 8px 14px; }
}

@media (max-width: 400px) {
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr 1fr; }
  .card-img, .card-img-placeholder { height: 140px; }
  .card-body { padding: 10px; }
  .hero h1 { font-size: 1.3rem; }
  .slide img { height: 160px; }
  .cd-num { font-size: 1.15rem; }
}