/* StrongComet collection blocks. Colours and fonts come from the theme's theme.json presets,
   with fallbacks so the blocks still read correctly under another theme. */

:root {
	--sc-ink: var(--wp--preset--color--ink, #111111);
	--sc-paper: var(--wp--preset--color--paper, #ffffff);
	--sc-accent: var(--wp--preset--color--accent, #e8461e);
	--sc-accent-text: var(--wp--preset--color--accent-text, #c2361a);
	--sc-muted: var(--wp--preset--color--muted, #5e5e5e);
	--sc-line: var(--wp--preset--color--line, #e2e2e2);
	--sc-soft: var(--wp--preset--color--soft, #f4f4f4);
	--sc-serif: var(--wp--preset--font-family--serif, Georgia, serif);
	--sc-display: var(--wp--preset--font-family--display, system-ui, sans-serif);
}

.sc-kicker { font-family: var(--sc-display); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.sc-muted { color: var(--sc-muted); }
.sc-accent { color: var(--sc-accent-text); }
.sc-serif { font-family: var(--sc-serif); }
.sc-center { text-align: center; }
.sc-right { text-align: right; }
.sc-dek { font-family: var(--sc-serif); font-size: 21px; line-height: 1.5; color: #222; margin: 0; }

/* Covers */
.sc-cover { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--sc-soft); transition: transform .25s ease; }
.sc-cover--blank { background: hsl(var(--sc-hue) 30% 32%); color: #fff; display: flex; align-items: flex-end; padding: 12px; box-sizing: border-box; font-family: var(--sc-serif); font-weight: 600; font-size: 19px; line-height: 1; }
.sc-cover--large.sc-cover--blank { font-size: clamp(32px, 5vw, 64px); padding: 32px; }
a:hover > .sc-cover, a:focus-visible > .sc-cover { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .sc-cover { transition: none; } a:hover > .sc-cover { transform: none; } }

/* Buttons and links */
.sc-buy, .sc-button { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 22px; font-weight: 700; text-decoration: none; box-sizing: border-box; }
.sc-buy--primary { background: var(--sc-accent-text); color: #fff; font-size: 17px; }
.sc-buy--primary:hover, .sc-buy--primary:focus-visible { background: var(--sc-ink); color: #fff; }
.sc-buy--button { background: var(--sc-ink); color: var(--sc-paper); font-size: 14px; min-height: 44px; padding: 0 16px; }
.sc-buy--link { min-height: 0; padding: 0; font-family: var(--sc-display); font-size: 16px; font-weight: 700; color: var(--sc-accent-text); }
.sc-buy--link:hover { text-decoration: underline; }
.sc-button--outline { border: 2px solid var(--sc-ink); color: var(--sc-ink); }
.sc-button--outline:hover { background: var(--sc-ink); color: var(--sc-paper); }
.sc-textlink { font-weight: 600; color: var(--sc-ink); text-decoration: underline; text-underline-offset: 4px; }
.sc-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.sc-buy:focus-visible, .sc-button:focus-visible, .sc-tab:focus-visible, .sc-check:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 3px; }

/* Badges, chips, tabs */
.sc-badge { display: inline-block; background: var(--sc-accent); color: var(--sc-ink); padding: 6px 10px; }
.sc-badge--outline { background: none; border: 1px solid var(--sc-ink); padding: 5px 10px; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--sc-line); }
.sc-chip { border: 1px solid var(--sc-ink); padding: 10px 14px; font-weight: 600; font-size: 14px; color: var(--sc-ink); text-decoration: none; }
.sc-chip:hover { background: var(--sc-ink); color: var(--sc-paper); }
.sc-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.sc-tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-family: var(--sc-display); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--sc-muted); text-decoration: none; }
.sc-tab[aria-current] { color: var(--sc-ink); box-shadow: inset 0 -3px 0 var(--sc-accent); }
.sc-tab:hover { color: var(--sc-ink); }

/* Section headers */
.sc-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; border-bottom: 3px solid var(--sc-ink); padding-bottom: 10px; margin-bottom: 28px; }
.sc-section-title { font-family: var(--sc-display); font-size: 30px; text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
.sc-section-head .sc-kicker { color: var(--sc-ink); text-decoration: none; }
.sc-grid-block { padding: 48px 0; }

/* Grid and tiles */
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--sc-min, 200px)), 1fr)); gap: 32px 20px; }
.sc-tile { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sc-tile__cover { display: block; overflow: hidden; margin-bottom: 6px; }
.sc-tile__artist { font-family: var(--sc-serif); font-weight: 700; font-size: 18px; line-height: 1.2; margin: 0; }
.sc-tile__artist a { color: var(--sc-ink); text-decoration: none; }
.sc-tile__artist a:hover { text-decoration: underline; text-decoration-color: var(--sc-accent); }
.sc-tile__title { font-family: var(--sc-serif); font-style: italic; font-size: 17px; line-height: 1.2; margin: 0; }
.sc-tile__meta { color: var(--sc-muted); font-weight: 500; font-size: 11px; }
.sc-tile__keeper { font-size: 13px; color: var(--sc-muted); margin: 0; }

/* Collector's Pick hero */
.sc-pick { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--sc-line); }
.sc-pick__cover { flex: 1 1 420px; display: block; overflow: hidden; }
.sc-pick__body { flex: 1 1 420px; min-width: 0; }
.sc-pick__tags { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 18px; }
.sc-pick__artist { font-family: var(--sc-serif); font-weight: 700; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.02; margin: 0; }
.sc-pick__artist a { color: inherit; text-decoration: none; }
.sc-pick__title { font-family: var(--sc-serif); font-style: italic; font-size: clamp(24px, 3vw, 34px); margin: 6px 0 16px; }
.sc-pick__meta { color: #3a3a3a; margin: 0 0 12px; }
.sc-pick__dek { font-family: var(--sc-serif); font-size: 21px; line-height: 1.5; margin: 0; }

/* Release card inside stories */
.sc-card { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin: 36px 0; padding: 20px 0; border-top: 3px solid var(--sc-ink); border-bottom: 1px solid var(--sc-line); font-family: var(--wp--preset--font-family--body, system-ui); }
.sc-card__cover { flex: 0 0 110px; display: block; overflow: hidden; }
.sc-card__body { flex: 1 1 220px; min-width: 0; }
.sc-card__body p { margin: 0; font-size: 14px; }
.sc-card__name { font-family: var(--sc-serif); font-weight: 700; font-size: 21px !important; line-height: 1.2; margin: 4px 0 2px !important; }
.sc-card__name a { color: var(--sc-ink); text-decoration: none; }
.sc-card__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sc-price { font-family: var(--sc-display); font-weight: 700; font-size: 24px; margin: 0; }
.sc-price--big { font-size: 52px; line-height: 1; }
.sc-stock { color: #1f7a3a; font-weight: 600; font-size: 14px; margin: 8px 0 0; }

/* Release page */
.sc-crumbs { color: var(--sc-muted); font-weight: 500; padding: 24px 0 0; }
.sc-crumbs a { color: var(--sc-muted); text-decoration: none; }
.sc-crumbs a:hover { color: var(--sc-ink); }
.sc-release { display: flex; flex-wrap: wrap; gap: 56px; padding: 32px 0 56px; border-bottom: 1px solid var(--sc-line); }
.sc-release__media { flex: 1 1 460px; min-width: 0; }
.sc-release__info { flex: 1 1 420px; min-width: 0; }
.sc-release__artist { font-family: var(--sc-serif); font-weight: 700; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; margin: 0; }
.sc-release__title { font-family: var(--sc-serif); font-style: italic; font-size: 30px; line-height: 1.2; margin: 8px 0 28px; }
.sc-release__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 3px solid var(--sc-ink); border-bottom: 1px solid var(--sc-line); }
.sc-release__buy .sc-buy--primary { flex: 1 1 260px; max-width: 320px; justify-content: center; min-height: 60px; font-size: 18px; }
.sc-specs { display: grid; grid-template-columns: 160px 1fr; margin: 24px 0; }
.sc-specs dt, .sc-specs dd { padding: 13px 0; border-bottom: 1px solid var(--sc-line); margin: 0; }
.sc-specs dt { color: var(--sc-muted); }
.sc-specs__raw { display: block; font-size: 13px; margin-top: 2px; }
.sc-band { padding: 48px 0; border-bottom: 1px solid var(--sc-line); }
.sc-story-link { font-family: var(--sc-serif); font-weight: 700; font-size: 34px; line-height: 1.1; margin: 10px 0; }
.sc-story-link a { color: var(--sc-ink); text-decoration: none; }

/* Collection archive */
.sc-page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 24px 0 28px; border-bottom: 3px solid var(--sc-ink); }
.sc-page-title { font-family: var(--sc-serif); font-weight: 700; font-size: clamp(44px, 6vw, 64px); line-height: 1; margin: 0 0 10px; }
.sc-page-head .sc-dek { font-style: italic; }
.sc-browse { display: flex; flex-wrap: wrap; gap: 48px; padding: 32px 0 56px; align-items: flex-start; }
.sc-filters { flex: 1 1 220px; max-width: 260px; display: flex; flex-direction: column; gap: 10px; }
.sc-browse__main { flex: 999 1 600px; min-width: 0; }
.sc-filters__head { border-bottom: 1px solid var(--sc-ink); padding-bottom: 8px; margin-top: 22px; }
.sc-filterlist { list-style: none; margin: 0; padding: 0; }
.sc-filterlist a { display: flex; justify-content: space-between; align-items: center; min-height: 40px; color: #333; text-decoration: none; font-size: 15px; }
.sc-filterlist a[aria-current] { font-weight: 700; color: var(--sc-ink); box-shadow: inset 3px 0 0 var(--sc-accent); padding-left: 12px; }
.sc-filterlist a:hover { color: var(--sc-ink); text-decoration: underline; }
.sc-check { display: flex; gap: 12px; align-items: center; padding: 14px; border: 2px solid var(--sc-ink); color: var(--sc-ink); text-decoration: none; }
.sc-check[aria-pressed="true"] { border-color: var(--sc-accent); background: #fff1ec; }
.sc-check__box { flex-shrink: 0; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--sc-ink); font-weight: 700; }
.sc-check[aria-pressed="true"] .sc-check__box { background: var(--sc-accent); }
.sc-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.sc-pages { margin-top: 48px; border-top: 1px solid var(--sc-line); padding-top: 24px; }
.sc-pages ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; font-family: var(--sc-display); font-weight: 700; }
.sc-pages a, .sc-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; box-sizing: border-box; border: 1px solid var(--sc-line); color: var(--sc-ink); text-decoration: none; }
.sc-pages .current { background: var(--sc-ink); color: var(--sc-paper); border-color: var(--sc-ink); }

/* Numbers */
.sc-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 32px; margin: 0; }
.sc-stats > div { display: flex; flex-direction: column-reverse; }
.sc-stats dd { margin: 0; }
.sc-stats__n { font-family: var(--sc-display); font-weight: 700; font-size: 32px; line-height: 1.1; }
.sc-stats--large { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); border-bottom: 3px solid var(--sc-ink); }
.sc-stats--large > div { padding: 28px 0; }
.sc-stats--large .sc-stats__n { font-size: 48px; }
.sc-stats--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--sc-ink); flex: 1 1 340px; }
.sc-stats--grid > div { padding: 16px 0; border-bottom: 1px solid var(--sc-line); }
.sc-stats--grid .sc-stats__n { font-size: 40px; }
@media (max-width: 600px) { .sc-stats { grid-template-columns: repeat(2, auto); gap: 16px 28px; } }

