/* ==========================================================================
   John Lydon: johnlydon.com's own design (white page, deep red bars and
   boxes, Fjalla One headings, Roboto Condensed text, the JL diamond + sofa
   cartoon lockup), rebuilt clean with modern touches: sticky nav, smooth
   slider, hover states, proper mobile layout. Also styles every class the
   parent PiL templates use, so any page this theme doesn't override still
   matches.
   ========================================================================== */

@font-face { font-family: "Fjalla One"; src: url("../fonts/FjallaOne-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/RobotoCondensed-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/RobotoCondensed-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/RobotoCondensed-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("../fonts/RobotoCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--red: #a72528;
	--red-dark: #8a1d20;
	--red-bright: #c52d2f;
	--ink: #222;
	--text: #3a3a3a;
	--muted: #777;
	--line: #e3e3e3;
	--paper: #fff;
	--soft: #f6f6f6;
	--jl-display: "Fjalla One", Impact, "Arial Narrow", sans-serif;
	--jl-body: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	--container: 1140px;
	--gutter: clamp(16px, 3.5vw, 30px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--nav-h: 130px; /* sticky header height, for scroll offsets */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--jl-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--jl-display); font-weight: 400; line-height: 1.15; color: var(--red); margin: 0; }
p { margin: 0 0 1em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 2px; }
.i-lower { text-transform: lowercase; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; background: var(--ink); color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 22px;
	border: 2px solid var(--red); background: #fff; color: var(--red); border-radius: 2px;
	font-family: var(--jl-display); font-size: 19px; line-height: 1; transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--red); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(167,37,40,.22); }
.btn--solid { background: var(--red); color: #fff; }
.btn--solid:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--light { background: #fff; border-color: #fff; color: var(--red); }
.btn--light:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--red); border-color: #fff; }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 16px; }
.link-more { font-family: var(--jl-display); font-size: 17px; }
.jl-readmore { font-size: 15px; }
.jl-readmore:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header: logo left, menu right (PiL's arrangement) ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 6px solid var(--red); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.admin-bar .site-header { top: 32px; }
.jl-header__inner { max-width: 1320px; margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 18px; }
.jl-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--red); flex-shrink: 0; }
.jl-brand__logo { display: grid; justify-items: center; gap: 4px; }
.jl-brand__mark { width: 78px; height: 78px; color: var(--red); transition: color .25s, width .25s var(--ease), height .25s var(--ease); }
.jl-brand__url { font-family: var(--jl-display); font-size: 15px; line-height: 1; color: var(--red); letter-spacing: .02em; transition: color .25s; }
.jl-brand__toon { height: 92px; width: auto; transition: height .25s var(--ease); }
.jl-brand:hover .jl-brand__mark, .jl-brand:hover .jl-brand__url { color: var(--red-dark); }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; }
.primary-nav li { position: relative; }
.primary-nav > ul > li > a {
	display: flex; align-items: center; gap: 6px; padding: 10px 11px;
	color: var(--ink); font-family: var(--jl-display); font-size: 18px; line-height: 1; letter-spacing: .02em; position: relative;
}
.primary-nav > ul > li > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav > ul > li:hover > a, .primary-nav > ul > li.current-menu-ancestor > a { color: var(--red); }
.primary-nav li:hover > a::after, .primary-nav .current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-nav .menu-item-has-children > a::before { content: ""; order: 2; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px 0; background: #fff; border-top: 4px solid var(--red);
	box-shadow: 0 16px 36px rgba(0,0,0,.16); opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s, transform .2s var(--ease), visibility .2s; z-index: 5;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu, .primary-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 9px 20px; color: var(--ink); font-weight: 700; font-size: 16px; }
