:root {
  --bg: #f6f8ff;
  --surface: rgba(255,255,255,.86);
  --surface-strong: #ffffff;
  --surface-soft: #eef2ff;
  --text: #102a2a;
  --muted: #667085;
  --border: rgba(84, 95, 135, .18);
  --primary: #0f766e;
  --primary-2: #14b8a6;
  --accent: #f59e0b;
  --pink: #ec4899;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --shadow: 0 20px 60px rgba(15, 78, 74, .14);
  --shadow-soft: 0 10px 30px rgba(15, 78, 74, .10);
  --radius: 22px;
  --max: 1240px;
}

[data-theme="dark"] {
  --bg: #081c1c;
  --surface: rgba(20, 27, 54, .86);
  --surface-strong: #102b2b;
  --surface-soft: #173b39;
  --text: #f4f7ff;
  --muted: #aab3cf;
  --border: rgba(171, 185, 229, .16);
  --shadow: 0 20px 60px rgba(0, 0, 0, .38);
  --shadow-soft: 0 10px 30px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(15,118,110,.18), transparent 38%),
    radial-gradient(circle at 95% 6%, rgba(245,158,11,.15), transparent 34%),
    var(--bg);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  padding: 10px 14px; border-radius: 12px; color: white; background: var(--primary);
}
.skip-link:focus { top: 14px; }

.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.section { padding: 72px 0; }
.section-sm { padding: 42px 0; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(18px);
}
.header-inner { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: -.03em; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 14px;
  background: conic-gradient(from 210deg, var(--primary), var(--primary-2), var(--accent), var(--pink), var(--primary));
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.22), 0 8px 24px rgba(15,118,110,.28);
  position: relative;
}
.brand-mark::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--surface-strong); }
.brand-name { font-size: 1.08rem; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a, .nav button {
  border: 0; background: transparent; color: var(--muted); padding: 9px 12px; border-radius: 12px; font-weight: 700;
}
.nav a:hover, .nav a:focus-visible, .nav button:hover { color: var(--text); background: var(--surface-soft); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 13px; border: 1px solid var(--border); color: var(--text);
  background: var(--surface); display: inline-grid; place-items: center; box-shadow: var(--shadow-soft);
}
.menu-btn { display: none; }
.mobile-menu { display: none; padding: 8px 0 18px; }
.mobile-menu.open { display: grid; gap: 6px; }
.mobile-menu a { padding: 11px 12px; border-radius: 12px; font-weight: 700; color: var(--muted); }
.mobile-menu a:hover { background: var(--surface-soft); color: var(--text); }

.hero { padding: 82px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(15,118,110,.25);
  border-radius: 999px; background: rgba(15,118,110,.08); color: var(--primary); font-weight: 800; font-size: .87rem;
}
h1, h2, h3 { line-height: 1.14; margin-top: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(2.45rem, 6vw, 5rem); margin: 20px 0; max-width: 880px; }
h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); margin-bottom: 14px; }
h3 { font-size: 1.15rem; }
.gradient-text { background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent)); -webkit-background-clip: text; color: transparent; }
.lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--muted); max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 17px;
  border: 1px solid transparent; border-radius: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 14px 30px rgba(15,118,110,.28); }
.btn-secondary { color: var(--text); background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-soft); }
.btn-ghost { color: var(--primary); background: rgba(15,118,110,.08); border-color: rgba(15,118,110,.16); }
.btn-danger { color: var(--danger); background: rgba(220,38,38,.09); border-color: rgba(220,38,38,.15); }
.btn-sm { min-height: 38px; padding: 8px 12px; border-radius: 11px; font-size: .9rem; }

.hero-panel, .card {
  border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(16px); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-panel { padding: 24px; position: relative; }
.hero-panel::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(15,118,110,.7), rgba(245,158,11,.24), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; pointer-events: none;
}
.live-color { min-height: 220px; border-radius: 18px; display: grid; place-items: center; color: white; font-size: 1.45rem; font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,.28); }
.stats { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat { padding: 14px 10px; text-align: center; border-radius: 15px; background: var(--surface-soft); border: 1px solid var(--border); }
.stat strong { display: block; font-size: 1rem; }
.stat span { font-size: .78rem; color: var(--muted); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-head p { color: var(--muted); margin: 0; max-width: 700px; }
.tool-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { border: 1px solid var(--border); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 8px 13px; font-weight: 800; }
.chip.active, .chip:hover { color: white; background: linear-gradient(135deg, var(--primary), var(--primary-2)); border-color: transparent; }
.search-box { position: relative; max-width: 420px; width: 100%; }
.search-box input { padding-left: 44px; }
.search-box::before { content: "⌕"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.3rem; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.tool-card { padding: 22px; display: flex; flex-direction: column; min-height: 250px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(15,118,110,.35); }
.tool-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(15,118,110,.15), rgba(245,158,11,.14)); font-size: 1.4rem; margin-bottom: 16px; }
.tool-card p { color: var(--muted); flex: 1; }
.tool-meta { font-size: .75rem; font-weight: 900; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; }

.ad-slot { min-height: 110px; border: 1px dashed var(--border); border-radius: 18px; display: grid; place-items: center; color: var(--muted); background: color-mix(in srgb, var(--surface) 64%, transparent); }

.tool-hero { padding: 46px 0 28px; }
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--primary); }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); gap: 22px; align-items: start; }
.card { padding: 24px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-title h2, .card-title h3 { margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.form-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .86rem; color: var(--muted); font-weight: 800; }
input, select, textarea {
  width: 100%; color: var(--text); background: var(--surface-strong); border: 1px solid var(--border); border-radius: 13px;
  padding: 11px 13px; outline: none; min-height: 46px;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15,118,110,.12); }
input[type="color"] { padding: 5px; height: 52px; }
input[type="range"] { min-height: 24px; padding: 0; accent-color: var(--primary); }
textarea { min-height: 150px; resize: vertical; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.result-stack { display: grid; gap: 12px; }
.result-row { display: grid; grid-template-columns: minmax(80px,.45fr) minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface-soft); }
.result-label { color: var(--muted); font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.result-value { overflow: auto; white-space: nowrap; font-family: "Open Sans", Arial, sans-serif; font-size: .9rem; }
.preview { min-height: 210px; border-radius: 18px; border: 1px solid var(--border); display: grid; place-items: center; padding: 22px; text-align: center; overflow: hidden; }
.checkerboard { background-color: #fff; background-image: linear-gradient(45deg,#d9d9d9 25%,transparent 25%),linear-gradient(-45deg,#d9d9d9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d9d9d9 75%),linear-gradient(-45deg,transparent 75%,#d9d9d9 75%); background-size: 20px 20px; background-position: 0 0,0 10px,10px -10px,-10px 0; }
.preview-inner { width: 100%; min-height: 180px; border-radius: 14px; display: grid; place-items: center; padding: 20px; }
.error { display: none; margin-top: 12px; padding: 11px 13px; border-radius: 12px; color: var(--danger); background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.18); font-weight: 700; }
.error.show { display: block; }
.success { color: var(--success); }
.muted { color: var(--muted); }
.help { font-size: .83rem; color: var(--muted); }
.divider { height: 1px; background: var(--border); margin: 22px 0; }
.code-block { position: relative; border-radius: 14px; border: 1px solid var(--border); background: #0b1020; color: #dbeafe; padding: 16px; overflow: auto; font-family: "Open Sans", Arial, sans-serif; font-size: .86rem; white-space: pre-wrap; }

.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; }
.swatch { min-height: 100px; border-radius: 15px; border: 1px solid var(--border); position: relative; overflow: hidden; display: flex; align-items: end; }
.swatch-info { width: 100%; padding: 8px; font-size: .76rem; font-weight: 900; background: rgba(255,255,255,.86); color: #111827; backdrop-filter: blur(8px); }
[data-theme="dark"] .swatch-info { background: rgba(10,14,29,.82); color: white; }
.swatch-lock { position: absolute; top: 7px; right: 7px; width: 30px; height: 30px; border-radius: 9px; border: 0; background: rgba(255,255,255,.86); }

.gradient-stops { display: grid; gap: 10px; }
.stop-row { display: grid; grid-template-columns: 52px minmax(0,1fr) 82px auto; gap: 10px; align-items: center; }
.stop-row input[type="color"] { height: 44px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; font-weight: 900; font-size: .8rem; }
.badge.pass { color: var(--success); background: rgba(22,163,74,.1); }
.badge.fail { color: var(--danger); background: rgba(220,38,38,.1); }
.badge.info { color: var(--primary); background: rgba(15,118,110,.1); }

.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; align-items: start; }
.prose { font-size: 1rem; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { margin-top: 34px; font-size: 1.65rem; }
.prose h3 { margin-top: 24px; }
.prose ul { padding-left: 22px; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 900; }
.faq p { margin-bottom: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.related-card { padding: 16px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); }
.related-card:hover { border-color: rgba(15,118,110,.35); }

.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-card { overflow: hidden; }
.blog-cover { min-height: 190px; background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--accent)); position: relative; }
.blog-cover::after { content: ""; position: absolute; width: 140px; height: 140px; right: -20px; bottom: -30px; border-radius: 50%; border: 24px solid rgba(255,255,255,.16); }
.blog-body { padding: 20px; }

