/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

:root {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --black: #111111;
    --text: #222222;
    --muted: #777777;
    --border: #e8e8eb;
    --light: #f7f7f8;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;

    z-index: 1000;

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 72px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* =========================================================
   LOGO
========================================================= */

.site-logo {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;

    color: var(--black);

    font-size: 21px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: -1px;
}

.site-logo span {
    color: var(--black);
}

.site-logo strong {
    color: var(--primary);
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    height: 72px;

    gap: 26px;
}

.main-nav a {
    position: relative;

    display: flex;
    align-items: center;

    height: 72px;

    color: #444444;

    font-size: 13px;
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: var(--primary);
}


/* =========================================================
   HEADER SEARCH
========================================================= */

.header-search {
    width: 235px;
    height: 38px;

    margin-left: auto;

    display: flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid #dddddf;
    border-radius: 5px;

    background: #ffffff;

    transition: border-color 0.2s ease;
}

.header-search:focus-within {
    border-color: var(--primary);
}

.header-search input {
    flex: 1;

    min-width: 0;

    width: 100%;
    height: 100%;

    padding: 0 11px;

    border: 0;
    outline: 0;

    background: transparent;

    color: #222222;

    font-size: 12px;
}

.header-search input::placeholder {
    color: #999999;
}

.header-search button {
    flex: 0 0 40px;

    width: 40px;
    height: 100%;

    padding: 0;

    border: 0;

    background: #f5f5f6;

    color: #444444;

    cursor: pointer;

    transition: color 0.2s ease;
}

.header-search button:hover {
    color: var(--primary);
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 38px;

    padding: 0 17px;

    border: 1px solid #dddddf;
    border-radius: 5px;

    background: #ffffff;

    color: #222222;

    font-size: 12px;
    font-weight: 700;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.login-button:hover {
    border-color: var(--primary);

    color: var(--primary);
}


/* =========================================================
   MOBILE MENU BUTTON
   HIDDEN BY DEFAULT
========================================================= */

.mobile-menu-button {
    display: none !important;

    flex-shrink: 0;

    width: 44px;
    height: 44px;

    padding: 0;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    border: 1px solid #dddddf;
    border-radius: 7px;

    background: #ffffff;

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 24px;
    height: 3px;

    flex-shrink: 0;

    border-radius: 3px;

    background: #222222;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        background 0.2s ease;
}

.mobile-menu-button:hover {
    border-color: var(--primary);
}

.mobile-menu-button:hover span {
    background: var(--primary);
}


/* =========================================================
   MOBILE MENU DRAWER
========================================================= */

.mobile-menu {
    position: fixed;

    z-index: 2000;

    top: 0;
    right: 0;
    bottom: 0;

    width: min(320px, 85vw);

    background: #ffffff;

    box-shadow:
        -10px 0 35px rgba(0, 0, 0, 0.12);

    transform: translateX(100%);

    visibility: hidden;

    transition:
        transform 0.3s ease,
        visibility 0.3s ease;
}


/* =========================================================
   MOBILE MENU HEADER
========================================================= */

.mobile-menu-header {
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;

    border-bottom: 1px solid var(--border);
}

.mobile-menu-header span {
    color: var(--black);

    font-size: 16px;
    font-weight: 800;
}

.mobile-menu-header button {
    width: 38px;
    height: 38px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dddddf;
    border-radius: 6px;

    background: #ffffff;

    color: #222222;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;
}

.mobile-menu-header button:hover {
    border-color: var(--primary);

    color: var(--primary);
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-nav {
    display: flex;

    flex-direction: column;

    padding: 10px 0;
}

.mobile-nav a {
    display: flex;
    align-items: center;

    min-height: 54px;

    padding: 0 20px;

    border-bottom: 1px solid #f0f0f1;

    color: #222222;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.mobile-nav a:hover {
    background: #f8f7ff;

    color: var(--primary);
}


/* =========================================================
   MOBILE MENU FOOTER
========================================================= */

.mobile-menu-footer {
    margin: 20px;

    padding-top: 20px;

    border-top: 1px solid #eeeeef;
}

.mobile-menu-footer a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    border: 1px solid var(--primary);
    border-radius: 6px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 700;
}

.mobile-menu-footer a:hover {
    background: var(--primary);

    color: #ffffff;
}


/* =========================================================
   MOBILE MENU OVERLAY
========================================================= */

.mobile-menu-overlay {
    position: fixed;

    z-index: 1999;

    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* =========================================================
   MOBILE MENU OPEN STATE
========================================================= */

body.menu-open {
    overflow: hidden;
}

body.menu-open .mobile-menu {
    transform: translateX(0);

    visibility: visible;
}

body.menu-open .mobile-menu-overlay {
    opacity: 1;

    visibility: visible;
}


/* =========================================================
   HAMBURGER → X
========================================================= */

body.menu-open .mobile-menu-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.menu-open .mobile-menu-button span:nth-child(2) {
    opacity: 0;
}

body.menu-open .mobile-menu-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* =========================================================
   HOME SECTIONS
========================================================= */

.home-section {
    padding: 58px 0;
}

.grey-section {
    background: #f8f8f9;
}

main {
    width: 100%;

    overflow: hidden;
}

.home-section + .home-section {
    border-top: 1px solid transparent;
}

.home-section .container,
.site-header .container,
.site-footer .container {
    max-width: 1320px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    min-height: 42px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 25px;
}

.section-label {
    display: block;

    margin-bottom: 5px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;

    color: var(--black);

    font-size: 28px;
    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -0.8px;
}

.view-all {
    color: var(--black);

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}

.view-all:hover {
    color: var(--primary);
}


/* =========================================================
   LATEST MUSIC
========================================================= */

.music-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 22px;

    align-items: start;
}

.music-card {
    min-width: 0;
}

.music-card-image {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 8px;

    background: #eeeeef;
}

.music-card-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0);

    transition: background 0.25s ease;
}

