.rr-podcast-archive,
.rr-podcast-person-search,
.rr-podcast-single,
.rr-template-wrap,
.rr-modal,
.rr-filter-card,
.rr-single-card,
.rr-podcast-card {
    font-family: "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
    color: #0f172a;
}

.rr-podcast-archive,
.rr-podcast-person-search,
.rr-podcast-single {
    margin: 1.25rem 0;
}

.rr-filter-card,
.rr-single-card {
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.rr-filter-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 36%),
        linear-gradient(135deg, #c65a5a 0%, #d97a7a 24%, #5d8ae3 68%, #4569bf 100%);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 14px 30px rgba(47, 83, 164, 0.16);
}

.rr-filter-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
    pointer-events: none;
}

.rr-single-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe7f7;
}

.rr-filter-card > * {
    position: relative;
    z-index: 1;
}

.rr-filter-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.15rem 1.2rem;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 100%);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(7px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.rr-filter-top-main {
    max-width: 760px;
}

.rr-filter-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.55rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: rgba(15,23,42,0.16);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.96);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rr-filter-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
    max-width: 420px;
}

.rr-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.58rem 0.85rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(255,255,255,0.42);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.rr-filter-pill strong {
    color: #1d4ed8;
    font-size: 1rem;
}

.rr-filter-top h2,
.rr-single-header h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.9rem, 2.6vw, 2.35rem);
    line-height: 1.15;
}

.rr-filter-card .rr-filter-top h2 {
    color: #ffffff;
    font-family: Inter, "Trebuchet MS", "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: clamp(2.2rem, 3.2vw, 2.85rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 12px rgba(15, 23, 42, 0.18);
}

.rr-filter-card .rr-filter-top p {
    color: rgba(255,255,255,0.92);
    font-size: 1.03rem;
    line-height: 1.6;
    margin: 0;
    max-width: 760px;
}

.rr-results-meta,
.rr-highlight-role {
    color: #374151;
}

.rr-grid {
    display: grid;
    gap: 1rem;
}

.rr-grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.rr-grid-6 {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.rr-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.rr-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.rr-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.rr-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.rr-podcast-filter-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.rr-podcast-filter-form input,
.rr-podcast-filter-form select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    box-sizing: border-box;
    background: #fff;
}


.rr-filter-card label {
    color: #ffffff;
    text-shadow: 0 1px 10px rgba(15, 23, 42, 0.20);
}

.rr-filter-card input,
.rr-filter-card select {
    border: 1px solid rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.95);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
    color: #0f172a;
}

.rr-filter-card input::placeholder {
    color: #64748b;
}

.rr-filter-card .rr-actions button {
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    color: #1e3a8a;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
}

.rr-filter-card .rr-actions .rr-btn-secondary {
    background: rgba(255,255,255,0.16);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.38);
    box-shadow: none;
    backdrop-filter: blur(4px);
}

.rr-filter-card .rr-actions .rr-btn-secondary:hover {
    background: rgba(255,255,255,0.24);
}


.rr-filter-card .rr-grid {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);
}

.rr-actions {
    display: flex;
    align-items: end;
    gap: 0.75rem;
}

.rr-actions-stacked {
    flex-direction: row;
    flex-wrap: wrap;
}

.rr-actions-top-gap {
    margin-top: 1rem;
}

.rr-actions-bottom-align {
    align-self: end;
}

.rr-actions button,
.rr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rr-actions button:hover,
.rr-btn:hover {
    transform: translateY(-1px);
}

.rr-actions button,
.rr-btn,
.rr-btn-primary {
    background: #1d4ed8;
    color: #ffffff;
}

.rr-btn-secondary {
    background: #eef2ff;
    color: #1e3a8a;
}

.rr-btn,
.rr-actions button {
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.14);
}

.rr-results-meta {
    margin: 1rem 0;
    font-size: 1rem;
    color: #334155;
}

.rr-info-box {
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1e3a8a;
}

.rr-live-container {
    position: relative;
}

