/* Responsive rebuild of the original layout with modern CSS */
/* Base styles */
:root{
  --bg-dark: #171c37;
  --border-accent: #b94532;
  --text: #111;
  --text-inverse: #fff;
  --maxw: 900px;
}

*,
*::before,
*::after{ box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body{
  font-family: Verdana, Sans-Serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-dark) url('../images/bg.png') repeat-y center fixed;
}


.wrapper{
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 2px;
}

.header{
  border-bottom: 1px solid #565656;
}

.header-image{
  width: 100%;
  height: auto;
  display: block;
}

.title-badge{
  text-align: right;
  margin: 2px 44px;
}

.mainContent{
  width: 100%;
  border: 1px solid var(--border-accent);
  background: #fff;
  padding: 13px;
  margin: 0 auto;
}

.mainContent p{ margin: 0 0 13px 0; }
.mainContent ul{ margin: 7px 0 0 1rem; }
ul.tight li{ margin: 0.2rem 0; }

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2.5vw, 24px);
  align-items: start;
  margin-bottom: 12px;
}

.center{ text-align: center; }

/* Quote block */
.quote01{
  --quote-w: 433px;
  margin-top: 13px;
  padding-left: 32px;
}
.quote01 blockquote{
  margin: 0;
  padding-top: 10px;
  max-width: 376px;
  font-style: italic;
}
.quote01 figcaption{
  padding-left: 34px;
  font-style: italic;
}

/* Listen section */
.listen{
  padding: 23px 12px 0 12px;
  color: var(--text-inverse);
  font-size: 0.85rem;
}

.listen-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.listen-col label{
  display: block;
  margin: 0 0 10px 0;
}

audio{
  width: 100%;
  max-width: 420px;
  display: block;
  margin-top: 4px;
}

/* Lower right (about) */
.lowerRight{
  width: min(100%, 680px);
  margin-left: auto;
  color: var(--text-inverse);
  font-size: 0.85rem;
  padding: 2rem 2.5rem 0 0;
}
.lowerRight p{ line-height: 1.4; }
.lowerRight .photo-credit{ text-align: right; margin-top: 10px; }
.contact-img{ margin-left: -2px; }

/* Footer background image kept purely decorative */
.footerbg{
  width: 472px;
  height: 322px;
  background: url('../images/bg_footer.jpg') no-repeat left bottom;
  margin-top: 12px;
}

/* Accessibility */
.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Responsive tweaks */
@media (max-width: 960px){
  .title-badge{ margin: 16px 16px 10px 0; }
  .two-col{ grid-template-columns: 1fr; }
  .listen-grid{ grid-template-columns: 1fr; }
  .lowerRight{ padding-right: 0.75rem; }
}

@media (max-width: 560px){
  body{ font-size: 0.9rem; }
  .mainContent{ padding: 12px; }
  .footerbg{
    width: 100%;
    height: 160px;
    background-size: cover;
  }
  .quote01{ background-size: 48px auto; padding-left: 16px; }
  .quote01 blockquote{ max-width: 100%; }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; }
}
