/* ====================================================
   TRIMESTRE HUB PAGE — PREMIUM STYLES
   ==================================================== */

:root {
    --ebd-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ebd-shadow-sm: 0 1px 3px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.04);
    --ebd-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05), 0 1px 4px rgba(15, 23, 42, 0.02);
    --ebd-shadow-lg: 0 16px 32px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.03);
    --ebd-primary: #1e293b;
    --ebd-accent: #C5A059;
}

.ebd360-trimestre-page {
    background: #F8FAFC;
    min-height: 100vh;
    font-family: var(--ebd-font-sans);
    color: var(--ebd-primary);
    -webkit-font-smoothing: antialiased;
}

/* ─── 1. HERO PREMIUM (REDUZIDO EM ~20% EM ALTURA) ─── */
.ebd360-trimestre-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #070D19;
    padding: 40px 0 0 0; /* Altura reduzida de 64px para 40px */
    color: #fff;
    overflow: hidden;
}
.ebd360-trimestre-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 13, 25, 0.96) 0%, rgba(15, 29, 51, 0.88) 100%);
    z-index: 1;
}
.ebd360-trimestre-hero__overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
}
.ebd360-trimestre-hero__content {
    position: relative;
    z-index: 2;
}
.ebd360-trimestre-hero__grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 32px; /* Margem reduzida de 56px para 32px */
}
.ebd360-trimestre-hero__cover {
    flex-shrink: 0;
    width: 180px; /* Reduzido de 220px */
    height: 250px; /* Reduzido de 310px */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.15);
    transform: perspective(1000px) rotateY(4deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ebd360-trimestre-hero__cover:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.03);
    box-shadow: 0 20px 48px rgba(197,160,89,0.25);
}
.ebd360-trimestre-hero__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ebd360-trimestre-hero__info {
    flex: 1;
}
.ebd360-trimestre-hero__tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px; /* Reduzido de 16px */
}
.ebd360-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.ebd360-tag--highlight {
    background: linear-gradient(135deg, #C5A059, #E8C47A);
    color: #fff;
    box-shadow: 0 3px 8px rgba(197,160,89,0.3);
}
.ebd360-tag--outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: #cbd5e1;
    background: rgba(255,255,255,0.06);
}
.ebd360-trimestre-hero__title {
    font-size: 34px; /* Reduzido de 42px */
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0; /* Reduzido de 12px */
    line-height: 1.2;
    letter-spacing: -0.8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.ebd360-trimestre-hero__tema {
    font-size: 16px; /* Reduzido de 18px */
    font-weight: 400;
    color: #cbd5e1;
    margin: 0 0 24px 0; /* Reduzido de 32px */
    line-height: 1.45;
    max-width: 720px;
}
.ebd360-trimestre-hero__meta {
    display: flex;
    gap: 20px; /* Reduzido de 32px */
    margin-bottom: 28px; /* Reduzido de 40px */
    flex-wrap: wrap;
}
.ebd360-trimestre-hero__author,
.ebd360-trimestre-hero__date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #cbd5e1;
    background: rgba(0,0,0,0.3);
    padding: 6px 14px 6px 6px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.06);
}
.ebd360-trimestre-hero__author img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #C5A059;
}
.ebd360-trimestre-hero__author .dashicons,
.ebd360-trimestre-hero__date .dashicons {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.2);
    color: #C5A059;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.ebd360-trimestre-hero__author strong,
.ebd360-trimestre-hero__date strong {
    color: #fff;
}
.ebd360-trimestre-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ebd360-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px; /* Menor preenchimento */
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.25s ease;
}
.ebd-hero-btn-alt {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.03);
}
.ebd-hero-btn-alt:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

