/* Task shortcuts used by the TPLO recovery guide. */
.recovery-task-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.recovery-task-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.recovery-task-links a:hover,
.recovery-task-links a:focus-visible {
  border-color: var(--navy);
  background: var(--soft-blue);
}

@media (max-width: 560px) {
  .recovery-task-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .recovery-task-links a {
    justify-content: center;
    padding-inline: 8px;
    font: 600 .875rem/1.3 var(--acvs-heading, system-ui);
    text-align: center;
    overflow-wrap: anywhere;
  }
}

.tplo-postop-page #main-content .tplo-faq-page > details.editorial-reading-section {
  margin-block: 0;
  padding-block: 0;
}
.tplo-postop-page #main-content .tplo-complications-section {
  gap: 12px;
  margin-block-start: 0;
  padding-block-start: 6px;
}
.tplo-postop-page #main-content .tplo-complications-section > :is(h2, p) {
  margin-block: 0;
}
.tplo-postop-page #main-content .tplo-complications-section > .accordion > details.editorial-reading-section {
  margin: 0;
  padding: 0;
}
.tplo-postop-page #main-content .tplo-recovery-questions {
  margin-block-end: 0;
  padding-block-end: 4px;
}
.tplo-postop-page #main-content .tplo-recovery-questions > .accordion {
  margin-block-start: 16px;
}
@media (max-width: 560px) {
  #tplo-concern-incision .tplo-faq-group-head .button {
    width: 100%;
    min-height: 48px;
  }
}

/* Give a text-only album card the full card width. */
.stage-album-card > .album-card-copy:only-child {
  grid-column: 1 / -1;
}
