:root {
  --cgn-blue: #2574b7;
  --cgn-blue_dark: #1f3685;
  --cgn-gap-1: clamp(24px, calc( 1.5rem + ((1vw - 4px) * 2.5641)), 40px); /* 400-1024 */
}

/* Hide header on landing pag */
#app:has(.cgn-page-intro) header {
  display: none;
}

/* Hide header on landing pag */
#app:has(.cgn-page-intro) :is(footer, .footer-banner-section) {
  display: none;
}

#app:has(.cgn-page-intro) main,
#app:has(.cgn-page-intro) main p {
  color: #414141;
  font-size: 1.25rem;
  line-height: var(--cgn-gap-1);
}
#app:has(.cgn-page-intro) .component-wrapper > * {
  margin: 0;
}

/* Headlines */
#app:has(.cgn-page-intro) :is(h2, h3) {
  margin-block-end: var(--cgn-gap-1);
}
#app:has(.cgn-page-intro) h4 {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
}
#app:has(.cgn-page-intro) h5 + p {
  margin-block-start: 2rem;
}

/* Paragraph */
#app:has(.cgn-page-intro) p + p,
#app:has(.cgn-page-intro) p + h3 {
  margin-block-start: 2.5rem;
}
#app:has(.cgn-page-intro) p + h2 {
  margin-block-start: clamp(40px, calc( 2.5rem + ((1vw - 4px) * 3.2051)), 60px); /* 400-1024 */
}
#app:has(.cgn-page-intro) p small {
  display: block;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.16px;
}

/* Button */
#app:has(.cgn-page-intro) pint-buttons {
  align-items: center;
  column-gap: clamp(16px, calc( 1rem + ((1vw - 4px) * 3.8462)), 40px); /* 400-1024 */
  display: flex;
  flex-wrap: wrap;
  margin-block-start: 55px;
  row-gap: .75rem;
}
#app:has(.cgn-page-intro) pint-buttons p {
  font-weight: 500;
  margin: 0;
}
#app:has(.cgn-page-intro) .btn {
  align-items: center;
  background-color: var(--cgn-blue);
  border: 1px solid var(--cgn-blue);
  border-radius: 1.875rem;
  box-sizing: border-box;
  color: white;
  column-gap: .5rem;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .4px;
  padding: .9375rem clamp(10px, calc( 0.625rem + ((1vw - 4px) * 3.2051)), 30px); /* 400-1024 */
  transition: all .3s;
}
#app:has(.cgn-page-intro) .btn:hover {
  background-color: white;
  color: var(--cgn-blue);
}
#app:has(.cgn-page-intro) .btn:focus-visible {
  box-shadow: 0 0 10px var(--cgn-blue);
}
#app:has(.cgn-page-intro) .btn path {
  fill: white;
}
#app:has(.cgn-page-intro) .btn:hover path {
  fill: var(--cgn-blue);
}
/* Button - alt */
#app:has(.cgn-page-intro) .btn-alt {
  background-color: white;
  border-color: white;
  color: var(--cgn-blue);
}
#app:has(.cgn-page-intro) .btn-alt:hover {
  background-color: var(--cgn-blue_dark);
  border-color: var(--cgn-blue_dark);
  color: white;
}
#app:has(.cgn-page-intro) .btn-alt:focus-visible {
  box-shadow: 0 0 10px white;
}
#app:has(.cgn-page-intro) .btn-alt path {
  fill: var(--cgn-blue);
}
#app:has(.cgn-page-intro) .btn-alt:hover path {
  fill: white;
}


/* --- */


/* SECTIONS */
#app:has(.cgn-page-intro) section:not(.cgn-page-intro) {
  padding-block: clamp(60px, calc( 3.75rem + ((1vw - 4px) * 9.6154)), 120px);
}


/* HERO/PAGE INTRO */
.cgn-page-intro {
  background: linear-gradient(90deg, var(--cgn-blue), var(--cgn-blue_dark));
  padding: 0;
}
.cgn-page-intro .content-container {
  background: url('/wp-content/themes/inocras/public/images/logo-mark.svg') no-repeat top right;
  background-size: contain;
  max-width: unset;
  width: 100%;
}
.cgn-page-intro .row {
  box-sizing: border-box;
  display: grid;
  grid-template-areas: "logo" "content";
  margin-inline: auto;
  max-width: 1475px;
  padding: 53px 20px;
}
.cgn-page-intro .component-wrapper {
  padding: 0 !important;
}
/* Logo */
.cgn-page-intro .image-component {
  grid-area: logo;
}
.cgn-page-intro .image-component img {
  block-size: 83px;
  inline-size: 458px;
}
@media (min-width: 768px) {
  .cgn-page-intro .image-component img {
    block-size: auto;
    inline-size: clamp(300px, calc( 18.75rem + ((1vw - 7.68px) * 61.7188)), 458px);
  }
}

