/*
 * Experiencias: diseño propio en amarillo (como la sección actual de enaranda.es).
 * Móvil: cada experiencia ocupa la altura disponible y se pasa de una a otra deslizando (reels).
 * Escritorio: rejilla de dos columnas.
 */
.tab-experiencias { --exp: #edb100; --exp-dark: #b88a00; }
.tab-experiencias > header { background: var(--exp); }
.tab-experiencias .bottom .active { color: var(--exp-dark); }
.tab-experiencias .info-button, .tab-experiencias #panel .primary { background: var(--exp); }
.tab-experiencias .place-contact a:first-child { background: var(--exp); border-color: var(--exp); color: #fff; }

/* Barra: pestañas y Filtros. */
#exp-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px; background: #fff; border-bottom: 1px solid #ece4c8; flex-shrink: 0; }
.exp-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.exp-tabs button { padding: 5px 12px; border-radius: 8px; background: #d8dadd; color: #fff; font-weight: 900; font-size: 14px; text-transform: uppercase; white-space: nowrap; }
.exp-tabs button[aria-pressed=true] { background: var(--exp); }
.exp-filters { flex-shrink: 0; padding: 7px 14px; border-radius: 8px; background: #111; color: #fff; font-weight: 900; font-size: 14px; text-transform: uppercase; }
.exp-filters [hidden] { display: none; }
.exp-categories .category[aria-pressed=true] { background: #fff6dc; border: 2px solid var(--exp); color: #8a6800; }
.exp-cat-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--exp); }
.exp-cat-icon img { width: 26px; height: 26px; }

/* Listado. */
.exp-page { margin: 0 -16px; }
.exp-feed-page main { background: #fff; }
.exp-card { position: relative; }
.exp-card[hidden] { display: none; }
/* El vídeo acaba 40px antes del final: la barra amarilla queda mitad sobre el vídeo y mitad fuera. */
.exp-card > a { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; }
.exp-media { position: absolute; inset: 0 0 40px; width: 100%; height: calc(100% - 40px); object-fit: cover; background: #222; }
.exp-card > a::after { content: ""; position: absolute; inset: 0 0 40px; background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0, transparent 25%, transparent 45%, rgba(0, 0, 0, .7) 85%); pointer-events: none; }
.exp-price { position: absolute; z-index: 2; top: 14px; left: 14px; display: flex; flex-direction: column; padding: 6px 12px 8px; border-radius: 10px; background: rgba(237, 177, 0, .92); color: #fff; line-height: 1; text-transform: uppercase; }
.exp-price small { font-size: 14px; font-weight: 700; }
.exp-price strong { font-size: 34px; font-weight: 900; margin-top: 2px; }
.exp-price.is-free { font-size: 20px; font-weight: 900; padding: 8px 12px; }
.exp-dec { font-size: .55em; vertical-align: top; }
.exp-title { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 100px; margin: 0; font-size: 31px; line-height: 1.08; font-weight: 900; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.exp-bar { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 0; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "prom prom" "icons more"; gap: 6px 10px; align-items: end; padding: 12px 14px; border-radius: 14px; background: var(--exp); color: #fff; }
.exp-promoter { grid-area: prom; font-size: 14px; font-weight: 400; text-transform: uppercase; letter-spacing: .3px; }
.exp-promoter a { color: inherit; text-decoration: none; }
.exp-icons { grid-area: icons; display: flex; flex-wrap: wrap; gap: 8px; min-height: 30px; }
.exp-icon { width: 30px; height: 30px; }
.exp-more { grid-area: more; display: flex; align-items: center; gap: 6px; color: #000; font-size: 14px; text-transform: uppercase; white-space: nowrap; }
.exp-more::after { content: ""; width: 14px; height: 11px; background: url(../img/experiencias/flecha-negra.svg) no-repeat center / contain; }

/* Móvil: a pantalla completa, deslizando como reels. */
@media (max-width: 899px) {
	.exp-feed-page main { scroll-snap-type: y mandatory; padding-bottom: 0; }
	.exp-feed-page #content { padding-top: 0; }
	.exp-feed:not(.exp-feed-static) .exp-card { margin-bottom: 20px;height: var(--exp-h, 80dvh); scroll-snap-align: start; scroll-snap-stop: always; }
	.exp-feed:not(.exp-feed-static) .exp-card > a { height: 100%; }
}
.exp-feed-static .exp-card { margin-bottom: 16px; }
.exp-feed-static .exp-card > a { height: 420px; }

/* Ficha. */
.exp-hero { position: relative; margin: 0 -16px; height: 300px; overflow: hidden; background: #222; }
.exp-hero-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.exp-intro { padding: 20px 0 6px; }
.exp-intro h1 { margin: 0 0 14px; font-size: 30px; line-height: 1.1; font-weight: 900; }
.exp-bar-static { position: static; grid-template-areas: "prom" "icons"; grid-template-columns: 1fr; margin-bottom: 14px; }
.exp-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.exp-cats a { padding: 5px 11px; border-radius: 99px; background: #fff6dc; color: #8a6800; font-weight: 700; font-size: 14px; text-decoration: none; }
.exp-book { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0; padding: 15px; border-radius: 12px; background: var(--exp); color: #fff; font-size: 19px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.exp-text { margin: 18px 0; }
.exp-info { margin: 24px 0; padding: 16px; border-radius: 14px; background: #fffaf0; border: 1px solid #f1e3b8; }
.exp-info h2 { margin: 0 0 8px; font-size: 21px; }
.exp-promoter-list h2 { font-size: 23px; }

/* Escritorio: rejilla de dos columnas, como la web actual. */
@media (min-width: 900px) {
	#exp-controls { padding-left: var(--gutter); padding-right: var(--gutter); }
	.exp-page { margin: 0; }
	.exp-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
	.exp-feed > .empty { grid-column: 1 / -1; }
	.exp-card > a { height: 400px; }
	.exp-feed-static .exp-card { margin: 0; }
	.exp-title { font-size: 32px; bottom: 96px; }
	.exp-detail { max-width: 820px; margin: 0 auto; }
	.exp-hero { margin: 0; height: 460px; border-radius: 18px; }
}

/* Guardar: igual que en las tarjetas de eventos (círculo gris con borde blanco e icono azul oscuro; rosa con
   icono blanco al guardar), en el mismo sitio que antes (centrado donde estaba el de 40 px). */
.exp-card .exp-save {
    position: absolute;
    z-index: 3;
    right: 5px;
    top: -118px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: #e1e4e4;
    color: #405167;
    display: grid;
    place-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
}
.exp-card .exp-save .icon { width: 26px; height: 26px; }
.exp-card .exp-save[aria-pressed=true] { background: var(--pink); color: #fff; }
