/* Homepage recognition: full-width story above two equal image cards. */
.home .ng-certificate-gallery {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch;
  gap: 24px;
}

.home .ng-certificate-gallery > .ng-recognition-copy {
  flex: 0 0 100%;
  width: 100%;
  order: 1;
}

.home .ng-certificate-gallery > .wp-block-column {
  flex: 1 1 calc(50% - 12px);
  min-width: 0;
  order: 2;
}

.home .ng-certificate-gallery .ng-recognition-copy {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(24px, 3vw, 34px);
  text-align: left;
  color: #312b25;
  background: linear-gradient(135deg, rgba(184,134,11,.10), transparent 42%), #fffdf8;
  border: 1px solid rgba(184,134,11,.42);
  border-top: 4px solid #b8860b;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(23,20,18,.13);
}

.home .ng-certificate-gallery .ng-recognition-copy::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -56px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(184,134,11,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(184,134,11,.05);
  pointer-events: none;
}

.home .ng-certificate-gallery .ng-recognition-kicker {margin:0 0 11px!important;color:#8b1a1a;font-size:13px;font-weight:750;line-height:1.35;letter-spacing:.11em;text-transform:uppercase}
.home .ng-certificate-gallery .ng-recognition-copy h3 {position:relative;z-index:1;margin:0 0 16px;color:#171412;font-size:clamp(25px,2.15vw,34px);line-height:1.12;text-wrap:balance}
.home .ng-certificate-gallery .ng-recognition-copy h3 em {color:#7a5400;font-weight:inherit}
.home .ng-certificate-gallery .ng-recognition-copy p:not(.ng-recognition-kicker) {position:relative;z-index:1;margin:0;color:#4a4138;font-size:clamp(16px,1.25vw,18px);line-height:1.7}
.home .ng-certificate-gallery .ng-recognition-copy p + p {margin-top:13px}
.home .ng-certificate-gallery .ng-recognition-copy strong {color:#671515;font-weight:750}

@media (max-width:782px) {
  .home .ng-certificate-gallery {display:flex!important;flex-direction:column;gap:18px}
  .home .ng-certificate-gallery > .wp-block-column {flex:0 0 auto;width:100%;min-width:0}
  .home .ng-certificate-gallery > .wp-block-column:nth-of-type(2) {order:1}
  .home .ng-certificate-gallery > .ng-recognition-copy {order:2}
  .home .ng-certificate-gallery > .wp-block-column:nth-of-type(1) {order:3}
  .home .ng-certificate-gallery .ng-recognition-copy {padding:22px 20px}
  .home .ng-certificate-gallery .ng-recognition-copy h3 {font-size:clamp(24px,8vw,30px)}
}

