/*
 * Ukrconsult structural wireframe.
 * This stylesheet provides neutral structure, readable type, module
 * boundaries, spacing and shared interaction states. Brand design comes later.
 */

:root {
  --wf-bg: #ececeb;
  --wf-surface: #ffffff;
  --wf-surface-muted: #f6f6f5;
  --wf-text: #202020;
  --wf-muted: #666666;
  --wf-line: #c7c7c4;
  --wf-line-dark: #8b8b87;
  --wf-space-1: 8px;
  --wf-space-2: 12px;
  --wf-space-3: 16px;
  --wf-space-4: 24px;
  --wf-space-5: 32px;
  --wf-space-6: 48px;
  --wf-gap: var(--wf-space-5);
  --wf-module-pad: var(--wf-space-6);
  --wf-frame-max: 1180px;
  --wf-frame-gutter: 20px;
  --wf-frame-inline-size: calc(100% - var(--wf-frame-gutter) - var(--wf-frame-gutter));
  --wf-control-height: 44px;
  --wf-action-width: 224px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--wf-bg);
  color: var(--wf-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.mobile-menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--wf-text);
  text-decoration: none;
}

:is(a[href], button, input[type="submit"], summary):hover {
  background: var(--wf-line);
  color: var(--wf-text);
  text-decoration: none;
}

:is(a[href], button, input[type="submit"], summary):active {
  background: var(--wf-text);
  box-shadow: inset 0 0 0 2px var(--wf-surface);
  color: #ffffff;
}

:is(a[href], button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--wf-text);
  outline-offset: 2px;
}

p {
  margin: 0;
  color: var(--wf-muted);
}

:where(
  .single-body p,
  .single-body li,
  .ucw-section p,
  .site-footer,
  .breadcrumbs,
  .archived-notice,
  .ig-form-privacy,
  .ig-privacy-row,
  .ig-crm-form__fallback,
  .ct-form-note,
  .pagination,
  .sidebar-categories,
  .tag-context
) a:where(:not(.ucw-btn):not(.footer-logo):not(.tag-pill)) {
  padding: 0.08em 0.32em 0.08em 0.42em;
  background: var(--wf-surface-muted);
  box-shadow: inset 3px 0 0 var(--wf-line-dark);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--wf-text);
  line-height: 1.2;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(26px, 3vw, 36px);
}

h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--wf-frame-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Structural shell */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid var(--wf-line);
  background: var(--wf-surface);
}

.header-inner {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: var(--wf-frame-inline-size);
  max-width: var(--wf-frame-max);
  min-height: 72px;
  margin: 0 auto;
  padding: 0;
}

.header-logo,
.mobile-menu-logo,
.footer-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.header-logo img,
.mobile-menu-logo img,
.footer-logo img,
.widget-logo img {
  width: auto;
  filter: brightness(0);
}

.header-logo img,
.mobile-menu-logo img,
.footer-logo img {
  height: 32px;
}

.widget-logo img {
  height: 42px;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.header-nav > a,
.nav-parent {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--wf-space-2);
  color: var(--wf-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
}

.nav-group .nav-parent {
  padding-right: 4px;
}

.nav-group:hover,
.nav-group:focus-within,
.nav-group.is-open,
.nav-group.is-current,
.header-nav > a:hover,
.header-nav > a:focus-visible,
.header-nav > a:active,
.header-nav > a.active,
.header-nav > a[aria-current="page"] {
  background: var(--wf-line);
  color: var(--wf-text);
  box-shadow: none;
}

.nav-group > .nav-parent:hover,
.nav-group > .nav-parent:active,
.nav-group > .nav-disclosure:hover,
.nav-group > .nav-disclosure:active {
  background: transparent;
  color: var(--wf-text);
  box-shadow: none;
}

.nav-disclosure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wf-text);
  line-height: 1;
  cursor: pointer;
}

.nav-disclosure span {
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  font-size: 0;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  display: none;
  width: min(440px, 80vw);
  padding: 8px;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
  transform: translateX(-50%);
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.is-open .nav-dropdown {
  display: block;
}

.header-nav .nav-dropdown a {
  display: block;
  padding: 12px;
  border-bottom: 1px solid #e2e2df;
  text-align: left;
  text-decoration: none;
}

.header-nav .nav-dropdown a:last-child {
  border-bottom: 0;
}

.nav-dropdown strong,
.nav-dropdown span {
  display: block;
}

.nav-dropdown strong {
  font-size: 13px;
}

.nav-dropdown span {
  margin-top: 3px;
  color: var(--wf-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}

.header-right,
.lang-switcher,
.mobile-lang-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-right {
  gap: 12px;
}

.lang-sw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--wf-line);
  color: var(--wf-muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.lang-sw.active {
  border-color: var(--wf-text);
  color: var(--wf-text);
}

.header-cta,
.ucw-btn,
.mobile-contact-btn,
.sidebar-cta,
.btn-primary,
.btn-secondary,
.btn-ghost,
.ig-form-submit,
.ig-crm-result__btn,
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--wf-action-width);
  height: var(--wf-control-height);
  padding: 0 20px;
  border: 1px solid var(--wf-text);
  border-radius: 0;
  background: var(--wf-surface);
  color: var(--wf-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.header-cta,
.ucw-btn:not(.ucw-btn--ghost),
.ig-form-submit,
.ig-crm-result__btn--primary,
.wpcf7-submit {
  background: var(--wf-text);
  color: #ffffff;
}

.header-cta {
  flex: 0 0 var(--wf-action-width);
}

.ig-form-submit,
.ig-crm-result__btn,
.wpcf7-submit {
  max-width: var(--wf-action-width);
}

.mobile-lang-header,
.burger,
.mobile-menu {
  display: none;
}

main {
  padding: var(--wf-gap) var(--wf-frame-gutter) 1px;
}

main > section,
main > .single-article,
main > .term-page,
main > .author-page {
  width: 100%;
  max-width: var(--wf-frame-max);
  margin: 0 auto var(--wf-gap);
}

.ucw-hero,
.ucw-section,
.hero,
.news-section,
.experts-index,
.glossary-section,
.not-found-section,
.tag-context,
.related-posts {
  padding: var(--wf-module-pad);
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
}

.ucw-hero > .container,
.ucw-section > .container,
.hero > .container,
.news-section > .container,
.experts-index > .container,
.glossary-section > .container,
.related-posts > .container {
  max-width: none;
  padding: 0;
}

.ucw-hero__inner {
  max-width: none;
}

.ucw-hero h1 {
  max-width: 920px;
}

.ucw-eyebrow,
.hero-tag,
.tag,
.ha-tag,
.author-context__eyebrow,
.ig-popup-tag,
.pillar-mention-label {
  display: block;
  margin: 0 0 14px;
  color: var(--wf-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight {
  color: inherit;
}

.ucw-lead,
.ucw-lead-sm,
.hero-description,
.single-excerpt {
  max-width: 800px;
  color: var(--wf-muted);
  font-size: 18px;
  line-height: 1.6;
}

.ucw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ucw-actions--section {
  margin-top: 28px;
}

/* Reusable split CTA: message occupies the content grid, action owns one control column. */
.ucw-section--cta > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--wf-action-width);
  gap: var(--wf-space-6);
  align-items: center;
}

.ucw-cta__copy h2 {
  margin-bottom: 20px;
}

.ucw-cta__action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ucw-section h2 {
  max-width: 900px;
}

.ucw-section--tint {
  background: var(--wf-surface-muted);
}

.ucw-grid,
.news-grid,
.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wf-space-4);
}

