/* ==========================================================================
   Standing Fatigue Relief Polska — Design System
   Brand: Standing Fatigue Relief Polska (standingfatiguerelie.info)
   Target: Poland (pl-PL)
   Palette: Navy (#1a2a3a), Eucalyptus (#2d7a60), Ivory/Linen (#f8faf9), Amber (#d97736)
   ========================================================================== */

:root {
  --primary-navy: #1a2a3a;
  --primary-navy-dark: #121c27;
  --primary-navy-light: #2c4258;

  --eucalyptus: #2d7a60;
  --eucalyptus-hover: #225f4b;
  --eucalyptus-light: #edf7f3;
  --eucalyptus-subtle: #d8eee5;
  --eucalyptus-border: #a8dac8;

  --amber: #d97736;
  --amber-hover: #be6126;
  --amber-light: #fef5ee;
  --amber-border: #fbd3b6;

  --bg-page: #f8faf9;
  --bg-card: #ffffff;
  --bg-alt: #f0f4f2;
  --bg-muted: #e9eff0;

  --text-main: #1a2a3a;
  --text-body: #37474f;
  --text-muted: #62727b;
  --text-light: #8fa1ac;
  --text-white: #ffffff;

  --border-light: rgba(26, 42, 58, 0.09);
  --border-card: #e2e8e5;
  --border-focus: #2d7a60;

  --alert-red: #c53030;
  --alert-red-bg: #fff5f5;
  --alert-red-border: #feb2b2;

  --shadow-sm: 0 2px 4px rgba(26, 42, 58, 0.04);
  --shadow-md: 0 4px 16px rgba(26, 42, 58, 0.07);
  --shadow-lg: 0 10px 30px rgba(26, 42, 58, 0.1);
  --shadow-hover: 0 12px 32px rgba(45, 122, 96, 0.12);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --max-w: 1220px;
  --header-h: 74px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--eucalyptus-hover);
  text-decoration: underline;
}

/* Accessibility Focus Outline */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 1.5rem;
  background: var(--primary-navy);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  z-index: 99999;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.25s ease;
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  top: 1rem;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top-bar-alert {
  background: var(--primary-navy);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-alert strong {
  color: #ffffff;
}

.top-bar-alert a {
  color: var(--amber-border);
  text-decoration: underline;
  margin-left: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(26, 42, 58, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-wrap:hover {
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(45, 122, 96, 0.25);
  flex-shrink: 0;
}

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

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--eucalyptus);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Nav Desktop */
.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--eucalyptus);
  background: var(--eucalyptus-light);
  text-decoration: none;
}

/* Dropdown */
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.dropdown-link {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.dropdown-link:hover {
  background: var(--eucalyptus-light);
  color: var(--eucalyptus-hover);
  text-decoration: none;
  padding-left: 1.05rem;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--amber);
  color: #ffffff;
  padding: 0.6rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(217, 119, 54, 0.28);
  text-decoration: none;
  transition: var(--transition);
}

.header-cta-btn:hover {
  background: var(--amber-hover);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 54, 0.35);
}

.mobile-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  color: var(--primary-navy);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-toggle-btn {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--primary-navy);
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.mobile-nav-item a:hover {
  background: var(--eucalyptus-light);
  color: var(--eucalyptus);
}

.mobile-nav-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  padding-left: 0.85rem;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 42, 58, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--eucalyptus-light);
  color: var(--eucalyptus);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border: 1px solid var(--eucalyptus-border);
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.85rem;
  }
}

.hero-title span {
  color: var(--eucalyptus);
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--eucalyptus);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(45, 122, 96, 0.28);
}

.btn-primary:hover {
  background: var(--eucalyptus-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 122, 96, 0.35);
}

.btn-amber {
  background: var(--amber);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 54, 0.28);
}

.btn-amber:hover {
  background: var(--amber-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 54, 0.35);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary-navy);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--bg-alt);
  color: var(--primary-navy-dark);
  border-color: var(--text-muted);
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 42, 58, 0.08);
}

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

.hero-image-wrap:hover img {
  transform: scale(1.02);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

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

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--eucalyptus);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ==========================================================================
   Page Headers & Breadcrumbs
   ========================================================================== */

