/* GENERATED by redesign-taste/v4/tools/sync-theme-css.mjs from redesign-taste/v4/canvas/src/V4-blog/extra.css - do not edit here, edit the source and run the tool. */
/* DBIJOU v4 - blog (/blog/ list and /blog/<slug>/ posts). The post loads pages/regulamin.css first (page head,
   contents, text column) and this file on top; the list loads only this file. Shared components: system/system.css.
   Order: meta line, post text (summary, tables, pictures, questions), call to action, list, tablet, phone. */

/* ------------------------------------------------------------------ post head: long question titles, one step under the page h1 */
.dbijou-post .phead .t-h1{font-size:var(--fs-h2);max-width:20ch}

/* ------------------------------------------------------------------ meta line: author, date, reading time */
.bmeta{display:flex;flex-wrap:wrap;gap:var(--sp-1) var(--sp-4);font-size:var(--fs-small);line-height:1.5;color:var(--fg-3)}
.phead .bmeta{margin-top:var(--sp-4)}

/* ------------------------------------------------------------------ post text */
.bpost > p:first-child{padding:var(--sp-5);background:var(--tone);color:var(--fg)}
.bpost .tw{overflow-x:auto;-webkit-overflow-scrolling:touch}
.bpost table{width:100%;min-width:520px;border-collapse:collapse;font-size:var(--fs-small);line-height:1.45;font-variant-numeric:tabular-nums}
.bpost th,
.bpost td{padding:var(--sp-3) var(--sp-3) var(--sp-3) 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.bpost th{font-family:var(--ff-mono);font-size:var(--fs-label);font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--fg-3)}
.bpost td:last-child{white-space:nowrap;color:var(--fg)}

/* pictures from the workshop: [dbj_etapy] (tall stills) and [dbj_realizacje] (square posters) */
.bfig{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--sp-3)}
.bfig__it{margin:0}
.bfig__it img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:var(--ink,#0c0b0a)}
.bfig--tall .bfig__it img{aspect-ratio:4 / 5}
.bfig__it figcaption{margin-top:var(--sp-2);font-size:var(--fs-small);line-height:1.4;color:var(--fg-3)}
.bfig__it a{display:block;text-decoration:none}

/* questions at the end: the system accordion inside the text column */
.bfaq{margin-top:var(--sp-5)}
.bfaq h3{margin:0;font-family:inherit;font-size:inherit}
.bfaq .fold__body > * + *{margin-top:var(--sp-3)}

/* ------------------------------------------------------------------ call to action */
.bcta__btns{display:flex;flex-wrap:wrap;gap:var(--sp-3);margin-top:var(--sp-5)}
.bcta__tel{margin-top:var(--sp-4)}

/* ------------------------------------------------------------------ list */
.blist__list{display:flex;flex-direction:column;max-width:880px}
.blist__it{padding-block:var(--sp-6);border-top:1px solid var(--line)}
.blist__it:last-child{border-bottom:1px solid var(--line)}
.blist__h{margin-top:var(--sp-2)}
.blist__h a{color:var(--fg);text-decoration:none}
.blist__h a:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.blist__lead{max-width:68ch;margin-top:var(--sp-3);color:var(--fg-2)}
.blist__it .lnk{margin-top:var(--sp-4)}
.blist .nav-links{display:flex;gap:var(--sp-4);margin-top:var(--sp-6)}

/* ------------------------------------------------------------------ tablet */
@media (max-width:1024px){
  .bfig{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* ------------------------------------------------------------------ phone */
@media (max-width:640px){
  .bfig{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-2)}
  .bpost > p:first-child{padding:var(--sp-4)}
  /* price table: one card per row (piece, stone, price), so the price never hides behind a side scroll */
  .bpost table{min-width:0}
  .bpost thead{display:none}
  .bpost tr{display:block;padding-block:var(--sp-3);border-bottom:1px solid var(--line)}
  .bpost td{display:block;padding:0;border:0}
  .bpost td:first-child{font-weight:600;color:var(--fg)}
  .bpost td:last-child{margin-top:var(--sp-1);white-space:normal;font-weight:600}
  /* short number tables (ring sizes) stay a table: three narrow columns fit the phone */
  .bpost .tw--num thead{display:table-header-group}
  .bpost .tw--num tr{display:table-row;padding:0;border:0}
  .bpost .tw--num td{display:table-cell;padding:var(--sp-2) var(--sp-3) var(--sp-2) 0;border-bottom:1px solid var(--line);font-weight:400}
  .bpost .tw--num td:first-child{font-weight:600}
  .bpost .tw--num td:last-child{margin-top:0;font-weight:400}
  .bcta__btns .btn{width:100%;justify-content:center}
}
