/* ==========================================================================
   Knowledge Center (tasks 7631, 7774): the list, each entry page, and the content written
   in the Plus One Up editor. Loaded after css/style.css; the header, menu and
   footer keep the site's own styles. Fonts come from the site (--FontFamily).

   The site has no dir attribute on <html> (its sections handle right-to-left
   one by one), so on Arabic pages <main> here is set right-to-left as a whole.

   Editor content arrives as .dynamic__section blocks. Each may carry
   data-align (start|center|end|justify), data-size (xs…display) and
   data-weight (400…800), set per section by the client.
   ========================================================================== */

.BdKnowledgePage {
  --bd-teal: #036469;
  --bd-teal-deep: #02474b;
  --bd-aqua: #12a39e;
  --bd-ink: #12393b;
  --bd-text: #2f4f51;
  --bd-muted: #5f7778;
  --bd-line: #d6e5e3;
  --bd-paper: #f2f8f7;
  --bd-paper-2: #e6f1ef;
  --bd-r-sm: 8px;
  --bd-r-md: 12px;
  --bd-r-lg: 18px;
  --bd-gutter: clamp(16px, 5vw, 56px);
  --bd-hdr: 128px;
  --bd-ease: cubic-bezier(.2, .7, .2, 1);
  background: #fff;
}

@media (max-width: 1000px) {
  .BdKnowledgePage {
    --bd-hdr: 96px;
  }
}

/* The site hides sideways overflow on <body>, which turns it into a scroll box and stops the
   page's contents list from staying in view; clip hides the same overflow without that. */
body.BdKnowledgePage {
  overflow-x: clip;
}

html[lang="ar"] .BdKnowledgePage main {
  direction: rtl;
}

.BdKnowledgePage main {
  color: var(--bd-text);
}

.BdKnowledgePage main h1,
.BdKnowledgePage main h2,
.BdKnowledgePage main h3 {
  margin: 0;
  color: inherit;
  font-weight: 700;
  line-height: 1.3;
}

html[lang="ar"] .BdKnowledgePage main h1,
html[lang="ar"] .BdKnowledgePage main h2,
html[lang="ar"] .BdKnowledgePage main h3 {
  line-height: 1.6;
}

.BdKnowledgePage main p {
  margin: 0;
}

.BdKnowledgePage main ol,
.BdKnowledgePage main ul {
  margin: 0;
  padding: 0;
}

.BdShell {
  width: min(1200px, 100% - 2 * var(--bd-gutter));
  margin-inline: auto;
}

.BdLede {
  margin-top: 16px !important;
  max-width: 62ch;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.8;
}

html[lang="ar"] .BdLede {
  line-height: 2;
}

/* ---- buttons ---------------------------------------------------------------- */
.BdBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .25s var(--bd-ease), background-color .25s, color .25s, border-color .25s;
}

.BdBtn:hover {
  transform: translateY(-2px);
}

.BdBtn:focus-visible {
  outline: 2.5px solid #fff;
  outline-offset: 3px;
}

.BdBtn--primary {
  background: #fff;
  color: var(--bd-teal);
}

.BdBtn--ghost {
  border: 1.5px solid rgba(255, 255, 255, .6);
  color: #fff;
}

.BdBtn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
}

.BdBtn--outline {
  border: 1.5px solid rgba(3, 100, 105, .35);
  color: var(--bd-teal);
}

.BdBtn--outline:hover {
  border-color: var(--bd-teal);
}

.BdBtn--outline:focus-visible {
  outline-color: var(--bd-teal);
}

/* ---- breadcrumb ------------------------------------------------------------- */
.BdCrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  list-style: none;
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
}

.BdCrumbs li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.BdCrumbs li + li::before {
  content: "/";
  opacity: .55;
}

.BdCrumbs a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 4px;
  transition: color .2s, text-decoration-color .2s;
}

