/* ALOISE development overrides
   Header utility area: menu + language selector */

.aloise-header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

.aloise-header-tools > li {
    margin-right: 22px;
    padding: 10px 0;
}

.aloise-header-tools > li:after {
    right: -12px;
    width: 1px;
    background: rgba(255,255,255,.28);
}

.aloise-header-tools > li:last-child {
    margin-right: 0;
}

.aloise-menu-trigger a i {
    margin-right: 0 !important;
}

.aloise-language-link {
    min-width: 22px;
    color: rgba(255,255,255,.72) !important;
    font-family: "Changa", sans-serif;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .08em;
    line-height: 1 !important;
    text-align: center;
    text-decoration: none !important;
    transition: color .2s ease, opacity .2s ease;
}

.aloise-language-link:hover {
    color: #fff !important;
}

.aloise-language-link.is-active {
    color: #fff !important;
    position: relative;
}

.aloise-language-link.is-active:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 12px;
    height: 1px;
    background: #fff;
    transform: translateX(-50%);
}

/* Sticky/light header compatibility */
.header.sticky .aloise-language-link,
.header.header-magic-line.sticky .aloise-language-link {
    color: rgba(30,30,30,.62) !important;
}

.header.sticky .aloise-language-link:hover,
.header.sticky .aloise-language-link.is-active,
.header.header-magic-line.sticky .aloise-language-link:hover,
.header.header-magic-line.sticky .aloise-language-link.is-active {
    color: #111 !important;
}

.header.sticky .aloise-language-link.is-active:after,
.header.header-magic-line.sticky .aloise-language-link.is-active:after {
    background: #111;
}

@media (max-width: 767px) {
    .aloise-header-tools > li {
        margin-right: 16px;
    }

    .aloise-header-tools > li:after {
        right: -9px;
    }

    .aloise-language-link {
        font-size: 11px !important;
    }
}


/* ---------------------------------------------------------------
   ALOISE — Spotify Playlists
   Replaces the former Upcoming Events section on the homepage.
   --------------------------------------------------------------- */

.aloise-playlists-section {
    position: relative;
    padding-top: 60px;
    padding-bottom: 90px;
}

/* The 3D releases block uses transformed artwork and leaves a large
   visual gap in the document flow. Pull the playlists section upward
   only on desktop, where that 3D treatment is active. */
@media (min-width: 992px) {
    .three-d-album + .aloise-playlists-section {
        margin-top: -220px;
    }
}

@media (max-width: 991px) {
    .aloise-playlists-section {
        padding-top: 70px;
    }
}

.aloise-playlists-heading {
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
}

.aloise-playlists-heading p {
    display: block;
    width: 100%;
    max-width: 620px;
    padding: 0 !important;
    margin: 14px auto 0;
    text-align: center;
    line-height: 1.6;
}

.aloise-playlists-grid {
    margin-left: -10px;
    margin-right: -10px;
}

.aloise-playlists-grid > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

.aloise-playlist-card {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #121212;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .10);
}

.aloise-playlist-card iframe {
    display: block;
    width: 100%;
    height: 470px;
    border: 0;
    border-radius: 12px;
}

@media (max-width: 767px) {
    .aloise-playlists-heading {
        margin-bottom: 24px;
    }

    .aloise-playlists-grid > [class*="col-"] + [class*="col-"] {
        margin-top: 20px;
    }

    .aloise-playlist-card iframe {
        height: 470px;
    }
}




/* ---------------------------------------------------------------
   ALOISE — About section
   --------------------------------------------------------------- */

.about-aloise-section {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 90px 0 80px;
}

.about-aloise-row {
    min-height: 560px;
}

