/**
 * Theme Name: sportnieuws
 * Version: 1.0
 */

:root {
  /* Color Palette - Sports/Football Theme */
  --color-primary: #1a472a;
  --color-primary-light: #2d5a3d;
  --color-primary-dark: #0f2d1a;
  --color-accent: #c9a227;
  --color-accent-light: #e3c04b;
  --color-accent-dark: #a68619;
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger: #dc3545;

  /* Neutral Colors */
  --color-bg: #fafafa;
  --color-bg-alt: #ffffff;
  --color-bg-card: #ffffff;
  --color-text: #1a1a1a;
  --color-text-secondary: #4a4a4a;
  --color-text-muted: #6c757d;
  --color-border: #e0e0e0;
  --color-border-light: #f0f0f0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-accent: 0 4px 20px rgba(201, 162, 39, 0.25);

  /* Typography */
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Consolas', 'Monaco', monospace;

  /* Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.75rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);

  /* Spacing */
  --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-xl: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --space-2xl: clamp(3rem, 2rem + 5vw, 6rem);

  /* Layout */
  --content-width: min(72ch, 90vw);
  --wide-width: min(90rem, 95vw);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* Dark Theme */
@media (prefers-color-scheme: dark) {
  :root {
    --color-primary: #3d8c5c;
    --color-primary-light: #4ea770;
    --color-primary-dark: #2d6b45;
    --color-accent: #e3c04b;
    --color-accent-light: #f0d470;
    --color-accent-dark: #c9a227;

    --color-bg: #0d1117;
    --color-bg-alt: #161b22;
    --color-bg-card: #1c2128;
    --color-text: #e6edf3;
    --color-text-secondary: #b1bac4;
    --color-text-muted: #8b949e;
    --color-border: #30363d;
    --color-border-light: #21262d;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 4px 20px rgba(227, 192, 75, 0.15);
  }
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 1000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Header */
header {

  min-height: 4rem;
}

/* Main Content */
main {
  flex: 1;
  width: 100%;
  max-width: var(--wide-width);
  margin: 0 auto;

}

.container {
  flex: 1;
  width: 100%;
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: var(--space-md) var(--space-sm);
}

/* Article Wrapper */
article {
  max-width: var(--content-width);
  margin: 0 auto;
}

/* Typography - Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 905px;
}

@media (prefers-color-scheme: dark) {
  h1 {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

h2 {
  font-size: var(--text-3xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--color-accent);
  position: relative;
  scroll-margin-top: 22px;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
}

h3 {
  font-size: var(--text-2xl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

@media (prefers-color-scheme: dark) {
  h3 {
    color: var(--color-accent);
  }
}

h3::before {
  content: '';
  width: 4px;
  height: 1.2em;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

h4 {
  font-size: var(--text-xl);
  /* margin-top: var(--space-lg); */
  margin-bottom: var(--space-sm);
}

/* Paragraphs */
p {
  margin-bottom: var(--space-md);
  /* color: var(--color-text-secondary); */
}

p:last-child {
  margin-bottom: 0;
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;

  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}

a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@media (prefers-color-scheme: dark) {
  a {
    color: var(--color-accent);
  }

  a:hover {
    color: var(--color-accent-light);
  }
}

/* Strong and Emphasis */
strong {
  font-weight: 700;
  color: var(--color-text);
}

em {
  font-style: italic;
}

/* Lists */
ul,
ol {
  margin-bottom: var(--space-md);

}

ul {
  list-style: none;
}

ul li {
  position: relative;
  margin-bottom: var(--space-sm);


}

ol {
  counter-reset: list-counter;
  list-style: none;
}

ol li {
  position: relative;
  margin-bottom: var(--space-sm);
  padding-left: var(--space-lg);
  counter-increment: list-counter;
}

ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 7px;
  width: 1.75em;
  height: 1.75em;
  background: var(--color-primary);
  color: white;
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nested Lists */
li ul,
li ol {
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

/* Blockquote */
blockquote {
  margin: var(--space-lg) 0;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg-card) 100%);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-md);
  font-style: italic;
  position: relative;
}

blockquote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: var(--space-md);
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
}

blockquote p {
  color: var(--color-text);
  font-size: var(--text-lg);
}

blockquote cite {
  display: block;
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--color-text-muted);
}

blockquote cite::before {
  content: '\2014\00a0';
}

/* Images */
figure {
  margin: var(--space-xl) 0;
}

