/* =======================================
   NG — Canciones del espacio interior
   Versión optimizada Mobile-First 2025-10
======================================= */

/* -------- VARIABLES GLOBALES -------- */
:root {
  --ng-brown: #633117;
  --ng-white: #F9F9F9;
  --ng-sky: #D3EAF8;
  --ng-teal: #A8E4F3;
  --ng-yellow: #FAF1A7;
  --ng-lilac: #D0ADEE;
  --ng-peach: #FFC2AA;

  --ng-bg: radial-gradient(1200px 600px at 10% 10%, rgba(250,241,167,.35), transparent 55%),
           radial-gradient(1200px 800px at 90% 20%, rgba(208,173,238,.35), transparent 60%),
           linear-gradient(135deg, var(--ng-sky), var(--ng-lilac) 45%, var(--ng-peach));

  /* ====== FUENTE BASE ====== */
  --font-family-base: 'Heebo', sans-serif;

  /* ====== DISPLAY ====== */
  --display-l-size: 64px;
  --display-l-line-height: 75px;
  --display-l-weight: 700;
  --display-s-size: 44px;
  --display-s-line-height: 52px;
  --display-s-weight: 700;

  /* ====== HEADLINE ====== */
  --headline-l-size: 32px;
  --headline-l-line-height: 40px;
  --headline-l-weight: 700;
  --headline-m-size: 26px;
  --headline-m-line-height: 40px;
  --headline-m-weight: 700;

  /* ====== BODY ====== */
  --body-l-size: 18px;
  --body-l-line-height: 28px;
  --body-l-weight: 400;
  --body-m-size: 16px;
  --body-m-line-height: 24px;
  --body-m-weight: 400;
  --body-s-size: 14px;
  --body-s-line-height: 20px;
  --body-s-weight: 400;

  /* ====== LABEL ====== */
  --label-l-size: 16px;
  --label-l-line-height: 24px;
  --label-l-weight: 600;
  --label-m-size: 14px;
  --label-m-line-height: 20px;
  --label-m-weight: 700;
  --label-s-size: 12px;
  --label-s-line-height: 16px;
  --label-s-weight: 800;

  /* ====== COLORES ====== */
  --text-primary: #1D1D1D;
  --text-secondary: #5F5F5F;
  --text-label: #AFA5A1;
  --link-default: #ADACE2;
}

/* -------- BASE -------- */
html, body {
height: auto !important;
}

body {
  margin: 0;
  font-family: var(--font-family-base);
  color: #221b18;
  background-attachment: scroll; /* mobile */
}

.page-bg {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(0deg, #D3EAF8 0%, #D0ADEE 45%, #FFC2AA 100%);
  overflow-x: hidden;
}

.page-bg::before,
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.page-bg::before {
  background: radial-gradient(circle at top left, rgba(250, 241, 167, 0.35) 0%, transparent 55%);
}

.page-bg::after {
  background: radial-gradient(circle at bottom right, rgba(208, 173, 238, 0.35) 0%, transparent 60%);
}

/* -------- LAYOUT -------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -------- BOTONES -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .875rem 1.125rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.btn-dark {
  background: var(--ng-brown);
  color: #fff !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  max-width: fit-content;
}
.btn-light {
  background: rgba(255,255,255,.85);
  color: #1d1d1d;
  backdrop-filter: blur(6px);
}
.btn-small {
    padding: 0.4375rem 0.875rem;
    gap: 0.5rem;
}

/* -------- HEADER -------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(249,249,249,.6);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background 0.3s ease;
}

/* Header con el mismo color que el menú cuando está abierto */
.body-lock header {
  background: #F9F9F9;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 0;
}
.nav a {
  color: #2a211d;
  text-decoration: none;
  font-weight: 600;
  margin: 0 10px;
}

/* -------- HERO -------- */
.hero {
  position: relative;
  padding: 80px 0 37.5px;
  text-align: center;
    background: var(--ng-bg);
        top: -70px;


}
.hero h1 {
  font-size: var(--display-s-size);
  line-height: var(--display-s-line-height);
  font-weight: var(--display-s-weight);
  color: var(--text-primary);
  margin: 0;
}
.hero p {
  font-size: var(--body-s-size);
  line-height: var(--body-s-line-height);
  font-weight: var(--body-s-weight);
  color: var(--text-primary);
    margin: 0.200rem 0 0 0;
}

/* -------- SECCIONES -------- */
.section {
  padding: 56px 20px;
}
.section h2 {
  font-size: var(--headline-m-size);
  line-height: var(--headline-m-line-height);
  font-weight: var(--headline-m-weight);
}
.section h3,
.card .content h3,
.poster .meta h3 span {
  font-weight: 600;
  color: #221b18;
  font-size: 22px;
  line-height: 28px;
}

/* -------- ELEMENTOS -------- */
.brandmark img { height: 34px; width: auto; }
.cta-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 16px;
  flex-direction: column;
  align-items: center;
  padding-bottom: 3.750rem;
}

