.ees-partners--home {
  margin: 8px auto 28px;
  max-width: 1140px;
}

.ees-partners-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ees-partner-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 16px 14px;
  background: #fff;
  border: 1px solid rgba(11, 46, 74, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(11, 46, 74, 0.08);
  box-sizing: border-box;
}

.ees-partner-logo-link img,
.ees-partner-logo-wrap img {
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 1 !important;
  filter: none !important;
  flex-shrink: 0;
}

.ees-partner-logo-link img {
  max-height: 86px;
}

.ees-partner-logo-link:hover {
  border-color: #1070b8;
}

.ees-partners--page {
  margin-top: 8px;
}

.ees-partners-kicker {
  margin: 28px 0 6px;
  color: #c82028;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ees-partners-heading {
  margin: 0 0 22px;
  color: #0b2e4a;
  font-family: "Myriad Pro", "Source Sans 3", Arial, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.ees-partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.ees-partners-grid--two {
  grid-template-columns: 1fr 1fr;
}

.ees-partner-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 22px;
  background: #fff;
  border: 1px solid rgba(11, 46, 74, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(11, 46, 74, 0.1);
  text-decoration: none;
  scroll-margin-top: 120px;
  overflow: hidden;
  min-width: 0;
}

.ees-partner-card::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #0b2e4a, #1070b8 55%, #f7ca18);
}

.ees-partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  margin: 16px 18px 4px;
  padding: 16px;
  background: #f4f7fb;
  border-radius: 8px;
  box-sizing: border-box;
}

.ees-partner-logo-wrap img {
  max-height: 112px;
}

.ees-partner-name,
.ees-partner-full {
  padding-left: 20px;
  padding-right: 20px;
}

.ees-partner-name {
  color: #0b2e4a;
  font-family: "Myriad Pro", "Source Sans 3", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.ees-partner-full {
  color: #3a4a58;
  font-size: 15px;
  line-height: 1.45;
}

.ees-partner-card:hover .ees-partner-name {
  color: #1070b8;
}

.home .cncsu-partners.alignfull {
  background: #ffffff;
}

@media (max-width: 900px) {
  .ees-partners-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ees-partners-grid,
  .ees-partners-grid--two {
    grid-template-columns: 1fr;
  }

  .ees-partner-logo-wrap {
    min-height: 168px;
    margin: 14px 14px 2px;
  }

  .ees-partner-logo-wrap img {
    max-height: 132px;
    max-width: 92%;
  }

  .ees-partner-logo-link {
    min-height: 112px;
  }

  .ees-partner-logo-link img {
    max-height: 92px;
  }

  .ees-partner-name {
    font-size: 22px;
  }
}

body:not(.home) .hero-section[data-type="type-2"],
html body.single:not(.home) .hero-section[data-type="type-2"],
html body.single-post:not(.home) .hero-section[data-type="type-2"] {
  position: relative;
  min-height: 286px !important;
  height: 286px !important;
}

html body:not(.home) .hero-section[data-type="type-2"] > [class*="ct-container"],
html body:not(.home) .hero-section[data-type="type-2"] .entry-header,
html body.single:not(.home) .hero-section[data-type="type-2"] > [class*="ct-container"],
html body.single:not(.home) .hero-section .entry-header,
html body.single-post:not(.home) .hero-section[data-type="type-2"] > [class*="ct-container"],
html body.single-post:not(.home) .hero-section .entry-header {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  justify-content: flex-start !important;
  padding-top: 58px !important;
  padding-bottom: 24px !important;
}

body:not(.home) .hero-section[data-type="type-2"] > figure,
body:not(.home) .hero-section[data-type="type-2"] > figure .ct-media-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body:not(.home) .hero-section[data-type="type-2"] > figure .ct-media-container:after {
  background: transparent !important;
}

body:not(.home) .hero-section[data-type="type-2"] > figure .ct-media-container img {
  opacity: 0 !important;
}

body:not(.home) .hero-section[data-type="type-2"] .page-title {
  color: #fff !important;
  font-family: "Myriad Pro", "Source Sans 3", Arial, sans-serif !important;
  font-weight: 400 !important;
  text-shadow: 0 2px 18px rgba(8, 22, 40, 0.45);
}

body:not(.home) .hero-section[data-type="type-2"] .ct-breadcrumbs,
body:not(.home) .hero-section[data-type="type-2"] .ct-breadcrumbs a,
body:not(.home) .hero-section[data-type="type-2"] .ct-breadcrumbs span {
  color: #fff !important;
}

body:not(.home) .hero-section[data-type="type-2"] .ct-breadcrumbs a {
  color: #f7ca18 !important;
}

.ees-page-banner-logos {
  background: #fff;
  border-bottom: 1px solid rgba(11, 46, 74, 0.08);
  box-shadow: 0 8px 22px rgba(11, 46, 74, 0.06);
}

.ees-page-banner-logos__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.ees-page-banner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 120px;
  min-height: 64px;
  padding: 6px 10px;
}

.ees-page-banner-logo img {
  display: block;
  max-height: 56px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
}

@media (max-width: 999.98px) {
  body:not(.home) .hero-section[data-type="type-2"],
  html body.single:not(.home) .hero-section[data-type="type-2"],
  html body.single-post:not(.home) .hero-section[data-type="type-2"] {
    min-height: 220px !important;
    height: 220px !important;
  }

  .ees-page-banner-logos {
    overflow: hidden;
  }

  .ees-page-banner-logos__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 8px 10px;
  }

  .ees-page-banner-logo {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    padding: 2px 3px;
  }

  .ees-page-banner-logo img {
    max-height: 28px;
    max-width: 100%;
    width: auto;
    height: auto;
  }
}
