:root {
    --global-palette1: #C9A227; /* Gold */
    --global-palette3: #1B365D; /* Navy */
    --cream: #F8F6F3;
    --white: #FFFFFF;
    --navy: #1B365D;
    --gold: #C9A227;
    --gray: #888888;
}

/* ==================== BODONI MODA TYPOGRAPHY FIX ==================== */
h1, h2, h3, h4, h5, h6, 
.kt-adv-heading {
    font-family: 'Bodoni Moda', serif !important;
    font-weight: 400 !important;
    line-height: 1.1;
    letter-spacing: 0 !important;
    font-variation-settings: "opsz" 72 !important;
    font-feature-settings: "liga" 1, "dlig" 1 !important;
    font-variant-ligatures: common-ligatures discretionary-ligatures !important;
    font-optical-sizing: none !important;
}

/* ==================== BAND MEMBERS ==================== */
.pab-members-section {
    max-width: 1000px;
    margin: 0 auto;
}

.pab-member-group {
    margin-bottom: 60px;
}

.pab-group-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 28px;
    color: #1B365D;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}

.pab-members-grid {
    display: grid;
    gap: 25px;
}

/* Grid layouts by section order */
.pab-member-group:nth-of-type(1) .pab-members-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 700px;
    margin: 0 auto;
}

.pab-member-group:nth-of-type(2) .pab-members-grid {
    grid-template-columns: repeat(5, 200px);
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
}

.pab-member-group:nth-of-type(3) .pab-members-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 450px;
    margin: 0 auto;
}

.pab-member-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.pab-member-card:hover {
    transform: translateY(-8px);
}

.pab-member-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ECEAE6 0%, #F8F6F3 100%);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border: 3px solid #1B365D;
    transition: all 0.3s;
    background-size: cover;
    background-position: center center;
    object-fit: cover;
}

.pab-member-card:hover .pab-member-photo {
    border-color: #C9A227;
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.25);
}

.pab-member-card h4 {
    font-family: 'Bodoni Moda', serif;
    font-size: 16px;
    margin-bottom: 3px;
    color: #1B365D;
    font-weight: 400;
}

.pab-member-role {
    color: #C9A227;
    font-size: 12px;
    font-weight: 500;
}

.pab-member-credential {
    font-size: 10px;
    color: #888888;
    margin-top: 3px;
    font-style: italic;
}

/* ==================== BIO MODAL ==================== */
.pab-bio-modal {
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: rgba(27, 54, 93, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pab-bio-modal.active {
    display: flex;
}

.pab-bio-modal-content {
    background: #FFFFFF;
    max-width: 550px;
    width: 100%;
    padding: 45px;
    position: relative;
    border-radius: 12px;
    max-height: 80vh;
    overflow-y: auto;
}

.pab-bio-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #888888;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}

.pab-bio-modal-close:hover {
    color: #C9A227;
}

.pab-bio-modal .pab-member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
}

.pab-bio-modal h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 28px;
    margin-bottom: 5px;
    color: #1B365D;
    text-align: center;
    font-weight: 400;
}

.pab-bio-modal .pab-member-role {
    font-size: 14px;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.pab-bio-modal .pab-bio-text {
    color: #555555;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 20px;
}

.pab-bio-modal .pab-quote {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: 16px;
    color: #C9A227;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #ECEAE6;
    margin-top: 20px;
}

.pab-bio-modal .pab-credentials-list {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ECEAE6;
}

.pab-bio-modal .pab-credentials-list h4 {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #C9A227;
    margin-bottom: 10px;
}

.pab-bio-modal .pab-credentials-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pab-bio-modal .pab-credentials-list li {
    font-size: 13px;
    color: #555555;
    padding: 4px 0 4px 18px;
    position: relative;
}

.pab-bio-modal .pab-credentials-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #C9A227;
    font-size: 10px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .pab-member-group .pab-members-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100% !important;
    }
    
    .pab-member-photo {
        width: 90px;
        height: 90px;
    }
    
    .pab-bio-modal .pab-member-photo {
        width: 120px;
        height: 120px;
    }
}

/* Remove previous vertical video styling, replace with: */
.pab-vertical-video {
  max-width: 360px;
  margin: 0 auto;
  position: relative;
}

.pab-vertical-video iframe {
  width: 360px;
  height: 640px; /* Fixed 9:16 ratio */
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 3px solid #C9A227;
  display: block;
}

/* ==================== SONGS PAGE LAYOUT ==================== */
.pab-songs-page {
  background: #F8F6F3;
}

.pab-songs-hero {
  background: #F8F6F3;
  padding: 130px 5% 60px;
  text-align: center;
}

