/*
Theme Name: חדשות אילת והדרום
Theme URI: https://elgauchoeilat.co.il/
Author: Web Development Team
Author URI: https://dlions.co.il/
Description: תבנית וורדפרס חדשותית מתקדמת, מעוצבת ומודרנית במיוחד עבור פורטל חדשות אילת והדרום elgauchoeilat. כוללת דסק מבזקים חי, מהדורת וידאו, מערך טורי דעה, סרגל נגישות צף מלא, ועמידה מלאה בדרישות קישורי הפוטר ותוכן הפוסט.
Version: 3.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elgauchoeilat
Domain Path: /languages
Tags: news, magazine, rtl, accessibility, two-columns, custom-header
*/

:root {
  /* Brand News Portal Colors */
  --news-blue-primary: #0F79CC;
  --news-blue-dark: #0C1A32;
  --news-blue-deep: #1E3761;
  --news-blue-electric: #0C65AC;
  --news-red-live: #DB0000;
  --news-red-hover: #b80000;
  --news-black: #0C0C0C;
  --news-text-dark: #191D28;
  --news-text-muted: #6C6E70;
  --news-text-light: #AAACAF;
  --news-bg-light: #F4F5F7;
  --news-bg-white: #FFFFFF;
  --news-border: #E5E7EB;
  --news-border-light: #F0F2F5;

  /* Mandatory Single Post Content Link Color */
  --content-link-blue: #0066cc;
  --content-link-hover: #004c99;

  /* Typography */
  --font-main: "Assistant", "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --max-w: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: var(--font-main);
  background-color: var(--news-bg-light);
  color: var(--news-text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

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

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

/* ========================================================
   1. SITE HEADER (Modern Deep Gradient with Live Ticker)
   ======================================================== */
.news-site-header {
  background: linear-gradient(268deg, var(--news-blue-primary), var(--news-blue-dark));
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(12, 26, 50, 0.3);
}

/* Top Live Breaking Ticker Bar */
.news-top-ticker-bar {
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  padding: 5px 0;
}

.news-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.news-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--news-red-live);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.news-ticker-badge .pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #fff;
  border-radius: 50%;
  animation: newsPulse 1.4s infinite;
}

@keyframes newsPulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 1; }
}

.news-ticker-items {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  color: #e2e8f0;
}

.news-ticker-items a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.news-ticker-weather {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #93c5fd;
  white-space: nowrap;
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* Main Header Row */
.news-header-main {
  padding: 12px 0;
}

.news-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.news-brand-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Authentic Eilat News Square Brand Badge */
.news-brand-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--news-red-live);
  color: #ffffff;
  width: 58px;
  height: 52px;
  border-radius: 4px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  text-align: center;
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.news-brand-badge:hover {
  transform: scale(1.04);
}

.news-brand-badge .badge-top {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.news-brand-badge .badge-bottom {
  font-size: 1.15rem;
  font-weight: 900;
  margin-top: 2px;
}

.news-brand-titles {
  display: flex;
  flex-direction: column;
}

.news-site-name {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.news-site-tagline {
  font-size: 0.85rem;
  color: #93c5fd;
  font-weight: 500;
}

/* Header Actions */
.news-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.news-desk-btn-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--news-red-live);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(219, 0, 0, 0.4);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.news-desk-btn-live:hover {
  background: var(--news-red-hover);
  transform: translateY(-1px);
}

.news-header-search {
  position: relative;
}

.news-search-input {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  color: #fff;
  padding: 6px 36px 6px 14px;
  font-size: 0.85rem;
  width: 180px;
  transition: width 0.25s ease, background 0.2s ease;
  font-family: inherit;
}

.news-search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
  width: 220px;
}

.news-search-input::placeholder {
  color: #cbd5e1;
}

