/**
 * Hitz360 Top 40 Songs
 * Lightweight post-content chart list.
 */

.hitz360-top40 {
    margin: 34px 0 10px;
    padding: 0;
    background: #fff;
    border-top: 4px solid rgb(218, 52, 55);
    font-family: inherit;
}

.hitz360-top40__kicker {
    display: inline-block;
    margin-top: 14px;
    color: var(--c-main, #2ab391);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.hitz360-top40__heading {
    margin: 8px 0 6px;
    color: #0f0f11;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}

.hitz360-top40__heading::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 12px;
    background: repeating-linear-gradient(
        90deg,
        rgba(15, 15, 17, 0.36) 0,
        rgba(15, 15, 17, 0.36) 8px,
        transparent 8px,
        transparent 14px
    );
}

.hitz360-top40__intro {
    margin: 0 0 4px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

.hitz360-top40__intro a {
    color: rgb(218, 52, 55);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.hitz360-top40__intro a:hover,
.hitz360-top40__intro a:focus {
    color: var(--c-main, #2ab391);
}

.hitz360-top40__list {
    margin: 0;
    padding: 6px 0 0;
    margin-left: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
    counter-reset: hitz-top40;
}

.hitz360-top40__item {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none !important;
    list-style-type: none !important;
    border-bottom: 1px solid rgba(15, 15, 17, 0.08);
    background: linear-gradient(90deg, rgba(42, 179, 145, 0.06), rgba(255, 255, 255, 0));
}

.hitz360-top40__item::before,
.hitz360-top40__item::after,
.hitz360-top40__item::marker {
    content: none !important;
    display: none !important;
}

.hitz360-top40__item:nth-child(even) {
    background: linear-gradient(90deg, rgba(218, 52, 55, 0.045), rgba(255, 255, 255, 0));
}

.hitz360-top40__link {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 6px;
    color: rgb(218, 52, 55);
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.hitz360-top40__link:hover,
.hitz360-top40__link:focus {
    color: var(--c-main, #2ab391);
    background: rgba(42, 179, 145, 0.09);
    transform: translateX(2px);
}

.hitz360-top40__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f6f6f6;
    color: #111;
    font-size: 12px;
    font-weight: 900;
}

.hitz360-top40__item:nth-child(1) .hitz360-top40__rank {
    background: rgb(218, 52, 55);
    color: #fff;
}

.hitz360-top40__item:nth-child(2) .hitz360-top40__rank {
    background: #ffd400;
    color: #111;
}

.hitz360-top40__item:nth-child(3) .hitz360-top40__rank {
    background: var(--c-main, #2ab391);
    color: #fff;
}

.hitz360-top40__title {
    display: block;
    color: currentColor;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.32;
    text-align: center;
    overflow-wrap: anywhere;
}

@media (max-width: 680px) {
    .hitz360-top40 {
        margin-top: 26px;
    }

    .hitz360-top40__heading {
        font-size: 20px;
    }

    .hitz360-top40__intro {
        font-size: 12px;
    }

    .hitz360-top40__link {
        grid-template-columns: 36px minmax(0, 1fr);
        min-height: 44px;
        padding: 9px 4px;
    }

    .hitz360-top40__rank {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .hitz360-top40__title {
        font-size: 15px;
    }
}
