/* =========================================================
   برنامج التواصل مع علماء اليمن — الأنماط الأساسية
   Modern Flat · RTL · Desktop First
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@600;700;800&family=Cairo:wght@600;700&family=Barlow:wght@500;700&display=swap');

:root {
  --blue: #339967;
  --blue-dark: #267a52;
  --navy: #14452f;
  --sky: #def2e6;
  --green: #9E6D40;
  --gold: #CBDD67;
  --bg: #f5f9f6;
  --card: #ffffff;
  --surface: #ffffff;
  --ink: #232323;
  --muted: #5d6b63;
  --line: #e1ebe5;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 69, 47, .08);
  --shadow-lg: 0 14px 40px rgba(20, 69, 47, .16);
  --container: 1280px;
  --font: 'Barlow', 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.8;
  color: var(--ink); background: var(--bg); direction: rtl; text-align: right;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.5; margin: 0 0 .5em; color: var(--navy); font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #d3ecdd; font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #d3ecdd; }
.topbar a:hover { color: #fff; }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.1); transition: background .2s, transform .2s; }
.topbar-social a:hover { background: var(--blue); transform: translateY(-2px); }
.topbar-social svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); position: sticky; top: 0; z-index: 900; border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(20,69,47,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 68px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 25px; font-weight: 800; color: var(--navy); }
.brand-text small { font-size: 13px; color: var(--green); font-weight: 700; margin-top: 3px; }
.footer-brand h3 { color: #fff; font-size: 20px; margin: 0 0 8px; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 2px; justify-content: center; flex-wrap: wrap; }
.main-nav a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink); font-weight: 700; font-size: 16px; position: relative; }
.main-nav a:hover { background: var(--sky); color: var(--blue-dark); }
.main-nav a.active { background: var(--blue); color: #fff; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: inline-grid; place-items: center; color: var(--navy); transition: .2s; }
.icon-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; background: rgba(20,69,47,.6); backdrop-filter: blur(4px); z-index: 1200; display: none; padding: 90px 16px 16px; }
.search-overlay.open { display: block; }
.search-box { max-width: 760px; margin: 0 auto; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.search-box form { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.search-box input { flex: 1; border: 0; padding: 20px 22px; font: inherit; font-size: 19px; outline: none; background: transparent; }
.search-box .close-search { border: 0; background: none; font-size: 28px; padding: 0 20px; color: var(--muted); }
.search-results { max-height: 60vh; overflow: auto; padding: 8px; }
.search-results .hint { padding: 22px; color: var(--muted); text-align: center; }
.search-group { padding: 6px 12px 2px; font-size: 13px; color: var(--blue); font-weight: 800; }
.search-item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.search-item:hover { background: var(--sky); }
.search-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; background: var(--line); }
.search-item span { font-weight: 700; font-size: 15px; line-height: 1.5; }

/* ---------- Ticker ---------- */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line); }
.ticker .container { display: flex; align-items: center; min-height: 48px; overflow: hidden; }
.ticker-label { background: var(--blue); color: #fff; font-weight: 800; padding: 6px 18px; border-radius: 8px; flex: none; font-size: 15px; }
.ticker-track { overflow: hidden; flex: 1; margin-inline-start: 16px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-move { display: inline-flex; gap: 48px; white-space: nowrap; animation: ticker 90s linear infinite; padding-inline-start: 100%; }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { color: var(--ink); font-weight: 500; font-size: 15px; }
.ticker-move a::before { content: "◆"; color: var(--gold); margin-inline-end: 10px; font-size: 10px; }
.ticker-move a:hover { color: var(--blue); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(100%); } }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 8px; }
.hero-grid { display: grid; grid-template-columns: 2.1fr 1fr; gap: 22px; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 500px; background: var(--navy); box-shadow: var(--shadow); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,38,27,.92) 0%, rgba(13,38,27,.25) 55%, transparent 100%); }
.slide-caption { position: absolute; z-index: 2; bottom: 0; right: 0; left: 0; padding: 34px 38px 62px; color: #fff; }
.slide-caption .tag { display: inline-block; background: var(--gold); color: #3a2c05; padding: 2px 14px; border-radius: 99px; font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.slide-caption h2 { color: #fff; font-size: 30px; margin: 0 0 8px; max-width: 900px; }
.slide-caption h2 a { color: #fff; }
.slide-caption .meta { opacity: .85; font-size: 14px; }
.slider-nav { position: absolute; z-index: 3; bottom: 20px; left: 28px; display: flex; gap: 8px; align-items: center; }
.slider-nav button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.2); color: #fff; font-size: 18px; transition: .2s; }
.slider-nav button:hover { background: var(--gold); color: #000; }
.slider-dots { position: absolute; z-index: 3; bottom: 28px; right: 38px; display: flex; gap: 8px; }
.slider-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.45); transition: .25s; }
.slider-dots button.active { background: var(--gold); width: 32px; border-radius: 99px; }

.hero-side { background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.hero-side h3 { font-size: 18px; padding-bottom: 10px; border-bottom: 3px solid var(--blue); display: inline-block; margin-bottom: 12px; align-self: flex-start; }
.mini-item { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); color: var(--ink); align-items: flex-start; }
.mini-item:last-child { border-bottom: 0; }
.mini-item img { width: 92px; height: 68px; object-fit: cover; border-radius: 9px; flex: none; background: var(--line); }
.mini-item strong { display: block; font-size: 15px; line-height: 1.55; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini-item small { color: var(--muted); font-size: 13px; }
.mini-item:hover strong { color: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: 52px 0 12px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; border-bottom: 2px solid var(--line); position: relative; padding-bottom: 12px; }
.section-head::after { content: ""; position: absolute; bottom: -2px; right: 0; width: 90px; height: 4px; background: var(--blue); border-radius: 4px; }
.section-head h2 { margin: 0; font-size: 28px; }
.section-head .more { font-weight: 700; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.section-head .more:hover { gap: 10px; }

/* ---------- About band ---------- */
.about-band { background: linear-gradient(135deg, var(--navy), var(--blue-dark)); color: #fff; margin-top: 52px; padding: 56px 0; position: relative; overflow: hidden; }
.about-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); left: -140px; top: -180px; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; position: relative; }
.about-band h2 { color: #fff; font-size: 32px; }
.about-band p { color: #d9eee2; font-size: 18px; }
.about-band .btn { margin-top: 8px; }
.vm-cards { display: grid; gap: 16px; }
.vm-card { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 20px 24px; }
.vm-card h3 { color: var(--gold); font-size: 19px; margin-bottom: 4px; }
.vm-card p { margin: 0; font-size: 16px; color: #e6f4ec; }

/* ---------- Footer ---------- */
.site-footer { background: #10382a; color: #bfdccb; margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding: 54px 0 36px; }
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.site-footer a { color: #bfdccb; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 84px; background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: 14px; }
.footer-brand p { font-size: 15px; }
.footer-links li { padding: 3px 0; }
.footer-links a::before { content: "‹ "; color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; padding: 4px 0; font-size: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: 14px; text-align: center; color: #a3c4b0; }
.to-top { position: fixed; bottom: 22px; left: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; font-size: 20px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .3s; z-index: 800; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: #000; }

/* ---------- Page header ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--blue-dark)); color: #fff; padding: 44px 0 40px; margin-bottom: 36px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 48px solid rgba(255,255,255,.05); left: -90px; bottom: -200px; }
.page-hero h1 { color: #fff; font-size: 36px; margin: 0 0 6px; }
.page-hero p { margin: 0; color: #d3ecdd; }
.breadcrumb { font-size: 14px; margin-bottom: 14px; color: #b9d9c6; }
.breadcrumb a { color: #fff; }
.breadcrumb span { margin: 0 6px; opacity: .6; }
.page-content { padding-bottom: 10px; }

/* ===== الوضع الداكن ===== */
:root[data-theme="dark"] {
  --bg: #0e1a14; --card: #16261e; --surface: #16261e; --ink: #e6efe9; --muted: #9db3a5; --line: #26443a;
  --navy: #a8dcbc; --sky: #183a2a; --blue: #3fae7c; --blue-dark: #2b8a5f; --green: #CBDD67;
  color-scheme: dark;
}
:root[data-theme="dark"] .page-hero, :root[data-theme="dark"] .about-band { background: linear-gradient(135deg, #0f3322, #1f6d49); }
:root[data-theme="dark"] .page-hero h1, :root[data-theme="dark"] .about-band h2 { color: #fff; }
:root[data-theme="dark"] .site-footer { background: #0a1711; }
:root[data-theme="dark"] .topbar { background: #0a1711; }
:root[data-theme="dark"] .card-img img, :root[data-theme="dark"] .article-cover img { filter: brightness(.92); }
:root[data-theme="dark"] .brand img { background: #fff; border-radius: 10px; padding: 3px 6px; }
:root[data-theme="dark"] .slider { background: #0f3322; }

/* ترتيب الهيدر: الاسم والشعار في صف، والقائمة في صف مستقل */
@media (min-width: 993px) {
  .header-inner { flex-wrap: wrap; row-gap: 0; padding-top: 10px; }
  .brand { order: 1; }
  .header-tools { order: 2; margin-inline-start: auto; }
  .main-nav { order: 3; flex: 0 0 100%; border-top: 1px solid var(--line); margin-top: 8px; padding: 6px 0; }
  .main-nav ul { flex-wrap: nowrap; justify-content: flex-start; }
  .brand-text strong { font-size: 28px; }
}

/* إظهار التركيز عند التنقل بلوحة المفاتيح */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.sr-only:focus { position: fixed; top: 8px; right: 8px; width: auto; height: auto; clip: auto; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px; }

/* خط اسم الموقع */
.brand-text strong, .footer-brand h3 { font-family: 'Reem Kufi', 'Tajawal', sans-serif; font-weight: 700; text-wrap: balance; }
.brand-text strong { color: var(--navy); }

/* ===== الهوية الجديدة: اسم الوزارة + اسم البرنامج بخطين مختلفين ===== */
:root { --font-ministry: '29LT Bukra', 'Cairo', 'Tajawal', sans-serif; --font-program: 'Noto Kufi Arabic', 'Tajawal', sans-serif; }
.brand img { height: 78px; }
.brand-text .ministry-name, .footer-brand .ministry-name { order: -1; font-family: var(--font-ministry); font-size: 15px; font-weight: 700; color: var(--green); margin: 0 0 2px; }
.brand-text strong, .footer-brand h3 { font-family: var(--font-program); font-weight: 800; }
.footer-brand .ministry-name { display: block; color: #dbe98a; }
.footer-brand img { height: 100px; }

/* ===== القوائم الفرعية ===== */
.main-nav li { position: relative; }
.main-nav .caret { font-size: 11px; opacity: .7; }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; right: 0; min-width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 950; }
.main-nav .sub-menu a { padding: 9px 14px; font-size: 15px; white-space: nowrap; }
.main-nav .has-sub:hover > .sub-menu, .main-nav .has-sub:focus-within > .sub-menu { display: block; flex-direction: column; }
@media (max-width: 992px) {
  .main-nav .sub-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 16px 0 0; }
  .main-nav .has-sub.sub-open > .sub-menu { display: block; }
  .main-nav .has-sub:hover > .sub-menu { display: none; }
  .main-nav .has-sub.sub-open:hover > .sub-menu { display: block; }
}

/* ===== المواقع الصديقة أسفل الموقع ===== */
.footer-friends { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer-friends .container { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-friends h4 { margin: 0; font-size: 16px; color: var(--gold); }
.friends-row { display: flex; gap: 10px 22px; flex-wrap: wrap; }
.friends-row a { font-size: 15px; }
.friends-row a::before { content: "◆ "; color: var(--gold); font-size: 10px; }

/* ===== المكتبة المرئية + بيانات التواصل في الرئيسية ===== */
.visual-lib .sub-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; }
.visual-lib .sub-head h3 { margin: 0; font-size: 21px; padding-right: 12px; border-right: 4px solid var(--gold); }
.visual-lib .sub-head a { font-weight: 700; font-size: 15px; }
.visual-lib .sub-block + .sub-block { margin-top: 36px; }
.contact-band { margin-top: 56px; background: var(--surface); border-block: 1px solid var(--line); padding: 34px 0; }
.contact-band .container { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.contact-band h2 { margin: 0; font-size: 26px; }
.contact-data { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.contact-data .cd { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.contact-data .cd small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; line-height: 1.3; }
.contact-data .cd .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); display: grid; place-items: center; color: var(--blue-dark); flex: none; }
.contact-data .cd svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 700px) { .contact-band .container { grid-template-columns: 1fr; } }

/* ===== المكتبة العلمية: تبويبات الزوايا ===== */
.lib-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.lib-tabs a { padding: 8px 20px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; color: var(--ink); }
.lib-tabs a.active, .lib-tabs a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.lib-card .card-img { aspect-ratio: 3/4; background: var(--sky); }
.lib-card .card-img img { object-fit: contain; }

/* خط الوزارة (دليل الهوية): 29LT Bukra غير متوفر؛ البديل الأقرب Cairo. للتفعيل ضع الملف في assets/fonts/. الثانوي SF-Mada → Tajawal (الأقرب) / DIN Next → Barlow.
   إن لم يوجد الملف يُستخدم Cairo كبديل مؤقت. */
@font-face { font-family: '29LT Bukra'; src: url('../fonts/29LTBukra-Variable.woff2') format('woff2'), url('../fonts/29LTBukra-Variable.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }

/* =========================================================
   طبقة الهوية البصرية — ألوان شعار البرنامج (أخضر، ليموني، أحمر، أسود)
   ========================================================= */
:root { --brand-lime: #CBDD67; --brand-black: #232323; }
.topbar { background: linear-gradient(90deg, #14452f, #1c5c3f); }
.site-header { position: sticky; }

.main-nav > ul > li > a.active, .main-nav > ul > li > a:hover { color: #fff; }
.ticker-label { background: var(--blue); }
.ticker-move a::before { color: var(--blue); }
.section-head::after { background: linear-gradient(90deg, var(--blue) 0 70%, var(--brand-lime) 70%); width: 110px; }
.card { border-top: 3px solid transparent; transition: border-color .25s, transform .25s, box-shadow .25s; }
.card:hover { border-top-color: var(--brand-lime); }
.card-img .badge { background: var(--brand-black); color: var(--brand-lime); }
.page-hero, .about-band { border-bottom: 4px solid var(--brand-lime); }
.page-hero { background: linear-gradient(135deg, #14452f 0%, #1c6b46 100%); }
.about-band { background: linear-gradient(135deg, #14452f 0%, #1c6b46 100%); }
.breadcrumb { color: #cfe6d8; }
.article-meta .cat, .pagination button.active { background: var(--blue); color: #fff; }
.btn-primary { background: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); }
/* الفوتر */
.site-footer { background: linear-gradient(180deg, #12402b 0%, #0d2d1f 100%); position: relative; margin-top: 70px; border-top: 0; }

.site-footer h4 { color: var(--brand-lime); position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ""; position: absolute; right: 0; bottom: 0; width: 42px; height: 3px; border-radius: 3px; background: var(--brand-lime); }
.footer-links a::before { color: var(--brand-lime); }
.footer-brand .brand-card { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; }
.footer-brand .brand-card img { height: 96px; background: none; padding: 0; margin: 0; border-radius: 0; }
.footer-brand .brand-card .ministry-name { color: var(--green); font-family: var(--font-ministry); font-size: 15px; font-weight: 700; margin: 0 0 2px; display: block; }
.footer-brand .brand-card h3 { color: var(--navy); font-family: var(--font-program); font-size: 25px; font-weight: 800; margin: 0; line-height: 1.3; }
.footer-links a::before { color: var(--brand-lime); }
.footer-bottom { background: rgba(0,0,0,.22); border-top: 0; color: #a3c4b0; }
.footer-friends { border-top-color: rgba(203,221,103,.22); }
.footer-friends h4 { color: var(--brand-lime); }
.footer-friends h4::after { display: none; }
.friends-row a::before { color: var(--blue); }
.topbar-social a:hover { background: var(--blue); }
.to-top { background: var(--blue); }
.to-top:hover { background: var(--brand-lime); color: #000; }
:root[data-theme="dark"] .site-footer { background: linear-gradient(180deg, #0c231a, #08150f); }
:root[data-theme="dark"] .card-img .badge { background: var(--brand-lime); color: #1b2a12; }

/* ===== تبسيط التذييل ومنع التكرار ===== */
.contact-band .container { grid-template-columns: auto 1fr auto; }
@media (max-width: 700px) { .contact-band .container { grid-template-columns: 1fr; } }
.footer-quick { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 30px 0 22px; }
.footer-brand-row .brand-card { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 10px 16px; }
.footer-brand-row img { height: 64px; }
.footer-brand-row .brand-text { display: flex; flex-direction: column; }
.footer-brand-row .brand-text strong { color: var(--navy); font-size: 22px; line-height: 1.3; }
.footer-brand-row .ministry-name { color: var(--green); font-size: 14px; }
.footer-links-inline { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; max-width: 620px; }
.footer-links-inline li { margin: 0; }
