/* ===== CSS Variables ===== */
:root {
  --navy-darkest: #0B1929;
  --navy-dark: #122240;
  --navy: #152A4A;
  --navy-light: #1E3A5F;
  --gold: #E8B824;
  --gold-light: #F0CC50;
  --gold-dark: #C49A1C;
  --gold-muted: #D4A91780;
  --white: #FFFFFF;
  --gray-100: #F7F8FA;
  --gray-200: #E8ECF0;
  --gray-300: #CDD4DC;
  --gray-400: #9AA5B4;
  --gray-600: #5A6577;
  --gray-800: #2D3748;
  --bg-primary: #F5F6F8;
  --bg-section-alt: #EEF0F4;
  --shadow-sm: 0 2px 8px rgba(11,25,41,0.08);
  --shadow-md: 0 4px 20px rgba(11,25,41,0.12);
  --shadow-lg: 0 8px 40px rgba(11,25,41,0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  background-color: var(--bg-primary);
  color: var(--gray-800);
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
}

[dir="rtl"] body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

main.spa-transition-out {
  opacity: 0.35;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

main.spa-transition-in {
  animation: spaFadeIn 0.22s ease;
}

@keyframes spaFadeIn {
  from { opacity: 0.6; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-darkest);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232,184,36,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--navy-darkest);
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact {
  display: flex;
  gap: 20px;
  color: var(--gray-300);
}

.top-contact i {
  color: var(--gold);
  margin-left: 6px;
}

.top-social {
  display: flex;
  gap: 12px;
}

.top-social a {
  color: var(--gray-300);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}

.top-social a:hover {
  color: var(--gold);
  background: rgba(232,184,36,0.15);
}

/* ===== Main Nav ===== */
.main-nav {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 55px;
  width: auto;
  border-radius: 50%;
}

.logo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-text-ar {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 800;
}

.logo-text-en {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 3px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.lang-switcher .lang-btn {
  border: 1px solid rgba(232,184,36,0.35);
  color: var(--gold);
  padding: 7px 12px;
  font-size: 0.85rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--gray-200);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(232,184,36,0.1);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 50%;
  transform: translateX(50%);
  width: 30px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

[dir="ltr"] .nav-links a.active::after {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy) 50%, var(--navy-light) 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232,184,36,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232,184,36,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 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='%23e8b824' fill-opacity='0.03'%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");
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(420px, 540px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  direction: ltr;
}

.hero-text {
  direction: rtl;
  text-align: right;
}

[dir="ltr"] .hero-text {
  direction: ltr;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  background: rgba(232,184,36,0.15);
  color: var(--gold);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(232,184,36,0.3);
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 8px;
  font-weight: 300;
  margin-bottom: 24px;
}

.hero-desc {
  color: var(--gray-300);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 0 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ─── Hero Map Card ─── */
.hero-map {
  display: flex;
  justify-content: flex-start;
}

.hero-map-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  width: 100%;
  max-width: 540px;
  box-shadow: none;
}

.hero-map-svg {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 8;
}

.hero-map-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-gov-path {
  stroke: rgba(255,255,255,0.2);
  stroke-width: 0.9;
  stroke-linejoin: round;
  transition: all 0.2s ease;
}

.hero-gov-active {
  fill: rgba(232,184,36,0.92);
  fill-opacity: 0.92;
  stroke: var(--gold-light);
  stroke-width: 1.2;
  filter: url(#heroGlow);
  animation: heroGovPulse 2.8s ease-in-out infinite;
}

.hero-gov-hover {
  transform: translateY(-1px);
  stroke: rgba(255,255,255,0.75);
  stroke-width: 1.4;
}

.hero-gov-selected {
  stroke: #ffffff;
  stroke-width: 2;
}

.hero-gov-inactive {
  fill: rgba(19,43,72,0.78);
  fill-opacity: 0.78;
  stroke: rgba(255,255,255,0.12);
}

.hero-map-tip {
  position: absolute;
  pointer-events: none;
  background: rgba(3, 11, 26, 0.88);
  color: #fff;
  border: 1px solid rgba(232,184,36,0.4);
  border-radius: 12px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 4;
}

.hero-map-tip .tip-active {
  color: var(--gold);
  margin-right: 6px;
  font-size: 0.72rem;
}

@keyframes heroGovPulse {
  0%, 100% { fill-opacity: 0.9; }
  50% { fill-opacity: 1; }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-section-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  background: rgba(232,184,36,0.12);
  color: var(--gold-dark);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 800;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 auto 16px;
  border-radius: 2px;
}

.section-divider-start {
  margin-right: 0;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ===== Stats ===== */
.stats-section {
  background: var(--navy);
  padding: 50px 0;
  margin-top: -1px;
  overflow-x: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  text-align: center;
  padding: 24px 12px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(232,184,36,0.15);
  transition: all var(--transition);
  min-width: 0;
}

.stats-section .stat-card:hover {
  background: rgba(232,184,36,0.1);
  transform: translateY(-4px);
}

.about-stats .stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.about-stats .stat-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 4px;
  line-height: 1.2;
}

.stats-section .stat-value { color: var(--gold); }
.about-stats .stat-value { color: var(--navy); }

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-300);
  font-weight: 500;
}

.about-stats .stat-label { color: var(--gray-600); }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-darkest);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 700;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-link {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.card-link:hover {
  color: var(--navy);
  gap: 10px;
}

/* ===== Services Detail (Services Page) ===== */
.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-detail-card {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.service-detail-card.reverse {
  flex-direction: row-reverse;
}

.service-detail-icon {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--gold);
}

.service-detail-content h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-detail-content p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-800);
  font-size: 0.95rem;
}

