/* ============ INSIGHTS PAGE ============ */

/* HERO IMAGE */
.insights-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #2A2A2E;
  color: #fff;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
}
.insights-hero > .container,
.insights-hero .insights-hero-inner {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.insights-hero-scene {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 45%, #5A8A4A 0%, transparent 6%),
    radial-gradient(ellipse at 65% 35%, #6A9A5A 0%, transparent 4%),
    radial-gradient(ellipse at 60% 50%, rgba(80,120,90,.6) 0%, transparent 12%),
    radial-gradient(ellipse at 60% 60%, #C99272 0%, #C99272 18%, transparent 35%),
    radial-gradient(ellipse at 65% 75%, #A87060 0%, #A87060 14%, transparent 28%),
    radial-gradient(ellipse at 70% 90%, #2A2A2E 0%, #2A2A2E 25%, transparent 50%),
    linear-gradient(180deg, #4A4A4E 0%, #3A3A3E 40%, #2A2A2E 100%);
}
.insights-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.3) 35%, transparent 60%);
  z-index: 1;
}
.insights-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 100px);
  z-index: 2;
}
.insights-hero h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 24px;
  max-width: 560px;
}
.insights-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.insights-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D8C5A5 0%, #A88B65 100%);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.insights-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.insights-author-info .name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.insights-author-info .title-line,
.insights-author-info .date-line {
  font-size: 11px;
  color: rgba(255,255,255,.85);
  line-height: 1.3;
}
.insights-scroll-down {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}
.insights-scroll-down svg {
  width: 18px;
  height: 24px;
}

/* ARTICLE BODY */
.insights-article-body {
  padding: 60px 0 80px;
  background: #fff;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
}
.insights-article-body > .container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.insights-article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.insights-article-col p,
.insights-article-col h3 {
  margin-bottom: 14px;
}
.insights-article-col h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.3;
  margin-top: 32px;
  margin-bottom: 10px;
}
.insights-article-col h3:first-child {
  margin-top: 0;
}
.insights-article-col p {
  font-size: 14px;
  color: #3A3A3E;
  line-height: 1.6;
}
.insights-article-col p.lead {
  font-weight: 700;
  color: #0E0E10;
  font-size: 18px;
  line-height: 1.4;
}
.insights-article-col .highlight {
  background: var(--highlight, #B8E8C8);
  padding: 1px 3px;
  border-radius: 1px;
  color: #1A1A22;
  font-weight: 600;
}

/* FAQ Q&A items */
.insights-faq-q {
  font-size: 13px;
  font-weight: 700;
  color: #0E0E10;
  line-height: 1.45;
  margin-top: 18px;
  margin-bottom: 6px;
}
.insights-faq-q:first-of-type {
  margin-top: 14px;
}
.insights-faq-a {
  font-size: 13px;
  color: #3A3A3E;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Purple callout */
.insights-callout-purple {
  background: var(--purple);
  color: #fff;
  padding: 50px;
  margin-top: 60px;
  width: calc(100% + 100px);
  margin-left: -50px;
  max-width: none;
}
.insights-callout-purple p {
  font-size: 18px;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 0;
  font-weight: 500;
}

/* OTHER CASE STUDIES */
.insights-other-cases {
  padding: 70px 0 90px;
  background: var(--bg-soft);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
}
.insights-other-cases > .container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.insights-other-cases h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 30px;
}
.insights-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.insights-other-grid .case-card {
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.insights-other-grid .case-card:hover {
  background: #f0f5f9;
  border: 1px solid #f0f5f9;
}
.insights-other-grid .case-img {
  padding: 20px 20px 0;
  position: relative;
  overflow: hidden;
  line-height: 0;
}
.insights-other-grid .case-img-contain {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin: 5px 0;
  display: block;
  width: 100%;
}
.insights-other-grid .case-img-contain::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(150, 101, 170, 0) 0%, #9665aa 100%);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.insights-other-grid .case-img-contain::before {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 12px;
  width: 54px;
  height: 34px;
  background: url("../svg/arrow-right-white.svg") center center/contain no-repeat;
  opacity: 0;
  z-index: 2;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.insights-other-grid .case-card .case-img img {
  aspect-ratio: 16/11;
  display: block;
  width: 100%;
}
.insights-other-grid .case-card:hover .case-img-contain::after,
.insights-other-grid .case-card:hover .case-img-contain::before {
  opacity: 1;
}
.insights-other-grid .case-card:hover .case-img-contain::before {
  transform: translateY(0);
}
.insights-other-grid .case-content {
  padding: 24px 20px 28px;
}
.insights-other-grid .case-content h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.insights-other-grid .case-content .client-line {
  font-size: 14px;
  color: #5A5A60;
  margin-bottom: 14px;
}
.insights-other-grid .case-content .tag-row {
  margin-bottom: 10px;
  gap: 5px;
}
.insights-other-grid .case-content .tag {
  padding: 3px 9px;
  font-size: 10px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .insights-article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .insights-callout-purple {
    width: 100%;
    margin-left: 0;
  }
  .insights-hero h1 {
    font-size: 28px;
  }
  .insights-other-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .insights-hero {
    height: 420px;
  }
  .insights-hero h1 {
    font-size: 22px;
  }
  .insights-other-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ ARTICLE ARCHIVE (CPT listing) ============ */
.insights-archive {
  padding-top: 90px;
}
.insights-archive h2 {
  font-size: 30px;
  margin-bottom: 40px;
}
.insights-archive .case-content h4 a {
  color: inherit;
  text-decoration: none;
}
.insights-archive .case-content h4 a:hover {
  color: var(--purple, #9665aa);
}
.insights-archive .case-img-contain a {
  display: block;
  width: 100%;
  line-height: 0;
}
.insights-archive .case-content .case-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: #5a5a60;
  margin: 0;
}
.insights-archive-pagination {
  margin-top: 50px;
}
.insights-archive-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.insights-archive-pagination a,
.insights-archive-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #c9cdd2;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a22;
  text-decoration: none;
}
.insights-archive-pagination a:hover {
  background: var(--purple, #9665aa);
  border-color: var(--purple, #9665aa);
  color: #fff;
}
.insights-archive-pagination .current {
  background: var(--purple, #9665aa);
  border-color: var(--purple, #9665aa);
  color: #fff;
}
.insights-archive-empty {
  font-size: 16px;
  color: #5a5a60;
}
