/* Guitar Bcn — fitxa de concert (Figma 41:1029 «Fitxa Artista»; estats del bloc de compra 41:3106).
   Mides del disseny a 1440 px. Marges laterals amb --gt-lat (home.css), com la resta de la web.
   Escriptori ≥ 1100 px: bloc de compra fix a la dreta. Per sota: dates dins la bio i barra de compra fixa a baix. */

.gtf {
	--gtf-blanc: #f2efe9;
	--gtf-negre: #1c1c1c;
	--gtf-vidre: rgba(201, 201, 201, .31);          /* el panell del nom del disseny */
	--gtf-vidre-vora: rgba(201, 201, 201, .15);
	--gtf-vidre-fosc: rgba(28, 28, 28, .72);         /* el bloc de compra quan ja no és sobre la foto */
	--gtf-blur: 12.4px;
	--gtf-hh: max(560px, min(63.06vw, calc(100svh + 8px)));   /* portada: 908 px a 1440 × 900, com el disseny */
	--gtf-bw: 479px;                                  /* ample del bloc de compra */
	--gtf-top: 100px;                                 /* on s'enganxa el bloc en fer scroll (sota la capçalera) */
	--gtf-ease: cubic-bezier(.22, .8, .2, 1);
	position: relative;
	background: var(--gtf-negre);
	color: var(--gtf-blanc);
	font-family: var(--gt-font, "Halyard Display", sans-serif);
}
.gtf *, .gtf *::before, .gtf *::after { box-sizing: border-box; }
.elementor .e-con.gtf-dalt, .gtf-dalt { position: relative; }

/* ============ Portada ============ */
.gtf-hero { position: relative; height: var(--gtf-hh); overflow: hidden; isolation: isolate; background: var(--gtf-negre); color: var(--gtf-blanc); }
.gtf-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.gtf-hero__media picture { display: contents; }
.gtf-hero .gtf-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--gtf-focus, 50% 35%); display: block; }
/* enfosquiment de baix: el degradat del disseny (de transparent a negre al 116 %, en multiplicar) */
.gtf-hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .862) 100%); }

/* Foto petita (arxiu: moltes de 540 px): la mateixa difuminada a sang i la nítida a la dreta, fins a 1,4 vegades la seva mida */
.gtf-hero__fons { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(30px) brightness(.5); transform: scale(1.1); }
.gtf-hero .gtf-hero__nitida {
	position: absolute; right: var(--gt-lat); top: calc(var(--gt-cap-h, 96px) + 48px);
	height: min(calc(var(--gtf-ph) * 1.4px), calc(var(--gtf-hh) - var(--gt-cap-h, 96px) - 48px - 360px));
	width: auto; max-width: min(calc(var(--gtf-pw) * 1.4px), calc(100% - 2 * var(--gt-lat)));
	aspect-ratio: var(--gtf-pw) / var(--gtf-ph); object-fit: cover; display: block;
}

/* Panell de vidre amb el nom i la franja de la gira. A dalt, alineat amb el bloc de compra (590 px al disseny):
   si el nom o la gira fan dues línies, el panell creix cap avall. */
