/* Sticky navigation bar - stays fixed at top when scrolling */
.wp-block-navigation {
  position: sticky !important;
  top: 0;
  z-index: 9999;
  background-color: #ffffff !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  width: 100%;
}

/* Blog post card tag pills */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.tag-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1F2527;
  background: rgba(159, 211, 232, 0.25);
  border: 1px solid rgba(159, 211, 232, 0.6);
  border-radius: 3px;
  padding: 2px 8px;
}

.reading-time {
  display: block;
  font-size: 0.72rem;
  color: #888;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ============================================================
   BLOG PAGE REDESIGN — page-id-137
   Editorial magazine aesthetic + rabbit-hole UX
   ============================================================ */

.page-id-137 .blog-hero { position: relative; padding: 72px 40px 56px; overflow: hidden; }
.page-id-137 .blog-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #e8f0fe 0%, #dbeafe 40%, #ede9fe 100%); z-index: 0; }
.page-id-137 .blog-hero > * { position: relative; z-index: 1; }
.page-id-137 .hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #1e40af; margin-bottom: 20px; }
.page-id-137 .hero-eyebrow::before { content: ''; display: block; width: 32px; height: 2px; background: #1e40af; }
.page-id-137 .blog-hero h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.05; margin-bottom: 20px; color: #0f172a; }
.page-id-137 .blog-hero h1 em { font-style: italic; color: #2563eb; }
.page-id-137 .blog-hero > p { font-size: 17px; color: #475569; max-width: 520px; line-height: 1.65; margin-bottom: 32px; }

.page-id-137 .filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.page-id-137 .filter-tag { padding: 8px 18px; border-radius: 100px; border: 1.5px solid #cbd5e1; background: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #475569; cursor: pointer; transition: all 0.2s ease; }
.page-id-137 .filter-tag:hover { border-color: #2563eb; color: #2563eb; background: #eff6ff; }
.page-id-137 .filter-tag.active { background: #1e40af; border-color: #1e40af; color: #fff; box-shadow: 0 2px 8px rgba(30,64,175,0.3); }

.page-id-137 .section-label { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #1e40af; margin-bottom: 28px; }
.page-id-137 .section-label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #bfdbfe 0%, transparent 100%); }

.page-id-137 .featured-card { display: grid; grid-template-columns: 1fr 1fr; background: #0f172a; border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 24px rgba(0,0,0,0.12); margin-bottom: 64px; }
.page-id-137 .featured-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.2); }
.page-id-137 .featured-img { position: relative; overflow: hidden; min-height: 380px; }
.page-id-137 .featured-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #0f172a 100%); z-index: 1; }
.page-id-137 .featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.page-id-137 .featured-card:hover .featured-img img { transform: scale(1.05); }
.page-id-137 .featured-content { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.page-id-137 .featured-content .post-tag { display: inline-block; background: #2563eb; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 20px; width: fit-content; }
.page-id-137 .featured-content h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; color: #f8fafc; margin-bottom: 16px; font-weight: 700; }
.page-id-137 .featured-content .post-meta { font-size: 13px; color: #94a3b8; margin-bottom: 14px; }
.page-id-137 .featured-content .post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.page-id-137 .featured-content .reading-time { font-size: 12px; color: #64748b; margin-bottom: 20px; display: block; }
.page-id-137 .featured-content p { font-size: 15px; color: #94a3b8; line-height: 1.7; margin-bottom: 28px; }
.page-id-137 .featured-content .read-link { display: inline-flex; align-items: center; gap: 6px; color: #60a5fa; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid rgba(96,165,250,0.3); padding-bottom: 2px; transition: gap 0.2s ease, color 0.2s ease; width: fit-content; }
.page-id-137 .featured-card:hover .read-link { gap: 10px; color: #93c5fd; }

.page-id-137 .posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.page-id-137 .post-card { background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; border: 1px solid #e2e8f0; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; position: relative; }
.page-id-137 .post-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #2563eb, #7c3aed); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left; }
.page-id-137 .post-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: #bfdbfe; }
.page-id-137 .post-card:hover::after { transform: scaleX(1); }
.page-id-137 .post-card-img { overflow: hidden; height: 200px; }
.page-id-137 .post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.page-id-137 .post-card:hover .post-card-img img { transform: scale(1.07); }
.page-id-137 .post-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.page-id-137 .post-card-body .post-tag { display: none; }
.page-id-137 .post-card-body h3 { font-size: 18px; line-height: 1.3; color: #0f172a; margin-bottom: 10px; font-weight: 700; transition: color 0.2s ease; }
.page-id-137 .post-card:hover h3 { color: #1d4ed8; }
.page-id-137 .post-card-body .post-meta { font-size: 12px; color: #94a3b8; margin-bottom: 12px; }
.page-id-137 .post-card-body .post-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; margin-bottom: 10px; }
.page-id-137 .post-card-body .reading-time { font-size: 11px; color: #94a3b8; }
.page-id-137 .tag-pill { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: #f1f5f9; color: #475569; }
.page-id-137 .newsletter-cta { background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%); border-radius: 16px; padding: 56px 48px; text-align: center; margin-top: 64px; position: relative; overflow: hidden; }


/* BLOG WIDTH FIXES — break out of 620px FSE constraint */
.page-id-137 .entry-content > .blog-hero,
.page-id-137 .entry-content > .featured-section,
.page-id-137 .entry-content > .posts-section,
.page-id-137 .entry-content > .newsletter-cta { max-width: min(1100px, 94vw) !important; width: 100% !important; }
.page-id-137 .wp-block-post-title { display: none !important; }
.page-id-137 .blog-hero { max-width: min(1100px, 94vw) !important; }
.page-id-137 .featured-card { width: 100%; }
.page-id-137 .posts-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .page-id-137 .featured-card { grid-template-columns: 1fr; } .page-id-137 .featured-img { min-height: 240px; } .page-id-137 .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .page-id-137 .posts-grid { grid-template-columns: 1fr; } }

/* ARCHIVE SECTION */
.page-id-137 .entry-content > .archive-section { max-width: min(1100px, 94vw) !important; width: 100% !important; margin-top: 64px; padding-top: 48px; border-top: 1px solid #e2e8f0; }
.page-id-137 .archive-section .archive-header h2 { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #1e40af; margin-bottom: 24px; font-family: inherit; }
.page-id-137 .archive-section .archive-header h2::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #bfdbfe 0%, transparent 100%); }
.page-id-137 .archive-list { list-style: none; padding: 0; margin: 0; }
.page-id-137 .archive-item { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #f1f5f9; text-decoration: none; color: #0f172a; transition: color 0.2s ease; }
.page-id-137 .archive-item:hover { color: #2563eb; }
.page-id-137 .archive-item-title { font-size: 15px; font-weight: 500; }
.page-id-137 .archive-item-date { font-size: 12px; color: #94a3b8; white-space: nowrap; margin-left: 24px; }
.page-id-137 .archive-item:hover .archive-item-title { color: #2563eb; }