/* ====================================================
   PÁGINA PÚBLICA DO COMENTARISTA — EBD 360 (Refinado)
   ==================================================== */

:root {
    --ebd-cmt-navy: #0f172a;
    --ebd-cmt-navy-soft: #1A2634;
    --ebd-cmt-gold: #C5A059;
    --ebd-cmt-gold-light: #E8C47A;
    --ebd-cmt-gold-soft: rgba(197, 160, 89, 0.12);
    --ebd-cmt-bg: #F4F7FB;
    --ebd-cmt-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ebd-cmt-glass: rgba(255, 255, 255, 0.88);
    --ebd-cmt-shadow: 0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
    --ebd-cmt-shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.ebd-cmt-page {
    background: var(--ebd-cmt-bg);
    font-family: var(--ebd-cmt-font);
    color: var(--ebd-cmt-navy);
    min-height: 100vh;
}

.ebd-cmt-glass {
    background: var(--ebd-cmt-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: var(--ebd-cmt-shadow);
}

/* ─── HERO ─── */
.ebd-cmt-hero {
    position: relative;
    padding: 32px 0 72px;
    color: #fff;
    overflow: hidden;
}
.ebd-cmt-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 85% 10%, rgba(197, 160, 89, 0.14) 0%, transparent 55%),
        linear-gradient(160deg, #060B14 0%, #0D1828 45%, #152238 100%);
    z-index: 0;
}
.ebd-cmt-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 24px 24px;
}
.ebd-cmt-hero .container {
    position: relative;
    z-index: 1;
}

/* Toolbar */
.ebd-cmt-hero__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.ebd-cmt-hero__toolbar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ebd-cmt-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.ebd-cmt-toolbar-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(197,160,89,0.35);
    color: #fff;
}
.ebd-cmt-toolbar-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.ebd-cmt-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.ebd-cmt-breadcrumb a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
}
.ebd-cmt-breadcrumb a:hover { color: var(--ebd-cmt-gold-light); }
.ebd-cmt-breadcrumb .dashicons {
    font-size: 10px;
    width: 10px;
    height: 10px;
}

.ebd-cmt-hero__grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: center;
}
.ebd-cmt-hero__photo-wrap {
    position: relative;
}
.ebd-cmt-hero__photo {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid rgba(197,160,89,0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.ebd-cmt-hero__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
}
.ebd-cmt-hero__photo--placeholder .dashicons {
    font-size: 56px;
    width: 56px;
    height: 56px;
    opacity: 0.3;
}
.ebd-cmt-hero__photo-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ebd-cmt-gold), var(--ebd-cmt-gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(197,160,89,0.45);
    border: 2px solid rgba(255,255,255,0.2);
}
.ebd-cmt-hero__photo-badge .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #fff;
}

.ebd-cmt-hero__name {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.1;
    color: var(--ebd-cmt-gold-light);
    letter-spacing: -0.02em;
}
.ebd-cmt-hero__role {
    font-size: 15px;
    color: rgba(255,255,255,0.72);
    font-weight: 500;
    margin: 0 0 14px;
}
.ebd-cmt-hero__badges { margin-bottom: 16px; }
.ebd-cmt-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 7px 14px;
    border-radius: 4px;
}
.ebd-cmt-badge--primary {
    background: transparent;
    color: var(--ebd-cmt-gold-light);
    border: 1px solid rgba(197,160,89,0.45);
}
.ebd-cmt-badge--primary .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
    color: var(--ebd-cmt-gold);
}

.ebd-cmt-hero__counts {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin: 0 0 18px;
    line-height: 1.8;
}
.ebd-cmt-hero__counts strong {
    color: rgba(255,255,255,0.92);
    font-weight: 700;
}
.ebd-cmt-hero__sep {
    color: rgba(255,255,255,0.25);
    margin: 0 4px;
}
.ebd-cmt-hero__bio {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.68);
    max-width: 580px;
    margin: 0 0 26px;
}
.ebd-cmt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ebd-cmt-btn-gold {
    background: linear-gradient(135deg, var(--ebd-cmt-gold), var(--ebd-cmt-gold-light)) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(197,160,89,0.35);
}
.ebd-cmt-btn-gold:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}
.ebd-cmt-btn-light {
    color: #fff !important;
    border-color: rgba(255,255,255,0.35) !important;
    background: transparent !important;
}
.ebd-cmt-btn-light:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.5) !important;
}
.ebd-cmt-hero__actions .js-cmt-favorite.is-active {
    background: rgba(197,160,89,0.15) !important;
    border-color: var(--ebd-cmt-gold) !important;
    color: var(--ebd-cmt-gold-light) !important;
}

