/**
 * Pages pays membres — documents juridiques (layout cartes)
 */
.country-page .country-documents__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.country-page .country-documents__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
}

.country-page .country-documents__country {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--arinwa-green, #15803d);
}

.country-page .country-docs-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.country-page .country-docs-sidebar {
  position: sticky;
  top: 5.5rem;
  padding: 1.25rem;
}

.country-page .country-docs-sidebar__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--arinwa-green, #15803d);
  margin-bottom: 0.5rem;
}

.country-page .country-docs-search {
  position: relative;
}

.country-page .country-docs-search i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.country-page .country-docs-search .form-control {
  padding-left: 2.35rem;
  border-radius: 8px;
  border-color: var(--arinwa-border, #e5e5e5);
}

.country-page .country-docs-filters {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.country-page .country-docs-filters .btn {
  width: 100%;
  text-align: left;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--arinwa-border, #e5e5e5);
  background: #fff;
}

.country-page .country-docs-filters .btn.tab-active,
.country-page .country-docs-filters .btn-light.tab-active {
  background: var(--arinwa-red, #b91c1c) !important;
  border-color: var(--arinwa-red, #b91c1c) !important;
  color: #fff !important;
}

.country-page .country-docs-sidebar__meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--arinwa-border, #e5e5e5);
}

.country-page .country-docs-results {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
}

.country-page .country-docs-perpage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.country-page .country-docs-perpage label {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

.country-page .country-docs-perpage .form-select {
  width: 4.5rem;
}

.country-page .country-docs-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 120px;
}

.country-page .country-doc-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--arinwa-border, #e5e5e5);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.country-page .country-doc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  border-color: rgba(185, 28, 28, 0.2);
}

.country-page .country-doc-card__content {
  min-width: 0;
}

.country-page .country-doc-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.45rem;
}

.country-page .country-doc-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 0.78rem;
  font-weight: 800;
  color: #475569;
}

.country-page .country-doc-card__type {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--arinwa-red, #b91c1c);
}