.BdCrumbs a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.BdCrumbs [aria-current] {
  color: #fff;
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- list header ------------------------------------------------------------ */
.BdHead {
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--bd-hdr) + clamp(32px, 5vw, 72px)) clamp(48px, 6vw, 88px);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(25, 182, 179, .55) 0%, rgba(25, 182, 179, 0) 60%),
    linear-gradient(140deg, var(--bd-teal-deep) 0%, var(--bd-teal) 55%, #0b8a8a 100%);
  color: #fff;
}

.BdHead h1 {
  margin-top: clamp(20px, 2.4vw, 30px) !important;
  max-width: 20ch;
  font-size: clamp(28px, 4vw, 54px);
}

.BdHead .BdLede {
  color: rgba(255, 255, 255, .88);
}

.BdHead--missing .BdBtn {
  margin-top: 28px;
}

/* ---- entry cards ------------------------------------------------------------ */
.BdSection {
  padding-block: clamp(48px, 7vw, 96px);
}

.BdEntryList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.BdEntry {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bd-line);
  border-radius: var(--bd-r-lg);
  background: #fff;
  transition: transform .35s var(--bd-ease), box-shadow .35s var(--bd-ease), border-color .35s;
}

.BdEntry:hover {
  transform: translateY(-4px);
  border-color: rgba(3, 100, 105, .3);
  box-shadow: 0 18px 40px -22px rgba(2, 71, 75, .45);
}

.BdEntry__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bd-paper-2);
}

.BdEntry__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--bd-ease);
}

.BdEntry:hover .BdEntry__media img {
  transform: scale(1.04);
}

.BdEntry__media--none {
  background:
    radial-gradient(80% 80% at 80% 10%, rgba(25, 182, 179, .35), transparent 60%),
    linear-gradient(140deg, var(--bd-teal-deep), var(--bd-teal));
}

.BdEntry__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2vw, 24px);
}

.BdEntry__title {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--bd-teal-deep) !important;
}

/* The whole card is the link. */
.BdEntry__link {
  color: inherit;
  text-decoration: none;
}

.BdEntry__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.BdEntry__link:focus-visible {
  outline: none;
}

.BdEntry:has(.BdEntry__link:focus-visible) {
  outline: 2.5px solid var(--bd-teal);
  outline-offset: 3px;
}

.BdEntry__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bd-muted);
}

.BdEntry__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bd-aqua);
}

.BdEntry__more svg {
  width: 18px;
  height: 18px;
  transition: transform .3s var(--bd-ease);
}

html[lang="ar"] .BdEntry__more svg {
  transform: scaleX(-1);
}

.BdEntry:hover .BdEntry__more svg {
  transform: translateX(4px);
}

html[lang="ar"] .BdEntry:hover .BdEntry__more svg {
  transform: scaleX(-1) translateX(4px);
}

.BdEmpty {
  font-size: 17px;
  color: var(--bd-muted);
}

/* ---- entry: one frame for the title, the lead photo and the reading column ---- */
.BdEntryPage .BdShell {
  width: min(66rem, 100% - 2 * var(--bd-gutter));
}

/* Text can be selected and copied here: the site turns selection off on every page. */
.BdKnowledgePage main,
.BdKnowledgePage main * {
  -webkit-user-select: text;
  user-select: text;
}

.BdKnowledgePage main ::selection {
  background: #cfeeea;
  color: #02343a;
}

.BdKnowledgePage .BdHero ::selection {
  background: rgba(255, 255, 255, .3);
  color: #fff;
}

.BdIcon {
  flex: none;
  width: 18px;
  height: 18px;
}

/* ---- entry hero ------------------------------------------------------------- */
/* A calm band in the site's deep teal holds the title; the site's white header sits on it.
   The entry's photograph follows as the lead image and overlaps the band's lower edge. */
.BdHero {
  position: relative;
  padding-block: calc(var(--bd-hdr) + clamp(16px, 2.6vw, 40px)) clamp(40px, 5vw, 64px);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(25, 182, 179, .24) 0%, rgba(25, 182, 179, 0) 60%),
    linear-gradient(165deg, var(--bd-teal-deep) 0%, #03565a 100%);
  color: #fff;
}

