.public-blog-page {
  --blog-ink: #173149;
  --blog-muted: #627588;
  --blog-line: #d7e5df;
  --blog-green: #21856f;
  min-height: 100vh;
  background: #f4f8f6;
  color: var(--blog-ink);
}

.public-blog-page .landing-header .navbar { min-height: 72px; }
.public-blog-page .landing-nav-btn { padding: 0.55rem 0.85rem; font-size: 0.86rem; }
.public-blog-page .blog-main { min-height: calc(100vh - 140px); }
.blog-hero { padding: 72px 0 50px; background: #e5f0ea; border-bottom: 1px solid var(--blog-line); }
.blog-hero .container { max-width: 1160px; }
.blog-eyebrow { display: block; margin-bottom: 13px; color: var(--blog-green); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
.blog-hero h1 { max-width: 760px; margin: 0 0 12px; color: #112b43; font-size: 42px; line-height: 1.1; font-weight: 800; }
.blog-hero p { max-width: 660px; margin: 0; color: var(--blog-muted); font-size: 17px; line-height: 1.6; }
.blog-archive { max-width: 1160px; padding-top: 30px; padding-bottom: 72px; }
.blog-filters { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.blog-filters input[type="search"] { flex: 1 1 300px; min-width: 180px; }
.blog-filters input, .blog-filters select { height: 44px; border: 1px solid var(--blog-line); border-radius: 6px; padding: 0 12px; background: #fff; color: var(--blog-ink); }
.blog-filters select { min-width: 190px; }
.blog-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.blog-card { overflow: hidden; border: 1px solid var(--blog-line); border-radius: 7px; background: #fff; }
.blog-card-media { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #e7f0eb; color: var(--blog-green); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-size: 34px; }
.blog-card-video { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 24px; background: #193b4dcc; color: #fff; }
.blog-card-body { padding: 17px 18px 18px; }
.blog-card-meta, .blog-byline { display: flex; gap: 13px; align-items: center; color: var(--blog-muted); font-size: 12px; }
.blog-card-meta span { color: var(--blog-green); font-weight: 800; }
.blog-card-contributor { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 10px 6px 6px; border: 1px solid #e5ece8; border-radius: 999px; background: #f7faf8; }
.blog-card-contributor img, .blog-card-contributor > span { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; overflow: hidden; border-radius: 50%; background: #e5f0ea; color: var(--blog-green); font-size: 12px; font-weight: 800; object-fit: cover; }
.blog-card-contributor > div { display: grid; min-width: 0; line-height: 1.25; }
.blog-card-contributor strong { overflow: hidden; color: var(--blog-ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.blog-card-contributor small { color: var(--blog-muted); font-size: 11px; }
.blog-card h2 { margin: 12px 0 8px; font-size: 20px; line-height: 1.3; font-weight: 750; }
.blog-card h2 a { color: var(--blog-ink); text-decoration: none; }
.blog-card h2 a:hover, .blog-read-link:hover { color: var(--blog-green); }
.blog-card-body p { min-height: 62px; margin: 0 0 15px; color: var(--blog-muted); line-height: 1.55; }
.blog-read-link { color: var(--blog-green); font-size: 14px; font-weight: 750; text-decoration: none; }
.blog-empty { padding: 48px 24px; border: 1px solid var(--blog-line); border-radius: 7px; background: #fff; text-align: center; }
.blog-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 30px; }
.blog-pagination a { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border: 1px solid var(--blog-line); border-radius: 5px; background: #fff; color: var(--blog-ink); text-decoration: none; }
.blog-pagination a.is-current { border-color: var(--blog-green); background: var(--blog-green); color: #fff; }
.blog-article { max-width: 850px; padding-top: 36px; padding-bottom: 66px; }
.blog-back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--blog-green); font-weight: 700; text-decoration: none; }
.blog-article-header { padding: 35px 0 24px; }
.blog-category { color: var(--blog-green); font-size: 13px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.blog-article-header h1 { margin: 11px 0 14px; color: #112b43; font-size: 42px; line-height: 1.12; font-weight: 800; }
.blog-article-deck { max-width: 760px; margin-bottom: 18px; color: var(--blog-muted); font-size: 18px; line-height: 1.6; }
.blog-byline { gap: 16px; font-size: 13px; }
.blog-contributor-badge { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin-top: 20px; padding: 9px 16px 9px 9px; border: 1px solid #e4e9e6; border-radius: 999px; background: #fff; color: var(--blog-ink); }
.blog-contributor-photo, .blog-contributor-initials { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; overflow: hidden; border-radius: 50%; background: #e5f0ea; color: var(--blog-green); object-fit: cover; font-weight: 800; }
.blog-contributor-copy { display: grid; gap: 2px; min-width: 0; line-height: 1.35; }
.blog-contributor-copy > span { overflow-wrap: anywhere; }
.blog-contributor-copy small { color: var(--blog-muted); }
.blog-article-cover { display: block; width: 100%; max-height: 510px; margin: 10px 0 30px; border-radius: 7px; object-fit: cover; background: #e5f0ea; }
.blog-video-cover-link { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 180px; margin: 12px 0 28px; border-radius: 7px; background: #173149; color: #fff; font-size: 20px; text-decoration: none; }
.blog-article-content { color: #263b4a; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.blog-article-content h2 { margin-top: 32px; color: #173149; font-size: 27px; line-height: 1.25; }
.blog-article-content h3, .blog-article-content h4 { margin-top: 25px; color: #173149; }
.blog-article-content blockquote { margin: 22px 0; padding: 12px 18px; border-left: 4px solid var(--blog-green); background: #e9f2ee; color: #405967; }
.blog-article-content a { color: #167860; }
.blog-article-gallery { margin-top: 36px; }
.blog-article-gallery h2 { margin-bottom: 16px; font-size: 22px; }
.blog-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.blog-gallery-grid img, .blog-gallery-grid video { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; background: #e5f0ea; object-fit: cover; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.blog-tags a { color: #3c665f; font-size: 13px; text-decoration: none; }
.blog-article-share { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 27px; padding-top: 20px; border-top: 1px solid var(--blog-line); }
.blog-article-share a { color: var(--blog-green); text-decoration: none; }
.blog-preview-note { display: flex; gap: 12px; align-items: center; margin: 18px auto 0; padding: 12px 15px; border: 1px solid #e9c96a; border-radius: 6px; background: #fff7db; }
.blog-preview-note a { margin-left: auto; color: #735b15; }
.blog-footer { padding: 22px 0; border-top: 1px solid var(--blog-line); background: #fff; }
.blog-footer .container { display: flex; justify-content: space-between; gap: 14px; align-items: center; color: var(--blog-muted); font-size: 13px; }
.blog-footer a { color: var(--blog-green); text-decoration: none; font-weight: 750; }

.page-blog-admin-shell .blog-admin-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .85fr); gap: 22px; align-items: start; }
.blog-admin-editor, .blog-admin-list { padding: 20px; border: 1px solid #d8e5df; border-radius: 7px; background: #fff; }
.blog-admin-editor h2, .blog-admin-list h2 { color: #173149; font-size: 19px; font-weight: 800; }
.blog-admin-editor .form-text { color: #71818a; }
.blog-format-toolbar { display: flex; gap: 6px; padding: 8px; border: 1px solid #d8e5df; border-bottom: 0; border-radius: 6px 6px 0 0; background: #f7faf8; }
.blog-editor-surface { min-height: 250px; padding: 14px; border: 1px solid #d8e5df; border-radius: 0 0 6px 6px; background: #fff; line-height: 1.6; }
.blog-editor-surface:focus { outline: 2px solid #7db9a8; outline-offset: -2px; }
.blog-editor-surface:empty::before { content: "Write the article here. Use the toolbar for headings and lists."; color: #94a3aa; }
.blog-placement-options { display: flex; flex-wrap: wrap; gap: 9px; }
.blog-placement-options label, .blog-featured-toggle, .blog-current-media { display: flex; align-items: center; gap: 9px; }
.blog-placement-options label { min-height: 42px; padding: 0 12px; border: 1px solid #d8e5df; border-radius: 5px; background: #f9fbfa; }
.blog-placement-options input, .blog-featured-toggle input { accent-color: #21856f; }
.blog-featured-toggle { min-height: 44px; }
.blog-current-media, .blog-media-existing { color: #637580; font-size: 12px; }
.blog-current-media label { margin-left: auto; }
.blog-media-existing { display: flex; flex-wrap: wrap; gap: 7px; }
.blog-media-existing span { padding: 5px 8px; border-radius: 4px; background: #f1f6f3; }
.blog-admin-row { padding: 15px 0; border-top: 1px solid #e2ebe7; }
.blog-admin-row h3 { margin: 9px 0 3px; color: #173149; font-size: 15px; line-height: 1.35; font-weight: 750; }
.blog-admin-row p { margin: 0; color: #73838c; font-size: 12px; }
.blog-admin-status { display: inline-block; padding: 3px 7px; border-radius: 3px; background: #edf1f3; color: #586975; font-size: 11px; font-weight: 750; }
.blog-admin-status.is-published { background: #e2f3eb; color: #217253; }
.blog-admin-status.is-draft { background: #fff3d2; color: #8a6a16; }
.blog-admin-status.is-archived { background: #edf0f2; color: #69777e; }

@media (max-width: 991.98px) {
  .blog-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-blog-admin-shell .blog-admin-layout { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .blog-hero { padding: 46px 0 34px; }
  .blog-hero h1, .blog-article-header h1 { font-size: 32px; }
  .blog-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .blog-filters input[type="search"] { grid-column: 1 / -1; }
  .blog-filters select { min-width: 0; }
  .blog-card-grid, .blog-gallery-grid { grid-template-columns: 1fr; }
  .blog-card-body p { min-height: 0; }
  .blog-article-deck { font-size: 16px; }
  .blog-article-content { font-size: 16px; }
  .blog-footer .container { flex-wrap: wrap; }
  .blog-preview-note { flex-wrap: wrap; }
  .blog-preview-note a { margin-left: 0; }
  .blog-contributor-badge { border-radius: 28px; }
}