.img-portada {
  display: block;
  margin-top: 8.25rem;
  text-align: center;
}

.img-portada img {
    display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}



/* -------- TARJETAS -------- */
.card-grid-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 18px;
}
.card {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  overflow: hidden;
}
.card .media {
  aspect-ratio: 1.6/1;
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(99,49,23,.08));
  display: flex;
  align-items: center;
  justify-content: center;
}
.card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .content { padding: 14px 16px; }

.card-grid{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 8px 8px;      /* un poco de respiro abajo para la sombra */
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.card{
  flex: 0 0 80%;             /* ancho relativo del item visible */
  min-width: 160px;          /* ancho mínimo de cada tarjeta */
  scroll-snap-align: start;  /* ancla en el inicio al hacer scroll */
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    border: 1px solid #f9f9f9ae;
        background-color: rgb(249 249 249 / 60%);
         display: flex;
  flex-direction: column;

}

/* Opcional: disimula scrollbar en navegadores que lo muestran */
.card-grid{
  scrollbar-width: thin;
}
.card-grid::-webkit-scrollbar{
  height: 8px;
}
.card-grid::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.15);
  border-radius: 999px;
}

.card .media {
  aspect-ratio: auto;
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(99,49,23,.08));
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}
.card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.card .content { 
    padding: 23px 16px; 
    opacity: 100%;
             display: flex;
  flex-direction: column;
  height: 100%;
  align-items: flex-start;
    justify-content: space-between;
}

.card .content h3 {
    margin-bottom: 14px;
}   

.card .content p {
  margin-top: 14px;  
    margin-bottom: 40px;
}

.card .content span {
  font-weight: 600;
  color: #221b18;
  font-size: 22px;
  line-height: 28px;
}

.title-disc {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social{
    padding-bottom: 0px;
}
/* -------- DISCOS -------- */
.release {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.info p{
    margin: 2.25rem 0 2.9375rem 0;
}
.cover {
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ng-lilac), var(--ng-peach));
  border: 1px solid rgba(0,0,0,.06);
}

/* -------- FOOTER -------- */
footer, .container-footer {
  padding: 32px 0 56px;
  text-align: center;
  opacity: .85;
}

/* -------- MENÚ MOBILE -------- */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  transition: background .15s ease;
}
.menu-bars,
.menu-bars::before,
.menu-bars::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: #2a211d;
  position: relative;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-bars::before { 
  position: absolute; 
  top: -6px; 
  transition: all 0.3s ease;
}
.menu-bars::after { 
  position: absolute; 
  top: 6px; 
  transition: all 0.3s ease;
}

/* Transformación a X cuando el menú está abierto */
.body-lock .menu-toggle .menu-bars {
  background: transparent;
}
.body-lock .menu-toggle .menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.body-lock .menu-toggle .menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.links, .cta { display: none; } /* ocultas en mobile */

