/* Consulatul Onorific al Etiopiei la Cluj-Napoca
   Look: "Checkmate" from the family, in a diplomatic register.
   Centered emblem and serif name, centered navigation, Gloock capitals for headings,
   Poppins for text, 50/50 panels, a large photograph on the home page, one band in the
   flag's yellow, light centered footer. The Ethiopian flag band (green, yellow, red) is the
   signature device. Light theme only. */

/* Fonts hosted on this server (SIL Open Font License, see assets/fonts/OFL-*.txt): no requests to Google */
@font-face { font-family: 'Gloock'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/gloock-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Gloock'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/gloock-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/poppins-300-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/poppins-300-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --band: #fcdd09;           /* flag yellow: large surfaces with dark text (12:1) */
  --accent: #06752a;         /* readable flag green: buttons, accent headings (5.7:1 on white) */
  --flag-green: #078930;
  --flag-yellow: #fcdd09;
  --flag-red: #da121a;
  --emblem: #0f47af;
  --accent-deep: #055a20;
  --ink: #1b1e22;
  --soft: #545a61;
  --paper: #f5f6f7;
  --white: #fcfcfc;
  --line: rgba(27, 30, 34, .13);
  --line-strong: rgba(27, 30, 34, .45);
  --error: #a3332b;
  --display: "Gloock", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --g: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light only;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--band); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { text-transform: uppercase; letter-spacing: .012em; }
h1 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.1; }
h2 { font-size: clamp(25px, 2.6vw, 36px); }
h3 { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.25; }
h4 { font-size: 19px; line-height: 1.3; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--g); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; font-size: 14px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.label { font-size: 14px; color: var(--soft); margin: 0 0 4px; }
.eyebrow { font-size: 14px; color: var(--soft); margin: 0 0 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 26px; border-radius: 2px; border: 0;
  background: var(--accent); color: var(--white); font: 500 14px/1.3 var(--sans); letter-spacing: .02em; white-space: nowrap; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 14px -9px rgba(27, 30, 34, .6); transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--accent-deep); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: var(--accent-deep); }
.btn.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--white); }
.btn svg { width: 16px; height: 16px; }
.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arrow { transform: translateX(3px); }
.link-more { font-weight: 500; font-size: 14px; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link-more:hover { color: var(--accent-deep); }

/* ---------- Flag band ---------- */
.flag { height: 12px; background: linear-gradient(to bottom, var(--flag-green) 0 33.34%, var(--flag-yellow) 33.34% 66.67%, var(--flag-red) 66.67%); }
.flag.thin { height: 8px; }

/* ---------- Header: centered lockup and navigation ---------- */
.site-header { background: var(--paper); text-align: center; }
.site-header .bar { display: flex; flex-direction: column; align-items: center; padding: 26px var(--g) 0; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 68px; height: auto; }
.brand .t1 { display: block; font-family: var(--display); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.2; }
.brand .t2 { display: block; font-family: var(--display); font-size: 16px; color: var(--soft); }
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px clamp(20px, 3vw, 44px); margin-top: 18px; padding-bottom: 6px; font-size: 15px; }
.nav a { padding: 8px 0; color: var(--soft); text-decoration: none; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .site-header .bar { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 14px var(--g); text-align: left; }
  .brand { flex-direction: row; gap: 12px; }
  .brand img { width: 46px; }
  .brand .t1 { font-size: 17px; }
  .brand .t2 { font-size: 14px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 2px; background: none; color: var(--ink); font: 500 14px var(--sans); cursor: pointer; }
  .menu-btn svg { width: 18px; height: 18px; }
  .nav { display: none; width: 100%; margin-top: 10px; }
  .nav.open { display: grid; gap: 0; text-align: left; }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav.open a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--line); }
}
@media (max-width: 420px) { .brand .t2 { display: none; } }

