/* =========================================================
   BLOG - CAMINANDO CON PROPÓSITO
========================================================= */

.blog-hero {
  min-height: 58vh;
  background-image:
    linear-gradient(
      rgba(222, 222, 234, 0.35),
      rgba(222, 222, 234, 0.82)
    ),
    url('/assets/img/fondo-montana.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 7rem 1.2rem 3.8rem;
  display: flex;
  align-items: center;
}

.blog-hero-box {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 26px;
  padding: 2.7rem 2.3rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.blog-hero-box h1 {
  color: #61678B;
  font-size: 1.9rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.blog-hero-box p {
  color: #444;
  line-height: 1.8;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 1rem;
}

.blog-hero-note {
  color: #836a8d !important;
  font-weight: 700;
  font-style: italic;
}

/* BUSCADOR Y FILTROS */

.blog-tools-section {
  background-color: #DEDEEA;
  padding: 2.4rem 1rem 1rem;
}

.blog-tools-box {
  max-width: 1020px;
  margin: 0 auto;
}

.blog-search-box {
  max-width: 460px;
  margin: 0 auto 1.5rem;
}

.blog-search-input {
  width: 100%;
  border: 2px solid rgba(120, 172, 193, 0.65);
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-family: 'Mulish', sans-serif;
  color: #444;
  outline: none;
  background-color: rgba(255,255,255,0.82);
}

.blog-search-input:focus {
  border-color: #45798e;
  box-shadow: 0 0 0 4px rgba(120, 172, 193, 0.18);
}

.blog-filters {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* LISTADO */

.blog-list-section {
  background-color: #DEDEEA;
  padding: 3rem 1.2rem 4.5rem;
}

.blog-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
}

.blog-post-card {
  background-color: rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  border: 1px solid rgba(131, 106, 141, 0.10);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.09);
}

.blog-post-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background-color: rgba(131, 106, 141, 0.12);
  color: #836a8d;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  margin: 0 auto 1.2rem;
}

.blog-post-label {
  display: inline-block;
  background-color: #78ACC1;
  color: white;
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.blog-post-content h2 {
  color: #45798e;
  font-size: 1.18rem;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.blog-post-content p {
  color: #555;
  line-height: 1.7;
  font-size: 0.96rem;
  margin-bottom: 1.2rem;
}

.blog-empty-message {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
  background-color: rgba(255,255,255,0.72);
  border-radius: 18px;
  padding: 1.4rem;
  color: #61678B;
  font-weight: 700;
}

/* CTA FINAL */

.blog-final-section {
  background-color: #ffffff;
  padding: 4.5rem 1.2rem;
}

.blog-final-box {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(131,106,141,0.10), rgba(120,172,193,0.13));
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.blog-final-box h2 {
  color: #61678B;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.blog-final-box p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: #444;
  line-height: 1.8;
}

.blog-final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .blog-hero {
    min-height: auto;
    padding: 5.8rem 1rem 3rem;
    background-attachment: scroll;
  }

  .blog-hero-box {
    padding: 2rem 1.4rem;
    border-radius: 22px;
  }

  .blog-hero-box h1 {
    font-size: 1.8rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-final-box {
    padding: 2rem 1.4rem;
  }

  .blog-final-actions a {
    width: 100%;
    text-align: center;
  }
}



/* =========================================================
   ARTÍCULOS DE BLOG - CAMINANDO CON PROPÓSITO
========================================================= */

.blog-article-page {
  background-color: #DEDEEA;
}

/* HERO DEL ARTÍCULO */

.article-hero {
  min-height: 56vh;
  background-image:
    linear-gradient(
      rgba(222, 222, 234, 0.35),
      rgba(222, 222, 234, 0.86)
    ),
    url('/assets/img/fondo-montana.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 7rem 1.2rem 3.8rem;
  display: flex;
  align-items: center;
}

.article-hero-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 26px;
  padding: 2.8rem 2.4rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.article-category {
  display: inline-block;
  background-color: rgba(120, 172, 193, 0.20);
  color: #45798e;
  border: 1px solid rgba(120, 172, 193, 0.42);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.article-hero h1 {
  color: #61678B;
  font-size: 2.05rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1rem;
}

.article-subtitle {
  max-width: 760px;
  margin: 0 auto 1.2rem;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #836a8d;
  font-size: 0.9rem;
  font-weight: 700;
}

.article-meta i {
  margin-right: 0.35rem;
}

/* LAYOUT */

.article-section {
  padding: 2.5rem 1.2rem;
  background-color: #DEDEEA;
}

.article-layout {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 980px) 300px;
  gap: 2.5rem;
  align-items: start;
}

/* CONTENIDO */

.article-content {
  background-color: rgba(255, 255, 255, 0.88);
  border-radius: 26px;
  padding: 3.2rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
  border: 1px solid rgba(131, 106, 141, 0.10);
  width: 980px !important;
}

.article-content p {
  color: #3B3B3B;
  font-size: 1.08rem;
  line-height: 1.95;
  margin-bottom: 1.45rem;
}

.article-content em {
  color: #61678B;
  font-weight: 700;
}

.article-content blockquote {
  margin: 2.4rem 0;
  padding: 1.6rem 1.8rem;
  border-left: 5px solid #78ACC1;
  background:
    linear-gradient(135deg, rgba(120,172,193,0.13), rgba(131,106,141,0.08));
  border-radius: 18px;
  color: #61678B;
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 800;
  font-style: italic;
}

.article-signature {
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(131, 106, 141, 0.18);
}

.article-signature p {
  color: #836a8d;
  font-weight: 800;
  margin-bottom: 0;
}

/* SIDEBAR */

.article-sidebar {
  position: sticky;
  top: 95px;
  display: grid;

  width: 300px !important;
}

.sidebar-card {
  background-color: rgba(255,255,255,0.82);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  border: 1px solid rgba(131, 106, 141, 0.10);
}

.sidebar-card h3 {
  color: #61678B;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-card li {
  margin-bottom: 0.8rem;
}

.sidebar-card a {
  color: #45798e;
  font-weight: 800;
  text-decoration: none;
}

.sidebar-card a:hover {
  color: #836a8d !important;
  text-decoration: underline;
}

.sidebar-card p {
  color: #555;
  line-height: 1.7;
}

.sidebar-soft {
  background:
    linear-gradient(135deg, rgba(131,106,141,0.10), rgba(120,172,193,0.13));
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .article-hero {
    min-height: auto;
    padding: 5.8rem 1rem 3rem;
    background-attachment: scroll;
  }

  .article-hero-box {
    padding: 2rem 1.4rem;
    border-radius: 22px;
  }

  .article-hero h1 {
    font-size: 1.8rem;
  }

  .article-section {
    padding: 3.5rem 1rem;
  }

  .article-content {
    padding: 2rem 1.35rem;
    border-radius: 22px;
  }

  .article-content p {
    font-size: 1rem;
    line-height: 1.85;
  }

  .article-content blockquote {
    font-size: 1.08rem;
    padding: 1.3rem;
  }
}