/* Zejtaria 2.0: the pieces only the server-rendered pages need (city, category and
   craftsman pages, price guides, blog, legal texts). Everything else comes from site.css. */

/* breadcrumbs, above the eyebrow in .khero */
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:14px;font-size:13px;color:var(--muted)}
.crumbs a{color:var(--muted);transition:color .2s}
.crumbs a:hover{color:var(--ink)}
.crumbs svg{font-size:13px;color:var(--faint)}
.crumbs [aria-current]{color:var(--ink)}

/* hero lede and actions */
.khero__lede{margin-top:14px;max-width:640px}
.khero__actions{margin-top:24px;display:flex;flex-wrap:wrap;gap:10px}

/* page blocks */
.sblock{padding:clamp(28px,4vw,48px) 0}
.sblock + .sblock{padding-top:0}
.sblock__title{font-size:clamp(22px,2.4vw,28px);font-weight:500;letter-spacing:-.03em;line-height:1.2}
.sblock__title strong{font-weight:600}
.sblock__sub{margin-top:8px;color:var(--muted);font-size:15px}
.sblock__body{margin-top:20px}
.sblock .krows{margin-top:20px}
.sblock .chips{margin-top:16px}
.intro{max-width:760px;color:var(--text);font-size:17px;line-height:1.7}