/* Content */
.cgn-page-intro .content-component {
  color: white;
  grid-area: content;
  padding-block-start: 40px;
}
.cgn-page-intro .content-component h1 {
  color: white;
  font-size: clamp(24px, calc( 1.5rem + ((1vw - 4px) * 3.3654)), 45px); /* 400-1024 */
  line-height: clamp(29px, calc( 1.8125rem + ((1vw - 4px) * 3.3654)), 50px);
  margin: 0;
}
.cgn-page-intro .content-component h1 strong {
  display: block;
  font-size: clamp(24px, calc( 1.5rem + ((1vw - 4px) * 2.3684)), 60px) ;
  font-weight: 500;
  line-height: clamp(30px, calc( 1.875rem + ((1vw - 4px) * 3.2895)), 80px);
  margin-block-start: 1.25rem;
}
.cgn-page-intro .content-component h1 strong span {
  display: inline-block;
}
@media (min-width: 768px) {
  .cgn-page-intro .content-component h1 {
    font-size: clamp(24px, calc( 1.5rem + ((1vw - 7.68px) * 8.2031)), 45px); /* 768-1024 */
  }
  .cgn-page-intro .content-container > .row {
    padding-block-end: clamp(40px, calc( 2.5rem + ((1vw - 10.24px) * 17.0759)), 193px) ;
  }
}
@media (min-width: 768px) {
  .cgn-page-intro .content-component {
    padding-block: clamp(40px, calc( 2.5rem + ((1vw - 10.24px) * 17.8571)), 200px) 0;
  }
}


/* TESTIMONIALS */
.cgn-testimonials {
  background-color: #f1f1f1;
}
.cgn-testimonials .mx-auto {
  margin: 0;
}
.testimonial-slide {
  margin: 0;
  position: relative;
}
.testimonial-slide:before {
  display: none !important;
}
/* Image */
.testimonial-slide img {
  block-size: 13.375rem;
  inline-size: 13.375rem;
  max-block-size: unset;
  max-inline-size: unset;
  left: 0;
  position: absolute;
  top: 0;
}
/* Content */
.testimonial-slide figure {
  display: block;
  margin: 0;
  padding-block-start: 15rem;
}
.testimonial-slide blockquote {
  margin: 0;
  padding: 0;
  text-wrap: auto;
}
.testimonial-slide blockquote p {
  font-size: clamp(20px, calc( 1.25rem + ((1vw - 4px) * 2.7174)), 30px) !important; /* 400-768 */
  font-style: normal;
  font-weight: 400;
  line-height: 40px; /* 133.333% */
  letter-spacing: 0.3px;
  text-wrap: auto;
}
.testimonial-slide blockquote p span {
  text-wrap: nowrap;
}
.testimonial-slide figcaption {
  line-height: 1.5;
  text-wrap: auto;
}
.testimonial-slide cite {
  display: block;
  font-style: normal;
  font-weight: bold;
}
@media (min-width: 768px) {
  .testimonial-slide {
    padding-block-start: 0;
    padding-inline-start: 15rem;
  }
  .testimonial-slide figure {
    padding-block-start: 0;
  }
}

/* GlideJs overrides */
/* -- Parent */
.testimonial-slider {
  display: flex;
  flex-direction: column;
  row-gap: clamp(30px, calc( 1.875rem + ((1vw - 4px) * 8.1522)), 60px); /* 400-768 */
}
/* -- Controls */
.testimonial-slider .glide__bullets {
  align-items: center;
  display: flex;
  gap: .5rem;
  justify-content: center;
}
.testimonial-slider .glide__bullets button {
  background-color: none;
  block-size: 1.5rem;
  border: 0;
  cursor: pointer;
  inline-size: 1.5rem;
  position: relative;
}
.testimonial-slider .glide__bullets button:after {
  background-color: #c8c8c8;
  block-size: .9375rem;
  border-radius: 50%;
  content: '';
  display: block;
  inline-size: .9375rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate( -50%, -50% );
}
.testimonial-slider .glide__bullets button.glide__bullet--active:after {
  background-color: #2574b7;
}


