/**
 * Site header styles.
 * Loaded by radio-core plugin on all pages except /radio/.
 * Fonts: Rubik (body) + Dela Gothic One (display) — RP reference.
 */

.rp-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #0f0f0f;
    border-bottom: 1px solid #282828;
    font-family: 'Rubik', sans-serif;
    /* Montserrat for nav/buttons — оба семейства с кириллицей */
}

.rp-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    gap: 24px;
}

.rp-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rp-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.rp-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.rp-nav a {
    font-family: 'Montserrat', sans-serif;
    color: #b3b3b3;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    white-space: nowrap;
}

.rp-nav a:hover {
    color: #1ed760;
}

.rp-join-btn {
    font-family: 'Montserrat', sans-serif;
    background: #1ed760;
    color: #0f0f0f !important;
    padding: 10px 24px;
    border-radius: 500px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}

.rp-join-btn:hover {
    background: #1fdf64;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .rp-header-inner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px 16px;
    }
    .rp-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 18px;
        padding-bottom: 4px;
    }
    .rp-nav a {
        font-size: 14px;
    }
    .rp-join-btn {
        margin-left: auto;
    }
}

/* ---------- Channels view toggle ---------- */
.rp-channels-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}
.rp-channels-controls .elementor-button {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 500px;
    border: 1px solid #282828;
    background: #181818;
    color: #b3b3b3;
    cursor: pointer;
    transition: all 0.2s;
}
.rp-channels-controls .elementor-button:hover {
    border-color: #1ed760;
    color: #1ed760;
}
.rp-channels-controls .elementor-button.active {
    background: #1ed760;
    border-color: #1ed760;
    color: #0f0f0f;
}
.rp-channels-controls .elementor-button.active:hover {
    color: #0f0f0f;
}

/* ---------- Channels list view ---------- */
.rp-channels-list {
    display: none;
    flex-direction: column;
    gap: 12px;
}
.rp-channel-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #181818;
    border: 1px solid #282828;
    border-radius: 12px;
    padding: 12px 16px;
    transition: border-color 0.2s;
}
.rp-channel-item:hover {
    border-color: #1ed760;
}
.rp-channel-item .elementor-widget-image img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.rp-channel-item .elementor-heading-title {
    flex: 1;
    margin: 0;
    text-align: left !important;
}
.rp-channel-item .elementor-button {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 500px;
    flex-shrink: 0;
}
