/* =============================================================
   parejas.club - LISTADO DE PAREJAS DE UNA PERSONA (diseño 2026)
   Página /parejas-de/<persona>

   Coherente con la ficha de pareja (css/relation.css) y con la
   portada: mismos tokens (css/tokens.css), mismos degradados,
   misma tipografía (Metropolis) y mismos degradados de tarjetas.

   Todas las clases de esta página llevan prefijo "pd-" para no
   chocar con las de la plantilla Clarity ni con las de las otras
   páginas del diseño 2026.
   ============================================================= */

/* --------------------------------------------------------------
   LAYOUT
   Misma liberación que la ficha de pareja: el contenedor crece, el
   scroll es del documento y el contenido se centra al 80%.
   -------------------------------------------------------------- */
.main-pd {
  height: auto;
  min-height: 100vh;
}

.main-pd .content-container {
  display: block;
  min-height: 0;
}

.main-pd .content-area {
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  overflow: visible;
  padding-bottom: 3rem;
  text-align: left;
}

.content-pd h1,
.content-pd h2,
.content-pd h3,
.content-pd h4 {
  font-family: 'Metropolis', 'Segoe UI', system-ui, sans-serif;
}

/* El CSS base del sitio fuerza "a:link { color:#fff }" (más
   especificidad que una clase), así que los enlaces hay que fijarlos. */
.content-pd a {
  color: var(--pc-ink);
}

/* --------------------------------------------------------------
   HERO DE CIFRAS
   -------------------------------------------------------------- */
.pdhero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0 0 2.4rem;
  padding: 2.6rem 1.5rem 2.4rem;
  border-radius: 2.2rem;
  background: var(--pc-grad-hero);
  box-shadow: 0 26px 60px -30px rgba(123, 47, 247, .85);
  text-align: center;
}

.pdhero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.pdhero-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(28px);
  opacity: .5;
}

.pdhero-orb-1 {
  width: 24rem;
  height: 24rem;
  top: -10rem;
  right: -6rem;
  background: radial-gradient(circle, #ff9ec4 0%, rgba(255, 158, 196, 0) 70%);
  animation: pd-float 11s ease-in-out infinite;
}

.pdhero-orb-2 {
  width: 20rem;
  height: 20rem;
  bottom: -9rem;
  left: -5rem;
  background: radial-gradient(circle, #ff4d9d 0%, rgba(255, 77, 157, 0) 70%);
  animation: pd-float 14s ease-in-out infinite reverse;
}

.pdhero-orb-3 {
  width: 16rem;
  height: 16rem;
  top: 38%;
  left: 44%;
  background: radial-gradient(circle, #ffd86b 0%, rgba(255, 216, 107, 0) 70%);
  opacity: .32;
  animation: pd-float 17s ease-in-out infinite;
}

.pdhero-hearts i {
  position: absolute;
  color: rgba(255, 255, 255, .16);
  font-style: normal;
  animation: pd-rise 12s linear infinite;
}

.pdhero-hearts i:nth-child(1) { left: 6%;  font-size: 2rem;   animation-delay: 0s; }
.pdhero-hearts i:nth-child(2) { left: 24%; font-size: 1.3rem; animation-delay: 2.4s; }
.pdhero-hearts i:nth-child(3) { left: 62%; font-size: 2.8rem; animation-delay: 4.1s; }

@keyframes pd-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(1.6rem, -1.2rem, 0) scale(1.08); }
}

@keyframes pd-rise {
  0% { transform: translateY(120%) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-140%) rotate(24deg); opacity: 0; }
}

.pdhero-inner {
  max-width: 62rem;
  margin: 0 auto;
  color: #fff;
}

