.songs-page {
    --songs-green: #123f35;
    --songs-green-light: #1c6b57;
    --songs-navy: #0e3156;
    --songs-gold: #d5a51d;
    --songs-ink: #102d4d;
    --songs-muted: #66778a;
    background: #f5f8f6;
    color: var(--songs-ink);
    overflow: hidden;
}

.songs-page *, .songs-page *::before, .songs-page *::after { box-sizing: border-box; }
.songs-page .container { width: min(1160px, calc(100% - 40px)); }

.songs-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
}

.songs-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -3;
}

.songs-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 26, 48, .97) 0%, rgba(8, 39, 58, .82) 43%, rgba(8, 35, 42, .22) 78%);
    z-index: -2;
}

.songs-hero__content { padding: 92px 0 128px; color: #fff; }
.songs-hero__content > * { max-width: 650px; }

.songs-eyebrow, .songs-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--songs-gold);
    font-size: .79rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.songs-hero h1 {
    margin: 14px 0 14px;
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -.045em;
}

.songs-hero p {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.65;
}

.songs-hero__button {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 14px 20px;
    border-radius: 12px;
    color: #102d4d;
    background: #fff;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.songs-hero__button:hover { color: #102d4d; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.28); }
.songs-hero__shape { position: absolute; right: -1px; bottom: -1px; left: -1px; height: 105px; z-index: 1; }
.songs-hero__shape svg { display: block; width: 100%; height: 100%; }

.songs-intro { padding: 56px 0 72px; }
.songs-intro__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: 58px; align-items: center; }
.songs-intro h2, .songs-library h2, .songs-foundation h2 {
    margin: 8px 0 18px;
    color: var(--songs-ink);
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.035em;
}

.songs-intro__content p, .songs-foundation p {
    color: #566b7d;
    font-size: 1.03rem;
    line-height: 1.82;
}
.songs-intro__content .songs-lead { color: var(--songs-green-light); font-size: 1.22rem; font-weight: 600; }

.songs-intro__figure {
    position: relative;
    margin: 0;
    padding: 12px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(16,45,77,.13);
}
.songs-intro__figure img { width: 100%; aspect-ratio: 4 / 4.25; display: block; object-fit: cover; border-radius: 20px; }
.songs-intro__figure figcaption {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    color: #fff;
    background: rgba(8,42,49,.9);
    font-weight: 700;
    line-height: 1.4;
    backdrop-filter: blur(8px);
}

.songs-foundation {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 25px;
    margin-top: 68px;
    padding: 36px;
    border: 1px solid #dce7e1;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(16,45,77,.07);
}
.songs-foundation__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #a47400;
    background: #fff5d7;
    font-size: 1.55rem;
}
.songs-foundation h2 { font-size: 1.9rem; }
.songs-foundation p:last-child { margin-bottom: 0; }