.site-footer { margin-top: 72px; padding: 56px 0 20px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 72%, transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 34px; }
.footer-col h3 { font-size: 1rem; margin-bottom: 12px; }
.footer-col a { display: block; color: var(--muted); padding: 5px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 2000; transform: translateY(130%); opacity: 0; background: #111827; color: white; border-radius: 13px; padding: 12px 15px; box-shadow: var(--shadow); transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1050px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .hero-grid, .tool-layout, .content-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 720px; }
  .tool-grid, .blog-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .container { width: min(100% - 22px, var(--max)); }
  .section { padding: 52px 0; }
  .hero { padding-top: 52px; }
  h1 { font-size: clamp(2.25rem, 13vw, 3.7rem); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .tool-grid, .blog-grid, .related-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-grid, .form-grid.three, .form-grid.four { grid-template-columns: 1fr; }
  .card { padding: 18px; }
  .result-row { grid-template-columns: 1fr auto; }
  .result-label { grid-column: 1 / -1; }
  .stop-row { grid-template-columns: 48px minmax(0,1fr); }
  .stop-row > :nth-child(3), .stop-row > :nth-child(4) { grid-column: span 1; }
  .section-head { align-items: stretch; flex-direction: column; }
}
@media (max-width: 420px) {
  .header-inner { height: 66px; }
  .brand-name { font-size: .95rem; }
  .brand-mark { width: 36px; height: 36px; }
  .hero-actions .btn, .actions .btn { width: 100%; }
  .live-color { min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}


/* TextCraft Tools v2.0.0 enhancements */
.nav a[aria-current="page"], .mobile-menu a[aria-current="page"] { color: var(--text); background: var(--surface-soft); }
a.tool-card { color: inherit; text-decoration: none; }
a.tool-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 4px; }
.tool-hero-compact { padding: 24px 0 16px; }
.tool-page #main > .section-sm { padding-top: 0; }
.tool-page #main > .section-sm .tool-layout > .card:first-child,
.tool-page #main > .section-sm .container > .card:first-child { border-color: color-mix(in srgb, var(--primary) 34%, var(--border)); box-shadow: 0 14px 38px rgba(15,23,42,.08); }
.tool-page .tool-guide { padding-top: 48px; }
.page-updated, .article-meta { color: var(--muted); font-size: .9rem; }
.article-meta { display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:18px; }
.article-intro { font-size:1.08rem; line-height:1.85; }
.article-toc { margin: 0 0 26px; padding: 18px; border:1px solid var(--border); border-radius:16px; background:var(--surface-soft); }
.article-toc summary { cursor:pointer; font-weight:900; }
.article-toc ol { columns:2; gap:30px; padding-left:22px; }
.article-toc li { break-inside:avoid; margin:6px 0; }
.article-toc li a {
  display:block;
  padding:10px 12px;
  border-radius:12px;
  color:var(--text);
  transition:transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.article-toc li a:hover,
.article-toc li a:focus-visible {
  transform:translateX(4px);
  color:var(--primary);
  background:rgba(15,118,110,.08);
  box-shadow:inset 0 0 0 1px rgba(15,118,110,.16);
  text-decoration:none;
}
.article-toc li a:hover::after,
.article-toc li a:focus-visible::after {
  content:"";
  display:block;
  width:72px;
  height:2px;
  margin-top:7px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--primary),var(--primary-2));
}

.article-sidebar { position:sticky; top:96px; max-height:calc(100vh - 120px); overflow:auto; }
.author-box { margin-top:30px; padding:20px; border:1px solid var(--border); border-radius:16px; background:var(--surface-soft); }
.prose p { line-height:1.8; }
.prose h2 { scroll-margin-top:100px; }
.prose h3 { font-size:1.15rem; }
.prose table { width:100%; border-collapse:collapse; min-width:680px; }
.prose caption { text-align:left; font-weight:900; padding:0 0 10px; color:var(--text); }
.prose th, .prose td { border:1px solid var(--border); text-align:left; padding:12px; vertical-align:top; }
.prose th { background:var(--surface-soft); color:var(--text); }
.table-wrap { width:100%; overflow-x:auto; margin:24px 0; border-radius:14px; }
.check-list, .number-list { display:grid; gap:8px; padding-left:24px; }
.faq summary h3 { display:inline; font-size:1rem; margin:0; }
.legal-layout { max-width:960px; }
.legal-prose h2:first-child { margin-top:0; }
.legal-prose .notice { padding:16px; border-left:4px solid var(--primary); background:var(--surface-soft); border-radius:0 12px 12px 0; }
.footer-link-button { display:block; border:0; background:transparent; color:var(--muted); padding:5px 0; font:inherit; cursor:pointer; text-align:left; }
.footer-link-button:hover { color:var(--primary); }
.cookie-banner { position:fixed; left:18px; right:18px; bottom:18px; z-index:3000; display:none; align-items:center; justify-content:space-between; gap:20px; max-width:1120px; margin:auto; padding:18px; border:1px solid var(--border); border-radius:18px; background:var(--surface-strong); box-shadow:var(--shadow); }
.cookie-banner.show { display:flex; }
.cookie-banner p { margin:5px 0 0; color:var(--muted); }
.cookie-actions { display:flex; flex-wrap:wrap; gap:8px; flex:0 0 auto; }
.contact-status { margin-top:14px; padding:12px; border-radius:12px; display:none; }
.contact-status.show { display:block; background:var(--surface-soft); border:1px solid var(--border); }
.contact-status.success { color:var(--success); }
.contact-status.error { color:var(--danger); }
.honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
@media (max-width: 1050px){ .article-sidebar { position:static; max-height:none; } }
@media (max-width: 720px){ .article-toc ol { columns:1; } .cookie-banner { align-items:stretch; flex-direction:column; } .cookie-actions .btn { flex:1 1 140px; } }

/* Prevent long article content and tables from forcing mobile page overflow. */
.content-grid > *, .tool-layout > *, .prose, .article-toc, .table-wrap { min-width: 0; max-width: 100%; }
.article-toc a, .prose a { overflow-wrap: anywhere; }


/* WordPress integration */
:root { --wp-admin-bar-offset: 0px; }
.admin-bar .site-header { top: 32px; }
body { overflow-x: hidden; }
.site-main { min-height: 58vh; }
.custom-logo { max-height: 50px; width: auto; }
.header-search { position: relative; }
.search-panel { display:none; position:absolute; right:0; top:calc(100% + 10px); width:min(360px,calc(100vw - 30px)); padding:14px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); box-shadow:var(--shadow-lg); z-index:100; }
.search-panel.open { display:block; }
.search-panel form { display:flex; gap:8px; }
.search-panel input { min-width:0; }
.site-content { min-height:60vh; }
.wp-content { padding-block:36px 70px; }
.entry-header { margin-bottom:24px; }
.entry-meta { color:var(--muted); font-size:.92rem; display:flex; flex-wrap:wrap; gap:14px; }
.entry-content > * { max-width:100%; }
.entry-content img { height:auto; border-radius:var(--radius-md); }
.entry-content table { width:100%; border-collapse:collapse; display:block; overflow-x:auto; }
.entry-content th,.entry-content td { border:1px solid var(--border); padding:12px 14px; text-align:left; }
.entry-content th { background:var(--surface-2); }
.pagination,.nav-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.page-numbers { padding:9px 13px; border:1px solid var(--border); border-radius:10px; background:var(--surface); }
.page-numbers.current { background:var(--primary); color:#fff; border-color:var(--primary); }
.post-navigation { margin-top:24px; }
.post-navigation .nav-links { display:grid; grid-template-columns:1fr 1fr; }
.nav-previous,.nav-next { padding:16px; border:1px solid var(--border); border-radius:var(--radius-md); background:var(--surface); }
.nav-next { text-align:right; }
.sidebar-stack { display:grid; gap:18px; align-content:start; }
.sidebar-widget h3 { margin-top:0; }
.sidebar-widget ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.archive-description { max-width:760px; }
.no-results { text-align:center; padding:50px 24px; }
.tool-page-shell #app > main { min-height:50vh; }
.tct-status { padding:12px 14px; border-radius:10px; margin-bottom:18px; }
.tct-status.success { background:rgba(34,197,94,.12); color:#15803d; border:1px solid rgba(34,197,94,.35); }
.tct-status.error { background:rgba(239,68,68,.12); color:#b91c1c; border:1px solid rgba(239,68,68,.35); }
.screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.screen-reader-text:focus { clip:auto!important; width:auto!important; height:auto!important; margin:8px!important; padding:12px 16px!important; background:#fff!important; color:#111!important; z-index:99999!important; }
.alignwide { width:min(1160px,calc(100vw - 32px)); max-width:none; margin-left:50%; transform:translateX(-50%); }
.alignfull { width:100vw; max-width:none; margin-left:50%; transform:translateX(-50%); }
.wp-block-image figcaption { color:var(--muted); font-size:.9rem; }
@media (max-width:782px){ .admin-bar .site-header{top:46px;} }
@media (max-width:760px){ .post-navigation .nav-links{grid-template-columns:1fr;} .nav-next{text-align:left;} }

.nav ul,.mobile-menu ul,.footer-links{list-style:none;margin:0;padding:0;}
.nav .primary-menu{display:flex;align-items:center;gap:4px;}
.mobile-menu .mobile-menu-list{display:grid;}
.footer-links{display:grid;gap:8px;}
.tct-plugin-required{padding:24px;text-align:center;}


/* TextCraft Pro v1.0.2: boxed blog card redesign */
body.blog .tool-hero h1,
body.archive .tool-hero h1,
body.single-post .tool-hero h1 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.02em;
  max-width: 900px;
}
.blog-grid {
  align-items: stretch;
  gap: 22px;
}
.blog-card.post-box-card {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: 0 8px 24px rgba(15, 78, 74, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-card.post-box-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--primary-2), var(--accent));
}
.blog-card.post-box-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 38%, var(--border));
  box-shadow: 0 16px 36px rgba(15, 78, 74, .14);
}
.blog-card.post-box-card .blog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 24px 24px 22px 28px;
}
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.blog-card-title {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.025em;
}
.blog-card-title a {
  color: var(--text);
  overflow-wrap: anywhere;
}
.blog-card-title a:hover,
.blog-card-title a:focus-visible {
  color: var(--primary);
}
.blog-card-excerpt {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--primary);
  font-size: .92rem;
  font-weight: 800;
}
.blog-card-link span:last-child {
  transition: transform .2s ease;
}
.blog-card-link:hover span:last-child {
  transform: translateX(4px);
}
@media (max-width: 720px) {
  body.blog .tool-hero h1,
  body.archive .tool-hero h1,
  body.single-post .tool-hero h1 {
    font-size: 25px;
  }
  .blog-card.post-box-card .blog-body {
    padding: 21px 20px 20px 24px;
  }
  .blog-card-title {
    font-size: 25px;
  }
}