.music-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.music-card:hover .music-card-image img {
    transform: scale(1.06);
}

.music-card:hover .music-card-image::after {
    background: rgba(0, 0, 0, 0.18);
}


/* =========================================================
   MUSIC CARD CONTENT
========================================================= */

.music-card-content {
    padding-top: 12px;
}

.music-card-content h3 {
    margin: 0 0 5px;

    overflow: hidden;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.35;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.music-card-content h3 a:hover {
    color: var(--primary);
}

.artist-name {
    display: block;

    overflow: hidden;

    color: #666666;

    font-size: 12px;

    line-height: 1.3;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.artist-name:hover {
    color: var(--primary);
}

.card-meta {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-top: 7px;

    color: #999999;

    font-size: 10px;
}

.card-meta span {
    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.card-meta span + span::before {
    content: "•";

    margin-right: 7px;
}


/* =========================================================
   MUSIC PLAY BUTTON
========================================================= */

.play-button {
    position: absolute;

    z-index: 2;

    right: 12px;
    bottom: 12px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: var(--primary);

    color: #ffffff;

    font-size: 15px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.25);

    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.music-card:hover .play-button {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   LATEST ALBUMS
========================================================= */

.album-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 22px;

    align-items: start;
}

.album-card {
    min-width: 0;
}

.album-image {
    position: relative;

    display: block;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 8px;

    background: #eeeeef;
}

.album-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.22),
            transparent 45%
        );

    opacity: 0;

    transition: opacity 0.25s ease;
}

.album-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.album-card:hover .album-image img {
    transform: scale(1.06);
}

.album-card:hover .album-image::after {
    opacity: 1;
}


/* =========================================================
   ALBUM CONTENT
========================================================= */

.album-content {
    padding-top: 12px;
}

.album-type {
    display: block;

    margin-bottom: 5px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.album-content h3 {
    margin: 0 0 5px;

    overflow: hidden;

    color: var(--black);

    font-size: 14px;
    font-weight: 700;

    line-height: 1.35;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.album-content h3 a:hover {
    color: var(--primary);
}

.album-content .artist-name {
    font-size: 12px;
}


/* =========================================================
   LATEST MUSIC VIDEOS
========================================================= */

.video-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;

    align-items: start;
}

.video-card {
    min-width: 0;
}


/* =========================================================
   VIDEO IMAGE
========================================================= */

.video-image {
    position: relative;

    display: block;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 8px;

    background: #111111;
}

.video-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.video-card:hover .video-image img {
    transform: scale(1.05);

    filter: brightness(0.72);
}

.video-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0);

    transition: background 0.25s ease;

    pointer-events: none;
}

.video-card:hover .video-image::after {
    background: rgba(0, 0, 0, 0.18);
}


/* =========================================================
   VIDEO PLAY
========================================================= */

