/* GO v107: institutional pages with cleaner copy, no hero subtitles, and stronger contact contrast. */

:root {
  --go-v107-blue: #2817f1;
  --go-v107-lime: #c7f000;
  --go-v107-ink: #0f1722;
  --go-v107-muted: #4b5565;
  --go-v107-line: rgba(15, 23, 42, 0.11);
}

body:not(.wp-admin) .go-ip-page {
  --go-ip-accent: var(--go-v107-blue) !important;
  --go-ip-blue: var(--go-v107-blue) !important;
  --go-ip-title: var(--go-v107-ink) !important;
  --go-ip-text: var(--go-v107-muted) !important;
  --go-ip-muted: #667085 !important;
  --go-ip-line: var(--go-v107-line) !important;
  --go-ip-line-soft: rgba(15, 23, 42, 0.08) !important;
  padding-top: clamp(34px, 4vw, 58px) !important;
}

:where(html.dark body, html[class*="dark"] body, html[data-theme="dark"] body, body.dark, body.dark-mode, body.is-dark-theme, body.newsx-dark-mode, body[class*="dark"], body[data-theme="dark"]) .go-ip-page {
  --go-ip-accent: var(--go-v107-lime) !important;
  --go-ip-title: #f7f8fb !important;
  --go-ip-text: #c7cfdb !important;
  --go-ip-muted: #aab4c3 !important;
  --go-ip-line: rgba(255, 255, 255, 0.14) !important;
  --go-ip-line-soft: rgba(255, 255, 255, 0.08) !important;
}

/* No subtitles/chips in institucional hero. */
body:not(.wp-admin) .go-ip-lede,
body:not(.wp-admin) .go-ip-highlights {
  display: none !important;
}

body:not(.wp-admin) .go-ip-hero {
  max-width: 980px !important;
  margin-bottom: clamp(26px, 3.6vw, 44px) !important;
}

body:not(.wp-admin) .go-ip-page .go-editorial-masthead__inner::before {
  width: 48px !important;
  height: 3px !important;
  margin-bottom: 16px !important;
  background: var(--go-ip-accent) !important;
}

body:not(.wp-admin) .go-ip-page .go-editorial-masthead__eyebrow {
  color: var(--go-ip-accent) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
}

body:not(.wp-admin) .go-ip-page .go-editorial-masthead__title.go-editorial-masthead__title {
  max-width: 920px !important;
  font-size: clamp(36px, 5.6vw, 70px) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.052em !important;
}

body:not(.wp-admin) .go-ip-layout {
  grid-template-columns: minmax(0, 800px) minmax(280px, 330px) !important;
  gap: clamp(34px, 5vw, 76px) !important;
  justify-content: space-between !important;
}

body:not(.wp-admin) .go-ip-prose {
  max-width: 800px !important;
}

body:not(.wp-admin) .go-ip-content {
  padding: clamp(18px, 2.4vw, 28px) 0 0 !important;
  border-top: 1px solid var(--go-ip-line-soft) !important;
}

body:not(.wp-admin) .go-ip-prose h2 {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 13px !important;
  margin: 42px 0 13px !important;
  padding: 0 !important;
  color: var(--go-ip-title) !important;
  font-size: clamp(23px, 2vw, 30px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  counter-increment: none !important;
}

body:not(.wp-admin) .go-ip-prose h2:first-child {
  margin-top: 0 !important;
}

body:not(.wp-admin) .go-ip-prose h2::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 3px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: var(--go-ip-accent) !important;
}

body:not(.wp-admin) .go-ip-prose p,
body:not(.wp-admin) .go-ip-prose li {
  max-width: 760px !important;
  color: var(--go-ip-text) !important;
  font-size: clamp(16px, 1.08vw, 17.5px) !important;
  line-height: 1.76 !important;
}

body:not(.wp-admin) .go-ip-prose p + p {
  margin-top: -4px !important;
}

body:not(.wp-admin) .go-ip-prose a {
  color: var(--go-ip-accent) !important;
  font-weight: 850 !important;
  text-decoration-color: color-mix(in srgb, var(--go-ip-accent) 34%, transparent) !important;
}

body:not(.wp-admin) .go-ip-sidebar {
  gap: 22px !important;
}

body:not(.wp-admin) .go-ip-card {
  padding: 18px !important;
  border: 1px solid var(--go-ip-line-soft) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.74) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

:where(html.dark body, html[class*="dark"] body, html[data-theme="dark"] body, body.dark, body.dark-mode, body.is-dark-theme, body.newsx-dark-mode, body[class*="dark"], body[data-theme="dark"]) .go-ip-card {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(255, 255, 255, 0.11) !important;
}

body:not(.wp-admin) .go-ip-card h2 {
  color: var(--go-ip-title) !important;
  font-size: 20px !important;
  letter-spacing: -0.03em !important;
}

body:not(.wp-admin) .go-ip-card p {
  color: var(--go-ip-text) !important;
}

body:not(.wp-admin) .go-ip-card-kicker {
  color: var(--go-ip-accent) !important;
}

body:not(.wp-admin) .go-ip-card-accent {
  border-left: 0 !important;
  background: color-mix(in srgb, var(--go-ip-accent) 8%, white) !important;
}

:where(html.dark body, html[class*="dark"] body, html[data-theme="dark"] body, body.dark, body.dark-mode, body.is-dark-theme, body.newsx-dark-mode, body[class*="dark"], body[data-theme="dark"]) .go-ip-card-accent {
  background: rgba(199, 240, 0, 0.065) !important;
}

body:not(.wp-admin) .go-ip-button {
  min-height: 44px !important;
  padding: 0 18px !important;
  border: 1px solid var(--go-ip-accent) !important;
  border-radius: 999px !important;
  background: var(--go-v107-blue) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: -0.01em !important;
  box-shadow: 0 12px 26px rgba(40, 23, 241, 0.18) !important;
}

body:not(.wp-admin) .go-ip-button:hover,
body:not(.wp-admin) .go-ip-button:focus-visible {
  border-color: #160bb8 !important;
  background: #160bb8 !important;
  color: #ffffff !important;
}

:where(html.dark body, html[class*="dark"] body, html[data-theme="dark"] body, body.dark, body.dark-mode, body.is-dark-theme, body.newsx-dark-mode, body[class*="dark"], body[data-theme="dark"]) .go-ip-button {
  border-color: var(--go-v107-lime) !important;
  background: var(--go-v107-lime) !important;
  color: #071006 !important;
  box-shadow: 0 14px 28px rgba(199, 240, 0, 0.12) !important;
}

:where(html.dark body, html[class*="dark"] body, html[data-theme="dark"] body, body.dark, body.dark-mode, body.is-dark-theme, body.newsx-dark-mode, body[class*="dark"], body[data-theme="dark"]) .go-ip-button:hover,
:where(html.dark body, html[class*="dark"] body, html[data-theme="dark"] body, body.dark, body.dark-mode, body.is-dark-theme, body.newsx-dark-mode, body[class*="dark"], body[data-theme="dark"]) .go-ip-button:focus-visible {
  border-color: #e5ff66 !important;
  background: #e5ff66 !important;
  color: #071006 !important;
}

@media (max-width: 1100px) {
  body:not(.wp-admin) .go-ip-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  body:not(.wp-admin) .go-ip-page .go-editorial-masthead__title.go-editorial-masthead__title {
    font-size: clamp(34px, 11vw, 48px) !important;
    letter-spacing: -0.045em !important;
  }

  body:not(.wp-admin) .go-ip-card {
    padding: 16px !important;
    border-radius: 18px !important;
  }
}
