/* M Recipe Card – Grayscale + Roboto, ordered like the screenshot */ 
/* Optionally load Roboto in your theme or enqueue it separately. */

/* ONE dashed cadre around the ENTIRE recipe card */
.mrc-card{
  position:relative;
  box-sizing:border-box;
  overflow:hidden;
  width:100%;
  max-width:100%;
  margin:20px auto;
  background:#fff;
  color:#222;
  font-family:"Roboto", system-ui, -apple-system, Segoe UI, Arial, Helvetica, sans-serif;
  font-size:14.7px;
  line-height:30.5px;

  /* single dashed frame */
  border:1px dashed #2e2e2e;
  border-radius:18px;
  padding:14px;                 /* inner breathing room */
  --accent-soft:#f2f2f2;
}

/* no pseudo frames — outer border only */
.mrc-card::before,
.mrc-card::after{ content:none; }

.mrc-card *{ box-sizing:border-box }

/* HERO */
.mrc-hero{
  background:var(--accent-soft);
  padding:25px;
  display:flex;
  gap:18px;
  align-items:center;
  border-radius:12px;           /* softens block inside dashed frame */
}

/* Image with a small playful dashed frame (optional; remove if you want none) */
.mrc-thumb{
  position:relative;
  width:200px; height:200px;
  margin-left:auto;
  display:grid; place-items:center;
  padding:10px;
}
.mrc-thumb::before{
  content:""; position:absolute; inset:0;
  border:1px dashed #2e2e2e; border-radius:20px;
  transform:rotate(-6deg);
  z-index:0; background:transparent;
}
.mrc-img{
  position:relative; z-index:1;
  width:100%; height:100%; object-fit:cover;
  border-radius:16px; border:0; box-shadow:none; display:block;
}