html[lang="ar"] .BdHero {
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(25, 182, 179, .24) 0%, rgba(25, 182, 179, 0) 60%),
    linear-gradient(195deg, var(--bd-teal-deep) 0%, #03565a 100%);
}

.BdHero:not(.BdHero--plain) {
  padding-block-end: clamp(112px, 13vw, 196px);
}

.BdHero__logo {
  display: block;
  margin-top: clamp(20px, 2.4vw, 28px);
  max-height: 56px;
  max-width: 180px;
  width: auto;
  padding: 10px 14px;
  border-radius: var(--bd-r-sm);
  background: rgba(255, 255, 255, .95);
  object-fit: contain;
}

.BdHero h1 {
  margin-top: clamp(18px, 2vw, 26px) !important;
  max-width: 24ch;
  font-size: clamp(29px, 3.9vw, 50px);
  line-height: 1.22 !important;
  letter-spacing: -.01em;
  text-wrap: balance;
}

html[lang="ar"] .BdHero h1 {
  line-height: 1.55 !important;
  letter-spacing: 0;
}

.BdHero .BdLede {
  max-width: 58ch;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 1.2vw, 19px);
}

/* On phones the crumbs stop at the Knowledge Center: the title is right under them. */
@media (max-width: 700px) {
  .BdHero .BdCrumbs [aria-current] {
    display: none;
  }
}

.BdMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: clamp(20px, 2.4vw, 30px) !important;
  list-style: none;
  font-size: 14px;
  color: rgba(255, 255, 255, .84);
}

.BdMeta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.BdMeta .BdIcon {
  color: #7fe3d6;
}

.BdMeta time {
  color: #fff;
  font-weight: 600;
}

/* The lead photograph: wide, rounded, half over the band. */
.BdLead {
  position: relative;
  margin-top: calc(-1 * clamp(84px, 10vw, 156px));
}

.BdLead img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: clamp(14px, 1.6vw, 22px);
  background: var(--bd-paper-2);
  box-shadow: 0 32px 64px -34px rgba(2, 40, 43, .55);
}

@media (max-width: 700px) {
  .BdLead img {
    aspect-ratio: 16 / 10;
  }
}

/* ---- entry body: a reading column, with the page's contents beside it -------- */
.BdBody {
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px);
}

.BdProse {
  min-width: 0;
  max-width: 44rem;
  font-size: 17px;
}

@media (min-width: 1100px) {
  .BdLayout.has-toc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 14.5rem;
    column-gap: clamp(40px, 5vw, 72px);
    align-items: start;
  }
}

/* Contents: beside the text on wide screens, a folded list above it elsewhere. */
.BdToc--side {
  display: none;
}

@media (min-width: 1100px) {
  .BdToc--side {
    display: block;
    position: sticky;
    top: 28px;
  }

  .BdToc--inline {
    display: none;
  }
}

.BdToc__title {
  margin-bottom: 10px !important;
  padding-inline: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bd-teal-deep);
}

.BdToc__list {
  display: grid;
  gap: 2px;
  list-style: none;
}

.BdToc--side .BdToc__list {
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.BdToc__list a {
  display: block;
  text-align: start;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bd-muted);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.BdToc__list a:hover {
  background: var(--bd-paper);
  color: var(--bd-teal-deep);
}

.BdToc__list a[aria-current="true"] {
  background: var(--bd-paper-2);
  color: var(--bd-teal-deep);
  font-weight: 600;
}

.BdToc__list a:focus-visible,
.BdToc--inline summary:focus-visible {
  outline: 2.5px solid var(--bd-teal);
  outline-offset: 2px;
}

.BdToc--inline {
  margin-bottom: 32px;
  border: 1px solid var(--bd-line);
  border-radius: 14px;
  background: var(--bd-paper);
}

.BdToc--inline summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding-inline: 18px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--bd-teal-deep);
}

