/* ============================================
   BLOG BREADCRUMB
============================================ */
.case-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.65);
  color: rgba(15,44,74,0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.case-breadcrumb a {
  color: var(--text-dark);
  text-decoration: none;
}

.case-breadcrumb a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .case-breadcrumb {
    font-size: 0.72rem;
    gap: 6px;
    padding: 6px 12px;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .case-breadcrumb > * { flex: 0 0 auto; }
  .case-breadcrumb::-webkit-scrollbar { display: none; }
}

/* ============================================
   BLOG HUB + BLOG POST
============================================ */
.blog-hub-section {
  background: var(--sky-pale);
  padding-top: clamp(18px, 4vh, 36px);
}

.blog-folder {
  max-width: 100%;
  margin-top: 12px;
}

.blog-folder .sky-folder__back {
  min-height: auto;
  padding: 26px;
}

.blog-hub-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blog-hub-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(20, 100, 187, 0.12);
  box-shadow: 0 8px 24px rgba(15, 44, 74, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 44, 74, 0.1);
}

.blog-hub-card__link {
  height: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 20px 18px;
}

.blog-hub-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.blog-hub-card__tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #054b95;
  background: rgba(126, 200, 227, 0.22);
  border: 1px solid rgba(20, 100, 187, 0.2);
}

.blog-hub-card__date {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(20, 100, 187, 0.14);
}

.blog-hub-card h3 {
  margin: 0 0 8px;
  font-family: "acumin-pro", "Outfit", sans-serif;
  color: var(--text-dark);
  font-size: 1.02rem;
  line-height: 1.35;
}

.blog-hub-card p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.62;
}

.blog-hub-card__cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--green-cta);
}

.blog-hub-card__cta::after {
  content: '→';
  transition: transform 0.2s ease;
}

.blog-hub-card:hover .blog-hub-card__cta::after {
  transform: translateX(3px);
}

.blog-hub-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 18px;
  border: 2px dashed rgba(20, 100, 187, 0.24);
  background: rgba(255, 255, 255, 0.56);
  text-align: center;
  font-weight: 700;
  color: var(--text-light);
}

.blog-post-hero__meta {
  margin-top: 16px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.blog-post-hero__meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.64);
}

.blog-post-content {
  background: var(--sky-pale);
  padding-top: clamp(40px, 8vh, 72px);
}

.blog-article__shell {
  position: relative;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(20, 100, 187, 0.12);
  box-shadow: 0 12px 36px rgba(15, 44, 74, 0.08);
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
}

.blog-article__shell::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 2px dashed rgba(20, 100, 187, 0.2);
  pointer-events: none;
}

.blog-article__prose {
  position: relative;
  z-index: 1;
  color: var(--text-dark);
}

.blog-article__prose > :first-child {
  margin-top: 0;
}

.blog-article__prose h2,
.blog-article__prose h3,
.blog-article__prose h4 {
  font-family: "acumin-pro", "Outfit", sans-serif;
  color: var(--text-dark);
  margin: 22px 0 10px;
  line-height: 1.25;
}

.blog-article__prose h2 {
  font-size: 1.5rem;
}

.blog-article__prose h3 {
  font-size: 1.22rem;
}

.blog-article__prose p {
  margin: 0 0 10px;
  color: #314b68;
  line-height: 1.72;
  font-size: 0.98rem;
}

.blog-article__prose ul,
.blog-article__prose ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

.blog-article__prose li {
  color: #314b68;
  margin-bottom: 8px;
  line-height: 1.65;
}

.blog-article__prose a {
  color: var(--green-cta);
  text-decoration: underline;
}

.blog-article__prose blockquote {
  margin: 16px 0;
  padding: 12px 14px;
  border-left: 4px solid rgba(20, 100, 187, 0.4);
  border-radius: 12px;
  background: rgba(126, 200, 227, 0.12);
  color: var(--text-dark);
}

.blog-article__prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 14px auto;
  border-radius: 12px;
}

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

@media (max-width: 760px) {
  .blog-folder .sky-folder__back {
    padding: 18px;
  }

  .blog-hub-grid {
    grid-template-columns: 1fr;
  }
}