.pdhero-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .45rem 1.1rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.pdhero-title {
  margin: 0 0 .4rem;
  font-family: 'Metropolis', sans-serif;
  font-weight: 900;
  font-size: clamp(1.9rem, 5.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-transform: uppercase;
  /* Mismo degradado que el título de la ficha de pareja */
  background: linear-gradient(100deg, #ffd86b 0%, #ff9ec4 55%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.pdhero-sub {
  margin: 0 0 1.4rem;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
}

/* --- El número gigante: el total de parejas --- */
.pdcount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
}

.pdcount-num {
  font-family: 'Metropolis', sans-serif;
  font-weight: 900;
  font-size: clamp(5rem, 22vw, 12rem);
  line-height: .82;
  letter-spacing: -.07em;
  background: linear-gradient(180deg, #ffffff 0%, #ffd86b 62%, #ff9ec4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 .6rem 2rem rgba(59, 15, 111, .35);
}

.pdcount-unit {
  margin-top: .5rem;
  font-family: 'Metropolis', sans-serif;
  font-weight: 800;
  font-size: clamp(.85rem, 2.2vw, 1.25rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .95);
}

/* --- Las cifras de debajo del número --- */
.pdstats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdstat {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem 1.05rem;
  border-radius: 3rem;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(6px);
  font-size: .88rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, .95);
  text-align: left;
}

.pdstat-ico {
  font-size: 1rem;
  line-height: 1;
}

.pdstat-text b {
  color: #fff;
  font-weight: 800;
}

.pdstat-rank {
  background: rgba(255, 216, 107, .18);
  border-color: rgba(255, 216, 107, .45);
}

.pdstat-sub {
  display: block;
  margin-top: .15rem;
  font-size: .72rem;
  font-style: normal;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .78);
}

/* --------------------------------------------------------------
   BLOQUES (encabezados compartidos con el resto del diseño)
   -------------------------------------------------------------- */
.pdblock {
  margin: 0 0 3.2rem;
}

.pdblock-head {
  max-width: 46rem;
  margin: 0 auto 1.7rem;
  text-align: center;
}

.pdblock-title {
  margin: 0 0 .5rem;
  font-family: 'Metropolis', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  text-transform: uppercase;
  background: var(--pc-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.pdblock-title-alt {
  display: block;
  font-size: .52em;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .9;
  -webkit-text-fill-color: var(--pc-rose);
  color: var(--pc-rose);
}

.pdblock-sub {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--pc-ink-soft);
}

/* --------------------------------------------------------------
   LÍNEA DE TIEMPO
   -------------------------------------------------------------- */
.pdtimeline {
  max-width: 62rem;
  margin: 0 auto;
}

.pdentry {
  display: grid;
  grid-template-columns: minmax(4.5rem, 7.5rem) 1fr;
  column-gap: 1.1rem;
  margin-bottom: 1.4rem;
}

.pdentry:last-child {
  margin-bottom: 0;
}

.pdentry-head {
  display: grid;
  grid-template-columns: 1fr 16px;
  align-items: start;
  justify-items: end;
  padding-top: .55rem;
}

.pdentry-year {
  font-family: 'Metropolis', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1;
  letter-spacing: -.05em;
  background: var(--pc-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* La línea vertical: el magenta del menú superior.
   Va desde el año hasta la entrada siguiente, para que la línea del
   tiempo sea continua. */
.pdentry-spine {
  position: relative;
  width: 16px;
  align-self: stretch;
}

.pdentry-spine::before {
  content: "";
  position: absolute;
  top: .95rem;
  bottom: -1.4rem;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: var(--pc-magenta);
  opacity: .22;
}

.pdentry-spine::after {
  content: "";
  position: absolute;
  top: .95rem;
  left: 50%;
  width: 13px;
  height: 13px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--pc-magenta);
  box-shadow: 0 0 0 4px rgba(153, 0, 153, .13);
}

.pdentry:last-child .pdentry-spine::before {
  display: none;
}

.pdentry-body {
  min-width: 0;
}

/* --- Tarjeta de la pareja --- */
.pdcouple {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.1rem .85rem .85rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid var(--pc-line);
  box-shadow: 0 .9rem 2.1rem -1.3rem rgba(51, 17, 47, .45);
  transition: transform .18s ease, box-shadow .18s ease;
}

.pdcouple:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.3rem 2.6rem -1.4rem rgba(123, 47, 247, .6);
}

.pdcouple-photos {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  flex: 0 0 auto;
  width: 8.2rem;
}

.pdcouple-photo {
  width: 3.7rem;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  object-position: center top;
  border-radius: .8rem;
  background: var(--pc-cream);
  box-shadow: 0 .45rem .9rem -.45rem rgba(51, 17, 47, .5);
  /* La escala de blanco y negro: el índice de la pareja en la línea
     de tiempo va como variable CSS (--pd-gray). */
  filter: grayscale(var(--pd-gray, 0%));
  transition: filter .25s ease;
}

.pdcouple-heart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 -.45rem;
  border-radius: 50%;
  background: var(--pc-grad-pink);
  color: #fff;
  font-size: .7rem;
  box-shadow: 0 .35rem .8rem -.3rem rgba(206, 33, 105, .9);
  z-index: 1;
}

