/* CSS Simples para Leitura */

.commentary-block {
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.commentary-block p {
    margin-bottom: 1em;
}

.commentary-block strong {
    font-weight: bold;
}

.commentary-block em {
    font-style: italic;
}

.commentary-block u {
    text-decoration: underline;
}

.commentary-block sup {
    font-size: 12px;
    color: #666;
}



/* Remove o tooltip padrão do navegador */
.str-hover {
    /* Remove pontilhado e usa bold sutil para identificação */
    font-weight: 500;
    cursor: help;
    position: relative;
    transition: font-weight 0.2s ease;
}

/* Desabilita o tooltip nativo do navegador */
.str-hover:hover {
    /* Slightly mais bold no hover */
    font-weight: 600;
}

/* Remove completamente o title nativo */
.str-hover[title]:hover::before {
    content: '';
}

/* Remove o tooltip padrão do navegador */
.str-hover:hover::before {
    content: '';
}

/* Tooltip customizado usando data-strong ao invés de title */
.str-hover::after {
    content: attr(data-strong);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    
    /* Inicialmente invisível */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-5px);
    transition: all 0.3s ease;
    
    /* Seta do tooltip */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(50% + 6px) calc(100% - 6px), 50% 100%, calc(50% - 6px) calc(100% - 6px), 0 calc(100% - 6px));
}

/* Mostra o tooltip no hover */
.str-hover:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Variação com seta triangular (alternativa) */
.str-hover.arrow-style::after {
    clip-path: none;
    margin-bottom: 5px;
    content: attr(data-strong);
}

.str-hover.arrow-style::before {
    content: '';
    position: absolute;
    bottom: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #2c3e50;
    z-index: 1001;
    
    /* Inicialmente invisível */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.str-hover.arrow-style:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Estilo para múltiplos números Strong's */
.str-hover[data-strong*=";"]::after {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    border-color: rgba(255, 255, 255, 0.2);
    content: attr(data-strong);
}

/* Adaptação para telas menores */
@media (max-width: 768px) {
    .str-hover::after {
        font-size: 12px;
        padding: 6px 10px;
        max-width: 200px;
        white-space: normal;
        text-align: center;
    }
}

/* Estilo para impressão - remove os efeitos */
@media print {
    .str-hover {
        font-weight: normal;
    }
    
    .str-hover::after,
    .str-hover::before {
        display: none;
    }
}