/* Barra de Progresso Horizontal */
.ebd360-trimestre-progress-bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0; /* Altura reduzida */
    overflow-x: auto;
    scrollbar-width: none;
}
.ebd360-progress-track {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: max-content;
    padding: 0 16px;
}
.ebd360-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    text-decoration: none;
    color: #94a3b8;
    width: 50px;
    transition: all 0.2s ease;
}
.ebd360-progress-step::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.08);
    z-index: 1;
}
.ebd360-progress-step:last-child::before {
    display: none;
}
.ebd360-progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0f172a;
    border: 2px solid #475569;
    position: relative;
    z-index: 2;
    transition: all 0.2s ease;
}
.ebd360-progress-label {
    font-size: 10px;
    font-weight: 700;
}
.ebd360-progress-step:hover .ebd360-progress-dot {
    background: #C5A059;
    border-color: #fff;
    box-shadow: 0 0 8px rgba(197,160,89,0.6);
}
.ebd360-progress-step:hover .ebd360-progress-label {
    color: #fff;
}
.ebd360-progress-step.active .ebd360-progress-dot {
    background: #C5A059;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(197,160,89,0.3);
}
.ebd360-progress-step.active .ebd360-progress-label {
    color: #C5A059;
}

/* ─── 2. MAIN LAYOUT ─────────────────────────────────── */
.ebd360-trimestre-main-content {
    display: grid;
    grid-template-columns: 1fr 300px; /* Reduzido o tamanho da sidebar */
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 48px;
}
.ebd360-trimestre-left {
    min-width: 0;
}
.ebd360-t-section {
    background: #fff;
    border-radius: 16px;
    padding: 24px; /* Unificado padding */
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: var(--ebd-shadow-sm);
    margin-bottom: 24px;
}
.ebd360-t-section > h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--ebd-primary);
    margin: 0 0 16px 0;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── 3. CARDS DE ESTATÍSTICAS (REFINADO) ───────────── */
.ebd360-trimestre-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.ebd360-t-stat {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    padding: 16px; /* Ajuste no padding */
    display: flex;
    align-items: center;
    gap: 12px;
    height: 72px; /* Altura padronizada */
    box-shadow: var(--ebd-shadow-sm);
    transition: all 0.3s ease;
}
.ebd360-t-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--ebd-shadow-md);
}
.ebd360-t-stat .dashicons {
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}
.ebd360-t-stat div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.ebd360-t-stat strong {
    font-size: 18px; /* Padronizado */
    font-weight: 800;
    line-height: 1.1;
    color: var(--ebd-primary);
}
.ebd360-t-stat div span {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

/* ─── 4. CARD "SOBRE O TRIMESTRE" ────────────────────── */
.ebd360-t-about {
    border-left: 4px solid var(--ebd-accent) !important;
    background: linear-gradient(to right, #ffffff, #fafafa);
}
.ebd360-t-about-content {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 15px;
    color: #334155;
    line-height: 1.85;
    max-width: 780px;
}
.ebd360-t-about-content p {
    margin-bottom: 18px;
}
.ebd360-t-about-content p:first-of-type::first-letter {
    font-size: 36px;
    font-weight: 800;
    color: var(--ebd-accent);
    float: left;
    margin-right: 8px;
    line-height: 1;
}

/* ─── 5. CARD DO COMENTARISTA (MUITO MAIS AUTORIDADE) ── */
.ebd360-t-author-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.ebd360-t-author-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #C5A059; /* Borda dourada em destaque */
    box-shadow: 0 4px 10px rgba(197,160,89,0.2);
}
.ebd360-t-author-info {
    flex: 1;
}
.ebd360-t-author-info h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ebd-primary);
    margin: 0 0 2px 0;
}
.ebd360-t-author-role {
    font-size: 10px;
    color: #C5A059;
    font-weight: 800;
    background: rgba(197, 160, 89, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ebd360-t-author-bio {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
    background: #f8fafc;
    padding: 16px;
    border-radius: 10px;
    border-left: 3px solid #C5A059;
}

/* ─── 6. ALTERNADOR SEGMENTADO MODERNO ───────────────── */
.ebd360-t-lessons-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.ebd360-t-lessons-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--ebd-primary);
}
.ebd360-view-toggle {
    display: inline-flex;
    background: #e2e8f0;
    border-radius: 30px;
    padding: 4px;
    border: none;
}
.ebd360-view-toggle-btn {
    background: transparent;
    border: none;
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.ebd360-view-toggle-btn.active {
    background: #fff;
    color: var(--ebd-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* ─── 7. MODO GRID (TOTALMENTE REPROJETADO - 3 COLUNAS) ─── */
.ebd360-explorar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards desktop */
    gap: 20px;
}
.ebd360-grid-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: var(--ebd-shadow-sm);
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ebd360-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ebd-shadow-lg);
    border-color: rgba(197,160,89,0.3);
}
.ebd360-grid-card__thumb {
    position: relative;
    height: 140px; /* Miniatura menor horizontal */
    overflow: hidden;
    background: #0f172a;
}
.ebd360-grid-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ebd360-grid-card:hover .ebd360-grid-card__thumb img {
    transform: scale(1.05); /* Zoom suave */
}
.ebd360-grid-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
.ebd360-grid-card__thumb-placeholder .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}
.ebd360-grid-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #C5A059;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.ebd360-grid-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ebd360-grid-card__cat {
    font-size: 9px;
    font-weight: 700;
    color: #C5A059;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.ebd360-grid-card__title {
    font-size: 14px;
    font-weight: 800;
    color: var(--ebd-primary);
    margin: 0 0 6px 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
}
.ebd360-grid-card__excerpt {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 36px;
}
.ebd360-grid-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}
.ebd360-grid-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ebd360-grid-card__meta span {
    font-size: 10px;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}