.songs-library { padding: 82px 0; background: #fff; scroll-margin-top: 92px; }
.songs-filters {
    display: grid;
    grid-template-columns: minmax(260px,1.7fr) repeat(3,minmax(150px,1fr)) auto auto;
    gap: 12px;
    margin-bottom: 38px;
    padding: 20px;
    border: 1px solid #dce6e1;
    border-radius: 18px;
    background: #f6faf8;
    box-shadow: 0 8px 24px rgba(16,45,77,.05);
}
.songs-filters__search { position: relative; }
.songs-filters__search i { position: absolute; top: 50%; left: 15px; color: #70808e; transform: translateY(-50%); }
.songs-filters input, .songs-filters select {
    width: 100%;
    height: 48px;
    padding: 0 13px;
    border: 1px solid #cbd9d2;
    border-radius: 11px;
    color: var(--songs-ink);
    background: #fff;
}
.songs-filters__search input { padding-left: 42px; }
.songs-filters button, .songs-filters__clear {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: var(--songs-green-light);
    font-weight: 800;
    cursor: pointer;
}
.songs-filters__clear { color: var(--songs-ink); background: #e6eeea; }
.songs-library__heading { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 34px; }
.songs-library__heading p { margin: 0; color: var(--songs-muted); font-size: 1.05rem; }
.songs-library__count {
    flex: 0 0 auto;
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--songs-green);
    background: #e7f4ee;
    font-size: .88rem;
    font-weight: 800;
}

.songs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.song-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 25px;
    border: 1px solid #dce6e1;
    border-radius: 20px;
    background: #fbfdfc;
    box-shadow: 0 8px 24px rgba(16,45,77,.055);
}
.song-card__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.song-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--songs-green-light), var(--songs-navy)); }
.song-card__category { padding: 7px 11px; border-radius: 999px; color: #956c00; background: #fff2c8; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.song-card h3 { margin: 0 0 6px; color: var(--songs-ink); font-size: 1.35rem; font-weight: 800; }
.song-card__subtitle { margin: 0 0 17px; color: var(--songs-muted); }
.song-card__tags { display:flex; flex-wrap:wrap; gap:7px; margin:4px 0 12px; }
.song-card__tags span { padding:5px 9px; border-radius:999px; color:#315a50; background:#e7f4ee; font-size:.75rem; font-weight:700; }
.song-card__lyrics { max-height: 144px; margin: 10px 0 20px; padding: 14px; overflow: auto; border-left: 3px solid var(--songs-gold); color: #53697a; background: #fff; line-height: 1.65; }
.song-card audio { width: 100%; height: 44px; margin-top: auto; }
.song-card__unavailable { margin: auto 0 0; color: #7a8995; font-size: .9rem; }

.songs-empty { padding: 58px 25px; border: 1px dashed #c9d9d1; border-radius: 22px; text-align: center; background: #f7faf8; }
.songs-empty > i { color: var(--songs-green-light); font-size: 2.5rem; }
.songs-empty h3 { margin: 16px 0 6px; color: var(--songs-ink); font-weight: 800; }
.songs-empty p { margin: 0; color: var(--songs-muted); }

.songs-pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 38px; }
.songs-pagination__pages { display: flex; gap: 8px; }
.songs-pagination a {
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    border: 1px solid #cddbd4;
    border-radius: 11px;
    color: var(--songs-ink);
    background: #fff;
    font-weight: 800;
    transition: .2s ease;
}
.songs-pagination a:hover, .songs-pagination a.is-active { border-color: var(--songs-green-light); color: #fff; background: var(--songs-green-light); }
.songs-pagination a.is-disabled { pointer-events: none; opacity: .42; }

.songs-source { padding: 20px 0; color: #70808e; background: #eef4f1; font-size: .9rem; }
.songs-source p { margin: 0; }
.songs-source i { margin-right: 8px; color: var(--songs-green-light); }

@media (max-width: 850px) {
    .songs-hero { min-height: 470px; }
    .songs-hero__image { object-position: 62% center; }
    .songs-hero__overlay { background: linear-gradient(90deg, rgba(5,26,48,.96), rgba(7,34,47,.68)); }
    .songs-intro__grid { grid-template-columns: 1fr; }
    .songs-intro__figure { max-width: 580px; }
    .songs-grid { grid-template-columns: 1fr; }
    .songs-filters { grid-template-columns: 1fr 1fr; }
    .songs-filters__search { grid-column:1/-1; }
}

@media (max-width: 600px) {
    .songs-page .container { width: min(100% - 28px, 1160px); }
    .songs-hero { min-height: 500px; }
    .songs-hero__content { padding: 80px 0 115px; }
    .songs-hero h1 { font-size: 3rem; }
    .songs-intro { padding-top: 38px; }
    .songs-foundation { grid-template-columns: 1fr; padding: 25px 20px; }
    .songs-library { padding: 60px 0; }
    .songs-library__heading { display: block; }
    .songs-library__count { display: inline-flex; margin-top: 16px; }
    .song-card { padding: 20px; }
    .songs-pagination { gap: 7px; }
    .songs-pagination__nav span { display: none; }
    .songs-pagination a { min-width: 40px; height: 40px; padding: 0 10px; }
    .songs-filters { grid-template-columns:1fr; padding:15px; }
    .songs-filters__search { grid-column:auto; }
}
