/* Editorial additions for playlist pages — extends playlist-page.css */

.playlist-page {
    justify-content: flex-start;
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
}

.playlist-page__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 640px;
}

.playlist-page__hero .playlist-page__platforms {
    margin-bottom: 0;
}

.playlist-page__hero--text .playlist-page__description {
    margin-bottom: 0;
}

.playlist-page__editorial {
    width: 100%;
    max-width: 680px;
    margin: 2.5rem auto 0;
    text-align: left;
    font-weight: 400;
}

.playlist-page__editorial h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 2rem 0 0.85rem;
    line-height: 1.3;
}

.playlist-page__editorial h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 1.5rem 0 0.65rem;
    line-height: 1.35;
}

.playlist-page__editorial p,
.playlist-page__editorial li {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    font-family: Georgia, "Times New Roman", serif;
}

.playlist-page__editorial p + p {
    margin-top: 0.9rem;
}

.playlist-page__editorial a {
    color: #45b6fe;
    text-decoration: none;
}

.playlist-page__editorial a:hover {
    text-decoration: underline;
}

.playlist-page__editorial a:focus-visible {
    outline: 2px solid #45b6fe;
    outline-offset: 3px;
}

.spectrum-ideal {
    margin: 1.25rem 0 1.75rem;
    padding: 1rem 1rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
}

.spectrum-ideal__label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 800;
}

.spectrum-ideal svg {
    width: 100%;
    height: auto;
    display: block;
}

.spectrum-ideal__note {
    margin-top: 0.65rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.5;
}

.content-type {
    margin: 2rem 0;
    padding: 1.15rem 1.25rem;
    border-left: 3px solid #45b6fe;
    background: rgba(0, 64, 128, 0.28);
    border-radius: 0 10px 10px 0;
}

.content-type__label {
    display: block;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #45b6fe;
    margin-bottom: 0.5rem;
}

.content-type p {
    margin: 0;
}

.learn-more {
    margin: 2rem 0;
}

.learn-more ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.learn-more a {
    display: block;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s ease, background 0.2s ease;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.45;
}

.learn-more a:hover {
    border-color: #45b6fe;
    background: rgba(0, 64, 128, 0.35);
    text-decoration: none;
}

.related-sounds {
    margin: 2rem 0 1rem;
}

.related-sounds ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.related-sounds a {
    display: inline-block;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.9rem;
}

.related-sounds a:hover {
    border-color: #45b6fe;
    text-decoration: none;
}

.brown-variants {
    display: grid;
    gap: 1.25rem;
    margin: 1.25rem 0 1.75rem;
    width: 100%;
}

.brown-variant {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    text-align: left;
}

.brown-variant .playlist-page__platforms a:focus-visible {
    outline: 2px solid #45b6fe;
    outline-offset: 3px;
    border-radius: 8px;
}

.brown-variant__cover {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.brown-variant h3 {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.brown-variant__tag {
    display: block;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.75rem;
}

.brown-variant .playlist-page__platforms {
    justify-content: flex-start;
    margin: 1.1rem 0 0;
    gap: 1.25rem;
}

.brown-variant .playlist-page__platforms img {
    width: 48px;
    height: 48px;
}

.playlist-page > .playlist-page__cta {
    margin-top: 2.5rem;
}

@media screen and (min-width: 720px) {
    .brown-variants {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

@media screen and (max-width: 768px) {
    .playlist-page__editorial h2 {
        font-size: 1.2rem;
    }

    .playlist-page__editorial p,
    .playlist-page__editorial li {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .learn-more a,
    .related-sounds a,
    .playlist-page__platforms a {
        transition: none;
    }
}

/* Mobile back-to-top (site-chrome.js) */
.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: max(1.15rem, env(safe-area-inset-bottom, 0px), var(--back-to-top-lift, 0px));
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(10, 18, 32, 0.92);
    color: #ffffff;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}

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

.back-to-top:hover {
    background: rgba(18, 32, 56, 0.98);
}

.back-to-top:focus-visible {
    outline: 2px solid #45b6fe;
    outline-offset: 3px;
}

@media screen and (min-width: 1100px) {
    .back-to-top {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}
