/* Blog-hub-only editorial styling. Content, links, and application logic are untouched. */

.blog-hub-page {
  background: #f4f7fa;
}

.blog-hub-page .blog-hub-hero {
  padding: 48px 0 42px;
  border-bottom: 1px solid #b9ccdc;
  background: #edf4f9;
}

.blog-hub-page .blog-hub-hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.72fr);
  gap: 42px;
}

.blog-hub-page .blog-hub-hero h1 {
  max-width: 820px;
  margin: 13px 0 16px;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.blog-hub-page .blog-hub-hero p {
  max-width: 760px;
  font-size: 1rem;
}

.blog-hub-page .blog-pill,
.blog-hub-page .blog-tag {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #285f8d;
  background: transparent;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.blog-hub-page .blog-pill.green,
.blog-hub-page .blog-tag.green {
  color: #087a45;
  background: transparent;
}

.blog-hub-page .blog-feature-panel {
  padding: 25px 26px 26px;
  border: 1px solid #b8d3c5;
  border-left: 6px solid #16a34a;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 35, 71, 0.08);
}

.blog-hub-page .blog-feature-panel h2 {
  margin: 12px 0 10px;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.blog-hub-page .blog-feature-panel p {
  margin: 0 0 18px;
  line-height: 1.6;
}

.blog-hub-page .blog-primary-link,
.blog-hub-page .blog-secondary-link,
.blog-hub-page .blog-card a,
.blog-hub-page .blog-feature-card a {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 6px;
  box-shadow: none;
}

.blog-hub-page .blog-primary-link,
.blog-hub-page .blog-feature-card a {
  color: #ffffff;
  background: #145da0;
}

.blog-hub-page .blog-primary-link:hover,
.blog-hub-page .blog-feature-card a:hover {
  background: #0f487d;
}

.blog-hub-page .blog-secondary-link,
.blog-hub-page .blog-card a {
  border: 1px solid #b9ccdc;
  color: #174f7f;
  background: #ffffff;
}

.blog-hub-page .blog-main > section {
  padding: 48px 0;
  border-bottom: 1px solid #d5e0e8;
  background: #ffffff;
}

.blog-hub-page .blog-main > section:nth-of-type(2) {
  background: #123a61;
}

.blog-hub-page .blog-main > section:nth-of-type(3) {
  background: #f1f5f8;
}

.blog-hub-page .blog-main > section:nth-of-type(4) {
  padding-bottom: 52px;
  border-bottom: 0;
  background: #ffffff;
}

.blog-hub-page .blog-section-title {
  align-items: start;
  margin-bottom: 26px;
  padding-bottom: 17px;
  border-bottom: 2px solid #d5e0e8;
}

.blog-hub-page .blog-section-title h2 {
  margin-top: 7px;
  letter-spacing: 0;
}

.blog-hub-page .blog-section-title p {
  color: #52677d;
}

.blog-hub-page .blog-feature-layout {
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  gap: 22px;
}

.blog-hub-page .blog-feature-card,
.blog-hub-page .blog-card,
.blog-hub-page .blog-principle-card,
.blog-hub-page .blog-cta-box {
  overflow: visible;
  border: 1px solid #cbd8e2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 35, 71, 0.06);
  transition: none;
}

.blog-hub-page .blog-card-premium::before {
  display: none;
}

.blog-hub-page .blog-card-premium:hover {
  transform: none;
  box-shadow: 0 8px 22px rgba(15, 35, 71, 0.06);
}

.blog-hub-page .blog-feature-card {
  padding: 30px;
  border-top: 5px solid #16a34a;
}

.blog-hub-page .blog-feature-card h3 {
  margin: 13px 0;
  letter-spacing: 0;
}

.blog-hub-page .blog-side-stack {
  gap: 14px;
}

.blog-hub-page .blog-side-stack .blog-card {
  padding: 22px 23px;
  border-left: 4px solid #78aaca;
}

.blog-hub-page .blog-side-stack .blog-card:last-child {
  border-left-color: #16a34a;
}

.blog-hub-page .blog-icon {
  display: inline-flex;
  width: auto;
  height: auto;
  margin: 0 0 10px;
  border-radius: 0;
  color: #145da0;
  background: transparent;
  font-size: 0.82rem;
}

.blog-hub-page .blog-band .blog-section-title {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.blog-hub-page .blog-band .blog-pill {
  color: #a8d8bb;
  background: transparent;
  border: 0;
}

.blog-hub-page .blog-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #ffffff;
}

.blog-hub-page .blog-card-grid .blog-card {
  min-height: 235px;
  padding: 25px;
  border: 0;
  border-right: 1px solid #d5e0e8;
  border-bottom: 1px solid #d5e0e8;
  border-radius: 0;
  box-shadow: none;
}

.blog-hub-page .blog-card-grid .blog-card:nth-child(2n) {
  border-right: 0;
}

.blog-hub-page .blog-card-grid .blog-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.blog-hub-page .blog-card-grid .blog-card h3 {
  min-height: 0;
  margin: 10px 0 9px;
  letter-spacing: 0;
}

.blog-hub-page .blog-card-grid .blog-card a {
  min-height: auto;
  margin-top: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #145da0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-hub-page .blog-tag {
  color: #52677d;
}

.blog-hub-page .blog-principle-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #cbd8e2;
}

.blog-hub-page .blog-principle-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 30px;
  align-items: baseline;
  padding: 20px 4px;
  border: 0;
  border-bottom: 1px solid #cbd8e2;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.blog-hub-page .blog-principle-card h3,
.blog-hub-page .blog-principle-card p {
  margin: 0;
  letter-spacing: 0;
}

.blog-hub-page .blog-cta-box {
  margin-bottom: 0;
  padding: 28px 30px;
  border-left: 6px solid #16a34a;
}

.blog-hub-page .blog-footer {
  background: #f4f7fa;
}

@media (max-width: 980px) {
  .blog-hub-page .blog-hub-hero-grid,
  .blog-hub-page .blog-feature-layout {
    grid-template-columns: 1fr;
  }

  .blog-hub-page .blog-feature-panel {
    max-width: 700px;
  }
}

@media (max-width: 700px) {
  .blog-hub-page .blog-hub-hero {
    padding: 34px 0 30px;
  }

  .blog-hub-page .blog-hub-hero h1 {
    font-size: 2.25rem;
  }

  .blog-hub-page .blog-main > section {
    padding: 34px 0;
  }

  .blog-hub-page .blog-section-title {
    display: block;
  }

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

  .blog-hub-page .blog-card-grid .blog-card,
  .blog-hub-page .blog-card-grid .blog-card:nth-child(2n),
  .blog-hub-page .blog-card-grid .blog-card:nth-last-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #d5e0e8;
  }

  .blog-hub-page .blog-card-grid .blog-card:last-child {
    border-bottom: 0;
  }

  .blog-hub-page .blog-principle-card {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .blog-hub-page .blog-cta-box {
    padding: 24px 20px;
  }
}
