/* Insights & Stories hub */

.insights-page .header.header--solid {
  background:
    linear-gradient(180deg, rgba(8, 14, 27, 0.96) 0%, rgba(7, 12, 23, 0.95) 100%);
  backdrop-filter: blur(14px) saturate(155%);
  -webkit-backdrop-filter: blur(14px) saturate(155%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.is-hero {
  position: relative;
  padding: calc(var(--header-h) + 36px) 0 40px;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--text-inverse);
  overflow: hidden;
}

.is-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 12% 18%, rgba(197, 160, 89, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 78%, rgba(197, 160, 89, 0.08) 0%, transparent 50%),
    var(--hero-bg-image, none) center / cover no-repeat;
  pointer-events: none;
}

.is-hero .container {
  position: relative;
  z-index: 1;
}

.is-hero__eyebrow {
  border: 1px solid rgba(212, 183, 106, 0.26);
  background: rgba(12, 20, 40, 0.48);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.is-hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.is-hero__lead {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 640px;
  line-height: 1.75;
}

.is-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.is-hero__meta span {
  border: 1px solid rgba(212, 183, 106, 0.26);
  background: rgba(12, 20, 40, 0.48);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.is-hero__meta span::before {
  content: "✓ ";
  color: var(--gold-300);
}

#articles {
  padding-top: clamp(48px, 6vw, 72px);
}

.is-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.is-toolbar__count {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.is-toolbar__count strong {
  color: var(--text-primary);
}

.is-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Beat .site-root button:not(.btn) reset in styles.css */
.site-root.insights-page button.is-filter {
  border: 1px solid var(--border);
  background: var(--surface-0);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.site-root.insights-page button.is-filter:hover {
  border-color: rgba(197, 160, 89, 0.35);
  color: var(--text-primary);
}

.site-root.insights-page button.is-filter.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--text-inverse);
}

.is-filter {
  border: 1px solid var(--border);
  background: var(--surface-0);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.is-filter:hover {
  border-color: rgba(197, 160, 89, 0.35);
  color: var(--text-primary);
}

.is-filter.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--text-inverse);
}

.is-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.is-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-0);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}

.is-card:hover {
  border-color: rgba(197, 160, 89, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.is-card[hidden] {
  display: none !important;
}

.is-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.is-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease-out);
}

.is-card:hover .is-card__media img {
  transform: scale(1.06);
}

.is-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5, 10, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 5px 10px;
  backdrop-filter: blur(6px);
}

.is-card__body {
  padding: 20px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.is-card__body h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

.is-card__body h3 a {
  color: inherit;
  transition: color 0.25s;
}

.is-card__body h3 a:hover {
  color: var(--gold-600);
}

.is-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 14px;
}

.is-card__meta {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.is-card__read {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-500);
  transition: color 0.25s;
}

.is-card:hover .is-card__read {
  color: var(--gold-600);
}

.is-empty {
  display: none;
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-0);
  border: 1px dashed var(--border);
}

.is-empty.is-visible {
  display: block;
}

.is-empty p {
  color: var(--text-secondary);
  margin-top: 8px;
}

.is-inspire .inspire-grid {
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .is-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 640px) {
  .is-grid {
    grid-template-columns: 1fr;
  }

  .is-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Single article */

.insights-article-page .header.header--solid {
  background:
    linear-gradient(180deg, rgba(8, 14, 27, 0.96) 0%, rgba(7, 12, 23, 0.95) 100%);
}

.is-article-hero {
  position: relative;
  padding: calc(var(--header-h) + 44px) 0 40px;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 58%, var(--navy-700) 100%);
  color: var(--text-inverse);
  overflow: hidden;
}

.is-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 10% 20%, rgba(197, 160, 89, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 90% 80%, rgba(197, 160, 89, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.is-article-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.is-article-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.is-article-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s;
}

.is-article-hero__back:hover {
  color: var(--gold-300);
}

.is-article__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(197, 160, 89, 0.22);
  border: 1px solid rgba(212, 183, 106, 0.35);
  border-radius: var(--radius-full);
  padding: 5px 11px;
}

.is-article__tag--guides {
  background: rgba(25, 58, 92, 0.72);
  border-color: rgba(120, 170, 220, 0.25);
}

.is-article__tag--tips {
  background: rgba(92, 58, 25, 0.72);
  border-color: rgba(220, 170, 100, 0.25);
}

.is-article-hero h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 18px;
}

