/**
 * CSS Modular Organizado - MetSul Theme
 * Importa todos os módulos CSS de forma organizada
 */

/* ——— Importar módulos CSS ——— */
@import 'css/base.css';
@import 'css/buttons.css';
@import 'css/single-post.css';
@import 'css/share-buttons.css';
@import 'css/navigation.css';
@import 'css/components.css';
@import 'css/responsive.css';
@import 'css/paywall.css';
@import 'css/paywall-overlay.css';

/* ——— Resumo da IA ——— */
.ai-summary {
    background: #f8fafc;
    border-left: 3px solid #3b82f6;
    margin: 32px 0;
    padding: 20px 18px;
    border-radius: 0 6px 6px 0;
}

.ai-summary h4 {
    margin: 0 0 12px 0;
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.025em;
}

.ai-summary p {
    margin: 0;
    color: #374151;
    line-height: 1.65;
    font-size: 15px;
    font-weight: 400;
}

/* Responsivo */
@media (max-width: 768px) {
    .ai-summary {
        margin: 28px 0;
        padding: 16px 16px;
    }

    .ai-summary h4 {
        font-size: 14px;
    }

    .ai-summary p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ——— Live: ajustes header e tempo ——— */
.metsul-live__header-bar {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Evita quebra do "há 2 min" e similares */
.metsul-live__time,
.metsul-live__meta,
.live-time,
.time-ago,
[data-live-time] {
    white-space: nowrap;
}

/* Evita quebra no tempo relativo dos cards ao vivo */
.live-card__time-relative {
    white-space: nowrap;
}

/* ——— Hero com Transmissão ao Vivo ——— */
.featured-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.featured-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.featured-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.featured-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ef4444;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    animation: live-pulse 2s infinite;
}

.featured-hero__badge .live-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: live-dot-pulse 1.5s infinite;
}

@keyframes live-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes live-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.featured-hero__title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 16px 0;
    color: #ffffff;
    max-width: 700px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -1px;
}

.featured-hero__title a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.featured-hero__title a:hover {
    opacity: 0.9;
}

.featured-hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #e5e7eb;
    margin: 0 0 24px 0;
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.featured-hero__cta {
    margin-top: 8px;
}

.featured-hero__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #3b82f6;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.featured-hero__button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.featured-hero__button i {
    font-size: 20px;
}

/* Responsividade Hero */
@media (max-width: 768px) {
    .featured-hero {
        min-height: 300px;
    }

    .featured-hero__content {
        padding: 40px 24px;
    }

    .featured-hero__title {
        font-size: 32px;
    }

    .featured-hero__subtitle {
        font-size: 16px;
    }

    .featured-hero__button {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .featured-hero {
        min-height: 280px;
    }

    .featured-hero__content {
        padding: 32px 16px;
        align-items: center;
        text-align: center;
    }

    .featured-hero__badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 16px;
    }

    .featured-hero__badge .live-dot {
        width: 6px;
        height: 6px;
    }

    .featured-hero__title {
        font-size: 24px;
        max-width: 100%;
    }

    .featured-hero__subtitle {
        font-size: 14px;
        max-width: 100%;
    }

    .featured-hero__button {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
}
.metsul-live-page .entry-content {

    max-width: 800px !important;
    margin: auto !important;
}
/* ——— Live Badges: ativo vs encerrado ——— */
.live-badge,
.live-badge--live,
.live-badge--ended {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    white-space: nowrap;
}

/* Ajusta título do feed ao vivo na página single live_event */
.metsul-live-page .metsul-live__title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    text-transform: none;
}

.metsul-live-page .metsul-live__header-bar {
    border-color: #d1d5db;
}

/* Estado: Ao vivo (vermelho) */
.live-badge--live,
.live-badge.live {
    background: #ef4444; /* red-500 */
    color: #ffffff;
}

/* Estado: Encerrado (cinza) */
.live-badge--ended,
.live-badge.ended {
    background: #9ca3af; /* gray-400 */
    color: #ffffff;
}

/* Alternância por classe no contêiner */
.live-card .live-badge--ended { display: none; }
.live-card.is-ended .live-badge--live { display: none; }
.live-card.is-ended .live-badge--ended { display: inline-flex; }

/* Alternância por data-attribute no contêiner */
[data-live-status="ended"] .live-badge--live { display: none; }
[data-live-status="ended"] .live-badge--ended { display: inline-flex; }