/*
Theme Name: JVIndex - עמק הירדן היום
Theme URI: https://jvindex.co.il/
Author: ליגה קידום אתרים & DLions
Author URI: https://dlions.co.il/
Description: תבנית חדשות, עסקים, נדל"ן וקהילה יוקרתית עבור פורטל "עמק הירדן היום" (jvindex.co.il) בהשראת הגריד והטיפוגרפיה החדשותית של מעריב, מותאמת באופן מלא לכל קטגוריות המאמרים, עם עיצוב עוגנים מתקדם, ללא תאריכים בפוסטים, דיסקליימר משפטי בפוטר ונגישות WCAG מלאה.
Version: 1.0.0
Text Domain: jvindex
Domain Path: /languages
*/

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM (Maariv-inspired news styling)
   ========================================================================== */
:root {
    --primary-red: #e51500;
    --primary-red-hover: #b81000;
    --primary-red-light: #fff1f0;
    --news-dark: #0f172a;
    --news-navy: #1e293b;
    --news-gray: #334155;
    --text-primary: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --border-light: #e2e8f0;
    --border-dark: #cbd5e1;
    --tag-red: #dc2626;
    --tag-blue: #0284c7;
    --tag-green: #16a34a;
    --tag-orange: #ea580c;
    --tag-purple: #7c3aed;
    --anchor-blue: #2563eb;
    --font-heading: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

body {
    direction: rtl;
    text-align: right;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   TOP BAR & BREAKING NEWS TICKER
   ========================================================================== */
.top-bar-strip {
    background-color: #1e293b;
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-links a:hover {
    color: #ffffff;
}

/* News Ticker Bar (מעריב סטייל) */
.news-ticker-strip {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    font-size: 0.9rem;
    overflow: hidden;
}

.ticker-wrap {
    display: flex;
    align-items: center;
    height: 44px;
}

.ticker-badge {
    background-color: var(--primary-red);
    color: #ffffff;
    font-weight: 800;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.ticker-badge::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-right: 10px solid var(--primary-red);
}

.ticker-items-scroller {
    display: flex;
    align-items: center;
    gap: 35px;
    padding-right: 25px;
    white-space: nowrap;
    animation: tickerAnim 35s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.ticker-item span.time {
    color: var(--primary-red);
    font-weight: 800;
}

.ticker-item:hover {
    color: var(--primary-red);
}

@keyframes tickerAnim {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-main-header {
    background-color: #ffffff;
    border-bottom: 2px solid var(--primary-red);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-primary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.site-brand-logo {
    display: flex;
    flex-direction: column;
}

.logo-main-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--news-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-main-title span.red {
    color: var(--primary-red);
}

.logo-main-title span.tag {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

.logo-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Nav Menu (WordPress wp_nav_menu) */
.header-nav-wrap {
    display: flex;
    align-items: center;
}

.primary-wp-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.primary-wp-menu li {
    position: relative;
}

.primary-wp-menu li a {
    display: block;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--news-dark);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.primary-wp-menu li a:hover,
.primary-wp-menu li.current-menu-item a,
.primary-wp-menu li.current-category-ancestor a {
    color: var(--primary-red);
    background-color: var(--primary-red-light);
}

/* Search & Mobile Toggle */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-popup-toggle {
    background: #f1f5f9;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.search-popup-toggle:hover {
    background: var(--primary-red);
    color: #ffffff;
    border-color: var(--primary-red);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--news-dark);
    cursor: pointer;
    padding: 4px;
}

/* Search Form Dropdown */
.search-form-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    max-width: 600px;
    margin: 10px auto;
    background: #ffffff;
    padding: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    z-index: 1001;
}

.search-form-dropdown.active {
    display: block;
}

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

.search-input-group input[type="search"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
}

.search-input-group button {
    background: var(--primary-red);
    color: #ffffff;
    border: none;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

/* ==========================================================================
   FRONT PAGE - MAARIV STYLE EDITORIAL HERO & GRID
   ========================================================================== */
.editorial-hero-section {
    padding: 24px 0 35px;
}

.editorial-hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
}

/* Main Lead Story (כתבה ראשית גדולה) */
.lead-story-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lead-story-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.lead-story-thumb {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.lead-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lead-story-card:hover .lead-story-thumb img {
    transform: scale(1.04);
}

.badge-cat-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--primary-red);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.lead-story-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lead-story-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 900;
    line-height: 1.25;
    color: var(--news-dark);
    margin-bottom: 12px;
}

.lead-story-title a:hover {
    color: var(--primary-red);
}

.lead-story-excerpt {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.read-more-link {
    font-weight: 800;
    color: var(--primary-red);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.95rem;
}

.read-more-link:hover {
    color: var(--primary-red-hover);
    gap: 8px;
}

/* Secondary Stories Column (לצד הראשית) */
.secondary-stories-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-story-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    height: calc((380px + 140px - 32px) / 3);
    min-height: 140px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.sub-story-thumb {
    width: 140px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

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

.sub-story-card:hover .sub-story-thumb img {
    transform: scale(1.06);
}

.sub-story-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sub-story-cat {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 4px;
}

.sub-story-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--news-dark);
}

.sub-story-title a:hover {
    color: var(--primary-red);
}

/* ==========================================================================
   SECTION HEADERS (מעריב סטייל עם קו אדום מודגש)
   ========================================================================== */
.news-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 8px;
    position: relative;
}

.news-section-header::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -2px;
    width: 100px;
    height: 3px;
    background-color: var(--primary-red);
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon-dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.section-main-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--news-dark);
}

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

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

/* ==========================================================================
   CATEGORY GRIDS & CARDS
   ========================================================================== */
.categories-showcase-section {
    padding: 30px 0;
}

.four-col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

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

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

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

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

.card-img-holder {
    height: 190px;
    position: relative;
    overflow: hidden;
}

.card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.standard-news-card:hover .card-img-holder img {
    transform: scale(1.05);
}

.card-body-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-category-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 6px;
    display: inline-block;
}