.about-aloise-copy {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.about-aloise-kicker {
    display: inline-block;
    margin-bottom: 22px;
    color: #ff003c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .38em;
}

.about-aloise-copy h2 {
    margin: 0;
    color: #111;
    font-size: 48px;
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -.025em;
}

.about-aloise-copy h2 strong {
    color: #ff003c;
    font-weight: 800;
}

.about-aloise-rule {
    width: 72px;
    height: 2px;
    margin: 22px 0 28px;
    background: #ff003c;
}

.about-aloise-copy p {
    margin: 0 0 16px;
    color: #555;
    font-size: 16px;
    line-height: 1.75;
}

.about-aloise-cta {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    min-width: 250px;
    margin-top: 18px;
    padding: 17px 24px;
    border: 1px solid #ff003c;
    color: #ff003c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    transition: all .25s ease;
}

.about-aloise-cta:hover,
.about-aloise-cta:focus {
    background: #ff003c;
    color: #fff;
}

.about-aloise-art {
    position: relative;
    margin-left: 12px;
}

.about-aloise-art::before {
    content: "";
    position: absolute;
    top: 9%;
    left: 7%;
    width: 74%;
    height: 74%;
    border: 1px solid rgba(255, 0, 60, .32);
    border-radius: 50%;
    z-index: 0;
}

.about-aloise-art img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

@media (max-width: 991px) {
    .about-aloise-section {
        padding: 70px 0 60px;
    }

    .about-aloise-row {
        min-height: 0;
    }

    .about-aloise-copy {
        max-width: none;
        margin-bottom: 34px;
    }

    .about-aloise-copy h2 {
        font-size: 42px;
    }

    .about-aloise-art {
        margin-left: 0;
    }
}

@media (max-width: 575px) {
    .about-aloise-section {
        padding: 58px 0 48px;
    }

    .about-aloise-kicker {
        margin-bottom: 16px;
    }

    .about-aloise-copy h2 {
        font-size: 34px;
    }

    .about-aloise-copy p {
        font-size: 15px;
        line-height: 1.65;
    }

    .about-aloise-cta {
        min-width: 0;
        width: 100%;
        justify-content: space-between;
    }
}


/* ---------------------------------------------------------------
   ALOISE — The ALOISE Sound
   Evergreen replacement for the former Latest Release section.
   --------------------------------------------------------------- */

.aloise-sound-section {
    overflow: hidden;
}

.aloise-sound-section .aloise-sound-title {
    margin-bottom: 44px;
}

.aloise-sound-content {
    position: relative;
    z-index: 2;
}

.aloise-sound-copy {
    max-width: 690px;
    padding-right: 36px;
}

.aloise-sound-kicker,
.aloise-sound-map-label {
    display: block;
    margin-bottom: 14px;
    color: #f60038;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.aloise-sound-copy h3 {
    margin: 0 0 24px;
    color: #fff;
    font-size: 31px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .015em;
}

.aloise-sound-copy p {
    margin: 0 0 17px;
    color: #b0b0b0;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

.aloise-sound-map {
    margin-left: 45px;
    padding: 28px 30px;
    border-left: 1px solid rgba(246, 0, 56, .55);
    background: rgba(0, 0, 0, .12);
}

.aloise-sound-map-group + .aloise-sound-map-group {
    margin-top: 0;
}

.aloise-sound-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.aloise-sound-tags-roots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.aloise-sound-tags-roots span {
    text-align: center;
}

.aloise-sound-tags span {
    display: inline-block;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #aaa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.aloise-sound-tags-primary span {
    border-color: #f60038;
    color: #fff;
}

.aloise-sound-arrow {
    margin: 18px 0;
    color: #f60038;
    font-size: 27px;
    line-height: 1;
}

.aloise-sound-record {
    width: 86%;
    margin: 72px auto -95px;
    transform: scale(.90);
    transform-origin: top center;
}

.aloise-sound-section .player-main {
    animation-play-state: paused !important;
}

@media (max-width: 991px) {
    .aloise-sound-section .aloise-sound-title {
        margin-bottom: 48px;
    }

    .aloise-sound-copy {
        max-width: none;
        padding-right: 0;
    }

    .aloise-sound-map {
        margin: 36px 0 0;
    }

    .aloise-sound-record {
        width: 100%;
        transform: scale(.72);
        transform-origin: top center;
        margin: 48px auto -145px;
    }
}

@media (max-width: 767px) {
    .aloise-sound-copy h3 {
        font-size: 25px;
    }

    .aloise-sound-copy p {
        font-size: 14px;
        line-height: 1.7;
    }

    .aloise-sound-map {
        padding: 24px 20px;
    }

    .aloise-sound-record {
        transform: scale(.56);
        margin-top: 34px;
        margin-bottom: -255px;
    }
}

@media (max-width: 480px) {
    .aloise-sound-record {
        transform: scale(.45);
        margin-bottom: -325px;
    }
}


/* ---------------------------------------------------------------
   ALOISE — ROOTS hover interaction
   --------------------------------------------------------------- */

.aloise-sound-tags-roots span {
    transition:
        border-color .25s ease,
        color .25s ease,
        background-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
    cursor: default;
}

.aloise-sound-tags-roots span:hover {
    border-color: #f60038;
    color: #fff;
    background: rgba(246, 0, 56, .10);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(246, 0, 56, .12);
}

@media (hover: none) {
    .aloise-sound-tags-roots span:hover {
        border-color: rgba(255, 255, 255, .18);
        color: #aaa;
        background: transparent;
        transform: none;
        box-shadow: none;
    }
}


/* ---------------------------------------------------------------
   ALOISE — Universe spacing
   Bring the 3D artwork closer to the section introduction.
   --------------------------------------------------------------- */

@media (min-width: 993px) {
    .three-d-album .three-d-album-width {
        margin-top: 230px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .three-d-album .three-d-album-width {
        margin-top: 130px;
    }
}

@media (max-width: 767px) {
    .three-d-album .three-d-album-width {
        margin-top: 80px;
    }
}


/* ---------------------------------------------------------------
   ALOISE — Connect section
   --------------------------------------------------------------- */

.aloise-connect-section .aloise-connect-heading {
    margin-bottom: 72px;
}

.aloise-platforms-card {
    position: relative;
    overflow: hidden;
    min-height: 340px;
}

.aloise-platforms-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, .08) 0%,
        rgba(0, 0, 0, .22) 38%,
        rgba(0, 0, 0, .84) 100%
    );
    pointer-events: none;
}

