/* =====================================================================
   RECIPE BLOCKS (all selectors start with .ocr-blk, they do not touch the rest of the site)
   ===================================================================== */
.ocr-blk{box-sizing:border-box;position:relative;line-height:1.45}
.ocr-blk *{box-sizing:border-box}
.ocr-blk-empty{padding:16px;border:1px dashed #999;border-radius:8px;text-align:center}
.ocr-blk a{color:inherit}
.ocr-blk-img{display:block;overflow:hidden;border-radius:var(--ocr-blk-ir,0)}
.ocr-blk-img img{display:block;width:100%;height:auto;aspect-ratio:var(--ocr-blk-ratio,4/3);object-fit:cover}
.ocr-blk-title{margin:.4em 0 .2em;font-size:1.2em;line-height:1.2}
.ocr-blk-title a{text-decoration:none}
.ocr-blk-facts{display:flex;flex-wrap:wrap;gap:.3em .9em;font-size:.88em;opacity:.8;margin:.2em 0 .5em}
.ocr-blk-intro{margin:.4em 0 .8em}
.ocr-blk-btn{display:inline-block;font-weight:700;text-decoration:underline;color:var(--ocr-accent,#c0392b)!important}
.ocr-blk-btn.is-btn{background:var(--ocr-accent,#c0392b);color:#fff!important;text-decoration:none;padding:.6em 1.3em;border-radius:999px}
/* ----- Single Recipe Card ----- */
.ocr-blk-card{max-width:420px;overflow:hidden}
.ocr-blk-card:not([class*="has-background"]){background:#fff}
.ocr-blk-card .ocr-blk-body{padding:14px 16px 16px}
.ocr-blk-card .ocr-blk-img{border-radius:var(--ocr-blk-ir,0)}
/* ----- Compact Recipe ----- */
.ocr-blk-compact{display:flex;gap:12px;align-items:center;padding:8px}
.ocr-blk-compact .ocr-blk-img{flex:0 0 var(--ocr-blk-img,90px);width:var(--ocr-blk-img,90px)}
.ocr-blk-compact .ocr-blk-title{font-size:1em;margin:0}
.ocr-blk-compact .ocr-blk-facts{margin:.2em 0 0;font-size:.8em}
.ocr-blk-compact .ocr-blk-body{min-width:0}
/* ----- Recipe Feature ----- */
.ocr-blk-feature{overflow:hidden}
.ocr-blk-feature .ocr-blk-body{padding:20px 24px 24px}
.ocr-blk-feature .ocr-blk-title{font-size:1.8em}
.ocr-blk-feature .ocr-blk-img img{aspect-ratio:var(--ocr-blk-ratio,16/9)}
/* ----- Full Recipe ----- */
.ocr-blk-full{overflow:visible}
@media (max-width:520px){.ocr-blk-feature .ocr-blk-body{padding:14px}}

/* ===== 0.0.29: nicer single-recipe blocks ===== */
.ocr-blk-card,.ocr-blk-feature,.ocr-blk-compact{border-radius:var(--ocr-r,14px);box-shadow:0 4px 18px #3a2a1022;transition:transform .2s ease,box-shadow .2s ease}
.ocr-blk-card:hover,.ocr-blk-feature:hover{transform:translateY(-3px);box-shadow:0 12px 30px #3a2a1030}
.ocr-blk-card:not([class*="has-background"]),.ocr-blk-feature:not([class*="has-background"]),.ocr-blk-compact:not([class*="has-background"]){background:#fffdf7}
.ocr-blk-title{font-family:inherit}
.ocr-blk-grid{max-width:100%}
.ocr-blk-grid .ocr-wrap{margin:0}