/* an empty list: say so, and point to the search */
.none{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:28px;border:1px dashed var(--line-2);border-radius:24px;background:#fafafa}
.none p{color:var(--muted);font-size:15px;max-width:560px}

/* FAQ, built on <details> (no script) */
.faq{display:grid;gap:10px;max-width:860px}
.faq__item{border:1px solid var(--line);border-radius:18px;background:#fff;transition:border-color .2s}
.faq__item[open]{border-color:var(--line-2)}
.faq__item summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;font-size:16px;font-weight:500;cursor:pointer;list-style:none}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{content:"+";flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft,#fff1e8);color:var(--accent);font-size:18px;line-height:1}
.faq__item[open] summary::after{content:"–"}
.faq__item p{padding:0 20px 18px;color:var(--text);font-size:15px;line-height:1.7}

/* the directory of city and category pages sits on a soft band above the footer */
.dir--seo{padding-top:clamp(40px,5vw,64px)}
.dir--seo .dir__title{margin-bottom:8px}

@media (max-width:640px){
  .faq__item summary{padding:16px;font-size:15px}
  .faq__item p{padding:0 16px 16px}
  .none{padding:20px}
}

/* the link lists wrap on phones too (site.css turns .chips into a sideways scroller there) */
.sblock .chips{flex-wrap:wrap;overflow-x:visible}

/* a small data table (a trade, city by city) */
.tblwrap{overflow-x:auto;max-width:680px}
.ztable{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;font-size:15px;background:#fff}
.ztable th{text-align:left;padding:12px 16px;background:#fafafa;font-size:12px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--faint)}
.ztable td{padding:12px 16px;border-top:1px solid var(--line);color:var(--text)}
.ztable a{color:var(--ink);font-weight:500}
.ztable a:hover{color:var(--accent)}

/* a craftsman's own page: the 2.0 profile dialog, as a page */
.ppage{padding:clamp(108px,11vw,140px) 0 clamp(32px,4vw,56px)}
.pcard{max-width:760px;margin-top:6px;border:1px solid var(--line);border-radius:30px;overflow:hidden;background:#fff;box-shadow:0 40px 90px -50px rgba(0,0,0,.35)}
.pcard .dlg__top{padding:34px 32px 28px}
.pcard .dlg__name{font-size:clamp(30px,4vw,40px)}
.pcard .dlg__body{padding:26px 32px 12px}
.pcard__h{margin-top:26px;font-size:13px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--faint)}
.pcard .dlg__body > p{margin-top:8px;font-size:15px;line-height:1.6;color:var(--text);font-weight:300}
.pcard .dlg__verified{margin-bottom:12px}
.pcard__actions{position:static}
.pcard__more{margin-top:18px;max-width:760px}
.pcard__more a{display:inline-flex;align-items:center;gap:8px;font-size:15px;color:var(--muted)}
.pcard__more a:hover{color:var(--ink)}
@media (max-width:640px){
  .pcard{border-radius:24px}
  .pcard .dlg__top{padding:26px 20px 22px}
  .pcard .dlg__body{padding:20px 20px 8px}
  .pcard__actions{padding:14px 20px 20px}
}

/* centre the profile card and its crumbs on wide screens */
.ppage .container{max-width:808px}

/* the price range on a price guide */
.pricebox{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:52px;padding:8px 18px;border-radius:16px;background:#fff;border:1px solid var(--line)}
.pricebox b{font-size:20px;font-weight:600;letter-spacing:-.03em}
.pricebox span{font-size:12.5px;color:var(--muted)}

/* blog: the list */
.bgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.bcard{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#fff;transition:border-color .2s,box-shadow .2s}
.bcard:hover{border-color:var(--line-2);box-shadow:0 24px 50px -36px rgba(0,0,0,.35)}
.bcard__img{aspect-ratio:16/9;display:grid;place-items:center;background:var(--soft);color:var(--faint);font-size:34px}
.bcard__img img{width:100%;height:100%;object-fit:cover}
.bcard__body{display:flex;flex-direction:column;gap:10px;flex:1;padding:20px 22px 22px}
.bcard__tag{align-self:flex-start;display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent-ink);font-size:12px}
.bcard h2{font-size:19px;font-weight:600;letter-spacing:-.02em;line-height:1.3}
.bcard p{color:var(--muted);font-size:14.5px;line-height:1.6}
.bcard__foot{margin-top:auto;padding-top:6px;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--faint)}
.bcard__foot a{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-weight:500}

/* blog: an article (also the legal texts) */
.article{padding:clamp(108px,11vw,140px) 0 clamp(24px,4vw,48px)}
.article .container{max-width:808px}
.article h1{margin-top:14px;font-size:clamp(32px,4.4vw,52px);font-weight:300;letter-spacing:-.04em;line-height:1.08}
.article__meta{margin-top:14px;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px;color:var(--muted)}
.article__cover{margin-top:28px;border-radius:24px;overflow:hidden}
.article__cover img{width:100%;max-height:420px;object-fit:cover}
.prose{margin-top:32px;font-size:17px;line-height:1.75;color:var(--text)}
.prose > * + *{margin-top:16px}
.prose h2{margin-top:40px;font-size:clamp(24px,2.6vw,30px);font-weight:500;letter-spacing:-.03em;line-height:1.2;color:var(--ink)}
.prose h3{margin-top:28px;font-size:20px;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.prose ul,.prose ol{padding-left:22px}
.prose ul{list-style:disc}
.prose ol{list-style:decimal}
.prose li + li{margin-top:6px}
.prose a{color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px}
.prose strong{font-weight:600;color:var(--ink)}
.prose table{display:block;max-width:100%;overflow-x:auto;font-size:15px}
.prose th{font-weight:600;color:var(--ink)}
/* posts written for the old design carry its pink in inline styles */
.prose [style*="fdf2f1"]{background:var(--soft)!important}
.cta2{margin-top:44px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:24px 28px;border-radius:24px;background:var(--ink);color:#fff}
.cta2 b{font-size:20px;font-weight:500;letter-spacing:-.02em}
.cta2 p{margin-top:4px;color:#a9a9b1;font-size:14px}

/* legal texts (terms, privacy): the sections of public/terms.html and privacy.html */
.legal{padding:clamp(108px,11vw,140px) 0 clamp(24px,4vw,48px)}
.legal__title{margin-top:14px;font-size:clamp(34px,4.6vw,56px);font-weight:300;letter-spacing:-.04em;line-height:1.05}
.legal__lede{margin-top:14px;max-width:680px}
.legal__meta{margin-top:16px;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:14px;color:var(--muted)}
.legal__grid{margin-top:clamp(28px,4vw,48px);display:grid;grid-template-columns:240px minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start}
.toc{position:sticky;top:100px;display:flex;flex-direction:column;gap:2px;padding:18px;border:1px solid var(--line);border-radius:20px;background:#fff;font-size:14px}
.toc h3{margin-bottom:8px;font-size:12px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--faint)}
.toc a{padding:5px 8px;border-radius:10px;color:var(--muted)}
.toc a:hover{background:var(--soft);color:var(--ink)}
.legal__body{max-width:780px;font-size:16px;line-height:1.75;color:var(--text)}
.legal__body section{padding-top:32px;scroll-margin-top:100px}
.legal__body .section-header{display:flex;align-items:center;gap:12px;margin-bottom:6px}
.legal__body .section-icon,.legal__body .section-number{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--soft);font-size:17px;font-weight:600;color:var(--ink)}
.legal__body .section-title{font-size:clamp(22px,2.4vw,28px);font-weight:500;letter-spacing:-.03em;line-height:1.2;color:var(--ink)}
.legal__body h4{margin-top:20px;font-size:16px;font-weight:600;color:var(--ink)}
.legal__body p{margin-top:10px}
.legal__body ul,.legal__body ol{margin-top:10px;padding-left:22px;list-style:disc}
.legal__body li + li{margin-top:6px}
.legal__body a{color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px}
.legal__body strong{font-weight:600;color:var(--ink)}
.legal__body .data-table{display:block;width:100%;margin-top:14px;overflow-x:auto;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:16px;font-size:14.5px;line-height:1.55}
.legal__body .data-table th{text-align:left;padding:10px 14px;background:#fafafa;font-size:12px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--faint)}
.legal__body .data-table td{padding:10px 14px;border-top:1px solid var(--line);vertical-align:top}
.legal__body .info-box,.legal__body .warn-box,.legal__body .success-box{margin-top:16px;padding:14px 18px;border-radius:16px;border:1px solid var(--line);background:#fafafa}
.legal__body .warn-box{background:#fff8f1;border-color:#fde0c8}
.legal__body .success-box{background:#f2faf5;border-color:#d3eedd}
.legal__body .info-box p,.legal__body .warn-box p,.legal__body .success-box p{margin-top:0}
.legal__body .rights-grid{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.legal__body .right-card{padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;line-height:1.55}
.anchor{display:block;position:relative;top:-100px;visibility:hidden}
@media (max-width:900px){.legal__grid{grid-template-columns:1fr}.toc{position:static}}

/* small notices (404, the pages behind email links) */
.rv__sub p + p{margin-top:10px}
.rv__sub a:not(.btn){color:var(--accent-ink);text-decoration:underline;text-underline-offset:3px}
.rv__sub form{margin-top:18px}
.rv__sub form button{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 26px;border-radius:999px;background:var(--ink);color:#fff;font-size:15px;font-weight:500;cursor:pointer}
.rv__sub form button:hover{background:#26262a}
.rv__btns{margin-top:22px!important;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}

/* the FAQ page: one heading per group of questions */
.faqg{margin:24px 0 10px;font-size:13px;font-weight:500;letter-spacing:.05em;text-transform:uppercase;color:var(--faint)}
.faqg:first-of-type{margin-top:18px}
