/* Estudos Emaús — complementos ao Tailwind. Mesmos tokens de /academia (header.php). */
:root {
    --brand-color: #3ab8b8;
    --brand-dark: #2d9191;
    --header-bg: #fefefe;
    --text-color: #4b5563;
}

/* Header igual ao .header-premium da Academia */
.estudos-header {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Link de navegação com sublinhado animado (mesmo efeito da Academia) */
.nav-link-premium {
    position: relative;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
    opacity: 0.85;
}
.nav-link-premium:hover, .nav-link-premium.is-active { color: var(--brand-color); opacity: 1; }
.nav-link-premium::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link-premium:hover::after, .nav-link-premium.is-active::after { width: 100%; }

/* Botão principal (igual .btn-premium da Academia) */
.btn-premium {
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
    box-shadow: 0 4px 15px rgba(58, 184, 184, 0.25);
    transition: all 0.3s ease;
    font-weight: 500;
}
.btn-premium:hover { box-shadow: 0 8px 25px rgba(58, 184, 184, 0.4); transform: translateY(-2px); }

details.estudos-dropdown > summary::-webkit-details-marker { display: none; }

/* Textos originais */
.txt-hebrew { font-family: "Noto Serif Hebrew", "SBL Hebrew", "Ezra SIL", serif; direction: rtl; unicode-bidi: isolate; }
.txt-greek { font-family: "Noto Serif", "SBL Greek", "Gentium Plus", serif; }

/* ---------------- Bíblia Interlinear: cartões de palavra ---------------- */
.palavra-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 64px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    background: #fbfdfd;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}
.palavra-card:hover { border-color: rgba(58, 184, 184, 0.5); background: #f0fafa; transform: translateY(-1px); }
.palavra-card.is-variante { background: #fffbeb; border-style: dashed; border-color: #fcd34d; }
.pc-orig { font-size: 1.35rem; line-height: 1.6; color: #111827; }
.pc-orig.txt-hebrew { font-size: 1.6rem; }
.pc-translit { font-size: 0.72rem; font-style: italic; color: #6b7280; }
/* Linhas em alfabeto latino ficam LTR mesmo dentro do versículo hebraico (RTL) */
.palavra-card > span:not(.pc-orig) { direction: ltr; unicode-bidi: isolate; }
.pc-glosa { font-size: 0.78rem; color: #1f2937; font-weight: 500; direction: ltr; }
.pc-glosa-es { font-size: 0.65rem; color: #9ca3af; direction: ltr; }
.pc-strong { font-size: 0.65rem; color: var(--brand-color); font-weight: 600; direction: ltr; }
.pc-morf { font-size: 0.6rem; color: #9ca3af; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; direction: ltr; }
body.ocultar-translit .pc-translit,
body.ocultar-glosa .pc-glosa, body.ocultar-glosa .pc-glosa-es,
body.ocultar-strong .pc-strong,
body.ocultar-morf .pc-morf { display: none; }

/* HTML vindo dos léxicos/dicionários */
.prose-estudos p { margin: 0 0 0.6em; }
.prose-estudos b, .prose-estudos strong { color: #1f2937; }
.prose-estudos a { color: var(--brand-dark); }