/* ─── STATS ─── */
.ebd-cmt-stats {
    padding: 0 0 48px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}
.ebd-cmt-stats__grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}
.ebd-cmt-stat-card {
    background: var(--ebd-cmt-glass);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 18px 14px;
    box-shadow: var(--ebd-cmt-shadow);
    border: 1px solid rgba(255,255,255,0.7);
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    align-items: center;
}
.ebd-cmt-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ebd-cmt-shadow-lg);
}
.ebd-cmt-stat-card__icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--ebd-cmt-gold);
    margin-bottom: 6px;
}
.ebd-cmt-stat-card strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--ebd-cmt-navy);
    line-height: 1;
}
.ebd-cmt-stat-card span:last-child {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

/* ─── LAYOUT ─── */
.ebd-cmt-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    padding-bottom: 64px;
    align-items: start;
}
.ebd-cmt-section { margin-bottom: 44px; }
.ebd-cmt-section__title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 22px;
    color: var(--ebd-cmt-navy);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(197,160,89,0.2);
}
.ebd-cmt-section__icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--ebd-cmt-gold);
}
.ebd-cmt-section__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(197,160,89,0.2);
}
.ebd-cmt-section__head .ebd-cmt-section__title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ─── BIO ─── */
.ebd-cmt-bio__layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
}
.ebd-cmt-bio__card {
    border-radius: 16px;
    padding: 28px;
}
.ebd-cmt-bio__aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ebd-cmt-bio__head {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
}
.ebd-cmt-bio__photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ebd-cmt-gold-soft);
}
.ebd-cmt-bio__head h3 { margin: 0 0 4px; font-size: 18px; }
.ebd-cmt-bio__cargo {
    color: var(--ebd-cmt-gold);
    font-weight: 600;
    font-size: 12px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.ebd-cmt-bio__text {
    font-size: 14px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 20px;
}
.ebd-cmt-bio__meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.ebd-cmt-bio__meta li {
    background: rgba(244,247,251,0.8);
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(15,23,42,0.04);
}
.ebd-cmt-bio__meta li span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 3px;
}
.ebd-cmt-bio__meta li strong { font-size: 13px; color: var(--ebd-cmt-navy); }

.ebd-cmt-quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ebd-cmt-quick-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ebd-cmt-quick-links a:last-child { border-bottom: none; }
.ebd-cmt-quick-links a:hover { color: var(--ebd-cmt-gold-light); }

.ebd-cmt-status-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.ebd-cmt-status-card__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22C55E;
    margin-top: 5px;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.15);
    flex-shrink: 0;
}
.ebd-cmt-status-card strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}
.ebd-cmt-status-card p {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

.ebd-cmt-social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ebd-cmt-social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--ebd-cmt-gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ebd-cmt-navy);
    text-decoration: none;
    transition: all 0.2s;
}
.ebd-cmt-social-icons a:hover {
    background: var(--ebd-cmt-gold);
    color: #fff;
}

