/* Sprint 1 extensions: preserve the original IBA Agency visual system */
:root {
  --iba-cyan: #20bfe7;
  --iba-dark: #172229;
  --iba-ink: #20262b;
  --iba-soft: #f4f6f7;
  --iba-border: #dde3e6;
}
.s1-hero {
  background: var(--iba-dark);
  color: #fff;
  padding: 5.5rem 0;
}
.s1-eyebrow {
  color: var(--iba-cyan);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.s1-hero h1 {
  max-width: 980px;
}
.s1-lead {
  max-width: 850px;
  font-size: 1.25rem;
  line-height: 1.75;
  color: #e2e8eb;
}
.service-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.service-visual-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--iba-border);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.service-visual-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(23, 34, 41, 0.12);
}
.service-visual-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.service-visual-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-visual-card__body p {
  color: #4e5960;
}
.service-visual-card__link {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
}
.service-visual-card__link:after {
  content: " →";
}
.agent-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.agent-node {
  border: 1px solid var(--iba-border);
  background: #fff;
  padding: 1.15rem;
  min-height: 150px;
}
.agent-node h3 {
  font-size: 1.05rem;
}
.agent-node p {
  font-size: 0.9rem;
  color: #566169;
}
.guardrail-card {
  border-left: 4px solid var(--iba-cyan);
  background: #fff;
  padding: 1.4rem;
  height: 100%;
}
.article-shell {
  max-width: 900px;
}
.article-shell h2 {
  margin-top: 3rem;
}
.article-shell h3 {
  margin-top: 2rem;
}
.article-shell p,
.article-shell li {
  font-size: 1.08rem;
  line-height: 1.8;
}
.article-toc {
  background: var(--iba-soft);
  border: 1px solid var(--iba-border);
  padding: 1.5rem;
}
.article-callout {
  background: #e9f9fd;
  border-left: 4px solid var(--iba-cyan);
  padding: 1.5rem;
  margin: 2rem 0;
}
.wp-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--iba-border);
}
.framework-table {
  width: 100%;
  border-collapse: collapse;
}
.framework-table th,
.framework-table td {
  border: 1px solid var(--iba-border);
  padding: 0.85rem;
  vertical-align: top;
}
.framework-table th {
  background: var(--iba-soft);
}
.portfolio-status {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--iba-border);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.thm-case-hero {
  border: 1px solid var(--iba-border);
  background: #fff;
}
.thm-case-hero img {
  width: 100%;
  height: auto;
}
.release-note {
  font-size: 0.88rem;
  color: #68747b;
}
@media (max-width: 991px) {
  .service-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .agent-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .service-visual-grid,
  .agent-map {
    grid-template-columns: 1fr;
  }
  .s1-hero {
    padding: 3.5rem 0;
  }
  .s1-hero h1 {
    font-size: 2.4rem;
  }
}

