/* Only the collection's card and material-review action areas are adapted. */
main[data-corner-typography="collection"] #collection .card > a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding-block: 10px;
}

main[data-corner-typography="collection"] .corner-material-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

main[data-corner-typography="collection"] .corner-material-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #a6601b;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

main[data-corner-typography="collection"] .corner-material-actions > .corner-material-secondary {
  padding-inline: 12px;
  border-color: transparent;
  background: transparent;
  color: #254438;
  font-size: 15px;
  line-height: 22.5px;
}

main[data-corner-typography="collection"] .corner-material-primary:hover {
  background: #8b5017;
}

main[data-corner-typography="collection"] .corner-material-secondary:hover {
  color: #173e5c;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

main[data-corner-typography="collection"] .corner-material-actions > a:focus-visible {
  outline: 3px solid #a6601b;
  outline-offset: 3px;
}