.page-header-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
  color: #ffffff;
  padding: 3rem 0;
  margin-bottom: 2.5rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-current {
  color: var(--amber-border);
  font-weight: 600;
}

.page-h1 {
  font-size: 2.2rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-sublead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 820px;
}

.page-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Article & Guide Layout (Sidebar / Sticky TOC)
   ========================================================================== */

.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 992px) {
  .content-layout {
    grid-template-columns: 290px 1fr;
    align-items: start;
  }
}

.sidebar-sticky {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.toc-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.toc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.toc-link {
  display: block;
  font-size: 0.88rem;
  color: var(--text-body);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-xs);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: var(--transition);
}

.toc-link:hover,
.toc-link.active {
  color: var(--eucalyptus);
  background: var(--eucalyptus-light);
  border-left-color: var(--eucalyptus);
  text-decoration: none;
  padding-left: 0.85rem;
}

.sidebar-tool-card {
  background: linear-gradient(135deg, var(--eucalyptus-light) 0%, #ffffff 100%);
  border: 1px solid var(--eucalyptus-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-tool-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--eucalyptus-hover);
  margin-bottom: 0.5rem;
}

.sidebar-tool-card p {
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.sidebar-tool-btn {
  display: block;
  text-align: center;
  background: var(--eucalyptus);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.sidebar-tool-btn:hover {
  background: var(--eucalyptus-hover);
  color: #ffffff;
  text-decoration: none;
}

/* Article Body */
.article-body {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .article-body {
    padding: 1.5rem;
  }
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-alt);
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy-light);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.article-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
  font-size: 1rem;
}

/* Callouts and Alerts */
.callout {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.75rem 0;
  border-left: 4px solid;
}

.callout-info {
  background: var(--eucalyptus-light);
  border-left-color: var(--eucalyptus);
  color: var(--text-body);
}

.callout-info h4 {
  color: var(--eucalyptus-hover);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.callout-tip {
  background: var(--amber-light);
  border-left-color: var(--amber);
  color: var(--text-body);
}

.callout-tip h4 {
  color: var(--amber-hover);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.callout-alert {
  background: var(--alert-red-bg);
  border-left-color: var(--alert-red);
  color: var(--text-body);
}

.callout-alert h4 {
  color: var(--alert-red);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* Article media / SVG embed container */
.article-media-box {
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
}

.article-media-box img,
.article-media-box svg {
  width: 100%;
  height: auto;
  display: block;
}

.media-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

/* Comparison and Feature Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--eucalyptus-border);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--eucalyptus-light);
  color: var(--eucalyptus);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-read-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--eucalyptus);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.card-read-more:hover {
  color: var(--eucalyptus-hover);
  text-decoration: underline;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background: #ffffff;
}

.data-table th {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.data-table tr:nth-child(even) td {
  background: var(--bg-alt);
}

.data-table tr:hover td {
  background: var(--eucalyptus-light);
}

/* ==========================================================================
   Section Blocks (Homepage & Landing)
   ========================================================================== */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--eucalyptus);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.35rem;
  }
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Red Medical Warning Banner */
.medical-emergency-bar {
  background: var(--alert-red-bg);
  border: 1px solid var(--alert-red-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.emergency-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.emergency-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--alert-red);
  margin-bottom: 0.4rem;
}

.emergency-content p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Affiliate Disclosure Badge */
.affiliate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  border: 1px solid #cbd5e1;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--primary-navy-dark);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 3px solid var(--eucalyptus);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--eucalyptus);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  padding-left: 0.35rem;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 2.5rem;
}

.footer-disclaimer-box strong {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 2px solid var(--eucalyptus);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.15);
  padding: 1.25rem 0;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
  max-width: 780px;
}

.cookie-text strong {
  color: var(--primary-navy);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--eucalyptus);
  color: #ffffff;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-cookie-reject {
  background: #ffffff;
  color: var(--text-muted);
  border: 1px solid var(--border-card);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-reject:hover {
  background: var(--bg-alt);
  color: var(--text-main);
}

/* ==========================================================================
   Print and Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .top-bar-alert,
  .sidebar-sticky,
  .btn,
  .header-cta-btn {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .article-body {
    border: none;
    box-shadow: none;
    padding: 0;
  }
}
