/*
Theme Name: Reality Group
Theme URI: https://www.reality-group.co.il/
Author: Reality Group Capital
Author URI: https://www.reality-group.co.il/
Description: תבנית פרימיום יוקרתית להשקעות נדל"ן, נכסים מניבים, פיננסים וניהול עושר. כוללת באנרים מעוצבים, הירו פיננסי במסך מלא, נגישות WCAG ותאימות מלאה לוורדפרס.
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: reality-group
Tags: real-estate, investment, finance, luxury, gold, accessibility-ready, responsive-layout
*/

:root {
  --bg-deep: #060913;
  --bg-surface: #0c1222;
  --bg-card: #121a30;
  --bg-card-hover: #182342;
  
  --gold-primary: #c5a059;
  --gold-light: #dfba73;
  --gold-dark: #997838;
  --gold-glow: rgba(197, 160, 89, 0.35);
  --gold-soft: rgba(197, 160, 89, 0.1);

  --blue-accent: #2563eb;
  --emerald-growth: #10b981;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(197, 160, 89, 0.3);
  --border-gold-glow: rgba(197, 160, 89, 0.6);

  --font-display: 'Cinzel', 'Outfit', 'Heebo', serif;
  --font-heading: 'Outfit', 'Heebo', sans-serif;
  --font-body: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-lux: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 10px 30px -5px rgba(197, 160, 89, 0.25);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 15% 10%, rgba(197, 160, 89, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 35%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(197, 160, 89, 0.04) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
}

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

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

ul, ol {
  list-style: none;
}

.site-container {
  width: 100%;
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Header & Top Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 9, 19, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.top-finance-bar {
  background: rgba(12, 18, 34, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  padding: 8px 0;
  color: var(--text-muted);
}

.top-finance-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.finance-ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gold-badge {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #060913;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.top-bar-metrics {
  display: flex;
  gap: 24px;
}

.top-bar-metrics span.val {
  color: var(--gold-light);
  font-weight: 700;
}

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

.site-brand-reality {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-crest {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #dfba73 0%, #997838 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--gold-glow);
  color: #060913;
}

.brand-crest svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Primary Menu */
.primary-nav-wrap {
  display: flex;
  align-items: center;
}

.primary-nav-wrap ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav-wrap ul li a {
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #cbd5e1;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.primary-nav-wrap ul li a:hover,
.primary-nav-wrap ul li.current-menu-item > a {
  color: var(--gold-light);
  background: var(--gold-soft);
}

.btn-header-cta {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%);
  color: #060913 !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.mobile-menu-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Fullscreen Financial Economic Hero */
.hero-financial-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 90px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-financial-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(6, 9, 19, 0.94) 0%,
    rgba(6, 9, 19, 0.82) 50%,
    rgba(6, 9, 19, 0.55) 100%
  );
  z-index: 1;
}

.hero-financial-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  z-index: 2;
}

.hero-financial-box {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-gold-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.15);
}

.hero-gold-pill .pulse-gem {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-light);
  animation: pulseGold 2.2s infinite;
}

@keyframes pulseGold {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-main-title span.gold-shine {
  background: linear-gradient(135deg, #ffffff 10%, var(--gold-light) 60%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(197, 160, 89, 0.3));
}

.hero-lead-text {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 40px;
  max-width: 720px;
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 48px;
}

.btn-reality-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%);
  color: #060913;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px var(--gold-glow);
  transition: var(--transition);
}

.btn-reality-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px var(--gold-glow);
  color: #000000;
}

.btn-reality-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 15px 30px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-reality-outline:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--gold-light);
  transform: translateY(-3px);
}

.hero-stats-panel {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
}

.hero-stat-card h4 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.hero-stat-card h4 span {
  color: var(--gold-light);
}

.hero-stat-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* 3 MANDATORY DESIGNED BANNERS WITH OUTGOING LINKS */
.mandatory-banners-section {
  padding: 80px 0 60px;
  position: relative;
}

.section-title-wrap {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.sec-title-lux {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  position: relative;
}

.sec-title-lux::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
  margin-top: 8px;
  border-radius: var(--radius-full);
}

.sec-desc-lux {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
}

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

.designed-banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--bg-card);
  box-shadow: var(--shadow-lux);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.designed-banner-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-light);
  box-shadow: 0 20px 45px rgba(197, 160, 89, 0.2);
}

.banner-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.banner-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.designed-banner-card:hover .banner-thumb-wrap img {
  transform: scale(1.08);
}

.banner-overlay-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(6, 9, 19, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.banner-content-box {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 12px;
}

.banner-summary {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.banner-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.2) 0%, rgba(197, 160, 89, 0.05) 100%);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.banner-btn-link:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%);
  color: #060913;
  box-shadow: 0 4px 20px var(--gold-glow);
}