.hero-image {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  max-width: var(--wide-width);
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image:hover img {
  transform: scale(1.02);
}

.logo-wrapper {
  display: flex;
  align-items: anchor-center;
  gap: 8px;
}

.main-logo-img {
  width: 58px;
}

.article-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-base);
}

.article-image:hover img {
  transform: scale(1.01);
}

figcaption {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
}

/* Table of Contents */
nav[aria-label="Table des matieres"] {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

nav[aria-label="Table des matieres"] ol {
  margin: 0;
  padding-left: var(--space-md);
}

nav[aria-label="Table des matieres"] li::before {
  background: var(--color-accent);
  width: 1.5em;
  height: 1.5em;
  font-size: var(--text-xs);
}

nav[aria-label="Table des matieres"] a {
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

nav[aria-label="Table des matieres"] a:hover {
  color: var(--color-accent);
  padding-left: var(--space-xs);
}

/* Horizontal Rule */
hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-border) 20%, var(--color-accent) 50%, var(--color-border) 80%, transparent 100%);
  margin: var(--space-2xl) 0;
}

/* Code */
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--color-bg-alt);
  padding: 0.2em 0.4em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

pre {
  margin: var(--space-lg) 0;
  padding: var(--space-md);
  background: var(--color-primary-dark);
  color: #e6edf3;
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
}

pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
}

/* Tables */
table {
  width: 100%;
  margin: var(--space-lg) 0;
  border-collapse: collapse;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

th,
td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

th {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
}

tr:hover {
  background: var(--color-bg-alt);
}

tr:last-child td {
  border-bottom: none;
}

/* FAQ Section */
section[aria-labelledby*="faq"] {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg-card) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

/* Info Cards/Boxes */
aside {
  margin: var(--space-lg) 0;
  padding: var(--space-md);
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
}

aside.warning {
  border-left-color: var(--color-warning);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, var(--color-bg-card) 100%);
}

aside.danger {
  border-left-color: var(--color-danger);
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, var(--color-bg-card) 100%);
}

aside.success {
  border-left-color: var(--color-success);
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, var(--color-bg-card) 100%);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: white;
  min-height: 4rem;
  margin-top: 2rem;
}