.rr-live-container.rr-is-loading {
    opacity: 0.75;
}

.rr-live-container.rr-is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.rr-podcast-card {
    border: 1px solid #dbe7f7;
    border-radius: 20px;
    padding: 1.15rem;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rr-podcast-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.rr-podcast-results .rr-podcast-card:nth-child(odd) {
    background: linear-gradient(180deg, #f3f8ff 0%, #eaf3ff 100%);
    border-color: #cfe1fb;
}

.rr-podcast-results .rr-podcast-card:nth-child(even) {
    background: linear-gradient(180deg, #fff4f6 0%, #ffecef 100%);
    border-color: #f6c8d2;
}

.rr-podcast-results .rr-podcast-card:nth-child(odd) .rr-person-pill,
.rr-podcast-results .rr-podcast-card:nth-child(even) .rr-person-pill {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
}

.rr-podcast-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rr-podcast-title {
    margin: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 1.62rem;
    line-height: 1.24;
    font-weight: 800;
    letter-spacing: -0.018em;
    text-rendering: optimizeLegibility;
}

.rr-podcast-title a {
    text-decoration: none;
    color: #0f172a;
    font-family: inherit;
}

.rr-podcast-title a:hover {
    color: #1d4ed8;
}

.rr-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rr-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.rr-badge-category {
    background: #dbeafe;
    color: #1d4ed8;
}

.rr-badge-competition {
    background: #dcfce7;
    color: #166534;
}

.rr-badge-season {
    background: #f3e8ff;
    color: #7c3aed;
}

.rr-badge-neutral {
    background: #e2e8f0;
    color: #0f172a;
}

.rr-podcast-description p {
    margin-top: 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #334155;
}

.rr-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.65rem;
}

.rr-person-pill {
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 14px;
    padding: 0.65rem 0.75rem;
}

.rr-person-role {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: #1d4ed8;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rr-person-name {
    display: block;
    font-size: 0.96rem;
    font-weight: 600;
    color: #0f172a;
}

.rr-audio-player {
    margin-top: 0.2rem;
}

.rr-audio-player audio,
.rr-audio-player .wp-audio-shortcode {
    width: 100%;
}

.rr-podcast-links,
.rr-single-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.rr-empty-state {
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 1.5rem;
    background: #f8fafc;
}

.rr-pagination {
    margin-top: 1.25rem;
}

.rr-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rr-pagination .page-numbers a,
.rr-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    text-decoration: none;
    background: #ffffff;
}

.rr-pagination .page-numbers .current {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

.rr-people-grid-single {
    margin: 1rem 0 1.25rem;
}

.rr-modal-open {
    overflow: hidden;
}

.rr-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.rr-modal[hidden] {
    display: none;
}

.rr-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.7);
}

.rr-modal-dialog {
    position: relative;
    max-width: 900px;
    margin: 4vh auto;
    max-height: 92vh;
    overflow: auto;
    padding: 1rem;
}

.rr-modal-close {
    position: sticky;
    top: 0;
    float: right;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    margin-bottom: 0.75rem;
}

.rr-modal-content {
    clear: both;
}

.rr-single-modal-card {
    margin: 0;
}

.rr-modal-loading {
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 640px) {
    .rr-actions,
    .rr-actions-stacked,
    .rr-podcast-links,
    .rr-single-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rr-btn,
    .rr-actions button {
        width: 100%;
    }

    .rr-modal-dialog {
        margin: 1.5vh auto;
        padding: 0.6rem;
    }
}

.rr-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rr-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111827;
    font-size: 0.86rem;
}

.rr-card-meta-single {
    margin-top: 0.75rem;
}

.rr-card-featured {
    border-color: #bfdbfe;
    box-shadow: 0 16px 40px rgba(29, 78, 216, 0.12);
}

.rr-featured-section {
    margin: 0 0 1.5rem;
}

.rr-featured-head {
    margin-bottom: 1rem;
    padding: 1.25rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid #dbeafe;
}

.rr-featured-head h2 {
    margin: 0 0 0.35rem;
}

