/* Szarpidrut 2027 — W03 profil zespołu: poprawki ręczne (w03.css jest generowany z makiety). */

/* Reguły makiety, których ekstraktor nie przeniósł (klasy dodawane skryptem). */
main.sz27-w03 .hero.w03-no-photo { cursor: default; }
main.sz27-w03 .hero a, main.sz27-w03 .hero button { cursor: pointer; }
main.sz27-w03 .hero.sz27-photo-front { cursor: zoom-out; }
main.sz27-w03 .hero.sz27-photo-front .hero-photo { z-index: 20; cursor: zoom-out; animation: sz27-front-photo .3s cubic-bezier(.18,.83,.3,1) both; }
@keyframes sz27-front-photo { from { opacity: .72; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { main.sz27-w03 .hero.sz27-photo-front .hero-photo { animation: none; } }
main.sz27-w03 .show-more { background: transparent; color: #eee; border: 1px solid #555; padding: 11px 18px; margin: 10px 0 18px; font: 700 13px Lato, Arial, sans-serif; }
main.sz27-w03 .show-more:hover { border-color: var(--red); }
main.sz27-w03 .track.extra-track[hidden] { display: none; }
main.sz27-w03 #muzyka > .textlink { display: inline-block; margin-top: 6px; }

/* Okruszki: link do katalogu zespołów. */
main.sz27-w03 .crumb a { color: inherit; }
main.sz27-w03 .crumb a:hover { color: #fff; }

/* Odznaki profilu (oficjalny, zaufany, solo, poziom profilu, aktywność sceniczna). */
main.sz27-w03 .w03-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; position: relative; z-index: 2; }
main.sz27-w03 .w03-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.55); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #e7e7e7; }
main.sz27-w03 .w03-badges li.w03-badge-red { border-color: var(--red); color: #fff; }
main.sz27-w03 .w03-badges img { width: 22px; height: 22px; display: block; }

/* Dodaj do playlisty (Live Component addToPlaylist) w miejscu przycisku „+” z makiety. */
main.sz27-w03 .track .add { display: flex; align-items: center; justify-content: center; padding: 0; position: relative; }
main.sz27-w03 .track .add .add-to-playlist-wrapper,
main.sz27-w03 .track .add [data-controller="dropdown"] { width: 100%; height: 100%; position: static; }
main.sz27-w03 .track .add a.add-to-playlist { background: none !important; width: 100%; height: 100%; padding: 0; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 24px; line-height: 1; }
main.sz27-w03 .track .add a.add-to-playlist::before { content: "+"; }
main.sz27-w03 .track .add:hover { border-color: var(--red); }
main.sz27-w03 .track .add:hover a.add-to-playlist { color: #fff; }
main.sz27-w03 .track .add .add-to-playlist-tooltip { display: none; }
main.sz27-w03 .track .add .add-to-playlist-menu { top: calc(100% + 4px); right: 0; z-index: 40; text-align: left; font-size: 14px; }

/* Albumy (brak w makiecie) — ten sam układ wiersza co utwory. */
main.sz27-w03 .w03-albums .track img { object-fit: cover; }

/* Merch: realne produkty ze sklepu (karty jako linki). */
main.sz27-w03 #merch .merch-item { display: block; color: inherit; }
main.sz27-w03 #merch .merch-visual-real::after { content: none; }
main.sz27-w03 #merch .merch-visual-real .merch-example-graphic { object-fit: cover; }
main.sz27-w03 #merch .merch-store-link { display: inline-flex; margin-top: 16px; }

/* O zespole: opis z panelu (HTML z edytora), zwijany skryptem. */
main.sz27-w03 .w03-about-text { font-size: 16px; line-height: 1.55; color: #bcbcbc; overflow-wrap: anywhere; }
main.sz27-w03 .w03-about-text > :first-child { margin-top: 0; }
main.sz27-w03 .w03-about-text p { margin: 0 0 1em; }
main.sz27-w03 .w03-about-text a { text-decoration: underline; text-underline-offset: 3px; }
main.sz27-w03 .w03-about-text img { max-width: 100%; height: auto; }
main.sz27-w03 .w03-about-text.is-collapsed { max-height: 380px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
main.sz27-w03 .w03-about-toggle { background: none; border: 0; padding: 5px 0; color: #eee; font-size: 16.25px; text-decoration: underline; text-underline-offset: 5px; }
main.sz27-w03 .w03-about-photo { display: block; width: 100%; height: auto; margin: 18px 0 6px; filter: grayscale(.2); }
main.sz27-w03 .side-label { margin-top: 26px; }

/* Kontakt: odsłanianie e-maila / telefonu (/get-email, /get-phone). */
main.sz27-w03 .w03-reveal { margin: 10px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
main.sz27-w03 .w03-reveal button { background: transparent; color: #eee; border: 1px solid #555; padding: 8px 14px; min-height: 40px; font: 700 13px Lato, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
main.sz27-w03 .w03-reveal button:hover { border-color: var(--red); }
main.sz27-w03 .w03-reveal a { overflow-wrap: anywhere; }

/* Koncerty: kilka wydarzeń jedno pod drugim. */
main.sz27-w03 .concert > a { display: block; padding-bottom: 18px; }
main.sz27-w03 .concert > a + a { border-top: 1px solid #2b2b2b; }

/* Moduły z panelu: pasek przewijany i plakat dla profilu zespołu. */
main.sz27-w03 .w03-bars { margin: 22px 40px 0; overflow: hidden; }
main.sz27-w03 .w03-posters { margin: 10px 0 40px; overflow: hidden; }
main.sz27-w03 .w03-posters p { font-size: clamp(30px, 5vw, 60px); }
main.sz27-w03 .w03-empty { margin: 30px 40px 60px; color: #999; }
@media (max-width: 740px) {
  main.sz27-w03 .w03-bars { margin: 16px 16px 0; }
  main.sz27-w03 .w03-empty { margin: 24px 16px 48px; }
}

/* Newsy: miniatury z panelu mają różne proporcje — kadr kwadratowy. */
main.sz27-w03 .news img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
/* Kolejność bloków w układzie jednokolumnowym (albumy po klipach, plakat na końcu). */
main.sz27-w03 #albumy { order: 2; }
main.sz27-w03 .w03-posters { order: 8; }
/* Długie nazwy zespołów nie mogą wychodzić poza hero. */
main.sz27-w03 .hero h1 { overflow-wrap: anywhere; }
@media (max-width: 360px) { main.sz27-w03 .hero h1 { font-size: 48px; } }
main.sz27-w03 .news > div, main.sz27-w03 .gallery-album > div { min-width: 0; }
main.sz27-w03 .news h3, main.sz27-w03 .news p, main.sz27-w03 .gallery-album h3, main.sz27-w03 .concert h3 { overflow-wrap: anywhere; }
main.sz27-w03 .w03-about-text :is(iframe, video, embed, object) { max-width: 100%; width: 100%; height: auto; aspect-ratio: 16 / 9; }
main.sz27-w03 .w03-about-text table { max-width: 100%; display: block; overflow-x: auto; }

/* „Odkrywaj kolejne zespoły” — w makiecie poza <main>, tu na końcu widoku. */
main.sz27-w03 .discovery-bottom { margin: 24px 40px 54px; padding: 28px; background: #191919; border: 0; border-left: 3px solid #ef363b; position: relative; isolation: isolate; overflow: hidden; }
main.sz27-w03 .discovery-bottom::before { content: ""; position: absolute; right: 2%; top: 50%; transform: translateY(-50%); width: 290px; height: 340px; background: url("img/w03-1.png") center / contain no-repeat; opacity: .14; pointer-events: none; z-index: -1; }
main.sz27-w03 .discovery-bottom > * { position: relative; z-index: 1; }
main.sz27-w03 .discovery-bottom .discovery-kicker { display: block; color: #f25f64; font-size: 11px; letter-spacing: 1.4px; font-weight: 900; margin-bottom: 8px; }
main.sz27-w03 .discovery-bottom h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.1; letter-spacing: .3px; margin: 0 0 10px; }
main.sz27-w03 .discovery-bottom p { margin: 0; color: #bcbcbc; max-width: 650px; line-height: 1.6; font-size: 14px; }
main.sz27-w03 .discovery-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
main.sz27-w03 .discovery-actions a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; text-align: center; border: 1px solid #666; padding: 12px 16px; font-size: 13px; font-weight: 700; }
main.sz27-w03 .discovery-actions a:first-child { background: #b92330; border-color: #b92330; color: #fff; }
main.sz27-w03 .discovery-actions a:first-child:hover { background: #d12d38; border-color: #d12d38; }
@media (max-width: 740px) {
  main.sz27-w03 .discovery-bottom { margin: 16px 16px 40px; padding: 20px; }
  main.sz27-w03 .discovery-bottom::before { right: -100px; opacity: .09; }
}
@media (max-width: 470px) { main.sz27-w03 .discovery-actions { display: grid; grid-template-columns: 1fr; } main.sz27-w03 .discovery-actions a { width: 100%; } }
/* Profil bez muzyki/klipów/newsów: kolumna „O zespole” na całą szerokość. */
main.sz27-w03 .profile-layout.w03-no-main { grid-template-columns: minmax(0, 1fr); }
main.sz27-w03 .profile-layout.w03-no-main::before { display: none; }
main.sz27-w03 .profile-layout.w03-no-main aside { border-left: 0; padding-left: 0; max-width: 820px; }
main.sz27-w03 .profile-layout.w03-no-main .main-column { display: none; }
