/* Concert program modern layout */
.concert-program {
  margin: 2em 0;
}
.concert-piece {
  display: block;
  padding: 0.3em 0;
  border-bottom: 1px solid #eee;
}
.concert-piece .title {
  font-weight: bold;
  color: #800000;
  display: inline;
}
.concert-piece .composer {
  color: #444;
  display: inline;
}
.concert-piece .soloist {
  color: #555;
  font-style: italic;
  margin-left: 1em;
  display: inline;
}
/* Gallery styles copied from band.css for proper display */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 2em 0;
}

.gallery-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.gallery-item figcaption {
  margin-top: 0.5em;
  font-size: 1em;
  color: #333;
  text-align: center;
}

.gallery-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.center-col img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1em auto;
}
/* Gradient color classes for Times Performed filter buttons */
.btn-grad-0 { background: #e0e0e0; color: #800000; }
.btn-grad-1 { background: #ffe5e5; color: #800000; }
.btn-grad-2 { background: #ffd6d6; color: #800000; }
.btn-grad-3 { background: #ffc7c7; color: #800000; }
.btn-grad-4 { background: #ffb8b8; color: #800000; }
.btn-grad-5 { background: #ffa9a9; color: #800000; }
.btn-grad-6 { background: #ff9a9a; color: #800000; }
.btn-grad-7 { background: #ff8b8b; color: #800000; }
.btn-grad-8 { background: #ff7c7c; color: #fff; }
.btn-grad-9 { background: #ff6d6d; color: #fff; }
.btn-grad-10 { background: #800000; color: #FFD700; font-weight: bold; }

/* Gradient color classes for Dates Performed filter buttons */
.btn-year-0 { background: #e0e0e0; color: #800000; }
.btn-year-1 { background: #fbeee6; color: #800000; }
.btn-year-2 { background: #f7dcc7; color: #800000; }
.btn-year-3 { background: #f3caa8; color: #800000; }
.btn-year-4 { background: #efb889; color: #800000; }
.btn-year-5 { background: #ebb66a; color: #800000; }
.btn-year-6 { background: #e7a44b; color: #800000; }
.btn-year-7 { background: #e3922c; color: #fff; }
.btn-year-8 { background: #df800d; color: #fff; }
.btn-year-9 { background: #db6e00; color: #fff; }
.btn-year-10 { background: #c95e00; color: #fff; }
.btn-year-11 { background: #b74e00; color: #fff; }
.btn-year-12 { background: #a53e00; color: #fff; }
.btn-year-13 { background: #933e00; color: #fff; }
.btn-year-14 { background: #813e00; color: #fff; }
.btn-year-15 { background: #6f3e00; color: #fff; }
.btn-year-16 { background: #5d3e00; color: #fff; }
.btn-year-17 { background: #800000; color: #FFD700; font-weight: bold; }
.btn-narrow {
  width: 30%;
  min-width: 120px;
  max-width: 300px;
  display: block;
  margin: 0 auto;
}
/* --- Modern Clean Table Styles --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  background: #fff;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
th, td {
  border: 1px solid #ccc;
  padding: 0.5em 0.75em;
  text-align: left;
}
th {
  background: #f5f5f5;
  color: #333;
  font-weight: 700;
}
tr:nth-child(even) td {
  background: #fafafa;
}
tr:hover td {
  background: #f0f8ff;
}
/* Optional: style for tables with borders */
.bordered-table th, .bordered-table td {
  border: 2px solid #800000;
}
/* band-clean.css: Cleaned CSS for Punxypa Band site (only selectors in use) */

/* Essential layout and base styles from original band.css */

:root {
    --mobile: 480px;
    --tablet: 768px;
    --desktop: 1024px;
    --large: 1200px;
  --primary: #800000;
    --secondary: #FFD700;
    --text-dark: #333;
    --text-darker: #222;
    --text-light: #666;
    --text-white: #fff;
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-lighter: #f8f8f8;
    --bg-lightest: #f9f9f9;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --overlay-color: rgba(0, 0, 0, 0.3);
    --hover-primary: #800000;
    --hover-light: #e5e5e5;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: .8em;
    background: var(--bg-white);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

body .header {
    text-align: center !important;
    padding: 20px !important;
    position: relative !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin-top: 20px !important;
}
h3 {
  font-size: 18px;
  text-align: center;
  background-color: #FFFF99;
}

/* Center column heading and alignment fixes */
h5 {
  text-align: right;
}

ul.nav {
  list-style: none !important;
  margin: 0 auto 15px !important;
  padding: 0 !important;
  width: 90% !important;
  max-width: 250px !important;
  background: transparent !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

ul.nav li {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

ul.nav a {
  display: block !important;
  padding: 12px 20px !important;
  width: 100% !important;
  text-decoration: none !important;
  background: #c00 !important;
  color: var(--text-white) !important;
  border-radius: 8px !important;
  transition: background-color 0.3s ease !important;
  font-weight: bold !important;
  height: 50px !important;
}

ul.nav a:hover, ul.nav a:active, ul.nav a:focus {
  background-color: var(--hover-primary) !important;
  color: var(--secondary) !important;
}
ul.nav li:last-child a {
  border-bottom: none !important;
}

/* Constrain images in center column */
.center-col img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  margin-bottom: 1em;
  text-align: center;
}

p {
  margin-bottom: 1em;
}


/*. rules*/

.audience-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}


.auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: 1.5em 0;
}

.auth-form {
  margin: 0;
}



.btn {
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;

  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
    transition: background-color 0.3s ease;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.btn-primary {
    background-color: var(--primary);
  color: var(--secondary);
  font-weight: bold;
}
.btn-primary:hover {
    background-color: #660000;
}
.btn-secondary {
     background-color: var(--bg-light);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-secondary:hover {
    background-color: #e5e5e5;
}

.calendar table {
    text-align: center;
    vertical-align: middle;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.calendar th, .calendar td {
    border: 1px solid #333;
    padding: 0.5em;
}
.calendar tr {
    background-color: #FFFF99;
}
.calendar td {
    text-align: right;
}



.center-col {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow-color);
    text-align: center !important;
}

/* Center text for paragraphs and h3 headings in center column, matching band.css */
.center-col p {
    text-align: center !important;
}
.center-col h3 {
    text-align: center !important;
}

.clear-above {
  clear: both;
  display: block;
  text-align: center;
}

.contact-info {
  background: #f8f8f8;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
}
.contact-info ul {
  list-style: none;
  padding: 0;
}
.contact-info li {
  margin: 8px 0;
}

.container {
    width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
  background: var(--bg-white) !important;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.flex-container {
    display: flex;
  gap: 20px;
  margin: 20px 0;
  align-items: flex-start;
  flex-wrap: nowrap;
  width: 100%;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  background: var(--primary);
  border-radius: 8px;
  margin-top: 20px;
}

.join-section {
  padding: 20px;
}




.left-col, .right-col {
  flex: 0 0 250px;
  min-width: 250px;
  width: 250px;
  background: var(--bg-lighter) !important;
  padding: 20px !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 4px var(--shadow-color) !important;
  color: #222 !important;
  font-size: 1em !important;
}

.center-col {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 750px !important;
  margin-left: auto;
  margin-right: auto;
}


.logo-link {
    display: inline-block !important;
    transition: transform 0.3s ease !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.logo-link:hover {
    transform: scale(1.02) !important;
}
.logo-link img {
    max-width: 200px !important;
    height: auto !important;
    width: 100% !important;
    margin: 0 auto;
  display: block;
}

.nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important; /* Only buttons have red background */
    border-radius: 8px !important;
    /* margin removed for clarity */
    overflow: hidden !important;
}
.nav li {
    margin: 0 !important;
    padding: 0 !important;
}
.nav a {
    display: block !important;
    padding: 12px 20px !important;
    color: var(--text-white) !important;
    text-decoration: none !important;
    background: #c00 !important; /* TEST: solid red background for debug */
    /* border-bottom removed for visible rounded corners */
    border-radius: 8px !important; /* Rounded corners on each menu option */
    margin-bottom: 0 !important; /* No gap for tightest spacing */
    transition: background-color 0.3s ease !important;
    font-size: 1em !important;
}
.nav a:hover {
    background-color: var(--hover-primary) !important;
    color: var(--secondary) !important;
}
.nav li:last-child a {
    border-bottom: none !important;
}

.news-item {
  background: white;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.news-item h3 {
  color: #660000;
  margin-bottom: 10px;
  font-size: 1.1em;
}



.rostertable td {
    font-size: 12px;
}

.scheduletable {
    text-align: center;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.scheduletable th, .scheduletable td {
    border: 1px solid #333;
    padding: 0.5em;
}
.scheduletable td {
    line-height: 2;
    background-color: yellow;
}

.schedule-info {
  margin: 20px 0;
  text-align: center;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  padding: 10px;
  background: #f8f8f8;
  border-radius: 5px;
  margin-top: 10px;
}
.social-link:hover {
  background: #eee;
}


.year-heading {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    color: #660000;
    margin: 40px 0 20px;
    padding: 10px 0;
    border-bottom: 2px solid #660000;
    text-transform: uppercase;
}
@media (max-width: 480px) {
  .flex-container {
    flex-direction: column;
  }
  .header {
    order: 0;
    width: 100%;
  }
  .left-col {
    order: 1;
    width: 100%;
  }
  .center-col {
    order: 2;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .right-col {
    order: 3;
    width: 100%;
  }
}









