/* Insights — research blog (index + article). Scoped to .insights so the shop styles are untouched. */

.insights {
  --cream: #f4efe6;
  --ink: #0c1424;
  --body: #55647a;
  --line-warm: #e6dfd0;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Montserrat", system-ui, sans-serif;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  padding: 2.75rem 0 4.5rem;
  min-height: 60vh;
}
.insights h1, .insights h2, .insights h3, .insights h4 {
  font-family: var(--serif);
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 600;
}
.insights a { color: inherit; }
.insights-wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }

/* —— Index —— */
.insights-head { text-align: left; margin-bottom: 1.75rem; }
.insights-eyebrow {
  display: inline-block; margin-bottom: 0.6rem;
  color: var(--red); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.insights-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 0.6rem; line-height: 1.1; }
.insights-head p { max-width: 38rem; margin: 0; font-size: 1.02rem; line-height: 1.65; }

.insights-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.insights-tags a {
  padding: 0.4rem 0.85rem; border: 1px solid var(--line-warm); border-radius: 999px;
  background: #fff; font-size: 0.75rem; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.insights-tags a:hover { border-color: var(--ink); }
.insights-tags a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.insight-date {
  display: block; margin-bottom: 0.65rem;
  color: var(--red); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}

.insight-feature {
  display: grid; grid-template-columns: 1.08fr 1fr; overflow: hidden;
  background: #fff; border-radius: 18px; text-decoration: none;
  box-shadow: 0 24px 60px rgba(12, 20, 36, 0.1); margin-bottom: 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.insight-feature:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(12, 20, 36, 0.14); }
.insight-feature-media { min-height: 310px; background: #000; position: relative; }
.insight-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.insight-feature-body { padding: 2.5rem 2.25rem; display: flex; flex-direction: column; justify-content: center; }
.insight-feature-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.2; margin: 0 0 1rem; }
.insight-feature-body p { font-size: 0.95rem; line-height: 1.7; margin: 0 0 1.5rem; }
.insight-more { color: var(--red); font-size: 0.8rem; font-weight: 700; }

.insight-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.insight-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 14px; text-decoration: none;
  box-shadow: 0 10px 28px rgba(12, 20, 36, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12, 20, 36, 0.12); }