/* -------- PANEL MÓVIL -------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 25;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.is-open {
  pointer-events: auto;
}

.mobile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

}

.mobile-panel {
  position: fixed;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  width: 85%;
  max-width: 100%;
  background: #F9F9F9;
  padding: 2rem;
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  z-index: 26;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.mobile-menu.is-open .mobile-panel {
  transform: translate(-50%, 2%) scale(1);
  opacity: 1;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  gap: 1rem;
  background: transparent;
  width: 100%;
}

.mobile-links li {
  margin: 0;
}

.mobile-links a {
  color: #2a211d !important;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.15s ease;
  display: block;
  text-align: center;
  margin: 10px 0 ;
  width: 100%;
  max-width: 280px;
}

.mobile-links a:hover,
.mobile-links a:focus {
  color: var(--ng-brown) !important;
  background: rgba(99, 49, 23, 0.1) !important;
}

/* Asegurar visibilidad cuando el menú está abierto */
.mobile-menu.is-open .mobile-links {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mobile-menu.is-open .mobile-links a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mobile-cta {
  padding: 1.5rem 0 0;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.body-lock {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* -------- POSTERS / REELS -------- */
.reel-frame {
  aspect-ratio: 9/16;
  width: 100%;
  max-width: 420px;
  margin: auto;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  overflow: hidden;
}
.posters {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 18px;
}

/* -------- ACCESIBILIDAD -------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(99,49,23,.6);
  outline-offset: 2px;
  border-radius: 8px;
}

/* === POSTER (bloque completo) === */
.poster {
  background: rgba(249,249,249,0.6);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(249,249,249,0.6);
}

/* === FRAME: contiene solo la imagen y overlays === */
.poster__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 774px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  isolation: isolate;
}

/* Imagen interna */
.poster__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradientes de sombra arriba y abajo */
.poster__frame::before,
.poster__frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 30%;
  pointer-events: none;
  z-index: 2;
}
.poster__frame::before {
  top: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0));
}
.poster__frame::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0));
}

/* === DECORACIONES === */
.poster__corner {
  position: absolute;
  width: 120px;
  aspect-ratio: 1 / 1;
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}
/* .poster__corner--tl { top: 10px; left: 10px; }
.poster__corner--tr { top: 10px; right: 10px; transform: scaleX(-1); }
.poster__corner--bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.poster__corner--br { bottom: 10px; right: 10px; transform: scale(-1, -1); } */

.poster__corner--tl{ top: 0px; left: 0px; transform: rotate(0deg); }
.poster__corner--tr{ top: 0px; right: 0px; transform: rotate(0deg); }
.poster__corner--bl{ bottom: 0px; left: 0px; transform: rotate(0deg); }
.poster__corner--br{ bottom: 0px; right: 0px; transform: rotate(0deg); }

/* === LOGO CENTRADO === */
.poster__logo {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
}

.poster__logo__info{
  position: absolute;
  left: 50%; top: 40%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
  color: #FAF1A7;
  border-radius: 8.85px;
  padding: 4px 8px;
}

.poster__logo__info2{
  position: absolute;
  left: 50%; top: 62%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
  color: #FAF1A7;
  border-radius: 8.85px;
  text-align: center;
}

.poster__logo__info2 p {
    margin: 0;
    font-size: 10px;
    font-weight: 400;
    line-height: 13px;
    letter-spacing: 0.18px;
}

.poster__logo__info__img {
    width: 90px;

}

.content__info_poster_1 {
  position: absolute;
  left: 50%; top: 61%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
  color: #FAF1A7;
  background-color: rgba(106, 81, 71, 0.44);
  border-radius: 8.85px;
  padding: 4px 8px;
}

.content__info__text_1{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.content__info__text_1 h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 11.6px;
    letter-spacing: 0.04;
    white-space: nowrap;
}

.content__info__text_1 span {
  background-color: #FF004F;
  color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4.69px;
    margin: 0;
    letter-spacing: 0.04px;
}

.content__info__text_1 img {
    width: 12px;
    height: auto;
    margin: 0 8px 0 13px;
}

.content__info_poster_1 p {
    margin: 0;
    font-size: 8px;
    font-weight: 400;
    line-height: 13px;
    letter-spacing: 0.18px;
}

.content__info_poster_2 {
  position: absolute;
  left: 50%; top: 75%;
  transform: translate(-50%, -50%);
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
  color: #FFFFFF;
  background-color: #3A3021;
  border-radius: 8.85px;
  padding: 4px 8px;
}

