.ms-brand-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
  font-family: Segoe UI, Helvetica Neue, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #000;
}

.ms-brand-page h1,
.ms-brand-page h2,
.ms-brand-page h3 {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 700;
}

.ms-brand-page h1 { font-size: 30px; }
.ms-brand-page h2 { font-size: 24px; }
.ms-brand-page h3 { font-size: 20px; }

.ms-brand-page p {
  margin: 0 0 18px;
}

.ms-brand-page a {
  color: #434f2b;
  text-decoration: underline;
}

.ms-brand-page a:hover {
  color: #d6ae7b;
}

.ms-brand-hero {
  position: relative;
  margin: 0 0 46px;
  overflow: hidden;
}

.ms-brand-hero img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.ms-brand-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 38px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.42), rgba(0,0,0,0));
}

.ms-brand-hero__content h1,
.ms-brand-hero__content p {
  color: #fff;
  max-width: 850px;
}

.ms-brand-lead {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0;
}

.ms-brand-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 34px 0 48px;
}

.ms-brand-row--reverse {
  flex-direction: row-reverse;
}

.ms-brand-col--text {
  flex-basis: 62%;
  min-width: 0;
}

.ms-brand-col--image {
  flex-basis: 38%;
  text-align: center;
  min-width: 0;
}

.ms-brand-page figure {
  margin: 0;
}

.ms-brand-page img {
  display: block;
  margin: 0 auto;
}

.ms-brand-img {
  width: 100%;
  max-width: 380px;
  max-height: 280px;
  height: auto;
  object-fit: contain;
}

.ms-brand-box,
.ms-brand-products {
  background: #f6f6f2;
  padding: 24px;
  margin: 38px 0;
}

.ms-brand-box h2,
.ms-brand-products h2 {
  margin-top: 0;
}

.ms-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ms-brand-card {
  background: #fff;
  padding: 22px;
  border: 1px solid #e5e5df;
}

.ms-brand-card h3 {
  margin-top: 0;
}

@media (max-width: 780px) {
  .ms-brand-hero img {
    height: 360px;
  }

  .ms-brand-hero__content {
    position: static;
    color: #000;
    background: #f6f6f2;
    padding: 22px;
  }

  .ms-brand-hero__content h1,
  .ms-brand-hero__content p {
    color: #000;
  }

  .ms-brand-row,
  .ms-brand-row--reverse {
    flex-direction: column;
    align-items: flex-start;
  }

  .ms-brand-col--text,
  .ms-brand-col--image {
    width: 100%;
    flex-basis: auto;
  }

  .ms-brand-img {
    max-width: 100%;
    max-height: 280px;
  }

  .ms-brand-grid {
    grid-template-columns: 1fr;
  }
}