/* Label page */
.sc-label-head { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding: 32px 0 40px; border-bottom: 3px solid var(--sc-ink); }
.sc-label-head > div:first-child { flex: 999 1 520px; min-width: 0; }
.sc-label-name { font-family: var(--sc-display); font-weight: 700; font-size: clamp(64px, 11vw, 160px); line-height: .85; letter-spacing: -.05em; margin: 12px 0 14px; overflow-wrap: anywhere; }
.sc-split { display: flex; flex-wrap: wrap; gap: 48px; padding: 48px 0 56px; align-items: flex-start; }
.sc-split__main { flex: 999 1 600px; min-width: 0; }
.sc-split__side { flex: 1 1 300px; max-width: 320px; display: flex; flex-direction: column; gap: 32px; }
.sc-side-title { font-family: var(--sc-display); font-size: 20px; border-bottom: 3px solid var(--sc-ink); padding-bottom: 10px; margin: 0 0 6px; }
.sc-sidelist { list-style: none; margin: 0; padding: 0; }
.sc-sidelist li { padding: 14px 0; border-bottom: 1px solid var(--sc-line); }
.sc-sidelist a { font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--sc-ink); text-decoration: none; }
.sc-table-wrap { overflow-x: auto; }
.sc-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.sc-table th { text-align: left; padding: 14px 12px 14px 0; color: var(--sc-muted); font-weight: 500; }
.sc-table td { padding: 12px 12px 12px 0; border-top: 1px solid var(--sc-line); vertical-align: baseline; }
.sc-table td a { color: var(--sc-ink); text-decoration: none; font-size: 17px; }
.sc-table td a:hover { text-decoration: underline; }
.sc-table__year { font-family: var(--sc-display); font-weight: 700; }
.sc-table__cat { font-family: var(--sc-display); font-size: 13px; color: var(--sc-muted); white-space: nowrap; }

