/* Blog index, archive pages and posts (scripts/redesign_blog.py markup). Everything is
   scoped to .mh-blog so the captured theme's header, disclosures and footer keep their look;
   explicit sizes and margins override the theme's base type (body 20px, grey text). */
.mh-blog{--mh-navy:#00349f;--mh-navy-dark:#00287a;--mh-ink:#0e1a36;--mh-text:#2a3346;--mh-soft:#475066;--mh-muted:#586276;--mh-line:#e2e7f0;--mh-border:#c5cedd;--mh-tint:#f4f7fc;--mh-chip:#e8eefb;font-family:"Open Sans",system-ui,sans-serif;font-size:16px;line-height:1.6;color:var(--mh-text);background:#fff;padding-bottom:96px}
.mh-blog *,.mh-blog *::before,.mh-blog *::after{box-sizing:border-box}
.mh-blog [hidden]{display:none!important}
.mh-blog img{display:block;max-width:100%;margin:0}
.mh-blog a{color:var(--mh-navy)}
.mh-blog a:hover{color:var(--mh-navy-dark)}
.mh-blog a:focus-visible,.mh-blog button:focus-visible,.mh-blog input:focus-visible{outline:3px solid #7fa3f5;outline-offset:2px}
.mh-blog h1,.mh-blog h2,.mh-blog h3{font-family:inherit;color:var(--mh-ink);margin:0}
.mh-blog p{margin:0}
.mh-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mh-wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
.mh-narrow{width:100%;max-width:768px;margin:0 auto;padding:0 24px}

/* Shared pieces */
.mh-eyebrow{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--mh-navy);line-height:1.4}
.mh-badge{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#fff;background:var(--mh-navy);border-radius:6px;padding:4px 9px;line-height:1.4}
.mh-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none}
.mh-avatar--ring{width:84px;height:84px;border:3px solid #fff}
.mh-byline{display:flex;align-items:center;gap:12px}
.mh-byline__text{display:flex;flex-direction:column;gap:2px;line-height:1.4}
.mh-byline__name{font-size:15px;font-weight:700;color:var(--mh-ink)}
.mh-byline__meta{font-size:14px;color:var(--mh-muted)}
.mh-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 24px;border-radius:10px;font-size:16px;font-weight:700;line-height:1.2;text-decoration:none!important;transition:background-color .15s,color .15s,border-color .15s}
.mh-blog .mh-btn--light{background:#fff;color:var(--mh-navy);border:1.5px solid #fff}
.mh-blog .mh-btn--light:hover{background:var(--mh-chip);color:var(--mh-navy-dark)}
.mh-blog .mh-btn--ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.75)}
.mh-blog .mh-btn--ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.mh-blog .mh-btn--outline{background:#fff;color:var(--mh-navy);border:1.5px solid var(--mh-navy)}
.mh-blog .mh-btn--outline:hover{background:var(--mh-navy);color:#fff}
.mh-actions{display:flex;flex-wrap:wrap;gap:12px}
.mh-chips{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;padding-bottom:28px}
.mh-chips::-webkit-scrollbar{display:none}
.mh-blog .mh-chip{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;background:#fff;border:1px solid var(--mh-border);color:#1d2b4f;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap;transition:border-color .15s}
.mh-blog .mh-chip:hover{border-color:var(--mh-navy);color:var(--mh-navy)}
.mh-blog .mh-chip[aria-current]{background:var(--mh-navy);border-color:var(--mh-navy);color:#fff}
.mh-blog .mh-chip--soft{min-height:36px;padding:0 14px;background:var(--mh-chip);border-color:var(--mh-chip);color:var(--mh-navy)}
.mh-section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 16px;margin-bottom:32px}
.mh-section-head h2{font-size:26px;font-weight:700;letter-spacing:-.01em;line-height:1.25}
.mh-count{font-size:14px;color:var(--mh-muted)}
.mh-blog .mh-more-link{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700;text-decoration:none}

/* Cards: three columns, two on tablets, compact rows on phones */
.mh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:56px 32px}
.mh-card.blog-listing{width:auto;margin:0;min-width:0}
.mh-card__link{display:flex;flex-direction:column;gap:16px;color:inherit!important;text-decoration:none!important}
.mh-card__media{aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--mh-chip)}
.mh-card__media img,.mh-feature__media img,.mh-hero img{width:100%;height:100%;object-fit:cover}
.mh-blog .blog-listing img{margin:0}
.mh-card__media--empty,.mh-feature__media--empty{background:var(--mh-navy) url(/assets/a23af0e2b8589446cc.png) center/42% no-repeat}
.mh-card__body{display:flex;flex-direction:column;gap:8px}
.mh-card__title{font-size:20px!important;line-height:1.3;font-weight:700}
.mh-card__link:hover .mh-card__title,.mh-feature__link:hover .mh-feature__title{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.mh-card__excerpt{font-size:15px;line-height:1.6;color:var(--mh-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mh-card__meta{margin-top:4px!important;font-size:13px;color:var(--mh-muted)}

/* Index and archive pages */
.mh-intro{background:var(--mh-tint);border-bottom:1px solid var(--mh-line)}
.mh-intro .mh-wrap{display:flex;flex-direction:column;gap:32px;padding-top:64px}
.mh-intro__row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:32px}
.mh-intro__text{flex:1 1 560px;max-width:720px;min-width:0;display:flex;flex-direction:column;gap:14px}
.mh-intro__title{font-size:52px!important;line-height:1.08!important;letter-spacing:-.02em;font-weight:700}
.mh-intro__lede{font-size:19px;line-height:1.6;color:var(--mh-soft)}
.mh-search{flex:0 1 360px;min-width:0;margin:0;display:flex;align-items:center;gap:10px;height:54px;padding:0 16px;background:#fff;border:1px solid var(--mh-border);border-radius:12px;box-shadow:0 1px 2px rgba(14,26,54,.05);color:var(--mh-muted)}
.mh-search:focus-within{border-color:var(--mh-navy);box-shadow:0 0 0 3px rgba(0,52,159,.15)}
.mh-search svg{flex:none}
.mh-blog .mh-search input{flex:1;min-width:0;height:100%;margin:0;padding:0;border:0;outline:0;box-shadow:none;background:transparent;font:inherit;font-size:16px;color:var(--mh-ink)}
.mh-featured{padding-top:56px;padding-bottom:24px}
.mh-feature.blog-listing{width:auto;margin:0}
.mh-feature__link{display:flex;flex-wrap:wrap;align-items:center;gap:40px;color:inherit!important;text-decoration:none!important}
.mh-feature__media{flex:1 1 560px;min-width:0;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:var(--mh-chip)}
.mh-feature__body{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:16px}
.mh-feature__labels{display:flex;align-items:center;gap:12px}
.mh-feature__title{font-size:36px!important;line-height:1.15!important;letter-spacing:-.015em;font-weight:700}
.mh-feature__excerpt{font-size:17px;line-height:1.65;color:var(--mh-soft)}
.mh-feature .mh-byline{padding-top:4px}
.mh-recent{padding-top:48px}
.mh-recent .mh-section-head{border-top:1px solid var(--mh-line);padding-top:40px}
.mh-list[data-mh-page]:not([data-mh-page="1"]) .mh-recent .mh-section-head{border-top:0;padding-top:8px}
.mh-help{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:32px;padding:44px 48px;border-radius:20px;background:var(--mh-navy);color:#fff}
.mh-help__text{flex:1 1 520px;min-width:0;display:flex;align-items:center;gap:24px}
.mh-help__title{font-size:28px!important;line-height:1.2!important;font-weight:700;color:#fff!important;margin-bottom:8px!important}
.mh-help p{font-size:17px;line-height:1.6;color:#dce4f7}
.mh-more{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:64px}
.mh-more .mh-btn{padding:0 28px}
.mh-empty{grid-column:1/-1;padding:24px 0;font-size:17px;color:var(--mh-soft)}
.mh-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:64px}
.mh-blog .mh-pager a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;border-radius:10px;border:1px solid var(--mh-border);color:#1d2b4f;font-size:15px;font-weight:700;text-decoration:none}
.mh-blog .mh-pager a:hover{border-color:var(--mh-navy);color:var(--mh-navy)}
.mh-blog .mh-pager a[aria-current]{background:var(--mh-navy);border-color:var(--mh-navy);color:#fff}

/* Posts */
.mh-post__head{background:#fff}
.mh-post__head .mh-narrow{padding-top:48px}
.mh-crumbs{display:flex;align-items:center;gap:8px;font-size:14px;color:#8a93a6}
.mh-blog .mh-crumbs a{font-weight:700;text-decoration:none}
.mh-post__title{margin-top:20px!important;font-size:44px!important;line-height:1.12!important;letter-spacing:-.02em;font-weight:700}
.mh-byline--post{margin-top:28px;padding:18px 0;border-top:1px solid var(--mh-line);border-bottom:1px solid var(--mh-line);justify-content:space-between;flex-wrap:wrap;gap:16px}
.mh-byline__who{display:flex;align-items:center;gap:14px}
.mh-byline--post .mh-avatar{width:48px;height:48px}
.mh-share{display:flex;align-items:center;gap:8px}
.mh-share__label{font-size:14px;color:var(--mh-muted);margin-right:4px}
.mh-blog .mh-icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid var(--mh-border);background:#fff;color:#1d2b4f;cursor:pointer}
.mh-blog .mh-icon-btn:hover{border-color:var(--mh-navy);color:var(--mh-navy)}
.mh-icon-btn[data-copied]::after{content:"Link copied";position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);white-space:nowrap;padding:4px 8px;border-radius:6px;background:var(--mh-ink);color:#fff;font-size:12px;font-weight:700}
.mh-post__main{padding-top:32px}
.mh-hero{position:relative;display:block;margin:0 0 48px;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:var(--mh-chip)}
.mh-play{position:absolute;left:24px;bottom:24px;display:inline-flex;align-items:center;gap:12px;padding:8px 22px 8px 8px;border-radius:999px;background:#fff;color:var(--mh-ink);font-size:15px;font-weight:700;line-height:1.3;box-shadow:0 6px 24px rgba(14,26,54,.25)}
.mh-play__icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--mh-navy);color:#fff;flex:none}
.mh-hero--video:hover .mh-play__icon{background:var(--mh-navy-dark)}

/* Post body: the captured editor HTML */
.mh-prose{font-size:18px;line-height:1.75;color:var(--mh-text);overflow-wrap:break-word}
.mh-blog .mh-prose p{margin:0 0 24px}
.mh-blog .mh-prose h2{margin:56px 0 16px;font-size:30px;line-height:1.25;letter-spacing:-.01em;font-weight:700}
.mh-blog .mh-prose h3{margin:36px 0 12px;font-size:22px;line-height:1.3;font-weight:700}
.mh-blog .mh-prose h4{margin:28px 0 8px;font-size:19px;line-height:1.35;font-weight:700;color:var(--mh-ink)}
.mh-blog .mh-prose>:first-child{margin-top:0}
.mh-blog .mh-prose strong,.mh-blog .mh-prose b{font-weight:700;color:var(--mh-ink)}
.mh-blog .mh-prose a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.mh-blog .mh-prose ul,.mh-blog .mh-prose ol{margin:0 0 24px;padding-left:26px}
.mh-blog .mh-prose li{margin:0 0 8px;padding-left:4px}
.mh-blog .mh-prose li>p{margin:0}
.mh-blog .mh-prose li::marker{color:var(--mh-navy)}
.mh-blog .mh-prose ol li::marker{font-weight:700}
.mh-blog .mh-prose hr{height:0;margin:40px 0;border:0;border-top:1px solid var(--mh-line)}
.mh-blog .mh-prose blockquote{margin:40px 0;padding:24px 0;border:0;border-top:2px solid var(--mh-navy);border-bottom:1px solid var(--mh-line);font-size:22px;line-height:1.45;font-weight:700;color:var(--mh-ink)}
.mh-blog .mh-prose blockquote p:last-child{margin-bottom:0}
.mh-blog .mh-prose table{width:100%;margin:0 0 24px;border-collapse:collapse;font-size:16px;line-height:1.5;display:block;overflow-x:auto}
.mh-blog .mh-prose th,.mh-blog .mh-prose td{padding:12px 16px;border:1px solid var(--mh-line);text-align:left;vertical-align:top}
.mh-blog .mh-prose thead th,.mh-blog .mh-prose thead td{background:var(--mh-tint);font-weight:700;color:var(--mh-ink)}
.mh-blog .mh-prose img{height:auto;margin:32px auto;border-radius:12px}
.mh-blog .mh-prose iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;margin:32px 0;border:0;border-radius:12px}
.mh-contact{margin-top:48px;padding:32px;border-radius:16px;background:var(--mh-navy);color:#fff}
.mh-contact__title{font-size:24px!important;line-height:1.25!important;font-weight:700;color:#fff!important}
.mh-contact p{margin:12px 0 20px;font-size:17px;line-height:1.6;color:#dce4f7}
.mh-contact .mh-btn{min-height:50px;padding:0 20px}
.mh-filed{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:36px;font-size:14px;color:var(--mh-muted)}
.mh-filed span{margin-right:4px}
.mh-related{margin:96px 0 -96px;padding:64px 0 72px;background:var(--mh-tint);border-top:1px solid var(--mh-line)}
.mh-related .mh-card__title{font-size:19px!important}
.mh-related .mh-card__excerpt{display:none}

@media (max-width:767px){
  .mh-blog{padding-bottom:64px}
  .mh-wrap,.mh-narrow{padding:0 20px}
  .mh-intro .mh-wrap{gap:20px;padding-top:28px}
  .mh-intro__row{gap:20px}
  .mh-intro__text{flex-basis:100%;gap:10px}
  .mh-intro__title{font-size:34px!important;line-height:1.1!important}
  .mh-intro__lede{font-size:16px;line-height:1.55}
  .mh-search{flex-basis:100%;height:50px}
  .mh-chips{gap:8px;margin:0 -20px;padding:0 20px 20px}
  .mh-featured{padding-top:24px;padding-bottom:8px}
  .mh-feature__link{gap:14px}
  .mh-feature__media{border-radius:12px}
  .mh-feature__title{font-size:24px!important;line-height:1.2!important}
  .mh-feature__excerpt{font-size:15px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .mh-recent{padding-top:24px}
  .mh-recent .mh-section-head{padding-top:24px;margin-bottom:8px}
  .mh-section-head h2{font-size:20px}
  .mh-help{padding:28px 24px;gap:20px;border-radius:16px;margin:24px 0}
  .mh-help__text{flex-direction:column;align-items:flex-start;gap:14px;flex-basis:100%}
  .mh-avatar--ring{width:56px;height:56px}
  .mh-help__title{font-size:22px!important;line-height:1.25!important}
  .mh-help p{font-size:15px}
  .mh-actions{flex-direction:column;width:100%;gap:10px}
  .mh-actions .mh-btn{width:100%;min-height:48px}
  .mh-more{margin-top:28px}
  .mh-more .mh-btn{width:100%}
  .mh-pager{margin-top:32px}
  .mh-post__head .mh-narrow{padding-top:24px}
  .mh-post__title{margin-top:14px!important;font-size:30px!important;line-height:1.15!important}
  .mh-byline--post{margin-top:18px;padding:0;border:0}
  .mh-byline--post .mh-avatar{width:40px;height:40px}
  .mh-share__label{display:none}
  .mh-post__main{padding-top:20px}
  .mh-hero{margin-bottom:28px;border-radius:12px}
  .mh-play{left:12px;bottom:12px;gap:8px;padding:6px 14px 6px 6px;font-size:13px}
  .mh-play__icon{width:30px;height:30px}
  .mh-prose{font-size:17px;line-height:1.7}
  .mh-blog .mh-prose p{margin-bottom:20px}
  .mh-blog .mh-prose h2{margin:40px 0 12px;font-size:24px}
  .mh-blog .mh-prose h3{margin:28px 0 10px;font-size:20px}
  .mh-blog .mh-prose blockquote{font-size:19px}
  .mh-contact{margin-top:32px;padding:24px 20px}
  .mh-contact__title{font-size:21px!important}
  .mh-contact p{font-size:15px}
  .mh-related{margin:56px 0 -64px;padding:28px 0 12px}
  .mh-related .mh-section-head{margin-bottom:4px}
  /* 44px touch targets for the text links; the negative margins keep the layout unchanged. */
  .mh-blog .mh-crumbs a,.mh-blog .mh-more-link{padding:11px 0;margin:-11px 0}
}
@media (max-width:600px){
  .mh-grid{display:block}
  .mh-card__link{flex-direction:row;align-items:flex-start;gap:14px;padding:16px 0;border-bottom:1px solid var(--mh-line)}
  .mh-card__media{flex:none;width:124px;border-radius:8px}
  .mh-card__body{gap:6px;min-width:0}
  .mh-eyebrow{font-size:11px}
  .mh-card__title,.mh-related .mh-card__title{font-size:15px!important;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .mh-card__excerpt{display:none}
  .mh-card__meta{margin-top:0!important;font-size:12px}
}

/* Desktop sizing: large monitors widen the index and reading column; the card grid stays at
   three columns so the help banner still follows two full rows. */
@media (min-width:1600px){
  .mh-wrap{max-width:1360px}
  .mh-narrow{max-width:808px}
  .mh-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mh-prose{font-size:19px}
}
@media (min-width:2200px){
  .mh-wrap{max-width:1520px}
  .mh-narrow{max-width:848px}
}
