/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 09 2025 | 18:21:55 */
.masthead__logo {
  margin: 30px 0;
}
/* =========================================
   Curia Child-Page Angled Masthead (final)
   Full-bleed, centered, scrollbar-safe
   ========================================= */

/* ---------- Primary path (modern browsers) ---------- */
@supports (width: 100svw) {
  .curia-masthead {
    position: relative;
    width: 100svw !important;
    max-width: 100svw !important;
    margin-left: calc(50% - 50svw) !important;
    margin-right: calc(50% - 50svw) !important;
    background: #efeff2 !important;
    overflow: visible;
    box-sizing: border-box;
    isolation: isolate;
    padding: 0 !important;
  }

  /* Angled color panel (desktop/tablet) */
  .curia-masthead::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: max(55svw, 720px);
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 20% 100%);
    z-index: 0;
  }

  /* Brand color mapping */
  .curia-masthead.has-small-molecule-background-color::after      { background: #8194DD; }
  .curia-masthead.has-generic-apis-background-color::after        { background: #924E8C; }
  .curia-masthead.has-biologics-background-color::after           { background: #41273B; }
  .curia-masthead.has-sterile-drug-product-background-color::after { background: #F7EA48; }

  /* Inner content (desktop/tablet) */
  .curia-masthead__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(400px, 1fr) 210px; /* wide content + fixed logo col */
    gap: clamp(24px, 4vw, 64px);
    padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 40px);
    align-items: center;
    min-height: 320px;
    max-width: min(
      var(--wp--style--global--wide-size, 1380px),
      calc(100svw - clamp(32px, 6svw, 96px))
    );
    margin: 0 auto;
  }

  .curia-masthead__title { margin: 0; font-size: clamp(28px, 4.2vw, 56px); line-height: 1.05; font-weight: 800; }
  .curia-masthead__content-body { margin-top: 1rem; }

  .curia-masthead__brand {
    position: relative; z-index: 1;
    justify-self: end; text-align: right;
    padding-right: clamp(16px, 4vw, 40px);
  }
  .curia-masthead__brand img {
    width: 210px; max-width: 210px; height: auto;
  }

  /* ===== Mobile: logo bar FIRST & full width; remove angle ===== */
  @media (max-width: 768px) {
    /* switch to column flow so we can reorder */
    .curia-masthead__inner {
      display: flex;
      flex-direction: column;
      max-width: none;
      text-align: center;

      /* go edge-to-edge */
      padding-left: 0 !important;
      padding-right: 0 !important;
      padding-bottom: 0 !important;
      margin-left: 0;
      margin-right: 0;
    }

    /* remove angled panel on mobile */
    .curia-masthead::after { display: none !important; }

    /* full-width logo bar appears first */
    .curia-masthead__brand {
      order: -1;
      align-self: stretch;       /* full width bar */
      justify-self: stretch;
      text-align: center;
      margin: 0 0 1.5rem 0;
      padding: 1rem 0;
      border-radius: 0;
      padding-right: 0;
    }
    .curia-masthead.has-small-molecule-background-color .curia-masthead__brand { background-color: #8194DD; }
    .curia-masthead.has-generic-apis-background-color .curia-masthead__brand   { background-color: #924E8C; }
    .curia-masthead.has-biologics-background-color .curia-masthead__brand      { background-color: #41273B; }
    .curia-masthead.has-sterile-drug-product-background-color .curia-masthead__brand { background-color: #F7EA48; }

    .curia-masthead__brand img {
      width: 150px !important;
      max-width: none;
      height: auto;
      margin: 0 auto;
      display: block;
    }

    /* content padding since inner gutters are removed on mobile */
    .curia-masthead__content-body {
      padding-left: 30px;
      padding-right: 30px;
    }
  }
}

/* ---------- Fallback path (older browsers without svw) ---------- */
@supports not (width: 100svw) {
  .curia-masthead {
    position: relative;
    background: transparent;
    overflow: visible;
    box-sizing: border-box;
    isolation: isolate;
    padding: 0 !important;
  }
  /* light grey base (full-bleed) */
  .curia-masthead::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: #efeff2;
    z-index: 0;
  }
  /* angled color panel */
  .curia-masthead::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max(55vw, 720px);
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 20% 100%);
    z-index: 0;
  }

  /* Brand color mapping */
  .curia-masthead.has-small-molecule-background-color::after      { background: #8194DD; }
  .curia-masthead.has-generic-apis-background-color::after        { background: #924E8C; }
  .curia-masthead.has-biologics-background-color::after           { background: #41273B; }
  .curia-masthead.has-sterile-drug-product-background-color::after { background: #F7EA48; }

  /* Inner content */
  .curia-masthead__inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(400px, 1fr) 210px;
    gap: clamp(24px, 4vw, 64px);
    padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 40px);
    align-items: center;
    min-height: 320px;
    max-width: min(
      var(--wp--style--global--wide-size, 1380px),
      calc(100vw - clamp(32px, 6vw, 96px))
    );
    margin: 0 auto;
  }
  .curia-masthead__title { margin: 0; font-size: clamp(28px, 4.2vw, 56px); line-height: 1.05; font-weight: 800; }
  .curia-masthead__content-body { margin-top: 1rem; }

  .curia-masthead__brand {
    position: relative; z-index: 1;
    justify-self: end; text-align: right;
    padding-right: clamp(16px, 4vw, 40px);
  }
  .curia-masthead__brand img { width: 210px; max-width: 210px; height: auto; }

  @media (max-width: 768px) {
    /* remove both pseudos on mobile fallback */
    .curia-masthead::before,
    .curia-masthead::after { display: none !important; }

    /* stack with logo bar first + full width */
    .curia-masthead__inner {
      display: flex;
      flex-direction: column;
      max-width: none;
      text-align: center;
      padding-left: 0 !important;
      padding-right: 0 !important;
      padding-bottom: 0 !important;
      margin-left: 0;
      margin-right: 0;
    }
    .curia-masthead__brand {
      order: -1;
      align-self: stretch;
      justify-self: stretch;
      text-align: center;
      margin: 0 0 1.5rem 0;
      padding: 1rem 0;
      border-radius: 0;
      padding-right: 0;
    }
    .curia-masthead.has-small-molecule-background-color .curia-masthead__brand { background-color: #8194DD; }
    .curia-masthead.has-generic-apis-background-color .curia-masthead__brand   { background-color: #924E8C; }
    .curia-masthead.has-biologics-background-color .curia-masthead__brand      { background-color: #41273B; }
    .curia-masthead.has-sterile-drug-product-background-color .curia-masthead__brand { background-color: #F7EA48; }

    .curia-masthead__brand img {
      width: 150px !important;
      max-width: none;
      height: auto;
      margin: 0 auto;
      display: block;
    }
    .curia-masthead__content-body {
      padding-left: 30px;
      padding-right: 30px;
    }
  }
}

/* Safety net */
.entry-content, .site-content, .wp-site-blocks { overflow: visible !important; }

/* ----- Breadcrumb styling for CHILD PAGES only ----- */
.curia-masthead.has-small-molecule-background-color .breadcrumbs,
.curia-masthead.has-generic-apis-background-color .breadcrumbs,
.curia-masthead.has-biologics-background-color .breadcrumbs,
.curia-masthead.has-sterile-drug-product-background-color .breadcrumbs {
  margin-bottom: 30px;
}
.curia-masthead.has-small-molecule-background-color .breadcrumbs a,
.curia-masthead.has-generic-apis-background-color .breadcrumbs a,
.curia-masthead.has-biologics-background-color .breadcrumbs a,
.curia-masthead.has-sterile-drug-product-background-color .breadcrumbs a {
  color: #000000;
}
.curia-masthead.has-small-molecule-background-color .breadcrumbs a:hover,
.curia-masthead.has-generic-apis-background-color .breadcrumbs a:hover,
.curia-masthead.has-biologics-background-color .breadcrumbs a:hover,
.curia-masthead.has-sterile-drug-product-background-color .breadcrumbs a:hover {
  opacity: .75;
}
.curia-masthead.has-small-molecule-background-color .breadcrumbs .breadcrumb-separator,
.curia-masthead.has-generic-apis-background-color .breadcrumbs .breadcrumb-separator,
.curia-masthead.has-biologics-background-color .breadcrumbs .breadcrumb-separator,
.curia-masthead.has-sterile-drug-product-background-color .breadcrumbs .breadcrumb-separator {
  color: #000000;
  margin: 0 6px;
}
.curia-masthead.has-small-molecule-background-color .breadcrumbs .breadcrumb_last,
.curia-masthead.has-generic-apis-background-color .breadcrumbs .breadcrumb_last,
.curia-masthead.has-biologics-background-color .breadcrumbs .breadcrumb_last,
.curia-masthead.has-sterile-drug-product-background-color .breadcrumbs .breadcrumb_last {
  color: #A556A4;
  font-weight: 700;
}

/* Limit text line length so it stays off the angled panel */
.curia-masthead__content {
  max-width: 60ch;
  padding-right: clamp(8px, 2vw, 24px);
}
.curia-masthead__content-body,
.curia-masthead__content-body > * {
  max-width: 60ch;
}
@media (max-width: 1200px) {
  .curia-masthead__content,
  .curia-masthead__content-body,
  .curia-masthead__content-body > * {
    max-width: 56ch;
  }
}

/* Hide masthead slash on specific parent pages and their children */
.page-id-705 .masthead__slash,
.parent-pageid-705 .masthead__slash,
.page-id-769 .masthead__slash,
.parent-pageid-769 .masthead__slash,
.page-id-637 .masthead__slash,
.parent-pageid-637 .masthead__slash,
.page-id-641 .masthead__slash,
.parent-pageid-641 .masthead__slash,
.page-id-647 .masthead__slash,
.parent-pageid-647 .masthead__slash,
.page-id-645 .masthead__slash,
.parent-pageid-645 .masthead__slash,
.page-id-651 .masthead__slash,
.parent-pageid-651 .masthead__slash,
.page-id-655 .masthead__slash,
.parent-pageid-655 .masthead__slash,
.page-id-3661 .masthead__slash,
.parent-pageid-3661 .masthead__slash,
.page-id-3674 .masthead__slash,
.parent-pageid-3674 .masthead__slash,
.page-id-671 .masthead__slash,
.parent-pageid-671 .masthead__slash,
.page-id-721 .masthead__slash,
.parent-pageid-721 .masthead__slash,
.page-id-3618 .masthead__slash,
.parent-pageid-3618 .masthead__slash,
.page-id-777 .masthead__slash,
.parent-pageid-777 .masthead__slash,
.page-id-4000 .masthead__slash,
.parent-pageid-4000 .masthead__slash,
.page-id-707 .masthead__slash,
.parent-pageid-707 .masthead__slash,
.parent-pageid-4236 .masthead__slash,
.parent-pageid-3959 .masthead__slash,
.parent-pageid-659 .masthead__slash,
.parent-pageid-679 .masthead__slash,
.parent-pageid-781 .masthead__slash,
.parent-pageid-639 .masthead__slash,
.parent-pageid-3826 .masthead__slash,
.parent-pageid-649 .masthead__slash{
  display: none !important;
}



/* Menu arrows for items with children */
.main-menu li.has-children > a::after {
  font-family: FontAwesome;
  font-weight: normal;
  content: "\f107"; /* fa-angle-down */
  margin-left: 6px;
  display: inline-block;
  transition: content 0.2s ease;
}
.main-menu li.has-children:hover > a::after,
.main-menu li.has-children.open > a::after {
  content: "\f106"; /* fa-angle-up */
}

/* Insights chip & row tweaks */
.insights-chip {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  line-height: 1;
  font-weight: 600;
  color: inherit;
}
.insights-chip__logo {
  width: 130px;
  display: block;
}
.insights-chip__divider {
  inline-size: 1px;
  block-size: 1.25em;
  background: currentColor;
  opacity: 0.35;
  margin-inline: 0.25rem 0.35rem;
}
.insights-chip__text { letter-spacing: .01em; }

/* Scope only to rows that contain the Insights chip */
.curia-insights-row > .wp-block-emagine-column {
  display: flex;
  align-items: center;
}
/* Remove extra spacing from heading so it lines up with the button */
.curia-insights-row .h2 {
  margin: 0;
  line-height: 1.1;
}
/* Keep right column content aligned to the right (desktop) */
.curia-insights-row > .wp-block-emagine-column.em-col-4_sm-12 {
  justify-content: flex-end;
  text-align: right;
}
/* Normalize the button wrappers so the anchor centers vertically */
.curia-insights-row .wp-block-emagine-buttons,
.curia-insights-row .wp-block-emagine-button {
  display: flex;
  align-items: center;
}
/* Make the button itself align nicely with text/icons */
.curia-insights-row a.btn {
  display: inline-flex;
  align-items: center;
}
/* Optional: nudge the button text baseline */
.curia-insights-row a.btn span {
  line-height: 1.1;
}
/* Mobile: when columns stack, center the button under the chip */
@media (max-width: 768px) {
.parent-pageid-705 .em-sub-menu,
.parent-pageid-769 .em-sub-menu,
.parent-pageid-637 .em-sub-menu,
.page-id-641 .em-sub-menu,
.parent-pageid-641 .em-sub-menu,
.page-id-647 .em-sub-menu,
.parent-pageid-647 .em-sub-menu,
.page-id-645 .em-sub-menu,
.parent-pageid-645 .em-sub-menu,
.page-id-651 .em-sub-menu,
.parent-pageid-651 .em-sub-menu,
.page-id-655 .em-sub-menu,
.parent-pageid-655 .em-sub-menu,
.page-id-3661 .em-sub-menu,
.parent-pageid-3661 .em-sub-menu,
.page-id-3674 .em-sub-menu,
.parent-pageid-3674 .em-sub-menu,
.page-id-671 .em-sub-menu,
.parent-pageid-671 .em-sub-menu,
.page-id-721 .em-sub-menu,
.parent-pageid-721 .em-sub-menu,
.page-id-3618 .em-sub-menu,
.parent-pageid-3618 .em-sub-menu,
.parent-pageid-777 .em-sub-menu,
.page-id-4000 .em-sub-menu,
.parent-pageid-4000 .em-sub-menu,
.page-id-707 .em-sub-menu,
.parent-pageid-707 .em-sub-menu,
.parent-pageid-4236 .em-sub-menu,
.parent-pageid-3959 .em-sub-menu,
.parent-pageid-659 .em-sub-menu,
.parent-pageid-679 .em-sub-menu,
.parent-pageid-781 .em-sub-menu {
  display: none !important;
}
  .curia-insights-row > .wp-block-emagine-column {
    justify-content: center;
    text-align: center;
  }
  .curia-insights-row > .wp-block-emagine-column.em-col-4_sm-12 {
    margin-top: 12px;
  }
  .em-call-to-action__logo {
    margin: 0;
  }
  .em-call-to-action__inner {
    align-items: flex-start;
  }
	.curia-masthead__inner {
		padding-top:0;
		padding-bottom:50px !important;
	}
}

/* Misc */
.em-call-to-action__logo {
  margin-right: 50px;
  flex-shrink: 0;
}

.navicon:focus .navicon__trigger {
  background: var(--wp--preset--color--1) !important;
}
.navicon__trigger::before, .navicon__trigger::after {
  background: var(--wp--preset--color--1) !important;
}