.news-search-icon-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Navigation Subnav Bar */
.news-nav-bar {
  background: rgba(12, 26, 50, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
}

.news-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.news-nav-list li a {
  display: block;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #e2e8f0;
  position: relative;
  transition: color 0.15s ease;
}

.news-nav-list li a:hover,
.news-nav-list li.current-menu-item a {
  color: #ffffff;
}

.news-nav-list li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background-color: var(--news-blue-primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.news-nav-list li a:hover::after,
.news-nav-list li.current-menu-item a::after {
  transform: scaleX(1);
}

.news-nav-list li.live-tab a {
  color: #fca5a5;
}

.news-nav-list li.live-tab a::after {
  background-color: var(--news-red-live);
}

/* ========================================================
   2. HOMEPAGE LEAD HERO (Signature High-Contrast Card)
   ======================================================== */
.news-lead-section {
  padding-top: 20px;
  padding-bottom: 25px;
}

.news-lead-card {
  background: linear-gradient(270deg, var(--news-blue-deep), var(--news-blue-primary));
  border-radius: var(--radius-md);
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 440px;
}

.news-lead-content {
  padding: 35px 35px 25px 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-lead-pill {
  display: inline-block;
  background-color: var(--news-red-live);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.news-lead-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.news-lead-title a:hover {
  text-decoration: underline;
}

.news-lead-excerpt {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 20px;
  font-weight: 400;
}

.news-lead-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 25px;
}

.news-lead-meta .reporter-byline {
  font-weight: 700;
  color: #ffffff;
}

/* Attached Horizontal Linked Items below lead */
.news-lead-sublinks {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.news-sublink-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.news-sublink-item:hover {
  background: rgba(0, 0, 0, 0.35);
}

.news-sublink-thumb {
  width: 55px;
  height: 45px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.news-sublink-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hero Media Area */
.news-lead-media {
  position: relative;
  background-color: #0b1528;
  overflow: hidden;
}

.news-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.news-video-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 44px;
  height: 44px;
  background: var(--news-red-live);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.news-video-badge svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

/* ========================================================
   3. MAIN TWO-COLUMN CONTENT GRID (Articles + Live Desk Feed)
   ======================================================== */
.news-main-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 25px;
  margin-bottom: 40px;
}

.news-articles-column {
  min-width: 0;
}

/* Section Header with 3-bar logo & underline */
.news-section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--news-border);
  padding-bottom: 8px;
  position: relative;
}

.news-section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--news-black);
  position: relative;
}

.news-section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 100%;
  height: 3px;
  background-color: var(--news-blue-primary);
}

.news-section-title.red-accent::after {
  background-color: var(--news-red-live);
}

.news-bars-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 18px;
}

.news-bars-icon span {
  display: block;
  height: 3px;
  background-color: var(--news-blue-primary);
  border-radius: 1px;
}

.news-section-title.red-accent .news-bars-icon span {
  background-color: var(--news-red-live);
}

.news-more-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--news-blue-primary);
}

.news-more-link:hover {
  text-decoration: underline;
}

/* Articles 2-Col Grid */
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.news-portal-card {
  background: var(--news-bg-white);
  border: 1px solid var(--news-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.news-portal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.news-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #cbd5e1;
  overflow: hidden;
}

.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-portal-card:hover .news-card-img-wrap img {
  transform: scale(1.04);
}

.news-cat-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--news-blue-electric);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
}

.news-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--news-black);
  margin-bottom: 8px;
}

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

.news-card-excerpt {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--news-text-muted);
  font-weight: 600;
  border-top: 1px solid var(--news-border-light);
  padding-top: 10px;
  margin-top: auto;
}

.news-author-name {
  color: var(--news-black);
  font-weight: 700;
}

/* ========================================================
   4. LIVE REPORTERS FEED ("דסק המבזקים בזמן אמת")
   ======================================================== */
.news-desk-box {
  background: var(--news-bg-white);
  border: 1px solid var(--news-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.news-desk-header {
  background: linear-gradient(135deg, #1e293b, var(--news-blue-dark));
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-desk-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-desk-title-group h3 {
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.1;
}

.news-desk-title-group p {
  font-size: 0.76rem;
  color: #94a3b8;
}

.news-desk-live-badge {
  background: var(--news-red-live);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-desk-stream {
  padding: 15px;
  max-height: 640px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-desk-message {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 12px;
  transition: background 0.15s ease;
}

.news-desk-message:hover {
  background: #f1f5f9;
}

.news-msg-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-reporter-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--news-blue-primary);
  flex-shrink: 0;
}

.news-reporter-info {
  display: flex;
  flex-direction: column;
}

.news-reporter-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--news-blue-primary);
  line-height: 1.1;
}

.news-reporter-role {
  font-size: 0.72rem;
  color: var(--news-text-muted);
}

.news-msg-time {
  margin-right: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
}

.news-chat-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--news-text-dark);
}

