.derasafe-language-picker {
  position: relative;
  display: inline-block;
  direction: ltr;
  font-family: inherit;
  z-index: 60;
}

/* Keep the Arabic brand name and motto visually separate in the header. */
.official-brand .header-brand-name {
  gap: 6px;
}

/* Quiz certificates: centered brand mark and coordinated double frame. */
.stage-quiz-page .result-certificate,
.en-site .en-certificate {
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #087a79, #16b8ad 48%, #0b1f3a) border-box;
  box-shadow:
    inset 0 0 0 7px #fff,
    inset 0 0 0 9px rgba(22, 184, 173, 0.3),
    0 18px 45px rgba(7, 27, 51, 0.14);
}

.stage-quiz-page .result-certificate {
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  padding: 34px 38px 30px;
  text-align: center;
}

.stage-quiz-page .result-certificate > img,
.en-site .en-certificate > img {
  display: block;
  align-self: center;
  width: 132px;
  height: 132px;
  margin: 0 auto 8px;
  padding: 10px;
  object-fit: contain;
  border: 2px solid rgba(8, 122, 121, 0.35);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 27, 51, 0.16);
}

.stage-quiz-page .certificate-copy {
  width: 100%;
  text-align: center;
}

.stage-quiz-page .certificate-date,
.stage-quiz-page .certificate-credit {
  align-items: center;
  text-align: center;
}

.stage-quiz-page .certificate-date {
  border-right: 0;
  border-top: 3px solid #16b8ad;
}

.stage-quiz-page .certificate-site {
  align-self: center;
}

.en-site .en-certificate {
  max-width: 820px;
  margin: 28px auto;
  padding: 34px 38px;
}

.en-site .en-certificate > img {
  width: 148px;
  height: 148px;
}

