/* Long-form insight article (blog) — SeamlessHR-style readable layout; future: PocketBase body HTML */

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blue);
  padding: 4px;
}

.nav-inner {
  position: relative;
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-inner .nav-links {
    display: none !important;
  }

  .nav-inner .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 16px;
    z-index: 300;
    box-shadow: var(--shadow);
  }
}

.insight-article-page {
  background: #fafbfc;
}

.insight-article-hero .container {
  max-width: none;
  width: 100%;
  padding: 0;
}

.insight-article-hero .about-hero-inner {
  position: relative;
  max-width: none;
  width: 100%;
  padding: 0 48px;
}

.insight-hero-kicker {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 0 48px;
  pointer-events: none;
}

.insight-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  pointer-events: auto;
  transition: color 0.2s, transform 0.2s;
}

.insight-back:hover {
  color: #fff;
  transform: translateX(-3px);
}

.insight-cat {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

.insight-article-hero time {
  display: inline;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.66);
  margin: 0 0 0 auto;
}

.insight-article-title {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.insight-hero-dek.about-hero-p {
  margin-top: 20px;
  margin-bottom: 0;
  max-width: none;
}

.insight-cover {
  display: none;
}

.insight-cover img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 20px 50px rgba(11, 43, 92, 0.1);
}

.insight-cover--placeholder {
  height: 280px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11, 43, 92, 0.85), rgba(30, 86, 168, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
}

.insight-prose {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: var(--section-y) 64px var(--section-y-lg);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
}

.insight-prose > p {
  margin-bottom: 1.25em;
  color: var(--text);
}

.insight-prose > p:first-of-type {
  font-size: 1.08rem;
  color: #243652;
}

.insight-prose h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 600;
  margin: 2.2em 0 0.9em;
  line-height: 1.2;
  color: var(--text);
}

.insight-prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.6em 0 0.65em;
  color: var(--blue-mid);
}

.insight-prose ul,
.insight-prose ol {
  margin: 1em 0 1.25em 1.2em;
}

.insight-prose li {
  margin-bottom: 0.5em;
}

.insight-prose strong {
  font-weight: 600;
  color: #1a2942;
}

.insight-prose blockquote {
  margin: 1.25em 0;
  padding: 0.75em 1em;
  border-left: 3px solid var(--gold, #c8922a);
  color: var(--muted);
  background: #f8fafc;
  border-radius: 0 8px 8px 0;
}

.insight-prose u {
  text-underline-offset: 2px;
}

.insight-prose::after {
  content: "";
  display: table;
  clear: both;
}

.insight-prose img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.75rem auto;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(11, 43, 92, 0.1);
}

.insight-prose figure {
  margin: 1.75rem 0;
  clear: both;
}

.insight-prose figure img {
  margin: 0 auto;
}

.insight-prose figure.img-medium,
.insight-prose img.img-medium {
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.insight-prose figure.img-small,
.insight-prose img.img-small {
  max-width: 55%;
  margin-left: auto;
  margin-right: auto;
}

.insight-prose figure.img-full,
.insight-prose img.img-full {
  max-width: 100%;
}

.insight-prose figure.align-left,
.insight-prose img.align-left {
  float: left;
  max-width: 45%;
  margin: 0 1.25rem 1rem 0;
}

.insight-prose figure.align-right,
.insight-prose img.align-right {
  float: right;
  max-width: 45%;
  margin: 0 0 1rem 1.25rem;
}

.insight-prose figure.align-center,
.insight-prose img.align-center {
  margin-left: auto;
  margin-right: auto;
}

.insight-prose figcaption {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.insight-table-wrap {
  overflow-x: auto;
  margin: 2em 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(11, 43, 92, 0.06);
}

.insight-prose table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  font-size: 0.92rem;
}

.insight-prose th,
.insight-prose td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.insight-prose th {
  background: rgba(11, 43, 92, 0.06);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

.insight-prose tr:last-child td {
  border-bottom: none;
}

.insight-prose tr:hover td {
  background: rgba(200, 146, 42, 0.04);
}

.insight-faq-block {
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

.insight-faq-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

.insight-faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.insight-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  background: #fff;
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s;
}

.insight-faq-q:hover {
  background: var(--off-white);
}

.insight-faq-q svg {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.insight-faq-item.is-open .insight-faq-q svg {
  transform: rotate(180deg);
}

.insight-faq-a {
  padding: 0 18px 16px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  display: none;
}

.insight-faq-item.is-open .insight-faq-a {
  display: block;
}

.insight-related {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 56px 24px 72px;
}

.insight-related h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 28px;
  color: var(--text);
}

.insight-related-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.insight-related-card {
  display: block;
  padding: 22px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fafbfc;
  transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}

.insight-related-card:hover {
  border-color: rgba(228, 85, 85, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(11, 43, 92, 0.08);
}

.insight-related-card span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.insight-related-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  margin-top: 10px;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 768px) {
  .insight-article-hero .about-hero-inner,
  .insight-hero-kicker,
  .insight-prose {
    padding-left: 20px;
    padding-right: 20px;
  }

  .insight-cat {
    position: static;
    transform: none;
  }
}
