/* Página /horoscopo — mismo layout que /clima */

.horoscopo-page {
  --horoscopo-accent: #7c3aed;
  --horoscopo-accent-soft: #ede9fe;
  /* Rail de categorías bajo el header (páginas servicio) */
  --portal-rail-height: 2.75rem;
}

.horoscopo-hero {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgb(221 214 254 / 0.9);
  background: linear-gradient(135deg, #f5f3ff 0%, #fdf4ff 45%, #faf5ff 100%);
  overflow: hidden;
}

.horoscopo-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(167 139 250 / 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.horoscopo-hero__eyebrow {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d28d9;
}

.horoscopo-hero__title {
  margin-top: 0.35rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #4c1d95;
}

.horoscopo-hero__subtitle {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569;
  max-width: 42rem;
  text-transform: capitalize;
}

.horoscopo-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  color: #64748b;
}

.horoscopo-breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: #94a3b8;
}

.horoscopo-breadcrumb a {
  color: #6d28d9;
  text-decoration: none;
}

.horoscopo-breadcrumb a:hover {
  text-decoration: underline;
}

.horoscopo-intro-seo__lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #334155;
}

.horoscopo-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.horoscopo-keywords li {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6d28d9;
  background: rgb(255 255 255 / 0.7);
  border: 1px solid rgb(221 214 254 / 0.9);
}

.horoscopo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.horoscopo-chip {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #ddd6fe;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5b21b6;
  text-decoration: none;
}

.horoscopo-chip:hover {
  background: #ede9fe;
}

.horoscopo-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .horoscopo-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .horoscopo-sidebar {
    position: sticky;
    top: calc(var(--site-header-height, 8.25rem) + var(--portal-rail-height, 2.75rem) + 0.75rem);
    align-self: start;
    z-index: 10;
  }

  .horoscopo-sidebar .sidebar-notas-lista {
    position: static;
    top: auto;
  }
}

.horoscopo-sidebar {
  min-width: 0;
}

.horoscopo-signo-detalle__otros {
  margin: 1.25rem 0;
}

.horoscopo-signo-detalle__otros-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7c3aed;
}

.horoscopo-main-col {
  min-width: 0;
}

.horoscopo-grid {
  display: grid;
  gap: 1rem;
}

.horoscopo-panorama {
  grid-column: 1 / -1;
  margin-bottom: 0.25rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, #faf5ff 0%, #f5f3ff 100%);
  border: 1px solid #ddd6fe;
  border-radius: 0.875rem;
}

.horoscopo-panorama__titulo {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: #5b21b6;
}

.horoscopo-panorama__dia,
.horoscopo-panorama__extra {
  margin: 0 0 0.45rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #374151;
}

.horoscopo-panorama__extra {
  margin-bottom: 0;
  color: #6b7280;
  font-style: italic;
}

@media (min-width: 640px) {
  .horoscopo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.horoscopo-card {
  background: #fff;
  border: 1px solid #e9d5ff;
  border-radius: 0.875rem;
  padding: 1rem 1.15rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}

.horoscopo-card--destacado {
  border-color: #c4b5fd;
  background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
}

.horoscopo-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.horoscopo-card__emoji {
  font-size: 1.75rem;
  line-height: 1;
}

.horoscopo-card__nombre {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 800;
}

.horoscopo-card__nombre a {
  color: #4c1d95;
  text-decoration: none;
}

.horoscopo-card__nombre a:hover {
  text-decoration: underline;
}

.horoscopo-card__fechas {
  margin: 0.15rem 0 0;
  font-size: 0.6875rem;
  color: #9ca3af;
}

.horoscopo-card__badge {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7c3aed;
  background: #ede9fe;
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
}

.horoscopo-card__general {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #374151;
  margin: 0 0 0.75rem;
}

.horoscopo-card__extras {
  margin: 0;
  font-size: 0.75rem;
}

.horoscopo-card__extras > div {
  margin-bottom: 0.5rem;
}

.horoscopo-card__extras dt {
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 0.15rem;
}

.horoscopo-card__extras dd {
  margin: 0;
  line-height: 1.45;
  color: #4b5563;
}

.horoscopo-faq {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e9d5ff;
}

.horoscopo-faq__titulo {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  color: #4c1d95;
}

.horoscopo-faq__item {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.horoscopo-faq__q {
  cursor: pointer;
  font-weight: 600;
  color: #5b21b6;
}

.horoscopo-faq__a {
  margin: 0.35rem 0 0;
  line-height: 1.55;
  color: #475569;
}

.horoscopo-enlaces {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e9d5ff;
}

.horoscopo-enlaces__titulo {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  color: #4c1d95;
}

.horoscopo-enlaces__texto {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
}

.horoscopo-enlaces__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.horoscopo-enlaces__chip {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #ddd6fe;
  background: #faf5ff;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5b21b6;
  text-decoration: none;
}

.horoscopo-signo-detalle__head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.horoscopo-signo-detalle__emoji {
  font-size: 3rem;
  line-height: 1;
}

.horoscopo-signo-detalle__fecha {
  margin: 0.5rem 0 0;
  color: #64748b;
  text-transform: capitalize;
  font-size: 0.875rem;
}

.horoscopo-signo-detalle__bloque {
  background: #fff;
  border: 1px solid #e9d5ff;
  border-radius: 0.875rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.horoscopo-signo-detalle__bloque h2 {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #7c3aed;
}

.horoscopo-signo-detalle__bloque p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #374151;
}

.horoscopo-signo-detalle__meta {
  font-size: 0.875rem;
  color: #4b5563;
}

.horoscopo-signo-detalle__volver a {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
}

.horoscopo-signo-detalle__volver a:hover {
  text-decoration: underline;
}
