body.cms-recipes .page-main { max-width: 1360px; }
.sg-recipes {
    box-sizing: border-box;
    color: #1a1a1a;
    font-family: Epilogue, Arial, sans-serif;
    margin: 0 auto;
    max-width: 1330px;
    padding: 24px 15px 64px;
}
.sg-recipes__heading { align-items: center; display: flex; justify-content: center; margin: 0 0 18px; min-height: 130px; position: relative; }
.sg-recipes__hearts { height: auto; left: 15px; position: absolute; top: 0; width: 140px; }
.sg-recipes h1 { color: #41a9aa; font-family: Marydale, "Marydale Bold", cursive; font-size: 60px; font-weight: 400; line-height: 1.2; margin: 0; text-align: center; text-transform: uppercase; }
.sg-recipes__search { align-items: stretch; display: flex; gap: 8px; margin: 0 auto 30px; max-width: 860px; scroll-margin-top: 140px; }
.sg-recipes__search input, .sg-recipes__search select { border: 1px solid #c8c8c8; border-radius: 0; box-sizing: border-box; color: #424242; font: inherit; font-size: 15px; min-height: 44px; padding: 8px 12px; }
.sg-recipes__search input { flex: 1 1 430px; min-width: 0; }
.sg-recipes__search select { flex: 0 1 250px; }
.sg-recipes__search button { background: #257a7b; border: 0; color: #fff; cursor: pointer; font-family: Poppins, Epilogue, Arial, sans-serif; font-size: 15px; font-weight: 700; min-height: 44px; padding: 8px 26px; }
.sg-recipes__search button:hover, .sg-recipes__search button:focus { background: #1e6667; }
.sg-recipes__grid { display: grid; gap: 19px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto; max-width: 1181px; }
.sg-recipes__card { background: #fff; box-shadow: 0 3px 11px rgb(0 0 0 / 25%); color: #1a1a1a; display: flex; flex-direction: column; min-width: 0; text-decoration: none; }
.sg-recipes__card:visited, .sg-recipes__card:hover, .sg-recipes__card:focus { color: #1a1a1a; text-decoration: none; }
.sg-recipes__image { aspect-ratio: 1 / 1; background: #fafafa; display: block; height: auto; object-fit: cover; width: 100%; }
.sg-recipes__grid--results .sg-recipes__image { aspect-ratio: 4 / 3; }
.sg-recipes__image--empty { background: #f6f3ec; }
.sg-recipes__card-title { align-items: center; background: #eaf4f0; display: flex; flex: 1 0 auto; font-family: Poppins, Epilogue, Arial, sans-serif; font-size: 16px; font-weight: 700; justify-content: center; line-height: 1.5; padding: 15px; text-align: center; transition: color 0.2s ease; }
.sg-recipes__card:hover .sg-recipes__card-title, .sg-recipes__card:focus-visible .sg-recipes__card-title { color: #d35f02; }
.sg-recipes__results-summary { align-items: baseline; color: #696969; display: flex; flex-wrap: wrap; font-size: 15px; gap: 8px 24px; justify-content: space-between; margin: 0 auto 16px; max-width: 1181px; }
.sg-recipes__results-summary a, .sg-recipes__results-summary a:visited { color: #257a7b; font-weight: 700; }
.sg-recipes__pagination { align-items: center; display: flex; gap: 20px; justify-content: center; margin: 34px 0 0; }
.sg-recipes__pagination a, .sg-recipes__pagination a:visited { color: #257a7b; font-weight: 700; }
.sg-recipes__empty { background: #f7f7f7; margin: 0 auto; max-width: 1181px; padding: 18px; }
.sg-recipes__visually-hidden { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.sg-recipe-detail { color: #454545; font-family: "Roboto Condensed", Arial, sans-serif; font-size: 17px; line-height: 1.55; margin: 0 auto; max-width: 1110px; }
body.sg-recipe-page .page-main { box-sizing: border-box; margin: 0 auto; max-width: 1140px; padding: 18px 15px 56px; width: 100%; }
body.sg-recipe-page .columns { display: block; margin: 0; max-width: none; }
body.sg-recipe-page .column.main { box-sizing: border-box; float: none; margin: 0; padding: 0; width: 100%; }
.sg-recipe-breadcrumb { font-size: 15px; margin: 0 0 12px; }
.sg-recipe-breadcrumb a { color: #257a7b; text-decoration: underline; text-underline-offset: 3px; }
.sg-recipe-detail__header { margin: 0 0 18px; }
.sg-recipe-detail h1 { color: #663300; font-family: "Open Sans", Arial, sans-serif; font-size: 27px; font-weight: 700; line-height: 1.25; margin: 0; }
.sg-recipe-overview { align-items: start; display: grid; gap: 30px; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.sg-recipe-overview__photo { min-width: 0; }
.sg-recipe-overview__copy { min-width: 0; }
.sg-recipe-section { margin: 22px 0; max-width:72ch; }
.sg-recipe-overview .sg-recipe-section { margin-top: 0; }
.sg-recipe-section h2 { border-bottom: 1px solid #e6a51c; color: #663300; font-family: "Roboto Condensed", Arial, sans-serif; font-size: 21px; font-weight: 700; line-height: 1.3; margin: 0 0 12px; padding: 0 0 6px; }
.sg-recipe-section p, .sg-recipe-section li { font-size: 17px; line-height: 1.55; }
.sg-recipe-section ul, .sg-recipe-section ol { padding-left: 24px; }
.sg-recipe-pdf { background: #257a7b; color: #fff !important; display: inline-block; font-weight: 700; margin: 0 0 18px; padding: 10px 18px; text-decoration: none !important; }
.sg-recipe-pdf:hover, .sg-recipe-pdf:focus { background: #1e6667; color: #fff !important; text-decoration: none !important; }
.sg-recipe-photo { display: block; height: auto; margin: 0; max-width: 340px; width: 100%; }
.sg-recipe-unavailable { background: #f7f7f7; color: #454545; margin: 20px 0; padding: 14px 16px; }
.sg-recipes :where(a, button, input, select):focus-visible { outline: 3px solid #257a7b; outline-offset: 2px; }
body.sg-recipe-page .sg-recipe-detail :where(a):focus-visible { outline: 3px solid #257a7b; outline-offset: 3px; }
@media (max-width: 767px) {
    body.sg-recipe-page .page-main { padding: 16px 16px 38px; }
    .sg-recipe-overview { gap: 18px; grid-template-columns: minmax(0, 1fr); }
    .sg-recipe-overview__photo { order: 0; }
    .sg-recipe-overview__copy { order: 1; }
    .sg-recipe-photo { margin: 0 auto; max-width: 340px; }
    .sg-recipe-detail h1 { font-size: 24px; }
}
@media (max-width: 1100px) {
    .sg-recipes__heading { padding-left: 120px; padding-right: 120px; }
    .sg-recipes__hearts { width: 110px; }
}
@media (max-width: 767px) {
    .sg-recipes { padding: 16px 16px 40px; }
    .sg-recipes__heading { flex-direction: column; min-height: 0; padding: 0; }
    .sg-recipes__hearts { position: static; width: 84px; }
    .sg-recipes h1 { font-size: 40px; }
    .sg-recipes__search { flex-wrap: wrap; }
    .sg-recipes__search input { flex-basis: 100%; }
    .sg-recipes__search select { flex: 1 1 55%; min-width: 0; }
    .sg-recipes__search button { flex: 1 1 30%; padding: 8px 10px; }
    .sg-recipes__grid { gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sg-recipes__card-title { font-size: 14px; padding: 10px; }
}
@media (max-width: 430px) {
    .sg-recipes__grid { grid-template-columns: 1fr; }
}