/* ─── TRIMESTRES ─── */
.ebd-cmt-carousel-nav { display: flex; gap: 8px; }
.ebd-cmt-carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(15,23,42,0.1);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.ebd-cmt-carousel-btn:hover {
    border-color: var(--ebd-cmt-gold);
    color: var(--ebd-cmt-gold);
}
.ebd-cmt-trimestres-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 520px;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding-right: 4px;
}
.ebd-cmt-trimestre-card--horizontal {
    display: flex;
    flex-direction: row;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.ebd-cmt-trimestre-card--horizontal:hover {
    transform: translateY(-2px);
    box-shadow: var(--ebd-cmt-shadow-lg);
}
.ebd-cmt-trimestre-card--horizontal .ebd-cmt-trimestre-card__media {
    width: 200px;
    min-height: 180px;
    flex-shrink: 0;
    background: var(--ebd-cmt-navy-soft);
}
.ebd-cmt-trimestre-card--horizontal .ebd-cmt-trimestre-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ebd-cmt-trimestre-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 180px;
    font-size: 48px;
    width: 48px;
    color: rgba(255,255,255,0.15);
    margin: auto;
}
.ebd-cmt-trimestre-card__body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.ebd-cmt-trimestre-card__year {
    font-size: 10px;
    font-weight: 800;
    color: var(--ebd-cmt-gold);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.ebd-cmt-trimestre-card__body h3 {
    margin: 0;
    font-size: 18px;
    font-family: 'Merriweather', Georgia, serif;
}
.ebd-cmt-trimestre-card__tema {
    font-weight: 600;
    color: var(--ebd-cmt-navy);
    font-size: 14px;
    margin: 0;
}
.ebd-cmt-trimestre-card__desc {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    flex: 1;
    line-height: 1.55;
}
.ebd-cmt-trimestre-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(15,23,42,0.06);
}
.ebd-cmt-trimestre-card__count {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

/* ─── LIÇÕES (2 colunas premium) ─── */
.ebd-cmt-licoes-grid,
.ebd360-explorar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.ebd-cmt-licoes-wrap .ebd-card--licao {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--ebd-cmt-shadow);
    border: 1px solid rgba(15,23,42,0.04);
    transition: transform 0.25s, box-shadow 0.25s;
}
.ebd-cmt-licoes-wrap .ebd-card--licao:hover {
    transform: translateY(-4px);
    box-shadow: var(--ebd-cmt-shadow-lg);
}
.ebd-cmt-licoes-wrap .ebd-card__thumb {
    height: 200px !important;
}

/* ─── ESTUDOS / ARTIGOS ─── */
.ebd-cmt-estudos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.ebd-cmt-artigos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.ebd-cmt-artigo-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--ebd-cmt-shadow);
}
.ebd-cmt-artigo-card .ebd-card__thumb { height: 180px; overflow: hidden; }
.ebd-cmt-artigo-card .ebd-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ebd-cmt-artigo-card__placeholder {
    height: 100%;
    background: var(--ebd-cmt-navy-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.25);
}
.ebd-cmt-artigo-card__cat {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ebd-cmt-gold);
    letter-spacing: 0.5px;
}
.ebd-cmt-artigo-card__date {
    font-size: 12px;
    color: #94a3b8;
    display: block;
    margin-bottom: 10px;
}
.ebd-cmt-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #64748b;
    padding: 40px;
}

/* ─── RECURSOS LISTA ─── */
.ebd-cmt-recursos-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ebd-cmt-recurso-row {
    display: grid;
    grid-template-columns: 40px 56px 1fr auto 32px;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.ebd-cmt-recurso-row:hover {
    transform: translateX(4px);
    box-shadow: var(--ebd-cmt-shadow-lg);
}
.ebd-cmt-recurso-row__icon {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: var(--ebd-cmt-gold);
}
.ebd-cmt-recurso-row__format {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
}
.ebd-cmt-recurso-row__title {
    font-weight: 600;
    font-size: 14px;
    color: var(--ebd-cmt-navy);
}
.ebd-cmt-recurso-row__author {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}
.ebd-cmt-recurso-row__action {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--ebd-cmt-gold);
}

/* ─── TIMELINE SIMPLES ─── */
.ebd-cmt-timeline--simple {
    position: relative;
    padding-left: 28px;
}
.ebd-cmt-timeline--simple::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--ebd-cmt-gold), rgba(197,160,89,0.2));
}
.ebd-cmt-timeline--simple .ebd-cmt-timeline__item {
    position: relative;
    padding: 0 0 24px 24px;
    width: 100%;
}
.ebd-cmt-timeline--simple .ebd-cmt-timeline__dot {
    position: absolute;
    left: -25px;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ebd-cmt-gold);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px rgba(197,160,89,0.3);
}
.ebd-cmt-timeline__card {
    border-radius: 12px;
    padding: 18px 20px;
}
.ebd-cmt-timeline__date {
    font-size: 11px;
    font-weight: 700;
    color: var(--ebd-cmt-gold);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
    margin-bottom: 6px;
}
.ebd-cmt-timeline__card h3 { margin: 0 0 6px; font-size: 16px; }
.ebd-cmt-timeline__tema {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 10px;
    line-height: 1.5;
}
.ebd-cmt-timeline__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--ebd-cmt-gold);
    text-decoration: none;
}