.news-chat-text strong {
  color: var(--news-black);
}

.news-desk-footer {
  background: #f8fafc;
  border-top: 1px solid var(--news-border);
  padding: 10px 15px;
  text-align: center;
}

.news-desk-all-btn {
  color: var(--news-blue-primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.news-desk-all-btn:hover {
  text-decoration: underline;
}

/* ========================================================
   5. VIDEO MAGAZINE CAROUSEL ("מהדורת וידאו ומגזין")
   ======================================================== */
.news-broadcast-section {
  background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  padding: 35px 0;
  margin-bottom: 40px;
  border-radius: var(--radius-md);
}

.news-broadcast-section .news-section-title {
  color: #ffffff;
}

.news-broadcast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.news-broadcast-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.2s ease, background 0.2s ease;
}

.news-broadcast-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.news-broadcast-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
}

.news-broadcast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(219, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.news-broadcast-card:hover .news-play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
}

.news-broadcast-body {
  padding: 12px;
}

.news-broadcast-show-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 4px;
}

.news-broadcast-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

/* ========================================================
   6. COMMENTATORS & OPINIONS ("טורי דעה ופרשנות")
   ======================================================== */
.news-opinions-section {
  margin-bottom: 40px;
}

.news-opinions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 15px;
}

.news-opinion-card {
  background: var(--news-bg-white);
  border: 1px solid var(--news-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.news-opinion-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.news-opinion-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--news-blue-primary);
  margin-bottom: 10px;
}

.news-opinion-author {
  font-size: 1rem;
  font-weight: 800;
  color: var(--news-black);
}

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

.news-opinion-quote {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--news-black);
  position: relative;
}

.news-opinion-quote::before {
  content: "״";
  font-size: 1.8rem;
  color: var(--news-blue-primary);
  display: block;
  line-height: 1;
}

/* ========================================================
   7. SINGLE POST PAGE (Strict User Requirement: #0066cc Links)
   ======================================================== */
.news-single-article-wrap {
  padding-top: 25px;
  padding-bottom: 50px;
}

.news-single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
}

.news-article-main {
  background: var(--news-bg-white);
  border: 1px solid var(--news-border);
  border-radius: var(--radius-sm);
  padding: 35px;
}

/* Breadcrumbs */
.news-breadcrumbs {
  font-size: 0.85rem;
  color: var(--news-text-muted);
  margin-bottom: 15px;
}

.news-breadcrumbs a {
  color: var(--news-blue-primary);
}

.news-breadcrumbs a:hover {
  text-decoration: underline;
}

.news-single-cat-badge {
  display: inline-block;
  background: var(--news-blue-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.news-single-title {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--news-black);
  margin-bottom: 16px;
}

.news-single-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 22px;
  font-weight: 500;
}

/* Author byline & Share bar */
.news-single-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--news-border);
  border-bottom: 1px solid var(--news-border);
  padding: 12px 0;
  margin-bottom: 25px;
  font-size: 0.9rem;
}

.news-author-details {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.news-social-share-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.85rem;
}

