/* Keep training actions inside their own cards at every breakpoint. */
.feature-section .row > [class*="col-"] {
  display: flex;
  padding-bottom: 36px;
}
.feature-section .feature-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 0;
}
.feature-section .feature-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.feature-section .feature-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 25px;
}
.feature-section .feature-content .link {
  margin-top: auto;
  padding-top: 20px;
}
.feature-section .feature-box .link a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inset: auto;
  line-height: 1;
}
.footer-bottom-area,
.footer-bottom-area span,
.footer-bottom-area a.text-dark-color {
  color: #fff;
}
.footer-bottom-area a:hover {
  text-decoration: underline;
}
.page-photo-section {
  margin-top: 32px;
}
.page-photo-section h4 {
  margin-bottom: 20px;
}
.page-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.page-photo-grid a {
  display: block;
}
.page-photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
@media (max-width: 575px) {
  .page-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* Consistent logo cards without stretching or cropping brand artwork. */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.client-item.reference-card {
  box-sizing: border-box;
  height: 212px;
  padding: 22px 18px 16px;
  border: 1px solid #e9ecf1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(34, 41, 53, .035);
  text-align: center;
}
.reference-card:hover {
  border-color: #e8b9c1;
  box-shadow: 0 6px 20px rgba(34, 41, 53, .08);
}
.reference-logo {
  display: flex;
  height: 112px;
  align-items: center;
  justify-content: center;
}
.client-item .reference-logo img {
  width: 100%;
  height: 112px;
  object-fit: contain;
  object-position: center;
}
.reference-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 16px;
  color: #343b48;
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
}
.client-items .owl-stage-outer {
  padding: 8px 0 12px;
}
.client-items .owl-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.client-items .owl-nav button.owl-prev,
.client-items .owl-nav button.owl-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  margin: 0;
  border: 1px solid #e9ecf1;
  border-radius: 50%;
  background: #fff;
  color: #d80d30;
}
.client-items .owl-nav button:hover {
  background: #d80d30;
  color: #fff;
}
.client-items .owl-nav button:focus-visible {
  outline: 2px solid #d80d30;
  outline-offset: 3px;
}
.client-items .owl-nav.disabled {
  display: none;
}
@media (max-width: 991px) {
  .reference-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 575px) {
  .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .client-item.reference-card { height: 184px; padding: 18px 12px 14px; }
  .reference-logo, .client-item .reference-logo img { height: 92px; }
  .reference-name { margin-top: 12px; font-size: 12px; line-height: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .reference-card, .reference-card img { transition: none; }
}
