/* Custom styles load after Tailwind. Keep generated output.css unchanged. */
body { background-color: #101820; background-image: url("../pic/F4s.webp"); }
main { display: flow-root; }
main > section, #intro, #videos, footer { width: calc(100% - 2rem); }
section { scroll-margin-top: 1rem; }
a { overflow-wrap: anywhere; }
a:hover { color: #67e8f9; }
a:focus-visible, summary:focus-visible, main:focus-visible { outline: 3px solid #67e8f9; outline-offset: 5px; }
p a { text-decoration: underline; text-underline-offset: 0.2em; }
.skip-link { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 10; padding: 0.75rem 1rem; background: #000; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
header > nav { display: flex; flex-flow: row wrap; gap: 0.25rem; padding: 0.75rem; }
header > nav > a { flex: 1 1 auto; width: auto; margin: 0 !important; padding: 0.75rem; }
#music > div, #about > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
#music > div > div, #about > div > div { width: auto; min-width: 0; margin: 0; }
#music iframe { width: 100%; border: 0; }
#members > div { display: block; padding-top: 1.5rem; border-top: 1px solid #ffffff30; }
#members > div > * { margin-left: 0; margin-right: 0; }
#members > div > div { flex-wrap: wrap; justify-content: flex-start; gap: 0.75rem 1.25rem; }
#members > div > div > a { margin: 0; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1rem; }
.social-links a { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.event-archive { margin-top: 1.5rem; border-top: 1px solid #ffffff30; padding-top: 1rem; }
.event-archive summary { cursor: pointer; padding: 0.5rem 0; font-weight: 800; }
.event-archive summary:hover { color: #67e8f9; }
.archive-content > p { margin-top: 0.75rem; }
.intro-description { margin-top: 1rem; text-align: center; color: #cbd5e1; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0.75rem 1.25rem; border: 1px solid #67e8f9; border-radius: 0.5rem; font-weight: 800; }
.button-primary { background: #67e8f9; color: #101820; }
.button-primary:hover { background: #a5f3fc; color: #101820; }
.press-link { padding: 0.75rem 0; text-decoration: underline; text-underline-offset: 0.2em; }
.press-downloads { display: grid; gap: 0.75rem; margin: 1.5rem 0; }
.press-downloads a { display: inline-block; padding: 0.5rem 0; text-decoration: underline; text-underline-offset: 0.2em; }
footer { padding: 1rem; margin-bottom: 1rem; }
@media (min-width: 768px) {
  #music > div, #about > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body { background-attachment: scroll; }
  main > section, #intro { padding: 1.25rem; margin-top: 1.5rem; }
  header > nav { font-size: 1rem; }
}

.publication-date { margin-top: 0.5rem; font-size: 0.75rem; color: #cbd5e1; }

/* Let the hero use its native image width on wide screens. */
#intro img { width: 100%; height: auto; }
@media (min-width: 1024px) {
  #intro { max-width: 1504px; }
}

/* Video gallery: keep media together before the band biography. */
.video-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.video-heading a, .video-card > a { text-decoration: underline; text-underline-offset: 0.2em; }
.video-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.video-card { min-width: 0; border: 1px solid #ffffff30; border-radius: 0.5rem; overflow: hidden; background: #101820; }
.video-card-featured { border-color: #67e8f9; }
.video-card h3 { padding: 0.75rem 1rem; font-weight: 700; }
.video-card-featured h3 { color: #67e8f9; }
.video-card iframe { display: block; width: 100%; height: auto; min-height: 200px; aspect-ratio: 16 / 9; border: 0; background: #000; }
.video-card > a { display: inline-block; padding: 0.75rem 1rem; }
@media (min-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Optional banner width control, only where the two widths differ. */
#intro { position: relative; }
.banner-toggle { display: none; }
.banner-toggle .icon-expand { display: none; }
.intro-compact .banner-toggle .icon-collapse { display: none; }
.intro-compact .banner-toggle .icon-expand { display: block; }
@media (min-width: 1024px) {
  #intro.intro-compact { max-width: 48rem; }
  .banner-toggle:not([hidden]) { display: grid; place-items: center; position: absolute; top: 0.5rem; right: 0.5rem; width: 44px; height: 44px; border: 1px solid #ffffff30; border-radius: 50%; color: #cbd5e1; background: #101820cc; cursor: pointer; }
  .banner-toggle:hover { color: #67e8f9; border-color: #67e8f9; }
  .banner-toggle:focus-visible { outline: 3px solid #67e8f9; outline-offset: 3px; }
}