.ucw-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ucw-card,
.news-card,
.expert-card,
.sidebar-widget,
.pillar-mention,
.article-faq,
.article-sources,
.author-box,
.article-service-cta {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
}

.ucw-card,
.news-card {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.ucw-card h3 a,
.news-card-title a,
.expert-card__link,
.sidebar-recent-link,
.pillar-mention-link {
  color: var(--wf-text);
  text-decoration: none;
}

.ucw-card p,
.news-excerpt,
.expert-card__pos,
.pillar-mention-desc {
  color: var(--wf-muted);
}

.ucw-card__link,
.news-card-more,
.pillar-mention-arrow {
  display: inline-block;
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  font-weight: 700;
}

.ucw-card__link {
  align-self: flex-start;
}

.ucw-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: var(--wf-space-4);
}

.ucw-disclosure + .ucw-case-grid {
  margin-top: var(--wf-space-4);
}

.ucw-case-card {
  display: flex;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
  flex-direction: column;
}

.ucw-case-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 9 / 4;
  padding: var(--wf-space-4);
  border-bottom: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
}

.ucw-case-card__media span {
  color: var(--wf-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ucw-case-card__body {
  display: flex;
  flex: 1;
  padding: var(--wf-space-4);
  flex-direction: column;
}

.ucw-case-card__body h3 {
  margin-bottom: var(--wf-space-3);
  min-height: 3.6em;
}

.ucw-case-card__body h3 a {
  color: var(--wf-text);
  text-decoration: none;
}

.ucw-case-card__body p {
  color: var(--wf-muted);
}

.ucw-case-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: var(--wf-space-4);
  font-size: 13px;
  font-weight: 700;
}

.ucw-quote {
  max-width: 940px;
  margin: 0 0 24px;
  padding: 24px;
  border: 1px solid var(--wf-line-dark);
  background: var(--wf-surface-muted);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.35;
}

.ucw-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.ucw-split > p {
  font-size: 18px;
}

.ucw-checklist,
.ucw-steps,
.ucw-journey {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ucw-checklist {
  display: grid;
  gap: 12px;
}

.ucw-checklist li {
  padding: 16px;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
}

.ucw-checklist li::before {
  content: "— ";
}

.ucw-checklist--large,
.ucw-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ucw-steps,
.ucw-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ucw-steps li,
.ucw-journey li,
.ucw-kpi,
.ucw-case-story article {
  padding: 22px;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
}

.ucw-steps b,
.ucw-journey b {
  display: block;
  margin-bottom: 18px;
  color: var(--wf-muted);
  font-size: 12px;
}

.ucw-journey p,
.ucw-kpi p {
  font-size: 14px;
}

.ucw-disclosure,
.ucw-method,
.archived-notice {
  margin: 0 0 28px;
  padding: 18px;
  border: 1px dashed var(--wf-line-dark);
  background: var(--wf-surface-muted);
}

.ucw-disclosure p,
.ucw-method p {
  margin-top: 6px;
}

.ucw-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-bottom: 32px;
  color: var(--wf-muted);
}

.ucw-case-story {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}

.ucw-kpi > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}

.ucw-kpi strong {
  font-size: 24px;
}

.ucw-kpi em {
  color: var(--wf-text);
  font-style: normal;
  font-weight: 800;
}

/* Insights and article modules */
.news-section {
  margin-bottom: var(--wf-gap);
}

.section-header {
  margin-bottom: 28px;
}

.news-card {
  padding: 0;
}

.news-card-thumb {
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
}

.news-card-thumb > * {
  width: 100%;
  height: 100%;
  visibility: hidden;
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--wf-space-2);
  padding: 22px;
}

.news-card-title {
  margin-bottom: 0;
}

.news-read {
  display: block;
  padding: 8px 22px;
  border-bottom: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
  color: var(--wf-muted);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.single-hero-meta,
.breadcrumbs,
.single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--wf-muted);
  font-size: 12px;
}

.single-hero-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--wf-space-3) var(--wf-space-5);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--wf-line);
}

.breadcrumbs {
  align-items: center;
  gap: var(--wf-space-1);
  min-width: 0;
}

