/*
Theme Name: Hazira News - חדשות הזירה
Theme URI: https://www.zat.co.il/
Author: Antigravity Digital
Author URI: https://dlions.co.il/
Description: תבנית פרימיום מודרנית, מקיפה, עשירה ומרהיבה עבור פורטל החדשות, המגזין, הנדל"ן והתוכן "חדשות הזירה" (www.zat.co.il). כוללת כיסוי מלא לכל קטגוריות האתר, התאמה מלאה ל-Google Discover, תקן נגישות ישראלי ת"י 5568 AA, מערכת ניהול עוגיות צפה, סקרי דעת קהל, לוח תוצאות ספורט חי, מתחמי ערים אינטראקטיביים וסכמות SEO עשירות.
Version: 3.5.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hazira-news
Tags: news, magazine, local-news, lifestyle, real-estate, rtl-language-support, accessibility-ready, custom-colors, custom-menu, featured-images, footer-widgets, grid-layout, one-column, two-columns, three-columns, right-sidebar
*/

/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand Core Colors */
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  --primary-gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  --primary-glow: rgba(29, 78, 216, 0.18);
  
  /* Category Accent Colors */
  --cat-news: #dc2626;         /* חדשות ומבזקים */
  --cat-beersheba: #2563eb;    /* באר שבע */
  --cat-kiryat-gat: #0284c7;   /* קריית גת */
  --cat-sderot: #d97706;       /* שדרות ועוטף */
  --cat-kiryat-malachi: #059669; /* קריית מלאכי */
  --cat-nadlan: #0d9488;       /* נדל"ן ותשתיות */
  --cat-law: #7c3aed;          /* משפט ועורכי דין */
  --cat-recommended: #b45309;  /* המומלצים - תוכן שיווקי */
  --cat-recipes: #ea580c;      /* מתכונים ואוכל */
  --cat-sports: #16a34a;       /* ספורט וכושר */
  --cat-health: #0891b2;       /* בריאות ואיכות חיים */
  --cat-tech: #4f46e5;         /* הייטק וסייבר */
  --cat-opinions: #9333ea;     /* דעות וטורים */
  --cat-auto: #475569;         /* רכב ותחבורה */
  --cat-education: #0284c7;    /* חינוך ואקדמיה */

  /* Neutral Surface Colors - Crisp, Light & Airy */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #f8fafc;
  --bg-dark-section: #0f172a;
  
  /* Text Shades */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  /* Borders & Dividers */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-hover: #cbd5e1;
  --border-glass: rgba(255, 255, 255, 0.2);
  
  /* Shadows & Elevations */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.06), 0 1px 3px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 18px -3px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 32px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-card-hover: 0 20px 40px -8px rgba(29, 78, 216, 0.14), 0 8px 16px -4px rgba(15, 23, 42, 0.05);
  --shadow-glow-red: 0 4px 16px rgba(220, 38, 38, 0.35);
  
  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Typography */
  --font-main: 'Heebo', 'Rubik', system-ui, -apple-system, sans-serif;
  --font-serif: 'Frank Ruhl Libre', serif;
  
  /* Layout */
  --container-max: 1340px;
  --header-height: 82px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-page);
  color: var(--text-body);
  font-weight: 400;
}

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

a:hover {
  color: var(--primary);
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

.hazira-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   TOP WEATHER & BREAKING UTILITY BAR
   ========================================================================== */
.top-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-muted);
  position: relative;
  z-index: 50;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  gap: 16px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.top-date-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-main);
}

.top-weather-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.weather-city-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-subtle);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-body);
}

.top-ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  overflow: hidden;
  padding: 0 10px;
}

.ticker-pulse-badge {
  background: var(--cat-news);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  animation: pulse-glow 2s infinite;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(1.03); }
}

.ticker-text-slider {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.red-hotline-btn {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
  transition: var(--transition);
}

.red-hotline-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.45);
}

.top-social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--bg-subtle);
  transition: var(--transition);
}

.top-social-icon:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: scale(1.1);
}

/* ==========================================================================
   MAIN SITE HEADER & MEGA BRANDING
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

/* Brand Logo */
.site-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-symbol-box {
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  color: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.3);
  letter-spacing: -0.5px;
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-main-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-main-title span {
  color: var(--primary);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline-text {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Primary Navigation Menu */
.primary-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.nav-menu-link:hover, .nav-menu-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-city-badge {
  font-size: 0.7rem;
  background: var(--bg-subtle);
  color: var(--text-muted);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: var(--transition);
}

.nav-menu-link:hover .nav-city-badge {
  background: var(--primary);
  color: #ffffff;
}

.header-tools-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 1.1rem;
  transition: var(--transition);
}

.icon-action-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: scale(1.05);
}