.rr-single-thumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    margin-bottom: 1rem;
}

.rr-template-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
}

.rr-template-head {
    margin-bottom: 1.25rem;
}

.rr-template-head h1 {
    margin-bottom: 0.35rem;
}

.rr-podcast-results .rr-podcast-card:nth-child(odd) .rr-badge-category { background: #d8e9ff; color: #1847ad; }
.rr-podcast-results .rr-podcast-card:nth-child(even) .rr-badge-category { background: #ffe1e7; color: #b42349; }


.rr-section-head {
    margin: 1.2rem 0 1rem;
}

.rr-section-head h2 {
    margin: 0 0 0.35rem;
    font-size: 1.6rem;
}

.rr-section-head p {
    margin: 0;
    color: #475569;
}

.rr-people-directory {
    margin: 1.5rem 0;
}

.rr-people-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.rr-person-directory-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe7f7;
    border-radius: 18px;
    padding: 1.1rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.rr-person-directory-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
}

.rr-person-stats {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    color: #334155;
}

.rr-badge-wrap-people {
    margin-bottom: 1rem;
}

.rr-person-detail {
    margin: 1.5rem 0;
}

.rr-person-detail-head {
    padding: 1.1rem 1.2rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    border: 1px solid #dbe7f7;
}

.rr-person-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.85rem;
    margin: 1rem 0 1.25rem;
}

.rr-person-summary-box {
    background: #ffffff;
    border: 1px solid #dbe7f7;
    border-radius: 16px;
    padding: 0.9rem 1rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.rr-person-summary-box strong {
    display: block;
    font-size: 1.35rem;
    color: #1d4ed8;
}

.rr-person-summary-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.82rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rr-podcast-stats-block {
    margin: 1.25rem 0 1.5rem;
}

.rr-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1rem 0 1.2rem;
}

.rr-stat-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(245,249,255,0.96) 100%);
    border: 1px solid #dbe7f7;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.rr-stat-label {
    display: block;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.rr-stat-card strong {
    font-size: 1.8rem;
    line-height: 1.1;
}

.rr-stats-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.rr-stats-panel {
    background: rgba(255,255,255,0.9);
    border: 1px solid #dbe7f7;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.rr-stats-panel h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.rr-stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rr-stats-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.rr-stats-list li:last-child {
    border-bottom: 0;
}

.rr-person-detail-actions {
    margin: 1rem 0 1.2rem;
}

.rr-hero-block {
    margin: 1.25rem 0 1.5rem;
    padding: 1.5rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.10), rgba(220, 38, 38, 0.10));
    border: 1px solid rgba(29, 78, 216, 0.12);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.rr-hero-eyebrow {
    display: inline-block;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1d4ed8;
}

.rr-hero-copy h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.15;
}

.rr-hero-copy p {
    max-width: 62ch;
}

.rr-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr);
    gap: 1.25rem;
    align-items: center;
}

.rr-hero-layout.has-image {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
}

.rr-hero-copy h2 a {
    color: inherit;
    text-decoration: none;
}

.rr-hero-badges {
    margin-bottom: 0.9rem;
}

.rr-hero-media {
    min-width: 0;
}

.rr-hero-image {
    border-radius: 18px;
    aspect-ratio: 16 / 10;
}

.rr-hero-actions {
    margin-top: 1rem;
}

.rr-hero-people {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin: 1rem 0 1.2rem;
    color: #1f2937;
}

.rr-latest-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.rr-latest-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1rem;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.rr-latest-media {
    margin: -1rem -1rem 0;
}

.rr-latest-image {
    border-radius: 18px 18px 0 0;
    aspect-ratio: 16 / 9;
}

.rr-latest-summary {
    margin: 0;
    color: #334155;
}

.rr-latest-actions {
    margin-top: auto;
}

.rr-latest-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.rr-latest-card h3 a {
    text-decoration: none;
}

.rr-latest-date {
    margin: 0;
    font-weight: 700;
    color: #1d4ed8;
}


.rr-podcast-card {
    position: relative;
    overflow: hidden;
}