.breadcrumbs__separator {
  color: var(--wf-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.single-hero-meta {
  align-items: center;
  justify-content: flex-end;
}

.post-timing {
  display: inline-flex;
  gap: 18px;
  white-space: nowrap;
}

.news-card-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: var(--wf-space-3);
  margin-top: 0;
  padding-top: 0;
  color: var(--wf-muted);
  font-size: 12px;
}

.news-card-more {
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.archive-pad {
  max-width: var(--wf-frame-max);
  margin: 0 auto var(--wf-gap);
  padding: var(--wf-module-pad);
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
}

.archive-pad > .tag-context {
  margin-bottom: var(--wf-gap);
}

.news-filter-bar,
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-tab,
.tag-pill,
.post-cat {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid var(--wf-line);
  color: var(--wf-text);
  font-size: 12px;
  text-decoration: none;
}

button.filter-tab {
  background: var(--wf-surface);
  font-family: inherit;
  cursor: pointer;
}

.news-filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.news-filter-bar .filter-tab {
  justify-content: center;
  min-width: 0;
  text-align: center;
}

.filter-tab.active {
  border-color: var(--wf-text);
  background: var(--wf-text);
  color: #ffffff;
}

.news-tab-panel[hidden] {
  display: none;
}

.news-layout,
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.single-content {
  min-width: 0;
}

.single-article {
  background: transparent;
}

.single-hero {
  margin-bottom: var(--wf-gap);
  padding: var(--wf-module-pad);
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
}

.single-hero > .container {
  max-width: none;
  padding: 0;
}

.single-title {
  max-width: 920px;
  margin-top: 0;
}

.single-article > .container {
  max-width: none;
  padding: var(--wf-module-pad);
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
}

.single-body {
  color: var(--wf-text);
  font-size: 16px;
  line-height: 1.75;
}

.single-body p,
.single-body ul,
.single-body ol {
  margin: 0 0 20px;
  color: var(--wf-text);
}

.single-body h2 {
  margin: 36px 0 14px;
  font-size: 28px;
}

.single-body h3 {
  margin: 28px 0 12px;
}

.single-body blockquote {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
}

.article-main-image,
.article-media {
  margin: 0 0 28px;
  border: 1px solid var(--wf-line);
}

.article-toc,
.article-faq,
.article-sources,
.author-box,
.article-service-cta,
.single-tags,
.single-nav {
  margin-top: 28px;
}

.article-toc {
  display: grid;
  grid-template-columns: minmax(112px, 124px) minmax(0, 1fr);
  gap: var(--wf-space-4);
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid var(--wf-line);
}

.article-toc[hidden] {
  display: none;
}

.article-toc__header {
  min-width: 0;
}

.article-toc__eyebrow {
  margin-bottom: var(--wf-space-1);
  color: var(--wf-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-toc__title {
  margin: 0;
  font-size: 20px;
}

.article-toc__list {
  display: grid;
  gap: var(--wf-space-1);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc__item {
  display: block;
  width: 100%;
  min-width: 0;
}

.article-toc__number {
  padding-top: 1px;
  color: var(--wf-text);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.article-toc__link {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: var(--wf-space-1);
  align-items: start;
  width: 100%;
  min-height: var(--wf-control-height);
  min-width: 0;
  padding: 9px var(--wf-space-2);
  background: var(--wf-surface-muted);
  box-shadow: inset 3px 0 0 var(--wf-line-dark);
  color: var(--wf-text);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.article-toc__label {
  min-width: 0;
  overflow-wrap: break-word;
}

.article-toc__item--sub {
  padding-left: var(--wf-space-3);
}

/* Semantic selectors keep imported article tables usable without wrapper markup. */
.single-body table {
  width: 100%;
  margin: var(--wf-space-5) 0;
  border: 1px solid var(--wf-line);
  border-collapse: collapse;
  background: var(--wf-surface);
  color: var(--wf-text);
  font-size: 15px;
}

.single-body thead th {
  padding: var(--wf-space-3);
  border-right: 1px solid var(--wf-line);
  border-bottom: 1px solid var(--wf-line-dark);
  background: var(--wf-surface-muted);
  color: var(--wf-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  vertical-align: bottom;
}

.single-body tbody tr,
.single-body tbody tr:hover {
  background: var(--wf-surface);
  border: 0;
}

.single-body tbody tr:nth-child(even),
.single-body tbody tr:nth-child(even):hover {
  background: var(--wf-surface-muted);
}

.single-body tbody td {
  padding: var(--wf-space-3);
  border-right: 1px solid var(--wf-line);
  border-bottom: 1px solid var(--wf-line);
  color: var(--wf-text);
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.single-body thead th:first-child,
.single-body tbody td:first-child {
  width: 22%;
}

.single-body tbody td:first-child {
  color: var(--wf-text);
  font-weight: 700;
}

.single-body :is(th, td):last-child {
  border-right: 0;
}

.single-body tbody tr:last-child td {
  border-bottom: 0;
}

.article-card {
  padding: 28px;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
}

.article-card__eyebrow {
  margin-bottom: 4px;
  color: var(--wf-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.igng-service-cta,
.igng-authorbox {
  margin: var(--wf-space-5) 0;
}

.igng-service-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--wf-action-width);
  gap: var(--wf-space-5);
  align-items: center;
}

.igng-service-cta__text {
  min-width: 0;
}

.single-body .igng-service-cta__title {
  margin: 0 0 var(--wf-space-1);
  font-size: 22px;
}

.single-body .igng-service-cta__pitch {
  margin: 0;
  color: var(--wf-muted);
  line-height: 1.55;
}

.igng-service-cta__actions {
  display: grid;
  gap: var(--wf-space-2);
}

.igng-service-cta__actions .ucw-btn {
  width: 100%;
}

.igng-authorbox {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: var(--wf-space-5);
  align-items: start;
}

.igng-authorbox__profile {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: var(--wf-space-3);
  align-items: start;
  min-width: 0;
}

.igng-authorbox__avatar,
.igng-authorbox__avatar img {
  display: block;
  width: 80px;
  height: 80px;
}

.igng-authorbox__avatar {
  overflow: hidden;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
}

.igng-authorbox__avatar img {
  object-fit: cover;
  filter: grayscale(1);
}

.igng-authorbox__identity,
.igng-authorbox__body {
  min-width: 0;
}

.single-body .igng-authorbox__name {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.igng-authorbox__name a {
  text-decoration: none;
}

.igng-authorbox__position {
  margin-top: 4px;
  color: var(--wf-muted);
  font-size: 13px;
  line-height: 1.4;
}

.igng-authorbox__body {
  display: grid;
  gap: var(--wf-space-4);
  padding-left: 28px;
  border-left: 1px solid var(--wf-line);
}

.single-body .igng-authorbox__body p {
  margin: 0;
  color: var(--wf-text);
  line-height: 1.65;
}

.igng-authorbox__link {
  max-width: 100%;
}

.igng-expert-comment {
  margin: var(--wf-space-5) 0;
}

.igng-expert-comment__card {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: var(--wf-space-5);
  align-items: start;
  padding: 28px;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
}

.igng-expert-comment__summary {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: var(--wf-space-3);
  align-items: start;
  min-width: 0;
}

.igng-expert-comment__media,
.igng-expert-comment__media a,
.igng-expert-comment__media img {
  display: block;
  width: 80px;
  height: 80px;
}

.igng-expert-comment__media {
  overflow: hidden;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
}

.igng-expert-comment__media img {
  object-fit: cover;
  filter: grayscale(1);
}

.igng-expert-comment__identity {
  min-width: 0;
}

.igng-expert-comment__label {
  margin-bottom: 4px;
  color: var(--wf-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-body .igng-expert-comment__name {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.igng-expert-comment__name a {
  text-decoration: none;
}

.igng-expert-comment__position {
  margin-top: 4px;
  color: var(--wf-muted);
  font-size: 13px;
  line-height: 1.4;
}

.igng-expert-comment__profile {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: var(--wf-space-2);
  padding: 5px 9px;
  border: 1px solid var(--wf-line-dark);
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
}

.single-body .igng-expert-comment__quote {
  min-width: 0;
  margin: 0;
  padding: 0 0 0 28px;
  border: 0;
  border-left: 1px solid var(--wf-line);
  background: transparent;
}

.single-body .igng-expert-comment__text p {
  margin: 0;
  color: var(--wf-text);
  font-size: 18px;
  line-height: 1.65;
}

.single-body .igng-expert-comment__text p + p {
  margin-top: var(--wf-space-3);
}

.igng-expert-comment--inline .igng-expert-comment__quote {
  padding: var(--wf-space-4);
  border: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
}

.igng-expert-comment--inline .igng-expert-comment__text p {
  font-size: 16px;
}

.igng-expert-comment__cite {
  display: flex;
  flex-wrap: wrap;
  gap: 4px var(--wf-space-2);
  margin-top: var(--wf-space-3);
  color: var(--wf-muted);
  font-size: 13px;
  font-style: normal;
}

.igng-expert-comment__cite-name {
  font-weight: 700;
}

.igng-expert-comment__cite-name a {
  text-decoration: none;
}

.single-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--wf-line);
}

.single-nav a {
  display: block;
  width: 100%;
  max-width: 48%;
  min-height: 72px;
  padding: var(--wf-space-3);
  background: var(--wf-surface-muted);
  box-shadow: inset 3px 0 0 var(--wf-line-dark);
  text-decoration: none;
}

.single-nav a:where(.single-nav-next) {
  margin-left: auto;
  box-shadow: inset -3px 0 0 var(--wf-line-dark);
  text-align: right;
}

.single-nav .nav-dir,
.single-nav .nav-title {
  display: block;
}

.single-nav .nav-dir {
  margin-bottom: 4px;
  color: var(--wf-muted);
  font-size: 12px;
  font-weight: 700;
}

.single-nav .nav-title {
  line-height: 1.45;
}

.single-nav a:active .nav-dir {
  color: inherit;
}

.single-sidebar {
  display: grid;
  gap: 18px;
}

.sidebar-widget,
.pillar-mention {
  padding: 18px;
}

.widget-about {
  display: grid;
  gap: var(--wf-space-3);
}

.widget-about .sidebar-cta {
  width: 100%;
}

.sidebar-recent,
.sidebar-categories,
.footer-menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-recent-item,
.sidebar-categories li {
  padding: 10px 0;
  border-bottom: 1px solid #e2e2df;
}

.sidebar-categories li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--wf-space-2);
  align-items: baseline;
}

.sidebar-category-link {
  min-width: 0;
}

.sidebar-category-link a {
  padding-left: 0.55em;
}

.sidebar-recent-body,
.sidebar-recent-title,
.sidebar-recent-date,
.sidebar-recent-cat {
  display: block;
}

.sidebar-recent-rail {
  display: none;
}

.sidebar-recent-date,
.sidebar-recent-cat {
  color: var(--wf-muted) !important;
  font-size: 11px;
}

.related-posts {
  margin-top: var(--wf-gap);
}

/* Experts and reference modules */
.ha-head {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: var(--wf-space-6);
}

.ha-ava {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
}

.ha-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.ha-head-text {
  min-width: 0;
}

.ha-pos {
  margin: 0 0 var(--wf-space-4);
  font-weight: 700;
}

.ha-bio {
  max-width: 720px;
  margin-bottom: var(--wf-space-4);
  font-size: 17px;
  line-height: 1.65;
}

.ha-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wf-space-1);
  padding-top: var(--wf-space-4);
  border-top: 1px solid var(--wf-line);
}

.ha-stats > span,
.ha-tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
  color: var(--wf-text);
  font-size: 13px;
  text-decoration: none;
}

.ha-stats strong {
  margin-right: 4px;
}

.author-context {
  margin-bottom: var(--wf-space-4);
}

.author-context h2 {
  margin-bottom: 0;
}

.author-publications .news-grid {
  grid-template-columns: 1fr;
}

.author-publications .news-card-thumb {
  aspect-ratio: 5 / 1;
}

.experts-index__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.experts-index__count strong,
.experts-index__count span,
.expert-card__name,
.expert-card__pos {
  display: block;
}

.experts-index__count strong {
  font-size: 28px;
}

.experts-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.experts-alpha__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border: 1px solid var(--wf-line);
  text-decoration: none;
}

.expert-card__link {
  display: block;
}

.expert-card__ava {
  display: block;
  width: 84px;
  height: 84px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
  filter: grayscale(1);
}

.expert-card__name {
  font-weight: 700;
}

/* Footer is another module, separated from page content. */
.site-footer {
  width: var(--wf-frame-inline-size);
  max-width: var(--wf-frame-max);
  margin: var(--wf-gap) auto 20px;
  padding: var(--wf-module-pad);
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
}

.site-footer > .container {
  max-width: none;
  padding: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(130px, 0.75fr) minmax(160px, 0.9fr) minmax(var(--wf-action-width), 1.1fr);
  gap: 32px;
}

.footer-desc {
  margin: 14px 0;
}

.footer-col-title {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
}

.footer-menu-list li {
  margin-bottom: 9px;
}

.footer-col a {
  color: var(--wf-text);
  font-size: 13px;
}

.footer-col:last-child {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-col:last-child .ucw-btn {
  margin-top: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--wf-line);
  color: var(--wf-muted);
  font-size: 12px;
}

.back-to-top {
  display: none;
}

/* Contact dialog stays functional but intentionally plain. */
.ig-popup {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ig-popup.active {
  display: flex;
}

.ig-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.ig-popup-box {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--wf-line-dark);
  background: var(--wf-surface);
}

.ig-popup-header,
.ig-popup-body {
  padding: 24px;
}

.ig-popup-header {
  border-bottom: 1px solid var(--wf-line);
}

.ig-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
  cursor: pointer;
}

.ig-popup-close svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
}

.ig-form-grid,
.ig-cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ig-form-grid {
  align-items: start;
}

.ig-form-group,
.ig-cf7-group {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.ig-form-group--full {
  grid-column: 1 / -1;
}

.ig-form-group label,
.ig-form-group legend,
.ig-cf7-group label {
  font-size: 12px;
  font-weight: 700;
}

.ig-form-choice {
  min-width: 0;
  padding: 0;
  border: 0;
}

.ig-form-choice legend {
  margin-bottom: 6px;
  padding: 0;
}

.ig-form-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.ig-form-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  font-weight: 400 !important;
}

.ig-form-option input {
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0;
}

.ig-form-required {
  color: var(--wf-muted);
}

.ig-form-group input,
.ig-form-group select,
.ig-form-group textarea,
.ig-cf7-group input,
.ig-cf7-group select,
.ig-cf7-group textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--wf-line-dark);
  border-radius: 0;
  background: var(--wf-surface);
  color: var(--wf-text);
}

.ig-form-privacy,
.ig-cf7-privacy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 12px;
}

