/* Futo Math: education activity feature. */
#featured .futo-feature {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: #fffdf8;
  border-color: #dfd6c7;
}

#featured .futo-feature::before {
  background: #b84a32;
}

#featured .futo-feature:hover,
#featured .futo-feature:focus-visible {
  border-color: #b84a32;
}

.futo-feature-heading {
  width: 100%;
  padding: 1.5rem 1.5rem 1.15rem;
}

#featured .futo-feature .featured-link-source {
  color: #93432f;
  margin-bottom: 0.85rem;
}

#featured .futo-feature h3 {
  margin: 0 0 0.65rem;
  line-height: 1;
}

.futo-feature-logo {
  display: block;
  width: min(100%, 18rem);
  height: auto;
}

#featured .futo-feature .futo-feature-lead {
  color: #273b42;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.futo-feature-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 0.4rem;
  background: #eee6d8;
}

.futo-feature-media img {
  display: block;
  width: 100%;
  height: auto;
}

.futo-feature-body {
  width: 100%;
  padding: 1.25rem 1.5rem 1.5rem;
}

#featured .futo-feature .featured-link-action {
  color: #93432f;
}

@media screen and (max-width: 736px) {
  .futo-feature-heading { padding: 1.25rem 1.15rem 1rem; }
  .futo-feature-body { padding: 1.15rem; }
}

@media screen and (max-width: 520px) {
  .futo-feature-media { grid-template-columns: 1fr; }
}
