/* RL Consent presentation rules (moved from starter/includes/consent.php: a <style> block in the body is invalid HTML; 2026-10-03) */
/* Presentation (owner 2026-08-28): full-width white bar
pinned to the bottom, subtle rise-in, cookie-icon fab for reopening.
Style only - text, markup, and code are our own. */
.rl-consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1090; background: #fff; color: var(--rl-color-text, #2b3644); border-top: 1px solid var(--rl-color-border, #e3e7ed); box-shadow: 0 -6px 24px rgba(15, 23, 42, .10); padding: .8rem clamp(1rem, 3vw, 2.5rem); display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; align-items: center; }
@media (prefers-reduced-motion: no-preference) {
.rl-consent-banner { animation: rl-consent-rise .45s cubic-bezier(.22,.7,.3,1); }
@keyframes rl-consent-rise { from { transform: translateY(100%); } to { transform: translateY(0); } }
}
.rl-consent-banner[hidden] { display: none; }
.rl-consent-cookie { width: 1.5rem; height: 1.5rem; color: var(--rl-color-primary, #1e6340); flex: none; }
.rl-consent-fab .rl-consent-cookie { width: 1.4rem; height: 1.4rem; }
.rl-consent-banner p { margin: 0; font-size: .85rem; line-height: 1.5; flex: 1 1 22rem; }
.rl-consent-banner p a { color: var(--rl-color-primary, #1e6340); text-decoration: underline; }
.rl-consent-banner p a .fa { font-size: .7rem; margin-left: .3rem; display: inline-block; text-decoration: none; }
.rl-consent-banner .rl-btn-sm { font-size: .72rem; padding: .35rem .9rem; }
.rl-consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-left: auto; }
.rl-consent-link { background: none; border: 0; color: var(--rl-color-primary, #1e6340); text-decoration: underline; font-size: .82rem; padding: .45rem .25rem; cursor: pointer; }
.rl-consent-fab { position: fixed; bottom: 1rem; left: 1rem; z-index: 1080; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--rl-color-primary, #1e6340); border: 1px solid var(--rl-color-border, #e3e7ed); border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,.16); cursor: pointer; }
.rl-consent-fab[hidden] { display: none; }
.rl-consent-dialog { border: 0; border-radius: 12px; padding: 0; max-width: 62rem; width: calc(100% - 2rem); max-height: min(86vh, 60rem); }
.rl-consent-dialog::backdrop { background: rgba(15, 23, 42, .55); }
.rl-consent-dialog-inner { padding: 1.75rem 2rem 1.5rem; overflow-y: auto; max-height: min(86vh, 60rem); box-sizing: border-box; }
.rl-consent-dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.rl-consent-dlg-head img { height: 52px; width: auto; }
.rl-consent-close { background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--rl-color-text, #2b3644); cursor: pointer; padding: .25rem .5rem; }
.rl-consent-intro { font-size: .92rem; line-height: 1.6; margin: 0 0 .5rem; }
.rl-consent-intro a, .rl-consent-google a { color: var(--rl-color-primary, #1e6340); text-decoration: underline; }
.rl-consent-google { font-size: .92rem; line-height: 1.6; margin: 0 0 1.5rem; }
.rl-consent-cat { margin-top: 1.4rem; }
.rl-consent-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.rl-consent-cat h3 { font-size: 1rem; margin: 0; }
.rl-consent-cat-desc { font-size: .88rem; line-height: 1.55; color: var(--rl-color-text-light, #5c6672); margin: 0 0 .8rem; }
.rl-consent-always { font-size: .88rem; font-weight: 600; white-space: nowrap; }
/* Switch-style toggle (native checkbox underneath) */
.rl-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.rl-switch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.rl-switch .rl-switch-track { position: absolute; inset: 0; background: #cbd5e0; border-radius: 999px; transition: background .15s ease; pointer-events: none; }
.rl-switch .rl-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s ease; }
.rl-switch input:checked + .rl-switch-track { background: var(--rl-color-primary, #1e6340); }
.rl-switch input:checked + .rl-switch-track::after { transform: translateX(20px); }
.rl-switch input:focus-visible + .rl-switch-track { outline: 3px solid var(--rl-color-primary, #1e6340); outline-offset: 2px; }
/* Plain-English cookie tables */
.rl-consent-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.rl-consent-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rl-consent-table th { text-align: left; font-weight: 600; background: var(--rl-color-light, #eef1f4); padding: .5rem .75rem; }
.rl-consent-table td { padding: .55rem .75rem; border-bottom: 1px solid var(--rl-color-border, #e3e7ed); vertical-align: top; }
.rl-consent-table code { font-size: .72rem; background: none; color: var(--rl-color-text-light, #5c6672); }
.rl-consent-table td strong { font-weight: 600; display: block; }
.rl-consent-dialog-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-top: 1.6rem; }
.rl-consent-credit { margin: 1.1rem 0 0; text-align: center; font-size: .72rem; color: #5a6572; }
.rl-consent-credit a { color: inherit; text-decoration: underline; }
.rl-consent-dialog-actions .rl-btn { margin-left: auto; }
@media (max-width: 575.98px) { .rl-consent-dialog-inner { padding: 1.25rem 1rem; } .rl-consent-dialog-actions .rl-btn { margin-left: 0; } }

/* ===== RL Consent on this Bootstrap 3 / Unify site: tokens and button classes mapped to the site's own look ===== */
:root { --rl-color-primary: #1e6340; --rl-color-text: #231F20; --rl-color-text-light: #444; --rl-color-border: #d8d8d8; --rl-color-light: #f3f3f3; }
.rl-btn, .rl-btn-outline { display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; border: 3px solid #d2a63a; border-radius: 0; cursor: pointer; text-decoration: none; line-height: 1.2; }
.rl-btn { background: #1e6340; color: #fff; }
.rl-btn:hover { background: #174d31; color: #fff; }
.rl-btn-outline { background: #fff; color: #1e6340; }
.rl-btn-outline:hover { background: #1e6340; color: #fff; }
.rl-consent-banner p, .rl-consent-intro, .rl-consent-google, .rl-consent-cat-desc, .rl-consent-table td, .rl-consent-table th { color: #231F20; }
.rl-consent-banner { padding: 18px 28px; gap: 12px 24px; }
.rl-consent-banner p { font-size: 16px; line-height: 1.5; }
.rl-consent-cookie { width: 30px; height: 30px; }
.rl-consent-banner .rl-btn-sm, .rl-consent-dialog-actions .rl-btn-sm { font-size: 16px; padding: 9px 18px; }
.rl-consent-link { font-size: 15px; padding: 8px 4px; }
.rl-consent-fab { width: 52px; height: 52px; }
.rl-consent-fab .rl-consent-cookie { width: 26px; height: 26px; }
.rl-consent-dialog { max-width: 960px; }
.rl-consent-dialog-inner { padding: 28px 32px 24px; }
.rl-consent-intro, .rl-consent-google, .rl-consent-cat-desc { font-size: 16px; line-height: 1.6; }
.rl-consent-table { font-size: 15px; }
.rl-consent-table th, .rl-consent-table td { padding: 9px 12px; }
.rl-consent-table code { font-size: 12px; }
.rl-consent-cat h3 { font-size: 19px; letter-spacing: 0; margin: 0; }
.rl-consent-always { font-size: 15px; }
.rl-consent-close { font-size: 28px; }
.rl-consent-credit { font-size: 13px; }
@media (max-width: 575.98px) { .rl-consent-banner { padding: 12px 16px; gap: 8px 12px; } .rl-consent-banner > .rl-consent-cookie { display: none; } .rl-consent-banner p { font-size: 14px; line-height: 1.4; flex: 1 1 100%; } .rl-consent-actions { margin-left: 0; width: 100%; justify-content: space-between; } .rl-consent-dialog-inner { padding: 20px 16px; } }