/* Real Estate & Finance Showcase Grid (10 Total Images Incorporated) */
.real-estate-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.property-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.property-showcase-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.property-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-surface);
}

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

.property-showcase-card:hover .property-img-box img {
  transform: scale(1.06);
}

.property-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
}

.property-body-wrap {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 10px;
}

.property-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.property-metrics-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  font-size: 0.85rem;
}

.metric-highlight {
  color: var(--emerald-growth);
  font-weight: 700;
}

/* Comprehensive Financial Guide (1,500+ Words in Hebrew) */
.guide-lux-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 50px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.guide-lux-wrapper::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.guide-article-reality h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 42px;
  margin-bottom: 20px;
  border-right: 4px solid var(--gold-primary);
  padding-right: 16px;
}

.guide-article-reality h2:first-child {
  margin-top: 0;
}

.guide-article-reality h3 {
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-top: 30px;
  margin-bottom: 14px;
}

.guide-article-reality p {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 22px;
}

.guide-article-reality ul,
.guide-article-reality ol {
  margin-bottom: 24px;
  padding-right: 24px;
}

.guide-article-reality li {
  margin-bottom: 10px;
  color: #cbd5e1;
  line-height: 1.7;
}

.guide-article-reality ul li::marker {
  color: var(--gold-light);
}

.guide-gold-callout {
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 26px;
  margin: 32px 0;
}

.guide-gold-callout h4 {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-gold-callout p {
  margin-bottom: 0;
  color: #e2e8f0;
}

/* Single Post Page Specifics */
.post-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 60px 0;
}

.single-reality-article {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.single-post-header {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

.post-cat-pill {
  display: inline-block;
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.single-post-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

/* MANDATORY BLUE & UNDERLINED ANCHOR TEXT IN SINGLE POSTS */
.entry-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #cbd5e1;
}

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

.entry-content a:hover {
  color: #3b82f6 !important;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  margin-top: 36px;
  margin-bottom: 16px;
}

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

.entry-content img {
  border-radius: var(--radius-md);
  margin: 30px 0;
  border: 1px solid var(--border-subtle);
}

/* Sidebar */
.sidebar-box-reality {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 28px;
}

.sidebar-title-reality {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  border-right: 3px solid var(--gold-primary);
  padding-right: 12px;
}

.sidebar-posts-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.sidebar-posts-list a {
  font-weight: 600;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.sidebar-posts-list a:hover {
  color: var(--gold-light);
}

/* Footer Section */
.site-footer {
  background: #03050a;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-top-columns {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-grid-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-col-about h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff, var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-col-about p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 480px;
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

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

.footer-links-list li a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links-list li a:hover {
  color: var(--gold-light);
  transform: translateX(-4px);
}

/* CRITICAL BOTTOM FOOTER BAR: Exact outgoing anchor links placed at the very bottom */
.footer-bottom-bar {
  padding: 24px 0;
  background: #020306;
}

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

.copyright-text {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.outgoing-anchors-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.outgoing-anchors-wrap a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.outgoing-anchors-wrap a:hover {
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

/* WCAG Accessibility Drawer & Button */
.wcag-trigger-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border: none;
  color: #060913;
  box-shadow: 0 4px 20px var(--gold-glow);
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.wcag-trigger-btn:hover {
  transform: scale(1.1);
}

.wcag-trigger-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.wcag-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 340px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-gold);
  z-index: 10000;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
  transition: right 0.35s ease;
  padding: 30px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.wcag-drawer.active {
  right: 0;
}

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

.wcag-drawer-header h3 {
  font-size: 1.25rem;
  color: #ffffff;
}

.wcag-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.wcag-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.wcag-opt-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: var(--transition);
}

.wcag-opt-btn:hover,
.wcag-opt-btn.is-active {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--gold-light);
  color: #ffffff;
}

.wcag-reset-btn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.wcag-reset-btn:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* Accessibility Modes */
body.wcag-high-contrast {
  background-color: #000000 !important;
  color: #ffff00 !important;
}
body.wcag-high-contrast * {
  background-color: #000000 !important;
  color: #ffff00 !important;
  border-color: #ffff00 !important;
}

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

body.wcag-large-text {
  font-size: 120% !important;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  border-radius: var(--radius-md);
  padding: 20px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(12px);
}

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

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

.btn-cookie-accept {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #060913;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-cookie-decline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .banners-grid-3 {
    grid-template-columns: 1fr;
  }
  .real-estate-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-finance-bar {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .primary-nav-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px;
  }
  .primary-nav-wrap.active {
    display: block;
  }
  .primary-nav-wrap ul {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-main-title {
    font-size: 2.2rem;
  }
  .hero-stats-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .real-estate-showcase-grid {
    grid-template-columns: 1fr;
  }
  .post-layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
  }
  .outgoing-anchors-wrap {
    justify-content: center;
  }
  .guide-lux-wrapper {
    padding: 24px;
  }
}