/* ---------- Home ---------- */
.hero { position: relative; display: grid; min-height: clamp(440px, 66vh, 700px); color: var(--white); text-align: center; background: #20241f; overflow: hidden; }
.hero > img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; object-position: center 80%; }
.hero::after { content: ""; grid-area: 1 / 1; background: linear-gradient(to bottom, rgba(20, 22, 20, .18) 0%, rgba(20, 22, 20, .28) 45%, rgba(20, 22, 20, .66) 100%); }
.hero .head { grid-area: 1 / 1; position: relative; z-index: 2; align-self: end; padding: 0 var(--g) clamp(56px, 7vw, 96px); }
.hero h1 { margin: 0 auto; max-width: 20ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero .lede { max-width: 58ch; margin: 18px auto 0; color: rgba(252, 252, 252, .92); }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero .btn.outline { color: var(--white); box-shadow: inset 0 0 0 1px var(--white); }
.hero .btn.outline:hover { background: var(--white); color: var(--ink); }
.hero .credit { position: absolute; z-index: 2; right: var(--g); bottom: 14px; margin: 0; font-size: 12px; color: rgba(252, 252, 252, .8); }
.hero .credit a { color: inherit; }
@media (max-width: 560px) { .hero .head { padding-bottom: 76px; } .hero .credit { left: var(--g); bottom: 12px; text-align: center; font-size: 11px; } }

.panels { display: grid; grid-template-columns: 1fr 1fr; }
.panel { padding: clamp(52px, 6vw, 80px) clamp(24px, 6vw, 88px); text-align: center; display: grid; gap: 16px; justify-items: center; align-content: start; }
.panel:first-child { background: var(--paper); }
.panel h2 { color: var(--accent); margin: 0; }
.panel p { max-width: 42ch; margin: 0; }
.panel .btn { margin-top: 10px; }
@media (max-width: 860px) { .panels { grid-template-columns: 1fr; } }

.news { padding-top: clamp(60px, 7vw, 96px); }
.news-head { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 var(--g) clamp(28px, 3vw, 40px); text-align: center; }
.news-head h2 { margin: 0; }
.band { position: relative; overflow: hidden; text-align: center; min-height: 440px; display: grid; background: var(--paper); }
.band .slide { grid-area: 1 / 1; display: grid; place-items: center; padding: clamp(56px, 7vw, 88px) clamp(64px, 9vw, 140px) 92px; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.band .slide.on { opacity: 1; visibility: visible; }
.band .slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.85) brightness(1.05); }
.band .slide::after { content: ""; position: absolute; inset: 0; background: rgba(245, 246, 247, .78); }
.band .copy { position: relative; z-index: 2; display: grid; gap: 14px; justify-items: center; max-width: 860px; }
.band h3 { margin: 0; text-transform: uppercase; letter-spacing: .012em; font-size: clamp(20px, 2.2vw, 30px); }
.band .meta { font-size: 14px; color: var(--soft); margin: 0; }
.band .meta b { font-weight: 600; color: var(--ink); }
.band .copy .btn { margin-top: 6px; }
.band .ctrl { position: absolute; z-index: 3; top: calc(50% - 24px); transform: translateY(-50%); width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; border-radius: 2px; cursor: pointer; color: var(--ink); }
.band .ctrl:hover { background: rgba(27, 30, 34, .06); }
.band .ctrl svg { width: 28px; height: 28px; }
.band .prev { left: clamp(4px, 2vw, 28px); } .band .next { right: clamp(4px, 2vw, 28px); }
.band .tools { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.band .dot { width: 28px; height: 28px; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; }
.band .dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--ink); transition: background .2s; }
.band .dot[aria-current="true"]::before { background: var(--ink); }
.band .pause { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; margin-left: 10px; border: 1px solid var(--line); border-radius: 2px; background: var(--white); color: var(--ink); font: 500 13px var(--sans); cursor: pointer; }
.band .pause svg { width: 14px; height: 14px; }
.band .pause .play { display: none; }
.band.paused .pause .play { display: block; }
.band.paused .pause .halt { display: none; }
@media (max-width: 860px) { .band { min-height: 480px; } .band .slide { padding-inline: 56px; } }

.figures, .section.dark { background: var(--band); color: var(--ink); text-align: center; padding: clamp(52px, 6vw, 76px) var(--g); }
.section.dark h2 { color: var(--ink); }
.figures .grid, .section.dark .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1100px; margin: 34px auto 34px; }
.figures b, .fact .v { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; }
.figures span, .fact .k { display: block; margin-top: 8px; font-size: 15px; }
.figures .btn { background: var(--ink); }
.figures .btn:hover { background: var(--accent-deep); }
@media (max-width: 760px) { .figures .grid, .section.dark .facts { grid-template-columns: 1fr 1fr; } }