.aloise-platforms-card > img {
    display: block;
    width: 100%;
    min-height: 340px;
    object-fit: cover;
}

.aloise-platforms-overlay {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 28px;
}

.aloise-platforms-copy span {
    display: block;
    margin-bottom: 15px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.aloise-platform-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.aloise-platform-links > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(0, 0, 0, .24);
    color: #fff;
    font-size: 21px;
    line-height: 1;
    transition:
        border-color .22s ease,
        background-color .22s ease,
        color .22s ease,
        transform .22s ease,
        box-shadow .22s ease;
}

.aloise-platform-links > a:hover,
.aloise-platform-links > a:focus {
    border-color: #f60038;
    background: #f60038;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
}

/* Deezer mark — compact equalizer bars */
.aloise-logo-deezer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    width: 22px;
    height: 18px;
}

.aloise-logo-deezer b {
    display: block;
    width: 3px;
    background: currentColor;
}

.aloise-logo-deezer b:nth-child(1) { height: 7px; }
.aloise-logo-deezer b:nth-child(2) { height: 11px; }
.aloise-logo-deezer b:nth-child(3) { height: 15px; }
.aloise-logo-deezer b:nth-child(4) { height: 11px; }
.aloise-logo-deezer b:nth-child(5) { height: 17px; }

/* TIDAL mark — four-diamond symbol */
.aloise-logo-tidal {
    position: relative;
    display: block;
    width: 23px;
    height: 18px;
}

.aloise-logo-tidal b {
    position: absolute;
    width: 7px;
    height: 7px;
    background: currentColor;
    transform: rotate(45deg);
}

.aloise-logo-tidal b:nth-child(1) { left: 1px; top: 1px; }
.aloise-logo-tidal b:nth-child(2) { left: 8px; top: 1px; }
.aloise-logo-tidal b:nth-child(3) { left: 15px; top: 1px; }
.aloise-logo-tidal b:nth-child(4) { left: 8px; top: 8px; }

.aloise-newsletter-card input[type="email"] {
    width: 100%;
}