.ebd360-grid-card__meta .dashicons {
    font-size: 11px;
    width: 11px;
    height: 11px;
}

/* Toggles de View */
.ebd360-t-view {
    display: none;
    animation: fadeIn 0.4s ease;
}
.ebd360-t-view.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── 8. MODO LINHA DO TEMPO (ROADMAP) ───────────────── */
.ebd360-timeline-container {
    position: relative;
    padding-left: 28px;
}
.ebd360-timeline-container::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #e2e8f0;
}
.ebd360-timeline-item {
    position: relative;
    padding-left: 12px;
    margin-bottom: 24px;
}
.ebd360-timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 26px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ebd-accent);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
    z-index: 2;
}
.ebd360-timeline-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    color: #C5A059;
    background: rgba(197, 160, 89, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.ebd360-timeline-content {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: var(--ebd-shadow-sm);
    transition: all 0.25s ease;
    border-left: 3px solid var(--ebd-accent);
}
.ebd360-timeline-content:hover {
    box-shadow: var(--ebd-shadow-md);
    transform: translateX(2px);
}
.ebd360-timeline-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}
.ebd360-timeline-content h4 a {
    color: var(--ebd-primary);
    text-decoration: none;
    transition: color 0.2s;
}
.ebd360-timeline-content h4 a:hover {
    color: var(--ebd-accent);
}
.ebd360-timeline-content p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 10px 0;
    line-height: 1.6;
}
.ebd360-timeline-date {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

.ebd360-t-lesson-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 12px;
}

.ebd360-t-lesson-time,
.ebd360-timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

.ebd360-t-lesson-time .dashicons,
.ebd360-timeline-date .dashicons {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: #C5A059;
}

.ebd360-t-texto-aureo {
    margin: 0 0 14px 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border-left: 3px solid var(--ebd-accent);
    color: #334155;
    font-size: 13px;
    line-height: 1.7;
}

.ebd360-t-lesson-action {
    display: flex;
    justify-content: flex-start;
    margin-top: 16px;
}

/* ─── 9. RECURSOS DO TRIMESTRE (CARDS RICOS) ─────────── */
.ebd360-t-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.ebd360-t-resource-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--ebd-shadow-sm);
    transition: all 0.25s ease;
}
.ebd360-t-resource-card:hover {
    border-color: var(--ebd-accent);
    box-shadow: var(--ebd-shadow-md);
    transform: translateY(-2px);
}
.ebd360-t-resource-icon {
    width: 40px; /* Ajustado */
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ebd360-t-resource-icon .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}
.ebd360-t-resource-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ebd360-t-resource-info strong {
    font-size: 13px;
    color: var(--ebd-primary);
    font-weight: 800;
    margin-bottom: 2px;
}
.ebd360-t-resource-info span {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
}
.ebd360-t-download-btn {
    background: #f1f5f9;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ebd360-t-resource-card:hover .ebd360-t-download-btn {
    background: var(--ebd-accent);
    color: #fff;
}

