
.kelly-media-section {
  background: #ffffff;
  padding: 70px 20px 80px;
}

.kelly-media-section__inner,
.kelly-awards-section__inner {
  max-width: 1290px;
  margin: 0 auto;
}

.kelly-media-section__heading,
.kelly-awards-section__heading {
  margin: 0 0 48px;
  text-align: center;
  font-family: "Poppins", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2rem, 2.2vw, 3rem);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.kelly-media-section__heading {
  color: #111111;
}

.kelly-media-grid {
  display: grid;
  gap: 20px;
}

.kelly-media-grid--1 { grid-template-columns: 1fr; }
.kelly-media-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kelly-media-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kelly-media-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.kelly-media-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kelly-media-card__image-wrap {
  background: #dddddd;
  overflow: hidden;
}

.kelly-media-card__image-link {
  display: block;
}

.kelly-media-card__image {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.kelly-media-card__image--placeholder {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0)),
    #c9c9c9;
}

.kelly-media-card__content {
  background: #56728b;
  color: #ffffff;
  padding: 16px 18px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 152px;
}

.kelly-media-card__title {
  margin: 0 0 18px;
  color: #ffffff;
  text-align: center;
  font-family: "Poppins", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  line-height: 1.25;
  font-weight: 700;
  max-width: 14ch;
}

.kelly-media-card__button,
.kelly-media-section__cta-button,
.kelly-awards-section__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  text-align: center;
  text-decoration: none;
  font-family: "Poppins", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  box-sizing: border-box;
}

.kelly-media-card__button {
  min-width: 190px;
  padding: 14px 22px;
  border: 2px solid rgba(255,255,255,0.95);
  color: #ffffff;
  background: transparent;
}

.kelly-media-card__button:hover,
.kelly-media-card__button:focus {
  background: #ffffff;
  color: #324a60;
  transform: translateY(-1px);
}

.kelly-media-card__button--disabled {
  opacity: .75;
  cursor: default;
}

.kelly-media-section__cta,
.kelly-awards-section__cta {
  text-align: center;
  margin-top: 54px;
}

.kelly-media-section__cta-button {
  min-width: 240px;
  padding: 16px 28px;
  border: 2px solid #111111;
  color: #1b2f4b;
  background: transparent;
}

.kelly-media-section__cta-button:hover,
.kelly-media-section__cta-button:focus {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
}

.kelly-awards-section {
  background: #56728b;
  padding: 78px 20px 96px;
  color: #ffffff;
}

.kelly-awards-section__heading {
  color: #ffffff;
  margin-bottom: 16px;
}

.kelly-awards-section__rule {
  width: 100px;
  height: 2px;
  background: rgba(255,255,255,0.92);
  margin: 0 auto 28px;
}

.kelly-awards-section__intro {
  margin: 0 auto 54px;
  max-width: 820px;
  text-align: center;
  color: rgba(255,255,255,0.96);
  font-family: "Poppins", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1rem, 1.05vw, 1.15rem);
  line-height: 1.6;
  font-weight: 300;
}

.kelly-awards-grid {
  display: grid;
  gap: 34px 34px;
  justify-content: center;
}

.kelly-awards-grid--1 { grid-template-columns: 1fr; }
.kelly-awards-grid--2 { grid-template-columns: repeat(2, minmax(240px, 320px)); }
.kelly-awards-grid--3 { grid-template-columns: repeat(3, minmax(240px, 1fr)); }
.kelly-awards-grid--4 { grid-template-columns: repeat(4, minmax(200px, 1fr)); }

.kelly-awards-item {
  text-align: center;
  color: #ffffff;
  min-width: 0;
}

.kelly-awards-item__link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.kelly-awards-item__link:hover .kelly-awards-item__title,
.kelly-awards-item__link:focus .kelly-awards-item__title {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.kelly-awards-item__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  color: #ffffff;
}

.kelly-awards-item__icon svg,
.kelly-awards-item__icon-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.kelly-awards-item__title {
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
  font-family: "Poppins", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.34;
  font-weight: 700;
}

.kelly-awards-section__cta-button {
  min-width: 215px;
  padding: 16px 28px;
  border: 2px solid rgba(255,255,255,0.95);
  color: #ffffff;
  background: transparent;
}

.kelly-awards-section__cta-button:hover,
.kelly-awards-section__cta-button:focus {
  background: #ffffff;
  color: #56728b;
  transform: translateY(-1px);
}


/* Awards layout refinements */
.kelly-awards-grid--3 {
  align-items: start;
}

.kelly-awards-grid--3 > .kelly-awards-item:nth-child(4):last-child,
.kelly-awards-grid--3 > .kelly-awards-item:nth-child(5):last-child {
  grid-column: 2;
}

.kelly-awards-grid--3 > .kelly-awards-item:nth-child(4):nth-last-child(2) {
  grid-column: 1;
}

.kelly-awards-grid--3 > .kelly-awards-item:nth-child(5):last-child {
  grid-column: 3;
}

.kelly-awards-grid--3 > .kelly-awards-item:nth-child(4):last-child {
  grid-column: 2;
}

@media (max-width: 1024px) {
  .kelly-media-grid--4,
  .kelly-media-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kelly-awards-grid--4,
  .kelly-awards-grid--3 {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 680px) {
  .kelly-media-section {
    padding: 52px 16px 60px;
  }

  .kelly-awards-section {
    padding: 58px 16px 66px;
  }

  .kelly-media-section__heading,
  .kelly-awards-section__heading {
    margin-bottom: 24px;
  }

  .kelly-awards-section__rule {
    margin-bottom: 22px;
  }

  .kelly-awards-section__intro {
    margin-bottom: 34px;
  }

  .kelly-media-grid--4,
  .kelly-media-grid--3,
  .kelly-media-grid--2,
  .kelly-awards-grid--4,
  .kelly-awards-grid--3,
  .kelly-awards-grid--2 {
    grid-template-columns: 1fr;
  }

  .kelly-media-card__content {
    min-height: 0;
  }

  .kelly-media-card__title {
    max-width: none;
  }

  .kelly-media-card__button,
  .kelly-media-section__cta-button,
  .kelly-awards-section__cta-button {
    width: 100%;
  }
}
