/* ==========================================================================
   ABASEEN NEWS HD - PREMIUM STYLESHEET
   Design Palette: Crimson Red, Deep Slate Navy, Crisp Pure White, Rich Gold
   ========================================================================== */

:root {
  --primary-red: #c8102e;
  --primary-dark-red: #990011;
  --accent-gold: #d4af37;
  --navy-dark: #0b1325;
  --slate-dark: #1e293b;
  --slate-muted: #64748b;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-urdu: 'Noto Nastaliq Urdu', serif;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* UTILITY CLASSES */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-muted { color: var(--slate-muted); }
.w-100 { width: 100%; }

/* BUTTONS */
.btn-primary {
  background: var(--primary-red);
  color: #fff;
  border: none;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--primary-dark-red);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #e2e8f0;
  color: #334155;
  border: none;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: #cbd5e1;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.btn-danger:hover {
  background: #b91c1c;
}

.btn-dark {
  background: var(--navy-dark);
  color: #fff;
  border: none;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.btn-dark:hover {
  background: #000;
}

.badge {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  display: inline-block;
}
.badge-red { background: var(--primary-red); color: #fff; }
.badge-blue { background: #2563eb; color: #fff; }
.badge-green { background: #16a34a; color: #fff; }
.badge-gold { background: var(--accent-gold); color: #000; }
.badge-24h { background: #ef4444; color: #fff; animation: pulse 2s infinite; }

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.75; }
  100% { opacity: 1; }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

/* TOP BAR */
.top-bar {
  background: var(--navy-dark);
  color: #94a3b8;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.live-badge {
  color: #ef4444;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(239, 68, 68, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.date-time-display {
  color: #cbd5e1;
  font-weight: 500;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.social-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--primary-red);
  transform: scale(1.1);
}
.top-actions {
  display: flex;
  gap: 0.5rem;
}
.btn-top-sub {
  background: var(--primary-red);
  color: #fff;
  border: none;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}
.btn-top-admin {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}
.btn-top-admin:hover {
  background: var(--accent-gold);
  color: #000;
}

/* MAIN HEADER */
.main-header {
  background: #ffffff;
  border-bottom: 2px solid #f1f5f9;
  padding: 1.25rem 0;
}
.main-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}
.brand-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.brand-titles .brand-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy-dark);
  line-height: 1;
}
.brand-titles .brand-name .hd-tag {
  background: var(--primary-red);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  vertical-align: super;
}
.brand-tagline {
  font-size: 0.85rem;
  color: var(--slate-muted);
  font-weight: 500;
  margin-top: 0.2rem;
}
.live-tv-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--primary-dark-red));
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-sm);
}
.live-tv-banner i {
  font-size: 1.75rem;
  color: var(--accent-gold);
}
.live-tv-banner strong {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
.live-tv-banner small {
  color: #cbd5e1;
  font-size: 0.75rem;
}

/* BREAKING TICKER */
.breaking-ticker {
  background: #1e1e24;
  color: #fff;
  border-bottom: 1px solid #2d2d38;
  overflow: hidden;
  height: 40px;
}
.ticker-container {
  display: flex;
  align-items: center;
  height: 100%;
}
.ticker-label {
  background: var(--primary-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  letter-spacing: 0.5px;
  z-index: 2;
}
.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  padding-left: 1.5rem;
  font-size: 0.875rem;
  color: #f1f5f9;
}
.ticker-content span {
  display: inline-block;
  animation: marquee 25s linear infinite;
  font-weight: 500;
}
.ticker-content:hover span {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* STICKY NAV */
.sticky-nav {
  position: sticky;
  top: 0;
  background: var(--navy-dark);
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }

.nav-item {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-item:hover, .nav-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--primary-red);
}
.nav-search-box {
  position: relative;
  width: 220px;
}
.nav-search-box input {
  width: 100%;
  padding: 0.45rem 2rem 0.45rem 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.825rem;
  outline: none;
}
.nav-search-box input::placeholder { color: #94a3b8; }
.nav-search-box i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.75rem 0;
  cursor: pointer;
}

/* MOBILE DRAWER */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: var(--navy-dark);
  z-index: 1000;
  transition: transform 0.3s ease;
  padding: 1.5rem 1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.mobile-drawer.open {
  transform: translateX(300px);
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}
.drawer-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
}
.drawer-menu {
  margin-top: 1rem;
  flex-grow: 1;
  overflow-y: auto;
}
.drawer-menu li {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-weight: 600;
}
.drawer-menu li:hover { color: var(--accent-gold); }
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}
.drawer-backdrop.open { display: block; }

/* ==========================================================================
   PAGE VIEWS & SECTIONS
   ========================================================================== */

/* SECTION TITLES */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70px;
  height: 3px;
  background: var(--primary-red);
}

/* LATEST NEWS HERO (24 HOURS) */
.hero-news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.hero-main-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.hero-main-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.hero-main-img-wrapper {
  position: relative;
  height: 360px;
  overflow: hidden;
}
.hero-main-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-main-card:hover img {
  transform: scale(1.04);
}
.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);
  line-height: 1.3;
  margin: 0.5rem 0;
}
.hero-card-desc {
  color: #475569;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--slate-muted);
  margin-top: 0.75rem;
}

