/* Secure BusinessHub - Cyber-Corporate Redesign (Phase 2-4) */

:root {
  /* --- Color Palette: Deep Void --- */
  --bg-body: #0B0E14;
  /* Deep Void */
  --bg-surface: rgba(21, 26, 35, 0.8);
  /* Frosted Glass */
  --bg-surface-solid: #151A23;
  --accent-primary: #00F2FE;
  /* Cyber Cyan */
  --accent-secondary: #00FF9D;
  /* Emerald Matrix */
  --text-main: #FFFFFF;
  /* Pure White */
  --text-body: #A0AAB2;
  /* Soft Silver */
  --border-color: rgba(255, 255, 255, 0.1);
  --glow-shadow: 0 0 10px rgba(0, 242, 254, 0.3);

  /* --- Fonts --- */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  /* --- Spacing & Radius --- */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --radius-sm: 4px;
  --radius-md: 12px;
  --header-height: 80px;

  /* --- Transitions --- */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --- Reading Progress Bar --- */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 2000;
  background: transparent;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  transition: width 0.1s;
}

/* --- Layout Utilities --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.flex {
  display: flex;
  gap: var(--spacing-sm);
}

.flex-between {
  justify-content: space-between;
  align-items: center;
}

.text-center {
  text-align: center;
}

.section {
  padding: var(--spacing-lg) 0;
}

/* --- Header & Nav --- */
.site-header {
  background-color: var(--bg-surface);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.3s;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.logo h1,
.logo-text {
  margin: 0;
}

.logo h1 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulse 2s infinite;
  margin-right: 8px;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-trigger {
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
  margin-left: 0.5rem;
}

.search-trigger:hover {
  color: var(--accent-primary);
  transform: scale(1.1);
}

.search-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-main);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-primary);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-cta {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.btn-cta:hover {
  background: var(--accent-primary);
  color: var(--bg-body);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.btn-primary {
  background: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  color: var(--bg-body);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
  background: white;
  border-color: white;
  color: var(--bg-body);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.search-trigger {
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-main);
  margin-left: 1rem;
}

/* --- Ticker --- */
.ticker-wrap {
  background: var(--bg-surface-solid);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-secondary);
}

.ticker-item {
  display: inline-block;
  padding: 0 2rem;
}

@keyframes ticker {
  0% {
    transform: translate3d(100%, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-xl) 0;
}

.hero::before {
  /* Scanline Effect */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent 50%,
      rgba(0, 242, 254, 0.02) 51%,
      transparent 51%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.system-status {
  font-family: var(--font-mono);
  color: var(--accent-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: inline-block;
  border: 1px solid rgba(0, 255, 157, 0.3);
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 255, 157, 0.05);
  animation: breathe 4s infinite ease-in-out;
}

@keyframes breathe {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(0, 255, 157, 0.1);
  }

  50% {
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
  }
}

/* --- Article Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-md);
}

.feature-card {
  background-color: var(--bg-surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  /* JS Fade-in */
  transform: translateY(20px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.1);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
}

.risk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

.risk-high {
  background-color: #ff4757;
  box-shadow: 0 0 5px #ff4757;
}

.risk-medium {
  background-color: #ffa502;
}

.risk-low {
  background-color: var(--accent-secondary);
}

.card-title a {
  color: var(--text-main);
  font-size: 1.5rem;
  font-weight: 700;
}

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

/* Make the entire card clickable via the title link overlay */
.feature-card .card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Ensure other interactive elements inside card stay above the overlay */
.feature-card .card-title a:hover::after {
  outline: none;
}

/* Sidebar sticky fix: align-self:flex-start allows position:sticky to work in flexbox */
.sidebar-sticky {
  align-self: flex-start;
}

/* --- Ad Slots (Encrypted Data Panels) --- */
.ad-slot {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: var(--spacing-md) 0;
  overflow: hidden;
  min-height: 100px;
  /* Prevent layout shift */
}

/* Skeleton Loading */
.ad-slot.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: skeleton 1.5s infinite;
}

@keyframes skeleton {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.ad-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--bg-body);
  padding: 2px 6px;
  border-radius: 0 0 4px 4px;
  z-index: 5;
}

.ad-tooltip {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid #555;
  border-radius: 50%;
  color: #555;
  font-size: 8px;
  text-align: center;
  line-height: 10px;
  margin-left: 4px;
  cursor: help;
  position: relative;
}

.ad-tooltip:hover::after {
  content: "Supports our free research";
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.article-header-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 200px;
  /* Ensure visibility if image is missing */
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
  display: block;
  background: var(--bg-surface-solid);
  /* Fallback */
  background-image: linear-gradient(45deg, var(--bg-surface-solid) 25%, transparent 25%, transparent 75%, var(--bg-surface-solid) 75%, var(--bg-surface-solid)), linear-gradient(45deg, var(--bg-surface-solid) 25%, transparent 25%, transparent 75%, var(--bg-surface-solid) 75%, var(--bg-surface-solid));
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

/* --- Sidebar Widgets --- */
.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
}

