/* True Discipleship: Bible Verses widget. The heading and arrow buttons reuse the featured carousel's
   .td-carousel-heading and .td-carousel-controls styles (navigation-carousel.css). */
.full-widget-area .td-verses-widget,
.footer-widgets .td-verses-widget { overflow:visible; }
.td-verse-rotator { clear:both; margin:0; padding:0 0 8px; }
.td-verse-rotator .td-verse-heading { margin-bottom:12px; }
.td-verse-track { display:grid; }
.td-verse { grid-area:1 / 1; margin:0; padding:8px 0 4px; text-align:center; }
.td-verse[hidden] { display:none; }
/* Cross-fade: the outgoing verse stays visible while it fades, then leaves the accessibility tree. */
.td-verse-rotator.is-enhanced .td-verse { opacity:0; visibility:hidden; transition:opacity .9s ease, visibility 0s linear .9s; }
.td-verse-rotator.is-enhanced .td-verse.is-active { opacity:1; visibility:visible; transition:opacity .9s ease, visibility 0s; }
.td-verse-rotator .td-verse-text { max-width:760px; margin:0 auto; padding:0; border:0; background:none; box-shadow:none; quotes:none; }
.td-verse-rotator .td-verse-text::before,
.td-verse-rotator .td-verse-text::after { content:none; }
.td-verse-rotator .td-verse-text p { margin:0; padding:0; font:italic 400 clamp(19px,2.2vw,24px)/1.55 Tinos,Georgia,serif; color:#252324; }
.td-verse-rotator .td-verse-reference { margin:10px 0 0; font:700 15px/1.4 Merriweather,Georgia,serif; color:#6f4a1d; }
.td-verse-rotator .td-verse-reference::before { content:"\2014\00a0"; }
/* Pause and play icons drawn with borders: text symbols render inconsistently, and phones may show ▶ as an emoji. */
.td-verse-controls button[data-action="pause"] { display:inline-flex; align-items:center; justify-content:center; }
.td-verse-icon { display:block; box-sizing:border-box; width:11px; height:13px; border-left:4px solid currentColor; border-right:4px solid currentColor; }
.is-paused .td-verse-icon { width:0; height:0; margin-left:3px; border-style:solid; border-width:7px 0 7px 12px; border-color:transparent transparent transparent currentColor; }
.td-verse-rotator :focus-visible { outline:2px solid #885923; outline-offset:2px; }
@media(prefers-reduced-motion:reduce) {
    .td-verse-rotator.is-enhanced .td-verse,
    .td-verse-rotator.is-enhanced .td-verse.is-active { transition:none; }
}
@media(max-width:480px) { .td-verse-rotator .td-verse-text p { font-size:18px; } }

/* Dark footer: a slim verse line with no controls at the right end of the site-name row, resting just
   above the line over the copyright (footer.php .td-footer-top). */
#footer .td-footer-top.has-verses { display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:end; column-gap:32px; }
#footer .td-footer-top.has-verses > .clear { display:none; }
#footer .td-footer-top.has-verses .footer-logo { float:none; grid-column:1; align-self:center; }
#footer .td-footer-top.has-verses + .footer-info { margin-top:10px; }
#footer .td-footer-bar { grid-column:2; justify-self:end; min-width:0; max-width:620px; }
#footer .td-footer-bar .widget { margin:0; }
.td-verse-rotator.is-compact { padding:0; }
/* Font size and line height on the figure too, so the inline text's line box isn't stretched by the theme's taller default. */
.td-verse-rotator.is-compact .td-verse { padding:0; text-align:right; font-size:13px; line-height:1.5; text-wrap:balance; }
.td-verse-rotator.is-compact .td-verse-text { display:inline; max-width:none; }
.td-verse-rotator.is-compact .td-verse-text p { display:inline; font:italic 400 13px/1.5 Tinos,Georgia,serif; color:#e6e4de; }
.td-verse-rotator.is-compact .td-verse-reference { display:inline; margin:0 0 0 6px; font:700 11px/1.5 Merriweather,Georgia,serif; color:#e3cf9f; white-space:nowrap; }
@media(max-width:768px) {
    #footer .td-footer-top.has-verses { grid-template-columns:minmax(0,1fr); row-gap:8px; }
    #footer .td-footer-bar { grid-column:1; justify-self:start; max-width:none; }
    .td-verse-rotator.is-compact .td-verse { text-align:left; }
}