/* Ads */
.sc-ad { max-width: 100%; width: var(--sc-ad-w); margin: 0 auto; }
.sc-ad__label { display: block; font-family: var(--sc-display); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-muted); margin-bottom: 4px; }
.sc-ad--empty { min-height: var(--sc-ad-h); display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; box-sizing: border-box; background: var(--sc-soft); border: 1px dashed #b5b5b5; font-family: var(--sc-display); font-size: 12px; color: var(--sc-muted); }
.sc-collection-inline, .sc-browse__main > .sc-ad { margin: 36px auto; }

/* Release page: the owner's own photo of the copy, from the old site */
.sc-copy-photo { display: flex; align-items: flex-end; gap: 14px; margin: 16px 0 0; }
.sc-copy-photo img { display: block; width: 120px; height: 120px; object-fit: cover; border: 1px solid var(--sc-line); }
.sc-copy-photo a:hover img { border-color: var(--sc-ink); }

/* Labels index */
.sc-labels-dek { padding: 8px 0 8px; font-style: italic; }
.sc-labels-top { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px 24px; }
.sc-labelcard { display: flex; flex-direction: column; gap: 8px; color: var(--sc-ink); text-decoration: none; border-top: 3px solid var(--sc-ink); padding-top: 14px; }
.sc-labelcard__covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sc-labelcard__covers .sc-cover--blank { font-size: 0; padding: 0; }
.sc-labelcard__name { font-family: var(--sc-display); font-weight: 700; font-size: 34px; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; margin-top: 6px; }
.sc-labelcard:hover .sc-labelcard__name, .sc-labelcard:focus-visible .sc-labelcard__name { color: var(--sc-accent-text); }
.sc-labelcard:focus-visible { outline: 3px solid var(--sc-accent); outline-offset: 4px; }
.sc-az-jump { display: flex; flex-wrap: wrap; gap: 2px; }
.sc-az-jump a { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; min-height: 36px; color: var(--sc-ink); text-decoration: none; }
.sc-az-jump a:hover { background: var(--sc-ink); color: var(--sc-paper); }
.sc-az { columns: 4 240px; column-gap: 40px; }
.sc-az__group { break-inside: avoid; margin-bottom: 26px; scroll-margin-top: 24px; }
.sc-az__letter { font-family: var(--sc-display); font-size: 30px; font-weight: 700; margin: 0 0 6px; border-bottom: 1px solid var(--sc-ink); }
.sc-az ul { list-style: none; margin: 0; padding: 0; }
.sc-az li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 5px 0; border-bottom: 1px solid var(--sc-line); font-size: 15px; }
.sc-az li a { color: var(--sc-ink); text-decoration: none; font-weight: 500; }
.sc-az li a:hover { text-decoration: underline; text-decoration-color: var(--sc-accent); }
.sc-az__sale { font-family: var(--sc-display); font-weight: 700; font-size: 14px; }