/* Sprint 2 editorial and portfolio corrections */
.portfolio-link-disabled {
  color: #6c757d;
  text-decoration: none;
  cursor: default;
  font-weight: 600;
}
.article-shell p {
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 1.35rem;
}
.article-shell h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.article-shell .lead {
  font-size: 1.3rem;
  line-height: 1.65;
}
.wp-intro {
  border-left: 4px solid var(--bs-info, #23c4e7);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  background: #f6fbfc;
}
.article-callout {
  padding: 2rem;
  border: 1px solid #dce4e8;
  border-radius: 1rem;
  background: #f8fafb;
}
.article-toc {
  padding: 1.5rem;
  border: 1px solid #e2e7ea;
  border-radius: 0.75rem;
  background: #fff;
  margin-bottom: 2.25rem;
}
.article-toc li {
  margin: 0.45rem 0;
}

/* Sprint 3: stronger image-led cards for services and insights */
.s3-section {
  padding: 5rem 0;
  background: #fff;
}
.s3-section--soft {
  background: #f4f6f7;
}
.s3-section-heading {
  max-width: 860px;
  margin-bottom: 2.5rem;
}
.s3-section-heading p {
  font-size: 1.15rem;
  color: #566169;
  line-height: 1.7;
}
.s3-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.s3-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e0e5;
  border-radius: 1.15rem;
  box-shadow: 0 12px 30px rgba(23, 34, 41, 0.09);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.s3-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 52px rgba(23, 34, 41, 0.17);
  border-color: rgba(32, 191, 231, 0.75);
}
.s3-card__media {
  position: relative;
  overflow: hidden;
  background: #dfe7ea;
}
.s3-card__media:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(23, 34, 41, 0.34));
  pointer-events: none;
}
.s3-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.s3-card:hover .s3-card__media img {
  transform: scale(1.045);
}
.s3-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.65rem 1.65rem 1.75rem;
}
.s3-card__meta {
  color: #168eaa;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.s3-card h2,
.s3-card h3 {
  font-size: 1.55rem;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  color: #172238;
}
.s3-card p {
  color: #4d5861;
  line-height: 1.65;
  margin-bottom: 1.35rem;
}
.s3-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  color: #079fc4;
  font-weight: 600;
  text-decoration: none;
}
.s3-card__link:after {
  content: "→";
  transition: transform 0.2s ease;
}
.s3-card:hover .s3-card__link:after {
  transform: translateX(4px);
}
.s3-card__link.stretched-link:after {
  position: static;
}
.s3-featured {
  grid-column: span 2;
}
.s3-featured .s3-card__media img {
  aspect-ratio: 2.05/1;
}
.s3-view-all {
  margin-top: 2.25rem;
}
.s3-view-all a {
  font-weight: 600;
  text-decoration: none;
}
/* Normalize legacy card collections on index pages */
.services-index .service-visual-grid,
.insights-index .portfolio > .row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 0;
}
.services-index .service-visual-card {
  border-radius: 1.15rem;
  box-shadow: 0 12px 30px rgba(23, 34, 41, 0.09);
  border-color: #d7e0e5;
}
.services-index .service-visual-card__body {
  padding: 1.65rem;
}
.services-index .service-visual-card h2 {
  font-size: 1.55rem;
  line-height: 1.25;
}
.insights-index .portfolio > .row > * {
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0;
}
.insights-index .card {
  height: 100%;
  border: 1px solid #d7e0e5 !important;
  border-radius: 1.15rem !important;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(23, 34, 41, 0.09) !important;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.insights-index .card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 52px rgba(23, 34, 41, 0.17) !important;
}
.insights-index figure {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.insights-index .figure-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0 !important;
  margin: 0;
}
.insights-index figcaption {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem !important;
}
.insights-index figcaption a:last-child {
  margin-top: auto;
}
.insights-index .date-post {
  color: #168eaa;
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 991px) {
  .s3-card-grid,
  .services-index .service-visual-grid,
  .insights-index .portfolio > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .s3-featured {
    grid-column: auto;
  }
}
@media (max-width: 640px) {
  .s3-card-grid,
  .services-index .service-visual-grid,
  .insights-index .portfolio > .row {
    grid-template-columns: 1fr;
  }
  .s3-section {
    padding: 3.5rem 0;
  }
  .s3-card h2,
  .s3-card h3 {
    font-size: 1.35rem;
  }
}

/* Sprint 3.1 deployment-safe editorial cards */
.s3-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  width: 100% !important;
  align-items: stretch !important;
}
.s3-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  border: 1px solid #ced9df !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(23, 34, 41, 0.12) !important;
}
.s3-card__media {
  display: block !important;
  width: 100% !important;
  min-height: 210px !important;
}
.s3-card__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 210px !important;
  aspect-ratio: 16/9 !important;
  object-fit: cover !important;
}
.s3-card__body {
  display: flex !important;
  flex: 1 !important;
  flex-direction: column !important;
  padding: 1.6rem !important;
}
.s3-card__link {
  margin-top: auto !important;
}
@media (max-width: 991px) {
  .s3-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  .s3-card-grid {
    grid-template-columns: 1fr !important;
  }
}
.editorial-deck {
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 850px;
  color: #e6edf0;
}
.editorial-kicker {
  font-weight: 600;
  color: #20bfe7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.editorial-standfirst {
  font-size: 1.22rem;
  line-height: 1.75;
  margin-bottom: 2.2rem;
  color: #38434a;
}
.editorial-pullquote {
  font-size: 1.55rem;
  line-height: 1.45;
  border-left: 5px solid #20bfe7;
  padding: 1rem 0 1rem 1.6rem;
  margin: 2.5rem 0;
  color: #172238;
}
.editorial-example {
  background: #f4f7f8;
  border: 1px solid #d8e2e6;
  border-radius: 1rem;
  padding: 1.6rem;
  margin: 2rem 0;
}
.editorial-example h3 {
  margin-top: 0;
}
.editorial-checklist li {
  margin-bottom: 0.65rem;
}
.editorial-sources {
  font-size: 0.92rem;
  color: #59666d;
  border-top: 1px solid #dce4e8;
  margin-top: 3rem;
  padding-top: 1.4rem;
}
.wp-cover-note {
  border: 1px solid #cddbe1;
  background: #f4f8fa;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2rem 0;
}
.wp-chapter {
  padding: 2.2rem 0;
  border-bottom: 1px solid #dde4e7;
}
.wp-chapter:last-child {
  border-bottom: 0;
}
.wp-action-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.wp-action-table th,
.wp-action-table td {
  border: 1px solid #d5dfe4;
  padding: 0.9rem;
  text-align: left;
  vertical-align: top;
}
.wp-action-table th {
  background: #edf5f7;
}
.wp-sidebar {
  background: #172238;
  color: #fff;
  padding: 1.8rem;
  border-radius: 1rem;
  margin: 2.2rem 0;
}
.wp-sidebar h3 {
  color: #fff;
  margin-top: 0;
}
.wp-sidebar p,
.wp-sidebar li {
  color: #e3e9ec;
}

