/*
Theme Name: פוליטיקלי - מגזין חדשות, דעות ואקטואליה
Theme URI: https://service-rtgs.ai.studio/
Author: Politically Editorial Team
Author URI: https://service-rtgs.ai.studio/
Description: תבנית וורדפרס יוקרתית, מהירה ומתקדמת לפורטלי חדשות, מגזינים ואקטואליה. כוללת סידור מאמרים לפי קטגוריות בעמוד הראשי, מערכת מבזקים בזמן אמת, סרגל מדדי בורסה, סרגל נגישות מובנה מלא, חלון קופץ לשימוש בעוגיות (Cookies), התאמה מושלמת למובייל ודסקטופ, ועמודי פוסטים מעוצבים ללא תגובות.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: politically
Domain Path: /languages
Tags: news, magazine, rtl, dark-mode, accessibility, responsive-layout, grid-layout, custom-menu, featured-images
*/

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
  --font-main: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Colors */
  --bg-dark: #0b0d11;
  --bg-surface: #0f1115;
  --bg-card: #171b22;
  --bg-card-hover: #1e242e;
  --border-subtle: #262c36;
  --border-hover: #3b4453;
  
  --accent-red: #ff1e42;
  --accent-red-hover: #e01234;
  --accent-gold: #facc15;
  --accent-gold-hover: #eab308;
  --accent-green: #4ade80;
  --accent-blue: #38bdf8;
  
  --text-primary: #f3f4f6;
  --text-secondary: #a8b3cf;
  --text-muted: #6b7280;
  --text-light: #ffffff;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow-red: 0 0 15px rgba(255, 30, 66, 0.35);
  --shadow-glow-gold: 0 0 15px rgba(250, 204, 21, 0.35);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1320px;
}

/* ==========================================================================
   RESETS & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main) !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background-color: var(--accent-red);
  color: #ffffff;
}

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

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
  background: #272d37;
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: #3f4756;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   TOP BAR & TICKERS
   ========================================================================== */
