/* ════════════════════════════════════════════════════════════════
   Segment8 Press Theme — Pure CSS
   Converts React+Tailwind design to standalone CSS
   ════════════════════════════════════════════════════════════ */

/* ── Reset & Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #111827;
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Container ───────────────────────────────────────────────── */
.container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════ */
.navbar-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  z-index: 50;
}

.navbar {
  background: #fff;
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  height: 64px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

@media (min-width: 1024px) {
  .navbar {
    height: 72px;
  }
}

.navbar-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .navbar-container {
    padding: 0 3rem;
  }
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 3rem;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar-brand {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.brand-accent {
  color: #7c3aed;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  height: 100%;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
}

.navbar-link {
  font-family: 'Ubuntu', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
  height: 100%;
  text-decoration: none;
}

.navbar-link:hover {
  color: #111827;
}

.navbar-link.active {
  color: #7c3aed;
}

.chevron-icon {
  width: 12px;
  height: 12px;
}

/* Resources dropdown */
.navbar-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar-dropdown-trigger {
  font-family: 'Ubuntu', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
  height: 100%;
  cursor: pointer;
  outline: none;
}

.navbar-dropdown-trigger:hover {
  color: #111827;
}

.navbar-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  border-radius: 12px;
  border: 1px solid rgba(229, 231, 235, 0.6);
  background: #fff;
  box-shadow: 0 4px 24px -6px rgba(0, 0, 0, 0.08);
  padding: 6px;
  z-index: 100;
}

.navbar-dropdown-content.open {
  display: block;
}

.dropdown-label {
  padding: 8px 12px 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s;
  text-decoration: none;
}

.dropdown-item:hover {
  background: #f8f9fb;
}

.dropdown-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.dropdown-item-desc {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

/* Navbar right */
.navbar-right {
  display: none;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

@media (min-width: 768px) {
  .navbar-right {
    display: flex;
  }
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: block;
  padding: 0.5rem;
  color: #111827;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.menu-icon,
.close-icon {
  width: 20px;
  height: 20px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  z-index: 50;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-link {
  display: block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  padding: 0.625rem 0;
  text-decoration: none;
}

.mobile-link-muted {
  color: #6b7280;
}

.mobile-resources {
  padding-top: 0.25rem;
}

.mobile-resources-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.mobile-auth {
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  margin-top: 0.75rem;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.875rem 1.75rem;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s;
  text-decoration: none;
  gap: 0.5rem;
}

.btn-secondary {
  background: #fff;
  color: #111827;
  border: 1px solid rgba(229, 231, 235, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: rgba(209, 213, 219, 0.6);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-violet {
  background: #7c3aed;
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-violet:hover {
  background: #6d28d9;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.arrow-icon {
  width: 16px;
  height: 16px;
}

.arrow-icon-sm {
  width: 14px;
  height: 14px;
  opacity: 0.4;
}

/* ════════════════════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-stripes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: skewY(-12deg);
  transform-origin: 0;
}

.hero-stripe {
  position: absolute;
  display: none;
}

@media (min-width: 768px) {
  .hero-stripe {
    display: block;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1520px;
  margin: 0 auto;
  padding: 7rem 1.5rem 4rem;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 10rem 3rem 6rem;
  }
}

.article-hero-content {
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .article-hero-content {
    padding-top: 9rem;
    padding-bottom: 4rem;
  }
}

.hero-text {
  max-width: 48rem;
}

.hero-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 4rem;
  }
}

.article-title {
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  .article-title {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .article-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-link {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.hero-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Back link (article page) */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  transition: color 0.2s;
  text-decoration: none;
}

.back-link:hover {
  color: #fff;
}

.back-chevron {
  width: 16px;
  height: 16px;
}

/* Article meta row */
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.article-category-pill {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.article-date-light {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.article-reading-time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.clock-icon {
  width: 12px;
  height: 12px;
}

/* Article hero image */
.article-hero-image-wrapper {
  position: relative;
  z-index: 10;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .article-hero-image-wrapper {
    padding: 0 3rem;
  }
}

.article-hero-image-inner {
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 40px -12px rgba(20, 48, 89, 0.12);
}

.article-hero-image {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
}

/* ════════════════════════════════════════════════════════════════
   SERIES SECTION
   ════════════════════════════════════════════════════════════ */
.series-section {
  padding: 5rem 0 5rem;
  background: #fff;
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

@media (min-width: 1024px) {
  .series-section {
    padding: 7rem 0 7rem;
  }
}

.series-header {
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .series-header {
    margin-bottom: 4rem;
  }
}

.series-eyebrow {
  display: block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7c3aed;
  margin-bottom: 0.75rem;
}

.series-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #111827;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .series-title {
    font-size: 2.25rem;
  }
}

.series-description {
  font-size: 1rem;
  line-height: 1.75;
  color: #6b7280;
  max-width: 42rem;
}

@media (min-width: 1024px) {
  .series-description {
    font-size: 1.125rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   CARD GRID
   ════════════════════════════════════════════════════════════ */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ── Series Cards ────────────────────────────────────────────── */
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s;
}

.series-card {
  border: 1px solid rgba(229, 231, 235, 0.6);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  background: #fff;
  height: 100%;
}

.series-card:hover {
  box-shadow: 0 4px 24px -6px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-image-wrapper {
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card-image {
  transform: scale(1.03);
}

.card-series-label-wrapper {
  padding: 1rem 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-series-label {
  font-family: 'Ubuntu', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a78bfa;
}

.card-body {
  padding: 0.75rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #111827;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

@media (min-width: 1024px) {
  .card-title {
    font-size: 1.2rem;
  }
}

.card:hover .card-title {
  color: #7c3aed;
}

.card-excerpt {
  font-size: 13px;
  line-height: 1.75;
  color: #6b7280;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.card-date {
  font-size: 12px;
  color: #9ca3af;
}

.card-read-link {
  font-size: 13px;
  font-weight: 600;
  color: #7c3aed;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.card:hover .card-read-link {
  gap: 12px;
}

/* ── Blogroll Cards ──────────────────────────────────────────── */
.blogroll-section {
  padding: 6rem 0 6rem;
  background: #fff;
}

@media (min-width: 1024px) {
  .blogroll-section {
    padding: 9rem 0 9rem;
  }
}

.blogroll-card {
  box-shadow: 0 4px 24px -6px rgba(20, 48, 89, 0.1);
  transition: all 0.3s;
}

.blogroll-card:hover {
  box-shadow: 0 16px 50px -10px rgba(20, 48, 89, 0.18);
}

.card-body-blogroll {
  background: #fff;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .card-body-blogroll {
    padding: 2rem;
  }
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.card-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  background: #f8f9fb;
  color: #6b7280;
}

.card-title-lg {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #111827;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

@media (min-width: 1024px) {
  .card-title-lg {
    font-size: 1.4rem;
  }
}

.card:hover .card-title-lg {
  color: #7c3aed;
}

.card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #7c3aed;
  font-size: 14px;
  font-weight: 600;
  margin-top: 1rem;
  transition: gap 0.3s;
}

.card:hover .card-read-more {
  gap: 0.75rem;
}

.no-articles {
  text-align: center;
  font-size: 1.125rem;
  color: #6b7280;
}

/* ════════════════════════════════════════════════════════════════
   ARTICLE BODY
   ════════════════════════════════════════════════════════════ */
.article-body-section {
  padding: 4rem 0 4rem;
  background: #fff;
}

@media (min-width: 1024px) {
  .article-body-section {
    padding: 6rem 0 6rem;
  }
}

.article-body-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .article-body-container {
    padding: 0 3rem;
  }
}

/* Author byline */
.author-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.author-role {
  font-size: 11px;
  color: #94a3b8;
}

/* Share bar */
.share-bar {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  text-decoration: none;
}

.share-btn:hover {
  background: #f3f4f6;
}

.share-icon {
  width: 14px;
  height: 14px;
  color: #111827;
}

.all-articles-link {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  transition: color 0.2s;
  text-decoration: none;
}

.all-articles-link:hover {
  color: #7c3aed;
}

/* ── Previous / Next Navigation ──────────────────────────────── */
.prev-next-section {
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.prev-next-container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

@media (min-width: 1024px) {
  .prev-next-container {
    padding: 3rem;
  }
}

.prev-next-grid {
  display: grid;
  gap: 2rem;
}

.prev-next-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.prev-next-link {
  display: block;
  text-decoration: none;
}

.prev-next-link:hover .prev-next-title {
  color: #7c3aed;
}

.prev-next-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.prev-chevron,
.next-chevron {
  width: 12px;
  height: 12px;
  display: inline;
  vertical-align: middle;
}

.prev-chevron {
  margin-right: 4px;
}

.next-chevron {
  margin-left: 4px;
}

.prev-next-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #111827;
  transition: color 0.2s;
}

.text-right {
  text-align: right;
}

/* ════════════════════════════════════════════════════════════════
   PROSE (Article Markdown Content)
   ════════════════════════════════════════════════════════════ */
.prose-segment8 h2 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  color: #111827;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose-segment8 h3 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  color: #111827;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-segment8 p {
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.prose-segment8 strong {
  color: #111827;
  font-weight: 700;
}

.prose-segment8 em {
  font-style: italic;
}

.prose-segment8 ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.prose-segment8 li {
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.8;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.prose-segment8 li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7c3aed;
  position: absolute;
  left: 0;
  top: 0.7em;
}

.prose-segment8 a {
  color: #7c3aed;
  text-decoration: none;
  font-weight: 500;
}

.prose-segment8 a:hover {
  text-decoration: underline;
}

.prose-segment8 blockquote {
  border-left: 3px solid #7c3aed;
  padding: 0.75rem 1.5rem;
  margin: 1.5rem 0;
  background: #f8faff;
  border-radius: 0 12px 12px 0;
}

.prose-segment8 blockquote p {
  color: #111827;
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.prose-segment8 .pullquote {
  text-align: center;
  margin: 2.5rem 0;
  padding: 2.5rem 2rem;
  background: #f8f9fb;
  border-top: 3px solid #7c3aed;
  border-bottom: 3px solid #7c3aed;
  border-left: none;
  border-radius: 0;
}

.prose-segment8 .pullquote strong {
  display: block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #7c3aed;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.prose-segment8 .pullquote em {
  font-style: normal;
  display: block;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #111827;
  font-weight: 500;
  max-width: 32rem;
  margin: 0 auto;
}

.prose-segment8 .pullquote p {
  color: #64748b;
  font-size: 0.8125rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-style: normal;
}

.prose-segment8 hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2.5rem 0;
}

.prose-segment8 figure {
  margin: 2rem 0;
}

.prose-segment8 figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.prose-segment8 figure figcaption {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  text-align: center;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #1f2937;
  background: linear-gradient(150deg, #1a1a2e 15%, #16213e 70%, #0f3460 94%);
}

.footer-stripes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: skewY(-12deg);
  transform-origin: 0;
}

.stripe {
  position: absolute;
  display: none;
}

@media (min-width: 768px) {
  .stripe {
    display: block;
  }
}

.stripe-1 { width: 33.33333%; left: -16.66666%; top: 0; height: 190px; background: #12121f; }
.stripe-2 { width: 33.33333%; top: 0; left: 16.66666%; height: 190px; background: #151528; }
.stripe-3 { width: 33.33333%; left: 49.99999%; top: 0; height: 190px; background: #181832; }
.stripe-4 { width: 33.33333%; top: 380px; right: -16.66666%; height: 190px; background: #1a1f3a; }
.stripe-5 { width: 33.33333%; bottom: 0; height: 190px; background: #142850; }

.footer-inner {
  padding: 5rem 0 5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .footer-inner {
    padding: 6rem 0 6rem;
  }
}

.footer-container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .footer-container {
    padding: 0 3rem;
  }
}

/* Tier 1: Brand + CTA */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer-brand-name {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer-brand-accent {
  color: #a78bfa;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 48rem;
}

@media (min-width: 1024px) {
  .footer-tagline {
    font-size: 1.125rem;
  }
}

.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

/* Tier 2: Capabilities */
.footer-capabilities {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a78bfa;
  margin-bottom: 1.5rem;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .capabilities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.capability-link {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  text-decoration: none;
}

.capability-link:hover {
  color: #fff;
}

.capabilities-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-subtle-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-subtle-link:hover {
  color: #fff;
}

/* Tier 3: Supporting columns */
.footer-columns {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column-title {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.footer-column-title-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-column-title-link:hover {
  color: #a78bfa;
}

.footer-arrow {
  color: #a78bfa;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
}

/* Tier 4: Legal */
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about-block {
  max-width: 64rem;
}

.footer-about-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.75rem;
}

.footer-about-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.75;
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .footer-bottom-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social-link {
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
}

.footer-social-link:hover {
  color: #a78bfa;
}

.linkedin-icon {
  width: 20px;
  height: 20px;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ════════════════════════════════════════════════════════════════
   BLOG EXTENSIONS — Homepage, Categories, Pagination
   ════════════════════════════════════════════════════════════ */

/* ── Blog Hero (smaller variant for inner pages) ────────────── */
.blog-hero {
  padding-top: 6rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .blog-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
}

.blog-hero .hero-content {
  padding-top: 6rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .blog-hero .hero-content {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
}

/* ── Post Cards (homepage/category grids) ───────────────────── */
.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s;
  border-radius: 12px;
  border: 1px solid rgba(229, 231, 235, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  background: #fff;
  height: 100%;
}

.post-card:hover {
  box-shadow: 0 4px 24px -6px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.post-card-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.post-card:hover .post-card-image img {
  transform: scale(1.03);
}

.post-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .post-card-body {
    padding: 1.5rem 1.75rem 2rem;
  }
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.post-card-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  background: #f8f9fb;
  color: #7c3aed;
  border-radius: 4px;
}

.post-card-date {
  font-size: 12px;
  color: #9ca3af;
}

.post-card-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #111827;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

@media (min-width: 1024px) {
  .post-card-title {
    font-size: 1.25rem;
  }
}

.post-card:hover .post-card-title {
  color: #7c3aed;
}

.post-card-excerpt {
  font-size: 13px;
  line-height: 1.75;
  color: #6b7280;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.post-card-readtime {
  font-size: 12px;
  color: #9ca3af;
}

.post-card-read-link {
  font-size: 13px;
  font-weight: 600;
  color: #7c3aed;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.post-card:hover .post-card-read-link {
  gap: 12px;
}

/* ── Featured Post (first post on homepage) ─────────────────── */
.featured-post {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

@media (min-width: 768px) {
  .featured-post {
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
  }
}

.featured-post-image {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.featured-post:hover .featured-post-image img {
  transform: scale(1.02);
}

.featured-post-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

@media (min-width: 1024px) {
  .featured-post-title {
    font-size: 2rem;
  }
}

.featured-post:hover .featured-post-title {
  color: #7c3aed;
}

.featured-post-excerpt {
  font-size: 1rem;
  line-height: 1.75;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

/* ── Section Headers ────────────────────────────────────────── */
.section-header {
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .section-header {
    margin-bottom: 3.5rem;
  }
}

.section-eyebrow {
  display: block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7c3aed;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #111827;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-description {
  font-size: 1rem;
  line-height: 1.75;
  color: #6b7280;
  max-width: 42rem;
  margin-top: 1rem;
}

/* ── Blog Sections ──────────────────────────────────────────── */
.blog-section {
  padding: 4rem 0;
  background: #fff;
}

@media (min-width: 1024px) {
  .blog-section {
    padding: 5rem 0;
  }
}

.blog-section-alt {
  padding: 4rem 0;
  background: #f9fafb;
  border-top: 1px solid rgba(229, 231, 235, 0.6);
}

@media (min-width: 1024px) {
  .blog-section-alt {
    padding: 5rem 0;
  }
}

/* ── Pagination ─────────────────────────────────────────────── */
.pagination {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(229, 231, 235, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  transition: color 0.2s;
  text-decoration: none;
}

.pagination-link:hover {
  color: #7c3aed;
}

.pagination-link svg {
  width: 16px;
  height: 16px;
}

.pagination-numbers {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .pagination-numbers {
    display: flex;
  }
}

.pagination-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #6b7280;
  border-radius: 50%;
  transition: all 0.2s;
  text-decoration: none;
}

.pagination-number:hover {
  color: #7c3aed;
  background: #faf5ff;
}

.pagination-number.active {
  color: #7c3aed;
  background: #faf5ff;
  font-weight: 600;
}

.pagination-ellipsis {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #9ca3af;
}

.pagination-mobile {
  font-size: 14px;
  color: #6b7280;
}

@media (min-width: 640px) {
  .pagination-mobile {
    display: none;
  }
}

/* ── Category Pills ─────────────────────────────────────────── */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  background: #f8f9fb;
  border-radius: 9999px;
  transition: all 0.2s;
  text-decoration: none;
}

.category-pill:hover {
  color: #7c3aed;
  background: #faf5ff;
}

.category-pill-count {
  font-size: 12px;
  color: #9ca3af;
}

/* ── Category Cards ─────────────────────────────────────────── */
.category-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid rgba(229, 231, 235, 0.6);
  border-radius: 12px;
  transition: all 0.2s;
  text-decoration: none;
}

.category-card:hover {
  border-color: #7c3aed;
  box-shadow: 0 2px 12px -4px rgba(124, 58, 237, 0.1);
}

.category-card-count {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.category-card-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.category-card:hover .category-card-title {
  color: #7c3aed;
}

.category-card-description {
  font-size: 13px;
  line-height: 1.75;
  color: #6b7280;
}

/* ── Pillar Cards ───────────────────────────────────────────── */
.pillar-card {
  display: block;
  text-decoration: none;
  transition: all 0.2s;
}

.pillar-card-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  color: #111827;
  transition: color 0.2s;
}

.pillar-card:hover .pillar-card-title {
  color: #7c3aed;
}

.pillar-card-description {
  font-size: 14px;
  line-height: 1.75;
  color: #6b7280;
  margin-top: 0.5rem;
}

.pillar-card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: #7c3aed;
}

/* ── Article CTA Block ──────────────────────────────────────── */
.article-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: #f9fafb;
  border: 1px solid rgba(229, 231, 235, 0.6);
  border-radius: 12px;
}

@media (min-width: 1024px) {
  .article-cta {
    padding: 2.5rem;
  }
}

.article-cta-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.article-cta-text {
  font-size: 14px;
  line-height: 1.75;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

/* ── Related Posts ───────────────────────────────────────────── */
.related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.related-posts-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
}

.related-post-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  text-decoration: none;
  transition: all 0.2s;
}

.related-post-link:hover .related-post-title {
  color: #111827;
}

.related-post-arrow {
  color: #7c3aed;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.related-post-link:hover .related-post-arrow {
  transform: translateX(4px);
}

.related-post-title {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  transition: color 0.2s;
}

/* ── Author Card ────────────────────────────────────────────── */
.author-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.author-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-card-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111827;
  flex-shrink: 0;
}

.author-card-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.author-card-role {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 2px;
}

.author-card-bio {
  font-size: 14px;
  line-height: 1.75;
  color: #6b7280;
  margin-top: 0.5rem;
}

.author-card-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #7c3aed;
  margin-top: 0.5rem;
  transition: color 0.2s;
  text-decoration: none;
}

.author-card-linkedin:hover {
  color: #6d28d9;
}

/* ── Back Link ──────────────────────────────────────────────── */
.back-to-all {
  display: block;
  margin-top: 2.5rem;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.back-to-all:hover {
  color: #111827;
}

/* ── Utility: body padding for fixed navbar ─────────────────── */
body {
  padding-top: 64px;
}

@media (min-width: 1024px) {
  body {
    padding-top: 72px;
  }
}