/* Selection */
::selection {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

/* Focus Visible */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Reduced Motion */
@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;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  header,
  footer,
  nav {
    display: none;
  }

  main {
    padding: 0;
    max-width: 100%;
  }

  h1 {
    -webkit-text-fill-color: initial;
    background: none;
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
  }

  blockquote {
    border-left-color: #333;
    background: #f5f5f5;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  h2::before {
    display: none;
  }

  h3::before {
    width: 3px;
  }

  blockquote {
    padding: var(--space-md);
  }

  blockquote::before {
    font-size: 2.5rem;
    top: -5px;
  }

  .hero-image {
    border-radius: 0;
    aspect-ratio: 16 / 9;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {


  ol li::before {
    width: 1.5em;
    height: 1.5em;
    font-size: var(--text-xs);
  }
}

/* Footer Content */
.footer-content {
  max-width: var(--content-width);
  margin: 0 auto;

  text-align: center;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
}





/* Hero Image */
.hero-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1200 / 630;
}

/* Article Images */
.article-image {

  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  aspect-ratio: 800 / 500;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-image {
    border-radius: 0;
    max-height: 300px;
    width: calc(100% + 2rem);
  }

  .article-image {
    border-radius: 6px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {

  .hero-image,
  .article-image {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
}

/* Hover effects */
.hero-image img,
.article-image img {
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

.article-image:hover img {
  transform: scale(1.01);
}


/* ====================== */

.container-casa p {
  max-width: 800px;
  font-size: 1.2rem;
  margin: 0 auto;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  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: 600px;
}

.content {
  margin-top: 3rem;
}

.wp-block-image img {

  margin-bottom: 2rem;
}





/* --- 1. menu --- */
.header-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.logo-text {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: capitalize;
  white-space: nowrap;
}





.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;
  width: 100%;
}





/* 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;
  margin: 3rem 0;
 
}

.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 li:before {
        content: "›";
        position: absolute;
        left: 0;
        color: #007cba;
    } */

.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;
}



a {
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

/* #Cursor
================================================== */

.cursor,
.cursor2,
.cursor3 {
  position: fixed;
  border-radius: 50%;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
  left: -100px;
  top: 50%;

  -webkit-transition: all 300ms linear;
  transition: all 300ms linear;
}

.cursor,
.cursor2,
.cursor3 {

  mix-blend-mode: difference;
  background-color: #00ffff;
}


.cursor-solid {
  background-color: #ffcc00;
  mix-blend-mode: normal;
}

.cursor2 {
  border: 2px solid #00efff;
}


.cursor {
  background-color: #fff;
  height: 0;
  width: 0;
  z-index: 99999;
}

.cursor2,
.cursor3 {
  height: 36px;
  width: 36px;
  z-index: 99998;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out
}

.cursor2.hover,
.cursor3.hover {
  -webkit-transform: scale(2) translateX(-25%) translateY(-25%);
  transform: scale(2) translateX(-25%) translateY(-25%);
  border: none
}

.cursor2 {
  border: 2px solid #fff;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.6);
}

.cursor2.hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 1200px) {

  .cursor,
  .cursor2,
  .cursor3 {
    display: none
  }
}

/* #Primary style
================================================== */


.over-hide {
  overflow: hidden;
}

.full-height {
  height: 100vh;
}

/* #Navigation
================================================== */

.cd-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
}



.nav-but-wrap {


  transition: all 0.3s ease-out;
}

.menu-icon {
  height: 30px;
  width: 30px;
  position: relative;
  z-index: 1000;
  cursor: pointer;
  display: block;
}

.menu-icon__line {
  height: 2px;
  width: 30px;
  display: block;
  background-color: #fff;
  margin-bottom: 7px;
  cursor: pointer;
  -webkit-transition: background-color .5s ease, -webkit-transform .2s ease;
  transition: background-color .5s ease, -webkit-transform .2s ease;
  transition: transform .2s ease, background-color .5s ease;
  transition: transform .2s ease, background-color .5s ease, -webkit-transform .2s ease;
}

.menu-icon__line-left {
  width: 16.5px;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.menu-icon__line-right {
  width: 16.5px;
  float: right;
  -webkit-transition: all 200ms linear;
  -moz-transition: all 200ms linear;
  -o-transition: all 200ms linear;
  -ms-transition: all 200ms linear;
  transition: all 200ms linear;
}

.menu-icon:hover .menu-icon__line-left,
.menu-icon:hover .menu-icon__line-right {
  width: 30px;
}


html,
body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}


.nav {
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
}

body.nav-active .nav {
  pointer-events: all;
}


.nav__content {
  overflow: hidden;
}


.nav {
  position: fixed;
  z-index: 98;
}

.nav:before,
.nav:after {
  content: "";
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border-bottom-left-radius: 200%;
  z-index: -1;
  -webkit-transition: -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  transition: -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  -webkit-transform: translateX(100%) translateY(-100%);
  transform: translateX(100%) translateY(-100%);
}

.nav:after {
  background: var(--color-accent);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.nav:before {
  -webkit-transition-delay: .2s;
  transition-delay: .2s;
}

.nav__content {
  position: fixed;
  visibility: hidden;
  top: 50%;
  margin-top: 20px;
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  width: 100%;
  text-align: center;
}

.nav__list {

  position: relative;
  padding: 0;
  margin-top: 150px;
  z-index: 2;
}

.nav__list-item {
  position: relative;
  display: block;
  -webkit-transition-delay: 0.8s;
  transition-delay: 0.8s;
  opacity: 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  font-size: 3vh;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 3px;
  -webkit-transform: translate(100px, 0%);
  transform: translate(100px, 0%);
  -webkit-transition: opacity .2s ease, -webkit-transform .3s ease;
  transition: opacity .2s ease, -webkit-transform .3s ease;
  transition: opacity .2s ease, transform .3s ease;
  transition: opacity .2s ease, transform .3s ease, -webkit-transform .3s ease;
  margin-top: 0;
  margin-bottom: 0;
}

.nav__list-item a {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  cursor: pointer;
  padding-left: 5px;
  padding-right: 5px;
  font-weight: 900;
  z-index: 2;
  display: inline-block;
  text-transform: uppercase;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  padding-bottom: 2rem;
}

.nav__list-item a:after {
  position: absolute;
  content: '';
  top: 50%;
  margin-top: -2px;
  left: 50%;
  width: 0;
  height: 0;
  opacity: 0;
  background-color: #8167a9;
  z-index: 1;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.nav__list-item a:hover:after {
  height: 4px;
  opacity: 1;
  left: 0;
  width: 100%;
}

.nav__list-item a:hover {
  color: rgba(255, 255, 255, 1);
}

.nav__list-item.active-nav a {
  color: rgba(255, 255, 255, 1);
}

.nav__list-item.active-nav a:after {
  height: 4px;
  opacity: 1;
  left: 0;
  width: 100%;
}

body.nav-active .nav__content {
  visibility: visible;
}

body.nav-active .menu-icon__line {
  background-color: #fff;
  -webkit-transform: translate(0px, 0px) rotate(-45deg);
  transform: translate(0px, 0px) rotate(-45deg);
}

body.nav-active .menu-icon__line-left {
  width: 15px;
  -webkit-transform: translate(2px, 4px) rotate(45deg);
  transform: translate(2px, 4px) rotate(45deg);
}

body.nav-active .menu-icon__line-right {
  width: 15px;
  float: right;
  -webkit-transform: translate(-3px, -3.5px) rotate(45deg);
  transform: translate(-3px, -3.5px) rotate(45deg);
}

body.nav-active .menu-icon:hover .menu-icon__line-left,
body.nav-active .menu-icon:hover .menu-icon__line-right {
  width: 15px;
}

body.nav-active .nav {
  visibility: visible;
}

body.nav-active .nav:before,
body.nav-active .nav:after {
  -webkit-transform: translateX(0%) translateY(0%);
  transform: translateX(0%) translateY(0%);
  border-radius: 0;
}

body.nav-active .nav:after {
  -webkit-transition-delay: .1s;
  transition-delay: .1s;
}

body.nav-active .nav:before {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

body.nav-active .nav__list-item {
  opacity: 1;
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  -webkit-transition: opacity .3s ease, color .3s ease, -webkit-transform .3s ease;
  transition: opacity .3s ease, color .3s ease, -webkit-transform .3s ease;
  transition: opacity .3s ease, transform .3s ease, color .3s ease;
  transition: opacity .3s ease, transform .3s ease, color .3s ease, -webkit-transform .3s ease;
}

body.nav-active .nav__list-item:nth-child(0) {
  -webkit-transition-delay: 0.7s;
  transition-delay: 0.7s;
}

body.nav-active .nav__list-item:nth-child(1) {
  -webkit-transition-delay: 0.8s;
  transition-delay: 0.8s;
}

body.nav-active .nav__list-item:nth-child(2) {
  -webkit-transition-delay: 0.9s;
  transition-delay: 0.9s;
}

body.nav-active .nav__list-item:nth-child(3) {
  -webkit-transition-delay: 1s;
  transition-delay: 1s;
}

body.nav-active .nav__list-item:nth-child(4) {
  -webkit-transition-delay: 1.1s;
  transition-delay: 1.1s;
}

body.nav-active .nav__list-item:nth-child(5) {
  -webkit-transition-delay: 1.2s;
  transition-delay: 1.2s;
}

body.nav-active .nav__list-item:nth-child(6) {
  -webkit-transition-delay: 1.3s;
  transition-delay: 1.3s;
}

body.nav-active .nav__list-item:nth-child(7) {
  -webkit-transition-delay: 1.4s;
  transition-delay: 1.4s;
}

body.nav-active .nav__list-item:nth-child(8) {
  -webkit-transition-delay: 1.5s;
  transition-delay: 1.5s;
}

body.nav-active .nav__list-item:nth-child(9) {
  -webkit-transition-delay: 1.6s;
  transition-delay: 1.6s;
}

body.nav-active .nav__list-item:nth-child(10) {
  -webkit-transition-delay: 1.7s;
  transition-delay: 1.7s;
}

.switch-wrap {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 10;
  transform: translateY(-50%);
  width: 100%;
  -webkit-transition: all 500ms linear;
  transition: all 500ms linear;
  margin: 0 auto;
  text-align: center;
}

.switch-wrap h1 {
  font-weight: 900;
  font-size: 46px;
  line-height: 1;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 40px;
  -webkit-transition: all 300ms linear;
  transition: all 300ms linear;
}

@media screen and (max-width: 580px) {
  .switch-wrap h1 {
    font-size: 32px;
  }
}

.switch-wrap p {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
  color: #8167a9;
  text-align: center;
  margin-top: 15px;
}

.switch-wrap p span {
  position: relative;
}

.switch-wrap p span:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 2px;
  background-color: #fff;
  left: 0;
  bottom: -4px;
  -webkit-transition: all 300ms linear;
  transition: all 300ms linear;
}

.switch-wrap p span:nth-child(2):before {
  opacity: 0;
}

#switch,
#circle {
  cursor: pointer;
  -webkit-transition: all 300ms linear;
  transition: all 300ms linear;
}

#switch {
  width: 60px;
  height: 8px;
  margin: 0 auto;
  text-align: center;
  border: 2px solid #000;
  border-radius: 27px;
  background: #8167a9;
  position: relative;
  display: inline-block;
}

#circle {
  position: absolute;
  top: -11px;
  left: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: 0 4px 4px rgba(26, 53, 71, 0.25), 0 0 0 1px rgba(26, 53, 71, 0.07);
  background: #fff;
}

.switched {
  border-color: #8167a9 !important;
  background: #000 !important;
}

.switched #circle {
  left: 43px;
  background: #000;
}