.content__info__text_2{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.content__info__text_2 h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 11.6px;
    letter-spacing: 0.04;
    white-space: nowrap;
}

.content__info__text_2 span {
  background-color: #FF004F;
  color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4.69px;
    margin: 0;
    letter-spacing: 0.04px;
}

.content__info__text_2 img {
    width: 12px;
    height: auto;
    margin: 0 8px 0 13px;
}

.content__info_poster_2 p {
    margin: 0;
    font-size: 8px;
    font-weight: 400;
    line-height: 13px;
    letter-spacing: 0.18px;
}


.poster__logo__event {
  position: absolute;
  left: 50%; top: 20%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
}


/* === BLOQUE DE CONTENIDO (debajo del frame) === */
.poster__content {
  padding: 16px 18px 20px;
  backdrop-filter: blur(4px);
  text-align: left;
  color: #1D1D1D;
}

.poster__content h3 {
  margin: 20px 0 12px 0;
  color: #2a211d;
}

.poster__content p {
  margin: 0 0 20px 0;

}

.poster__content span {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.poster__date {
  font: 700 1rem/1.3 'Heebo', sans-serif;
  margin: 0 0 6px;
  color: #1b120e;
}

.poster__place {
  font: 600 .95rem/1.4 'Heebo', sans-serif;
  margin: 0;
  color: #2a211d;
}

.poster__venue {
  font: 400 .85rem/1.3 'Heebo', sans-serif;
  opacity: .75;
  margin: 4px 0 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease;
}
.btn-dark {
  background: #633117;
  color: #fff;
}

.release_desktop{
  display: none;
} 


/* === DESKTOP (mejoras) === */
@media (min-width: 900px) {
  .posters {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .poster__corner { width: clamp(70px, 10vw, 150px); }
  /* .poster__logo { width: clamp(96px, 12vw, 120px); } */
  .poster__content { padding: 22px 24px 26px; }
  .poster__date { font-size: 1.1rem; }
}

.poster__logo__event{
  position: absolute;
  left: 50%; top: 15%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
}

.poster__logo {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
}

.poster__logo__info{
  position: absolute;
  left: 50%; top: 27%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
  color: #FAF1A7;
  border-radius: 8.85px;
  padding: 4px 8px;
}

.content__info_poster_1 {
  position: absolute;
  left: 50%; top: 57%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
  color: #FAF1A7;
  background-color: rgba(106, 81, 71, 0.44);
  border-radius: 8.85px;
  padding: 4px 8px;
}
/* -------- REDUCED MOTION -------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* -------- MÓVIL ESPECÍFICO -------- */
@media (max-width: 900px) {
  .mobile-menu {
    display: block !important;
  }
  
  .mobile-menu.is-open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .mobile-panel {
    display: flex !important;
  }
  
  .mobile-links {
    display: flex !important;
  }
  
  .mobile-links li {
    display: block !important;
  }
  
  .mobile-links a {
    display: block !important;
  }
}

/* -------- DESKTOP ≥901px -------- */
@media (min-width: 901px) {
  body { background-attachment: fixed; }

  .hero {
    padding: 120px 0 100px;
    position: relative;
  }


  .hero h1 {
    font-size: var(--display-l-size);
    line-height: var(--display-l-line-height);
  }
  .hero p {
    font-size: var(--body-m-size);
    line-height: var(--body-m-line-height);
  }
  .section h2 {
    font-size: var(--headline-l-size);
    line-height: var(--headline-l-line-height);
  }

  .section {
    position: relative;
    z-index: 1;
  }

  #discografia{
        position: relative;
    z-index: 1;
    margin-top: -220px;
  }

  .section h3,
  .card .content h3,
  .poster .meta h3 {
    font-size: 28px;
    line-height: 34px;
  }

  .release { grid-template-columns: 320px 1fr; }
  .links, .cta { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }

  .cta-row {
    flex-direction: row;
    justify-content: center;
    padding-bottom: 0;
  }

  #home{
    padding-bottom: 250px;
  }

  #escucha {
    display: none;
  } 

  .hero-release{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
  }

  .release_desktop{
    display: block;
    margin-left: 50px;
  } 

  .release_desktop .info__desktop{
    display: flex;
  }

  .release_desktop .btn-small{
    background-color: rgba(249,249,249,0.6);
    padding: 7px 14px;
    margin: auto;
    font-size: 13px;
  }

  .release_desktop .info{
    text-align: start;
  }


