/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */

:root {
  /* Tennis-inspired color palette */
  --color-court-green: #2d5a27;
  --color-clay: #c4622d;
  --color-ball-yellow: #ccff00;
  --color-wimbledon: #006633;

  /* Light theme */
  --bg-primary: #fafaf8;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f0efe9;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6b6b6b;
  --accent: var(--color-court-green);
  --accent-hover: var(--color-wimbledon);
  --accent-light: #e8f5e3;
  --accent-clay: var(--color-clay);
  --border-color: #e0dfd8;
  --shadow-color: rgba(0, 0, 0, 0.08);
  --shadow-strong: rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-heading: "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Layout */
  --content-width: 120ch;
  /* --content-wide: 90ch; */

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0f1210;
    --bg-secondary: #1a1f1c;
    --bg-tertiary: #242a26;
    --text-primary: #e8e8e6;
    --text-secondary: #b8b8b4;
    --text-muted: #888884;
    --accent: #4ade80;
    --accent-hover: #22c55e;
    --accent-light: #1a2e1f;
    --accent-clay: #e87b4a;
    --border-color: #2d332f;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-strong: rgba(0, 0, 0, 0.5);
  }
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--accent);
  color: var(--bg-primary);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* Navigation */
nav {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
}

nav ul {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9em;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}

nav a:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Article typography */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 1rem auto 0;
  text-align: center;
  letter-spacing: -0.02em;
}
.home h1{
  padding-top: 6rem;
}

h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-clay));
  border-radius: 2px;
  margin: var(--space-md) auto;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-color);
}

h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

p {
  margin-bottom: var(--space-lg);
  color: var(--text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

/* Links */
a {
  color: #64e153;
  text-decoration: none;
  transition:
    color var(--transition-fast),
    text-decoration-color var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

/* Strong & Emphasis */
strong {
  font-weight: 600;
  color: var(--text-primary);
}

em {
  font-style: italic;
  color: var(--text-secondary);
}

/* Lists */
ul,
ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
  color: var(--text-secondary);
}

li {
  margin-bottom: var(--space-sm);

}

li::marker {
  color: var(--accent);
}

ul li {
  list-style-type: disc;
}

ol li {
  list-style-type: decimal;
}

li>ul,
li>ol {
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

/* Blockquote */
blockquote {
  position: relative;
  margin: var(--space-2xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(135deg, var(--accent-light), transparent);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}

blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}

blockquote p {
  margin-bottom: var(--space-sm);
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* Figures & Images */
figure {
  margin: var(--space-2xl) 0;
}

figure img,
.hero-image,
main .article-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow-color);
  transition:
    transform var(--transition-slow),
    box-shadow var(--transition-slow);
}

figure img:hover,
.article-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow-strong);
}

.hero-image {
  margin-bottom: var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

figcaption {
  margin-top: var(--space-md);
  font-size: 0.875em;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* Table of Contents styling */
main ul:first-of-type {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  box-shadow: 0 2px 12px var(--shadow-color);
}

main ul:first-of-type::before {
  content: "Sommaire";
  display: block;
  font-weight: 700;
  font-size: 0.875em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--accent-light);
}

/* Horizontal rule */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      var(--border-color),
      transparent);
  margin: var(--space-2xl) 0;
}

/* Code blocks (if needed) */
code {
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.9em;
  background: var(--bg-tertiary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  color: var(--accent-clay);
}

pre {
  background: var(--bg-tertiary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

pre code {
  background: none;
  padding: 0;
}

/* Info boxes / Callouts */
aside {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-xl) 0;
}

aside p:last-child {
  margin-bottom: 0;
}

/* FAQ Section styling */
main p>strong:first-child {
  display: block;
  color: var(--text-primary);
  font-size: 1.1em;
  margin-bottom: var(--space-sm);
}

/* Warning / Important notice */
main p:last-of-type {
  background: linear-gradient(135deg, rgba(196, 98, 45, 0.1), transparent);
  border: 1px solid var(--accent-clay);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.95em;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  margin-top: var(--space-3xl);
}

footer nav {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

/* Reading progress indicator */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-clay));
  width: 0%;
  z-index: 1001;
  transition: width 50ms linear;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  :root {
    --space-lg: 1.25rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
  }


  main h2 {
    margin-top: var(--space-2xl);
  }

  main h3 {
    margin-top: var(--space-xl);
  }

  nav ul {
    gap: var(--space-md);
  }

  main>ul:first-of-type {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {

  main ul,
  main ol {
    padding-left: var(--space-lg);
  }

  main blockquote {
    padding: var(--space-md) var(--space-lg);
  }

  main blockquote::before {
    font-size: 3rem;
    top: -5px;
    left: 10px;
  }
}

/* Print styles */
@media print {

  header,
  footer,
  .progress-bar,
  .skip-link {
    display: none;
  }

  main {
    max-width: 100%;
    padding: 0;
  }

  main a {
    color: var(--text-primary);
    text-decoration: none;
  }

  main a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: var(--text-muted);
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: currentColor;
    --shadow-color: transparent;
    --shadow-strong: transparent;
  }

  main blockquote,
  main aside,
  main>ul:first-of-type {
    border-width: 2px;
  }
}

/*  */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--accent);

  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    transform var(--transition);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--c-primary);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius);
  z-index: 200;
}

