/* ==========================================================================
   Interactive enhancements & offline replica styling for Frontiers
   ========================================================================== */

:root {
  --blue50: #003bde;
  --blue40: #0c4ded;
  --blue60: #002fca;
  --blue10: #aecbff;
  --grey80: #545454;
  --grey70: #6b6b6b;
  --grey60: #a2a2a2;
  --grey40: #d5d5d5;
  --grey30: #e6e6e6;
  --grey20: #f0f0f0;
  --grey10: #f7f7f7;
  --white: #ffffff;
  --black: #282828;
  --maincolor50: #003bde;
  --maincolor40: #0c4ded;
  --maincolor70: #0024b0;
}

html {
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

body {
  background: #ffffff !important;
  background-color: #ffffff !important;
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
  font-family: MuseoSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* Affiliations toggle */
.AffiliationList {
  border-bottom: 1px solid var(--grey40, #cccccc) !important;
  padding-bottom: 24px !important;
}

.AffiliationList--hidden .AffiliationList__item--visibility {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
}

.AffiliationList--hidden li:nth-child(2) {
  display: inline !important;
}

.AffiliationList--hidden li:nth-child(2) .AffiliationList__name {
  display: inline !important;
  margin-right: 16px !important;
}

.AffiliationList:not(.AffiliationList--hidden) .AffiliationList__item {
  display: list-item !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  width: auto !important;
}

.AffiliationList:not(.AffiliationList--hidden) .AffiliationList__item:nth-last-child(2) {
  display: inline-flex !important;
}

.AffiliationList:not(.AffiliationList--hidden) .AffiliationList__item:nth-last-child(2) .AffiliationList__name {
  display: inline !important;
  margin-right: 16px !important;
}

.AffiliationList__buttonWrapper {
  display: inline !important;
}

.AffiliationList__button {
  color: var(--maincolor50, #003bde) !important;
  cursor: pointer !important;
  display: inline !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.375rem !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
}

.AffiliationList__button:hover {
  color: var(--maincolor70, #00258c) !important;
  text-decoration: underline !important;
}

/* Reviewers expandable panel */
.ExpandablePanel:not(.ExpandablePanel--expanded) .ExpandablePanel__content {
  height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
}

.ExpandablePanel--expanded .ExpandablePanel__content {
  height: auto !important;
  opacity: 1 !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  transition: all 0.3s ease;
}

.ExpandablePanel--expanded .ExpandablePanel__arrow {
  transform: rotate(180deg);
}

.ExpandablePanel__headline {
  cursor: pointer;
}

/* Modals */
.Modal {
  display: none;
}

.Modal.Modal--show,
.Modal.Modal--isOpen {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.Modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  cursor: pointer;
  z-index: 10001;
}

.Modal__container {
  position: relative;
  z-index: 10002;
  background: #ffffff;
  border-radius: 12px;
  max-width: 580px;
  width: 90%;
  box-shadow: 0 24px 38px #2828281f, 0 9px 46px #28282814, 0 11px 15px #2828280a !important;
  overflow: hidden;
  animation: modalFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.Modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #e5e5e5;
}

.Modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
}

.Modal__close {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  color: #666;
}

.Modal__close:empty:after {
  content: "×";
  font-size: 24px;
  line-height: 24px;
}

.Modal__close:hover {
  color: #111;
}

.Modal__body {
  padding: 24px;
}

.Modal__footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: flex-end;
}

/* ============================================================
   Subscribe Anonymous User ("Notify Me on Publication") 1:1 Replica
   ============================================================ */
.Modal--subscribeAnonymusUser .Modal__container {
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  padding: 32px 32px 24px 32px;
  width: 891px;
  max-width: calc(100vw - 32px);
  height: 435px;
  box-sizing: border-box;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 38px #2828281f, 0 9px 46px #28282814, 0 11px 15px #2828280a !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.Modal--subscribeAnonymusUser .Modal__header {
  border-bottom: none;
  padding: 0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.Modal--subscribeAnonymusUser .Modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
  margin: 0;
}

.Modal--subscribeAnonymusUser .Modal__close {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  color: #545454;
  transition: color 0.15s;
}

.Modal--subscribeAnonymusUser .Modal__close:hover {
  color: #111111;
}

.Modal--subscribeAnonymusUser .Modal__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.Modal--subscribeAnonymusUser .Modal__close:empty:after {
  display: none !important;
}

.Modal--subscribeAnonymusUser .Modal__body {
  padding: 0;
}

.Modal--subscribeAnonymusUser .NotifyMeModal__prompt {
  font-size: 0.875rem;
  color: #282828;
  font-weight: 300;
  line-height: 1.4;
  margin: 0 0 10px 0;
}

.Modal--subscribeAnonymusUser .NotifyMeModal__inputWrapper {
  position: relative;
  width: 100%;
}

.Modal--subscribeAnonymusUser .NotifyMeModal__input {
  width: 100%;
  height: 44px;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  padding: 0 16px;
  font-size: 0.875rem;
  font-family: inherit;
  color: #111111;
  background: #ffffff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.Modal--subscribeAnonymusUser .NotifyMeModal__input::placeholder {
  color: #757575;
  font-weight: 300;
}

.Modal--subscribeAnonymusUser .NotifyMeModal__input:focus {
  border-color: #003BDE;
  box-shadow: 0 0 0 1px #003BDE;
}

.Modal--subscribeAnonymusUser .NotifyMeModal__inputError {
  font-size: 0.8125rem;
  color: #d93025;
  margin-top: 4px;
  font-weight: 400;
}

/* reCAPTCHA Widget */
.RecaptchaWidget {
  width: 302px;
  height: 76px;
  background-color: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  margin: 16px 0 16px 0;
  box-sizing: border-box;
  user-select: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.RecaptchaWidget.recaptcha-error {
  border-color: #d93025;
  animation: recaptchaShake 0.4s ease-in-out;
}

@keyframes recaptchaShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.RecaptchaWidget__left {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.RecaptchaWidget__checkbox {
  width: 27px;
  height: 27px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  position: relative;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.RecaptchaWidget__left:hover .RecaptchaWidget__checkbox {
  border-color: #a6a6a6;
}

.RecaptchaWidget__check {
  display: none;
  align-items: center;
  justify-content: center;
}

.RecaptchaWidget--checked .RecaptchaWidget__check {
  display: flex;
}

.RecaptchaWidget--checked .RecaptchaWidget__checkbox {
  border-color: #009688;
  background: #ffffff;
}

.RecaptchaWidget__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid #c1c1c1;
  border-top-color: #1a73e8;
  border-radius: 50%;
  animation: recaptchaSpinner 0.7s linear infinite;
}

.RecaptchaWidget--spinning .RecaptchaWidget__spinner {
  display: block;
}

.RecaptchaWidget--spinning .RecaptchaWidget__check {
  display: none;
}

@keyframes recaptchaSpinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.RecaptchaWidget__label {
  font-family: Roboto, helvetica, arial, sans-serif;
  font-size: 14px;
  color: #000000;
  font-weight: 400;
  line-height: 1.2;
}

.RecaptchaWidget__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 60px;
}

.RecaptchaWidget__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.RecaptchaWidget__brand {
  font-family: Roboto, helvetica, arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #555555;
  margin-top: 2px;
  line-height: 1;
}

.RecaptchaWidget__links {
  font-family: Roboto, helvetica, arial, sans-serif;
  font-size: 8px;
  color: #555555;
  line-height: 1.2;
  margin-top: 2px;
}

.RecaptchaWidget__links a {
  color: #555555;
  text-decoration: none;
}

.RecaptchaWidget__links a:hover {
  text-decoration: underline;
}

/* Links below reCAPTCHA */
.Modal--subscribeAnonymusUser .SubscribeAnonymusUser__links {
  margin-top: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #282828;
  font-weight: 300;
}

.Modal--subscribeAnonymusUser .SubscribeAnonymusUser__links p {
  margin: 0 0 4px 0;
}

.Modal--subscribeAnonymusUser .SubscribeAnonymusUser__links a {
  color: #003BDE;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}

.Modal--subscribeAnonymusUser .SubscribeAnonymusUser__links a:hover {
  text-decoration: underline;
}

/* Modal Footer & Submit Button */
.Modal--subscribeAnonymusUser .Modal__footer {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0;
  border-top: none;
  margin-top: 0;
}

.Modal--subscribeAnonymusUser .NotifyMeModal__submit {
  background-color: #003BDE;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  width: 123px;
  height: 39px;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s cubic-bezier(0.37, 0.74, 0.15, 1);
}

.Modal--subscribeAnonymusUser .NotifyMeModal__submit:hover {
  background-color: #0C4DED;
}

.Modal--subscribeAnonymusUser .NotifyMeModal__submit:active {
  background-color: #002FCA;
}

.Modal--subscribeAnonymusUser .NotifyMeModal__submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success Toast Notification */
.FrontiersSnackbar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #282828;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 10005;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
}

.FrontiersSnackbar--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.FrontiersSnackbar__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #009688;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* WeChat Share Modal */
.IDShare__modal .IDShare__modal__message {
  text-align: center;
  padding: 8px 0;
}

.IDShare__modal .IDShare__modal__message p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 12px;
}

/* ArticleMetrics Card Layout (1-to-1 Live Replica) */
.ArticleDetailsV4__main .ArticleMetrics {
  display: none !important;
}

/* Base / Desktop (when in asideRight on top right): 2-row layout matching reference site */
.ArticleMetrics,
.ArticleDetailsV4__asideRight .ArticleMetrics,
.ArticleDetailsV4__hiddenDevices .ArticleMetrics {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  border: 1px solid #d5d5d5 !important;
  border-radius: 16px !important;
  padding: 16px !important;
  background: #ffffff !important;
  margin: 0 0 24px 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  height: auto !important;
}

.ArticleMetrics__title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 22px !important;
  height: 22px !important;
  color: #282828 !important;
  flex: 1 1 auto !important;
  white-space: nowrap !important;
  order: 0 !important;
}

.ArticleMetrics__title svg {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ArticleMetrics__link {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 22px !important;
  height: 22px !important;
  color: #003BDE !important;
  text-decoration: none !important;
  cursor: pointer !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  order: 0 !important;
  transition: color 0.15s ease !important;
}

.ArticleMetrics__link:hover {
  color: #002ba3 !important;
}

.MetricsTotals {
  display: flex !important;
  width: 100% !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 59px !important;
  order: 1 !important;
}

.MetricsTotals__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  flex: 1 1 0% !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 59px !important;
  white-space: nowrap !important;
}

.MetricsTotals__number {
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 33px !important;
  color: #000000 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.MetricsTotals__label {
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 22px !important;
  color: #282828 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Single-row horizontal alignment ONLY triggers when in main column at width <= 1441px */
@media only screen and (max-width: 1441px) {
  .ArticleDetailsV4__main .ArticleMetrics {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px !important;
    margin-bottom: 48px !important;
    border: 1px solid #d5d5d5 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    height: 56px !important;
    box-sizing: border-box !important;
    gap: 16px !important;
  }
  .ArticleDetailsV4__main .ArticleMetrics__title {
    flex: 0 0 auto !important;
    order: 0 !important;
  }
  .ArticleDetailsV4__main .ArticleMetrics__link {
    order: 1 !important;
    flex: 0 0 auto !important;
  }
  .ArticleDetailsV4__main .MetricsTotals {
    flex: 0 1 auto !important;
    order: 0 !important;
    width: auto !important;
    height: auto !important;
    overflow: hidden !important;
  }
  .ArticleDetailsV4__main .MetricsTotals__item {
    flex-direction: row !important;
    align-items: center !important;
    flex: 0 1 auto !important;
    gap: 6px !important;
    height: auto !important;
    white-space: nowrap !important;
  }
  .ArticleDetailsV4__main .MetricsTotals__number {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 22px !important;
    color: #000000 !important;
  }
  .ArticleDetailsV4__main .MetricsTotals__label {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    color: #282828 !important;
    white-space: nowrap !important;
  }
}

@media only screen and (max-width: 563px) {
  .ArticleDetailsV4__main .ArticleMetrics {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: normal !important;
    padding: 16px !important;
    margin-bottom: 48px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 114px !important;
    gap: 16px !important;
    border: 1px solid var(--grey40) !important;
    border-radius: 16px !important;
  }
  .ArticleDetailsV4__main .ArticleMetrics__title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
    font-size: 0.875rem !important; /* 14px */
    font-weight: 700 !important;
    line-height: 1.25rem !important; /* 20px */
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 0 !important;
    white-space: nowrap !important;
  }
  .ArticleDetailsV4__main .ArticleMetrics__link {
    display: block !important;
    order: 0 !important;
    font-size: 0.875rem !important; /* 14px */
    font-weight: 700 !important;
    line-height: 1.25rem !important; /* 20px */
    height: 20px !important;
    color: #003bde !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
  .ArticleDetailsV4__main .MetricsTotals {
    display: flex !important;
    order: 1 !important;
    width: 100% !important;
    height: 44px !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ArticleDetailsV4__main .MetricsTotals__item {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ArticleDetailsV4__main .MetricsTotals__number {
    font-size: 0.875rem !important; /* 14px */
    font-weight: 700 !important;
    line-height: 1.25rem !important; /* 20px */
    margin: 0 !important;
    padding: 0 !important;
    height: 20px !important;
  }
  .ArticleDetailsV4__main .MetricsTotals__label {
    font-size: 0.875rem !important; /* 14px */
    font-weight: 300 !important;
    line-height: 1.25rem !important; /* 20px */
    margin: 0 !important;
    padding: 0 !important;
    height: 20px !important;
  }
}

/* InfoDrawer Backdrop Overlay */
.InfoDrawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 34;
}

.InfoDrawer__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 40, 40, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 34;
  border: none;
  cursor: pointer;
}

.InfoDrawer.InfoDrawer--open .InfoDrawer__overlay {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
  z-index: 37 !important;
}

.InfoDrawer {
  opacity: 1 !important;
}

.InfoDrawer.InfoDrawer--open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Responsive SidePanel Width */
:root {
  --sidepanel-width: min(960px, 50vw);
}

@media (min-width: 1440px) {
  :root {
    --sidepanel-width: min(960px, 50vw);
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  :root {
    --sidepanel-width: min(780px, 52vw);
  }
}

@media (min-width: 1025px) and (max-width: 1279px) {
  :root {
    --sidepanel-width: min(720px, calc(100vw - 40px));
  }
}

.SidePanelID__section:last-of-type {
  min-height: calc(100vh - 128px) !important;
}
@media (min-width: 1025px) {
  .SidePanelID {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: var(--sidepanel-width) !important;
    max-width: 100vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    border-left: 1px solid var(--grey40) !important;
    box-shadow: none !important;
    z-index: 38 !important;
    transform: translateX(calc(100% + 120px)) !important;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.35s !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    visibility: hidden !important;
    pointer-events: none !important;
    padding-top: 48px !important;
    box-sizing: border-box !important;
  }

  .SidePanelID__body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .SidePanelID__bodyWrapper {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .SidePanelID__wrapper {
    padding: 0 40px 36px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .SidePanelID__content {
    width: 100% !important;
  }

  @media (max-width: 1279px) {
    .SidePanelID__wrapper {
      padding: 0 24px 24px !important;
    }
  }

  .SidePanelID.SidePanelID--open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: all !important;
  }

  .SidePanelID__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 40;
    cursor: pointer;
    display: block !important;
  }

  .SidePanelID__headerMobile {
    display: none !important;
  }

  /* InfoDrawer & Overlay on Desktop */
  .InfoDrawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: 36 !important;
  }

  .InfoDrawer__overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(40, 40, 40, 0.6) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s cubic-bezier(0.37, 0.74, 0.15, 1), visibility 0.3s !important;
    z-index: 37 !important;
  }

  .InfoDrawer.InfoDrawer--open .InfoDrawer__overlay {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
  }

  .SidePanelID {
    overflow: visible !important;
    z-index: 38 !important;
  }

  /* Desktop Toolbar */
  .Toolbar {
    display: block !important;
    position: fixed !important;
    top: var(--toolbar-top, 144px) !important;
    width: 96px !important;
    z-index: 38 !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(calc(100% + 120px)) !important;
    transition: opacity 0.25s cubic-bezier(0.37, 0.74, 0.15, 1),
                visibility 0.25s cubic-bezier(0.37, 0.74, 0.15, 1),
                transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                left 0.3s cubic-bezier(0.25, 1, 0.5, 1),
                right 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
  }

  .Toolbar.Toolbar--invisible {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(calc(100% + 120px)) !important;
  }

  /* 1. Floating Toolbar (when scrolled down past announcement card, drawer closed) */
  .Toolbar.Toolbar--floating {
    top: var(--toolbar-top, 144px) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    z-index: 36 !important;
    transform: none !important;
    right: auto !important;
  }

  .Toolbar.Toolbar--floating .Toolbar__list {
    background: #ffffff !important;
    border: 1px solid var(--grey40) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    padding: 16px 8px !important;
    width: 96px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    position: relative !important;
  }

  .Toolbar.Toolbar--floating .Toolbar__list:after {
    display: none !important;
  }

  /* 2. Docked Toolbar (when drawer is open or attached to SidePanelID) */
  .SidePanelID > .Toolbar,
  .Toolbar.Toolbar--docked,
  .InfoDrawer.InfoDrawer--open .Toolbar {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    z-index: 40 !important;
    transform: none !important;
  }

  .SidePanelID > .Toolbar {
    position: absolute !important;
    right: 100% !important;
    left: auto !important;
    top: 96px !important;
    width: 96px !important;
  }

  .InfoDrawer.InfoDrawer--open .Toolbar:not(.SidePanelID > .Toolbar),
  .Toolbar.Toolbar--docked:not(.SidePanelID > .Toolbar) {
    position: fixed !important;
    top: 96px !important;
    left: auto !important;
    right: var(--sidepanel-width) !important;
    width: 96px !important;
  }

  .SidePanelID > .Toolbar .Toolbar__list,
  .Toolbar.Toolbar--docked .Toolbar__list,
  .InfoDrawer.InfoDrawer--open .Toolbar .Toolbar__list {
    background: #ffffff !important;
    border: 1px solid var(--grey40) !important;
    border-right: none !important;
    border-radius: 16px 0 0 16px !important;
    box-shadow: none !important;
    padding: 16px 8px !important;
    width: 96px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    position: relative !important;
  }

  /* Seamless connection seam with SidePanelID */
  .SidePanelID > .Toolbar .Toolbar__list:after,
  .Toolbar.Toolbar--docked .Toolbar__list:after,
  .InfoDrawer.InfoDrawer--open .Toolbar .Toolbar__list:after {
    background: #ffffff !important;
    content: "" !important;
    height: 100% !important;
    opacity: 1 !important;
    position: absolute !important;
    right: -2px !important;
    top: 0 !important;
    width: 3px !important;
    display: block !important;
    z-index: 10 !important;
  }

  /* Only show Share and Metrics on the desktop toolbar */
  .Toolbar .ToolbarItem[tab="outline"],
  .Toolbar .ToolbarItem--more,
  .ToolbarItem--more {
    display: none !important;
  }

  .Toolbar .ToolbarItem:not([tab="outline"]):not(.ToolbarItem--more) {
    min-height: 68px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .Toolbar .ToolbarItem__action {
    width: 100% !important;
    height: 68px !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #545454 !important;
    position: relative !important;
    padding: 8px 4px !important;
    box-sizing: border-box !important;
    transition: background-color 0.2s, color 0.2s !important;
    cursor: pointer !important;
  }

  .SidePanelID > .Toolbar .ToolbarItem__action,
  .Toolbar.Toolbar--docked .ToolbarItem__action,
  .InfoDrawer.InfoDrawer--open .Toolbar .ToolbarItem__action {
    width: 80px !important;
    height: 80px !important;
    border-radius: 8px 0 0 8px !important;
  }

  .Toolbar .ToolbarItem__action svg {
    width: 24px !important;
    height: 24px !important;
    fill: #545454 !important;
    margin-bottom: 4px !important;
    flex-shrink: 0 !important;
    transition: fill 0.2s !important;
  }

  .Toolbar .ToolbarItem__action:hover {
    background-color: #28282814 !important;
    color: #282828 !important;
  }

  .Toolbar .ToolbarItem__action:hover svg {
    fill: #282828 !important;
  }

  .Toolbar .ToolbarItem__text {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: inherit !important;
  }

  /* Active Tab when Docked: Pure white background, #282828 icon and text, blue right accent bar matching reference */
  .SidePanelID > .Toolbar .ToolbarItem__action--active,
  .Toolbar.Toolbar--docked .ToolbarItem__action--active,
  .InfoDrawer.InfoDrawer--open .Toolbar .ToolbarItem__action--active {
    background-color: #ffffff !important;
    color: #282828 !important;
    font-weight: 500 !important;
    pointer-events: none !important;
    border-radius: 8px 0 0 8px !important;
  }

  .SidePanelID > .Toolbar .ToolbarItem__action--active svg,
  .Toolbar.Toolbar--docked .ToolbarItem__action--active svg,
  .InfoDrawer.InfoDrawer--open .Toolbar .ToolbarItem__action--active svg {
    fill: #282828 !important;
  }

  .SidePanelID > .Toolbar .ToolbarItem__action--active .ToolbarItem__text,
  .Toolbar.Toolbar--docked .ToolbarItem__action--active .ToolbarItem__text,
  .InfoDrawer.InfoDrawer--open .Toolbar .ToolbarItem__action--active .ToolbarItem__text {
    color: #282828 !important;
    font-weight: 500 !important;
  }

  .SidePanelID > .Toolbar .ToolbarItem__action--active::after,
  .Toolbar.Toolbar--docked .ToolbarItem__action--active::after,
  .InfoDrawer.InfoDrawer--open .Toolbar .ToolbarItem__action--active::after {
    content: "" !important;
    position: absolute !important;
    right: -8px !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background-color: #003BDE !important;
    border-radius: 0 !important;
    display: block !important;
    height: 100% !important;
    z-index: 20 !important;
  }

  /* Scroll To Top Button on Desktop */
  .ScrollToTop {
    position: fixed !important;
    bottom: calc(-100% - 16px) !important;
    right: 40px !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 56px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 10px #2828281f, 0 3px 14px #28282814, 0 5px 5px #2828280a !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: bottom 0.42s cubic-bezier(0.37, 0.74, 0.15, 1) !important;
    z-index: 11 !important;
    border: none !important;
  }

  .ScrollToTop.ScrollToTop--isVisible {
    bottom: 40px !important;
  }
}

/* SidePanelID Mobile & Tablet */
@media (max-width: 1024px) {
  .SidePanelID {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    height: 85vh !important;
    max-height: 85vh !important;
    background: #ffffff !important;
    border-radius: 16px 16px 0 0 !important;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15) !important;
    z-index: 38 !important;
    transform: translateY(100%) !important;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.35s !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    visibility: hidden;
    pointer-events: none;
    padding: 0 16px 24px !important;
  }

  .SidePanelID.SidePanelID--open {
    transform: translateY(0) !important;
    visibility: visible !important;
    pointer-events: all !important;
  }

  .SidePanelID .Toolbar {
    display: none !important;
  }

  .SidePanelID__headerMobile {
    display: flex !important;
    justify-content: flex-end;
    padding: 16px 0 8px;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 40;
  }

  .SidePanelID__close {
    display: none !important;
  }

  /* Mobile Toolbar fixed bottom bar */
  .Toolbar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    height: calc(var(--toolbar-height-devices) + 24px) !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 36 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin: 0 !important;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .InfoDrawer.InfoDrawer--open .Toolbar {
    transform: translateY(120px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .Toolbar__list {
    pointer-events: all !important;
    background: #ffffff !important;
    border: 1px solid var(--grey40) !important;
    border-radius: 16px !important;
    box-shadow: 0 1px 2px #2828281f, 0 2px 1px #28282814, 0 1px 3px #2828280a !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    height: 72px !important;
    margin-bottom: 24px !important;
    padding: 6px 16px !important;
    width: auto !important;
    max-width: calc(100% - 16px) !important;
    min-width: 304px !important;
    align-items: normal !important;
    box-sizing: border-box !important;
  }

  .ToolbarItem {
    min-height: auto !important;
    height: 60px !important;
    min-width: 80px !important;
    width: auto !important;
    display: block !important;
  }

  .ToolbarItem__action {
    width: 80px !important;
    height: 58px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
  }

  .ToolbarItem__action svg {
    margin: 8px !important;
    width: 24px !important;
    height: 24px !important;
  }

  .ToolbarItem__text {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    line-height: 1.25rem !important;
    margin-bottom: -2px !important;
  }

  .ScrollToTop--isVisible {
    bottom: 96px !important;
  }
}

@media only screen and (max-width: 768px) {
  .Toolbar__list {
    gap: 8px !important;
  }
}

@media only screen and (max-width: 563px) {
  .Toolbar {
    height: calc(var(--toolbar-height-devices) + 16px) !important;
  }

  .Toolbar__list {
    justify-content: space-between !important;
    margin-bottom: 16px !important;
    width: calc(100% - 16px) !important;
  }
}

/* Toolbar Items */
.ToolbarItem {
  cursor: pointer;
}

@media only screen and (min-width: 1025px) {
  .ToolbarItem__action {
    pointer-events: all !important;
    cursor: pointer;
    border-radius: 8px 0 0 8px !important;
    width: 80px !important;
    height: 80px !important;
    padding: 8px 0 !important;
    color: #545454 !important;
    background: transparent !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .ToolbarItem__action svg {
    fill: #545454 !important;
    width: 24px !important;
    height: 24px !important;
    transition: fill 0.2s ease;
  }

  .ToolbarItem__action:hover {
    background: rgba(40, 40, 40, 0.06) !important;
    color: #282828 !important;
  }

  .ToolbarItem__action:hover svg {
    fill: #282828 !important;
  }

  .ToolbarItem__action--active {
    background-color: #ffffff !important;
    color: #282828 !important;
    border-radius: 8px 0 0 8px !important;
    pointer-events: none !important;
    position: relative !important;
  }

  .ToolbarItem__action--active svg {
    fill: #282828 !important;
  }

  .ToolbarItem__action--active:after {
    content: "" !important;
    position: absolute !important;
    right: -8px !important;
    top: 0 !important;
    width: 4px !important;
    height: 100% !important;
    background-color: #003BDE !important;
    border-radius: 16px !important;
    display: block !important;
  }
}

/* Metrics Tabs & Panels */
.Tabs__scrollWrapper {
  overflow-x: auto !important;
  scrollbar-width: none !important;
  width: 100% !important;
}

.Tabs__scrollWrapper::-webkit-scrollbar {
  display: none !important;
}

.SlidingPanel__scroll {
  clip-path: none !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  width: 100% !important;
}

.SlidingPanel__scroll::-webkit-scrollbar {
  display: none !important;
}

.Tabs__tablist {
  display: flex !important;
  flex-flow: row nowrap !important;
  column-gap: 1.5rem !important;
  white-space: nowrap !important;
  align-items: center !important;
  min-width: max-content !important;
  position: relative !important;
}

.Tabs__tablist--addDivider:before {
  border-bottom: 0.0625rem solid #d5d5d5 !important;
  bottom: 0 !important;
  content: "" !important;
  left: 0.125rem !important;
  position: absolute !important;
  right: 0.125rem !important;
  z-index: 0 !important;
}

.Tabs__slidingPanel:after {
  display: none !important;
}

.Tabs__tab {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 0.125rem solid transparent !important;
  transition: border-bottom-color 0.2s ease, color 0.2s ease;
  padding: 0 8px 8px 8px !important;
  height: 2.5rem !important;
}

.Tabs__title {
  color: #6b6b6b !important;
  font-weight: 300 !important;
}

.Tabs__label {
  color: #6b6b6b !important;
  font-weight: 300 !important;
}

.Tabs__tab--active {
  border-bottom: 0.125rem solid #282828 !important;
}

.Tabs__tab--active .Tabs__title,
.Tabs__tab--active .Tabs__label {
  color: #282828 !important;
  font-weight: 500 !important;
}

.highcharts-container,
.highcharts-root,
.MetricsTotalTimeLineChart {
  width: 100% !important;
  max-width: 100% !important;
}

.metrics-tab-panel {
  padding-top: 16px;
  animation: tabFadeIn 0.2s ease-in;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Outline Navigation inside Drawer */
#outline-content .Outline__nav {
  padding: 16px 0;
}

#outline-content .Outline__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#outline-content .Outline__item {
  border-radius: 8px;
  transition: background-color 0.2s;
}

#outline-content .Outline__link {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: var(--grey80);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}

#outline-content .Outline__link:hover {
  background-color: var(--grey10);
  color: var(--black);
}

#outline-content .Outline__item--active .Outline__link,
#outline-content .Outline__link--active {
  background-color: var(--blue10);
  color: var(--blue50) !important;
  font-weight: 700;
}

/* Sticky Ibar Header collapsing on scroll */
.Ibar__main {
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.Ibar__journal--main {
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.Ibar__journal--mix {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 56px !important;
  background: #f7f7f7 !important;
  box-shadow: 0 1px 2px rgba(40, 40, 40, 0.12), 0 2px 1px rgba(40, 40, 40, 0.08), 0 1px 3px rgba(40, 40, 40, 0.04) !important;
  z-index: 34 !important;
  transform: translateY(-110%) !important;
  visibility: hidden !important;
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.28s ease !important;
}

.Ibar.Ibar--scrolled .Ibar__main {
  transform: translateY(-68px) !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.Ibar.Ibar--scrolled .Ibar__journal--main {
  transform: translateY(-124px) !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.Ibar.Ibar--scrolled .Ibar__journal--mix {
  transform: translateY(0) !important;
  visibility: visible !important;
}

.Ibar.Ibar--sticky {
  box-shadow: 0 4px 5px #2828281f, 0 1px 10px #28282814, 0 2px 4px #2828280a !important;
}

/* Sticking Outline Card aligned horizontally with Floating Toolbar */
.ArticleDetailsV4__sticky {
  position: sticky !important;
  top: 96px !important;
  z-index: 30 !important;
}

#outline-desktop-wrapper .Outline {
  border: 1px solid #d5d5d5 !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 16px 24px !important;
  width: 100% !important;
}

#outline-desktop-wrapper .Outline__item {
  position: relative !important;
}

#outline-desktop-wrapper .Outline__activeBg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #ffffff !important;
  border-radius: 0 4px 4px 0 !important;
  opacity: 1 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

#outline-desktop-wrapper .Outline__activeBg::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -4px !important;
  width: 4px !important;
  height: 100% !important;
  background: var(--maincolor50, #003BDE) !important;
  border-radius: 16px !important;
}

#outline-desktop-wrapper .Outline__link {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: center !important;
  padding: 8px !important;
  text-decoration: none !important;
}

#outline-desktop-wrapper .Outline__link__text {
  color: rgb(40, 40, 40) !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 22px !important;
  margin-right: 19px !important;
}

/* ImpactMap & MetricsDemographics Styling */
.ImpactMap {
  height: 400px !important;
  width: 100% !important;
  min-height: 400px !important;
  max-height: 400px !important;
  position: relative !important;
  overflow: hidden !important;
  margin-bottom: 32px !important;
}

.ImpactMap .mapdiv {
  min-height: 400px !important;
}

.MetricsDemographics {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.MetricsDemographics__header {
  color: #282828 !important;
  text-align: left !important;
  font-size: 1rem !important;
  line-height: 1.375rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

.MetricsDemographics .MetricsTop {
  width: calc(50% - 8px) !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: flex-start !important;
  gap: 16px !important;
  min-width: 50% !important;
  margin-top: 0 !important;
}

.MetricsTop__header {
  font-size: .875rem !important;
  line-height: 1.25rem !important;
  font-weight: 500 !important;
  color: #282828 !important;
  margin: 0 !important;
}

.MetricsTop__topcountry {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  align-self: stretch !important;
  min-width: 100% !important;
  gap: 0 !important;
}

.MetricsTop__info {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  align-self: stretch !important;
}

.MetricsTop__name {
  font-size: .875rem !important;
  line-height: 1.25rem !important;
  font-weight: 300 !important;
  color: #282828 !important;
  margin-bottom: 2px !important;
}

.MetricsTop__value {
  font-size: .875rem !important;
  line-height: 1.25rem !important;
  font-weight: 500 !important;
  color: #282828 !important;
  margin: 0 !important;
}

.MetricsTop__bar {
  display: flex !important;
  align-items: flex-start !important;
  border-radius: 2px !important;
  background-color: #f0f0f0 !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 24px !important;
  overflow: hidden !important;
}

.MetricsTop__barPercentage {
  height: 24px !important;
  align-self: stretch !important;
  background-color: #003BDE !important;
  border-radius: 0 !important;
}

/* ==========================================================================
   Frontiers Dropdown Navigation ("About us", "Sections", "About journal")
   ========================================================================== */

.Ibar__dropdown {
  position: static !important;
}

.Ibar__dropdown__trigger {
  cursor: pointer !important;
  user-select: none;
  background: transparent;
  border: none;
  font-family: inherit;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.Ibar__dropdown__trigger:hover,
.Ibar__dropdown__trigger--open {
  color: var(--black, #111111) !important;
  font-weight: 700 !important;
}

.Ibar__dropdown__trigger:after {
  content: "";
  font-family: Frontiers-Iconography-Next !important;
  display: inline-block;
  font-size: 12px;
  font-weight: 300 !important;
  margin-left: 8px;
  transition: transform 0.3s cubic-bezier(0.37, 0.74, 0.15, 1);
}

.Ibar__dropdown__trigger--open:after {
  transform: rotate(-180deg) !important;
}

.Ibar__dropdown__trigger:before {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 100%;
  height: 2px;
  background: var(--black, #111111);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.37, 0.74, 0.15, 1);
}

.Ibar__dropdown--aboutUs .Ibar__dropdown__trigger:before {
  bottom: -20px;
}

.Ibar__dropdown__trigger--open:before {
  transform: scaleX(1) !important;
}

/* Parent bar stacking contexts */
.Ibar__main {
  transition: z-index 0.2s;
}

.Ibar__main.Ibar__main--ddOpen {
  z-index: 45 !important;
}

.Ibar__journal.Ibar__journal--ddOpen {
  z-index: 44 !important;
}

/* Full-width sliding dropdown menus */
.Ibar__dropdown__menu {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  width: 100% !important;
  top: 0 !important;
  background: #ffffff !important;
  border-bottom: none !important;
  box-shadow: rgba(40, 40, 40, 0.12) 0px 8px 10px 0px, rgba(40, 40, 40, 0.08) 0px 3px 14px 0px, rgba(40, 40, 40, 0.04) 0px 5px 5px 0px !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  max-height: calc(100vh - 160px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 48px 128px 72px !important;
  z-index: -1 !important;
  transition: opacity 0.28s cubic-bezier(0.37, 0.74, 0.15, 1),
              top 0.38s cubic-bezier(0.37, 0.74, 0.15, 1),
              visibility 0.28s ease !important;
}

@media (max-width: 1440px) {
  .Ibar__dropdown__menu {
    padding: 40px 64px 56px !important;
  }
}

@media (max-width: 1200px) {
  .Ibar__dropdown__menu {
    padding: 32px 32px 48px !important;
  }
}

.Ibar__dropdown__menu.Ibar__dropdown__menu--visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
  top: 100% !important;
}

/* Dropdown Menu Header (for mobile or responsive close) */
.Ibar__dropdown__menu__header {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

@media (min-width: 1025px) {
  .Ibar__dropdown__menu__header {
    display: none !important;
  }
}

.Ibar__dropdown__menu__header__title {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black, #111111);
  display: flex;
  align-items: center;
  cursor: pointer;
}

.Ibar__menu__header {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 57px !important;
  padding: 16px !important;
  border-bottom: 1px solid var(--grey20, #f0f0f0) !important;
  margin-bottom: 16px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
}

.Ibar__close {
  height: 20px !important;
  position: absolute !important;
  right: 16px !important;
  top: 18px !important;
  width: 20px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
}

.Ibar__close:before {
  content: "\e909" !important;
  font-family: Frontiers-Iconography-Next !important;
  font-size: 16px !important;
  line-height: 16px !important;
  color: #6b6b6b !important;
  padding: 2px !important;
  display: inline-block !important;
  -webkit-font-smoothing: antialiased !important;
}

.Ibar__close:after {
  display: none !important;
  content: none !important;
}

/* About Blocks (Who we are, Impact, Publishing model, Services, etc.) */
.Ibar__dropdown__about {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  width: 100% !important;
}

.Ibar__journal .Ibar__dropdown__about__block {
  list-style: none !important;
  padding: 0 !important;
  padding-right: 80px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  flex: 0 0 33.333333% !important;
  max-width: 33.333333% !important;
}

.Ibar__journal .Ibar__dropdown__about__block:last-child {
  padding-right: 0 !important;
}

.Ibar__dropdown--aboutUs .Ibar__dropdown__about__block {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  flex: 1 1 auto !important;
}

.Ibar__dropdown__about__block__title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--black, #111111) !important;
  margin-bottom: 24px !important;
  padding-bottom: 8px !important;
  position: relative !important;
}

.Ibar__dropdown__about__block__title:after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 48px !important;
  height: 2px !important;
  background: var(--grey80, #333333) !important;
  border-radius: 2px !important;
}

.Ibar__dropdown__about__block__item {
  list-style: none !important;
  margin-bottom: 24px !important;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.Ibar__dropdown__about__block__item:last-child {
  margin-bottom: 0 !important;
}

.Ibar__dropdown__about__block__item a {
  color: var(--grey70, #666666) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.15s ease !important;
}

.Ibar__dropdown__about__block__item a:hover {
  color: var(--black, #111111) !important;
  text-decoration: underline !important;
}

/* Sections 4-Column Layout */
.Ibar__dropdown__sections {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  column-count: 4 !important;
  column-gap: 40px !important;
  width: 100% !important;
}

.Ibar__dropdown__sections__item {
  list-style: none !important;
  margin-bottom: 20px !important;
  break-inside: avoid !important;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.Ibar__dropdown__sections__item a {
  color: var(--grey70, #666666) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.15s ease !important;
}

.Ibar__dropdown__sections__item a:hover,
.Ibar__dropdown__sections__item--active a {
  color: var(--black, #111111) !important;
  text-decoration: underline !important;
}

/* Mobile Drawer & Submenus */
.Ibar__burger {
  cursor: pointer;
  background: none;
  border: none;
}

.Ibar__menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  transform: translateX(-100%) !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  background: #ffffff !important;
  box-shadow: none !important;
  z-index: 50 !important;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease, visibility 0s 0.35s !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.Ibar__menu.Ibar__menu--open {
  transform: translateX(0) !important;
  box-shadow: 0 -24px 38px #2828281f, 0 -9px 46px #28282814, 0 -11px 15px #2828280a !important;
  visibility: visible !important;
  pointer-events: all !important;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease, visibility 0s 0s !important;
}

.Ibar__backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(40, 40, 40, 0.3) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  z-index: 45 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0s 0.3s !important;
}

.Ibar__backdrop.Ibar__backdrop--visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0s 0s !important;
}

.Ibar__menu__wrapper {
  height: calc(100vh - 57px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 16px !important;
  padding-bottom: 32px !important;
  box-sizing: border-box !important;
}

/* Mobile Drawer Sub-menus (Sections, About journal, About us) */
.Ibar__menu .Ibar__dropdown__menu {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  background: #f0f0f0 !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 0 16px 16px !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 55 !important;
  transform: translateX(100%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease, visibility 0s 0.32s !important;
  will-change: transform, opacity !important;
}

.Ibar__menu .Ibar__dropdown__menu.Ibar__dropdown__menu--visible {
  display: block !important;
  transform: translateX(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
  transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.25s ease, visibility 0s 0s !important;
}

.Ibar__menu .Ibar__dropdown__menu.Ibar__dropdown__menu--visible > * {
  opacity: 1 !important;
}

.Ibar__menu .Ibar__dropdown__menu__header {
  position: relative !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  height: 53px !important;
  padding: 16px !important;
  margin: 0 -16px 16px -16px !important;
  border-bottom: 1px solid var(--grey20, #e6e6e6) !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
}

.Ibar__menu .Ibar__dropdown__menu__header .Ibar__close {
  position: absolute !important;
  top: 18px !important;
  right: 16px !important;
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 10 !important;
}

.Ibar__menu .Ibar__dropdown__menu__header__title {
  background: none !important;
  border: none !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--grey70) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
}

.Ibar__menu .Ibar__dropdown__menu__header__title:before {
  content: "";
  font-family: Frontiers-Iconography-Next !important;
  font-size: 12px;
  transform: rotate(90deg);
  display: inline-block;
}

.Ibar__menu .Ibar__dropdown__about {
  flex-direction: column !important;
  gap: 0 !important;
}

.Ibar__menu .Ibar__dropdown__about__block {
  margin-bottom: 40px !important;
  padding-bottom: 16px !important;
}

.Ibar__menu .Ibar__dropdown__sections {
  column-count: unset !important;
}

.Ibar__menu .Ibar__dropdown__sections__item {
  margin-bottom: 40px !important;
}

/* Metrics Dropdown & Charts */
.ChipSelect {
  position: relative !important;
}

.ChipSelect__trigger[aria-expanded="true"] .ChipSelect__chevron svg {
  transform: rotate(180deg);
}

.ChipSelect__chevron svg {
  transition: transform 0.2s ease-in-out;
}

.ChipSelect__listbox {
  position: absolute !important;
  top: 44px !important;
  left: 0 !important;
  width: 216px !important;
  z-index: 1000 !important;
  box-shadow: 0 12px 17px rgba(40, 40, 40, 0.12), 0 5px 22px rgba(40, 40, 40, 0.08), 0 7px 8px rgba(40, 40, 40, 0.04) !important;
  border-radius: 8px !important;
  background-color: #ffffff !important;
  border: 1px solid #a2a2a2 !important;
}

.Listbox__option {
  cursor: pointer;
}

.Listbox__option:hover {
  background-color: #f0f0f0;
}

/* Author Avatar Image (Fahim Abrar & Authors List) */
figure.Avatar.PeopleListItem__Avatar {
  border-radius: 50% !important;
  overflow: hidden !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  display: block !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

figure.Avatar.PeopleListItem__Avatar img.Avatar__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 50% !important;
}

/* Fix author list wrapping and prevent collapsed/overlapping avatars for articles with 9+ authors */
.PeopleList__list > li {
  width: auto !important;
  margin-left: 0 !important;
  order: 0 !important;
  display: flex !important;
}

.PeopleList__list > li .PeopleListItem {
  width: 100% !important;
  display: flex !important;
}

.PeopleList__list > li .PeopleListItem__name {
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  padding: initial !important;
  opacity: 1 !important;
  display: block !important;
}

/* Mobile Article Cards Layout & Parity */
.EditorReviewers__title--mobile {
  display: none !important;
}

@media only screen and (max-width: 1024px) {
  .EditorReviewers {
    border: 1px solid var(--grey40) !important;
    border-radius: 16px !important;
    margin-bottom: 24px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }
  .EditorReviewers .ExpandablePanel__headline {
    display: none !important;
  }
  .EditorReviewers .ExpandablePanel__content,
  .ExpandablePanel.EditorReviewers:not(.ExpandablePanel--expanded) .ExpandablePanel__content {
    display: block !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .EditorReviewers__title--mobile {
    display: flex !important;
    align-items: center !important;
    color: #282828 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.375rem !important;
    margin: 0 0 32px 0 !important;
    gap: 8px !important;
  }
  .EditorReviewers__icon::after {
    color: rgb(40, 40, 40);
    content: "";
    font-size: 16px;
    font-weight: 300;
    font-family: Frontiers-Iconography-Next !important;
  }
  .EditorReviewers .EditorReviewers__subtitle {
    color: rgb(40, 40, 40) !important;
    padding-bottom: 8px !important;
    margin: 0 !important;
  }
  .ArticleDetailsV4__main .ArticleDetailsV4__cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .ArticleDetailsV4__asideLeft .ArticleDetailsV4__cards {
    display: none !important;
  }
}

@media only screen and (min-width: 1025px) {
  .ArticleDetailsV4__main .ArticleDetailsV4__cards {
    display: none !important;
  }
  .ArticleDetailsV4__asideLeft .ArticleDetailsV4__cards {
    display: flex !important;
  }
}

/* Mobile Footer Accordion Transitions */
@media only screen and (max-width: 1024px) {
  .Footer .Accordion__content {
    transition: height 0.35s cubic-bezier(0.37, 0.74, 0.15, 1), opacity 0.35s ease;
    overflow: hidden;
  }
  .Footer .Accordion__content.Accordion__content--fadeOut {
    opacity: 0;
  }
}



