/**
 * Main Stylesheet - Radio Station Website
 * Modern dark theme with glassmorphism effects
 */

/* Importa variáveis CSS padrão (cores, fontes, espaçamentos, etc.) */
@import url("variables.css");

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    /* Only force scrollbar on desktop to prevent layout shift without breaking mobile scroll */
    overflow-y: scroll;
    overflow-x: hidden;
    max-width: 100vw; /* Crucial block fallback against absolute elements */
}

@media (max-width: 768px) {
    html {
        overflow-y: auto;
    }
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    /* Use dynamic viewport height for mobile browsers */
    min-height: 100dvh;
    padding-bottom: var(--player-height);
    overflow-x: hidden;
    max-width: 100%;
}

/* Neutralizar tipografia fixa (ex. Copy+Paste do Word) injetada via TinyMCE */
.post-content *,
.content-body *,
.card-desc * {
    font-family: inherit !important;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ============================================
   Page Body — espaçamento inferior padrão
   ============================================ */
.page-body {
    padding-bottom: 80px;
}

/* ============================================
   Header
   ============================================ */
/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.header-scrolled {
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    height: 70px;
    /* Slightly smaller on scroll if desired, or keep variable */
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    z-index: 1002;
    /* Ensure above mobile menu overlay */
    position: relative;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 40px;
    width: auto;
    transition: height 0.3s ease;
}

.header.header-scrolled .logo img {
    height: 36px;
}

.logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.5));
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

/* Hover Effect - Subtle Glow/Pill */
.nav-link:hover {
    color: white;
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

.nav-link.active {
    color: white;
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.nav-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1002;
    /* Ensure clickable over menu */
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - var(--player-height));
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background-color: var(--bg-tertiary);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

/* NOTA: .hero-slider, .hero-slide e .hero-slide img são controlados por slider.css */

/* NOTE: O overlay do slider é controlado pela classe .hero-slide__overlay em slider.css */
/* Removido o pseudo-elemento ::after fixo para permitir controle via painel admin */

/* Controles do Slider */
.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Estilo para quando só há botões (sem texto no slider) */
.hero-buttons-only {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================
   Page Hero - Seções Hero para Páginas Internas
   ============================================ */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary-color);
    padding-top: var(--header-height);
    margin-bottom: 0;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(var(--primary-rgb), 0.95) 0%,
            rgba(var(--primary-rgb), 0.85) 100%);
}

.page-hero--no-image .page-hero__overlay {
    background: var(--primary-color);
    opacity: 1;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 60px 20px;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-hero__label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
}