.pdcouple-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  min-width: 0;
}

.pdcouple-names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem;
  font-family: 'Metropolis', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--pc-ink);
}

.pdcouple-names em {
  font-style: normal;
  font-weight: 400;
  font-size: .8em;
  color: var(--pc-rose);
}

.pdcouple-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}

.pdchip {
  display: inline-block;
  padding: .16rem .55rem;
  border-radius: 2rem;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pdchip-year { background: var(--pc-grad-violet); color: #fff; }
.pdchip-dur { background: rgba(123, 47, 247, .12); color: var(--pc-violet-deep); }
.pdchip-live { background: rgba(52, 168, 83, .16); color: #1d7a3a; }
.pdchip-views { background: rgba(206, 33, 105, .12); color: var(--pc-pink); }

.pdcouple-cta {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--pc-pink);
}

.pdcouple:hover .pdcouple-cta {
  color: var(--pc-violet);
}

/* --- Las parejas sin fecha de boda --- */
.pdnodate {
  margin: 1.6rem 0 0;
  padding: 1.1rem 1.2rem;
  border-radius: 1.3rem;
  background: rgba(123, 47, 247, .05);
  border: 1px dashed rgba(153, 0, 153, .18);
}

.pdnodate-title {
  margin: 0 0 .6rem;
  font-family: 'Metropolis', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pc-ink-soft);
}

.pdnodate-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdnodate-list a {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 2rem;
  background: #fff;
  border: 1px solid var(--pc-line);
  font-size: .8rem;
  font-weight: 600;
  color: var(--pc-pink);
}

.pdnodate-list a:hover {
  background: var(--pc-grad-pink);
  color: #fff !important;
}

/* --------------------------------------------------------------
   SIN DATOS DE BODA (frase destacada)
   -------------------------------------------------------------- */
.pdempty {
  max-width: 44rem;
  margin: 0 auto 2rem;
  padding: 2.2rem 1.8rem;
  border-radius: 2rem;
  background: linear-gradient(165deg, #fff0f7 0%, #fff 65%);
  border: 1px solid rgba(255, 77, 157, .22);
  box-shadow: 0 1.4rem 3rem -1.8rem rgba(255, 77, 157, .55);
  text-align: center;
}

.pdempty-ico {
  display: block;
  margin-bottom: .6rem;
  font-size: 2.4rem;
  line-height: 1;
}

.pdempty-text {
  margin: 0;
  font-family: 'Metropolis', sans-serif;
  font-weight: 800;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -.025em;
  color: var(--pc-ink);
}

/* --------------------------------------------------------------
   CONOCE MÁS A X
   -------------------------------------------------------------- */
.pdabout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
  gap: 1.3rem;
  align-items: start;
}

.pdperson {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.3rem 1.4rem;
  border-radius: 2rem;
  border: 1px solid var(--pc-line);
  background: #fff;
  box-shadow: 0 1.4rem 3rem -1.8rem rgba(123, 47, 247, .5);
}

.pdperson::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--pc-grad-hero);
  opacity: .85;
}

.pdperson-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.1rem;
}

.pdperson-photo {
  flex: 0 0 auto;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pc-cream);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(123, 47, 247, .38);
}

.pdperson-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdperson-id {
  min-width: 0;
}

.pdperson-name {
  margin: 0;
  font-family: 'Metropolis', sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--pc-ink);
}

.pdperson-job {
  margin: .2rem 0 0;
  font-size: .8rem;
  color: var(--pc-rose);
  font-weight: 600;
}

.pdperson-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .1rem;
}

.pdperson-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  padding: .5rem 0;
  border-bottom: 1px dashed rgba(153, 0, 153, .12);
  font-size: .86rem;
}

.pdperson-facts li:last-child {
  border-bottom: 0;
}

.pdperson-facts b {
  font-weight: 600;
  color: var(--pc-ink-soft);
}

