/*
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, מהירות שיא, תקן נגישות ישראלי ת"י 5568 AA, פונט Heebo מודרני, קישורי עוגן מודגשים עם רקע, וכל הקטגוריות בעמוד הבית.
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
*/

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-family: '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-accent-blue: #3B82F6;
  --color-breaking: #E11D48;
  --color-viral: #F43F5E;
  --color-border: #E5E7EB;
  --max-content-width: 1280px;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Heebo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

*, *:before, *:after {
  box-sizing: inherit;
  font-family: inherit;
}

body {
  font-family: 'Heebo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background-color: var(--color-canvas);
  color: var(--color-text-main);
  font-size: 1.125rem;
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6, .entry-title {
  font-family: 'Heebo', sans-serif !important;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -9999px;
  right: -9999px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  z-index: 999999;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  right: 1rem;
}

/* 16:9 Aspect Ratio Rule for Google Discover */
.aspect-16-9 {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

/* Hide Scrollbar for Horizontal Navigation */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* -------------------------------------------------------------
   DATE REMOVAL RULE: הסרת תאריכים גורפת מכל הפוסטים והכרטיסיות
   ------------------------------------------------------------- */
.post-date,
.entry-date,
.posted-on,
time.published,
time.updated,
.article-date,
.meta-date,
.post-card-date,
.widget_recent_entries .post-date {
  display: none !important;
}

/* -------------------------------------------------------------
   HIGHLIGHTED ANCHOR LINKS: הדגשת קישורי עוגן בפוסטים עם רקע
   ------------------------------------------------------------- */
.entry-content a {
  background-color: #EFF6FF !important;
  color: #1E40AF !important;
  font-weight: 700 !important;
  padding: 0.12rem 0.45rem !important;
  border-radius: 0.375rem !important;
  border-bottom: 2px solid #3B82F6 !important;
  text-decoration: none !important;
  display: inline !important;
  transition: all 0.18s ease-in-out !important;
  box-shadow: 0 1px 2px rgba(59, 130, 246, 0.08) !important;
}

.entry-content a:hover {
  background-color: #DBEAFE !important;
  color: #1D4ED8 !important;
  border-bottom-color: #1E40AF !important;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.15) !important;
}

/* Top Navigation Link Reset */
#site-nav a, #mobile-menu-drawer a, #site-header a, #site-footer a {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Accessibility Modes (IS 5568 AA) */
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 article,
html.a11y-high-contrast div {
  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;
}

/* 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;
}
