/* Secciones de las páginas propias (VIK-664). Solo lo que el Design System no
   trae: el aspecto de los tres fondos, la rejilla de imágenes y el contacto. */
.landing-section + .landing-section { margin-top: var(--space-4); }
.landing-section .mdd-section { border-radius: 0; background: transparent; color: inherit; }
.landing-section__title { font-size: 1.5rem; margin-bottom: var(--space-4); }
.landing-section__body > :last-child { margin-bottom: 0; }
.landing-section__img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); object-fit: cover; }
.landing-section__figure .landing-section__img { aspect-ratio: 1 / 1; }
.landing-section__caption { margin-top: var(--space-2); font-size: .875rem; color: var(--text-muted); }

/* Secciones de texto (`md`: Texto, Contacto, Enlaces, Suscríbete): misma
   rejilla de 1200 px que el resto y alineadas a la izquierda, con el
   contenido a 800 px como medida de lectura. Antes eran una columna de
   800 px centrada y quedaban descolocadas frente a las de ancho completo. */
.landing-section--narrow .mdd-section__inner > * { max-width: 800px; }

.landing-section__hero { min-height: 280px; justify-content: flex-end; }
.landing-section__hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); max-width: 40rem; }
.artist-page-content .landing-section .landing-section__hero .landing-section__hero-title { color: #fff; margin: 0; font-size: 1.75rem; }
.artist-page-content .landing-section .landing-section__hero .landing-section__hero-subtitle { margin: 0; color: #fff; font-size: 1.0625rem; }
@media (min-width: 768px) { .artist-page-content .landing-section .landing-section__hero .landing-section__hero-title { font-size: 2.5rem; } }

.landing-section__contact { margin: 0; display: grid; gap: var(--space-3); }
.landing-section__contact-row { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); }
.landing-section__contact dt { flex: 0 0 9rem; font-weight: 600; color: var(--text-muted); }
.landing-section__contact dd { margin: 0; flex: 1 1 12rem; overflow-wrap: anywhere; }

/* Aspecto por defecto (VIK-684): franjas sin caja ni esquinas redondeadas que
   heredan los colores del artista (los tokens del ámbito `.artist-page-content`).
   «Claro» = transparente, alineada con el título de la página.
   «Banda suave» = tinte del color de texto del ámbito (lo mismo funciona con
   fondo de artista claro y oscuro, y el texto conserva contraste AA porque el
   tinte solo se acerca un poco al propio color del texto). */
.landing-section { --landing-soft-tint: 7%; }
.landing-section--light .mdd-section__inner { padding-inline: 0; }
.landing-section--soft { background: color-mix(in srgb, var(--text) var(--landing-soft-tint), transparent); }

/* «Oscuro» conserva su contexto propio (`publico-oscuro`): sus tokens no son los
   del artista. Se mantiene la tipografía de la página (el contexto la pisaría). */
.landing-section--dark[data-mdd-context] { font-family: inherit; font-size: inherit; line-height: inherit; }
.landing-section--dark .mdd-section { background: var(--bg); color: var(--text); }
/* El color de título y de enlace que fija `Mdd:ArtistIdentity` es el del fondo del artista, no el de la sección oscura. */
.artist-page-content .landing-section--dark :is(h2, h3) { color: var(--heading); }
.artist-page-content .landing-section--dark a:not(.mdd-btn) { color: var(--link); }
.artist-page-content .landing-section--dark :is(p, dd, li, figcaption) { color: var(--text); }
/* Canvas fuerza `text-decoration: none !important` en todo enlace: los de texto se subrayan con más especificidad. */
.artist-page-content .landing-section .landing-section__body a:not(.mdd-btn),
.artist-page-content .landing-section .landing-section__contact a:not(.mdd-btn) { text-decoration: underline !important; }
/* `.artist-page-content a` (identidad) pisa el color de los botones del DS: se restaura. */
.artist-page-content .landing-section a.mdd-btn { color: var(--_fg); }
.artist-page-content .landing-section a.mdd-btn:hover { color: var(--_fg-h); }
.artist-page-content .landing-section .landing-section__caption,
.artist-page-content .landing-section .landing-section__contact dt { color: var(--text-muted); }

/* El CtaBand lleva su propio fondo (inverso): sus textos usan el color inverso. */
.artist-page-content .landing-section .mdd-cta-band__h { color: var(--inverse-text); }
.artist-page-content .landing-section .mdd-cta-band__p { color: var(--inverse-text); }

/* Secciones automáticas (VIK-665): el widget de módulo trae marcado Bootstrap/Canvas
   (`.card`, `.btn-dark`) ajeno al DS. Sin esto, las reglas de arriba (texto y enlaces
   con los tokens de la banda) lo dejan ilegible: título blanco sobre tarjeta blanca en
   «Oscuro», o botón oscuro con texto oscuro en «Claro». Las tarjetas y el botón
   siguen los tokens de la banda, así que se leen en los tres fondos. */
.artist-page-content .landing-section .landing-widget-host .card { background: var(--surface); color: var(--text); border-color: var(--border); }
.artist-page-content .landing-section .landing-widget-host a.btn { background: var(--inverse-bg); border-color: var(--inverse-bg); color: var(--inverse-text); }
.artist-page-content .landing-section .landing-widget-host a.btn:hover { opacity: .9; }

/* Contenido de la biblioteca (VIK-670): el reproductor de carga al clic
   (`Mdd:ExternalEmbed`) dentro de una banda usa los tokens de esa banda.
   Con miniatura (`--poster`, VIK-690) manda `mdd.css`: velo carbón + texto
   claro sea cual sea la banda; el shorthand `background` aquí resetearía
   además `background-size` y la miniatura saldría en mosaico. */
.artist-page-content .landing-section .mdd-embed__stage:not(.mdd-embed__stage--poster) { background-color: var(--surface); border-color: var(--border); }
.artist-page-content .landing-section .mdd-embed__stage:not(.mdd-embed__stage--poster) .mdd-embed__title { color: var(--heading); }
.artist-page-content .landing-section .mdd-embed__stage:not(.mdd-embed__stage--poster) .mdd-embed__provider { color: var(--text-muted); }
.artist-page-content .landing-section .mdd-embed__open { color: var(--link); }

/* «Enlaces y redes» (VIK-670): píldoras con icono y nombre de la red, que
   pasan de fila en escritorio a apiladas en móvil. */
.landing-section__links { gap: var(--space-2); }
.landing-section__links a { display: inline-flex; width: auto; height: auto; gap: var(--space-2); padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2); border-radius: var(--radius-pill); font-size: .9375rem; font-weight: 600; }
.artist-page-content .landing-section .landing-section__links a { color: var(--heading); background: var(--surface); border-color: var(--border-strong); }
.artist-page-content .landing-section .landing-section__links a:hover { color: var(--heading); background: color-mix(in srgb, var(--text) 8%, var(--surface)); border-color: var(--heading); }
@media (max-width: 575.98px) {
  .landing-section__links { flex-direction: column; }
  .landing-section__links a { width: 100%; }
}