.rr-podcast-card-media {
    margin: -1rem -1rem 0;
}

.rr-image-zoom {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: zoom-in;
    background: rgba(15, 23, 42, 0.05);
}

.rr-image-zoom::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,0.10) 100%);
    pointer-events: none;
}

.rr-podcast-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.rr-image-zoom:hover .rr-podcast-card-image {
    transform: scale(1.05);
    filter: saturate(1.04) contrast(1.02);
}

.rr-image-hover-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3vw;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    z-index: 999999;
}

body.rr-image-hover-open .rr-image-hover-overlay {
    opacity: 1;
    visibility: visible;
}

.rr-image-hover-stage {
    max-width: min(92vw, 1120px);
    max-height: 84vh;
    transform: scale(0.96);
    transition: transform 0.18s ease;
}

body.rr-image-hover-open .rr-image-hover-stage {
    transform: scale(1);
}

.rr-image-hover-stage img {
    display: block;
    max-width: 100%;
    max-height: 84vh;
    width: auto;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.34);
}

@media (max-width: 991px) {
    .rr-image-hover-overlay {
        display: none;
    }
}


.rr-podcast-card-header-top {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
}

.rr-podcast-card-titlewrap {
    flex: 1 1 auto;
    min-width: 0;
}

.rr-podcast-card-media-small {
    flex: 0 0 112px;
    width: 112px;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.rr-podcast-card-media-small .rr-image-zoom {
    border-radius: 14px;
}

.rr-podcast-card-media-small .rr-image-zoom::after {
    background: linear-gradient(180deg, rgba(15,23,42,0.02) 0%, rgba(15,23,42,0.14) 100%);
}

.rr-podcast-card-media-small .rr-podcast-card-image {
    width: 112px;
    height: 78px;
    aspect-ratio: auto;
    object-fit: cover;
}

@media (max-width: 640px) {
    .rr-podcast-card-header-top {
        align-items: stretch;
    }

    .rr-podcast-card-media-small {
        flex-basis: 92px;
        width: 92px;
    }

    .rr-podcast-card-media-small .rr-podcast-card-image {
        width: 92px;
        height: 72px;
    }
}


.rr-share-block {
    margin-top: 1.1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.98) 100%);
}

.rr-share-block-head {
    margin-bottom: 0.8rem;
}

.rr-share-block-head h3 {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
}

.rr-share-block-head p {
    margin: 0;
    color: #64748b;
}

