html {
  font-size: 16px;
}

@media (max-width: 576px) {
  html {
    font-size: 15px;
  }
}


/* Styles for galenicaonline_home#index */
.galenica-hero {
  background-image: url("/images/galenica_online_header.png");
  background-size: cover;
  background-position: center;
  min-height: 50vh;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.galenica-hero__title {
  color: #fff;
  margin-bottom: 1rem;
}

.galenica-hero__cta {
  /* bootstrap btn classes already used */
}

/* Sections */
.section--intro {
  min-height: 25vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section--blue {
  background-color: #4c8fd1;
  color: #fff;
}

.section--therapeutic {
  background-color: #b0b848;
  color: #fff;
}

/* Cards grid */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.card--wide {
  width: 34rem;
}

/* Images inside cards */
.card-img--large {
  width: 15rem;
  margin: 0 auto;
  display: block;
}

/* Staff / partners cards */
.partner-card, .staff-card {
  width: 25rem;
}

/* Truncate helpers */
.text-truncate-max {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card--wide, .partner-card, .staff-card {
    width: 100%;
  }
}

footer {
  background-color: #095d7e;
  padding: 20px 0;
}
