/*
Theme Name: Revival Fires Child
Description: A child theme of CoverNews for the Revival Fires digital newspaper.
Template: covernews
Version: 2.6.25
Text Domain: revival-fires-child
*/

/* Put future Revival Fires design changes below this line. */

/* Home edition: featured sermons and events above the current issue. */
.rf-front-page { background: #fff; color: #222; }
#primary.rf-front-page { width: 100%; max-width: none; float: none; flex: 0 0 100%; box-sizing: border-box; }
.rf-front-page__inner { width: 100%; max-width: 1540px; padding: 42px 24px 80px; margin: 0 auto; box-sizing: border-box; }
.rf-front-section + .rf-front-section { margin-top: 58px; }
.rf-section-heading { margin-bottom: 22px; }
.rf-section-heading h1,
.rf-section-heading h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); line-height: 1.2; margin: 0; }
.rf-section-heading::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 12px; background: #bc1d22; }
.rf-lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.rf-lead-card,
.rf-event-card { min-width: 0; background: #fff; border: 1px solid #e7e7e7; box-shadow: 0 3px 14px rgba(0,0,0,.045); }
.rf-lead-card__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f2f2f2; }
.rf-lead-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rf-lead-card__body { padding: 22px 24px 26px; }
.rf-lead-card h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.22; margin: 0 0 12px; }
.rf-lead-card h2 a,
.rf-event-card h3 a,
.rf-issue-list a { color: inherit; text-decoration: none; }
.rf-lead-card h2 a:hover,
.rf-event-card h3 a:hover,
.rf-issue-list a:hover { color: #b71920; }
.rf-lead-card p,
.rf-event-card p { color: #4d4d4d; line-height: 1.6; margin: 0 0 16px; }
.rf-read-link { color: #a81820; font-weight: 700; text-decoration: none; }
.rf-read-link:hover { text-decoration: underline; }
.rf-issue-list { list-style: none; padding: 0; margin: 0; }
.rf-issue-list li { display: grid; grid-template-columns: 82px minmax(0,1fr); align-items: center; gap: 18px; min-height: 100px; padding: 11px 0; margin: 0; border-bottom: 1px solid #ddd; }
.rf-issue-list__portrait { display: block; width: 82px; height: 82px; background: #f2f2f2; overflow: hidden; }
.rf-issue-list__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.rf-issue-list__text h3 { margin: 0 0 5px; color: #a81820; font-size: 1.18rem; line-height: 1.3; }
.rf-issue-list__text p { margin: 0; font-size: 1rem; font-style: italic; color: #222; }
.rf-events-grid { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.rf-front-page .rf-event-card.post { display: block; width: 100%; max-width: none; min-width: 0; float: none; margin: 0; box-sizing: border-box; }
.rf-event-card__image { display: block; width: 100%; height: 230px; background: #f3f3f3; overflow: hidden; }
.rf-event-card__image img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.rf-event-card__body { padding: 20px; }
.rf-event-card h3 { font-size: 1.22rem; line-height: 1.32; margin: 0 0 10px; }
.rf-event-card h3 a { overflow-wrap: anywhere; }
.rf-event-card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rf-home-page-content { margin-top: 58px; }
.rf-top-grid { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); gap: 28px; align-items: stretch; }
.rf-top-grid > .rf-front-section { min-width: 0; display: flex; flex-direction: column; }
.rf-top-grid .rf-front-section + .rf-front-section { margin-top: 0; }
.rf-top-grid + .rf-front-section { margin-top: 54px; }
.rf-featured-slider { position: relative; aspect-ratio: 1 / 1; background: #eaeaea; overflow: hidden; }
.rf-featured-slide { position: absolute; inset: 0; display: none; margin: 0; }
.rf-featured-slide.is-active { display: block; }
.rf-featured-slide__link, .rf-issue-card { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; color: #fff; text-decoration: none; background: #354044; }
.rf-featured-slide__link > img, .rf-issue-card > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.rf-featured-slide__link::after, .rf-issue-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.87)); pointer-events: none; }
.rf-featured-slide__caption, .rf-issue-card__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 23px; color: #fff; }
.rf-featured-slide__caption strong { display: block; font-size: clamp(1.6rem, 2.7vw, 2.4rem); line-height: 1.2; }
.rf-featured-slide__caption small, .rf-issue-card__text small { display: block; margin-top: 8px; font-size: 1rem; }
.rf-sermon-date { display: block; margin-top: 7px; font-size: .88rem; line-height: 1.3; color: #fff; }
.rf-featured-heading { position: relative; display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.rf-featured-heading::after { position: absolute; left: 0; bottom: -16px; }
.rf-featured-slide__link:focus-visible, .rf-issue-card:focus-visible { outline: 3px solid #e3232c; outline-offset: -3px; }
.rf-image-controls { position: absolute; z-index: 10; inset: 0; pointer-events: none; }
.rf-image-controls button { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 64px; padding: 0 0 5px; border: 1px solid rgba(255,255,255,.42); border-radius: 5px; background: rgba(181,20,29,.72); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.3); cursor: pointer; pointer-events: auto; font-size: 42px; line-height: 1; }
.rf-image-controls button:first-child { left: 10px; }
.rf-image-controls button:last-child { right: 10px; }
.rf-image-controls button:hover, .rf-image-controls button:focus-visible { background: rgba(181,20,29,.96); }
.rf-image-controls button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.rf-carousel-progress { position: absolute; z-index: 9; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(20,20,20,.52); pointer-events: none; }
.rf-carousel-progress__fill { display: block; width: 100%; height: 100%; background: #dc202a; transform: scaleX(0); transform-origin: left center; }
.rf-featured-slider--controls .rf-featured-slide__caption { bottom: 38px; }
.rf-featured-indicator { position: absolute; z-index: 9; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 9px; padding: 3px 9px; border-radius: 20px; background: rgba(0,0,0,.6); color: #fff; white-space: nowrap; font-size: .8rem; line-height: 1.3; pointer-events: none; }
.rf-featured-dots { display: flex; align-items: center; gap: 4px; }
.rf-featured-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.75); }
.rf-featured-dot.is-active { width: 8px; height: 8px; background: #f62b38; box-shadow: 0 0 0 1px #fff; }
.rf-issue-section .rf-issue-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rf-issue-section .rf-issue-list li { display: block; min-height: 0; padding: 0; border: 0; }
.rf-issue-card { aspect-ratio: 4 / 4.6; }
.rf-issue-card__text { padding: 14px; }
.rf-issue-card__text strong { display: block; font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1.25; }
.rf-issue-card__text small { font-size: .9rem; }
.rf-issue-card .rf-sermon-date { font-size: .78rem; }

/* Without JavaScript, the issue cards remain a normal readable grid. */
.rf-issue-heading { position: relative; display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.rf-issue-heading::after { position: absolute; left: 0; bottom: -16px; }
.rf-issue-controls { display: none; }
.rf-issue-section.is-enhanced .rf-issue-controls { display: block; }
.rf-issue-section.is-enhanced .rf-issue-carousel { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; perspective: 1050px; background: #f6f1ef; isolation: isolate; }
.rf-issue-section.is-enhanced .rf-issue-list { position: relative; display: block; width: 100%; height: 100%; margin: 0; padding: 0; transform-style: preserve-3d; }
.rf-issue-section.is-enhanced .rf-issue-list li { position: absolute; left: 34%; top: 2%; width: 32%; height: 96%; margin: 0; padding: 0; visibility: hidden; opacity: 0; pointer-events: none; transform: translateX(0) rotateY(0) scale(.76); transition: transform .65s ease, opacity .65s ease, visibility .65s; will-change: transform; backface-visibility: hidden; }
.rf-issue-section.is-enhanced .rf-issue-list li.is-current { visibility: visible; opacity: 1; z-index: 3; pointer-events: auto; transform: translateX(0) rotateY(0) scale(1); }
.rf-issue-section.is-enhanced .rf-issue-list li.is-previous { visibility: visible; opacity: .8; z-index: 1; transform: translateX(-87%) rotateY(34deg) scale(.81); }
.rf-issue-section.is-enhanced .rf-issue-list li.is-next { visibility: visible; opacity: .8; z-index: 1; transform: translateX(87%) rotateY(-34deg) scale(.81); }
.rf-issue-section.is-enhanced .rf-issue-card { width: 100%; height: 100%; aspect-ratio: auto; box-shadow: 0 12px 25px rgba(0,0,0,.18); }
.rf-issue-section.is-enhanced .rf-issue-card__text { padding: clamp(12px, 2vw, 23px); }
.rf-issue-section.is-enhanced .rf-issue-card__text strong { font-size: clamp(1.05rem, 1.7vw, 1.6rem); }
.rf-issue-section.is-enhanced .rf-issue-card__text small { font-size: clamp(.82rem, 1.2vw, 1rem); }
.rf-issue-section.is-enhanced .rf-issue-card .rf-sermon-date { font-size: clamp(.76rem, 1vw, .88rem); }
.rf-issue-section.is-enhanced .rf-issue-list li:not(.is-current) .rf-issue-card__text { opacity: 0; }
@media (max-width: 760px) {
    .rf-front-page__inner { padding: 30px 16px 55px; }
    .rf-lead-grid, .rf-events-grid { grid-template-columns: 1fr; }
    .rf-front-section + .rf-front-section { margin-top: 42px; }
    .rf-top-grid { grid-template-columns: 1fr; }
    .rf-top-grid .rf-front-section + .rf-front-section { margin-top: 36px; }
    .rf-featured-slider { aspect-ratio: 4 / 3; }
    .rf-issue-section.is-enhanced .rf-issue-carousel { flex: none; width: 100%; aspect-ratio: 4 / 3; }
}
@media (max-width: 440px) {
    .rf-event-card__image { height: 190px; }
    .rf-featured-slider { aspect-ratio: 4 / 4; }
    .rf-issue-section.is-enhanced .rf-issue-carousel { aspect-ratio: 4 / 4; }
    .rf-issue-section.is-enhanced .rf-issue-list li { left: 17%; width: 66%; }
    .rf-issue-section.is-enhanced .rf-issue-list li.is-previous { transform: translateX(-62%) rotateY(34deg) scale(.8); }
    .rf-issue-section.is-enhanced .rf-issue-list li.is-next { transform: translateX(62%) rotateY(-34deg) scale(.8); }
    .rf-issue-section .rf-issue-list { gap: 9px; }
    .rf-issue-card__text { padding: 9px; }
    .rf-issue-card__text strong { font-size: .95rem; }
    .rf-issue-card__text small { font-size: .78rem; }
    .rf-issue-card .rf-sermon-date { font-size: .72rem; }
    .rf-image-controls button { width: 38px; height: 52px; font-size: 34px; }
    .rf-image-controls button:first-child { left: 5px; }
    .rf-image-controls button:last-child { right: 5px; }
    .rf-featured-slider--controls .rf-featured-slide__caption { bottom: 35px; }
}
@media (prefers-reduced-motion: reduce) {
    .rf-issue-section.is-enhanced .rf-issue-list li { transition: none; }
}

/* Keep navigation present through the homepage ad and on interior pages. */
body.rf-fixed-menu-enabled #masthead,
body.rf-fixed-menu-enabled #masthead.nav-affix,
body.rf-fixed-menu-enabled #masthead.nav-up {
    position: relative !important;
    top: auto !important;
    transform: none !important;
}
body.rf-fixed-menu-enabled #masthead #site-navigation {
    position: fixed !important;
    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    transform: none !important;
    transition: none !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .16);
    visibility: visible !important;
    opacity: 1 !important;
}

body.admin-bar.rf-fixed-menu-enabled #masthead #site-navigation {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar.rf-fixed-menu-enabled #masthead #site-navigation {
        top: 46px !important;
    }
}
@media (max-width: 600px) {
    body.admin-bar.rf-fixed-menu-enabled #masthead #site-navigation {
        top: 0 !important;
    }
}

/* White menu with grey links, black current item, and red interaction. */
#masthead #site-navigation,
#masthead #site-navigation .navigation-container,
#masthead #site-navigation .menu,
#masthead #site-navigation .menu > li {
    background: #fff !important;
    background-image: none !important;
}
#masthead #site-navigation a,
#masthead #site-navigation .rf-menu-brand > a,
#masthead #site-navigation .menu-toggle,
#masthead #site-navigation .search-toggle,
#masthead #site-navigation .search-icon,
#masthead #site-navigation .search-icon i {
    color: #626262 !important;
    background: transparent !important;
}
#masthead #site-navigation .menu > li.current-menu-item > a,
#masthead #site-navigation .menu > li.current_page_item > a,
#masthead #site-navigation .menu > li.current-menu-ancestor > a,
#masthead #site-navigation .menu > li.current_page_ancestor > a {
    color: #111 !important;
}
#masthead #site-navigation a:hover,
#masthead #site-navigation a:focus-visible,
#masthead #site-navigation .menu > li:hover > a,
#masthead #site-navigation .rf-menu-brand > a:hover,
#masthead #site-navigation .rf-menu-brand > a:focus-visible,
#masthead #site-navigation .menu-toggle:hover,
#masthead #site-navigation .search-toggle:hover,
#masthead #site-navigation .search-icon:hover,
#masthead #site-navigation .search-icon:hover i {
    color: #bc1d22 !important;
}

/* The mobile toggle draws its three bars independently of the link color. */
@media (max-width: 1024px) {
    #masthead #site-navigation .menu-toggle,
    #masthead #site-navigation .menu-toggle::before,
    #masthead #site-navigation .menu-toggle::after,
    #masthead #site-navigation .menu-toggle i,
    #masthead #site-navigation .menu-toggle .fa-bars,
    #masthead #site-navigation .menu-toggle svg,
    #masthead #site-navigation .menu-toggle svg path,
    #masthead #site-navigation .menu-toggle svg line {
        color: #111 !important;
        stroke: #111 !important;
        fill: #111 !important;
    }
    #masthead #site-navigation .menu-toggle .icon-bar,
    #masthead #site-navigation .menu-toggle .bar,
    #masthead #site-navigation .menu-toggle .hamburger-inner,
    #masthead #site-navigation .menu-toggle .hamburger-inner::before,
    #masthead #site-navigation .menu-toggle .hamburger-inner::after,
    #masthead #site-navigation .menu-toggle .ham span,
    #masthead #site-navigation .menu-toggle .ham span::before,
    #masthead #site-navigation .menu-toggle .ham span::after {
        background-color: #111 !important;
    }

    /* Cover the theme's white graphic with three bars drawn on the button. */
    #masthead .menu-toggle,
    #masthead .toggle-menu {
        position: relative !important;
    }
    #masthead .menu-toggle::after,
    #masthead .toggle-menu::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: 34px !important;
        height: 28px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 2px !important;
        transform: translate(-50%, -50%) !important;
        background-color: #fff !important;
        background-image: linear-gradient(#111, #111), linear-gradient(#111, #111), linear-gradient(#111, #111) !important;
        background-size: 24px 3px, 24px 3px, 24px 3px !important;
        background-position: center 5px, center 12px, center 19px !important;
        background-repeat: no-repeat !important;
        box-shadow: none !important;
        pointer-events: none !important;
        z-index: 2 !important;
    }
}

