.agapath-escopo .agapath-titulo {

    margin: 0 0 20px;
    font-family: Georgia, 'Times New Roman', serif;

}



.agapath-escopo .agapath-versiculos-grid {

    --agapath-bg: #ffffff;
    --agapath-border: rgba(15, 23, 42, .1);
    --agapath-quote: #1e2a38;
    --agapath-ref: #3f7859;
    --agapath-muted: rgba(15, 23, 42, .32);
    --agapath-btn-bg: #ffffff;
    --agapath-btn-border: rgba(15, 23, 42, .14);
    --agapath-btn-text: #33404d;
    --agapath-btn-bg-hover: #f6f5f2;
    --agapath-fonte-titulo: Georgia, 'Times New Roman', serif;
    --agapath-fonte-texto: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--agapath-min-col, 280px), 1fr));
    gap: 24px;
    margin: 20px 0;
    box-sizing: border-box;

}



.agapath-escopo .agapath-versiculos-grid *,
.agapath-escopo .agapath-versiculos-grid *::before,
.agapath-escopo .agapath-versiculos-grid *::after {

    box-sizing: border-box;

}



.agapath-escopo .agapath-card {

    position: relative;
    background: var(--agapath-bg);
    border: 1px solid var(--agapath-border);
    padding: 28px 28px 24px;
    border-radius: 20px;

    /*
    O card é um flex-column de altura total (o grid já estica todos os
    cards de uma mesma linha para a mesma altura, via align-items:stretch,
    que é o comportamento padrão do CSS Grid). Dentro dessa altura fixa,
    o .agapath-conteudo (citação + referência) cresce com flex:1 e absorve
    toda a folga, empurrando a linha e os botões sempre para o mesmo lugar,
    junto à base do card — igual ao padrão de "card-body / card-footer"
    do Bootstrap ou do Material UI.
    */
    display: flex;
    flex-direction: column;
    height: 100%;

}



.agapath-escopo .agapath-numero {

    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 12px;
    letter-spacing: .03em;
    color: var(--agapath-muted);
    font-family: var(--agapath-fonte-texto);
    font-variant-numeric: tabular-nums;

}



.agapath-escopo .agapath-conteudo {

    /* Cresce para preencher o espaço disponível; a citação e a referência
       ficam encostadas no topo, e o espaço sobrando nasce depois delas,
       antes da linha divisória — nunca dentro do texto. */
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;

}



.agapath-escopo .agapath-card blockquote {

    font-family: var(--agapath-fonte-titulo);
    font-size: 19px;
    line-height: 1.55;
    color: var(--agapath-quote) !important;
    margin: 4px 30px 20px 0;
    border: none !important;
    padding: 0 !important;
    background: none !important;
    quotes: none;

    /*
    Limita o versículo a 5 linhas visíveis. Isso garante que mesmo o maior
    versículo da Bíblia (ex.: Ester 8:9) não estoure a altura do card nem
    force os cards vizinhos (esticados pela mesma linha do grid) a ficarem
    artificialmente altos. O texto completo continua acessível via o botão
    "Ler versículo completo", que abre a modal.
    */
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 5 !important;
    line-clamp: 5 !important;
    overflow: hidden !important;

}



.agapath-escopo .agapath-ler-mais {

    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 16px;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-family: var(--agapath-fonte-texto);
    font-size: 13px;
    font-style: italic;
    font-weight: 600;
    color: #d19847 !important;
    cursor: pointer;

}



.agapath-escopo .agapath-ler-mais:hover {

    text-decoration: underline !important;
    text-underline-offset: 3px;
    background: none !important;
    border: none !important;
    padding: 0 !important;

}



.agapath-escopo .agapath-oculto {

    display: none !important;

}



.agapath-escopo .agapath-referencia {

    display: block;
    font-family: var(--agapath-fonte-texto);
    font-size: 14px;
    font-weight: 600;
    color: var(--agapath-ref) !important;
    margin-bottom: 0;

}



/*
Especificidade reforçada e margens travadas com !important pelo mesmo motivo
dos botões: temas e o Elementor costumam aplicar reset/estilo próprio em
<hr>, o que reduzia visualmente o espaço entre a linha e os botões.
*/
.agapath-escopo .agapath-versiculos-grid .agapath-card .agapath-divisor {

    border: none !important;
    border-top: 1px solid var(--agapath-border) !important;
    margin: 22px 0 18px !important;
    flex-shrink: 0;
    width: 100%;

}



.agapath-escopo .agapath-acoes {

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-shrink: 0;

}



