/* Thomas Mat — presentation only. No changes to stored recipe data. */
:root{--tm-ink:#24352c;--tm-muted:#647268;--tm-accent:#416b4d;--tm-line:#e5e7df;--tm-cream:#f7f6f0;--tm-paper:#fff;--tm-radius:15px}
body{background:#fcfcf9;color:var(--tm-ink)}
body .wp-site-blocks{overflow-x:clip}
body .wp-site-blocks>header{border-bottom:1px solid var(--tm-line)}
body .wp-site-blocks>header .wp-block-site-title a{color:var(--tm-ink);font-weight:750;letter-spacing:-.035em;text-decoration:none}
body .wp-site-blocks>header .wp-block-navigation a{color:var(--tm-ink);text-decoration:none}
body .wp-site-blocks>header .wp-block-navigation a:hover{color:var(--tm-accent)}
body .wp-site-blocks>main{max-width:1100px;margin-inline:auto}
body h1,body h2,body h3{color:var(--tm-ink);letter-spacing:-.025em}
body h1{line-height:1.12}
body .wp-block-post-title{max-width:950px}
body a{color:var(--tm-accent)}
body .wp-block-post-featured-image{max-width:900px;margin:1.3rem auto 2.3rem}
body .wp-block-post-featured-image img{display:block;width:100%;max-height:540px;object-fit:contain;border-radius:var(--tm-radius)}
body.single-tm_recipe .wp-block-post-content{max-width:1000px;margin-inline:auto}
body.single-tm_recipe .tmi-columns{display:grid;grid-template-columns:minmax(245px,.85fr) minmax(0,1.8fr);gap:clamp(1.2rem,3vw,3rem);align-items:start;margin:2rem 0 3rem}
body.single-tm_recipe .tmi-columns>section:first-child{background:var(--tm-cream);border:1px solid var(--tm-line);border-radius:var(--tm-radius);padding:clamp(1.2rem,2.4vw,2rem)}
body.single-tm_recipe .tmi-columns>section:nth-child(2){padding:.25rem 0;min-width:0}
body.single-tm_recipe .tmi-columns h2{font-size:clamp(1.35rem,2.2vw,1.7rem);margin:0 0 1rem;line-height:1.25}
body.single-tm_recipe .tmi-columns p{line-height:1.75;margin:.4rem 0 1.1rem}
body.single-tm_recipe .tmi-columns ul{padding-left:1.15rem;margin:.6rem 0;line-height:1.65}
body.single-tm_recipe .tmi-columns li{padding-left:.2rem;margin-bottom:.5rem;overflow-wrap:anywhere}
body.single-tm_recipe .tmi-columns img{max-width:100%;height:auto}
body.single-tm_recipe .tmi-unseparated{max-width:780px;line-height:1.75}
body.single-tm_recipe .tmi-note{background:#fff8e9;border-left:3px solid #c99c4a;padding:.75rem 1rem;color:#665332}
body .tmi-reg{max-width:900px;margin:2rem auto 4rem}
body .tmi-reg details{border:1px solid var(--tm-line);border-radius:12px;margin:0 0 .7rem;background:var(--tm-paper);padding:0;overflow:hidden}
body .tmi-reg summary{padding:1rem 1.25rem;cursor:pointer;font-size:1.08rem;font-weight:700;list-style-position:inside}
body .tmi-reg details[open] summary{background:var(--tm-cream);border-bottom:1px solid var(--tm-line)}
body .tmi-reg ul{margin:0;padding:.8rem 1.4rem .9rem 2rem;list-style:none}
body .tmi-reg li{margin:.4rem 0;line-height:1.55}
body .tmi-reg a{text-decoration:none}
body .tmi-reg a:hover{text-decoration:underline}
body .wp-block-query .wp-block-post{border-radius:12px}
@media(max-width:760px){body .wp-site-blocks>main{padding-inline:1rem}body.single-tm_recipe .tmi-columns{grid-template-columns:1fr;gap:1.5rem}body.single-tm_recipe .tmi-columns>section:nth-child(2){padding:0 .15rem}body .wp-block-post-featured-image img{max-height:400px}body .tmi-reg summary{padding:.9rem 1rem}}

/* v1.1: Compact recipe photos, retaining the complete original image. */
body.single-tm_recipe .wp-block-post-featured-image,
body.single-tm_recipe figure.wp-block-post-featured-image{width:min(320px,100%);max-width:320px;margin:1.3rem 0 2rem!important;}
body.single-tm_recipe .wp-block-post-featured-image img{width:100%;height:auto;max-height:none;object-fit:contain;object-position:left center;}
@media(max-width:420px){body.single-tm_recipe .wp-block-post-featured-image{width:100%;max-width:320px;}}

/* v1.2 — warm Scandinavian editorial direction */
:root{--tm-ink:#392f29;--tm-muted:#766d62;--tm-accent:#a94f34;--tm-line:#e8dfd3;--tm-cream:#f2f0e7;--tm-paper:#fffaf2;--tm-radius:18px}
body{background:#f8f3ea;color:var(--tm-ink)}
body .wp-site-blocks>header{background:#fffaf3;border-bottom:1px solid #e8dccc;box-shadow:0 2px 16px rgba(73,48,29,.035)}
body .wp-site-blocks>header .wp-block-site-title a{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.4rem,2.5vw,2.1rem);font-weight:600;letter-spacing:-.045em;color:#493329}
body .wp-site-blocks>header .wp-block-navigation a{font-weight:600}
body .wp-site-blocks>header .wp-block-navigation a:hover{color:var(--tm-accent)}
body h1,body h2,body h3{color:var(--tm-ink)}
body.single-tm_recipe .wp-block-post-title,
body.single-tm_recipe h1.wp-block-post-title{font-family:Georgia,'Times New Roman',serif;text-align:center;margin:1.5rem auto 1rem;max-width:900px;font-weight:500;font-size:clamp(2.1rem,4.5vw,3.35rem);line-height:1.15;letter-spacing:-.035em}
body.single-tm_recipe .wp-block-post-featured-image,
body.single-tm_recipe figure.wp-block-post-featured-image{width:min(320px,100%)!important;max-width:320px!important;margin:1.1rem auto 2.4rem!important;text-align:center}
body.single-tm_recipe .wp-block-post-featured-image img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;border-radius:14px;box-shadow:0 10px 30px rgba(60,41,27,.10)}
body.single-tm_recipe .wp-block-post-featured-image figcaption{text-align:center;color:var(--tm-muted);font-size:.78rem;margin-top:.65rem}
body.single-tm_recipe .wp-block-post-content{max-width:980px;margin-inline:auto}
body.single-tm_recipe .tmi-columns{grid-template-columns:minmax(220px,.85fr) minmax(0,1.8fr);gap:clamp(1.5rem,4vw,3.6rem);margin:2.3rem 0 4rem}
body.single-tm_recipe .tmi-columns>section:first-child{background:#e8eddf;border:1px solid #dce3d2;border-radius:18px;padding:clamp(1.25rem,2.7vw,2rem);box-shadow:0 5px 20px rgba(57,70,46,.035)}
body.single-tm_recipe .tmi-columns>section:nth-child(2){padding:.4rem 0}
body.single-tm_recipe .tmi-columns h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.45rem,2.4vw,1.9rem);font-weight:500;letter-spacing:-.025em;color:#4a4b35}
body.single-tm_recipe .tmi-columns p{line-height:1.85}
body.single-tm_recipe .tmi-columns ul{line-height:1.75}
body.single-tm_recipe .tmi-columns li{margin-bottom:.65rem}
body .tmi-reg details{background:#fffaf3;border-color:#e9dfd1;border-radius:14px}
body .tmi-reg details[open] summary{background:#e8eddf}
body .tmi-reg summary{color:#4a4b35}
body .tmi-reg a{color:#a94f34}
body a:hover{color:#813e2b}
@media(max-width:760px){body.single-tm_recipe .wp-block-post-title{margin-top:1.1rem}body.single-tm_recipe .tmi-columns{grid-template-columns:1fr;gap:1.4rem}body.single-tm_recipe .wp-block-post-featured-image{max-width:min(320px,100%)!important}}
