/* TBM page blocks — shared render styles for the importer "about" page builder.
   Used on: public importer page (search.css context + seo.php inline), the
   importer dashboard editor canvas, and the tbm-data admin editor.
   Everything is class-based (no inline layout styles) so it survives
   wp_kses sanitizing. */
.tbm-pb-row{box-sizing:border-box;border-radius:14px;margin:0 0 16px;direction:rtl;text-align:right;color:#1e293b}
.tbm-pb-row *{box-sizing:border-box}
.tbm-pb-pad-0{padding:0}
.tbm-pb-pad-s{padding:14px 16px}
.tbm-pb-pad-m{padding:26px 28px}
.tbm-pb-pad-l{padding:52px 36px}
.tbm-pb-ta-right{text-align:right}
.tbm-pb-ta-center{text-align:center}
.tbm-pb-ta-left{text-align:left}

.tbm-pb-bg-light{background:#f8fafc;border:1px solid #e2e8f0}
.tbm-pb-bg-gray{background:#eceff4}
.tbm-pb-bg-blue{background:#e6f0ff}
.tbm-pb-bg-green{background:#e7f7ed}
.tbm-pb-bg-orange{background:#fff2e0}
.tbm-pb-bg-navy{background:#14284b;color:#fff}
.tbm-pb-bg-grad{background:linear-gradient(135deg,#1e3a8a 0%,#2563eb 100%);color:#fff}
.tbm-pb-row.tbm-pb-bg-navy h1,.tbm-pb-row.tbm-pb-bg-navy h2,.tbm-pb-row.tbm-pb-bg-navy h3,.tbm-pb-row.tbm-pb-bg-navy h4,
.tbm-pb-row.tbm-pb-bg-navy p,.tbm-pb-row.tbm-pb-bg-navy li,
.tbm-pb-row.tbm-pb-bg-grad h1,.tbm-pb-row.tbm-pb-bg-grad h2,.tbm-pb-row.tbm-pb-bg-grad h3,.tbm-pb-row.tbm-pb-bg-grad h4,
.tbm-pb-row.tbm-pb-bg-grad p,.tbm-pb-row.tbm-pb-bg-grad li{color:#fff}

.tbm-pb-grid{display:grid;gap:22px;align-items:start}
.tbm-pb-l-1{grid-template-columns:minmax(0,1fr)}
.tbm-pb-l-1-1{grid-template-columns:repeat(2,minmax(0,1fr))}
.tbm-pb-l-1-1-1{grid-template-columns:repeat(3,minmax(0,1fr))}
.tbm-pb-l-1-1-1-1{grid-template-columns:repeat(4,minmax(0,1fr))}
.tbm-pb-l-2-1{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.tbm-pb-l-1-2{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.tbm-pb-l-1-2-1{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr)}
.tbm-pb-va-center{align-items:center}
.tbm-pb-va-stretch{align-items:stretch}
@media (max-width:760px){
  .tbm-pb-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px}
  .tbm-pb-pad-l{padding:34px 18px}
  .tbm-pb-pad-m{padding:20px 16px}
}
.tbm-pb-col{min-width:0;line-height:1.75;font-size:15px}
.tbm-pb-col>*:first-child{margin-top:0}
.tbm-pb-col>*:last-child{margin-bottom:0}
.tbm-pb-col h1{font-size:2em;font-weight:800;line-height:1.25;margin:0 0 .4em}
.tbm-pb-col h2{font-size:1.55em;font-weight:800;line-height:1.3;margin:0 0 .4em}
.tbm-pb-col h3{font-size:1.2em;font-weight:700;line-height:1.35;margin:0 0 .35em}
.tbm-pb-col h4{font-size:1.05em;font-weight:700;margin:0 0 .3em}
.tbm-pb-col p{margin:0 0 .7em}
.tbm-pb-col ul,.tbm-pb-col ol{margin:.3em 0 .8em;padding-inline-start:1.4em}
.tbm-pb-col table{border-collapse:collapse;width:100%;margin:.5em 0 1em;font-size:.95em}
.tbm-pb-col th,.tbm-pb-col td{border:1px solid #d1d5db;padding:8px 12px;text-align:right}
.tbm-pb-col td,.tbm-pb-col th{vertical-align:top}
.tbm-pb-col table.tbm-pb-vmid td,.tbm-pb-col table.tbm-pb-vmid th{vertical-align:middle}
.tbm-pb-col table.tbm-pb-fixed{table-layout:fixed}
.tbm-pb-col th{background:#f3f4f6;font-weight:700;color:#1e293b}
.tbm-pb-card>.tbm-pb-col{background:#fff;color:#1e293b;border:1px solid #e2e8f0;border-radius:14px;padding:22px 20px;box-shadow:0 2px 12px rgba(15,23,42,.07)}
.tbm-pb-row.tbm-pb-bg-navy .tbm-pb-card>.tbm-pb-col h1,.tbm-pb-row.tbm-pb-bg-navy .tbm-pb-card>.tbm-pb-col h2,.tbm-pb-row.tbm-pb-bg-navy .tbm-pb-card>.tbm-pb-col h3,.tbm-pb-row.tbm-pb-bg-navy .tbm-pb-card>.tbm-pb-col p,.tbm-pb-row.tbm-pb-bg-navy .tbm-pb-card>.tbm-pb-col li,
.tbm-pb-row.tbm-pb-bg-grad .tbm-pb-card>.tbm-pb-col h1,.tbm-pb-row.tbm-pb-bg-grad .tbm-pb-card>.tbm-pb-col h2,.tbm-pb-row.tbm-pb-bg-grad .tbm-pb-card>.tbm-pb-col h3,.tbm-pb-row.tbm-pb-bg-grad .tbm-pb-card>.tbm-pb-col p,.tbm-pb-row.tbm-pb-bg-grad .tbm-pb-card>.tbm-pb-col li{color:#1e293b}

/* images */
.tbm-pb-col img.tbm-pb-img{max-width:100%;height:auto;border-radius:10px;display:inline-block;vertical-align:middle}
.tbm-pb-col img.tbm-pb-img-s{width:30%}
.tbm-pb-col img.tbm-pb-img-m{width:55%}
.tbm-pb-col img.tbm-pb-img-l{width:80%}
.tbm-pb-col img.tbm-pb-img-full{width:100%}
.tbm-pb-col img.tbm-pb-round{border-radius:50%;aspect-ratio:1/1;object-fit:cover}
.tbm-pb-col img.tbm-pb-shadow{box-shadow:0 6px 22px rgba(15,23,42,.18)}

/* buttons / decorative text */
.tbm-pb-col a.tbm-pb-btn{display:inline-block;padding:11px 26px;border-radius:999px;font-weight:700;font-size:15px;line-height:1.3;text-decoration:none!important;background:#2563eb;color:#fff!important;margin:2px 0;transition:filter .15s}
.tbm-pb-col a.tbm-pb-btn:hover{filter:brightness(1.1)}
.tbm-pb-col a.tbm-pb-btn-orange{background:#f97316}
.tbm-pb-col a.tbm-pb-btn-green{background:#16a34a}
.tbm-pb-col a.tbm-pb-btn-light{background:#fff;color:#14284b!important}
.tbm-pb-col a.tbm-pb-btn-outline{background:transparent;color:#2563eb!important;border:2px solid #2563eb}
.tbm-pb-row.tbm-pb-bg-navy a.tbm-pb-btn-outline,.tbm-pb-row.tbm-pb-bg-grad a.tbm-pb-btn-outline{color:#fff!important;border-color:#fff}
.tbm-pb-col .tbm-pb-stat{font-size:2.5em;font-weight:800;line-height:1.1;margin:0 0 .1em}
.tbm-pb-col .tbm-pb-icon{font-size:2.6em;line-height:1;margin:0 0 .25em}
.tbm-pb-col .tbm-pb-lead{font-size:1.2em;line-height:1.7}
.tbm-pb-col blockquote{margin:.4em 0 .8em;padding:.4em 1em;border-inline-start:4px solid #93c5fd;color:#475569;background:rgba(147,197,253,.12);border-radius:6px}
.tbm-pb-col hr{border:0;border-top:1px solid #cbd5e1;margin:1em 0}

/* spacer / divider */
.tbm-pb-spacer{margin:0;direction:rtl}
.tbm-pb-sp-s{height:10px}
.tbm-pb-sp-m{height:28px}
.tbm-pb-sp-l{height:56px}
.tbm-pb-spacer.tbm-pb-line{height:0;border-top:1px solid #cbd5e1;margin:18px 0}
.tbm-pb-spacer.tbm-pb-line.tbm-pb-sp-s{margin:8px 0}
.tbm-pb-spacer.tbm-pb-line.tbm-pb-sp-l{margin:34px 0}
