/* Privilege Top / Hot · carrusel de destacados · prefijo dst- · azul marino y dorado de la marca (logo oficial, Sansita Swashed y Lato)
 * Banner de 1146 × 340 px: tarjeta central de 500 × 310 y dos laterales de 260 × 276 inclinadas, siempre enteras. Se escala al ancho disponible.
 * Ajustes rápidos: --dur (velocidad), --side-tx (separación de las laterales), --tilt (inclinación), --side-w / --side-h (tamaño de las laterales). */
.trd-car.dst { --gold: #F0C12C; --gold-2: #B18937; --dur: 1.3s; --ease: cubic-bezier(.45, .05, .2, 1); --persp: 900px; --tilt: 26deg; --side-w: 300px; --side-h: 290px; --side-tx: 412px; --park: 190px; --k: 1; --ox: 0px;
  position: relative; margin: 16px 0 8px; padding: 0; border-radius: 22px; overflow: hidden; isolation: isolate; user-select: none; -webkit-user-select: none; background: #07172d; box-shadow: 0 14px 34px rgba(6, 27, 56, .28); }
.dst-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.dst-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* fondo: bokeh azul marino con luces cálidas, marco interior fino y el emblema de la marca muy tenue */
.dst-bg { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(70px 160px at 3% 24%, rgba(150, 96, 70, .5), transparent 70%), radial-gradient(260px 200px at 91% 6%, rgba(155, 203, 255, .6), transparent 72%), radial-gradient(190px 120px at 82% 3%, rgba(240, 168, 112, .5), transparent 72%),
    radial-gradient(340px 200px at 97% 98%, rgba(42, 114, 184, .6), transparent 72%), radial-gradient(280px 160px at 13% 100%, rgba(27, 74, 130, .65), transparent 72%), linear-gradient(90deg, #0a2347, #0a1f3d 38%, #0a2143 68%, #10366a); }
.dst-bg::before { content: ""; position: absolute; inset: 6px; border-radius: 17px; border: 1px solid rgba(150, 185, 235, .24); }
.dst-bg::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(34%, 340px); aspect-ratio: 1.24; transform: translate(-50%, -50%); background: url('../assets/branding/escudo-oro.png') center / contain no-repeat; opacity: .05; filter: blur(1px); }

.dst-stage { position: absolute; top: 0; left: var(--ox); width: 1146px; height: 340px; transform-origin: 0 0; transform: scale(var(--k)); perspective: var(--persp); perspective-origin: 573px 170px; touch-action: pan-y; outline: 0; z-index: 1; }
.dst-stage:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 22px; }
.dst-tab { position: absolute; left: 391px; top: 0; width: 63px; height: 8px; border-radius: 0 0 40px 40px / 0 0 100% 100%; z-index: 6; background: linear-gradient(180deg, #fff0b8, #f0c12c 55%, #b18937); box-shadow: 0 0 12px rgba(240, 193, 44, .75), 0 0 26px rgba(240, 193, 44, .35); }

/* tarjeta: por defecto es una lateral; data-o decide su sitio (0 central · ±1 laterales · ±2 aparcadas y ocultas) */
.dst-slide { position: absolute; left: calc(573px - var(--side-w) / 2); top: 32px; width: var(--side-w); height: var(--side-h); border-radius: 26px; overflow: hidden; opacity: 0; pointer-events: none; z-index: 1; cursor: pointer; margin: 0; padding: 0; color: #fff; text-align: left; font-family: Lato, Arial, sans-serif;
  background: linear-gradient(130deg, #0a2040, #06122a); box-shadow: 0 0 0 1px rgba(232, 190, 100, .5), 0 0 12px rgba(240, 193, 44, .18), 0 16px 30px rgba(0, 0, 0, .45);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), width var(--dur) var(--ease), height var(--dur) var(--ease), left var(--dur) var(--ease), top var(--dur) var(--ease), border-radius var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.dst-slide[data-o="-2"] { transform: translateX(calc(var(--side-tx) * -1 - var(--park))) rotateY(var(--tilt)) scale(.84); }
.dst-slide[data-o="2"] { transform: translateX(calc(var(--side-tx) + var(--park))) rotateY(calc(var(--tilt) * -1)) scale(.84); }
.dst-slide[data-o="-1"] { opacity: 1; pointer-events: auto; z-index: 2; transform: translateX(calc(var(--side-tx) * -1)) rotateY(var(--tilt)); }
.dst-slide[data-o="1"] { opacity: 1; pointer-events: auto; z-index: 2; transform: translateX(var(--side-tx)) rotateY(calc(var(--tilt) * -1)); }
.dst-slide[data-o="-1"]:hover, .dst-slide[data-o="1"]:hover { box-shadow: 0 0 0 1px rgba(240, 193, 44, .85), 0 0 18px rgba(240, 193, 44, .35), 0 16px 30px rgba(0, 0, 0, .45); }
.dst-slide[data-o="0"] { opacity: 1; pointer-events: auto; z-index: 4; left: 323px; top: 15px; width: 500px; height: 310px; border-radius: 36px; transform: none; cursor: default;
  background: linear-gradient(115deg, #071a33 0%, #040c1a 52%, #0a1626 100%); box-shadow: 0 0 5px rgba(240, 193, 44, .6), 0 0 16px rgba(240, 193, 44, .34), 0 0 38px rgba(240, 193, 44, .16), 0 28px 60px rgba(0, 0, 0, .55); }

/* foto: .dst-pb = copia desenfocada que rellena, .dst-pf = foto nítida (la que la creadora ha decidido destacar) */
.dst-photo { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.dst-pb { position: absolute; top: -24px; bottom: -24px; left: 0; right: 0; background: var(--photo) center / cover no-repeat; filter: blur(14px) saturate(1.1) brightness(.6); transform: scale(1.12); transition: left var(--dur) var(--ease); }
.dst-slide[data-o="0"] .dst-pb { left: 150px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); }
.dst-pf { position: absolute; top: 0; bottom: 0; overflow: hidden; background: var(--photo) var(--fx, 50% 30%) / cover no-repeat; transition: left var(--dur) var(--ease), width var(--dur) var(--ease); }
.dst-slide:not([data-o="0"]) .dst-pf { left: 0; width: 100%; }
.dst-slide[data-o="0"] .dst-pf { left: 170px; width: 330px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 100%); }
.dst-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50% 30%); }
.dst-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity var(--dur) var(--ease); background: linear-gradient(90deg, rgba(3, 9, 18, .95) 0, rgba(3, 9, 18, .72) 40%, rgba(3, 9, 18, .1) 70%, transparent); }
.dst-slide[data-o="0"] .dst-shade { opacity: 1; }

/* marco dorado (solo la central) */
.dst-deco { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; opacity: 0; transition: opacity var(--dur) var(--ease); }
.dst-slide[data-o="0"] .dst-deco { opacity: 1; }
.dst-emb { position: absolute; right: 22px; top: 16px; height: 46px; width: auto; z-index: 6; opacity: 0; pointer-events: none; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .55)); transition: opacity var(--dur) var(--ease); }
.dst-slide[data-o="0"] .dst-emb { opacity: .95; }

/* contenido grande (central) */
.dst-full { position: absolute; left: 40px; top: 0; bottom: 0; width: 268px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; z-index: 2; transition: opacity calc(var(--dur) * .6) var(--ease), transform var(--dur) var(--ease); }
.dst-slide:not([data-o="0"]) .dst-full { opacity: 0; transform: translateX(-10px); pointer-events: none; }
.dst-slide[data-o="0"] .dst-full { opacity: 1; transition-delay: calc(var(--dur) * .22); }
.dst-badge { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 24px; padding: 0 13px; border: 1px solid rgba(240, 193, 44, .85); border-radius: 999px; color: var(--gold); font: 900 11px/1 Lato, sans-serif; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 9px; background: rgba(240, 193, 44, .06); }
.dst-badge i { font-size: 11px; }
.dst-who { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 0; border: 0; background: none; color: #dce6f1; font: 700 13px Lato, sans-serif; cursor: pointer; max-width: 100%; }
.dst-who .pfx-avatar { border: 2px solid var(--gold); flex: 0 0 auto; } .dst-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dst-who:hover span { color: #fff; text-decoration: underline; }
.dst-full h2 { margin: 0; font: 700 38px/1.12 SansitaSwashed, Georgia, serif; color: #fff; letter-spacing: -.005em; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); max-width: 100%; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dst-full h2 em { color: var(--gold); font-style: normal; }
.dst-txt { margin: 8px 0 0; font-size: 14.5px; line-height: 19px; color: #e6edf5; width: 100%; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dst-slide.post .dst-txt { -webkit-line-clamp: 2; }
.dst-n { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 13px; font-weight: 800; color: #fff; } .dst-n i { font-size: 12px; } .dst-n .fa-heart { color: #ff7c8a; } .dst-n .fa-comment { color: #9fc5f0; margin-left: 8px; }
.dst-cta { margin-top: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 44px; min-width: 164px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer; font: 900 15px Lato, sans-serif; color: #3b2a00; background: linear-gradient(145deg, #ffd95a, var(--gold) 52%, #d9a21f); box-shadow: 0 8px 20px rgba(240, 193, 44, .3), inset 0 1px 0 rgba(255, 255, 255, .45); white-space: nowrap; transition: filter .15s, transform .15s; }
.dst-cta:hover { filter: brightness(1.07); } .dst-cta:active { transform: translateY(1px); } .dst-cta i { font-size: 12px; }
.dst-slide button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* etiquetas de la derecha (tipos de contenido) y tipo de la publicación */
.dst-chips { position: absolute; inset: 0; z-index: 2; list-style: none; margin: 0; padding: 0; pointer-events: none; transition: opacity calc(var(--dur) * .6) var(--ease); }
.dst-slide:not([data-o="0"]) .dst-chips { opacity: 0; }
.dst-chips li { position: absolute; right: calc(46px + (var(--n, 1) - 1 - var(--i, 0)) * 6px); top: calc(50% - (var(--n, 1) * 38px - 10px) / 2 + var(--i, 0) * 38px); display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 13px 0 3px; border-radius: 999px; font: 700 12px Lato, sans-serif; color: #fff; background: rgba(5, 16, 32, .82); border: 1px solid rgba(255, 255, 255, .13); backdrop-filter: blur(5px); white-space: nowrap; }
.dst-chips li i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; color: #fff; background: var(--c, #2f7fd6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.dst-chips li.kind { top: auto; bottom: 30px; right: 22px; padding: 0 12px 0 3px; --c: #2f7fd6; } .dst-chips li.kind.vid i { background: #EBB72A; } .dst-chips li.kind.img i { background: #2f7fd6; }
.dst-chips li.kind b { font-weight: 800; }
.lo .dst-chips li:not(.kind) { display: none; }

/* contenido compacto (laterales): panel de cristal con el texto */
.dst-compact { position: absolute; top: 11%; bottom: 6%; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 16px; background: linear-gradient(140deg, rgba(11, 30, 58, .84), rgba(5, 14, 30, .92)); border: 1px solid rgba(255, 255, 255, .11); backdrop-filter: blur(3px); transition: opacity calc(var(--dur) * .6) var(--ease); }
.dst-slide[data-o="0"] .dst-compact { opacity: 0; pointer-events: none; }
.dst-slide:not([data-o="0"]) .dst-compact { left: 0; right: 0; top: auto; bottom: 0; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 44px 16px 14px; border: 0; border-radius: 0; backdrop-filter: none; background: linear-gradient(180deg, rgba(5, 14, 30, 0), rgba(5, 14, 30, .86) 55%, rgba(5, 14, 30, .95)); }
.dst-slide:not([data-o="0"]) .dst-compact .dst-ic, .dst-slide:not([data-o="0"]) .dst-compact p { display: none; }
.dst-slide:not([data-o="0"]) .dst-compact h3 { flex: 1; min-width: 0; font-size: 18px; -webkit-line-clamp: 2; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.dst-slide:not([data-o="0"]) .dst-go { margin: 0; flex: 0 0 auto; }
.dst-ic { color: var(--gold); font-size: 22px; line-height: 1; margin-bottom: 8px; } .dst-ic.av .pfx-avatar { border: 2px solid var(--gold); }
.dst-compact h3 { margin: 0; font: 700 17px/1.18 SansitaSwashed, Georgia, serif; color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; } .dst-compact h3 em { font-style: normal; color: var(--gold); }
.dst-compact p { margin: 7px 0 0; font-size: 11.5px; line-height: 14.5px; color: #dce6f1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dst-go { margin-top: 12px; width: 30px; height: 30px; border-radius: 50%; border: 1.3px solid rgba(255, 255, 255, .85); display: grid; place-items: center; font-size: 12px; transition: background .2s, color .2s; }
.dst-slide:hover .dst-go { background: var(--gold); border-color: var(--gold); color: #1c2733; }

/* flechas: círculos blancos que montan sobre el borde de la tarjeta central */
.dst-arrow { position: absolute; top: 151px; z-index: 10; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--ice, #fff); color: #154C82; cursor: pointer; display: grid; place-items: center; font-size: 14px; box-shadow: 0 6px 16px rgba(0, 0, 0, .38); transition: background .2s, transform .2s; }
.dst-arrow.prev { left: 316px; } .dst-arrow.next { left: 792px; } .dst-arrow:hover { background: #fff6d8; transform: scale(1.06); } .dst-arrow:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.dst-dots { position: absolute; left: 573px; top: 311px; transform: translateX(-50%); z-index: 9; display: flex; align-items: center; gap: 11px; }
.dst-dot { position: relative; width: 6px; height: 6px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .92); cursor: pointer; transition: width .6s var(--ease), background .6s, transform .6s var(--ease); }
.dst-dot::after { content: ""; position: absolute; inset: -11px -6px; }
.dst-dot.sm { transform: scale(.68); }
.dst-dot[aria-current="true"] { width: 24px; background: var(--gold); box-shadow: 0 0 8px rgba(240, 193, 44, .6); }
.dst-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* pantallas estrechas (menos de 860 px): una sola tarjeta a tamaño real, con foto a todo el ancho */
.trd-car.dst.m .dst-stage { left: 0; width: 100%; height: 100%; transform: none; perspective: none; }
.m .dst-tab, .m .dst-deco, .m .dst-compact, .m .dst-pb, .m .dst-chips li:not(.kind) { display: none; }
.m .dst-slide[data-o] { left: 0; top: 0; width: 100%; height: 100%; border-radius: 22px; opacity: 0; pointer-events: none; box-shadow: none; transform: translateX(0) scale(.96); transition: opacity calc(var(--dur) * .6) var(--ease), transform calc(var(--dur) * .8) var(--ease); }
.m .dst-slide[data-o="-1"], .m .dst-slide[data-o="-2"] { transform: translateX(-22%) scale(.96); } .m .dst-slide[data-o="1"], .m .dst-slide[data-o="2"] { transform: translateX(22%) scale(.96); }
.m .dst-slide[data-o="0"] { opacity: 1; pointer-events: auto; transform: none; box-shadow: 0 0 0 1.5px rgba(214, 160, 52, .95), 0 0 18px rgba(240, 193, 44, .35); }
.m .dst-slide[data-o] .dst-pf { left: 0; width: 100%; -webkit-mask-image: none; mask-image: none; }
.m .dst-shade { opacity: 1; background: linear-gradient(0deg, rgba(3, 9, 18, .96) 0, rgba(3, 9, 18, .8) 38%, rgba(3, 9, 18, .2) 72%, rgba(3, 9, 18, .3)); }
.m .dst-full, .m .dst-slide:not([data-o="0"]) .dst-full { left: 0; top: 0; width: 100%; height: 100%; padding: 20px 22px 46px; justify-content: flex-end; transform: none; }
.m .dst-slide:not([data-o="0"]) .dst-full { opacity: 0; }
.m .dst-full h2 { font-size: 30px !important; } .m .dst-txt { font-size: 14px; line-height: 18px; max-width: 40ch; } .m .dst-cta { height: 42px; margin-top: 12px; }
.m .dst-emb { right: 16px; top: 14px; height: 38px; }
.m .dst-chips li.kind { top: 18px; bottom: auto; right: auto; left: 22px; }
.m .dst-slide.house .dst-badge { margin-bottom: 7px; }
.m .dst-arrow { top: 36%; width: 34px; height: 34px; font-size: 13px; background: rgba(255, 255, 255, .92); } .m .dst-arrow.prev { left: 8px; } .m .dst-arrow.next { left: auto; right: 8px; }
.m .dst-dots { left: 50%; top: auto; bottom: 14px; }
.m .dst-bg::after { display: none; }
@media (max-width: 520px) { .trd-car.dst { margin-left: -10px; margin-right: -10px; border-radius: 0; } .m .dst-slide[data-o] { border-radius: 18px; } .m .dst-arrow { display: none; } .m .dst-full h2 { font-size: 27px !important; } }
@media (prefers-reduced-motion: reduce) { .trd-car.dst { --dur: .01ms; } .dst-slide, .dst-full, .dst-compact, .dst-chips, .dst-dot, .dst-pf, .dst-pb, .dst-deco, .dst-shade, .dst-emb { transition: none !important; } }
.dst-boot .dst-slide { transition: none !important; }
