/* Course recipe view v1. Scoped to the course; never the public WordPress post. */
#rndcc-app .rndcc-recipe-detail [data-rndcc-recipe-view="1"] {
  color:var(--rnd-body-text,#5e5e5f);font:inherit;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;min-width:0;
}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-layout > section {margin:28px 0 0;padding:0;border:0;min-width:0;}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-layout h2 {
  font-family:inherit!important;font-size:clamp(22px,3vw,28px)!important;font-weight:600!important;
  line-height:1.3!important;color:var(--rnd-primary,#2a9946)!important;-webkit-text-fill-color:var(--rnd-primary,#2a9946)!important;margin:0 0 16px!important;
  padding:0 0 10px!important;border-bottom:1px solid var(--rnd-border,#e6e6e7);
}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-layout h3 {
  font-family:inherit!important;font-weight:600!important;font-size:18px!important;
  line-height:1.4!important;margin:20px 0 10px!important;color:var(--rnd-body-text,#5e5e5f)!important;
}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-layout h3:first-child {margin-top:0!important;}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-layout :is(p,li,dd,dt,td,th) {font-family:inherit;}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-layout p {font-size:16px;line-height:1.75;margin:0 0 16px;}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-facts {
  display:flex;flex-wrap:wrap;justify-content:center;gap:18px 48px;margin:0;padding:0 0 22px;
  border-bottom:1px solid var(--rnd-border,#e6e6e7);text-align:center;
}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-facts > div {min-width:120px;}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-facts dt {font-weight:600;font-size:14px;line-height:1.5;margin:0 0 4px;}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-facts dd {font-weight:400;font-size:17px;line-height:1.5;margin:0;}
#rndcc-app .rndcc-recipe-detail .rndcc-ingredient-card {
  border:1px solid var(--rnd-primary,#2a9946);border-radius:12px;padding:20px 24px;box-sizing:border-box;
}
#rndcc-app .rndcc-recipe-detail .rndcc-ingredient-card ul {list-style:none;padding:0!important;margin:0!important;}
#rndcc-app .rndcc-recipe-detail .rndcc-ingredient-card li {
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:10px 0!important;
  margin:0;border-bottom:1px solid var(--rnd-border,#e6e6e7);font-size:16px;line-height:1.65;
}
#rndcc-app .rndcc-recipe-detail .rndcc-ingredient-card li:last-child {border:0;padding-bottom:0!important;}
#rndcc-app .rndcc-recipe-detail .rndcc-ingredient-name {min-width:0;}
#rndcc-app .rndcc-recipe-detail .rndcc-ingredient-amount {flex:0 1 42%;text-align:right;font-weight:400;min-width:0;}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-layout :is(.rndcc-recipe-preparation,.rndcc-recipe-tips) :is(ol,ul) {margin:0!important;padding-left:1.5em!important;}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-layout :is(.rndcc-recipe-preparation,.rndcc-recipe-tips) li {font-size:16px;line-height:1.8;padding:10px 0 10px 4px!important;}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-layout > .rndcc-recipe-nutrients {max-width:630px;margin:30px auto 0;}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-nutrients h2 {
  color:#fff!important;-webkit-text-fill-color:#fff!important;background:#000;border:0;border-radius:10px 10px 0 0;
  padding:16px!important;margin:0!important;text-align:center;font-size:22px!important;
}
#rndcc-app .rndcc-recipe-detail .rndcc-recipe-nutrients > p {text-align:center;margin:0;padding:12px 8px;font-size:14px;}
#rndcc-app .rndcc-recipe-detail .rndcc-nutrition-card {width:100%;overflow-x:auto;}
#rndcc-app .rndcc-recipe-detail .rndcc-nutrition-card table {
  width:100%!important;max-width:100%!important;margin:0!important;border-collapse:collapse!important;table-layout:fixed;
}
#rndcc-app .rndcc-recipe-detail .rndcc-nutrition-card :is(th,td) {
  background:#ffc013!important;color:#000!important;-webkit-text-fill-color:#000!important;
  border:1px solid #000!important;padding:12px!important;font-size:15px;line-height:1.5;
  text-align:left!important;vertical-align:middle;font-weight:400!important;box-shadow:none!important;
}
#rndcc-app .rndcc-recipe-detail .rndcc-nutrition-card thead th {font-weight:600!important;}
#rndcc-app .rndcc-recipe-detail .rndcc-nutrition-card :is(th,td):last-child {width:36%;text-align:center!important;}
#rndcc-app .rndcc-recipe-detail .rndcc-nutrition-card caption.screen-reader-text {
  position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
#rndcc-app .rndcc-public-preview-note {font-size:14px;padding:12px 0;margin:0 0 18px;border-bottom:1px solid var(--rnd-border,#d4d4d6);}
/* Legacy cards may be nested. Centre them without moving them above the recipe. */
#rndcc-app .rndcc-recipe-body .rndcc-recipe-nutrition-stack {
  width:min(100%,630px)!important;max-width:100%!important;margin:24px auto 26px!important;padding:0!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0;box-sizing:border-box;
}
#rndcc-app .rndcc-recipe-body .rndcc-recipe-nutrition-stack > * {max-width:100%!important;box-sizing:border-box;}
@media(max-width:700px) {
  #rndcc-app .rndcc-recipe-detail .rndcc-ingredient-card {padding:16px;}
  #rndcc-app .rndcc-recipe-detail .rndcc-recipe-facts {gap:16px 24px;}
  #rndcc-app .rndcc-recipe-detail .rndcc-nutrition-card :is(th,td) {padding:10px 8px!important;font-size:14px;}
  #rndcc-app .rndcc-recipe-detail .rndcc-recipe-layout > section {margin-top:24px;}
}
