@charset "UTF-8";
/*
  SCSS para Tu Peludo Amigo - Estilos del Blog
  Combinado y Optimizado con estilos de la página principal
*/
html, body {
  height: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  scroll-snap-type: y mandatory;
}

body {
  font-family: "Nunito", sans-serif;
  line-height: 1.6;
  color: #333;
  background: radial-gradient(circle at top left, #f0f0ff, #e8e8fa 70%);
  background-attachment: fixed;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
body.menu-open {
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.visual-h1 {
  font-family: "Baloo 2", sans-serif;
  font-size: 3.5em;
  font-weight: bold;
  color: #A06CD5;
  margin-bottom: 20px;
}

.visual-h2 {
  font-family: "Jost", sans-serif;
  font-size: 2.5em;
  font-weight: 600;
  color: #333;
  margin-top: 40px;
  margin-bottom: 15px;
}

.site-name {
  font-family: "Ubuntu Condensed", sans-serif;
}

.main-header {
  color: #fff;
  background-color: #A06CD5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0 20px;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
}
.main-header span {
  color: #fff;
}
.main-header .space {
  display: none;
}
.main-header .container {
  background-color: #A06CD5;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0;
}
.main-header .logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.main-header .site-logo {
  height: 50px;
  width: auto;
}
.main-header .header-logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1002;
}
@media (max-width: 767px) {
  .main-header {
    height: 65px;
    padding: 0 15px;
  }
  .main-header .site-name {
    display: none;
  }
  .main-header .space {
    display: block;
  }
}

/* --- Botón de Menú (Hamburguesa) --- */
.menu-toggle {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1005;
  color: #fff;
  display: none;
}
.menu-toggle .material-symbols-outlined {
  font-size: 36px;
  transition: transform 0.3s ease-in-out 0.3s ease-in-out;
}
@media (max-width: 767px) {
  .menu-toggle {
    display: block;
    position: relative;
  }
}

/* --- Navegación Principal (Enlaces) --- */
.main-nav {
  background-color: #A06CD5;
  /* --- MOBILE STYLES para main-nav --- */
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
  font-family: "Rubik", sans-serif;
}
.main-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.1em;
  padding: 8px 15px;
  position: relative;
  border-radius: 5px;
  z-index: 0;
  transition: color 0.3s ease-in-out;
  overflow: hidden;
}
.main-nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 5px;
  z-index: -1;
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 6px #5ec7f9;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
.main-nav a:hover {
  color: #333;
}
.main-nav a:hover::before {
  transform: translateY(0);
  opacity: 1;
}
@media (max-width: 767px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: -70dvw;
    right: auto;
    width: 70dvw;
    height: 100vh;
    background-color: rgba(160, 108, 213, 0.98);
    padding-top: 95px;
    padding-left: 20px;
    padding-right: 0;
    transform: translateX(0);
    z-index: 1004;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: left 0.3s cubic-bezier(0.23, 1, 0.32, 1) opacity 0.2s ease-out visibility 0.2s ease-out;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: none;
    text-align: left;
    padding-top: 20px;
  }
  .main-nav a {
    position: relative;
    text-decoration: none;
    color: #fff;
    font-size: 1.8em;
    font-weight: 500;
    padding: 12px 0;
    display: block;
    width: 100%;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-20px);
  }
  .main-nav a::before {
    display: none;
  }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #8fd8fb;
    transition: width 0.3s ease, left 0.3s ease;
  }
  .main-nav a:hover::after {
    width: 80%;
    left: 10%;
  }
  .main-nav a:hover {
    color: white;
    transform: translateY(-3px);
  }
  .main-nav a:hover::after {
    width: 80%;
  }
  .menu-open .main-nav a {
    animation: slideInLink 0.4s ease-out forwards;
  }
  .menu-open .main-nav a:nth-child(1) {
    animation-delay: 0.1s;
  }
  .menu-open .main-nav a:nth-child(2) {
    animation-delay: 0.15s;
  }
  .menu-open .main-nav a:nth-child(3) {
    animation-delay: 0.2s;
  }
  .menu-open .main-nav a:nth-child(4) {
    animation-delay: 0.25s;
  }
  .menu-open .main-nav a:nth-child(5) {
    animation-delay: 0.3s;
  }
  .menu-open .main-nav a:nth-child(6) {
    animation-delay: 0.35s;
  }
}

/* --- Backdrop para el menú móvil (overlay oscuro detrás del menú) --- */
@media (max-width: 767px) {
  .menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s ease-in-out visibility 0.1s ease-in-out ease-in-out;
  }
}

/* --- Estados Activos (JavaScript añade/quita estas clases) --- */
body.menu-open {
  overflow: hidden;
}
body.menu-open .main-nav {
  left: 0;
  opacity: 1;
  visibility: visible;
}
body.menu-open .menu-backdrop {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 767px) {
  body.menu-open .menu-toggle {
    color: #fff;
    z-index: 1005;
  }
  body.menu-open .menu-toggle .material-symbols-outlined {
    transform: rotate(90deg);
  }
}