.video-play {
    position: absolute;

    z-index: 3;

    left: 50%;
    top: 50%;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border: 0;
    border-radius: 50%;

    background: var(--primary);

    color: #ffffff;

    font-size: 17px;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.video-card:hover .video-play {
    transform: translate(-50%, -50%) scale(1.08);

    background: var(--primary-dark);
}


/* =========================================================
   VIDEO CONTENT
========================================================= */

.video-content {
    padding-top: 13px;
}

.video-content h3 {
    margin: 0 0 6px;

    color: var(--black);

    font-size: 15px;
    font-weight: 700;

    line-height: 1.4;
}

.video-content h3 a {
    transition: color 0.2s ease;
}

.video-content h3 a:hover {
    color: var(--primary);
}

.video-content .artist-name {
    margin-bottom: 7px;
}

.video-views {
    display: block;

    color: #999999;

    font-size: 11px;
}


/* =========================================================
   LATEST NEWS
========================================================= */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;

    align-items: start;
}

.news-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.07);
}


/* =========================================================
   NEWS IMAGE
========================================================= */

.news-image {
    position: relative;

    display: block;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #eeeeef;
}

.news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}


/* =========================================================
   NEWS CONTENT
========================================================= */

.news-content {
    padding: 17px 17px 18px;
}

.news-date {
    display: block;

    margin-bottom: 7px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.news-content h3 {
    margin: 0 0 13px;

    color: var(--black);

    font-size: 15px;
    font-weight: 700;

    line-height: 1.4;
}

.news-content h3 a {
    transition: color 0.2s ease;
}

.news-content h3 a:hover {
    color: var(--primary);
}

.read-more {
    display: inline-flex;
    align-items: center;

    color: #555555;

    font-size: 11px;
    font-weight: 700;
}

.read-more:hover {
    color: var(--primary);
}


/* =========================================================
   POPULAR ARTISTS
========================================================= */

.artists-grid {
    display: grid;

    grid-template-columns:
        repeat(8, minmax(0, 1fr));

    gap: 26px;

    align-items: start;
}

.artist-card {
    min-width: 0;

    display: block;

    text-align: center;
}

.artist-image {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    margin-bottom: 12px;

    overflow: hidden;

    border-radius: 50%;

    background: #eeeeef;

    box-shadow:
        0 0 0 1px #eeeeee;

    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.artist-image::after {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: 50%;

    background: rgba(124, 58, 237, 0);

    transition: background 0.25s ease;
}

.artist-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.artist-card:hover .artist-image {
    transform: translateY(-3px);

    box-shadow:
        0 0 0 2px var(--primary);
}

.artist-card:hover .artist-image img {
    transform: scale(1.06);
}

.artist-card:hover .artist-image::after {
    background: rgba(124, 58, 237, 0.08);
}

.artist-card h3 {
    margin: 0;

    overflow: hidden;

    color: var(--black);

    font-size: 13px;
    font-weight: 700;

    line-height: 1.35;

    white-space: nowrap;

    text-overflow: ellipsis;

    transition: color 0.2s ease;
}

.artist-card:hover h3 {
    color: var(--primary);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    margin-top: 20px;

    background: #7c3aed;

    color: #ffffff;
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.footer-main {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 60px;

    padding-top: 58px;
    padding-bottom: 52px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {
    max-width: 380px;
}

.footer-brand .site-logo {
    font-size: 22px;
}

.footer-brand .site-logo span {
    color: #ffffff;
}

.footer-brand .site-logo strong {
    color: var(--primary);
}

.footer-brand p {
    max-width: 340px;

    margin: 16px 0 0;

    color: #fff;

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 11px;
}

.footer-column h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.footer-column a {
    width: fit-content;

    color: #fff;

    font-size: 12px;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #fff;

    color: #fff;

    font-size: 11px;
}


/* =========================================================
   TABLET — 1150PX
========================================================= */

@media (max-width: 1150px) {

    .header-inner {
        gap: 20px;
    }

    .main-nav {
        gap: 18px;
    }

    .header-search {
        width: 200px;
    }

    .music-grid,
    .album-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .artists-grid {
        grid-template-columns:
            repeat(6, minmax(0, 1fr));

        gap: 24px;
    }

}


/* =========================================================
   MOBILE / TABLET — 900PX
========================================================= */

@media (max-width: 900px) {

    /* Header */

    .header-inner {
        min-height: 64px;

        gap: 12px;
    }

    .main-nav {
        display: none;
    }

    .login-button {
        display: none;
    }

    .header-search {
        margin-left: auto;

        width: 190px;

        height: 38px;
    }

    /*
     * IMPORTANT:
     * Hamburger exists ONLY below 900px.
     */

    .mobile-menu-button {
        display: flex !important;
    }


    /* Homepage grids */

    .music-grid,
    .album-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .video-grid,
    .news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 22px;
    }

    .artists-grid {
        grid-template-columns:
            repeat(5, minmax(0, 1fr));

        gap: 22px 18px;
    }


    /* Sections */

    .home-section {
        padding-top: 45px;
        padding-bottom: 45px;
    }

}


/* =========================================================
   MOBILE — 600PX
========================================================= */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 28px);
    }


    /* Header */

    .header-inner {
        min-height: 62px;

        gap: 9px;
    }

    .site-logo {
        font-size: 18px;
    }

    .header-search {
        width: auto;

        flex: 1;

        height: 40px;
    }

    .header-search input {
        font-size: 11px;
    }

    .header-search button {
        flex: 0 0 40px;

        width: 40px;
    }

    .mobile-menu-button {
        width: 42px;
        height: 42px;
    }

    .mobile-menu-button span {
        width: 23px;
        height: 3px;
    }


    /* Sections */

    .home-section {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .section-heading {
        align-items: center;

        margin-bottom: 18px;
    }

    .section-label {
        margin-bottom: 5px;

        font-size: 9px;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 22px;
    }

    .view-all {
        font-size: 11px;
    }


    /* Music */

    .music-grid,
    .album-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 18px 14px;
    }


    /* Videos */

    .video-grid {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .video-play {
        width: 50px;
        height: 50px;

        font-size: 15px;
    }


    /* News */

    .news-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .news-content {
        padding: 15px;
    }

    .news-content h3 {
        font-size: 14px;
    }


    /* Artists */

    .artists-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 16px 12px;
    }

    .artist-image {
        margin-bottom: 9px;
    }

    .artist-card h3 {
        font-size: 11px;
    }


    /* Music play button */

    .play-button {
        width: 38px;
        height: 38px;

        right: 9px;
        bottom: 9px;

        opacity: 1;

        transform: none;

        font-size: 13px;
    }


    /* Footer */

    .site-footer {
        margin-top: 10px;
    }

    .footer-main {
        grid-template-columns:
            1fr
            1fr;

        gap: 35px 25px;

        padding-top: 45px;
        padding-bottom: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        min-height: 55px;

        justify-content: center;

        text-align: center;
    }

}