/* TextCraft Pro v1.0.3 requested UI update */
.home-hero h1,
.tool-hero h1,
.single-post-title {
  max-width: 920px;
  margin: 18px 0;
  font-size: 30px !important;
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -.025em;
}
.home-hero-copy .lead { max-width: 700px; }

/* Shared homepage panel controls */
.complete-picker { padding: 22px; }
.complete-picker-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:16px; }
.complete-picker-head h2 { margin:2px 0 0; font-size:24px; }
.picker-kicker { color:var(--primary); font-size:.78rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.native-color-control { width:58px; min-width:58px; height:58px; padding:5px; border-radius:16px; cursor:pointer; }
.picker-preview {
  position:relative; display:grid; min-height:180px; width:100%; place-items:center; overflow:hidden;
  border:0; border-radius:18px; color:#fff; background:var(--picked-color,#0F766E); box-shadow:inset 0 0 0 1px rgba(255,255,255,.26);
}
.picker-preview::before,.picker-preview::after { content:""; position:absolute; border-radius:50%; background:rgba(255,255,255,.14); }
.picker-preview::before { width:150px; height:150px; top:-70px; right:-40px; }
.picker-preview::after { width:100px; height:100px; bottom:-52px; left:-20px; }
.picker-preview strong { position:relative; z-index:1; font-size:1.6rem; }
.picker-preview-label,.picker-preview-hint { position:absolute; z-index:1; left:16px; font-size:.78rem; font-weight:800; }
.picker-preview-label { top:14px; }
.picker-preview-hint { bottom:13px; opacity:.85; }
.picker-fields { display:grid; grid-template-columns:minmax(0,1fr) 110px; gap:12px; margin-top:14px; }
.picker-fields input[type="color"] { height:46px; cursor:pointer; }
.picker-values { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:12px; }
.picker-values > div { min-width:0; padding:11px; border:1px solid var(--border); border-radius:13px; background:var(--surface-soft); }
.picker-values span { display:block; color:var(--muted); font-size:.72rem; font-weight:800; text-transform:uppercase; }
.picker-values strong { display:block; margin-top:2px; overflow-wrap:anywhere; font-size:.84rem; }
.picker-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.picker-status { min-height:20px; margin:7px 0 -5px; color:var(--success); font-size:.82rem; font-weight:700; }
.home-cta { padding:42px; text-align:center; }
.home-cta .lead { margin-inline:auto; }

/* About page: remove breadcrumb, label, and H1 hero completely. */
.about-page-simplified .about-content-section { padding-top:38px; }
.about-page-simplified .legal-prose { margin-inline:auto; max-width:960px; }

/* Archive and blog layout with archive-only sidebar. */
.archive-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:26px; align-items:start; }
.archive-main { min-width:0; }
.archive-blog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.archive-sidebar { position:sticky; top:96px; }
.archive-sidebar .card { padding:22px; border-radius:14px; box-shadow:0 7px 22px rgba(59,69,124,.07); }
.archive-sidebar .sidebar-widget h2 { margin:0 0 16px; padding-bottom:8px; border-bottom:2px solid #0f8b84; font-size:21px; letter-spacing:-.02em; }

/* Featured visual area for every archive card. */
.blog-card.post-box-card { flex-direction:column; }
.blog-card.post-box-card::before { display:none; }
.blog-card-cover { display:block; overflow:hidden; aspect-ratio:16/9; background:var(--surface-soft); }
.post-cover-image { display:block; width:100%; height:100%; object-fit:cover; border-radius:0; transition:transform .3s ease; }
.blog-card:hover .post-cover-image { transform:scale(1.035); }
.generated-post-cover { position:relative; width:100%; height:100%; min-height:190px; overflow:hidden; background:linear-gradient(135deg,var(--cover-a),var(--cover-b)); }
.generated-post-cover::after { content:""; position:absolute; inset:0; background:linear-gradient(135deg,transparent 22%,rgba(255,255,255,.18),transparent 66%); }
.cover-orb { position:absolute; border-radius:50%; border:18px solid rgba(255,255,255,.22); }
.cover-orb-one { width:150px; height:150px; right:-34px; top:-42px; }
.cover-orb-two { width:100px; height:100px; left:-24px; bottom:-30px; }
.cover-grid { position:absolute; inset:0; opacity:.2; background-image:linear-gradient(rgba(255,255,255,.5) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.5) 1px,transparent 1px); background-size:28px 28px; }
.cover-label { position:absolute; left:20px; top:18px; z-index:2; padding:7px 10px; border-radius:999px; color:#fff; background:rgba(12,18,45,.24); backdrop-filter:blur(8px); font-size:.76rem; font-weight:900; text-transform:uppercase; letter-spacing:.05em; }
.cover-doc { position:absolute; left:50%; top:55%; z-index:2; width:188px; padding:14px 14px 12px; border-radius:18px; background:rgba(255,255,255,.82); box-shadow:0 16px 28px rgba(15,23,42,.16); transform:translate(-50%,-50%) rotate(-2deg); }
.cover-doc-header { display:block; width:64px; height:10px; border-radius:999px; background:linear-gradient(90deg,var(--cover-a),var(--cover-b)); opacity:.95; margin-bottom:12px; }
.cover-doc-line { display:block; height:8px; border-radius:999px; background:rgba(15,23,42,.14); margin-top:9px; }
.cover-doc-line.line-long { width:100%; }
.cover-doc-line.line-mid { width:82%; }
.cover-doc-line.line-short { width:58%; }
.cover-keycaps { position:absolute; right:22px; bottom:18px; z-index:2; display:flex; gap:8px; }
.cover-keycaps b { display:inline-flex; min-width:48px; height:34px; align-items:center; justify-content:center; padding:0 10px; border-radius:12px; color:#0f172a; background:rgba(255,255,255,.76); box-shadow:0 8px 18px rgba(15,23,42,.12); font-size:.8rem; font-weight:800; letter-spacing:.01em; }
.blog-card.post-box-card .blog-body { padding:22px; }
.blog-read-button { width:100%; margin-top:auto; border-radius:12px; }
.blog-read-button span:last-child { transition:transform .2s ease; }
.blog-read-button:hover span:last-child { transform:translateX(4px); }

/* Archive sidebar */
.social-share { display:flex; flex-wrap:wrap; gap:9px; }
.social-share-link { display:inline-grid; width:38px; height:38px; place-items:center; border-radius:50%; color:#fff; background:var(--primary); box-shadow:0 7px 16px rgba(15,23,42,.15); font-weight:900; line-height:1; transition:transform .2s ease,box-shadow .2s ease; }
.social-share-link:hover,.social-share-link:focus-visible { transform:translateY(-2px); box-shadow:0 10px 22px rgba(15,23,42,.22); }
.archive-share-icons .social-facebook{background:#1877f2}.archive-share-icons .social-x{background:#111}.archive-share-icons .social-linkedin{background:#0a66c2}.archive-share-icons .social-pinterest{background:#e60023}.archive-share-icons .social-reddit{background:#ff4500}.archive-share-icons .social-telegram{background:#229ed9}.archive-share-icons .social-whatsapp{background:#25d366}
.latest-post-list { gap:14px !important; }
.latest-post-list li { display:grid; grid-template-columns:88px minmax(0,1fr); gap:12px; align-items:start; }
.latest-post-thumb { display:block; width:88px; height:62px; overflow:hidden; border-radius:8px; }
.latest-post-thumb .post-cover-image,.latest-post-thumb .generated-post-cover { width:100%; height:100%; min-height:0; }
.latest-post-thumb .cover-label,.latest-post-thumb .cover-doc,.latest-post-thumb .cover-keycaps { display:none; }
.latest-post-thumb .cover-orb { border-width:7px; }
.latest-post-title { display:-webkit-box; overflow:hidden; color:#126b68; font-size:.9rem; font-weight:800; line-height:1.35; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.latest-post-list time { display:block; margin-top:4px; color:var(--muted); font-size:.75rem; }
.category-list { gap:0 !important; }
.category-list li { border-bottom:1px solid var(--border); }
.category-list li:last-child { border-bottom:0; }
.category-list a { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; color:var(--text); font-weight:700; }
.category-list a span:last-child { min-width:30px; padding:3px 8px; border-radius:999px; color:var(--primary); background:rgba(15,118,110,.1); text-align:center; font-size:.75rem; }

/* Single post: featured image first, then title/meta, red social icons, then complete content. */
.single-post-section { padding-top:34px; }
.single-post-container { max-width:980px; }
.single-featured-cover { overflow:hidden; aspect-ratio:16/8; border:1px solid var(--border); border-radius:20px; box-shadow:var(--shadow-soft); }
.single-featured-cover .post-cover-image,.single-featured-cover .generated-post-cover { width:100%; height:100%; min-height:100%; }
.single-featured-cover .generated-post-cover-single .cover-doc { width:260px; padding:20px 20px 18px; }
.single-featured-cover .generated-post-cover-single .cover-doc-header { width:92px; height:14px; margin-bottom:16px; }
.single-featured-cover .generated-post-cover-single .cover-doc-line { height:10px; margin-top:12px; }
.single-featured-cover .generated-post-cover-single .cover-keycaps b { min-width:64px; height:42px; font-size:.95rem; }
.single-entry-header { padding:26px 0 22px; }
.single-post-title { margin-top:0; }
.single-entry-meta { align-items:center; margin-top:8px; }
.single-entry-meta a { color:var(--primary); font-weight:700; }
.single-share-icons { margin-top:18px; padding:14px 16px; border:1px solid var(--border); border-radius:14px; background:var(--surface); }
/* Single-post social icons use their recognizable platform colors. */
.red-social-icons .social-share-link { width:40px; height:40px; }
.red-social-icons .social-facebook { background:#1877f2 !important; }
.red-social-icons .social-x { background:#111111 !important; }
.red-social-icons .social-linkedin { background:#0a66c2 !important; }
.red-social-icons .social-pinterest { background:#e60023 !important; }
.red-social-icons .social-reddit { background:#ff4500 !important; }
.red-social-icons .social-telegram { background:#229ed9 !important; }
.red-social-icons .social-whatsapp { background:#25d366 !important; }
.single-post-content { padding:30px; }
.comments-area { margin-top:24px; }
.comments-title { font-size:24px; }
.comment-list { padding-left:22px; }
.comment-list .comment-body { margin-bottom:18px; padding:16px; border:1px solid var(--border); border-radius:12px; }
.comment-form { display:grid; gap:12px; }
.comment-form p { margin:0; }

@media (max-width:1050px){
  .archive-layout { grid-template-columns:1fr; }
  .archive-sidebar { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .archive-sidebar .latest-posts-widget { grid-row:span 2; }
}
@media (max-width:760px){
  .home-hero h1,.tool-hero h1,.single-post-title { font-size:30px !important; }
  .picker-values { grid-template-columns:1fr; }
  .archive-blog-grid { grid-template-columns:1fr; }
  .archive-sidebar { grid-template-columns:1fr; }
  .archive-sidebar .latest-posts-widget { grid-row:auto; }
  .single-featured-cover { aspect-ratio:16/10; border-radius:15px; }
  .single-post-content { padding:20px; }
}
@media (max-width:480px){
  .picker-fields { grid-template-columns:1fr; }
  .picker-actions .btn { width:100%; }
  .cover-doc { width:158px; padding:12px 12px 10px; }
  .cover-keycaps { right:12px; bottom:12px; gap:6px; }
  .cover-keycaps b { min-width:40px; height:28px; font-size:.7rem; padding:0 8px; }
  .latest-post-list li { grid-template-columns:76px minmax(0,1fr); }
  .latest-post-thumb { width:76px; height:58px; }
}

/* Ensure tool filter buttons visibly hide non-matching cards despite card display rules. */
.tool-card[hidden], [data-tool-card][hidden] { display:none !important; }

/* TextCraft Pro v1.0.4: exact page-title, blog-sidebar, and related-post refinements */
.home-hero-title {
  max-width: 920px;
  margin: 0 0 18px;
  font-size: 35px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.035em;
  color: var(--text);
}

/* Static pages retain their content and URLs, but no breadcrumb/title label banner is rendered. */
.page-content-only .page-content-section {
  padding-top: 38px;
}

/* The sidebar belongs to the main Blog page only. */
.blog-page-main .archive-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
}
.archive-page-main .archive-blog-grid-full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Compact, polished post-card action matching the supplied reference. */
.blog-read-button,
.related-read-more {
  align-self: flex-start;
  width: auto;
  min-height: 42px;
  margin-top: auto;
  padding: 9px 20px;
  border: 1px solid #0f8b84;
  border-radius: 8px;
  color: #fff;
  background: #0f8b84;
  box-shadow: 0 8px 18px rgba(15, 139, 132, .18);
  font-size: .9rem;
  font-weight: 800;
}
.blog-read-button:hover,
.blog-read-button:focus-visible,
.related-read-more:hover,
.related-read-more:focus-visible {
  color: #fff;
  background: #0b746e;
  border-color: #0b746e;
  box-shadow: 0 11px 24px rgba(15, 139, 132, .25);
}

/* Explicit Previous / Next cards beneath the complete article. */
.post-adjacent-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.post-adjacent-card {
  display: flex;
  min-height: 128px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 7px 20px rgba(15, 78, 74, .06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.post-adjacent-card:not(.post-adjacent-empty):hover,
.post-adjacent-card:not(.post-adjacent-empty):focus-visible {
  transform: translateY(-3px);
  border-color: rgba(15, 139, 132, .45);
  box-shadow: 0 13px 28px rgba(15, 78, 74, .11);
}
.post-adjacent-label {
  color: #0f8b84;
  font-size: .92rem;
  font-weight: 900;
}
.post-adjacent-card strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.55;
}
.post-adjacent-next {
  text-align: left;
}
.post-adjacent-empty {
  visibility: hidden;
}

/* Nine related posts, three per row on desktop. */
.single-related-posts {
  margin-top: 32px;
}
.single-related-posts > h2 {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 800;
}
.single-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.single-related-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-strong);
  box-shadow: 0 8px 22px rgba(15, 78, 74, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.single-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 139, 132, .34);
  box-shadow: 0 14px 30px rgba(15, 78, 74, .12);
}
.single-related-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-soft);
}
.single-related-image .post-cover-image,
.single-related-image .generated-post-cover {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 0;
  transition: transform .3s ease;
}
.single-related-card:hover .single-related-image .post-cover-image,
.single-related-card:hover .single-related-image .generated-post-cover {
  transform: scale(1.035);
}
.single-related-image .cover-label,
.single-related-image .cover-doc,
.single-related-image .cover-keycaps {
  transform-origin: center;
}
.single-related-body {
  display: flex;
  min-height: 205px;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}
.single-related-body h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -.02em;
}
.single-related-body h3 a:hover,
.single-related-body h3 a:focus-visible {
  color: #0f8b84;
}
.single-related-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .78rem;
}

@media (max-width: 1080px) {
  .archive-page-main .archive-blog-grid-full,
  .single-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-hero-title {
    font-size: 31px;
  }
  .blog-page-main .archive-layout {
    grid-template-columns: 1fr;
  }
  .post-adjacent-navigation,
  .archive-page-main .archive-blog-grid-full,
  .single-related-grid {
    grid-template-columns: 1fr;
  }
  .post-adjacent-card {
    min-height: 108px;
  }
  .post-adjacent-empty {
    display: none;
  }
}

/* TextCraft Pro v1.0.5: compact professional homepage hero */
.home-hero {
  padding: 34px 0 28px;
}
.home-hero .hero-grid {
  gap: 36px;
}
.home-hero-title {
  max-width: 920px;
  margin: 0 0 16px;
  font-family: inherit;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.035em;
  color: var(--text);
}
.home-hero-copy .lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.08rem, 1.45vw, 1.23rem);
  line-height: 1.7;
}
.home-hero .hero-actions {
  margin-top: 22px;
}
.home-hero .complete-picker {
  padding: 18px;
}
.home-hero .complete-picker-head {
  margin-bottom: 12px;
}
.home-hero .complete-picker-head h2 {
  font-size: 22px;
}
.home-hero .native-color-control {
  width: 54px;
  min-width: 54px;
  height: 54px;
}
.home-hero .picker-preview {
  min-height: 148px;
}
.home-hero .picker-fields {
  margin-top: 12px;
}
.home-hero .picker-values {
  margin-top: 10px;
}
.home-hero .picker-values > div {
  padding: 9px 10px;
}
.home-hero .picker-actions {
  margin-top: 12px;
}
.home-tools-section {
  padding: 34px 0 72px;
}
.home-tools-section .section-head {
  margin-bottom: 22px;
}
.home-tools-section .section-head h2 {
  margin-bottom: 12px;
}
@media (min-width: 900px) and (max-width: 1050px) {
  .home-hero .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: 28px;
  }
}
@media (max-width: 899px) {
  .home-hero {
    padding: 30px 0 22px;
  }
  .home-hero .hero-grid {
    gap: 26px;
  }
  .home-tools-section {
    padding-top: 28px;
  }
}
@media (max-width: 760px) {
  .home-hero-title {
    font-size: 34px;
  }
  .home-hero-copy .lead {
    font-size: 1.06rem;
    line-height: 1.65;
  }
}
@media (max-width: 480px) {
  .home-hero-title {
    font-size: 31px;
  }
}

/* TextCraft Pro v1.0.0 text-tool palette and workspace refinements */
:root {
  --bg:#f4fbf9; --surface:rgba(255,255,255,.9); --surface-strong:#fff; --surface-soft:#e9f8f4;
  --text:#102a2a; --muted:#607571; --border:rgba(15,118,110,.18); --primary:#0f766e; --primary-2:#14b8a6;
  --accent:#f59e0b; --pink:#db2777; --shadow:0 20px 60px rgba(15,78,74,.13); --shadow-soft:0 10px 30px rgba(15,78,74,.09);
}
[data-theme="dark"] { --bg:#071b1b;--surface:rgba(13,42,40,.9);--surface-strong:#102b2b;--surface-soft:#173b39;--text:#f0fdfa;--muted:#a7c7c1;--border:rgba(94,234,212,.16); }
body { background:radial-gradient(circle at 10% -10%,rgba(20,184,166,.17),transparent 38%),radial-gradient(circle at 95% 6%,rgba(245,158,11,.13),transparent 34%),var(--bg); }
.brand-mark { background:linear-gradient(145deg,var(--primary),var(--primary-2) 65%,var(--accent)); }
.textcraft-home-hero .hero-grid { align-items:center; }
.text-live-panel textarea { min-height:180px; resize:vertical; line-height:1.65; font-size:1rem; }
.text-panel-icon { width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(15,118,110,.13),rgba(245,158,11,.14));font-size:1.45rem; }
.text-live-values { grid-template-columns:repeat(3,minmax(0,1fr)); }
.text-editor { min-height:260px; resize:vertical; font-family:inherit; line-height:1.65; }
.text-output { min-height:260px; white-space:pre-wrap; overflow-wrap:anywhere; }
.metric-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
.metric-card { padding:16px;border:1px solid var(--border);border-radius:15px;background:var(--surface-soft); }
.metric-card span { display:block;color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em; }
.metric-card strong { display:block;font-size:1.35rem;margin-top:4px; }
.tool-toolbar { display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px; }
.inline-options { display:flex;flex-wrap:wrap;gap:12px;align-items:center; }
.inline-options label { display:inline-flex;align-items:center;gap:7px;color:var(--text); }
.inline-options input[type="checkbox"],.inline-options input[type="radio"] { width:auto; }
.counter-limit { display:grid;gap:8px;margin-top:16px; }
.progress-track { height:10px;border-radius:999px;background:var(--surface-soft);overflow:hidden;border:1px solid var(--border); }
.progress-fill { height:100%;width:0;background:linear-gradient(90deg,var(--primary),var(--primary-2),var(--accent));transition:width .2s ease; }
.keyword-list { display:flex;flex-wrap:wrap;gap:8px; }
.keyword-pill { border:1px solid var(--border);border-radius:999px;padding:7px 10px;background:var(--surface-soft);font-size:.84rem; }
.diff-highlight { background:rgba(245,158,11,.2);border-radius:4px;padding:0 2px; }
@media(max-width:760px){.metric-grid,.text-live-values{grid-template-columns:1fr 1fr}.text-live-values>div:last-child{grid-column:1/-1}.text-editor,.text-output{min-height:220px}}

/* ========================================================================
   TextCraft Pro 1.1.0 — Editorial Workspace redesign
   Visual-only layer. Tool engines, URLs, imported content, and data remain
   untouched. Prefixing with .tct-editorial-ui prevents collateral changes.
   ======================================================================== */
body.tct-editorial-ui {
  --bg: #fbf7ef;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --surface-soft: #f2eee6;
  --text: #172033;
  --muted: #687083;
  --border: #d9d5cc;
  --primary: #ff5c3a;
  --primary-2: #7157ff;
  --accent: #00a896;
  --pink: #d9468f;
  --success: #138a72;
  --warning: #c97811;
  --danger: #d53b3b;
  --shadow: 0 24px 70px rgba(31, 35, 48, .12);
  --shadow-soft: 0 10px 28px rgba(31, 35, 48, .08);
  --radius: 18px;
  --max: 1260px;
  color: var(--text);
  background:
    linear-gradient(rgba(23,32,51,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,32,51,.035) 1px, transparent 1px),
    var(--bg);
  background-size: 36px 36px;
  font-family: "Open Sans", Arial, sans-serif;
}
html[data-theme="dark"] body.tct-editorial-ui,
body.tct-editorial-ui[data-theme="dark"] {
  --bg: #12141b;
  --surface: #1b1e27;
  --surface-strong: #20242f;
  --surface-soft: #292e3b;
  --text: #fbf8f1;
  --muted: #adb3c2;
  --border: #393e4a;
  --shadow: 0 24px 70px rgba(0,0,0,.35);
  --shadow-soft: 0 10px 28px rgba(0,0,0,.24);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--bg);
  background-size: 36px 36px;
}

body.tct-editorial-ui h1,
body.tct-editorial-ui h2,
body.tct-editorial-ui h3,
body.tct-editorial-ui h4 {
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  letter-spacing: -.045em;
}
body.tct-editorial-ui a:focus-visible,
body.tct-editorial-ui button:focus-visible,
body.tct-editorial-ui input:focus-visible,
body.tct-editorial-ui select:focus-visible,
body.tct-editorial-ui textarea:focus-visible {
  outline: 3px solid rgba(113,87,255,.35);
  outline-offset: 3px;
}

/* Floating studio header */
body.tct-editorial-ui .site-header {
  top: 10px;
  width: min(1260px, calc(100% - 28px));
  margin: 10px auto 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  box-shadow: 0 12px 34px rgba(31,35,48,.08);
  backdrop-filter: blur(16px);
}
body.tct-editorial-ui.admin-bar .site-header { top: 42px; }
body.tct-editorial-ui .header-inner { height: 68px; padding-inline: 14px; }
body.tct-editorial-ui .brand { gap: 10px; }
body.tct-editorial-ui .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--text);
  box-shadow: none;
  overflow: hidden;
}
body.tct-editorial-ui .brand-mark::before {
  content: "T";
  position: absolute;
  inset: 5px;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-size: 18px;
  font-weight: 900;
}
body.tct-editorial-ui .brand-mark::after { display: none; }
body.tct-editorial-ui .brand-name { font-size: 1.03rem; letter-spacing: -.025em; }
body.tct-editorial-ui .nav .primary-menu { gap: 2px; }
body.tct-editorial-ui .nav a,
body.tct-editorial-ui .nav button {
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 750;
}
body.tct-editorial-ui .nav a:hover,
body.tct-editorial-ui .nav a:focus-visible,
body.tct-editorial-ui .nav .current-menu-item > a {
  color: var(--text);
  background: var(--surface-soft);
}
body.tct-editorial-ui .icon-btn {
  width: 39px;
  height: 39px;
  border-radius: 10px;
  border-color: var(--border);
  background: var(--surface-soft);
  box-shadow: none;
}
body.tct-editorial-ui .search-panel {
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

/* Shared buttons */
body.tct-editorial-ui .btn {
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 850;
  letter-spacing: -.015em;
  box-shadow: none;
}
body.tct-editorial-ui .btn:hover { transform: translateY(-2px); }
body.tct-editorial-ui .btn-primary {
  color: #fff;
  background: var(--text);
  border-color: var(--text);
  box-shadow: 4px 4px 0 var(--primary);
}
body.tct-editorial-ui .btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 4px 4px 0 var(--text);
}
body.tct-editorial-ui .btn-secondary {
  color: var(--text);
  background: var(--surface-strong);
  border-color: var(--border);
  box-shadow: none;
}
body.tct-editorial-ui .btn-secondary:hover { border-color: var(--text); }
body.tct-editorial-ui .btn-ghost {
  color: var(--text);
  background: var(--surface-soft);
  border-color: var(--border);
}
body.tct-editorial-ui .btn-sm { min-height: 39px; padding: 8px 13px; border-radius: 8px; }

/* Homepage hero — editorial document workspace */
body.tct-editorial-ui .editorial-hero {
  padding: 52px 0 48px;
  overflow: visible;
}
body.tct-editorial-ui .editorial-hero-shell {
  position: relative;
  padding: 52px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 10%, rgba(113,87,255,.13), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(255,92,58,.11), transparent 28%),
    var(--surface-strong);
  box-shadow: 0 28px 75px rgba(31,35,48,.10);
}
body.tct-editorial-ui .editorial-hero-shell::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 84px;
  height: 84px;
  opacity: .42;
  background-image: radial-gradient(var(--text) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  pointer-events: none;
}
body.tct-editorial-ui .editorial-hero .hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: 54px;
  align-items: center;
}
body.tct-editorial-ui .hero-overline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
body.tct-editorial-ui .hero-overline span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.tct-editorial-ui .hero-overline span:first-child {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}
body.tct-editorial-ui .home-hero-title {
  max-width: 720px;
  margin: 0 0 20px;
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.065em;
}
body.tct-editorial-ui .gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.tct-editorial-ui .home-hero-copy .lead {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  line-height: 1.75;
}
body.tct-editorial-ui .home-hero .hero-actions { margin-top: 28px; }
body.tct-editorial-ui .hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .84rem;
}
body.tct-editorial-ui .hero-proof span { display: inline-flex; gap: 6px; align-items: baseline; }
body.tct-editorial-ui .hero-proof strong { color: var(--text); font-size: 1.05rem; }