/* ─── GALERIA ─── */
.ebd-cmt-gallery {
    columns: 3;
    column-gap: 16px;
}
.ebd-cmt-gallery__item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--ebd-cmt-shadow);
}
.ebd-cmt-gallery__item img { width: 100%; display: block; }
.ebd-cmt-gallery__item figcaption {
    padding: 10px 14px;
    font-size: 12px;
    color: #64748b;
}

/* ─── LIVROS ─── */
.ebd-cmt-livros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ebd-cmt-livro-card {
    background: var(--ebd-cmt-glass);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--ebd-cmt-shadow);
    display: flex;
    flex-direction: column;
}
.ebd-cmt-livro-card__cover {
    height: 180px;
    background: var(--ebd-cmt-navy-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ebd-cmt-livro-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ebd-cmt-livro-card__cover .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: rgba(255,255,255,0.25);
}
.ebd-cmt-livro-card__body { padding: 20px; }
.ebd-cmt-livro-card__body h3 { margin: 0 0 6px; font-size: 16px; }
.ebd-cmt-livro-card__ano {
    font-size: 12px;
    color: var(--ebd-cmt-gold);
    font-weight: 700;
}
.ebd-cmt-livro-card__body p {
    font-size: 13px;
    color: #64748b;
    margin: 8px 0 12px;
}

/* ─── CITAÇÕES ─── */
.ebd-cmt-quotes { position: relative; overflow: hidden; }
.ebd-cmt-quote {
    background: linear-gradient(135deg, var(--ebd-cmt-navy-soft), #0f172a);
    color: #fff;
    border-radius: 16px;
    padding: 40px 48px;
    margin: 0;
    text-align: center;
}
.ebd-cmt-quote__mark {
    font-size: 56px;
    line-height: 0;
    color: var(--ebd-cmt-gold);
    opacity: 0.35;
    font-family: Georgia, serif;
}
.ebd-cmt-quote p {
    font-size: 19px;
    font-family: 'Merriweather', Georgia, serif;
    line-height: 1.6;
    margin: 16px 0;
    font-style: italic;
}
.ebd-cmt-quote cite {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-style: normal;
}

/* ─── FAQ ─── */
.ebd-cmt-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ebd-cmt-faq__item {
    border-radius: 12px;
    overflow: hidden;
}
.ebd-cmt-faq__item summary {
    padding: 18px 22px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.ebd-cmt-faq__item summary::-webkit-details-marker { display: none; }
.ebd-cmt-faq__toggle {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--ebd-cmt-gold);
    transition: transform 0.25s;
    flex-shrink: 0;
}
.ebd-cmt-faq__item[open] summary { color: var(--ebd-cmt-gold); }
.ebd-cmt-faq__item[open] .ebd-cmt-faq__toggle {
    transform: rotate(45deg);
}
.ebd-cmt-faq__item[open] summary {
    border-bottom: 1px solid rgba(15,23,42,0.06);
}
.ebd-cmt-faq__answer {
    padding: 16px 22px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

/* ─── SIDEBAR ─── */
.ebd-cmt-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ebd-cmt-sidebar-card {
    background: var(--ebd-cmt-glass);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--ebd-cmt-shadow);
    border: 1px solid rgba(255,255,255,0.65);
}
.ebd-cmt-sidebar-card--highlight {
    background: linear-gradient(145deg, #0D1828, #152238);
    color: #fff;
    border: 1px solid rgba(197,160,89,0.15);
}
.ebd-cmt-sidebar-card__eyebrow {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ebd-cmt-gold-light);
    display: block;
    margin-bottom: 8px;
}
.ebd-cmt-sidebar-card__title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--ebd-cmt-navy);
}
.ebd-cmt-sidebar-card--highlight .ebd-cmt-sidebar-card__title { color: #fff; }
.ebd-cmt-sidebar-card--highlight h3 {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.35;
}
.ebd-cmt-sidebar-stat {
    margin: 0 0 10px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}
.ebd-cmt-sidebar-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--ebd-cmt-navy);
    line-height: 1.1;
}
.ebd-cmt-sidebar-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--ebd-cmt-gold);
    text-decoration: none;
}
.ebd-cmt-sidebar-link:hover { text-decoration: underline; }
.ebd-cmt-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ebd-cmt-sidebar-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(15,23,42,0.06);
    font-size: 13px;
}
.ebd-cmt-sidebar-list li:last-child { border-bottom: none; }
.ebd-cmt-sidebar-list a {
    color: var(--ebd-cmt-navy);
    text-decoration: none;
    line-height: 1.4;
}
.ebd-cmt-sidebar-list a:hover { color: var(--ebd-cmt-gold); }
.ebd-cmt-sidebar-card__muted {
    font-size: 12px;
    color: #94a3b8;
    display: block;
    margin: 4px 0 12px;
}

