/* Compact public footer (Nov 2026). Loaded by layouts/partials/public-footer. */
.fhf-footer { --sf-gold: #e3b45a; --sf-line: rgba(227, 180, 90, 0.35); background: #013b2e; background-image: radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.035) 2px, transparent 2.5px); background-size: 26px 26px; color: #fff; --ff-control: 44px; }
.fhf-footer a { color: #fff; text-decoration: none; }
.fhf-footer a:hover { color: #f8e2b0; text-decoration: underline; }
.fhf-footer a:focus-visible, .fhf-footer button:focus-visible, .fhf-footer input:focus-visible, .fhf-footer select:focus-visible { outline: 3px solid #f1ca62; outline-offset: 2px; }
.fhf-footer .sf-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 20px 16px 16px; }
.fhf-footer .sf-brand { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo social" "mission mission" "places places"; align-items: center; align-content: start; gap: 6px 12px; }
.fhf-footer .sf-logo { grid-area: logo; }
.fhf-footer .sf-mission { grid-area: mission; }
.fhf-footer .sf-places { grid-area: places; }
.fhf-footer .sf-social { grid-area: social; }
.fhf-footer .sf-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.fhf-footer .sf-logo img { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: #fff; object-fit: contain; }
.fhf-footer .sf-logo .fhf-h3 { margin: 0; color: #fff; font-size: 1.02rem; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.15; }
.fhf-footer .sf-mission { display: block; margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 0.92rem; line-height: 1.4; }
.fhf-footer .sf-places { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 0.82rem; line-height: 1.5; }
.fhf-footer .sf-places a { color: rgba(255, 255, 255, 0.85); }
.fhf-footer .sf-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fhf-footer .sf-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--sf-gold); border-radius: 50%; color: #fff; }
.fhf-footer .sf-social a:hover { background: rgba(227, 180, 90, 0.18); color: #fff; text-decoration: none; }
.fhf-footer .sf-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding-top: 14px; border-top: 1px solid var(--sf-line); }
.fhf-footer .sf-heading { margin: 0 0 2px; color: var(--sf-gold) !important; font-family: inherit; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.fhf-footer .sf-links { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; font-size: 0.92rem; }
.fhf-footer .sf-links a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, 0.92); }
.fhf-footer .sf-news { display: grid; gap: 8px; align-content: start; padding-top: 14px; border-top: 1px solid var(--sf-line); }
.fhf-footer .sf-news-title { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff !important; font-family: inherit; font-size: 1rem; font-weight: 800; line-height: 1.25; }
.fhf-footer .sf-news-title .fhf-icon { color: var(--sf-gold); flex-shrink: 0; }
.fhf-footer .sf-news-text { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; line-height: 1.4; }
.fhf-footer .sf-news-form { display: grid; gap: 8px; }
.fhf-footer .sf-news-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.fhf-footer .sf-news-row input { width: 100%; min-height: 44px; height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: #fff; color: #14312b; font: inherit; font-size: 1rem; }
.fhf-footer .sf-news-btn { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: #0a7a4f; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.fhf-footer .sf-news-btn:hover { background: #0c8f5d; }
.fhf-footer .sf-news-options { display: flex; align-items: center; gap: 10px; }
.fhf-footer .sf-news-options label { display: inline !important; flex-shrink: 0; margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; font-weight: 600; }
.fhf-footer .sf-news-options select { flex: 1 1 auto; width: auto !important; min-width: 0; min-height: 44px; height: 44px; margin: 0; padding: 0 10px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 10px; background-color: #024a3a; color: #fff; font: inherit; font-size: 0.9rem; }
.fhf-footer .sf-news-consent { display: flex !important; margin: 0 !important; padding: 0 !important; align-items: flex-start; gap: 8px; margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 0.8rem; font-weight: 500; line-height: 1.4; }
.fhf-footer .sf-news-consent input { width: 20px; height: 20px; min-height: 20px; margin: 0; flex-shrink: 0; accent-color: #0a7a4f; }
.fhf-footer .sf-news-consent a { display: inline; text-decoration: underline; }
.fhf-footer .sf-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding: 4px 16px calc(4px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--sf-line); color: rgba(255, 255, 255, 0.8); font-size: 0.82rem; }
.fhf-footer .sf-meta p { margin: 0; padding: 8px 0 0; }
.fhf-footer .sf-legal { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; }
.fhf-footer .sf-legal li + li::before { content: "|"; margin: 0 10px; color: var(--sf-gold); }
.fhf-footer .sf-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.fhf-footer-portal .sf-meta { border-top: 0; }

/* Phones: each column is a disclosure so the link list stays short. Wider screens always show every column. */
.fhf-footer .sf-group > summary { display: none; }
@media (max-width: 599px) {
    .fhf-footer .sf-columns { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 4px; }
    .fhf-footer .sf-group { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .fhf-footer .sf-group > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; color: var(--sf-gold); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; list-style: none; }
    .fhf-footer .sf-group > summary::-webkit-details-marker { display: none; }
    .fhf-footer .sf-group > summary::after { content: "+"; font-size: 1.2rem; font-weight: 600; line-height: 1; }
    .fhf-footer .sf-group[open] > summary::after { content: "\2212"; }
    .fhf-footer .sf-group .sf-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .fhf-footer .sf-group .sf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; padding-bottom: 6px; }
}
@media (min-width: 600px) {
    .fhf-footer .sf-grid, .fhf-footer .sf-meta { padding-inline: 24px; }
    .fhf-footer .sf-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .fhf-footer .sf-meta p { padding: 0; }
}
@media (min-width: 900px) {
    .fhf-footer .sf-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
    .fhf-footer .sf-columns { grid-column: 1 / -1; grid-row: 2; }
    .fhf-footer .sf-news { grid-column: 2; grid-row: 1; padding-top: 0; border-top: 0; }
}
/* Desktop with a mouse: tighter link rows, since targets do not need to be finger-sized. */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    .fhf-footer .sf-links a { min-height: 28px; }
    .fhf-footer .sf-legal a { min-height: 30px; }
    .fhf-footer .sf-news { gap: 6px; }
    .fhf-footer .sf-news-form { gap: 6px; }
    .fhf-footer .sf-news-row input, .fhf-footer .sf-news-btn { min-height: 40px; height: 40px; }
    .fhf-footer .sf-news-options select { min-height: 38px; height: 38px; }
    .fhf-footer .sf-meta { padding-block: 2px; }
}
@media (min-width: 1200px) {
    .fhf-footer .sf-grid { grid-template-columns: minmax(220px, 1.1fr) minmax(0, 2.5fr) minmax(320px, 1.5fr); column-gap: 0; max-width: 1440px; margin: 0 auto; padding: 20px 32px 14px; }
    .fhf-footer .sf-brand { grid-template-columns: minmax(0, 1fr); grid-template-areas: "logo" "mission" "places" "social"; padding-right: 28px; }
    .fhf-footer .sf-columns { grid-column: 2; grid-row: 1; align-content: start; padding: 0 28px; border-top: 0; border-left: 1px solid var(--sf-line); border-right: 1px solid var(--sf-line); }
    .fhf-footer .sf-news { grid-column: 3; padding-left: 28px; }
    .fhf-footer .sf-meta { max-width: 1440px; margin: 0 auto; padding-inline: 32px; }
}
/* The installed prayer app keeps its existing behaviour of a slim footer on phones and tablets. */
@media (display-mode: standalone) and (max-width: 1023px) {
    .fhf-footer .sf-grid { display: none; }
}
