/* Network articles and article detail pages */
.articles-page,.article-page{color:#19263c;background:#fff}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.article-hero{position:relative;overflow:hidden;background:#e8f4ff}
.category-tabs{display:grid;grid-template-columns:repeat(7,1fr);align-items:center;height:50px;padding:6px 22px;background:#fff;border-radius:6px;box-shadow:0 8px 30px #344e7014;margin-bottom:19px;gap:7px}
.category-tabs a{height:31px;border:0;border-radius:18px;background:transparent;color:#515867;font-size:11px;white-space:nowrap}
.category-tabs a.active,.category-tabs a:hover{background:#0644d0;color:#fff;font-weight:700}
.article-list{min-height:909px}.article-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;min-height:101px;padding-bottom:10px;margin-bottom:17px;border-bottom:1px solid #edf1f5;color:inherit}
.article-row:hover .article-row-title{color:#0644c8}.article-row img{width:180px;height:100px;object-fit:cover;border-radius:5px}
.article-row-copy{display:flex;flex-direction:column;min-width:0}.article-row-title{font-size:16px;line-height:1.4;font-weight:700;color:#172033;margin:4px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.article-row-summary{font-size:11px;line-height:1.45;color:#858b96;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-row-meta{display:flex;align-items:center;gap:15px;color:#9aa4b5;font-size:10px;margin-top:auto;white-space:nowrap}
.article-row-category{padding:3px 8px;background:#eaf0ff;color:#3364ba;border-radius:12px;font-weight:700}
.article-row-metric:first-of-type{margin-left:auto}.article-row-metric svg{width:14px;height:14px;vertical-align:-3px;margin-right:3px;fill:none;stroke:currentColor;stroke-width:1.8}
.article-search{display:flex;width:100%;height:33px;border-radius:7px;box-shadow:0 6px 20px #173b6b16;overflow:hidden;margin-bottom:16px}.article-search input{width:100%;min-width:0;border:1px solid #eef1f7;border-right:0;padding:0 12px;color:#43516c;font-size:10px;outline-color:#3b6bed}.article-search button{width:42px;flex:none;background:#0644d0;border:0;color:#fff}.article-search svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.side-card{border-radius:8px;background:#fff;box-shadow:0 5px 25px #14356112;padding:16px 18px;margin-bottom:17px}.side-card h2{font-size:16px;color:#141b28;margin:0 0 14px;font-weight:700}
.hot-item{display:grid;grid-template-columns:74px 1fr;gap:12px;margin-bottom:12px;color:inherit}.hot-item:last-child{margin-bottom:0}.hot-image{position:relative}.hot-item img{width:74px;height:49px;object-fit:cover;border-radius:4px}.hot-rank{position:absolute;top:0;left:0;background:#416fc8;color:#fff;font-size:11px;min-width:14px;text-align:center;border-radius:3px 0 3px 0}.hot-item:nth-child(n+4) .hot-rank{background:#93afe7}.hot-copy strong{font-size:11px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hot-copy small{display:block;font-size:10px;color:#9aa3b0;margin-top:2px}
.hot-copy small svg{width:12px;height:12px;vertical-align:-2px;fill:none;stroke:currentColor;stroke-width:1.8}
.category-list a{display:flex;justify-content:space-between;align-items:center;font-size:11px;padding:8px 4px;border-bottom:1px solid #e9edf4}.category-list a:last-child{border:0}.category-list a:first-child,.category-list a:hover{color:#0644c8;font-weight:700}.category-list b{color:#a0a7b5;font-size:10px;font-weight:400}
.side-quote{height:194px;position:relative;overflow:hidden;border-radius:5px;background:linear-gradient(180deg,#eaf4ff 0%,#eef6ff 65%,#bfd8f4 100%);padding:25px 18px;color:#123c7d}.side-quote::after{content:"";position:absolute;left:-10%;right:-10%;bottom:-15px;height:70px;background:linear-gradient(160deg,transparent 25%,#8db8e5 26%,#bdd8f2 48%,#6fabe1 49%,#a7c9e9 70%);clip-path:polygon(0 80%,22% 58%,36% 68%,56% 18%,72% 54%,100% 38%,100% 100%,0 100%);opacity:.75}.side-quote-mark{position:absolute;left:14px;top:20px;color:#bfd1eb;font-size:47px;line-height:1}.side-quote p{position:relative;z-index:1;margin:14px 0 7px 17px;font-size:17px;line-height:1.7;font-weight:500}.side-quote cite{display:block;position:relative;z-index:1;text-align:right;font-size:12px;font-style:normal}
.pagination{display:flex;justify-content:center;align-items:center;gap:7px;padding-top:3px}.pagination button,.pagination span{display:grid;place-items:center;min-width:28px;height:28px;border:0;border-radius:5px;background:#f7f8fa;color:#303a4e;font-size:11px}.pagination button:first-child,.pagination button:last-child{border:1px solid #b3c7ff;background:#fff;color:#0644c8;font-size:19px}.pagination button.active{background:#0644d0;color:#fff;font-weight:700}.pagination button:disabled{opacity:.45;cursor:not-allowed}.empty-state{padding:80px 20px;text-align:center;color:#6f7887;font-size:14px;background:#f8fafd;border-radius:8px}.breadcrumb{display:flex;gap:10px;align-items:center;color:#8590a2;font-size:11px;height:48px}.breadcrumb a:hover{color:#0644c8}.detail-article h1{font-size:30px;line-height:1.35;color:#111b2c;letter-spacing:1px;margin:4px 0 18px;font-weight:700}.article-meta{display:flex;align-items:center;gap:11px;color:#8e98aa;font-size:11px;margin-bottom:24px;white-space:nowrap}.author-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#51779c,#a96d5d);color:#fff;font-size:14px}.article-meta time{margin-left:4px}.meta-stat{margin-left:auto}.meta-stat+.meta-stat{margin-left:2px}.meta-stat b{font-weight:400}.share-label{border:0;background:transparent;color:#798ba6;font-size:11px;padding:0}.social-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:0;background:#aac6bd;color:#fff;font-size:11px}.social-icon:nth-of-type(3){background:#a77874}.social-icon.link-icon{background:#0644c8}
.article-meta{margin-bottom:17px}.article-page .articles-sidebar{margin-top:-16px}
.article-lead{height:90px;display:flex;align-items:center;position:relative;background:#eef6ff;border-radius:5px;margin:0 0 14px;padding:12px 50px;color:#18447f}.article-lead p{margin:0;font-size:17px;line-height:1.55;font-weight:600}.article-lead span{position:absolute;font-size:58px;line-height:1;color:#bed2ed}.article-lead span:first-child{left:15px;top:8px}.article-lead span:last-child{right:14px;bottom:-22px}
.detail-cover{width:100%;height:235px;object-fit:cover;border-radius:4px}.article-body{font-size:14px;line-height:1.8;color:#626a76}.article-body p{margin:16px 0}.article-body h2{font-size:20px;line-height:1.4;color:#0644c8;margin:21px 0 8px;border-left:4px solid #0644c8;padding-left:10px}.article-tags{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0 13px}.article-tags a{border-radius:15px;background:#edf5ff;color:#6b84ab;padding:6px 14px;font-size:11px}.article-neighbors{display:grid;grid-template-columns:1fr 1fr;gap:18px}.article-neighbors a{background:#f5f7fa;border-radius:6px;padding:10px 17px;min-height:50px}.article-neighbors a:last-child{text-align:right}.article-neighbors span{display:block;color:#69778d;font-size:11px;margin-bottom:3px}.article-neighbors strong{font-size:11px;color:#1b2637;font-weight:600}
.article-page .articles-sidebar .side-card{margin-bottom:17px;padding:18px 20px}.article-page .hot-item{grid-template-columns:80px 1fr}.article-page .hot-item img{width:80px;height:57px}.article-page .hot-copy strong{font-size:12px}.tags-card .tag-cloud{display:grid;grid-template-columns:1fr 1fr;gap:9px}.tag-cloud a{background:#f4f6f8;color:#768092;text-align:center;border-radius:15px;padding:8px 4px;font-size:11px}.tag-cloud a:hover{background:#e7f0ff;color:#0644c8}.article-page .side-quote{height:259px}.article-page .side-quote p{font-size:19px;margin-top:17px}
.auth-dialog{border:0;border-radius:8px;max-width:360px;width:calc(100% - 32px);padding:30px;box-shadow:0 20px 65px #0d244a66}.auth-dialog::backdrop{background:#09204490}.auth-dialog h2{color:#0644c8;margin:0 0 12px}.auth-dialog p{line-height:1.7;color:#526174;font-size:14px}.auth-dialog .dialog-close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:25px}.toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);background:#132b4e;color:#fff;border-radius:5px;padding:10px 16px;font-size:12px;z-index:30}.toast[hidden]{display:none}
@media(min-width:1200px){.article-hero{height:315px}.detail-hero{height:290px}.article-hero-inner{max-width:1070px;padding-top:58px}.article-hero h1{font-size:73px}.article-hero h2{font-size:34px}.article-hero p{font-size:17px}.detail-hero .article-hero-inner{max-width:1100px;padding-top:47px}.detail-hero h1{font-size:82px}.detail-hero h2{font-size:32px}.category-tabs{height:64px;padding:8px 28px}.category-tabs a{height:40px;font-size:14px}.article-list{min-height:1210px}.article-row{grid-template-columns:240px minmax(0,1fr);gap:26px;min-height:135px;margin-bottom:21px;padding-bottom:12px}.article-row img{width:240px;height:132px}.article-row-title{font-size:20px}.article-row-summary{font-size:14px}.article-row-meta{font-size:12px}.article-search{height:43px}.article-search input{font-size:13px}.article-search button{width:53px}.side-card{padding:23px 24px;margin-bottom:20px}.side-card h2{font-size:21px}.hot-item{grid-template-columns:96px 1fr;gap:14px;margin-bottom:15px}.hot-item img{width:96px;height:64px}.hot-copy strong{font-size:14px}.hot-copy small{font-size:12px}.category-list a{font-size:14px;padding:10px 4px}.category-list b{font-size:12px}.side-quote{height:255px;padding:30px 24px}.side-quote p{font-size:22px}.side-quote cite{font-size:15px}.pagination button,.pagination span{min-width:36px;height:36px;font-size:14px}.breadcrumb{height:65px;font-size:14px}.detail-article h1{font-size:38px}.article-meta{font-size:13px}.article-lead{height:115px;padding:15px 62px}.article-lead p{font-size:22px}.detail-cover{height:310px}.article-body{font-size:17px}.article-body h2{font-size:26px}.article-tags a{font-size:14px}.article-neighbors a{min-height:64px}.article-neighbors span,.article-neighbors strong{font-size:13px}.article-page .articles-sidebar .side-card{padding:24px}.article-page .hot-item{grid-template-columns:100px 1fr}.article-page .hot-item img{width:100px;height:70px}.article-page .hot-copy strong{font-size:15px}.tag-cloud a{font-size:14px}.article-page .side-quote{height:340px}.article-page .side-quote p{font-size:19px}}
@media(max-width:900px){.article-hero-inner{padding-left:7%;padding-right:7%}.article-row{grid-template-columns:145px minmax(0,1fr);gap:14px}.article-row img{width:145px}.article-meta{flex-wrap:wrap;gap:8px}.article-lead p br{display:none}}
@media(max-width:700px){.article-hero,.detail-hero{height:340px}.article-hero-photo{inset:120px 0 0 0;background-position:center top}.article-hero-photo::before{background:linear-gradient(180deg,#e8f4ff,transparent 25%)}.article-hero-inner,.detail-hero .article-hero-inner{padding:20px 6%;max-width:none}.article-hero h1,.detail-hero h1{font-size:48px;letter-spacing:-3px}.article-hero h2,.detail-hero h2{font-size:20px}.article-hero p{font-size:11px}.category-tabs{display:flex;overflow-x:auto;scrollbar-width:none;padding:6px 10px;gap:3px}.category-tabs a{flex:none;padding:0 13px}.article-list{min-height:0}.article-row{grid-template-columns:110px minmax(0,1fr);gap:12px;min-height:100px;margin-bottom:12px}.article-row img{width:110px;height:88px}.article-row-title{font-size:13px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.article-row-summary{font-size:10px;-webkit-line-clamp:1}.article-row-meta{font-size:9px;gap:7px;flex-wrap:wrap}.article-row-metric{display:none}.articles-sidebar{margin-top:24px}.article-search{height:40px}.side-card{padding:18px}.hot-item{grid-template-columns:86px 1fr}.hot-item img{width:86px;height:56px}.hot-copy strong{font-size:13px}.hot-copy small{font-size:11px}.side-quote{height:200px}.breadcrumb{font-size:10px;height:40px}.detail-article h1{font-size:23px}.article-meta{font-size:10px;margin-bottom:15px}.meta-stat{margin-left:0}.article-lead{height:auto;min-height:92px;padding:18px 36px}.article-lead p{font-size:14px}.article-lead span{font-size:40px}.detail-cover{height:auto;aspect-ratio:2.6}.article-body{font-size:13px}.article-body h2{font-size:18px}.article-neighbors{gap:9px}.article-neighbors a{padding:9px}.article-neighbors strong{font-size:10px}.article-page .articles-sidebar{margin:28px 0}.article-page .hot-item{grid-template-columns:86px 1fr}.article-page .hot-item img{width:86px;height:56px}.article-page .side-quote{height:220px}}
@media(max-width:400px){.article-row-summary{display:none}.article-row-meta{margin-top:8px}.article-row-meta span:nth-child(3){display:none}.article-hero h1,.detail-hero h1{font-size:41px}.article-hero h2,.detail-hero h2{font-size:17px}}

/* The supplied design contains the complete hero artwork and its lettering. */
.article-hero{height:auto;aspect-ratio:2171 / 700}
.detail-hero{height:auto;aspect-ratio:2171 / 700}
.article-hero-image{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%}
@media(max-width:700px){
  .article-hero{height:157px;aspect-ratio:auto}
  .detail-hero{height:145px}
  .article-hero-image{width:max(700px,100%);max-width:none;height:100%;left:max(-38px,calc(100% - 700px));object-fit:cover;object-position:center 45%}
  .article-page .detail-hero{background-size:100% 100%;background-position:center}
}

.article-list{min-height:0}
.side-quote{background-color:#eef6ff;background-image:linear-gradient(180deg,#eaf4ff 0%,#eef6ff 55%,transparent 90%),url('article-mountains.jpg');background-position:center,center bottom;background-size:100% 100%,100% 46%;background-repeat:no-repeat}
.side-quote::after{display:none}
.category-tabs{margin-bottom:23px}
.article-row{margin-bottom:15px}
@media(min-width:1200px){.category-tabs{margin-bottom:25px}.article-row{margin-bottom:20px}}

/* Page-specific grids use the shared 1200px container without extra side padding. */
.articles-shell{position:relative;z-index:2;margin-top:-18px;padding-bottom:14px}
.articles-layout,.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 325px;gap:35px}
.articles-layout{padding:0}
.detail-layout{padding-bottom:8px}
.article-results,.detail-article,.articles-sidebar{min-width:0}
@media(max-width:1100px){
  .articles-layout,.detail-layout{grid-template-columns:minmax(0,1fr) 270px;gap:26px}
}
@media(max-width:800px){
  .articles-layout,.detail-layout{grid-template-columns:minmax(0,1fr) 235px;gap:20px}
}
@media(max-width:700px){
  .articles-shell{margin-top:-14px}
  .articles-layout,.detail-layout{display:block}
}

/* Article links, filters and search respond without altering the page geometry. */
.article-row{border-radius:5px;transition:transform .23s ease,background-color .23s ease,box-shadow .23s ease}
.article-row:hover,.article-row:focus-visible{transform:translateY(-2px);background:#f8fbff;box-shadow:0 7px 19px #12335c13}
.article-row img,.hot-item img{transition:transform .35s ease,filter .35s ease}
.article-row:hover img,.article-row:focus-visible img,.hot-item:hover img,.hot-item:focus-visible img{transform:scale(1.035);filter:saturate(1.1)}
.article-row-title,.hot-copy strong{transition:color .2s ease}
.hot-item{border-radius:5px;transition:transform .22s ease,background-color .22s ease}
.hot-item:hover,.hot-item:focus-visible{transform:translateX(3px);background:#f5f8fd}
.hot-item:hover strong{color:#0644c8}
.category-tabs a,.pagination button,.article-search button,.tag-cloud a,.article-tags a,.article-neighbors a,.social-icon,.share-label{
  transition:transform .2s ease,background-color .2s ease,color .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.category-tabs a:hover:not(.active),.pagination button:hover:not(:disabled):not(.active){background:#e8efff;color:#0644c8}
.category-tabs a:active,.pagination button:active:not(:disabled),.article-search button:active{transform:scale(.95)}
.article-search{transition:box-shadow .22s ease}
.article-search:focus-within{box-shadow:0 0 0 3px #0644c823,0 5px 20px #12335c14}
.category-list a{transition:color .2s ease,padding-left .2s ease}
.category-list a:hover{color:#0644c8;padding-left:9px}
.tag-cloud a:hover,.article-tags a:hover{transform:translateY(-2px);background:#dce9ff;color:#0644c8}
.article-neighbors a:hover{transform:translateY(-2px);box-shadow:0 5px 18px #12335c16}
.social-icon:hover,.share-label:hover{transform:translateY(-2px)}
.detail-cover{transition:filter .25s ease}
.detail-cover:hover{filter:brightness(1.07)}
.toast:not([hidden]){animation:toast-enter .25s ease-out both}
@keyframes toast-enter{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
.article-list.list-enter .article-row{animation:row-enter .36s ease-out backwards;animation-delay:calc(var(--row-index) * 28ms)}
@keyframes row-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

/* Phone reading flow: search first, then articles, with legible text and tap targets. */
@media(max-width:700px){
  .articles-page .articles-layout{display:flex;flex-direction:column}
  .articles-page .articles-sidebar{display:contents}
  .articles-page .article-search{order:0;margin:0 0 16px}
  .articles-page .article-results{order:1}
  .articles-page .side-card{order:2}
  .articles-page .hot-card{margin-top:24px}
  .articles-page .side-quote{order:3}
  .category-tabs{height:auto;min-height:50px;margin-bottom:14px}
  .category-tabs a{height:38px;font-size:12px}
  .article-search input{font-size:16px}
  .article-search button{width:48px}
  .article-row{grid-template-columns:clamp(100px,27vw,145px) minmax(0,1fr);gap:12px;min-height:105px;padding-bottom:12px}
  .article-row img{width:100%;height:100px}
  .article-row-title{font-size:15px;line-height:1.4}
  .article-row-summary{font-size:12px;line-height:1.5}
  .article-row-meta{gap:5px 8px;font-size:11px;white-space:normal}
  .article-row-meta time{white-space:nowrap}
  .pagination{flex-wrap:wrap;gap:5px;margin-top:14px}
  .pagination button,.pagination span{min-width:26px;height:32px}
  .article-page .articles-sidebar{margin-top:28px}
  .breadcrumb{height:auto;min-height:42px;gap:7px;flex-wrap:wrap;font-size:12px}
  .detail-article h1{font-size:clamp(22px,6.2vw,28px);letter-spacing:0}
  .article-meta{white-space:normal;gap:8px;font-size:11px}
  .author-avatar{flex:none}
  .share-label,.social-icon{min-width:32px;min-height:32px}
  .article-lead{min-height:0;padding:19px 30px}
  .article-lead p{font-size:15px;line-height:1.6}
  .detail-cover{aspect-ratio:16 / 9}
  .article-body{font-size:15px;line-height:1.85}
  .article-body h2{font-size:19px}
  .hot-item,.article-page .hot-item{grid-template-columns:90px minmax(0,1fr)}
  .hot-item img,.article-page .hot-item img{width:90px;height:60px}
  .hot-copy strong,.article-page .hot-copy strong{font-size:14px}
  .article-page .side-quote{min-height:230px;height:auto}
}
@media(max-width:480px){
  .article-neighbors{grid-template-columns:1fr;gap:8px}
  .article-neighbors a:last-child{text-align:left}
  .article-row-summary{display:none}
}

/* Preserve the complete banner images on phone screens. */
@media(max-width:700px){
  .article-hero{height:auto;aspect-ratio:2171 / 700}
  .detail-hero{height:auto;aspect-ratio:2171 / 700}
  .article-hero-image{inset:0;left:0;width:100%;max-width:100%;height:100%;object-fit:contain;object-position:center}
  .article-page .detail-hero{background-size:100% 100%;background-position:center}
}

/* Consistent vertical rhythm for the list and detail content. */
@media(min-width:701px){
  .articles-shell{padding-bottom:42px}
  .category-tabs{margin-bottom:34px}
  .article-row{margin-bottom:26px}
  .side-card{margin-bottom:28px}
  .detail-shell{padding-bottom:44px}
  .breadcrumb{margin-bottom:14px}
  .detail-article .article-lead{margin-bottom:24px}
  .detail-cover{margin-bottom:24px}
  .article-body h2{margin-top:30px}
}
@media(max-width:700px){
  .articles-shell{padding-bottom:30px}
  .category-tabs{margin-bottom:22px}
  .article-row{margin-bottom:18px}
  .side-card{margin-bottom:24px}
  .detail-shell{padding-bottom:32px}
  .breadcrumb{margin-bottom:12px}
  .detail-article .article-lead{margin-bottom:20px}
  .detail-cover{margin-bottom:20px}
  .article-body h2{margin-top:26px}
}

/* Draw the focus border on the rounded search control, not the clipped input. */
.article-search{border:1px solid #eef1f7}
.article-search input{border:0;outline:none}
.article-search:focus-within{border-color:#3b6bed;box-shadow:0 0 0 3px #0644c823,0 5px 20px #12335c14}

/* Article details show publication date, readership and one share action. */
.article-page .article-meta time,.article-page .article-meta .meta-stat{margin-left:0}
.article-page .article-meta .share-label{margin-left:auto;cursor:pointer}

/* One complete supplied banner is shared by the article list and inner pages. */
.article-hero,
.detail-hero,
.article-page .detail-hero,
.quote-page .detail-hero,
.biography-page .biography-hero {
  width: 100%;
  height: min(360px, 17.0052vw);
  max-height: 360px;
  aspect-ratio: auto;
  background: none;
}
.article-hero .inner-hero-photo {
  content: url('inner-hero-user-final-2117x360.jpg');
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
}

@media(max-width:900px){
  .articles-page .articles-shell{margin-top:0;padding-top:16px}
}
@media(max-width:700px){
  .article-hero,.detail-hero,.article-page .detail-hero,
  .quote-page .detail-hero,.biography-page .biography-hero{
    height:auto;
    max-height:none;
    aspect-ratio:2117 / 360;
  }
  .article-hero .inner-hero-photo{object-fit:contain}
}

/* Article title, metadata and adjacent article cards. */
.article-page .detail-article h1::before{
  content:"";
  display:block;
  width:42px;
  height:3px;
  margin:0 0 22px;
  background:#0644c8;
}
.article-page .article-meta{
  min-height:44px;
  padding:10px 14px;
  border-radius:6px;
  background:#f5f8fd;
}
.article-neighbors>div{
  position:relative;
  min-width:0;
  min-height:64px;
  padding:10px 17px;
  border-radius:6px;
  background:#f5f7fa;
  transition:transform .2s ease,box-shadow .2s ease;
}
.article-neighbors>div:last-child{text-align:right}
.article-neighbors>div:hover{transform:translateY(-2px);box-shadow:0 5px 18px #12335c16}
.article-neighbors strong a{
  display:inline;
  min-height:0;
  padding:0;
  border-radius:0;
  background:transparent;
  color:inherit;
}
.article-neighbors strong a:hover,.article-neighbors strong a:focus-visible{
  color:#0644c8;
  background:transparent;
  box-shadow:none;
  transform:none;
}
.article-neighbors strong a::after{content:"";position:absolute;inset:0}
.article-neighbors>div:focus-within{outline:2px solid #0644c8;outline-offset:2px}
.article-neighbors[hidden]{display:none}
.article-body a{color:#0644c8;font-weight:600;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.article-body a:hover,.article-body a:focus-visible{color:#f07800;text-decoration-thickness:2px}
.articles-page .articles-shell{margin-top:0}
.articles-page .articles-shell,.article-page .detail-shell,.quote-page .detail-shell,.biography-page .bio-shell{padding-top:12px}
.articles-page .breadcrumb,.article-page .breadcrumb,.quote-page .breadcrumb,.biography-page .breadcrumb{margin-bottom:18px;border-bottom:1px solid #e7edf6}
@media(min-width:701px){.article-page .articles-sidebar{margin-top:0}}
@media(max-width:700px){
  .articles-page .breadcrumb,.article-page .breadcrumb,.quote-page .breadcrumb,.biography-page .breadcrumb{min-height:42px;height:auto;margin-bottom:18px}
}
.pagination ul{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none}
.pagination li{list-style:none}
.pagination li a{display:grid;place-items:center;min-width:36px;height:36px;padding:0 8px;border-radius:5px;background:#f7f8fa;color:#303a4e;font-size:14px;text-decoration:none}
.pagination li:first-child a,.pagination li:last-child a{border:1px solid #b3c7ff;background:#fff;color:#0644c8;font-size:19px}
.pagination li.thisclass a{background:#0644d0;color:#fff;font-weight:700}
.pagination li.is-disabled a{opacity:.45;cursor:default}
.pagination li:not(.is-disabled):not(.thisclass) a:hover{background:#e8efff;color:#0644c8}
.pagination li[hidden]{display:none!important}

/* The wording lives in each page's HTML; the script only changes the active slide. */
.side-quote-slide[hidden]{display:none}
/* Let the visible quote set the card height while reserving space for the artwork and controls. */
.side-quote.side-quote-carousel,
.article-page .side-quote.side-quote-carousel{
  height:auto;
  min-height:0;
  padding-bottom:88px;
}
.side-quote-controls{
  position:absolute;
  right:18px;
  bottom:18px;
  z-index:2;
  display:flex;
  gap:8px;
}
.side-quote-controls button{
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  padding:0;
  border:1px solid #7da8df;
  border-radius:50%;
  background:#ffffffd9;
  color:#174c91;
  font-size:20px;
  line-height:1;
  transition:background-color .2s ease,transform .2s ease;
}
.side-quote-controls button:hover{background:#fff;transform:translateY(-2px)}
@media(max-width:480px){
  .article-neighbors>div:last-child{text-align:left}
}

/* Category links keep the former pill layout; hidden rows stay out of the grid. */
.category-tabs a{display:flex;align-items:center;justify-content:center}
.article-row[hidden],.empty-state[hidden],.pagination [hidden]{display:none!important}
