
:root{
  --blog-primary:#0a66c2;
  --blog-primary-dark:#064b8f;
  --blog-secondary:#f4f8fc;
  --blog-dark:#102033;
  --blog-muted:#5f6f82;
  --blog-border:#dce6f1;
  --blog-white:#fff;
  --blog-accent:#ffb703;
  --blog-shadow:0 12px 35px rgba(16,32,51,.09);
  --blog-radius:18px;
}
body{font-family:Inter,Arial,Helvetica,sans-serif;color:var(--blog-dark);line-height:1.65;background:#fff}
a{text-decoration:none}.blog-page img,.article-page img{max-width:100%;display:block}.blog-container{width:min(1120px,92%);margin:auto}.blog-header{position:sticky;top:0;z-index:70;background:#fff;border-bottom:1px solid var(--blog-border)}.blog-nav{display:flex;align-items:center;justify-content:space-between;min-height:78px;gap:20px}.blog-logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:22px;color:var(--blog-dark)}.blog-logo img{height:auto;width:260px;max-width:54vw;object-fit:contain}.blog-logo-mark{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,var(--blog-primary),#27a8ff);color:#fff;display:grid;place-items:center;font-weight:900;letter-spacing:-1px}.blog-menu{display:flex;align-items:center;gap:21px;font-size:15px;font-weight:700;color:#27384c}.blog-menu a{color:#27384c}.blog-menu a:hover,.blog-menu a[aria-current=page]{color:var(--blog-primary)}.blog-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--blog-primary);color:#fff!important;padding:13px 20px;border-radius:999px;font-weight:800;border:0;cursor:pointer;transition:.2s;box-shadow:0 10px 20px rgba(10,102,194,.18)}.blog-btn:hover{background:var(--blog-primary-dark);transform:translateY(-1px);text-decoration:none}.blog-btn.secondary{background:#fff;color:var(--blog-primary)!important;border:1px solid var(--blog-border);box-shadow:none}.blog-btn.secondary:hover{background:var(--blog-secondary)}.blog-mobile-toggle{display:none;background:transparent;border:0;font-size:28px;color:var(--blog-dark)}.blog-page-hero{background:linear-gradient(135deg,#eef7ff,#fff);padding:72px 0;text-align:center;border-bottom:1px solid var(--blog-border)}.blog-page-hero h1{font-size:clamp(36px,4vw,54px);line-height:1.08;margin:0 0 18px;letter-spacing:-1.3px;color:var(--blog-dark)}.blog-page-hero p{max-width:760px;margin:0 auto;color:var(--blog-muted);font-size:18px}.blog-section{padding:78px 0}.blog-section.alt{background:var(--blog-secondary)}.blog-section-head{text-align:center;max-width:760px;margin:0 auto 42px}.blog-kicker{color:var(--blog-primary);font-weight:900;text-transform:uppercase;font-size:13px;letter-spacing:1.3px;margin-bottom:8px}.blog-section-head h2{font-size:clamp(30px,4vw,44px);line-height:1.13;margin:0;color:var(--blog-dark);letter-spacing:-.8px}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.blog-post-card{background:#fff;border:1px solid var(--blog-border);border-radius:22px;overflow:hidden;box-shadow:0 5px 18px rgba(16,32,51,.04);transition:.2s}.blog-post-card:hover{transform:translateY(-3px);box-shadow:var(--blog-shadow)}.blog-post-thumb{height:auto;aspect-ratio:16/9;background:#eef7ff;overflow:hidden}.blog-post-thumb img{width:100%;height:100%;object-fit:cover;display:block}.blog-post-content{padding:24px}.blog-post-meta{color:var(--blog-primary);font-weight:900;font-size:13px;margin-bottom:8px}.blog-post-content h3{font-size:21px;margin:0 0 10px;line-height:1.25;color:var(--blog-dark)}.blog-post-content h3 a{color:var(--blog-dark)}.blog-post-content h3 a:hover{color:var(--blog-primary);text-decoration:none}.blog-post-content p{color:var(--blog-muted);margin:0 0 16px}.blog-post-list{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.blog-collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.blog-collection-card{background:#fff;border:1px solid var(--blog-border);border-radius:20px;padding:24px;box-shadow:0 5px 18px rgba(16,32,51,.04)}.blog-collection-card h3{margin:0 0 8px;font-size:21px;color:var(--blog-dark)}.blog-collection-card p{margin:0 0 16px;color:var(--blog-muted)}.blog-footer{background:#081827;color:#c8d7e8;padding:62px 0 25px}.blog-footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:34px;margin-bottom:34px}.blog-footer h3,.blog-footer h4{color:#fff;margin:0 0 14px}.blog-footer p,.blog-footer a{color:#c8d7e8}.blog-footer a{display:block;margin:8px 0}.blog-footer a:hover{color:#fff}.blog-copyright{border-top:1px solid rgba(255,255,255,.12);padding-top:20px;font-size:14px;color:#9fb3c8;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.article-hero{background:linear-gradient(135deg,#eef7ff,#fff);padding:72px 0;border-bottom:1px solid var(--blog-border)}.article-hero .blog-container{max-width:900px}.article-hero h1{font-size:clamp(36px,4vw,56px);line-height:1.08;margin:0 0 18px;color:var(--blog-dark);letter-spacing:-1.3px}.article-hero p{color:var(--blog-muted);font-size:19px;margin:0}.article-meta{color:var(--blog-primary);font-weight:900;margin-bottom:12px}.article-content{max-width:900px;margin:auto;padding:70px 0}.article-content h2{font-size:32px;line-height:1.2;margin-top:42px;margin-bottom:12px;color:var(--blog-dark);letter-spacing:-.5px}.article-content h3{font-size:24px;margin-top:28px;color:var(--blog-dark)}.article-content p{color:#405269;font-size:18px}.article-content li{margin:12px 0;color:#405269;font-size:17px}.article-content a{color:var(--blog-primary);font-weight:800}.article-featured{margin:0 auto 34px;border:1px solid var(--blog-border);border-radius:24px;overflow:hidden;box-shadow:var(--blog-shadow);background:#fff}.article-featured img{width:100%;display:block}.article-content .intro{font-size:19px;color:#334155}.article-cta,.inline-cta{background:#eef7ff;border:1px solid var(--blog-border);border-radius:24px;padding:28px;margin-top:40px}.article-cta p{margin-bottom:18px}.related-links{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:20px}.related-links a{display:block;background:#fff;border:1px solid var(--blog-border);border-radius:18px;padding:18px;font-weight:900;color:var(--blog-dark)}.related-links a span{display:block;color:var(--blog-muted);font-weight:600;font-size:14px;margin-top:6px}.blog-breadcrumb{font-size:14px;margin-bottom:16px;color:var(--blog-muted)}.blog-breadcrumb a{color:var(--blog-primary);font-weight:800}.blog-back-link{margin-top:36px}.blog-menu.active{display:flex}@media(max-width:1000px){.blog-collection-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.blog-grid,.blog-post-list,.blog-footer-grid,.related-links{grid-template-columns:1fr}.blog-menu{display:none;position:absolute;left:0;right:0;top:78px;background:#fff;border-bottom:1px solid var(--blog-border);padding:20px;width:100%;flex-direction:column;align-items:flex-start}.blog-mobile-toggle{display:block}.blog-section{padding:58px 0}.article-content{padding:52px 0}.blog-logo img{max-width:230px;height:auto}}@media(max-width:560px){.blog-collection-grid{grid-template-columns:1fr}.blog-page-hero,.article-hero{padding:56px 0}.blog-btn{width:100%}.blog-menu .blog-btn{width:auto}.blog-logo img{max-width:230px;height:auto}}

/* Blog page collection and article cards */
.blog-grid .blog-post-card{height:100%;}
.blog-grid .blog-post-content{display:flex;flex-direction:column;align-items:flex-start;}
.blog-grid .blog-post-content p{flex:1;}
@media(max-width:900px){.blog-grid .blog-post-content{display:block;}}

/* Data collection article cards */
.collection-article-page .article-content{max-width:1040px;}
.collection-section{margin-top:48px;}
.collection-section>p{max-width:860px;margin-top:0;margin-bottom:24px;}
.collection-pick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:20px;}
.collection-pick-card{background:#fff;border:1px solid var(--blog-border);border-radius:22px;overflow:hidden;box-shadow:0 5px 18px rgba(16,32,51,.04);transition:.2s;}
.collection-pick-card:hover{transform:translateY(-3px);box-shadow:var(--blog-shadow);}
.collection-pick-image{display:block;background:#eef7ff;overflow:hidden;}
.collection-pick-image img{width:100%;aspect-ratio:4/1;object-fit:cover;display:block;}
.collection-pick-body{padding:22px;}
.collection-pick-body h3{font-size:21px;line-height:1.25;margin:0 0 10px;}
.collection-pick-body h3 a{color:var(--blog-dark);}
.collection-pick-body h3 a:hover{color:var(--blog-primary);}
.collection-pick-body p{font-size:16px;margin:0 0 16px;color:var(--blog-muted);}
@media(max-width:800px){.collection-pick-grid{grid-template-columns:1fr;}.collection-pick-body{padding:20px;}}


/* Blog page square card layout update */
.blog-page .blog-grid{
  align-items: stretch;
}

.blog-page .blog-post-card{
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-page .blog-post-thumb{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eaf2ff;
  border-bottom: 1px solid #dbe7f5;
}

.blog-page .blog-post-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-page .blog-post-content{
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-page .blog-post-content h3{
  margin-bottom: 12px;
}

.blog-page .blog-post-content p{
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-page .blog-post-content .blog-btn{
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 640px){
  .blog-page .blog-post-thumb{
    aspect-ratio: 1 / 1;
  }
}


/* Blog post and collection page featured image square display */
.article-page .article-featured{
  max-width: 620px;
  width: 100%;
  margin: 0 auto 34px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: #071b3a;
  border: 1px solid #dbe7f5;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.article-page .article-featured img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (max-width: 720px){
  .article-page .article-featured{
    max-width: 100%;
    border-radius: 18px;
    margin-bottom: 26px;
  }
}


/* Simple collection page inline image entries */
.simple-collection-item{
  margin-top: 28px;
}

.simple-collection-item h3{
  margin-bottom: 14px;
}

.collection-inline-image{
  margin: 0 0 18px;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f7ff;
  border: 1px solid #dbe7f5;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.collection-inline-image img{
  display: block;
  width: 100%;
  height: auto;
}

.simple-collection-item .blog-btn{
  margin-top: 4px;
}


/* Collection page section width alignment */
.article-content .collection-section{
  width: 100%;
  max-width: 100%;
}

.article-content .collection-section > h2,
.article-content .collection-section > p{
  max-width: 100%;
}


/* Blog article tables and figures */
.blog-table-wrap{
  overflow-x:auto;
  margin:24px 0 28px;
}
.blog-table{
  width:100%;
  min-width:680px;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid var(--blog-border);
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--blog-shadow);
}
.blog-table th,
.blog-table td{
  padding:15px 16px;
  border-bottom:1px solid var(--blog-border);
  border-right:1px solid var(--blog-border);
  vertical-align:top;
  text-align:left;
  line-height:1.65;
}
.blog-table th{
  background:#eef7ff;
  color:var(--blog-dark);
  font-weight:800;
}
.blog-table tr:last-child td,
.blog-table tr:last-child th{
  border-bottom:none;
}
.blog-table tr td:last-child,
.blog-table tr th:last-child{
  border-right:none;
}
.article-figure{
  margin:28px 0 16px;
  background:#fff;
  border:1px solid var(--blog-border);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--blog-shadow);
}
.article-figure img{
  display:block;
  width:100%;
  height:auto;
}
.article-figure figcaption{
  padding:14px 18px;
  font-size:14px;
  color:var(--blog-muted);
  background:#f8fbff;
}
.article-content ul{
  padding-left:22px;
  margin:0 0 18px;
}
.article-content li{
  margin:0 0 10px;
}
.faq-item{
  margin:22px 0 0;
  padding:22px;
  background:#f8fbff;
  border:1px solid var(--blog-border);
  border-radius:20px;
}
.faq-item h3{
  margin-bottom:10px;
}


/* Related and source link blocks inside articles */
.related-post-links,
.source-note{
  margin:32px 0;
  padding:24px;
  border:1px solid var(--blog-border);
  border-radius:22px;
  background:#f8fbff;
}
.related-post-links ul{
  margin-bottom:0;
}
.related-post-links a,
.source-note a{
  font-weight:800;
}


/* Blog article FAQ style matching homepage FAQ */
.article-content .blog-article-faq{
  padding:16px 0 0;
  margin-top:42px;
}
.article-content .blog-article-faq .section-heading.centered{
  text-align:center;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}
.article-content .blog-article-faq .section-heading.centered h2{
  margin-top:0;
}
.article-content .blog-article-faq .faq-list{
  max-width:900px;
  margin:28px auto 0;
  display:grid;
  gap:12px;
}
.article-content .blog-article-faq details.faq-item{
  margin:0;
  padding:0;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  overflow:hidden;
}
.article-content .blog-article-faq .faq-question{
  list-style:none;
  width:100%;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  cursor:pointer;
  text-align:left;
}
.article-content .blog-article-faq .faq-question::-webkit-details-marker{
  display:none;
}
.article-content .blog-article-faq .faq-question h3{
  margin:0;
  font-size:1.05rem;
  line-height:1.35;
  font-weight:700;
  color:var(--text);
  flex:1 1 auto;
}
.article-content .blog-article-faq .faq-arrow{
  position:relative;
  font-size:0;
  line-height:1;
  flex:0 0 auto;
  width:28px;
  height:28px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgb(219 234 254);
  color:var(--primary);
  font-weight:800;
  transition:transform .2s ease;
}
.article-content .blog-article-faq .faq-arrow::before{
  content:"";
  width:8px;
  height:8px;
  border-right:2px solid var(--primary);
  border-bottom:2px solid var(--primary);
  transform:translateY(-2px) rotate(45deg);
}
.article-content .blog-article-faq .faq-item[open] .faq-arrow{
  transform:rotate(180deg);
}
.article-content .blog-article-faq .faq-answer{
  padding:0 20px 18px;
}
.article-content .blog-article-faq .faq-answer p{
  margin:0;
}
@media(max-width:640px){
  .article-content .blog-article-faq .faq-question{
    padding:16px;
    gap:12px;
  }
  .article-content .blog-article-faq .faq-question h3{
    font-size:1rem;
  }
}


/* Wide featured images for collection pages */
.article-page .article-featured.collection-featured{
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
}
.article-page .article-featured.collection-featured img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
