/*
  Bryan White static migration.
  Bootstrap 5.3 supplies layout primitives; this file preserves the legacy
  Joomla template look with responsive, accessible static-site adjustments.
*/

:root {
  --bw-black: #000;
  --bw-nav: #141414;
  --bw-footer: #191d1c;
  --bw-paper: #f1edea;
  --bw-link: #a7896f;
  --bw-link-hover: #988c81;
  --bw-ink: #222;
  --bw-muted: #68605a;
  --bw-focus: rgba(167, 137, 111, 0.5);
  --bw-max: 960px;
}

html {
  min-height: 100%;
}

body {
  color: var(--bw-ink);
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.58;
  margin: 0;
  min-height: 100%;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--bw-link);
}

a:hover {
  color: var(--bw-link-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.nav-link:focus-visible {
  box-shadow: none;
  outline: 3px solid var(--bw-focus);
  outline-offset: 3px;
}

.skip-link {
  background: #fff;
  color: #111;
  left: 1rem;
  padding: 0.65rem 0.85rem;
  position: absolute;
  top: -4rem;
  z-index: 2000;
}

.skip-link:focus {
  top: 1rem;
}

.artist-header {
  background: var(--bw-black);
  text-align: center;
}

.artist-header img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: min(100%, 600px);
}

.artist-nav {
  background: var(--bw-nav);
  border-bottom: 3px solid var(--bw-black);
  border-top: 3px solid var(--bw-black);
  min-height: 52px;
  padding: 0;
}

.artist-nav .navbar-nav {
  gap: 0.35rem;
}

.artist-nav .nav-link {
  color: rgba(255, 255, 255, 0.5);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.9rem 0.95rem;
}

.artist-nav .nav-link:hover,
.artist-nav .nav-link:focus,
.artist-nav .nav-link.active {
  background: #333;
  color: #fff;
}

.site-main {
  background-color: var(--bw-paper);
  background-image: url("../images/fallback/content/content-bg.jpg");
  background-image: image-set(
      url("../images/content/content-bg.webp") type("image/webp"),
      url("../images/fallback/content/content-bg.jpg") type("image/jpeg")
  );
  background-position: top center;
  background-repeat: no-repeat;
  min-height: 450px;
}

.content-shell {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.75rem, 4vw, 3rem);
}

.legacy-article {
  margin-inline: auto;
}

.page-header h1 {
  background-image: url("../images/fallback/icons/scroll.png");
  background-image: image-set(
      url("../images/icons/scroll.webp") type("image/webp"),
      url("../images/fallback/icons/scroll.png") type("image/png")
  );
  background-position: center bottom;
  background-repeat: no-repeat;
  color: #111;
  font-family: "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
  font-size: clamp(2rem, 6vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
  margin: 0 0 1.5rem;
  padding: 1.25rem 0 2.5rem;
  text-align: center;
  text-transform: uppercase;
}

.legacy-article h2 {
  color: #111;
  font-family: "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 1.5rem 0 0.65rem;
}

.content-flow > * + * {
  margin-top: 1rem;
}

.album-summary {
  align-items: flex-start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(180px, 280px) 1fr;
  margin-bottom: 2rem;
}

.album-summary img {
  height: auto;
  max-width: 100%;
}

.song-notes h2 {
  border-top: 1px solid rgba(34, 34, 34, 0.18);
  padding-top: 1.25rem;
}

.fan-signup {
  max-width: 560px;
}

.signup-intro {
  color: #111;
  font-weight: 700;
}

.signup-preview {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0;
  max-width: 420px;
}

.signup-field {
  display: grid;
  gap: 0.35rem;
}

.signup-field span:first-child {
  color: #111;
  font-weight: 700;
}

.signup-line {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(34, 34, 34, 0.22);
  display: block;
  min-height: 2.35rem;
}

.btn-primary {
  --bs-btn-bg: var(--bw-link);
  --bs-btn-border-color: var(--bw-link);
  --bs-btn-hover-bg: var(--bw-link-hover);
  --bs-btn-hover-border-color: var(--bw-link-hover);
  --bs-btn-disabled-bg: #8d8176;
  --bs-btn-disabled-border-color: #8d8176;
}

.store-browser {
  min-height: 380px;
}

#static-container {
  display: none;
}

.social-media {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.social-media ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-media a {
  align-items: center;
  background-color: #777;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 1rem;
  height: 42px;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
  width: 42px;
}

.social-media i {
  color: #fff;
  line-height: 1;
}

.social-media a:hover {
  background-color: #444;
  color: #fff;
  transform: translateY(-2px);
}

.site-footer {
  background-color: var(--bw-footer);
  background-image: url("../images/fallback/content/footer.jpg");
  background-image: image-set(
      url("../images/content/footer.webp") type("image/webp"),
      url("../images/fallback/content/footer.jpg") type("image/jpeg")
  );
  background-position: bottom;
  background-repeat: repeat-x;
  color: #fff;
}

.footer-inner {
  max-width: var(--bw-max);
  padding-bottom: 1.5rem;
  padding-top: 1.75rem;
}

.site-footer h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 0.65rem;
}

.site-footer p {
  color: #d0cccc;
  font-size: 0.82rem;
  margin-bottom: 0;
}

.site-footer a {
  color: var(--bw-link);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--bw-link-hover);
  text-decoration: underline;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 1.75rem;
  padding-top: 1rem;
}

.back-to-top {
  background: var(--bw-link);
  border: 0;
  border-radius: 0.25rem;
  bottom: 1rem;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  padding: 0.5rem 0.75rem;
  pointer-events: none;
  position: fixed;
  right: 1rem;
  transform: translateY(0.5rem);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 1030;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 767.98px) {
  .artist-nav .navbar-nav {
    padding: 0.75rem 0;
  }

  .artist-nav .nav-link {
    padding-block: 0.7rem;
    text-align: center;
  }

  .album-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .album-summary img {
    justify-self: center;
  }
}
