/* Estilos específicos para la sección de guías */
.guides-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.guides-header {
  text-align: center;
  margin-bottom: 3rem;
}

.guides-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--primary-color, #1a1a1a);
  margin-bottom: 1rem;
}

.guides-header p {
  font-size: 1.1rem;
  color: var(--text-color, #4a4a4a);
  max-width: 800px;
  margin: 0 auto;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, #e0e0e0);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.guide-card-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.guide-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.guide-card:hover .guide-card-img {
  transform: scale(1.05);
}

.guide-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.guide-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.guide-card-desc {
  font-size: 0.95rem;
  color: var(--text-color-muted, #666);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.5;
}

.guide-card-link {
  font-weight: 500;
  color: var(--gold-color, #d4af37);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

/* Plantilla individual de la guía */
.guide-article-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem auto;
  padding: 2rem 1rem 0;
}

.guide-article-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.guide-hero-img-container {
  max-width: 1000px;
  margin: 0 auto 3rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.guide-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.guide-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

.guide-content p {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .guides-header h1 {
    font-size: 2rem;
  }
  .guide-article-title {
    font-size: 2.2rem;
  }
  .guides-grid {
    grid-template-columns: 1fr;
  }
}