.card-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--news-dark);
    margin-bottom: 10px;
}

.card-heading a:hover {
    color: var(--primary-red);
}

.card-excerpt-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;
}

/* ==========================================================================
   REGIONAL STATS & JV-INDEX INDICATORS (עמק הירדן במדדים)
   ========================================================================== */
.stats-banner-strip {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 40px 0;
    margin: 40px 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 10px 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:first-child {
    border-left: none;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #38bdf8;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-value.red {
    color: #f87171;
}

.stat-value.green {
    color: #4ade80;
}

.stat-value.yellow {
    color: #facc15;
}

.stat-label {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 600;
}

/* ==========================================================================
   LONGFORM ARTICLES & IN-DEPTH EDITORIAL SECTION
   ========================================================================== */
.in-depth-journal-section {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-sm);
}

.journal-article-box {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
}

.journal-article-box:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.journal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--news-dark);
    margin-bottom: 12px;
}

.journal-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--news-gray);
}

/* ==========================================================================
   CATEGORY & ARCHIVE PAGES TEMPLATE (category.php / archive.php)
   ========================================================================== */
.category-page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 45px 0 35px;
    margin-bottom: 40px;
    border-bottom: 4px solid var(--primary-red);
}

.category-breadcrumbs {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-breadcrumbs a {
    color: #cbd5e1;
}

.category-breadcrumbs a:hover {
    color: #ffffff;
}

.category-main-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #ffffff;
}

.category-description-text {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 850px;
    line-height: 1.6;
}

.category-layout-grid {
    display: grid;
    grid-template-columns: 2.7fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.category-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* Sidebar Styling */
.news-sidebar-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--news-dark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-red);
}

.sidebar-post-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    gap: 12px;
    align-items: center;
}

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

.sidebar-post-thumb {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-content h5 {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--news-dark);
}

.sidebar-post-content h5 a:hover {
    color: var(--primary-red);
}

.sidebar-categories-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-categories-list li a {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--text-primary);
}

.sidebar-categories-list li a:hover {
    color: var(--primary-red);
}

/* Pagination */
.pagination-wrap {
    margin-top: 40px;
    text-align: center;
}

.pagination-wrap .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin: 0 4px;
    font-weight: 700;
    color: var(--text-primary);
}

.pagination-wrap .page-numbers.current {
    background: var(--primary-red);
    color: #ffffff;
    border-color: var(--primary-red);
}

.pagination-wrap .page-numbers:hover:not(.current) {
    background: #f1f5f9;
}

/* ==========================================================================
   SINGLE POST TEMPLATE (single.php)
   NO DATES, BLUE UNDERLINED ANCHORS
   ========================================================================== */
.single-post-hero {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 35px 0 25px;
    margin-bottom: 35px;
}

.single-post-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.25;
    color: var(--news-dark);
    margin-bottom: 15px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.single-post-meta span.author {
    color: var(--news-dark);
    font-weight: 700;
}

.single-post-meta span.cat-badge {
    background: var(--primary-red);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
}

.single-featured-image {
    margin-bottom: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.single-featured-image img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
}

