/* Local Premium 1 additions. The original Espresso theme remains authoritative. */
.text-size-title-backdrop.text-center.text-primary.font-title.text-shadow { color: #fff !important; }
.text-size-content-backdrop.text-center.text-primary.text-shadow { color: #fff !important; }
html { scroll-behavior: smooth; }
body.premium-open { overflow-y: auto !important; overflow-x: hidden !important; }

#premium-extra-sections .premium-section {
    border-top: 1px solid var(--bs-secondary);
    color: var(--text-secondary);
    padding: 3rem 2.5rem;
    text-align: center;
}
#premium-extra-sections .premium-section-title {
    color: var(--text-secondary);
    font-family: var(--font-heading), "Amarante", serif;
    font-size: var(--text-size-title);
    margin-bottom: 1.5rem;
}
#premium-extra-sections .premium-story-item {
    background: var(--bs-primary);
    border: 1px solid var(--bs-secondary);
    border-radius: .5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
#premium-extra-sections .premium-story-item img {
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    width: 100%;
}
#premium-extra-sections .premium-story-copy { color: #fff !important; padding: 1.25rem; }
#premium-extra-sections .premium-story-copy small,
#premium-extra-sections .premium-story-copy h3,
#premium-extra-sections .premium-story-copy p { color: #fff !important; }
#premium-extra-sections .premium-story-copy h3 { margin: .35rem 0; }
#premium-extra-sections .premium-video { aspect-ratio: 16 / 9; border: 0; width: 100%; }

#premium-music-toggle {
    align-items: center;
    background: linear-gradient(145deg, #efd0b0, #d8a779);
    border: 2px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    bottom: 150px;
    box-shadow: 0 5px 20px rgba(34, 15, 8, .38), inset 0 0 0 2px rgba(73, 36, 24, .14);
    color: #6b3826 !important;
    cursor: pointer;
    display: flex;
    height: 48px;
    justify-content: center;
    position: fixed;
    right: 1rem;
    top: auto;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    width: 48px;
    z-index: 1100;
}
#premium-music-toggle::before {
    border: 1px solid rgba(232, 190, 151, .72);
    border-radius: inherit;
    content: '';
    inset: -6px;
    opacity: 0;
    position: absolute;
}
#premium-music-toggle:hover { filter: brightness(1.06); transform: translateY(-2px); }
#premium-music-toggle:focus-visible { outline: 3px solid rgba(239, 208, 176, .7); outline-offset: 3px; }
#premium-music-toggle i { color: #6b3826 !important; font-size: 1.25rem; line-height: 1; }
#premium-music-toggle.is-playing::before { animation: premium-music-wave 1.8s ease-out infinite; }
#premium-music-toggle.is-playing { box-shadow: 0 6px 24px rgba(34, 15, 8, .48), inset 0 0 0 2px rgba(73, 36, 24, .12); }
@keyframes premium-music-wave {
    0% { opacity: .8; transform: scale(.88); }
    100% { opacity: 0; transform: scale(1.35); }
}

#gallery img { cursor: zoom-in; object-fit: cover; }
#thumbnail-slider .splide__slide img { aspect-ratio: 1 / 1; height: 100%; width: 100%; }
#main-slider .splide__slide img { aspect-ratio: 4 / 5; height: auto; width: 100%; }

#premium-lightbox {
    align-items: center;
    background: rgba(0, 0, 0, .92);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 1.25rem;
    position: fixed;
    z-index: 2000;
}
#premium-lightbox.is-open { display: flex; }
#premium-lightbox img { max-height: 88vh; max-width: 94vw; object-fit: contain; }
#premium-lightbox button {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 2rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

@media (max-width: 767.98px) {
    #premium-extra-sections .premium-section { padding: 2.5rem 1.5rem; }
    #premium-music-toggle { right: .75rem; bottom: 150px; top: auto; }
}
