:root {
    --efx-text-bold: #0d1216;
    --efx-text-dim: #64748b;
    --efx-accent-gold: #C5A059;
    --efx-border-terminal: #e2e8f0;
    /* Cores Originais Redes Sociais */
    --social-tw: #1DA1F2;
    --social-fb: #4267B2;
    --social-wa: #25D366;
    --social-li: #0077B5;
    --social-ig: #E4405F;
}

/* --- HEADER DO TERMINAL (Sidebar Friendly) --- */
.efx-terminal-header {
    background: #ffffff;
    border-top: 5px solid var(--efx-text-bold) !important;
    padding: 25px 0 15px 0 !important;
    margin-bottom: 20px;
}

.efx-terminal-title {
    font-size: 34px !important;
    font-weight: 850 !important;
    letter-spacing: -1.2px;
    line-height: 1.1;
    color: var(--efx-text-bold);
    margin-bottom: 15px !important;
}

/* --- BYLINE COM FOTO REDONDA --- */
.efx-topic-byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--efx-border-terminal);
    margin-bottom: 20px;
}

.efx-author-meta { display: flex; align-items: center; gap: 10px; }

.efx-author-img-round img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 1px solid #ddd;
}

.efx-by-text {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--efx-text-dim);
}

.efx-by-text a { color: var(--efx-text-bold) !important; text-decoration: none; }

/* --- BARRA DE UTILITÁRIOS: FONT & SHARE --- */
.efx-util-bar { display: flex; align-items: center; gap: 20px; }

.efx-font-ctrl { display: flex; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; background: #fff; }
.efx-font-ctrl button {
    background: transparent; border: none; padding: 6px 12px;
    font-weight: 700; cursor: pointer; color: #333; transition: 0.2s;
}
.efx-font-ctrl button:hover { background: #f0f0f0; }

.efx-social-grid { display: flex; gap: 8px; }
.efx-s-btn {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff !important; font-size: 14px; transition: 0.3s ease;
}
.efx-s-btn:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.s-tw { background: var(--social-tw); }
.s-fb { background: var(--social-fb); }
.s-wa { background: var(--social-wa); }
.s-li { background: var(--social-li); }
.s-ig { background: var(--social-ig); }

/* --- CONTENT --- */
.efx-news-body { 
    font-size: 18px; 
    line-height: 1.8; 
    transition: font-size 0.2s ease; 
    color: #1e293b;
}

/* Lógica de ocultar autor no 1º post via classe pai */
.efx-first-post .efx-post-header-pane { display: none !important; }

.efx-article-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 767px) {
    .efx-terminal-title { font-size: 24px !important; }
    .efx-topic-byline { flex-direction: column; align-items: flex-start; }
    .efx-util-bar { width: 100%; justify-content: space-between; }
}