/* ============================================================================
   ABASEEN NEWS DESIGN SYSTEM (styles.css) - RESTORED ORIGINAL CLEAN LAYOUT
   ============================================================================ */

:root {
  --primary-red: #cc0000;
  --primary-dark-red: #990000;
  --navy-dark: #0f172a;
  --navy-light: #1e293b;
  --accent-gold: #f59e0b;
  --accent-blue: #2563eb;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-urdu: 'Noto Nastaliq Urdu', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-red { background: var(--primary-red); color: #fff; }
.badge-blue { background: var(--accent-blue); color: #fff; }
.badge-gold { background: var(--accent-gold); color: #fff; }
.badge-green { background: #16a34a; color: #fff; }
.badge-24h { background: linear-gradient(135deg, #e11d48, #be123c); color: #fff; }

/* BUTTONS */
.btn-primary {
  background: var(--primary-red);
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--primary-dark-red);
}

.btn-secondary {
  background: #cbd5e1;
  color: #0f172a;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

/* TOP BAR */
.top-bar {
  background: var(--navy-dark);
  color: #94a3b8;
  font-size: 0.825rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #1e293b;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.live-badge {
  background: var(--primary-red);
  color: #fff;
  padding: 0.15rem 0.5rem;
  font-weight: 800;
  border-radius: 3px;
  font-size: 0.7rem;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.top-page-buttons {
  display: flex;
  gap: 0.5rem;
}
.top-nav-btn {
  color: #cbd5e1;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
}
.top-nav-btn:hover {
  background: var(--primary-red);
  color: #fff;
}
.social-links {
  display: flex;
  gap: 0.4rem;
}
.social-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.top-actions {
  display: flex;
  gap: 0.5rem;
}
.btn-top-sub {
  background: var(--accent-gold);
  color: #000;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
}
.btn-top-admin {
  background: var(--primary-red);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
}

/* MAIN BRAND HEADER */
.main-header {
  background: #ffffff;
  padding: 1.25rem 0;
  border-bottom: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.main-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.brand-logo {
  height: 125px !important;
  width: auto !important;
  max-height: 135px !important;
  object-fit: contain;
}
.brand-titles .brand-name {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.brand-tagline {
  font-family: var(--font-urdu);
  color: var(--primary-red);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.live-tv-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-dark-red) 100%);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}
.live-tv-banner i {
  font-size: 1.75rem;
  color: var(--accent-gold);
}

/* BREAKING TICKER */
.breaking-ticker {
  background: var(--navy-dark);
  color: #fff;
  border-bottom: 3px solid var(--primary-red);
  overflow: hidden;
}
.ticker-container {
  display: flex;
  align-items: center;
}
.ticker-label {
  background: var(--primary-red);
  padding: 0.6rem 1.25rem;
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.ticker-content {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* STICKY NAV */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-light);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-toggle {
  display: none;
  background: var(--primary-red);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 4px;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}
.nav-item a {
  display: block;
  padding: 0.9rem 1rem;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.nav-item:hover a, .nav-item.active a {
  background: var(--primary-red);
  color: #fff;
}
.nav-search-box form {
  position: relative;
}
.nav-search-box input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.4rem 2rem 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  outline: none;
}
.nav-search-box i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

/* HERO SECTION */
.hero-news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}
.hero-main-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.hero-main-img-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}
.hero-main-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card-content {
  padding: 1.5rem;
}
.hero-card-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.hero-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-side-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.news-mini-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 0.85rem;
  display: flex;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
}
.news-mini-img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.news-mini-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-dark);
}

/* CLEAN COMPACT LIVE STREAM VIDEO CARD */
.live-stream-box {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-red);
}
.live-stream-box-header {
  background: var(--navy-dark);
  color: #fff;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.video-container-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}
.video-container-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* VERTICAL NEWS LIST (MANDATORY LIST LAYOUT) */
.news-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.news-list-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}
.news-list-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-red);
}
.news-list-img-wrapper {
  position: relative;
  width: 240px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}
.news-list-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-list-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.news-list-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.news-list-snippet {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.news-list-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}
.btn-read-more {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 0.85rem;
}

/* FACEBOOK COMMUNITY */
.facebook-pages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.facebook-page-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
}
.fb-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #e0e7ff;
  color: #3730a3;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}
.fb-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* LEADERSHIP SECTION */
.leadership-header {
  text-align: center;
  margin-bottom: 2rem;
}
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.leader-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}
.leader-img-wrapper {
  width: 130px;
  height: 130px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-red);
  box-shadow: var(--shadow-sm);
}
.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leader-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-dark);
}
.leader-role {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.leader-quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* BUREAUS GRID */
.bureaus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}
.bureau-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* FOOTER */
.main-footer {
  background: var(--navy-dark);
  color: #94a3b8;
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  height: 45px;
  width: auto;
}
.footer-heading {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a:hover {
  color: var(--primary-red);
}
.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer-contact-info i {
  color: var(--primary-red);
  margin-top: 4px;
}
.footer-bottom {
  background: #090d16;
  padding: 1.25rem 0;
  font-size: 0.85rem;
  border-top: 1px solid #1e293b;
}

/* MOBILE ADAPTIVE RESPONSIVENESS */
@media (max-width: 992px) {
  .hero-news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facebook-pages-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar-inner { flex-direction: column; gap: 0.4rem; text-align: center; }
  .top-page-buttons { display: none; }
  .main-header-inner { flex-direction: column; text-align: center; gap: 0.75rem; }
  .brand-container { flex-direction: column; }
  .brand-logo { height: 95px !important; }
  .brand-titles .brand-name { font-size: 1.8rem; }
  .mobile-toggle { display: block; }
  .nav-menu { display: none; }
  .news-list-card { flex-direction: column; }
  .news-list-img-wrapper { width: 100%; height: 210px; }
  .footer-grid { grid-template-columns: 1fr; }
}