.ig-form-privacy input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
}

.ig-crm-form {
  position: relative;
}

.ig-crm-form__trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ig-crm-form__status {
  min-height: 18px;
  margin: var(--wf-space-2) 0 0;
  color: var(--wf-muted);
  font-size: 12px;
}

.ig-crm-form__fallback {
  margin-top: var(--wf-space-2);
  font-size: 12px;
}

.ig-crm-form[data-state="pending"] .ig-form-submit {
  cursor: wait;
  opacity: 0.55;
}

.ig-crm-form__fields[hidden],
.ig-crm-result[hidden] {
  display: none !important;
}

.ig-crm-result {
  display: grid;
  gap: var(--wf-space-3);
  padding: var(--wf-space-4);
  border: 1px solid var(--wf-line-dark);
  background: var(--wf-surface-muted);
}

.ig-crm-result__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--wf-line-dark);
  font-weight: 700;
}

.ig-crm-result__eyebrow {
  color: var(--wf-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ig-crm-result h3,
.ig-crm-result p {
  margin: 0;
}

.ig-crm-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wf-space-2);
}

.ucw-form-patterns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wf-space-4);
  margin-top: var(--wf-space-5);
}

.ucw-form-pattern {
  display: flex;
  min-width: 0;
  padding: var(--wf-space-4);
  border: 1px solid var(--wf-line);
  flex-direction: column;
}

