/* =========================================================
   AMFR 3.x — REKOMENDOWANE PRZEZ AMFR
   12 utworów
   Desktop: 6 kafli × 2 rzędy
   ========================================================= */

.recommended-amfr-section {
    width: min(96vw, 1720px);
    margin: 18px auto 30px;
    padding: 18px;
    background:
        linear-gradient(
            180deg,
            rgba(15, 12, 7, .97),
            rgba(3, 3, 3, .98)
        );
    border: 1px solid rgba(215, 166, 60, .65);
    border-radius: 18px;
    box-shadow:
        0 0 18px rgba(215, 166, 60, .16),
        inset 0 0 20px rgba(215, 166, 60, .03);
    box-sizing: border-box;
}

.recommended-amfr-header {
    text-align: center;
    margin-bottom: 16px;
}

.recommended-amfr-header h2 {
    margin: 0 0 5px;
    color: #f1ca72;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .4px;
}

.recommended-amfr-header p {
    margin: 0;
    color: #ddd;
    font-size: 13px;
    line-height: 1.35;
}


/* ===== SIATKA ===== */

.recommended-amfr-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}


/* ===== POJEDYNCZY KAFEL ===== */

.recommended-amfr-card {
    min-width: 0;
    width: 100%;

    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 9px;

    min-height: 110px;
    padding: 9px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 17, 10, .96),
            rgba(5, 5, 5, .98)
        );

    border: 1px solid rgba(215, 166, 60, .42);
    border-radius: 12px;

    box-shadow:
        inset 0 0 12px rgba(215, 166, 60, .025);

    box-sizing: border-box;
    overflow: hidden;
}


/* ===== OKŁADKA ===== */

.recommended-cover-link {
    display: block;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.recommended-cover {
    display: block;

    width: 72px;
    height: 72px;

    object-fit: cover;

    border-radius: 8px;
    border: 1px solid rgba(215, 166, 60, .48);

    box-shadow:
        0 0 8px rgba(0, 0, 0, .55);
}


/* ===== INFORMACJE ===== */

.recommended-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 3px;
}


/* ARTYSTA */

.recommended-artist {
    display: block;

    color: #f1ca72;

    font-size: 11px;
    line-height: 1.15;
    font-weight: 800;

    text-decoration: none;

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


/* TYTUŁ */

.recommended-title {
    color: #fff;

    font-size: 12px;
    line-height: 1.18;
    font-weight: 700;

    text-decoration: none;

    overflow: hidden;

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


/* ===== STATYSTYKI ===== */

.recommended-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 3px;

    margin-top: 2px;

    color: #ddd;

    font-size: 9px;
    line-height: 1.2;
    font-weight: 600;
}

.recommended-stats span {
    white-space: nowrap;
}

.recommended-like {
    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    color: #ddd;

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

    cursor: pointer;
}


/* ===== PLAY / STOP ===== */

.recommended-actions {
    display: flex;

    gap: 5px;

    margin-top: 3px;
}

.recommended-actions button {
    min-width: 0;
    min-height: 25px;

    padding: 4px 6px;

    border: 1px solid rgba(215, 166, 60, .60);
    border-radius: 6px;

    background:
        linear-gradient(
            180deg,
            rgba(30, 24, 12, .98),
            rgba(8, 8, 8, .98)
        );

    color: #f1ca72;

    font-size: 9px;
    line-height: 1;
    font-weight: 800;

    cursor: pointer;
}

.recommended-actions button:hover {
    border-color: #f1ca72;

    box-shadow:
        0 0 7px rgba(215, 166, 60, .32);
}


/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */

/* mniejszy desktop */

@media (max-width: 1500px) {

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

}


/* tablet */

@media (max-width: 1050px) {

    .recommended-amfr-section {
        width: calc(100% - 24px);
        padding: 14px;
    }

    .recommended-amfr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recommended-amfr-card {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .recommended-cover-link,
    .recommended-cover {
        width: 82px;
        height: 82px;
    }

}


/* telefon */

@media (max-width: 560px) {

    .recommended-amfr-grid {
        grid-template-columns: 1fr;
    }

    .recommended-amfr-card {
        grid-template-columns: 78px minmax(0, 1fr);

        min-height: 104px;
    }

    .recommended-cover-link,
    .recommended-cover {
        width: 78px;
        height: 78px;
    }

    .recommended-amfr-header h2 {
        font-size: 18px;
    }

}