body.menu-closing .main-nav {
  animation: slideOutMenu 0.3s ease-out forwards;
}
body.menu-closing .menu-backdrop {
  opacity: 0;
  visibility: hidden;
}

@keyframes slideInLink {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideOutMenu {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}
--- .blog-index-hero {
  background-color: #c6a8e6;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
--- .blog-index-hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}
--- .blog-index-hero .visual-h1 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 3.2rem;
}
@media (max-width: 768px) {
  --- .blog-index-hero .visual-h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 480px) {
  --- .blog-index-hero .visual-h1 {
    font-size: 2rem;
  }
}
--- .blog-index-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}
@media (max-width: 768px) {
  --- .blog-index-hero p {
    font-size: 1.1rem;
  }
}

/* --- Estilos para tarjetas del blog --- */
.blog-list-section {
  padding: 4rem 0;
  background-color: transparent;
}
.blog-list-section .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 992px) {
  .blog-list-section .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  }
}
@media (max-width: 768px) {
  .blog-list-section .blog-grid {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }
}
.blog-list-section .blog-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease box-shadow 0.3s ease ease-in-out;
  display: flex;
  flex-direction: row;
  height: auto;
}
@media (max-width: 768px) {
  .blog-list-section .blog-card {
    padding-top: 100px;
    flex-direction: column;
  }
}
.blog-list-section .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  z-index: 10;
}
.blog-list-section .blog-card .blog-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .blog-list-section .blog-card .blog-card-link {
    flex-direction: column;
    position: relative;
    align-items: center;
  }
}
.blog-list-section .blog-card .blog-card-image-wrapper {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  overflow: hidden;
}
.blog-list-section .blog-card .blog-card-image-wrapper img.blog-card-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: transform 0.5s ease 0.3s ease-in-out;
}
@media (max-width: 768px) {
  .blog-list-section .blog-card .blog-card-image-wrapper {
    position: absolute;
    top: -60px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    z-index: 3;
  }
}
.blog-list-section .blog-card:hover .blog-card-image {
  transform: scale(1.05);
}
.blog-list-section .blog-card .blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}
@media (max-width: 768px) {
  .blog-list-section .blog-card .blog-card-content {
    margin-top: 80px;
    background-color: #fff;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1;
    text-align: center;
  }
}
.blog-list-section .blog-card .blog-card-title {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.3rem;
  color: #333;
  margin: 0;
  line-height: 1.3;
  max-height: 3.9em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.blog-list-section .blog-card .blog-card-description {
  font-size: 0.95rem;
  color: #595959;
  line-height: 1.4;
  max-height: 4.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.blog-list-section .blog-card .blog-card-meta {
  font-size: 0.8rem;
  color: gray;
}
.blog-list-section .blog-card .blog-card-meta strong {
  color: #A06CD5;
}

.main-footer {
  background-color: #B298DC;
  color: #fff;
  padding: 40px 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Nunito", sans-serif;
}
.main-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.main-footer .footer-logo img.footer-logo-img {
  width: 50px;
  height: auto;
  transition: transform 0.3s ease;
}
.main-footer .footer-logo .footer-site-name {
  font-family: "Ubuntu Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.05em;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: default;
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-decoration: none;
}
.main-footer .footer-logo:hover img.footer-logo-img {
  transform: rotate(-5deg) scale(1.1);
}
.main-footer .footer-nav ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.main-footer .footer-nav ul li a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-family: "Rubik", sans-serif;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}
.main-footer .footer-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #5ec7f9;
  transition: width 0.3s ease;
}
.main-footer .footer-nav ul li a:hover {
  color: white;
}
.main-footer .footer-nav ul li a:hover::after {
  width: 100%;
}
.main-footer .footer-info {
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: center;
}
.main-footer .footer-info a {
  color: #fff;
  text-decoration: none;
  font-family: "Rubik", sans-serif;
  transition: color 0.3s ease;
}
.main-footer .footer-info a:hover {
  color: #FFDB8B;
}
.main-footer .footer-info span {
  margin: 0 0.5rem;
  color: #fff;
  opacity: 0.6;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.seo-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
}

.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767px) {
  .main-nav a {
    position: relative;
    display: inline-block;
    padding: 12px 0;
    width: -moz-max-content;
    width: max-content;
    overflow: hidden;
  }
  .main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateX(-8px);
    height: 2px;
    width: 0;
    background-color: #8fd8fb;
    transition: width 0.3s ease, transform 0.3s ease;
  }
  .main-nav a:hover::after {
    width: 100%;
    transform: translateX(-3px);
  }
}
/* --- Estilos del Scrollbar Global (Cohesivos con el Fondo de la Página) --- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #A06CD5;
  border-radius: 5px;
  border: 2px solid #f8f8f8;
  -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #8644ca;
  border-color: #ebebeb;
}
::-webkit-scrollbar-thumb:active {
  background-color: #7a36be;
}/*# sourceMappingURL=style-blogs-index.css.map */