/*
Especificidade reforçada (.agapath-versiculos-grid .agapath-acoes .agapath-btn)
de propósito: alguns temas aplicam estilo próprio em <button>, e isso garante
que o visual do plugin sempre prevaleça, independente do tema instalado.
*/
.agapath-escopo .agapath-versiculos-grid .agapath-acoes .agapath-btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 9px 16px;
    border-radius: 999px !important;
    border: 1px solid var(--agapath-btn-border) !important;
    background-color: var(--agapath-btn-bg) !important;
    color: var(--agapath-btn-text) !important;
    font-size: 13px;
    font-weight: 400;
    font-family: var(--agapath-fonte-texto) !important;
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1;
    box-shadow: none !important;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color .15s ease, transform .1s ease;

}



.agapath-escopo .agapath-versiculos-grid .agapath-acoes .agapath-btn:hover {

    background-color: var(--agapath-btn-bg-hover) !important;

}



.agapath-escopo .agapath-versiculos-grid .agapath-acoes .agapath-btn:focus-visible {

    outline: 2px solid var(--agapath-ref);
    outline-offset: 2px;

}



.agapath-escopo .agapath-versiculos-grid .agapath-acoes .agapath-btn:active {

    transform: scale(.97);

}



.agapath-escopo .agapath-versiculos-grid .agapath-acoes .agapath-btn-icone {

    padding: 9px;
    aspect-ratio: 1 / 1;

}



.agapath-escopo .agapath-versiculos-grid .agapath-acoes .agapath-btn svg {

    flex-shrink: 0;
    color: inherit !important;
    stroke: currentColor !important;

}



@media (max-width: 600px) {

    .agapath-escopo .agapath-card {

        padding: 24px 22px 20px;

    }

}



/*
|--------------------------------------------------------------------------
| MODAL: VERSÍCULO COMPLETO
|--------------------------------------------------------------------------
*/


.agapath-escopo .agapath-modal {

    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;

}



.agapath-escopo .agapath-modal.agapath-modal-aberta {

    visibility: visible;
    opacity: 1;

}



.agapath-escopo .agapath-modal-overlay {

    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);

}



.agapath-escopo .agapath-modal-caixa {

    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 82vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px 32px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
    transform: translateY(14px);
    transition: transform .2s ease;

}



.agapath-escopo .agapath-modal.agapath-modal-aberta .agapath-modal-caixa {

    transform: translateY(0);

}



.agapath-escopo .agapath-modal-fechar {

    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    background: none !important;
    color: rgba(15, 23, 42, .45) !important;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;

}



.agapath-escopo .agapath-modal-fechar:hover {

    background: rgba(15, 23, 42, .06) !important;
    color: #1e2a38 !important;

}



.agapath-escopo .agapath-modal-numero {

    display: block;
    font-size: 12px;
    letter-spacing: .03em;
    color: rgba(15, 23, 42, .32);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    margin-bottom: 12px;

}



.agapath-escopo .agapath-modal-texto {

    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    line-height: 1.6;
    color: #1e2a38;
    margin: 0 0 20px;
    border: none !important;
    padding: 0 !important;
    background: none !important;

}



.agapath-escopo .agapath-modal-referencia {

    display: block;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #3f7859;

}



/*
Este seletor é aplicado via JS diretamente na tag <body> (para travar o
scroll da página enquanto a modal está aberta), então, ao contrário de
todo o resto do arquivo, ele NÃO fica restrito a .agapath-escopo — <body>
é ancestral do escopo, nunca descendente dele.
*/
body.agapath-modal-bloqueio-scroll {

    overflow: hidden;

}



/*
|--------------------------------------------------------------------------
| MENU DE COMPARTILHAMENTO (texto) — WhatsApp / Email / SMS / X / Copiar
|--------------------------------------------------------------------------
| Injetado diretamente em <body> pelo JS (fora de .agapath-escopo), assim
| como a trava de scroll acima — por isso essas regras também não ficam
| aninhadas dentro de .agapath-escopo. Cores e proporções seguem exatamente
| o mesmo design do menu de compartilhamento do widget "Versículo do Dia"
| do site.
*/

#agapath-share-overlay {

    position: fixed;
    inset: 0;
    background: rgba(54, 89, 71, 0.35);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    animation: agapath-share-fade .15s ease-out;

}



#agapath-share-overlay,
#agapath-share-overlay *{

    box-sizing: border-box;

}



@keyframes agapath-share-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}