.ucw-form-pattern__header {
  margin-bottom: var(--wf-space-4);
  padding-bottom: var(--wf-space-4);
  border-bottom: 1px solid var(--wf-line);
}

.ucw-form-pattern__header h3 {
  margin-bottom: var(--wf-space-2);
}

.ucw-form-pattern .ig-crm-form,
.ucw-form-pattern .ig-crm-form__fields {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.ucw-form-pattern .ig-form-privacy {
  margin-top: auto;
}

/* Reusable section-pattern registry: geometry first, grayscale only. */
.ucw-pattern-library {
  display: grid;
  gap: var(--wf-space-3);
  margin-top: var(--wf-space-5);
}

.ucw-pattern-category {
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
}

.ucw-pattern-category > summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: var(--wf-space-3);
  padding: var(--wf-space-3) var(--wf-space-4);
  cursor: pointer;
  font-weight: 700;
  list-style-position: inside;
}

.ucw-pattern-category > summary:hover,
.ucw-pattern-category > summary:focus-visible,
.ucw-pattern-category[open] > summary {
  background: var(--wf-surface-muted);
}

.ucw-pattern-category > summary small {
  color: var(--wf-text);
  font-size: 12px;
  font-weight: 600;
}

.ucw-pattern-category__body {
  padding: var(--wf-space-4);
  border-top: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
}

.ucw-pattern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wf-space-5);
}

.ucw-pattern-specimen {
  min-width: 0;
}

.ucw-pattern-specimen__head {
  display: flex;
  align-items: baseline;
  gap: var(--wf-space-2);
  margin-bottom: var(--wf-space-2);
}

.ucw-pattern-specimen__head span {
  color: var(--wf-text);
  font-size: 12px;
  font-weight: 700;
}

.ucw-pattern-specimen__head h3 {
  margin: 0;
  font-size: 15px;
}

.ucw-pattern-preview {
  min-height: 320px;
  padding: var(--wf-space-4);
  border: 1px solid var(--wf-line-dark);
  background: var(--wf-surface);
}

.ucw-pattern-preview :is(h4, h5, p, figure, blockquote, dl, dd) {
  margin-top: 0;
}

.ucw-pattern-preview h4 {
  margin-bottom: var(--wf-space-3);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
}

.ucw-pattern-preview h5 {
  margin-bottom: var(--wf-space-2);
  font-size: 15px;
}