.BdToc--inline summary::-webkit-details-marker {
  display: none;
}

.BdToc--inline summary .BdIcon {
  transition: transform .25s var(--bd-ease);
}

.BdToc--inline[open] summary .BdIcon {
  transform: rotate(180deg);
}

.BdToc--inline .BdToc__list {
  padding: 0 8px 12px;
}

/* ---- the editor's sections, as reading text ----------------------------------- */
.BdProse .dynamic__section + .dynamic__section {
  margin-top: 1.15em;
}

.BdProse .paragraph {
  font-size: inherit;
  line-height: 1.85;
  color: var(--bd-text);
}

html[lang="ar"] .BdProse .paragraph {
  line-height: 2.05;
}

.BdProse .is-intro .paragraph {
  font-size: 1.1em;
  color: var(--bd-ink);
}

.BdProse .paragraph a,
.BdProse .list_sec a {
  color: var(--bd-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(3, 100, 105, .45);
  text-underline-offset: .28em;
}

.BdProse .paragraph a:hover,
.BdProse .list_sec a:hover {
  text-decoration-color: currentColor;
}

.BdProse a:focus-visible {
  outline: 2.5px solid var(--bd-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Headings open a new passage: a hairline, then more room above than below. */
.BdProse .is-h2 {
  margin-top: 2.6em;
  padding-top: 2.1em;
  border-top: 1px solid var(--bd-line);
}

.BdProse .dynamic__section:first-child {
  margin-top: 0;
}

.BdProse .is-h2 + .dynamic__section,
.BdProse .is-h2 + .BdFact {
  margin-top: .85em;
}

.BdProse .stats__heading {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--bd-teal-deep);
  text-wrap: balance;
  scroll-margin-top: 24px;
}

html[lang="ar"] .BdProse .stats__heading {
  line-height: 1.65;
}

.BdProse .dynamic__section:has(> .SecondTitle) {
  margin-top: 1.9em;
}

.BdProse .stats__heading.SecondTitle {
  font-size: 19px;
  color: var(--bd-ink);
}

/* Lists: small teal dots. */
.BdProse .list_sec {
  display: grid;
  gap: .7em;
  list-style: none;
  font-size: inherit;
  line-height: 1.8;
  color: var(--bd-text);
}

html[lang="ar"] .BdProse .list_sec {
  line-height: 2;
}

.BdProse .list_sec > li {
  position: relative;
  padding-inline-start: 1.6em;
}

.BdProse .list_sec > li::before {
  content: "";
  position: absolute;
  inset-inline-start: .35em;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bd-aqua);
}

html[lang="ar"] .BdProse .list_sec:not(.BdSteps) > li::before {
  top: .82em;
}

.BdProse .list_sec b,
.BdProse .list_sec strong {
  color: var(--bd-ink);
  font-weight: 700;
}

/* Steps: numbered, joined by a thin line. */
.BdProse .BdSteps {
  gap: 0;
  counter-reset: bdstep;
}

.BdProse .BdSteps > li {
  min-height: 40px;
  padding-inline-start: 56px;
  padding-bottom: 22px;
  counter-increment: bdstep;
}

.BdProse .BdSteps > li::before {
  content: counter(bdstep);
  top: 0;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--bd-teal);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.BdProse .BdSteps > li::after {
  content: "";
  position: absolute;
  top: 42px;
  bottom: 6px;
  inset-inline-start: 17px;
  width: 2px;
  border-radius: 2px;
  background: var(--bd-line);
}

.BdProse .BdSteps > li:last-child {
  padding-bottom: 0;
}

.BdProse .BdSteps > li:last-child::after {
  display: none;
}

/* Terms: "Term: …" items as a short set of cards, the term on its own line. */
.BdProse .BdTerms {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 12px;
}

.BdProse .BdTerms > li {
  padding: 18px 20px;
  border: 1px solid var(--bd-line);
  border-radius: 14px;
  background: #fff;
}

.BdProse .BdTerms > li::before {
  display: none;
}

.BdTerm {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  color: var(--bd-teal-deep);
}

.BdTerm__colon {
  display: none;
}

/* Penalties and fines: one warm box. */
.BdProse .BdFact {
  margin-top: 1.15em;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid #ecdcc0;
  border-radius: 16px;
  background: #fbf5ea;
}

.BdFact > .BdIcon {
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  color: #a6690f;
}

.BdFact .dynamic__section + .dynamic__section {
  margin-top: .9em;
}

.BdProse .BdFact .paragraph,
.BdProse .BdFact .list_sec {
  color: var(--bd-ink);
}

.BdProse .BdFact .list_sec > li::before {
  background: #c98a2e;
}

.BdProse .BdFact .BdTerms {
  grid-template-columns: 1fr;
  gap: 0;
}

.BdProse .BdFact .BdTerms > li {
  padding: 12px 0;
  border: 0;
  border-top: 1px solid #ead5b1;
  border-radius: 0;
  background: none;
}

.BdProse .BdFact .BdTerms > li:first-child {
  padding-top: 0;
  border-top: 0;
}

.BdFact .BdTerm {
  color: #774a08;
}

/* Photographs inside the text, each with its caption. */
.BdProse .dynamic__section.DynamicCover {
  margin-block: 2.1em;
}

.BdFigure {
  margin: 0;
}

.BdFigure__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 16px;
  background: var(--bd-paper-2);
}