.service-features li i {
  color: var(--gold);
  font-size: 0.85rem;
}

/* ===== Projects ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gold);
}

.project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-current {
  background: var(--gold);
  color: var(--navy-darkest);
}

.badge-upcoming {
  background: var(--navy);
  color: var(--gold);
  border: 1px solid var(--gold-muted);
}

.project-body {
  padding: 24px;
}

.project-body h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 700;
}

.project-body p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== Posts / Newspaper ===== */
.newspaper-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 25px;
  background: var(--white);
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--gray-200);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-media {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.post-card:hover .post-media img {
  transform: scale(1.05);
}

.post-video-thumb,
.post-text-thumb,
.post-circular-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  font-size: 0.85rem;
  color: var(--gold);
}

.post-video-thumb {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.post-video-thumb i { font-size: 3rem; }

.post-text-thumb {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.post-text-thumb i { font-size: 2.5rem; }

.post-circular-thumb {
  background: linear-gradient(135deg, #1b2838, #234);
}

.post-circular-thumb i { font-size: 2.5rem; }

.post-body {
  padding: 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.post-type-badge {
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.post-type-text {
  background: rgba(21,42,74,0.1);
  color: var(--navy);
}

.post-type-image {
  background: rgba(232,184,36,0.15);
  color: var(--gold-dark);
}

.post-type-video {
  background: rgba(220,38,38,0.1);
  color: #dc2626;
}

.post-type-circular {
  background: rgba(34,197,94,0.1);
  color: #16a34a;
}

.post-date {
  font-size: 0.8rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-body h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.5;
}

.post-body h3 a:hover {
  color: var(--gold-dark);
}

.post-excerpt {
  color: var(--gray-600);
  font-size: 0.88rem;
  margin-bottom: 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

.post-views {
  font-size: 0.8rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== Post Detail ===== */
.post-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.post-detail {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.post-detail-header {
  margin-bottom: 30px;
}

.post-detail-header h1 {
  font-size: 1.8rem;
  color: var(--navy);
  margin: 12px 0;
  line-height: 1.5;
}

.post-detail-meta {
  display: flex;
  gap: 20px;
  color: var(--gray-400);
  font-size: 0.9rem;
}

.post-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-detail-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 30px;
}

.post-detail-media img {
  width: 100%;
  border-radius: var(--radius-md);
}

.post-detail-video video {
  width: 100%;
  border-radius: var(--radius-md);
}

.post-detail-content {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--gray-800);
  margin-bottom: 30px;
}

.post-detail-share {
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.post-detail-share h4 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 0.95rem;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  color: var(--white);
}

.share-facebook { background: #1877F2; }
.share-whatsapp { background: #25D366; }
.share-x { background: #000; }
.share-linkedin { background: #0A66C2; }
.share-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-copy { background: var(--navy); }

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ===== Sidebar ===== */
.post-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.sidebar-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.sidebar-post:last-child { border-bottom: none; }

.sidebar-post:hover {
  padding-right: 8px;
}

.sidebar-post-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.sidebar-post-info h4 {
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.4;
}

.sidebar-post-info span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ===== Page Banner ===== */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, var(--navy-darkest), var(--navy));
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}

.page-banner-sm { padding: 60px 0 40px; }

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e8b824' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-400);
  position: relative;
}

.breadcrumb a {
  color: var(--gold);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.9;
}

.about-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--gold);
}

.about-placeholder {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--gold);
}

.about-placeholder i { font-size: 4rem; }
.about-placeholder span { font-size: 0.9rem; color: var(--gray-300); }

/* ===== Vision ===== */
.about-vision {
  background: linear-gradient(135deg, var(--navy-darkest), var(--navy));
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.vision-card {
  text-align: center;
  padding: 40px 30px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(232,184,36,0.15);
  transition: all var(--transition);
}

.vision-card:hover {
  background: rgba(232,184,36,0.08);
  transform: translateY(-4px);
}

.vision-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(232,184,36,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
}

.vision-card h3 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.vision-card p {
  color: var(--gray-300);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-right: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 40px 40px 0;
}

.timeline-marker {
  position: absolute;
  right: -8px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 3px var(--gold);
}

.timeline-content {
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.timeline-content h4 {
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
}

.timeline-content p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-section h2,
.contact-form-section h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: var(--gold);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}

.contact-card h4 {
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-card p {
  color: var(--gray-600);
  font-size: 0.88rem;
  line-height: 1.6;
}

.contact-social {
  margin-top: 30px;
}

.contact-social h4 {
  color: var(--navy);
  margin-bottom: 12px;
}

.social-links-large {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
}

.social-link-lg:hover {
  background: var(--gold);
  color: var(--navy-darkest);
}

/* ===== Form ===== */
.contact-form {
  margin-top: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,184,36,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy-darkest), var(--navy));
  padding: 60px 0;
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta-content p {
  color: var(--gray-300);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
  grid-column: 1 / -1;
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--gray-300);
}

/* ===== Error Page ===== */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  opacity: 0.15;
}

.error-content h1 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.error-content p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

/* ===== Footer ===== */
.main-footer {
  background: var(--navy-darkest);
  color: var(--gray-300);
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.footer-logo h3 {
  color: var(--gold);
  font-size: 1.1rem;
}

.footer-logo p {
  color: var(--gray-400);
  font-size: 0.75rem;
  letter-spacing: 3px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--gray-400);
}

.footer-col h4 {
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(232,184,36,0.2);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--gray-400);
  font-size: 0.88rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a::before {
  content: '‹';
  color: var(--gold);
  font-weight: bold;
}

.footer-col ul a:hover {
  color: var(--gold);
  padding-right: 4px;
}

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--gray-400);
}

.footer-contact-info i {
  color: var(--gold);
  width: 16px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(232,184,36,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all var(--transition);
  border: 1px solid rgba(232,184,36,0.2);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-darkest);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ===== Scroll Top Button ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-darkest);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero-split { grid-template-columns: 1fr; gap: 30px; }
  .hero-text { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-map { justify-content: center; }
  .hero-map-card { max-width: 460px; margin: 0 auto; }
  .hero-text { order: 1; }
  .hero-map { order: 2; }
  .hero h1 { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.1rem; letter-spacing: 5px; }
  .about-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .post-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-card,
  .service-detail-card.reverse { flex-direction: column; text-align: center; }
  .service-detail-icon { width: 90px; height: 90px; font-size: 2rem; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .hero { min-height: auto; }
  .container { padding-left: 16px; padding-right: 16px; }
  .stats-grid { gap: 20px; }
  .stat-card { padding: 20px 16px; }
  .stat-value { font-size: 1.8rem; }
  .hero h1 { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-map-card { max-width: 360px; }
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .page-banner { padding: 60px 0 40px; }
  .page-banner h1 { font-size: 1.6rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .mobile-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 2px solid var(--gold);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav-links a.active::after { display: none; }

  .post-detail { padding: 24px; }
  .post-detail-header h1 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.9rem; letter-spacing: 3px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 16px 8px; }
  .stat-value { font-size: 1.4rem; white-space: normal; overflow: visible; text-overflow: unset; }
  .stat-icon { font-size: 1.5rem; margin-bottom: 8px; }
  .stat-label { font-size: 0.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .newspaper-filters { gap: 6px; }
  .filter-btn { padding: 6px 14px; font-size: 0.8rem; }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

/* ===== Syria Map ===== */
.map-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid rgba(0,0,0,0.1);
}

.legend-active { background: var(--gold); }
.legend-inactive { background: var(--navy-light); }

.map-container {
  max-width: 800px;
  margin: 0 auto;
}

.map-wrapper {
  position: relative;
  background: linear-gradient(135deg, var(--navy-darkest), var(--navy));
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold-muted);
  overflow: hidden;
}

.map-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e8b824' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

#syriaMapD3 {
  width: 100%;
  position: relative;
  z-index: 2;
}

#syriaMap {
  width: 100%;
  height: auto;
  display: block;
}

.gov-path {
  stroke: rgba(255,255,255,0.3);
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: all 0.35s ease;
}

.gov-active {
  fill: var(--gold);
  fill-opacity: 0.85;
  stroke: var(--gold-light);
  stroke-width: 2;
}

.gov-active:hover {
  fill-opacity: 1;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(232,184,36,0.5));
  transform-origin: center;
}

