.recipe-heading .recipe-review-line {
  align-items: center;
  gap: 10px 16px;
  margin-block: 15px;
}
.recipe-byline {
  display: grid;
  gap: 1px;
  text-align: end;
}
.recipe-byline small {
  color: #64564e;
  font-size: .84em;
}
.recipe-content .hero-photo {
  display: block;
  width: 100%;
}
.recipe-quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px 7px;
  margin-block-start: 12px;
  padding: 6px;
  border: 1px solid #e7ded8;
  border-radius: 14px;
}
.recipe-quick-links .button.outline {
  min-width: 0;
  min-height: 42px;
  gap: 6px;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #57473f;
  background: transparent;
  font-size: clamp(.85rem, 2.2vw, .95rem);
  font-weight: 600;
  line-height: 1.15;
}
.recipe-quick-links .button.outline:hover,
.recipe-quick-links .button.outline[aria-pressed="true"] {
  background: #f8efec;
  color: #8e090e;
}
.recipe-quick-links .button.outline .icon {
  width: 17px;
  height: 17px;
  flex: none;
  color: #97090f;
}
.recipe-favorite[aria-pressed="true"] .icon {
  fill: currentColor;
}
.recipe-quick-links .recipe-jump {
  grid-column: 1 / -1;
  justify-content: space-between;
  min-height: 47px;
  padding: 5px 8px 5px 13px;
  border: 1px solid #ecd8d2;
  border-radius: 9px;
  background: #fbf0eb;
  color: #8c090e;
  font-size: 1.1rem;
  text-decoration: none;
}
.recipe-quick-links .recipe-jump:hover {
  background: #f7e6df;
}
.recipe-jump-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #a8070b;
  color: white;
}
.recipe-jump-arrow .icon {
  width: 18px;
  height: 18px;
}
@media (prefers-reduced-motion: no-preference) {
  .recipe-jump.is-visible .recipe-jump-arrow .icon {
    animation: recipe-arrow-nudge .75s ease-in-out 2;
  }
  @keyframes recipe-arrow-nudge {
    50% { transform: translateY(4px); }
  }
}
.recipe-overview, .recipe-contents, .recipe-practical, .recipe-nutrition {
  margin: 15px 0 0;
  padding: 13px;
  border: 1px solid #e9ded7;
  border-radius: 12px;
  background: #fff;
}
.recipe-overview {
  background: #fcf6ed;
}
.recipe-overview h2, .recipe-contents h2, .recipe-practical h2, .recipe-nutrition h2 {
  margin: 0 0 8px;
  color: #342923;
  font-size: 1.3rem;
}
.recipe-overview ul, .recipe-contents ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.recipe-overview ul, .recipe-advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.recipe-overview li {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 4px 6px;
  font-size: .88rem;
  color: #58493f;
}
.recipe-overview li + li {
  border-inline-start: 1px solid #e7d9cc;
}
.recipe-overview li strong {
  color: #820910;
  font-size: 1rem;
}
.recipe-contents ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.recipe-contents a {
  display: block;
  padding: 5px 9px;
  border: 1px solid #e7dcd5;
  border-radius: 7px;
  color: #820910;
  font-size: .9rem;
  font-weight: 600;
}
.recipe-contents a:hover {
  background: #faf0ed;
}
.recipe-editorial {
  margin-block-start: 22px;
  line-height: 1.62;
}
.recipe-editorial h2 {
  margin-block: 22px 8px;
  font-size: 1.45rem;
}
.recipe-editorial p {
  margin-block: 0 12px;
}
.recipe-reference-disclosure {
  margin-block: 10px 16px;
  padding-block: 8px;
  border-block-start: 1px solid #e9ded7;
  color: #58493f;
  font-size: .9rem;
}
.recipe-reference-disclosure summary {
  width: fit-content;
  min-height: 34px;
  padding-block: 5px;
  cursor: pointer;
  font-weight: 600;
}
.recipe-reference-disclosure ul {
  margin-block: 4px 0;
  padding-inline-start: 24px;
}
.recipe-reference-disclosure li {
  margin-block: 4px;
}
.recipe-advice-grid section {
  padding: 10px;
  background: #faf7f3;
  border-radius: 7px;
}
.recipe-advice-grid h3 {
  margin: 0 0 4px;
  font-size: 1.03rem;
}
.recipe-advice-grid p, .recipe-nutrition p {
  margin: 0;
  line-height: 1.48;
  color: #58493f;
}
.recipe-nutrition table { width: 100%; margin: .75rem 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.recipe-nutrition :is(th,td) { padding: .55rem .4rem; border-bottom: 1px solid #ebded5; text-align: right; }
.recipe-nutrition th:first-child { text-align: left; }
.recipe-nutrition td { white-space: nowrap; }
.recipe-nutrition thead { background: #f8f4ef; }
.recipe-advice-grid a {
  font-size: .85rem;
  text-decoration: underline;
}
.recipe-practical-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-block: 18px 0;
}
.recipe-practical-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 1 1 265px;
  gap: 6px;
  margin: 0;
}
.recipe-practical-summary dl div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 9px;
  padding: 5px 8px;
  background: #f8f5f0;
  border-radius: 6px;
  font-size: .88rem;
}
.recipe-practical-summary dd {
  margin: 0;
  font-weight: 700;
}
.recipe-yield {
  text-align: center;
  color: #58493f;
}
.recipe-screen:not([hidden]) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-block: 0 14px;
  font-size: .86rem;
  color: #58493f;
}
.recipe-screen .button {
  min-height: 40px;
  padding: 5px 9px;
  border-radius: 7px;
}
.recipe-switch {
  display: grid;
  align-items: center;
  width: 27px;
  height: 16px;
  padding: 2px;
  border-radius: 20px;
  background: #745f55;
}
.recipe-switch::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}
[aria-pressed="true"] .recipe-switch {
  justify-items: end;
  background: #9a0b12;
}
.recipe-content :is(#ingredient-title, #steps-title, #recipe-story, #recipe-nutrition, .recipe-advice-grid section) {
  scroll-margin-top: 1rem;
}
#recipe-share-dialog input {
  width: 100%;
  margin-block: 5px 10px;
}

@media (max-width: 540px) {
  .recipe-advice-grid { grid-template-columns: 1fr; }
  .recipe-overview ul { gap: 3px; }
  .recipe-overview li { padding-inline: 4px; }
  .recipe-quick-links { gap: 4px; padding: 5px; }
  .recipe-quick-links .button.outline { gap: 4px; }
  .recipe-quick-links .button.outline .icon { width: 15px; height: 15px; }
}
@media print {
  .recipe-quick-links, .recipe-screen, .recipe-contents, .recipe-practical-summary button {
    display: none !important;
  }
}