/* The compact menu brand replaces the oversized masthead artwork sitewide.
   The homepage retains its separate editable ad area below navigation. */
body.home #masthead.site-header { display: flex; flex-direction: column; }
body.home #masthead #site-navigation { order: -1; }
#masthead .masthead-banner { display: none !important; }
#site-navigation .rf-menu-brand > a { font-family: Georgia, serif; font-size: 1.16rem; font-weight: 700; font-style: italic; white-space: nowrap; }

.rf-home-ad { background: #f7f7f7; border-bottom: 1px solid #e5e5e5; }
.rf-home-ad__inner { max-width: 1540px; min-height: 115px; margin: 0 auto; padding: 14px 24px; display: grid; place-items: center; box-sizing: border-box; }
.rf-home-ad__widget { width: 100%; text-align: center; }
.rf-home-ad__widget img { display: block; width: min(90vw, 950px); max-width: 100%; height: auto; margin: 0 auto; object-fit: contain; }
.rf-home-ad__widget p, .rf-home-ad__widget figure { margin: 0; }
.rf-home-ad__placeholder { color: #777; font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; }
.rf-home-ad.is-carousel .rf-home-ad__inner { position: relative; display: block; text-align: center; }
.rf-home-ad.is-carousel .rf-home-ad__slide { display: none; }
.rf-home-ad.is-carousel .rf-home-ad__slide.is-active { display: block; }
.rf-home-ad__progress { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(90vw, 950px); max-width: calc(100% - 48px); height: 2px; background: rgba(55,55,55,.14); pointer-events: none; }
.rf-home-ad__progress-fill { display: block; width: 100%; height: 100%; background: rgba(55,55,55,.7); transform: scaleX(0); transform-origin: left center; animation: rf-ad-progress 7s linear forwards; }
.rf-home-ad.is-paused .rf-home-ad__progress-fill { animation-play-state: paused; }
@keyframes rf-ad-progress { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .rf-home-ad__progress-fill { animation: none; } }

@media (min-width: 761px) {
    .rf-featured-slider { height: clamp(280px, 24vw, 350px); aspect-ratio: auto; }
    .rf-featured-slide__caption { padding: 16px 20px; }
    .rf-featured-slide__caption strong { font-size: clamp(1.25rem, 2vw, 1.8rem); }
    .rf-issue-section.is-enhanced .rf-issue-card__text { padding: 13px; }
    .rf-issue-section.is-enhanced .rf-issue-card__text strong { font-size: clamp(.95rem, 1.25vw, 1.25rem); }
    .rf-events-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .rf-event-card__image { height: 155px; }
    .rf-event-card__body { padding: 15px; }
    .rf-event-card h3 { font-size: 1.05rem; }
    .rf-event-card p { font-size: .9rem; }
}
@media (min-width: 761px) and (max-width: 1050px) {
    .rf-events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .rf-home-ad__inner { min-height: 86px; padding: 10px 16px; }
}

/* Featured and four event cards share the first row; the current issue fills the next. */
.rf-top-grid .rf-featured-slider { width: 100%; height: clamp(360px, 36vw, 480px); min-height: 300px; flex: none; aspect-ratio: auto; }
.rf-top-grid .rf-events-grid { width: min(100%, 620px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rf-top-grid .rf-event-card__image { height: 88px; }
.rf-top-grid .rf-event-card__image img { object-fit: cover; object-position: center; }
.rf-top-grid .rf-event-card__body { padding: 8px 10px 10px; }
.rf-top-grid .rf-event-card h3 { font-size: .9rem; line-height: 1.25; margin-bottom: 4px; }
.rf-top-grid .rf-event-card p { font-size: .78rem; line-height: 1.3; margin: 0 0 5px; -webkit-line-clamp: 2; }
.rf-top-grid .rf-event-card .rf-read-link { font-size: .84rem; }
.rf-issue-section .rf-issue-heading { justify-content: center; text-align: center; }
.rf-issue-section .rf-issue-heading::after { left: 50%; transform: translateX(-50%); }
.rf-issue-section.is-enhanced .rf-issue-carousel { flex: none; width: 100%; height: 350px; }
@media (min-width: 761px) and (max-width: 1050px) {
    .rf-top-grid .rf-featured-slider { min-height: 300px; }
}
@media (max-width: 760px) {
    .rf-top-grid { grid-template-columns: 1fr; }
    .rf-top-grid > .rf-front-section:first-child { max-width: 450px; width: 100%; margin-inline: auto; }
    .rf-top-grid .rf-front-section + .rf-front-section { margin-top: 36px; }
    .rf-top-grid .rf-featured-slider { height: auto; min-height: 0; flex: none; aspect-ratio: 1 / 1; }
    .rf-top-grid .rf-event-card__image { height: 85px; }
    .rf-issue-section.is-enhanced .rf-issue-carousel { height: auto; }
}
@media (min-width: 441px) and (max-width: 760px) {
    .rf-issue-section.is-enhanced .rf-issue-list li { left: 18%; width: 64%; }
    .rf-issue-section.is-enhanced .rf-issue-list li.is-previous { transform: translateX(-64%) rotateY(34deg) scale(.8); }
    .rf-issue-section.is-enhanced .rf-issue-list li.is-next { transform: translateX(64%) rotateY(-34deg) scale(.8); }
}

/* Compact article links below the current issue carousel. */
.rf-issue-columns { width: min(100%, 470px); margin: 30px 0 0; }
.rf-issue-columns__list { list-style: none; margin: 0; padding: 6px 16px; background: #fff; border: 1px solid #ececec; border-radius: 12px; box-shadow: 0 3px 14px rgba(0,0,0,.045); }
.rf-issue-columns__list li { margin: 0; padding: 0; }
.rf-issue-columns__list li + li { border-top: 1px solid #eaeaea; }
.rf-issue-column { display: grid; grid-template-columns: 78px minmax(0,1fr); align-items: center; gap: 14px; min-height: 92px; padding: 9px 0; color: #222; text-decoration: none; }
.rf-issue-column__image { position: relative; display: block; width: 78px; height: 74px; overflow: hidden; border-radius: 7px; background: #f0ecea; }
.rf-issue-column__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rf-issue-column__number { position: absolute; top: 0; left: 0; display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 4px; border: 2px solid #222; border-radius: 5px; background: #fff; color: #111; font-size: .85rem; font-weight: 700; line-height: 1; }
.rf-issue-column__details strong { display: block; font-size: clamp(1rem, 1.6vw, 1.3rem); line-height: 1.28; }
.rf-issue-column__details small { display: block; margin-top: 5px; color: #666; font-size: .86rem; }
a.rf-issue-column:hover .rf-issue-column__details strong { color: #b71920; }
a.rf-issue-column:focus-visible { outline: 3px solid #b71920; outline-offset: -3px; }
.rf-issue-column--pending { color: #555; }
.rf-issue-column--pending .rf-issue-column__image { background: #eee8e5; }
@media (max-width: 440px) {
    .rf-issue-columns__list { padding: 6px 12px; }
    .rf-issue-column { grid-template-columns: 76px minmax(0,1fr); gap: 12px; min-height: 92px; }
    .rf-issue-column__image { width: 76px; height: 72px; }
}

/* Current-issue article previews above Inside This Issue. */
.home .rf-article-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; margin:42px 0 36px; padding-top:30px; border-top:1px solid #e4dede; }
.home .rf-reading-column { min-width:0; }
.home .rf-reading-column + .rf-reading-column { border-left:1px solid #e4dede; padding-left:30px; }
.home .rf-reading-column > h2 { margin:0 0 22px; padding-bottom:14px; min-height:78px; border-bottom:3px solid #a51d29; color:#292323; font-size:23px; line-height:1.3; }
.home .rf-column-article { display:flow-root; margin:0 0 26px; padding-bottom:26px; border-bottom:1px solid #ece7e7; }
.home .rf-column-article:last-child { border-bottom:0; margin-bottom:0; padding-bottom:0; }
.home .rf-column-article__image { display:block; float:left; width:76px; height:76px; margin:0 14px 10px 0; border-radius:5px; overflow:hidden; }
.home .rf-column-article__image img { display:block; width:100%; height:100%; object-fit:cover; }
.home .rf-column-article h3 { font-size:19px; line-height:1.35; margin:0 0 8px; }
.home .rf-column-article h3 a { color:#292323; text-decoration:none; }
.home .rf-column-article__meta { font-size:12px; color:#6b6161; line-height:1.5; margin:0 0 12px; }
.home .rf-column-article__summary { font-size:16px; line-height:1.75; color:#403a3a; margin:0 0 20px; }
.home .rf-column-read-more { display:table; clear:both; padding:11px 18px; background:#991e29; border:1px solid #991e29; border-radius:4px; color:#fff; font-size:14px; font-weight:700; line-height:1.4; text-decoration:none; }
.home .rf-column-read-more:hover { background:#74131d; color:#fff; }
.home .rf-column-read-more:focus-visible { outline:3px solid #292323; outline-offset:3px; }
@media(max-width:760px) {
 .home .rf-article-columns { grid-template-columns:minmax(0,1fr); gap:30px; margin-top:32px; }
 .home .rf-reading-column + .rf-reading-column { border-left:0; padding-left:0; }
 .home .rf-reading-column > h2 { min-height:0; font-size:23px; }
}

/* Sermons archive: readable cards and uncropped portraits. */
.category-sermons .rf-navigation-spacer { height:0 !important; }
.category-sermons #content { padding-top:18px; }
.category-sermons .em-breadcrumbs { margin:0 0 14px; color:#766e6e; }
.category-sermons #primary.content-area { float:none; width:100%; max-width:none; padding:0; }
.category-sermons #secondary { display:none; }
.category-sermons #main > header { margin:0 0 28px; padding:0 0 22px; border-bottom:1px solid #dfd9d9; }
.category-sermons #main .page-title { font-size:42px; line-height:1.15; color:#2a2424; margin:0 0 10px; }
.category-sermons #main .archive-description { color:#686060; font-size:17px; line-height:1.6; max-width:760px; }
.category-sermons #main .archive-description p { margin:0; }
.category-sermons #main > .row { margin:0; }
.category-sermons #aft-inner-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.category-sermons #aft-inner-row::before, .category-sermons #aft-inner-row::after { display:none; content:none; }
.category-sermons #aft-inner-row > article { width:100%; float:none; padding:0; margin:0; height:auto !important; min-width:0; background:#fff; border:1px solid #e5dede; border-radius:7px; overflow:hidden; box-shadow:0 3px 12px rgba(40,24,24,.035); }
.category-sermons #aft-inner-row > article > .align-items-center,
.category-sermons #aft-inner-row .spotlight-post { display:flex; flex-direction:column; height:100%; margin:0; }
.category-sermons #aft-inner-row figure { margin:0; width:100%; background:#eee9e5; }
.category-sermons #aft-inner-row .data-bg-categorised { height:260px !important; min-height:0; background:#eee9e5; }
.category-sermons #aft-inner-row .data-bg-categorised > a { display:flex; align-items:center; justify-content:center; height:100%; }
.category-sermons #aft-inner-row .data-bg-categorised img { width:100%; height:100%; max-height:260px; object-fit:contain; object-position:center; transform:none; }
.category-sermons #aft-inner-row .figure-categories,
.category-sermons #aft-inner-row .aft-comment-count { display:none; }
.category-sermons #aft-inner-row figcaption { display:flex; flex-direction:column; flex:1; padding:23px; background:#fff; }
.category-sermons #aft-inner-row .article-title { font-size:24px; line-height:1.25; margin:0 0 12px; }
.category-sermons #aft-inner-row .article-title a { color:#282222; }
.category-sermons #aft-inner-row .article-title a:hover { color:#991e29; }
.category-sermons #aft-inner-row .grid-item-metadata { margin-bottom:14px; font-size:12px; color:#756969; }
.category-sermons #aft-inner-row .full-item-discription,
.category-sermons #aft-inner-row .post-description { display:flex; flex-direction:column; flex:1; }
.category-sermons #aft-inner-row .post-description p { font-size:16px; line-height:1.65; color:#524a4a; margin:0 0 20px; }
.category-sermons #aft-inner-row .aft-readmore-wrapper { margin-top:auto; }
.category-sermons #aft-inner-row a.aft-readmore { display:inline-block; padding:11px 18px; font-size:14px; font-weight:700; line-height:1.4; border:1px solid #991e29; border-radius:4px; background:#991e29; color:#fff; text-decoration:none; }
.category-sermons #aft-inner-row a.aft-readmore:hover { background:#74131d; color:#fff; }
.category-sermons #main a:focus-visible { outline:3px solid #991e29; outline-offset:3px; }
.category-sermons #main { padding-bottom:40px; }
@media(max-width:1000px) { .category-sermons #aft-inner-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; } }
@media(max-width:620px) {
 .category-sermons #content { padding-left:18px; padding-right:18px; }
 .category-sermons #aft-inner-row { grid-template-columns:minmax(0,1fr); gap:24px; }
 .category-sermons #main .page-title { font-size:34px; }
 .category-sermons #aft-inner-row figcaption { padding:20px; }
 .category-sermons #aft-inner-row .article-title { font-size:24px; }
}

/* Searchable sermon library: portraits and text in rows, with browsing sidebar. */
.rf-sermon-library { padding:12px 0 48px; color:#302929; }
.rf-library-heading { margin:0 0 30px; padding-bottom:25px; border-bottom:1px solid #dfd9d9; }
.rf-library-eyebrow { font-size:12px; font-weight:700; letter-spacing:1.7px; color:#991e29; margin:0 0 10px; }
.rf-library-heading h1 { font-size:42px; line-height:1.15; margin:0 0 12px; }
.rf-library-heading > p:last-child { color:#686060; font-size:17px; margin:0; line-height:1.6; }
.rf-library-layout { display:grid; grid-template-columns:minmax(0,1fr) 275px; gap:36px; align-items:start; }
.rf-library-main { min-width:0; }
.rf-sermon-search { padding:20px; border:1px solid #e3dcdc; border-radius:7px; background:#fff; }
.rf-sermon-search label { display:block; font-size:16px; font-weight:700; margin-bottom:9px; }
.rf-search-controls { display:flex; gap:10px; }
.rf-search-controls input[type=search] { flex:1; min-width:0; width:100%; height:46px; padding:10px 13px; border:1px solid #c9bfbf; border-radius:4px; background:#fff; color:#302929; font-size:16px; }
.rf-search-controls button { border:0; background:#991e29; color:#fff; font-size:15px; font-weight:700; padding:10px 23px; border-radius:4px; }
.rf-search-controls button:hover { background:#74131d; }
.rf-results-summary { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; align-items:center; font-size:14px; color:#776e6e; margin:19px 0 14px; }
.rf-results-summary p { margin:0; }
.rf-results-summary a { color:#991e29; text-decoration:underline; }
.rf-sermon-list { display:grid; gap:22px; }
.rf-sermon-row { display:grid; grid-template-columns:190px minmax(0,1fr); margin:0; border:1px solid #e3dcdc; border-radius:7px; overflow:hidden; background:#fff; box-shadow:0 3px 12px rgba(40,24,24,.025); }
.rf-sermon-portrait { display:flex; align-items:flex-start; justify-content:center; padding:15px; background:#eee9e5; }
.rf-sermon-portrait img { width:160px; max-width:100%; height:200px; object-fit:contain; object-position:top center; border-radius:3px; }
.rf-portrait-placeholder { font-family:Georgia,serif; font-size:44px; color:#a69790; padding:60px 0; }
.rf-sermon-copy { padding:23px 25px; min-width:0; }
.rf-sermon-copy h2 { font-size:25px; line-height:1.3; margin:0 0 10px; }
.rf-sermon-copy h2 a { color:#282222; }
.rf-sermon-copy h2 a:hover { color:#991e29; }
.rf-sermon-byline { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; font-size:13px; line-height:1.5; color:#786b6b; margin-bottom:12px; }
.rf-sermon-byline a { color:#991e29; font-weight:700; }
.rf-sermon-copy .rf-sermon-excerpt { font-size:16px; line-height:1.65; color:#5c5252; margin:0 0 14px; }
.rf-sermon-read { display:inline-block; color:#991e29; font-size:16px; font-weight:700; padding:5px 0; }
.rf-sermon-read:hover { color:#74131d; text-decoration:underline; }
.rf-library-sidebar { display:grid; gap:24px; }
.rf-sidebar-section { background:#fff; border:1px solid #e3dcdc; border-radius:7px; padding:23px 20px; }
.rf-sidebar-section h2 { margin:0 0 15px; padding-bottom:13px; border-bottom:2px solid #991e29; font-size:22px; }
.rf-sidebar-section ul { list-style:none; padding:0; margin:0; }
.rf-sidebar-section li { padding:0; margin:0; border-bottom:1px solid #eee8e8; }
.rf-sidebar-section li:last-child { border-bottom:0; }
.rf-sidebar-section li a { display:flex; align-items:baseline; justify-content:space-between; gap:10px; padding:10px 0; color:#564b4b; font-size:15px; line-height:1.5; }
.rf-sidebar-section li a[aria-current], .rf-sidebar-section li a:hover { color:#991e29; font-weight:700; }
.rf-sidebar-count { font-size:12px; background:#f3eeee; border-radius:20px; min-width:23px; text-align:center; padding:1px 6px; color:#766767; }
.rf-sermon-library a:focus-visible, .rf-sermon-library button:focus-visible, .rf-sermon-library input:focus-visible { outline:3px solid #991e29; outline-offset:3px; }
.rf-no-sermons { background:#fff; border:1px solid #e3dcdc; padding:30px; border-radius:7px; }
.rf-no-sermons h2 { font-size:25px; }
@media(max-width:1050px) { .rf-library-layout { grid-template-columns:minmax(0,1fr) 240px; gap:24px; } .rf-sermon-row { grid-template-columns:145px minmax(0,1fr); } .rf-sermon-portrait img { height:160px; } .rf-sermon-copy { padding:20px; } }
@media(max-width:800px) { .rf-library-layout { grid-template-columns:minmax(0,1fr); } .rf-library-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) { .rf-library-heading h1 { font-size:34px; } .rf-library-eyebrow { font-size:10px; letter-spacing:1px; } .rf-sermon-search { padding:15px; } .rf-search-controls { flex-wrap:wrap; } .rf-search-controls button { width:100%; } .rf-sermon-row { grid-template-columns:minmax(0,1fr); } .rf-sermon-portrait { padding:18px; } .rf-sermon-portrait img { height:180px; width:auto; } .rf-sermon-copy h2 { font-size:23px; } .rf-library-sidebar { grid-template-columns:minmax(0,1fr); } }


/* Soft blue action buttons throughout Revival Fires. */
body:not(.wp-admin) :is(.rf-image-controls button, .rf-column-read-more, .aft-readmore, .rf-search-controls button, .rf-login-shell input[type="submit"], .rf-login-action, .rf-desk button.rf-publish, .rf-desk-new, .rf-bible-search-button, #rf-bible-insert, .rf-writing button:not(#rf-writing-discard), input.search-submit, input#submit, .wp-block-button__link, .covernews-categories.category-color-1, #scroll-up) { background: #d9eaf7 !important; color: #204766 !important; border-color: #b7d3e8 !important; text-shadow: none !important; }
body:not(.wp-admin) :is(.rf-image-controls button, .rf-column-read-more, .aft-readmore, .rf-search-controls button, .rf-login-shell input[type="submit"], .rf-login-action, .rf-desk button.rf-publish, .rf-desk-new, .rf-bible-search-button, #rf-bible-insert, .rf-writing button:not(#rf-writing-discard), input.search-submit, input#submit, .wp-block-button__link, .covernews-categories.category-color-1, #scroll-up):is(:hover, :focus-visible) { background: #bfdcf0 !important; color: #173b58 !important; border-color: #92bedc !important; }
body:not(.wp-admin) :is(.rf-image-controls button, .rf-column-read-more, .aft-readmore, .rf-search-controls button, .rf-login-shell input[type="submit"], .rf-login-action, .rf-desk button.rf-publish, .rf-desk-new, .rf-bible-search-button, #rf-bible-insert, .rf-writing button:not(#rf-writing-discard), input.search-submit, input#submit, .wp-block-button__link, .covernews-categories.category-color-1, #scroll-up):focus-visible { outline: 3px solid #3679a8 !important; outline-offset: 3px; }

/* Pale-blue buttons */
body .rf-library-read,
body .rf-library-search-row button,
body .search-submit,
body .wp-block-search__button {
  background: #d9eaf7 !important;
  color: #204766 !important;
  border-color: #b7d3e8 !important;
}

/* Pale-blue heading divider lines */
body .widget-title::before,
body .widget-title::after,
body .wp-block-heading::before,
body .wp-block-heading::after,
body #secondary h2::before,
body #secondary h2::after {
  background-color: #d9eaf7 !important;
  border-color: #d9eaf7 !important;
}

body .rf-library-sidebar h2,
body .rf-sidebar-section h2 {
  border-bottom-color: #d9eaf7 !important;
}
/* Narrower sidebar on individual posts */
@media (min-width: 992px) {
  body.single-post #primary {
    width: 75% !important;
  }
  body.single-post #secondary {
    width: 25% !important;
  }
}

/* Compact recent sermon list */
#secondary .wp-block-latest-posts li,
#secondary .widget_recent_entries li {
  margin: 0 !important;
  padding: 7px 0 !important;
  line-height: 1.4 !important;
}

#secondary .wp-block-latest-posts li a,
#secondary .widget_recent_entries li a {
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}/* Narrower sidebar on individual posts */
@media (min-width: 992px) {
  body.single-post #primary {
    width: 75% !important;
  }
  body.single-post #secondary {
    width: 25% !important;
  }
}
/* Pale-blue sermon page divider lines */
body #rf-sermon-library .rf-library-heading,
body #rf-sermon-library .rf-library-side h2 {
  border-bottom-color: #d9eaf7 !important;
}
/* Pale-blue homepage divider lines */
.home .rf-section-heading::after {
  background: #d9eaf7 !important;
}

.home .rf-reading-column > h2 {
  border-bottom-color: #d9eaf7 !important;
}

.home .rf-long-reading,
.home .rfm-home {
  border-top-color: #d9eaf7 !important;
}

/* Wider sponsor cards and a quieter central masthead. */
.home .rf-home-ad__widget .rf-banner-ad-row {
  grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1fr);
  gap:24px;align-items:stretch;
}
.home .rf-banner-ad-row .rf-square-ad {
  aspect-ratio:auto;min-width:0;min-height:230px;height:auto;
  padding:14px;gap:6px;box-sizing:border-box;
  border-color:#d5dce1;text-align:center;
}
.home .rf-home-ad__widget .rf-banner-ad-row .rf-square-ad img {
  width:100%!important;height:145px!important;max-height:none;
  object-fit:contain;margin:4px auto;flex-shrink:0;
}
.home .rf-banner-ad-row .rf-square-ad :is(.rf-ad-label,.rfa-ad-label) {
  font:10px/1.3 Arial,sans-serif;letter-spacing:1.4px;color:#76828b;
}
.home .rf-banner-ad-row .rf-square-ad :is(strong,.rf-ad-name) {
  font:700 17px/1.3 Georgia,serif;margin:0;color:#293e4e;
}
.home .rf-banner-ad-row .rf-square-ad .rfa-ad-text {
  font-size:12px;line-height:1.5;margin:0;
}
.home .rf-banner-ad-row .rf-square-ad :is(.rf-ad-visit,.rfa-ad-visit) {
  font:12px/1.4 Arial,sans-serif;color:#24485f;margin:2px 0 0;
}
.home .rf-banner-ad-row .rf-square-ad:hover {border-color:#9fc5df}
.home .rf-banner-ad-row .rf-square-ad:focus-visible {outline:3px solid #7aaecf;outline-offset:3px}
.home .rf-banner-ad-row .rf-center-banner {align-self:center}
.home .rf-home-ad__widget .rf-banner-ad-row .rf-center-banner img {
  max-width:380px!important;max-height:90px;width:100%!important;
}
@media(max-width:900px) {
  .home .rf-home-ad__widget .rf-banner-ad-row {
    grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;margin:0 auto;gap:16px;
  }
  .home .rf-banner-ad-row .rf-center-banner {grid-column:1/-1;grid-row:1}
  .home .rf-home-ad__widget .rf-banner-ad-row .rf-center-banner img {max-width:340px!important;max-height:80px}
}
@media(max-width:520px) {
  .home .rf-home-ad__widget .rf-banner-ad-row {grid-template-columns:minmax(0,1fr);max-width:380px}
  .home .rf-banner-ad-row .rf-square-ad {min-height:220px}
  .home .rf-home-ad__widget .rf-banner-ad-row .rf-center-banner img {max-width:300px!important;max-height:70px}
}


/* Give Featured a slight majority of the desktop lead row. */
@media (min-width: 901px) {
  .home .rf-top-grid:not(.rf-top-grid--no-events) {
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr) !important;
  }
}

/* Consistent disclosure buttons in the Editor Dashboard. */
body.page-id-217 :is(.rfhp-report, .rf-overview-disclosure, .rfhs-report) > summary {
  width: 440px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-height: 54px;
  padding: 13px 20px !important;
}

/* Keep the Homepage statistics outline on its button only. */
body.page-id-217 .rfhp-report {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.page-id-217 .rfhp-report > summary {
  border: 1px solid #b7d3e8 !important;
  border-radius: 5px !important;
}

/* Match the top ad disclosure above each rotating bottom ad image. */
body.home .rfa-bottom-home .rfa-ad-card[data-rfa-booking]::before {
  content: "Advertisement";
  display: block;
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 6px;
  padding: 5px 4px 0;
  color: #76828b;
  font: 10px/1.3 Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-align: center;
  text-transform: uppercase;
}

/* Full-size ad artwork on sermon and other interior placements. */
body:not(.wp-admin):not(.home) .rfa-ad-card[data-rfa-booking] img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  flex-shrink: 0;
}
/* Remove public ad pause controls across all placements. */
body:not(.wp-admin) .rfa-rotation-controls {
  display: none !important;
}

/* Sermon listing ads: edge-to-edge artwork with disclosure and page link. */
body.category-sermons .rfa-ad-card[data-rfa-booking] { padding: 0 !important; gap: 0 !important; overflow: hidden; }
body.category-sermons .rfa-ad-card[data-rfa-booking] > strong,
body.category-sermons .rfa-ad-card[data-rfa-booking] > .rfa-ad-text { display: none !important; }
body.category-sermons .rfa-ad-card[data-rfa-booking] > img { margin: 0 !important; width: 100% !important; height: auto !important; }
body.category-sermons .rfa-ad-card[data-rfa-booking] > .rfa-ad-label,
body.category-sermons .rfa-ad-card[data-rfa-booking] > .rfa-ad-visit { display: block; margin: 0 !important; padding: 5px 0; text-align: center; }

/* Ad disclosures and page links blend into the surrounding page. */
body:not(.wp-admin) .rfa-ad-card[data-rfa-booking],
body .rf-interior-ad-header .rfa-ad-card[data-rfa-booking],
body.home .rf-banner-ad-row .rf-square-ad[data-rfa-booking] { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body:not(.wp-admin) .rfa-ad-card[data-rfa-booking] :is(.rfa-ad-label, .rfa-ad-visit),
body:not(.wp-admin) .rfa-ad-card[data-rfa-booking]::before { background: transparent !important; }

/* Slimmer Save the Date cards with larger, uncropped artwork. */
@media (min-width:701px) {
 body.home #primary .rf-top-grid .rf-event-card { grid-template-columns:170px minmax(0,1fr); min-height:124px; }
 body.home #primary .rf-top-grid .rf-event-card__image { min-height:124px; padding:0; }
 body.home #primary .rf-top-grid .rf-event-card__image img { display:block; width:100%; height:100%; padding:0; margin:0; object-fit:contain; object-position:center; }
 body.home #primary .rf-top-grid .rf-event-card__body { padding:10px 12px; }
 body.home #primary .rf-top-grid .rf-event-card h3 { font-size:17px; line-height:1.25; margin-bottom:6px; }
 body.home #primary .rf-top-grid .rf-event-card p { font-size:13px; line-height:1.4; margin-bottom:6px; }
 body.home #primary .rf-top-grid .rf-event-card .rf-read-link { font-size:13px; }
}
@media(max-width:700px) {
 body.home #primary .rf-top-grid .rf-event-card__image { height:180px; padding:0; }
 body.home #primary .rf-top-grid .rf-event-card__body { padding:10px; }
}


/* Original masthead artwork, with the red field flush to the ad artwork. */
html body.home #page .rf-home-ad,html body #page .rf-interior-ad-header{background:transparent!important;border:0!important;padding:0!important}
html body.home #page .rf-home-ad .rf-home-ad__inner,html body #page .rf-interior-ad-header .rf-interior-ad-row{width:100%!important;max-width:1240px!important;margin:0 auto!important;padding:0!important;box-sizing:border-box}
html body.home #page .rf-home-ad .rf-banner-ad-row,html body #page .rf-interior-ad-header .rf-banner-ad-row{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr)!important;gap:0!important;align-items:stretch!important;
 background:linear-gradient(to bottom,transparent 23px,#b60010 23px,#b60010 calc(100% - 25px),transparent calc(100% - 25px))!important;
}
html body.home #page .rf-home-ad .rf-banner-ad-row .rf-square-ad:has(img),html body #page .rf-interior-ad-header .rf-square-ad:has(img){padding:23px 0 25px!important;position:relative!important;min-height:0!important;gap:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;aspect-ratio:auto!important}
html body #page .rf-interior-ad-header .rf-square-ad:has(img) .rfa-ad-label,html body #page .rf-interior-ad-header .rf-square-ad:has(img) .rfa-ad-visit{position:absolute;left:0;right:0;height:23px;box-sizing:border-box;padding:4px 0!important;margin:0!important;font:11px/15px Arial,sans-serif!important;color:#777!important;background:transparent!important}
html body #page .rf-interior-ad-header .rf-square-ad .rfa-ad-label{top:0}
html body #page .rf-interior-ad-header .rf-square-ad .rfa-ad-visit{bottom:0}
html body.home #page .rf-home-ad .rf-banner-ad-row .rf-center-banner,html body #page .rf-interior-ad-header .rf-center-banner{
 display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-width:0;width:100%!important;margin:23px 0 25px!important;padding:12px 0!important;align-self:stretch!important;border:0!important;background:#b60010!important;box-sizing:border-box;text-decoration:none;
}
html body.home #page .rf-home-ad .rf-banner-ad-row .rf-center-banner img,html body #page .rf-interior-ad-header .rf-center-banner img{display:none!important}
html body .rf-banner-ad-row .rf-center-banner::before{
 content:"";display:block;width:100%;aspect-ratio:1900/343;
 background:url("https://revivalfires.app/wp-content/uploads/2026/09/cropped-cropped-RF-Banner-with-flames.png") center top / 100% auto no-repeat;
 clip-path:polygon(5% 5%,99% 5%,93% 99%,1% 99%);
}
html body .rf-banner-ad-row .rf-center-banner::after{content:"ONLINE EDITION";display:block;margin-top:10px;font:700 13px/1.3 Georgia,serif;letter-spacing:3.5px;color:#fff4e9}
html body #page .rf-interior-ad-header .rf-square-ad:not([data-rfa-booking]){margin:23px 0 25px!important;min-height:170px;border:0!important;border-radius:0!important;background:transparent!important;color:#fff!important}
html body .rf-banner-ad-row .rf-center-banner:focus-visible{outline:3px solid #ffd693;outline-offset:-3px}
@media(max-width:900px){
 html body.home #page .rf-home-ad .rf-banner-ad-row,html body #page .rf-interior-ad-header .rf-banner-ad-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:760px!important;background:none!important;gap:0!important;margin:auto!important}
 html body .rf-banner-ad-row .rf-center-banner{grid-column:1/-1!important;grid-row:1!important;background:#b60010!important;margin:0!important;padding:20px 0!important}
 html body .rf-banner-ad-row .rf-center-banner::before{max-width:430px}
}
@media(max-width:520px){
 html body.home #page .rf-home-ad .rf-banner-ad-row,html body #page .rf-interior-ad-header .rf-banner-ad-row{grid-template-columns:minmax(0,1fr)!important;max-width:380px!important}
 html body .rf-banner-ad-row .rf-center-banner::after{font-size:12px;letter-spacing:3px}
}

/* Preserve the original white script while removing the flame texture. */
html body #page .rf-banner-ad-row .rf-center-banner::before {
 filter:grayscale(1) contrast(12);mix-blend-mode:screen;
 clip-path:polygon(5% 7%,98% 7%,93% 98%,1% 98%);
}
html body.home #page .rf-home-ad .rf-banner-ad-row .rf-center-banner,
html body #page .rf-interior-ad-header .rf-center-banner {
 background-color:#b60010!important;
 background-image:linear-gradient(#ffffffb3,#ffffffb3),linear-gradient(#ffffffb3,#ffffffb3)!important;
 background-repeat:no-repeat!important;
 background-size:calc(100% - 40px) 1px,calc(100% - 40px) 1px!important;
 background-position:center calc(50% - 60px),center calc(50% + 30px)!important;
}

/* Newspaper masthead: rising diagonal sides between the ad panels. */
html body.home #page .rf-home-ad .rf-banner-ad-row,
html body #page .rf-interior-ad-header .rf-banner-ad-row{background:transparent!important}
html body.home #page .rf-home-ad .rf-banner-ad-row .rf-center-banner,
html body #page .rf-interior-ad-header .rf-center-banner{
 clip-path:polygon(10% 0,100% 0,90% 100%,0 100%);
}

/* Trim the masthead vertically while leaving ad artwork full size. */
@media(min-width:901px){
 html body.home #page .rf-home-ad .rf-banner-ad-row .rf-center-banner,
 html body #page .rf-interior-ad-header .rf-center-banner{margin-top:43px!important;margin-bottom:45px!important;padding-top:0!important;padding-bottom:0!important}
}
@media(max-width:900px){
 html body.home #page .rf-home-ad .rf-banner-ad-row .rf-center-banner,
 html body #page .rf-interior-ad-header .rf-center-banner{padding-top:10px!important;padding-bottom:10px!important}
}

/* Shorter lower edge and a shadow following the clipped masthead. */
@media(min-width:901px){
 html body.home #page .rf-home-ad .rf-banner-ad-row .rf-center-banner,
 html body #page .rf-interior-ad-header .rf-center-banner{margin-bottom:60px!important}
}
html body.home #page .rf-home-ad .rf-banner-ad-row .rf-center-banner,
html body #page .rf-interior-ad-header .rf-center-banner{filter:drop-shadow(0 5px 4px rgba(0,0,0,.3))}

/* Paint the angled field so its shadow can extend beyond its edges. */
html body.home #page .rf-home-ad .rf-banner-ad-row .rf-center-banner,
html body #page .rf-interior-ad-header .rf-center-banner{
 clip-path:none!important;background-color:transparent!important;
 background-image:linear-gradient(#ffffffb3,#ffffffb3),linear-gradient(#ffffffb3,#ffffffb3),linear-gradient(104deg,transparent 9%,#b60010 9%,#b60010 91%,transparent 91%)!important;
 background-size:calc(100% - 60px) 1px,calc(100% - 60px) 1px,100% 100%!important;
 background-position:center calc(50% - 60px),center calc(50% + 30px),center!important;
 background-repeat:no-repeat!important;
}

html body #page .rf-banner-ad-row .rf-center-banner::before{width:90%;}


/* Uniform red masthead and visible upper hairline at every screen size. */
html body #page .rf-banner-ad-row .rf-center-banner::before{
 -webkit-filter:grayscale(1) contrast(100)!important;
 filter:grayscale(1) contrast(100)!important;
 mix-blend-mode:screen!important;
}
html body.home #page .rf-home-ad .rf-banner-ad-row .rf-center-banner,
html body #page .rf-interior-ad-header .rf-center-banner{
 isolation:isolate;
 background-position:center 8px,center calc(100% - 26px),center!important;
}

/* Preserve inline article image proportions when phone widths shrink. */
@media(max-width:767px){
 body.single-post .entry-content img.rf-inline-content-image{
  max-width:100%!important;height:auto!important;aspect-ratio:auto!important;
 }
}

/* Compact Missions read-more buttons. */
html body .rf-mission-page a.rf-mission-read { display:inline-block!important; width:auto!important; min-width:0!important; max-width:100%; align-self:flex-start!important; justify-self:start!important; flex:0 0 auto!important; padding:6px 12px!important; font-size:13px!important; line-height:1.4!important; }

/* Reserve identical phone ad frames before loading and throughout rotation. */
@media (max-width:767px) {
 html body:not(.wp-admin) #page#page :is(.rf-home-ad .rf-banner-ad-row .rf-square-ad,.rf-interior-ad-header .rf-square-ad,.rfa-ad-pair > .rfa-ad-card) {
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  position:relative!important;box-sizing:border-box!important;width:100%!important;max-width:380px!important;
  height:300px!important;min-height:300px!important;max-height:300px!important;aspect-ratio:auto!important;
  margin:0 auto!important;padding:23px 6px 25px!important;gap:0!important;overflow:hidden!important;flex-shrink:0!important;
 }
 html body:not(.wp-admin) #page#page :is(.rf-home-ad .rf-banner-ad-row .rf-square-ad,.rf-interior-ad-header .rf-square-ad,.rfa-ad-pair > .rfa-ad-card) > img {
  display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  height:252px!important;min-height:0!important;max-height:252px!important;flex:0 0 252px!important;
  object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;
 }
 html body:not(.wp-admin) #page#page :is(.rf-square-ad,.rfa-ad-pair > .rfa-ad-card)[data-rfa-booking] > :is(strong,.rfa-ad-text) {display:none!important}
 html body:not(.wp-admin) #page#page :is(.rf-square-ad,.rfa-ad-pair > .rfa-ad-card) > :is(.rfa-ad-label,.rf-ad-label,.rfa-ad-visit,.rf-ad-visit) {
  position:absolute!important;left:0!important;right:0!important;box-sizing:border-box!important;
  height:23px!important;max-height:23px!important;margin:0!important;padding:4px 0!important;overflow:hidden!important;text-align:center!important;
 }
 html body:not(.wp-admin) #page#page :is(.rf-square-ad,.rfa-ad-pair > .rfa-ad-card) > :is(.rfa-ad-label,.rf-ad-label) {top:0!important}
 html body:not(.wp-admin) #page#page :is(.rf-square-ad,.rfa-ad-pair > .rfa-ad-card) > :is(.rfa-ad-visit,.rf-ad-visit) {bottom:0!important}
 html body:not(.wp-admin) #page#page .rfa-bottom-home .rfa-ad-card[data-rfa-booking]::before {position:absolute!important;top:0!important;left:0!important;right:0!important;height:23px!important;margin:0!important;box-sizing:border-box!important}
}
