/* ================================================================
   Секция «Больше всего слушают» на странице /podcasts
   Самостоятельный файл: свои классы pod-top…, от других CSS не зависит.
   Переменные --text, --accent, --border берутся из общих стилей сайта (nav.css).
   ================================================================ */

.pod-top {
    margin-bottom: 56px;
}

.pod-top__title {
    margin: 0 0 16px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
}

.pod-top__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* --- Карточка выпуска --- */

.pod-top__card {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pod-top__card:hover {
    border-color: rgba(165, 180, 252, 0.45);
    background: rgba(165, 180, 252, 0.05);
    transform: translateY(-2px);
}

.pod-top__card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* --- Номер места --- */

.pod-top__rank {
    flex: none;
    width: 28px;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

/* --- Обложка --- */

.pod-top__cover {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.pod-top__cover--empty {
    background:
            radial-gradient(circle at 30% 30%, rgba(165, 180, 252, 0.35), transparent 60%),
            #1a1d24;
}

/* --- Текст --- */

.pod-top__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pod-top__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.pod-top__card:hover .pod-top__name {
    color: var(--accent);
}

.pod-top__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9aa0ab;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.pod-top__meta svg {
    flex: none;
    color: var(--accent);
}

.pod-top__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.pod-top__title {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
}

.pod-top__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.pod-top__all svg {
    transition: transform 0.2s ease;
}

.pod-top__all:hover svg {
    transform: translateX(3px);
}

.pod-top__all:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* --- Телефон --- */

@media (max-width: 600px) {
    .pod-top {
        margin-bottom: 40px;
    }

    .pod-top__title {
        font-size: 28px;
    }

    .pod-top__list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pod-top__card {
        padding: 12px;
    }

    .pod-top__cover {
        width: 56px;
        height: 56px;
    }
}