.pdperson-facts span {
  font-weight: 700;
  color: var(--pc-ink);
  text-align: right;
}

/* --- La biografía --- */
.pdabout-story {
  position: relative;
  padding: 1.7rem 1.6rem 1.8rem;
  border-radius: 2rem;
  background: #fff;
  border: 1px solid var(--pc-line);
  box-shadow: 0 1.4rem 3rem -1.9rem rgba(123, 47, 247, .45);
}

.pdabout-story-title {
  margin: 0 0 .8rem;
  font-family: 'Metropolis', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--pc-ink);
}

.pdabout-story-text {
  margin: 0;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--pc-ink-soft);
}

.pdabout-story-text:empty {
  display: none;
}

/* --------------------------------------------------------------
   PERSONA NO ENCONTRADA
   -------------------------------------------------------------- */
.pdmissing-wrap:empty {
  display: none;
}

.pdmissing {
  max-width: 40rem;
  margin: 2rem auto 3rem;
  padding: 2.6rem 2rem 2.4rem;
  border-radius: 2.2rem;
  background: #fff;
  border: 1px solid var(--pc-line);
  box-shadow: 0 1.6rem 3.4rem -2rem rgba(123, 47, 247, .5);
  text-align: center;
}

.pdmissing-ico {
  display: block;
  margin-bottom: .8rem;
  font-size: 2.6rem;
  line-height: 1;
}

.pdmissing-title {
  margin: 0 0 .7rem;
  font-family: 'Metropolis', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  text-transform: uppercase;
  background: var(--pc-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.pdmissing-text {
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--pc-ink-soft);
}

/* --------------------------------------------------------------
   BOTONES, ANUNCIOS Y PIE
   -------------------------------------------------------------- */
.pc-btn {
  display: inline-block;
  padding: .78rem 1.6rem;
  border-radius: 3rem;
  font-family: 'Metropolis', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.35;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.pc-btn:hover {
  transform: translateY(-2px);
}

.pc-btn-primary {
  background: var(--pc-grad-pink);
  color: #fff !important;
  box-shadow: 0 .9rem 2rem -1rem rgba(59, 15, 111, .8);
}

.pc-btn-primary:hover {
  background: var(--pc-grad-violet);
  color: #fff !important;
}

.pc-btn-ghost {
  background: #fff;
  color: var(--pc-pink) !important;
  border: 1px solid rgba(206, 33, 105, .3);
}

.pc-btn-ghost:hover {
  background: var(--pc-grad-violet);
  color: #fff !important;
}

.pdcta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
  margin-top: 1.8rem;
}

.pdad {
  margin: 0 0 2.6rem;
  padding: .9rem 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, .55);
  text-align: center;
  overflow: hidden;
}

.pdad-title {
  display: block;
  margin-bottom: .4rem;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pc-ink-soft);
  opacity: .8;
}

.pdfoot {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(153, 0, 153, .12);
}

.pdfoot-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdfoot-links a {
  display: inline-block;
  padding: .45rem 1rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(153, 0, 153, .14);
  font-size: .8rem;
  font-weight: 600;
  color: var(--pc-pink) !important;
  transition: background .18s ease, color .18s ease;
}

.pdfoot-links a:hover {
  background: var(--pc-grad-pink);
  color: #fff !important;
}

/* --------------------------------------------------------------
   AJUSTES DE PANTALLA
   -------------------------------------------------------------- */
@media screen and (max-width: 40em) {
  .main-pd .content-area {
    max-width: 100%;
    padding-left: .75rem;
    padding-right: .75rem;
  }

  .pdhero {
    margin: 0 0 1.6rem;
    padding: 2rem 1rem 1.9rem;
    border-radius: 1.6rem;
  }

  .pdstats {
    flex-direction: column;
    align-items: stretch;
  }

  .pdstat {
    border-radius: 1.1rem;
  }

  .pdentry {
    grid-template-columns: minmax(3.8rem, 4.6rem) 1fr;
    column-gap: .8rem;
  }

  .pdcouple {
    flex-direction: column;
    align-items: flex-start;
    gap: .7rem;
    padding: .9rem;
  }

  .pdcouple-photos {
    width: 100%;
    justify-content: flex-start;
  }

  .pdcta .pc-btn {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}