.hero-side-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.news-mini-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}
.news-mini-card:hover {
  border-color: var(--primary-red);
  transform: translateX(3px);
}
.news-mini-img {
  width: 90px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.news-mini-content h4 {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CATEGORY NEWS GRID */
.news-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}
.news-standard-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-standard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.news-card-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}
.news-card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.35;
  margin: 0.4rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-snippet {
  font-size: 0.875rem;
  color: var(--slate-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

/* EXECUTIVE LEADERSHIP SPOTLIGHT (CEO & DIRECTOR) */
.leadership-section {
  background: linear-gradient(135deg, #0b1325 0%, #1e293b 100%);
  color: #fff;
  padding: 3rem 0;
  margin: 3rem 0;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.leadership-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.leadership-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.leadership-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
}
.leadership-header p {
  color: #cbd5e1;
  font-size: 0.95rem;
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.leader-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.leader-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}
.leader-img-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent-gold), var(--primary-red));
  margin-bottom: 1rem;
}
.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.leader-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.leader-role {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.leader-quote {
  font-style: italic;
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* PARTNER NETWORKS SECTION */
.partners-section {
  margin: 3rem 0;
  background: #fff;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.partner-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-red);
}
.partner-logo {
  height: 60px;
  width: 60px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  border: 2px solid #cbd5e1;
}
.partner-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-dark);
}
.partner-link-btn {
  font-size: 0.75rem;
  color: var(--primary-red);
  font-weight: 600;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* WRITERS & COLUMNISTS SECTION */
.writers-section {
  margin: 3rem 0;
}
.writers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.writer-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.writer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.writer-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--primary-red);
}
.writer-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
}
.writer-title {
  color: var(--slate-muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   IN-DETAIL NEWS ARTICLE VIEW
   ========================================================================== */

.article-detail-container {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
}
.article-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}
.article-headline {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.25;
  margin: 0.75rem 0;
}
.article-sub-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--slate-muted);
}
.article-share-buttons {
  display: flex;
  gap: 0.5rem;
}
.btn-share {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}
.btn-share.wa { background: #25d366; }
.btn-share.fb { background: #1877f2; }
.btn-share.tw { background: #000; }
.btn-share.cp { background: var(--slate-muted); }
.btn-share:hover { transform: scale(1.1); }

.article-hero-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #334155;
}
.article-body p {
  margin-bottom: 1.5rem;
}
.article-inline-gallery {
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.article-inline-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* RECOMMENDED NEWS SECTION AT BOTTOM OF ARTICLE */
.recommended-section {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}
.recommended-section h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   PAGES (ABOUT, CONTACT, FEEDBACK, TERMS)
   ========================================================================== */

.page-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-dark);
}
.form-control {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

/* RATING STARS */
.star-rating {
  display: flex;
  gap: 0.5rem;
  font-size: 1.75rem;
  color: #cbd5e1;
  cursor: pointer;
}
.star-rating i.active {
  color: var(--accent-gold);
}

/* ==========================================================================
   ADMIN PORTAL
   ========================================================================== */

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 80vh;
  background: #f1f5f9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
}

.admin-sidebar {
  background: var(--navy-dark);
  color: #fff;
  padding: 1.5rem 1rem;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.admin-brand img {
  height: 40px;
}
.admin-menu {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.admin-menu-item {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}
.admin-menu-item:hover, .admin-menu-item.active {
  background: var(--primary-red);
  color: #fff;
}

.admin-content {
  padding: 2rem;
  overflow-y: auto;
}
.admin-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}
.stat-icon.red { background: var(--primary-red); }
.stat-icon.blue { background: #2563eb; }
.stat-icon.green { background: #16a34a; }
.stat-icon.gold { background: var(--accent-gold); color: #000; }

.table-custom {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table-custom th, .table-custom td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}
.table-custom th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--navy-dark);
}

/* MODALS & TOASTS */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop.open { display: flex; }

.modal-card {
  background: #fff;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn 0.25s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}
.modal-body { padding: 1.5rem; }
.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  background: var(--navy-dark);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  animation: toastSlideIn 0.3s ease;
  border-left: 4px solid var(--accent-gold);
}
@keyframes toastSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
  background: var(--navy-dark);
  color: #94a3b8;
  padding-top: 3.5rem;
  border-top: 4px solid var(--primary-red);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.8fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  cursor: pointer;
}
.footer-logo {
  height: 50px;
}
.footer-brand h3 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
}
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.footer-socials {
  display: flex;
  gap: 0.5rem;
}
.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.footer-socials a:hover {
  background: var(--primary-red);
}

.footer-heading {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
}
.footer-heading::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--primary-red);
  margin-top: 0.35rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
}
.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.footer-contact-info i {
  color: var(--primary-red);
  margin-top: 0.2rem;
}

.input-group-custom {
  display: flex;
}
.footer-sub-input {
  flex-grow: 1;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
  font-size: 0.85rem;
}
.btn-sub-send {
  background: var(--primary-red);
  color: #fff;
  border: none;
  padding: 0 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
}

.footer-bottom {
  background: #060a14;
  padding: 1.25rem 0;
  font-size: 0.825rem;
  text-align: center;
  color: #64748b;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .hero-news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}

@media (max-width: 768px) {
  .top-bar-inner { justify-content: center; }
  .main-header-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .header-banner { display: none; }
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-headline { font-size: 1.75rem; }
}