body.tct-editorial-ui .editorial-editor {
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--text);
  border-radius: 16px;
  background: var(--surface-strong);
  box-shadow: 10px 10px 0 rgba(113,87,255,.22);
}
body.tct-editorial-ui .editorial-editor::before { display: none; }
body.tct-editorial-ui .editor-window-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--muted);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: .78rem;
  font-weight: 700;
}
body.tct-editorial-ui .editor-dots { display: flex; gap: 6px; }
body.tct-editorial-ui .editor-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
body.tct-editorial-ui .editor-dots i:nth-child(2) { background: #f5b942; }
body.tct-editorial-ui .editor-dots i:nth-child(3) { background: var(--accent); }
body.tct-editorial-ui .editor-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--success);
}
body.tct-editorial-ui .editor-live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(19,138,114,.12);
}
body.tct-editorial-ui .editor-body {
  position: relative;
  padding-left: 46px;
  background:
    linear-gradient(90deg, var(--surface-soft) 0 45px, transparent 45px),
    repeating-linear-gradient(to bottom, transparent 0 31px, rgba(23,32,51,.055) 31px 32px);
}
body.tct-editorial-ui .editor-body::before {
  content: "1\A 2\A 3\A 4\A 5\A 6\A 7";
  white-space: pre;
  position: absolute;
  left: 15px;
  top: 18px;
  color: var(--muted);
  font: 12px/32px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  opacity: .65;
}
body.tct-editorial-ui .editorial-editor textarea {
  min-height: 230px;
  margin: 0;
  padding: 18px 18px 18px 16px;
  border: 0;
  border-radius: 0;
  color: var(--text);
  background: transparent;
  font: 500 1rem/2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  resize: vertical;
  box-shadow: none;
}
body.tct-editorial-ui .editorial-editor textarea:focus { box-shadow: none; }
body.tct-editorial-ui .editor-statusbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}
body.tct-editorial-ui .editor-statusbar > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-right: 1px solid var(--border);
}
body.tct-editorial-ui .editor-statusbar > div:last-child { border-right: 0; }
body.tct-editorial-ui .editor-statusbar span { color: var(--muted); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
body.tct-editorial-ui .editor-statusbar strong { font-family: "Open Sans", Arial, sans-serif; font-size: .95rem; }
body.tct-editorial-ui .editor-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px;
}
body.tct-editorial-ui .editor-link {
  margin-left: auto;
  color: var(--primary-2);
  font-size: .84rem;
  font-weight: 850;
}
body.tct-editorial-ui .editor-link:hover { text-decoration: underline; }
body.tct-editorial-ui .editorial-editor .picker-status { margin: -7px 14px 7px; }

