/** Shopify CDN: Minification failed

Line 17:0 All "@import" rules must come first

**/
/* ==========================================================================
   Declaración de Fuentes Externas
   ========================================================================== */
@font-face {
  font-family: 'Gill Sans Display MT Pro Extra Bold';
  src: url('GillSansDisplayMTPro-ExBd.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700&family=Meow+Script&display=swap');

/* ==========================================================================
   Contenedor General
   ========================================================================== */
.article-template {
  width: 100%;
  padding-bottom: 40px;
  background-attachment: fixed !important; /* Mantiene la textura fija en desktop y móvil */
}

/* ==========================================================================
   1. Banner Introductorio (Full Width)
   ========================================================================== */
.article-hero,
.full-width-banner {
  position: relative !important;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 50px;
}

.article-hero__image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.article-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
}

.article-hero__content {
  position: relative;
  z-index: 3 !important;
  color: #F8F8E4;
  padding: 40px 20px;
  margin-left: 0 !important;      /* Elimina el centrado automático */
  padding-left: 300px !important;     /* Margen interno desde el borde izquierdo */
  max-width: 1300px !important;     /* Controla el ancho máximo del bloque de texto */
}

.article-hero__title {
  font-family: 'Gill Sans Display MT Pro Extra Bold', 'Arial Black', sans-serif !important;
  font-size: 60px;
  text-transform: uppercase;
  color: #F8F8E4;
  margin: 0 0 5px 0;
  line-height: 1.05;
  font-weight: 800;
}

.article-hero__tag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  max-width: 100%;
  font-family: 'Barlow Condensed', sans-serif;
  border: 1px solid #F8F8E4;
  border-radius: 10px;
  padding: 2px 14px;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 1px;
  text-align: center;
  box-sizing: border-box;
}

.article-hero__description {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  line-height: 1.1;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-hero__date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* ==========================================================================
   2. Subtítulo y Texto Introductorio
   ========================================================================== */
.article-intro {
  text-align: center;
  margin-bottom: 45px;
}

.article-intro__paragraph,
.article-intro__paragraph p {
  font-family: 'Barlow Condensed', sans-serif;
  color: #402312;
  font-size: 20px;
  line-height: 1.4;
  text-align: left;
  margin: 0;
}

/* ==========================================================================
   3, 4, 5, 6, 7. Estilos del Cuerpo de la Nota (RTE)
   ========================================================================== */
.article-template__content.rte {
  color: #402312;
  font-family: 'Barlow Condensed', sans-serif;
}

/* Estilo para Citas (Blockquote) desde el panel de Shopify */
.article-template__content.rte blockquote,
.article-intro__subtitle {
  font-family: 'Meow Script', cursive !important;
  color: #C50000 !important;
  font-size: 50px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  margin: 25px 0 25px 0 !important;
  padding: 0 !important;
  border: none !important;
  text-align: center !important;
}

/* Asegura que los párrafos generados dentro del Blockquote hereden la tipografía */
.article-template__content.rte blockquote p {
  font-family: inherit !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
  text-align: inherit !important;
}

/* Bloque 4: Títulos principales dentro del texto */
.article-template__content.rte h1,
.article-template__content.rte h2 {
  font-family: 'Gill Sans Display MT Pro Extra Bold', 'Arial Black', sans-serif !important;
  color: #C50000;
  text-transform: uppercase;
  text-align: left;
  font-size: 32px;
  margin-top: 35px;
  margin-bottom: 15px;
  line-height: 1.1;
  font-weight: 800;
}

/* Bloque 5: Subtítulos dentro del texto */
.article-template__content.rte h3,
.article-template__content.rte h4 {
  font-family: 'Barlow Condensed', sans-serif;
  color: #402312;
  text-align: justify;
  text-justify: inter-word;
  font-size: 26px;
  font-weight: 400;
  margin-top: 25px;
  margin-bottom: 10px;
  line-height: 1.2;
}

/* Bloque 6: Cuerpo de texto */
.article-template__content.rte p {
  font-family: 'Barlow Condensed', sans-serif;
  color: #402312;
  font-size: 20px;
  line-height: 1.2;
  text-align: left;
  margin-bottom: 20px;
}

/* Bloque 3: Imágenes integradas dentro del texto */
.article-template__content.rte img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 4px;
  display: block;
}