.terminal-header {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.terminal-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
  display: inline-block;
}

/* --- Search Overlay --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.search-container {
  width: 90%;
  max-width: 800px;
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--accent-primary);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-main);
  padding: 1rem 0;
  outline: none;
  flex-shrink: 0;
}

.search-results {
  margin-top: 2rem;
  overflow-y: auto;
  flex-grow: 1;
  padding-right: 10px;
  /* Scrollbar padding */
}

/* Custom Scrollbar for Search Results */
.search-results::-webkit-scrollbar {
  width: 6px;
}

.search-results::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.search-results::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 3px;
}

.close-search {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--text-main);
  cursor: pointer;
}

.search-result-item {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-secondary);
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--accent-primary);
  transform: translateX(5px);
}

.search-result-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.search-result-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.search-result-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: rgba(21, 26, 35, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  z-index: 3000;
  display: flex;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: rgba(11, 14, 20, 0.8);
  border: 1px solid var(--accent-primary);
  border-radius: 50%;
  color: var(--accent-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Article Specific Layout --- */
.article-header {
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--spacing-md);
}

.article-meta-header {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d1d5db;
  /* Lighter grey for better readability */
  max-width: 800px;
}

.article-content h2 {
  color: var(--accent-secondary);
  margin-top: var(--spacing-md);
  font-size: 1.8rem;
}

.article-content h3 {
  color: var(--text-main);
  margin-top: var(--spacing-sm);
}

.article-content p {
  margin-bottom: 1.5rem;
}

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

.article-content li {
  margin-bottom: 0.5rem;
}

/* Author Bio Box */
.author-bio-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-xl);
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.author-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #333;
  border: 2px solid var(--accent-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  overflow: hidden;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  color: var(--accent-primary);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin: 0;
}

.feature-card p {
  line-height: 1.5;
  color: var(--text-body);
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  display: block;
}

/* --- Form Styles --- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  /* Slight white tint for visibility */
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.form-container {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

/* --- RESPONSIVENESS OVERRIDES & MEDIA QUERIES --- */

/* Mobile hamburger toggle button */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  line-height: 1;
}

/* Tablet & Smaller Desktop (Max 992px) */
@media (max-width: 992px) {

  /* Ensure the sidebar and main content wrap and stack vertically */
  .container>.flex,
  main.container>.flex,
  main>.container>.flex,
  .container.section>.flex,
  main.container.section>.flex {
    flex-direction: column !important;
  }

  /* All direct children of those flex wrappers go full width */
  .container>.flex>article,
  .container>.flex>aside,
  .container>.flex>div,
  main>.container>.flex>article,
  main>.container>.flex>aside,
  main>.container>.flex>div {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  /* Remove sticky behavior on mobile since content stacks */
  .sidebar-hidden-mobile,
  aside[style*="position: sticky"],
  aside[style*="position:sticky"] {
    position: static !important;
    top: auto !important;
    margin-top: 2rem;
  }

  /* Article content max-width override for full width */
  .article-content {
    max-width: 100% !important;
  }
}

/* Mobile Devices (Max 768px) */
@media (max-width: 768px) {

  /* Show hamburger, hide full nav links */
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
  }

  .nav-links.open {
    display: flex;
  }

  /* Header layout: logo + toggle on same row */
  .site-header .container.flex-between {
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
    justify-content: space-between;
  }

  .site-header {
    padding: 0.75rem 0;
  }

  /* Hero section padding adjustments */
  .hero {
    padding: var(--spacing-lg) 0;
  }

  /* Title Font Overrides (using !important to override inline h1 sizes safely) */
  .hero h1,
  .page-header h1,
  .article-header h1 {
    font-size: 2.2rem !important;
    line-height: 1.3 !important;
  }

  /* Buttons on mobile */
  .hero .flex {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .btn-cta {
    width: auto;
    text-align: center;
  }

  /* Breadcrumbs wrapping */
  .breadcrumbs {
    line-height: 1.5;
  }

  /* Author Bio Box */
  .author-bio-box {
    flex-direction: column;
    text-align: center;
  }

  /* Form containers */
  .form-container {
    padding: 1.5rem 1rem;
  }

  /* Search Overlay mobile friendly */
  .search-input {
    font-size: 1.5rem;
  }

  /* Article page gap reduction */
  [style*="gap: 4rem"] {
    gap: 2rem !important;
  }
}

/* Smaller Mobile Devices (Max 480px) */
@media (max-width: 480px) {

  /* Even smaller headings for tiny screens */
  .hero h1,
  .page-header h1,
  .article-header h1 {
    font-size: 1.8rem !important;
  }

  /* Adjust article headers specifically */
  .article-meta-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Adjust the site logo slightly */
  .logo-text {
    font-size: 1.2rem;
  }
}
/* Reserve space for Adsense to prevent CLS */
ins.adsbygoogle {
    display: block !important;
    min-height: 250px;
}
