/* Open Democracy Project — static rebuild of the 2020 WordPress theme */
:root {
  --purple: #523192;
  --teal: #27afb7;
  --yellow: #f5d73b;
  --card: #4e4b50;
  --ink: #000;
  --rule: #b3b3b3;
  --wrap: 1194px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Open Sans", Arial, sans-serif; font-size: 15px; line-height: 1.5; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3, .title { font-family: "Montserrat", Arial, sans-serif; color: var(--purple); font-weight: 700; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 38px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px; z-index: 10; }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.site-header .logo img { width: 195px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 46px; }
.site-nav a { font-family: "Open Sans", Arial, sans-serif; font-weight: 700; text-transform: uppercase; text-decoration: none; color: #3d3d3d; font-size: 17px; letter-spacing: .02em; }
.site-nav a[aria-current="page"] { color: var(--purple); }
.site-nav a.lang { color: var(--teal); }

/* Intro */
.intro { display: grid; grid-template-columns: 4fr 7fr; gap: 40px; padding: 50px 0 60px; }
.intro h1 { font-size: 26px; padding-bottom: 22px; border-bottom: 7px solid var(--yellow); align-self: start; }
.intro p { margin: 0; }

/* Initiative sections */
.initiative { display: grid; grid-template-columns: 457px 1fr; gap: 40px; padding: 60px 0; border-top: 7px solid var(--teal); align-items: stretch; }
.intro + .initiative { border-top: 0; padding-top: 0; }
.initiative .photo { min-height: 315px; }
.initiative .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.initiative .body { padding: 20px 0; }
.initiative h2, .initiative .rule { font-size: 26px; padding-bottom: 20px; border-bottom: 7px solid var(--yellow); margin-bottom: 30px; }
.initiative .brand { width: 60%; padding-bottom: 40px; }
.initiative a:has(> .brand) { display: block; }
.initiative p { margin: 0 0 18px; }
.partners { display: flex; flex-wrap: wrap; align-items: center; margin: 40px 0; }
.partners img { width: 180px; height: 100px; object-fit: contain; margin: 40px 40px 0 0; }
.more { display: inline-block; margin-top: 10px; font-weight: 700; text-transform: uppercase; text-decoration: none; color: var(--teal); }
.past-heading { font-family: "Montserrat", Arial, sans-serif; font-size: 26px; color: var(--purple); font-weight: 700; padding: 60px 0 0; border-top: 7px solid var(--teal); margin: 0; }
.past .initiative { border-top: 0; padding-top: 40px; padding-bottom: 20px; }

/* About: story */
.story { display: grid; grid-template-columns: 400px 1fr; margin: 50px 0 60px; }
.story .photo { background-size: cover; background-position: center; filter: grayscale(1); min-height: 100%; }
.story .text { background: var(--purple); color: #fff; padding: 36px 40px 40px; }
.story h1 { color: #fff; font-size: 26px; margin-bottom: 22px; }
.story a { color: #fff; }
.story .more { color: #fff; margin-top: 14px; }

.odp h2 { font-size: 26px; padding-bottom: 30px; width: 444px; max-width: 100%; border-bottom: 7px solid var(--yellow); margin-bottom: 36px; }
.odp > p { max-width: 780px; }
.pillars { border-left: 4px solid var(--teal); padding: 0 0 0 40px; max-width: 820px; font-style: italic; }
.pillars h3 { color: var(--ink); font-size: 15px; font-style: italic; margin: 0 0 12px; }
.pillars p { margin: 0 0 14px; }

/* Board */
.board { padding: 70px 0 40px; }
.board > h2 { font-family: "Open Sans", Arial, sans-serif; font-size: 20px; text-transform: uppercase; margin-bottom: 60px; }
.director { display: grid; grid-template-columns: 254px 1fr; gap: 40px; max-width: 955px; margin-bottom: 70px; }
.director .headshot { width: 254px; height: 254px; object-fit: cover; filter: grayscale(1); margin-top: 52px; }
.director .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.director h3 { font-size: 26px; }
.director .role { font-family: "Montserrat", Arial, sans-serif; font-weight: 700; color: var(--teal); font-size: 17px; margin: 6px 0 14px; }
.director p { margin: 0 0 16px; }
.social { display: inline-flex; width: 50px; height: 50px; background: var(--teal); align-items: center; justify-content: center; flex: none; }
.social svg { width: 24px; height: 24px; fill: #fff; }

/* Footer */
.site-footer { margin-top: 60px; background: var(--yellow); clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%); padding: 100px 0 40px; }
.site-footer .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--purple); color: #fff; font-weight: 700; text-transform: uppercase; text-decoration: none; padding: 10px 20px; font-size: 14px; }
.btn svg { width: 12px; height: 12px; fill: currentColor; }
.site-footer .legal { margin-left: auto; max-width: 340px; color: var(--purple); font-weight: 700; font-size: 14px; }

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .site-nav { gap: 22px; }
  .site-nav a { font-size: 15px; }
  .intro, .initiative, .story, .director { grid-template-columns: 1fr; }
  .story .photo { min-height: 260px; }
  .director .headshot { margin-top: 0; }
  .site-footer .legal { margin-left: 0; }
}
@media (max-width: 520px) {
  .site-header .wrap { flex-direction: column; gap: 12px; }
  .site-header .logo img { width: 160px; }
}