/* Section headings */
body.tct-editorial-ui .editorial-section { padding: 74px 0; }
body.tct-editorial-ui .editorial-guides-section { background: color-mix(in srgb, var(--surface-soft) 58%, transparent); border-block: 1px solid var(--border); }
body.tct-editorial-ui .editorial-section-head {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) auto;
  align-items: end;
  gap: 20px;
  margin-bottom: 34px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--text);
}
body.tct-editorial-ui .section-index {
  color: var(--primary);
  font: 900 1rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
body.tct-editorial-ui .section-copy > span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
body.tct-editorial-ui .section-copy h2 {
  margin: 0 0 7px;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 900;
  line-height: 1;
}
body.tct-editorial-ui .section-copy p { max-width: 720px; margin: 0; color: var(--muted); }
body.tct-editorial-ui .text-link { color: var(--text); font-size: .9rem; font-weight: 900; }
body.tct-editorial-ui .text-link:hover { color: var(--primary); }

/* Tool filters and cards become an indexed utility directory */
body.tct-editorial-ui [data-tct-filter-root] > .section-head {
  align-items: center;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
}
body.tct-editorial-ui .tool-filter { margin: 0; gap: 6px; }
body.tct-editorial-ui .chip {
  border-radius: 7px;
  padding: 8px 11px;
  color: var(--muted);
  background: transparent;
  font-size: .82rem;
}
body.tct-editorial-ui .chip.active,
body.tct-editorial-ui .chip:hover {
  color: #fff;
  background: var(--text);
  border-color: var(--text);
}
body.tct-editorial-ui .search-box { max-width: 330px; }
body.tct-editorial-ui input,
body.tct-editorial-ui select,
body.tct-editorial-ui textarea {
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  background: var(--surface-strong);
}
body.tct-editorial-ui input:focus,
body.tct-editorial-ui select:focus,
body.tct-editorial-ui textarea:focus {
  border-color: var(--primary-2);
  box-shadow: 0 0 0 4px rgba(113,87,255,.10);
}
body.tct-editorial-ui .tool-grid {
  counter-reset: textcraft-tools;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
body.tct-editorial-ui .tool-card {
  counter-increment: textcraft-tools;
  position: relative;
  min-height: 270px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.tct-editorial-ui .tool-card::before {
  content: counter(textcraft-tools, decimal-leading-zero);
  position: absolute;
  top: 15px;
  right: 16px;
  color: var(--muted);
  font: 800 .75rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
body.tct-editorial-ui .tool-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
body.tct-editorial-ui .tool-card:hover {
  transform: translateY(-5px);
  border-color: var(--text);
  box-shadow: 7px 7px 0 color-mix(in srgb, var(--primary-2) 18%, transparent);
}
body.tct-editorial-ui .tool-card:hover::after { transform: scaleX(1); }
body.tct-editorial-ui .tool-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: var(--surface-soft);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
}
body.tct-editorial-ui .tool-meta {
  color: var(--primary);
  font-size: .68rem;
  letter-spacing: .1em;
}
body.tct-editorial-ui .tool-card h3 { margin: 8px 0 10px; font-size: 1.25rem; line-height: 1.12; }
body.tct-editorial-ui .tool-card p { margin-bottom: 18px; font-size: .91rem; line-height: 1.65; }
body.tct-editorial-ui .tool-card .btn {
  align-self: flex-start;
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  font-size: .83rem;
  box-shadow: none;
}
body.tct-editorial-ui .tool-card:hover .btn { color: var(--primary); transform: none; }

/* Cards and tool workspaces */
body.tct-editorial-ui .card,
body.tct-editorial-ui .hero-panel {
  border-color: var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: none;
  backdrop-filter: none;
}
body.tct-editorial-ui .tool-hero {
  padding: 58px 0 28px;
}
body.tct-editorial-ui .tool-hero .container {
  position: relative;
  padding: 30px 34px;
  border-left: 7px solid var(--primary);
  background: var(--surface-strong);
  box-shadow: 0 1px 0 var(--border), 0 -1px 0 var(--border);
}
body.tct-editorial-ui .tool-hero .eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--primary-2);
  background: transparent;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.tct-editorial-ui .tool-hero h1 {
  margin: 8px 0 9px;
  font-size: clamp(2.2rem, 4vw, 4rem) !important;
  font-weight: 900;
  line-height: 1;
}
body.tct-editorial-ui .tool-hero .lead { margin: 0; font-size: 1rem; }
body.tct-editorial-ui .tool-layout { gap: 16px; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); }
body.tct-editorial-ui .tool-layout > .card {
  position: relative;
  padding: 24px;
  border-top: 4px solid var(--text);
}
body.tct-editorial-ui .tool-layout > .card:nth-child(2) { border-top-color: var(--primary-2); }
body.tct-editorial-ui .field label {
  color: var(--text);
  font-size: .78rem;
  letter-spacing: .045em;
  text-transform: uppercase;
}
body.tct-editorial-ui .text-editor,
body.tct-editorial-ui .text-output {
  min-height: 290px;
  border-radius: 9px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 31px, rgba(23,32,51,.045) 31px 32px),
    var(--surface-strong);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 2;
}
body.tct-editorial-ui .text-output { background-color: var(--surface-soft); }
body.tct-editorial-ui .metric-grid { gap: 9px; }
body.tct-editorial-ui .metric-card {
  padding: 14px;
  border-radius: 9px;
  background: var(--surface-soft);
}
body.tct-editorial-ui .metric-card:nth-child(3n+1) { border-top: 3px solid var(--primary); }
body.tct-editorial-ui .metric-card:nth-child(3n+2) { border-top: 3px solid var(--primary-2); }
body.tct-editorial-ui .metric-card:nth-child(3n) { border-top: 3px solid var(--accent); }
body.tct-editorial-ui .progress-track { height: 8px; border-radius: 3px; }
body.tct-editorial-ui .progress-fill { background: linear-gradient(90deg,var(--primary),var(--primary-2)); }
body.tct-editorial-ui .keyword-pill {
  border-radius: 6px;
  background: var(--surface-soft);
}
body.tct-editorial-ui .related-card {
  border-radius: 9px;
  transition: border-color .2s ease, transform .2s ease;
}
body.tct-editorial-ui .related-card:hover { transform: translateX(3px); border-color: var(--primary); }
body.tct-editorial-ui .content-grid { gap: 16px; }
body.tct-editorial-ui .tool-guide .prose { border-top: 4px solid var(--accent); }
body.tct-editorial-ui .faq details { border-radius: 9px; background: var(--surface-soft); }