/* =========================================================
   SMALL PHONE — 420PX
========================================================= */

@media (max-width: 420px) {

    .site-logo {
        font-size: 17px;
    }

    .header-inner {
        gap: 7px;
    }

    .header-search {
        min-width: 0;
    }

    .header-search input {
        padding-left: 8px;
        padding-right: 8px;

        font-size: 10px;
    }

    .header-search button {
        flex-basis: 37px;

        width: 37px;
    }

    .mobile-menu-button {
        width: 40px;
        height: 40px;
    }

    .artists-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   VERY SMALL PHONE — 380PX
========================================================= */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 24px);
    }

    .site-logo {
        font-size: 16px;
    }

    .header-search input {
        padding-left: 6px;
        padding-right: 6px;
    }

    .header-search button {
        flex-basis: 35px;

        width: 35px;
    }

    .mobile-menu-button {
        width: 38px;
        height: 38px;
    }

    .mobile-menu-button span {
        width: 22px;
    }

    .artists-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 20px 15px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   DESKTOP SAFETY
   901PX AND ABOVE
========================================================= */

@media (min-width: 901px) {

    /*
     * Absolutely hide mobile controls on desktop.
     * This overrides accidental display rules elsewhere.
     */

    .mobile-menu-button {
        display: none !important;
    }

    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }

}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .music-grid,
    .album-grid {
        gap: 24px;
    }

    .video-grid,
    .news-grid {
        gap: 26px;
    }

}


/* =========================================================
   FRONTEND ADVERTISEMENTS
========================================================= */

.frontend-ad {
    width: 100%;

    margin: 24px auto;

    text-align: center;

    overflow: hidden;
}

.frontend-ad:empty {
    display: none;
}

.frontend-ad img {
    display: block;

    max-width: 100%;
    height: auto;

    margin-right: auto;
    margin-left: auto;
}

.frontend-ad iframe {
    max-width: 100%;
}

.frontend-ad-global-header {
    margin-top: 18px;
    margin-bottom: 18px;
}

.frontend-ad-entertainment-top {
    margin-top: 0;
    margin-bottom: 25px;
}

.frontend-ad-entertainment-bottom {
    margin-top: 28px;
    margin-bottom: 28px;
}

.frontend-ad-global-footer {
    margin-top: 30px;
    margin-bottom: 30px;
}


@media (max-width: 600px) {

    .frontend-ad {
        margin-top: 18px;
        margin-bottom: 18px;
    }

}

/* =========================================================
   MOBILE STICKY ADVERTISEMENT
========================================================= */