/* Title */
.mrc-title{ margin:0; color:#111; font-weight:700; font-size:24.6px; line-height:41px; }
.mrc-sub{ opacity:.9 }

/* META */
.mrc-meta{ padding:10px 11px 0; }      /* align with outer padding */

/* time row (Prep/Cook/Total) */
.mrc-timebar{
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
  padding:14px 0;
  /* removed bottom border to use per-chip dashed lines */
}
.mrc-time{ display:flex; align-items:center; gap:8px; text-align:left; }

/* two dashed divider lines under each time chip */
.mrc-timechip{
  position:relative;
  padding-bottom:12px;
  margin-bottom:6px;
}
.mrc-timechip::before,
.mrc-timechip::after{
  content:"";
  display:block;
  height:0;
  border-bottom:1px dashed #dcdcdc;
  margin-top:6px;
}
.mrc-timechip::after{ margin-top:4px; }

/* small meta icons if used elsewhere */
.mrc-ico{ width:14px; height:14px; flex:0 0 14px; color:#111; opacity:.85; display:inline-block; vertical-align:middle; }
.mrc-ico svg{ width:100%; height:100%; display:block; }

.mrc-time-label{ font-weight:700; color:#111; font-size:14px; line-height:18px; }
.mrc-time-val{ color:#555; font-size:14px; line-height:18px; padding-top:2px; min-height:18px; }

/* facts list */
.mrc-facts{
  list-style:none; padding:10px 11px 8px; margin:0;
  display:grid; grid-template-columns:1fr; row-gap:6px;
  border-bottom:1px solid #e5e5e5;     /* soft divider only */
}
.mrc-facts li{ display:flex; align-items:center; gap:8px; font-size:16px; line-height:24px; color:#222; }
.mrc-facts strong{ font-weight:700; }
.mrc-facts .mrc-val{ color:#666; }

/* ✦ star icon before each fact row */
.mrc-facts li::before{
  content:"✦";
  display:inline-block;
  margin-right:8px;
  line-height:1;
  opacity:.9;
  font-size:14px;
}

/* ===== Sections (Ingredients / Instructions / Notes etc.) =====
   No dashed borders here. Everything lives inside the single outer dashed frame. */
.mrc-section{ padding:22px 11px 10px; margin:0; border:0; background:transparent; }
.mrc-section-head{ display:flex; align-items:center; gap:12px; }

/* header line like screenshot */
.mrc-h{
  margin:0; font-weight:700; color:#111; font-size:24px; line-height:31px;
  display:flex; align-items:center;
}
.mrc-h::after{ content:""; flex:1 1 auto; height:3px; border-bottom:3px solid #e0e0e0; margin-left:15px; }

/* Servings pill (hidden by request) */
.mrc-ingredients .mrc-servings{
  display:none !important;
  margin-left:auto; background:#111; color:#fff; border-radius:6px; padding:6px 10px; font-weight:700;
}

/* Lists */
.mrc-list,.mrc-steps{ margin:12px 0 0; padding:0; list-style-position:outside; }
.mrc-list{ list-style-type:none; margin-left:32px; }
.mrc-steps{ list-style-type:decimal; margin-left:32px; }
.mrc-list li,.mrc-steps li{
  font-size:14.7px; line-height:30.5px; font-weight:500; margin-bottom:6px; color:#2b2b2b;
}

/* ACTION BAR (Print + Pin it full width, two columns) */
.mrc-actions{
  background:transparent;
  padding:0;
  display:flex; flex-wrap:wrap; gap:0;
  justify-content:flex-start;
  border:0;
}
.mrc-actions--center{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:12px;
  padding:0 11px 12px;
  justify-items:stretch;
}
.mrc-actions--center > *{ width:100%; }

/* Buttons (dashed style to match the card) */
.mrc-btn, .mrc-pin{
  appearance:none;
  border:1px dashed #2e2e2e;
  background:#fff;
  color:#1f1f1f;
  border-radius:10px;
  padding:14px 22px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-align:center;
  font-size:16px;
  box-shadow:none;
  transition:background .15s ease, transform .05s ease, box-shadow .15s ease;
}
.mrc-btn .mrc-i, .mrc-pin .mrc-i{ width:22px; height:22px; display:block; flex:0 0 22px; }
.mrc-btn:hover, .mrc-pin:hover{ background:#f8f8f8; }
.mrc-btn:active, .mrc-pin:active{ transform:scale(0.99); }
.mrc-btn:focus-visible, .mrc-pin:focus-visible{
  outline:2px dashed #111;
  outline-offset:2px;
}
/* Disabled state */
.mrc-btn[disabled], .mrc-pin[disabled],
.mrc-btn[aria-disabled="true"], .mrc-pin[aria-disabled="true"]{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
}

/* Notes paragraph */
.mrc-notes p{ margin-top:12px }

/* Social footer (no dashed border; sits inside the single outer frame) */
.mrc-social{
  color:#2e2e2e; margin:0; padding:30px 10px;
  display:flex; gap:18px; justify-content:center;
  background:#f2f2f2; border-top:0;
  border-radius:12px;
}
.mrc-social-title{ font-weight:700; color:#111; font-size:27px; }

/* --- Remove stray solid line behind buttons area and ensure dashed-only buttons --- */
.mrc-actions,
.mrc-actions--center{
  border:0 !important;
  background:none !important;
  box-shadow:none !important;
}
.mrc-actions::before,
.mrc-actions::after{
  content:none !important;
}
.mrc-btn, .mrc-pin{
  background-image:none !important;
  text-decoration:none !important;
  box-shadow:none !important;
  border:1px dashed #2e2e2e !important;
}

/* ============== Ingredients: Bowl/mixture look + actions ============== */

/* icon next to the Ingredients heading */
.mrc-ico-bowl{
  color:#111;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px; height:28px;
  border:1px dashed #2e2e2e;
  border-radius:8px;
  margin-right:8px;
  background:#fff;
}

/* actions row (Copy / Check all / Clear) */
.mrc-ing-actions{
  display:flex; gap:8px; flex-wrap:wrap;
  margin:12px 11px 0;
}
.mrc-btn--sm{
  padding:8px 12px;
  font-size:13px;
  line-height:1.15;
  border-radius:8px;
}

/* ingredients list → checklist */
.mrc-list--ingredients{
  list-style:none;
  margin-left:0;
  margin-top:12px;
  padding:12px 11px 0;
  border-top:1px dashed #dedede; /* ties to dashed motif */
}
.mrc-list--ingredients > li{
  margin:0 0 10px 0;
}

/* custom checkbox */
.mrc-chk{
  display:flex; align-items:flex-start; gap:10px;
  cursor:pointer;
}
.mrc-chk input{
  position:absolute; opacity:0; pointer-events:none;
}
.mrc-chk-ui{
  width:20px; height:20px; flex:0 0 20px;
  border:1px dashed #2e2e2e;
  border-radius:6px;
  background:#fff;
  display:inline-block;
  position:relative;
  transition:transform .08s ease;
}
.mrc-chk input:checked + .mrc-chk-ui{
  background:#111; border-color:#111;
}
.mrc-chk input:checked + .mrc-chk-ui::after{
  content:""; position:absolute; left:5px; top:2px;
  width:6px; height:10px; border-right:2px solid #fff; border-bottom:2px solid #fff;
  transform:rotate(45deg);
}
.mrc-chk-text{
  color:#2b2b2b; font-weight:500;
  line-height:1.6;
}
.mrc-chk input:checked ~ .mrc-chk-text{
  color:#666; text-decoration:line-through;
}

/* accessibility focus for the whole row */
.mrc-chk:has(input:focus-visible){
  outline:2px dashed #111; outline-offset:2px;
}

/* ===== Instructions: icon header + dashed-number icons ===== */

/* Icon next to "Instructions" */
.mrc-ico-steps{
  color:#111;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px; height:28px;
  border:1px dashed #2e2e2e;
  border-radius:8px;
  margin-right:8px;
  background:#fff;
}

/* Turn the ordered list into icon-number chips */
.mrc-steps--icons{
  list-style:none;            /* remove default numbers */
  counter-reset:mrcstep;      /* start custom counter */
  margin-left:0;
  padding-left:0;
  margin-top:12px;
}
.mrc-steps--icons > li{
  position:relative;
  counter-increment:mrcstep;
  padding-left:44px;          /* room for the numbered chip */
  margin-bottom:10px;
  color:#2b2b2b;
  font-weight:500;
  line-height:30.5px;
}
.mrc-steps--icons > li::before{
  content: counter(mrcstep);
  position:absolute;
  left:0; top:2px;
  width:28px; height:28px;
  display:inline-grid; place-items:center;
  border:1px dashed #2e2e2e;
  border-radius:50%;
  background:#fff;
  color:#111;
  font-weight:700;
  font-size:14px;
  line-height:1;
}

/* ===== Notes: bulleted list on black background ===== */

/* Keep the icon badge next to the heading, matching the dashed motif */
.mrc-ico-notes{
  color:#111;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px; height:28px;
  border:1px dashed #2e2e2e;
  border-radius:8px;
  margin-right:8px;
  background:#fff;
}

/* Container spacing (uses existing section spacing) */
.mrc-notes{
  /* inherits .mrc-section paddings */
}

/* Black panel that contains a normal bulleted list */
.mrc-notes-list{
  margin:12px 0 0;
  padding:14px 16px;
  background:#000;
  border-radius:10px;
  list-style:disc;
  list-style-position:inside;  /* bullets sit inside the black panel */
  display:block;               /* no grid; a simple flow list */
}

/* List items: white text, tidy spacing */
.mrc-notes-list > li{
  color:#fff;
  font-weight:500;
  line-height:1.6;
  margin:0 0 8px 0;
  padding:0;
}

/* Last item: no extra gap */
.mrc-notes-list > li:last-child{ margin-bottom:0; }

/* If notes come from plain text spans, normalize them */
.mrc-notes-list .mrc-note-text{
  color:inherit;               /* stay white */
  display:inline;              /* no chip block */
  text-decoration:none;
  word-break:break-word;
}

/* Responsive: defaults already work; keep padding comfy on small screens */
@media (max-width:720px){
  .mrc-notes-list{
    padding:12px 12px;
  }
}
/* === Mobile hero: Image → Title → Description (WITH dashed image frame) === */
@media (max-width:720px){
  .mrc-hero{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:12px;
    padding:18px;
  }
  .mrc-hero .mrc-thumb{
    order:1;
    width:100%;
    height:auto;
    margin:0;
    padding:10px;          /* space for the dashed frame */
    position:relative;     /* required for ::before */
  }
  .mrc-hero .mrc-thumb::before{
    content:"";
    position:absolute;
    inset:0;
    border:1px dashed #2e2e2e;
    border-radius:20px;
    transform:rotate(-6deg);
    background:transparent;
    z-index:0;
  }
  .mrc-hero .mrc-img{
    position:relative;     /* so it sits above the dashed frame */
    z-index:1;
    width:100%;
    height:220px;
    max-height:55vw;
    object-fit:cover;
    border-radius:16px;
    display:block;
  }
  .mrc-hero .mrc-hero-text{ order:2; width:100%; }
  .mrc-title{ margin:8px 0 4px; font-size:22px; line-height:1.25; }
  .mrc-sub{ margin:0; font-size:14px; line-height:1.5; opacity:.95; }
}


/* ===== Nutrition: icon header + compact table ===== */
.mrc-ico-nutri{
  color:#111; display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border:1px dashed #2e2e2e; border-radius:8px; margin-right:8px; background:#fff;
}
.mrc-nutri-wrap{ margin-top:12px; border:1px solid #e6e6e6; border-radius:10px; overflow:hidden; }
.mrc-nutri-row{
  display:grid;
  grid-template-columns:1fr 1fr;   /* amount starts on the left of its own column */
  gap:12px;
  padding:10px 12px;
  align-items:center;
  background:#fff;
  border-top:1px solid #f0f0f0;
}
.mrc-nutri-row:first-child{ border-top:0; }
.mrc-nutri-head{ background:#f7f7f7; font-weight:700; color:#111; }
.mrc-nutri-cell{
  font-size:14.5px; line-height:22px; color:#2b2b2b; word-break:break-word;
  text-align:left;                  /* ensure left alignment */
}
@media (max-width:720px){
  .mrc-nutri-row{
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:10px;
  }
}
        /* Social footer (responsive, no inline styles) */
.mrc-social{
  color:#2e2e2e;
  margin:0;
  padding:24px 14px;
  background:#f2f2f2;
  border-radius:12px;
}
.mrc-social-title{
  font-weight:700;
  color:#111;
  font-size:22px;
  margin:0 0 8px 0;
  text-align:center;
}
.mrc-social-sub{ font-weight:500; color:#6b7280; }

.mrc-social-inner{
  display:grid;
  grid-template-columns: 1fr auto;
  align-items:center;
  gap:14px;
}

.mrc-pin-prof{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:inherit;
  min-width:0;                 /* allow text truncation */
}
.mrc-pin-avatar{
  width:52px; height:52px;
  border-radius:999px;
  object-fit:cover;
  border:2px solid #fff;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
  display:block;
}
.mrc-pin-avatar--placeholder{
  display:inline-grid; place-items:center;
  background:#e60023; color:#fff; font-weight:700;
}

.mrc-pin-text{ display:flex; flex-direction:column; min-width:0; }
.mrc-pin-eyebrow{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6b7280;
}
.mrc-pin-name{
  font-size:16px;
  font-weight:700;
  color:#111;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.mrc-pin-cta{
  justify-self:end;
  display:inline-flex;
  align-items:center; justify-content:center;
  padding:10px 14px;
  font-size:14px; font-weight:700;
  border-radius:10px;
  background:#e60023; color:#fff;
  text-decoration:none;
  border:1px dashed #2e2e2e;   /* matches your dashed motif */
}
.mrc-pin-cta:focus-visible{
  outline:2px dashed #111; outline-offset:2px;
}

/* Stack on small screens */
@media (max-width:720px){
  .mrc-social-inner{
    grid-template-columns: 1fr;
    gap:12px;
  }
  .mrc-pin-cta{
    justify-self:stretch;
    text-align:center;
  }
}
/* === Social Bar — Full-Width Stripe with Pinterest Row === */
:root{
  --mrc-accent: #e60023;   /* change if you want brand color */
  --mrc-ink: #111;
  --mrc-muted: #6b7280;
  --mrc-stripe: #f6f6f6;
}

/* Make the section span the card edge-to-edge (respecting the card’s 14px padding) */
.mrc-social.mrc-social--full{
  position: relative;
  left: -14px;
  width: calc(100% + 28px);
  margin: 0;                 /* flush with card content */
  padding: 0;
  background: var(--mrc-stripe);
  border-top: 1px dashed #2e2e2e;   /* ties into your dashed motif */
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* inner wrapper keeps sane content padding */
.mrc-social .mrc-social-inner{
  padding: 16px 14px 18px;
}

/* headline (exact text requested) */
.mrc-social-title{
  margin: 0 0 12px 0;
  text-align: center;
  font-size: 22px;
  line-height: 1.2;
  color: var(--mrc-ink);
  font-weight: 800;
  letter-spacing: .2px;
}
.mrc-social-title-strong{ font-weight: 900; }
.mrc-social-sub{ color: var(--mrc-muted); font-weight: 600; }

/* Full-width Pinterest “bar” row */
.mrc-pin-bar{
  display: grid;
  grid-template-columns: 1fr auto;   /* profile | CTA */
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px dashed #2e2e2e;
  border-radius: 12px;
}

/* profile chip (left) */
.mrc-pin-prof{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.mrc-pin-avatar{
  width: 48px; height: 48px;
  border-radius: 999px;
  object-fit: cover;
  bord