.skip-link:focus {
  top: var(--space-md);
}

img {
  width: 100%;
  object-fit: cover;
  max-height: 700px;
}

.wp-block-image img {
  margin-bottom: 2rem;
}



.container-casa p {
  max-width: 800px;
  text-align: center;
  margin: 2rem auto;
}

/* --- 1. menu --- */
.header-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  background: rgba(26, 31, 28, 0.9);
  min-height: 4rem;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.burger-logo {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  text-decoration: none;
}

.main-logo-img {
  max-height: 52px;
  width: 52px;
  flex-shrink: 0;
  border-radius: 50%;
}

.logo-text {
  color: var(--color-text);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.burger-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}

.burger-btn span,
.burger-btn span::before,
.burger-btn span::after {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: #64e153;
  position: absolute;
  transition: all 0.3s ease-in-out;
}

.burger-btn span::before {
  top: -8px;
}

.burger-btn span::after {
  top: 8px;
}

.js-burger.active span {
  background-color: transparent !important;
}

.js-burger.active span::before {
  transform: translateY(8px) rotate(45deg);
}

.js-burger.active span::after {
  transform: translateY(-8px) rotate(-45deg);
}

.main-navigation {
  position: fixed;

  top: -100%;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  max-height: 100vh;
  background: rgba(26, 31, 28, 1);
  z-index: 9999;

  transition:
    top 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.5s;
  padding: 80px 20px 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  visibility: hidden;
  display: block;
  overflow-y: auto;
}

.main-navigation.active {
  top: 0;
  visibility: visible;
}

.main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.main-menu a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 1.4rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-menu a:hover {
  color: var(--color-text);
}

body.has-overlay {
  overflow: hidden;
}

.btn-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 1;
  color: var(--color-text);
}

