/* Next-Pit · 2.11.6 — workspaces & typographic identity
 * Direct theme-owned styling. Only homepage, FAQ and About receive workspace frames.
 * No plugin business logic, data, overlay layering or global modal CSS is touched.
 */
:root {
  --tdc-display-font: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --tdc-display-spacing: -.045em;
  --tdc-display-weight: 750;
  --tdc-outline-border: color-mix(in srgb, var(--vb-color-border, rgba(255,255,255,.12)) 84%, rgba(255,255,255,.18));
  --tdc-outline-radius: clamp(20px, 2.2vw, 34px);
}
body.tdc-type-editorial {
  --tdc-display-font: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --tdc-display-spacing: -.042em;
  --tdc-display-weight: 750;
}
body.tdc-type-stage {
  --tdc-display-font: "Arial Narrow", "Franklin Gothic Medium", "Arial Black", "Liberation Sans", Arial, sans-serif;
  --tdc-display-spacing: -.025em;
  --tdc-display-weight: 900;
}
body.tdc-type-classic {
  --tdc-display-font: Georgia, "Times New Roman", serif;
  --tdc-display-spacing: -.052em;
  --tdc-display-weight: 800;
}
/* Frame belongs to the theme workspace; nested functional cards retain their own surfaces. */
body.tdc-outline-page .tdc-site-main {
  background: transparent;
}
body.tdc-outline-page .tdc-site-main > article.tdc-content {
  box-sizing: border-box;
  width: min(var(--tdc-workspace-max, 1600px), calc(100% - 2 * var(--tdc-workspace-gutter, 24px)));
  max-width: 100%;
  min-width: 0;
  margin: clamp(8px, 1.3vw, 22px) auto clamp(28px, 5vw, 72px);
  padding: clamp(15px, 2.6vw, 42px);
  border: 1px solid var(--tdc-outline-border);
  border-radius: var(--tdc-outline-radius);
  background: transparent !important;
  background-image: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 16px 60px rgba(0,0,0,.10);
  color: var(--vb-color-text, #f4f4f6);
  overflow: visible;
}
/* Old full-page Gutenberg background panels are no longer the page surface.
 * Target only the first direct, page-wide wrapper, never individual cards. */
body:is(.tdc-surface-home, .tdc-surface-faq, .tdc-surface-about) .tdc-content > :is(.wp-block-group, .wp-block-cover, .wp-block-columns).alignfull:first-child {
  background-color: transparent !important;
  background-image: none !important;
}
/* Home: keep content panels but remove the second, page-wide black slab. */
body.tdc-surface-home .tdc-content > .mhh-page.mhh-personal-home,
body.tdc-surface-home .tdc-content .mhh-page.mhh-personal-home {
  background: transparent !important;
  background-image: none !important;
}
body.tdc-surface-home .mhh-hub-hero {
  background: radial-gradient(circle at 9% 12%, color-mix(in srgb,var(--vb-color-accent,#b96b29) 13%, transparent),transparent 38%), rgba(255,255,255,.015) !important;
  border: 1px solid var(--tdc-outline-border) !important;
  box-shadow: none !important;
}/* Guest hero already has a frame: retain it and only remove the heavy fill. */


/* FAQ shortcode: only its outer shell; leave question/answer cards intact. */
body.tdc-surface-faq .mfaq-page,
body:has(.mfaq-page) .tdc-site-main .mfaq-page {
  background: transparent !important;
  background-image: none !important;
}
body.tdc-surface-faq .mfaq-page .mfaq-container {
  max-width: 100%;
}
/* FAQ can be embedded in a page whose slug differs from the usual paths. */
body:not(.tdc-outline-page):has(.tdc-site-main .mfaq-page) .tdc-site-main > article.tdc-content {
  border: 1px solid var(--tdc-outline-border);
  border-radius: var(--tdc-outline-radius);
  padding: clamp(15px,2.6vw,42px);
  background: transparent !important;
  background-image: none !important;
}
/* About: major wrapper transparent; people/cards keep the individual contrast. */
body.tdc-surface-about .tdc-content > :is(.tdc-about, .tdc-team, .team-section, .about-section) {
  background-color: transparent !important;
  background-image: none !important;
}
body.tdc-surface-about .tdc-content :is(.team-card,.about-card,.wp-block-column) {
  min-width: 0;
}
/* Typography: the *large* display copy has identity, small cards and UI stay sans. */
body.tdc-outline-page .tdc-site-main :is(h1,h2):not(.screen-reader-text) {
  font-family: var(--tdc-display-font) !important;
  font-weight: var(--tdc-display-weight);
  letter-spacing: var(--tdc-display-spacing);
  line-height: 1.05;
  text-wrap: balance;
}
body.tdc-surface-faq .mfaq-header h2 {
  font-family: var(--tdc-display-font) !important;
  font-weight: var(--tdc-display-weight) !important;
  letter-spacing: var(--tdc-display-spacing) !important;
  line-height: 1.04 !important;
}
body.tdc-outline-page .tdc-site-main :is(p,li,small) {
  overflow-wrap: break-word;
}/* Restrict typography to the public feature page, not the application controls. */

body.tdc-outline-page .tdc-site-main :is(button,input,select,textarea),
body.tdc-outline-page .tdc-site-main :is(.mhh-section-tools,.mhh-hub-head-actions) {
  font-family: inherit;
}
@media(max-width: 782px){
  body.tdc-outline-page .tdc-site-main > article.tdc-content {
    width: calc(100% - 24px);
    padding: 17px;
    border-radius: 22px;
  }
  body.tdc-outline-page .tdc-site-main .mfaq-page {
    padding-block: 18px 32px !important;
  }
}
@media(max-width: 480px){
  body.tdc-outline-page .tdc-site-main > article.tdc-content {
    width: calc(100% - 16px);
    padding: 12px;
    border-radius: 18px;
  }
}
@media(prefers-reduced-motion: reduce){
  body.tdc-outline-page .tdc-site-main * {scroll-behavior:auto;}
}

/* Optional additional sitewide typography presets (Customizer). */
body.tdc-type-poster{--tdc-display-font:Impact,"Arial Black","Franklin Gothic Heavy",sans-serif;--tdc-display-spacing:-.024em;--tdc-display-weight:900;}
body.tdc-type-mono{--tdc-display-font:"Lucida Console","DejaVu Sans Mono",Consolas,monospace;--tdc-display-spacing:-.065em;--tdc-display-weight:800;}