/* Blog cards — magazine-style, still using existing content */
body.tct-editorial-ui .blog-grid { gap: 16px; }
body.tct-editorial-ui .blog-card.post-box-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: none;
}
body.tct-editorial-ui .blog-card.post-box-card:hover {
  transform: translateY(-4px);
  border-color: var(--text);
  box-shadow: 6px 6px 0 rgba(255,92,58,.16);
}
body.tct-editorial-ui .blog-card-cover { aspect-ratio: 16/8.5; border-bottom: 1px solid var(--border); }
body.tct-editorial-ui .generated-post-cover { min-height: 180px; }
body.tct-editorial-ui .cover-label { border-radius: 6px; background: rgba(23,32,51,.72); }
body.tct-editorial-ui .blog-card.post-box-card .blog-body { padding: 20px; }
body.tct-editorial-ui .blog-card-meta {
  margin-bottom: 11px;
  color: var(--primary);
  font-size: .68rem;
  letter-spacing: .09em;
}
body.tct-editorial-ui .blog-card-title { font-size: 1.34rem; font-weight: 900; line-height: 1.15; }
body.tct-editorial-ui .blog-card-excerpt { font-size: .91rem; }
body.tct-editorial-ui .blog-read-button,
body.tct-editorial-ui .related-read-more {
  min-height: 39px;
  padding: 8px 14px;
  border-radius: 8px;
  border-color: var(--text);
  color: #fff;
  background: var(--text);
  box-shadow: 3px 3px 0 var(--primary);
}
body.tct-editorial-ui .blog-read-button:hover,
body.tct-editorial-ui .related-read-more:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 3px 3px 0 var(--text);
}