.rr-share-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.rr-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.68rem 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid transparent;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.rr-share-btn-facebook { background: #e8f0ff; color: #1d4ed8; }
.rr-share-btn-whatsapp { background: #e8fbef; color: #15803d; }
.rr-share-btn-email { background: #fff1f2; color: #be123c; }
.rr-share-btn-copy { background: #f8fafc; color: #0f172a; border-color: #cbd5e1; }

.rr-related-section {
    margin-top: 1.35rem;
}

.rr-card-grid-related .rr-podcast-card {
    min-height: 100%;
}

@media (max-width: 640px) {
    .rr-share-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rr-share-btn {
        width: 100%;
    }
}


.rr-media-field {
    max-width: 560px;
}

.rr-media-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 92px;
    padding: 8px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    margin-bottom: 10px;
}

.rr-media-preview img {
    display: block;
    max-width: 220px;
    height: auto;
    border-radius: 10px;
}

.rr-media-preview.is-empty {
    color: #64748b;
}

.rr-media-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.rr-person-pill {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.rr-person-pill-text {
    min-width: 0;
}

.rr-person-avatar-wrap,
.rr-person-directory-avatar,
.rr-person-detail-avatar {
    flex: 0 0 auto;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.rr-person-avatar-wrap {
    width: 48px;
    height: 48px;
}

.rr-person-directory-avatar {
    width: 72px;
    height: 72px;
}

.rr-person-detail-avatar {
    width: 92px;
    height: 92px;
}

.rr-person-avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.rr-person-avatar-wrap:hover .rr-person-avatar,
.rr-person-directory-avatar:hover .rr-person-avatar,
.rr-person-detail-avatar:hover .rr-person-avatar {
    transform: scale(1.06);
    filter: saturate(1.04) contrast(1.02);
}

.rr-person-directory-head,
.rr-person-detail-head-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rr-person-directory-head {
    margin-bottom: 0.85rem;
}

.rr-person-directory-head h3,
.rr-person-detail-head-text h2 {
    margin: 0;
}

.rr-person-detail-head-text p {
    margin: 0.35rem 0 0;
}

@media (max-width: 640px) {
    .rr-person-directory-head,
    .rr-person-detail-head-main {
        align-items: flex-start;
    }

    .rr-person-detail-avatar {
        width: 76px;
        height: 76px;
    }
}


.rr-btn-favorite {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid rgba(190, 24, 93, 0.15);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.rr-btn-favorite.is-active {
    background: linear-gradient(135deg, #dbeafe 0%, #fee2e2 100%);
    color: #0f172a;
    border-color: rgba(29, 78, 216, 0.18);
}

.rr-podcast-timeline {
    margin: 2rem 0;
}

.rr-timeline-group {
    margin-top: 1.5rem;
    position: relative;
}

.rr-timeline-group::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 56px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(29, 78, 216, 0.3), rgba(220, 38, 38, 0.22));
}

.rr-timeline-group-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.rr-timeline-group-head::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4ed8 0%, #dc2626 100%);
    box-shadow: 0 0 0 6px rgba(255,255,255,0.95);
}

.rr-timeline-group-head h3 {
    margin: 0;
    font-size: 1.25rem;
}

.rr-timeline-group-head span {
    font-size: 0.92rem;
    color: #475569;
    font-weight: 700;
}

.rr-card-grid-timeline {
    padding-left: 2rem;
}

.rr-section-head-inline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.rr-favorites-results {
    margin-top: 1rem;
}

.rr-favorite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.rr-favorite-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.rr-favorite-card-media img {
    width: 100%;
    height: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.rr-favorite-card-body h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.rr-favorite-card-body p {
    margin-top: 0.75rem;
    color: #334155;
}

@media (max-width: 640px) {
    .rr-section-head-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .rr-favorite-card {
        grid-template-columns: 1fr;
    }

    .rr-card-grid-timeline {
        padding-left: 0;
    }

    .rr-timeline-group::before {
        display: none;
    }

    .rr-timeline-group-head {
        padding-left: 0;
    }

    .rr-timeline-group-head::before {
        display: none;
    }
}


.rr-podcast-single h2,
.rr-hero-copy h2,
.rr-latest-card h3,
.rr-related-card h3,
.rr-favorite-card-body h3 {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    text-rendering: optimizeLegibility;
}

.rr-podcast-single h2 {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}


.rr-toolbar-row {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
}

.rr-toolbar-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 220px;
}

.rr-toolbar-label {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 10px rgba(15, 23, 42, 0.20);
}

.rr-view-toggle {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.35rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(4px);
}

.rr-view-btn {
    appearance: none;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    padding: 0.65rem 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.rr-view-btn.is-active {
    background: rgba(255,255,255,0.92);
    color: #1e3a8a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.rr-active-filters {
    margin: 0.5rem 0 1.15rem;
}

.rr-active-filters-label {
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.rr-active-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.rr-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbe7f7;
    color: #0f172a;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.rr-filter-chip-label {
    color: #64748b;
    font-size: 0.83rem;
    font-weight: 700;
}

.rr-filter-chip-value {
    font-weight: 700;
}

.rr-filter-chip-remove {
    color: #b91c1c;
    font-weight: 800;
    line-height: 1;
}

.rr-filter-chip-clear {
    background: #eff6ff;
    color: #1d4ed8;
}

.rr-podcast-results.rr-view-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1280px) {
    .rr-podcast-results.rr-view-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .rr-podcast-results.rr-view-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rr-podcast-results.rr-view-grid {
        grid-template-columns: 1fr;
    }
}

.rr-podcast-results.rr-view-list {
    grid-template-columns: 1fr;
}

.rr-podcast-results.rr-view-list .rr-podcast-card {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 1.15rem;
    align-items: start;
}

.rr-podcast-results.rr-view-list .rr-podcast-card .rr-podcast-card-header,
.rr-podcast-results.rr-view-list .rr-podcast-card .rr-highlight-role,
.rr-podcast-results.rr-view-list .rr-podcast-card .rr-podcast-description,
.rr-podcast-results.rr-view-list .rr-podcast-card .rr-people-grid,
.rr-podcast-results.rr-view-list .rr-podcast-card .rr-audio-player,
.rr-podcast-results.rr-view-list .rr-podcast-card .rr-podcast-links {
    grid-column: 2;
}

.rr-podcast-results.rr-view-list .rr-podcast-card .rr-podcast-thumb {
    grid-column: 1;
    grid-row: 1 / span 6;
    align-self: stretch;
}

.rr-podcast-results.rr-view-list .rr-podcast-card .rr-podcast-thumb img {
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

@media (max-width: 860px) {
    .rr-podcast-results.rr-view-list .rr-podcast-card {
        display: flex;
    }
}

.rr-taxonomy-overview,
.rr-random-spotlight {
    margin: 1.5rem 0;
}

.rr-taxonomy-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.rr-taxonomy-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe7f7;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.rr-taxonomy-card-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.rr-taxonomy-card-count {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 700;
}

.rr-taxonomy-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
    line-height: 1.25;
}

.rr-taxonomy-card-meta,
.rr-taxonomy-card-linkref {
    margin: 0.25rem 0;
    color: #334155;
}

.rr-taxonomy-card-season {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.rr-taxonomy-card-competition {
    background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}

.rr-taxonomy-card-category {
    background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
}

.rr-random-spotlight-card .rr-podcast-card {
    margin-bottom: 0;
}


.rr-calendar-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    flex-wrap: wrap;
}

.rr-calendar-nav {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.rr-calendar-current {
    font-weight: 700;
    color: #1f2937;
}

.rr-calendar-grid-wrap {
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

.rr-calendar-grid {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0.5rem;
}

.rr-calendar-grid th {
    text-align: center;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 700;
}

.rr-calendar-grid td {
    vertical-align: top;
    min-width: 108px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.75rem;
    height: 92px;
}

.rr-calendar-grid td.has-podcasts {
    background: linear-gradient(180deg, rgba(219,234,254,0.95) 0%, rgba(254,242,242,0.95) 100%);
    border-color: rgba(59,130,246,0.18);
}

.rr-calendar-grid td.is-empty {
    background: transparent;
    border: 0;
}

.rr-calendar-daynum {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: #111827;
}

.rr-calendar-count {
    display: inline-flex;
    font-size: 0.85rem;
    line-height: 1.35;
    text-decoration: none;
    font-weight: 700;
}

.rr-calendar-count-empty {
    color: #94a3b8;
}

.rr-calendar-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.rr-card-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}


.rr-year-overview,
.rr-role-ranking-block {
    margin: 1.5rem 0;
}

.rr-year-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.rr-year-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.98) 100%);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.rr-year-card-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.rr-year-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.7rem;
    line-height: 1.1;
}

.rr-year-card-count {
    font-weight: 700;
    color: #334155;
}

.rr-role-ranking-list {
    display: grid;
    gap: 0.9rem;
}

.rr-role-ranking-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid #dbeafe;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.rr-role-ranking-pos {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #fee2e2 100%);
    color: #1e3a8a;
    font-size: 1.15rem;
    font-weight: 800;
}

.rr-role-ranking-person {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.rr-role-ranking-person h3 {
    margin: 0 0 0.2rem;
    font-size: 1.15rem;
}

.rr-role-ranking-person p {
    margin: 0;
    color: #475569;
}

.rr-role-ranking-avatar img,
.rr-role-ranking-avatar .rr-person-avatar {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
}

.rr-role-ranking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.45rem;
    color: #334155;
}

.rr-role-ranking-count {
    font-weight: 800;
    color: #1e3a8a;
}

@media (max-width: 640px) {
    .rr-role-ranking-item {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .rr-role-ranking-actions .rr-btn {
        width: 100%;
    }
}


.rr-decade-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.rr-duo-ranking-person {
    align-items: center;
}

.rr-duo-avatars {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-right: 0.75rem;
}

.rr-image-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.rr-image-wall-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    min-height: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.rr-image-wall-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    color: inherit;
    text-decoration: none;
}

.rr-image-wall-media,
.rr-image-wall-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
}