/* Sprint 4: evidence-led service pages and stronger editorial/case-study components */
.s4-agent-system {
  position: relative;
  margin: 2.5rem 0;
}
.s4-agent-lane {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.s4-agent-lane__label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  border-radius: 1rem;
  background: #172238;
  color: #fff;
  font-weight: 600;
  text-align: center;
}
.s4-agent-lane__nodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.s4-agent-card {
  position: relative;
  padding: 1.3rem 1.25rem 1.3rem 1.4rem;
  border: 1px solid #d6e0e5;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff 0%, #f6fafb 100%);
  box-shadow: 0 10px 24px rgba(23, 34, 41, 0.07);
  overflow: hidden;
}
.s4-agent-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #20bfe7;
}
.s4-agent-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.55rem;
}
.s4-agent-card p {
  font-size: 0.91rem;
  line-height: 1.55;
  color: #5c6870;
  margin: 0;
}
.s4-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 2rem 0;
}
.s4-flow__step {
  padding: 0.8rem 1rem;
  border: 1px solid #cfdce2;
  border-radius: 999px;
  background: #fff;
  font-weight: 500;
}
.s4-flow__arrow {
  color: #20bfe7;
  font-weight: 700;
}
.s4-guardrail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.s4-guardrail {
  border-top: 5px solid #20bfe7;
  background: #f5f8f9;
  border-radius: 0.8rem;
  padding: 1.3rem;
  min-height: 100%;
}
.s4-guardrail h3 {
  font-size: 1.05rem;
}
.s4-service-hero {
  padding: 5rem 0 4.2rem;
  background: #f5f7f8;
}
.s4-service-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 3rem;
  align-items: center;
}
.s4-proof-panel {
  background: #172238;
  color: #fff;
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 22px 50px rgba(23, 34, 41, 0.18);
}
.s4-proof-panel h2 {
  color: #fff;
  font-size: 1.35rem;
}
.s4-proof-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.s4-proof-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #e4ebee;
}
.s4-proof-list li:last-child {
  border-bottom: 0;
}
.s4-metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.s4-metric {
  padding: 1rem;
  border: 1px solid #d8e2e6;
  border-radius: 0.85rem;
  background: #fff;
}
.s4-metric strong {
  display: block;
  font-size: 1.45rem;
  color: #172238;
}
.s4-service-section {
  padding: 4.5rem 0;
}
.s4-service-section--soft {
  background: #f5f7f8;
}
.s4-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.s4-capability {
  padding: 1.6rem;
  border: 1px solid #d8e2e6;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(23, 34, 41, 0.05);
}
.s4-capability__num {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #dff6fb;
  color: #0a8dab;
  font-weight: 700;
  margin-bottom: 1rem;
}
.s4-capability h3 {
  font-size: 1.2rem;
}
.s4-case-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  border-radius: 1.2rem;
  background: #172238;
  color: #fff;
  padding: 2.2rem;
}
.s4-case-strip h2,
.s4-case-strip h3 {
  color: #fff;
}
.s4-case-strip p,
.s4-case-strip li {
  color: #e2e9ec;
}
.s4-case-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.s4-case-result {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.8rem;
  padding: 1rem;
}
.s4-case-result strong {
  display: block;
  color: #20bfe7;
  font-size: 1.35rem;
}
.s4-editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}
.s4-editorial-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 350px;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #172238;
  color: #fff;
  box-shadow: 0 15px 34px rgba(23, 34, 41, 0.14);
}
.s4-editorial-card--wide {
  grid-column: span 8;
}
.s4-editorial-card__media {
  position: absolute;
  inset: 0;
}
.s4-editorial-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s4-editorial-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 27, 39, 0.08) 0%,
    rgba(15, 27, 39, 0.92) 78%
  );
}
.s4-editorial-card__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 1.5rem;
}
.s4-editorial-card__meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #75daf0;
  font-weight: 600;
}
.s4-editorial-card h2,
.s4-editorial-card h3 {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0.55rem 0;
}
.s4-editorial-card p {
  color: #dde6ea;
  font-size: 0.95rem;
}
.s4-editorial-card a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.s4-editorial-card a:after {
  content: " →";
  color: #20bfe7;
}
.s4-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.6rem;
}
.s4-portfolio-card {
  grid-column: span 4;
  border: 1px solid #d7e0e5;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 34, 41, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.s4-portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(23, 34, 41, 0.14);
}
.s4-portfolio-card--wide {
  grid-column: span 8;
}
.s4-portfolio-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.s4-portfolio-card__body {
  padding: 1.4rem;
}
.s4-portfolio-card__status {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #0c91ad;
  font-weight: 600;
}
.s4-portfolio-card h3 {
  font-size: 1.35rem;
}
.s4-portfolio-card p {
  color: #59656c;
}
.s4-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}
.s4-pill {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  background: #edf5f7;
  border-radius: 999px;
  color: #31505b;
}
.s4-portfolio-card__link {
  font-weight: 600;
  text-decoration: none;
}
.s4-portfolio-card__link:after {
  content: " →";
}
.s4-archive {
  color: #728087;
  font-weight: 600;
}
.s4-source-note {
  font-size: 0.85rem;
  color: #6a777e;
  margin-top: 1.5rem;
}
@media (max-width: 991px) {
  .s4-agent-lane {
    grid-template-columns: 1fr;
  }
  .s4-agent-lane__nodes,
  .s4-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .s4-guardrail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .s4-service-hero__grid,
  .s4-case-strip {
    grid-template-columns: 1fr;
  }
  .s4-editorial-card,
  .s4-editorial-card--wide,
  .s4-portfolio-card,
  .s4-portfolio-card--wide {
    grid-column: span 6;
  }
}
@media (max-width: 640px) {
  .s4-agent-lane__nodes,
  .s4-capability-grid,
  .s4-guardrail-grid,
  .s4-metric-strip,
  .s4-case-results {
    grid-template-columns: 1fr;
  }
  .s4-editorial-card,
  .s4-editorial-card--wide,
  .s4-portfolio-card,
  .s4-portfolio-card--wide {
    grid-column: span 12;
  }
  .s4-service-hero {
    padding: 3.5rem 0;
  }
  .s4-editorial-card {
    min-height: 300px;
  }
}

