/*
Theme Name: MOR Somalia
Theme URI: https://mor.so/
Author: MOR Somalia
Description: A responsive, accessible Somali-language theme for the Ministry of Reconciliation of the Federal Republic of Somalia.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mor-somalia
*/

:root {
  --mor-ink: #102536;
  --mor-navy: #0b2437;
  --mor-blue: #0a6382;
  --mor-teal: #167c78;
  --mor-gold: #d6a84b;
  --mor-paper: #f7f5ef;
  --mor-white: #fff;
  --mor-muted: #61727b;
  --mor-line: #dfe6e4;
  --mor-shadow: 0 24px 70px rgba(16, 37, 54, .11);
  --mor-radius: 22px;
  --mor-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--mor-ink);
  background: var(--mor-white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
body, button, input, textarea, select { font-family: "Segoe UI", Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--mor-blue); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--mor-teal); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--mor-gold); outline-offset: 4px; }
.site-shell { overflow: clip; }
.container { width: min(var(--mor-width), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; transform: translateY(-160%); background: var(--mor-white); color: var(--mor-ink); border-radius: 8px; box-shadow: var(--mor-shadow); }
.skip-link:focus { transform: translateY(0); }

.federal-strip { background: var(--mor-navy); color: rgba(255,255,255,.84); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.federal-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.federal-strip__mark { display: inline-flex; align-items: center; gap: 9px; }
.flag-mark { display: inline-grid; width: 20px; height: 14px; place-items: center; color: #fff; background: #4b9de0; font-size: 10px; line-height: 1; }
.header-main { position: relative; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(16,37,54,.08); }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 240px; color: var(--mor-ink); text-decoration: none; }
.brand:hover { color: var(--mor-ink); }
.brand__logo { display: grid; width: 55px; height: 55px; flex: 0 0 55px; place-items: center; overflow: hidden; border-radius: 17px; background: #e9f2f1; color: var(--mor-teal); }
.brand__logo img, .custom-logo { width: 100%; height: 100%; object-fit: contain; }
.brand__logo .brand__emblem { width: 46px; height: 46px; object-fit: contain; }
.brand__fallback { font-family: Georgia, serif; font-size: 25px; font-weight: 700; letter-spacing: -.08em; }
.brand__name { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.3; font-weight: 700; }
.brand__sub { display: block; margin-top: 3px; color: var(--mor-muted); font-size: 11px; line-height: 1.3; letter-spacing: .07em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 25px; }
.primary-nav .menu { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: #334a57; font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--mor-teal); }
.primary-nav .nav-contact { padding: 11px 17px; border-radius: 999px; background: var(--mor-navy); color: #fff; }
.primary-nav .nav-contact:hover { background: var(--mor-teal); color: #fff; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--mor-line); border-radius: 14px; color: var(--mor-ink); background: #fff; cursor: pointer; }
.menu-toggle svg { width: 21px; height: 21px; }

.hero { position: relative; padding: 76px 0 90px; background: var(--mor-paper); isolation: isolate; }
.hero::before { position: absolute; z-index: -1; top: -80px; right: -90px; width: 520px; height: 520px; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(214,168,75,.16) 0, rgba(214,168,75,.07) 38%, transparent 69%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(40px, 7vw, 95px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mor-teal); font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { width: 26px; height: 2px; content: ""; background: var(--mor-gold); }
.hero h1 { max-width: 650px; margin: 18px 0 20px; color: var(--mor-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5.8vw, 70px); line-height: 1.08; letter-spacing: -.045em; }
.hero h1 em { color: var(--mor-teal); font-style: normal; }
.hero__text { max-width: 555px; margin: 0; color: #526874; font-size: clamp(16px, 1.5vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 11px 19px; border: 1px solid transparent; border-radius: 999px; background: var(--mor-teal); color: #fff; font-size: 13px; font-weight: 750; text-align: center; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--mor-navy); color: #fff; }
.button--light { border-color: #cad7d4; background: transparent; color: var(--mor-navy); }
.button--light:hover { border-color: var(--mor-teal); background: #eaf2ef; color: var(--mor-navy); }
.button svg { width: 16px; height: 16px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--mor-muted); font-size: 12px; }
.hero-note__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mor-gold); box-shadow: 0 0 0 5px rgba(214,168,75,.15); }

.hero-art { position: relative; min-height: 430px; display: grid; place-items: center; }
.art-frame { position: relative; width: min(100%, 480px); min-height: 420px; overflow: hidden; border: 1px solid rgba(255,255,255,.74); border-radius: 45% 45% 30px 30px; background: linear-gradient(150deg, #0c3547 4%, #126c70 56%, #78a99a 100%); box-shadow: var(--mor-shadow); }
.art-frame::before { position: absolute; top: 38px; left: 42px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; content: ""; }
.art-frame::after { position: absolute; top: 73px; left: 77px; width: 290px; height: 290px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.art-sun { position: absolute; top: 56px; right: 68px; width: 95px; height: 95px; border-radius: 50%; background: #e0b75f; box-shadow: 0 0 0 20px rgba(224,183,95,.09), 0 0 0 42px rgba(224,183,95,.06); }
.art-horizon { position: absolute; right: -7%; bottom: -80px; left: -7%; height: 235px; border-radius: 50% 50% 0 0; background: #d2d6bd; transform: rotate(-6deg); }
.art-horizon::before { position: absolute; top: -57px; left: 12%; width: 88%; height: 155px; border-radius: 50% 50% 0 0; content: ""; background: #85a99a; }
.art-horizon::after { position: absolute; top: 15px; right: -7%; width: 85%; height: 170px; border-radius: 50% 50% 0 0; content: ""; background: #ead9ad; }
.art-path { position: absolute; z-index: 2; bottom: -20px; left: 43%; width: 165px; height: 205px; border-radius: 48% 52% 0 0; background: linear-gradient(90deg, rgba(255,255,255,.94), #fff4d9); transform: rotate(7deg); clip-path: polygon(44% 0,58% 0,100% 100%,0 100%); }
.art-wordmark { position: absolute; z-index: 4; right: 26px; bottom: 27px; left: 26px; display: flex; align-items: end; justify-content: space-between; color: #fff; }
.art-wordmark strong { max-width: 205px; font-family: Georgia, serif; font-size: 23px; line-height: 1.2; }
.art-wordmark span { display: block; color: rgba(255,255,255,.75); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.art-stamp { position: absolute; z-index: 5; top: 35px; left: -22px; display: grid; width: 75px; height: 75px; place-items: center; border: 5px solid var(--mor-paper); border-radius: 50%; background: var(--mor-gold); color: var(--mor-navy); font-family: Georgia,serif; font-size: 12px; font-weight: 800; text-align: center; line-height: 1.1; transform: rotate(-11deg); }
.art-card { position: absolute; z-index: 6; right: -10px; bottom: 26px; width: 182px; padding: 15px 17px; border: 1px solid rgba(255,255,255,.75); border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 16px 38px rgba(16,37,54,.15); }
.art-card b { display: block; color: var(--mor-navy); font-family: Georgia,serif; font-size: 15px; }
.art-card span { display: block; margin-top: 3px; color: var(--mor-muted); font-size: 11px; line-height: 1.5; }

.intro-band { padding: 29px 0; border-bottom: 1px solid var(--mor-line); background: #fff; }
.intro-band__grid { display: grid; grid-template-columns: 1.1fr 2fr; align-items: center; gap: 44px; }
.intro-band h2 { margin: 0; color: var(--mor-navy); font-family: Georgia,serif; font-size: 22px; line-height: 1.3; }
.intro-band p { margin: 0; color: var(--mor-muted); font-size: 14px; }

.section { padding: 88px 0; }
.section--paper { background: var(--mor-paper); }
.section-heading { max-width: 680px; margin: 0 0 38px; }
.section-heading h2 { margin: 13px 0 12px; color: var(--mor-navy); font-family: Georgia,serif; font-size: clamp(32px, 4vw, 45px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading p { margin: 0; color: var(--mor-muted); font-size: 15px; }
.section-heading--center { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading--center .eyebrow::after { width: 26px; height: 2px; content: ""; background: var(--mor-gold); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.pillar-card { position: relative; min-height: 245px; padding: 27px; overflow: hidden; border: 1px solid var(--mor-line); border-radius: var(--mor-radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--mor-shadow); }
.pillar-card__number { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: #e7f1ee; color: var(--mor-teal); font-family: Georgia,serif; font-size: 16px; font-weight: 700; }
.pillar-card:nth-child(2) .pillar-card__number { background: #f6efdf; color: #a77d2e; }
.pillar-card:nth-child(3) .pillar-card__number { background: #e9eef3; color: #526e85; }
.pillar-card h3 { margin: 22px 0 8px; color: var(--mor-navy); font-family: Georgia,serif; font-size: 21px; line-height: 1.3; }
.pillar-card p { margin: 0; color: var(--mor-muted); font-size: 13px; }
.pillar-card__arrow { position: absolute; right: 27px; bottom: 25px; color: var(--mor-teal); font-size: 19px; text-decoration: none; }

.approach { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(38px, 8vw, 105px); }
.approach-visual { position: relative; min-height: 385px; overflow: hidden; border-radius: 28px; background: #e8f0eb; }
.approach-visual::before { position: absolute; top: -67px; left: -25px; width: 300px; height: 300px; border-radius: 50%; content: ""; background: #d9bd78; }
.approach-visual::after { position: absolute; right: -45px; bottom: -145px; width: 410px; height: 360px; border-radius: 50%; content: ""; background: #185f66; }
.approach-visual__line { position: absolute; z-index: 2; top: 50%; left: 12%; width: 76%; height: 2px; background: rgba(16,37,54,.35); transform: rotate(-24deg); }
.approach-visual__quote { position: absolute; z-index: 3; top: 47%; left: 12%; max-width: 265px; padding: 23px; border: 1px solid rgba(255,255,255,.75); border-radius: 18px; background: rgba(255,255,255,.91); box-shadow: var(--mor-shadow); }
.approach-visual__quote strong { display: block; color: var(--mor-navy); font-family: Georgia,serif; font-size: 22px; line-height: 1.25; }
.approach-visual__quote span { display: block; margin-top: 8px; color: var(--mor-muted); font-size: 12px; }
.approach-copy .section-heading { margin-bottom: 24px; }
.approach-copy .section-heading h2 { font-size: clamp(31px, 4vw, 43px); }
.approach-steps { display: grid; gap: 17px; }
.approach-step { display: grid; grid-template-columns: 39px 1fr; gap: 14px; align-items: start; }
.approach-step__num { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #d7e4df; border-radius: 50%; color: var(--mor-teal); font-family: Georgia,serif; font-weight: 700; }
.approach-step h3 { margin: 0 0 3px; color: var(--mor-navy); font-size: 14px; }
.approach-step p { margin: 0; color: var(--mor-muted); font-size: 13px; }

.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.program-card { display: flex; min-height: 260px; flex-direction: column; padding: 26px; border-radius: var(--mor-radius); background: var(--mor-navy); color: #fff; }
.program-card:nth-child(2) { background: #176b6d; }
.program-card:nth-child(3) { background: #855d2d; }
.program-card__symbol { display: grid; width: 47px; height: 47px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 15px; color: #f3d58f; font-family: Georgia,serif; font-size: 20px; }
.program-card h3 { margin: 28px 0 9px; font-family: Georgia,serif; font-size: 21px; line-height: 1.3; }
.program-card p { margin: 0 0 22px; color: rgba(255,255,255,.74); font-size: 13px; }
.program-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: #f3d58f; font-size: 12px; font-weight: 750; text-decoration: none; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.news-card { overflow: hidden; border: 1px solid var(--mor-line); border-radius: var(--mor-radius); background: #fff; }
.news-card__image { display: grid; min-height: 170px; place-items: center; overflow: hidden; background: linear-gradient(140deg, #dbe9e4, #f2e9d6); color: var(--mor-teal); }
.news-card__image img { width: 100%; height: 185px; object-fit: cover; }
.news-card__image span { font-family: Georgia,serif; font-size: 50px; opacity: .38; }
.news-card__body { padding: 20px 21px 22px; }
.news-card__date { color: var(--mor-teal); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.news-card h3 { margin: 9px 0; color: var(--mor-navy); font-family: Georgia,serif; font-size: 19px; line-height: 1.35; }
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card p { margin: 0 0 15px; color: var(--mor-muted); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--mor-teal); font-size: 12px; font-weight: 800; text-decoration: none; }
.news-empty { grid-column: 1/-1; padding: 26px; border: 1px dashed #cbd8d3; border-radius: 17px; color: var(--mor-muted); text-align: center; }
.section-topline { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.section-topline .section-heading { margin: 0; }

.cta-panel { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: clamp(30px, 5vw, 55px); overflow: hidden; border-radius: 28px; background: var(--mor-navy); color: #fff; }
.cta-panel::after { position: absolute; top: -120px; right: 18%; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; box-shadow: 0 0 0 35px rgba(255,255,255,.035), 0 0 0 70px rgba(255,255,255,.025); }
.cta-panel__copy { position: relative; z-index: 1; max-width: 660px; }
.cta-panel .eyebrow { color: #e9cc82; }
.cta-panel h2 { margin: 11px 0; font-family: Georgia,serif; font-size: clamp(29px, 4vw, 42px); line-height: 1.15; }
.cta-panel p { margin: 0; color: rgba(255,255,255,.73); font-size: 14px; }
.cta-panel .button { position: relative; z-index: 1; background: var(--mor-gold); color: var(--mor-navy); }
.cta-panel .button:hover { background: #fff; }

.footer { padding: 65px 0 22px; background: #081c2c; color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .95fr; gap: 55px; padding-bottom: 48px; }
.footer .brand { color: #fff; }
.footer .brand__sub { color: rgba(255,255,255,.58); }
.footer .brand__logo { background: rgba(255,255,255,.12); color: #efd185; }
.footer-about { max-width: 350px; margin: 20px 0 0; color: rgba(255,255,255,.62); font-size: 13px; }
.footer h2 { margin: 0 0 17px; color: #fff; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.68); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: #f3d58f; }
.footer-contact { display: grid; gap: 11px; }
.footer-contact a, .footer-contact span { color: rgba(255,255,255,.72); font-size: 13px; text-decoration: none; }
.footer-contact b { display: block; margin-bottom: 2px; color: #e4c36f; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.52); font-size: 11px; }
.footer-bottom p { margin: 0; }

.page-hero { padding: 72px 0 54px; background: var(--mor-paper); }
.page-hero h1 { max-width: 850px; margin: 15px 0; color: var(--mor-navy); font-family: Georgia,serif; font-size: clamp(38px, 5vw, 60px); line-height: 1.1; letter-spacing: -.04em; }
.page-hero p { max-width: 730px; margin: 0; color: var(--mor-muted); }
.content-area { padding: 55px 0 90px; }
.entry-content { max-width: 850px; margin-inline: auto; color: #415763; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--mor-navy); font-family: Georgia,serif; line-height: 1.3; }
.entry-content h2 { margin-top: 1.7em; font-size: 30px; }
.entry-content h3 { margin-top: 1.5em; font-size: 22px; }
.entry-content p, .entry-content li { font-size: 16px; }
.entry-content blockquote { margin: 28px 0; padding: 15px 25px; border-left: 3px solid var(--mor-gold); color: var(--mor-teal); font-family: Georgia,serif; font-size: 20px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--mor-line); text-align: left; }
.article-meta { margin: 0 0 20px; color: var(--mor-muted); font-size: 12px; }
.article-image { margin: 30px auto; overflow: hidden; border-radius: var(--mor-radius); }
.article-image img { display: block; width: 100%; max-height: 540px; object-fit: cover; }
.archive-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.info-grid, .contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 30px auto; }
.info-card { min-height: 205px; padding: 23px; border: 1px solid var(--mor-line); border-radius: 18px; background: #fff; }
.info-card__mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: #e7f1ee; color: var(--mor-teal); font-family: Georgia,serif; font-size: 15px; font-weight: 800; }
.info-card h2 { margin: 17px 0 7px; color: var(--mor-navy); font-family: Georgia,serif; font-size: 20px; line-height: 1.3; }
.info-card p { margin: 0; color: var(--mor-muted); font-size: 13px; }
.info-card p a { color: var(--mor-teal); font-weight: 700; text-decoration: none; }
.notice-box { max-width: 850px; margin: 25px auto 0; padding: 17px 20px; border: 1px solid #ecdfbc; border-radius: 14px; background: #fbf6e9; color: #6e592a; font-size: 13px; }
.pagination { display: flex; justify-content: center; gap: 9px; margin-top: 42px; }
.pagination .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--mor-line); border-radius: 50%; color: var(--mor-ink); text-decoration: none; }
.pagination .current { border-color: var(--mor-teal); background: var(--mor-teal); color: #fff; }
.not-found { padding: 85px 0; text-align: center; }
.not-found h1 { color: var(--mor-navy); font-family: Georgia,serif; font-size: 48px; }
.alignwide { width: min(1100px, calc(100vw - 48px)); margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.wp-block-image img { border-radius: 14px; }
.wp-block-button__link { border-radius: 999px; background: var(--mor-teal); }

@media (max-width: 1000px) {
  .header-inner { gap: 18px; }
  .primary-nav { gap: 15px; }
  .primary-nav a { font-size: 12px; }
  .hero-grid { gap: 38px; }
  .hero-art { min-height: 380px; }
  .art-frame { min-height: 370px; }
  .art-frame::before { width: 315px; height: 315px; }
  .art-frame::after { width: 245px; height: 245px; }
}
@media (max-width: 800px) {
  .container { width: min(var(--mor-width), calc(100% - 36px)); }
  .header-inner { min-height: 78px; }
  .menu-toggle { display: grid; place-items: center; }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px 18px 18px; border-bottom: 1px solid var(--mor-line); background: #fff; box-shadow: 0 16px 22px rgba(16,37,54,.08); }
  .primary-nav.is-open { display: grid; }
  .primary-nav .menu { display: grid; gap: 0; }
  .primary-nav a { display: block; padding: 12px 8px; font-size: 14px; }
  .primary-nav .nav-contact { margin-top: 5px; text-align: center; }
  .hero { padding: 54px 0 65px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 660px; }
  .hero h1 { max-width: 600px; font-size: clamp(43px, 9vw, 66px); }
  .hero-art { width: min(100%, 500px); min-height: 380px; margin: 0 auto; }
  .art-frame { width: min(100%, 450px); }
  .intro-band__grid { grid-template-columns: 1fr; gap: 9px; }
  .section { padding: 68px 0; }
  .approach { grid-template-columns: 1fr; gap: 38px; }
  .approach-visual { min-height: 330px; }
  .pillars-grid, .program-grid, .news-grid, .archive-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .info-grid, .contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr; gap: 36px; }
  .footer-grid > :first-child { grid-column: 1/-1; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .federal-strip { font-size: 9px; letter-spacing: .05em; }
  .federal-strip .container { min-height: 32px; }
  .federal-strip__optional { display: none; }
  .brand { min-width: 0; gap: 10px; }
  .brand__logo { width: 47px; height: 47px; flex-basis: 47px; border-radius: 14px; }
  .brand__name { max-width: 205px; font-size: 14px; }
  .brand__sub { font-size: 9px; }
  .hero { padding: 46px 0 53px; }
  .hero h1 { margin-top: 15px; font-size: clamp(39px, 11vw, 53px); }
  .hero__text { font-size: 15px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-art { min-height: 315px; }
  .art-frame { min-height: 305px; width: calc(100% - 20px); border-radius: 45% 45% 24px 24px; }
  .art-frame::before { top: 27px; left: 28px; width: 250px; height: 250px; }
  .art-frame::after { top: 52px; left: 53px; width: 200px; height: 200px; }
  .art-sun { top: 43px; right: 48px; width: 65px; height: 65px; }
  .art-horizon { height: 160px; }
  .art-horizon::before { top: -38px; height: 110px; }
  .art-horizon::after { top: 7px; height: 125px; }
  .art-path { height: 145px; width: 120px; }
  .art-stamp { top: 20px; left: -6px; width: 59px; height: 59px; border-width: 4px; font-size: 10px; }
  .art-wordmark { right: 17px; bottom: 18px; left: 17px; }
  .art-wordmark strong { max-width: 145px; font-size: 18px; }
  .art-wordmark span { font-size: 8px; }
  .art-card { right: -4px; bottom: 11px; width: 145px; padding: 11px 12px; }
  .art-card b { font-size: 13px; }
  .art-card span { font-size: 10px; }
  .intro-band { padding: 22px 0; }
  .intro-band h2 { font-size: 19px; }
  .intro-band p { font-size: 13px; }
  .section { padding: 58px 0; }
  .section-heading { margin-bottom: 27px; }
  .section-heading h2 { font-size: 33px; }
  .pillars-grid, .program-grid, .news-grid, .archive-list { grid-template-columns: 1fr; }
  .info-grid, .contact-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 215px; padding: 23px; }
  .program-card { min-height: 235px; }
  .section-topline { align-items: start; flex-direction: column; gap: 15px; }
  .approach-visual { min-height: 285px; }
  .approach-visual__quote { top: 43%; left: 8%; padding: 19px; }
  .approach-visual__quote strong { font-size: 19px; }
  .cta-panel { grid-template-columns: 1fr; padding: 29px 23px; }
  .cta-panel .button { justify-self: start; }
  .footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-bottom: 35px; }
  .footer-grid > :first-child { grid-column: 1/-1; }
  .footer-grid > :last-child { grid-column: 1/-1; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 6px; }
  .page-hero { padding: 50px 0 40px; }
  .page-hero h1 { font-size: 42px; }
  .content-area { padding: 38px 0 65px; }
  .entry-content p, .entry-content li { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Monochrome Somali flag blue palette */
:root {
  --mor-ink: #173651;
  --mor-navy: #123f68;
  --mor-blue: #236da5;
  --mor-teal: #5595c8;
  --mor-gold: #B5D7F1;
  --mor-paper: #f3f8fc;
  --mor-white: #ffffff;
  --mor-muted: #586f82;
  --mor-line: #d7e4ef;
  --mor-shadow: 0 24px 70px rgba(20, 64, 104, .12);
}

::selection { background: #B5D7F1; color: #123f68; }
a:hover { color: #123f68; }
.hero::before { background-image: radial-gradient(circle, rgba(181, 215, 241, .5) 0, rgba(181, 215, 241, .15) 38%, transparent 69%); }
.hero-note__dot { background: #B5D7F1; }
.art-frame { background: linear-gradient(150deg, #123858 4%, #276da5 56%, #7fb3dc 100%); }
.art-sun { background: #B5D7F1; box-shadow: 0 0 0 16px rgba(181, 215, 241, .18), 0 0 0 32px rgba(181, 215, 241, .12); }
.art-horizon { background: #5994c1; }
.art-horizon::before { background: #7fb3dc; }
.art-horizon::after { background: #B5D7F1; }
.art-path { background: linear-gradient(90deg, rgba(255, 255, 255, .94), #ddecf8); }
.art-stamp { background: #ffffff; color: #123f68; }
.pillar-card__number { background: #e8f2fa !important; color: #236da5 !important; border-color: #8bb9dc !important; }
.approach-visual { background: #e5f0f9; }
.approach-visual::before { background: #B5D7F1; }
.approach-visual::after { background: #397cad; }
.approach-step__num { color: #236da5; }
.program-card { background: #123f68 !important; }
.program-card__symbol { color: #B5D7F1; }
.cta-panel { background: #123f68; }
.cta-panel .eyebrow { color: #B5D7F1; }
.cta-panel .button { background: #B5D7F1; color: #123f68; }
.footer { background: #0d2d4b; }


/* Keep primary blue buttons high contrast */
:root { --mor-teal: #236da5; }