.rr-image-wall-img {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rr-image-wall-link:hover .rr-image-wall-img {
    transform: scale(1.04);
}

.rr-image-wall-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.75) 100%);
    color: #fff;
}

.rr-image-wall-title {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
}

.rr-image-wall-date {
    font-size: 0.9rem;
    opacity: 0.92;
}


.rr-month-overview-grid,
.rr-staff-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.rr-taxonomy-card-month {
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(239,246,255,0.92) 100%);
}

.rr-staff-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.rr-staff-card-link {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
    min-height: 100%;
}

.rr-staff-card-media {
    flex: 0 0 86px;
}

.rr-staff-avatar-wrap,
.rr-staff-avatar-wrap .rr-person-avatar,
.rr-staff-avatar-wrap img {
    display: block;
    width: 86px;
    height: 86px;
    border-radius: 18px;
}

.rr-staff-avatar-wrap .rr-person-avatar,
.rr-staff-avatar-wrap img {
    object-fit: cover;
}

.rr-staff-avatar-fallback {
    display: inline-flex;
    width: 86px;
    height: 86px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #dbeafe 0%, #fee2e2 100%);
    color: #1f2937;
    font-size: 1.8rem;
    font-weight: 800;
}

.rr-staff-card-content h3 {
    margin: 0 0 0.2rem;
    font-size: 1.15rem;
}

