/*
Theme Name: Malu Wilz Shop - חדשות צרכנות, קניות ומבצעים
Theme URI: https://maluwilz-shop.co.il
Author: Malu Wilz Shop
Author URI: https://maluwilz-shop.co.il
Description: תבנית פורטל חדשות צרכנות, קניונים, אופנה, מבצעים וקניות חכמות. עיצוב מודרני, בהיר ונקי עם תמונות ריאליסטיות עשירות, תצוגת קטגוריות מלאה בעמוד הראשי והתאמה מושלמת לוורדפרס.
Version: 1.0.0
Text Domain: maluwilz-shop
*/

:root {
  --primary-accent: #e11d48; /* Vibrant retail rose-red */
  --primary-accent-hover: #be123c;
  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  --secondary-coral: #fb7185;
  --secondary-bg: #fff1f2;
  
  --bg-pure: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.09);
  --shadow-hover: 0 16px 32px rgba(225, 29, 72, 0.12);
  
  --font-main: 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Basics */
*, *::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(--bg-pure);
  color: var(--text-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: 3px;
}

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

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

ul, ol {
  list-style: none;
}

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

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

/* Top Announcement Bar */
.top-bar {
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary-accent);
}

.top-badge i {
  color: var(--primary-accent);
}

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

.top-bar-links a:hover {
  color: var(--primary-accent);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--secondary-bg), #ffe4e6);
  border: 1px solid #fecdd3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  font-size: 1.4rem;
  transition: var(--transition);
}

.site-branding:hover .logo-badge {
  transform: rotate(-6deg) scale(1.05);
  background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-hover));
  color: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-title span {
  color: var(--primary-accent);
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu > li > a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-accent);
  transition: width 0.25s ease;
}

.nav-menu > li:hover > a,
.nav-menu > li.current-menu-item > a {
  color: var(--primary-accent);
}

.nav-menu > li:hover > a::after,
.nav-menu > li.current-menu-item > a::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--secondary-bg);
  border: 1px solid #fecdd3;
  color: var(--primary-accent);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.btn-header-tag:hover {
  background-color: var(--primary-accent);
  color: #ffffff;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 6px;
}

/* Category Quick Bar */
.category-quick-bar {
  background-color: var(--bg-pure);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
}

.category-quick-pills {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}

.cat-pill:hover,
.cat-pill.active {
  background-color: var(--secondary-bg);
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  transform: translateY(-1px);
}

.cat-pill i {
  color: var(--primary-accent);
  font-size: 0.9rem;
}

/* Fullscreen Hero Portal */
.hero-portal {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-subtle);
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero-background-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92);
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 45%, rgba(255, 255, 255, 0.35) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #fecdd3;
  color: var(--primary-accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: var(--primary-accent);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 0;
  left: 0;
  height: 10px;
  background-color: rgba(251, 113, 133, 0.25);
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-search-box {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 18px;
  font-size: 1rem;
  background: transparent;
  color: var(--text-main);
}

.hero-search-box button {
  background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-hover));
  color: #ffffff;
  border: none;
  padding: 12px 26px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.hero-search-box button:hover {
  background: linear-gradient(135deg, var(--primary-accent-hover), #9f1239);
  transform: translateY(-1px);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-accent);
  line-height: 1.1;
}

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

/* Sections Styling */
.section-wrapper {
  padding: 72px 0;
  position: relative;
}

.section-wrapper.bg-subtle {
  background-color: var(--bg-subtle);
}

.section-header {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 16px;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-accent);
  letter-spacing: 0.5px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Lead Editorial Magazine Grid */
.editorial-lead-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  margin-bottom: 50px;
}

.lead-article-main {
  background-color: var(--bg-pure);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.lead-article-main:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #fecdd3;
}

.lead-img-box {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.lead-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lead-article-main:hover .lead-img-box img {
  transform: scale(1.04);
}

.badge-overlay {
  position: absolute;
  top: 18px;
  right: 18px;
  background-color: var(--primary-accent);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
}

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

.article-meta-line {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.meta-author {
  font-weight: 600;
  color: var(--text-main);
}

.meta-read-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lead-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 16px;
}

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

.lead-excerpt {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.read-more-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--primary-accent);
}

.read-more-link i {
  transition: transform 0.2s ease;
}

.read-more-link:hover i {
  transform: translateX(-4px);
}

/* Side Stack of Lead Articles */
.lead-article-side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-article-card {
  background-color: var(--bg-pure);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 16px;
  display: flex;
  gap: 18px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.side-article-card:hover {
  transform: translateY(-2px);
  border-color: #fecdd3;
  box-shadow: var(--shadow-md);
}

.side-img-box {
  width: 140px;
  height: 110px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

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

.side-article-card:hover .side-img-box img {
  transform: scale(1.05);
}

.side-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.side-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-accent);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.side-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
}

.side-title a:hover {
  color: var(--primary-accent);
}

/* Category Post Grid Layout */
.category-block-row {
  margin-bottom: 60px;
}

.cat-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 2px solid #ffe4e6;
  padding-bottom: 10px;
}

.cat-block-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-block-title i {
  color: var(--primary-accent);
}