@media (max-width: 767px) {
    .aloise-connect-section .aloise-connect-heading {
        margin-bottom: 42px;
    }

    .aloise-platforms-card,
    .aloise-platforms-card > img {
        min-height: 300px;
    }

    .aloise-platforms-overlay {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .aloise-platform-links > a {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }
}

@media (hover: none) {
    .aloise-platform-links > a:hover {
        border-color: rgba(255, 255, 255, .55);
        background: rgba(0, 0, 0, .24);
        transform: none;
        box-shadow: none;
    }
}


/* ---------------------------------------------------------------
   ALOISE — Newsletter
   --------------------------------------------------------------- */

/* Portuguese and Spanish labels are longer than the English version.
   Keep them on one line on desktop without changing the English scale. */
@media (min-width: 992px) {
    html[lang="pt-BR"] .aloise-newsletter-card .section-title h2,
    html[lang="es"] .aloise-newsletter-card .section-title h2 {
        font-size: 28px;
        letter-spacing: -0.01em;
        white-space: nowrap;
    }
}

.aloise-newsletter-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.aloise-newsletter-status {
    min-height: 20px;
    margin: 12px 0 0;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: #666;
}

.aloise-newsletter-status.is-success {
    color: #169c46;
}

.aloise-newsletter-status.is-error {
    color: #d71920;
}

.aloise-newsletter-card button[disabled] {
    opacity: .6;
    cursor: wait;
}


/* ---------------------------------------------------------------
   ALOISE — Connect equal-height cards
   --------------------------------------------------------------- */

@media (min-width: 768px) {
    .aloise-connect-section .grid-60,
    .aloise-connect-section .grid-40 {
        display: flex;
        align-items: stretch;
    }

    .aloise-connect-section .aloise-platforms-card,
    .aloise-connect-section .aloise-newsletter-card {
        width: 100%;
        height: 340px;
        min-height: 340px;
        box-sizing: border-box;
    }

    .aloise-connect-section .aloise-platforms-card > img {
        height: 100%;
        min-height: 0;
        object-fit: cover;
    }

    .aloise-connect-section .aloise-newsletter-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 32px 36px;
    }
}

/* Do not reserve vertical space before a newsletter message exists. */
.aloise-newsletter-status:empty {
    min-height: 0;
    margin-top: 0;
}

@media (max-width: 767px) {
    .aloise-connect-section .aloise-newsletter-card {
        height: auto;
        min-height: 0;
    }
}


/* ---------------------------------------------------------------
   ALOISE — One-page navigation
   --------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

#home,
#selected,
#sound,
#universe,
#playlists,
#connect,
#about-aloise {
    scroll-margin-top: 78px;
}

/* Mobile menu is now a flat landing-page menu, not an accordion. */
.aloise-onepage-mobile-menu > li > a {
    display: block;
}

/* Slightly tighten desktop navigation now that it has seven anchors. */
@media (min-width: 1200px) {
    #header-menu-magic-line > li > a {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


/* ---------------------------------------------------------------
   ALOISE — The ALOISE Sound: tighter vertical rhythm
   Reduces section height and pulls the vinyl upward on desktop.
   --------------------------------------------------------------- */

@media (min-width: 992px) {
    .aloise-sound-section.section-padding {
        padding-top: 56px;
        padding-bottom: 12px;
    }

    .aloise-sound-section .aloise-sound-title {
        margin-bottom: 18px;
    }

    .aloise-sound-copy {
        padding-right: 24px;
    }

    .aloise-sound-kicker,
    .aloise-sound-map-label {
        margin-bottom: 8px;
        font-size: 10px;
    }

    .aloise-sound-copy h3 {
        margin-bottom: 14px;
        font-size: 28px;
    }

    .aloise-sound-copy p {
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.58;
    }

    .aloise-sound-map {
        margin-left: 24px;
        padding: 18px 20px;
    }

    .aloise-sound-tags,
    .aloise-sound-tags-roots {
        gap: 6px;
    }

    .aloise-sound-tags span {
        padding: 6px 10px;
        font-size: 9px;
    }

    .aloise-sound-arrow {
        margin: 10px 0 8px;
        font-size: 22px;
    }

    .aloise-sound-record {
        width: 74%;
        margin: 14px auto -145px;
        transform: scale(.82);
        transform-origin: top center;
    }
}


/* ---------------------------------------------------------------
   ALOISE — SEO semantic heading
   Preserve the original hero styling after changing H3 to H1.
   --------------------------------------------------------------- */

.banner-five .baneer-five-content .aloise-hero-h1 {
    color: #fff;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    margin-top: 126px;
    margin-bottom: 0;
    font-family: "Roboto", sans-serif;
    position: relative;
}

@media (max-width: 767px) {
    .banner-five .baneer-five-content .aloise-hero-h1 {
        font-size: 20px;
        letter-spacing: 1.5px;
    }
}


/* ===============================================================
   ALOISE — DEV3 CUMULATIVE RESTORE
   Footer icons + clickable selected cards + player controls
   =============================================================== */

/* ---------------------------------------------------------------
   1. Footer: restore Deezer + TIDAL only in footer
   --------------------------------------------------------------- */

#footer-3 .aloise-footer-deezer {
    display: inline-flex !important;
    align-items: flex-end;
    gap: 2px;
    width: 18px;
    height: 14px;
    color: currentColor;
    vertical-align: middle;
}

