:root {
  --uc-ink: #111827;
  --uc-muted: #5f6b7a;
  --uc-line: #dfe5ec;
  --uc-paper: #ffffff;
  --uc-soft: #f5f7fa;
  --uc-accent: #315efb;
  --uc-accent-dark: #1f46d8;
}

.uc-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.uc-hero { padding: clamp(72px, 9vw, 132px) 0; background: linear-gradient(135deg, #f7f9ff 0%, #eef3ff 55%, #ffffff 100%); border-bottom: 1px solid var(--uc-line); }
.uc-eyebrow { margin: 0 0 16px; font-size: 0.78rem; letter-spacing: .16em; font-weight: 800; color: var(--uc-accent); }
.uc-hero h1 { max-width: 920px; margin: 0; color: var(--uc-ink); font-size: clamp(2.6rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
.uc-lead { max-width: 760px; margin: 28px 0 0; color: var(--uc-muted); font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.65; }
.uc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.uc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 10px; text-decoration: none; font-weight: 750; }
.uc-btn-primary { background: var(--uc-accent); color: #fff; }
.uc-btn-primary:hover { background: var(--uc-accent-dark); color: #fff; }
.uc-btn-secondary { color: var(--uc-ink); border: 1px solid var(--uc-line); background: rgba(255,255,255,.8); }
.uc-section { padding: clamp(64px, 8vw, 108px) 0; }
.uc-section-alt { background: var(--uc-soft); border-top: 1px solid var(--uc-line); border-bottom: 1px solid var(--uc-line); }
.uc-section-head { max-width: 780px; margin-bottom: 34px; }
.uc-section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.04em; color: var(--uc-ink); }
.uc-section-head p:last-child { color: var(--uc-muted); font-size: 1.08rem; line-height: 1.7; }
.uc-grid { display: grid; gap: 18px; }
.uc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.uc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.uc-card { display: block; min-height: 220px; padding: 26px; color: var(--uc-ink); text-decoration: none; background: var(--uc-paper); border: 1px solid var(--uc-line); border-radius: 16px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.uc-card:hover { transform: translateY(-3px); border-color: #bdc9ff; box-shadow: 0 18px 44px rgba(20,37,85,.09); }
.uc-card span { color: var(--uc-accent); font-weight: 800; font-size: .82rem; }
.uc-card h3, .uc-principle h3 { margin: 44px 0 10px; font-size: 1.35rem; letter-spacing: -.02em; }
.uc-card p, .uc-principle p { margin: 0; color: var(--uc-muted); line-height: 1.6; }
.uc-principle { padding: 26px 0; border-top: 2px solid var(--uc-ink); }
.uc-principle h3 { margin-top: 0; }

@media (max-width: 900px) {
  .uc-grid-4, .uc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .uc-wrap { width: min(100% - 26px, 1180px); }
  .uc-grid-4, .uc-grid-3 { grid-template-columns: 1fr; }
  .uc-card { min-height: 180px; }
}

/* v1.1 front-page polish for Kadence and other standard WordPress themes. */
body.home .entry-hero,
body.home .page-hero-section,
body.home .entry-header.page-title,
body.home .entry-header:not(.site-header) {
  display: none !important;
}
body.home,
body.home #page,
body.home #primary,
body.home .content-area,
body.home .content-bg,
body.home .site-main,
body.home article.page,
body.home .entry-content-wrap {
  background: #fff;
}
body.home #primary,
body.home .content-area,
body.home .site-main,
body.home article.page {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.home .content-container,
body.home .content-container.site-container,
body.home .site-container.content-container,
body.home .site-main > article,
body.home .entry-content-wrap,
body.home .entry-content,
body.home .single-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.home .entry-content > .wp-block-html {
  margin: 0 !important;
}
body.home .site-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.uc-btn:focus-visible,
.uc-card:focus-visible {
  outline: 3px solid rgba(49, 94, 251, .35);
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .uc-hero { padding: 70px 0 78px; }
  .uc-hero h1 { font-size: clamp(2.45rem, 13vw, 4.3rem); }
  .uc-lead { margin-top: 22px; }
}


/* v1.3: published-content cards and a clean independent footer. */
.site-footer {
  display: none !important;
}
.uc-latest-section {
  border-top: 1px solid var(--uc-line);
}
.uc-section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}
.uc-text-link,
.uc-article-link {
  color: var(--uc-accent);
  font-weight: 750;
  text-decoration: none;
}
.uc-text-link:hover,
.uc-article-link:hover {
  text-decoration: underline;
}
.uc-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.uc-article-card {
  padding: 26px;
  background: var(--uc-paper);
  border: 1px solid var(--uc-line);
  border-radius: 16px;
}
.uc-article-meta {
  margin: 0 0 18px;
  color: var(--uc-accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.uc-article-card h3 {
  margin: 0 0 14px;
  font-size: 1.42rem;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.uc-article-card h3 a {
  color: var(--uc-ink);
  text-decoration: none;
}
.uc-article-card h3 a:hover {
  color: var(--uc-accent);
}
.uc-article-card > p:not(.uc-article-meta) {
  color: var(--uc-muted);
  line-height: 1.65;
}
.uc-site-footer {
  background: #101827;
  color: #d7dfeb;
  padding: 58px 0 28px;
}
.uc-footer-top {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.5fr);
  gap: 56px;
  align-items: start;
}
.uc-footer-brand > a {
  color: #fff;
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: -.03em;
  text-decoration: none;
}
.uc-footer-brand p {
  max-width: 430px;
  margin: 14px 0 0;
  color: #aeb9c8;
  line-height: 1.65;
}
.uc-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
}
.uc-footer-nav a {
  color: #e8edf5;
  text-decoration: none;
  line-height: 1.45;
}
.uc-footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.uc-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #8e9bad;
  font-size: .9rem;
}

@media (max-width: 900px) {
  .uc-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .uc-footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
@media (max-width: 620px) {
  .uc-section-head-row,
  .uc-footer-bottom {
    display: block;
  }
  .uc-section-head-row .uc-text-link {
    display: inline-block;
    margin-top: 14px;
  }
  .uc-latest-grid,
  .uc-footer-nav {
    grid-template-columns: 1fr;
  }
  .uc-footer-bottom span {
    display: block;
    margin-top: 7px;
  }
}


/* v2.1 editorial identity and trust note. */
.uc-editorial-note {
  margin: 46px 0 10px;
  padding: 24px 26px;
  border: 1px solid var(--uc-line);
  border-left: 4px solid var(--uc-accent);
  border-radius: 12px;
  background: #f7f9ff;
  color: var(--uc-muted);
}
.uc-editorial-note > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.uc-editorial-note strong {
  color: var(--uc-ink);
}
.uc-editorial-note span {
  font-size: .88rem;
}
.uc-editorial-note p {
  margin: 0 0 12px;
  line-height: 1.65;
}
.uc-editorial-note a {
  color: var(--uc-accent);
  font-weight: 750;
  text-decoration: none;
}
.uc-editorial-note a:hover {
  text-decoration: underline;
}
@media (max-width: 620px) {
  .uc-editorial-note > div {
    display: block;
  }
  .uc-editorial-note span {
    display: block;
    margin-top: 5px;
  }
}