.rr-staff-card-count {
    margin: 0 0 0.25rem;
    font-weight: 700;
    color: #1d4ed8;
}

.rr-staff-card-roles,
.rr-staff-card-meta {
    margin: 0.15rem 0 0;
    color: #4b5563;
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .rr-staff-card-link {
        flex-direction: column;
        align-items: flex-start;
    }
}


.rr-staff-wall-filters {
    margin: 0 0 1.5rem;
}

.rr-staff-wall-filters .rr-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr);
}

.rr-staff-wall-filters .rr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem;
}

@media (max-width: 767px) {
    .rr-staff-wall-filters .rr-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 900px) {
    .rr-filter-top {
        flex-direction: column;
    }

    .rr-filter-highlights {
        justify-content: flex-start;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .rr-filter-top {
        padding: 1rem;
    }

    .rr-filter-eyebrow {
        font-size: 0.76rem;
        letter-spacing: 0.05em;
    }

    .rr-filter-pill {
        min-height: 38px;
        padding: 0.5rem 0.72rem;
        font-size: 0.9rem;
    }
}


.rr-btn:not(.rr-btn-secondary):not(.rr-btn-favorite),
.rr-btn:not(.rr-btn-secondary):not(.rr-btn-favorite):link,
.rr-btn:not(.rr-btn-secondary):not(.rr-btn-favorite):visited,
.rr-btn:not(.rr-btn-secondary):not(.rr-btn-favorite):hover,
.rr-btn:not(.rr-btn-secondary):not(.rr-btn-favorite):focus,
.rr-btn:not(.rr-btn-secondary):not(.rr-btn-favorite):active,
.rr-btn-primary,
.rr-btn-primary:link,
.rr-btn-primary:visited,
.rr-btn-primary:hover,
.rr-btn-primary:focus,
.rr-btn-primary:active {
    color: #facc15 !important;
}


.rr-filter-card .rr-actions button,
.rr-filter-card .rr-actions button:hover,
.rr-filter-card .rr-actions button:focus,
.rr-filter-card .rr-actions button:active,
.rr-filter-card .rr-actions .rr-btn,
.rr-filter-card .rr-actions .rr-btn:link,
.rr-filter-card .rr-actions .rr-btn:visited,
.rr-filter-card .rr-actions .rr-btn:hover,
.rr-filter-card .rr-actions .rr-btn:focus,
.rr-filter-card .rr-actions .rr-btn:active,
.rr-filter-card .rr-actions .rr-btn-secondary,
.rr-filter-card .rr-actions .rr-btn-secondary:link,
.rr-filter-card .rr-actions .rr-btn-secondary:visited,
.rr-filter-card .rr-actions .rr-btn-secondary:hover,
.rr-filter-card .rr-actions .rr-btn-secondary:focus,
.rr-filter-card .rr-actions .rr-btn-secondary:active,
.rr-filter-card .rr-view-btn,
.rr-filter-card .rr-view-btn:hover,
.rr-filter-card .rr-view-btn:focus,
.rr-filter-card .rr-view-btn:active,
.rr-filter-card .rr-view-btn.is-active {
    background: #1d4ed8;
    color: #facc15 !important;
    border: 1px solid rgba(250, 204, 21, 0.22);
}

.rr-filter-card .rr-actions button,
.rr-filter-card .rr-actions .rr-btn,
.rr-filter-card .rr-view-btn {
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.22);
}