.ucw-pattern-preview p,
.ucw-pattern-preview li,
.ucw-pattern-preview address,
.ucw-pattern-preview figcaption {
  color: var(--wf-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ucw-pattern-preview a:not(.ucw-p-button) {
  padding: 0.08em 0.18em;
  background: var(--wf-surface-muted);
  box-shadow: inset 3px 0 0 var(--wf-line-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.ucw-p-kicker {
  margin-bottom: var(--wf-space-2);
  color: var(--wf-text) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ucw-p-copy {
  min-width: 0;
}

.ucw-p-media,
.ucw-p-map,
.ucw-p-video-placeholder {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wf-line-dark);
  background: var(--wf-surface-muted);
  color: var(--wf-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.ucw-p-actions,
.ucw-p-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--wf-space-2);
}

.ucw-p-actions {
  margin-top: var(--wf-space-4);
}

.ucw-p-actions a,
.ucw-p-button,
.ucw-p-mini-form button,
.ucw-p-controls button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 var(--wf-space-3);
  border: 1px solid var(--wf-text);
  background: var(--wf-text);
  color: var(--wf-surface);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.ucw-p-actions a + a,
.ucw-p-controls button {
  background: var(--wf-surface);
  color: var(--wf-text);
}

.ucw-p-controls {
  justify-content: space-between;
  margin-top: var(--wf-space-3);
}

.ucw-p-controls button {
  width: 38px;
  padding: 0;
}

.ucw-p-controls span {
  color: var(--wf-muted);
  font-size: 11px;
}

.ucw-p-slide,
.ucw-p-hero--split,
.ucw-p-feature-split,
.ucw-p-content--media,
.ucw-p-content--sidebar,
.ucw-p-cta--split,
.ucw-p-cta--checklist,
.ucw-p-cta--form,
.ucw-p-testimonials--profile,
.ucw-p-testimonials--metric,
.ucw-p-contacts--form,
.ucw-p-contacts--map,
.ucw-p-blend,
.ucw-p-video-slide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wf-space-4);
  align-items: center;
}

.ucw-p-slide[hidden],
.ucw-p-video-slide[hidden],
.ucw-p-image-slide[hidden],
.ucw-p-testimonial-slide[hidden] {
  display: none;
}

.ucw-p-slider--centered .ucw-p-slide,
.ucw-p-hero--centered,
.ucw-p-cta--centered,
.ucw-p-testimonial-carousel--profile .ucw-p-testimonial-slide {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.ucw-p-slider--centered .ucw-p-media,
.ucw-p-slider--cards .ucw-p-media {
  width: 100%;
}

.ucw-p-slider--caption .ucw-p-slide,
.ucw-p-video-slider--caption .ucw-p-video-slide {
  grid-template-columns: 1fr;
}

.ucw-p-slider--caption .ucw-p-media,
.ucw-p-video-slider--caption .ucw-p-video-placeholder {
  grid-row: 1;
  min-height: 200px;
}

.ucw-p-hero {
  min-height: 270px;
}

.ucw-p-hero--copy,
.ucw-p-hero--centered,
.ucw-p-hero--metrics {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.ucw-p-hero--centered .ucw-p-copy {
  max-width: 520px;
}

.ucw-p-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wf-space-2);
  margin: var(--wf-space-4) 0 0;
}

.ucw-p-metrics div,
.ucw-p-card-grid article,
.ucw-p-price-grid article,
.ucw-p-person,
.ucw-p-quote-grid figure,
.ucw-p-contact-grid article,
.ucw-p-table-cards article {
  min-width: 0;
  padding: var(--wf-space-3);
  border: 1px solid var(--wf-line);
  background: var(--wf-surface);
}

.ucw-p-metrics dt {
  font-size: 20px;
  font-weight: 800;
}

.ucw-p-metrics dd {
  color: var(--wf-muted);
  font-size: 11px;
}

.ucw-p-features > header {
  max-width: 520px;
  margin-bottom: var(--wf-space-4);
}

.ucw-p-card-grid,
.ucw-p-team-grid,
.ucw-p-quote-grid,
.ucw-p-contact-grid,
.ucw-p-price-grid,
.ucw-p-table-cards {
  display: grid;
  gap: var(--wf-space-3);
}

.ucw-p-card-grid--three,
.ucw-p-team--three .ucw-p-team-grid,
.ucw-p-price-grid--three,
.ucw-p-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ucw-p-card-grid--four,
.ucw-p-team--compact .ucw-p-team-grid,
.ucw-p-team--list .ucw-p-team-grid,
.ucw-p-table-cards,
.ucw-p-price-grid--two,
.ucw-p-contact-grid--two,
.ucw-p-quote-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ucw-p-icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: var(--wf-space-3);
  border: 1px solid var(--wf-line-dark);
  background: var(--wf-surface-muted);
}

.ucw-p-numbered {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wf-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ucw-p-numbered li,
.ucw-p-feature-split li {
  padding: var(--wf-space-3);
  border-bottom: 1px solid var(--wf-line);
}

.ucw-p-numbered b {
  display: block;
  margin-bottom: var(--wf-space-2);
}

.ucw-p-feature-split ul,
.ucw-p-content nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ucw-p-content--columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wf-space-5);
}

.ucw-p-content--sidebar {
  grid-template-columns: 0.65fr 1.35fr;
  align-items: start;
}

.ucw-p-content nav {
  display: grid;
  gap: var(--wf-space-2);
  padding: var(--wf-space-3);
  border: 1px solid var(--wf-line);
}

.ucw-p-content nav a {
  padding-top: var(--wf-space-2);
  border-top: 1px solid var(--wf-line);
}

.ucw-p-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.ucw-p-table-wrap table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 12px;
}

.ucw-p-table-wrap :is(th, td) {
  padding: var(--wf-space-2);
  border: 1px solid var(--wf-line);
  text-align: left;
}

.ucw-p-data-table--striped tbody tr:nth-child(even) {
  background: var(--wf-surface-muted);
}

.ucw-p-price-grid--single {
  max-width: 320px;
  margin: 0 auto;
}

.ucw-p-price-grid article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
}

.ucw-p-price-grid strong {
  margin-bottom: var(--wf-space-3);
  font-size: 22px;
}

.ucw-p-price-grid ul {
  padding-left: 18px;
}

.ucw-p-price-grid a {
  align-self: flex-start;
  margin-top: auto;
}

.ucw-p-cta {
  min-height: 260px;
  padding: var(--wf-space-4);
  border: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
}

.ucw-p-cta--centered {
  justify-content: center;
}

.ucw-p-cta--centered .ucw-p-copy {
  max-width: 520px;
}

.ucw-p-mini-form {
  display: grid;
  gap: var(--wf-space-2);
}

.ucw-p-mini-form label {
  display: grid;
  gap: 4px;
  color: var(--wf-muted);
  font-size: 11px;
}

.ucw-p-mini-form :is(input, textarea) {
  width: 100%;
  min-height: 38px;
  padding: 8px;
  border: 1px solid var(--wf-line-dark);
  background: var(--wf-surface);
}

.ucw-p-avatar {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border: 1px solid var(--wf-line-dark);
  border-radius: 50%;
  background: var(--wf-surface-muted);
}

.ucw-p-person {
  display: flex;
  gap: var(--wf-space-3);
  align-items: center;
}

.ucw-p-person--lead {
  margin-bottom: var(--wf-space-3);
  padding: var(--wf-space-4);
}

.ucw-p-person--lead .ucw-p-avatar {
  width: 88px;
  height: 88px;
  flex-basis: 88px;
}

.ucw-p-team--lead .ucw-p-team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ucw-p-team--list .ucw-p-avatar {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.ucw-p-quote-grid figure {
  margin: 0;
}

.ucw-p-quote-grid blockquote,
.ucw-p-testimonial-slide blockquote {
  margin: 0 0 var(--wf-space-4);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.ucw-p-quote-grid figcaption,
.ucw-p-testimonial-slide figcaption {
  display: flex;
  align-items: center;
  gap: var(--wf-space-2);
}

.ucw-p-result {
  padding: var(--wf-space-4);
  border: 1px solid var(--wf-line-dark);
  text-align: center;
}

.ucw-p-result strong {
  display: block;
  font-size: 34px;
}

.ucw-p-result span {
  color: var(--wf-muted);
  font-size: 11px;
}

.ucw-p-contacts address {
  margin-bottom: var(--wf-space-3);
  font-style: normal;
}

.ucw-p-map {
  min-height: 240px;
}

.ucw-p-animated {
  display: flex;
  min-height: 270px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wf-line);
  text-align: center;
}

.ucw-p-animated p,
.ucw-p-animated strong {
  color: var(--wf-text);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
}

.ucw-p-animated--rotate p > span,
.ucw-p-animated--reveal > div {
  display: inline-grid;
  overflow: hidden;
}

.ucw-p-animated--rotate b,
.ucw-p-animated--reveal span {
  grid-area: 1 / 1;
  padding: 0 6px;
  background: var(--wf-line);
  animation: ucw-pattern-word 6s steps(1, end) infinite;
}

.ucw-p-animated--rotate b:nth-child(2),
.ucw-p-animated--reveal span:nth-child(2) {
  animation-delay: 2s;
}

.ucw-p-animated--rotate b:nth-child(3),
.ucw-p-animated--reveal span:nth-child(3) {
  animation-delay: 4s;
}

.ucw-p-animated--ticker > div {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--wf-line);
  white-space: nowrap;
}