.gov-inactive {
  fill: var(--navy-light);
  fill-opacity: 0.5;
  stroke: rgba(255,255,255,0.15);
}

.gov-inactive:hover {
  fill-opacity: 0.7;
  stroke: rgba(255,255,255,0.3);
}

.gov-focused {
  animation: mapPulse 0.6s ease 3;
}

@keyframes mapPulse {
  0%, 100% { fill-opacity: 0.85; }
  50% { fill-opacity: 1; filter: drop-shadow(0 0 12px rgba(232,184,36,0.7)); }
}

.gov-label {
  font-size: 11px;
  fill: var(--white);
  pointer-events: none;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.gov-label-sm {
  font-size: 8px;
}

.gov-label-xs {
  font-size: 6px;
}

.map-tooltip {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
  min-width: 140px;
  text-align: center;
}

.map-tooltip.visible { opacity: 1; }

.map-tooltip h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.tooltip-active {
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.tooltip-inactive {
  color: var(--gray-400);
  font-size: 0.8rem;
}

.tooltip-detail {
  color: var(--gray-600);
  font-size: 0.78rem;
  margin-top: 4px;
  margin-bottom: 0;
}

/* ===== Coverage Tabs & Panels ===== */
.coverage-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.coverage-tab {
  padding: 10px 22px;
  border-radius: 25px;
  background: var(--white);
  color: var(--gray-600);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid var(--gray-200);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.coverage-tab:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.coverage-tab.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.coverage-tab i { font-size: 0.8rem; }

.coverage-panel {
  display: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  margin-bottom: 24px;
  animation: fadeInUp 0.4s ease;
}

.coverage-panel.active { display: block; }

.coverage-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
}

.coverage-panel-header h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.coverage-panel-header h3 i { color: var(--gold); }

.coverage-panel-header p {
  font-size: 0.85rem;
  color: var(--gray-300);
}

.coverage-panel-badge {
  background: rgba(232,184,36,0.15);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.coverage-table {
  width: 100%;
  border-collapse: collapse;
}

.coverage-table th {
  background: var(--gray-50);
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 14px 20px;
  text-align: right;
  border-bottom: 2px solid var(--gray-200);
}

.coverage-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

.coverage-table tbody tr:hover {
  background: var(--gray-50);
}

.area-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.area-name i {
  color: var(--gold);
  font-size: 0.8rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.service-tag i { font-size: 0.65rem; }

.service-tag-active {
  background: rgba(16,185,129,0.1);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.2);
}

.service-tag-upcoming {
  background: rgba(245,158,11,0.1);
  color: #D97706;
  border: 1px solid rgba(245,158,11,0.2);
}

.no-upcoming {
  color: var(--gray-300);
  font-size: 0.85rem;
}

/* ─── Circulars - التعاميم العاجلة ─── */
.circulars-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 40px 0;
  margin-bottom: 0;
}

.circulars-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.circulars-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}

.circulars-title i {
  font-size: 1.5rem;
  animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

.circulars-title h2 {
  font-size: 1.4rem;
  margin: 0;
  color: var(--white);
}

.circulars-count {
  background: rgba(232,184,36,0.15);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.circulars-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.circular-card {
  display: flex;
  gap: 20px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: 24px;
  border-right: 5px solid transparent;
  transition: all 0.3s ease;
}

.circular-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateX(-4px);
}

.circular-critical { border-right-color: #e74c3c; }
.circular-warning { border-right-color: #f39c12; }
.circular-info { border-right-color: #3498db; }

.circular-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.circular-critical .circular-icon { background: rgba(231,76,60,0.15); color: #e74c3c; }
.circular-warning .circular-icon { background: rgba(243,156,18,0.15); color: #f39c12; }
.circular-info .circular-icon { background: rgba(52,152,219,0.15); color: #3498db; }

.circular-body { flex: 1; }

.circular-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.circular-severity-badge, .circular-type-badge {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.severity-critical { background: rgba(231,76,60,0.2); color: #e74c3c; }
.severity-warning { background: rgba(243,156,18,0.2); color: #f39c12; }
.severity-info { background: rgba(52,152,219,0.2); color: #3498db; }

.circular-type-badge { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }

.circular-date { color: rgba(255,255,255,0.5); font-size: 0.8rem; }

.circular-title {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0 0 8px;
  font-weight: 700;
}

.circular-excerpt {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 12px;
}

.circular-areas {
  margin-bottom: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.circular-areas strong { color: rgba(255,255,255,0.85); }

.circular-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.circular-area-tag {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 0.78rem;
}

.circular-times {
  display: flex;
  gap: 20px;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.circular-times i { margin-left: 4px; }

/* ─── Home Page Circulars Banner ─── */
.home-circulars-banner {
  background: linear-gradient(135deg, #b71c1c 0%, #c62828 50%, #d32f2f 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.home-circulars-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.05) 10px,
    rgba(0,0,0,0.05) 20px
  );
  pointer-events: none;
}

.home-circulars-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  position: relative;
  z-index: 1;
}

.home-circulars-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.2rem;
  animation: pulseIcon 1.5s infinite;
}

.home-circulars-content {
  flex: 1;
}

.home-circulars-content h3 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 6px;
  font-weight: 700;
}

.home-circulars-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-circular-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  flex-wrap: wrap;
}

.home-circular-badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.home-circular-text { font-weight: 500; }

.home-circular-areas {
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
}

.home-circulars-link {
  color: #fff;
  background: rgba(255,255,255,0.15);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s;
}

.home-circulars-link:hover { background: rgba(255,255,255,0.25); }

@media (max-width: 768px) {
  .map-wrapper { padding: 15px; }
  .gov-label { font-size: 8px; }
  .gov-label-sm { font-size: 6px; }
  .gov-label-xs { font-size: 5px; }
  .coverage-panel-header { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }
  .coverage-table th, .coverage-table td { padding: 10px 12px; font-size: 0.82rem; }
  .map-legend { gap: 16px; }
  .circulars-header { flex-direction: column; gap: 10px; text-align: center; }
  .circular-card { flex-direction: column; gap: 12px; padding: 16px; }
  .circular-icon { width: 40px; height: 40px; }
  .circular-times { flex-direction: column; gap: 6px; }
  .home-circulars-wrapper { flex-direction: column; text-align: center; padding: 16px 0; }
  .home-circular-item { justify-content: center; }
}