/* Archive, sidebar, article, and static content */
body.tct-editorial-ui .archive-sidebar .card,
body.tct-editorial-ui .sidebar-widget,
body.tct-editorial-ui .single-post-content,
body.tct-editorial-ui .single-related-card,
body.tct-editorial-ui .post-adjacent-card {
  border-radius: 12px;
  background: var(--surface-strong);
  box-shadow: none;
}
body.tct-editorial-ui .archive-sidebar .sidebar-widget h2 {
  border-bottom-color: var(--primary);
  font-weight: 900;
}
body.tct-editorial-ui .single-featured-cover {
  border: 2px solid var(--text);
  border-radius: 16px;
  box-shadow: 8px 8px 0 rgba(113,87,255,.18);
}
body.tct-editorial-ui .single-post-title {
  font-size: clamp(1.8rem, 3.6vw, 3.75rem) !important;
  font-weight: 800;
  line-height: 1.06;
}
body.tct-editorial-ui .single-post-content h1,
body.tct-editorial-ui .prose h1 {
  font-size: clamp(1.95rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 16px;
}

body.tct-editorial-ui .single-share-icons { border-radius: 10px; background: var(--surface-soft); }
body.tct-editorial-ui .prose h2 { font-size: clamp(1.65rem, 2.5vw, 2.25rem); font-weight: 900; }
body.tct-editorial-ui .prose blockquote { border-left: 5px solid var(--primary); background: var(--surface-soft); }
body.tct-editorial-ui .prose th { background: var(--text); color: #fff; }
body.tct-editorial-ui .post-adjacent-card { border-left: 5px solid var(--primary); }
body.tct-editorial-ui .post-adjacent-next { border-left-color: var(--primary-2); }
body.tct-editorial-ui .post-adjacent-label { color: var(--primary); }
body.tct-editorial-ui .single-related-card:hover { border-color: var(--text); box-shadow: 5px 5px 0 rgba(0,168,150,.15); }
body.tct-editorial-ui .page-content-only .page-content-section { padding-top: 50px; }

/* CTA and footer */
body.tct-editorial-ui .editorial-cta-section { padding: 58px 0 78px; }
body.tct-editorial-ui .editorial-cta {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 38px;
  border: 2px solid var(--text);
  border-radius: 16px;
  color: #fff;
  background: var(--text);
  box-shadow: 9px 9px 0 var(--primary-2);
}
body.tct-editorial-ui .editorial-cta h2 { margin: 4px 0 8px; color: #fff; font-size: clamp(1.8rem,3vw,3rem); }
body.tct-editorial-ui .editorial-cta p { margin: 0; color: rgba(255,255,255,.72); }
body.tct-editorial-ui .cta-label { color: #ffb6a6; font-size: .72rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
body.tct-editorial-ui .editorial-cta .btn-primary { color: var(--text); background: #fff; border-color: #fff; box-shadow: 4px 4px 0 var(--primary); }
body.tct-editorial-ui .site-footer {
  margin: 0 14px 14px;
  padding: 56px 0 24px;
  border-radius: 20px;
  color: #fff;
  background: var(--text);
}
body.tct-editorial-ui .site-footer .brand-name,
body.tct-editorial-ui .site-footer h3 { color: #fff; }
body.tct-editorial-ui .site-footer .brand-mark { background: #fff; }
body.tct-editorial-ui .site-footer .footer-col a,
body.tct-editorial-ui .site-footer .muted,
body.tct-editorial-ui .site-footer .footer-link-button,
body.tct-editorial-ui .site-footer .footer-bottom { color: rgba(255,255,255,.66); }
body.tct-editorial-ui .site-footer .footer-col a:hover,
body.tct-editorial-ui .site-footer .footer-link-button:hover { color: #fff; }
body.tct-editorial-ui .site-footer .footer-bottom { border-color: rgba(255,255,255,.15); }
body.tct-editorial-ui .cookie-banner { border-radius: 14px; background: var(--surface-strong); }

/* Responsive */
@media (max-width: 1120px) {
  body.tct-editorial-ui .nav { display: none; }
  body.tct-editorial-ui .menu-btn { display: inline-grid; }
  body.tct-editorial-ui .tool-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.tct-editorial-ui .editorial-hero .hero-grid { grid-template-columns: minmax(0,1fr) minmax(350px,.86fr); gap: 36px; }
}
@media (max-width: 900px) {
  body.tct-editorial-ui .site-header { top: 6px; margin-top: 6px; }
  body.tct-editorial-ui.admin-bar .site-header { top: 48px; }
  body.tct-editorial-ui .editorial-hero-shell { padding: 38px; }
  body.tct-editorial-ui .editorial-hero .hero-grid,
  body.tct-editorial-ui .tool-layout { grid-template-columns: 1fr; }
  body.tct-editorial-ui .editorial-section-head { grid-template-columns: 50px 1fr; }
  body.tct-editorial-ui .editorial-section-head .text-link { grid-column: 2; justify-self: start; }
  body.tct-editorial-ui .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.tct-editorial-ui .editorial-cta { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body.tct-editorial-ui .container { width: min(var(--max), calc(100% - 24px)); }
  body.tct-editorial-ui .site-header { width: calc(100% - 16px); border-radius: 14px; }
  body.tct-editorial-ui .header-inner { height: 62px; padding-inline: 9px; }
  body.tct-editorial-ui .brand-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.tct-editorial-ui .editorial-hero { padding: 30px 0 34px; }
  body.tct-editorial-ui .editorial-hero-shell { padding: 28px 20px; border-radius: 18px; }
  body.tct-editorial-ui .home-hero-title { font-size: clamp(39px,12vw,56px); }
  body.tct-editorial-ui .hero-proof { gap: 8px 16px; }
  body.tct-editorial-ui .editorial-editor { box-shadow: 6px 6px 0 rgba(113,87,255,.2); }
  body.tct-editorial-ui .editor-statusbar { grid-template-columns: 1fr; }
  body.tct-editorial-ui .editor-statusbar > div { border-right: 0; border-bottom: 1px solid var(--border); }
  body.tct-editorial-ui .editor-statusbar > div:last-child { border-bottom: 0; }
  body.tct-editorial-ui .editor-link { width: 100%; margin-left: 0; padding-top: 4px; }
  body.tct-editorial-ui .editorial-section { padding: 56px 0; }
  body.tct-editorial-ui .editorial-section-head { grid-template-columns: 1fr; gap: 8px; }
  body.tct-editorial-ui .editorial-section-head .text-link { grid-column: 1; }
  body.tct-editorial-ui .section-index { margin-bottom: 4px; }
  body.tct-editorial-ui [data-tct-filter-root] > .section-head { align-items: stretch; flex-direction: column; }
  body.tct-editorial-ui .search-box { max-width: none; }
  body.tct-editorial-ui .tool-grid { grid-template-columns: 1fr; }
  body.tct-editorial-ui .tool-card { min-height: 230px; }
  body.tct-editorial-ui .tool-hero { padding-top: 42px; }
  body.tct-editorial-ui .tool-hero .container { padding: 24px 22px; }
  body.tct-editorial-ui .tool-hero h1 { font-size: 2.4rem !important; }
  body.tct-editorial-ui .editorial-cta { padding: 28px 22px; box-shadow: 6px 6px 0 var(--primary-2); }
  body.tct-editorial-ui .site-footer { margin: 0 8px 8px; }
}
@media (max-width: 480px) {
  body.tct-editorial-ui .hero-actions .btn,
  body.tct-editorial-ui .editor-actions .btn { width: 100%; }
  body.tct-editorial-ui .hero-proof { display: grid; grid-template-columns: 1fr 1fr; }
  body.tct-editorial-ui .metric-grid { grid-template-columns: 1fr 1fr; }
  body.tct-editorial-ui .text-editor,
  body.tct-editorial-ui .text-output { min-height: 230px; }
}


/* TextCraft Pro v1.1.6: coordinated four-color theme palette for social sharing */
.single-share-brand-icons .social-share-link {
  width:40px;
  height:40px;
  color:#fff;
  border:1px solid rgba(255,255,255,.24);
  box-shadow:0 8px 18px rgba(15,78,74,.16);
}
.single-share-brand-icons .social-facebook,
.single-share-brand-icons .social-linkedin { background:var(--primary) !important; }
.single-share-brand-icons .social-x { background:var(--text) !important; }
.single-share-brand-icons .social-pinterest,
.single-share-brand-icons .social-reddit { background:var(--pink) !important; }
.single-share-brand-icons .social-telegram,
.single-share-brand-icons .social-whatsapp { background:var(--primary-2) !important; }
.single-share-brand-icons .social-share-link:hover,
.single-share-brand-icons .social-share-link:focus-visible {
  transform:translateY(-3px) scale(1.04);
  box-shadow:0 12px 24px rgba(15,78,74,.22);
}


/* TextCraft Pro v1.1.7: theme-palette colors only in the single-post share bar. */
.single-post-theme-icons .social-share-link {
  width: 40px;
  height: 40px;
  color: #ffffff;
  border: 0;
  box-shadow: 0 8px 18px rgba(23,32,51,.16);
}
.single-post-theme-icons .social-share-link:hover,
.single-post-theme-icons .social-share-link:focus-visible {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 24px rgba(23,32,51,.24);
}


/* TextCraft Pro v1.1.8: enforce all seven single-post social icon theme colors. */
body.single-post .single-post-theme-icons .social-share-link,
body.single .single-post-theme-icons .social-share-link {
  width: 40px !important;
  height: 40px !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 8px 18px rgba(23,32,51,.16) !important;
}
body.single-post .single-post-theme-icons .social-facebook,
body.single .single-post-theme-icons .social-facebook,
body.single-post .single-post-theme-icons .social-linkedin,
body.single .single-post-theme-icons .social-linkedin {
  background: #0f766e !important;
}
body.single-post .single-post-theme-icons .social-x,
body.single .single-post-theme-icons .social-x {
  background: #172033 !important;
}
body.single-post .single-post-theme-icons .social-pinterest,
body.single .single-post-theme-icons .social-pinterest,
body.single-post .single-post-theme-icons .social-reddit,
body.single .single-post-theme-icons .social-reddit {
  background: #ec4899 !important;
}
body.single-post .single-post-theme-icons .social-telegram,
body.single .single-post-theme-icons .social-telegram,
body.single-post .single-post-theme-icons .social-whatsapp,
body.single .single-post-theme-icons .social-whatsapp {
  background: #14b8a6 !important;
}
body.single-post .single-post-theme-icons .social-share-link:hover,
body.single-post .single-post-theme-icons .social-share-link:focus-visible,
body.single .single-post-theme-icons .social-share-link:hover,
body.single .single-post-theme-icons .social-share-link:focus-visible {
  transform: translateY(-3px) scale(1.06) !important;
  filter: brightness(.94);
  box-shadow: 0 12px 24px rgba(23,32,51,.24) !important;
}


/* TextCraft Pro v1.1.9 */
body.tct-editorial-ui .site-header,.site-header{position:fixed;top:0;left:0;right:0;width:100%;margin:0;border-width:0 0 1px;border-radius:0 0 18px 18px;background:color-mix(in srgb,var(--surface-strong) 94%,transparent);box-shadow:0 10px 30px rgba(16,42,42,.08);transform:none}
body.tct-editorial-ui.admin-bar .site-header,.admin-bar .site-header{top:32px}.site-content{min-height:60vh;padding-top:74px}body.tct-editorial-ui .site-content{padding-top:68px}body.tct-editorial-ui .header-inner{width:min(var(--max),calc(100% - 32px));padding-inline:0}
.post-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 26px;padding:14px;border:1px solid var(--border);border-radius:16px;background:var(--surface-strong);box-shadow:var(--shadow-soft)}.post-filter-buttons{display:flex;flex-wrap:wrap;gap:8px}.post-filter-button{min-height:42px;padding:9px 15px;border:1px solid var(--border);border-radius:11px;color:var(--muted);background:var(--surface-soft);font:inherit;font-size:.88rem;font-weight:800;transition:.18s ease}.post-filter-button:hover,.post-filter-button:focus-visible{transform:translateY(-2px);color:var(--text);border-color:rgba(15,118,110,.4)}.post-filter-button.active{color:#fff;border-color:transparent;background:linear-gradient(135deg,var(--primary),var(--primary-2));box-shadow:0 10px 20px rgba(15,118,110,.2)}.post-filter-search{flex:0 1 260px}.post-filter-search input{width:100%;min-height:44px;padding:10px 13px;border:1px solid var(--border);border-radius:11px;color:var(--text);background:var(--surface-soft);outline:none}.post-filter-search input:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(15,118,110,.1)}.post-filter-empty{padding:28px;border:1px dashed var(--border);border-radius:16px;color:var(--muted);background:var(--surface-soft);text-align:center}[data-post-card][hidden]{display:none!important}
.single-post-container{max-width:1280px}.single-post-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}.single-post-main-column{min-width:0}.single-post-layout .post-sidebar{position:sticky;top:92px}.post-sidebar{display:grid;gap:20px}.post-sidebar .sidebar-widget{padding:20px;border:1px solid var(--border);border-radius:14px;background:var(--surface-strong);box-shadow:none}.sidebar-widget-heading{margin-bottom:15px}.sidebar-widget-kicker,.single-related-kicker{display:block;margin-bottom:4px;color:var(--primary);font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.sidebar-widget-heading h2{margin:0;font-size:1.3rem;font-weight:850}.post-sidebar-list{display:grid;gap:14px;margin:0;padding:0;list-style:none}.post-sidebar-list li{display:grid;grid-template-columns:82px minmax(0,1fr);gap:11px;align-items:start}.post-sidebar-thumb{display:block;width:82px;height:64px;overflow:hidden;border-radius:10px;background:var(--surface-soft)}.post-sidebar-thumb .post-cover-image,.post-sidebar-thumb .generated-post-cover{width:100%;height:100%;min-height:0;object-fit:cover}.post-sidebar-thumb .cover-label,.post-sidebar-thumb .cover-doc,.post-sidebar-thumb .cover-keycaps{display:none}.post-sidebar-copy{min-width:0}.post-sidebar-category{display:block;color:var(--primary);font-size:.7rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.post-sidebar-title{display:-webkit-box;margin-top:2px;overflow:hidden;color:var(--text);font-size:.88rem;font-weight:800;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.post-sidebar-title:hover{color:var(--primary)}.post-sidebar-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px;color:var(--muted);font-size:.72rem}.sidebar-category-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.sidebar-category-list li{border-bottom:1px solid var(--border)}.sidebar-category-list li:last-child{border-bottom:0}.sidebar-category-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;font-weight:750}.sidebar-category-list strong{min-width:30px;padding:3px 8px;border-radius:999px;color:var(--primary);background:rgba(15,118,110,.1);text-align:center;font-size:.75rem}.sidebar-tool-links{display:grid;gap:9px}.sidebar-tool-links a{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft);font-size:.88rem;font-weight:800}.sidebar-tool-links a:hover{border-color:var(--primary);transform:translateX(2px)}.sidebar-tool-links span{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;color:#fff;background:var(--text);font-size:.7rem}
.single-related-posts{margin-top:34px}.single-related-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}.single-related-heading h2{margin:0;font-size:1.75rem;font-weight:850}.single-related-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.single-related-body{min-height:210px}.single-related-meta{justify-content:space-between}.related-read-more,.blog-read-button{color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-2));border-color:transparent;box-shadow:0 9px 18px rgba(15,118,110,.18)}.related-read-more:hover,.blog-read-button:hover{color:#fff;background:linear-gradient(135deg,#0b5f59,var(--primary))}
.textcraft-comments{margin-top:32px;padding:28px;border:1px solid var(--border);border-radius:16px;background:var(--surface-strong);box-shadow:none}.textcraft-comments-list-wrap{margin-bottom:28px}.textcraft-comments .comments-title,.textcraft-comments .comment-reply-title{display:inline-block;margin:0 0 18px;padding:0 2px;color:var(--text);background:rgba(16,42,42,.12);font-size:1.25rem;font-weight:850;line-height:1.25;letter-spacing:-.02em}.textcraft-comments .comment-notes{margin:0 0 22px;color:var(--text);font-size:1rem}.textcraft-comment-form{display:grid;gap:18px}.textcraft-comment-form p{margin:0}.textcraft-comment-field{display:flex;flex-direction:column;gap:7px}.textcraft-comment-field label{color:var(--text);font-size:.98rem;font-weight:600}.textcraft-comment-field .required{color:#d43f3a}.textcraft-comment-field input,.textcraft-comment-field textarea{display:block;width:100%;border:1px solid var(--border);border-radius:9px;color:var(--text);background:var(--surface);font:inherit;outline:none;transition:border-color .18s ease,box-shadow .18s ease}.textcraft-comment-field input{min-height:56px;padding:12px 14px}.textcraft-comment-field textarea{min-height:268px;padding:14px;line-height:1.6;resize:vertical}.textcraft-comment-field input:focus,.textcraft-comment-field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(15,118,110,.1)}.textcraft-comments .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:9px;color:var(--text);font-size:.94rem;line-height:1.5}.textcraft-comments .comment-form-cookies-consent input{width:15px;height:15px;flex:0 0 15px;margin:4px 0 0;accent-color:var(--primary)}.textcraft-comment-submit{min-height:48px;padding:11px 22px;border:0;border-radius:9px;color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-2));box-shadow:0 10px 22px rgba(15,118,110,.22);font:inherit;font-weight:850;cursor:pointer;transition:.18s ease}.textcraft-comment-submit:hover,.textcraft-comment-submit:focus-visible{transform:translateY(-2px);box-shadow:0 14px 28px rgba(15,118,110,.3);filter:saturate(1.08)}
@media(max-width:1050px){.single-post-layout{grid-template-columns:1fr}.single-post-layout .post-sidebar{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.single-post-layout .sidebar-latest-widget{grid-column:1/-1}}@media(max-width:782px){body.tct-editorial-ui.admin-bar .site-header,.admin-bar .site-header{top:46px}}@media(max-width:760px){.site-content,body.tct-editorial-ui .site-content{padding-top:62px}.post-filter-bar{align-items:stretch;flex-direction:column}.post-filter-search{flex-basis:auto}.single-post-layout .post-sidebar{grid-template-columns:1fr}.single-post-layout .sidebar-latest-widget{grid-column:auto}.single-related-grid{grid-template-columns:1fr}.textcraft-comments{padding:20px}}


/* TextCraft Pro v1.1.12: cleaner blog filters and article headings */
body.single-post .single-post-content h2,
body.single-post .entry-content h2,
body.single-post .prose h2 {
  font-size: 26px !important;
  font-weight: 600 !important;
  line-height: 1.28;
}

.blog-page-main .page-content-section {
  padding-top: 24px !important;
}

.post-filter-bar {
  gap: 14px;
  margin-bottom: 22px;
  padding: 11px 12px;
  border-radius: 14px;
}
.post-filter-buttons {
  gap: 6px;
}
.post-filter-button {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 750;
}
.post-filter-button.active {
  box-shadow: 0 7px 16px rgba(15,118,110,.18);
}
.post-filter-search {
  flex: 0 1 230px;
}
.post-filter-search input {
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 9px;
  font-size: .9rem;
}

@media (max-width: 760px) {
  .blog-page-main .page-content-section {
    padding-top: 18px !important;
  }
  .post-filter-button {
    min-height: 34px;
    padding: 6px 10px;
    font-size: .78rem;
  }
}


/* TextCraft Pro v1.1.14: Open Sans across the entire website */
html, body, button, input, select, textarea, optgroup, option, table, th, td,
.site-header, .site-main, .site-footer, .nav, .mobile-menu, .card, .prose,
.entry-content, .widget, .sidebar-widget, .comment-form, .tool-page,
.tct-tool-app, .wp-block, .wp-block-button__link, .wp-element-button,
code, pre, kbd, samp {
  font-family: "Open Sans", Arial, sans-serif !important;
}


/* TextCraft Pro v1.1.15: refined single-post title and article H2 typography */
body.single-post.tct-editorial-ui .single-post-title,
body.single-post .single-post-title {
  max-width: 920px;
  font-size: 44px !important;
  font-weight: 800 !important;
  line-height: 1.12;
  letter-spacing: -0.032em;
}

body.single-post .single-post-content h2,
body.single-post .entry-content h2,
body.single-post .prose h2 {
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.28;
}

@media (max-width: 900px) {
  body.single-post.tct-editorial-ui .single-post-title,
  body.single-post .single-post-title {
    font-size: 38px !important;
  }
}

@media (max-width: 600px) {
  body.single-post.tct-editorial-ui .single-post-title,
  body.single-post .single-post-title {
    font-size: 32px !important;
    line-height: 1.16;
  }
}


/* TextCraft Pro v1.1.17: post TOC, 15-post sidebar, and original social colors. */
body.single-post .single-post-theme-icons .social-facebook,
body.single .single-post-theme-icons .social-facebook,
.archive-share-icons .social-facebook { background:#1877f2 !important; }
body.single-post .single-post-theme-icons .social-x,
body.single .single-post-theme-icons .social-x,
.archive-share-icons .social-x { background:#111111 !important; }
body.single-post .single-post-theme-icons .social-linkedin,
body.single .single-post-theme-icons .social-linkedin,
.archive-share-icons .social-linkedin { background:#0a66c2 !important; }
body.single-post .single-post-theme-icons .social-pinterest,
body.single .single-post-theme-icons .social-pinterest,
.archive-share-icons .social-pinterest { background:#e60023 !important; }
body.single-post .single-post-theme-icons .social-reddit,
body.single .single-post-theme-icons .social-reddit,
.archive-share-icons .social-reddit { background:#ff4500 !important; }
body.single-post .single-post-theme-icons .social-telegram,
body.single .single-post-theme-icons .social-telegram,
.archive-share-icons .social-telegram { background:#229ed9 !important; }
body.single-post .single-post-theme-icons .social-whatsapp,
body.single .single-post-theme-icons .social-whatsapp,
.archive-share-icons .social-whatsapp { background:#25d366 !important; }

.single-post-content > .article-toc:first-child {
  margin-bottom:30px;
}
.article-toc {
  scroll-margin-top:105px;
}
.article-toc summary {
  font-family:"Open Sans",Arial,sans-serif;
  font-size:1.05rem;
  font-weight:800;
}
.article-toc li a {
  font-size:.92rem;
  line-height:1.45;
}
.post-sidebar-list {
  gap:12px;
}
.post-sidebar-list li {
  padding-bottom:12px;
  border-bottom:1px solid var(--border);
}
.post-sidebar-list li:last-child {
  padding-bottom:0;
  border-bottom:0;
}


/* TextCraft Pro v1.1.18: requested sidebar and navigation refinements */
.post-sidebar-category {
  display: none !important;
}
.nav a,
.nav button,
body.tct-editorial-ui .nav a,
body.tct-editorial-ui .nav button,
.mobile-menu a,
.mobile-menu-list a {
  font-size: 15px !important;
}


/* TextCraft Pro v1.1.21: static-page H2 headings */
body.page .page-content-only .legal-prose h2,
body.page .page-content-only .prose h2 {
  font-size: 33px !important;
  font-weight: 700 !important;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
