/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/* ═══════════════════════════════════════════════════
   ODCINKI PODCASTU — siatka [mba_odcinki]
   ═══════════════════════════════════════════════════ */

.mba-episodes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ── Karta odcinka ── */
.mba-episode {
    background: #f7f7f7;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mba-episode:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* ── Dark variant ── */
.mba-episodes--dark .mba-episode {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.06);
}

.mba-episodes--dark .mba-episode:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* ── Link wrapper ── */
.mba-episode__link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 24px;
}

.mba-episode__link:hover {
    text-decoration: none;
    color: inherit;
}

/* ── Content row (text + thumb) ── */
.mba-episode__content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mba-episode__text {
    flex: 1;
    min-width: 0;
}

/* ── Title ── */
.mba-episode__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
    color: #1a1a1a;
}

.mba-episodes--dark .mba-episode__title {
    color: #ffffff;
}

/* ── Description ── */
.mba-episode__desc {
    font-size: 13px;
    color: #888888;
    line-height: 1.6;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mba-episodes--dark .mba-episode__desc {
    color: rgba(255, 255, 255, 0.45);
}

/* ── Meta (date) ── */
.mba-episode__meta {
    font-size: 12px;
    color: #aaaaaa;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mba-episode__meta i {
    font-size: 11px;
}

.mba-episodes--dark .mba-episode__meta {
    color: rgba(255, 255, 255, 0.35);
}

/* ── Thumbnail ── */
.mba-episode__thumb {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

/* ── Spotify player toggle ── */
.mba-episode__player {
    padding: 0 24px 24px;
}

.mba-episode__play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 100px;
    border: none;
    background: #1DB954;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.mba-episode__play-btn:hover {
    background: #1ed760;
    transform: scale(1.03);
}

.mba-episode__play-btn i {
    font-size: 11px;
}

.mba-episode__embed {
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════
   PAGINACJA ODCINKÓW
   ═══════════════════════════════════════════════════ */

.mba-episodes-nav {
    margin-top: 40px;
    text-align: center;
}

.mba-episodes-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.mba-episodes-nav li {
    display: inline-flex;
}

.mba-episodes-nav a,
.mba-episodes-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

/* Domyślny (jasny) styl */
.mba-episodes-nav a {
    background: #f0f0f0;
    color: #1a1a1a;
}

.mba-episodes-nav a:hover {
    background: #F5A623;
    color: #ffffff;
    transform: translateY(-1px);
}

.mba-episodes-nav span.current {
    background: #F5A623;
    color: #ffffff;
}

.mba-episodes-nav .dots {
    background: transparent;
    color: #999999;
}

/* Prev / Next */
.mba-episodes-nav .prev,
.mba-episodes-nav .next {
    gap: 6px;
}

.mba-episodes-nav .prev i,
.mba-episodes-nav .next i {
    font-size: 11px;
}

/* Ciemny styl paginacji (w sekcji Neuromarketing) */
.nma-section .mba-episodes-nav a {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
}

.nma-section .mba-episodes-nav a:hover {
    background: #8b5cf6;
    color: #ffffff;
}

.nma-section .mba-episodes-nav span.current {
    background: #8b5cf6;
    color: #ffffff;
}

.nma-section .mba-episodes-nav .dots {
    color: rgba(255, 255, 255, 0.3);
}

/* ── Pusty stan ── */
.mba-episodes-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999999;
    font-size: 15px;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .mba-episodes {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mba-episode__link {
        padding: 20px;
    }

    .mba-episode__player {
        padding: 0 20px 20px;
    }

    .mba-episode__title {
        font-size: 15px;
    }

    .mba-episode__thumb {
        width: 72px;
        height: 72px;
    }
}
