/* Home tiles are custom buttons. Set their text explicitly so iOS WebKit's
   native button and button:active blue cannot become the heading colour. */
#home #tiles .tile {
  -webkit-appearance: none;
  appearance: none;
  color: #171819;
  -webkit-text-fill-color: currentColor;
}

#home #tiles .tile h3 {
  color: #171819;
  -webkit-text-fill-color: currentColor;
}

/* Text fill is inherited, so captions keep their own muted colour. */
#home #tiles .tile p {
  color: #85827d;
  -webkit-text-fill-color: currentColor;
}

#home #tiles .tile:focus-visible {
  outline: 2px solid var(--o, #c88027);
  outline-offset: 4px;
}

/* Give the detailed approved illustrations their own space below the copy. */
#home #tiles .tile {
  padding-bottom: 148px;
  cursor: pointer;
}

#home #tiles .task-art-v21 {
  display: block;
  width: 150px;
  max-width: calc(100% - 36px);
  height: 112px;
  padding: 4px;
  right: 18px;
  bottom: 18px;
  border-radius: 14px;
  background: #f8f5ef;
  overflow: hidden;
  pointer-events: none;
}

#home #tiles .task-art-v21 > svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  stroke: none;
  fill: initial;
  border-radius: 10px;
}

@media (max-width: 900px) {
  #home #tiles .tile { padding-bottom: 126px; }
  #home #tiles .task-art-v21 { width: 124px; height: 94px; bottom: 14px; right: 14px; }
}