/* ─── CTA ─── */
.ebd-cmt-cta {
    background: linear-gradient(135deg, #060B14, #152238);
    color: #fff;
    padding: 56px 0;
    text-align: center;
    border-top: 1px solid rgba(197,160,89,0.12);
}
.ebd-cmt-cta__inner h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(22px, 3vw, 30px);
    margin: 0 0 10px;
    color: #fff;
}
.ebd-cmt-cta__inner p {
    color: rgba(255,255,255,0.58);
    max-width: 520px;
    margin: 0 auto 24px;
    font-size: 14px;
}
.ebd-cmt-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ─── PAGINATION ─── */
.ebd-cmt-pagination {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.ebd-cmt-pagination .page-btn {
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(15,23,42,0.1);
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}
.ebd-cmt-pagination .page-btn:hover,
.ebd-cmt-pagination .page-btn.active {
    background: var(--ebd-cmt-navy);
    color: #fff;
    border-color: var(--ebd-cmt-navy);
}

/* ─── TOAST ─── */
.ebd-cmt-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--ebd-cmt-navy);
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    animation: ebdCmtToastIn 0.3s ease;
}
@keyframes ebdCmtToastIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1280px) {
    .ebd-cmt-stats__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
    .ebd-cmt-layout { grid-template-columns: 1fr; }
    .ebd-cmt-sidebar { position: static; }
    .ebd-cmt-bio__layout { grid-template-columns: 1fr; }
    .ebd-cmt-bio__aside {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .ebd-cmt-hero__toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .ebd-cmt-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ebd-cmt-hero__photo-wrap {
        display: flex;
        justify-content: center;
    }
    .ebd-cmt-hero__badges,
    .ebd-cmt-hero__actions { justify-content: center; }
    .ebd-cmt-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .ebd-cmt-licoes-grid,
    .ebd360-explorar-grid,
    .ebd-cmt-artigos-grid,
    .ebd-cmt-estudos-grid,
    .ebd-cmt-livros-grid { grid-template-columns: 1fr; }
    .ebd-cmt-trimestre-card--horizontal { flex-direction: column; }
    .ebd-cmt-trimestre-card--horizontal .ebd-cmt-trimestre-card__media {
        width: 100%;
        min-height: 160px;
    }
    .ebd-cmt-recurso-row {
        grid-template-columns: 32px 1fr 32px;
        grid-template-rows: auto auto;
    }
    .ebd-cmt-recurso-row__format { display: none; }
    .ebd-cmt-recurso-row__author { display: none; }
    .ebd-cmt-recurso-row__title { grid-column: 2; }
    .ebd-cmt-bio__meta { grid-template-columns: 1fr; }
    .ebd-cmt-bio__aside { grid-template-columns: 1fr; }
    .ebd-cmt-gallery { columns: 2; }
}
@media (max-width: 480px) {
    .ebd-cmt-stats__grid { grid-template-columns: 1fr 1fr; }
    .ebd-cmt-gallery { columns: 1; }
    .ebd-cmt-quote { padding: 28px 22px; }
    .ebd-cmt-quote p { font-size: 17px; }
}