#footer-3 .aloise-footer-deezer b {
    display: block !important;
    width: 3px;
    background: currentColor;
}

#footer-3 .aloise-footer-deezer b:nth-child(1) { height: 5px; }
#footer-3 .aloise-footer-deezer b:nth-child(2) { height: 8px; }
#footer-3 .aloise-footer-deezer b:nth-child(3) { height: 12px; }
#footer-3 .aloise-footer-deezer b:nth-child(4) { height: 9px; }
#footer-3 .aloise-footer-deezer b:nth-child(5) { height: 14px; }

#footer-3 .aloise-footer-tidal {
    position: relative;
    display: inline-block !important;
    width: 18px;
    height: 14px;
    color: currentColor;
    vertical-align: middle;
}

#footer-3 .aloise-footer-tidal b {
    position: absolute;
    display: block !important;
    width: 5px;
    height: 5px;
    background: currentColor;
    transform: rotate(45deg);
}

#footer-3 .aloise-footer-tidal b:nth-child(1) { left: 1px; top: 1px; }
#footer-3 .aloise-footer-tidal b:nth-child(2) { left: 6px; top: 1px; }
#footer-3 .aloise-footer-tidal b:nth-child(3) { left: 11px; top: 1px; }
#footer-3 .aloise-footer-tidal b:nth-child(4) { left: 6px; top: 6px; }


/* ---------------------------------------------------------------
   2. SELECTED BY ALOISE: whole card clickable
   --------------------------------------------------------------- */

.artist-lineup .artist-single {
    position: relative;
}

.artist-lineup .artist-single .selected-card-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: block;
    cursor: pointer;
    background: transparent;
}

.artist-lineup .artist-single .selected-card-link:focus-visible {
    outline: 2px solid #f60038;
    outline-offset: -3px;
}


/* ---------------------------------------------------------------
   3. Playlist open-state icon: X -> chevron down
   --------------------------------------------------------------- */

.header_player .jp-audio #playlist-toggle.close-icon i:before {
    content: "\f078" !important; /* Font Awesome chevron-down */
}


/* ---------------------------------------------------------------
   4. Playlist scrollbar: minimal + ALOISE red
   --------------------------------------------------------------- */

/* Firefox */
.header_player .jp-playlist {
    scrollbar-width: thin;
    scrollbar-color: #e32d3d #111111;
}

/* Chrome / Edge / Safari */
.header_player .jp-playlist::-webkit-scrollbar {
    width: 6px;
}

.header_player .jp-playlist::-webkit-scrollbar-track {
    background: #111111;
}

.header_player .jp-playlist::-webkit-scrollbar-thumb {
    background: #e32d3d;
    border-radius: 999px;
}

.header_player .jp-playlist::-webkit-scrollbar-thumb:hover {
    background: #f60038;
}

.header_player .jp-playlist::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.header_player .jp-playlist::-webkit-scrollbar-corner {
    background: #111111;
}
