/* Case Study Grid V2 */
.cg2-section {
  --v2-text: #55708A;
  --v2-card-radius: 18px;
  --v2-chip-bg: #F3FAFE;
  --cg2-tile: linear-gradient(160deg, #1B3D6E 0%, #0A1E38 100%);
  background: #F6F9FC;
}
.cg2-section .v2-head {
  margin-bottom: 40px;
}

.cg2-section .cg2-count {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--v2-muted);
}
.cg2-section .cg2-grid {
  margin-top: 28px;
}
.cg2-section .cg2-empty {
  margin: 28px 0 0;
  padding: 28px;
  border: 1px dashed var(--v2-line);
  border-radius: 16px;
  color: var(--v2-muted);
}

/* cards */
.cg2-section .cg2-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--v2-line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cg2-section a.cg2-card:hover {
  border-color: #CAE2EE;
  box-shadow: 0 18px 36px -20px rgba(10, 30, 56, .28);
  transform: translateY(-3px);
}
.cg2-section .cg2-img {
  position: relative;
  flex: none;
  aspect-ratio: 580 / 372;
  overflow: hidden;
  background: #ECF5F9;
}
.cg2-section .cg2-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cg2-section a.cg2-card:hover .cg2-img img {
  transform: scale(1.035);
}
.cg2-section .cg2-img .v2-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  height: 32px;
  padding: 0 11px;
  gap: 7px;
  background: rgba(255, 255, 255, .94);
}
.cg2-section .cg2-card .v2-chip {
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: #12253F;
}
.cg2-section .cg2-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 22px;
}
.cg2-section .cg2-latest {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 100px;
  background: #F2EEFB;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5B3FA8;
}
.cg2-section .cg2-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: var(--v2-muted);
}
.cg2-section .cg2-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}
.cg2-section .cg2-card .v2-card-title {
  font-family: var(--v2-font-head);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}
.cg2-section .cg2-card .v2-card-text {
  font-size: 16px;
  line-height: 26px;
}
.cg2-section .cg2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.cg2-section .cg2-tags .v2-chip {
  height: 28px;
  padding: 0 11px;
  gap: 7px;
  white-space: nowrap;
}
.cg2-section .cg2-tags u {
  width: 6px;
  height: 6px;
  opacity: .55;
}
.cg2-section .cg2-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--v2-line);
}
.cg2-section .cg2-card .v2-link {
  font-size: 15px;
  line-height: 22px;
}
.cg2-section .cg2-status {
  padding: 3px 9px;
  border-radius: 100px;
  background: #FEF3E2;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: #9A5B12;
}

/* CTA tile */
.cg2-section .cg2-tile {
  border: 0;
  background: var(--cg2-tile);
}
.cg2-section .cg2-tile .cg2-body {
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 32px;
}
.cg2-section .cg2-tile .v2-eyebrow {
  color: #7FD3F5;
  background: rgba(76, 192, 238, .14);
}
.cg2-section .cg2-tile .v2-card-title {
  font-size: 22px;
  line-height: 30px;
  color: #FFFFFF;
}
.cg2-section .cg2-tile .v2-card-text {
  color: #B2C6D6;
}
.cg2-section .cg2-tile .v2-link {
  padding-top: 6px;
  color: #4CC0EE;
}

/* featured card: wide and horizontal while every card shows */
@media (min-width: 992px) {
  .cg2-section .cg2-feat:not(.cg2-feat-off) .cg2-card {
    flex-direction: row;
  }
  .cg2-section .cg2-feat:not(.cg2-feat-off) .cg2-img {
    flex: 0 0 54%;
    aspect-ratio: auto;
  }
  .cg2-section .cg2-feat:not(.cg2-feat-off) .cg2-body {
    padding: 32px;
  }
  .cg2-section .cg2-feat:not(.cg2-feat-off) .v2-card-title {
    font-size: 24px;
    line-height: 34px;
  }
  .cg2-section .cg2-feat-off {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width: 1200px) {
  .cg2-section .cg2-feat-off {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

/* Bootstrap breakpoints */
@media (max-width: 991px) {
  .cg2-section .v2-head-split .v2-head-aside {
    margin-top: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cg2-section a.cg2-card:hover,
  .cg2-section a.cg2-card:hover .cg2-img img {
    transform: none;
  }
}