#agapath-share-card {

    background: #FBF8F2;
    border-radius: 22px;
    padding: 30px 26px 26px;
    max-width: 360px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 20px 45px rgba(54, 89, 71, 0.25);
    position: relative;
    animation: agapath-share-pop .18s ease-out;

}



@keyframes agapath-share-pop {
    from { transform: scale(.94); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}



/*
Reset geral: neutraliza estilos globais do tema/page builder (hover de
cor, bordas de botão, sublinhado de link etc.) dentro do overlay inteiro,
com !important para vencer a especificidade do CSS do tema — mesmo
padrão de blindagem já usado no restante do plugin.
*/
#agapath-share-overlay a,
#agapath-share-overlay button {

    -webkit-appearance: none !important;
    appearance: none !important;
    background: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font: inherit !important;
    color: #365947 !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;

}



#agapath-share-overlay a:hover,
#agapath-share-overlay a:focus,
#agapath-share-overlay a:active,
#agapath-share-overlay a:visited,
#agapath-share-overlay button:hover,
#agapath-share-overlay button:focus,
#agapath-share-overlay button:active {

    background: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: #365947 !important;
    text-decoration: none !important;

}



#agapath-share-close {

    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 16px;
    line-height: 1;
    color: #D19847 !important;
    padding: 4px !important;
    opacity: .8;

}



#agapath-share-close:hover {

    opacity: 1;
    color: #D19847 !important;

}



.agapath-share-title {

    margin: 0 0 8px;
    font-family: Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 24px;
    color: #365947;
    text-align: center;

}



.agapath-share-divider {

    width: 42px;
    height: 2px;
    background: #D19847;
    opacity: .55;
    margin: 0 auto 20px;
    border-radius: 2px;

}



.agapath-share-quote-box {

    background: #F4EEE1;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 22px;

}



.agapath-share-quote-text {

    margin: 0 0 8px;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 16px;
    line-height: 22px;
    color: #365947;

}



.agapath-share-quote-ref {

    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #D19847;

}



/*
Linha de ícones: largura igual para todos (link ou botão), evitando o
desalinhamento causado pelo <button> herdando padding padrão do
navegador/tema. O nome de cada canal aparece como tooltip ao passar o
mouse/toque, em vez de um rótulo fixo abaixo do ícone.
*/
.agapath-share-icons-row {

    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 22px;

}



.agapath-share-icon-item {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 1 1 0;
    min-width: 0;

}



/*
Círculo bege-claro padrão para todos os ícones: fundo bege, ícone
verde-oliva via currentColor. Mesmo padrão para WhatsApp, Email, SMS,
X e Copiar — nenhum ícone tem cor de fundo própria.
*/
.agapath-share-icon-circle {

    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #F3F4EE;
    color: #8A9A5B;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .15s ease, color .15s ease;
    border: 0 !important;

}



/*
Único efeito de hover no círculo: inverter a cor do ícone com a cor do
fundo circular onde ele está. Nada de escala, brilho ou sombra.
*/
.agapath-share-icon-item:hover .agapath-share-icon-circle {

    background: #8A9A5B;
    color: #F3F4EE;

}



.agapath-share-icon-item::after {

    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #365947;
    color: #FBF8F2;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    white-space: nowrap;
    padding: 4px 9px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 2;

}



.agapath-share-icon-item:hover::after,
.agapath-share-icon-item:focus-within::after {

    opacity: 1;
    transform: translateX(-50%) translateY(0);

}



.agapath-share-link-row {

    display: flex;
    align-items: center;
    background: #F4EEE1;
    border-radius: 30px;
    padding: 5px 5px 5px 16px;
    gap: 8px;

}



.agapath-share-link-input {

    flex: 1;
    border: 0 !important;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    color: #365947;
    outline: 0 !important;
    min-width: 0;
    box-shadow: none !important;

}



/*
"Copiar Link": pílula sólida na cor #D19847, que passa para #365947 no
hover/foco/pressionado. Seletor prefixado com o ID do overlay para
ganhar mais especificidade que o reset geral de "button" logo acima
(que, sozinho, apagaria esse fundo).
*/
#agapath-share-overlay .agapath-share-copy-btn {

    color: #FBF8F2 !important;
    background: #D19847 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    padding: 11px 18px !important;
    border-radius: 24px !important;
    white-space: nowrap;
    transition: background .15s ease;

}



#agapath-share-overlay .agapath-share-copy-btn:hover,
#agapath-share-overlay .agapath-share-copy-btn:focus,
#agapath-share-overlay .agapath-share-copy-btn:active {

    background: #365947 !important;
    color: #FBF8F2 !important;

}