.mobile-drawer-toggle {
  display: none;
}

/* ==========================================================================
   MEGA ALL-CATEGORIES SUB-HEADER BAR (ALL 15 CATEGORIES)
   ========================================================================== */
.all-categories-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.all-categories-bar::-webkit-scrollbar {
  display: none;
}

.categories-pills-track {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.cat-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  background: var(--bg-subtle);
  color: var(--text-body);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.cat-pill-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

.cat-pill-item.pill-news { border-color: rgba(220, 38, 38, 0.2); color: var(--cat-news); }
.cat-pill-item.pill-news:hover { background: var(--cat-news); color: #ffffff; }

.cat-pill-item.pill-beersheba { border-color: rgba(37, 99, 235, 0.2); color: var(--cat-beersheba); }
.cat-pill-item.pill-beersheba:hover { background: var(--cat-beersheba); color: #ffffff; }

.cat-pill-item.pill-kiryat-gat { border-color: rgba(2, 132, 199, 0.2); color: var(--cat-kiryat-gat); }
.cat-pill-item.pill-kiryat-gat:hover { background: var(--cat-kiryat-gat); color: #ffffff; }

.cat-pill-item.pill-sderot { border-color: rgba(217, 119, 6, 0.2); color: var(--cat-sderot); }
.cat-pill-item.pill-sderot:hover { background: var(--cat-sderot); color: #ffffff; }

.cat-pill-item.pill-nadlan { border-color: rgba(13, 148, 136, 0.2); color: var(--cat-nadlan); }
.cat-pill-item.pill-nadlan:hover { background: var(--cat-nadlan); color: #ffffff; }

.cat-pill-item.pill-law { border-color: rgba(124, 58, 237, 0.2); color: var(--cat-law); }
.cat-pill-item.pill-law:hover { background: var(--cat-law); color: #ffffff; }

.cat-pill-item.pill-recommended { border-color: rgba(180, 83, 9, 0.2); color: var(--cat-recommended); }
.cat-pill-item.pill-recommended:hover { background: var(--cat-recommended); color: #ffffff; }

.cat-pill-item.pill-recipes { border-color: rgba(234, 88, 12, 0.2); color: var(--cat-recipes); }
.cat-pill-item.pill-recipes:hover { background: var(--cat-recipes); color: #ffffff; }

.cat-pill-item.pill-sports { border-color: rgba(22, 163, 74, 0.2); color: var(--cat-sports); }
.cat-pill-item.pill-sports:hover { background: var(--cat-sports); color: #ffffff; }

.cat-pill-item.pill-health { border-color: rgba(8, 145, 178, 0.2); color: var(--cat-health); }
.cat-pill-item.pill-health:hover { background: var(--cat-health); color: #ffffff; }

.cat-pill-item.pill-tech { border-color: rgba(79, 70, 229, 0.2); color: var(--cat-tech); }
.cat-pill-item.pill-tech:hover { background: var(--cat-tech); color: #ffffff; }

/* ==========================================================================
   HOMEPAGE: HERO 3-COLUMN MAGAZINE SECTION
   ========================================================================== */
.hero-magazine-row {
  padding: 24px 0 32px 0;
}

.hero-3col-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

/* Main Lead Card */
.lead-news-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.lead-news-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.lead-media-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
}

.lead-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.lead-news-card:hover .lead-media-box img {
  transform: scale(1.05);
}

.badge-tag-floating {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}

.badge-tag-red { background: var(--cat-news); }
.badge-tag-blue { background: var(--cat-beersheba); }
.badge-tag-emerald { background: var(--cat-sports); }
.badge-tag-amber { background: var(--cat-sderot); }
.badge-tag-purple { background: var(--cat-law); }
.badge-tag-teal { background: var(--cat-nadlan); }

.lead-body-box {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lead-news-title {
  font-size: 1.68rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.4px;
  transition: var(--transition);
}

.lead-news-card:hover .lead-news-title {
  color: var(--primary);
}

.lead-news-excerpt {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta-details {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.meta-point {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Secondary Column */
.secondary-news-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.secondary-news-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: var(--transition);
}

.secondary-news-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.secondary-media-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.secondary-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.secondary-news-card:hover .secondary-media-box img {
  transform: scale(1.05);
}

.secondary-body-box {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.secondary-news-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 8px;
  transition: var(--transition);
}

.secondary-news-card:hover .secondary-news-title {
  color: var(--primary);
}

/* Live Flash News Box (Column 3) */
.live-flash-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.live-flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.flash-title-wrap {
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.flash-ring-dot {
  width: 10px;
  height: 10px;
  background-color: var(--cat-news);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: pulse-ring 1.5s infinite;
}

.flash-scroll-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow-y: auto;
  max-height: 480px;
}

.flash-single-row {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flash-single-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.flash-time-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cat-news);
  display: flex;
  align-items: center;
  gap: 4px;
}

.flash-link-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  transition: var(--transition);
}

.flash-single-row:hover .flash-link-text {
  color: var(--primary);
}

/* ==========================================================================
   HOMEPAGE: SECTION HEADERS & STYLING
   ========================================================================== */
.section-block {
  padding: 38px 0;
}

.section-block.bg-white {
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-block.bg-subtle-tint {
  background-color: #f1f5f9;
}

.section-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.title-icon-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-vertical-bar {
  width: 5px;
  height: 30px;
  border-radius: var(--radius-pill);
}

.bar-news { background: var(--cat-news); }
.bar-beersheba { background: var(--cat-beersheba); }
.bar-kiryat-gat { background: var(--cat-kiryat-gat); }
.bar-sderot { background: var(--cat-sderot); }
.bar-nadlan { background: var(--cat-nadlan); }
.bar-law { background: var(--cat-law); }
.bar-recommended { background: var(--cat-recommended); }
.bar-recipes { background: var(--cat-recipes); }
.bar-sports { background: var(--cat-sports); }
.bar-health { background: var(--cat-health); }
.bar-tech { background: var(--cat-tech); }
.bar-opinions { background: var(--cat-opinions); }
.bar-auto { background: var(--cat-auto); }
.bar-education { background: var(--cat-education); }

.section-main-heading {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.section-sub-heading {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.section-view-all-btn {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary-light);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.section-view-all-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   HOMEPAGE: MULTI-CITY REGIONAL HUB (5 CITIES)
   ========================================================================== */
.five-cities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.city-hub-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.city-hub-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.city-card-topbar {
  padding: 10px 14px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.city-title-bold {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.city-hub-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.city-hub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.city-hub-card:hover .city-hub-thumb img {
  transform: scale(1.07);
}

.city-hub-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.city-headline-link {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
  transition: var(--transition);
}

.city-hub-card:hover .city-headline-link {
  color: var(--primary);
}

.city-quick-bullets {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.city-quick-bullets a {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
}

.city-quick-bullets a:hover {
  color: var(--primary);
}

/* ==========================================================================
   HOMEPAGE: 4-COLUMN & 3-COLUMN CARDS
   ========================================================================== */
.grid-cards-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.grid-cards-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-cards-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.magazine-post-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.mag-thumb-holder {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
}

.mag-thumb-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.magazine-post-card:hover .mag-thumb-holder img {
  transform: scale(1.05);
}

.mag-body-holder {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mag-post-title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 10px;
  transition: var(--transition);
}

.magazine-post-card:hover .mag-post-title {
  color: var(--primary);
}

.mag-post-excerpt {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   HOMEPAGE: VIP / המומלצים (SPONSORED & CONSUMER)
   ========================================================================== */
.vip-sponsored-section {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 36px 0;
}

.vip-badge-tag {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vip-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #fde68a;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.1);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.vip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(217, 119, 6, 0.18);
}

/* ==========================================================================
   HOMEPAGE: LEGAL & LAWYERS EXPERT STRIP
   ========================================================================== */
.legal-experts-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 26px;
}

.law-cards-4grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.law-single-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: var(--transition);
}

.law-single-card:hover {
  border-color: var(--cat-law);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.law-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  color: var(--cat-law);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.law-ask-box {
  background: linear-gradient(135deg, #2e1065 0%, #4c1d95 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.law-ask-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

/* ==========================================================================
   HOMEPAGE: SPORTS SCOREBOARD & NEWS
   ========================================================================== */
.sports-score-banner {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.match-item-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
}

.match-score-badge {
  background: var(--cat-sports);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 800;
}

/* ==========================================================================
   HOMEPAGE: OPINIONS & COLUMNISTS
   ========================================================================== */
.columnists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.columnist-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.columnist-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: var(--cat-opinions);
}

.columnist-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(147, 51, 234, 0.2);
  margin-bottom: 12px;
}

.columnist-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
}

.columnist-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.columnist-quote {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  margin-top: auto;
}

/* ==========================================================================
   HOMEPAGE: INTERACTIVE POLL WIDGET & VIDEO
   ========================================================================== */
.poll-and-video-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 26px;
}

.interactive-poll-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.poll-option-btn {
  width: 100%;
  text-align: right;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.poll-option-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.video-showcase-box {
  background: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.8);
  cursor: pointer;
  transition: var(--transition);
}

.video-play-btn-circle:hover {
  transform: scale(1.12);
}

/* ==========================================================================
   HOMEPAGE: HOTLINE CALLOUT ("שלח ידיעה אדומה")
   ========================================================================== */
.hotline-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hotline-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hotline-text-group {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hotline-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cat-news);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hotline-title {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #ffffff;
}

.hotline-desc {
  font-size: 1rem;
  color: #cbd5e1;
}

.hotline-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.btn-whatsapp-hotline {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-whatsapp-hotline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  background: #20ba59;
}

.btn-form-hotline {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-form-hotline:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* ==========================================================================
   CATEGORY & ARCHIVE PAGES
   ========================================================================== */
.archive-header-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 36px 0 28px 0;
  margin-bottom: 30px;
}

.archive-breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.archive-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 8px;
}

.archive-description {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 800px;
}

.archive-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
}

.archive-posts-stream {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pagination-wrapper {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}

.page-numbers:hover, .page-numbers.current {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   SINGLE ARTICLE PAGE
   ========================================================================== */
.single-reading-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, #2563eb, #dc2626);
  z-index: 999;
  transition: width 0.1s ease;
}

.single-article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  padding: 30px 0 50px 0;
}

.article-main-container {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}

.article-header {
  margin-bottom: 24px;
}

.article-category-badge {
  display: inline-block;
  margin-bottom: 14px;
}

.article-headline {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.article-lead-paragraph {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 20px;
  border-right: 4px solid var(--primary);
  padding-right: 14px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.author-meta-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name-bold {
  font-weight: 700;
  color: var(--text-main);
}

.article-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.font-size-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 4px 10px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.font-size-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.article-featured-media {
  margin-bottom: 28px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-featured-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-credit-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 6px 10px;
  background: var(--bg-subtle);
  text-align: left;
  direction: ltr;
}

.article-content {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-main);
}

/* ==========================================================================
   SUPER PROMINENT ANCHOR TEXT LINK STYLING (SEO & UX)
   ========================================================================== */
.article-content a,
.article-main-container .article-content a {
  color: #1d4ed8 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: #2563eb !important;
  text-decoration-thickness: 2.5px !important;
  text-underline-offset: 4px !important;
  background: rgba(37, 99, 235, 0.08) !important;
  padding: 1px 7px !important;
  margin: 0 1px !important;
  border-radius: 4px !important;
  display: inline !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.article-content a:hover,
.article-main-container .article-content a:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-1px);
}

.article-content p {
  margin-bottom: 20px;
}

.article-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 32px 0 16px 0;
  color: var(--text-main);
  position: relative;
  padding-right: 12px;
  border-right: 4px solid var(--primary);
}

.article-content blockquote {
  background: var(--primary-light);
  border-right: 5px solid var(--primary);
  padding: 20px 24px;
  margin: 26px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
}

.key-takeaways-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 28px 0;
}

.key-takeaways-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.key-takeaways-box ul {
  margin: 0;
  list-style: none;
}

.key-takeaways-box li {
  position: relative;
  padding-right: 20px;
  margin-bottom: 8px;
  color: #14532d;
  font-weight: 500;
}

.key-takeaways-box li::before {
  content: '✔';
  position: absolute;
  right: 0;
  color: #16a34a;
  font-weight: bold;
}

.share-bar-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  margin: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff !important;
  transition: var(--transition);
}

.share-btn-wa { background: #25d366; }
.share-btn-fb { background: #1877f2; }
.share-btn-tg { background: #229ed9; }
.share-btn-x  { background: #000000; }
.share-btn-copy { background: #475569; }

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  opacity: 0.92;
}

.author-bio-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 36px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.author-bio-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ==========================================================================
   SIDEBAR WIDGETS
   ========================================================================== */
.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.sidebar-widget {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.widget-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.trending-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.trending-number {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-light);
  line-height: 1;
  min-width: 24px;
}

.trending-item:hover .trending-number {
  color: var(--primary);
}

.trending-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  transition: var(--transition);
}

.trending-item:hover .trending-text {
  color: var(--primary);
}

.newsletter-widget-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.newsletter-widget-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.newsletter-widget-card p {
  font-size: 0.88rem;
  color: #3b82f6;
  margin-bottom: 16px;
}

.newsletter-input-group {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid #93c5fd;
  background: #ffffff;
  font-size: 0.9rem;
}

.newsletter-btn {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: var(--primary-hover);
}

/* ==========================================================================
   SITE FOOTER & MANDATORY LINKS
   ========================================================================== */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding-top: 50px;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1e293b;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
}

.footer-logo span {
  color: #3b82f6;
}

.footer-about-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-widget-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-pill);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-links-list a {
  color: #94a3b8;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

.footer-bottom-bar {
  background-color: #090d16;
  padding: 20px 0;
  font-size: 0.88rem;
  border-top: 1px solid #1e293b;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-credits-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.mandatory-credit-link {
  color: #cbd5e1;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
}

.mandatory-credit-link:hover {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   FLOATING BUTTONS: ACCESSIBILITY & COOKIE CONSENT
   ========================================================================== */
.floating-actions-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99999;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  border: 2px solid #ffffff;
}

.floating-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.floating-btn-a11y {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 1.4rem;
}

.floating-btn-cookie {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 1.4rem;
}

.a11y-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.a11y-modal-backdrop.active {
  display: flex;
}

.a11y-modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  animation: modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.a11y-modal-header {
  padding: 20px 24px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.a11y-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.a11y-close-btn {
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
}

.a11y-modal-body {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.a11y-action-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.a11y-action-btn:hover, .a11y-action-btn.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.a11y-modal-footer {
  padding: 16px 24px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.a11y-reset-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cat-news);
}

/* Accessibility state classes */
body.a11y-high-contrast {
  filter: contrast(150%);
  background-color: #000000 !important;
  color: #ffffff !important;
}

body.a11y-high-contrast * {
  border-color: #ffffff !important;
}

body.a11y-grayscale {
  filter: grayscale(100%);
}

body.a11y-large-text {
  font-size: 19px !important;
}

body.a11y-readable-font {
  font-family: Arial, sans-serif !important;
}

body.a11y-highlight-links a {
  text-decoration: underline !important;
  background-color: #fef08a !important;
  color: #000000 !important;
  font-weight: bold !important;
}

body.a11y-stop-animations * {
  animation: none !important;
  transition: none !important;
}

/* Cookie Floating Banner */
.cookie-banner-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  width: calc(100% - 48px);
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  z-index: 99998;
  display: none;
  animation: slide-up 0.35s ease;
}

.cookie-banner-popup.active {
  display: block;
}

@keyframes slide-up {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.cookie-banner-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 16px;
}

.cookie-buttons-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-btn-accept {
  flex: 1;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--transition);
}

.cookie-btn-accept:hover {
  background: var(--primary-hover);
}

.cookie-btn-decline {
  background: var(--bg-subtle);
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

/* Search Modal */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  z-index: 100000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.search-modal-backdrop.active {
  display: flex;
}

.search-modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 90%;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-subtle);
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
}

.search-input-field {
  flex: 1;
  background: transparent;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-3col-grid {
    grid-template-columns: 1.6fr 1fr;
  }
  .live-flash-card {
    grid-column: span 2;
  }
  .five-cities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-cards-4col, .columnists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .legal-experts-grid, .poll-and-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .primary-nav-menu {
    display: none;
  }
  .mobile-drawer-toggle {
    display: flex;
  }
  .top-ticker-wrapper {
    display: none;
  }
  .hero-3col-grid {
    grid-template-columns: 1fr;
  }
  .live-flash-card {
    grid-column: span 1;
  }
  .five-cities-grid, .grid-cards-3col {
    grid-template-columns: repeat(2, 1fr);
  }
  .law-cards-4grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .archive-layout, .single-article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .five-cities-grid, .grid-cards-4col, .grid-cards-3col, .grid-cards-2col, .columnists-grid, .archive-posts-stream {
    grid-template-columns: 1fr;
  }
  .article-headline {
    font-size: 1.85rem;
  }
  .article-main-container {
    padding: 20px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-credits-links {
    justify-content: center;
  }
  .hotline-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .hotline-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-whatsapp-hotline, .btn-form-hotline {
    width: 100%;
    justify-content: center;
  }
}