.pab-container-narrow {
  max-width: 700px;
  margin: 0 auto;
}

.pab-container {
  max-width: 1200px; /* Wider to accommodate long names */
  margin: 0 auto;
}

.pab-songs-title {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  color: #1B365D;
  margin-bottom: 10px;
}

.pab-songs-subtitle {
  font-size: 16px;
  color: #888888;
  margin-bottom: 15px;
}

.pab-songs-intro {
  font-size: 15px;
  color: #888888;
  line-height: 1.7;
}

.pab-songs-content {
  background: #F8F6F3;
  padding: 80px 5%;
}

/* ==================== SONGS ACCORDION ==================== */
.pab-songlist {
  max-width: 1200px;
  margin: 0 auto;
}

.pab-genre {
  margin-bottom: 30px; /* Space between genres */
}

.pab-genre-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 10px 0 !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-bottom: 2px solid rgba(27, 54, 93, 0.45) !important; /* Line between header and songs */
  margin-bottom: 14px;
}

.pab-genre-toggle:hover,
.pab-genre-toggle:focus,
.pab-genre-toggle:active {
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.pab-genre-toggle:hover {
  border-bottom-color: #C9A227 !important;
}

.pab-genre-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pab-genre-icon {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 22px;
  height: 16px;
}

.pab-genre-icon span {
  display: block;
  width: 3px;
  background: #C9A227;
  border-radius: 2px;
  animation: pabWave 1.1s ease-in-out infinite;
  transform-origin: bottom;
}

.pab-genre-icon span:nth-child(1) { height: 6px; animation-delay: 0s; }
.pab-genre-icon span:nth-child(2) { height: 10px; animation-delay: 0.12s; }
.pab-genre-icon span:nth-child(3) { height: 14px; animation-delay: 0.24s; }
.pab-genre-icon span:nth-child(4) { height: 8px; animation-delay: 0.36s; }

@keyframes pabWave {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1.0); }
}

.pab-genre-name {
  font-family: 'Bodoni Moda', serif !important;
  font-size: 22px;
  font-weight: 400 !important;
  color: #1B365D !important;
  line-height: 1.1;
}

.pab-genre-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(0,0,0,0.05);
  color: #1B365D;
}

.pab-genre-count {
  color: inherit;
}

.pab-genre-chevron {
  width: 10px;
  height: 10px;
  display: inline-block;
  position: relative;
  transform: rotate(-90deg);
  transition: transform 180ms ease;
}

.pab-genre-chevron::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid #1B365D;
  border-bottom: 2px solid #1B365D;
  transform: rotate(45deg);
}

.pab-genre-toggle[aria-expanded="true"] .pab-genre-chevron {
  transform: rotate(0deg);
}

.pab-genre-panel {
  padding: 0 0 6px;
}

.pab-song-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pab-song-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(27,54,93,0.18);
  border-radius: 8px;
  transition: all 0.16s;
  min-height: 48px;
}

.pab-song-card:hover {
  border-color: #C9A227;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.pab-song-title {
  font-size: 13px;
  font-weight: 600;
  color: #1B365D;
  flex: 1 1 60%;
  line-height: 1.4;
}

.pab-song-artist {
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  flex: 0 0 38%;
  text-align: right;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.pab-song-request-box {
  margin-top: 50px;
  padding: 35px;
  background: #fff;
  text-align: center;
  border-radius: 12px;
  border: 2px dashed #C9A227;
}

.pab-song-request-box h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: 22px;
  color: #1B365D;
  margin-bottom: 8px;
  font-weight: 400;
}

.pab-song-request-box p {
  color: #888888;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .pab-song-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pab-song-grid { grid-template-columns: 1fr; }
  .pab-song-artist { text-align: left; flex: 0 0 auto; }
  .pab-song-card { flex-direction: column; gap: 4px; }
}

/* Contact Form Styling */
.wpforms-container {
    max-width: 100%;
}

.wpforms-field-label {
    font-size: 13px;
    font-weight: 500;
    color: #1B365D;
    margin-bottom: 6px;
}

.wpforms-required-label {
    color: #C9A227;
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="date"],
.wpforms-field select,
.wpforms-field textarea {
    width: 100%;
    padding: 12px 14px;
    background: #FAFAFA;
    border: 1px solid #ECEAE6;
    color: #1B365D;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s;
}

.wpforms-field input:focus,
.wpforms-field select:focus,
.wpforms-field textarea:focus {
    outline: none;
    border-color: #C9A227;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}

.wpforms-submit-container {
    margin-top: 20px;
}

.wpforms-submit {
    background: #C9A227 !important;
    color: #1B365D !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
}

.wpforms-submit:hover {
    background: #A68820 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.25);
}