/* #Light
================================================== */

body.light {
  background-color: #fff;
}

body.light .cursor,
body.light .cursor2,
body.light .cursor3 {
  mix-blend-mode: normal;
}

body.light .cursor2 {
  border: 2px solid #1f2029;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

body.light .cursor2.hover {
  background: rgba(0, 0, 0, 0.06);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

body.light .logo-wrap a {
  color: #1f2029;
}

body.light .menu-icon__line {
  background-color: #1f2029;
}

body.light .nav:before {
  background: rgba(235, 235, 235, 0.6);
}

body.light .nav:after {
  background: rgba(250, 250, 250, 1);
}

body.light .nav__list-item a {
  color: rgba(0, 0, 0, 0.6);
}

body.light .nav__list-item a:hover {
  color: #1f2029;
}

body.light .nav__list-item.active-nav a {
  color: #1f2029;
}

body.light .switch-wrap h1 {
  color: #000;
}

body.light .switch-wrap p span:nth-child(2):before {
  opacity: 1;
  background-color: #000;
}

body.light .switch-wrap p span:nth-child(1):before {
  opacity: 0;
}

/* #Link to page
================================================== */

.link-to-portfolio {
  position: fixed;
  bottom: 40px;
  right: 50px;
  z-index: 200;
  cursor: pointer;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 3px;
  background-position: center center;
  background-size: 65%;
  background-repeat: no-repeat;

  box-shadow: 0 0 0 2px rgba(255, 255, 255, .1);
  transition: opacity .2s, border-radius .2s, box-shadow .2s;
  transition-timing-function: ease-out;
}

.link-to-portfolio:hover {
  opacity: 0.8;
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(255, 255, 255, .1);
}


.menu-item-has-children {
  position: relative;
}


.sub-menu {
  max-height: 0;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  transition: max-height 0.4s ease-in-out;
  text-align: center;
  width: 100%;
}


.sub-menu li a {
  font-size: 4vh;
  padding: 10px 0;
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  transition: color 0.3s ease;
}


.sub-menu li a:hover {
  color: var(--clr-yellow);
}

.menu-item-has-children>a::after {
  content: ' +';
  font-size: 3vh;
  vertical-align: middle;
  transition: transform 0.3s ease;
  display: inline-block;
}


.menu-item-has-children.is-open>a::after {
  content: ' -';
  color: var(--clr-yellow);
}

.menu-item__inner {
  display: inline-flex;
  align-items: flex-start;
}

.menu-toggle {
  padding-left: 0.8rem;
}

.nav ul li {
  padding-left: 0;
}


.footer-logo img {
  max-width: 127px;
  height: auto;
}

.site-footer {


  margin-top: 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 20px 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-brand p {
  color: #cbd5e1;
}

.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-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: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-menu a:hover,
.footer-links a:hover {
  color: #f59e0b;
}

.footer-age-badge {
  font-size: 28px;
  font-weight: 900;
  color: #475569;
  margin-top: 15px;
}

.footer-bottom {
  padding-top: 25px;
  text-align: center;
}

.footer-content p {
  font-size: 13px;
  line-height: 1.6;

  max-width: 900px;
  margin: 0 auto 15px auto;
}

.footer-copyright {
  font-size: 13px;

}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #f59e0b;
  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;

  }
}


nav.breadcrumbs {
  margin-bottom: 1rem;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
}


nav.breadcrumbs a {
    color: var(--color-text);
    text-decoration: none;
}

nav.breadcrumbs a:hover {
    text-decoration: underline;
    color: #005177;
}

nav.breadcrumbs .separator {
    
    margin: 0 5px;      
}


nav.breadcrumbs .current {
    font-weight: bold;
    
}

.tc-brand-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem auto;
}