.page-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-hero__subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Hero Responsive */
@media (max-width: 768px) {
    .page-hero {
        min-height: 250px;
    }

    .page-hero__content {
        padding: 40px 20px;
    }

    .page-hero__label {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--bg-card);
    border: none;                         /* removida borda — substituida por shadow */
    border-radius: var(--card-radius);    /* token único consistente */
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--card-shadow);       /* sombra sutil no lugar de borda */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.card-image {
    position: relative;
    aspect-ratio: 16 / 9;   /* aspect-ratio padrão para notícias */
    overflow: hidden;
    margin: 0;              /* sem margem — imagem ocupa 100% da largura */
    width: 100%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* evita distorção */
    display: block;
    transition: var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

/* Ajuste para card de equipe: aspect-ratio 1/1 */
.team-card .card-image {
    aspect-ratio: 1 / 1;
}

.card-body {
    padding: var(--card-padding);   /* token único de padding */
}

.card-category {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.card-meta i {
    margin-right: 5px;
}

/* ============================================
   Grid Layouts
   ============================================ */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   Team Section
   ============================================ */
.team-card {
    text-align: center;
    padding: 30px;
}

.team-card .card-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    aspect-ratio: 1;
}

.team-card .card-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

/* ============================================
   Events & Promotions
   ============================================ */
.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.event-date .day {
    font-size: 1.5rem;
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-info {
    flex: 1;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* ============================================
   Song Request Form
   ============================================ */
.request-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Ranking */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.ranking-item:hover {
    border-color: var(--primary-color);
}

.ranking-position {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.2rem;
}

.ranking-position.top-1 {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #1a1a25;
}

.ranking-position.top-2 {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: #1a1a25;
}

.ranking-position.top-3 {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    color: #1a1a25;
}

.ranking-position.normal {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.ranking-info {
    flex: 1;
}

.ranking-song {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.ranking-artist {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.ranking-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
    margin-bottom: var(--player-height);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.contact-list i {
    color: var(--primary-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-col {
    display: flex;
    align-items: center;
}

.footer-bottom-left {
    justify-content: flex-start;
}

.footer-bottom-center {
    justify-content: center;
}

.footer-bottom-center a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-bottom-center a:hover {
    color: var(--primary-color);
}

.footer-bottom-right {
    justify-content: flex-end;
}

.footer-bottom-left p {
    margin: 0;
    text-align: left;
}

.developer-logo {
    display: inline-block;
}

.developer-logo img {
    max-height: 40px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.developer-logo:hover img,
.developer-logo img:hover {
    opacity: 1;
}

.footer-copyright-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 25px;
    line-height: 1.5;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }

    /* Ocultar cabeçalho no mobile */
    .header {
        display: none;
    }

    .main-content {
        margin-top: 0;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        /* Drawer width */
        height: 100vh;
        background: rgba(15, 15, 20, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transform: translateX(100%);
        opacity: 1;
        /* Always opaque, we move it */
        visibility: visible;
        /* Controlled by transform */
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        transform: translateX(0);
    }

    /* Staggered Animation for Links */
    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 12px;
        margin-bottom: 10px;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .nav.active .nav-link {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.1s;
    }

    .nav.active .nav-link:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav.active .nav-link:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav.active .nav-link:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav.active .nav-link:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav.active .nav-link:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav.active .nav-link:nth-child(6) {
        transition-delay: 0.35s;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom-col {
        justify-content: center !important;
    }

    .footer-bottom-right p {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Fix for .on-air-hero containing breadcrumbs */
.on-air-hero .site-breadcrumb {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.on-air-hero .site-breadcrumb ol {
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.on-air-hero .site-breadcrumb a,
.on-air-hero .site-breadcrumb li {
    color: rgba(255, 255, 255, 0.9);
}

.on-air-hero .site-breadcrumb li.active {
    color: white;
    font-weight: 700;
}

/* ============================================
   Breadcrumbs
   ============================================ */
.site-breadcrumb {
    padding: 15px 0;
    margin-bottom: 20px;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

.site-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.site-breadcrumb li:not(:last-child)::after {
    content: '\f105';
    /* fa-chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 10px;
    font-size: 0.8rem;
    opacity: 0.5;
}

.site-breadcrumb a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 8px;
}

.site-breadcrumb a:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.1);
}

.site-breadcrumb li.active {
    color: var(--primary-color);
    font-weight: 600;
    padding: 5px 10px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 8px;
}

/* Breadcrumb in Hero (Centered) */
.page-hero .site-breadcrumb {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.page-hero .site-breadcrumb ol {
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.page-hero .site-breadcrumb a,
.page-hero .site-breadcrumb li {
    color: rgba(255, 255, 255, 0.9);
}

.page-hero .site-breadcrumb a:hover {
    color: white;
}

.page-hero .site-breadcrumb li.active {
    color: white;
    font-weight: 700;
}

/* Ensure Page Title inherits color or is white for contrast in Hero */
.page-hero-title {
    color: white;
}

@media (max-width: 768px) {
    .site-breadcrumb {
        font-size: 0.85rem;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        /* Scrollbar spacing */
        -webkit-overflow-scrolling: touch;
    }

    .site-breadcrumb::-webkit-scrollbar {
        height: 4px;
    }

    .site-breadcrumb::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 2px;
    }
}

/* ============================================
   Banner Slots globais (Painel Centralizado)
   ============================================ */
.banner-slot {
    width: 100%;
    margin: 16px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.banner-slot img,
.banner-slot > a {
    display: block;
    width: 100%;
}

.banner-slot--sidebar {
    max-width: 100%;
}

/* ============================================
   Player Mobile Fallback (No Metadata) — REMOVIDO
   ============================================
   O bloco #player.is-fallback-meta ocultava a capa (display:none) e revogava
   o nowrap/ellipsis do título e do artista quando a API respondia sem
   metadados. Isso quebrava o esqueleto do mini player mobile: a capa saía do
   fluxo, o flex redistribuía e o texto sangrava fora da pílula sem reticências.
   O estado "sem metadados" agora é só troca de texto — o layout não muda.
   Ver o esqueleto único em includes/mobile_nav.php. */