/* 🌐 GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: monospace, sans-serif;
  background-color: #fff;
  color: #111;
  line-height: 1.6;
}
body section, body main { 
    margin: 2rem 2rem 0rem 2rem !important; 

}
header {
  margin: 1rem 1rem 0rem 1rem !important; 
  padding: 1rem;
}
.section-primary, .section-secondary {
  padding: 1rem;
}
/* 🎨 UTILITIES */
.text-center { text-align: center; }
.text-pad { padding: 0.2rem}
.pad-1 {padding: 1rem}
.pad-t-1 {padding-top: 1rem;}
.mar-inline {margin-inline: 2rem;}
.bg-white { background-color: #fff; }
.bg-gray-light { background-color: #f0f0f0; }
.border-solid { border: 2px solid #000; }
.border-dashed { border: 2px dashed #000; }
.border-dotted { border: 3px dotted #000; }
.border-top { border-top: 2px solid #000; }
.border-bottom-1 {border-bottom: 1px solid #000;}
.border-top-bottom { border-top: 2px solid #000; border-bottom: 2px solid #000; }
.section-secondary { border: 2px solid black ;background-color: #fafafa; }
.section-title {
  font-size: 1.4rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-mid {
  max-width: 70%;
  margin: 2rem auto 3rem auto;
  min-width: 320px;
}
@media (max-width: 768px) {
  .section-mid {
    max-width: 90%;
  }
}

/* 🔳 HEADER */
.site-header {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-image {
  max-width: 180px;
  height: auto;
  margin-bottom: 0.5rem;
}

.site-tagline {
  font-size: 1.1rem;
  font-weight: bold;
}

/* 🧭 NAVIGATION */
.main-nav {
  margin-top: 1rem;
  padding: 0.5rem
}

.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0.5rem;
  gap: 1rem;
}

.nav-list a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  border: 2px solid #000;
  padding: 0.4rem 0.8rem;
  background-color: #fff;
  transition: background-color 0.2s;
}

.nav-list a:hover {
  background-color: #ddd;
  color: #303030;
}

/* ⭐ HERO */
.hero-with-image {
  position: relative;
  margin: 2rem 0;
  overflow: hidden;
  background-color: #fff;
}

.hero-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.05) 0px,
    rgba(0, 0, 0, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

.hero-content {
  padding: 2rem 1rem;
  text-align: center;
}

.hero-label {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-summary {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-inline: auto;
}

.hero-button {
  display: inline-block;
  border: 2px solid #000;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: bold;
  background-color: #fff;
  color: #000;
  transition: background-color 0.2s;
}

.hero-button:hover {
  background-color: #000;
  color: #fff;
}

/* 📰 RECENT ARTICLES */
.recent-articles {
  margin: 2rem 0;
}
.article-detail {
  max-width: 90rem !important;
  margin: 0 auto;
}
.grid-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
}

.article-card {
  border: 2px solid #000;
  background-color: #fefefe;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.article-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid #000;
}

.article-content {
  padding: 1rem;
}

.article-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.article-title a {
  text-decoration: none;
  color: #000;
}

.article-title a:hover {
  text-decoration: underline;
}

.article-summary {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.75rem;
}

.article-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.8rem;
  color: #000;
  text-decoration: none;
  background: #eaeaea;
  padding: 0.25rem 0.5rem;
  border: 1px solid #000;
}

.tag:hover {
  background-color: #ddd;
  color: #303030;
}

/* 🔥 TRENDING NOW */
.trending-now {
  margin: 3rem 0;
  padding: 1.5rem;
}

.trending-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.trending-list li {
      margin-bottom: 1rem;

}

.trending-list li a {
  padding: 0.45rem 0.9rem;
  font-weight: bold;
  border: 1px dotted #000;
  background-color: #fafafa;
  color: #000;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}

.trending-list li a:hover {
  background-color: #000;
  color: #fff;
}

/* 💬 QUOTES */
.quotes-section blockquote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* ❓ FAQ */
.faq-section details {
  margin-bottom: 1rem;
  border: 1px solid #000;
  padding: 0.75rem;
  background-color: #fefefe;
  cursor: pointer;
}
.faq-section details summary {
  font-weight: 800;
}
.faq-section details p {
  color: #505050;
}
/* 🦶 FOOTER */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 1rem 1rem;
  border-top: 3px solid #000;
  background-color: #f9f9f9;
  text-align: center;
  font-size: 0.9rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
  margin-bottom: 1rem;
}

.footer-nav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.footer-nav a:hover {
  border-bottom: 1px solid #000;
}

.footer-credit {
  font-size: 0.8rem;
  color: #777;
  margin-top: 0.3rem;
}

/* 📱 RESPONSIVE */
@media (max-width: 1024px) {
  .grid-articles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-articles {
    grid-template-columns: 1fr;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    display: block;
    text-align: center;
    width: 100%;
  }

  .hero-title {
    font-size: 1.25rem;
  }

  .hero-summary {
    font-size: 0.95rem;
  }
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #111;
  color: #fff;
  z-index: 10000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  font-size: 0.95rem;
}

.cookie-banner-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  width: 100%;
}

.cookie-banner-content p {
  margin: 0;
  flex: 1;
}

.cookie-banner-content a {
  color: #ccc;
  text-decoration: underline;
}

#cookie-accept-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

#cookie-accept-btn:hover {
  background-color: #000;
  color: #fff;
  border: 1px solid #fff;
}

.hidden {
  display: none !important;
}


.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.contact-form label {
  font-weight: bold;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75em;
  margin: 0.5em 0 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  cursor: pointer;
  display: inline-block;
  border: 2px solid #000;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: bold;
  background-color: #fff;
  color: #000;
  transition: background-color 0.2s;
}

.contact-form button:hover {
  cursor: pointer;
  background-color: #000;
  color: #fff;
}
.success-message {
  color: green;
  text-align: center;
  margin-top: 1em;
}

.screen-reader-text {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


.backlinks {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.backlinks ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.backlinks li {
  margin-bottom: 8px;
  
}

.backlinks a {
  color: #1a73e8; /* Azul tipo enlace */
  text-decoration: none; /* Sin subrayado por defecto */
  font-weight: 500;
  font-size: 1.2rem;
  transition: color 0.2s, text-decoration 0.2s;
}

.backlinks a:hover {
  color: #0c47a1; /* Azul más oscuro */
  text-decoration: underline; /* Subrayado al pasar el mouse */
}

/* 🧱 Centraliza el artículo dentro de una caja mid */
.section-mid {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  background-color: #fff;
  border: 2px solid #000;
}

@media (max-width: 768px) {
  .section-mid {
    max-width: 95%;
    padding: 1rem 1rem;
  }
}

/* 🧾 Encabezados brutalistas */
.article-detail h1,
.article-detail h2 {
  font-family: monospace, sans-serif;
  text-transform: uppercase;
  border-bottom: 2px solid #000;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
}

.article-detail h1 {
  font-size: 1.8rem;
}

.article-detail h2 {
  font-size: 1.3rem;
}

/* 📄 Texto del artículo */
.article-body p,
.article-body li {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.article-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* 🎤 Author box */
.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem !important;
  border: 2px solid #000;
  padding: 1rem;
  background-color: #fafafa;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #000;
  object-fit: cover;
}

/* 💬 Citas */
.article-body blockquote {
  border-left: 4px solid #000;
  margin: 1.5rem 0;
  padding-left: 1rem;
  font-style: italic;
  color: #444;
  background-color: #f5f5f5;
}

/* ❓ FAQ Styling */
.article-body .faq {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #fefefe;
  border: 2px dashed #000;
}

.article-body .faq dt {
  font-weight: bold;
  margin-top: 1rem;
  font-size: 1rem;
}

.article-body .faq dd {
  margin-left: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
  color: #444;
}

/* 🔗 Backlinks */
.backlinks {
  padding: 1rem;
  background-color: #fafafa;
  border-top: 2px solid #000;
}

.backlinks li {
  margin-bottom: 0.75rem;
}

.backlinks a {
  color: #000;
  font-weight: bold;
  text-decoration: underline;
  transition: background-color 0.2s;
}

.backlinks a:hover {
  background-color: #ffe600;
  color: #000;
}

/* 🎯 Responsividad final */
@media (max-width: 480px) {
  .article-detail h1 {
    font-size: 1.4rem;
  }

  .article-detail h2 {
    font-size: 1.1rem;
  }

  .article-body p {
    font-size: 0.95rem;
  }

  .author-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .author-image {
    width: 48px;
    height: 48px;
  }
}

/* 🌐 Accesibilidad visual para enlaces */
a {
  color: #000;
  text-decoration: underline;
  font-weight: bold;
}

a:hover {
  background-color: yellow;
  color: #000;
}


/* 🧠 OPINION */
.opinion {
  border-left: 4px solid #000;
  padding: 1rem;
  background-color: #fafafa;
  margin-bottom: 2rem;
}

/* 🔥 TREND */
.trend {
  border: 2px dotted #000;
  padding: 1rem;
  background-color: #fff;
  margin-bottom: 2rem;
}

/* ⚠️ SPOILER */
.spoiler {
  border: 2px solid red;
  background-color: #ffeaea;
  padding: 1rem;
  margin-bottom: 2rem;
}

/* ✅ CONCLUSION */
.conclusion-block {
  border: 3px double #000;
  background-color: #f5f5f5;
  padding: 1.5rem;
  margin-top: 2rem;
}

.article-main-image { 
  width: 100%;
  height: 20rem;
  border: 1px solid #000;
  object-fit: cover;

}

.article-body > p {
  margin: 2rem 2rem 0rem 2rem !important
}
.margin-k-1 {
  margin: 2rem 2rem 0rem 2rem
}

.ad-slot{
  margin: 1rem 2rem 0rem 2rem !important;
}