:root {
  --blue: #102f75;
  --royal: #264b91;
  --red: #686b70;
  --ink: #0b1d3c;
  --muted: #666a73;
  --line: #d9dde4;
  --soft: #f4f6f9;
}

.brand-logo {
  display: block;
  width: 205px;
  height: auto;
}

.main-nav .contact-link,
.button.primary {
  background: #102f75;
  box-shadow: 0 8px 22px rgba(16, 47, 117, .24);
}

.section-heading p,
.news-grid small {
  color: #686b70;
}

.section-heading span {
  background: linear-gradient(90deg, #102f75 0 68%, #686b70 68%);
}

.product-grid {
  align-items: stretch;
}

.product-card {
  padding: 0;
  min-height: 430px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.product-photo {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #f7f8fa;
  border-bottom: 1px solid var(--line);
  transition: transform .35s ease;
}

.product-card:hover .product-photo {
  transform: scale(1.035);
}

.product-body {
  padding: 24px 28px 26px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-card h3 {
  margin-top: 0;
}

.product-card p {
  margin-bottom: 22px;
}

.product-card a {
  position: static;
  margin-top: auto;
}

.product-card.featured .product-photo {
  border-bottom-color: rgba(255, 255, 255, .2);
}

.footer-logo {
  width: 230px;
  max-width: 100%;
  height: auto;
  display: block;
  background: white;
  border-radius: 2px;
  margin-bottom: 16px;
}

.footer-grid {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2.4fr);
}

.footer-grid > div {
  min-width: 0;
}

.footer-grid a,
.footer-grid p {
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .brand-logo { width: 170px; }
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-logo { width: 145px; }
  .product-card { min-height: 410px; }
  .product-photo { height: 195px; }
}