.BdFigure__link {
  display: block;
  border-radius: 16px;
}

.BdFigure figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--bd-muted);
}

/* Buttons: one row. */
.BdProse .BdLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.4em;
}

.BdBody .Links {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1.5px solid rgba(3, 100, 105, .35);
  border-radius: 100px;
  color: var(--bd-teal);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color .2s, background-color .2s, color .2s;
}

.BdBody .Links:hover {
  border-color: var(--bd-teal);
  background: var(--bd-paper);
}

.BdBody .Links:focus-visible {
  outline: 2.5px solid var(--bd-teal);
  outline-offset: 3px;
}

/* "How Biodiversity helps": the closing box, in the band's teal. */
.BdProse .BdCta {
  margin-top: 3em;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: 20px;
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(25, 182, 179, .34) 0%, rgba(25, 182, 179, 0) 58%),
    linear-gradient(150deg, var(--bd-teal-deep) 0%, var(--bd-teal) 75%);
  color: #fff;
  box-shadow: 0 26px 52px -30px rgba(2, 40, 43, .6);
}

html[lang="ar"] .BdProse .BdCta {
  background:
    radial-gradient(90% 140% at 0% 0%, rgba(25, 182, 179, .34) 0%, rgba(25, 182, 179, 0) 58%),
    linear-gradient(210deg, var(--bd-teal-deep) 0%, var(--bd-teal) 75%);
}

.BdProse .BdCta .is-h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.BdProse .BdCta .stats__heading {
  font-size: clamp(21px, 1.9vw, 26px);
  color: #fff;
}

.BdProse .BdCta .paragraph {
  color: rgba(255, 255, 255, .9);
}

.BdProse .BdCta ::selection {
  background: rgba(255, 255, 255, .3);
  color: #fff;
}

.BdBody .BdCta .Links {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.BdBody .BdCta .Links:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
}

.BdBody .BdCta .Links.is-lead {
  border-color: #fff;
  background: #fff;
  color: var(--bd-teal-deep);
}

.BdBody .BdCta .Links.is-lead:hover {
  background: #e3f4f1;
}

.BdBody .BdCta .Links:focus-visible {
  outline-color: #fff;
}

/* Sources: the review date, the official texts and a button for each. */
.BdProse .BdSources {
  margin-top: 2.4em;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--bd-line);
  border-radius: 16px;
  background: var(--bd-paper);
  scroll-margin-top: 24px;
}

.BdProse .BdSources__title {
  font-size: 18px;
  color: var(--bd-teal-deep);
}