.amb { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.amb figure { margin: 0; }
.amb figcaption { font-size: 13px; color: var(--soft); margin-top: 10px; }
.amb h2 { color: var(--accent); margin-bottom: 18px; }
.amb blockquote { margin: 0 0 18px; font-size: 20px; line-height: 1.55; font-weight: 300; max-width: 40ch; }
.amb .who { font-weight: 600; margin: 0; }
.amb .role { color: var(--soft); font-size: 15px; margin: 0 0 24px; text-wrap: balance; max-width: 44ch; }
@media (max-width: 860px) { .amb { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.page-hero { background: var(--paper); text-align: center; }
.page-hero .wrap { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 60px); }
.page-hero h1 { max-width: 22ch; margin: 0 auto .35em; font-size: clamp(30px, 3.8vw, 50px); }
.page-hero .lede { color: var(--soft); max-width: 60ch; margin: 0 auto; }
.crumbs { font-size: 14px; color: var(--soft); margin-bottom: 18px; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-hero.has-image { display: flex; flex-direction: column; }
.page-hero.has-image .bg { order: 2; width: 100%; }
.page-hero.has-image .bg img { width: 100%; height: clamp(220px, 32vw, 460px); object-fit: cover; }
.page-hero.has-image .bg img.full { height: auto !important; max-width: 980px; margin: 0 auto clamp(28px, 4vw, 48px); padding-inline: var(--g); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 7vw, 96px) 0; }
.section.alt { background: var(--paper); }
.page-hero + .section { padding-top: clamp(48px, 6vw, 80px); }
.sec-head, .section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 34px; }
.sec-head h2, .section-head h2 { margin: 0; color: var(--accent); }
.sec-head a, .section-head a { color: var(--accent); font-size: 14px; font-weight: 500; text-decoration: none; }

.pillars-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 6vw, 96px); }
.rows { border-top: 1px solid var(--line); }
.row-link { display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.row-link h3 { margin: 0 0 4px; }
.row-link p { color: var(--soft); margin: 0; }
.row-link .go { color: var(--accent); transition: transform .25s var(--ease); }
.row-link:hover .go { transform: translateX(4px); }
@media (max-width: 860px) { .pillars-wrap { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.split .media { margin: 0; }
@media (max-width: 860px) { .split, .split.wide-left { grid-template-columns: 1fr; } }

.prose { font-size: 17px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.6em; color: var(--accent); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol:not(.timeline) { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 1px solid var(--accent); font-size: 18px; line-height: 1.6; font-weight: 300; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 13px; color: var(--soft); margin-top: 10px; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; font-weight: 300; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.aside { position: sticky; top: 24px; display: grid; gap: 28px; }
.aside-box { background: var(--paper); padding: 20px 22px; border-radius: 2px; }
.aside-box h4, .aside-box .box-title { margin: 0 0 8px; font-size: 22px; line-height: 1.3; text-transform: uppercase; letter-spacing: .012em; color: var(--accent); }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.aside-box li:last-child a { border-bottom: 0; }
.aside-box li a:hover { color: var(--accent); }
.aside-box dl { margin: 0; font-size: 15px; }
.aside-box dt { color: var(--soft); font-size: 14px; margin-top: 12px; }
.aside-box dt:first-child { margin-top: 0; }
.aside-box dd { margin: 2px 0 0; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .aside { position: static; } }

.timeline { list-style: none; padding: 0; margin: 1.5em 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline .when { font-family: var(--display); font-size: 18px; line-height: 1.4; color: var(--accent); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

.coop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.coop > div { background: var(--paper); padding: 24px 22px 26px; min-height: 140px; display: flex; align-items: flex-end; border-radius: 2px; }
.section.alt .coop > div { background: var(--white); }
.coop h4, .coop h3 { margin: 0; max-width: 28ch; font-size: 19px; line-height: 1.3; }
.coop .s3 { grid-column: span 3; } .coop .s2 { grid-column: span 2; }
.coop .accent, .section.alt .coop .accent { background: var(--band); }
@media (max-width: 860px) { .coop { grid-template-columns: 1fr 1fr; } .coop .s3, .coop .s2 { grid-column: span 2; } }
@media (max-width: 520px) { .coop { grid-template-columns: 1fr; } .coop > div { grid-column: auto !important; min-height: 0; } }

.cta-band { background: var(--accent); color: var(--white); text-align: center; }
.cta-band .wrap { display: grid; justify-items: center; gap: 22px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band .btn, .cta-band .btn-primary { background: var(--white); color: var(--accent); }
.cta-band .btn:hover { background: var(--paper); color: var(--accent-deep); }

.dated { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dated li { background: var(--white); padding: 18px 20px; border-radius: 2px; }
.section:not(.alt) .dated li { background: var(--paper); }
.dated .when { display: block; font-family: var(--display); font-size: 26px; line-height: 1.15; color: var(--accent); }
.dated .what { color: var(--soft); }
@media (max-width: 720px) { .dated { grid-template-columns: 1fr; } }

.symbol { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); padding: 48px 0; border-top: 1px solid var(--line); align-items: start; }
.symbol:first-child { border-top: 0; padding-top: 0; }
.symbol .visual { background: var(--paper); padding: 32px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; }
.symbol .visual svg { color: var(--accent); }
.symbol dl { margin: 18px 0 0; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px 20px; }
.symbol dt { font-weight: 600; }
.symbol dd { margin: 0; }
.flag-svg { width: 100%; }
audio { width: 100%; margin-top: 8px; }
@media (max-width: 760px) { .symbol { grid-template-columns: 1fr; } .symbol .visual { aspect-ratio: auto; max-width: 320px; } .symbol dl { grid-template-columns: 1fr; gap: 2px; } .symbol dd { margin-bottom: 12px; } }

/* ---------- News page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-bottom: 28px; }
.filters .search { display: grid; gap: 6px; flex: 1 1 260px; max-width: 360px; margin-right: 8px; }
.filters .search label { font-size: 14px; font-weight: 600; }
.filters input[type=search] { font: inherit; font-size: 16px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--white); color: var(--ink); }
.chip { min-height: 42px; padding: 0 16px; border-radius: 2px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font: 500 14px var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--white); border-color: var(--accent); }
.chip:active { transform: translateY(1px); }

.news-rows { border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.news-row .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.news-row .thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.news-row:hover .thumb img { opacity: .9; }
.news-row .thumb-empty { display: grid; place-items: center; }
.news-row .thumb-empty img { width: 84px; height: auto; object-fit: contain; }
.news-row .body { display: flex; flex-direction: column; }
.news-row .meta { color: var(--soft); font-size: 14px; margin-bottom: 6px; }
.news-row .meta b { font-weight: 600; color: var(--ink); }
.news-row h3 { margin: 0 0 8px; }
.news-row:hover h3 { color: var(--accent); }
.news-row p { color: var(--soft); max-width: 64ch; margin-bottom: 10px; font-size: 16px; }
.news-row .credit { font-size: 13px; color: var(--soft); margin-bottom: 10px; }
.news-row .more { font-weight: 500; font-size: 14px; color: var(--accent); margin-top: auto; }
.cat { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .03em; padding: 3px 9px; border-radius: 2px; margin-right: 8px; background: var(--paper); color: var(--ink); }
.cat-presidency { background: var(--ink); color: var(--white); }
.cat-mission { background: var(--band); color: var(--ink); }
@media (max-width: 720px) { .news-row { grid-template-columns: 1fr; gap: 14px; } .news-row .thumb { aspect-ratio: 16 / 9; } .news-row .thumb-empty { aspect-ratio: auto; height: 96px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); }
.office { border-top: 1px solid var(--line); padding: 18px 0 28px; }
.office:first-child { border-top: 0; padding-top: 0; }
.office h3 { margin-bottom: 4px; }
.office .role { color: var(--soft); font-size: 15px; margin-bottom: 12px; }
.office .row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; }
.office .row svg { width: 17px; height: 17px; margin-top: 5px; color: var(--accent); }
.form { background: var(--paper); padding: clamp(22px, 3.5vw, 40px); border-radius: 2px; }
.form h2 { color: var(--accent); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 2px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field textarea { min-height: 160px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field .help { font-size: 13px; color: var(--soft); margin: 0; }
.field .error { font-size: 14px; color: var(--error); margin: 0; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); outline: 2px solid var(--error); outline-offset: 0; }
.field.invalid .error { display: block; }
.field.invalid .help { display: none; }
.hp { position: absolute; left: -5000px; }
.consent { font-size: 14px; color: var(--soft); margin: 4px 0 18px; }
.notice { padding: 12px 16px; margin-bottom: 18px; font-size: 15px; display: none; background: var(--white); border-radius: 2px; }
.notice.ok { display: block; background: #e3f1e7; color: var(--ink); }
.notice.err { display: block; background: #f8e9e7; color: var(--error); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.video { position: relative; aspect-ratio: 16 / 9; background: var(--paper); margin: 1.6em 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Photographs that must never be cropped (the credentials photograph) */
img.full { aspect-ratio: auto !important; height: auto !important; object-fit: contain !important; }
.thumb.full-wrap { aspect-ratio: auto !important; height: auto; }
.thumb.full-wrap img { height: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); text-align: center; }
.site-footer .inner { padding: 44px var(--g) 30px; }
.f-brand { display: inline-flex; align-items: center; gap: 16px; text-align: left; }
.f-brand img { width: 56px; height: auto; }
.f-brand .n { font-family: var(--display); font-size: 21px; line-height: 1.2; }
.f-brand .s { font-family: var(--display); font-size: 15px; color: var(--accent); }
.site-footer .addr { font-size: 15px; color: var(--soft); margin: 18px 0 0; }
.site-footer .addr b { font-weight: 500; color: var(--ink); }
.site-footer .fnav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 30px; margin: 20px 0 6px; font-size: 15px; }
.site-footer .fnav a { padding: 6px 0; text-decoration: none; }
.site-footer .fnav a:hover { color: var(--accent); }
.site-footer .links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 24px; font-size: 14px; color: var(--soft); margin-bottom: 18px; }
.site-footer .links a { text-decoration: none; padding: 4px 0; }
.site-footer .links a:hover { color: var(--accent); }
.site-footer .rule { width: min(380px, 80%); height: 1px; background: var(--line); margin: 0 auto 14px; }
.site-footer .c { font-size: 13px; color: var(--soft); margin: 0; }
@media (max-width: 860px) {
  .f-brand { flex-direction: column; text-align: center; }
  .site-footer .fnav { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 4px 26px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print { .site-header, .site-footer, .menu-btn, .flag { display: none; } }

/* ---------- The Mission page: portrait-led profile ---------- */
.profile { background: var(--paper); }
.profile .wrap { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(40px, 5vw, 64px); }
.profile .crumbs { text-align: left; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.profile-grid img { width: 100%; max-width: 420px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; box-shadow: 0 18px 40px -24px rgba(27, 30, 34, .45); }
.profile h1 { margin: 0 0 12px; }
.profile .role { color: var(--soft); max-width: 44ch; margin: 0 0 22px; }
.profile blockquote { margin: 0; padding-left: 18px; border-left: 1px solid var(--accent); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; font-weight: 300; max-width: 38ch; }
@media (max-width: 860px) { .profile-grid { grid-template-columns: 1fr; } .profile-grid img { max-width: 340px; } }

.glance { background: var(--band); }
.glance dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 28px; margin: 0; padding: 22px 0; }
.glance dt { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.glance dd { margin: 2px 0 0; font-size: 15px; }
.glance a { text-decoration: underline; }
@media (max-width: 860px) { .glance dl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .glance dl { grid-template-columns: 1fr; } }

.milestones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.milestones li { background: var(--white); padding: clamp(22px, 2.6vw, 32px); border-radius: 2px; display: flex; flex-direction: column; gap: 8px; }
.milestones li.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(22px, 4vw, 48px); align-items: center; }
.milestones li.wide > div { display: flex; flex-direction: column; gap: 8px; }
.milestones .when { font-family: var(--display); font-size: 18px; color: var(--accent); margin: 0; }
.milestones h3 { margin: 0; }
.milestones p { margin: 0; color: var(--soft); }
.milestones .link-more { align-self: flex-start; margin-top: 6px; }
@media (max-width: 860px) { .milestones, .milestones li.wide { grid-template-columns: 1fr; } }



/* ---------- News feeds (official sources, refreshed by feeds.php) ---------- */
.feeds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feed { background: var(--paper); padding: 22px 24px 18px; border-radius: 2px; }
.section.alt .feed { background: var(--white); }
.feed h3 { font-size: 21px; margin: 0 0 2px; text-transform: uppercase; letter-spacing: .012em; color: var(--accent); }
.feed .src { font-size: 14px; color: var(--soft); margin: 0 0 10px; }
.feed ul { list-style: none; margin: 0; padding: 0; }
.feed li { border-top: 1px solid var(--line); }
.feed li a { display: block; padding: 12px 0; text-decoration: none; font-size: 15px; line-height: 1.5; }
.feed li a:hover .t { color: var(--accent); text-decoration: underline; }
.feed .d { display: block; font-size: 13px; color: var(--soft); margin-top: 2px; }
.feed .all { display: inline-block; margin-top: 10px; }
.feeds-note { font-size: 14px; color: var(--soft); margin: 18px 0 0; }
@media (max-width: 960px) { .feeds { grid-template-columns: 1fr; } }

/* ---------- Home: about Ethiopia, photograph beside text ---------- */
.about-eth .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-eth .media figcaption { font-size: 13px; color: var(--soft); margin-top: 10px; }
.about-eth h2 { color: var(--accent); }
.consul-band .wrap { max-width: 900px; text-align: center; }
.consul-band h2 { color: var(--accent); }
.consul-band .who { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); margin: 0 0 4px; }
.consul-band .role { color: var(--soft); margin: 0 0 18px; }
.consul-band p.txt { max-width: 62ch; margin: 0 auto 26px; }
.photo-credit { font-size: 13px; color: var(--soft); }
.photo-credit a { color: inherit; }
.notice-box { background: var(--paper); border-left: 3px solid var(--accent); padding: 16px 20px; margin: 1.6em 0; font-size: 16px; }

/* ---------- Top line: date, latest headlines, search ---------- */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); font-size: 14px; }
.topbar-in { max-width: var(--wrap); margin: 0 auto; padding: 6px var(--g); display: flex; align-items: center; gap: 20px; min-height: 44px; }
.today { color: var(--soft); white-space: nowrap; }
.latest { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.latest .lbl { font-weight: 600; color: var(--accent); white-space: nowrap; }
.latest ul { list-style: none; margin: 0; padding: 0; min-width: 0; flex: 1; }
.latest li { display: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.latest li.on { display: block; }
.latest a { text-decoration: none; }
.latest a:hover { text-decoration: underline; color: var(--accent); }
.lang-link { font-weight: 600; font-size: 14px; color: var(--accent); text-decoration: none; padding: 6px 4px; white-space: nowrap; }
.lang-link:hover { text-decoration: underline; }
.search-mini { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--white); }
.search-mini input { border: 0; background: none; font: inherit; font-size: 14px; padding: 6px 10px; width: 160px; color: var(--ink); }
.search-mini input:focus { outline: none; }
.search-mini:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.search-mini button { border: 0; background: none; padding: 6px 10px; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.search-mini svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .topbar-in { flex-wrap: wrap; gap: 6px 14px; padding-block: 8px; }
  .today { order: 1; }
  .lang-link { order: 2; margin-left: auto; }
  .search-mini { order: 2; }
  .search-mini input { width: 120px; }
  .latest { order: 3; flex-basis: 100%; }
}

.site-footer .c a { color: inherit; }

/* ---------- Search page ---------- */
.search-page label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.sp-row { display: flex; gap: 10px; }
.sp-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--white); color: var(--ink); }
.sp-row input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.search-status { color: var(--soft); margin: 22px 0 8px; }
.search-results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.search-results li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.search-results a { text-decoration: none; }
.search-results h3 { margin: 0 0 4px; font-size: 21px; }
.search-results a:hover h3 { color: var(--accent); }
.search-results p { margin: 0; color: var(--soft); font-size: 15px; }
.search-results mark { background: #fdf2a8; color: inherit; }

/* GTranslate switcher sits above the footer content */
.gt_float_switcher { font-family: var(--sans) !important; }

/* ---------- Flipbook (document pages) ---------- */
.doc-head { text-align: center; max-width: 62ch; margin: 0 auto 32px; }
.doc-head h2 { color: var(--accent); }
.doc-head p { color: var(--soft); margin: 0; }
.flipbook { max-width: 620px; margin: 0 auto; }
.fb-stage { position: relative; aspect-ratio: 1406 / 1988; perspective: 2200px; background: var(--white); box-shadow: 0 22px 44px -26px rgba(27, 30, 34, .5); touch-action: pan-y; cursor: grab; }
.fb-stage:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.fb-page { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--white); transform-origin: left center; backface-visibility: hidden;
  transition: transform .8s var(--ease), opacity .8s var(--ease), box-shadow .8s var(--ease); user-select: none; -webkit-user-drag: none; }
.fb-page.turned { transform: rotateY(-115deg); opacity: 0; pointer-events: none; box-shadow: -18px 0 30px -10px rgba(0, 0, 0, .25); }
.fb-bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; }
.fb-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 2px; background: var(--white); color: var(--ink); cursor: pointer; }
.fb-btn:hover { background: var(--ink); color: var(--white); }
.fb-btn:disabled { opacity: .35; cursor: default; background: var(--white); color: var(--ink); }
.fb-btn svg { width: 20px; height: 20px; }
.fb-count { font-size: 15px; color: var(--soft); min-width: 110px; text-align: center; }
.fb-count b { color: var(--ink); font-weight: 600; }
.fb-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .fb-page { transition: none; } }
.btn .ext { width: 14px; height: 14px; }