/* ─── 10. SIDEBAR (PADRONIZAÇÃO MÁXIMA E CONJUNTO ÚNICO) ── */
.ebd360-trimestre-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: start;
    position: sticky;
    top: 110px;
}
.ebd360-t-sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--ebd-shadow-sm);
    margin: 0;
}
.ebd360-t-sidebar-card h3,
.ebd360-t-sidebar-card h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 800;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ebd-primary);
}
.ebd360-t-sidebar-lead {
    margin: 0 0 16px 0;
    font-size: 12px;
    line-height: 1.6;
    color: #64748b;
}
.ebd360-t-summary-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(197, 160, 89, 0.10), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border-color: rgba(197, 160, 89, 0.14);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
}
.ebd360-t-summary-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ebd-accent) 0%, #e7c981 100%);
}
.ebd360-t-summary-card h3 {
    position: relative;
    border-bottom-color: rgba(226, 232, 240, 0.9);
}
.ebd360-t-summary-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ebd360-t-summary-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 14px;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ebd360-t-summary-list li:hover {
    transform: translateY(-1px);
    border-color: rgba(197, 160, 89, 0.22);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}
.ebd360-t-summary-list li:last-child {
    border-bottom: 1px solid #eef2f7;
}
.ebd360-t-summary-list .label {
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ebd360-t-summary-list .value {
    font-size: 13px;
    font-weight: 800;
    color: var(--ebd-primary);
    text-align: right;
    max-width: 58%;
}
.ebd360-btn-full {
    width: 100%;
    text-align: center;
    margin-top: 18px;
    justify-content: center;
    background: linear-gradient(135deg, #C5A059, #E8C47A) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3) !important;
    transition: all 0.3s ease !important;
    font-weight: 700;
}
.ebd360-btn-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(197,160,89,0.45) !important;
    background: linear-gradient(135deg, #D4AF67, #F2D28E) !important;
}

/* Redes Sociais */
.ebd360-t-share-card {
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.03);
}

.ebd360-t-share-card h4 {
    border-bottom-color: rgba(226, 232, 240, 0.9);
}

.ebd360-t-share-links {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
.share-btn {
    flex: 1;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ebd-primary) !important;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.share-btn .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.share-btn.fb { color: #1877f2 !important; }
.share-btn.wa { color: #25d366 !important; }
.share-btn.tw { color: #1d9bf0 !important; }
.share-btn.link { color: #64748b !important; }

.share-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(197, 160, 89, 0.35);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    background: #fffdf8;
}

/* ─── 11. RESPONSIVIDADE ─────────────────────────────── */
@media (max-width: 1200px) {
    .ebd360-trimestre-main-content {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 24px;
    }

    .ebd360-explorar-grid,
    .ebd360-t-resources-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .ebd360-trimestre-hero {
        padding-top: 32px;
    }

    .ebd360-trimestre-main-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 24px;
    }

    .ebd360-trimestre-sidebar {
        order: 2;
        position: static;
    }

    .ebd360-trimestre-hero__grid {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        margin-bottom: 24px;
    }

    .ebd360-trimestre-hero__cover {
        width: 180px;
        height: 250px;
        margin-inline: auto;
        transform: none;
    }

    .ebd360-trimestre-hero__title {
        font-size: 32px;
    }

    .ebd360-trimestre-hero__tema {
        max-width: 760px;
        margin-inline: auto;
    }

    .ebd360-trimestre-hero__tags,
    .ebd360-trimestre-hero__meta,
    .ebd360-trimestre-hero__actions {
        justify-content: center;
    }

    .ebd360-trimestre-stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ebd360-trimestre-hero__content.container,
    .ebd360-trimestre-main-content.container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ebd360-trimestre-hero__title {
        font-size: 28px;
        line-height: 1.15;
    }

    .ebd360-trimestre-hero__tema {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .ebd360-trimestre-hero__meta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 20px;
    }

    .ebd360-trimestre-hero__author,
    .ebd360-trimestre-hero__date {
        justify-content: center;
        width: 100%;
        padding-right: 12px;
    }

    .ebd360-trimestre-hero__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .ebd360-hero-btn,
    .ebd-hero-btn-alt {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 12px 18px;
    }

    .ebd360-trimestre-progress-bar {
        padding: 14px 0 18px;
    }

    .ebd360-progress-track {
        padding: 0 8px 0 2px;
    }

    .ebd360-progress-step {
        width: 44px;
    }

    .ebd360-t-section,
    .ebd360-t-sidebar-card {
        padding: 18px;
        border-radius: 14px;
    }

    .ebd360-t-lessons-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .ebd360-view-toggle {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-radius: 14px;
    }

    .ebd360-view-toggle-btn {
        justify-content: center;
        width: 100%;
        padding: 10px 12px;
    }

    .ebd360-t-author-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .ebd360-t-author-info {
        text-align: center;
    }

    .ebd360-t-author-header .ebd-btn {
        width: 100%;
        justify-content: center;
    }

    .ebd360-explorar-grid,
    .ebd360-t-resources-grid {
        grid-template-columns: 1fr;
    }

    .ebd360-grid-card__thumb {
        height: 180px;
    }

    .ebd360-grid-card__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .ebd360-grid-card__footer .ebd-btn {
        width: 100%;
        justify-content: center;
    }

    .ebd360-timeline-container {
        padding-left: 22px;
    }

    .ebd360-timeline-container::before {
        left: 6px;
    }

    .ebd360-timeline-item {
        padding-left: 8px;
        margin-bottom: 18px;
    }

    .ebd360-timeline-item::before {
        left: -18px;
        top: 24px;
    }

    .ebd360-timeline-content {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .ebd360-t-lesson-meta {
        gap: 8px;
    }

    .ebd360-t-lesson-action .ebd-btn {
        width: 100%;
        justify-content: center;
    }

    .ebd360-t-resource-card {
        align-items: flex-start;
        padding: 14px 14px;
    }

    .ebd360-t-resource-info {
        min-width: 0;
    }

    .ebd360-t-resource-info strong {
        line-height: 1.4;
    }

    .ebd360-t-share-links {
        gap: 8px;
    }
}

@media (max-width: 580px) {
    .ebd360-trimestre-hero {
        padding-top: 24px;
    }

    .ebd360-trimestre-hero__cover {
        width: 156px;
        height: 220px;
    }

    .ebd360-trimestre-hero__tags {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ebd360-trimestre-hero__title {
        font-size: 24px;
    }

    .ebd360-trimestre-stats-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ebd360-t-stat {
        height: auto;
        min-height: 78px;
        padding: 16px 14px;
    }

    .ebd360-t-stat strong {
        font-size: 20px;
    }

    .ebd360-t-summary-list li {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .ebd360-t-summary-list .value {
        max-width: 100%;
        text-align: left;
    }

    .ebd360-timeline-content h4 {
        font-size: 15px;
    }

    .ebd360-t-texto-aureo {
        padding: 12px 14px;
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .ebd360-trimestre-hero__content.container,
    .ebd360-trimestre-main-content.container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ebd360-t-section,
    .ebd360-t-sidebar-card {
        padding: 16px;
    }

    .ebd360-trimestre-hero__author,
    .ebd360-trimestre-hero__date {
        font-size: 11px;
        gap: 8px;
    }

    .ebd360-view-toggle-btn {
        font-size: 11px;
        gap: 4px;
    }

    .ebd360-view-toggle-btn .dashicons {
        display: none;
    }

    .ebd360-grid-card__body {
        padding: 14px;
    }

    .ebd360-t-resource-card {
        gap: 10px;
    }

    .share-btn {
        height: 38px;
    }
}