.mobile-sticky-ad {
    position: fixed;

    right: 0;
    bottom: 0;
    left: 0;

    z-index: 9990;

    width: 100%;

    padding:
        7px
        44px
        calc(
            7px
            + env(safe-area-inset-bottom)
        )
        7px;

    border-top: 1px solid rgba(0, 0, 0, .10);

    background: rgba(255, 255, 255, .98);

    box-shadow:
        0 -4px 18px
        rgba(0, 0, 0, .10);

    box-sizing: border-box;
}

.mobile-sticky-ad[hidden] {
    display: none !important;
}


/* =========================================================
   INNER
========================================================= */

.mobile-sticky-ad-inner {
    position: relative;

    width: 100%;
    max-width: 728px;

    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   AD CONTENT
========================================================= */

.mobile-sticky-ad-content {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 50px;

    text-align: center;

    overflow: hidden;
}

.mobile-sticky-ad-content > * {
    max-width: 100%;
}

.mobile-sticky-ad-content img {
    display: block;

    max-width: 100%;
    height: auto;

    margin-right: auto;
    margin-left: auto;
}

.mobile-sticky-ad-content iframe {
    display: block;

    max-width: 100%;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.mobile-sticky-ad-close {
    position: absolute;

    top: -3px;
    right: -37px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    padding: 0;

    border: 1px solid #d4d4d8;
    border-radius: 50%;

    background: #ffffff;

    color: #27272a;

    font-size: 20px;
    font-weight: 500;

    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 1px 4px
        rgba(0, 0, 0, .10);
}


/* =========================================================
   PAGE SPACE WHILE STICKY AD IS OPEN
========================================================= */

body.mobile-sticky-ad-visible {
    padding-bottom:
        calc(
            var(
                --mobile-sticky-ad-height,
                90px
            )
            + 12px
        );
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 901px) {

    .mobile-sticky-ad {
        display: none !important;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .mobile-sticky-ad {
        padding-left: 4px;
        padding-right: 38px;
    }

    .mobile-sticky-ad-close {
        right: -33px;

        width: 27px;
        height: 27px;

        font-size: 18px;
    }

}



/* =========================================================
   SIDEBAR
========================================================= */

.sidebar-widget {
    margin-bottom: 28px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: #ffffff;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SIDEBAR TITLE
========================================================= */

.sidebar-widget-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 17px;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--border);
}

.sidebar-widget-title h2 {
    margin: 0;

    color: var(--black);

    font-size: 15px;
    font-weight: 800;
}

.sidebar-widget-title > a {
    color: var(--primary);

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   SIDEBAR MEDIA LIST
========================================================= */

.sidebar-list {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.sidebar-media-item {
    display: grid;

    grid-template-columns:
        58px
        minmax(0, 1fr);

    gap: 11px;

    align-items: center;
}

.sidebar-media-image {
    width: 58px;
    height: 58px;

    overflow: hidden;

    border-radius: 6px;

    background: #eeeeef;
}

.sidebar-media-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.sidebar-media-content {
    min-width: 0;
}

.sidebar-media-content h3 {
    margin: 0 0 5px;

    color: var(--black);

    font-size: 11px;
    font-weight: 700;

    line-height: 1.4;

    display: -webkit-box;

    overflow: hidden;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sidebar-media-content h3 a:hover {
    color: var(--primary);
}

.sidebar-media-content span {
    display: block;

    color: #888888;

    font-size: 10px;

    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* =========================================================
   SIDEBAR ARTISTS
========================================================= */

.sidebar-artists {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px 10px;
}

.sidebar-artist {
    min-width: 0;

    text-align: center;
}

.sidebar-artist-image {
    width: 100%;

    aspect-ratio: 1 / 1;

    margin-bottom: 6px;

    overflow: hidden;

    border-radius: 50%;

    background: #eeeeef;
}

.sidebar-artist-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.sidebar-artist span {
    display: block;

    overflow: hidden;

    color: #333333;

    font-size: 9px;
    font-weight: 700;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.sidebar-artist:hover span {
    color: var(--primary);
}


/* =========================================================
   SIDEBAR NEWS
========================================================= */

.sidebar-news-list {
    display: flex;

    flex-direction: column;
}

.sidebar-news-item {
    padding: 12px 0;

    border-bottom: 1px solid var(--border);
}

.sidebar-news-item:first-child {
    padding-top: 0;
}

.sidebar-news-item:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.sidebar-news-item h3 {
    margin: 0 0 6px;

    color: var(--black);

    font-size: 11px;
    font-weight: 700;

    line-height: 1.45;
}

.sidebar-news-item h3 a:hover {
    color: var(--primary);
}

.sidebar-news-item span {
    color: #999999;

    font-size: 9px;
}
