/* Corporate insight landing and article styles. */

:root {
  --insight-canvas: #f5f7fb;
  --insight-lead-bg: #f7f8fb;
  --insight-accent: #f2c94c;
  --insight-accent-strong: #8a5a00;
}

.hero-eyebrow {
  color: var(--insight-accent);
}

.hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 18px;
  border-radius: 2px;
  background: var(--insight-accent);
}

.hero-tagline {
  color: rgba(255,255,255,0.72);
  letter-spacing: 0;
}

.hero-text {
  max-width: 760px;
}

.insight-theme-grid {
  margin-top: 32px;
}

.insight-card-label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

#recommended .section-lead,
#articles .section-lead {
  max-width: 100%;
  margin-bottom: 24px;
}

.insights-index-page .section-eyebrow {
  color: var(--insight-accent-strong);
}

.insights-index-page .section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--insight-accent);
}

.insight-index-section {
  padding: 56px 0 68px;
}

.insight-index-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.insights-index-page .insight-index-section {
  background: var(--insight-canvas);
}

.insight-index-main,
.article-main {
  min-width: 0;
}

.insight-index-block + .insight-index-block {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

.recommended-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  max-width: 100%;
  margin-top: 20px;
}

.recommended-card,
.insight-article-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.recommended-card {
  align-content: start;
  min-height: 178px;
  padding: 18px 24px;
}

.recommended-card--lead {
  border-color: var(--border-strong);
  background: var(--surface-muted);
}

.recommended-card-body,
.insight-article-content {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.recommended-card-body {
  padding: 0;
}

.article-thumb {
  display: block;
  overflow: hidden;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.article-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.recommended-card .article-thumb {
  aspect-ratio: 16 / 9;
}

.recommended-card--lead h3 {
  font-size: 18px;
}

.insight-article-list {
  display: grid;
  gap: 10px;
  max-width: 100%;
}

.insight-article-card {
  padding: 18px 24px;
}

.insight-article-card .article-thumb {
  height: 100%;
  min-height: 176px;
  border-right: 1px solid var(--border);
  border-bottom: 0;
}

.insight-article-content {
  padding: 0;
}

.insight-article-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.article-meta {
  margin-top: 24px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

.recommended-card h3,
.insight-article-card h3 {
  color: var(--primary);
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: 0;
  line-break: strict;
  text-wrap: pretty;
  overflow-wrap: break-word;
  word-break: normal;
}

.recommended-card h3 a,
.insight-article-card h3 a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: normal;
}

.recommended-card h3 a:hover,
.insight-article-card h3 a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
  text-decoration-color: var(--insight-accent);
  text-underline-offset: 4px;
}

.recommended-card p,
.insight-article-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.72;
}

.insight-article-link {
  align-self: end;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.insight-article-link:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--insight-accent);
  text-underline-offset: 4px;
}

.article-section {
  padding: 56px 0 72px;
}

.article-shell {
  max-width: 100%;
  margin: 0 auto;
}

.article-body {
  display: grid;
  gap: 28px;
}

.article-body h2 {
  color: var(--primary);
  font-size: 24px;
  line-height: 1.45;
}

.article-body h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--insight-accent);
}

.article-body p {
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.95;
}

.article-body ul {
  display: grid;
  gap: 12px;
  padding-left: 1.4em;
  color: var(--text-primary);
  line-height: 1.9;
}

.article-body li::marker {
  color: var(--insight-accent-strong);
}

.article-lead {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--insight-lead-bg);
}

.article-lead p {
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.9;
}

.key-points,
.comparison-card,
.article-cta {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.key-points {
  padding: 26px;
}

.key-points h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

.structure-figure {
  display: grid;
  gap: 12px;
  margin: 0;
  max-width: 100%;
}

.structure-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.structure-figure figcaption {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.comparison-card {
  padding: 24px;
}

.comparison-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 18px;
  line-height: 1.5;
}

.comparison-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
}

.article-cta {
  padding: 32px;
  border-color: var(--border-strong);
}

.article-cta h2 {
  margin-bottom: 12px;
}

.article-cta p {
  margin-bottom: 20px;
}

.article-cta .hero-cta {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--surface);
}

.article-cta .hero-cta:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-cta);
}

.insight-cta-copy {
  display: grid;
  gap: 10px;
}

.breadcrumb-link {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: var(--surface);
}

.insight-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 22px;
  min-width: 0;
  color: var(--text-secondary);
}

.sidebar-panel {
  display: grid;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.sidebar-panel h2 {
  color: var(--primary);
  font-size: 16px;
  line-height: 1.5;
}

.sidebar-panel h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--insight-accent);
}

.sidebar-panel p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.sidebar-link-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.sidebar-link-list a {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: break-word;
}

.sidebar-link-list a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
  text-decoration-color: var(--insight-accent);
  text-underline-offset: 4px;
}

.sidebar-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

.sidebar-topic-list li {
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.sidebar-cta {
  padding: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface-muted);
}

.sidebar-cta a {
  justify-self: start;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.sidebar-cta a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.insight-sidebar--index {
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.insight-sidebar--index .sidebar-panel {
  padding-bottom: 0;
  border-bottom: 0;
}

.insight-sidebar--index .sidebar-panel + .sidebar-panel {
  margin-top: 10px;
}

.insight-sidebar--index .sidebar-topic-list li {
  padding: 7px 12px;
  border-color: var(--border);
  border-radius: 9999px;
  background: var(--surface-muted);
  color: var(--text-secondary);
}

.insight-sidebar--index .sidebar-cta {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 900px) {
  .recommended-grid,
  .comparison-grid,
  .insight-index-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .insight-sidebar {
    position: static;
  }

  .recommended-card--lead {
    grid-row: auto;
    grid-column: auto;
  }

  .recommended-card--lead h3 {
    font-size: 19px;
  }
}

@media (max-width: 768px) {
  #recommended,
  #articles {
    padding: 0;
  }

  .insight-index-section {
    padding: 42px 0 54px;
  }

  .insight-index-block + .insight-index-block {
    margin-top: 34px;
    padding-top: 34px;
  }

  .article-section {
    padding: 42px 0 58px;
  }

  .recommended-card-body,
  .insight-article-content {
    padding: 0;
  }

  .insight-article-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .insight-article-card .article-thumb {
    min-height: auto;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .recommended-card h3,
  .insight-article-card h3 {
    font-size: 18px;
    line-height: 1.55;
  }

  .article-body h2 {
    font-size: 21px;
  }

  .article-lead,
  .key-points,
  .article-cta {
    padding: 22px;
  }
}