.article-template__content.rte img[style*="float: left"],
.article-template__content.rte img.alignleft {
  float: left;
  margin-right: 25px;
  margin-bottom: 20px;
}

.article-template__content.rte img[style*="float: right"],
.article-template__content.rte img.alignright {
  float: right;
  margin-left: 25px;
  margin-bottom: 20px;
}

.article-template__content.rte img[style*="float: center"],
.article-template__content.rte img.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   7. Sello Editorial
   ========================================================================== */
.article-editorial-seal {
  margin: 50px auto 50px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   8. Botones de Navegación 'Back to Blog'
   ========================================================================== */
.article-template__navigation {
  margin-top: 60px;
  margin-bottom: 10px;
}

.article-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 110px;
}

.article-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #F7AC00;
  color: #402312;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400;
  transition: opacity 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.article-nav-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.article-nav-btn--main {
  padding: 6px 24px;
  border-radius: 10px;
  font-size: 26px;
  letter-spacing: 0px;
}

.article-nav-btn--arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  flex-shrink: 0;
}

.article-nav-btn--arrow svg {
  width: 18px;
  height: 18px;
  display: block;
}

.article-nav-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Ajustes Responsivos - Móvil (Pantallas menores o iguales a 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {

  /* 1. Altura general y margen del Banner Hero */
  .article-hero,
  .full-width-banner {
    min-height: 306px;
    margin-bottom: 30px;
  }

  /* 2. Contenedor de Texto y Padding Interno */
  .article-hero__content {
    padding: 35px 20px 30px 20px !important;
    max-width: 100% !important;
    text-align: left;
  }

  /* 3. Título Principal */
  .article-hero__title {
    font-size: 26px !important;
    line-height: 1.1 !important;
    margin-bottom: 2px;
  }

  /* 4. Insignia / Tag del Blog */
  .article-hero__tag-badge {
    width: auto !important;
    display: inline-block;
    font-size: 13px;
    padding: 2px 10px;
    margin-bottom: 10px;
  }

  /* 5. Descripción / Subtítulo corto */
  .article-hero__description {
    font-size: 19px;
    line-height: 1.2;
    margin-bottom: 10px;
    -webkit-line-clamp: 3;
  }

  /* 6. Fecha de publicación */
  .article-hero__date {
    font-size: 13px;
  }
}

/* ==========================================================================
   Ajustes Tipográficos y de Contenido - Móvil (max-width: 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {

  /* 1. Subtítulo Manuscrito / Blockquote e Introducción */
  .article-intro {
    margin-bottom: 30px;
  }

  .article-template__content.rte blockquote,
  .article-intro__subtitle {
    font-size: 38px !important;
    line-height: 1.15 !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  .article-intro__paragraph,
  .article-intro__paragraph p {
    font-size: 19px !important;
    line-height: 1.2 !important;
  }

  /* 2. Cuerpo del Artículo (RTE) */
  /* Títulos principales (H1 / H2) */
  .article-template__content.rte h1,
  .article-template__content.rte h2 {
    font-size: 26px !important;
    line-height: 1.15 !important;
    margin-top: 25px;
    margin-bottom: 12px;
  }

  /* Subtítulos (H3 / H4) */
  .article-template__content.rte h3,
  .article-template__content.rte h4 {
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin-top: 20px;
    margin-bottom: 8px;
    text-align: left;
  }

  /* Párrafos del cuerpo */
  .article-template__content.rte p {
    font-size: 19px !important;
    line-height: 1.2 !important;
    margin-bottom: 16px;
  }

  /* Imágenes integradas en el texto */
  .article-template__content.rte img[style*="float: left"],
  .article-template__content.rte img[style*="float: right"],
  .article-template__content.rte img.alignleft,
  .article-template__content.rte img.alignright {
    float: none !important;
    margin: 15px auto !important;
  }

  /* 3. Navegación (Ajuste de separación y botón 'Back to Blog') */
  .article-nav-wrapper {
    gap: 40px !important;
  }

  .article-nav-btn--main {
    font-size: 22px !important;
    padding: 4px 36px !important;
  }
}

/* ==========================================================================
   Ajustes Responsivos - Móvil (Pantallas menores o iguales a 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {

  /* Espaciado inferior de la sección completa en móvil */
  .article-template {
    padding-bottom: 30px !important; /* Puedes aumentar o reducir este valor según el espacio deseado */
  }

  /* ... resto de tus reglas móviles existentes ... */
}