.insight-card-media { aspect-ratio: 16 / 10; background: #000; position: relative; overflow: hidden; }
.insight-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.insight-card-body { padding: 1.15rem 1.15rem 1.4rem; }
.insight-card-body h3 { font-size: 1rem; line-height: 1.28; margin: 0 0 0.6rem; }
.insight-card-body p {
  margin: 0; font-size: 0.8rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* Placeholder cover when an article has no image */
.insight-cover-fallback {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 28% 42%, #1b3a7a 0%, #001F5B 42%, #00102e 100%);
}
.insight-cover-fallback::after {
  content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 2px;
  background: linear-gradient(90deg, transparent, #ff5a3c 30%, #ff9a5a 50%, #ff5a3c 70%, transparent);
  box-shadow: 0 0 14px rgba(255, 90, 60, 0.7);
}

.insights-pager { display: flex; justify-content: center; gap: 0.4rem; margin-top: 2rem; }
.insights-pager a {
  min-width: 2.25rem; padding: 0.45rem 0.75rem; text-align: center; border-radius: 8px;
  background: #fff; border: 1px solid var(--line-warm); font-weight: 600; font-size: 0.82rem; text-decoration: none; color: var(--ink);
}
.insights-pager a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.insights-note { max-width: 44rem; margin: 2.5rem auto 0; text-align: center; font-size: 0.75rem; line-height: 1.6; opacity: 0.8; }
.insights-empty { text-align: center; padding: 3rem 0; }

/* —— Article —— */
.article { max-width: 740px; margin: 0 auto; padding: 0 1.25rem; }
.article-preview {
  margin-bottom: 1.25rem; padding: 0.75rem 1rem; border-radius: 8px;
  background: #fff3cd; color: #6b4e00; font-size: 0.85rem; font-weight: 600;
}
.article-preview a { text-decoration: underline; margin-left: 0.5rem; }
.article-crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.7rem; margin-bottom: 1.5rem; }
.article-crumbs a { text-decoration: none; }
.article-crumbs a:hover { color: var(--red); }
.article-meta {
  margin: 0 0 0.6rem; color: var(--red); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.article h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; margin: 0 0 1rem; }
.article-tags { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.article-tags a {
  display: inline-block; padding: 0.25rem 0.65rem; border-radius: 999px;
  background: #e9e3d6; color: #4a5568; font-size: 0.66rem; font-weight: 600; text-decoration: none;
}
.article-tags a:hover { background: #ded6c4; }
.article-cover { margin: 0 0 1.75rem; }
.article-cover img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 14px; display: block; }

/* Images inside article content: fluid, keep aspect ratio (width/height attributes must not distort) */
.article-body img {
  display: block; max-width: 100%; height: auto; margin: 1.75rem auto;
  border-radius: 12px; box-shadow: 0 10px 28px rgba(12, 20, 36, 0.1);
}
.article-body figure { margin: 1.75rem 0; max-width: 100%; }
.article-body figure img { margin: 0 auto; }
.article-body figcaption { margin-top: 0.6rem; font-size: 0.78rem; line-height: 1.5; text-align: center; color: var(--body); }
.article-body p > img:only-child { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; }
.article-body iframe, .article-body video { max-width: 100%; }
.article-body { overflow-wrap: break-word; }

.article-body { font-size: 0.98rem; line-height: 1.8; }
.article-body p { margin: 0 0 1.15rem; }
.article-body h2 { font-size: 1.5rem; margin: 2.25rem 0 0.7rem; }
.article-body h3 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; }
.article-body h4 { font-size: 1.02rem; margin: 1.4rem 0 0.4rem; }
.article-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.article-body ul, .article-body ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote {
  margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1.1rem; border-left: 3px solid var(--red);
  font-family: var(--serif); font-size: 1.1rem; color: var(--ink);
}
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.86rem; background: #fff; }
.article-body th, .article-body td { padding: 0.6rem 0.75rem; border: 1px solid var(--line-warm); text-align: left; vertical-align: top; }
.article-body th { background: #efe9dc; color: var(--ink); }
.article-body hr { border: 0; border-top: 1px solid var(--line-warm); margin: 2rem 0; }
.article-body .callout, .article-callout {
  margin: 1.75rem 0; padding: 1.1rem 1.3rem; border-radius: 10px;
  background: #0d1527; color: #dfe6f3; font-size: 0.86rem; line-height: 1.65;
}
.article-callout strong, .article-body .callout strong { color: #fff; }
.article-refs { font-size: 0.82rem; line-height: 1.6; padding-left: 1.3rem; }
.article-refs li { margin-bottom: 0.5rem; }

.article-related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-warm); }
.article-related h2 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.article-related-note { margin: 0 0 1.25rem; font-size: 0.78rem; color: var(--body); }
.more-reading { margin-top: 4rem; }
.more-reading h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }

/* —— V1.2: categories, standardized sections, sources —— */
.insights-categories { margin-bottom: 0.75rem; align-items: center; }
.insights-tags-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--body); margin: 0 0.1rem 0 0.6rem; }
.insights-tags a small { font-weight: 500; opacity: 0.7; margin-left: 0.2rem; }
.article-standfirst { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; color: #3b4658; margin: 0 0 1.25rem; }
.article-tags a.is-category { background: var(--ink); color: #fff; }
.article-tags a.is-category:hover { background: #22304a; }
.article-toc { margin: 0 0 2rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--line-warm); border-radius: 12px; font-size: 0.85rem; }
.article-toc strong { display: block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.article-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.article-toc li { margin-bottom: 0.3rem; break-inside: avoid; }
.article-toc a { color: var(--ink); text-decoration: none; }
.article-toc a:hover { color: var(--red); text-decoration: underline; }
.article-section { scroll-margin-top: 90px; }
.article-section h2 { padding-top: 0.25rem; }
.article-sources-title { font-size: 1rem; margin: 1.5rem 0 0.5rem; }
.article-sources { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.4rem; font-size: 0.86rem; }
.article-sources a { color: var(--red); text-decoration: underline; }
@media (max-width: 640px) { .article-toc ol { columns: 1; } }

@media (max-width: 860px) {
  .insight-feature { grid-template-columns: 1fr; }
  .insight-feature-media { min-height: 220px; }
  .insight-feature-body { padding: 1.75rem 1.5rem; }
}