.post-content-body {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    font-size: 1.15rem;
    line-height: 1.85;
    color: #1e293b;
}

.post-content-body p {
    margin-bottom: 22px;
}

.post-content-body h2,
.post-content-body h3,
.post-content-body h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--news-dark);
    margin: 35px 0 15px;
    line-height: 1.3;
}

/* MANDATORY ANCHOR TEXT STYLING: BLUE AND UNDERLINED */
.post-content-body a,
.entry-content a {
    color: var(--anchor-blue) !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: color 0.2s ease;
}

.post-content-body a:hover,
.entry-content a:hover {
    color: #1d4ed8 !important;
}

/* ==========================================================================
   FOOTER (RICH, DISTINCTIVE WITH PROMINENT LEGAL DISCLAIMER)
   ========================================================================== */
.site-main-footer {
    background-color: #0b1120;
    color: #cbd5e1;
    padding-top: 60px;
    border-top: 4px solid var(--primary-red);
    margin-top: 60px;
}

.footer-top-columns {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 35px;
    margin-bottom: 45px;
}

.footer-about-col h4.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
}

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

.footer-nav-col h5.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 6px;
}

.footer-nav-col h5.footer-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list li a {
    color: #94a3b8;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    display: inline-block;
}

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

/* PROMINENT MANDATORY LEGAL DISCLAIMER BOX */
.footer-disclaimer-wrapper {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 4px solid var(--primary-red);
    padding: 22px 28px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
}

.disclaimer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.disclaimer-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0;
}

/* BOTTOM CREDIT STRIP & DLIONS BUTTON */
.footer-bottom-strip {
    background-color: #060a12;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.copyright-text {
    font-size: 0.88rem;
    color: #94a3b8;
}

.credit-btn-dlions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-red);
    color: #ffffff !important;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.92rem;
    box-shadow: 0 4px 12px rgba(229, 21, 0, 0.35);
    transition: all 0.25s ease;
}

.credit-btn-dlions:hover {
    background: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 21, 0, 0.5);
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.jv-cookie-banner {
    position: fixed;
    bottom: 25px;
    left: 25px;
    max-width: 520px;
    background: #0f172a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 4px solid var(--primary-red);
    padding: 18px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 99999;
}

.cookie-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #f1f5f9;
}

.cookie-text a {
    color: #38bdf8;
    text-decoration: underline;
}

.cookie-accept-btn {
    background: var(--primary-red);
    color: #ffffff;
    border: none;
    font-weight: 800;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background 0.2s ease;
}

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

/* ==========================================================================
   WCAG ACCESSIBILITY COMPONENT
   ========================================================================== */
.wcag-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-red);
    color: #ffffff;
    font-size: 1.4rem;
    border: 2px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.wcag-toggle-btn:hover {
    background: var(--primary-red-hover);
    transform: scale(1.08);
}

.wcag-panel {
    position: fixed;
    bottom: 95px;
    right: 30px;
    width: 320px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    padding: 22px;
    z-index: 99991;
    display: none;
    color: var(--news-dark);
}

.wcag-panel.open {
    display: block;
}

.wcag-panel-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 14px;
    color: var(--news-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 8px;
}

.wcag-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.wcag-action-btn {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--news-dark);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    font-family: inherit;
}

.wcag-action-btn:hover {
    background: var(--primary-red-light);
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.wcag-reset-btn {
    width: 100%;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    padding: 8px;
    font-weight: 800;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
}

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

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

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

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

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

body.highlight-links a {
    background-color: #fef08a !important;
    color: #000000 !important;
    text-decoration: underline !important;
    padding: 1px 3px !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile & Tablets)
   ========================================================================== */
@media (max-width: 1024px) {
    .editorial-hero-grid {
        grid-template-columns: 1fr;
    }

    .lead-story-thumb {
        height: 300px;
    }

    .sub-story-card {
        height: auto;
    }

    .category-layout-grid {
        grid-template-columns: 1fr;
    }

    .four-col-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .primary-wp-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #ffffff;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        border-bottom: 3px solid var(--primary-red);
        box-shadow: var(--shadow-md);
        padding: 10px 0;
    }

    .primary-wp-menu.mobile-active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .four-col-grid,
    .three-col-grid,
    .two-col-grid,
    .category-articles-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-item {
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
    }

    .footer-top-columns {
        grid-template-columns: 1fr;
    }

    .jv-cookie-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-accept-btn {
        width: 100%;
    }

    .wcag-toggle-btn {
        bottom: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
    }

    .wcag-panel {
        right: 15px;
        left: 15px;
        width: auto;
        bottom: 75px;
    }
}
