/* WHNF 2026 — site-wide header & footer polish (loads on every page) */








/* ---- Site-wide polish (all pages) ---- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
::selection { background: #f97316; color: #fff; }

/* Divi buttons: rounded, saffron energy */
body .et_pb_button {
	border-radius: 999px;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
body .et_pb_button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(249, 115, 22, .30); }

/* Page titles: match the WHNF gradient-underline style */
#main-content h1.entry-title.main_title { color: #123c69; font-weight: 700; padding-bottom: 10px; position: relative; }
#main-content h1.entry-title.main_title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 76px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #f97316, #e84393, #38bdf8); }

/* Content links: saffron hover, visible focus */
#main-content .entry-content a:not(.et_pb_button):hover { color: #f97316; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #f97316; outline-offset: 2px; }

/* Back-to-top (Divi native) recolored */
.et_pb_scroll_top { background: linear-gradient(135deg, #f97316, #e84393) !important; border-radius: 50% !important; }



/* Screen-reader-only utility */
.whnf-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }

/* ---- Footer-scroll subscribe popup ---- */
.whnf26-spop { position: fixed; inset: 0; z-index: 999998; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.whnf26-spop.is-open { opacity: 1; visibility: visible; }
.whnf26-spop[hidden] { display: none; }
.whnf26-spop__backdrop { position: absolute; inset: 0; background: rgba(11,42,77,.72); backdrop-filter: blur(3px); }
.whnf26-spop__box { position: relative; z-index: 2; max-width: 460px; width: 100%; background: #fff; border-radius: 22px; padding: 40px 36px 32px; text-align: center; box-shadow: 0 24px 70px rgba(0,0,0,.45); transform: translateY(16px); transition: transform .3s ease; overflow: hidden; }
.whnf26-spop.is-open .whnf26-spop__box { transform: none; }
.whnf26-spop__box::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, #f97316, #e84393, #38bdf8); }
.whnf26-spop__icon { font-size: 42px; margin-bottom: 6px; }
.whnf26-spop__box h2 { font-family: 'Poppins', sans-serif; color: #123c69; font-size: 26px; font-weight: 700; margin: 0 0 8px; }
.whnf26-spop__box p { color: #4b5563; font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.whnf26-spop__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eef2f7; color: #123c69; font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; }
.whnf26-spop__close:hover { background: #123c69; color: #fff; }
.whnf26-spop .whnf26-sub__row { grid-template-columns: 1fr; gap: 12px; }
.whnf26-spop .whnf26-sub__field span { text-align: left; }
.whnf26-spop .whnf26-sub__field input { width: 100%; padding: 12px 15px; border: 1px solid #d1d5db; border-radius: 10px; background: #f9fafb; box-sizing: border-box; }
.whnf26-spop input[type="submit"] { width: 100%; background: linear-gradient(90deg, #c2410c, #be185d); color: #fff; border: 0; border-radius: 999px; padding: 13px 30px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .whnf26-spop, .whnf26-spop__box { transition: none; } }


/* Prabhupada portrait: crop from the top so the face is always visible */
.whnf26-gallery__item img[src*="prabhupada"] { object-position: center 10%; }