.ucw-p-animated--ticker span {
  display: inline-block;
  padding: var(--wf-space-3) 0;
  font-size: 18px;
  font-weight: 700;
  animation: ucw-pattern-ticker 8s linear infinite;
}

.ucw-p-animated--counter {
  flex-direction: column;
}

.ucw-p-animated--counter strong {
  font-size: 72px;
}

@keyframes ucw-pattern-word {
  0%, 32% { opacity: 1; }
  33%, 100% { opacity: 0; }
}

@keyframes ucw-pattern-ticker {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

.ucw-p-highlight {
  display: flex;
  min-height: 270px;
  justify-content: center;
  padding: var(--wf-space-4);
  flex-direction: column;
}

.ucw-p-highlight--box {
  border: 2px solid var(--wf-text);
}

.ucw-p-highlight mark {
  padding: 0 5px;
  background: var(--wf-line);
  color: var(--wf-text);
}

.ucw-p-highlight--rule {
  border-left: 8px solid var(--wf-text);
}

.ucw-p-highlight--band {
  background: linear-gradient(to bottom, transparent 30%, var(--wf-line) 30%, var(--wf-line) 78%, transparent 78%);
}

.ucw-p-blend {
  position: relative;
  min-height: 270px;
  isolation: isolate;
}

.ucw-p-blend__media {
  min-height: 220px;
  border: 1px solid var(--wf-line-dark);
  background: var(--wf-line);
}

.ucw-p-blend__copy {
  position: relative;
  z-index: 1;
  padding: var(--wf-space-4);
  border: 1px solid var(--wf-line-dark);
  background: var(--wf-surface);
}

.ucw-p-blend--overlay .ucw-p-blend__copy,
.ucw-p-blend--cutout .ucw-p-blend__copy {
  margin-left: -35%;
  mix-blend-mode: multiply;
}

  .ucw-p-blend--offset .ucw-p-blend__media {
    transform: translate(var(--wf-space-3), calc(var(--wf-space-3) * -1));
  }

.ucw-p-blend--contrast {
  background: linear-gradient(90deg, var(--wf-surface-muted) 0 50%, var(--wf-line) 50%);
}

.ucw-p-video-slide {
  position: relative;
  min-height: 230px;
}

.ucw-p-video-placeholder {
  min-height: 230px;
  background: var(--wf-line-dark);
  color: var(--wf-surface);
}

.ucw-p-video-slider--copy .ucw-p-copy,
.ucw-p-video-slider--minimal .ucw-p-copy {
  margin-left: -45%;
  padding: var(--wf-space-4);
  border: 1px solid var(--wf-line-dark);
  background: var(--wf-surface);
}

.ucw-p-video-slider--minimal .ucw-p-copy p:not(.ucw-p-kicker) {
  display: none;
}

.ucw-p-image-slide,
.ucw-p-testimonial-slide {
  margin: 0;
}

.ucw-p-image-slide .ucw-p-media {
  min-height: 220px;
}

.ucw-p-image-slide figcaption {
  padding-top: var(--wf-space-2);
}

.ucw-p-image-carousel--three .ucw-p-slider__viewport,
.ucw-p-image-carousel--focus .ucw-p-slider__viewport {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wf-space-2);
  align-items: center;
}

.ucw-p-image-carousel--three .ucw-p-image-slide .ucw-p-media,
.ucw-p-image-carousel--focus .ucw-p-image-slide .ucw-p-media {
  min-height: 130px;
}

.ucw-p-image-carousel--focus [data-ucw-position="0"] {
  order: 2;
}

.ucw-p-image-carousel--focus [data-ucw-position="1"] {
  order: 1;
}

.ucw-p-image-carousel--focus [data-ucw-position="2"] {
  order: 3;
}

.ucw-p-image-carousel--focus [data-ucw-position="0"] .ucw-p-media {
  min-height: 190px;
  border-color: var(--wf-text);
}

.ucw-p-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--wf-space-2);
  margin-top: var(--wf-space-2);
}

.ucw-p-thumbs span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
  font-size: 10px;
}

.ucw-p-testimonial-slide {
  min-height: 230px;
  padding: var(--wf-space-5);
  border: 1px solid var(--wf-line);
  background: var(--wf-surface-muted);
}

.ucw-p-testimonial-slide figcaption {
  justify-content: space-between;
}

.ucw-p-testimonial-slide figcaption strong {
  font-size: 24px;
}

.ucw-p-testimonial-carousel--cards .ucw-p-slider__viewport {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wf-space-2);
}

.ucw-p-animated--rotate b,
.ucw-p-animated--reveal span {
  opacity: 0;
}