.primary-nav .sub-menu a:hover, .primary-nav .sub-menu .current-menu-item > a { background: var(--soft); color: var(--red); }
.jl-header__actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.jl-header__mail { margin-right: 4px; white-space: nowrap; }
.site-header .search-toggle, .site-header .menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--red); flex-shrink: 0; }
.site-header .search-toggle:hover, .site-header .search-toggle.is-active { color: var(--red-dark); }
.menu-toggle { position: relative; display: none !important; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle::before { top: 14px; } .menu-toggle span { top: 21px; } .menu-toggle::after { top: 28px; }
.menu-toggle.is-open::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open::after { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle.is-open span { opacity: 0; }
.site-search { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); background: var(--red); }
.site-search.is-open { max-height: 90px; }
.site-search form { max-width: var(--container); margin: 0 auto; padding: 14px var(--gutter); display: flex; gap: 10px; }
.site-search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 0; border-radius: 2px; font: inherit; font-size: 17px; color: var(--ink); }
.site-search input:focus { outline: 3px solid #fff; }

/* Social icons: Scotty's own red discs, darker red on hover */
.jl-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jl-social__icon { position: relative; width: 48px; height: 48px; display: block; border-radius: 50%; transition: transform .2s var(--ease); }
.jl-social__icon img { width: 48px; height: 48px; }
.jl-social__icon .jl-social__roll { position: absolute; inset: 0; opacity: 0; transition: opacity .2s; }
.jl-social__icon:hover { transform: translateY(-2px); }
.jl-social__icon:hover .jl-social__roll, .jl-social__icon:focus-visible .jl-social__roll { opacity: 1; }

@media (max-width: 1240px) {
	.primary-nav > ul > li > a { padding: 10px 8px; font-size: 17px; }
	.primary-nav > ul > li > a::after { left: 8px; right: 8px; }
	.jl-brand__toon { display: none; }
}
@media (max-width: 1020px) {
	.primary-nav { display: none; }
	.menu-toggle { display: grid !important; }
	.jl-header__actions { margin-left: auto; }
	.jl-brand__toon { display: block; height: 70px; }
	.jl-brand__mark { width: 60px; height: 60px; }
}
@media (max-width: 560px) {
	.jl-header__mail { display: none; }
	.jl-brand__toon { height: 56px; }
	.jl-brand__url { font-size: 13px; }
}

/* Mobile menu: full-screen red panel */
.mobile-nav { position: fixed; inset: 0; z-index: 100; overflow-y: auto; background: var(--red); color: #fff; padding: 18px var(--gutter) 40px; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; display: flex; flex-direction: column; gap: 24px; }
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; }
.jl-brand--mobile { display: grid; justify-items: center; gap: 4px; }
.mobile-nav .jl-brand__mark, .mobile-nav .jl-brand__url { color: #fff; }
.mobile-nav .jl-brand__mark { width: 56px; height: 56px; }
.mobile-nav__close { background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; width: 48px; height: 48px; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a { color: #fff; }
.mobile-nav > ul > li > a { display: block; font-family: var(--jl-display); font-size: 30px; line-height: 1.35; }
.mobile-nav .sub-menu { margin: 0 0 8px 2px; }
.mobile-nav .sub-menu a { font-weight: 700; font-size: 18px; opacity: .85; }
.mobile-nav .sub-menu a::before { content: "– "; }
.mobile-nav__extra { border-top: 1px solid rgba(255,255,255,.3); padding-top: 18px; }
.jl-social--mobile .jl-social__icon { background: #fff; box-shadow: 0 0 0 2px #fff; }

/* ---------- Sections + the red heading bar ---------- */
.section { padding: clamp(40px, 6vw, 70px) 0; position: relative; }
.section--tight { padding: 30px 0; }
.section--flush { padding-bottom: 0; }
.section--after-head { padding-top: 26px; }
.jl-bar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	background: var(--red); color: #fff; font-family: var(--jl-display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2;
	padding: 10px 26px; margin: 0 0 16px;
}
.jl-bar > span { color: #fff; }
.jl-bar__link { font-family: var(--jl-body); font-weight: 700; font-size: 15px; color: #fff; opacity: .9; }
.jl-bar__link:hover { color: #fff; opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.jl-page-head { padding-top: clamp(24px, 4vw, 44px); }
.jl-page-head h1.jl-bar { margin-bottom: 8px; }
.jl-page-head__kicker { display: block; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.jl-page-head__stat { color: var(--muted); font-size: 15px; margin: 0; }
.jl-note { font-size: 15px; color: var(--text); margin: 0 0 26px; }
.jl-intro { margin-bottom: 30px; max-width: 760px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.section-kicker { display: none; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- Home slider ---------- */
.jl-slider { position: relative; max-width: var(--container); margin: clamp(26px, 4vw, 44px) auto 0; padding: 0 var(--gutter); }
.jl-slider__track { position: relative; aspect-ratio: 1080 / 600; overflow: hidden; background: var(--ink); }
.jl-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.jl-slide.is-active { opacity: 1; visibility: visible; }
.jl-slide__img, .jl-slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.jl-slide__img img { object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.jl-slide.is-active .jl-slide__img img { transform: scale(1); }
.jl-slide__caption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 70px clamp(20px, 4vw, 48px) clamp(20px, 3.5vw, 40px);
	background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0)); color: #fff; pointer-events: none;
}
.jl-slide__caption a { pointer-events: auto; }
.jl-slide__kicker { display: inline-block; background: var(--red); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; margin-bottom: 10px; }
.jl-slide__title { font-family: var(--jl-display); font-size: clamp(24px, 3.4vw, 42px); line-height: 1.1; margin: 0 0 14px; max-width: 26ch; color: #fff; }
.jl-slide__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.jl-slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%;
	display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--red); border: 0; box-shadow: 0 4px 14px rgba(0,0,0,.2); transition: background .2s, color .2s, transform .2s;
}
.jl-slider__arrow:hover { background: var(--red); color: #fff; }
.jl-slider__arrow--prev { left: calc(var(--gutter) + 14px); }
.jl-slider__arrow--next { right: calc(var(--gutter) + 14px); }
.jl-slider__dots { display: flex; justify-content: center; gap: 10px; padding: 16px 0 0; }
.jl-slider__dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: #c9c9c9; transition: background .2s, transform .2s; }
.jl-slider__dots button[aria-selected="true"] { background: var(--red); transform: scale(1.25); }
@media (max-width: 640px) {
	.jl-slider { padding: 0; }
	.jl-slider__track { aspect-ratio: 4 / 3.4; }
	.jl-slider__arrow { width: 38px; height: 38px; top: 38%; }
	.jl-slider__arrow--prev { left: 10px; } .jl-slider__arrow--next { right: 10px; }
	.jl-slide__caption .btn { min-height: 38px; font-size: 16px; padding: 6px 14px; }
}

/* ---------- Home: Latest News box + portrait ---------- */
.jl-two-col { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .jl-two-col { grid-template-columns: 1fr 1fr; } }
.jl-boxlist { border: 8px solid var(--red); padding: 18px 22px 22px; background: #fff; }
.jl-boxlist__item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.jl-boxlist__item:first-child { padding-top: 4px; }
.jl-boxlist__item h3 { font-size: 23px; margin-bottom: 4px; }
.jl-boxlist__item h3 a { color: var(--red); }
.jl-boxlist__item h3 a:hover { color: var(--red-dark); }
.jl-boxlist__item p { font-size: 15px; margin: 4px 0 2px; color: var(--text); }
.jl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; color: var(--muted); }
.jl-meta span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.jl-boxlist__more { display: block; margin-top: 16px; background: var(--red); color: #fff; font-family: var(--jl-display); font-size: 17px; padding: 6px 12px; transition: background .2s; }
.jl-boxlist__more:hover { background: var(--red-dark); color: #fff; }
.jl-portrait-col { display: grid; gap: 16px; }
.jl-portrait { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.jl-portrait--toon { object-fit: contain; background: #fff; border: 8px solid var(--red); padding: 18px; box-shadow: none; mix-blend-mode: normal; }
.jl-next { display: grid; gap: 2px; padding: 16px 20px; border: 1px solid var(--line); border-top: 5px solid var(--red); color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s; }
.jl-next:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.1); color: var(--ink); }
.jl-next__label { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.jl-next__date { font-family: var(--jl-display); font-size: 24px; color: var(--ink); }
.jl-next__place { font-size: 16px; color: var(--text); }
.jl-column-link { display: grid; gap: 2px; padding: 14px 20px; background: var(--red); color: #fff; transition: background .2s, transform .2s var(--ease); }
.jl-column-link:nth-of-type(even) { background: var(--ink); }
.jl-column-link:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.jl-column-link__name { font-family: var(--jl-display); font-size: 22px; }
.jl-column-link__name em { font-style: normal; font-family: var(--jl-body); font-weight: 700; font-size: 13px; opacity: .75; margin-left: 6px; }
.jl-column-link__latest { font-size: 15px; opacity: .9; }
.jl-sofa { padding-top: 10px; padding-bottom: 20px; }
.jl-sofa img { width: 100%; max-width: 900px; margin: 0 auto; }

/* ---------- Latest Releases: the red band ---------- */
.jl-redband { background: var(--red); padding: clamp(36px, 5vw, 56px) 0; }
.jl-tiles { display: grid; gap: 40px 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .jl-tiles { grid-template-columns: repeat(4, 1fr); } }
.jl-tile { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; }
.jl-tile__art { width: min(100%, 190px); aspect-ratio: 1; background: #fff; overflow: hidden; display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .3s var(--ease), box-shadow .3s; }
.jl-tile__art:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 18px 34px rgba(0,0,0,.32); }
.jl-tile__art img { width: 100%; height: 100%; object-fit: cover; }
.jl-tile__placeholder { width: 46%; color: var(--red); }
.jl-tile__caption { color: #fff; font-size: 16px; line-height: 1.45; margin: 0; }
.jl-tile__meta { color: rgba(255,255,255,.72); font-size: 15px; margin: 2px 0 12px; }
.jl-tile__btn { margin-top: auto; background: #fff; color: var(--red); font-family: var(--jl-display); font-size: 19px; padding: 4px 18px; transition: background .2s, color .2s, transform .2s var(--ease); }
.jl-tile__btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ---------- Shows ---------- */
.shows-list { display: grid; }
.jl-datelist--boxed { border: 8px solid var(--red); padding: 4px 22px; }
.show-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 18px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); transition: background .2s; }
.show-row:last-child { border-bottom: 0; }
@media (min-width: 720px) { .show-row { grid-template-columns: 72px minmax(0, 1fr) auto; } .show-row:hover { background: var(--soft); } }
.show-row__date { display: grid; justify-items: center; line-height: 1; text-align: center; }
.show-row__date .day { font-family: var(--jl-display); font-size: 34px; color: var(--red); }
.show-row__date .month { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.show-row__info { display: grid; gap: 1px; }
.show-row__when { font-size: 14px; color: var(--muted); }
.show-row__where { font-size: 17px; color: var(--ink); }
.show-row__where strong { font-weight: 700; }
.show-row__tour { justify-self: start; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); border: 1px solid currentColor; padding: 1px 7px; }
.show-row__actions { grid-column: 2; justify-self: start; margin-top: 6px; }
@media (min-width: 720px) { .show-row__actions { grid-column: auto; justify-self: end; margin: 0; } }
.show-row__soldout { font-weight: 700; font-style: italic; text-transform: uppercase; color: var(--red); }
.show-row__soon { font-style: italic; color: var(--muted); }
.show-row__badge { font-size: 13px; font-weight: 700; color: var(--muted); }
.show-empty { padding: 26px; border: 2px dashed var(--line); color: var(--muted); text-align: center; }
.tour-group { margin-bottom: 36px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.tour-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 3px solid var(--red); }
.tour-group__image { width: 70px; height: 70px; object-fit: cover; }
/* Tour poster artwork (Tour Graphics in /manage/), shown large as on the PiL Tour page */
.tour-group__head--poster { display: grid; gap: 12px; border-bottom: 0; padding-bottom: 0; }
.tour-group__head--poster .tour-group__image { width: 100%; max-width: 520px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; justify-self: start; }
.tour-group__head--poster .tour-group__title { background: var(--red); color: #fff; padding: 6px 18px; justify-self: start; }
.show-row--played { opacity: .6; }
.show-row--played .show-row__soon { font-style: normal; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .1em; }
.tour-group__title { font-size: clamp(24px, 2.6vw, 30px); }
.jl-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.jl-tabs button { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px; background: #fff; border: 2px solid var(--red); color: var(--red); font-family: var(--jl-display); font-size: 21px; transition: background .2s, color .2s; }
.jl-tabs button:hover { background: var(--soft); }
.jl-tabs button.is-active { background: var(--red); color: #fff; }
.jl-tabs .count { font-family: var(--jl-body); font-weight: 700; font-size: 13px; background: rgba(0,0,0,.08); padding: 1px 7px; border-radius: 10px; }
.jl-tabs button.is-active .count { background: rgba(255,255,255,.22); }
.jl-tabpanel__title { font-size: 26px; margin-bottom: 14px; }
.jl-tabs ~ .jl-tabpanel .jl-tabpanel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.jl-past { margin-top: 26px; border: 2px solid var(--line); }
.jl-past summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; list-style: none; font-family: var(--jl-display); font-size: 21px; color: var(--red); }
.jl-past summary::-webkit-details-marker { display: none; }
.jl-past summary::after { content: "+"; margin-left: auto; font-size: 26px; line-height: 1; }
.jl-past[open] summary::after { content: "–"; }
.jl-past .count { font-family: var(--jl-body); font-size: 13px; font-weight: 700; color: var(--muted); }
.shows-list--past { padding: 0 18px 10px; border-top: 1px solid var(--line); }
.shows-list--past .show-row { opacity: .7; }

/* Filter chips / jump nav */
.shows-filter, .press-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.shows-filter a, .shows-filter button, .press-jump a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 14px; border: 2px solid var(--red); background: #fff; color: var(--red); font-weight: 700; font-size: 15px; transition: background .2s, color .2s; }
.shows-filter a:hover, .shows-filter button:hover, .press-jump a:hover { background: var(--soft); }
.shows-filter .is-active, .shows-filter .is-active:hover { background: var(--red); color: #fff; }
.shows-filter .count { font-size: 12px; opacity: .75; }

/* ---------- News list + single ---------- */
.jl-newslist { display: grid; }
.jl-newsrow { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 680px) { .jl-newsrow { grid-template-columns: 240px minmax(0, 1fr); gap: 26px; } .jl-newsrow--text { grid-template-columns: minmax(0, 1fr); } }
.jl-newsrow__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.jl-newsrow__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.jl-newsrow:hover .jl-newsrow__img img { transform: scale(1.05); }
.jl-newsrow__body h2 { font-size: clamp(22px, 2.3vw, 28px); margin-bottom: 4px; }
.jl-newsrow__body p { margin: 8px 0 4px; }
.news-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: var(--red); color: #fff; }
.news-card__placeholder svg { width: 34%; max-width: 110px; }
.jl-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.jl-pager a { display: inline-block; background: var(--red); color: #fff; font-family: var(--jl-display); font-size: 18px; padding: 6px 16px; }
.jl-pager a:hover { background: var(--red-dark); color: #fff; }
.jl-pager { align-items: center; }
.jl-pager__count { color: var(--muted); font-size: 14px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 2px solid var(--red); color: var(--red); font-weight: 700; }
.pagination .current { background: var(--red); color: #fff; }

/* news cards (search results etc) */
.news-grid { display: grid; gap: 30px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .news-grid--index { grid-template-columns: repeat(3, 1fr); } }
.news-card { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.news-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__tag { position: absolute; top: 0; left: 0; padding: 4px 10px; background: var(--red); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.news-card__meta { font-size: 14px; color: var(--muted); }
.news-card__title { font-size: 22px; color: var(--red); }
.news-card--feature { grid-column: 1 / -1; }

.jl-article__head { padding-top: clamp(24px, 4vw, 44px); }
.jl-article__head .section-kicker { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.jl-article__head h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 8px; }
.post-meta { color: var(--muted); font-size: 15px; padding-bottom: 14px; border-bottom: 4px solid var(--red); }
.jl-stripes { display: none; }
.jl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 36px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.jl-share span { color: var(--muted); }
.post-nav { display: grid; gap: 12px; margin-top: 30px; }
@media (min-width: 720px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav .next { text-align: right; grid-column: 2; } }
.post-nav a { display: grid; gap: 4px; padding: 14px 18px; border: 2px solid var(--line); font-family: var(--jl-display); font-size: 19px; line-height: 1.2; color: var(--red); transition: border-color .2s; }
.post-nav a:hover { border-color: var(--red); }
.post-nav__title { display: block; }
.post-nav .label { font-family: var(--jl-body); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-gallery, .release-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 30px 0; }
.release-gallery__item { padding: 0; border: 0; background: var(--soft); aspect-ratio: 1; overflow: hidden; cursor: zoom-in; }
.release-gallery__item img, .post-gallery > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.release-gallery__item:hover img { transform: scale(1.06); }

/* ---------- Prose ---------- */
.prose { font-size: 17px; line-height: 1.75; color: var(--text); }
.prose--lead > p:first-of-type { font-size: 19px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 1.4em 0 .4em; }
.prose h3 { font-size: 22px; margin: 1.3em 0 .4em; }
.prose h4 { font-size: 19px; margin: 1.2em 0 .3em; }
.prose img { margin: 1.2em auto; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1em; }
.prose blockquote { margin: 1.4em 0; padding: 0 1.2em; font-style: italic; font-size: 1.08em; color: var(--ink); }
.prose figcaption, .image-caption, .wp-caption-text { font-size: 14px; color: var(--muted); margin-top: 6px; }
.prose iframe { width: 100%; }
.prose .alignleft { float: left; margin: .3em 1.3em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.3em; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose::after { content: ""; display: table; clear: both; }
.embed-16x9 { position: relative; aspect-ratio: 16 / 9; margin: 30px 0; background: #000; }
.embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.single-post__hero-img { width: 100%; max-height: 600px; object-fit: cover; margin-bottom: 26px; }

/* ---------- Bio: photo left, story right (johnlydon.com) ---------- */
.jl-bio { display: grid; gap: 30px; }
@media (min-width: 900px) { .jl-bio { grid-template-columns: 400px minmax(0, 1fr); gap: 40px; } .jl-bio__side { position: sticky; top: calc(var(--nav-h) + 20px); align-self: start; } }
.jl-bio__side { display: grid; gap: 16px; }
.jl-bio__photo { margin: 0; }
.jl-bio__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bio-layout { display: grid; gap: 30px; }
.bio-sidebar__card { padding: 18px 20px; border: 1px solid var(--line); border-top: 5px solid var(--red); }
.bio-sidebar__card--red { background: var(--red); border-color: var(--red); color: #fff; }
.bio-sidebar__card--red .contact-role__label { color: #fff; }
.contact-role__label { display: block; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.bio-facts li { display: grid; gap: 1px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 16px; }
.bio-facts li:last-child { border-bottom: 0; }
.bio-facts span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.bio-links li + li { border-top: 1px solid var(--line); }
.bio-links a { display: flex; justify-content: space-between; padding: 8px 0; font-family: var(--jl-display); font-size: 19px; }
.jl-bio-photo { margin: 0 0 30px; }
.jl-bio-photo img { width: 100%; max-height: 600px; object-fit: cover; }

/* ---------- Music / releases grid (Music page) ---------- */
.release-grid { display: grid; gap: 30px 22px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .release-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .release-grid { grid-template-columns: repeat(4, 1fr); } }
.release-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 230px); gap: 22px; overflow-x: auto; padding-bottom: 12px; }
.release-card { display: grid; gap: 3px; color: var(--ink); text-align: center; }
.release-card__art { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); margin-bottom: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.14); transition: transform .3s var(--ease), box-shadow .3s; }
.release-card:hover .release-card__art { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(0,0,0,.2); }
.release-card__art img { width: 100%; height: 100%; object-fit: cover; }
.release-card__art .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(167,37,40,.55); opacity: 0; transition: opacity .25s; }
.release-card:hover .release-card__art .play { opacity: 1; }
.release-card__title { font-family: var(--jl-display); font-size: 19px; color: var(--red); line-height: 1.2; }
.release-card__year, .release-card__artist { font-size: 14px; color: var(--muted); }
.release-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.release-links a { padding: 5px 14px; border: 2px solid var(--red); font-weight: 700; font-size: 15px; }
.release-links a:hover { background: var(--red); color: #fff; }
.release-box { margin-top: 24px; padding: 18px 22px; border: 6px solid var(--red); }
.release-box strong { font-family: var(--jl-display); font-weight: 400; font-size: 21px; color: var(--red); }

/* ---------- Videos ---------- */
.video-grid { display: grid; gap: 26px 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { display: grid; gap: 8px; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.video-card__frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video-card__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.video-card:hover .video-card__frame img { transform: scale(1.05); opacity: .85; }
.play-btn { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.3); transition: transform .3s var(--ease); }
.play-btn svg { transform: translateX(2px); }
.video-card:hover .play-btn { transform: scale(1.1); }
.video-card__title { font-family: var(--jl-display); font-size: 18px; line-height: 1.25; color: var(--red); }

/* ---------- Shop ---------- */
.jl-subhead { font-size: clamp(24px, 2.6vw, 30px); margin: 40px 0 18px; padding-bottom: 8px; border-bottom: 3px solid var(--red); }
.jl-subhead:first-of-type, .jl-intro + .jl-subhead { margin-top: 0; }
.jl-shop__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.jl-book { position: relative; display: grid; align-content: start; gap: 6px; min-height: 220px; padding: 22px 22px 64px; border: 6px solid var(--red); color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.jl-book:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.12); color: var(--ink); }
.jl-book__kicker { font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.jl-book__title { font-family: var(--jl-display); font-size: 24px; line-height: 1.12; color: var(--red); }
.jl-book__meta { color: var(--muted); font-size: 15px; }
.jl-book__cta { position: absolute; left: 22px; bottom: 18px; background: var(--red); color: #fff; font-family: var(--jl-display); font-size: 17px; padding: 3px 14px; }
.jl-book--store { background: var(--red); color: #fff; }
.jl-book--store .jl-book__kicker, .jl-book--store .jl-book__title, .jl-book--store .jl-book__meta { color: #fff; }
.jl-book--store .jl-book__cta { background: #fff; color: var(--red); }
.jl-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding: clamp(22px, 3vw, 36px); background: var(--red); color: #fff; }
.jl-callout h2, .jl-callout p { color: #fff; margin: 0 0 4px; }
.jl-callout .section-kicker { display: none; }

/* ---------- TV / Film ---------- */
.jl-credits { display: grid; gap: 28px 22px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .jl-credits { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .jl-credits { grid-template-columns: repeat(4, 1fr); } }
.jl-credit { display: grid; gap: 3px; color: var(--ink); }
.jl-credit__art { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); margin-bottom: 6px; }
.jl-credit__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.jl-credit:hover .jl-credit__art img { transform: scale(1.05); }
.jl-credit__placeholder { width: 40%; color: var(--red); opacity: .3; }
.jl-credit__year { font-weight: 700; font-size: 13px; color: var(--muted); }
.jl-credit__title { font-family: var(--jl-display); font-size: 19px; line-height: 1.2; color: var(--red); }
.member-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.member-card { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-top: 5px solid var(--red); }
.member-card__name { font-size: 21px; }
.member-card__role { font-size: 14px; color: var(--muted); }

/* ---------- Press ---------- */
.press-year { margin-bottom: 34px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.press-year__head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 8px; border-bottom: 3px solid var(--red); }
.press-year__num { font-family: var(--jl-display); font-size: clamp(28px, 3vw, 38px); color: var(--red); line-height: 1; }
.press-year__count { color: var(--muted); font-size: 14px; }
.press-list li { border-bottom: 1px solid var(--line); }
.press-list a, .press-list__row { display: flex; align-items: center; gap: 14px; padding: 11px 4px; color: var(--ink); }
.press-list a:hover { background: var(--soft); color: var(--red); }
.press-list__tag { flex-shrink: 0; width: 56px; text-align: center; padding: 2px 0; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--red); color: var(--red); }
.press-list__tag--watch { background: var(--red); color: #fff; }
.press-list__label { flex: 1; }
.press-list__arrow { color: var(--red); }

/* ---------- Bollocks Section ---------- */
@media (min-width: 960px) { .jl-bollocks { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .jl-bollocks__toon { position: sticky; top: calc(var(--nav-h) + 20px); } }
.jl-list { border: 8px solid var(--red); padding: 4px 20px; }
.jl-list li { border-bottom: 1px solid var(--line); }
.jl-list li:last-child { border-bottom: 0; }
.jl-list a { display: grid; gap: 2px; padding: 14px 2px; }
.jl-definition { font-family: var(--jl-display); font-size: clamp(20px, 2.2vw, 25px); line-height: 1.35; color: var(--ink); margin: 0 0 26px; }
.jl-list__title { font-family: var(--jl-display); font-size: 21px; line-height: 1.2; color: var(--red); }
.jl-list__date { font-size: 14px; color: var(--muted); }
.jl-more-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 40px; }

/* ---------- Contact / forms ---------- */
.jl-contact { display: grid; gap: 40px; }
.contact-roles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.contact-role { padding: 16px 18px; border: 1px solid var(--line); border-top: 5px solid var(--red); }
.contact-role__name { font-family: var(--jl-display); font-size: 19px; word-break: break-word; }
.contact-role__company { display: block; font-size: 14px; color: #666; margin: -4px 0 8px; }
.contact-role .contact-role__name { display: block; }
.contact-role .contact-role__name + .contact-role__name { margin-top: 6px; }
.pil-form { display: grid; gap: 16px; }
.pil-form .field { display: grid; gap: 6px; }
.pil-form label { font-weight: 700; font-size: 15px; color: var(--ink); }
.pil-form input[type="text"], .pil-form input[type="email"], .pil-form textarea, .jl-404__search input { width: 100%; min-height: 46px; padding: 10px 14px; border: 2px solid #ccc; border-radius: 2px; background: #fff; font: inherit; color: var(--ink); }
.pil-form textarea { min-height: 170px; resize: vertical; }
.pil-form input:focus, .pil-form textarea:focus, .jl-404__search input:focus { outline: none; border-color: var(--red); }
.pil-form .btn { justify-self: start; }
.form-note { font-size: 15px; color: var(--muted); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; }
.social-links a:hover { background: var(--red-dark); color: #fff; }
.social-links svg { width: 20px; height: 20px; }

/* ---------- Footer: PiL's layout in John's colours ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 70px); }
.jl-footer-rule { height: 10px; background: var(--red); }
.jl-footer { display: grid; gap: 34px 60px; grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 760px) { .jl-footer { grid-template-columns: minmax(0, 2fr) 1fr 1fr; } }
.jl-footer__logo { display: inline-flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.jl-footer__toon { height: 120px; width: auto; mix-blend-mode: multiply; }
.jl-wordmark { display: grid; line-height: 1; color: var(--ink); }
.jl-wordmark__name { font-family: var(--jl-display); font-size: clamp(30px, 3.6vw, 42px); color: var(--ink); }
.jl-wordmark__name span { color: var(--red); }
.jl-wordmark__tag { font-family: var(--jl-display); font-size: 16px; margin-top: 8px; color: var(--muted); }
.jl-footer__logo:hover .jl-wordmark__name { color: var(--red-dark); }
.jl-footer__col h4 { font-size: 22px; margin-bottom: 12px; }
.jl-footer__col li { padding: 3px 0; }
.jl-footer__col a { color: var(--ink); font-weight: 700; font-size: 17px; }
.jl-footer__col a:hover { color: var(--red); }
.jl-footer-bottom { background: var(--red); color: #fff; font-size: 15px; }
.jl-footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 12px; padding-bottom: 12px; }
.jl-footer-bottom a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.jl-footer-bottom a:hover { color: #fff; opacity: .8; }
@media (max-width: 759px) { .jl-footer-bottom .container { justify-content: center; text-align: center; } }

/* ---------- 404 ---------- */
.jl-404__inner { display: grid; gap: 30px; align-items: center; justify-items: center; text-align: center; }
.jl-404__inner img { width: 200px; mix-blend-mode: multiply; }
.jl-404 h1 { font-size: 48px; }
.jl-404__search { display: flex; gap: 10px; max-width: 440px; margin: 20px auto; }
@media (min-width: 760px) { .jl-404__inner { grid-template-columns: 240px 1fr; justify-items: start; text-align: left; } .jl-404__search { margin-left: 0; } }

/* ---------- Back to top + modals (behaviour from the parent's main.js) ---------- */
.back-to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; border: 0; box-shadow: 0 6px 16px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--red-dark); }
.video-modal, .image-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px; background: rgba(15,12,12,.94); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.video-modal.is-open, .image-modal.is-open { opacity: 1; visibility: visible; }
.video-modal__inner { width: 100%; max-width: 1040px; aspect-ratio: 16 / 9; position: relative; }
.video-modal iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close, .image-modal__close { position: absolute; top: -50px; right: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--red); border: 0; color: #fff; font-size: 26px; line-height: 1; }
.image-modal__inner { position: relative; max-width: 88vw; max-height: 86vh; }
.image-modal__inner img { max-width: 88vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.image-modal__count { position: absolute; left: 0; bottom: -32px; color: rgba(255,255,255,.8); }
.image-modal__nav { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; background: transparent; border: 2px solid rgba(255,255,255,.5); color: #fff; font-size: 18px; }
.image-modal__nav:hover { background: var(--red); border-color: var(--red); }

/* Parent leftovers */
.instagram-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.timeline__year { font-family: var(--jl-display); color: var(--red); }
.legacy-members { columns: 2; }
.legacy-members span { display: block; }
.page-hero { padding: 30px 0 10px; }
.page-hero h1 { display: inline-block; background: var(--red); color: #fff; padding: 8px 24px; font-size: clamp(24px, 2.6vw, 32px); }

/* ---------- Two columns with a picture column (News, stories, Interviews) ---------- */
.jl-with-side { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .jl-with-side { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; } }
.jl-side, .jl-side-wrap { display: grid; gap: 16px; }
.jl-side-wrap > .jl-side { gap: 16px; }
.jl-side__card { display: grid; gap: 4px; padding: 0 0 14px; border: 1px solid var(--line); color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s; }
.jl-side__card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.1); color: var(--ink); }
.jl-side__card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 8px; }
.jl-side__label { display: block; background: var(--red); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; }
.jl-side__title, .jl-side__meta { padding: 0 14px; }
.jl-side__title { font-family: var(--jl-display); font-size: 22px; line-height: 1.15; color: var(--red); }
.jl-side__meta { font-size: 15px; color: var(--text); }
.jl-side__photo { width: 100%; }
.jl-side__toon { width: 70%; margin: 6px auto 0; mix-blend-mode: multiply; }
@media (max-width: 979px) { .jl-side { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } .jl-side__toon { display: none; } }

/* ---------- Merch products ---------- */
.jl-products { display: grid; gap: 30px 22px; grid-template-columns: repeat(2, 1fr); margin: 26px 0 40px; }
@media (min-width: 720px) { .jl-products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .jl-products { grid-template-columns: repeat(4, 1fr); } }
.jl-product { display: grid; gap: 4px; justify-items: center; text-align: center; color: var(--ink); }
.jl-product__art { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: var(--soft); margin-bottom: 8px; }
.jl-product__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.jl-product:hover .jl-product__art img { transform: scale(1.05); }
.jl-product__badge { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; }
.jl-product__title { font-family: var(--jl-display); font-size: 18px; line-height: 1.2; color: var(--red); }
.jl-product__price { font-size: 15px; color: var(--muted); }
.jl-product__cta { margin-top: 6px; background: var(--red); color: #fff; font-family: var(--jl-display); font-size: 16px; padding: 3px 14px; transition: background .2s; }
.jl-product:hover .jl-product__cta { background: var(--red-dark); }

/* ---------- Detail pages (releases, books, TV, film): picture left, facts right ---------- */
.jl-detail { display: grid; gap: 34px; align-items: start; }
@media (min-width: 860px) { .jl-detail { grid-template-columns: 400px minmax(0, 1fr); gap: 48px; } .jl-detail__art { position: sticky; top: calc(var(--nav-h) + 20px); } }
.jl-detail__art { display: grid; place-items: center; background: var(--soft); }
.jl-detail__art img { width: 100%; height: auto; }
.jl-detail__art--square { aspect-ratio: 1; overflow: hidden; }
.jl-detail__art--square img { height: 100%; object-fit: cover; }
.jl-detail__img { padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.jl-detail__aka { font-family: var(--jl-display); font-size: 21px; color: var(--ink); margin: 0 0 14px; }
.jl-detail__facts { margin: 0 0 24px; border-top: 3px solid var(--red); }
.jl-detail__facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.jl-detail__facts dt { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); padding-top: 3px; }
.jl-detail__facts dd { margin: 0; color: var(--ink); }
.jl-detail__facts .jl-detail__line { grid-template-columns: 1fr; }
.jl-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.jl-detail__box { margin: 0 0 26px; padding: 18px 22px; border: 6px solid var(--red); }
.jl-detail__box h2, .jl-detail__sub { font-size: 23px; margin: 0 0 8px; }
.jl-detail__info .prose { margin-bottom: 26px; }
.jl-gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.jl-credits--books .jl-credit__art { aspect-ratio: 2 / 3; }

/* ---------- Music page grid of tiles (white page, so tiles in red text) ---------- */
.jl-tiles--grid { gap: 44px 24px; }
@media (min-width: 1040px) { .jl-tiles--grid { grid-template-columns: repeat(5, 1fr); } }
.jl-tiles--grid .jl-tile { color: var(--ink); }
.jl-tiles--grid .jl-tile__caption { color: var(--ink); }
.jl-tiles--grid .jl-tile__meta { color: var(--muted); }
.jl-tiles--grid .jl-tile__art { background: var(--soft); }
.jl-tiles--grid .jl-tile__btn { background: var(--red); color: #fff; }
.jl-tiles--grid .jl-tile__btn:hover { background: var(--ink); }
[data-show-row][hidden], [data-show-row].is-hidden { display: none !important; }

/* ---------- Mailing list sign-up ---------- */
.jl-mailing__box { display: grid; overflow: hidden; background: var(--red); color: #fff; }
.jl-mailing__box--image { grid-template-columns: 1fr; }
@media (min-width: 760px) { .jl-mailing__box--image { grid-template-columns: 2fr 3fr; } }
.jl-mailing__img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.jl-mailing__body { padding: clamp(26px, 4vw, 48px); align-self: center; }
.jl-mailing__kicker { display: block; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-bottom: 6px; }
.jl-mailing h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.jl-mailing p { max-width: 46ch; }

/* ---------- Contact, search ---------- */
.jl-contact__img { width: 100%; max-height: 460px; object-fit: cover; }
.jl-contact__follow .contact-role__label { margin-bottom: 12px; }
.jl-search-again { display: flex; gap: 10px; margin-bottom: 18px; }
.jl-search-again input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 2px solid #ccc; font: inherit; }
.jl-search-again input:focus { outline: none; border-color: var(--red); }
.jl-bar--story > span { line-height: 1.2; }

/* Buttons inside stories (WordPress's own block buttons default to black) */
.wp-block-button .wp-block-button__link:not(.has-background) { background: var(--red); color: #fff; border-radius: 4px; transition: background .2s ease, transform .2s ease; }
.wp-block-button .wp-block-button__link:not(.has-background):hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background) { background: transparent; color: var(--red); border: 2px solid var(--red); }

/* ---------- Home rows that scroll sideways (Music, Merchandise), as on PiL ---------- */
.jl-rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.jl-rail > * { flex: 0 0 calc((100% - 72px) / 4); min-width: 0; scroll-snap-align: start; }
.jl-rail::-webkit-scrollbar { height: 6px; }
.jl-rail::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .25); }
.jl-redband .jl-rail::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .5); }
.jl-redband .jl-rail { scrollbar-color: rgba(255, 255, 255, .5) transparent; }
.jl-products.jl-rail { margin: 22px 0 10px; }
@media (max-width: 1039px) { .jl-rail > * { flex-basis: calc((100% - 48px) / 3); } }
@media (max-width: 719px) { .jl-rail > * { flex-basis: 62%; } }

/* Button layout for stories written in /manage/ (no block styles needed) */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button .wp-block-button__link:not(.has-background) { display: inline-block; padding: 10px 24px; font-weight: 700; text-decoration: none; }
