/*
Theme Name: Holes In The Net - Flagship News Theme
Theme URI: https://holesinthenet.co.il/
Author: Holes In The Net Team
Author URI: https://holesinthenet.co.il/
Description: תבנית חדשות ומגזין פרימיום לחורים ברשת. מותאמת ב-100% ל-Google Discover, עם מהירות של 95+ ב-Core Web Vitals, תמיכה מלאה בתקן נגישות ישראלי ת"י 5568 (AA), סכמת NewsArticle אוטומטית (E-E-A-T), גריד 16:9 רחב, סליידר מתחלף של המאמרים האחרונים, ו-8 מדורים ייחודיים.
Version: 1.0.1
Requires at least: 6.2
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: holesinthenet
Domain Path: /languages
Tags: news, magazine, rtl-language-support, accessibility-ready, custom-colors, featured-images, custom-menu, sticky-post, threaded-comments, translation-ready, wide-blocks
*/


/* ==========================================================================
   Holes In The Net - Complete Standalone CSS Engine
   Production-Ready with Zero External Dependencies
   ========================================================================== */

/* 1. CSS Custom Properties / Design Tokens */
:root {
  --font-sans: 'Heebo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-canvas: #F8F9FA;
  --color-card: #FFFFFF;
  --color-text-main: #111827;
  --color-text-secondary: #4B5563;
  --color-text-muted: #6B7280;
  --color-primary: #1E40AF;
  --color-primary-hover: #1D4ED8;
  --color-breaking: #E11D48;
  --color-viral: #F43F5E;
  --color-border: #E5E7EB;
  --max-width: 1280px;
}