/* -------- TARJETAS -------- */
.card-grid-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 18px;
}
.card {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  overflow: hidden;
}
.card .media {
  aspect-ratio: 1.6/1;
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(99,49,23,.08));
  display: flex;
  align-items: center;
  justify-content: center;
}
.card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .content { padding: 14px 16px; }

.card-grid{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0;      /* un poco de respiro abajo para la sombra */
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.card{
  flex: 0 0 23.5%;             /* ancho relativo del item visible */
  min-width: 160px;          /* ancho mínimo de cada tarjeta */
  scroll-snap-align: start;  /* ancla en el inicio al hacer scroll */
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    border: 1px solid #f9f9f9ae;
        background-color: rgb(249 249 249 / 60%);
         display: flex;
  flex-direction: column;

}

/* Opcional: disimula scrollbar en navegadores que lo muestran */
.card-grid{
  scrollbar-width: thin;
}
.card-grid::-webkit-scrollbar{
  height: 8px;
}
.card-grid::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.15);
  border-radius: 999px;
}

.card .media {
  aspect-ratio: auto;
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(99,49,23,.08));
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}
.card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.card .content { 
    padding: 23px 16px; 
    opacity: 100%;
             display: flex;
  flex-direction: column;
  height: 100%;
  align-items: flex-start;
    justify-content: space-between;
}

.card .content h3 {
    margin-bottom: 14px;
}   

.card .content p {
  margin-top: 14px;  
    margin-bottom: 40px;
}

.card .content span {
  font-weight: 600;
  color: #221b18;
  font-size: 22px;
  line-height: 28px;
}

.title-disc {
    display: flex;
    align-items: start;
    gap: 8px;
    flex-direction: column;
}

/* -------- TIKTOK EMBEDS -------- */
.tiktok-embed {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 500px !important;
  position: relative !important;
  margin: 0 auto !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* Contenido interno del embed */
.tiktok-embed section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 20px !important;
  text-align: center !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 8px !important;
  min-height: 400px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

.tiktok-embed section p {
  margin: 10px 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #333 !important;
}

.tiktok-embed section a {
  margin: 5px !important;
  padding: 8px 16px !important;
  background: #ff0050 !important;
  color: white !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  display: inline-block !important;
}

.tiktok-embed section a:hover {
  background: #e00045 !important;
}

/* Forzar visibilidad de iframes de TikTok cuando se cargan */
iframe[src*="tiktok"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-height: 500px !important;
  margin: 0 auto !important;
  border: none !important;
  border-radius: 8px !important;
}

/* Contenedor específico para embeds de TikTok */
#tiktok .card .media {
  min-height: 500px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,0,80,.1)) !important;
}

/* Asegurar que cada tarjeta de TikTok sea visible */
#tiktok .card {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-bottom: 20px !important;
  min-height: 520px !important;
}

/* Grid específico para TikTok */
#tiktok .card-grid-block {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 20px !important;
}

/* Fallback styling cuando los embeds no cargan */
.tiktok-embed:not(:has(iframe)), 
.tiktok-embed.tiktok-fallback {
  background: linear-gradient(135deg, #ff0050, #ff4081) !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 40px 20px !important;
  min-height: 400px !important;
}

.tiktok-embed:not(:has(iframe)) section, 
.tiktok-embed.tiktok-fallback section {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Responsive para TikTok embeds */
@media (max-width: 768px) {
  .tiktok-embed {
    min-height: 400px !important;
  }
  
  iframe[src*="tiktok"] {
    min-height: 400px !important;
  }
  
  #tiktok .card .media {
    min-height: 400px !important;
  }
  
  #tiktok .card-grid-block {
    grid-template-columns: 1fr !important;
  }
  
  #tiktok .card {
    min-height: 420px !important;
  }
}


}