/* Blog + article surfaces */
.content-page{background:#fff;color:var(--brand-text,#092845)}
.content-page .site-header{position:fixed}
.content-page .site-header.scrolled .nav-shell{margin-top:9px;background:rgba(255,255,255,.92)}
.content-page .site-nav a[aria-current="page"]{color:#087e9f}
.blog-hero{position:relative;overflow:hidden;padding:170px 0 88px;background:linear-gradient(135deg,#041f39 0%,#073f62 52%,#0b8ba4 100%);color:#fff}
.blog-hero::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:58px 58px;mask-image:linear-gradient(to bottom,#000,transparent 85%)}
.blog-orb{position:absolute;border:1px solid rgba(255,255,255,.14);border-radius:50%}
.blog-orb-a{width:520px;height:520px;right:-210px;top:-180px}.blog-orb-b{width:250px;height:250px;left:-110px;bottom:-140px}
.blog-hero-shell{position:relative;z-index:1;display:grid;grid-template-columns:1.25fr .75fr;align-items:end;gap:90px}
.blog-hero .section-kicker{color:#8ddbea}
.blog-hero-copy h1{max-width:820px;margin:18px 0 22px;font-family:Montserrat,sans-serif;font-size:clamp(50px,6vw,80px);line-height:.98;letter-spacing:-.058em;font-weight:600}
.blog-hero-copy h1 span{color:#8ddbea}.blog-hero-copy>p{max-width:660px;margin:0;color:#d3e8ef;font-size:15px;line-height:1.8}
.blog-hero-note{padding:25px 27px;border:1px solid rgba(255,255,255,.16);border-radius:24px;background:rgba(255,255,255,.08);backdrop-filter:blur(16px)}
.blog-hero-note>span{font-size:9px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#8ddbea}
.blog-hero-note strong{display:block;margin:10px 0 7px;font-size:17px}.blog-hero-note p{margin:0;color:#d3e8ef;font-size:11px;line-height:1.65}
.blog-content-section{padding:72px 0 120px;background:linear-gradient(180deg,#f7fbfc,#fff 32%)}
.blog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:42px}
.blog-search{width:min(100%,420px);height:50px;display:flex;align-items:center;gap:11px;padding:0 16px;border:1px solid #cfe1e8;border-radius:999px;background:#fff;box-shadow:0 8px 24px rgba(6,35,63,.04)}
.blog-search svg{width:18px;height:18px;fill:none;stroke:#557087;stroke-width:1.6}.blog-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#092845;font-size:13px}.blog-search input::placeholder{color:#8195a5}
.blog-filters{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.blog-filters button{min-height:44px;padding:0 15px;border:1px solid #d5e5eb;border-radius:999px;background:#fff;color:#34566e;font-size:10px;font-weight:800;cursor:pointer;transition:.2s ease}.blog-filters button:hover,.blog-filters button.is-active{border-color:#0d8ca9;background:#eaf8fb;color:#087e9f}
.blog-featured{margin-bottom:74px}.blog-featured[hidden]{display:none}
.featured-card{display:grid;grid-template-columns:1.1fr .9fr;min-height:460px;overflow:hidden;border:1px solid #d9e8ee;border-radius:30px;background:#fff;box-shadow:0 22px 70px rgba(6,35,63,.09)}
.featured-media{min-height:420px;display:block;overflow:hidden;background:linear-gradient(145deg,#e8f7fa,#cfeaf1)}.featured-media img{width:100%;height:100%;display:block;object-fit:cover}
.featured-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:48px}
.featured-label{display:inline-flex;margin-bottom:18px;padding:7px 10px;border-radius:999px;background:#e9f8fb;color:#087e9f;font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.featured-copy h2{margin:10px 0 14px;font-family:Montserrat,sans-serif;font-size:clamp(30px,3.4vw,47px);line-height:1.06;letter-spacing:-.045em}.featured-copy h2 a{text-decoration:none}
.featured-copy p{margin:0 0 26px;color:#557087;font-size:13px;line-height:1.75}.featured-cta{width:auto}
.blog-list-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:26px}.blog-list-head h2{margin:8px 0 0;font-family:Montserrat,sans-serif;font-size:clamp(30px,3vw,42px);letter-spacing:-.04em}.blog-result-count{color:#71899b;font-size:11px;font-weight:700}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.blog-card{min-width:0;overflow:hidden;border:1px solid #dce9ef;border-radius:25px;background:#fff;box-shadow:0 12px 38px rgba(6,35,63,.055);transition:.25s ease}.blog-card:hover{transform:translateY(-4px);border-color:#bad8e3;box-shadow:0 24px 58px rgba(6,35,63,.10)}
.blog-card-media{display:block;height:220px;overflow:hidden;background:linear-gradient(145deg,#eaf7fb,#d8edf3)}.blog-card-media img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s ease}.blog-card:hover .blog-card-media img{transform:scale(1.035)}
.blog-card-placeholder{height:100%;display:grid;place-items:center;font-family:Montserrat,sans-serif;font-size:46px;font-weight:800;color:#0c7e9c;opacity:.42}
.blog-card-body{padding:22px 23px 24px}.blog-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;color:#087e9f;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.blog-meta time{color:#71899b;text-transform:none;letter-spacing:0}
.blog-card h2{margin:0 0 10px;font-family:Montserrat,sans-serif;font-size:20px;line-height:1.2;letter-spacing:-.03em}.blog-card h2 a{text-decoration:none}.blog-card p{margin:0 0 18px;color:#557087;font-size:12px;line-height:1.7}.blog-read{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:#087e9f;font-size:11px;font-weight:800;text-decoration:none}.blog-read span{transition:transform .2s ease}.blog-read:hover span{transform:translateX(4px)}
.blog-empty,.blog-error{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:36px;border:1px dashed #bad3dc;border-radius:24px;background:#fff}.blog-empty strong{font-size:17px}.blog-empty span{color:#557087;font-size:12px;line-height:1.6}.blog-empty code{font-size:11px;background:#edf5f8;padding:2px 5px;border-radius:5px}
.blog-featured-skeleton,.blog-card-skeleton{border:1px solid #e0ebef;background:linear-gradient(105deg,#f3f8fa 25%,#fff 38%,#f3f8fa 51%);background-size:200% 100%;animation:blogShimmer 1.4s linear infinite}.blog-featured-skeleton{height:460px;border-radius:30px}.blog-card-skeleton{height:410px;border-radius:25px}

/* Article */
.article-loading{padding:180px 0 120px}.article-loading-bar{width:110px;height:12px;border-radius:999px;background:#edf4f7}.article-loading-title{width:min(90%,740px);height:80px;margin:24px 0;border-radius:18px;background:#edf4f7}.article-loading-copy{width:min(75%,620px);height:24px;border-radius:12px;background:#f1f6f8}
.article-hero{padding:150px 0 0;background:linear-gradient(180deg,#f4fafc,#fff)}.article-hero-inner{max-width:1080px}.article-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#34566e;font-size:11px;font-weight:800;text-decoration:none}.article-meta{display:flex;gap:15px;align-items:center;margin-top:24px;color:#087e9f;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.article-meta time{color:#71899b;text-transform:none;letter-spacing:0}
.article-hero h1{max-width:940px;margin:16px 0 20px;font-family:Montserrat,sans-serif;font-size:clamp(46px,6vw,76px);line-height:1.02;letter-spacing:-.058em}.article-excerpt{max-width:760px;margin:0 0 42px;color:#557087;font-size:16px;line-height:1.75}.article-cover{height:min(58vw,610px);overflow:hidden;border:1px solid #d9e8ee;border-radius:32px;background:linear-gradient(145deg,#e8f7fa,#d7edf3);box-shadow:0 26px 75px rgba(6,35,63,.10)}.article-cover img{width:100%;height:100%;display:block;object-fit:cover}.article-cover-placeholder{height:100%}
.article-layout{display:grid;grid-template-columns:minmax(0,720px) 300px;justify-content:space-between;gap:70px;padding-top:64px;padding-bottom:100px}.article-body{font-size:16px;line-height:1.85;color:#274960}.article-body p{margin:0 0 24px}.article-body h2,.article-body h3,.article-body h4{font-family:Montserrat,sans-serif;color:#092845;letter-spacing:-.035em}.article-body h2{margin:48px 0 18px;font-size:32px}.article-body h3{margin:38px 0 16px;font-size:25px}.article-body h4{margin:30px 0 12px;font-size:19px}.article-body strong{color:#092845}.article-body a{color:#087e9f}.article-body blockquote{margin:36px 0;padding:22px 24px;border-left:3px solid #1599b6;border-radius:0 18px 18px 0;background:#eff9fb;color:#24495f;font-size:17px}.article-body ul,.article-body ol{margin:0 0 26px;padding-left:24px}.article-body li{margin:8px 0}.article-body figure{margin:42px 0}.article-body figure img{width:100%;height:auto;border-radius:24px}.article-body figcaption{margin-top:9px;color:#71899b;font-size:11px;text-align:center}
.article-aside{position:relative}.article-aside-card{position:sticky;top:112px;padding:26px;border:1px solid #d7e6ec;border-radius:24px;background:#fff;box-shadow:0 16px 48px rgba(6,35,63,.075)}.article-aside-card h2{margin:11px 0 10px;font-family:Montserrat,sans-serif;font-size:24px;line-height:1.1;letter-spacing:-.04em}.article-aside-card p{margin:0 0 21px;color:#557087;font-size:12px;line-height:1.7}.article-aside-card .button{width:100%}.article-call{min-height:44px;margin-top:8px;display:flex;align-items:center;justify-content:center;color:#34566e;font-size:11px;font-weight:800;text-decoration:none}
.related-posts{padding:88px 0 120px;border-top:1px solid #e1edf1;background:#f7fbfc}.article-error{padding:180px 0 120px}.article-error-card{max-width:720px;padding:44px;border:1px solid #d9e8ee;border-radius:28px;background:#fff;box-shadow:0 20px 60px rgba(6,35,63,.08)}.article-error-card h1{margin:14px 0;font-family:Montserrat,sans-serif;font-size:46px;letter-spacing:-.05em}.article-error-card p{margin:0 0 24px;color:#557087;line-height:1.7}
@media(max-width:900px){.blog-hero-shell{grid-template-columns:1fr;gap:35px}.blog-hero-note{max-width:620px}.blog-toolbar{align-items:flex-start;flex-direction:column}.blog-filters{justify-content:flex-start}.featured-card{grid-template-columns:1fr}.featured-media{min-height:330px}.featured-copy{padding:34px}.blog-grid{grid-template-columns:1fr 1fr}.article-layout{grid-template-columns:1fr;gap:35px}.article-aside-card{position:static}.article-aside{max-width:620px}}
@media(max-width:620px){.blog-hero{padding:130px 0 66px}.blog-hero-copy h1{font-size:clamp(42px,12vw,58px)}.blog-content-section{padding:48px 0 86px}.blog-search{width:100%}.featured-card{border-radius:24px}.featured-media{min-height:240px}.featured-copy{padding:26px}.blog-grid{grid-template-columns:1fr}.blog-card-media{height:205px}.article-hero{padding-top:125px}.article-hero h1{font-size:clamp(40px,11vw,56px)}.article-excerpt{font-size:14px}.article-cover{height:62vw;min-height:240px;border-radius:24px}.article-layout{padding-top:42px;padding-bottom:76px}.article-body{font-size:15px}.article-body h2{font-size:27px}.related-posts{padding:68px 0 90px}}


/* Author system */
.blog-author,.home-blog-author,.article-author-compact{
  display:flex;align-items:center;gap:10px
}
.blog-author{margin:2px 0 16px}
.blog-author img,.blog-author-fallback,.home-blog-author img,.home-blog-author>span,.article-author-compact img,.article-author-fallback{
  width:34px;height:34px;flex:0 0 34px;border-radius:50%;object-fit:cover
}
.blog-author-fallback,.home-blog-author>span,.article-author-fallback{
  display:grid;place-items:center;background:linear-gradient(145deg,#e7f7fa,#d3edf3);
  color:#087e9f;font-family:Montserrat,sans-serif;font-size:10px;font-weight:800;border:1px solid #c8e3eb
}
.blog-author>div,.article-author-compact>div{display:flex;min-width:0;flex-direction:column;line-height:1.15}
.blog-author small,.article-author-compact small,.home-blog-author small{color:#7b8e9d;font-size:8px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.blog-author strong,.article-author-compact strong,.home-blog-author strong{color:#173d58;font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.blog-author em,.article-author-compact em{margin-top:3px;color:#6f8495;font-size:9px;font-style:normal}
.blog-author-featured{margin:2px 0 22px}.blog-author-featured img,.blog-author-featured .blog-author-fallback{width:42px;height:42px;flex-basis:42px}
.blog-author-featured strong{font-size:12px}
.home-blog-author{margin:-2px 0 15px}.home-blog-author img,.home-blog-author>span{width:32px;height:32px;flex-basis:32px}.home-blog-author small{display:flex;flex-direction:column;gap:2px;text-transform:none;letter-spacing:0;font-size:9px}.home-blog-author strong{font-size:10px}
.article-author-hero{margin:0 0 34px}.article-author-compact img,.article-author-compact .article-author-fallback{width:46px;height:46px;flex-basis:46px}.article-author-compact small{font-size:8px}.article-author-compact strong{font-size:12px}.article-author-compact em{font-size:9px}
.article-main-column{min-width:0}
.article-author-card{margin-top:62px;padding-top:36px;border-top:1px solid #dce9ef}
.article-author-card-inner{display:grid;grid-template-columns:84px 1fr;gap:22px;align-items:start;padding:26px;border:1px solid #d6e6ec;border-radius:24px;background:linear-gradient(145deg,#fbfeff,#f2f9fb)}
.article-author-card-inner>img,.article-author-card-inner>.article-author-fallback{width:84px;height:84px;border-radius:22px;object-fit:cover}
.article-author-card-inner>.article-author-fallback{font-size:20px}
.article-author-card-inner h2{margin:8px 0 5px;font-family:Montserrat,sans-serif;font-size:24px;letter-spacing:-.035em}
.article-author-role{display:block;color:#087e9f;font-size:10px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.article-author-card-inner p{margin:11px 0 0;color:#557087;font-size:12px;line-height:1.72}
@media(max-width:620px){
  .article-author-card-inner{grid-template-columns:64px 1fr;padding:20px}
  .article-author-card-inner>img,.article-author-card-inner>.article-author-fallback{width:64px;height:64px;border-radius:18px}
  .article-author-card-inner h2{font-size:21px}
}


/* Author avatars only — never render author photos as card media */
.blog-author img,
.blog-author .blog-author-fallback{
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  min-height:34px !important;
  max-width:34px !important;
  max-height:34px !important;
  flex:0 0 34px !important;
  aspect-ratio:1/1;
  border-radius:50% !important;
  object-fit:cover !important;
  object-position:center !important;
}
.blog-author-featured img,
.blog-author-featured .blog-author-fallback{
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  max-width:38px !important;
  max-height:38px !important;
  flex:0 0 38px !important;
}
.article-author-compact img,
.article-author-compact .article-author-fallback{
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  min-height:44px !important;
  max-width:44px !important;
  max-height:44px !important;
  flex:0 0 44px !important;
  aspect-ratio:1/1;
  border-radius:50% !important;
  object-fit:cover !important;
  object-position:center !important;
}
.article-author-card{display:none !important}


/* Clickable author identity */
a.blog-author,a.article-author-compact,a.home-blog-author{text-decoration:none}
a.blog-author:hover strong,a.article-author-compact:hover strong,a.home-blog-author:hover strong{color:#087e9f}
a.blog-author:focus-visible,a.article-author-compact:focus-visible,a.home-blog-author:focus-visible{outline:3px solid rgba(17,148,179,.22);outline-offset:4px;border-radius:12px}

/* Author profile page */
.author-loading{padding:170px 0 120px}.author-loading-card{height:520px;border:1px solid #e0ebef;border-radius:30px;background:linear-gradient(105deg,#f3f8fa 25%,#fff 38%,#f3f8fa 51%);background-size:200% 100%;animation:blogShimmer 1.4s linear infinite}
.author-profile{position:relative;overflow:hidden;padding:156px 0 92px;background:linear-gradient(180deg,#f1f9fb 0%,#fff 100%)}
.author-profile-bg{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 15% 25%,rgba(53,180,208,.13),transparent 24%),radial-gradient(circle at 84% 14%,rgba(6,35,63,.07),transparent 22%)}
.author-profile-shell{position:relative;display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);align-items:center;gap:78px}
.author-portrait{position:relative;aspect-ratio:4/5;overflow:hidden;border:1px solid #d2e6ed;border-radius:32px;background:linear-gradient(145deg,#e9f8fb,#d8eef4);box-shadow:0 28px 80px rgba(6,35,63,.11)}
.author-portrait img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.author-portrait-fallback{height:100%;display:grid;place-items:center;font-family:Montserrat,sans-serif;font-size:72px;font-weight:800;color:#0b819e}
.author-profile-copy{max-width:700px}.author-profile-copy .article-back{margin-bottom:26px}.author-profile-copy h1{margin:14px 0 12px;font-family:Montserrat,sans-serif;font-size:clamp(46px,6vw,76px);line-height:1;letter-spacing:-.055em}.author-role{display:inline-flex;margin:0 0 24px;padding:8px 11px;border-radius:999px;background:#e8f7fa;color:#087e9f;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.author-bio{max-width:660px;color:#48677c;font-size:15px;line-height:1.82}.author-bio p{margin:0 0 17px}.author-bio h2,.author-bio h3{font-family:Montserrat,sans-serif;color:#092845;letter-spacing:-.035em}.author-profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}.author-profile-actions .button-secondary{border:1px solid #cfe1e8;background:#fff;color:#183d5b}
.author-posts-section{padding:86px 0 120px;border-top:1px solid #e1edf1;background:#f8fbfc}
.author-posts-section .blog-list-head h2 span{color:#087e9f}
@media(max-width:900px){.author-profile-shell{grid-template-columns:300px 1fr;gap:42px}.author-profile-copy h1{font-size:50px}}
@media(max-width:700px){.author-profile{padding:125px 0 70px}.author-profile-shell{grid-template-columns:1fr;gap:34px}.author-portrait{width:min(100%,360px);justify-self:center}.author-profile-copy h1{font-size:clamp(42px,12vw,58px)}.author-bio{font-size:14px}.author-posts-section{padding:68px 0 90px}}


/* Sanity author profile structured details */
.author-details-section{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  padding:0 max(24px,calc((100vw - 1180px)/2)) 86px;
  background:#fff;
}
.author-detail-card{
  min-width:0;
  padding:24px;
  border:1px solid #dce9ef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 30px rgba(6,35,63,.045);
}
.author-detail-wide{grid-column:1/-1}
.author-detail-card p{margin:12px 0 0;color:#557087;font-size:13px;line-height:1.75}
.author-detail-card ul{margin:14px 0 0;padding-left:19px;color:#34566e;font-size:12px;line-height:1.7}
.author-detail-card li+li{margin-top:6px}
.author-education-item+ .author-education-item{margin-top:18px;padding-top:18px;border-top:1px solid #e3edf1}
.author-education-item h3{margin:12px 0 0;font-family:Montserrat,sans-serif;font-size:16px;letter-spacing:-.025em}
.author-education-item p{margin-top:6px}
@media(max-width:700px){
  .author-details-section{grid-template-columns:1fr;padding:0 20px 66px}
  .author-detail-wide{grid-column:auto}
}
/* Mobile reading polish v9 */
@media(max-width:620px){
  .content-page .shell{width:calc(100% - 32px)!important}
  .blog-hero{padding:112px 0 52px!important}
  .blog-hero-copy h1{font-size:clamp(38px,11vw,50px)!important;line-height:1!important}
  .blog-hero-note{padding:20px!important;border-radius:20px!important}
  .blog-content-section{padding:44px 0 74px!important}
  .blog-toolbar{gap:16px!important}
  .blog-search{min-height:48px}
  .blog-filters{gap:7px!important}
  .blog-filter{min-height:44px;display:inline-flex;align-items:center}
  .featured-card{border-radius:22px!important}
  .featured-media{min-height:210px!important}
  .featured-copy{padding:22px!important}
  .blog-card{border-radius:20px}
  .blog-card-media{height:190px!important}
  .article-hero{padding-top:112px!important}
  .article-hero h1{font-size:clamp(36px,10.5vw,48px)!important;line-height:1.03!important}
  .article-excerpt{font-size:15px!important;line-height:1.7!important}
  .article-cover{height:58vw!important;min-height:220px!important;border-radius:20px!important}
  .article-layout{padding-top:36px!important;padding-bottom:68px!important}
  .article-body{font-size:16px!important;line-height:1.78!important}
  .article-body h2{font-size:25px!important;line-height:1.15!important}
  .article-body h3{font-size:21px!important}
  .article-body figure{margin:30px 0!important}
  .article-body figure img{border-radius:18px!important}
  .article-aside-card{padding:20px!important;border-radius:20px!important}
  .related-posts{padding:58px 0 78px!important}
}
@media(max-width:430px){
  .content-page .shell{width:calc(100% - 28px)!important}
  .blog-hero{padding-top:104px!important}
  .blog-hero-copy h1{font-size:37px!important}
  .featured-media{min-height:190px!important}
  .featured-copy{padding:20px!important}
  .article-hero{padding-top:104px!important}
  .article-hero h1{font-size:35px!important}
  .article-cover{min-height:205px!important}
  .article-body{font-size:15.5px!important}
  .article-body blockquote{padding:18px!important;border-radius:0 14px 14px 0!important}
}
