/* Cartão "Oração de hoje" (template-parts/cartao-oracao-hoje.php), no estilo do topo da Oração do dia, em terracota.
   ponytail: as regras antigas .cartao-dia__* em style.css ficaram sem uso; apagar quando style.css estiver livre. */
.cdh { margin: 0 0 2rem; }
.cdh[hidden] { display: none; }
.cdh__card {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px 40px; align-items: center;
    padding: 34px 40px 32px; border-radius: var(--radius-card, 18px); color: #fff;
    background: linear-gradient(125deg, #C46C31 0%, #A3532A 55%, #7E3D1C 100%);
    box-shadow: 0 18px 44px rgba(126, 61, 28, .38);
}
.cdh__esq { min-width: 0; }
.cdh__olho { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.cdh__olho b { font: 700 12px/1.3 var(--font-corpo); letter-spacing: .12em; text-transform: uppercase; color: #FFDDB5; }
.cdh__olho em { font: italic 500 15px/1.4 var(--font-titulo); color: rgba(255, 255, 255, .85); }
.cdh__hoje { margin: 14px 0 0; font: 400 16px/1.4 var(--font-corpo); color: #FFDDB5; }
.cdh .cdh__pais { margin: 2px 0 0; font: 700 clamp(44px, 7vw, 78px)/1.02 var(--font-titulo); color: #fff; letter-spacing: -.01em; overflow-wrap: anywhere; }
.cdh__frase { margin: 14px 0 0; max-width: 34em; font: italic 16px/1.6 var(--font-titulo); color: rgba(255, 255, 255, .92); }
.cdh__frase:empty { display: none; }
.cdh .cdh__btn {
    margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
    background: #fff; color: #7E3D1C; font: 700 16px/1.3 var(--font-corpo); padding: 15px 28px; border-radius: 999px;
    box-shadow: 0 10px 24px rgba(60, 25, 8, .3); transition: background .15s ease, color .15s ease;
}
.cdh .cdh__btn:hover { background: #13283E; color: #fff; }
.cdh .cdh__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cdh__dir { display: grid; gap: 16px; justify-items: end; min-width: 0; }
.cdh__flag { width: 100%; max-width: 250px; height: auto; transform: rotate(-4deg); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .4)); border-radius: 4px; }
.cdh__povo { display: flex; gap: 12px; align-items: center; width: 100%; max-width: 250px; box-sizing: border-box; padding: 12px 16px 12px 12px; border-radius: 12px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .2); }
.cdh__foto { width: 56px; height: 56px; flex: none; border-radius: 8px; object-fit: cover; }
.cdh__foto--ph { display: grid; place-items: center; background: rgba(0, 0, 0, .18); font-size: 26px; color: #FFDDB5; }
.cdh__foto[hidden], .cdh__foto--ph[hidden] { display: none; }
.cdh__povo-tx { display: grid; gap: 1px; min-width: 0; }
.cdh__povo-tx small { font: 700 10.5px/1.3 var(--font-corpo); letter-spacing: .1em; text-transform: uppercase; color: #FFDDB5; }
.cdh__povo-tx b { font: 700 19px/1.2 var(--font-titulo); color: #fff; overflow-wrap: anywhere; }
.cdh__povo-tx span { font: 13px/1.4 var(--font-corpo); color: rgba(255, 255, 255, .88); }
@media (max-width: 760px) {
    .cdh__card { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 26px 22px; }
    .cdh__esq { display: contents; }
    .cdh__olho, .cdh__hoje, .cdh .cdh__pais, .cdh__frase { grid-column: 1; }
    .cdh__dir { grid-row: 5; margin-top: 18px; justify-items: start; grid-template-columns: minmax(0, 104px) minmax(0, 1fr); align-items: center; }
    .cdh__flag { max-width: 104px; }
    .cdh__povo { max-width: none; padding: 10px; }
    .cdh__foto { width: 44px; height: 44px; }
    .cdh .cdh__btn { grid-row: 6; width: 100%; justify-content: center; box-sizing: border-box; margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { .cdh .cdh__btn { transition: none; } }