.gtf-nom { position: absolute; left: 0; top: calc(var(--gtf-hh) - 318px); z-index: 2; width: min(calc(var(--gt-lat) + 508px), calc(100% - var(--gtf-bw) - 2 * var(--gt-lat) - 48px)); }
.gtf-nom__vidre {
	display: flex; flex-direction: column; justify-content: center; min-height: 121px;
	padding: 19px 40px 16px var(--gt-lat);
	background: var(--gtf-vidre); border: 1px solid var(--gtf-vidre-vora);
	-webkit-backdrop-filter: blur(var(--gtf-blur)); backdrop-filter: blur(var(--gtf-blur));
}
.gtf .gtf-nom__tit { margin: 0; padding: 0; font-family: var(--gt-font); font-size: 50px; font-weight: 500; line-height: 45px; letter-spacing: 0; text-transform: none; color: var(--gtf-blanc); overflow-wrap: break-word; }
.gtf .gtf-nom__gira { margin: 0; min-height: 47px; padding: 11px 40px 10px calc(var(--gt-lat) - 1px); background: var(--e-global-color-gt01, #c2899d); font-family: var(--gt-font); font-size: 30px; font-weight: 500; line-height: 26px; letter-spacing: 0; color: var(--gtf-blanc); }

/* Cancel·lat o ajornat: píndola gris clara a la dreta, a l'alçada de la franja de la gira */
.gtf .gtf-cancelat {
	position: absolute; z-index: 2; right: var(--gt-lat); top: calc(var(--gtf-hh) - 318px + 121px + 6.5px);
	display: flex; align-items: center; justify-content: center; width: var(--gtf-bw); margin: 0;
	background: #c7c7c7; color: var(--gtf-negre); text-align: center;   /* alçada i lletra: .gtbtn-estat--m (botons.css) */
}

/* ============ Bloc de compra ============ */
/* Carril: va de dalt de la portada fins abans del dibuix de la sala (--gtf-fi). El bloc s'hi enganxa
   (sticky) i, en acabar el carril, se'n va amb la pàgina: mai tapa el dibuix, els altres concerts ni el peu. */
.gtf-dalt > .gtf-w-compra { position: absolute !important; inset: 0; width: auto !important; max-width: none !important; margin: 0 !important; z-index: 30; pointer-events: none; }
.gtf-compra { position: absolute; top: 0; right: var(--gt-lat); bottom: var(--gtf-fi, 100px); width: var(--gtf-bw); pointer-events: none; }
.gtf-compra__aire { height: calc(var(--gtf-hh) - 318px); }   /* a la portada, a l'alçada del panell del nom */
.gtf-bloc { position: sticky; top: var(--gtf-top); pointer-events: auto; transition: top .5s var(--gt-ease, ease); }
/* quan la capçalera torna (en pujar), el bloc baixa amb ella perquè no el tapi (--gtf-cap: alçada real, fitxa.js) */
body:has(.gt-cap.is-solid:not(.is-amagat)) .gtf-bloc { top: max(var(--gtf-top), calc(var(--gtf-cap, 109px) + 12px)); }
body.admin-bar .gtf-bloc { top: calc(var(--gtf-top) + 32px); }
body.admin-bar:has(.gt-cap.is-solid:not(.is-amagat)) .gtf-bloc { top: max(calc(var(--gtf-top) + 32px), calc(var(--gtf-cap, 109px) + 44px)); }

.gtf-bloc__dades {
	border: 2px solid var(--gtf-blanc); border-radius: 10px 10px 0 0;
	padding: 40px 27px 27px 31px;
	background: var(--gtf-vidre);
	-webkit-backdrop-filter: blur(var(--gtf-blur)); backdrop-filter: blur(var(--gtf-blur));
}
/* Bloc fix (escriptori): sobre la foto, el vidre clar del panell del nom; quan deixa de tapar la portada, vidre fosc
   (al Figma, a la bio, és fosc amb només la vora). --gtf-fosc (0–1) = part del bloc que ja no és sobre la portada,
   la calcula fitxa.js en fer scroll: el canvi va lligat al desplaçament, sense salts. */
.gtf-bloc .gtf-bloc__dades { background: color-mix(in srgb, var(--gtf-vidre-fosc) calc(var(--gtf-fosc, 0) * 100%), var(--gtf-vidre)); }
.gtf-bloc--sol .gtf-bloc__dades { border-radius: 10px; }
.gtf .gtf-dades { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 17px; }
.gtf .gtf-dades__fila { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 17px; }
/* Píndoles de dades (dia, hora, sala): no són botons, però conviuen amb el COMPRAR i en tenen la forma:
   44 px, contorn d'1,5 px dibuixat amb box-shadow (sense border, vegeu botons.css) i la mateixa lletra. */
.gtf .gtf-pill {
	position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
	border: 0; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1.5px var(--gtf-blanc);
	font-family: var(--gt-font); font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: .02em;
	color: var(--gtf-blanc); text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.gtf .gtf-pill--dia { flex: 1 1 100%; justify-content: flex-start; padding: 0 39px; }
.gtf .gtf-pill--hora { flex: 0 0 105px; padding: 0 8px; }
.gtf .gtf-pill--sala { flex: 1 0 auto; }
.gtf .gtf-dades--multi .gtf-pill--dia { flex: 1 1 auto; padding: 0 24px; }
.gtf .gtf-pill--esgotada s { text-decoration-thickness: 2px; opacity: .6; }
.gtf .gtf-pill__h { display: none; }   /* l'hora dins el dia: només al mòbil */
/* sala i hores amb enllaç: el hover dels botons nav (el relleno puja des de baix, cobreix la caixa sencera) */
.gtf a.gtf-pill--enllac { overflow: hidden; isolation: isolate; color: var(--gtf-blanc); transition: color .35s var(--gtf-ease), background-color 0s; }
.gtf a.gtf-pill--enllac::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--gtf-blanc); transform: translate3d(0, 101%, 0); transition: transform .45s var(--gtf-ease); }
.gtf a.gtf-pill--enllac:hover, .gtf a.gtf-pill--enllac:focus-visible { color: var(--gtf-negre); background-color: var(--gtf-blanc); transition: color .35s var(--gtf-ease), background-color 0s linear .45s; }
.gtf a.gtf-pill--enllac:hover::before, .gtf a.gtf-pill--enllac:focus-visible::before { transform: none; }
.gtf a.gtf-pill--enllac:active { scale: .98; }
.gtf a.gtf-pill--enllac:focus-visible { outline: 2px solid var(--gtf-blanc); outline-offset: 3px; }

/* Franja de baix: estat + COMPRAR */
.gtf-peu { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 79px; padding: 11px 39px; background: var(--gtf-blanc); color: var(--gtf-negre); }   /* estat a l'esquerra, COMPRAR (M) a la dreta: amb 66 px fixos no hi cabia */
/* Estat i COMPRAR: sistema de botons (botons.css: .gtbtn-estat--m / --s i .gtbtn). Aquí, lloc i colors. */
.gtf .gtf-estat { flex: none; min-width: 218px; background: #626262; color: var(--gtf-blanc); }
.gtf .gtf-estat--venda { background: #34bf75; }
.gtf .gtf-estat--ultimes { background: #ff7373; }
.gtf .gtf-estat--esgotat { background: #c7c7c7; color: var(--gtf-negre); }   /* crema sobre gris clar no es llegia (1,5:1) */
/* properament i finalitzat: neutra (el gris del disseny) */
.gtf a.gtf-comprar { flex: none; }

/* ============ Bio ============ */
.gtf-bio { position: relative; padding: 100px var(--gt-lat); background: var(--gtf-negre); color: var(--gtf-blanc); }
.gtf-bio--dib { padding-bottom: 42px; }
.gtf-quan { display: none; }   /* quan i on a la portada: només per sota de 1100 px */
.gtf-bio__graella { position: relative; display: grid; grid-template-columns: minmax(0, 668px) var(--gtf-bw); justify-content: space-between; column-gap: 48px; }
.gtf-bio__text { min-width: 0; }
.gtf-bio--dib .gtf-bio__text { padding-bottom: 55px; }
/* 24-nov: el cos del Figma (30/32) es llegia massa gran; 20/30 per a lectura còmoda */
.gtf-bio__cos { font-family: var(--gt-font); font-size: 20px; font-weight: 400; line-height: 30px; color: var(--gtf-blanc); }
.gtf .gtf-bio__cos p, .gtf .gtf-bio__cos div, .gtf .gtf-bio__cos ul, .gtf .gtf-bio__cos ol { margin: 0 0 22px; font: inherit; color: inherit; text-align: left; }
.gtf .gtf-bio__cos div { margin: 0; }
.gtf .gtf-bio__cos > :last-child, .gtf .gtf-bio__cos p:last-child { margin-bottom: 0; }
.gtf .gtf-bio__cos a { color: inherit; text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.gtf .gtf-bio__cos a:hover { text-decoration-thickness: 2px; }
.gtf .gtf-bio__cos strong, .gtf .gtf-bio__cos b { font-weight: 500; }
.gtf .gtf-bio__cos .gtbio-dest { margin-bottom: 22px; }

/* Formació (shortcode [guitar_concert_formacio], amb l'estil de la fitxa) */
.gtf .gtform { margin: 48px 0 0; padding: 0; border: 0; color: var(--gtf-blanc); }
.gtf .gtform .gtform__tit { margin: 0 0 14px !important; font-family: var(--gt-font) !important; font-size: 15px !important; font-weight: 500 !important; line-height: 17px !important; letter-spacing: 0 !important; text-transform: uppercase !important; color: var(--gtf-blanc) !important; opacity: .7; }
.gtf .gtform .gtform__grp { margin: 24px 0 8px; font-family: var(--gt-font); font-size: 15px; font-weight: 500; line-height: 17px; text-transform: uppercase; color: var(--gtf-blanc); }
.gtf .gtform .gtform__txt { margin: 0; font-family: var(--gt-font); font-size: 20px; font-weight: 400; line-height: 26px; color: var(--gtf-blanc); }
.gtf .gtform .gtform__txt + .gtform__txt { margin-top: 16px; }

/* Vídeo i Spotify (24-nov): reproductors sota el text. El vídeo és una portada 16:9 amb el play; en prémer-lo
   s'hi posa el reproductor de YouTube (fitxa.js). Spotify, el reproductor compacte (152 px). */
.gtf-media { display: grid; gap: 16px; margin-top: 48px; }
.gtf .gtf-media .gtf-media__video {
	position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 0; padding: 0; margin: 0;
	border: 0; border-radius: 0; background: #000; cursor: pointer; overflow: hidden; color: var(--gtf-negre);
}
.gtf-media__video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--gtf-ease), opacity .4s; }
.gtf-media__video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,28,28,0) 45%, rgba(28,28,28,.35) 100%); pointer-events: none; }
.gtf-media__play {
	position: absolute; left: 50%; top: 50%; z-index: 1; width: 79px; height: 79px; margin: -39.5px 0 0 -39.5px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; background: var(--gtf-blanc); color: var(--gtf-negre);
	transition: transform .45s var(--gtf-ease), background-color .35s var(--gtf-ease);
}
.gtf-media__play svg { width: 30px; height: 30px; margin-left: 4px; display: block; }
.gtf .gtf-media .gtf-media__video:hover img, .gtf .gtf-media .gtf-media__video:focus-visible img { transform: scale(1.03); }
.gtf .gtf-media .gtf-media__video:hover .gtf-media__play, .gtf .gtf-media .gtf-media__video:focus-visible .gtf-media__play { transform: scale(1.06); background: var(--gtf-negre); color: var(--gtf-blanc); box-shadow: inset 0 0 0 1.5px var(--gtf-blanc); }
.gtf .gtf-media .gtf-media__video:focus-visible { outline: 2px solid var(--gtf-blanc); outline-offset: 3px; }
.gtf-media__marc { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.gtf-media__marc iframe, .gtf-media__mp4 { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.gtf-media__mp4 { position: static; aspect-ratio: 16 / 9; background: #000; }
.gtf-media__spotify { width: 100%; height: 152px; border: 0; border-radius: 12px; display: block; }
@media (max-width: 767px) { .gtf-media { margin-top: 36px; } .gtf-media__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .gtf-media__play svg { width: 24px; height: 24px; } }

/* Nom de la sala sobre la línia de terra (24-nov): diu on porta el dibuix. Nom i dibuix fan el mateix enllaç i
   s'encenen junts en passar-hi per sobre. */
.gtf .gtf-bio__sala {
	/* 24-nov (Javi): just al costat del dibuix, al final de la línia de terra */
	position: absolute; right: calc(var(--gtf-dib-w, 0px) + 22px); bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: .6em;
	font-family: var(--gt-font); font-size: 15px; font-weight: 500; line-height: 17px; letter-spacing: .02em; text-transform: uppercase;
	color: var(--gtf-blanc); text-decoration: none; transition: color .35s var(--gtf-ease);
}
.gtf .gtf-bio__sala .gtf-bio__fl { display: block; width: 46px; height: 22px; flex: none; background: currentColor;
	-webkit-mask: url(img/fletxa-ma.png) center / contain no-repeat; mask: url(img/fletxa-ma.png) center / contain no-repeat;
	transition: transform .45s var(--gtf-ease); }
a.gtf-bio__dib { color: var(--gtf-blanc); transition: color .35s var(--gtf-ease); }
.gtf a.gtf-bio__sala:is(:hover, :focus, :focus-visible, :visited) { color: var(--gtf-blanc); }   /* el kit pinta els enllaços en hover de rosa */
.gtf a.gtf-bio__sala > span:first-child { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .25em; text-decoration-thickness: 1.5px; transition: text-decoration-color .3s var(--gtf-ease); }
.gtf a.gtf-bio__sala:hover > span:first-child, .gtf a.gtf-bio__sala:focus-visible > span:first-child,
.gtf .gtf-bio__graella:has(a.gtf-bio__dib:hover) .gtf-bio__sala > span:first-child { text-decoration-color: currentColor; }
.gtf a.gtf-bio__sala:hover .gtf-bio__fl, .gtf a.gtf-bio__sala:focus-visible .gtf-bio__fl, .gtf .gtf-bio__graella:has(a.gtf-bio__dib:hover) .gtf-bio__sala .gtf-bio__fl { transform: translateX(.35em); }
/* el dibuix no canvia de color: l'etiqueta ja diu que és un enllaç */
.gtf a.gtf-bio__sala:focus-visible { outline: 2px solid var(--gtf-blanc); outline-offset: 4px; }
/* mòbil i tauleta: el dibuix ocupa gairebé tota l'amplada i el nom el tocaria; va just a sota de la línia.
   L'enllaç fa 44 px d'alt (zona de toc) amb el text al mateix lloc que abans. */
@media (max-width: 1099px) { .gtf .gtf-bio__sala { right: auto; left: 0; bottom: auto; top: calc(100% - 2px); min-height: 44px; } }

/* (antic) icones: els dos quadrats del disseny (vídeo i Spotify) — ja no es pinten */
.gtf-icones { display: flex; gap: 11px; margin-top: 48px; }
.gtf .gtf-icones .gtf-icona {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; min-height: 0; padding: 0; margin: 0;
	border: 0; border-radius: 6px; background: var(--gtf-blanc); color: var(--gtf-negre); cursor: pointer; overflow: hidden; isolation: isolate;
	transition: color .35s var(--gtf-ease);
}
.gtf .gtf-icones .gtf-icona::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--e-global-color-gt01, #c2899d); transform: translateY(101%); transition: transform .45s var(--gtf-ease); }
.gtf .gtf-icones .gtf-icona:hover, .gtf .gtf-icones .gtf-icona:focus-visible { background: var(--gtf-blanc); color: var(--gtf-blanc); }
.gtf .gtf-icones .gtf-icona:hover::before, .gtf .gtf-icones .gtf-icona:focus-visible::before { transform: none; }
.gtf .gtf-icones .gtf-icona:focus-visible { outline: 2px solid var(--gtf-blanc); outline-offset: 3px; }
.gtf .gtf-icones .gtf-icona svg { width: 22px; height: 22px; display: block; }

/* Dibuix de la sala, a baix a la dreta, amb la línia de terra fins al text */
.gtf-bio__dreta { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; min-width: 0; padding-top: var(--gtf-reserva, 0px); }
.gtf-bio__dib { display: block; width: var(--gtf-dib-w); height: var(--gtf-dib-h); color: var(--gtf-blanc); line-height: 0; }
.gtf-bio__dib svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gtf-bio__dib svg * { vector-effect: non-scaling-stroke; stroke-width: 1.15px; }
.gtf-bio--dib .gtf-bio__graella::after { content: ""; position: absolute; left: 1px; right: calc(var(--gtf-dib-w) - 2px); bottom: 2px; border-top: 1px solid var(--gtf-blanc); pointer-events: none; }

/* Vídeo (es carrega en prémer la icona) */
.gtf .gtf-video { width: min(1200px, calc(100vw - 2 * var(--gt-lat))); max-width: none; max-height: none; padding: 0; margin: auto; border: 0; background: transparent; color: var(--gtf-blanc); overflow: visible; }
.gtf .gtf-video::backdrop { background: rgba(28, 28, 28, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gtf .gtf-video[open] { animation: gtf-dialeg .45s var(--gtf-ease); }
.gtf-video__marc { position: relative; aspect-ratio: 16 / 9; max-height: calc(100svh - 140px); margin: 0 auto; background: #000; }
.gtf-video__marc iframe, .gtf-video__marc video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.gtf .gtf-video .gtf-video__tanca {
	position: absolute; right: 0; top: -56px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
	border: 2px solid var(--gtf-blanc); border-radius: 50%; background: transparent; color: var(--gtf-blanc); cursor: pointer;
	transition: background-color .3s var(--gtf-ease), color .3s var(--gtf-ease);
}
.gtf .gtf-video .gtf-video__tanca:hover, .gtf .gtf-video .gtf-video__tanca:focus-visible { background: var(--gtf-blanc); color: var(--gtf-negre); }
.gtf .gtf-video .gtf-video__tanca svg { width: 18px; height: 18px; }
@keyframes gtf-dialeg { from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.98); } to { opacity: 1; transform: none; } }

/* ============ Altres concerts ============ */
.gtf-rec { background: var(--gtf-negre); padding: 0 var(--gt-lat); color: var(--gtf-blanc); }
.gtf .gtf-rec__tit { margin: 0 0 61px; padding: 0; font-family: var(--gt-font); font-size: 90px; font-weight: 500; line-height: 80px; letter-spacing: 0; text-transform: none; color: var(--gtf-blanc); }
.gtf-rec__graella { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.gtf-card { display: flex; flex-direction: column; min-width: 0; }
/* franja a baix i, a la 1a i la 4a, a dalt (ziga-zaga del disseny). La franja va primer al codi: sense order: 1
   totes quedaven a dalt. */
.gtf-card__barra { order: 1; }
/* 24-nov (clienta): sense ziga-zaga, la franja amb COMPRAR sempre a baix com a la llista de concerts */
.gtf-card--dalt .gtf-card__barra { order: 1; }
.gtf-card__barra {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58.9px; padding: 0 22px 0 17px;
	background: var(--c); color: var(--gtf-blanc);
	font-family: var(--gt-font); font-size: 15px; font-weight: 500; line-height: 17px; text-transform: uppercase;
}
.gtf-card__estat { min-width: 0; }
/* COMPRAR / Més info de la targeta: botó S de botons.css; l'enllaç és la zona de toc de 44 px */
.gtf a.gtf-card__btn { flex: none; }
.gtf a.gtf-card__btn:focus, .gtf a.gtf-card__btn:focus-visible { outline: 0; box-shadow: none; }
.gtf a.gtf-card__foto {
	position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1; padding: 28px 20px 33px;
	overflow: hidden; isolation: isolate; color: var(--gtf-blanc); text-decoration: none; background: #2a2a2a;
}
.gtf .gtf-card__foto .gtf-card__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--gtf-focus, 50% 35%); transition: transform .9s var(--gtf-ease); }
.gtf-card__foto::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .862) 100%); pointer-events: none; }
/* ombra suau a dalt (com a la llista de concerts): el nom es llegeix també sobre fotos clares */
.gtf-card__foto::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 45%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(28, 28, 28, .42) 0%, rgba(28, 28, 28, .16) 55%, rgba(28, 28, 28, 0) 100%); }
.gtf a.gtf-card__foto:hover .gtf-card__img, .gtf a.gtf-card__foto:focus-visible .gtf-card__img { transform: scale(1.05); }
.gtf a.gtf-card__foto:focus-visible { outline: 2px solid var(--gtf-blanc); outline-offset: -4px; }
.gtf .gtf-card__nom { margin: 0; padding: 0; font-family: var(--gt-font); font-size: 30px; font-weight: 500; line-height: 26px; letter-spacing: 0; text-transform: none; color: var(--gtf-blanc); overflow-wrap: break-word; text-shadow: 0 1px 14px rgba(0, 0, 0, .28); }   /* ombra suau: el nom es llegeix també sobre fotos clares */
.gtf-card__peu { display: flex; flex-direction: column; gap: 7px; font-family: var(--gt-font); font-size: 15px; font-weight: 400; line-height: 17px; }
.gtf-card__dates { padding-bottom: 7px; border-bottom: 1px solid var(--gtf-blanc); }
.gtf-card__sala { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Franja de píxels ([gt_pixels tipus="franja"] girada, com al disseny: 1440 × 45) */
.gtf-rec__px { margin: 160px calc(-1 * var(--gt-lat)) 0; transform: rotate(180deg); overflow: clip; }   /* els píxels giren en 3D (home.js): que no facin scroll lateral */
.gtf-rec__px .gtpx--franja { aspect-ratio: 1440 / 45.1; }
@media (max-width: 767px) { .gtf-rec__px .gtpx--franja { aspect-ratio: 1440 / 135; } }
.gtf-rec--buit .gtf-rec__px { margin-top: 0; }

/* Barra de compra del mòbil: només per sota de 1100 px */
.gtf-w-barra, .gtf-barra { display: none; }

/* ============ Entrada (sense salts de maquetació: només transform i retall) ============ */
@media (prefers-reduced-motion: no-preference) {
	.gtf-hero .gtf-hero__img, .gtf-hero__fons { animation: gtf-foto 1.8s var(--gtf-ease) both; }
	.gtf-nom__vidre { animation: gtf-destapa 1s var(--gtf-ease) .15s both; }
	.gtf .gtf-nom__gira { animation: gtf-destapa 1s var(--gtf-ease) .32s both; }
	.gtf .gtf-cancelat, .gtf-bloc { animation: gtf-puja 1s var(--gtf-ease) .4s both; }
	.gtf-quan { animation: gtf-aparei .8s var(--gtf-ease) .45s both; }
}
@keyframes gtf-aparei { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
@keyframes gtf-foto { from { transform: scale(1.06); } to { transform: none; } }
@keyframes gtf-destapa { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes gtf-puja { from { transform: translate3d(0, 28px, 0); } to { transform: none; } }

/* ============ Escriptori estret (1100–1439): mateix disseny, més just ============ */
@media (max-width: 1439px) and (min-width: 1100px) {
	.gtf-bio__cos { font-size: 20px; line-height: 1.5; }
	.gtf .gtf-rec__tit { font-size: clamp(64px, 6.25vw, 90px); line-height: .889; }
}

/* ============ Tauleta i mòbil (< 1100 px) — revisió mòbil 24-nov ============
   La foto a dalt, neta i protagonista (~60svh, la 4:5 amb el seu punt focal), tancada pel nom i la gira a la seva vora
   de baix. A sota, sobre fosc, quan i on en text (una fila per dia, la sala amb la fletxa, l'estat) i, enganxada a
   baix, la barra de compra (estat + COMPRAR). Sense compra possible no hi ha barra: l'estat va amb les dates.
   (Javi, 24-nov: amb el nom, la gira i les píndoles a sobre, «tapes massa foto».) */
@media (max-width: 1099px) {
	/* iPhone en horitzontal (viewport-fit=cover, guitar-fitxa-nova.php): els marges no entren a la zona del notch */
	body.gtf-pagina { --gt-lat: max(calc(var(--gt-marge) + var(--gt-cont)), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
	.gtf { --gtf-fh: clamp(340px, 60svh, 720px); --gtf-barra-h: calc(68px + env(safe-area-inset-bottom, 0px)); }
	.gtf-dalt > .gtf-w-compra { display: none !important; }

	/* Portada: la foto és un bloc del seu alt; el nom i la gira seuen a la seva vora de baix; la resta va a sota */
	.gtf-hero { height: auto; display: flex; flex-direction: column; }
	.gtf-hero__media { position: relative; inset: auto; z-index: 0; flex: none; height: var(--gtf-fh); }
	/* vel només a la franja de baix, sota el nom: es llegeix sobre fotos clares i la resta de la foto queda neta */
	.gtf-hero__media::after { background: linear-gradient(180deg, rgba(28, 28, 28, 0) 56%, rgba(28, 28, 28, .45) 78%, rgba(28, 28, 28, .85) 100%); }
	.gtf-nom { position: absolute; left: 0; right: 0; top: var(--gtf-fh); bottom: auto; width: auto; transform: translateY(-100%); }
	.gtf-nom__vidre { min-height: 0; padding: 0 var(--gt-lat) 14px; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.gtf-hero:not(.gtf-hero--gira) .gtf-nom__vidre { padding-bottom: 20px; }
	.gtf .gtf-nom__tit { font-size: clamp(36px, 10vw, 54px); line-height: .95; text-shadow: 0 1px 2px rgba(0, 0, 0, .22), 0 2px 18px rgba(0, 0, 0, .32); }
	.gtf .gtf-nom__gira { min-height: 0; padding: 8px var(--gt-lat) 7px; font-size: clamp(17px, 4.6vw, 26px); line-height: 1.15; }
	.gtf .gtf-hero .gtf-cancelat { display: none; }   /* l'estat és una línia de .gtf-quan (més pes que botons.css, que es carrega després) */

	/* Quan i on, sota la foto: text, no botons. Files de 52 px separades per un filet; la sala i l'edició són
	   enllaços de tota la fila amb la fletxa feta a mà de la marca (la mateixa del nom de la sala a la bio). */
	.gtf-quan { display: block; padding: 6px var(--gt-lat) 0; }
	.gtf .gtf-quan__llista { list-style: none; margin: 0; padding: 0; max-width: 620px; }
	.gtf .gtf-quan__fila {
		display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2px 18px;
		min-height: 52px; margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(242, 239, 233, .16);
		font-family: var(--gt-font); font-size: 16px; font-weight: 500; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase;
		color: var(--gtf-blanc);
	}
	.gtf-quan__dia { min-width: 0; }
	.gtf-quan__hores { display: flex; gap: 16px; font-weight: 400; font-variant-numeric: tabular-nums; }
	.gtf .gtf-quan__hora { color: var(--gtf-blanc); }
	.gtf s.gtf-quan__hora { opacity: .5; text-decoration-thickness: 1.5px; }
	.gtf a.gtf-quan__hora--compra { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
	.gtf a.gtf-quan__hora--compra:is(:hover, :focus, :visited) { color: var(--gtf-blanc); }
	.gtf .gtf-quan__fila--sala, .gtf .gtf-quan__fila--edicio { padding: 0; }
	.gtf .gtf-quan__enllac { display: flex; align-items: center; gap: .8em; width: 100%; min-height: 52px; color: var(--gtf-blanc); text-decoration: none; }
	.gtf a.gtf-quan__enllac:is(:hover, :focus, :visited) { color: var(--gtf-blanc); }
	.gtf a.gtf-quan__enllac > span:not(.gtf-quan__fl) { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .25em; text-decoration-thickness: 1.5px; transition: text-decoration-color .3s var(--gtf-ease); }
	.gtf a.gtf-quan__enllac:is(:hover, :focus-visible) > span:not(.gtf-quan__fl) { text-decoration-color: currentColor; }
	/* la sala, sense fletxa: el subratllat sempre a la vista diu que és un enllaç (24-nov) */
	.gtf .gtf-quan__fila--sala a.gtf-quan__enllac > span { text-decoration-color: currentColor; text-decoration-thickness: 1px; }
	.gtf .gtf-quan__fila--sala a.gtf-quan__enllac:is(:hover, :focus-visible) > span { text-decoration-thickness: 2px; }
	.gtf a.gtf-quan__enllac:focus-visible, .gtf a.gtf-quan__hora--compra:focus-visible { outline: 2px solid var(--gtf-blanc); outline-offset: 3px; }
	.gtf-quan__fl {
		display: block; flex: none; width: 46px; height: 22px; background: currentColor;
		-webkit-mask: url(img/fletxa-ma.png) center / contain no-repeat; mask: url(img/fletxa-ma.png) center / contain no-repeat;
		transition: transform .45s var(--gtf-ease);
	}
	.gtf-quan__enllac--ant .gtf-quan__fl { scale: -1 1; }   /* edició: la fletxa cap enrere */
	.gtf a.gtf-quan__enllac:is(:hover, :focus-visible) .gtf-quan__fl { transform: translateX(.35em); }
	/* estat sense compra: una línia amb un punt, com a la barra (gris esgotat / encara no; vermell cancel·lat) */
	.gtf .gtf-quan__estat {
		display: flex; align-items: center; gap: 9px; margin: 18px 0 0;
		font-family: var(--gt-font); font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase;
		color: var(--gtf-blanc);
	}
	.gtf .gtf-quan__estat:first-child { margin-top: 14px; }
	.gtf-quan__punt { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #c7c7c7; }
	.gtf-quan__estat--cancelat .gtf-quan__punt { background: #ff7373; }
	.gtf-quan__estat--finalitzat .gtf-quan__punt { background: transparent; box-shadow: inset 0 0 0 1.5px #c7c7c7; }

	/* Arxiu amb foto petita (moltes de 540 px): la foto sencera sota la capçalera, sobre ella mateixa difuminada; el nom, a sota */
	.gtf-hero--petita { --gtf-nw: min(calc(100vw - 2 * var(--gt-lat)), calc(var(--gtf-pw) * 1.4px)); }
	.gtf-hero--petita .gtf-hero__media { height: auto; padding: calc(var(--gt-cap-h, 96px) + 16px) 0 22px; overflow: hidden; }
	.gtf-hero--petita .gtf-hero__media::after { display: none; }
	.gtf-hero .gtf-hero__nitida { position: relative; inset: auto; display: block; margin: 0 auto; width: var(--gtf-nw); height: auto; max-width: none; max-height: none; }
	.gtf-hero--petita .gtf-nom { position: relative; top: auto; transform: none; }
	.gtf-hero--petita .gtf-nom__tit { text-shadow: none; }

	.gtf-bio { padding: 48px var(--gt-lat) 56px; }
	.gtf-bio--dib { padding-bottom: 64px; }   /* sota la línia, el nom de la sala (44 px de toc) */
	.gtf-bio__graella { display: block; }
	.gtf-bio__cos { font-size: clamp(17px, 2.4vw, 19px); line-height: 1.55; }
	.gtf .gtf-bio__cos p, .gtf .gtf-bio__cos ul, .gtf .gtf-bio__cos ol { margin-bottom: 1.1em; }
	.gtf-bio--dib .gtf-bio__text { padding-bottom: 0; }
	.gtf-bio__dreta { padding-top: 48px; }
	.gtf-bio--dib { --gtf-dib-wm: min(calc(min(var(--gtf-dib-h), 190px) * var(--gtf-dib-ar)), 72%); }
	.gtf-bio__dib { width: var(--gtf-dib-wm); height: auto; aspect-ratio: var(--gtf-dib-ar); }
	.gtf-bio--dib .gtf-bio__graella::after { right: calc(var(--gtf-dib-wm) - 2px); }

	.gtf .gtf-rec__tit { font-size: clamp(44px, 10vw, 90px); line-height: .9; margin-bottom: 32px; }
	.gtf-rec__graella { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gtf-rec__px { margin-top: 96px; }

	/* Barra de compra: enganxada a baix mentre es llegeix; al final es queda just abans del peu (és l'última
	   filla de .gtf). Vidre fosc com la capçalera sòlida; a baix, l'aire de l'indicador d'inici de l'iPhone. */
	.gtf > .gtf-w-barra { display: block; position: sticky !important; bottom: 0; z-index: 40; margin: 0 !important; }
	.gtf-barra {
		display: block; padding: 12px var(--gt-lat) calc(12px + env(safe-area-inset-bottom, 0px));
		background: rgba(28, 28, 28, .84); border-top: 1px solid rgba(242, 239, 233, .14);
		-webkit-backdrop-filter: blur(var(--gtf-blur)) saturate(1.3); backdrop-filter: blur(var(--gtf-blur)) saturate(1.3);
	}
	.gtf-barra__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 620px; margin-left: auto; }   /* tauleta: a la dreta */
	.gtf .gtf-barra__estat {
		display: flex; align-items: center; gap: 9px; min-width: 0; margin: 0;
		font-family: var(--gt-font); font-size: 14px; font-weight: 500; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase;
		color: var(--gtf-blanc);
	}
	.gtf-barra__punt { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #34bf75; box-shadow: 0 0 0 3px rgba(52, 191, 117, .25); }
	.gtf-barra__estat--ultimes .gtf-barra__punt { background: #ff7373; box-shadow: 0 0 0 3px rgba(255, 115, 115, .25); }
	.gtf .gtf-barra a.gtf-barra__comprar { flex: none; min-width: 168px; }
	body.gtf-pagina pressidium-floating-button { bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 1099px) and (orientation: portrait) {
	.gtf-hero .gtf-hero__img { object-position: var(--gtf-focus-t, var(--gtf-focus)); }
}
@media (max-width: 767px) {
	.gtf-hero .gtf-hero__img { object-position: var(--gtf-focus-m, var(--gtf-focus)); }
	/* Altres concerts: carril que llisca d'una en una; la següent targeta treu el cap. Franja sempre a baix
	   (com a la llista de concerts del mòbil): al carril, la ziga-zaga desquadrava les fotos. */
	.gtf-rec__graella {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
		margin: 0 calc(-1 * var(--gt-lat)); padding: 0 var(--gt-lat); scroll-padding-inline: var(--gt-lat); scrollbar-width: none;
	}
	.gtf-rec__graella::-webkit-scrollbar { display: none; }
	.gtf-card { flex: 0 0 min(80vw, 320px); scroll-snap-align: start; }
	.gtf-card--dalt .gtf-card__barra { order: 1; }
	.gtf .gtf-card__nom { font-size: 26px; line-height: 24px; }
	.gtf-card__barra { padding: 0 14px; }
	.gtf-card__peu { font-size: 16px; line-height: 19px; }
}
/* Mòbil en horitzontal: la foto omple la pantalla menys la barra de compra; nom i gira més compactes */
@media (max-width: 1099px) and (orientation: landscape) and (max-height: 520px) {
	.gtf { --gtf-fh: max(250px, calc(100svh - 68px)); }
	.gtf .gtf-nom__tit { font-size: 34px; }
	.gtf .gtf-nom__gira { font-size: 17px; padding-block: 6px 5px; }
	.gtf .gtf-quan__llista { max-width: 680px; }
	.gtf-hero--petita { --gtf-nw: min(calc(100vw - 2 * var(--gt-lat)), calc(var(--gtf-pw) * 1px), calc((100svh - var(--gt-cap-h, 96px) - 120px) * var(--gtf-pw) / var(--gtf-ph))); }   /* que el nom es vegi a la primera pantalla */
}
.gtf a.gtf-quan__enllac:active .gtf-quan__fl { transform: translateX(.35em); }
@media (prefers-reduced-motion: reduce) {
	.gtf-quan__fl, .gtf a.gtf-quan__enllac > span { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
	.gtf a.gtf-pill--enllac, .gtf a.gtf-pill--enllac::before, .gtf .gtf-card__foto .gtf-card__img { transition: none; }
	.gtf a.gtf-pill--enllac:active { scale: none; }
}

/* ============ Feedback d'Anna, 25-nov (en prova: body.gt-anna, vegeu guitar-anna.php) ============ */
/* L'estat semblava un botó (mateixa forma que COMPRAR): passa a text amb un punt de color, com a la barra de compra del
   mòbil. COMPRAR es queda com era (27-nov, Javi: el verd confonia). */
body.gt-anna .gtf .gtf-estat { min-width: 0; padding: 0; gap: 10px; background: none; color: var(--gtf-negre); }
body.gt-anna .gtf .gtf-estat::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #626262; }
body.gt-anna .gtf .gtf-estat--venda::before { background: #34bf75; box-shadow: 0 0 0 3px rgba(52, 191, 117, .25); }
body.gt-anna .gtf .gtf-estat--ultimes::before { background: #ff7373; box-shadow: 0 0 0 3px rgba(255, 115, 115, .25); }
body.gt-anna .gtf .gtf-estat--esgotat::before { background: #c7c7c7; }
/* «També et recomanem»: les targetes de sempre (franja de color amb l'estat i COMPRAR), amb aire entre elles */
body.gt-anna .gtf-rec__graella { gap: clamp(16px, 2vw, 28px); }

/* «també et recomanem...» amb l'oval (30-nov, proposta de Júlia). El títol fa l'amplada de la paraula més llarga
   (dues línies: «també et» / «recomanem...») i l'oval s'estira al voltant, amb el traç fi i sense deformar-se. */
.gtf .gtf-rec__cap { position: relative; display: inline-block; margin: clamp(48px, 5.5vw, 88px) 0 clamp(36px, 3.6vw, 52px) .65em; font-size: clamp(32px, 3.4vw, 50px); }   /* Júlia: més avall i més petit */
.gtf .gtf-rec__cap .gtf-rec__tit { width: min-content; margin: 0; font-size: 1em; line-height: .95; text-transform: none; }
.gtf .gtf-rec__oval { position: absolute; top: -.62em; right: -.8em; bottom: -.45em; left: -.7em; width: auto; color: var(--gtf-blanc); pointer-events: none; }
.gtf .gtf-rec__oval svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gtf .gtf-rec__oval path { stroke-width: 2px; vector-effect: non-scaling-stroke; }
@media (max-width: 767px) {
	.gtf .gtf-rec__cap { margin-top: 44px; margin-left: .45em; margin-bottom: 32px; font-size: clamp(30px, 8.6vw, 36px); }
}

/* Concerts amb un enllaç de compra per data (2-des, Júlia): un COMPRAR per dia. Escriptori: a la fila de cada data.
   Barra del mòbil: un botó per data, que ocupen tota la barra. */
.gtf .gtf-dades__fila--compra .gtf-pill--dia { flex: 1 1 auto; min-width: 0; padding-left: 20px; padding-right: 14px; white-space: nowrap; font-size: 14px; letter-spacing: 0; }
.gtf .gtf-dades__fila--compra a.gtf-comprar { flex: none; }
.gtf .gtf-barra--dates .gtf-barra__in { gap: 10px; }
.gtf .gtf-barra--dates a.gtf-barra__comprar { flex: 1 1 0; min-width: 0; justify-content: center; white-space: nowrap; }
