/* New-design template for pages without a mockup page: text pages, blog, posts, branches, 404.
   Loaded after the mockup's content-page CSS (crumbs, .phead, .ib). Brand: Karantina headings, Heebo text,
   AVA yellow #FFD100, ink #2D2926, stone #F3F1EE. */
#snh-m .gpage{padding-bottom:80px}
#snh-m .gpage .phead{grid-template-columns:1fr;min-height:240px}
#snh-m .gpage .phead h1{font-size:clamp(52px,6vw,96px)}
#snh-m .gpage .phead .ph-long,#snh-m .gp-page .phead h1,#snh-m .gp-raw .phead h1,#snh-m .gp-branch .phead h1{font-size:clamp(40px,4.6vw,72px);line-height:.92;max-width:22ch}
#snh-m .gpage .phead time{display:inline-block;color:var(--yellow);font-weight:700;font-size:15px;margin-bottom:12px}

/* readable text (terms, accessibility, blog posts) — content comes from the WordPress editor */
#snh-m .prose{max-width:820px;margin-top:44px;font-size:17.5px;line-height:1.8;color:var(--ink)}
#snh-m .prose > * + *{margin-top:1em}
#snh-m .prose :is(h1,h2){font-family:var(--display);font-size:clamp(34px,3.4vw,46px);line-height:.95;margin-top:1.4em;font-weight:700}
#snh-m .prose h3{font-family:var(--display);font-size:clamp(28px,2.6vw,36px);line-height:1;margin-top:1.3em;font-weight:700}
#snh-m .prose :is(h4,h5,h6){font-size:19px;font-weight:800;margin-top:1.2em}
#snh-m .prose p{margin-block:0}
#snh-m .prose p:empty,#snh-m .prose p:has(> br:only-child){display:none}
#snh-m .prose strong,#snh-m .prose b{font-weight:800}
#snh-m .prose a{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:3px;text-underline-offset:4px;font-weight:600}
#snh-m .prose a:hover{text-decoration-color:var(--ink)}
#snh-m .prose :is(ul,ol){padding-inline-start:1.3em;display:grid;gap:.4em}
#snh-m .prose ul{list-style:none;padding-inline-start:0}
#snh-m .prose ul > li{position:relative;padding-inline-start:22px}
#snh-m .prose ul > li::before{content:"";position:absolute;inset-inline-start:2px;top:.72em;width:8px;height:8px;border-radius:2px;background:var(--yellow);rotate:45deg}
#snh-m .prose ol{list-style:decimal}
#snh-m .prose ol > li::marker{font-weight:800}
#snh-m .prose blockquote{border-inline-start:5px solid var(--yellow);background:var(--stone);border-radius:0 16px 16px 0;padding:16px 22px;font-size:19px;font-weight:600}
#snh-m .prose img{display:block;max-width:100%;height:auto;border-radius:18px;margin-inline:auto}
#snh-m .prose figure{margin-inline:0}
#snh-m .prose figcaption{font-size:14px;color:var(--muted);text-align:center;margin-top:6px}
#snh-m .prose table{width:100%;border-collapse:collapse;font-size:15.5px;display:block;overflow-x:auto}
#snh-m .prose :is(th,td){border-bottom:1px solid var(--line);padding:10px 12px;text-align:start}
#snh-m .prose th{font-weight:800;background:var(--stone)}
#snh-m .prose hr{border:0;border-top:1px solid var(--line);margin-block:2em}
#snh-m .prose [style*="direction"]{direction:rtl}

/* pages built with Elementor / shortcodes: their own styles are kept */
#snh-m .snh-raw{margin-top:34px}

/* blog */
#snh-m .bgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:34px}
#snh-m .bcard{display:grid;grid-template-rows:auto 1fr;background:#fff;border:1.5px solid var(--line);border-radius:22px;overflow:hidden;transition:border-color .2s,translate .2s}
#snh-m .bcard:hover{border-color:var(--ink);translate:0 -3px}
#snh-m .bimg{position:relative;isolation:isolate;display:block;aspect-ratio:16/10;background:var(--stone);overflow:hidden}
#snh-m .bimg img{width:100%;height:100%;object-fit:cover}
#snh-m .bimg.noimg{background:#000;display:grid;align-items:end;padding:20px}
#snh-m .bimg.noimg .chev{z-index:-1}
#snh-m .bimg.noimg span{font-family:var(--display);color:var(--yellow);font-size:34px;line-height:.92;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#snh-m .bt{display:grid;align-content:start;gap:8px;padding:18px 20px 20px}
#snh-m .bt time{font-size:13.5px;color:var(--muted)}
#snh-m .bt h3{font-family:var(--display);font-size:30px;line-height:.95}
#snh-m .bt p{font-size:15px;color:var(--muted);line-height:1.6}
#snh-m .bt .more{justify-self:start;font-weight:800;font-size:14.5px;text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:3px;text-underline-offset:4px;margin-top:4px}
#snh-m .bpag{margin-top:34px}
#snh-m .bpag ul{list-style:none;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
#snh-m .bpag :is(a,span){display:grid;place-items:center;min-width:44px;height:44px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);font-weight:700}
#snh-m .bpag .current{background:var(--ink);color:#fff;border-color:var(--ink)}
#snh-m .bmore{margin-top:70px}
#snh-m .bmore h2,#snh-m .bcta h2{font-family:var(--display);font-size:clamp(40px,4vw,56px);line-height:.9}
#snh-m .bmore .bgrid{margin-top:20px}
#snh-m .bcta{position:relative;isolation:isolate;overflow:hidden;background:#000;color:#fff;border-radius:26px;margin-top:60px;padding:clamp(28px,4vw,48px);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
#snh-m .bcta .chev{z-index:-1}
#snh-m .bcta p{color:#d7d1ca;margin-top:8px}
#snh-m .bcta .btn{height:54px;padding:0 28px;display:inline-grid;place-items:center}

/* 404 */
#snh-m .nf{margin-top:34px;display:grid;gap:20px;max-width:720px}
#snh-m .nfs{display:flex;gap:10px}
#snh-m .nfs input{flex:1;min-width:0;height:54px;border-radius:999px!important;border:1.5px solid var(--line);padding:0 20px;font:inherit;font-size:16px;background:#fff}
#snh-m .nfs input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(255,209,0,.45)}
#snh-m .nfs .btn{height:54px;padding:0 26px}
#snh-m .nfl{display:flex;flex-wrap:wrap;gap:10px}
#snh-m .nfl a{display:inline-flex;align-items:center;height:46px;padding:0 20px;border-radius:999px;background:var(--stone);font-weight:700}
#snh-m .nfl a:hover{background:var(--yellow)}

@media (max-width:1000px){#snh-m .bgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){#snh-m .bgrid{grid-template-columns:1fr}#snh-m .prose{font-size:16.5px;margin-top:30px}#snh-m .nfs{flex-direction:column}#snh-m .gpage .phead{min-height:0}}