/* Keep the English quiz hero visually balanced with its narrower text column. */
.en-site .en-hero-image > img[alt="Children taking part in a positive digital learning activity"] {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

html[data-theme="dark"] .stage-quiz-page .result-certificate {
  color: #102b3a !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #087a79, #16b8ad 48%, #0b1f3a) border-box !important;
}

html[data-theme="dark"] .stage-quiz-page .result-certificate :is(h3, b) {
  color: #0b1f3a !important;
}

html[data-theme="dark"] .stage-quiz-page .certificate-date {
  color: #14263d !important;
  background: #f4f8f9 !important;
}

html[data-theme="dark"] .en-site .en-certificate {
  color: #102b3a !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #087a79, #16b8ad 48%, #0b1f3a) border-box !important;
}

html[data-theme="dark"] .en-site .en-certificate :is(h2, h3, b, p, small) {
  color: #102b3a !important;
}

@media (max-width: 620px) {
  .stage-quiz-page .result-certificate,
  .en-site .en-certificate {
    border-radius: 18px;
    padding: 26px 18px 22px;
  }

  .stage-quiz-page .result-certificate > img,
  .en-site .en-certificate > img {
    width: 112px;
    height: 112px;
    border-radius: 21px;
  }

}

@media (max-width: 800px) {
  .en-site .en-hero-image > img[alt="Children taking part in a positive digital learning activity"] {
    aspect-ratio: 16 / 9;
  }
}

@media print {
  .stage-quiz-page .result-certificate {
    grid-template-columns: 1fr !important;
    align-content: center;
    justify-items: center;
    gap: 7mm;
    padding: 12mm 18mm !important;
    text-align: center !important;
    border-radius: 8mm !important;
    box-shadow: inset 0 0 0 2.5mm #fff, inset 0 0 0 3.2mm rgba(22, 184, 173, 0.38) !important;
  }

  .stage-quiz-page .result-certificate > img {
    width: 38mm !important;
    height: 38mm !important;
    margin-inline: auto !important;
    border-radius: 7mm !important;
  }

  .stage-quiz-page .certificate-copy {
    text-align: center !important;
  }

  .en-site .en-certificate {
    box-sizing: border-box;
    page: certificate;
    width: 100%;
    max-width: none;
    min-height: 180mm;
    margin: 0;
    padding: 12mm 18mm;
    border-radius: 8mm;
    box-shadow: inset 0 0 0 2.5mm #fff, inset 0 0 0 3.2mm rgba(22, 184, 173, 0.38);
  }

  .en-site:has(.en-certificate) .en-header,
  .en-site:has(.en-certificate) .en-footer,
  .en-site:has(.en-certificate) .en-detail > :not(.en-certificate) {
    display: none !important;
  }

  .en-site:has(.en-certificate) .en-content,
  .en-site:has(.en-certificate) .en-detail {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}

/* Keep retired navigation markup hydration-stable while hiding it from visitors. */
.footer-group a[href*="case-studies"] {
  display: none !important;
}

/* Clarify the public contact address without changing hydrated text content. */
.en-footer-bottom a[href^="mailto:info@derasafe.com"]::before {
  content: "Contact: ";
}

/* English quiz answers: keep text readable in both themes. */
.en-site .en-quiz-option,
.en-site .en-quiz-option:disabled {
  color: #092b42 !important;
  background: #ffffff !important;
  border-color: #9bb7c4 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #092b42 !important;
}

.en-site .en-quiz-option:hover:not(:disabled),
.en-site .en-quiz-option:focus-visible {
  color: #071b33 !important;
  background: #e8f8f5 !important;
  border-color: #087a79 !important;
}

.en-site .en-quiz-option.correct {
  color: #075f5a !important;
  background: #dff7f1 !important;
}

.en-site .en-quiz-option.wrong {
  color: #7f1d1d !important;
  background: #fff1f1 !important;
}

.derasafe-language-picker > summary {
  display: grid;
  grid-template-columns: 18px auto 20px;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 0.72rem;
  border: 0;
  border-radius: 0.5rem;
  background: #b9d8f1;
  color: #071b33;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1;
}

/* Keep the full language name readable inside the top header banner. */
.site-header .derasafe-language-picker > summary,
.en-header .derasafe-language-picker > summary {
  min-width: max-content;
  white-space: nowrap;
}

/* The exported games stylesheet accidentally applied its dark-theme text
   color to this light card in every theme. Restore the intended light color. */
html:not([data-theme="dark"]) .games-not-all,
html:not([data-theme="dark"]) .games-not-all p {
  color: #173f4d;
}

/* Teal badges keep a dark foreground in dark mode so their labels do not
   wash out against the bright accent background. */
html[data-theme="dark"] .dashboard-info-icon,
html[data-theme="dark"] .saif-domain-grid article > span,
html[data-theme="dark"] .saif-info > span {
  color: #071b33 !important;
}

/* Human-readable sitemap pages. */
.sitemap-page {
  min-height: 100vh;
  color: var(--ink);
  background: #f7fbfb;
}
.sitemap-shell { max-width: 1180px; margin: 0 auto; padding: 38px 30px 64px; }
.sitemap-hero { margin: 0 0 28px; padding: 34px; border-radius: 24px; color: #fff; background: linear-gradient(135deg,#092b42,#087a79); }
.sitemap-hero small { color: #a8eee5; font-weight: 800; }
.sitemap-hero h1 { margin: 8px 0; font-size: clamp(2rem,5vw,3.6rem); }
.sitemap-hero p { max-width: 760px; margin: 0; color: #e3f3f2; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.sitemap-group { border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 22px; box-shadow: 0 12px 30px rgba(7,27,51,.06); }
.sitemap-group h2 { margin: 0 0 12px; color: var(--navy); font-size: 1.15rem; }
.sitemap-group nav { display: grid; gap: 7px; }
.sitemap-group a { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 9px; color: #234458; font-weight: 700; }
.sitemap-group a::after { content: "←"; color: var(--teal2); }
html[dir="ltr"] .sitemap-group a::after { content: "→"; }
.sitemap-group a:hover,.sitemap-group a:focus-visible { color: #064e49; background: #eaf8f6; outline: none; }
.sitemap-simple-footer { border-top: 1px solid var(--line); padding: 26px 30px; text-align: center; color: var(--muted); }
html[data-theme="dark"] .sitemap-page { color: #e5eef2; background: #071b33; }
html[data-theme="dark"] .sitemap-group { background: #0e2633; border-color: #35515e; box-shadow: none; }
html[data-theme="dark"] .sitemap-group h2 { color: #f2f7f8; }
html[data-theme="dark"] .sitemap-group a { color: #d8e8eb; }
html[data-theme="dark"] .sitemap-group a:hover,html[data-theme="dark"] .sitemap-group a:focus-visible { color: #fff; background: #173c46; }
html[data-theme="dark"] .sitemap-simple-footer { border-color: #35515e; color: #bfd0d5; }
@media (max-width: 820px) { .sitemap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sitemap-shell { padding: 24px 16px 44px; } .sitemap-hero { padding: 26px 22px; border-radius: 19px; } .sitemap-grid { grid-template-columns: 1fr; } }

.derasafe-language-picker > summary::-webkit-details-marker {
  display: none;
}

.derasafe-language-picker > summary:focus-visible {
  outline: 3px solid #087cf0;
  outline-offset: 2px;
}

.derasafe-language-picker__chevron {
  color: #087cf0;
  font-size: 1.25rem;
  font-weight: 900;
  transform: rotate(180deg);
  transition: transform 0.16s ease;
}

.derasafe-language-picker[open] .derasafe-language-picker__chevron {
  transform: rotate(0deg);
}

.derasafe-language-picker__globe {
  width: 20px;
  height: 20px;
  color: #087cf0;
}

.derasafe-language-picker__menu {
  position: absolute;
  inset-block-start: calc(100% + 0.45rem);
  inset-inline-end: 0;
  width: min(250px, calc(100vw - 2rem));
  padding: 0.55rem;
  border: 1px solid #dbe4ec;
  border-radius: 0.45rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 27, 51, 0.18);
}

.derasafe-language-picker__option {
  display: grid;
  grid-template-columns: 26px 1fr 30px;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border-radius: 0.35rem;
  color: #111827 !important;
  text-decoration: none !important;
  font-size: 0.98rem;
  font-weight: 650;
  white-space: nowrap;
}

.derasafe-language-picker__option + .derasafe-language-picker__option {
  margin-top: 0.35rem;
}

.derasafe-language-picker__option:hover,
.derasafe-language-picker__option:focus-visible {
  background: #f1f7fd;
}

.derasafe-language-picker__option[aria-current="page"] {
  background: #edf6ff;
  color: #006bea !important;
}

.derasafe-language-picker__check {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #087cf0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.derasafe-language-picker__option-label {
  text-align: right;
  unicode-bidi: plaintext;
}

.derasafe-language-picker__flag,
.helpline-inline-flag {
  display: inline-block;
  width: 28px;
  height: 19px;
  border: 1px solid rgba(7, 27, 51, 0.12);
  border-radius: 2px;
  object-fit: cover;
  vertical-align: -0.22em;
}

.helpline-country {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.helpline-flag {
  display: inline-block;
  width: 32px;
  height: 22px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 51, 0.14);
  border-radius: 3px;
  background-position: center;
  background-size: cover;
  color: transparent;
  font-size: 0;
}

.helpline-flag[aria-label="Flag of Algeria"] { background-image: url("flags/dz.svg"); }
.helpline-flag[aria-label="Flag of Egypt"] { background-image: url("flags/eg.svg"); }
.helpline-flag[aria-label="Flag of Iraq – Kurdistan Region"] { background-image: url("flags/iq.svg"); }
.helpline-flag[aria-label="Flag of Jordan"] { background-image: url("flags/jo.svg"); }
.helpline-flag[aria-label="Flag of Kuwait"] { background-image: url("flags/kw.svg"); }
.helpline-flag[aria-label="Flag of Morocco"] { background-image: url("flags/ma.svg"); }
.helpline-flag[aria-label="Flag of Palestine"] { background-image: url("flags/ps.svg"); }
.helpline-flag[aria-label="Flag of Qatar"] { background-image: url("flags/qa.svg"); }
.helpline-flag[aria-label="Flag of Saudi Arabia"] { background-image: url("flags/sa.svg"); }
.helpline-flag[aria-label="Flag of Sudan"] { background-image: url("flags/sd.svg"); }
.helpline-flag[aria-label="Flag of United Arab Emirates"] { background-image: url("flags/ae.svg"); }

.helpline-flag > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html[data-theme="dark"] .derasafe-language-picker > summary {
  background: #193f5c;
  color: #f4f8fb;
}

html[data-theme="dark"] .derasafe-language-picker__menu {
  border-color: #35515e;
  background: #0e2633;
}

html[data-theme="dark"] .derasafe-language-picker__option {
  color: #f2f7f8 !important;
}

html[data-theme="dark"] .derasafe-language-picker__option:hover,
html[data-theme="dark"] .derasafe-language-picker__option:focus-visible,
html[data-theme="dark"] .derasafe-language-picker__option[aria-current="page"] {
  background: #173c56;
}

.en-theme-toggle {
  min-width: 43px;
  padding: 0;
}

.en-theme-toggle:focus-visible {
  outline: 3px solid #087cf0;
  outline-offset: 2px;
}

/* Preserve readable header navigation after the English page switches to the
   dark palette. These rules load after the exported layout stylesheet. */
html[data-theme="dark"] .en-header .en-brand,
html[data-theme="dark"] .en-header .en-brand b,
html[data-theme="dark"] .en-header .en-primary-nav > a,
html[data-theme="dark"] .en-header .en-primary-nav > .en-nav-group > button {
  color: #f2f7f8 !important;
}

html[data-theme="dark"] .en-header .en-brand small {
  color: #bfd0d5 !important;
}

html[data-theme="dark"] .en-header .en-primary-nav > a:hover,
html[data-theme="dark"] .en-header .en-primary-nav > .en-nav-group > button:hover,
html[data-theme="dark"] .en-header .en-primary-nav > a:focus-visible,
html[data-theme="dark"] .en-header .en-primary-nav > .en-nav-group > button:focus-visible {
  color: #ffffff !important;
  background: #173c56;
}

@media (max-width: 760px) {
  .derasafe-language-picker__menu {
    inset-inline-end: auto;
    inset-inline-start: 0;
  }
}

/* Bilingual quiz-result analysis: shared logic, site-native presentation. */
.awareness-analysis {
  display: grid;
  gap: 18px;
  width: 100%;
  margin: 24px 0;
  color: #12384b;
  text-align: start;
}

.awareness-score-card,
.awareness-domains,
.awareness-insights article,
.awareness-recommendations {
  border: 1px solid #cfe3e4;
  border-radius: 18px;
  background: #f7fbfb;
  box-shadow: 0 12px 28px rgba(7, 41, 60, 0.07);
}

.awareness-score-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 18px;
  padding: 22px;
  border-color: #99d7d2;
  background: linear-gradient(135deg, #effaf8, #f8fcfc);
}

.awareness-score-card h2,
.awareness-domains h3,
.awareness-insights h3,
.awareness-recommendations h3 {
  margin: 0;
  color: #0b3148;
}

.awareness-score-card h2 {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
}

.awareness-score-card strong {
  display: block;
  margin-top: 4px;
  color: #07877f;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1;
}

.awareness-score-card > b {
  padding: 9px 14px;
  border-radius: 999px;
  background: #0b817a;
  color: #fff;
  font-size: 0.94rem;
  text-align: center;
}

.awareness-score-card > p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #536f7c;
  font-size: 0.82rem;
  line-height: 1.65;
}

.awareness-domains,
.awareness-recommendations {
  padding: 22px;
}

.awareness-domain-list {
  display: grid;
  gap: 15px;
  margin-top: 18px;
}

.awareness-domain-list article {
  display: grid;
  gap: 7px;
}

.awareness-domain-list header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.awareness-domain-list header b {
  color: #173f51;
  font-size: 0.94rem;
}

.awareness-domain-list header strong {
  flex: 0 0 auto;
  color: #087f79;
}

.awareness-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dcebea;
}

.awareness-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18b8ae, #087f79);
}

.awareness-domain-list small {
  color: #607985;
}

.awareness-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.awareness-insights article {
  padding: 20px;
}

.awareness-insights :is(ul, p) {
  margin: 12px 0 0;
  color: #405f6d;
  line-height: 1.7;
}

.awareness-insights ul {
  padding-inline-start: 20px;
}

.awareness-recommendations > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.awareness-recommendations a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid #bcdedb;
  border-radius: 13px;
  background: #fff;
  color: #0a625f;
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
}

.awareness-recommendations a:hover,
.awareness-recommendations a:focus-visible {
  border-color: #168f87;
  box-shadow: 0 0 0 3px rgba(22, 143, 135, 0.16);
}

html[data-theme="dark"] .awareness-analysis {
  color: #e8f6f7;
}

html[data-theme="dark"] :is(.awareness-score-card, .awareness-domains, .awareness-insights article, .awareness-recommendations) {
  border-color: #315965;
  background: #102f3d;
  box-shadow: none;
}

html[data-theme="dark"] .awareness-score-card {
  border-color: #29756f;
  background: linear-gradient(135deg, #123943, #102b39);
}

html[data-theme="dark"] :is(.awareness-score-card h2, .awareness-domains h3, .awareness-insights h3, .awareness-recommendations h3, .awareness-domain-list header b) {
  color: #effcfc;
}

html[data-theme="dark"] :is(.awareness-score-card > p, .awareness-domain-list small, .awareness-insights p, .awareness-insights li) {
  color: #bed3da;
}

html[data-theme="dark"] .awareness-progress {
  background: #294956;
}

html[data-theme="dark"] .awareness-recommendations a {
  border-color: #31656a;
  background: #173e49;
  color: #7ce8dc;
}

@media (max-width: 760px) {
  .awareness-score-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .awareness-score-card > b {
    justify-self: start;
  }

  .awareness-score-card > p {
    grid-column: auto;
  }

  .awareness-insights,
  .awareness-recommendations > div {
    grid-template-columns: 1fr;
  }

  .awareness-domains,
  .awareness-recommendations {
    padding: 18px;
  }

  .awareness-domain-list header {
    align-items: flex-start;
  }
}

@media print {
  .awareness-analysis {
    display: none !important;
  }
}

/* Keep the original direct, one-click language switch. */
a.language-switch,
a.en-language-switch {
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

/* Give the two-line Arabic hero title reliable breathing room on narrow screens. */
.focused-hero h1 {
  line-height: 1.02 !important;
}

.focused-hero h1 em {
  display: inline-block;
  margin-top: 0.18em;
  line-height: 1.08;
}

/* Preserve the whole media-appearance photograph instead of cropping it. */
.en-media img.media-appearance-photo {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #eef5f6;
}

.page-intro-visual.page-intro-no-visual {
  grid-template-columns: minmax(0, 1fr);
  min-height: 300px;
}

.page-intro-visual.page-intro-no-visual .page-intro-copy {
  max-width: 850px;
}

html[lang^="en"],
html[lang^="en"] body,
html[lang^="en"] .en-site,
html[lang^="en"] .en-main {
  direction: ltr !important;
}

html[lang^="en"] :where(p, li, dt, dd, blockquote, h1, h2, h3, h4, label) {
  text-align: left;
}

.kingdom-hero {
  position: relative;
  min-height: 350px;
  padding-inline-end: min(34vw, 390px) !important;
  overflow: hidden;
}

.kingdom-hero-flag {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 48px;
  width: min(28vw, 300px);
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 50px rgba(7, 27, 51, 0.24);
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.kingdom-hero-flag img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.certificate-print-frame {
  position: fixed;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  border: 0;
}

/* A lighter, readable source strip for the digital-rights cards. */
.rights-grid article footer {
  margin-inline: -23px;
  margin-bottom: -23px;
  padding: 15px 23px 18px !important;
  border-top: 1px solid #d8e8e7;
  border-radius: 0 0 17px 17px;
  background: #eef9f7 !important;
  color: #234b54 !important;
}

.rights-grid article footer span,
.rights-grid article footer small {
  color: #234b54 !important;
  opacity: 1 !important;
}

.certificate-organization-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.certificate-organization-fields label {
  display: grid;
  gap: 7px;
  color: #17394b;
  font-weight: 750;
}

.certificate-organization-fields label span {
  color: #657689;
  font-size: 0.78rem;
  font-weight: 500;
}

.certificate-organization-fields input,
.certificate-organization-fields select {
  width: 100%;
  min-height: 46px;
  padding: 9px 11px;
  border: 1px solid #c9d9df;
  border-radius: 10px;
  background: #fff;
  color: #102f42;
  font: inherit;
}

.certificate-organization {
  margin: 5px 0 12px;
  color: #254f59;
  font-size: 0.92rem;
  font-weight: 750;
}

@media (max-width: 760px) {
  .focused-hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 15vw, 3.6rem) !important;
    letter-spacing: -2px !important;
  }

  .certificate-organization-fields {
    grid-template-columns: 1fr;
  }

  .kingdom-hero {
    min-height: 0;
    padding-inline-end: 22px !important;
  }

  .kingdom-hero-flag {
    position: static;
    width: min(100%, 320px);
    margin: 26px auto 0;
    transform: none;
  }
}
.knowledge-featured .knowledge-cover-frame {
  overflow: hidden;
}
