* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/*-----FONTS-----*/
@font-face {
  font-family: 'Inter-regular';
  src: url('../fonts/Inter-Regular.woff2') format('woff2'),
    url('../fonts/Inter-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Inter-Light';
  src: url('../fonts/Inter-Light.woff2') format('woff2'),
    url('../fonts/Inter-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Inter-Bold';
  src: url('../fonts/Inter-Bold.woff2') format('woff2'),
    url('../fonts/Inter-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Inter-ExtraLight';
  src: url('../fonts/Inter-ExtraLight.woff2') format('woff2'),
    url('../fonts/Inter-ExtraLight.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}


body {
  font-family: 'Inter', sans-serif;
}

:root {
  --negro: black;
  --blanco: white;
  --azul: #2B49FF;
  --gris: #797777;
  --espaciado-base: 16px;

  /* Fuentes */
  --font-bold: 'Inter-Bold', sans-serif;
  --font-regular: 'Inter-regular', sans-serif;
  --font-light: 'Inter-Light', sans-serif;

  /* Tamaños de fuente */
  --font-size-title: 60px;
  --font-size-subtitle: 35px;
  --font-size-parrafo: 20px;
}

/*SELECCIÓN DE TEXTO*/
/* Cambiar color de selección de texto */
::selection {
  background: var(--azul);
  /* Color de fondo */
  color: white;
  /* Color del texto */
}

/* Para compatibilidad con Firefox */
::-moz-selection {
  background: var(--azul);
  color: white;
}


.blog-section {
  padding: 120px 50px 0px 50px;
  font-family: 'Inter';
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.blog-article {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--azul);
  padding-bottom: 30px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.blog-article:nth-child(1) {
  animation-delay: 0.1s;
}

.blog-article:nth-child(2) {
  animation-delay: 0.2s;
}

.blog-article:nth-child(3) {
  animation-delay: 0.3s;
}

.blog-article:nth-child(4) {
  animation-delay: 0.4s;
}

.blog-article:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-image {
  flex: 1 1 60%;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
  transform: scale(1);
}

.blog-image img:hover {
  transform: scale(1.05);
}

.blog-content {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-content h2 {
  font-family: var(--font-light);
  font-weight: normal;
  text-transform: uppercase;
  font-size: 25px;
  color: var(--negro);
  margin: 0 0 10px;
}

.blog-content h4 {
  font-family: var(--font-bold);
  font-weight: normal;
  font-size: 18px;
  color: var(--negro);
  margin: 0 0 10px;
}

.blog-content p {
  font-family: var(--font-regular);
  font-size: 18px;
  color: var(--negro);
}

.article-date {
  font-family: var(--font-regular);
  font-size: 18px;
  color: var(--gris);
  margin-bottom: 10px;
  display: block;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 30px auto;
}

.pagination button {
  background-color: #b7b9bb;
  color: white;
  border: none;
  margin: 0 5px;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pagination button.active {
  background-color: var(--azul);
}

.read-more {
  font-family: var(--font-bold);
  font-weight: normal;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  text-decoration: none;
  color: var(--azul);
  transition: all 0.3s ease;
  position: relative;
}

.read-more .arrow-icon {
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.read-more:hover {
  color: black;
  transform: translateX(5px);
}

.read-more:hover .arrow-icon {
  opacity: 1;
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .blog-article {
    flex-direction: column;
  }

  .blog-image,
  .blog-content {
    flex: 1 1 100%;
  }

  .blog-section {
    gap: 40px;
    padding: 100px 30px 0px 30px;
  }

  .blog-content h2 {
    font-size: 25px;
  }

  .blog-content h4 {
    font-size: 18px;
  }

  .blog-content p {
    font-size: 16px;
  }

  .article-date {
    font-size: 18px;
  }
}

/**************************
        ARTÍCULO
***************************/
.articulo-blog {
  font-family: 'Inter';
  max-width: 1200px;
  margin: auto;
  padding: 120px 20px 80px 20px;
  color: var(--negro);
}

.header-img {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  max-height: 465px;
}

.header-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.header-img:hover img {
  transform: scale(1.1);
}

.titulo-autor {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-top: 40px;
}

.titulo-autor h1 {
  font-family: var(--font-bold);
  font-weight: normal;
  color: var(--azul);
  max-width: 75%;
  font-size: 45px;
  animation: fadeUp 0.8s ease forwards;
}

/* Subtítulos dentro del artículo */
.contenido-articulo h3 {
  font-family: var(--font-bold);
  font-size: 28px;
  margin-top: 50px;
  margin-bottom: 10px;
  font-weight: normal;
  color: var(--negro);
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

@media (max-width: 768px) {
  .contenido-articulo h3 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 15px;
  }
}

.autor-fecha {
  text-align: right;
  animation: fadeUp 1s ease forwards;
}

.autor-fecha p {
  font-style: italic;
  margin: 0;
}

.autor-fecha span {
  display: block;
  margin-top: 5px;
}

.contenido-articulo p {
  font-size: 20px;
  line-height: 1.4;
  margin-top: 20px;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.contenido-articulo li {
  font-size: 20px;

}

.contenido-articulo p b {
  font-weight: bold;
}

.contenido-articulo p i {
  font-style: italic;
}

.contenido-articulo p q {
  quotes: "“" "”" "‘" "’";
  font-style: italic;
}

.fila-imagen,
.fila-dos-imagenes {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeUp 1s ease forwards;
}

.fila-imagen img,
.fila-dos-imagenes img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.fila-imagen {
  flex-direction: column;
}

.fila-dos-imagenes img {
  flex: 1;
  min-width: calc(50% - 10px);
}

.video {
  margin-top: 30px;
  animation: fadeUp 1s ease forwards;
}

.video video {
  width: 100%;
  max-height: 500px;
}

.contenido-articulo ul,
.contenido-articulo ol {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  animation: fadeUp 1s ease forwards;
}

.contenido-articulo ul li,
.contenido-articulo ol li {
  position: relative;
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  line-height: 1.5;
}

/* Viñetas para UL */
.contenido-articulo ul {
  list-style: none;
}

.contenido-articulo ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background-color: var(--azul); /* azul */
  border-radius: 50%;
}

/* Numeración personalizada para OL */
.contenido-articulo ol {
  counter-reset: item;
  list-style: none;
}

.contenido-articulo ol li::before {
  content: counter(item) ".";
  counter-increment: item;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--azul);
  font-weight: bold;
}

@keyframes fadeUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .titulo-autor {
    flex-direction: column;
    align-items: flex-start;
  }

  .titulo-autor h1 {
    max-width: 100%;
    font-size: 1.5rem;
  }

  .autor-fecha {
    text-align: left;
    margin-top: 10px;
  }

  .fila-dos-imagenes {
    flex-direction: column;
  }

  .fila-dos-imagenes img {
    min-width: 100%;
  }

  .articulo-blog {
 padding: 100px 20px 20px 20px;
}

.contenido-articulo p {
  font-size: 17px;
  line-height: 1.3;

}

.contenido-articulo ol li,
.contenido-articulo ul li{
  font-size: 15px;

}

}