/*
Theme Name: SAAOCFL 2027
Theme URI: https://saaocfl.org
Author: SAAOCFL
Description: Bilingual (English and Arabic) theme for the Sudanese American Association of Central Florida. On activation it creates the site pages in English and Arabic: home, Independence Day, join and consular services as private pages to review, plus public Past events pages.
Version: 0.9.52
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saaocfl
*/
body { margin: 0; background: #FFFFFF; }
a { color: #0B6E4F; }
a:hover { color: #084D38; }
html { scroll-behavior: smooth; }
select, input, button { font-family: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #D21034; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.saaocfl-basic { max-width: 760px; margin: 0 auto; padding: 48px 20px; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-size: 17px; line-height: 1.7; color: #14201A; }

/* Blog, posts and older pages */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saaocfl-skip:focus { position: static !important; width: auto; height: auto; clip: auto; display: inline-block; padding: 8px 14px; background: #FFF6D6; color: #14201A; }
.saaocfl-header, .saaocfl-main, .saaocfl-footer { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; color: #14201A; font-size: 17px; line-height: 1.7; }
.saaocfl-wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.saaocfl-header { background: #FFFFFF; border-bottom: 1px solid #DCE3DE; }
.saaocfl-header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.saaocfl-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #14201A; min-height: 44px; }
.saaocfl-brand span { display: flex; flex-direction: column; line-height: 1.3; }
.saaocfl-brand b { font-family: 'Readex Pro', sans-serif; font-size: 20px; letter-spacing: 0.03em; }
.saaocfl-brand small { font-size: 12px; color: #4A5A51; }
.saaocfl-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 15px; font-weight: 500; }
.saaocfl-nav a { color: #14201A; text-decoration: none; padding: 10px 0; }
.saaocfl-nav a[aria-current="page"] { color: #0B6E4F; font-weight: 600; }
.saaocfl-nav .saaocfl-lang { border: 1px solid #CBD5CE; border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.saaocfl-nav .saaocfl-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: #0B6E4F; color: #FFFFFF; font-weight: 600; }
.saaocfl-band { background: #FFFFFF; }
.saaocfl-band > .saaocfl-wrap { padding-block: clamp(40px, 6vw, 72px); }
.saaocfl-band--tint { background: #EEF4F0; }
.saaocfl-eyebrow { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: #0B6E4F; }
.saaocfl-eyebrow a { text-decoration: none; }
.saaocfl-h1 { margin: 0; font-family: 'Readex Pro', sans-serif; font-weight: 700; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.2; text-wrap: balance; }
.saaocfl-h2 { margin: 0 0 6px; font-family: 'Readex Pro', sans-serif; font-weight: 600; font-size: 22px; line-height: 1.35; }
.saaocfl-h2 a { color: #14201A; text-decoration: none; }
.saaocfl-h2 a:hover { color: #0B6E4F; }
.saaocfl-h3 { margin: 0 0 10px; font-family: 'Readex Pro', sans-serif; font-weight: 600; font-size: 19px; }
.saaocfl-lead { margin: 14px 0 0; max-width: 62ch; font-size: 18px; color: #3E4C44; }
.saaocfl-meta { margin: 10px 0 0; font-size: 15px; color: #4A5A51; }
.saaocfl-columns { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.saaocfl-primary { flex: 999 1 560px; min-width: 0; }
.saaocfl-aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.saaocfl-card { border: 1px solid #DCE3DE; border-radius: 16px; padding: 22px 24px; }
.saaocfl-card p { margin: 0 0 10px; font-size: 16px; color: #3E4C44; }
.saaocfl-small { font-size: 14px !important; }
.saaocfl-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; }
.saaocfl-cats { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.saaocfl-cats li { padding: 4px 0; }
.saaocfl-posts { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #DCE3DE; }
.saaocfl-post { display: flex; flex-wrap: wrap; gap: 20px; padding: 26px 0; border-top: 1px solid #DCE3DE; }
.saaocfl-post-body { flex: 1 1 320px; min-width: 0; }
.saaocfl-post-body p { margin: 0 0 8px; color: #3E4C44; }
.saaocfl-post .saaocfl-meta { margin: 0 0 4px; }
.saaocfl-thumb { flex: 0 0 200px; max-width: 100%; }
.saaocfl-thumb img { display: block; width: 100%; height: 140px; object-fit: cover; border-radius: 12px; }
.saaocfl-more { font-weight: 600; }
.saaocfl-pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.saaocfl-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid #CBD5CE; border-radius: 999px; text-decoration: none; color: #14201A; }
.saaocfl-pager .page-numbers.current { background: #0B6E4F; border-color: #0B6E4F; color: #FFFFFF; }
.saaocfl-content { max-width: 72ch; overflow-wrap: break-word; }
.saaocfl-content img { border-radius: 12px; margin: 8px 0; }
.saaocfl-content table { display: block; overflow-x: auto; border-collapse: collapse; }
.saaocfl-content td, .saaocfl-content th { border: 1px solid #DCE3DE; padding: 8px 12px; }
.saaocfl-content h2, .saaocfl-content h3 { font-family: 'Readex Pro', sans-serif; line-height: 1.35; }
.saaocfl-footer { background: #10251B; color: #C9D6CE; font-size: 15px; }
.saaocfl-footer a { color: #FFFFFF; }
.saaocfl-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 48px; padding-block: 36px 8px; }
.saaocfl-footer p { margin: 0 0 10px; }
.saaocfl-footer .saaocfl-legal { margin: 0; padding-block: 8px 28px; color: #A9BAB0; font-size: 14px; font-weight: 400; background: none; border: 0; }

/* Homepage photo gallery */
.saaocfl-photos { background: #FFFFFF; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; color: #14201A; }
.saaocfl-photos > .saaocfl-wrap { padding-block: clamp(48px, 7vw, 88px); display: flex; flex-direction: column; gap: 28px; }
.saaocfl-photos-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.saaocfl-photos-title { margin: 0; font-family: 'Readex Pro', sans-serif; font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.25; text-wrap: balance; }
.saaocfl-mosaic { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 220px); gap: 12px; }
.saaocfl-tile { position: relative; overflow: hidden; border-radius: 16px; background: #EEF4F0; min-width: 0; }
.saaocfl-tile--lead { grid-column: span 2; grid-row: span 2; }
.saaocfl-tile a { display: block; width: 100%; height: 100%; color: #FFFFFF; text-decoration: none; }
.saaocfl-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.saaocfl-tile a:hover img, .saaocfl-tile a:focus-visible img { transform: scale(1.04); }
.saaocfl-tile-cap { position: absolute; inset: auto 0 0 0; padding: 28px 14px 10px; font-size: 14px; font-weight: 600; line-height: 1.4; color: #FFFFFF; background: linear-gradient(to top, rgba(16, 37, 27, 0.85), rgba(16, 37, 27, 0)); }
.saaocfl-tile--lead .saaocfl-tile-cap { font-size: 17px; padding: 40px 18px 14px; }
@media (max-width: 700px) {
	.saaocfl-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .saaocfl-tile img { transition: none; } }

.saaocfl-footer-links { display: flex; flex-direction: column; gap: 6px; }
.saaocfl-footer-links a { text-decoration: none; }
.saaocfl-footer-links a:hover { text-decoration: underline; }

/* Past events */
.saaocfl-past { background: #EEF4F0; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; color: #14201A; }
.saaocfl-past > .saaocfl-wrap { padding-block: clamp(48px, 7vw, 88px); display: flex; flex-direction: column; gap: 28px; }
.saaocfl-past-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .saaocfl-past-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .saaocfl-past-grid { grid-template-columns: minmax(0, 1fr); } }
.saaocfl-past-card a { display: flex; flex-direction: column; height: 100%; background: #FFFFFF; border-radius: 16px; overflow: hidden; color: #14201A; text-decoration: none; }
.saaocfl-past-img { display: block; aspect-ratio: 3 / 2; max-width: 100%; background: linear-gradient(135deg, #0B6E4F, #10251B); }
.saaocfl-past-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.saaocfl-past-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; }
.saaocfl-past-date { font-size: 14px; color: #4A5A51; }
.saaocfl-past-title { font-family: 'Readex Pro', sans-serif; font-weight: 600; font-size: 19px; line-height: 1.35; }
.saaocfl-past-card a:hover .saaocfl-past-title, .saaocfl-past-card a:focus-visible .saaocfl-past-title { color: #0B6E4F; text-decoration: underline; }

/* Past events pages (0.9.0) */
.saaocfl-archive-hero { background: #10251B; color: #FFFFFF; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
.saaocfl-archive-hero > .saaocfl-wrap { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.saaocfl-archive-hero .saaocfl-eyebrow, .saaocfl-archive-hero .saaocfl-eyebrow a { color: #9FD3B8; }
.saaocfl-archive-hero .saaocfl-lead { color: #C9D6CE; }
.saaocfl-archive-hero .saaocfl-meta { color: #C9D6CE; font-size: 16px; }
.saaocfl-story-hero .saaocfl-h1 { font-size: clamp(28px, 3.8vw, 44px); max-width: 26ch; }
.saaocfl-note { margin: 12px 0 0; font-size: 15px; color: #A9BAB0; }
.saaocfl-past-excerpt { margin-top: 4px; font-size: 15px; line-height: 1.6; color: #3E4C44; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.saaocfl-empty { margin: 0; font-size: 18px; }
.saaocfl-archive .saaocfl-pager ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.saaocfl-archive .saaocfl-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid #CBD5CE; border-radius: 999px; background: #FFFFFF; text-decoration: none; color: #14201A; font-weight: 600; }
.saaocfl-archive .saaocfl-pager .page-numbers.current { background: #0B6E4F; border-color: #0B6E4F; color: #FFFFFF; }
.saaocfl-archive .saaocfl-pager .page-numbers.dots { border-color: transparent; background: transparent; }
.saaocfl-story-img { display: block; width: 100%; border-radius: 16px; margin: 0 0 24px !important; }
.saaocfl-content p { margin: 0 0 1em; }
.saaocfl-content a { overflow-wrap: break-word; }
.saaocfl-video { position: relative; aspect-ratio: 16 / 9; margin: 16px 0; }
.saaocfl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.saaocfl-archive-cta { background: #FFFFFF; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; color: #14201A; border-top: 1px solid #DCE3DE; }
.saaocfl-archive-cta > .saaocfl-wrap { padding-block: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.saaocfl-archive-cta p { margin: 10px 0 0; max-width: 60ch; color: #3E4C44; }
.saaocfl-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.saaocfl-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: #0B6E4F; color: #FFFFFF !important; font-weight: 600; text-decoration: none; }
.saaocfl-btn--ghost { background: transparent; color: #14201A !important; border: 1.5px solid #14201A; }
.saaocfl-archive .saaocfl-pager ul.page-numbers { border: 0; padding: 0; min-height: 0; background: none; border-radius: 0; }

/* Homepage banner photos (0.9.1) */
.saaocfl-hero { position: relative; overflow: hidden; isolation: isolate; }
.saaocfl-hero > div:not(.saaocfl-hero-bg) { position: relative; z-index: 1; }
.saaocfl-hero-bg { position: absolute; inset: 0; z-index: 0; }
.saaocfl-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity 1.6s ease; }
.saaocfl-hero-bg img.is-on { opacity: 1; }
.saaocfl-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 37, 27, 0.86) 0%, rgba(16, 37, 27, 0.66) 42%, rgba(16, 37, 27, 0.3) 100%); }
[dir="rtl"] .saaocfl-hero-bg::after { background: linear-gradient(270deg, rgba(16, 37, 27, 0.86) 0%, rgba(16, 37, 27, 0.66) 42%, rgba(16, 37, 27, 0.3) 100%); }
@media (max-width: 900px) { .saaocfl-hero-bg::after, [dir="rtl"] .saaocfl-hero-bg::after { background: rgba(16, 37, 27, 0.72); } }
@media (prefers-reduced-motion: reduce) { .saaocfl-hero-bg img { transition: none; } }
.saaocfl-hero h1, .saaocfl-hero h1 ~ p, .saaocfl-hero h1 ~ div { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); }
.saaocfl-hero aside { text-shadow: none; }

/* Zeffy $0 note (0.9.5) */
.saaocfl-zeffy-tip { margin: 6px 6px 10px; padding: 12px 14px; border-radius: 12px; background: #FFF6D6; color: #3A2F00; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-size: 15px; line-height: 1.6; }
.saaocfl-zeffy-tip strong { color: #14201A; }

/* Two ways to pay + Pay with Zelle (0.9.5) */
.saaocfl-paywith { margin-top: 12px; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.2); display: flex; flex-direction: column; gap: 14px; }
.saaocfl-paywith-title { margin: 0; font-size: 15px; font-weight: 600; color: #9FD3B8; }
.saaocfl-paywith-row { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.6; color: #C9D6CE; }
.saaocfl-paywith-row strong { font-size: 17px; color: #FFFFFF; }
.saaocfl-paywith-row--zelle { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.saaocfl-zelle-btn { align-self: flex-start; margin-top: 10px; display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: #FFFFFF; color: #10251B !important; font-weight: 700; text-decoration: none; }
.saaocfl-zelle-btn:hover { background: #EEF4F0; }
.saaocfl-zelle { background: #EEF4F0; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; color: #14201A; font-size: 17px; line-height: 1.7; }
.saaocfl-zelle > .saaocfl-wrap { padding-block: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 28px; }
.saaocfl-zelle-head p { margin: 10px 0 0; max-width: 62ch; color: #3E4C44; font-size: 18px; }
.saaocfl-zelle-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; counter-reset: zstep; }
@media (max-width: 900px) { .saaocfl-zelle-steps { grid-template-columns: minmax(0, 1fr); } }
.saaocfl-zelle-step { counter-increment: zstep; background: #FFFFFF; border-radius: 20px; padding: clamp(20px, 3vw, 32px); min-width: 0; }
.saaocfl-zelle-step h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-family: 'Readex Pro', sans-serif; font-weight: 700; font-size: 22px; line-height: 1.3; }
.saaocfl-zelle-step h3::before { content: counter(zstep); flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #0B6E4F; color: #FFFFFF; font-size: 17px; }
.saaocfl-zelle-details { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.saaocfl-zelle-details div { display: flex; flex-direction: column; gap: 2px; }
.saaocfl-zelle-details dt { font-size: 14px; font-weight: 600; color: #4A5A51; }
.saaocfl-zelle-details dd { margin: 0; font-size: 18px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; overflow-wrap: anywhere; }
.saaocfl-ltr { justify-content: flex-end; }
[dir="ltr"] .saaocfl-ltr, .saaocfl-zelle:not([dir="rtl"]) .saaocfl-ltr { justify-content: flex-start; }
.saaocfl-zelle-email { font-size: 20px; color: #0B6E4F; }
.saaocfl-copy { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #0B6E4F; background: #FFFFFF; color: #0B6E4F; font-weight: 600; font-size: 15px; cursor: pointer; }
.saaocfl-copy:hover { background: #EEF4F0; }
.saaocfl-zelle-qr { margin: 20px 0 0; display: flex; align-items: center; gap: 14px; }
.saaocfl-zelle-qr img { width: 140px; height: 140px; border: 1px solid #DCE3DE; border-radius: 12px; }
.saaocfl-zelle-qr figcaption { font-size: 15px; color: #3E4C44; }
.saaocfl-zelle-small { margin: 18px 0 0; font-size: 15px; line-height: 1.6; color: #4A5A51; }
.saaocfl-zelle-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
@media (max-width: 560px) { .saaocfl-zelle-form { grid-template-columns: minmax(0, 1fr); } }
.saaocfl-zelle-form p { margin: 0 0 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.saaocfl-zelle-form .saaocfl-zelle-wide { grid-column: 1 / -1; }
.saaocfl-zelle-form label { font-size: 15px; font-weight: 600; color: #14201A; }
.saaocfl-zelle-form input, .saaocfl-zelle-form select, .saaocfl-zelle-form textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1px solid #CBD5CE; border-radius: 12px; background: #FFFFFF; color: #14201A; font-size: 16px; }
.saaocfl-zelle-form input:focus, .saaocfl-zelle-form select:focus, .saaocfl-zelle-form textarea:focus { border-color: #0B6E4F; outline: 2px solid #0B6E4F; outline-offset: 0; }
[dir="rtl"] .saaocfl-zelle-form input[dir="ltr"] { text-align: right; }
.saaocfl-zelle-form .saaocfl-btn { border: 0; cursor: pointer; font-size: 17px; justify-self: start; align-self: flex-start; }
.saaocfl-hp { position: absolute !important; width: 1px; height: 1px; margin: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saaocfl-zelle-done { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-radius: 16px; background: #0B6E4F; color: #FFFFFF; }
.saaocfl-zelle-done strong { font-size: 19px; }
.saaocfl-zelle-error { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #FDECEE; color: #8A0A1F; font-size: 15px; }
.saaocfl-zeffy-tip p { margin: 0; }
.saaocfl-zeffy-tip ol { margin: 6px 0; padding-inline-start: 1.4em; }
.saaocfl-zeffy-tip li { margin: 2px 0; }
.saaocfl-zeffy-tip b { color: #14201A; }
.saaocfl-zelle-form p { justify-content: flex-end; }
.saaocfl-freecode { margin-top: 14px; padding: 20px; border-radius: 16px; background: #FFF6D6; color: #3A2F00; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; }
.saaocfl-freecode p { margin: 0; }
.saaocfl-freecode .saaocfl-paywith-title { color: #14201A; font-size: 17px; font-weight: 700; }
.saaocfl-freecode-link { align-self: flex-start; font-size: 17px; font-weight: 700; color: #0B6E4F !important; }
.saaocfl-card-code { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FFF6D6; color: #3A2F00; font-size: 14px; line-height: 1.55; }

/* Homepage next-event card: translucent over the banner photos (0.9.15) */
.saaocfl-next { background: rgba(16, 37, 27, 0.5) !important; -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); border: 1px solid rgba(255, 255, 255, 0.24); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25); color: #FFFFFF !important; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .saaocfl-next { background: rgba(16, 37, 27, 0.82) !important; } }
.saaocfl-next h2, .saaocfl-next span, .saaocfl-next p { color: #E6EEE9 !important; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.saaocfl-next h2, .saaocfl-next span:first-child { color: #FFFFFF !important; }
.saaocfl-next > div:first-child p:first-child { color: #FF9AA8 !important; }
.saaocfl-next > p:last-of-type { color: #C9D6CE !important; }
.saaocfl-next div[aria-hidden="true"] { background: #FFFFFF; border-color: rgba(255, 255, 255, 0.5) !important; text-shadow: none; }
.saaocfl-next div[aria-hidden="true"] > div:last-child { color: #14201A; }
.saaocfl-next a { background: #FFFFFF !important; color: #10251B !important; text-shadow: none; }
.saaocfl-next a:hover { background: #EEF4F0 !important; }

/* Sudanese business directory */
.saaocfl-dir-list { background: #FFFFFF; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; color: #14201A; }
.saaocfl-dir-list > .saaocfl-wrap { padding-block: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: 24px; }
.saaocfl-dir-tools { display: flex; flex-direction: column; gap: 14px; }
.saaocfl-dir-search input { width: 100%; max-width: 520px; box-sizing: border-box; min-height: 50px; padding: 10px 16px; border: 1px solid #CBD5CE; border-radius: 999px; font-size: 16px; background: #FFFFFF; color: #14201A; }
.saaocfl-dir-search input:focus { border-color: #0B6E4F; outline: 2px solid #0B6E4F; outline-offset: 0; }
.saaocfl-dir-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.saaocfl-dir-chips button { min-height: 40px; padding: 0 16px; border: 1px solid #CBD5CE; border-radius: 999px; background: #FFFFFF; color: #14201A; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.saaocfl-dir-chips button.is-on { background: #10251B; border-color: #10251B; color: #FFFFFF; }
.saaocfl-dir-chips button:focus-visible { outline: 2px solid #0B6E4F; outline-offset: 2px; }
.saaocfl-dir-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .saaocfl-dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .saaocfl-dir-grid { grid-template-columns: minmax(0, 1fr); } }
.saaocfl-dir-card { border: 1px solid #DCE3DE; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.saaocfl-dir-card[hidden] { display: none; }
.saaocfl-dir-card h2 { margin: 0; font-family: 'Readex Pro', sans-serif; font-weight: 700; font-size: 21px; line-height: 1.35; overflow-wrap: anywhere; }
.saaocfl-dir-card p { margin: 0; }
.saaocfl-dir-cat { font-size: 14px; font-weight: 600; color: #0B6E4F; }
.saaocfl-dir-alt { font-size: 15px; color: #4A5A51; }
.saaocfl-dir-desc { font-size: 16px; line-height: 1.65; color: #3E4C44; }
.saaocfl-dir-city { font-size: 15px; color: #4A5A51; }
.saaocfl-dir-links { margin-top: auto !important; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.saaocfl-dir-links a { color: #0B6E4F; font-weight: 600; overflow-wrap: anywhere; }
.saaocfl-dir-empty { background: #EEF4F0; border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.saaocfl-dir-empty h2 { margin: 0 0 8px; font-family: 'Readex Pro', sans-serif; font-size: 24px; }
.saaocfl-dir-empty p { margin: 0; font-size: 17px; color: #3E4C44; }
.saaocfl-dir-none, .saaocfl-dir-note { margin: 0; font-size: 15px; color: #4A5A51; }
.saaocfl-dir-checks { border: 0; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.saaocfl-dir-checks legend { font-size: 15px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.saaocfl-dir-checks label { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 400; }
.saaocfl-zelle-form .saaocfl-dir-checks input { width: 20px; min-height: 20px; height: 20px; margin: 3px 0 0; padding: 0; flex: none; accent-color: #0B6E4F; }

/* Contact and donate pages */
.saaocfl-zelle > .saaocfl-contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .saaocfl-zelle > .saaocfl-contact-grid { grid-template-columns: minmax(0, 1fr); } }
.saaocfl-contact-info h2 { margin: 0 0 18px; font-family: 'Readex Pro', sans-serif; font-weight: 700; font-size: 22px; }
.saaocfl-contact-info a { color: #0B6E4F; font-weight: 600; }
.saaocfl-zelle-steps.saaocfl-give { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.saaocfl-give > li { box-sizing: border-box; width: auto !important; min-width: 0; }
.saaocfl-give iframe { max-width: 100%; }
.saaocfl-give-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid #DCE3DE; }
.saaocfl-give-note h4 { margin: 0 0 4px; font-family: 'Readex Pro', sans-serif; font-weight: 600; font-size: 18px; }
.saaocfl-give-note .saaocfl-zelle-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .saaocfl-give-note .saaocfl-zelle-form { grid-template-columns: minmax(0, 1fr); } }
.saaocfl-archive-hero .saaocfl-note span[dir="ltr"] { unicode-bidi: isolate; white-space: nowrap; }
[dir="rtl"] .saaocfl-contact-info dd[dir="ltr"] { display: block; text-align: right; }
.saaocfl-amazon { display: flex; flex-direction: column; }
.saaocfl-amazon p { margin: 0 0 14px; max-width: 70ch; color: #3E4C44; }
.saaocfl-amazon-steps { margin: 0 0 16px; padding-inline-start: 22px; color: #3E4C44; }
.saaocfl-amazon-steps li { margin-bottom: 4px; }
.saaocfl-amazon-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.saaocfl-amazon-cats a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #CBD5CE; border-radius: 999px; color: #14201A; font-weight: 600; font-size: 15px; text-decoration: none; }
.saaocfl-amazon-cats a:hover { border-color: #0B6E4F; color: #0B6E4F; }
/* Donate page: stacked ways to give; Zelle details beside the receipt form on wide screens */
.saaocfl-give > li > h3 { font-size: 24px; }
@media (min-width: 760px) {
  .saaocfl-give #zelle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
  .saaocfl-give #zelle > h3, .saaocfl-give #zelle > p { grid-column: 1 / -1; }
  .saaocfl-give #zelle .saaocfl-give-note { grid-column: 2; grid-row: 3 / span 2; margin-top: 0; padding-top: 0; border-top: 0; padding-inline-start: 32px; border-inline-start: 1px solid #DCE3DE; }
}
.saaocfl-give-jump { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.saaocfl-give-jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 8px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #FFFFFF; font-weight: 600; text-decoration: none; }
[dir="rtl"] .saaocfl-give-jump a { padding: 0 8px 0 20px; }
.saaocfl-give-jump a:hover { background: rgba(255,255,255,0.18); }
.saaocfl-give-jump b { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #FFFFFF; color: #10251B; font-size: 15px; }
.saaocfl-give > li { scroll-margin-top: 90px; }
[dir="rtl"] .saaocfl-give .saaocfl-ltr { justify-content: flex-end; text-align: right; }

/* WhatsApp chat plugin (Social Chat): small round icon instead of the wide bar */
.qlwapp .qlwapp__button.qlwapp__button--button { width: 48px !important; height: 48px !important; min-width: 0 !important; padding: 0 !important; border-radius: 50% !important; justify-content: center !important; gap: 0 !important; box-shadow: 0 4px 14px rgba(0,0,0,0.2) !important; }
.qlwapp .qlwapp__button--button .qlwapp__text { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.qlwapp .qlwapp__button--button .qlwapp__icon { margin: 0 !important; font-size: 24px !important; }

/* Older pages and posts: tidy text and pictures */
.saaocfl-content > *:first-child { margin-top: 0; }
.saaocfl-content h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin: 1.8em 0 0.6em; }
.saaocfl-content h3 { font-size: clamp(19px, 2vw, 22px); font-weight: 600; margin: 1.5em 0 0.5em; }
.saaocfl-content p, .saaocfl-content li, .saaocfl-content h2, .saaocfl-content h3 { text-align: start; }
.saaocfl-content [dir="rtl"], .saaocfl-content [dir="auto"]:lang(ar) { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
.saaocfl-content img { max-width: 100%; height: auto; }
.saaocfl-content figure { margin: 0 0 1.2em; }
.saaocfl-content figure.wp-block-image img { display: block; }
.saaocfl-content figcaption { font-size: 14px; color: #4A5A51; margin-top: 6px; }
/* Old logo dropped at the top of many pages: keep it small */
.saaocfl-content img.wp-image-745, .saaocfl-content img[src*="LOGO"], .saaocfl-content img[src*="logo"] { width: 96px !important; height: auto !important; border-radius: 50%; }
/* Columns of people or pictures: a tidy wrapping grid instead of squeezed columns */
.saaocfl-content .wp-block-columns { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px !important; margin: 0 0 20px !important; }
.saaocfl-content .wp-block-column { min-width: 0; flex-basis: auto !important; margin: 0 !important; }
.saaocfl-content .wp-block-column:empty { display: none; }
.saaocfl-content .wp-block-media-text { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) !important; grid-template-areas: "media content" !important; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid #DCE3DE; border-radius: 14px; background: #FFFFFF; }
.saaocfl-content .wp-block-media-text__media { grid-area: media !important; margin: 0; }
.saaocfl-content .wp-block-media-text__media img { width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 50%; margin: 0; }
.saaocfl-content .wp-block-media-text__content { grid-area: content !important; padding: 0 !important; min-width: 0; }
.saaocfl-content .wp-block-media-text__content p { margin: 0; line-height: 1.4; font-size: 16px; }
.saaocfl-content .wp-block-media-text__content p strong, .saaocfl-content .wp-block-media-text__content p b { display: block; font-size: 13px; font-weight: 600; color: #0B6E4F; }
/* Galleries */
.saaocfl-content .wp-block-gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px !important; }
.saaocfl-content .wp-block-gallery figure { width: auto !important; margin: 0 !important; }
.saaocfl-content .wp-block-gallery img { width: 100% !important; height: 100% !important; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; }
/* File download block */
.saaocfl-content .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #DCE3DE; border-radius: 14px; background: #FFFFFF; }
.saaocfl-content .wp-block-file__button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: #0B6E4F; color: #FFFFFF !important; text-decoration: none; font-weight: 600; }
/* Videos and embeds */
.saaocfl-content iframe { max-width: 100%; border: 0; border-radius: 12px; }
/* Leadership roster */
.saaocfl-content .saaocfl-roster { list-style: none; margin: 8px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.saaocfl-content .saaocfl-roster li { margin: 0; padding: 14px 16px; border: 1px solid #DCE3DE; border-radius: 14px; background: #FFFFFF; font-family: 'Readex Pro', sans-serif; font-weight: 600; font-size: 18px; line-height: 1.35; }
.saaocfl-content .saaocfl-roster li span { display: block; margin-bottom: 4px; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-size: 13px; font-weight: 600; color: #0B6E4F; }
/* Video gallery plugin on the Special Events page */
.saaocfl-content .gallery-video-content { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
/* Shared footer (same as the homepage) on every page */
body footer#contact { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-size: 16px; line-height: 1.7; }
body footer#contact p { margin: 0; }
/* About section pages (Mission, Leadership, Bylaws, Past Executive Committees) */
.saaocfl-about-nav { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.saaocfl-about-nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: 15px; }
.saaocfl-about-nav a:hover { background: rgba(255,255,255,0.1); }
.saaocfl-about-nav a[aria-current="page"] { background: #FFFFFF; color: #10251B; border-color: #FFFFFF; }
.saaocfl-content--wide { max-width: 980px; }
.saaocfl-content--wide > p, .saaocfl-content--wide > h2, .saaocfl-content--wide > h3, .saaocfl-content--wide > ul:not(.saaocfl-roster) { max-width: 72ch; }
.saaocfl-content .saaocfl-objectives { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; counter-reset: obj; }
.saaocfl-content .saaocfl-objectives li { counter-increment: obj; margin: 0; padding: 22px; border-radius: 18px; background: #EEF4F0; font-size: 17px; line-height: 1.65; }
.saaocfl-content .saaocfl-objectives li::before { content: counter(obj); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: #0B6E4F; color: #FFFFFF; font-weight: 700; }
.saaocfl-content .saaocfl-objectives strong { display: block; margin-bottom: 4px; font-family: 'Readex Pro', sans-serif; font-size: 19px; }

/* Hero: "Coming up" panel (Independence Day + consular services) */
.saaocfl-up { flex: 1 1 380px; max-width: 460px; min-width: 0; padding: 8px 22px; border-radius: 20px; color: #FFFFFF; text-shadow: none; background: rgba(16, 37, 27, 0.55); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); border: 1px solid rgba(255, 255, 255, 0.24); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .saaocfl-up { background: rgba(16, 37, 27, 0.85); } }
.saaocfl-up__label { margin: 14px 0 2px; font-size: 14px; font-weight: 600; color: #9FD3B8 !important; }
.saaocfl-up ul { list-style: none; margin: 0; padding: 0; }
.saaocfl-up__row { display: flex; align-items: center; gap: 14px; padding: 16px 0; }
.saaocfl-up__row + .saaocfl-up__row { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.saaocfl-up__cal { flex: none; width: 56px; border-radius: 10px; overflow: hidden; background: #FFFFFF; text-align: center; color: #14201A; }
.saaocfl-up__cal i { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: #FFFFFF; padding: 2px 0; }
.saaocfl-up__cal b { display: block; font-family: 'Readex Pro', sans-serif; font-size: 21px; font-weight: 700; padding: 3px 0 6px; }
.saaocfl-up__txt { flex: 1; min-width: 0; }
.saaocfl-up__txt h2 { margin: 0 0 2px; font-family: 'Readex Pro', sans-serif; font-weight: 700; font-size: 18px; line-height: 1.3; color: #FFFFFF; }
.saaocfl-up__txt p { margin: 0; font-size: 14px; line-height: 1.5; color: #E6EEE9; }
.saaocfl-up__btn { flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: #FFFFFF; color: #10251B !important; font-weight: 600; font-size: 15px; text-decoration: none; }
.saaocfl-up__btn:hover { background: #EEF4F0; }
.saaocfl-up a:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
@media (max-width: 900px) { .saaocfl-up { max-width: none; } }
/* Hero buttons stay on one row (English labels are wider than Arabic) */
.saaocfl-hero h1 ~ div { flex-wrap: nowrap !important; }
.saaocfl-hero h1 ~ div a { white-space: nowrap; }
@media (max-width: 1240px) { .saaocfl-hero h1 ~ div a { padding: 0 22px !important; font-size: 17px !important; } }
@media (max-width: 560px) { .saaocfl-hero h1 ~ div a { flex: 1 1 0; min-width: 0; padding: 0 12px !important; font-size: 16px !important; min-height: 50px !important; } }
/* Phone: event rows put the Register button on its own line */
@media (max-width: 560px) {
  .saaocfl-up { padding: 4px 18px; }
  .saaocfl-up__row { flex-wrap: wrap; row-gap: 12px; }
  .saaocfl-up__txt h2 { font-size: 19px; }
  .saaocfl-up__txt p { font-size: 15px; }
  .saaocfl-up__btn { flex: 1 1 100%; justify-content: center; min-height: 46px; }
}

/* Coming up panel: a little larger, darker glass for legibility */
.saaocfl-up { flex: 1 1 440px; max-width: 520px; padding: 12px 28px 8px; }
.saaocfl-up__label { font-size: 15px; margin-top: 16px; }
.saaocfl-up__row { gap: 18px; padding: 20px 0; }
.saaocfl-up__cal { width: 64px; }
.saaocfl-up__cal i { font-size: 13px; padding: 3px 0; }
.saaocfl-up__cal b { font-size: 24px; padding: 4px 0 7px; }
.saaocfl-up__txt h2 { font-size: 21px; margin-bottom: 4px; }
.saaocfl-up__txt p { font-size: 15.5px; line-height: 1.55; color: #F0F5F2; }
.saaocfl-up__btn { min-height: 46px; padding: 0 22px; font-size: 16px; }
@media (max-width: 560px) { .saaocfl-up { padding: 8px 20px; } .saaocfl-up__txt h2 { font-size: 20px; } }
/* Keep the headline on two lines beside the larger panel */
@media (min-width: 900px) { .saaocfl-hero h1 { font-size: clamp(44px, 4.6vw, 66px) !important; } }
/* Align the top of the Coming up panel with the white headline */
@media (min-width: 1090px) {
  .saaocfl-hero > div:not(.saaocfl-hero-bg):has(> .saaocfl-up) { align-items: flex-start !important; }
  .saaocfl-up { margin-top: calc(27px + 24px + 6px); }
}