.is-article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.is-article-hero__meta span {
  border: 1px solid rgba(212, 183, 106, 0.24);
  background: rgba(12, 20, 40, 0.45);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.is-article {
  padding-top: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(56px, 7vw, 80px);
}

.is-article__shell {
  max-width: 1080px;
}

.is-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
}

.is-article__content {
  min-width: 0;
}

.is-article__cover-block {
  width: 100%;
  max-width: 100%;
  margin-bottom: 28px;
}

.is-article__cover {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(5, 10, 24, 0.1);
  background: var(--surface-0);
  height: clamp(180px, 28vw, 320px);
}

.is-article__cover-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(5, 10, 24, 0.2);
}

.is-article__cover-tag--standalone {
  position: static;
  display: inline-block;
  margin-bottom: 12px;
  backdrop-filter: none;
  box-shadow: none;
}

.is-article__cover-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.is-article__cover-meta--standalone {
  margin-bottom: 28px;
}

.is-article__cover-date {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
}

.is-article__cover-read {
  flex: 0 0 auto;
  margin-left: auto;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  text-align: right;
}

.is-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.is-article__sheet {
  width: 100%;
  max-width: none;
}

.is-article__lead {
  font-size: clamp(1.2rem, 2.2vw, 1.375rem);
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0 0 28px;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--gold-500);
  font-weight: 500;
}

.is-article__body {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--text-primary);
}

.is-article__body > *:first-child {
  margin-top: 0;
}

.is-article__body > *:last-child {
  margin-bottom: 0;
}

.is-article__body p {
  margin: 0 0 1.5em;
  color: var(--text-secondary);
}

.is-article__body p + p {
  margin-top: 0;
}

.is-article__body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  line-height: 1.3;
  color: var(--text-primary);
  margin: 2.25em 0 0.85em;
  letter-spacing: -0.01em;
}

.is-article__body h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 1.85em 0 0.7em;
}

.is-article__body ul,
.is-article__body ol {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
  color: var(--text-secondary);
}

.is-article__body li {
  margin-bottom: 0.55em;
}

.is-article__body li::marker {
  color: var(--gold-500);
}

.is-article__body a {
  color: var(--gold-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.is-article__body a:hover {
  color: var(--gold-500);
}

.is-article__body blockquote {
  margin: 1.75em 0;
  padding: 18px 22px;
  border-left: 3px solid var(--gold-500);
  background: rgba(197, 160, 89, 0.08);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-primary);
}

.is-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 1.75em 0;
  display: block;
}

.is-article__body .video-embed {
  position: relative;
  width: 100%;
  margin: 1.75em 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
}

.is-article__body .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.is-article__body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.is-article__empty {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  background: var(--surface-0);
  text-align: center;
}

.is-article__empty p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.is-article__footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.is-article__footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.site-root.insights-page button.is-article__share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--surface-0);
  border-radius: var(--radius-full);
  padding: 9px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.site-root.insights-page button.is-article__share-btn:hover {
  border-color: rgba(197, 160, 89, 0.35);
  color: var(--text-primary);
}

.is-article__back-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-600);
  transition: color 0.25s;
}

.is-article__back-link:hover {
  color: var(--gold-500);
}

.is-article__aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.is-article__aside-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--surface-0) 0%, rgba(197, 160, 89, 0.07) 100%);
  box-shadow: var(--shadow-sm);
}

.is-article__aside-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 10px;
}

.is-article__aside-card h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.is-article__aside-card > p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.is-article__aside-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.is-article__aside-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.is-article__aside-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-weight: 700;
}

.is-article__aside-cta {
  width: 100%;
  margin-bottom: 12px;
}

.is-article__aside-link {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-600);
  text-align: center;
}

.is-article__aside-related {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-0);
}

.is-article__aside-related-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.is-article__aside-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.is-article__aside-related li a {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 4px;
  transition: color 0.2s;
}

.is-article__aside-related li a:hover {
  color: var(--gold-600);
}

.is-article__aside-related li span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.is-article-related {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.is-article-related .is-grid {
  margin-top: 8px;
}

.is-article-cta {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .is-article__layout {
    grid-template-columns: 1fr;
  }

  .is-article__aside {
    position: static;
    order: 2;
  }

  .is-article__content {
    order: 1;
  }
}

@media (max-width: 640px) {
  .is-article-hero {
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 28px;
  }

  .is-article-hero__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .is-article__cover {
    height: clamp(160px, 42vw, 220px);
  }

  .is-article__cover-block {
    margin-bottom: 22px;
  }

  .is-article__footer-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