.cat-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card {
  background-color: var(--bg-pure);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: #fecdd3;
  box-shadow: var(--shadow-hover);
}

.post-card-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

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

.post-card:hover .post-card-thumb img {
  transform: scale(1.05);
}

.post-card-category {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  color: var(--primary-accent);
  border: 1px solid #fecdd3;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.post-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 12px;
}

.post-card-title a:hover {
  color: var(--primary-accent);
}

.post-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.post-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
}

.author-avatar-initial {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background-color: var(--secondary-bg);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Comprehensive Guide Section (>1,500 words) */
.deep-content-section {
  padding: 72px 0;
  background-color: var(--bg-pure);
}

.deep-content-box {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.deep-content-box h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
  line-height: 1.3;
}

.deep-content-box h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 36px;
  margin-bottom: 16px;
  line-height: 1.35;
}

.deep-content-box p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}

.deep-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.deep-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  border-right: 4px solid var(--primary-accent);
}

.deep-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.deep-card-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* FAQ Accordion Section (NO NUMBERS) */
.faq-section {
  padding: 72px 0;
  background-color: var(--bg-subtle);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-accent);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: right;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-accent);
}

.faq-chevron {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-accent);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background-color: var(--secondary-bg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 26px 22px;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
}

/* Single Post Specific Rules */
.single-post-wrapper {
  padding: 50px 0 80px;
}

.single-post-grid {
  display: grid;
  grid-template-columns: 2.8fr 1.2fr;
  gap: 40px;
}

.article-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-main);
  margin: 16px 0 20px;
}

.article-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}

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

/* STRICT RULE: .entry-content a MUST be blue and underlined */
.entry-content {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-body);
}

.entry-content a {
  color: #2563eb !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  transition: var(--transition);
}

.entry-content a:hover {
  color: #1d4ed8 !important;
  text-decoration-thickness: 2px !important;
}

.entry-content p {
  margin-bottom: 24px;
}

.entry-content h2 {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 40px 0 18px;
}

.entry-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 30px 0 14px;
}

.entry-content blockquote {
  border-right: 4px solid var(--primary-accent);
  background-color: var(--secondary-bg);
  padding: 24px 30px;
  margin: 32px 0;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-main);
}

/* Sidebar */
.sidebar-widget {
  background-color: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  border-bottom: 2px solid #ffe4e6;
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.recent-posts-list li {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.recent-posts-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
}

.recent-post-link:hover {
  color: var(--primary-accent);
}

.recent-post-category {
  font-size: 0.8rem;
  color: var(--primary-accent);
  font-weight: 600;
}

/* Site Footer */
.site-footer {
  background-color: #0b1320;
  color: #cbd5e1;
  border-top: 1px solid #1e293b;
  padding-top: 60px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-about {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-brand span {
  color: var(--secondary-coral);
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 2px;
  background-color: var(--secondary-coral);
}

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

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--secondary-coral);
  padding-right: 4px;
}

/* STRICT BOTTOM BAR WITH MANDATORY OUTGOING LINKS */
.footer-bottom-bar {
  background-color: #050911;
  border-top: 1px solid #172554;
  padding: 24px 0;
}

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

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

.bottom-mandatory-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.bottom-mandatory-links a {
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

.bottom-mandatory-links a:hover {
  color: var(--secondary-coral);
  text-decoration: underline;
}

/* Accessibility Drawer & Button */
.wcag-toggle-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--text-main);
  border: 2px solid var(--primary-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

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

.wcag-modal {
  position: fixed;
  bottom: 84px;
  left: 24px;
  z-index: 1000;
  width: 320px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
  padding: 20px;
  display: none;
}

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

.wcag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.wcag-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.wcag-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
}

.wcag-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wcag-btn {
  width: 100%;
  padding: 10px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.wcag-btn:hover {
  background-color: var(--secondary-bg);
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}

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

body.wcag-high-contrast .site-header,
body.wcag-high-contrast .lead-article-main,
body.wcag-high-contrast .side-article-card,
body.wcag-high-contrast .post-card,
body.wcag-high-contrast .deep-content-box,
body.wcag-high-contrast .faq-item {
  background-color: #121212 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

body.wcag-high-contrast h1,
body.wcag-high-contrast h2,
body.wcag-high-contrast h3,
body.wcag-high-contrast h4,
body.wcag-high-contrast p,
body.wcag-high-contrast span {
  color: #ffffff !important;
}

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

body.wcag-underline-links a {
  text-decoration: underline !important;
}

/* Cookie Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 998;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-text {
  font-size: 0.92rem;
  max-width: 850px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.btn-cookie-accept {
  background-color: var(--primary-accent);
  color: #ffffff;
  border: none;
  padding: 8px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .editorial-lead-grid {
    grid-template-columns: 1fr;
  }
  .lead-img-box {
    height: 300px;
  }
  .cat-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .single-post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero-portal {
    min-height: auto;
    padding: 50px 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-search-box {
    flex-direction: column;
  }
  .cat-posts-grid {
    grid-template-columns: 1fr;
  }
  .deep-feature-grid {
    grid-template-columns: 1fr;
  }
  .deep-content-box {
    padding: 24px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .bottom-mandatory-links {
    justify-content: center;
  }
}