.news-share-wa { background: #25d366; }
.news-share-fb { background: #1877f2; }
.news-share-tw { background: #000000; }

.news-single-featured-media {
  margin-bottom: 25px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #f1f5f9;
}

.news-single-featured-media img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.news-img-caption {
  font-size: 0.8rem;
  color: var(--news-text-muted);
  padding: 8px 12px;
  background: #f8fafc;
  border-top: 1px solid var(--news-border);
}

/* ========================================================
   CRITICAL MANDATORY CONTENT LINK STYLING IN SINGLE POST
   ======================================================== */
.entry-content,
.news-post-body {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #1f2937;
}

.entry-content p,
.news-post-body p {
  margin-bottom: 1.4em;
}

/* ALL ANCHORS IN POST CONTENT MUST BE BLUE (#0066cc) AND UNDERLINED */
.entry-content a,
.news-post-body a,
.single-post-content a,
.article-content a {
  color: var(--content-link-blue) !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.entry-content a:hover,
.news-post-body a:hover,
.single-post-content a:hover,
.article-content a:hover {
  color: var(--content-link-hover) !important;
  text-decoration: underline !important;
  background-color: #ebf5ff;
}

.entry-content h2,
.news-post-body h2 {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--news-black);
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  border-right: 4px solid var(--news-blue-primary);
  padding-right: 12px;
}

.entry-content h3,
.news-post-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--news-black);
  margin-top: 1.4em;
  margin-bottom: 0.5em;
}

.entry-content ul,
.entry-content ol,
.news-post-body ul,
.news-post-body ol {
  margin-bottom: 1.4em;
  padding-right: 25px;
}

.entry-content li,
.news-post-body li {
  margin-bottom: 0.4em;
}

/* ========================================================
   8. FOOTER (Exact 3 Top Columns + Mandatory Bottom Links)
   ======================================================== */
.news-site-footer {
  background: #0f172a;
  color: #cbd5e1;
  border-top: 4px solid var(--news-blue-primary);
  margin-top: 50px;
}

.news-footer-top {
  padding: 45px 0 35px 0;
  border-bottom: 1px solid #1e293b;
}

/* STRICTLY 3 UPPER COLUMNS */
.news-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 35px;
}

.news-footer-col h4 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.news-footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background-color: var(--news-blue-primary);
}

.news-footer-about {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 15px;
}

.news-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-footer-links li {
  margin-bottom: 9px;
}

.news-footer-links li a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

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

/* Footer Bottom Bar */
.news-footer-bottom {
  background: #090d16;
  padding: 20px 0;
  font-size: 0.85rem;
}

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

.news-copyright {
  color: #64748b;
}

.news-copyright strong {
  color: #94a3b8;
}

.news-mandatory-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
}

.news-mandatory-links a {
  color: #94a3b8;
  transition: color 0.15s ease;
  font-weight: 600;
}

.news-mandatory-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* ========================================================
   9. ACCESSIBILITY FLOATING TOOLBAR
   ======================================================== */
.a11y-floating-trigger {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 52px;
  height: 52px;
  background: var(--news-blue-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(15, 121, 204, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.a11y-floating-trigger:hover {
  transform: scale(1.08);
  background: var(--news-blue-dark);
}

.a11y-floating-trigger svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.a11y-drawer-modal {
  position: fixed;
  top: 0;
  left: -340px;
  width: 320px;
  height: 100vh;
  background: #ffffff;
  box-shadow: 4px 0 25px rgba(0,0,0,0.25);
  z-index: 10000;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.a11y-drawer-modal.open {
  left: 0;
}

.a11y-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

.a11y-overlay.open {
  display: block;
}

.a11y-head {
  background: linear-gradient(268deg, var(--news-blue-primary), var(--news-blue-dark));
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.a11y-head h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.a11y-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.a11y-content {
  padding: 20px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
}

.a11y-action-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: all 0.15s ease;
  font-family: inherit;
}

.a11y-action-btn:hover {
  background: #e2e8f0;
}

.a11y-action-btn.active {
  background: var(--news-blue-primary);
  color: #fff;
  border-color: var(--news-blue-primary);
}

.a11y-foot {
  padding: 15px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--news-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.a11y-reset-all {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Accessibility State Classes */
body.a11y-high-contrast {
  background: #000000 !important;
  color: #ffffff !important;
}

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

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

body.a11y-invert {
  filter: invert(100%) !important;
}

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

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

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

/* Responsive */
@media (max-width: 1024px) {
  .news-main-grid-layout,
  .news-single-layout {
    grid-template-columns: 1fr;
  }
  .news-desk-box {
    position: static;
    margin-top: 30px;
  }
  .news-broadcast-grid,
  .news-opinions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .news-lead-card {
    grid-template-columns: 1fr;
  }
  .news-lead-title {
    font-size: 1.6rem;
  }
  .news-lead-sublinks {
    grid-template-columns: 1fr;
  }
  .news-card-grid {
    grid-template-columns: 1fr;
  }
  .news-broadcast-grid,
  .news-opinions-grid {
    grid-template-columns: 1fr;
  }
  .news-header-search {
    display: none;
  }
  .news-site-name {
    font-size: 1.25rem;
  }
  .news-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