/* 2. Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  background-color: var(--color-canvas);
  color: var(--color-text-main);
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
  background-color: var(--color-canvas);
  color: var(--color-text-main);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

/* 3. Layout Containers */
.container, .max-w-7xl {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-56 { width: 14rem; }
.w-72 { width: 18rem; }

.h-full { height: 100%; }
.h-auto { height: auto; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }
.min-h-\[400px\] { min-height: 400px; }

/* 4. Flexbox & Grid Utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-8 { grid-column: span 8 / span 8; }
.col-span-12 { grid-column: span 12 / span 12; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

/* 5. Spacing (Paddings & Margins) */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-3 { padding-right: 0.75rem; }
.pr-3\.5 { padding-right: 0.875rem; }
.pr-4 { padding-right: 1rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-4 { padding-left: 1rem; }
.pl-9 { padding-left: 2.25rem; }

.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }

/* 6. Backgrounds & Colors */
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #F9FAFB; }
.bg-gray-50\/80 { background-color: rgba(249, 250, 251, 0.8); }
.bg-gray-50\/95 { background-color: rgba(249, 250, 251, 0.95); }
.bg-gray-100 { background-color: #F3F4F6; }
.bg-gray-200 { background-color: #E5E7EB; }
.bg-gray-700 { background-color: #374151; }
.bg-gray-800 { background-color: #1F2937; }
.bg-gray-800\/40 { background-color: rgba(31, 41, 55, 0.4); }
.bg-gray-900 { background-color: #111827; }
.bg-gray-900\/50 { background-color: rgba(17, 24, 39, 0.5); }
.bg-gray-900\/60 { background-color: rgba(17, 24, 39, 0.6); }
.bg-gray-900\/80 { background-color: rgba(17, 24, 39, 0.8); }
.bg-gray-950 { background-color: #030712; }
.bg-\[\#0B0F19\] { background-color: #0B0F19; }
.bg-\[\#F8F9FA\] { background-color: #F8F9FA; }
.bg-\[\#1E40AF\] { background-color: #1E40AF; }
.bg-\[\#E11D48\] { background-color: #E11D48; }

.bg-blue-50 { background-color: #EFF6FF; }
.bg-blue-100 { background-color: #DBEAFE; }
.bg-blue-600 { background-color: #2563EB; }
.bg-blue-700 { background-color: #1D4ED8; }
.bg-blue-800 { background-color: #1E40AF; }

.bg-rose-50 { background-color: #FFF1F2; }
.bg-rose-50\/70 { background-color: rgba(255, 241, 242, 0.7); }
.bg-rose-100 { background-color: #FFE4E6; }
.bg-rose-600 { background-color: #E11D48; }

.bg-emerald-50 { background-color: #ECFDF5; }
.bg-emerald-600 { background-color: #059669; }
.bg-emerald-700 { background-color: #047857; }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }
.bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
.bg-black\/80 { background-color: rgba(0, 0, 0, 0.8); }

.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops, rgba(0,0,0,0.8), transparent)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops, rgba(0,0,0,0.8), transparent)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }

.from-\[\#1E40AF\] { --tw-gradient-from: #1E40AF; --tw-gradient-stops: #1E40AF, var(--tw-gradient-to, rgba(30, 64, 175, 0)); }
.to-blue-700 { --tw-gradient-to: #1D4ED8; }
.from-gray-950 { --tw-gradient-from: #030712; --tw-gradient-stops: #030712, var(--tw-gradient-to, rgba(3, 7, 18, 0)); }
.to-transparent { --tw-gradient-to: transparent; }

/* 7. Typography */
.text-white { color: #ffffff; }
.text-gray-100 { color: #F3F4F6; }
.text-gray-200 { color: #E5E7EB; }
.text-gray-300 { color: #D1D5DB; }
.text-gray-400 { color: #9CA3AF; }
.text-gray-500 { color: #6B7280; }
.text-gray-600 { color: #4B5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1F2937; }
.text-gray-900 { color: #111827; }
.text-\[\#111827\] { color: #111827; }

.text-blue-400 { color: #60A5FA; }
.text-blue-600 { color: #2563EB; }
.text-blue-700 { color: #1D4ED8; }
.text-blue-800 { color: #1E40AF; }
.text-blue-900 { color: #1E3A8A; }

.text-rose-400 { color: #FB7185; }
.text-rose-600 { color: #E11D48; }
.text-rose-700 { color: #BE123C; }

.text-emerald-400 { color: #34D399; }
.text-emerald-600 { color: #059669; }
.text-amber-300 { color: #FCD34D; }
.text-amber-400 { color: #FBBF24; }

.text-\[10px\] { font-size: 10px; line-height: 14px; }
.text-\[11px\] { font-size: 11px; line-height: 15px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

.text-right { text-align: right; }
.text-center { text-align: center; }
.text-left { text-align: left; }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap { white-space: nowrap; }

/* 8. Borders & Radii */
.border { border: 1px solid var(--color-border); }
.border-t { border-top: 1px solid var(--color-border); }
.border-b { border-bottom: 1px solid var(--color-border); }
.border-r { border-right: 1px solid var(--color-border); }
.border-l { border-left: 1px solid var(--color-border); }
.border-r-2 { border-right: 2px solid var(--color-border); }
.border-r-3 { border-right: 3px solid var(--color-border); }
.border-r-4 { border-right: 4px solid var(--color-border); }
.border-b-2 { border-bottom: 2px solid var(--color-border); }

.border-gray-100 { border-color: #F3F4F6; }
.border-gray-200 { border-color: #E5E7EB; }
.border-gray-200\/90 { border-color: rgba(229, 231, 235, 0.9); }
.border-gray-700 { border-color: #374151; }
.border-gray-800 { border-color: #1F2937; }
.border-gray-800\/80 { border-color: rgba(31, 41, 55, 0.8); }

.border-blue-500 { border-color: #3B82F6; }
.border-blue-600 { border-color: #2563EB; }
.border-blue-700 { border-color: #1D4ED8; }
.border-rose-100 { border-color: #FFE4E6; }
.border-rose-200 { border-color: #FECDD3; }
.border-rose-200\/80 { border-color: rgba(254, 205, 211, 0.8); }
.border-rose-500 { border-color: #F43F5E; }
.border-amber-500 { border-color: #F59E0B; }
.border-emerald-500 { border-color: #10B981; }
.border-purple-500 { border-color: #A855F7; }
.border-pink-500 { border-color: #EC4899; }
.border-sky-500 { border-color: #0EA5E9; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* 9. Shadows & Elevation */
.shadow-2xs { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); }
.shadow-xs { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.shadow-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* 10. Position & Display */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-2 { top: 0.5rem; }
.top-2\.5 { top: 0.625rem; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0; }
.left-3 { left: 0.75rem; }
.right-0 { right: 0; }
.right-2 { right: 0.5rem; }
.right-4 { right: 1rem; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none !important; }
.overflow-hidden { overflow: hidden; }
.cursor-pointer { cursor: pointer; }

/* 11. 16:9 Google Discover Ratio */
.aspect-16-9, .aspect-video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
.object-cover { object-fit: cover; }

/* 12. WordPress Header & Navigation Bar Specifics */
#site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #E5E7EB;
}

#site-nav {
  background: rgba(249, 250, 251, 0.85);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

#site-nav ul,
#site-nav .menu {
  display: flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: wrap !important;
}

#site-nav li {
  position: relative !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

#site-nav li a {
  display: block;
  padding: 0.65rem 0.85rem;
  color: #1F2937;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
}

#site-nav li a:hover {
  color: #1E40AF;
  background-color: #EFF6FF;
}

#site-nav li.current-menu-item > a,
#site-nav li.current_page_item > a {
  color: #1E40AF;
  background-color: #DBEAFE;
}

/* Dropdown Sub-menus */
#site-nav ul.sub-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  background: #ffffff !important;
  min-width: 220px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 0.75rem !important;
  padding: 0.5rem !important;
  z-index: 50 !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

#site-nav li:hover > ul.sub-menu,
#site-nav li:focus-within > ul.sub-menu {
  display: flex !important;
}

#site-nav ul.sub-menu li {
  width: 100% !important;
}

#site-nav ul.sub-menu li a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #374151;
  border-radius: 0.375rem;
}

#site-nav ul.sub-menu li a:hover {
  background-color: #F3F4F6;
  color: #1E40AF;
}

/* Mobile Drawer */
#mobile-menu-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

#mobile-menu-drawer li a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  color: #1F2937;
  font-weight: 700;
  text-decoration: none;
}

#mobile-menu-drawer li a:hover {
  background: #F3F4F6;
  color: #1E40AF;
}

/* 13. Transitions & Hovers */
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:text-blue-700:hover { color: #1D4ED8; }
.hover\:text-blue-600:hover { color: #2563EB; }
.hover\:text-blue-900:hover { color: #1E3A8A; }
.hover\:text-rose-700:hover { color: #BE123C; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:bg-gray-100:hover { background-color: #F3F4F6; }
.hover\:bg-gray-800:hover { background-color: #1F2937; }
.hover\:bg-blue-700:hover { background-color: #1D4ED8; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }

.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:text-blue-600 { color: #2563EB; }
.group:hover .group-hover\:text-blue-900 { color: #1E3A8A; }

/* 14. Responsive Breakpoints */
@media (min-width: 640px) {
  .sm\:block { display: block !important; }
  .sm\:flex { display: flex !important; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:p-6 { padding: 1.5rem !important; }
}

@media (min-width: 768px) {
  .md\:block { display: block !important; }
  .md\:inline { display: inline !important; }
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block !important; }
  .lg\:flex { display: flex !important; }
  .lg\:hidden { display: none !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .lg\:col-span-8 { grid-column: span 8 / span 8 !important; }
  .lg\:col-span-4 { grid-column: span 4 / span 4 !important; }
  .lg\:w-72 { width: 18rem !important; }
}

@media (min-width: 1280px) {
  .xl\:block { display: block !important; }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* 15. Accessibility Modes (Israeli Standard 5568 AA) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

html.a11y-font-sm { font-size: 14px; }
html.a11y-font-lg { font-size: 20px; }
html.a11y-font-xl { font-size: 22px; }

html.a11y-high-contrast {
  filter: contrast(150%);
  background-color: #000000 !important;
  color: #FFFFFF !important;
}
html.a11y-high-contrast body,
html.a11y-high-contrast div,
html.a11y-high-contrast article {
  background-color: #000000 !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}

html.a11y-invert {
  filter: invert(100%) hue-rotate(180deg);
}
html.a11y-invert img,
html.a11y-invert video {
  filter: invert(100%) hue-rotate(180deg);
}

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

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

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

html.a11y-no-animations * {
  animation: none !important;
  transition: none !important;
}

/* 16. Marquee Animation for Breaking News */
@keyframes marquee {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.animate-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}
.animate-marquee:hover {
  animation-play-state: paused;
}