.BdSources__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px !important;
  padding: 6px 13px;
  border: 1px solid var(--bd-line);
  border-radius: 100px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bd-ink);
}

.BdSources__date .BdIcon {
  width: 16px;
  height: 16px;
  color: var(--bd-teal);
}

.BdSources__text {
  margin-top: 14px !important;
  font-size: 15px;
  line-height: 1.85;
  color: var(--bd-text);
}

html[lang="ar"] .BdSources__text {
  line-height: 2;
}

.BdSources__links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
  gap: 10px;
  margin-top: 18px !important;
  list-style: none;
}

.BdSource {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 12px 14px;
  padding-inline-end: 40px;
  border: 1px solid var(--bd-line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}

.BdSource:hover {
  border-color: rgba(3, 100, 105, .45);
  box-shadow: 0 10px 22px -16px rgba(2, 40, 43, .4);
}

.BdSource:focus-visible {
  outline: 2.5px solid var(--bd-teal);
  outline-offset: 2px;
}

.BdSource__name {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--bd-teal-deep);
}

.BdSource__host {
  font-size: 12.5px;
  color: var(--bd-muted);
}

.BdSource .BdIcon {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 16px;
  height: 16px;
  color: var(--bd-aqua);
}

/* The editor's per-section style bar. */
.BdBody [data-align="center"] { text-align: center; }
.BdBody [data-align="end"] { text-align: end; }
.BdBody [data-align="justify"] { text-align: justify; }
.BdBody [data-align="start"] { text-align: start; }
.BdBody [data-align="center"] .list_sec { justify-items: center; }
.BdBody [data-align="center"] .list_sec li { padding-inline-start: 0; }
.BdBody [data-align="center"] .list_sec li::before { display: none; }

.BdBody [data-size="xs"] > * { font-size: .8em; }
.BdBody [data-size="sm"] > * { font-size: .9em; }
.BdBody [data-size="lg"] > * { font-size: 1.15em; }
.BdBody [data-size="xl"] > * { font-size: 1.3em; }
.BdBody [data-size="2xl"] > * { font-size: 1.55em; }
.BdBody [data-size="display"] > * { font-size: clamp(32px, 4vw, 52px); line-height: 1.2; }

.BdBody [data-weight="400"] > * { font-weight: 400; }
.BdBody [data-weight="500"] > * { font-weight: 500; }
.BdBody [data-weight="600"] > * { font-weight: 600; }
.BdBody [data-weight="700"] > * { font-weight: 700; }
.BdBody [data-weight="800"] > * { font-weight: 800; }

.BdBody .dynamic__section.Break {
  padding-block: clamp(12px, 2vw, 24px);
}

.BdBody .dynamic__section.Break br {
  display: none;
}

.BdBody hr.Break {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--bd-line);
}

/* Highlight message: a tinted panel. */
.BdBody .ContainerPlusMsg {
  margin-block: clamp(12px, 2vw, 24px);
  padding: clamp(20px, 2.4vw, 30px) clamp(22px, 2.6vw, 34px);
  border: 1px solid rgba(3, 100, 105, .18);
  border-radius: var(--bd-r-lg);
  background: var(--bd-paper);
}

.BdBody .ContainerPlusMsg .plus__msg {
  font-size: clamp(15.5px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.8;
  color: var(--bd-ink);
}

/* Videos */
.BdBody .VideoUploadSection video {
  display: block;
  width: 100%;
  border-radius: var(--bd-r-lg);
  background: #000;
}

.BdBody .DriveVideoWrap {
  max-width: none !important;
  border-radius: var(--bd-r-lg) !important;
}

/* Photo grid: an even sheet; each photo opens full size. */
.BdBody .grid-gallery {
  margin-block: clamp(28px, 3.6vw, 48px);
}

.BdBody .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: clamp(10px, 1.2vw, 16px);
  list-style: none;
}

