#work-from-home {
  padding: 0 1em;
  max-width: 1024px;
}
@media screen and (max-width: 767px) {
  #work-from-home {
    max-width: 100%;
  }
}

#work-from-home {
  padding: 0 1em;
  margin: 0 auto;
}

@media screen and (min-width: 1025px) {
  .wfh-grid-container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-auto-rows: minmax(150px, auto);
    grid-gap: 5px;
    margin-right: auto;
    margin-left: auto;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .wfh-grid-container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-auto-rows: minmax(150px, auto);
    grid-gap: 5px;
    margin-right: auto;
    margin-left: auto;
  }
}

.wfh-grid-cell {
  background-size: cover;
  position: relative;
  font-size: 13px;
}
@media screen and (max-width: 767px) {
  .wfh-grid-cell {
    min-width: 100%;
    min-height: 200px;
    margin-bottom: 10px;
  }
}
.wfh-grid-cell:hover .wfh-grid-caption {
  max-height: 500px;
}

.wfh-grid-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #ffd939;
  color: #0a0a0a;
  font-weight: bold;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.65s linear;
  opacity: 0.9;
}

.wfh-grid-caption-wrapper {
  padding: 10px;
}

.wfh-grid-caption-attribution {
  text-align: right;
}
.wfh-grid-caption-attribution a {
  background-color: #318185;
  border-top-left-radius: 5px;
  color: white;
  padding: 0.25em 0.75em;
}

@media screen and (min-width: 1025px) {
  .controller-who.action-wfh p {
    max-width: 75%;
  }
}

.controller-who.action-tips iframe {
  min-height: 1000px;
}

.controller-who.action-wfh .intro-text, .controller-who.action-tips .intro-text {
  font-size: 130%;
}