.rr-filter-card .rr-actions .rr-btn-secondary,
.rr-filter-card .rr-view-btn.is-active {
    background: #1e40af;
}

.rr-filter-card .rr-actions button:hover,
.rr-filter-card .rr-actions button:focus,
.rr-filter-card .rr-actions .rr-btn:hover,
.rr-filter-card .rr-actions .rr-btn:focus,
.rr-filter-card .rr-view-btn:hover,
.rr-filter-card .rr-view-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(29, 78, 216, 0.28);
}

/* phase 19.1 active header toggle */
.rr-filter-card .rr-view-btn.is-active,
.rr-filter-card .rr-view-btn.is-active:hover,
.rr-filter-card .rr-view-btn.is-active:focus,
.rr-filter-card .rr-view-btn.is-active:active {
    background: #dc2626;
    color: #facc15 !important;
    border-color: rgba(250, 204, 21, 0.42);
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.28), inset 0 0 0 1px rgba(255,255,255,0.08);
}

.rr-filter-card .rr-view-btn:not(.is-active) {
    background: #1d4ed8;
    color: #facc15 !important;
}


.rr-role-hub-block {
    margin: 1.5rem 0;
}

.rr-role-hub-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0 0 1rem;
}

.rr-role-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.rr-role-hub-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(239,246,255,0.92) 100%);
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.rr-role-hub-card-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.7rem;
}

.rr-role-hub-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.3rem;
    line-height: 1.2;
}

.rr-role-hub-total {
    font-weight: 800;
    color: #1e3a8a;
}

.rr-role-hub-stats {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: #475569;
    margin-bottom: 0.9rem;
}

.rr-role-hub-leader {
    padding: 0.9rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.8);
    border: 1px solid #dbeafe;
    margin-bottom: 0.9rem;
}

.rr-role-hub-leader-label {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 0.55rem;
}

.rr-role-hub-leader-main {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.rr-role-hub-leader-main strong,
.rr-role-hub-leader-main span {
    display: block;
}

.rr-role-hub-leader-main span {
    color: #475569;
    font-size: 0.94rem;
    margin-top: 0.15rem;
}

.rr-role-hub-avatar img,
.rr-role-hub-avatar .rr-person-avatar {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}

.rr-role-hub-mini-list {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.rr-role-hub-mini-item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    padding: 0.55rem 0.75rem;
    background: rgba(255,255,255,0.78);
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.rr-role-hub-mini-item strong {
    color: #1e3a8a;
}

.rr-role-hub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .rr-role-hub-actions .rr-btn {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .rr-hero-layout.has-image {
        grid-template-columns: 1fr;
    }
}
