/* World IT Center — Terms & Conditions
   Matches homepage shell: --site-width: 90% */

:root {
  --navy: #003366;
  --navy-deep: #001f3d;
  --cyan: #00b4d8;
  --blue: #1d6eb8;
  --orange: #ea580c;
  --orange-hot: #f97316;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f1f5f9;
  --cream: #f8fafc;
  --white: #ffffff;
  --radius: 1.125rem;
  --radius-sm: 0.625rem;
  --radius-button: 10px;
  --radius-pill: var(--radius-button);
  --shadow: 0 12px 28px -18px rgba(0, 51, 102, 0.28);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Manrope", "DM Sans", system-ui, sans-serif;
}

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

.terms-conditions {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 420px at 8% -8%, rgba(0, 180, 216, 0.1), transparent 55%),
    radial-gradient(800px 360px at 100% 0%, rgba(234, 88, 12, 0.06), transparent 50%),
    var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Clear fixed header without extra inner gap. */
  padding-top: var(--mk-header-offset, 5.5rem) !important;
}

.terms-conditions .hero {
  padding-top: 0;
}

.terms-conditions {
  scroll-behavior: smooth;
}

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

.terms-conditions a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.terms-conditions a:hover {
  color: var(--navy);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.terms-container {
  width: var(--site-width);
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--site-gutter);
}













@media (min-width: 860px) {
  
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.15rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.8125rem;
}

.btn--orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hot) 100%);
  color: var(--white);
  box-shadow: 0 8px 18px -10px rgba(234, 88, 12, 0.55);
}

.btn--orange:hover {
  color: var(--white);
}

.hero {
  padding: 0 0 1.25rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--navy);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--cyan) 12%, white);
  border: 1px solid color-mix(in srgb, var(--cyan) 28%, white);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 20%, transparent);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--navy);
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--cyan), var(--blue) 55%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0.9rem 0 0;
  max-width: 46rem;
  color: color-mix(in srgb, var(--navy) 62%, #64748b);
  font-size: 1.02rem;
}

.hero__tools {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.65rem;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-field:focus-within {
  border-color: color-mix(in srgb, var(--cyan) 55%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 18%, transparent);
}

.search-field svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  fill: var(--muted);
}

.search-field input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  min-width: 0;
}

.hero__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.layout {
  display: grid;
  gap: 1.25rem;
  padding: 0.5rem 0 3.5rem;
  align-items: start;
}

@media (min-width: 980px) {
  .layout {
    grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
    gap: 1.75rem;
  }
}

.toc__sticky {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

@media (min-width: 980px) {
  .toc__sticky {
    position: sticky;
    top: calc(var(--mk-header-offset, 9.875rem) + 0.75rem);
    max-height: calc(100dvh - var(--mk-header-offset, 9.875rem) - 2rem);
    display: flex;
    flex-direction: column;
  }
}

.toc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.toc__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.toc__head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.toc__toggle {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 980px) {
  .toc__toggle {
    display: none;
  }
}

.toc__nav {
  padding: 0.75rem 0.85rem 1rem;
  overflow: auto;
}

@media (max-width: 979px) {
  .toc__nav {
    display: none;
  }

  .toc__sticky.is-open .toc__nav {
    display: block;
  }
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  counter-reset: none;
}

.toc-list__group {
  list-style: none;
  margin: 0.65rem 0 0.15rem;
  padding: 0.35rem 0.45rem 0.15rem;
}

.toc-list__group:first-child {
  margin-top: 0;
}

.toc-list__group span {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--navy) 50%, var(--muted));
}

.toc-list__item {
  list-style: none;
  margin: 0;
}

.toc-list__item a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.55rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.toc-list__item a:hover {
  border-color: color-mix(in srgb, var(--cyan) 40%, var(--line));
  box-shadow: 0 8px 18px -14px rgba(0, 51, 102, 0.35);
  transform: translateY(-1px);
}

.toc-list__item a.is-active {
  border-color: color-mix(in srgb, var(--orange) 45%, var(--line));
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  box-shadow: 0 8px 18px -14px rgba(234, 88, 12, 0.35);
}