.country-page .country-doc-card__type--ordonnance { background: #a16207; }
.country-page .country-doc-card__type--decret { background: #b45309; }
.country-page .country-doc-card__type--arrete { background: #c2410c; }

.country-page .country-doc-card__date {
  font-size: 0.8rem;
  color: #64748b;
}

.country-page .country-doc-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
}

.country-page .country-doc-card__desc {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

.country-page .country-doc-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
}

.country-page .country-doc-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 7.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.country-page .country-doc-card__btn--view {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.country-page .country-doc-card__btn--view:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.country-page .country-doc-card__btn--dl {
  background: var(--arinwa-green, #15803d);
  color: #fff;
}

.country-page .country-doc-card__btn--dl:hover {
  background: var(--arinwa-green-dark, #166534);
  color: #fff;
}

.country-page .country-docs-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

.country-page .country-docs-empty i {
  font-size: 2.5rem;
  color: var(--arinwa-red, #b91c1c);
  opacity: 0.65;
  display: block;
  margin-bottom: 0.75rem;
}

.country-page .country-docs-empty h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.country-page .country-docs-empty p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

.country-page .country-docs-pagination {
  margin-top: 1.25rem;
}

.country-page .country-docs-pagination .page-item.active .page-link {
  background: var(--arinwa-red, #b91c1c);
  border-color: var(--arinwa-red, #b91c1c);
}

.country-page .country-docs-pagination .page-link {
  color: var(--arinwa-red, #b91c1c);
}

/* ── Fiche pays institutionnelle ── */
.country-page .country-presentation {
  --ci-orange: #f77f00;
  --ci-green: #0b7a3e;
  --ci-ink: #17222d;
  --ci-muted: #66727f;
  --ci-line: #dfe4e8;
  padding: 2.75rem 0 2rem;
  background:
    linear-gradient(90deg, rgba(247, 127, 0, 0.035), transparent 24%),
    #f5f7f8;
}

.country-page .country-official {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  padding: 1.65rem 1.75rem;
  background: #fff;
  border: 1px solid var(--ci-line);
  border-top: 5px solid var(--ci-orange);
  box-shadow: 0 12px 30px rgba(23, 34, 45, 0.07);
}

.country-page .country-official::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 45%, rgba(11, 122, 62, 0.055));
}

.country-page .country-official__flag {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 94px;
  height: 62px;
  overflow: hidden;
  border: 1px solid #d7dce0;
  box-shadow: 0 4px 12px rgba(23, 34, 45, 0.12);
}

/* Côte d'Ivoire — bandes verticales orange / blanc / vert */
.country-page .country-official__flag--ci span:nth-child(1),
.country-page .country-official__flag:not([class*="flag--"]) span:nth-child(1) { background: var(--ci-orange); }
.country-page .country-official__flag--ci span:nth-child(2),
.country-page .country-official__flag:not([class*="flag--"]) span:nth-child(2) { background: #fff; }
.country-page .country-official__flag--ci span:nth-child(3),
.country-page .country-official__flag:not([class*="flag--"]) span:nth-child(3) { background: var(--ci-green); }

/* Bénin — bandes horizontales vert / jaune / rouge */
.country-page .country-official__flag--bj {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, 1fr);
}

.country-page .country-official__flag--bj span:nth-child(1) { background: #008751; }
.country-page .country-official__flag--bj span:nth-child(2) { background: #fcd116; }
.country-page .country-official__flag--bj span:nth-child(3) { background: #e8112d; }

/* Burkina Faso — rouge / vert + étoile jaune */
.country-page .country-official__flag--bf {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
}

.country-page .country-official__flag--bf span:nth-child(1) { background: #ef2b2d; }
.country-page .country-official__flag--bf span:nth-child(2) { background: #009e49; }
.country-page .country-official__flag--bf span:nth-child(3) { display: none; }

.country-page .country-official__flag--bf::after {
  content: "★";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fcd116;
  font-size: 1.35rem;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

/* Cabo Verde — fond bleu, bande blanc/rouge, étoiles */
.country-page .country-official__flag--cv {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  background: #003893;
}

.country-page .country-official__flag--cv span {
  display: none;
}

.country-page .country-official__flag--cv::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  height: 22%;
  background: linear-gradient(
    to bottom,
    #fff 0 28%,
    #cf2027 28% 72%,
    #fff 72% 100%
  );
}

.country-page .country-official__flag--cv::after {
  content: "★";
  position: absolute;
  left: 18%;
  top: 52%;
  transform: translate(-50%, -50%);
  color: #f7d116;
  font-size: 0.95rem;
  line-height: 1;
  text-shadow:
    10px -6px 0 #f7d116,
    16px 2px 0 #f7d116,
    10px 10px 0 #f7d116,
    0 14px 0 #f7d116,
    -10px 10px 0 #f7d116,
    -16px 2px 0 #f7d116,
    -10px -6px 0 #f7d116,
    0 -12px 0 #f7d116;
}

/* Gambie — rouge / bleu / vert séparés de blanc */
.country-page .country-official__flag--gm {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 3px;
  background: #fff;
}

.country-page .country-official__flag--gm span:nth-child(1) { background: #ce1126; }
.country-page .country-official__flag--gm span:nth-child(2) { background: #0c1c8c; }
.country-page .country-official__flag--gm span:nth-child(3) { background: #3a7728; }

/* Ghana — rouge / or / vert + étoile noire */
.country-page .country-official__flag--gh {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr;
}

.country-page .country-official__flag--gh span:nth-child(1) { background: #ce1126; }
.country-page .country-official__flag--gh span:nth-child(2) { background: #fcd116; }
.country-page .country-official__flag--gh span:nth-child(3) { background: #006b3f; }

.country-page .country-official__flag--gh::after {
  content: "★";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.2rem;
  line-height: 1;
}

/* Guinée — bandes verticales rouge / jaune / vert */
.country-page .country-official__flag--gn span:nth-child(1) { background: #ce1126; }
.country-page .country-official__flag--gn span:nth-child(2) { background: #fcd116; }
.country-page .country-official__flag--gn span:nth-child(3) { background: #009460; }

/* Guinée-Bissau — rouge vertical + jaune/vert + étoile */
.country-page .country-official__flag--gw {
  grid-template-columns: 0.35fr 0.65fr;
  grid-template-rows: 1fr 1fr;
}

.country-page .country-official__flag--gw span:nth-child(1) {
  grid-row: 1 / 3;
  background: #ce1126;
}

.country-page .country-official__flag--gw span:nth-child(2) { background: #fcd116; }
.country-page .country-official__flag--gw span:nth-child(3) { background: #009e49; }

.country-page .country-official__flag--gw::after {
  content: "★";
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 1.05rem;
  line-height: 1;
}

/* Libéria — bandes rouge/blanc + canton bleu */
.country-page .country-official__flag--lr {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  background: repeating-linear-gradient(
    to bottom,
    #bf0a30 0 9.09%,
    #fff 9.09% 18.18%
  );
}

.country-page .country-official__flag--lr span {
  display: none;
}

.country-page .country-official__flag--lr::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32%;
  height: 54.54%;
  background: #002868;
}

.country-page .country-official__flag--lr::after {
  content: "★";
  position: absolute;
  top: 18%;
  left: 10%;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
}

/* Mali — bandes verticales vert / jaune / rouge */
.country-page .country-official__flag--ml span:nth-child(1) { background: #14b53a; }
.country-page .country-official__flag--ml span:nth-child(2) { background: #fcd116; }
.country-page .country-official__flag--ml span:nth-child(3) { background: #ce1126; }

/* Mauritanie — vert, croissant/étoile, bandes rouges */
.country-page .country-official__flag--mr {
  grid-template-columns: 1fr;
  grid-template-rows: 0.22fr 0.56fr 0.22fr;
  background: #006233;
}

.country-page .country-official__flag--mr span:nth-child(1),
.country-page .country-official__flag--mr span:nth-child(3) { background: #d21034; }
.country-page .country-official__flag--mr span:nth-child(2) { background: #006233; }

.country-page .country-official__flag--mr::after {
  content: "☪";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffc400;
  font-size: 1.2rem;
  line-height: 1;
}

/* Niger — orange / blanc / vert + disque orange */
.country-page .country-official__flag--ne {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr;
}

.country-page .country-official__flag--ne span:nth-child(1) { background: #e05206; }
.country-page .country-official__flag--ne span:nth-child(2) { background: #fff; }
.country-page .country-official__flag--ne span:nth-child(3) { background: #0db02b; }

.country-page .country-official__flag--ne::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e05206;
  transform: translate(-50%, -50%);
}

/* Nigéria — vert / blanc / vert */
.country-page .country-official__flag--ng span:nth-child(1) { background: #008751; }
.country-page .country-official__flag--ng span:nth-child(2) { background: #fff; }
.country-page .country-official__flag--ng span:nth-child(3) { background: #008751; }

/* São Tomé-et-Príncipe */
.country-page .country-official__flag--st {
  grid-template-columns: 0.28fr 0.72fr;
  grid-template-rows: 1fr 1fr 1fr;
}

.country-page .country-official__flag--st span:nth-child(1) {
  grid-row: 1 / 4;
  background: #d21034;
}

.country-page .country-official__flag--st span:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / 4;
  background: linear-gradient(
    to bottom,
    #12ad2b 0 33.33%,
    #ffce00 33.33% 66.66%,
    #12ad2b 66.66% 100%
  );
}

.country-page .country-official__flag--st span:nth-child(3) { display: none; }

.country-page .country-official__flag--st::after {
  content: "★ ★";
  position: absolute;
  left: 48%;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  line-height: 1;
}

/* Sénégal — vert / jaune / rouge + étoile verte */
.country-page .country-official__flag--sn span:nth-child(1) { background: #00853f; }
.country-page .country-official__flag--sn span:nth-child(2) { background: #fdef42; }
.country-page .country-official__flag--sn span:nth-child(3) { background: #e31b23; }

.country-page .country-official__flag--sn::after {
  content: "★";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00853f;
  font-size: 1.15rem;
  line-height: 1;
}

/* Sierra Leone — vert / blanc / bleu */
.country-page .country-official__flag--sl {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr;
}

.country-page .country-official__flag--sl span:nth-child(1) { background: #1eb53a; }
.country-page .country-official__flag--sl span:nth-child(2) { background: #fff; }
.country-page .country-official__flag--sl span:nth-child(3) { background: #0072c6; }

/* Togo — bandes + canton rouge */
.country-page .country-official__flag--tg {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  background: repeating-linear-gradient(
    to bottom,
    #006a4e 0 20%,
    #ffce00 20% 40%
  );
}

.country-page .country-official__flag--tg span { display: none; }

.country-page .country-official__flag--tg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36%;
  height: 54%;
  background: #d21034;
}

.country-page .country-official__flag--tg::after {
  content: "★";
  position: absolute;
  top: 14%;
  left: 11%;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
}

.country-page .country-official__flag--generic span:nth-child(1) { background: var(--arinwa-red, #b91c1c); }
.country-page .country-official__flag--generic span:nth-child(2) { background: #fff; }
.country-page .country-official__flag--generic span:nth-child(3) { background: var(--arinwa-green, #15803d); }

.country-page .country-official__identity {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.country-page .country-official__eyebrow,
.country-page .country-panel__kicker {
  margin: 0 0 0.25rem;
  color: var(--ci-orange);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.country-page .country-presentation__title {
  margin: 0;
  color: var(--ci-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.18;
}

.country-page .country-official__description {
  max-width: 650px;
  margin: 0.45rem 0 0;
  color: var(--ci-muted);
  font-size: 0.94rem;
}

.country-page .country-official__status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  color: var(--ci-green);
  background: #f1f8f4;
  border: 1px solid #cce2d5;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.country-page .country-official__status i {
  font-size: 1rem;
}

.country-page .country-summary-nav {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  margin-bottom: 1.35rem;
  background: var(--ci-ink);
  scrollbar-width: none;
}

.country-page .country-summary-nav::-webkit-scrollbar {
  display: none;
}

.country-page .country-summary-nav a {
  display: inline-flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.79rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.country-page .country-summary-nav a:first-child {
  border-left: 4px solid var(--ci-orange);
}

.country-page .country-summary-nav a:hover,
.country-page .country-summary-nav a:focus-visible {
  color: #fff;
  background: var(--ci-green);
}

.country-page .country-presentation__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  gap: 1.35rem;
  align-items: start;
}

.country-page .country-presentation__main,
.country-page .country-presentation__aside {
  display: grid;
  gap: 1.35rem;
}

.country-page .country-panel {
  scroll-margin-top: 6rem;
  padding: 1.45rem;
  background: #fff;
  border: 1px solid var(--ci-line);
  box-shadow: 0 4px 16px rgba(23, 34, 45, 0.045);
}

.country-page .country-panel--aside {
  padding: 1.25rem;
}

.country-page .country-panel__heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ci-line);
}

.country-page .country-panel__icon {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--ci-green);
  font-size: 1.1rem;
}

.country-page .country-panel__heading h3 {
  margin: 0;
  color: var(--ci-ink);
  font-size: 1.08rem;
  font-weight: 800;
}

.country-page .country-presentation__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--ci-line);
  border-left: 1px solid var(--ci-line);
}

.country-page .country-presentation__fact {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  min-height: 92px;
  padding: 0.9rem;
  background: #fff;
  border-right: 1px solid var(--ci-line);
  border-bottom: 1px solid var(--ci-line);
}

.country-page .country-presentation__fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--ci-orange);
  background: #fff6ec;
  font-size: 0.95rem;
}

.country-page .country-presentation__fact dt {
  margin: 0 0 0.25rem;
  color: var(--ci-muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.country-page .country-presentation__fact dd {
  margin: 0;
  color: var(--ci-ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.country-page .country-presentation__lead {
  margin: 0 0 0.85rem;
  color: var(--ci-muted);
}

.country-page .country-presentation__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-page .country-presentation__list--legal {
  display: grid;
  gap: 0.6rem;
}

.country-page .country-presentation__list--legal li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  padding: 0.65rem 0.75rem;
  color: var(--ci-ink);
  background: #f7f9f8;
  border-left: 3px solid var(--ci-green);
  line-height: 1.5;
}

.country-page .country-presentation__list--legal i {
  margin-top: 0.15rem;
  color: var(--ci-green);
  font-weight: 700;
}

.country-page .country-institutions {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: institutions;
}

.country-page .country-institutions li {
  position: relative;
  min-height: 40px;
  padding: 0.65rem 0 0.65rem 2.7rem;
  color: var(--ci-ink);
  border-bottom: 1px solid #edf0f2;
  font-size: 0.88rem;
  line-height: 1.4;
  counter-increment: institutions;
}

.country-page .country-institutions li:last-child {
  border-bottom: 0;
}

.country-page .country-institutions li::before {
  content: counter(institutions, decimal-leading-zero);
  position: absolute;
  top: 0.65rem;
  left: 0;
  color: var(--ci-orange);
  font-size: 0.72rem;
  font-weight: 800;
}

.country-page .country-presentation__focals {
  display: grid;
  gap: 0;
}

.country-page .country-presentation__focal {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #edf0f2;
}

.country-page .country-presentation__focal:last-child {
  border-bottom: 0;
}

.country-page .country-presentation__focal-mark {
  display: block;
  min-height: 38px;
  background: var(--ci-green);
}

.country-page .country-presentation__focal-role {
  margin: 0 0 0.15rem;
  color: var(--ci-ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.country-page .country-presentation__focal-name {
  margin: 0;
  color: var(--ci-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.country-page .country-presentation__focal-name.is-pending {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #8a5a00;
}

.country-page .country-presentation__focal-name.is-pending::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d89a27;
}

.country-page .country-documents-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.1rem;
  color: #fff;
  background: var(--ci-green);
  border: 0;
  border-left: 5px solid var(--ci-orange);
  cursor: pointer;
  font-size: 0.86rem;
  font-family: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  transition: background 0.2s ease;
}

.country-page .country-documents-link > span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.country-page .country-documents-link:hover,
.country-page .country-documents-link:focus-visible {
  color: #fff;
  background: #086633;
}

.country-page .country-documents-link__arrow {
  transition: transform 0.2s ease;
}

.country-page .country-documents-link.is-expanded .country-documents-link__arrow {
  transform: rotate(180deg);
}

@media (max-width: 991.98px) {
  .country-page .country-docs-layout,
  .country-page .country-presentation__layout {
    grid-template-columns: 1fr;
  }

  .country-page .country-docs-sidebar {
    position: static;
  }

  .country-page .country-docs-filters {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .country-page .country-docs-filters .btn {
    width: auto;
    flex: 1 1 calc(50% - 0.4rem);
    text-align: center;
  }

  .country-page .country-doc-card {
    grid-template-columns: 1fr;
  }

  .country-page .country-doc-card__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .country-page .country-presentation {
    padding-top: 1.5rem;
  }

  .country-page .country-official {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem;
  }

  .country-page .country-official__flag {
    width: 72px;
    height: 48px;
  }

  .country-page .country-official__status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .country-page .country-summary-nav {
    justify-content: flex-start;
  }

  .country-page .country-summary-nav a {
    flex: 0 0 auto;
  }

  .country-page .country-panel,
  .country-page .country-panel--aside {
    padding: 1rem;
  }

  .country-page .country-presentation__facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479.98px) {
  .country-page .country-official {
    grid-template-columns: 1fr;
  }

  .country-page .country-official__flag {
    width: 84px;
    height: 56px;
  }

  .country-page .country-official__status {
    grid-column: auto;
  }
}
