
:root {
  --tl-dark: #0d0a12;
  --tl-ink: #241a2f;
  --tl-ink-2: #342641;
  --tl-purple: #945ecc;
  --tl-purple-dark: #7c3fbd;
  --tl-purple-light: #c9a8ff;
  --tl-gray: #a79ead;
  --tl-muted: #62576d;
  --tl-soft: #f7f4fa;
  --tl-border: #e4ddea;
  --tl-white: #fff;
  --tl-radius-xl: 1.5rem;
  --tl-radius-2xl: 2rem;
  --tl-shadow: 0 18px 45px rgba(36, 26, 47, 0.12);
  --tl-focus: 0 0 0 3px rgba(201, 168, 255, 0.52);
  --tl-container: min(1180px, calc(100vw - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--tl-ink); background: var(--tl-white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--tl-purple); }
img { max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:where(a, button, input, textarea, select):focus-visible { outline: none; box-shadow: var(--tl-focus); border-radius: 0.45rem; }
.skip-link { position: absolute; left: -999px; top: 1rem; z-index: 999; padding: .75rem 1rem; background: var(--tl-purple); color: #fff; border-radius: .75rem; }
.skip-link:focus { left: 1rem; }
.tl-container { width: var(--tl-container); margin-inline: auto; }
.narrow { max-width: 840px; }
.center { text-align: center; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(13,10,18,.88); border-bottom: 1px solid rgba(167,158,173,.12); backdrop-filter: blur(18px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 166px; height: auto; display: block; }
.primary-nav .menu, .footer-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.75rem; }
.primary-nav a, .footer-nav a { color: #c9c0d1; font-size: .94rem; padding: .25rem; border-radius: .4rem; }
.primary-nav a:hover, .footer-nav a:hover { color: #fff; }

/* WordPress menu support */
.primary-nav .menu-item { position: relative; }
.primary-nav .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + .6rem);
  min-width: 230px;
  display: grid;
  gap: .25rem;
  margin: 0;
  padding: .75rem;
  list-style: none;
  background: #120d19;
  border: 1px solid rgba(167,158,173,.16);
  border-radius: 1rem;
  box-shadow: 0 22px 45px rgba(0,0,0,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.primary-nav .menu-item:hover > .sub-menu,
.primary-nav .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.primary-nav .sub-menu a { display: block; padding: .65rem .75rem; white-space: nowrap; }
.primary-nav .sub-menu .sub-menu { left: calc(100% + .5rem); top: 0; }

.menu-toggle { display: none; border: 1px solid rgba(167,158,173,.22); background: rgba(255,255,255,.05); color: #fff; border-radius: 999px; padding: .6rem 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border-radius: 999px; padding: .88rem 1.2rem; font-weight: 800; line-height: 1; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease; border: 1px solid transparent; }
.button:hover { transform: translateY(-1px); }
.button.primary, .button.header-cta { background: var(--tl-purple); color: #fff; box-shadow: 0 14px 30px rgba(148,94,204,.2); }
.button.primary:hover, .button.header-cta:hover { background: #a874e0; color: #fff; }
.button.secondary { color: #fff; background: rgba(255,255,255,.04); border-color: rgba(167,158,173,.25); }
.button.secondary:hover { color: #fff; background: rgba(255,255,255,.08); }
.button.ink { background: var(--tl-ink); color: #fff; margin-top: 1.4rem; }
.button.outline-light { background: transparent; border-color: #d8cfe2; color: var(--tl-ink); }

.hero, .page-hero { position: relative; overflow: hidden; background: var(--tl-dark); color: #fff; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg,#0d0a12 0%,#171020 48%,#241a2f 100%); z-index: 0; }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 8%, rgba(148,94,204,.34), transparent 28%), radial-gradient(circle at 82% 18%, rgba(167,158,173,.14), transparent 24%); z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; align-items: center; gap: 4rem; grid-template-columns: 1.05fr .95fr; padding-block: 5rem 7rem; }
.eyebrow-pill { display: inline-flex; border: 1px solid rgba(148,94,204,.35); background: rgba(148,94,204,.15); color: #e9ddff; border-radius: 999px; padding: .3rem .75rem; font-size: .78rem; font-weight: 700; }
.hero-logo { margin-top: 2rem; }
.hero-logo-img { width: 330px; height: auto; }
.hero h1, .page-hero h1 { margin: 2rem 0 0; font-size: clamp(3rem, 7vw, 5.75rem); line-height: .96; letter-spacing: -.055em; max-width: 880px; }
.hero-lede { margin-top: 1.5rem; color: #d7cfdf; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.7; max-width: 720px; }
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.contact-strip { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; color: #c9c0d1; font-size: .95rem; }
.contact-strip span { display: inline-flex; align-items: center; gap: .45rem; }
.contact-strip .icon { color: var(--tl-purple-light); }
.health-panel { align-self: center; }
.panel-card { position: relative; border: 1px solid rgba(167,158,173,.12); background: rgba(18,13,25,.92); border-radius: var(--tl-radius-2xl); padding: 1.5rem; box-shadow: 0 20px 45px rgba(148,94,204,.12); backdrop-filter: blur(6px); }
.panel-card::before { content: ""; position: absolute; right: -1rem; top: -1rem; width: 5rem; height: 5rem; border-radius: 50%; background: rgba(148,94,204,.2); filter: blur(18px); }
.panel-header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.panel-header p { margin: 0; color: var(--tl-gray); font-size: .92rem; }
.panel-header strong { display: block; font-size: 1.45rem; color: #fff; }
.panel-icon, .snapshot-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--tl-purple-light); background: rgba(148,94,204,.16); border-radius: 1rem; }
.panel-icon { width: 3rem; height: 3rem; font-size: 1.35rem; }
.snapshot-row { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: start; padding: 1rem; border-radius: 1.1rem; border: 1px solid rgba(167,158,173,.1); background: rgba(255,255,255,.045); margin-top: .8rem; }
.snapshot-row strong { color: #fff; }
.snapshot-row p { color: var(--tl-gray); margin: .1rem 0 0; font-size: .9rem; }
.snapshot-icon { width: 2.2rem; height: 2.2rem; }
.check-icon { color: var(--tl-purple-light); display: inline-flex; }

.section { padding-block: 6rem; }
.soft-section { background: var(--tl-soft); }
.white-section { background: #fff; }
.dark-section { position: relative; background: var(--tl-dark); color: #fff; overflow: hidden; }
.dark-bg { position: absolute; inset: 0; background: radial-gradient(circle at 12% 15%,rgba(148,94,204,.22),transparent 30%), radial-gradient(circle at 90% 80%,rgba(167,158,173,.12),transparent 30%); }
.section-heading { max-width: 760px; text-align: center; margin: 0 auto 4rem; }
.section-eyebrow { margin: 0 0 .8rem; color: var(--tl-purple-dark); text-transform: uppercase; letter-spacing: .22em; font-size: .82rem; font-weight: 900; }
.section-eyebrow.light { color: var(--tl-purple-light); }
.section h2, .contact-section h2 { margin: 0; color: var(--tl-ink); font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.03; letter-spacing: -.045em; }
.dark-section h2 { color: #fff; }
.section-heading p:not(.section-eyebrow), .body-large { color: var(--tl-muted); font-size: 1.12rem; line-height: 1.75; }
.dark-section .body-large { color: #d7cfdf; }
.card-grid { display: grid; gap: 1.5rem; }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card, .plan-card, .post-preview, .archive-card { background: #fff; border: 1px solid var(--tl-border); border-radius: var(--tl-radius-2xl); padding: 2rem; box-shadow: 0 2px 10px rgba(36,26,47,.03); }
.service-card { transition: transform .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 22px 45px rgba(148,94,204,.1); }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.2rem; height: 3.2rem; background: var(--tl-ink); color: var(--tl-purple-light); border-radius: 1rem; font-size: 1.4rem; margin-bottom: 1.3rem; }
.service-card h3, .plan-card h3, .post-preview h3 { margin: 0; color: var(--tl-ink); font-size: 1.35rem; line-height: 1.25; }
.service-card p, .plan-card p, .post-preview div { color: var(--tl-muted); margin-bottom: 0; }
.split-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.positioning-card { margin-top: 2rem; background: var(--tl-ink); color: #fff; border-radius: var(--tl-radius-2xl); padding: 2rem; box-shadow: 0 22px 45px rgba(148,94,204,.15); }
.positioning-card strong { display: block; font-size: 1.25rem; margin-top: 1rem; }
.positioning-card p { color: #d7cfdf; margin-bottom: 0; }
.large-icon { display: inline-flex; color: var(--tl-purple-light); font-size: 1.8rem; }
.approach-list { display: grid; gap: 1rem; }
.approach-item { display: flex; gap: .9rem; align-items: flex-start; background: var(--tl-soft); border: 1px solid var(--tl-border); border-radius: 1.5rem; padding: 1.2rem; font-size: 1.1rem; font-weight: 800; color: var(--tl-ink-2); }
.plan-card.featured { border-color: var(--tl-purple); box-shadow: 0 22px 45px rgba(148,94,204,.15); }
.plan-badge { display: inline-flex; background: rgba(148,94,204,.1); color: var(--tl-purple-dark); border-radius: 999px; padding: .28rem .75rem; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 900; margin-bottom: 1.2rem; }
.plan-card ul { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .85rem; }
.plan-card li { display: flex; gap: .7rem; color: #4a3f55; }
.industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.industry-card { border: 1px solid rgba(167,158,173,.12); background: rgba(255,255,255,.055); border-radius: var(--tl-radius-2xl); padding: 1.8rem; backdrop-filter: blur(6px); }
.industry-card strong { display: block; margin-top: 1.1rem; font-size: 1.1rem; }
.posts-list { display: grid; gap: 1rem; }
.post-preview { background: var(--tl-soft); }
.post-preview p { margin: 0 0 .3rem; color: var(--tl-purple-dark); font-size: .88rem; font-weight: 900; }
.post-preview h3 a { color: var(--tl-ink); }
.contact-section { background: var(--tl-soft); }
.contact-section .body-large { max-width: 780px; margin-inline: auto; }
.center-row { justify-content: center; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; text-align: left; }
.contact-cards > div { background: #fff; border-radius: 1.5rem; padding: 1.3rem; box-shadow: 0 2px 10px rgba(36,26,47,.03); }
.contact-cards .icon { color: var(--tl-purple); font-size: 1.3rem; }
.contact-cards strong, .contact-cards span { display: block; }
.contact-cards strong { margin-top: .7rem; color: var(--tl-ink); }
.contact-cards span { color: var(--tl-muted); margin-top: .2rem; }

.site-footer { background: var(--tl-dark); color: var(--tl-gray); border-top: 1px solid rgba(167,158,173,.1); padding-block: 2.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.footer-logo { width: 166px; height: auto; }
.site-footer p { margin: .9rem 0 0; max-width: 560px; }

.compact-hero { padding-block: 5rem; }
.compact-hero .tl-container { position: relative; z-index: 1; }
.compact-hero h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
.archive-description { color: #d7cfdf; margin-top: 1rem; }
.content-layout { max-width: 920px; }
.archive-list { display: grid; gap: 1.2rem; }
.archive-card h2 { margin: .2rem 0 .5rem; line-height: 1.15; }
.archive-card h2 a { color: var(--tl-ink); }
.post-meta { margin: 0; color: var(--tl-purple-dark); font-weight: 800; }
.entry-content-wrap { color: var(--tl-ink); }
.entry-content { font-size: 1.08rem; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.featured-image { margin-bottom: 2rem; }
.featured-image img { border-radius: var(--tl-radius-xl); }
.post-nav { margin-top: 3rem; }
.pagination { margin-top: 2rem; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: tlFadeUp .55s ease both; }
  .reveal.delay { animation-delay: .15s; }
  @keyframes tlFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero::after, .page-hero::after, .dark-bg, .panel-card::before { display: none; }
  .button:hover, .service-card:hover { transform: none; }
}
@media (max-width: 980px) {
  .hero-grid, .split-grid { grid-template-columns: 1fr; }
  .services-grid, .plans-grid, .contact-cards { grid-template-columns: 1fr; }
  .health-panel { max-width: 640px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 68px; }
  .brand-logo { width: 152px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .primary-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); display: none; background: #120d19; border: 1px solid rgba(167,158,173,.16); border-radius: 1.2rem; padding: 1rem; box-shadow: 0 22px 45px rgba(0,0,0,.25); }
  .primary-nav.is-open { display: block; }
  .primary-nav .menu { display: grid; gap: .4rem; }
  .primary-nav .menu-item { position: static; }
  .primary-nav .sub-menu { position: static; display: grid; opacity: 1; visibility: visible; transform: none; min-width: 0; margin: .25rem 0 .25rem 1rem; padding: .25rem 0 .25rem .75rem; background: transparent; border: 0; border-left: 1px solid rgba(167,158,173,.18); border-radius: 0; box-shadow: none; }
  .primary-nav .sub-menu .sub-menu { left: auto; top: auto; }
  .primary-nav a { display: block; padding: .7rem .8rem; }
  .hero-grid { padding-block: 4rem 5rem; }
  .hero-logo-img { width: 280px; }
  .section { padding-block: 4rem; }
  .industry-grid { grid-template-columns: 1fr; }
  .button-row { flex-direction: column; align-items: stretch; }
  .button-row .button { width: 100%; }
}

/* Standard WordPress page content styles.
   Scoped away from the custom homepage so future pages use a cleaner content layout. */
body.page:not(.home) .content-page-section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

body.page:not(.home) .content-page-container {
  max-width: 820px;
}

body.page:not(.home) .entry-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--tl-ink-2);
}

body.page:not(.home) .entry-content > *:first-child {
  margin-top: 0;
}

body.page:not(.home) .entry-content p {
  margin: 0 0 1.25rem;
  color: var(--tl-ink-2);
}

body.page:not(.home) .entry-content h2 {
  margin: 2.4rem 0 .9rem;
  color: var(--tl-ink);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

body.page:not(.home) .entry-content h3 {
  margin: 2rem 0 .75rem;
  color: var(--tl-ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}

body.page:not(.home) .entry-content ul,
body.page:not(.home) .entry-content ol {
  margin: .75rem 0 2rem;
  padding-left: 1.4rem;
}

body.page:not(.home) .entry-content li {
  margin: .28rem 0;
  line-height: 1.65;
}

body.page:not(.home) .entry-content .wp-block-spacer {
  max-height: 3rem;
}

@media (max-width: 760px) {
  body.page:not(.home) .compact-hero {
    padding-block: 3.5rem;
  }

  body.page:not(.home) .content-page-section {
    padding-block: 3rem 4rem;
  }

  body.page:not(.home) .entry-content {
    font-size: 1rem;
    line-height: 1.7;
  }

  body.page:not(.home) .entry-content h2 {
    margin-top: 2rem;
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    letter-spacing: -.035em;
  }
}


/* Contact page - shared layout */
body.page:not(.home) .techilogic-contact-intro-section,
body.page:not(.home) .techilogic-contact-card-section,
body.page:not(.home) .techilogic-contact-path-section,
body.page:not(.home) .techilogic-contact-form-section,
body.page:not(.home) .techilogic-contact-bottom-cards {
  width: min(100vw - 32px, 1040px);
  max-width: none;
  margin-left: 50%;
  margin-right: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

/* Contact page - intro */
body.page:not(.home) .techilogic-contact-intro-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

body.page:not(.home) .techilogic-contact-intro-section p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #62576d;
  line-height: 1.8;
  text-align: left;
}

/* Contact page - quick contact cards */
body.page:not(.home) .techilogic-contact-card-section {
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  padding: 3rem 2rem;
  border-radius: 32px;
  background: #efe2fb;
  box-shadow: 0 20px 55px rgba(36, 26, 47, 0.07);
}

body.page:not(.home) .techilogic-contact-card-section > h2 {
  margin-top: 0;
  margin-bottom: 1.75rem;
  color: #241a2f;
}

body.page:not(.home) .techilogic-contact-card-grid {
  gap: 1rem;
  margin-bottom: 0;
}

body.page:not(.home) .techilogic-contact-info-card {
  height: 100%;
  padding: 1.4rem;
  border: 1px solid #d9c4eb;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(36, 26, 47, 0.07);
  overflow-wrap: normal;
  word-break: normal;
}

body.page:not(.home) .techilogic-contact-info-card p {
  margin: 0;
  color: #62576d;
  line-height: 1.65;
}

body.page:not(.home) .techilogic-contact-info-card strong {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: #241a2f;
  font-weight: 800;
}

body.page:not(.home) .techilogic-contact-info-card a {
  color: #7c3fbd;
  font-weight: 700;
}

body.page:not(.home) .techilogic-contact-info-card a[href^="mailto:"] {
  white-space: nowrap;
  font-size: 0.82em;
}

/* Contact page - choose path section */
body.page:not(.home) .techilogic-contact-path-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 4rem 2rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 12%, rgba(148, 94, 204, 0.32), transparent 34%),
    linear-gradient(135deg, #241a2f 0%, #171020 100%);
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(36, 26, 47, 0.18);
}

body.page:not(.home) .techilogic-contact-path-section > h2,
body.page:not(.home) .techilogic-contact-path-section > p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body.page:not(.home) .techilogic-contact-path-section > h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #ffffff;
}

body.page:not(.home) .techilogic-contact-path-section > p {
  margin-bottom: 2.5rem;
  color: #d7cfdf;
  line-height: 1.8;
}

body.page:not(.home) .techilogic-contact-path-grid {
  gap: 1.25rem;
  margin-bottom: 0;
  align-items: stretch;
}

body.page:not(.home) .techilogic-contact-path-card {
  height: 100%;
  padding: 2rem;
  border: 1px solid rgba(201, 168, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 50px rgba(13, 10, 18, 0.2);
  display: flex;
  flex-direction: column;
}

body.page:not(.home) .techilogic-contact-path-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

body.page:not(.home) .techilogic-contact-path-card p {
  color: #d7cfdf;
  line-height: 1.75;
  flex: 1;
}

body.page:not(.home) .techilogic-contact-path-card .wp-block-buttons {
  margin-top: 1.5rem;
  justify-content: center;
}

body.page:not(.home) .techilogic-dark-section-button {
  width: 100%;
  max-width: 220px;
}

body.page:not(.home) .techilogic-dark-section-button .wp-block-button__link {
  width: 100%;
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 999px;
  background: #945ecc;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(148, 94, 204, 0.32);
}

body.page:not(.home) .techilogic-dark-section-button .wp-block-button__link:hover {
  background: #a874e0;
  color: #ffffff;
}

/* Contact page - New Business Inquiry form section */
body.page:not(.home) .techilogic-contact-form-section {
  width: min(100vw - 32px, 1120px);
  margin-top: 3.5rem;
  margin-bottom: 4rem;
  padding: 4rem 2rem 3rem;
  border-radius: 36px;
  background: #eadbf8;
  box-shadow: 0 26px 75px rgba(36, 26, 47, 0.1);
}

body.page:not(.home) .techilogic-contact-form-section > h2,
body.page:not(.home) .techilogic-contact-form-section > p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.page:not(.home) .techilogic-contact-form-section > h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #241a2f;
}

body.page:not(.home) .techilogic-contact-form-section > p {
  margin-bottom: 2.5rem;
  color: #62576d;
}

body.page:not(.home) .techilogic-zoho-form-wrap {
  width: min(100%, 860px);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  transform: none;
  overflow: hidden;
}

/* Zoho iframe embed - reliable responsive height handling */
body.page:not(.home) .techilogic-zoho-form-iframe,
body.page:not(.home) .techilogic-zoho-form-wrap iframe {
  display: block;
  width: 100% !important;
  height: 1900px;
  min-height: 1900px;
  border: 0;
  background: transparent;
  overflow: hidden;
}

/* Contact page - bottom cards */
body.page:not(.home) .techilogic-contact-bottom-cards {
  margin-top: 3rem;
  margin-bottom: 4.5rem;
}

body.page:not(.home) .techilogic-contact-bottom-cards .wp-block-columns {
  gap: 1.25rem;
  margin-bottom: 0;
  align-items: stretch;
}

body.page:not(.home) .techilogic-bottom-card {
  height: 100%;
  padding: 2rem;
  border: 1px solid #d9c4eb;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(36, 26, 47, 0.07);
  display: flex;
  flex-direction: column;
}

body.page:not(.home) .techilogic-bottom-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #241a2f;
}

body.page:not(.home) .techilogic-bottom-card p {
  margin-bottom: 0;
  color: #62576d;
  line-height: 1.75;
}

body.page:not(.home) .techilogic-bottom-card a {
  color: #7c3fbd;
  font-weight: 700;
}

body.page:not(.home) .techilogic-bottom-card a:hover {
  color: #945ecc;
}

/* Laptop / tablet landscape */
@media (max-width: 1024px) {
  body.page:not(.home) .techilogic-zoho-form-iframe,
  body.page:not(.home) .techilogic-zoho-form-wrap iframe {
    height: 1900px;
    min-height: 1900px;
  }
}

/* Tablet / smaller screens */
@media (max-width: 768px) {
  body.page:not(.home) .techilogic-contact-intro-section,
  body.page:not(.home) .techilogic-contact-card-section,
  body.page:not(.home) .techilogic-contact-path-section,
  body.page:not(.home) .techilogic-contact-form-section,
  body.page:not(.home) .techilogic-contact-bottom-cards {
    width: min(100vw - 20px, 100%);
  }

  body.page:not(.home) .techilogic-contact-card-section,
  body.page:not(.home) .techilogic-contact-path-section,
  body.page:not(.home) .techilogic-contact-form-section {
    padding: 2.5rem 1rem;
    border-radius: 24px;
  }

  body.page:not(.home) .techilogic-contact-path-card,
  body.page:not(.home) .techilogic-bottom-card,
  body.page:not(.home) .techilogic-contact-info-card {
    padding: 1.5rem;
    border-radius: 22px;
  }

  body.page:not(.home) .techilogic-contact-info-card a[href^="mailto:"] {
    white-space: normal;
    font-size: 1em;
  }

  body.page:not(.home) .techilogic-zoho-form-wrap {
    width: 100%;
  }

  body.page:not(.home) .techilogic-zoho-form-iframe,
  body.page:not(.home) .techilogic-zoho-form-wrap iframe {
    width: 100% !important;
    height: 1950px;
    min-height: 1950px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  body.page:not(.home) .techilogic-zoho-form-iframe,
  body.page:not(.home) .techilogic-zoho-form-wrap iframe {
    height: 2050px;
    min-height: 2050px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  body.page:not(.home) .techilogic-zoho-form-iframe,
  body.page:not(.home) .techilogic-zoho-form-wrap iframe {
    height: 2150px;
    min-height: 2150px;
  }
}

/* Very narrow mobile */
@media (max-width: 390px) {
  body.page:not(.home) .techilogic-zoho-form-iframe,
  body.page:not(.home) .techilogic-zoho-form-wrap iframe {
    height: 2250px;
    min-height: 2250px;
  }
}

/* Homepage Hero Polish */
.home .tl-hero,
.front-page .tl-hero,
body.home section:first-of-type {
  min-height: auto;
}

.home .tl-hero__inner,
.front-page .tl-hero__inner,
body.home main > section:first-of-type > div:last-child {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  padding-top: clamp(5.5rem, 8vw, 8rem);
  padding-bottom: clamp(5.5rem, 8vw, 8rem);
}

.home .tl-hero__logo,
.front-page .tl-hero__logo,
body.home main > section:first-of-type img[alt*="TechiLogic"] {
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
  max-width: 210px;
}

.home .tl-hero__title,
.front-page .tl-hero__title,
body.home main > section:first-of-type h1 {
  max-width: 680px;
  font-size: clamp(3.75rem, 5.2vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.home .tl-hero__text,
.front-page .tl-hero__text,
body.home main > section:first-of-type h1 + p {
  max-width: 620px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.75;
}

.home .tl-hero__panel,
.front-page .tl-hero__panel,
body.home main > section:first-of-type h1 ~ div:last-child {
  max-width: 430px;
  justify-self: center;
}

@media (max-width: 1024px) {
  .home .tl-hero__inner,
  .front-page .tl-hero__inner,
  body.home main > section:first-of-type > div:last-child {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .home .tl-hero__title,
  .front-page .tl-hero__title,
  body.home main > section:first-of-type h1 {
    max-width: 760px;
    font-size: clamp(3rem, 9vw, 5rem);
  }

  .home .tl-hero__panel,
  .front-page .tl-hero__panel,
  body.home main > section:first-of-type h1 ~ div:last-child {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .home .tl-hero__inner,
  .front-page .tl-hero__inner,
  body.home main > section:first-of-type > div:last-child {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .home .tl-hero__logo,
  .front-page .tl-hero__logo,
  body.home main > section:first-of-type img[alt*="TechiLogic"] {
    max-width: 180px;
  }

  .home .tl-hero__title,
  .front-page .tl-hero__title,
  body.home main > section:first-of-type h1 {
    font-size: clamp(2.65rem, 13vw, 3.75rem);
    line-height: 0.95;
  }
}

/* TechiLogic 2026 - Insights archive polish */
.insights-hero {
  position: relative;
  overflow: hidden;
  background: var(--tl-dark);
  color: #fff;
  padding: clamp(5rem, 8vw, 7.5rem) 0 clamp(4rem, 6vw, 6rem);
}

.insights-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(148, 94, 204, 0.32), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(201, 168, 255, 0.12), transparent 24%),
    linear-gradient(135deg, #0d0a12 0%, #171020 48%, #241a2f 100%);
}

.insights-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 96px;
  background: linear-gradient(to bottom, rgba(13, 10, 18, 0), #fbf8ff 92%);
  pointer-events: none;
}

.insights-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.insights-hero h1 {
  max-width: 780px;
  margin: 0.75rem 0 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.insights-hero p:not(.section-eyebrow) {
  max-width: 760px;
  margin: 1.3rem 0 0;
  color: #d7cfdf;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.8;
}

.insights-hero-note {
  justify-self: end;
  width: 100%;
  max-width: 300px;
  padding: 1.6rem;
  border: 1px solid rgba(201, 168, 255, 0.18);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 22px 60px rgba(148, 94, 204, 0.16);
  backdrop-filter: blur(14px);
}

.insights-hero-note svg {
  width: 1.65rem;
  height: 1.65rem;
  margin-bottom: 1rem;
  color: var(--tl-purple-light);
}

.insights-hero-note strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.45;
}

.insights-tools-section {
  position: relative;
  z-index: 2;
  margin-top: -1.25rem;
  padding: 0 0 2.5rem;
  background: linear-gradient(to bottom, #fbf8ff 0%, #ffffff 62%, #fbf8ff 100%);
}

.insights-tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.35rem;
  align-items: stretch;
}

.insights-search-card,
.insights-topic-card,
.date-sidebar-card {
  border: 1px solid rgba(217, 196, 235, 0.9);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 55px rgba(36, 26, 47, 0.08);
}

.insights-search-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(190px, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.3rem;
}

.insights-search-card strong,
.insights-topic-card strong,
.date-sidebar-heading strong {
  display: block;
  color: var(--tl-ink);
  font-weight: 900;
}

.insights-search-card p {
  margin: 0.25rem 0 0;
  color: var(--tl-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.insights-search-card input[type="search"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--tl-border);
  border-radius: 999px;
  padding: 0 1.15rem;
  background: #f7f4fa;
  color: var(--tl-ink);
  font: inherit;
}

.insights-search-card button {
  min-height: 48px;
  padding-inline: 1.4rem;
  white-space: nowrap;
}

.insights-topic-card {
  padding: 1.3rem;
}

.topic-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.topic-chip-list a,
.date-chip-list a,
.date-chip-list li {
  text-decoration: none;
}

.topic-chip-list a,
.date-chip-list a {
  display: inline-flex;
  align-items: center;
  border: 1px solid #decfed;
  border-radius: 999px;
  background: #f7f4fa;
  color: #342641;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.topic-chip-list a {
  min-height: 34px;
  padding: 0.55rem 0.85rem;
}

.topic-chip-list a:hover,
.date-chip-list a:hover {
  transform: translateY(-1px);
  border-color: rgba(148, 94, 204, 0.5);
  background: rgba(148, 94, 204, 0.12);
  color: var(--tl-purple-dark);
}

.insights-archive-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
  background:
    radial-gradient(circle at 6% 16%, rgba(148, 94, 204, 0.10), transparent 28%),
    radial-gradient(circle at 94% 18%, rgba(201, 168, 255, 0.12), transparent 30%),
    linear-gradient(to bottom, #fbf8ff 0%, #ffffff 42%, #fbf8ff 100%);
}

.insights-main-shell {
  display: grid;
  grid-template-columns: minmax(0, 980px) 230px;
  gap: 1.5rem;
  align-items: start;
  justify-content: center;
}

.insights-posts-column {
  min-width: 0;
}

.insights-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid #dfd1ec;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 24px 70px rgba(36, 26, 47, 0.09);
}

.insights-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.insights-card {
  overflow: hidden;
  border: 1px solid #dfd1ec;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 14px 36px rgba(36, 26, 47, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.insights-card:hover,
.insights-featured-card:hover {
  border-color: rgba(148, 94, 204, 0.42);
  box-shadow: 0 24px 60px rgba(36, 26, 47, 0.12);
}

.insights-card:hover {
  transform: translateY(-3px);
}

.insights-card-media {
  display: block;
  position: relative;
  overflow: hidden;
  background: #f7f4fa;
}

.insights-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.insights-card:hover .insights-card-media img,
.insights-featured-card:hover .insights-card-media img {
  transform: scale(1.03);
}

.insights-card .insights-card-media {
  aspect-ratio: 16 / 9;
}

.insights-featured-card .insights-card-media {
  min-height: 100%;
}

.insights-card-media-fallback {
  min-height: 210px;
  background:
    radial-gradient(circle at 30% 25%, rgba(201, 168, 255, 0.42), transparent 32%),
    linear-gradient(135deg, #241a2f 0%, #0d0a12 100%);
}

.fallback-orb {
  position: absolute;
  right: -34px;
  top: -34px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(148, 94, 204, 0.34);
  filter: blur(2px);
}

.fallback-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(201, 168, 255, 0.2);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--tl-purple-light);
}

.insights-card-body {
  padding: 1.3rem;
}

.insights-featured-card .insights-card-body {
  padding: clamp(1.7rem, 3vw, 2.4rem);
}

.insights-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.insights-meta-pills span,
.insights-meta-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: rgba(148, 94, 204, 0.10);
  color: var(--tl-purple-dark);
  padding: 0.3rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
}

.insights-featured-card h2,
.insights-card h3 {
  margin: 0;
  color: var(--tl-ink);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.insights-featured-card h2 {
  font-size: clamp(2.45rem, 4.3vw, 4.8rem);
}

.insights-card h3 {
  font-size: clamp(1.35rem, 1.65vw, 1.85rem);
}

.insights-featured-card h2 a,
.insights-card h3 a {
  color: inherit;
}

.insights-card-body p {
  margin: 0.85rem 0 0;
  color: var(--tl-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.read-more-link {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  margin-top: 1rem;
  color: var(--tl-purple-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.read-more-link svg {
  width: 0.95rem;
  height: 0.95rem;
}

.insights-date-sidebar {
  position: sticky;
  top: 96px;
}

.date-sidebar-card {
  padding: 1.1rem;
}

.date-sidebar-heading {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}

.date-sidebar-heading span {
  color: var(--tl-muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.date-chip-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.date-chip-list li {
  display: block;
  color: var(--tl-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.date-chip-list a {
  width: 100%;
  justify-content: space-between;
  min-height: 34px;
  padding: 0.55rem 0.7rem;
}

.insights-pagination {
  margin-top: 3rem;
  text-align: center;
}

.insights-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
}

.insights-pagination .page-numbers {
  display: inline-flex;
  min-width: 2.35rem;
  min-height: 2.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfd1ec;
  border-radius: 999px;
  background: #fff;
  color: var(--tl-ink);
  padding: 0.45rem 0.8rem;
  font-weight: 850;
}

.insights-pagination .page-numbers.current {
  border-color: var(--tl-purple);
  background: var(--tl-purple);
  color: #fff;
}

.insights-empty-state {
  border: 1px solid #dfd1ec;
  border-radius: 1.6rem;
  background: #fff;
  padding: 2rem;
  box-shadow: 0 14px 36px rgba(36, 26, 47, 0.07);
}

.insights-empty-state h2 {
  margin-top: 0;
}

@media (max-width: 1220px) {
  .insights-main-shell {
    grid-template-columns: 1fr;
    max-width: 980px;
  }

  .insights-date-sidebar {
    position: static;
    order: -1;
  }

  .date-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .date-chip-list a {
    width: auto;
  }
}

@media (max-width: 980px) {
  .insights-hero-grid,
  .insights-tools-grid,
  .insights-featured-card {
    grid-template-columns: 1fr;
  }

  .insights-hero-note {
    justify-self: start;
  }

  .insights-search-card {
    grid-template-columns: 1fr;
  }

  .insights-featured-card .insights-card-media {
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 640px) {
  .insights-hero {
    padding-block: 4rem 3.5rem;
  }

  .insights-tools-section {
    margin-top: 0;
    padding-top: 1rem;
  }

  .insights-card-grid {
    grid-template-columns: 1fr;
  }

  .insights-featured-card h2 {
    font-size: clamp(2.2rem, 12vw, 3.25rem);
  }

  .insights-archive-section {
    padding-top: 2.5rem;
  }
}


/* TechiLogic 2026 - Insights v2 refinement
   Keeps the article grid centered, moves the date archive outside the article rail,
   and makes the search/topic controls feel like an integrated resource panel. */
.insights-hero {
  padding-bottom: clamp(5.2rem, 7vw, 7.25rem);
}

.insights-hero::after {
  height: 140px;
  background: linear-gradient(to bottom, rgba(13, 10, 18, 0), #fbf8ff 82%, #fbf8ff 100%);
}

.insights-tools-section {
  margin-top: 0;
  padding: clamp(2.1rem, 4vw, 3.25rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 18% 0%, rgba(148, 94, 204, 0.10), transparent 30%),
    linear-gradient(to bottom, #fbf8ff 0%, #ffffff 52%, #fbf8ff 100%);
}

.insights-tools-grid {
  position: relative;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 0;
  padding: 1rem;
  border: 1px solid rgba(217, 196, 235, 0.88);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(36, 26, 47, 0.08);
  backdrop-filter: blur(14px);
}

.insights-tools-grid::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(148, 94, 204, 0.13), transparent 34%, rgba(201, 168, 255, 0.18));
  pointer-events: none;
  opacity: 0.85;
}

.insights-search-card,
.insights-topic-card {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.insights-search-card {
  padding: 1.2rem 1.35rem;
  border-right: 1px solid rgba(217, 196, 235, 0.86);
}

.insights-topic-card {
  padding: 1.2rem 1.35rem;
}

.insights-search-card input[type="search"] {
  background: rgba(247, 244, 250, 0.92);
}

.insights-archive-section {
  padding: clamp(3.5rem, 6vw, 5rem) 0 5rem;
  background:
    radial-gradient(circle at 7% 12%, rgba(148, 94, 204, 0.09), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(201, 168, 255, 0.10), transparent 30%),
    linear-gradient(to bottom, #fbf8ff 0%, #fff 38%, #fbf8ff 100%);
}

.insights-main-shell {
  position: relative;
  display: block;
  max-width: 980px;
}

.insights-posts-column {
  width: 100%;
}

.insights-date-sidebar {
  position: absolute;
  top: 0;
  left: calc(100% + 1.5rem);
  width: 230px;
}

.date-sidebar-card {
  position: sticky;
  top: 96px;
  padding: 1.1rem;
}

.date-chip-list li {
  margin: 0;
  line-height: 1;
}

.date-chip-list a {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  white-space: nowrap;
}

.date-chip-count {
  color: var(--tl-muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.date-chip-list a:hover .date-chip-count {
  color: var(--tl-purple-dark);
}

@media (max-width: 1460px) {
  .insights-main-shell {
    max-width: 980px;
  }

  .insights-date-sidebar {
    left: calc(100% + 1rem);
    width: 210px;
  }
}

@media (max-width: 1280px) {
  .insights-main-shell {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 980px;
  }

  .insights-date-sidebar {
    position: static;
    order: -1;
    width: auto;
    margin-bottom: 1.4rem;
  }

  .date-sidebar-card {
    position: static;
  }

  .date-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .date-chip-list a {
    width: auto;
  }
}

@media (max-width: 980px) {
  .insights-tools-grid {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .insights-search-card {
    border-right: 0;
    border-bottom: 1px solid rgba(217, 196, 235, 0.86);
  }
}

@media (max-width: 640px) {
  .insights-tools-section {
    padding-top: 1.25rem;
  }

  .insights-tools-grid {
    border-radius: 1.5rem;
  }
}


/* TechiLogic 2026 - Insights v2.1 refinement
   Purpose: preserve the centered article layout, move date navigation outside the article rail,
   and make the search/topic tools feel integrated instead of separate floating boxes. */
.insights-hero {
  padding-bottom: clamp(4.8rem, 7vw, 6.75rem) !important;
}

.insights-hero::after {
  height: 160px !important;
  background: linear-gradient(to bottom, rgba(13, 10, 18, 0) 0%, rgba(251, 248, 255, 0.72) 58%, #fbf8ff 100%) !important;
}

.insights-tools-section {
  margin-top: 0 !important;
  padding: clamp(2.25rem, 4vw, 3.4rem) 0 clamp(2.1rem, 4vw, 3rem) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(148, 94, 204, 0.10), transparent 32%),
    linear-gradient(to bottom, #fbf8ff 0%, #fff 58%, #fbf8ff 100%) !important;
}

.insights-tools-grid {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
  max-width: 980px !important;
  padding: 1rem !important;
  border: 1px solid rgba(217, 196, 235, 0.9) !important;
  border-radius: 2rem !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 24px 70px rgba(36, 26, 47, 0.08) !important;
  backdrop-filter: blur(14px) !important;
}

.insights-tools-grid::before {
  content: "" !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: inherit !important;
  background: linear-gradient(135deg, rgba(148, 94, 204, 0.12), transparent 36%, rgba(201, 168, 255, 0.18)) !important;
  opacity: 0.9 !important;
  pointer-events: none !important;
}

.insights-search-card,
.insights-topic-card {
  position: relative !important;
  z-index: 1 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.insights-search-card {
  grid-template-columns: minmax(170px, 0.85fr) minmax(180px, 1fr) auto !important;
  padding: 1.25rem 1.35rem !important;
  border-right: 1px solid rgba(217, 196, 235, 0.86) !important;
}

.insights-topic-card {
  padding: 1.25rem 1.35rem !important;
}

.insights-search-card input[type="search"] {
  background: rgba(247, 244, 250, 0.92) !important;
}

.insights-archive-section {
  position: relative !important;
  overflow: visible !important;
  padding: clamp(3.75rem, 6vw, 5rem) 0 5rem !important;
  background:
    radial-gradient(circle at 7% 12%, rgba(148, 94, 204, 0.09), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(201, 168, 255, 0.10), transparent 30%),
    linear-gradient(to bottom, #fbf8ff 0%, #fff 38%, #fbf8ff 100%) !important;
}

.insights-main-shell {
  display: block !important;
  max-width: 980px !important;
  width: min(980px, calc(100vw - 2rem)) !important;
  margin-inline: auto !important;
  position: static !important;
}

.insights-posts-column {
  width: 100% !important;
  max-width: 980px !important;
  min-width: 0 !important;
}

.insights-featured-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) !important;
}

.insights-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  margin-top: 1.25rem !important;
}

.insights-date-sidebar {
  position: absolute !important;
  top: clamp(3.75rem, 6vw, 5rem) !important;
  left: calc(50% + 515px) !important;
  width: 220px !important;
  z-index: 2 !important;
}

.date-sidebar-card {
  position: sticky !important;
  top: 96px !important;
  padding: 1.1rem !important;
}

.date-chip-list {
  display: grid !important;
  gap: 0.45rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.date-chip-list li {
  display: block !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.date-chip-list a {
  display: flex !important;
  width: 100% !important;
  min-height: 34px !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  padding: 0.55rem 0.7rem !important;
  white-space: nowrap !important;
}

.date-chip-count {
  color: var(--tl-muted) !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
}

.date-chip-list a:hover .date-chip-count {
  color: var(--tl-purple-dark) !important;
}

@media (max-width: 1480px) {
  .insights-date-sidebar {
    left: calc(50% + 505px) !important;
    width: 205px !important;
  }
}

@media (max-width: 1360px) {
  .insights-main-shell {
    display: block !important;
    max-width: 980px !important;
  }

  .insights-date-sidebar {
    position: static !important;
    width: min(980px, calc(100vw - 2rem)) !important;
    margin: 0 auto 1.4rem !important;
  }

  .date-sidebar-card {
    position: static !important;
  }

  .date-chip-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.55rem !important;
  }

  .date-chip-list a {
    width: auto !important;
  }
}

@media (max-width: 980px) {
  .insights-tools-grid,
  .insights-featured-card {
    grid-template-columns: 1fr !important;
  }

  .insights-search-card {
    grid-template-columns: 1fr !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(217, 196, 235, 0.86) !important;
  }

  .insights-featured-card .insights-card-media {
    aspect-ratio: 16 / 9 !important;
  }

  .insights-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .insights-tools-section {
    padding-top: 1.25rem !important;
  }

  .insights-tools-grid {
    border-radius: 1.5rem !important;
  }

  .insights-card-grid {
    grid-template-columns: 1fr !important;
  }
}


/* TechiLogic 2026 - Insights v2.2 refinement
   Restores the wider centered insights content rail while keeping the date archive
   in an outside right-side margin column on wide screens. */
.insights-tools-grid {
  width: min(1180px, calc(100vw - 2rem)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
}

.insights-main-shell {
  display: block !important;
  width: min(1180px, calc(100vw - 2rem)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  position: static !important;
}

.insights-posts-column {
  width: 100% !important;
  max-width: 1180px !important;
  min-width: 0 !important;
}

.insights-featured-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr) !important;
}

.insights-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  margin-top: 1.25rem !important;
}

.insights-date-sidebar {
  position: absolute !important;
  top: clamp(3.75rem, 6vw, 5rem) !important;
  left: calc(50% + 615px) !important;
  width: 220px !important;
  z-index: 2 !important;
}

.date-sidebar-card {
  position: sticky !important;
  top: 96px !important;
}

.date-chip-list a {
  display: flex !important;
  width: 100% !important;
  min-height: 34px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  padding: 0.55rem 0.72rem !important;
  white-space: nowrap !important;
}

.date-chip-list a span {
  display: inline !important;
  white-space: nowrap !important;
}

@media (max-width: 1680px) {
  .insights-date-sidebar {
    left: calc(50% + 605px) !important;
    width: 205px !important;
  }
}

@media (max-width: 1560px) {
  .insights-main-shell,
  .insights-tools-grid,
  .insights-posts-column {
    width: min(1080px, calc(100vw - 2rem)) !important;
    max-width: 1080px !important;
  }

  .insights-date-sidebar {
    left: calc(50% + 555px) !important;
    width: 200px !important;
  }
}

@media (max-width: 1380px) {
  .insights-main-shell,
  .insights-tools-grid,
  .insights-posts-column {
    width: min(980px, calc(100vw - 2rem)) !important;
    max-width: 980px !important;
  }

  .insights-date-sidebar {
    position: static !important;
    width: min(980px, calc(100vw - 2rem)) !important;
    margin: 0 auto 1.4rem !important;
  }

  .date-sidebar-card {
    position: static !important;
  }

  .date-chip-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.55rem !important;
  }

  .date-chip-list a {
    width: auto !important;
  }
}

@media (max-width: 980px) {
  .insights-tools-grid,
  .insights-featured-card {
    grid-template-columns: 1fr !important;
  }

  .insights-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .insights-card-grid {
    grid-template-columns: 1fr !important;
  }
}


/* TechiLogic 2026 - Insights v2.3 background cleanup
   Purpose: remove the heavy white wash between the dark Insights hero and the light content area,
   keeping the layout intact while making the background transition cleaner and more consistent. */
.insights-hero {
  background: linear-gradient(135deg, #0d0a12 0%, #171020 52%, #241a2f 100%) !important;
  padding-bottom: clamp(5.25rem, 8vw, 7.25rem) !important;
}

.insights-hero::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(148, 94, 204, 0.22), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(201, 168, 255, 0.10), transparent 30%) !important;
  opacity: 1 !important;
}

.insights-hero::after {
  height: 96px !important;
  background: linear-gradient(
    to bottom,
    rgba(13, 10, 18, 0) 0%,
    rgba(36, 26, 47, 0.30) 36%,
    rgba(246, 240, 252, 0.92) 100%
  ) !important;
}

.insights-tools-section {
  margin-top: 0 !important;
  padding: clamp(3.75rem, 5vw, 4.75rem) 0 clamp(3rem, 4.5vw, 4rem) !important;
  background: linear-gradient(
    to bottom,
    #f6f0fc 0%,
    #fbf8ff 54%,
    #f7f1fc 100%
  ) !important;
}

.insights-tools-grid {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.76) 100%) !important;
  box-shadow: 0 22px 65px rgba(36, 26, 47, 0.075) !important;
}

.insights-tools-grid::before {
  background: linear-gradient(135deg, rgba(148, 94, 204, 0.10), rgba(255,255,255,0) 42%, rgba(201, 168, 255, 0.12)) !important;
  opacity: 0.65 !important;
}

.insights-archive-section {
  padding-top: clamp(4rem, 6vw, 5.25rem) !important;
  background:
    radial-gradient(circle at 12% 14%, rgba(148, 94, 204, 0.055), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(201, 168, 255, 0.065), transparent 30%),
    linear-gradient(to bottom, #f7f1fc 0%, #fbf8ff 42%, #fff 76%, #fbf8ff 100%) !important;
}

@media (max-width: 768px) {
  .insights-hero::after {
    height: 72px !important;
  }

  .insights-tools-section {
    padding-top: 2.75rem !important;
  }
}


/* TechiLogic 2026 - Insights v2.4 background consistency cleanup
   Purpose: make the Insights page transition match the cleaner homepage/contact page style.
   The dark hero now ends cleanly, and the resource/tools + article area sit on one smooth light surface. */
.insights-hero {
  background: #0d0a12 !important;
  padding-bottom: clamp(4.75rem, 7vw, 6.5rem) !important;
}

.insights-hero::before {
  background:
    radial-gradient(circle at 18% 10%, rgba(148, 94, 204, 0.28), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(201, 168, 255, 0.10), transparent 28%),
    linear-gradient(135deg, #0d0a12 0%, #171020 52%, #241a2f 100%) !important;
  opacity: 1 !important;
}

/* Remove the smoky white/lavender wash below the hero. */
.insights-hero::after {
  display: none !important;
  content: none !important;
}

/* Keep the tools panel integrated, but do not let it overlap or create a washed band. */
.insights-tools-section {
  margin-top: 0 !important;
  padding: clamp(3.75rem, 5vw, 4.75rem) 0 clamp(3.25rem, 4vw, 4rem) !important;
  background: #f7f4fa !important;
}

.insights-tools-grid {
  background: rgba(255, 255, 255, 0.84) !important;
  border-color: rgba(217, 196, 235, 0.9) !important;
  box-shadow: 0 22px 65px rgba(36, 26, 47, 0.07) !important;
}

.insights-tools-grid::before {
  background: linear-gradient(135deg, rgba(148, 94, 204, 0.08), rgba(255,255,255,0) 48%, rgba(201, 168, 255, 0.08)) !important;
  opacity: 1 !important;
}

/* Make the article area feel like the same page surface instead of another fade layer. */
.insights-archive-section {
  padding-top: clamp(3.75rem, 5vw, 5rem) !important;
  background:
    radial-gradient(circle at 10% 18%, rgba(148, 94, 204, 0.045), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(201, 168, 255, 0.05), transparent 32%),
    linear-gradient(to bottom, #f7f4fa 0%, #fbf8ff 42%, #fbf8ff 100%) !important;
}

@media (max-width: 768px) {
  .insights-hero {
    padding-bottom: 4rem !important;
  }

  .insights-tools-section {
    padding-top: 2.5rem !important;
  }
}

/* TechiLogic 2026 - Insights v2.5 spacing refinement
   Purpose: tighten the vertical gap between the resource filter panel and the article grid
   while keeping the current layout and background treatment intact. */
.insights-tools-section {
  padding-bottom: clamp(1.35rem, 2.25vw, 1.85rem) !important;
}

.insights-archive-section {
  padding-top: clamp(1.65rem, 3vw, 2.35rem) !important;
}

@media (max-width: 768px) {
  .insights-tools-section {
    padding-bottom: 1.25rem !important;
  }

  .insights-archive-section {
    padding-top: 1.5rem !important;
  }
}

/* TechiLogic 2026 - Single post polish v2.6
   Purpose: make individual blog posts feel like a finished resource page instead of a plain article template. */
.single-post .single-post-hero {
  padding: clamp(4.75rem, 7vw, 6.75rem) 0 clamp(3.75rem, 6vw, 5.25rem);
  background: #0d0a12;
}

.single-post .single-post-hero::before {
  background:
    radial-gradient(circle at 18% 10%, rgba(148, 94, 204, 0.28), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(201, 168, 255, 0.10), transparent 28%),
    linear-gradient(135deg, #0d0a12 0%, #171020 52%, #241a2f 100%) !important;
}

.single-post .single-post-hero::after {
  display: none;
}

.single-post-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
}

.single-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2rem;
  color: #c9a8ff;
  font-weight: 800;
  font-size: 0.9rem;
}

.single-back-link .icon {
  transform: rotate(180deg);
}

.single-back-link:hover {
  color: #fff;
}

.single-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.single-hero-meta span,
.single-hero-meta a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201, 168, 255, 0.22);
  border-radius: 999px;
  background: rgba(148, 94, 204, 0.14);
  color: #eadfff;
  padding: 0.42rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.single-hero-meta a:hover {
  color: #fff;
  background: rgba(148, 94, 204, 0.28);
}

.single-post-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.65rem);
  line-height: 0.97;
  letter-spacing: -0.06em;
  color: #fff;
}

.single-post-excerpt {
  max-width: 780px;
  margin: 1.5rem 0 0;
  color: #d7cfdf;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

.single-post-section {
  background:
    radial-gradient(circle at 10% 8%, rgba(148, 94, 204, 0.04), transparent 30%),
    radial-gradient(circle at 90% 6%, rgba(201, 168, 255, 0.045), transparent 32%),
    linear-gradient(to bottom, #f7f4fa 0%, #fbf8ff 36%, #fff 100%);
  padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(4.5rem, 7vw, 6rem);
}

.single-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) minmax(260px, 320px);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.single-post-main {
  min-width: 0;
}

.single-featured-image {
  margin: 0 0 1.5rem;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(217, 196, 235, 0.92);
  box-shadow: 0 24px 70px rgba(36, 26, 47, 0.10);
}

.single-featured-image img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.single-article-card {
  border: 1px solid rgba(217, 196, 235, 0.92);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 65px rgba(36, 26, 47, 0.07);
  padding: clamp(2rem, 4vw, 3.4rem);
}

.single-entry-content {
  max-width: 760px;
  margin: 0 auto;
  color: #342641;
  font-size: clamp(1.02rem, 1.15vw, 1.13rem);
  line-height: 1.82;
}

.single-entry-content > *:first-child {
  margin-top: 0;
}

.single-entry-content p {
  margin: 0 0 1.35rem;
}

.single-entry-content h2,
.single-entry-content h3,
.single-entry-content h4 {
  color: #241a2f;
  letter-spacing: -0.045em;
}

.single-entry-content h2 {
  margin: 2.65rem 0 1rem;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  line-height: 1.04;
}

.single-entry-content h3 {
  margin: 2.2rem 0 0.85rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.12;
}

.single-entry-content ul,
.single-entry-content ol {
  margin: 1rem 0 1.5rem 1.25rem;
  padding-left: 1rem;
}

.single-entry-content li {
  margin-bottom: 0.55rem;
}

.single-entry-content a {
  color: #7c3fbd;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.single-entry-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid #945ecc;
  border-radius: 0 20px 20px 0;
  background: #f7f4fa;
  color: #342641;
  font-size: 1.1rem;
  line-height: 1.75;
}

.single-entry-content img {
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(36, 26, 47, 0.08);
}

.single-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #e4ddea;
}

.single-tag-list a,
.single-topic-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9c4eb;
  border-radius: 999px;
  background: #f7f4fa;
  color: #342641;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 850;
}

.single-tag-list a:hover,
.single-topic-pill:hover {
  color: #fff;
  background: #945ecc;
  border-color: #945ecc;
}

.single-post-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.single-sidebar-card {
  border: 1px solid rgba(217, 196, 235, 0.92);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(36, 26, 47, 0.07);
  padding: 1.45rem;
}

.single-help-card {
  background:
    radial-gradient(circle at 16% 10%, rgba(148, 94, 204, 0.17), transparent 36%),
    linear-gradient(135deg, #241a2f 0%, #171020 100%);
  color: #fff;
  border-color: rgba(201, 168, 255, 0.18);
}

.sidebar-kicker {
  margin: 0 0 0.6rem;
  color: #c9a8ff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 900;
}

.single-sidebar-card h2 {
  margin: 0 0 0.8rem;
  color: inherit;
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.single-sidebar-card p:not(.sidebar-kicker) {
  margin: 0 0 1.1rem;
  color: #d7cfdf;
  line-height: 1.7;
}

.single-support-card p:not(.sidebar-kicker),
.single-topic-card p:not(.sidebar-kicker) {
  color: #62576d;
}

.single-help-card .button {
  width: 100%;
  margin-top: 0.3rem;
  text-align: center;
}

.single-post-after {
  margin-top: 2rem;
}

.single-post-nav .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.single-post-nav .nav-previous a,
.single-post-nav .nav-next a {
  display: block;
  height: 100%;
  border: 1px solid #e4ddea;
  border-radius: 24px;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 14px 38px rgba(36, 26, 47, 0.055);
}

.single-post-nav .nav-next {
  text-align: right;
}

.single-post-nav span {
  display: block;
  color: #7c3fbd;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.single-post-nav strong {
  display: block;
  margin-top: 0.35rem;
  color: #241a2f;
  font-size: 1.05rem;
  line-height: 1.3;
}

.related-insights {
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.related-heading {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.related-heading h2 {
  margin: 0;
  color: #241a2f;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.related-grid .insights-card {
  height: 100%;
}

@media (max-width: 1120px) {
  .single-post-layout {
    grid-template-columns: 1fr;
  }

  .single-post-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .single-post-hero h1 {
    font-size: clamp(2.65rem, 12vw, 4.25rem);
  }

  .single-post-sidebar,
  .related-grid,
  .single-post-nav .nav-links {
    grid-template-columns: 1fr;
  }

  .single-post-nav .nav-next {
    text-align: left;
  }

  .single-article-card {
    border-radius: 24px;
  }
}


/* Client Resources page */
body.page:not(.home) .techilogic-client-resources-intro,
body.page:not(.home) .techilogic-client-resources-grid,
body.page:not(.home) .techilogic-client-resources-dark,
body.page:not(.home) .techilogic-client-resources-note {
  width: min(100vw - 32px, 1180px);
  max-width: none;
  margin-left: 50%;
  margin-right: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

body.page:not(.home) .techilogic-client-resources-intro {
  margin-top: 3.25rem;
  margin-bottom: 2.75rem;
  text-align: center;
}

body.page:not(.home) .techilogic-client-resources-intro p {
  max-width: 880px;
  margin: 0 auto;
  color: #62576d;
  line-height: 1.85;
  font-size: 1.03rem;
}

body.page:not(.home) .techilogic-client-resources-grid {
  margin-top: 2.75rem;
  margin-bottom: 3.25rem;
}

body.page:not(.home) .techilogic-client-resources-grid > h2,
body.page:not(.home) .techilogic-client-resources-dark > h2,
body.page:not(.home) .techilogic-client-resources-note > h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #241a2f;
  text-align: center;
}

body.page:not(.home) .techilogic-client-resources-grid > p,
body.page:not(.home) .techilogic-client-resources-dark > p,
body.page:not(.home) .techilogic-client-resources-note > p {
  max-width: 850px;
  margin: 0 auto 2.25rem;
  color: #62576d;
  line-height: 1.8;
  text-align: center;
}

body.page:not(.home) .techilogic-resource-card-row,
body.page:not(.home) .techilogic-resource-special-row {
  gap: 1.5rem;
  margin-bottom: 0;
  align-items: stretch;
}

body.page:not(.home) .techilogic-resource-card-row .wp-block-column,
body.page:not(.home) .techilogic-resource-special-row .wp-block-column {
  min-width: 0;
}

body.page:not(.home) .techilogic-resource-card,
body.page:not(.home) .techilogic-resource-special-card,
body.page:not(.home) .techilogic-client-resources-note {
  border: 1px solid #d9c4eb;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(36, 26, 47, 0.07);
}

body.page:not(.home) .techilogic-resource-card,
body.page:not(.home) .techilogic-resource-special-card {
  height: 100%;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

body.page:not(.home) .techilogic-resource-card h3,
body.page:not(.home) .techilogic-resource-special-card h3 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  color: #241a2f;
  line-height: 1.05;
}

body.page:not(.home) .techilogic-resource-card p,
body.page:not(.home) .techilogic-resource-special-card p {
  color: #62576d;
  line-height: 1.75;
  flex: 1;
}

body.page:not(.home) .techilogic-resource-card .wp-block-buttons,
body.page:not(.home) .techilogic-resource-special-card .wp-block-buttons {
  margin-top: 1.75rem;
}

body.page:not(.home) .techilogic-resource-card .wp-block-button,
body.page:not(.home) .techilogic-resource-special-card .wp-block-button {
  width: 100%;
}

body.page:not(.home) .techilogic-resource-button .wp-block-button__link {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 999px;
  background: #945ecc;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 10px 30px rgba(148, 94, 204, 0.25);
}

body.page:not(.home) .techilogic-resource-button.is-style-outline .wp-block-button__link {
  border: 1px solid #d9c4eb;
  background: #ffffff;
  color: #241a2f;
  box-shadow: none;
}

body.page:not(.home) .techilogic-resource-button .wp-block-button__link:hover {
  background: #a874e0;
  color: #ffffff;
}

body.page:not(.home) .techilogic-resource-button.is-style-outline .wp-block-button__link:hover {
  background: #f7f4fa;
  color: #241a2f;
}

body.page:not(.home) .techilogic-client-resources-dark {
  width: min(100vw - 32px, 1240px);
  margin-top: 3.75rem;
  margin-bottom: 3.75rem;
  padding: 4.5rem 3rem;
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 12%, rgba(148, 94, 204, 0.32), transparent 34%),
    linear-gradient(135deg, #241a2f 0%, #171020 100%);
  box-shadow: 0 24px 70px rgba(36, 26, 47, 0.18);
}

body.page:not(.home) .techilogic-client-resources-dark > h2,
body.page:not(.home) .techilogic-client-resources-dark > p,
body.page:not(.home) .techilogic-client-resources-dark h3 {
  color: #ffffff;
}

body.page:not(.home) .techilogic-client-resources-dark > p,
body.page:not(.home) .techilogic-resource-special-card p {
  color: #d7cfdf;
}

body.page:not(.home) .techilogic-resource-special-card {
  border-color: rgba(201, 168, 255, 0.18);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 50px rgba(13, 10, 18, 0.2);
}

body.page:not(.home) .techilogic-client-resources-note {
  margin-top: 3.25rem;
  margin-bottom: 4.75rem;
  padding: 2.75rem 3rem;
  background: #f7f4fa;
}

body.page:not(.home) .techilogic-client-resources-note > h2,
body.page:not(.home) .techilogic-client-resources-note > p {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1024px) {
  body.page:not(.home) .techilogic-client-resources-intro,
  body.page:not(.home) .techilogic-client-resources-grid,
  body.page:not(.home) .techilogic-client-resources-dark,
  body.page:not(.home) .techilogic-client-resources-note {
    width: min(100vw - 28px, 100%);
  }

  body.page:not(.home) .techilogic-client-resources-dark {
    padding: 3.25rem 1.5rem;
  }
}

@media (max-width: 768px) {
  body.page:not(.home) .techilogic-client-resources-intro,
  body.page:not(.home) .techilogic-client-resources-grid,
  body.page:not(.home) .techilogic-client-resources-dark,
  body.page:not(.home) .techilogic-client-resources-note {
    width: min(100vw - 20px, 100%);
  }

  body.page:not(.home) .techilogic-resource-card,
  body.page:not(.home) .techilogic-resource-special-card,
  body.page:not(.home) .techilogic-client-resources-note {
    padding: 1.5rem;
    border-radius: 22px;
  }

  body.page:not(.home) .techilogic-client-resources-dark {
    padding: 2.5rem 1rem;
    border-radius: 24px;
  }
}


/* Client Resources page - wide layout correction v2.9
   WordPress constrained block layouts can keep inner Columns blocks narrow.
   These overrides make the resource card rows use the intended full content rail. */
body.page:not(.home) .techilogic-client-resources-grid,
body.page:not(.home) .techilogic-client-resources-note {
  width: min(100vw - 32px, 1120px) !important;
}

body.page:not(.home) .techilogic-client-resources-dark {
  width: min(100vw - 32px, 1240px) !important;
}

body.page:not(.home) .techilogic-resource-card-row,
body.page:not(.home) .techilogic-resource-special-row {
  width: min(100%, 1040px) !important;
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
  align-items: stretch !important;
}

body.page:not(.home) .techilogic-client-resources-dark .techilogic-resource-special-row {
  width: min(100%, 1080px) !important;
  max-width: 1080px !important;
}

body.page:not(.home) .techilogic-resource-card-row > .wp-block-column,
body.page:not(.home) .techilogic-resource-special-row > .wp-block-column {
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;
  flex-grow: 0 !important;
  min-width: 0 !important;
}

body.page:not(.home) .techilogic-resource-card,
body.page:not(.home) .techilogic-resource-special-card {
  min-height: 355px;
  padding: 2.35rem !important;
}

body.page:not(.home) .techilogic-resource-card h3,
body.page:not(.home) .techilogic-resource-special-card h3 {
  font-size: clamp(1.75rem, 2.2vw, 2.35rem);
}

body.page:not(.home) .techilogic-resource-card p,
body.page:not(.home) .techilogic-resource-special-card p {
  font-size: 1.02rem;
}

body.page:not(.home) .techilogic-resource-button .wp-block-button__link {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (max-width: 900px) {
  body.page:not(.home) .techilogic-resource-card-row,
  body.page:not(.home) .techilogic-resource-special-row,
  body.page:not(.home) .techilogic-client-resources-dark .techilogic-resource-special-row {
    grid-template-columns: 1fr !important;
    width: min(100%, 620px) !important;
    max-width: 620px !important;
  }

  body.page:not(.home) .techilogic-resource-card,
  body.page:not(.home) .techilogic-resource-special-card {
    min-height: 0;
  }
}


/* Client Resources page - final polish v3.0
   Slightly widens intro copy and improves the bottom help box CTA area. */
body.page:not(.home) .techilogic-client-resources-intro p {
  max-width: 980px;
}

body.page:not(.home) .techilogic-client-resources-note {
  width: min(100vw - 32px, 1120px) !important;
  padding: 3rem 3.25rem !important;
}

body.page:not(.home) .techilogic-client-resources-note .wp-block-buttons {
  margin-top: 1.5rem;
}

body.page:not(.home) .techilogic-client-resources-note .techilogic-resource-button {
  width: auto;
}

body.page:not(.home) .techilogic-client-resources-note .techilogic-resource-button .wp-block-button__link {
  width: auto;
  min-width: 220px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 768px) {
  body.page:not(.home) .techilogic-client-resources-note {
    width: min(100vw - 20px, 100%) !important;
    padding: 2rem 1.5rem !important;
  }

  body.page:not(.home) .techilogic-client-resources-note .techilogic-resource-button,
  body.page:not(.home) .techilogic-client-resources-note .techilogic-resource-button .wp-block-button__link {
    width: 100%;
  }
}

/* Remote Assistance page - v3.1
   Branded layout for technician-directed remote support sessions. */
body.page:not(.home) .techilogic-remote-intro,
body.page:not(.home) .techilogic-remote-warning,
body.page:not(.home) .techilogic-remote-connect,
body.page:not(.home) .techilogic-remote-session,
body.page:not(.home) .techilogic-remote-help {
  width: min(100vw - 32px, 1120px);
  max-width: none;
  margin-left: 50%;
  margin-right: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

body.page:not(.home) .techilogic-remote-intro {
  margin-top: 3.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

body.page:not(.home) .techilogic-remote-intro p {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  color: #62576d;
  font-size: 1.05rem;
  line-height: 1.85;
}

body.page:not(.home) .techilogic-remote-warning {
  margin-top: 2.25rem;
  margin-bottom: 3rem;
  padding: 2.25rem 2.5rem;
  border: 1px solid #d9c4eb;
  border-radius: 30px;
  background: #f5ecff;
  box-shadow: 0 18px 55px rgba(36, 26, 47, 0.07);
}

body.page:not(.home) .techilogic-remote-warning h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #241a2f;
  text-align: center;
}

body.page:not(.home) .techilogic-remote-warning p {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  color: #62576d;
  line-height: 1.8;
  text-align: center;
}

body.page:not(.home) .techilogic-remote-warning-list {
  width: min(100%, 880px);
  margin: 1.5rem auto 0;
  gap: 1rem;
}

body.page:not(.home) .techilogic-remote-warning-item {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid #e2d3f1;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 35px rgba(36, 26, 47, 0.06);
}

body.page:not(.home) .techilogic-remote-warning-item p {
  margin: 0;
  text-align: left;
}

body.page:not(.home) .techilogic-remote-connect {
  margin-top: 3rem;
  margin-bottom: 3.25rem;
  padding: 4rem 2.5rem;
  border-radius: 36px;
  background:
    radial-gradient(circle at 16% 14%, rgba(148, 94, 204, 0.28), transparent 34%),
    linear-gradient(135deg, #241a2f 0%, #171020 100%);
  color: #ffffff;
  box-shadow: 0 28px 80px rgba(36, 26, 47, 0.18);
}

body.page:not(.home) .techilogic-remote-connect > h2,
body.page:not(.home) .techilogic-remote-connect > p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.page:not(.home) .techilogic-remote-connect > h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

body.page:not(.home) .techilogic-remote-connect > p {
  color: #d7cfdf;
  line-height: 1.85;
}

body.page:not(.home) .techilogic-remote-tool-row {
  width: min(100%, 980px);
  margin: 2.5rem auto 0;
  gap: 1.25rem;
  align-items: stretch;
}

body.page:not(.home) .techilogic-remote-tool-card {
  height: 100%;
  padding: 2rem;
  border: 1px solid rgba(201, 168, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 50px rgba(13, 10, 18, 0.22);
  display: flex;
  flex-direction: column;
}

body.page:not(.home) .techilogic-remote-tool-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

body.page:not(.home) .techilogic-remote-tool-card p {
  color: #d7cfdf;
  line-height: 1.75;
  flex: 1;
}

body.page:not(.home) .techilogic-remote-downloads {
  margin-top: 1.5rem;
  gap: 0.65rem;
}

body.page:not(.home) .techilogic-remote-button .wp-block-button__link,
body.page:not(.home) .techilogic-remote-downloads .wp-block-button__link {
  border-radius: 999px;
  background: #945ecc;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(148, 94, 204, 0.32);
}

body.page:not(.home) .techilogic-remote-downloads .is-style-outline .wp-block-button__link,
body.page:not(.home) .techilogic-remote-button.is-style-outline .wp-block-button__link {
  border-color: rgba(201, 168, 255, 0.4);
  background: transparent;
  color: #ffffff;
}

body.page:not(.home) .techilogic-remote-button .wp-block-button__link:hover,
body.page:not(.home) .techilogic-remote-downloads .wp-block-button__link:hover {
  background: #a874e0;
  color: #ffffff;
}

body.page:not(.home) .techilogic-remote-session {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 3rem 3.25rem;
  border: 1px solid #d9c4eb;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 20px 65px rgba(36, 26, 47, 0.08);
}

body.page:not(.home) .techilogic-remote-session-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 2rem;
  align-items: center;
}

body.page:not(.home) .techilogic-remote-session h2,
body.page:not(.home) .techilogic-remote-session h3 {
  color: #241a2f;
}

body.page:not(.home) .techilogic-remote-session p,
body.page:not(.home) .techilogic-remote-session li {
  color: #62576d;
  line-height: 1.75;
}

body.page:not(.home) .techilogic-remote-session ol {
  padding-left: 1.25rem;
}

body.page:not(.home) .techilogic-remote-session-panel {
  padding: 2rem;
  border-radius: 28px;
  background: #f7f4fa;
  border: 1px solid #e2d3f1;
}

body.page:not(.home) .techilogic-remote-session-panel .wp-block-buttons {
  margin-top: 1.25rem;
}

body.page:not(.home) .techilogic-remote-help {
  margin-top: 3rem;
  margin-bottom: 5rem;
  padding: 3rem 3.25rem;
  border: 1px solid #d9c4eb;
  border-radius: 34px;
  background: #f7f4fa;
  box-shadow: 0 18px 55px rgba(36, 26, 47, 0.06);
  text-align: center;
}

body.page:not(.home) .techilogic-remote-help h2 {
  margin-top: 0;
  color: #241a2f;
}

body.page:not(.home) .techilogic-remote-help p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: #62576d;
  line-height: 1.8;
}

body.page:not(.home) .techilogic-remote-help .wp-block-buttons {
  justify-content: center;
  margin-top: 1.5rem;
}

body.page:not(.home) .techilogic-remote-light-button .wp-block-button__link {
  border-radius: 999px;
  background: #945ecc;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(148, 94, 204, 0.24);
}

body.page:not(.home) .techilogic-remote-light-button.is-style-outline .wp-block-button__link {
  border-color: #d9c4eb;
  background: #ffffff;
  color: #241a2f;
  box-shadow: none;
}

@media (max-width: 900px) {
  body.page:not(.home) .techilogic-remote-session-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.page:not(.home) .techilogic-remote-intro,
  body.page:not(.home) .techilogic-remote-warning,
  body.page:not(.home) .techilogic-remote-connect,
  body.page:not(.home) .techilogic-remote-session,
  body.page:not(.home) .techilogic-remote-help {
    width: min(100vw - 20px, 100%);
  }

  body.page:not(.home) .techilogic-remote-warning,
  body.page:not(.home) .techilogic-remote-connect,
  body.page:not(.home) .techilogic-remote-session,
  body.page:not(.home) .techilogic-remote-help {
    padding: 2.25rem 1.35rem;
    border-radius: 24px;
  }

  body.page:not(.home) .techilogic-remote-downloads .wp-block-button,
  body.page:not(.home) .techilogic-remote-downloads .wp-block-button__link,
  body.page:not(.home) .techilogic-remote-button,
  body.page:not(.home) .techilogic-remote-button .wp-block-button__link,
  body.page:not(.home) .techilogic-remote-light-button,
  body.page:not(.home) .techilogic-remote-light-button .wp-block-button__link {
    width: 100%;
    text-align: center;
  }
}

/* Remote Assistance - polished embedded download and session ID controls */
body.page:not(.home) .techilogic-remote-embed-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
}

body.page:not(.home) .techilogic-remote-embed-buttons iframe {
  display: block;
  max-width: 100%;
  filter: drop-shadow(0 10px 22px rgba(148, 94, 204, 0.18));
}

body.page:not(.home) .techilogic-remote-session-panel {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(148, 94, 204, 0.12), transparent 34%),
    #f7f4fa;
  border: 1px solid #e2d3f1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 14px 32px rgba(36, 26, 47, 0.06);
}

body.page:not(.home) .techilogic-remote-session-panel h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #241a2f;
}

body.page:not(.home) .techilogic-remote-session-panel p {
  margin-bottom: 1.25rem;
  color: #62576d;
}

body.page:not(.home) .techilogic-remote-session-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: stretch;
  width: 100%;
  margin-top: 0.5rem;
}

body.page:not(.home) .techilogic-remote-session-input {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid #cfb4e6;
  border-radius: 14px;
  background: #ffffff;
  color: #241a2f;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
  box-shadow: 0 8px 20px rgba(36, 26, 47, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.page:not(.home) .techilogic-remote-session-input::placeholder {
  color: #8a7b98;
  font-weight: 500;
}

body.page:not(.home) .techilogic-remote-session-input:focus {
  outline: none;
  border-color: #945ecc;
  box-shadow:
    0 0 0 4px rgba(148, 94, 204, 0.14),
    0 10px 24px rgba(36, 26, 47, 0.08);
  transform: translateY(-1px);
}

body.page:not(.home) .techilogic-remote-session-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #b16cff 0%, #945ecc 100%);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: 0 12px 28px rgba(148, 94, 204, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.page:not(.home) .techilogic-remote-session-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(148, 94, 204, 0.34);
  filter: brightness(1.04);
}

body.page:not(.home) .techilogic-remote-session-button:focus {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(148, 94, 204, 0.14),
    0 16px 34px rgba(148, 94, 204, 0.34);
}

@media (max-width: 768px) {
  body.page:not(.home) .techilogic-remote-session-panel,
  body.page:not(.home) .techilogic-remote-tool-card,
  body.page:not(.home) .techilogic-remote-warning-item {
    padding: 1.5rem;
    border-radius: 22px;
  }

  body.page:not(.home) .techilogic-remote-embed-buttons {
    gap: 0.65rem;
  }
}

/* =========================================================
   TechiLogic 2026 - Privacy / Legal Page + Footer Mobile Polish
   ========================================================= */

body.page:not(.home) .techilogic-legal-intro,
body.page:not(.home) .techilogic-legal-content,
body.page:not(.home) .techilogic-legal-note {
  width: min(100vw - 32px, 980px);
  max-width: none;
  margin-left: 50%;
  margin-right: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

body.page:not(.home) .techilogic-legal-intro {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

body.page:not(.home) .techilogic-legal-intro p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: #62576d;
  line-height: 1.85;
  text-align: center;
}

body.page:not(.home) .techilogic-legal-content {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  border: 1px solid #e4ddea;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(36, 26, 47, 0.055);
}

body.page:not(.home) .techilogic-legal-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  color: #241a2f;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

body.page:not(.home) .techilogic-legal-content h2:first-child {
  margin-top: 0;
}

body.page:not(.home) .techilogic-legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  color: #241a2f;
  font-size: 1.15rem;
  line-height: 1.25;
}

body.page:not(.home) .techilogic-legal-content p,
body.page:not(.home) .techilogic-legal-content li {
  color: #62576d;
  line-height: 1.8;
}

body.page:not(.home) .techilogic-legal-content ul {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  padding-left: 1.3rem;
}

body.page:not(.home) .techilogic-legal-content a {
  color: #7c3fbd;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.page:not(.home) .techilogic-legal-note {
  margin-top: 2rem;
  margin-bottom: 4.5rem;
  padding: 2rem;
  border: 1px solid #e1d3ef;
  border-radius: 28px;
  background: #f3edf8;
  box-shadow: 0 16px 42px rgba(36, 26, 47, 0.05);
}

body.page:not(.home) .techilogic-legal-note p {
  margin: 0;
  color: #62576d;
  line-height: 1.75;
}

body.page:not(.home) .techilogic-legal-note strong {
  color: #241a2f;
}

/* Footer menu should wrap cleanly on narrow/mobile screens */
.footer-nav .menu {
  flex-wrap: wrap;
  row-gap: 0.75rem;
}

.footer-nav a {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .site-footer {
    padding-block: 2.25rem;
  }

  .footer-inner {
    gap: 1.5rem;
  }

  .footer-nav {
    width: 100%;
  }

  .footer-nav .menu {
    width: 100%;
    justify-content: flex-start;
    gap: 0.75rem 1rem;
  }

  .footer-nav a {
    display: inline-flex;
    padding: 0.35rem 0.45rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .site-footer p {
    max-width: 100%;
  }

  .footer-nav .menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.9rem;
  }

  .footer-nav a {
    white-space: normal;
    line-height: 1.25;
  }
}


/* =========================================================
   TechiLogic - Branded 404 Page
   ========================================================= */
.error-hero .body-large {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #d7cfdf;
}

.tl-error-page {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8ff 100%);
  padding: 4rem 1rem 5rem;
}

.tl-error-panel {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: 1.25rem;
  border: 1px solid #e2d3f0;
  border-radius: 34px;
  background: #f7f1fc;
  box-shadow: 0 24px 70px rgba(36, 26, 47, 0.08);
}

.tl-error-content {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 12%, rgba(148, 94, 204, 0.24), transparent 32%),
    linear-gradient(135deg, #241a2f 0%, #171020 100%);
  color: #ffffff;
}

.tl-error-code {
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 44px;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(148, 94, 204, 0.2);
  border: 1px solid rgba(201, 168, 255, 0.22);
  color: #e9ddff;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.tl-error-content h2 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.tl-error-content p:not(.tl-error-code) {
  color: #d7cfdf;
  line-height: 1.75;
  max-width: 620px;
}

.tl-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.tl-error-actions .outline-light {
  color: #ffffff;
  border-color: rgba(201, 168, 255, 0.34);
  background: rgba(255, 255, 255, 0.055);
}

.tl-error-actions .outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.tl-error-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tl-error-link-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  gap: 0.25rem 1rem;
  align-items: start;
  padding: 1.5rem;
  border: 1px solid #e2d3f0;
  border-radius: 26px;
  background: #ffffff;
  color: #241a2f;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(36, 26, 47, 0.055);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tl-error-link-card:hover {
  transform: translateY(-2px);
  border-color: #cfb4e6;
  box-shadow: 0 20px 48px rgba(36, 26, 47, 0.09);
}

.tl-error-link-card span {
  grid-area: icon;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #241a2f;
  color: #c9a8ff;
}

.tl-error-link-card svg {
  width: 22px;
  height: 22px;
}

.tl-error-link-card strong {
  grid-area: title;
  color: #241a2f;
  font-size: 1.15rem;
  line-height: 1.2;
}

.tl-error-link-card em {
  grid-area: text;
  color: #62576d;
  font-style: normal;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .tl-error-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tl-error-page {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .tl-error-panel {
    border-radius: 26px;
    padding: 0.8rem;
  }

  .tl-error-content,
  .tl-error-link-card {
    border-radius: 22px;
  }

  .tl-error-actions {
    flex-direction: column;
  }

  .tl-error-actions .button {
    width: 100%;
  }
}

/* TechiLogic 2026 v3.8 - Archive/Search polish */
.insights-empty-state {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.25rem);
}

.insights-empty-state .section-eyebrow {
  margin-bottom: 0.85rem;
}

.insights-empty-state p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--tl-muted);
  line-height: 1.75;
}

.insights-empty-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  max-width: 560px;
  margin: 1.75rem auto 1.25rem;
}

.insights-empty-search input[type="search"] {
  min-height: 3.1rem;
  width: 100%;
  border: 1px solid #dfd1ec;
  border-radius: 999px;
  background: #f7f4fa;
  color: var(--tl-ink);
  padding: 0 1.15rem;
  font: inherit;
  box-sizing: border-box;
}

.insights-empty-search input[type="search"]:focus {
  outline: none;
  border-color: var(--tl-purple);
  box-shadow: 0 0 0 4px rgba(148, 94, 204, 0.14);
}

.insights-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .insights-empty-search {
    grid-template-columns: 1fr;
  }

  .insights-empty-actions .button,
  .insights-empty-search .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* TechiLogic 2026 v3.9 - Short Insights/archive page sidebar fix
   Prevents the absolute Browse by Date sidebar from overlapping the footer on
   short search, category, tag, or date result pages. */
@media (min-width: 1381px) {
  .insights-archive-section {
    position: relative;
    min-height: 760px;
  }

  body.search-no-results .insights-archive-section,
  body.archive .insights-archive-section {
    min-height: 760px;
  }
}

.insights-empty-actions .button.secondary {
  color: var(--tl-ink);
  background: #ffffff;
  border-color: #dfd1ec;
  box-shadow: 0 10px 26px rgba(36, 26, 47, 0.05);
}

.insights-empty-actions .button.secondary:hover {
  color: var(--tl-ink);
  background: #f7f4fa;
  border-color: #cfb4e6;
}


/* TechiLogic 2026 v4.0 - Empty search/date archive refinement
   On no-results searches, the date archive becomes part of the normal page flow
   instead of remaining in the far-right rail. This prevents the short page from
   letting the date card visually collide with the footer. */
body.search-no-results .insights-archive-section {
  min-height: 0 !important;
  padding-bottom: clamp(4rem, 7vw, 6rem) !important;
}

body.search-no-results .insights-main-shell {
  display: grid !important;
  grid-template-columns: 1fr !important;
  max-width: 980px !important;
  gap: 1.5rem !important;
}

body.search-no-results .insights-posts-column {
  width: 100% !important;
  max-width: 900px !important;
  margin-inline: auto !important;
}

body.search-no-results .insights-date-sidebar {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: min(900px, calc(100vw - 2rem)) !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  z-index: auto !important;
}

body.search-no-results .date-sidebar-card {
  position: static !important;
  top: auto !important;
  padding: 1.25rem !important;
  border-radius: 1.6rem !important;
}

body.search-no-results .date-sidebar-heading {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin-bottom: 0.9rem !important;
}

body.search-no-results .date-chip-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.search-no-results .date-chip-list li {
  display: inline-flex !important;
  margin: 0 !important;
}

body.search-no-results .date-chip-list a {
  width: auto !important;
  min-height: 34px !important;
  white-space: nowrap !important;
}

@media (max-width: 640px) {
  body.search-no-results .date-sidebar-heading {
    display: grid !important;
    justify-content: start !important;
  }
}


/* =========================================================
   TechiLogic 2026 - Access Needed + Legal Page polish v4.1
   ========================================================= */

/* Access Needed is an application/portal error page, so it should be compact,
   centered, and action-focused rather than reading like a normal long page. */
body.page:not(.home) .techilogic-access-needed-page {
  width: min(100vw - 32px, 1120px) !important;
  max-width: none !important;
  margin: 2.75rem 50% 4.75rem !important;
  transform: translateX(-50%) !important;
  box-sizing: border-box;
}

body.page:not(.home) .techilogic-access-needed-card {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2rem, 3.5vw, 3.35rem) !important;
  border: 1px solid rgba(228, 221, 234, 0.95);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 0%, rgba(148, 94, 204, 0.14), transparent 36%),
    radial-gradient(circle at 96% 20%, rgba(201, 168, 255, 0.14), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #fbf8ff 100%);
  box-shadow: 0 28px 86px rgba(36, 26, 47, 0.105);
}

body.page:not(.home) .techilogic-access-kicker {
  margin: 0 0 0.85rem !important;
  color: var(--tl-purple-dark) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.page:not(.home) .techilogic-access-needed-card > h2,
body.page:not(.home) .techilogic-access-needed-card > .wp-block-heading {
  max-width: 780px;
  margin: 0 !important;
  color: var(--tl-ink) !important;
  font-size: clamp(2.15rem, 4vw, 3.65rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em;
}

body.page:not(.home) .techilogic-access-needed-card > p {
  max-width: 820px;
  margin: 1.15rem 0 1.85rem !important;
  color: var(--tl-muted) !important;
  font-size: 1.02rem;
  line-height: 1.75;
}

body.page:not(.home) .techilogic-access-columns {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr) !important;
  gap: 1.25rem !important;
  align-items: stretch !important;
  margin: 1.55rem 0 0 !important;
}

body.page:not(.home) .techilogic-access-columns > .wp-block-column {
  min-width: 0 !important;
  flex-basis: auto !important;
}

body.page:not(.home) .techilogic-access-mini-card {
  height: 100%;
  min-height: 0;
  padding: clamp(1.35rem, 2.2vw, 2rem) !important;
  border: 1px solid var(--tl-border);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(36, 26, 47, 0.065);
}

body.page:not(.home) .techilogic-access-mini-card h3,
body.page:not(.home) .techilogic-access-mini-card .wp-block-heading {
  margin-top: 0 !important;
  margin-bottom: 0.9rem !important;
  color: var(--tl-ink) !important;
  font-size: clamp(1.45rem, 2vw, 1.8rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em;
}

body.page:not(.home) .techilogic-access-mini-card p,
body.page:not(.home) .techilogic-access-mini-card li {
  color: var(--tl-muted) !important;
  line-height: 1.62;
}

body.page:not(.home) .techilogic-access-mini-card ul {
  margin: 0 0 1.35rem !important;
  padding-left: 1.15rem;
}

body.page:not(.home) .techilogic-access-mini-card li + li {
  margin-top: 0.5rem;
}

body.page:not(.home) .techilogic-access-mini-card a:not(.wp-block-button__link) {
  color: var(--tl-purple-dark) !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.page:not(.home) .techilogic-access-mini-card .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

body.page:not(.home) .techilogic-access-mini-card .wp-block-button {
  width: auto !important;
  margin: 0 !important;
}

body.page:not(.home) .techilogic-access-mini-card .techilogic-resource-button .wp-block-button__link {
  width: auto !important;
  min-width: 155px;
  min-height: 46px;
  padding: 0.85rem 1.15rem !important;
}

body.page:not(.home) .techilogic-access-support-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(148, 94, 204, 0.45), transparent 42%),
    linear-gradient(135deg, #2b1d39 0%, #171020 72%);
  border-color: rgba(201, 168, 255, 0.22);
  box-shadow: 0 22px 56px rgba(13, 10, 18, 0.22);
}

body.page:not(.home) .techilogic-access-support-card::after {
  content: "";
  position: absolute;
  inset: auto -28% -42% auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(201, 168, 255, 0.09);
  pointer-events: none;
}

body.page:not(.home) .techilogic-access-support-card > * {
  position: relative;
  z-index: 1;
}

body.page:not(.home) .techilogic-access-support-card h3,
body.page:not(.home) .techilogic-access-support-card .wp-block-heading,
body.page:not(.home) .techilogic-access-support-card strong {
  color: #ffffff !important;
}

body.page:not(.home) .techilogic-access-support-card p {
  color: #ded6e6 !important;
}

body.page:not(.home) .techilogic-access-support-card a:not(.wp-block-button__link) {
  color: #d7bbff !important;
}

body.page:not(.home) .techilogic-access-note {
  margin-top: 1.25rem !important;
  padding: 1rem 1.25rem !important;
  border: 1px solid #e4ddea;
  border-radius: 20px;
  background: rgba(247, 244, 250, 0.92);
}

body.page:not(.home) .techilogic-access-note p {
  margin: 0 !important;
  color: var(--tl-muted) !important;
  line-height: 1.6;
}

body.page:not(.home) .techilogic-access-note strong {
  color: var(--tl-ink) !important;
}

/* Legal pages: keep the legal language readable, but make the containers feel
   intentional and consistent with the newer theme cards. */
body.page:not(.home) .techilogic-legal-content {
  background:
    radial-gradient(circle at 8% 0%, rgba(148, 94, 204, 0.055), transparent 34%),
    #ffffff;
  box-shadow: 0 22px 62px rgba(36, 26, 47, 0.07);
}

body.page:not(.home) .techilogic-legal-note {
  background:
    radial-gradient(circle at 0% 0%, rgba(148, 94, 204, 0.10), transparent 34%),
    #f3edf8;
}

@media (max-width: 900px) {
  body.page:not(.home) .techilogic-access-needed-page {
    width: min(100vw - 24px, 100%) !important;
    margin-top: 2rem !important;
    margin-bottom: 3.25rem !important;
  }

  body.page:not(.home) .techilogic-access-columns {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  body.page:not(.home) .techilogic-access-needed-page {
    width: min(100vw - 18px, 100%) !important;
  }

  body.page:not(.home) .techilogic-access-needed-card {
    padding: 1.35rem !important;
    border-radius: 24px;
  }

  body.page:not(.home) .techilogic-access-needed-card > h2,
  body.page:not(.home) .techilogic-access-needed-card > .wp-block-heading {
    font-size: clamp(1.95rem, 11vw, 2.75rem) !important;
  }

  body.page:not(.home) .techilogic-access-mini-card {
    padding: 1.25rem !important;
    border-radius: 22px;
  }

  body.page:not(.home) .techilogic-access-mini-card .wp-block-buttons,
  body.page:not(.home) .techilogic-access-mini-card .wp-block-button,
  body.page:not(.home) .techilogic-access-mini-card .techilogic-resource-button .wp-block-button__link {
    width: 100% !important;
  }
}

/* =========================================================
   TechiLogic 2026 - Utility / Legal Page Refinements v4.3
   ========================================================= */

/* Footer now has a few more legal/resource links, so give it a controlled wrap. */
.site-footer .footer-nav .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.15rem;
}

.site-footer .footer-nav a {
  white-space: nowrap;
  line-height: 1.25;
}

@media (max-width: 860px) {
  .site-footer .footer-nav .menu {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-nav .menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1rem;
  }

  .site-footer .footer-nav a {
    white-space: normal;
  }
}

/* Access Needed should behave like a compact application access/error screen,
   not a normal long-form content page. */
body.tl-page-slug-access-needed .content-page-section {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.25rem, 6vw, 5rem);
}

body.tl-page-slug-access-needed .content-page-container,
body.tl-page-slug-access-needed .tl-utility-page-container {
  width: min(100vw - 32px, 1080px) !important;
  max-width: 1080px !important;
}

body.tl-page-slug-access-needed .entry-content {
  font-size: 1rem;
}

body.tl-page-slug-access-needed .techilogic-access-needed-page {
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
  transform: none !important;
}

body.tl-page-slug-access-needed .techilogic-access-needed-card {
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
  padding: clamp(2.1rem, 3.6vw, 3.4rem) !important;
  border: 1px solid rgba(225, 211, 239, 0.95) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(148, 94, 204, 0.16), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(201, 168, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #fbf8ff 100%) !important;
  box-shadow: 0 30px 90px rgba(36, 26, 47, 0.11) !important;
}

body.tl-page-slug-access-needed .techilogic-access-kicker {
  margin: 0 0 0.9rem !important;
  color: var(--tl-purple-dark) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.2em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body.tl-page-slug-access-needed .techilogic-access-needed-card > h2,
body.tl-page-slug-access-needed .techilogic-access-needed-card > .wp-block-heading {
  max-width: 760px !important;
  margin: 0 !important;
  color: var(--tl-ink) !important;
  font-size: clamp(2.3rem, 4.25vw, 4rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.06em !important;
}

body.tl-page-slug-access-needed .techilogic-access-needed-card > p {
  max-width: 850px !important;
  margin: 1.1rem 0 1.6rem !important;
  color: var(--tl-muted) !important;
  font-size: 1.02rem !important;
  line-height: 1.75 !important;
}

body.tl-page-slug-access-needed .techilogic-access-columns {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr) !important;
  gap: 1.25rem !important;
  align-items: stretch !important;
  margin: 1.35rem 0 0 !important;
}

body.tl-page-slug-access-needed .techilogic-access-columns > .wp-block-column {
  min-width: 0 !important;
  flex-basis: auto !important;
}

body.tl-page-slug-access-needed .techilogic-access-mini-card {
  height: 100% !important;
  min-height: 0 !important;
  padding: clamp(1.45rem, 2.4vw, 2.15rem) !important;
  border: 1px solid rgba(228, 221, 234, 0.95) !important;
  border-radius: 26px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 42px rgba(36, 26, 47, 0.065) !important;
}

body.tl-page-slug-access-needed .techilogic-access-mini-card h3,
body.tl-page-slug-access-needed .techilogic-access-mini-card .wp-block-heading {
  margin: 0 0 0.9rem !important;
  color: var(--tl-ink) !important;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
}

body.tl-page-slug-access-needed .techilogic-access-mini-card p,
body.tl-page-slug-access-needed .techilogic-access-mini-card li {
  color: var(--tl-muted) !important;
  line-height: 1.62 !important;
}

body.tl-page-slug-access-needed .techilogic-access-mini-card ul {
  margin: 0 0 1.3rem !important;
  padding-left: 1.15rem !important;
}

body.tl-page-slug-access-needed .techilogic-access-mini-card li + li {
  margin-top: 0.45rem !important;
}

body.tl-page-slug-access-needed .techilogic-access-mini-card .wp-block-buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  margin-top: 1.25rem !important;
}

body.tl-page-slug-access-needed .techilogic-access-mini-card .wp-block-button {
  margin: 0 !important;
}

body.tl-page-slug-access-needed .techilogic-access-mini-card .techilogic-resource-button .wp-block-button__link,
body.tl-page-slug-access-needed .techilogic-access-mini-card .wp-block-button__link {
  min-width: 150px !important;
  min-height: 44px !important;
  padding: 0.78rem 1.1rem !important;
  border-radius: 999px !important;
  font-size: 0.93rem !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

body.tl-page-slug-access-needed .techilogic-access-support-card {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(148, 94, 204, 0.48), transparent 42%),
    linear-gradient(135deg, #2b1d39 0%, #171020 72%) !important;
  border-color: rgba(201, 168, 255, 0.24) !important;
  box-shadow: 0 24px 60px rgba(13, 10, 18, 0.26) !important;
}

body.tl-page-slug-access-needed .techilogic-access-support-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -45% auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(201, 168, 255, 0.10);
  pointer-events: none;
}

body.tl-page-slug-access-needed .techilogic-access-support-card > * {
  position: relative;
  z-index: 1;
}

body.tl-page-slug-access-needed .techilogic-access-support-card h3,
body.tl-page-slug-access-needed .techilogic-access-support-card .wp-block-heading,
body.tl-page-slug-access-needed .techilogic-access-support-card strong {
  color: #ffffff !important;
}

body.tl-page-slug-access-needed .techilogic-access-support-card p,
body.tl-page-slug-access-needed .techilogic-access-support-card li {
  color: #ded6e6 !important;
}

body.tl-page-slug-access-needed .techilogic-access-support-card a:not(.wp-block-button__link) {
  color: #d7bbff !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

body.tl-page-slug-access-needed .techilogic-access-note {
  margin: 1.25rem 0 0 !important;
  padding: 1rem 1.25rem !important;
  border: 1px solid #e4ddea !important;
  border-radius: 20px !important;
  background: rgba(247, 244, 250, 0.95) !important;
}

body.tl-page-slug-access-needed .techilogic-access-note p {
  margin: 0 !important;
  color: var(--tl-muted) !important;
  line-height: 1.6 !important;
}

body.tl-page-slug-access-needed .techilogic-access-note strong {
  color: var(--tl-ink) !important;
}

/* Legal pages: keep them readable, premium, and consistent. */
body.tl-legal-layout-page .content-page-container,
body.tl-legal-layout-page .tl-legal-page-container {
  width: min(100vw - 32px, 980px) !important;
  max-width: 980px !important;
}

body.tl-legal-layout-page .techilogic-legal-intro,
body.tl-legal-layout-page .techilogic-legal-content,
body.tl-legal-layout-page .techilogic-legal-note {
  width: 100% !important;
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: none !important;
  box-sizing: border-box !important;
}

body.tl-legal-layout-page .techilogic-legal-content {
  border-radius: 32px !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(148, 94, 204, 0.06), transparent 34%),
    #ffffff !important;
  box-shadow: 0 24px 66px rgba(36, 26, 47, 0.075) !important;
}

body.tl-legal-layout-page .techilogic-legal-note {
  background:
    radial-gradient(circle at 0% 0%, rgba(148, 94, 204, 0.10), transparent 34%),
    #f3edf8 !important;
}

@media (max-width: 860px) {
  body.tl-page-slug-access-needed .techilogic-access-columns {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  body.tl-page-slug-access-needed .content-page-container,
  body.tl-page-slug-access-needed .tl-utility-page-container,
  body.tl-legal-layout-page .content-page-container,
  body.tl-legal-layout-page .tl-legal-page-container {
    width: min(100vw - 20px, 100%) !important;
  }

  body.tl-page-slug-access-needed .techilogic-access-needed-card,
  body.tl-legal-layout-page .techilogic-legal-content,
  body.tl-legal-layout-page .techilogic-legal-note {
    border-radius: 24px !important;
    padding: 1.35rem !important;
  }

  body.tl-page-slug-access-needed .techilogic-access-needed-card > h2,
  body.tl-page-slug-access-needed .techilogic-access-needed-card > .wp-block-heading {
    font-size: clamp(2rem, 11vw, 2.8rem) !important;
  }

  body.tl-page-slug-access-needed .techilogic-access-mini-card .wp-block-buttons,
  body.tl-page-slug-access-needed .techilogic-access-mini-card .wp-block-button,
  body.tl-page-slug-access-needed .techilogic-access-mini-card .wp-block-button__link {
    width: 100% !important;
  }
}

/* =========================================================
   TechiLogic 2026 - Footer + Access Note Refinements v4.4
   ========================================================= */

/* Split footer navigation into primary and legal rows so legal links do not
   awkwardly wrap underneath the main nav on desktop. */
.site-footer .footer-links {
  display: grid;
  gap: 0.7rem;
  justify-items: end;
  text-align: right;
}

.site-footer .footer-nav .menu,
.site-footer .footer-nav-primary .menu,
.site-footer .footer-nav-legal .menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-nav-primary .menu {
  gap: 0.85rem 1.35rem;
}

.site-footer .footer-nav-legal .menu {
  gap: 0.5rem 0.85rem;
}

.site-footer .footer-nav-legal {
  opacity: 0.78;
}

.site-footer .footer-nav-legal a {
  font-size: 0.84rem;
}

.site-footer .footer-nav-legal li + li::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 0.3rem 0.12rem 0;
  border-radius: 999px;
  background: rgba(201, 168, 255, 0.42);
}

/* Make the Access Needed security note feel intentionally attached to the
   whole access card instead of floating under only one column. */
body.tl-page-slug-access-needed .techilogic-access-note {
  width: 100% !important;
  max-width: none !important;
  margin: 1.25rem 0 0 !important;
  padding: 1rem 1.25rem !important;
  border-radius: 20px !important;
}

body.tl-page-slug-access-needed .techilogic-access-note p {
  max-width: 920px !important;
}

@media (max-width: 860px) {
  .site-footer .footer-inner {
    align-items: flex-start;
  }

  .site-footer .footer-links {
    width: 100%;
    justify-items: start;
    text-align: left;
  }

  .site-footer .footer-nav .menu,
  .site-footer .footer-nav-primary .menu,
  .site-footer .footer-nav-legal .menu {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-links {
    gap: 1rem;
  }

  .site-footer .footer-nav-primary .menu,
  .site-footer .footer-nav-legal .menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.65rem 1rem;
  }

  .site-footer .footer-nav-legal li + li::before {
    display: none;
  }

  .site-footer .footer-nav a {
    padding: 0.25rem 0;
    white-space: normal;
  }
}