/* Sprint 5: unified Insights library and publication components */
.insights-hero {
  padding: 5.5rem 0 4.5rem;
  background: #172238;
  color: #fff;
}
.insights-hero h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 5.3vw, 5rem);
  line-height: 1.04;
  color: #fff;
  margin: 0.8rem 0 1.5rem;
}
.insights-hero .lead {
  max-width: 900px;
  color: #dce7eb;
  font-size: 1.25rem;
  line-height: 1.7;
}
.insights-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.2rem;
}
.insights-topics a {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.84rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.insights-topics a:hover,
.insights-topics a:focus {
  background: #20bfe7;
  border-color: #20bfe7;
  color: #0f1c26;
}
.insights-featured,
.insights-category {
  padding: 5rem 0;
  background: #fff;
}
.insights-category--soft {
  background: #f2f6f7;
}
.insights-section-heading {
  max-width: 820px;
  margin-bottom: 2.2rem;
}
.insights-section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  color: #172238;
  margin: 0.55rem 0;
}
.insights-section-heading > p:not(.s1-eyebrow) {
  color: #53626a;
  font-size: 1.08rem;
}
.insights-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.8fr);
  gap: 1.5rem;
}
.insights-secondary {
  display: grid;
  gap: 1.5rem;
}
.insight-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d2dee3;
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgba(23, 34, 41, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(23, 34, 41, 0.14);
}
.insight-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dce5e8;
}
.insight-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.insight-card:hover .insight-card__media img {
  transform: scale(1.035);
}
.insight-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 28, 38, 0.4));
}
.insight-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}
.insight-card__meta {
  margin: 0 0 0.65rem;
  color: #087f9c;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.insight-card h2,
.insight-card h3 {
  margin: 0 0 0.8rem;
  line-height: 1.24;
  color: #172238;
}
.insight-card h2 {
  font-size: 2rem;
}
.insight-card h3 {
  font-size: 1.35rem;
}
.insight-card h2 a,
.insight-card h3 a {
  color: #172238;
  text-decoration: none;
}
.insight-card__body > p:not(.insight-card__meta) {
  color: #536169;
  line-height: 1.65;
}
.insight-card__link {
  margin-top: auto;
  color: #087f9c;
  font-weight: 700;
  text-decoration: none;
}
.insight-card__link:after {
  content: " →";
}
.insight-card--lead .insight-card__media img {
  aspect-ratio: 16/10;
}
.insight-card--horizontal {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 0;
}
.insight-card--horizontal .insight-card__media img {
  height: 100%;
  aspect-ratio: auto;
}
.insight-card--horizontal .insight-card__body {
  padding: 1.25rem;
}
.insight-card--horizontal h3 {
  font-size: 1.18rem;
}
.insight-card--horizontal .insight-card__body > p:not(.insight-card__meta) {
  font-size: 0.92rem;
}
.insights-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.insights-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.insights-card-grid--four .insight-card h3 {
  font-size: 1.18rem;
}
.insights-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}
.insight-card--compact {
  min-height: 260px;
  border-top: 5px solid #20bfe7;
}
.legacy-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.legacy-resource-grid a {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  border: 1px solid #d2dee3;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, #f7fafb, #eaf2f4);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.legacy-resource-grid a:hover {
  transform: translateY(-4px);
  border-color: #20bfe7;
}
.legacy-resource-grid span {
  color: #087f9c;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legacy-resource-grid strong {
  color: #172238;
  font-size: 1.08rem;
  line-height: 1.35;
  margin-top: 0.55rem;
}
.insights-research-cta {
  padding: 4rem 0;
  background: #e5f7fb;
}
.insights-research-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.insights-research-cta h2 {
  color: #172238;
}
.insights-research-cta p {
  max-width: 760px;
  color: #4f5d65;
}
.wp-evidence {
  margin: 2.8rem 0;
  padding: 2rem;
  border: 1px solid #cfe0e6;
  border-radius: 1rem;
  background: #f5fafb;
}
.wp-evidence h2 {
  margin-top: 0;
}
.wp-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.wp-evidence-card {
  padding: 1.2rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #d6e2e6;
}
.wp-evidence-card strong {
  display: block;
  color: #087f9c;
  font-size: 1.25rem;
}
.wp-model {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2.5rem;
}
.wp-model th,
.wp-model td {
  padding: 0.9rem;
  border: 1px solid #d1dde2;
  text-align: left;
  vertical-align: top;
}
.wp-model th {
  background: #172238;
  color: #fff;
}
.wp-model td {
  color: #34464f;
}
.wp-references {
  padding-top: 2.5rem;
  border-top: 1px solid #d6e0e4;
}
.wp-references h2 {
  margin-top: 0;
}
.wp-references li {
  margin-bottom: 0.65rem;
  font-size: 0.96rem;
}
.wp-references a {
  overflow-wrap: anywhere;
}
.wp-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.6rem 0 2.5rem;
}
.wp-process div {
  position: relative;
  padding: 1rem;
  border: 1px solid #cfdce2;
  border-top: 5px solid #20bfe7;
  border-radius: 0.7rem;
  background: #fff;
  color: #172238;
  font-weight: 600;
  text-align: center;
}
.wp-process div:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -0.62rem;
  top: 42%;
  z-index: 2;
  color: #087f9c;
  background: #fff;
  border-radius: 50%;
}
@media (max-width: 991px) {
  .insights-feature-grid,
  .insights-split {
    grid-template-columns: 1fr;
  }
  .insights-card-grid,
  .insights-card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legacy-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .insight-card--horizontal {
    grid-template-columns: 36% 64%;
  }
  .wp-evidence-grid {
    grid-template-columns: 1fr;
  }
  .wp-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wp-process div:after {
    display: none;
  }
}
@media (max-width: 640px) {
  .insights-hero {
    padding: 4rem 0 3rem;
  }
  .insights-featured,
  .insights-category {
    padding: 3.5rem 0;
  }
  .insights-card-grid,
  .insights-card-grid--four,
  .legacy-resource-grid {
    grid-template-columns: 1fr;
  }
  .insight-card--horizontal {
    grid-template-columns: 1fr;
  }
  .insight-card--horizontal .insight-card__media img {
    height: auto;
    aspect-ratio: 16/9;
  }
  .insights-research-cta .container {
    align-items: flex-start;
    flex-direction: column;
  }
  .wp-process {
    grid-template-columns: 1fr;
  }
  .wp-model {
    display: block;
    overflow-x: auto;
  }
}
