/* ==========================================================================
   Radio Platform – Latest Station Cards
   ========================================================================== */

.latest-stations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.latest-station-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;

    min-height: 132px;
    padding: 18px;

    border: 1px solid rgba(91, 77, 245, 0.10);
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.06);

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

.latest-station-card:hover {
    transform: translateY(-4px);

    border-color: rgba(91, 77, 245, 0.20);

    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.11);
}

/* Logo */

.latest-station-card__logo {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;

    overflow: hidden;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(91, 77, 245, 0.08),
            rgba(139, 92, 246, 0.13)
        );
}

.latest-station-card__logo img {
    display: block;
    width: 82%;
    height: 82%;

    object-fit: contain;
}

.latest-station-card__placeholder {
    font-size: 34px;
    line-height: 1;
}

/* Sadržaj */

.latest-station-card__content {
    min-width: 0;
}

.latest-station-card__title {
    margin: 0;

    overflow: hidden;

    color: var(--public-text);

    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;

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

.latest-station-card__title a {
    color: inherit;
    text-decoration: none;
}

.latest-station-card__title a:hover {
    color: var(--public-primary);
}

.latest-station-card__meta {
    margin-top: 5px;

    overflow: hidden;

    color: var(--public-text-soft);

    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;

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

.latest-station-card__now-playing {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;

    margin-top: 10px;

    color: #5b4df5;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.latest-station-card__now-playing-icon {
    flex: 0 0 auto;
}

.latest-station-card__now-playing-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Desna strana */

.latest-station-card__actions {
    display: flex;
    min-width: 132px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
}

.latest-station-card__status {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--public-text-soft);

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

.latest-station-card__status-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #94a3b8;
}

.latest-station-card__status-dot.is-online {
    background: #22c55e;

    box-shadow:
        0 0 0 4px rgba(34, 197, 94, 0.13);
}

.latest-station-card__status-dot.is-offline {
    background: #ef4444;

    box-shadow:
        0 0 0 4px rgba(239, 68, 68, 0.12);
}

.latest-station-card__play-button {
    display: inline-flex;
    width: 132px;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 0 16px;

    border: 0;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(91, 77, 245, 0.10),
            rgba(139, 92, 246, 0.14)
        );

    color: var(--public-primary);

    box-shadow:
        0 10px 24px rgba(91, 77, 245, 0.13);

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

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.latest-station-card__play-button:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            rgba(91, 77, 245, 0.15),
            rgba(139, 92, 246, 0.20)
        );

    box-shadow:
        0 14px 30px rgba(91, 77, 245, 0.18);
}

.latest-station-card__play-button.is-playing {
    background:
        linear-gradient(
            135deg,
            var(--public-primary),
            var(--public-secondary)
        );

    color: #ffffff;
}

/* Responsive */

@media (max-width: 1000px) {
    .latest-stations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .latest-station-card {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 14px;

        min-height: 0;
        padding: 16px;
    }

    .latest-station-card__logo {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }

    .latest-station-card__actions {
        grid-column: 1 / -1;

        width: 100%;
        min-width: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .latest-station-card__play-button {
        width: 124px;
        height: 44px;
    }

    .latest-station-card__title {
        font-size: 17px;
    }
}
/*
|--------------------------------------------------------------------------
| Featured station variation
|--------------------------------------------------------------------------
*/

.featured-station-card {
    position: relative;
}