.top-market-bar {
  background-color: #08090d;
  border-bottom: 1px solid #1a1e27;
  font-size: 0.78rem;
  padding: 0.4rem 0;
  color: var(--text-secondary);
}
.market-ticker-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.market-indices {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.market-indices::-webkit-scrollbar {
  display: none;
}
.market-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.market-item .market-symbol {
  font-weight: 700;
  color: var(--text-primary);
}
.market-item .market-val {
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}
.market-item .change-up {
  color: var(--accent-green);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.market-item .change-down {
  color: var(--accent-red);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.top-bar-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.top-bar-date {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* BREAKING NEWS TICKER */
.breaking-ticker-bar {
  background-color: #12151b;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.45rem 0;
  font-size: 0.85rem;
}
.breaking-ticker-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.breaking-badge {
  background-color: var(--accent-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-glow-red);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #fff;
  border-radius: 50%;
  animation: pulse-ring 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse-ring {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.breaking-news-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  white-space: nowrap;
}
.breaking-news-category {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.78rem;
}
.breaking-news-text {
  color: var(--text-primary);
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color var(--transition-fast);
}
.breaking-news-text:hover {
  color: var(--accent-gold);
}
.ticker-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.ticker-btn {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1b2029;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.ticker-btn:hover {
  background-color: var(--border-hover);
  color: #fff;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background-color: rgba(15, 17, 21, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition-normal);
}
.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-red), #b91c1c);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(255, 30, 66, 0.4);
}
.brand-titles {
  display: flex;
  flex-direction: column;
}
.site-title {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.site-title .title-accent {
  color: var(--accent-gold);
  font-size: 0.95rem;
  font-weight: 700;
}
.site-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.header-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
}
.header-icon-btn:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: #fff;
}
.header-accessibility-btn {
  background: rgba(250, 204, 21, 0.08);
  border-color: rgba(250, 204, 21, 0.3);
  color: var(--accent-gold);
}
.header-accessibility-btn:hover {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}
.menu-toggle-btn {
  display: none;
}

/* Category Navigation Bar */
.header-nav-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0;
  background-color: rgba(11, 13, 17, 0.8);
}
.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-menu-list::-webkit-scrollbar {
  display: none;
}
.nav-menu-list > li > a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.nav-menu-list > li > a:hover {
  color: #fff;
  background-color: var(--bg-card);
}
.nav-menu-list > li.current-menu-item > a,
.nav-menu-list > li.active > a {
  color: var(--accent-gold);
  background-color: rgba(250, 204, 21, 0.1);
  font-weight: 700;
}

/* ==========================================================================
   HERO / EDITORIAL SPOTLIGHT
   ========================================================================== */
.hero-spotlight-section {
  padding: 2rem 0 1.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 1.5rem;
}
.lead-article-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}
.lead-article-card:hover {
  border-color: rgba(255, 30, 66, 0.4);
  transform: translateY(-3px);
}
.lead-media-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background-color: #12151b;
}
.lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.lead-article-card:hover .lead-img {
  transform: scale(1.03);
}
.lead-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 17, 21, 0.95) 0%, rgba(15, 17, 21, 0.3) 50%, transparent 100%);
}
.lead-badges-group {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.cat-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-politics { background-color: #1e3a8a; }
.badge-security { background-color: #991b1b; }
.badge-economy { background-color: #065f46; }
.badge-tech { background-color: #4f46e5; }
.badge-opinions { background-color: #881337; }
.badge-world { background-color: #0e7490; }
.badge-culture { background-color: #78350f; }
.badge-sports { background-color: #c2410c; }

.lead-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lead-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.lead-meta .author-name {
  color: var(--accent-gold);
  font-weight: 700;
}
.lead-title {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}
.lead-title a:hover {
  color: var(--accent-gold);
}
.lead-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.lead-key-points {
  background: rgba(255, 255, 255, 0.03);
  border-right: 3px solid var(--accent-red);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}
.lead-key-points ul {
  list-style: disc;
  padding-right: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.lead-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* SIDE TRENDING FEED */
.hero-side-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.side-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--accent-red);
}
.trending-articles-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.trending-item-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  gap: 1rem;
  transition: all var(--transition-fast);
}
.trending-item-card:hover {
  background-color: var(--bg-card);
  border-color: var(--border-hover);
  transform: translateX(-4px);
}
.trending-item-thumb {
  width: 95px;
  height: 95px;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  background-color: #12151b;
}
.trending-item-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.trending-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 0.35rem;
}
.trending-item-title a:hover {
  color: var(--accent-gold);
}
.trending-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ==========================================================================
   CATEGORY SECTIONS & HOMEPAGE CATEGORY GRID
   ========================================================================== */
.category-filter-bar {
  padding: 1.5rem 0 1rem;
}
.filter-tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.filter-tabs-wrapper::-webkit-scrollbar {
  display: none;
}
.cat-filter-btn {
  padding: 0.45rem 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.cat-filter-btn:hover {
  border-color: var(--accent-gold);
  color: #fff;
}
.cat-filter-btn.active {
  background-color: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  font-weight: 800;
}

/* Category Section Blocks */
.category-block-section {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.category-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-subtle);
}
.category-block-header.politics-theme { border-bottom-color: #1e3a8a; }
.category-block-header.security-theme { border-bottom-color: #991b1b; }
.category-block-header.economy-theme { border-bottom-color: #065f46; }
.category-block-header.tech-theme { border-bottom-color: #4f46e5; }
.category-block-header.opinions-theme { border-bottom-color: #881337; }
.category-block-header.world-theme { border-bottom-color: #0e7490; }
.category-block-header.culture-theme { border-bottom-color: #78350f; }
.category-block-header.sports-theme { border-bottom-color: #c2410c; }

.cat-header-title-group {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.cat-header-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
}
.cat-header-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.view-all-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.view-all-link:hover {
  text-decoration: underline;
}

/* Category Post Grids */
.category-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.article-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}
.article-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.article-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #12151b;
}
.article-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.article-card:hover .article-thumb-img {
  transform: scale(1.05);
}
.article-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.article-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.article-card-title a:hover {
  color: var(--accent-gold);
}
.article-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   OPINION COLUMNISTS SECTION
   ========================================================================== */
.columnists-section {
  padding: 3rem 0;
  background-color: #08090d;
}
.columnists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.columnist-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}
.columnist-card:hover {
  border-color: rgba(250, 204, 21, 0.4);
  transform: translateY(-3px);
}
.columnist-author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.columnist-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  flex-shrink: 0;
}
.columnist-info-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.columnist-info-role {
  font-size: 0.78rem;
  color: var(--accent-gold);
}
.columnist-quote-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  border-right: 3px solid var(--accent-gold);
  padding-right: 0.75rem;
  margin-bottom: 1rem;
}
.columnist-article-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.columnist-article-link:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   NEWSLETTER SIGNUP BOX
   ========================================================================== */
.newsletter-section {
  padding: 3rem 0;
}
.newsletter-card {
  background: linear-gradient(135deg, #171b22, #0f1115);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.newsletter-card::after {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 30, 66, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-text {
  max-width: 550px;
}
.newsletter-headline {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}
.newsletter-subtext {
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 450px;
}
.newsletter-input {
  flex: 1;
  background-color: #0b0d11;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #fff;
  transition: border-color var(--transition-fast);
}
.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}
.newsletter-btn {
  background-color: var(--accent-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: background-color var(--transition-fast);
}
.newsletter-btn:hover {
  background-color: var(--accent-red-hover);
}

/* ==========================================================================
   SINGLE POST VIEW (NO COMMENTS)
   ========================================================================== */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
  width: 0%;
  z-index: 999;
  transition: width 0.1s linear;
}
.single-post-wrapper {
  padding: 2.5rem 0 4rem;
}
.post-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.post-breadcrumbs a {
  color: var(--text-muted);
}
.post-breadcrumbs a:hover {
  color: var(--accent-gold);
}
.single-post-layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 2.5rem;
  align-items: start;
}
.post-header-area {
  margin-bottom: 2rem;
}
.post-category-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.single-post-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1rem;
}
.single-post-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.post-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}
.author-meta-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-portrait {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-subtle);
}
.author-credentials {
  display: flex;
  flex-direction: column;
}
.author-name-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}
.post-published-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.post-quick-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.stat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Key Highlights Box */
.key-highlights-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-right: 4px solid var(--accent-red);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.highlights-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.highlights-list {
  list-style: disc;
  padding-right: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Post Featured Media */
.post-featured-media {
  margin-bottom: 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.post-featured-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.media-caption-bar {
  background-color: var(--bg-surface);
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* Article Body Content & Typography */
.article-content-body {
  font-size: 1.125rem;
  line-height: 1.85;
  color: #e5e7eb;
}
.article-content-body p {
  margin-bottom: 1.5rem;
}
.article-content-body h2 {
  font-size: 1.65rem;
  font-weight: 900;
  color: #fff;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  border-right: 4px solid var(--accent-gold);
  padding-right: 0.75rem;
}
.article-content-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.article-content-body a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  font-weight: 700;
}
.article-content-body a:hover {
  color: #fff;
  background: rgba(250, 204, 21, 0.2);
}
.article-content-body blockquote {
  background-color: var(--bg-surface);
  border-right: 4px solid var(--accent-red);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: 1.2rem;
  font-style: italic;
  color: #fff;
}
.drop-cap:first-letter {
  float: right;
  color: var(--accent-red);
  padding-top: 0.15rem;
  padding-left: 0.75rem;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 0.85;
}

/* Social Sharing Bar */
.post-share-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.share-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-card);
  transition: all var(--transition-fast);
}
.share-btn:hover {
  background-color: var(--bg-card-hover);
  color: #fff;
  border-color: var(--border-hover);
}
.share-btn.whatsapp:hover { background-color: #25d366; color: #fff; border-color: #25d366; }
.share-btn.facebook:hover { background-color: #1877f2; color: #fff; border-color: #1877f2; }
.share-btn.twitter:hover { background-color: #000; color: #fff; border-color: #333; }

/* Single Post Sidebar (Table of Contents, Author Box, Related) */
.post-sidebar-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
}
.sidebar-box-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.toc-list a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.toc-list a:hover {
  color: var(--accent-gold);
}

/* Related Posts Area */
.related-posts-section {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-subtle);
}
.related-posts-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   CATEGORY & ARCHIVE PAGES
   ========================================================================== */
.category-hero-header {
  background: linear-gradient(135deg, #171b22, #0b0d11);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3rem 0;
  margin-bottom: 2.5rem;
}
.category-hero-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}
.category-hero-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}
.category-hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 700px;
}

/* Pagination */
.pagination-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 3rem 0;
}
.pagination-nav .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.pagination-nav .page-numbers.current {
  background-color: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}
.pagination-nav .page-numbers:hover:not(.current) {
  background-color: var(--bg-card);
  color: #fff;
  border-color: var(--border-hover);
}

/* ==========================================================================
   SEARCH & 404 & GENERAL PAGES
   ========================================================================== */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}
.search-modal-backdrop.open {
  display: flex;
}
.search-modal-dialog {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 650px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.search-form-flex {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.search-input-field {
  flex: 1;
  background-color: #0b0d11;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  font-size: 1.1rem;
  color: #fff;
}
.search-input-field:focus {
  outline: none;
  border-color: var(--accent-gold);
}
.search-submit-btn {
  background-color: var(--accent-red);
  color: #fff;
  font-weight: 800;
  padding: 0 1.5rem;
  border-radius: var(--radius-lg);
}

/* 404 Page */
.error-404-wrapper {
  text-align: center;
  padding: 6rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.error-404-code {
  font-size: 6rem;
  font-weight: 900;
  color: var(--accent-red);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-404-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

/* ==========================================================================
   COOKIE CONSENT POPUP
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 580px;
  margin: 0 auto;
  background: rgba(23, 27, 34, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 150;
  display: none;
  animation: slide-up 0.3s ease-out;
}
.cookie-consent-banner.show {
  display: block;
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cookie-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.cookie-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
.cookie-btn-accept {
  background-color: var(--accent-gold);
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.cookie-btn-accept:hover {
  background-color: var(--accent-gold-hover);
  box-shadow: var(--shadow-glow-gold);
}
.cookie-btn-decline {
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
}
.cookie-btn-decline:hover {
  border-color: var(--text-secondary);
  color: #fff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #07080b;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand-col p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 1rem;
}
.footer-col-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-red);
}
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
}
.footer-links-list a {
  color: var(--text-secondary);
}
.footer-links-list a:hover {
  color: var(--accent-gold);
}
.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MOBILE & RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .category-articles-grid,
  .columnists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .single-post-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-meta {
    display: none;
  }
  .header-nav-bar {
    display: none;
  }
  .menu-toggle-btn {
    display: inline-flex;
  }
  .category-articles-grid,
  .columnists-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-card {
    flex-direction: column;
    padding: 1.75rem;
  }
  .newsletter-form {
    max-width: 100%;
  }
  .single-post-title {
    font-size: 1.85rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Mobile Drawer Menu */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 250;
  display: none;
}
.mobile-nav-drawer.open {
  display: block;
}
.mobile-drawer-inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-menu-links a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.mobile-menu-links a:hover {
  background-color: var(--bg-card-hover);
  color: var(--accent-gold);
}