.toc-list__num {
  display: inline-grid;
  place-items: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.25rem;
  border-radius: var(--radius-button);
  background: color-mix(in srgb, var(--navy) 92%, black);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.toc-list__item a.is-active .toc-list__num {
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
}

.toc-list__q {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  padding-top: 0.1rem;
}

.toc-list__chev {
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.7;
}

.toc-list__item a.is-active .toc-list__chev {
  color: var(--orange);
  opacity: 1;
}

.content {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: clamp(1.15rem, 2.5vw, 2rem);
}

.terms-intro {
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.terms-intro:empty {
  display: none;
}

.terms-section {
  margin-top: 0;
  padding: 1.35rem 0 0.9rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--mk-header-offset, 9.875rem) + 1rem);
}

.terms-section:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0.15rem;
}

.terms-section.is-dimmed {
  opacity: 0.28;
}

.terms-section.is-hit {
  opacity: 1;
}

.terms-section.is-hit h2 {
  color: var(--orange);
}

.page-main.terms-conditions .content .terms-section h2 {
  margin: 0 0 1rem !important;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.page-main.terms-conditions .content .terms-section h3 {
  margin: 1.25rem 0 0.55rem;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--navy);
}

.page-main.terms-conditions .content .terms-section__body > h3:first-child {
  margin-top: 0.15rem;
}

.terms-section__body > :first-child {
  margin-top: 0;
}

.terms-section__body > h3:first-child {
  margin-top: 0;
}

.terms-section__body p,
.terms-section__body li {
  color: color-mix(in srgb, var(--navy) 78%, #334155);
  font-size: 0.975rem;
  line-height: 1.7;
}

.terms-section__body p {
  margin: 0 0 0.85rem;
}

.terms-section__body p:last-child {
  margin-bottom: 0;
}

/* Restore bullets — theme reset sets list-style: none globally. */
.page-main.terms-conditions .content .terms-section__body ul,
.page-main.terms-conditions .content .terms-section__body ol {
  margin: 0.35rem 0 1rem;
  padding-left: 1.35rem;
  list-style-position: outside;
}

.page-main.terms-conditions .content .terms-section__body ul {
  list-style-type: disc !important;
}

.page-main.terms-conditions .content .terms-section__body ol {
  list-style-type: decimal !important;
}

.page-main.terms-conditions .content .terms-section__body li {
  margin: 0 0 0.45rem;
  padding-left: 0.15rem;
  display: list-item !important;
}

.page-main.terms-conditions .content .terms-section__body li::marker {
  color: var(--cyan);
}

.page-main.terms-conditions .content .terms-section__body ul ul {
  list-style-type: circle;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

.terms-section__body a {
  word-break: break-word;
}

.terms-section__body strong,
.terms-section__body b {
  color: var(--navy);
  font-weight: 700;
}

mark.terms-mark {
  background: color-mix(in srgb, var(--orange) 28%, white);
  color: inherit;
  padding: 0 0.15em;
  border-radius: 0.2em;
}









.back-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1rem;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px -14px rgba(0, 31, 61, 0.55);
}

.back-top:hover {
  background: var(--navy-deep);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--cyan) 70%, white);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}


/* Related policy strip (theme header stays; page-level shortcuts) */
.terms-policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.terms-policy-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 700;
}

.terms-policy-nav a:hover {
  border-color: color-mix(in srgb, var(--cyan) 45%, var(--line));
  color: var(--cyan);
}

.terms-policy-nav a.is-current {
  background: color-mix(in srgb, var(--navy) 92%, black);
  border-color: transparent;
  color: var(--white);
}

.terms-help-note {
  margin: 2rem auto 2.5rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 0.9rem;
}

.terms-help-note a {
  font-weight: 700;
}

.terms-conditions .page-main-heading-override {
  /* reserved */
}

/* Theme heading specificity override */
.page-main.terms-conditions .content .terms-section h2 {
  color: var(--navy);
}
.page-main.terms-conditions .content .terms-section.is-hit h2 {
  color: var(--orange);
}

.terms-policy-nav a.btn--orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hot) 100%);
  border-color: transparent;
  color: #ffffff;
  margin-left: auto;
}
.terms-policy-nav a.btn--orange:hover {
  color: #ffffff;
  border-color: transparent;
}
