html.has-partnership-announcement body {
  padding-top: var(--partnership-announcement-height, 46px);
}

html.has-web-partnership-section {
  overflow-x: clip;
}

html.has-web-partnership-section body.page-id-123 .ct-section {
  overflow-x: clip;
}

body.page-id-123 #servicesHero .lead-form .gform_confirmation_wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 400px;
  min-height: 565px;
  position: relative;
  z-index: 100;
}

body.page-id-123 #servicesHero .lead-form .gform_confirmation_message {
  background: #fff;
  border-radius: 20px;
  color: #333;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  padding: 24px 28px;
  text-align: center;
}

/* Keep standard service summaries clear of the oversized form blob. */
@media only screen and (min-width: 1201px) and (max-width: 1899px) {
  body.parent-pageid-2811:not(.page-id-3391) #servicesHero .sublead p {
    max-width: 540px;
  }
}

#partnershipAnnouncement {
  align-items: center;
  background: #3c326e;
  display: flex;
  justify-content: center;
  left: 0;
  min-height: 46px;
  max-width: 100vw;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 100000000;
}

#partnershipAnnouncement a {
  align-items: center;
  color: #fff;
  display: flex;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 400;
  gap: 14px;
  justify-content: center;
  line-height: 1.4;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none;
  width: 100vw;
}

#partnershipAnnouncement a:hover,
#partnershipAnnouncement a:focus-visible {
  background: #272147;
  color: #fff;
}

#partnershipAnnouncement a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -4px;
}

#partnershipAnnouncement strong {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

#partnershipAnnouncement span {
  display: block;
  min-width: 0;
  white-space: normal;
}

#partnershipAnnouncement + #mainMenu,
html.has-partnership-announcement #mainMenu {
  top: var(--partnership-announcement-height, 46px);
}

body.admin-bar #partnershipAnnouncement {
  top: 32px;
}

@media only screen and (max-width: 782px) {
  body.admin-bar #partnershipAnnouncement {
    top: 46px;
  }
}

@media only screen and (max-width: 767px) {
  #partnershipAnnouncement a {
    flex-direction: column;
    font-size: 13px;
    gap: 1px;
    line-height: 1.3;
    padding: 7px 16px;
  }

  #partnershipAnnouncement strong {
    white-space: normal;
  }

  body.single-post #featuredContainer,
  body.single-post #featuredImage,
  body.single-post h1,
  body.single-post .ct-text-block {
    box-sizing: border-box;
    max-width: 100vw;
    width: 100%;
  }

  body.single-post #featuredImage {
    height: auto;
  }
}

.web-partnership-section {
  background: #195179;
  border-top: 6px solid #ffd176;
  color: #fff;
  overflow: hidden;
  position: relative;
  visibility: hidden;
  width: 100%;
}

.web-partnership-section.is-positioned {
  visibility: visible;
}

.web-partnership-section::after {
  background-image: url("romega-mark-white.svg");
  background-position: 100% 50%;
  background-repeat: repeat;
  background-size: 44px;
  content: "";
  height: 100%;
  opacity: 0.1;
  position: absolute;
  right: 0;
  top: 0;
  width: 264px;
}

.web-partnership-inner {
  align-items: center;
  display: grid;
  gap: 76px;
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
  margin: 0 auto;
  max-width: 1280px;
  padding: 96px 40px;
  position: relative;
  z-index: 1;
}

.web-partnership-visual {
  min-width: 0;
}

.web-partnership-photo {
  box-shadow: 14px 14px 0 #ffd176;
  margin: 0 14px 0 0;
  overflow: hidden;
}

.web-partnership-photo-image {
  display: block;
  height: auto;
  width: 100%;
}

.web-partnership-content-logo {
  display: block;
  height: auto;
  margin: 0 0 28px;
  max-width: 210px;
  object-fit: contain;
  width: 42%;
}

.web-partnership-content {
  min-width: 0;
}

.web-partnership-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-bottom: 25px;
}

.web-partnership-label,
.web-partnership-date {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.web-partnership-label {
  color: #ffd176;
}

.web-partnership-date {
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  padding-left: 22px;
}

.web-partnership-content h2 {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 28px;
  max-width: 820px;
}

.web-partnership-content p {
  color: rgba(255, 255, 255, 0.92);
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.75;
  margin: 0;
  max-width: 780px;
}

.web-partnership-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 30px;
  margin-top: 38px;
}

.web-partnership-primary,
.web-partnership-secondary {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.web-partnership-primary {
  background: #ffd176;
  color: #195179;
  padding: 16px 22px;
}

.web-partnership-primary:hover,
.web-partnership-primary:focus-visible {
  background: #fff;
  color: #195179;
}

.web-partnership-secondary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  padding: 8px 0 5px;
}

.web-partnership-secondary:hover,
.web-partnership-secondary:focus-visible {
  border-color: #ffd176;
  color: #ffd176;
}

.web-partnership-primary:focus-visible,
.web-partnership-secondary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media only screen and (max-width: 900px) {
  .web-partnership-inner {
    gap: 0;
    grid-template-columns: 1fr;
    padding: 76px 32px;
  }

  .web-partnership-content {
    padding: 58px 0 0;
  }
}

@media only screen and (max-width: 560px) {
  .web-partnership-section::after {
    display: none;
  }

  .web-partnership-inner {
    padding: 62px 24px 68px;
  }

  .web-partnership-photo {
    box-shadow: 9px 9px 0 #ffd176;
    margin-right: 9px;
  }

  .web-partnership-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .web-partnership-content-logo {
    margin-bottom: 24px;
    max-width: 185px;
    width: 54%;
  }

  .web-partnership-date {
    border-left: 0;
    padding-left: 0;
  }

  .web-partnership-content h2 {
    font-size: 35px;
  }

  .web-partnership-content p {
    font-size: 17px;
    line-height: 1.65;
  }

  .web-partnership-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .web-partnership-primary,
  .web-partnership-secondary {
    text-align: center;
  }
}
