.nv-public-blog {
  background: #f6fafc;
  color: #123247;
}

.nv-blog-skip {
  position: fixed;
  z-index: 9999;
  top: -70px;
  right: 20px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #082f49;
  color: #fff;
}

.nv-blog-skip:focus { top: 16px; }

.nv-public-blog .navbar { z-index: 100; }
.nv-public-blog .menu a[aria-current="page"] { color: #075985; font-weight: 900; }

.nv-blog-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at 12% 16%, rgba(45, 212, 191, .18), transparent 24rem),
    linear-gradient(120deg, #083b59 0%, #075985 58%, #0f766e 100%);
  color: #fff;
}

.nv-blog-hero::after {
  content: "";
  position: absolute;
  inset: auto -90px -120px auto;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}

.nv-blog-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  align-items: center;
  gap: 32px;
}

.nv-blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #dff7ff;
  font-size: .84rem;
}

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

.nv-blog-eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #e7fbff;
  font-size: .78rem;
  font-weight: 850;
}

.nv-blog-hero h1 {
  max-width: 820px;
  margin: 16px 0 12px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.45;
  font-weight: 950;
}

.nv-blog-hero p {
  max-width: 820px;
  color: #e1f6fb;
  font-size: 1rem;
  line-height: 2;
}

.nv-blog-hero-icon {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 30px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 18px 42px rgba(1, 28, 42, .22);
  color: #fff;
  font-size: 2.2rem;
}

.nv-blog-section { padding: 42px 0 72px; }

.nv-blog-tools {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid #d4e4ed;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 74, 110, .07);
}

.nv-blog-search span {
  display: block;
  margin-bottom: 8px;
  color: #31556b;
  font-size: .82rem;
  font-weight: 850;
}

.nv-blog-search > div { position: relative; }

.nv-blog-search input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px 10px 48px;
  border: 1px solid #bcd4e2;
  border-radius: 14px;
  background: #fbfdff;
  color: #123247;
  font: inherit;
}

.nv-blog-search input:focus {
  outline: 3px solid rgba(14, 165, 233, .18);
  border-color: #0284c7;
  background: #fff;
}

.nv-blog-search i {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #0b6f9f;
  font-size: 1.25rem;
  pointer-events: none;
}

.nv-blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-start;
}

.nv-blog-categories button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid #c4dbe8;
  border-radius: 13px;
  background: #f7fbfd;
  color: #31556b;
  font: inherit;
  font-size: .82rem;
  font-weight: 850;
  cursor: pointer;
}

.nv-blog-categories button:hover,
.nv-blog-categories button:focus-visible,
.nv-blog-categories button.is-active {
  border-color: #0e7490;
  background: linear-gradient(135deg, #0e7490, #0891b2);
  color: #fff;
}

.nv-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.nv-blog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d4e4ed;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(11, 57, 84, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.nv-blog-card:hover {
  transform: translateY(-4px);
  border-color: #9ccfe1;
  box-shadow: 0 22px 48px rgba(11, 57, 84, .13);
}

.nv-blog-card[hidden] { display: none !important; }

.nv-blog-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eaf5f9;
}

.nv-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.nv-blog-card:hover .nv-blog-card-image img { transform: scale(1.035); }

.nv-blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.nv-blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #60788a;
  font-size: .72rem;
  font-weight: 750;
}

.nv-blog-card-meta span {
  padding: 4px 9px;
  border-radius: 999px;
  background: #e8f7fb;
  color: #0b6f8c;
}

.nv-blog-card h2 {
  margin: 0 0 10px;
  color: #123247;
  font-size: 1.08rem;
  line-height: 1.8;
  font-weight: 950;
}

.nv-blog-card h2 a:hover { color: #0877a8; }

.nv-blog-card p {
  margin: 0 0 18px;
  color: #4f697a;
  font-size: .86rem;
  line-height: 1.95;
}

.nv-blog-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #075985;
  font-size: .83rem;
  font-weight: 900;
}

.nv-blog-more:hover { color: #0f766e; }

.nv-blog-empty {
  margin-top: 18px;
  padding: 28px;
  border: 1px dashed #9bc8dc;
  border-radius: 18px;
  background: #f7fbfd;
  color: #587284;
  text-align: center;
  font-weight: 800;
}

.nv-blog-empty[hidden] { display: none; }

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

@media (max-width: 700px) {
  .nv-blog-hero { padding: 44px 0; }
  .nv-blog-hero-grid { grid-template-columns: 1fr; }
  .nv-blog-hero-icon { display: none; }
  .nv-blog-grid { grid-template-columns: 1fr; }
  .nv-blog-tools { padding: 14px; border-radius: 18px; }
  .nv-blog-categories button { flex: 1 1 150px; }
  .nv-blog-card-body { padding: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .nv-blog-card,
  .nv-blog-card-image img { transition: none; }
}

/* v2.1.77: use the same public header, mega menu and footer as the main site */
.nv-public-blog .navbar { z-index: 320 !important; }
.nv-public-blog .footer { margin-top: 0; }
.nv-public-blog .footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.nv-public-blog .menu > li > a[aria-current="page"] { color: #075985 !important; background: #e0f2fe !important; }

@media (max-width: 860px) {
  .nv-public-blog .mobile-toggle { display: grid !important; place-items: center !important; }
  .nv-public-blog .nav-inner { flex-wrap: nowrap !important; }
  .nv-public-blog .menu { display: flex !important; }
}