@media (max-width: 1120px) {
  :root {
    --wf-module-pad: 36px;
  }

  .header-nav,
  .header-right {
    display: none;
  }

  .mobile-lang-header,
  .burger {
    display: flex;
  }

  .mobile-lang-header {
    margin-left: auto;
  }

  .burger {
    position: relative;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    padding: 8px;
    border: 1px solid var(--wf-line);
    background: var(--wf-surface);
    cursor: pointer;
  }

  .burger span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--wf-text);
  }

  .mobile-menu.open {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px;
    background: var(--wf-surface);
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--wf-line);
  }

  .mobile-menu-close {
    position: relative;
    width: 36px;
    height: 36px;
    border: 1px solid var(--wf-line);
    background: var(--wf-surface);
  }

  .mobile-menu-close span {
    position: absolute;
    top: 50%;
    left: 7px;
    width: 20px;
    height: 1px;
    background: var(--wf-text);
  }

  .mobile-menu-close span:first-child {
    transform: rotate(45deg);
  }

  .mobile-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  .mobile-nav {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
  }

  .mobile-nav a,
  .mobile-nav summary {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--wf-line);
    color: var(--wf-text);
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-nav details > a {
    padding-left: 18px;
  }

  .mobile-nav small {
    display: block;
    color: var(--wf-muted);
  }

  .mobile-contact-btn {
    width: 100%;
    margin-top: 24px;
  }

  .ucw-grid,
  .news-grid,
  .ucw-steps,
  .ucw-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ucw-grid--three,
  .news-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ucw-case-story,
  .news-layout,
  .single-layout {
    grid-template-columns: 1fr;
  }

  .single-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ha-head {
    grid-template-columns: 1fr;
    gap: var(--wf-space-4);
  }

  .ha-ava {
    max-width: 320px;
  }

  .single-hero-context {
    grid-template-columns: 1fr;
  }

  .single-hero-meta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    justify-content: flex-start;
  }

  .single-hero-meta .post-timing {
    display: contents;
  }

  .article-toc {
    grid-template-columns: 1fr;
    gap: var(--wf-space-4);
    padding: var(--wf-space-4);
  }

  .article-toc__list {
    padding: var(--wf-space-4) var(--wf-space-1) 0 0;
    border-top: 1px solid var(--wf-line);
  }

  .article-card {
    padding: var(--wf-space-4);
  }

  .single-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .single-body :is(thead, tbody) {
    display: table;
    width: 100%;
    min-width: 680px;
    table-layout: fixed;
  }

  .igng-service-cta__inner,
  .igng-authorbox {
    grid-template-columns: 1fr;
    gap: var(--wf-space-4);
  }

  .igng-service-cta__actions {
    width: 100%;
  }

  .igng-authorbox__body {
    padding: var(--wf-space-4) 0 0;
    border-top: 1px solid var(--wf-line);
    border-left: 0;
  }

  .igng-authorbox__profile {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: var(--wf-space-2);
  }

  .igng-authorbox__avatar,
  .igng-authorbox__avatar img {
    width: 72px;
    height: 72px;
  }

  .igng-authorbox__link {
    width: 100%;
  }

  .igng-expert-comment__card {
    grid-template-columns: 1fr;
    gap: var(--wf-space-4);
    padding: var(--wf-space-4);
  }

  .single-body .igng-expert-comment__quote {
    padding: var(--wf-space-4) 0 0;
    border-top: 1px solid var(--wf-line);
    border-left: 0;
  }

  .igng-expert-comment--inline .igng-expert-comment__quote {
    padding: var(--wf-space-4);
    border: 1px solid var(--wf-line);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --wf-gap: 20px;
    --wf-module-pad: 24px;
    --wf-frame-gutter: 12px;
  }

  .header-inner {
    min-height: 64px;
  }

  .header-logo img {
    max-width: 165px;
    height: 28px;
  }

  .ucw-section#section-patterns {
    padding: var(--wf-space-3);
  }

  .ucw-grid,
  .ucw-case-grid,
  .news-grid,
  .experts-grid,
  .ucw-steps,
  .ucw-journey,
  .ucw-kpi-grid,
  .ucw-checklist--large,
  .ucw-split,
  .single-sidebar,
  .footer-grid,
  .ucw-form-patterns,
  .ucw-pattern-grid,
  .ig-form-grid,
  .ig-cf7-row {
    grid-template-columns: 1fr;
  }

  .ucw-pattern-category__body,
  .ucw-pattern-preview {
    padding: var(--wf-space-3);
  }

  .ucw-p-slide,
  .ucw-p-hero--split,
  .ucw-p-feature-split,
  .ucw-p-content--media,
  .ucw-p-content--sidebar,
  .ucw-p-content--columns,
  .ucw-p-cta--split,
  .ucw-p-cta--checklist,
  .ucw-p-cta--form,
  .ucw-p-testimonials--profile,
  .ucw-p-testimonials--metric,
  .ucw-p-contacts--form,
  .ucw-p-contacts--map,
  .ucw-p-blend,
  .ucw-p-video-slide,
  .ucw-p-card-grid--three,
  .ucw-p-card-grid--four,
  .ucw-p-team--three .ucw-p-team-grid,
  .ucw-p-team--compact .ucw-p-team-grid,
  .ucw-p-team--list .ucw-p-team-grid,
  .ucw-p-team--lead .ucw-p-team-grid,
  .ucw-p-price-grid--three,
  .ucw-p-price-grid--two,
  .ucw-p-contact-grid,
  .ucw-p-contact-grid--two,
  .ucw-p-quote-grid,
  .ucw-p-numbered,
  .ucw-p-table-cards {
    grid-template-columns: 1fr;
  }

  .ucw-p-blend--overlay .ucw-p-blend__copy,
  .ucw-p-blend--cutout .ucw-p-blend__copy,
  .ucw-p-video-slider--copy .ucw-p-copy,
  .ucw-p-video-slider--minimal .ucw-p-copy {
    margin-left: 0;
  }

  .ucw-p-image-carousel--three .ucw-p-slider__viewport,
  .ucw-p-image-carousel--focus .ucw-p-slider__viewport,
  .ucw-p-testimonial-carousel--cards .ucw-p-slider__viewport {
    grid-template-columns: 1fr;
  }

  .ucw-p-image-carousel--three [data-ucw-position="1"],
  .ucw-p-image-carousel--three [data-ucw-position="2"],
  .ucw-p-image-carousel--focus [data-ucw-position="1"],
  .ucw-p-image-carousel--focus [data-ucw-position="2"],
  .ucw-p-testimonial-carousel--cards [data-ucw-position="1"] {
    display: none;
  }

  .ucw-actions,
  .footer-bottom,
  .experts-index__head,
  .single-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .ucw-section--cta > .container {
    grid-template-columns: 1fr;
    gap: var(--wf-space-4);
  }

  .ucw-cta__action {
    justify-content: flex-start;
  }

  .ucw-actions .ucw-btn,
  .ucw-cta__action .ucw-btn,
  .footer-col:last-child .ucw-btn,
  .ig-form-submit,
  .ig-crm-result__btn,
  .single-nav a {
    width: 100%;
    max-width: none;
    white-space: normal;
  }

  .single-nav a:where(.single-nav-next) {
    margin-left: 0;
  }

  .archive-pad,
  .single-article > .container {
    padding: var(--wf-module-pad);
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .ucw-p-animated--rotate b,
  .ucw-p-animated--reveal span,
  .ucw-p-animated--ticker span {
    animation: none;
  }

  .ucw-p-animated--rotate b:first-child,
  .ucw-p-animated--reveal span:first-child {
    opacity: 1;
  }
}