.menu-item-has-children>a {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.menu-item-has-children>a::after {
  content: "▼";
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.menu-item-has-children.is-open>a::after {
  transform: rotate(180deg);
  color: #3b9eff;
}

.sub-menu {
  list-style: none !important;
  padding-left: 20px !important;
  margin: 0 !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100vh;
}

.sub-menu li {
  padding: 10px 0;
}

.sub-menu a {
  font-size: 1rem !important;

  font-weight: 400 !important;
}

.menu-item-has-children>a {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.menu-item-has-children:hover>.sub-menu {
  max-height: 1000px !important;
  visibility: visible;
  opacity: 1;
}

.main-menu li.current-menu-item>a,
.main-menu li.current_page_item>a,
.main-menu li.current-post-ancestor>a,
.main-menu li.current-menu-ancestor>a,
.main-menu li.current-page-ancestor>a {
  color: #f1e253 !important;
  font-weight: 700 !important;
}

.main-menu li.menu-item-has-children.is-open>a {
  color: #f1e253 !important;
}

.main-menu li.active>a {
  color: #f1e253 !important;
  font-weight: 700 !important;
}

.main-navigation.active .main-menu .current-menu-item>a {
  color: #f1e253 !important;
}

/* end menu */

.sitemap-content {
  margin: 30px 0;
}

.sitemap-section {
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 8px;
}

.sitemap-section h2 {
  color: inherit;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.sitemap-section h3 {
  color: #555;
  margin: 15px 0 10px 0;
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 6rem;
  gap: 0.5rem;
}

.breadcrumbs-content {
  display: contents;
}

@media (max-width: 1024px) {
  .sitemap-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .sitemap-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .header-top {
    padding: 0 1rem;
  }
}

.sitemap-list li {
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}


.sitemap-list a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.sitemap-list a:hover {
  color: #007cba;
}

.category-group {
  margin-bottom: 20px;
}

.tags-cloud {
  line-height: 2;
}

.tag {
  display: inline-block;
  background: #e9e9e9;
  padding: 5px 10px;
  margin: 3px;
  border-radius: 3px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.3s;
}

.tag:hover {
  background: #007cba;
  color: white;
}

.toc {
  background: rgba(230, 57, 70, 0.1) !important;
  padding: var(--spacing-md) !important;
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-sm);
  border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .sitemap-section {
    padding: 15px;
  }

  .tag {
    font-size: 12px;
    padding: 3px 8px;
  }
}

@media (max-width: 1100px) {
  .wide-image-container {
    margin-left: calc(-2 * var(--space-xl));
    margin-right: calc(-2 * var(--space-xl));
    border-radius: var(--img-radius);
  }

  .site-branding nav {
    background: none;
    border-radius: var(--radius);

    margin-bottom: calc(var(--gap) * 1.5);
    box-shadow: none;
    border: none;
  }
}

header p {
  font-size: var(--font-md);
}

.toc-wrap {
  padding: 1rem;
}

.back-to-top {
  bottom: 1rem;
  right: 1rem;
  width: 45px;
  height: 45px;
}

/* articulos */
.articulos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 32px;
  padding-top: 30px;

  max-width: var(--max-width);
  margin: 0 auto;
}

.articulos-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 0;
}

.articulos-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.articulos-card__image-link img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.articulos-card:hover .articulos-card__image-link img {
  transform: scale(1.08);
}

/* Контент */

.articulos-card__content {
  padding: 0 17px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.articulos-card__title {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 1.6rem;
}

.articulos-card__title a {
  text-decoration: none;
}

.articulos-card__excerpt {
  margin-top: auto;

  margin-bottom: 0;
  color: #6e6e73;
  font-size: 0.95rem;
  line-height: 1.5;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.articulos-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1d1d1f;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s;
}

.articulos-card__link svg {
  transition: transform 0.3s;
}

.articulos-card__link:hover {
  color: #0073aa;
  gap: 12px;
}

.articulos-card__image-link {
  display: block;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  height: 170px;
}

.articulos-card__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.articulos-card:hover .articulos-card__image-link img {
  transform: scale(1.08);
}

.articulos-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.load-more-wrapper {
  text-align: center;
  margin: 40px 0;
}

.btn-load-more {
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn-load-more:hover {
  background-color: #005177;
}

@media (max-width: 559px) {
  .articulos-grid {
    gap: 17px;
  }

  .articulos-card__image-link {
    height: 17rem;
  }
}

@media (max-width: 768px) {
  .sitemap-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 5px;
    list-style: none;
    padding: 0;
  }
}

#site-navigation a,
.menu-item a {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* Images Styles for Tennis Betting Article */

.hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 0 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

.article-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: block;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.article-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {

  .hero-image,
  .article-image {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .article-image:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-image {
    margin: 0 0 1.5rem;
    border-radius: 8px;
  }

  .article-image {
    margin: 1.5rem 0;
    border-radius: 6px;
  }
}

/* Print styles */
@media print {

  .hero-image,
  .article-image {
    box-shadow: none;
    page-break-inside: avoid;
  }
}




.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;

}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #334155;
  align-items: flex-start;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-brand {
  flex: 1.5;
}

.footer-title {
  margin-top: 0;
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-tagline {
  margin-top: 15px;
  line-height: 1.6;
  font-size: 14px;
}

.footer-logo a {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer-logo img {
  max-width: 127px;
  height: auto;
  border-radius: 50%;
}

.footer-menu,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li,
.footer-links li {
  margin-bottom: 10px;
}

.footer-menu a,
.footer-links a {
  color: #7192bb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-menu a:hover,
.footer-links a:hover {
  color: #22c55e;
}

.footer-age-badge {
  font-size: 28px;
  font-weight: 900;
  color: #475569;
  margin-top: 15px;
}

.footer-bottom {
  padding-top: 25px;
  text-align: center;
}

.footer-bottom nav p {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  max-width: 900px;
  margin: 0 auto 15px auto;
}

.footer-copyright {
  font-size: 13px;
  color: #475569;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #22c55e;
  color: #0f172a;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  z-index: 999;
}

@media (max-width: 992px) {
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;

  }

  .footer-container {

    margin-left: 1rem;


  }
}