/* ==========================================================================
   Base Intro & Typography
   ========================================================================== */
.insights-intro {
  padding-top: 25px;
  padding-bottom: 40px;
  font-size: 2rem;
}

.insights-intro .section-title {
  max-width: 1200px;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.insights-intro .section-title h2 {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.insights-intro .section-title .eyebrow { 
  justify-content: flex-start; 
}

.insights-intro .section-title .lede { 
  margin-left: 0; 
}

/* ==========================================================================
   Article Card Core
   ========================================================================== */
.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.article-index {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--mono, monospace);
  font-size: 11px;
  letter-spacing: .05em;
  color: #fff;
  background: rgba(0, 30, 74, .55);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, .35);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.article-card:hover .article-index {
  background: var(--gold, #d4af37);
  color: var(--navy, #001e4a);
  border-color: var(--gold, #d4af37);
  transform: scale(1.08);
}

.article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold, #d4af37), var(--signal, #ff4500));
  transition: width .45s ease;
  z-index: 3;
}

.article-card:hover::before { 
  width: 100%; 
}

.article-body .eyebrow .mark { 
  transition: transform .4s ease; 
}

.article-card:hover .article-body .eyebrow .mark { 
  transform: rotate(225deg); 
}

.article-body h2 { 
  transition: transform .3s ease, color .3s ease; 
}

.article-card:hover .article-body h2 { 
  transform: translateX(3px); 
}

/* ==========================================================================
   Grid Layout — Desktop (6 columns)
   ========================================================================== */
.article-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  align-items: stretch;
}

.article-cover {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}

.article-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
  box-sizing: border-box;
}

.article-body h2 {
  font-size: 1.15rem;
  line-height: 1.35;
}

.article-body .body-sm {
  font-size: .9rem;
}

/* Featured Treatment (Row 1: Cards 1 & 2) */
.article-card:nth-child(-n+2) {
  grid-column: span 3;
  flex-direction: column;
}

.article-card:nth-child(-n+2) .article-cover {
  width: 100%;
  height: 320px;
  min-height: 0;
  border-radius: 12px 12px 0 0;
  transition: transform .5s ease;
  overflow: hidden;
}

.article-card:nth-child(-n+2):hover .article-cover {
  transform: scale(1.035);
}

.article-card:nth-child(-n+2) .article-body {
  width: 100%;
  padding: 30px 28px;
  justify-content: flex-start;
}

.article-card:nth-child(-n+2) h2 {
  font-size: 1.5rem;
  line-height: 1.3;
}

.article-card:nth-child(-n+2) .body-sm {
  font-size: 0.98rem;
  line-height: 1.55;
}

.article-card:nth-child(-n+2) .article-index {
  width: 40px;
  height: 40px;
  font-size: 12px;
}

.article-card:nth-child(-n+2) .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* Standard Treatment (Row 2+: Cards 3+) */
.article-card:nth-child(n+3) {
  grid-column: span 2;
}

/* Card Content Details */
.read-more-btn {
  margin-top: 12px;
  margin-bottom: 8px;
  align-self: flex-start;
  cursor: pointer;
}

.article-full {
  margin-top: 8px;
}

.article-full > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.article-full h4 {
  margin-top: 12px;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.article-full p {
  margin-bottom: 8px;
}

.callout-line {
  margin-top: 6px;
  margin-bottom: 6px;
}

.tag-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .article-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .article-card:nth-child(-n+2),
  .article-card:nth-child(n+3) {
    grid-column: span 1;
    flex-direction: column !important;
  }

  .article-card:nth-child(-n+2) .article-cover {
    height: 220px;
    width: 100%;
  }

  .article-card:nth-child(-n+2) .article-body {
    padding: 20px;
    width: 100%;
  }

  .article-card:nth-child(-n+2) h2 {
    font-size: 1.25rem;
  }

  .insights-intro {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .insights-intro .section-title h2 {
    font-size: 1.8rem;
  }

  .article-cover {
    height: 180px;
  }

  .article-body {
    padding: 18px;
  }

  .article-body h2 {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .article-body .body-sm {
    font-size: 0.875rem;
  }

  .callout-line {
    font-size: 0.85rem;
    padding: 8px 10px;
    margin-top: 5px;
    margin-bottom: 5px;
  }
}

/* Small Tablet (820px and below) */
@media (max-width: 820px) {
  .article-list {
    gap: 16px;
  }

  .article-cover {
    height: 160px;
  }

  .article-body {
    padding: 16px;
  }
}

/* Mobile (680px and below) */
@media (max-width: 680px) {
  .article-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-card,
  .article-card:nth-child(-n+2),
  .article-card:nth-child(n+3) {
    grid-column: span 1 !important;
    width: 100%;
    flex-direction: column !important;
  }

  .article-cover,
  .article-card:nth-child(-n+2) .article-cover {
    width: 100%;
    height: 190px;
    min-height: 190px;
    border-radius: 12px 12px 0 0;
  }

  .article-body,
  .article-card:nth-child(-n+2) .article-body {
    width: 100%;
    padding: 18px;
  }

  .article-body h2 {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  .article-body .body-sm {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .insights-intro {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .insights-intro .section-title h2 {
    font-size: 1.5rem;
  }

  .insights-intro .section-title .lede {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}