@media (max-width: 600px) {
  .BdBody .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.BdBody .grid .Slide figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--bd-r-md);
  background: var(--bd-paper-2);
}

.BdBody .grid .Slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--bd-ease);
}

.BdBody .grid .Slide button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: none;
  cursor: zoom-in;
}

.BdBody .grid .Slide button:hover img {
  transform: scale(1.04);
}

.BdBody .grid .Slide button:focus-visible {
  outline: 2.5px solid var(--bd-teal);
  outline-offset: -2.5px;
}

@media (max-width: 700px) {
  .BdProse {
    font-size: 16.5px;
  }

  .BdProse .BdSteps > li {
    padding-inline-start: 50px;
  }
}

/* ---- more entries + call to action ----------------------------------------- */
.BdMore {
  background: var(--bd-paper);
}

.BdMore__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.BdMore__head h2 {
  font-size: clamp(24px, 2.6vw, 36px);
  color: var(--bd-teal-deep);
}

/* The footer's "Get in touch" card ends every page. Elsewhere it rises 140px over
   the section above it; here that would cover the last cards, as on MWAN/. */
.BdKnowledgePage #FooterBG {
  margin-top: 0;
}

/* ---- photo viewer ------------------------------------------------------------ */
.lb {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(2, 30, 32, .96);
  color: #fff;
}

.lb::backdrop {
  background: rgba(2, 30, 32, .96);
}

.lb__stage {
  position: absolute;
  inset: 64px 72px 72px;
  display: grid;
  place-items: center;
}

.lb__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--bd-r-sm);
  object-fit: contain;
}

.lb__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s;
}

.lb__btn:hover {
  background: rgba(255, 255, 255, .18);
}

.lb__btn:focus-visible {
  outline: 2.5px solid #7fe0da;
  outline-offset: 3px;
}

.lb__btn svg {
  width: 20px;
  height: 20px;
}

.lb__close { top: 12px; inset-inline-end: 16px; }
.lb__prev, .lb__next { top: 50%; translate: 0 -50%; }
.lb__prev { inset-inline-start: 14px; }
.lb__next { inset-inline-end: 14px; }

.lb[dir="rtl"] .lb__prev svg,
.lb[dir="rtl"] .lb__next svg {
  transform: scaleX(-1);
}

.lb__count {
  position: absolute;
  bottom: 22px;
  inset-inline: 0;
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
  .lb__stage {
    inset: 64px 12px 84px;
  }

  .lb__prev,
  .lb__next {
    top: auto;
    bottom: 12px;
    translate: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .BdEntry,
  .BdEntry__media img,
  .BdBtn,
  .BdBody .grid .Slide img,
  .BdToc--inline summary .BdIcon,
  .BdToc__list a,
  .BdSource,
  .BdBody .Links {
    transition: none;
  }

  .BdEntry:hover,
  .BdBtn:hover,
  .BdEntry:hover .BdEntry__media img,
  .BdBody .grid .Slide button:hover img {
    transform: none;
  }
}

@media print {
  .BdHero,
  .BdProse .BdCta {
    background: none;
    color: #000;
    box-shadow: none;
  }

  .BdHero:not(.BdHero--plain) {
    padding-block-end: 24px;
  }

  .BdLead {
    margin-top: 0;
  }

  .BdHero .BdLede,
  .BdMeta,
  .BdMeta time,
  .BdProse .BdCta .stats__heading,
  .BdProse .BdCta .paragraph {
    color: #000;
  }

  .BdToc,
  .BdMore,
  .lb {
    display: none;
  }
}

/* ---- preview of a hidden draft (preview.php, task 7779) -------------------- */
.BdPreviewBar {
  position: fixed;
  z-index: 2147483000;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  padding: 10px 18px;
  border-radius: 14px;
  background: #036469;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.BdPreviewBar span,
.BdPreviewBar strong {
  color: #fff;
}

.BdPreviewBar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fe3d6;
}

@media print {
  .BdPreviewBar {
    display: none;
  }
}