/* «Lanzamiento» (VIK-670): portada cuadrada de 180 a 320 px junto al texto;
   en móvil, todo apilado con la portada arriba. */
.landing-section__kicker { margin: 0 0 var(--space-2); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.landing-section__release { display: flex; flex-direction: column; gap: var(--space-6); }
.landing-section__release-cover { flex: 0 0 auto; width: clamp(180px, 60vw, 320px); }
.landing-section__release-cover .landing-section__img { aspect-ratio: 1 / 1; }
.landing-section__release-text { flex: 1 1 auto; min-width: 0; }
.landing-section__release-text .landing-section__title { margin-bottom: var(--space-3); }
.landing-section__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.landing-section__release-videos { margin-top: var(--space-2); }
.landing-section__release + .landing-section__release-videos { margin-top: var(--space-6); }
.landing-section__release--center { align-items: center; text-align: center; }
.landing-section__release--center .landing-section__actions { justify-content: center; }
@media (min-width: 768px) {
  .landing-section__release:not(.landing-section__release--center) { flex-direction: row; align-items: center; gap: var(--space-8); }
  .landing-section__release--right .landing-section__release-cover { order: 2; }
  .landing-section__release-cover { width: clamp(180px, 30vw, 320px); }
}
.artist-page-content .landing-section .landing-section__kicker { color: var(--text-muted); }

/* «Producto» (VIK-702): foto de 160 a 280 px junto al texto y el botón de
   compra; en móvil, apilado con la foto arriba. Sin foto, el texto ocupa el
   ancho. */
.landing-section__product { display: flex; flex-direction: column; gap: var(--space-6); }
.landing-section__product-image { flex: 0 0 auto; width: clamp(160px, 60vw, 280px); }
.landing-section__product-image .landing-section__img { aspect-ratio: 1 / 1; }
.landing-section__product-text { flex: 1 1 auto; min-width: 0; }
.landing-section__product-text .landing-section__title { margin-bottom: var(--space-3); }
@media (min-width: 768px) {
  .landing-section__product { flex-direction: row; align-items: center; gap: var(--space-8); }
  .landing-section__product-image { width: clamp(160px, 28vw, 280px); }
}

/* VIK-705: página actual en el menú de páginas del hub. */
.artist-microsite-pages-nav .nav-link[aria-current="page"] { color: var(--heading); font-weight: 600; }