/* POSTERS */
.cgn-posters pint-grid {
  display: grid;
}
.cgn-posters hr {
  block-size: .06125rem;
  border: 0;
  margin-block: 6.25rem;
  padding: 0;
  position: relative;
}
.cgn-posters hr:before {
  background: linear-gradient(90deg, #34387b, #76a9e0 );
  block-size: .06125rem;
  content: '';
  display: block;
  inline-size: 100%;
}
.cgn-posters ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cgn-posters li {
  margin: 0;
}
.cgn-posters li + li {
  margin-block-start: var(--cgn-gap-1);
}
.cgn-posters li:before {
  display: none;
}
.cgn-posters li h2 {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin: 0 !important;
}
.cgn-posters li h3 {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.2px;
  margin: 0 !important;
}
@media (min-width: 56.25rem) {
  .cgn-posters pint-grid {
    column-gap: 9.375rem;
    grid-template-columns: 336px 1fr;
    row-gap: 2rem;
  }
}


/* VISIT BOOTH */
.cgn-booth {
  background-color: var(--cgn-blue);
  color: white;
}
.cgn-booth .component-wrapper {
  display: grid;
}
.cgn-booth .component-wrapper > * {
  margin: 0;
}
.cgn-booth :is(h2,h3,h4,h5,p) {
  color: white !important;
}
.cgn-booth img {
  border-radius: 1.875rem;
}
@media (min-width: 56.25rem) {
  .cgn-booth .component-wrapper {
    column-gap: clamp(40px, calc( 2.5rem + ((1vw - 9px) * 88.7097)), 150px); /* 900-1024 */
    grid-template-columns: 1.3fr 1fr;
  }
}
@media (max-width: 56.246875rem) {
  .cgn-booth .component-wrapper {
    row-gap: 1.5rem;
  }
  .cgn-booth .component-wrapper .content-component {
    order: 2;
  }
  .cgn-booth .component-wrapper .content-image {
    order: 1;
  }
}


/* GENOME PORTFOLIO */
.cgn-genome-portfolio li:before {
  top: 18px;
}
.cgn-genome-portfolio .list-leadin {
  font-size: clamp(20px, calc( 1.25rem + ((1vw - 4px) * 2.7174)), 30px) !important; /* 400-768 */
  font-style: normal;
  font-weight: 400;
  line-height: 40px; /* 133.333% */
  letter-spacing: 0.3px;
}



/* FORM */
.cgn-form {
  padding-block: clamp(60px, calc( 3.75rem + ((1vw - 4px) * 6.4103)), 100px) !important;
}
.cgn-form :is(h2, .gform_title) {
  color: white;
}


/* FOOTER */
.cgn-footer {
  background: linear-gradient(90deg, var(--cgn-blue), var(--cgn-blue_dark));
  color: white;
  padding-block: 3.75rem !important;
}
.cgn-footer  {
  color: white;
}
.cgn-footer img {
  block-size: 83px;
  inline-size: 458px;
}
.cgn-footer .component-wrapper {
  align-items: center;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.cgn-footer .component-wrapper .image-component {
  align-items: center;
  display: flex;
  justify-content: end;
}
.cgn-footer :is(p, a) {
  color: white !important;
  font-size: 14px !important;
  font-style: normal;
  font-weight: 500;
  line-height: 24px !important;
  letter-spacing: 0.28px;
}


/* GATED DIALOG */
.cgn-dialog {
  background: #253780;
  border: 0;
  border-radius: 1.875rem;
  box-sizing: border-box;
  color: white;
  inline-size: 100%;
  max-block-size: 80svh;
  max-inline-size: 700px;
  padding: clamp(16px, calc( 1rem + ((1vw - 4px) * 2.5641)), 32px); /* 400-1024 */
}
.cgn-dialog::backdrop {
  background-color: rgba(0 0 0 / .6);
}
.cgn-dialog > br {
  display: none;
}
.cgn-dialog .gform_wrapper {
  background: none;
  box-shadow: none;
  padding: 0;
}
.cgn-dialog .gform_body .gform_fields {
  row-gap: 0;
}
.cgn-dialog label {
  color: white;
}
.cgn-dialog :is(input, textarea) {
  background: rgba(0 0 0 / .1);
  block-size: 3.125rem;
  border: 1px solid #b4adf3;
  box-shadow: 0 8px 20px 0 rgba(0 0 0 / .07);
  color: #fff;
  transition: background-color .3s;
}
.cgn-dialog :is(input, textarea):focus-visible {
  background: rgba(0 0 0 / .2);
}
.cgn-dialog button[type="submit"] {
  background: #2574b7;
  border: none;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 1%;
  line-height: 1.7777777778em;
  margin-block-start: 0;
  padding: 16px 24px;
}
.cgn-dialog .gform_submission_error {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 10px;
  background: red;
  color: white !important;
  padding: 20px;
}
.cgn-dialog .validation_message {
  margin: 0;
}