/* =====================================================================
   Coventry Law School — block theme component styles
   Applied via custom classes on blocks (theme.json handles tokens).
   ===================================================================== */
:root{
  --brand:#0066CC;--brand-deep:#004C99;--teal:#0099CC;--teal-deep:#007AA6;
  --ink:#14202B;--ink-soft:#586572;--grey:#999999;--surface:#F2F6FA;
  --footer:#04192C;--rule:#E4E9EF;--rule-strong:#CCD5DE;
  --r-card:0px;--r-pill:0px;--r-pic:0px;
  --r-nav:0px;
  --r-tag:0px;
}

/* ---------- header bar (floating/sticky) ---------- */
.cls-header-sticky{position:sticky;top:0;z-index:100;}
.admin-bar .cls-header-sticky{top:32px;}
@media(max-width:782px){.admin-bar .cls-header-sticky{top:46px;}}
.cls-bar{
  background:rgba(255,255,255,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--rule);
}
.cls-bar.wp-block-group{margin-top:0;margin-bottom:0;}
.cls-bar > .wp-block-group{min-height:76px;}
.cls-logo svg{height:40px;width:auto;display:block;}
.cls-logo .cls-1{fill:var(--brand);}
.cls-bar .wp-block-navigation{font-size:.82rem;font-weight:500;}
.cls-bar .wp-block-navigation a{color:var(--ink-soft);text-decoration:none;}
.cls-bar .wp-block-navigation a:hover{color:var(--brand);}

/* ---------- hero ----------
   The campus photo under a light brand-blue scrim: strongest behind the text on the
   left, clearing to the bare photo on the right. Applied to the Cover block's own
   overlay. The !important flags are needed because the front page carries the old
   gradient, image and height as inline attributes saved in the page. */
.cls-hero.wp-block-cover{
  min-height:420px !important;padding-top:66px !important;padding-bottom:60px !important;
  /* fallback shown only if the photo fails to load */
  background:linear-gradient(103deg,var(--brand-deep) 0%,var(--brand) 100%) !important;
}
.cls-hero .wp-block-cover__image-background,
.cls-hero .wp-block-cover__video-background{display:none !important;}
.cls-hero .wp-block-cover__background{
  opacity:1 !important;
  background:
    linear-gradient(100deg,rgba(0,76,153,.9) 0%,rgba(0,76,153,.76) 42%,rgba(0,76,153,.4) 70%,rgba(0,76,153,.08) 100%),
    url(../images/hero.jpg) center 42%/cover no-repeat !important;
}
.cls-hero .wp-block-cover__inner-container{width:100%;}
.cls-heroinner{width:100%;max-width:1080px;margin-left:auto;margin-right:auto;text-align:left;}
.cls-anniv{
  display:inline-block;border:1px solid rgba(255,255,255,.45);color:#fff;
  font-size:.72rem;font-weight:500;letter-spacing:0;
  padding:7px 16px 7px 38px;border-radius:var(--r-pill);position:relative;margin:0 0 22px;
}
.cls-anniv::before{
  content:"";position:absolute;left:15px;top:50%;transform:translateY(-50%);
  width:15px;height:15px;background:no-repeat center/contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M9 14.5 8 22l4-2.2L16 22l-1-7.5'/%3E%3C/svg%3E");
}
.cls-hero-title{font-weight:900;font-size:clamp(2.8rem,7vw,5.6rem);line-height:1;letter-spacing:-.025em;color:#fff;margin:0 0 20px;}
.cls-lede{font-size:1.24rem;color:rgba(255,255,255,.92);max-width:56ch;margin:0 0 46px;}

.cls-stats{border-top:1px solid rgba(255,255,255,.28);padding-top:24px;gap:0;}
.cls-stats.wp-block-columns{margin-bottom:0;}
.cls-stat{position:relative;}
.cls-stat::before{content:"";display:block;width:26px;height:26px;margin-bottom:10px;background:no-repeat center/contain;}
.cls-stat--cap::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bfe2f4' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 2 9l10 5 10-5-10-5Z'/%3E%3Cpath d='M6 11.4V16c0 1.1 2.7 2.6 6 2.6s6-1.5 6-2.6v-4.6'/%3E%3Cpath d='M22 9v5.5'/%3E%3C/svg%3E");}
.cls-stat--journal::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bfe2f4' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5C10.5 5 8 4.2 4.5 4.5 4 4.5 3.5 5 3.5 5.5v12c0 .6.5 1 1 1 3.3-.2 5.6.6 7 1.9 1.4-1.3 3.7-2.1 7-1.9.5 0 1-.4 1-1v-12c0-.5-.5-1-1-1C17 4.2 14.5 5 12 6.5Z'/%3E%3Cpath d='M12 6.5V20'/%3E%3C/svg%3E");}
.cls-stat .cls-n{font-weight:900;font-size:2.2rem;line-height:1;color:#fff;margin:0;}
.cls-stat .cls-l{font-size:.82rem;color:rgba(255,255,255,.82);margin:9px 0 0;max-width:18ch;}
.cls-tef{margin-top:22px;}
.cls-tef img{height:62px;width:auto;}

/* ---------- generic section ---------- */
.cls-section{padding-top:74px;padding-bottom:74px;padding-left:24px;padding-right:24px;}
.cls-journal,.cls-quote{padding-left:24px;padding-right:24px;}
.cls-section .cls-head{margin-bottom:30px;}
.cls-section .cls-head h2{margin:0;}
.cls-head{align-items:center;}
.cls-allposts{margin:0;}
.cls-allposts .wp-block-button__link{background:transparent;color:var(--brand);border:1.5px solid var(--rule-strong);border-radius:var(--r-pill);padding:9px 21px;font-size:.82rem;font-weight:500;}
.cls-allposts .wp-block-button__link:hover{background:var(--brand);color:#fff;border-color:var(--brand);}
.cls-eyebrow{font-size:.74rem;font-weight:500;letter-spacing:0;color:var(--teal-deep);margin:0 0 8px;}

/* topic chips (Categories / buttons) */
.cls-chips .wp-block-button__link,
.cls-chips a{background:transparent;color:var(--brand);border:1px solid var(--rule-strong);border-radius:var(--r-pill);padding:8px 16px;font-size:.8rem;font-weight:500;text-decoration:none;}
.cls-chips .wp-block-button__link:hover,.cls-chips a:hover{background:var(--brand);color:#fff;border-color:var(--brand);}

/* ---------- post cards (Query Loop) ---------- */
.cls-cards .wp-block-post-template{gap:26px;}
.cls-cards .wp-block-post-template > li{
  background:#fff;border:1px solid var(--rule-strong);border-radius:var(--r-card);overflow:hidden;
  display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s,border-color .2s;
}
.cls-cards .wp-block-post-template > li:hover{border-color:var(--brand);}
.cls-cards .cls-card-media{position:relative;margin:0;flex:1 1 auto;min-height:190px;overflow:hidden;background:linear-gradient(135deg,#1f7ad6,#004c99);}
.cls-cards .cls-card-media .wp-block-post-featured-image{margin:0;height:100%;display:block;}
.cls-cards .cls-card-media .wp-block-post-featured-image a{display:block;height:100%;}
.cls-cards .cls-card-media img{display:block;width:100%;height:100%;min-height:190px;object-fit:cover;}
.cls-cards .cls-card-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:9px;flex:0 0 auto;align-items:flex-start;text-align:left;}
.cls-cardcat{position:absolute;top:13px;left:13px;z-index:2;margin:0;background:rgba(255,255,255,.94);padding:6px 13px;border-radius:var(--r-pill);font-size:0;line-height:1;max-width:calc(100% - 26px);overflow:hidden;}
.cls-cardcat a{font-size:.8rem;font-weight:600;letter-spacing:0;color:var(--brand);text-decoration:none;}
.cls-cardcat a:not(:first-of-type){display:none;}
.cls-cardcat a:hover{color:var(--brand-deep);}
.cls-cards .wp-block-post-title{font-size:1.18rem;font-weight:700;line-height:1.24;letter-spacing:-.01em;margin:0;}
.cls-cards .wp-block-post-title a{text-decoration:none;color:var(--ink);}
.cls-cards .wp-block-post-title a:hover{color:var(--brand);}
.cls-cards .cls-cardmeta{margin-top:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;row-gap:2px;color:var(--ink-soft);padding-top:6px;}
.cls-cardmeta .wp-block-post-author-name,
.cls-cardmeta .wp-block-post-date{font-size:.78rem;line-height:1.45;}
.cls-cardmeta .wp-block-post-author-name{font-weight:700;color:var(--ink);}
.cls-cardmeta .wp-block-post-author-name a{color:var(--ink);text-decoration:none;}
.cls-cardmeta .wp-block-post-author-name a:hover{color:var(--brand);}
.cls-cardmeta .wp-block-post-date{color:var(--ink-soft);font-weight:400;}
/* card bylines stay text-only — no avatars in the listing grid */
.cls-cardmeta .cls-byline-pic,.cls-cardmeta img{display:none;}
.cls-cardmeta .cls-byline-authors{display:inline;padding-left:0;}
.cls-cardmeta .cls-byline-author{display:inline;gap:0;}

/* feature-first: wider lead post on the top row (homepage) */
.cls-feature .wp-block-post-template{grid-template-columns:repeat(3,minmax(0,1fr));}
.cls-feature .wp-block-post-template > li:first-child{grid-column:span 2;}
.cls-feature .wp-block-post-template > li:first-child .cls-card-media{min-height:340px;}
.cls-feature .wp-block-post-template > li:first-child .wp-block-post-title{font-size:1.6rem;line-height:1.18;}
.cls-feature .wp-block-post-template > li:first-child .cls-card-body{padding:26px 30px 28px;}
@media(max-width:781px){
  .cls-feature .wp-block-post-template > li:first-child{grid-column:auto;}
  .cls-feature .wp-block-post-template > li:first-child .cls-card-media{min-height:210px;}
}

/* ---------- journal band ---------- */
/* Pale surface, not a second blue block. The preset gradient class carries !important,
   so the override matches its classes and out-ranks it. */
.cls-journal.has-background,
.cls-journal.has-journal-gradient-background.has-background{background:var(--surface) !important;color:var(--ink);}
.cls-journal :where(h2){color:var(--ink);}
.cls-journal p{color:var(--ink-soft);}
.cls-journal .cls-eyebrow{color:var(--teal-deep);}
.cls-journal .wp-block-button__link{background:transparent;border:1px solid var(--brand);color:var(--brand);}
.cls-journal .wp-block-button__link:hover{background:var(--brand);color:#fff;}
.cls-cover{background:#fff;color:var(--ink);aspect-ratio:3/4;border:1px solid var(--rule-strong);border-radius:var(--r-card);padding:26px 24px;display:flex;flex-direction:column;max-width:250px;margin-left:auto;}
.cls-cover .c-sub{font-size:.8rem;font-weight:500;letter-spacing:0;color:var(--brand);}
.cls-cover .c-rule{height:3px;background:var(--teal);width:42px;margin:15px 0;border-radius:0;}
.cls-cover .c-title{font-weight:900;font-size:1.65rem;line-height:1.1;letter-spacing:-.01em;color:var(--ink);}
.cls-cover .c-foot{margin-top:auto;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;font-size:.82rem;color:var(--ink-soft);}
.cls-cover .c-vol{font-weight:900;font-size:2.6rem;line-height:1;color:var(--brand);}

/* ---------- quote ---------- */
.cls-quote,.cls-quote.has-surface-background-color.has-background{background:#004C99 !important;border:0;color:#fff;}
.cls-quote-inner{display:flex;gap:44px;align-items:center;}
.cls-quote-photo{flex:0 0 auto;margin:0;}
.cls-quote-photo,.cls-quote-photo img,.cls-quote img{border-radius:0 !important;}
.cls-quote-photo img{width:176px;height:176px;object-fit:cover;display:block;}
.cls-quote-body{flex:1 1 auto;min-width:0;}
.cls-quote blockquote{border:0;margin:0;text-align:left;font-family:var(--cls-accent);font-style:normal;font-weight:400;font-size:clamp(1.4rem,2.4vw,1.95rem);line-height:1.4;letter-spacing:0;color:#fff;}
.cls-quote blockquote p{margin:0;color:#fff;}
.cls-quote cite{display:block;margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.35);max-width:30rem;font-style:normal;font-family:'Roboto',system-ui,Arial,sans-serif;font-size:.95rem;font-weight:400;line-height:1.5;letter-spacing:0;color:rgba(255,255,255,.9);}
.cls-quote cite strong,.cls-quote cite .cls-cite-name{display:block;font-weight:700;color:#fff;}
@media(max-width:680px){
  .cls-quote-inner{flex-direction:column;gap:22px;}
  .cls-quote-photo img{width:120px;height:120px;}
}

/* ---------- about + find us ---------- */
.cls-findus{background:#fff;border:1px solid var(--rule-strong);border-radius:var(--r-card);overflow:hidden;}
.cls-findus .cls-map{height:180px;background:linear-gradient(135deg,#d6e8f6,#b9d2e8);}
.cls-findus .cls-mapframe{display:block;width:100%;height:230px;border:0;}
.cls-findus .cls-addr{padding:22px 24px;}
.cls-findus .cls-addr .cls-eyebrow{margin-bottom:8px;}

/* ---------- single post ---------- */
.cls-backlink{font-size:.78rem;font-weight:600;letter-spacing:0;margin:0 0 18px;}
.cls-backlink a{color:var(--ink-soft);text-decoration:none;}
.cls-backlink a:hover{color:var(--brand);}
.cls-postcat{font-size:.74rem;font-weight:700;letter-spacing:0;margin-bottom:14px;}
.cls-postcat a{color:var(--brand);text-decoration:none;}
.cls-postcat a:hover{color:var(--brand-deep);text-decoration:underline;}
.cls-byline{align-items:center;margin-top:22px;}
.cls-byline img{width:46px;height:46px;border-radius:var(--r-pic);object-fit:cover;}
.cls-byline .cls-byline-name a{font-weight:700;text-decoration:none;color:var(--brand);}
.cls-byline .cls-byline-name a:hover{color:var(--brand-deep);}
.cls-byline .wp-block-post-date{color:var(--ink-soft);}
.cls-postimage img{width:100%;border-radius:var(--r-card);}

/* post header: title, then image + meta side by side (stacks on mobile) */
.cls-posttitle{font-size:clamp(2rem,4.4vw,2.7rem);line-height:1.12;letter-spacing:-.02em;margin-bottom:4px;}
.cls-posthead{margin-top:12px;}
.cls-posthead .wp-block-post-featured-image{margin:0;}
.cls-posthead .wp-block-post-featured-image img{width:100%;border-radius:var(--r-card);display:block;}
.cls-postmeta{padding-top:4px;}
.cls-postmeta .wp-block-post-date{position:relative;padding-left:27px;color:var(--ink-soft);font-size:.95rem;}
.cls-postmeta .wp-block-post-date::before{content:"";position:absolute;left:0;top:1px;width:17px;height:17px;background:no-repeat center/contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586572' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E");}
.cls-postmeta .wp-block-post-author-name{position:relative;padding-left:27px;font-weight:700;font-size:1rem;line-height:1.42;color:var(--ink);}
.cls-postmeta .wp-block-post-author-name::before{content:"";position:absolute;left:0;top:2px;width:17px;height:17px;background:no-repeat center/contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586572' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5c0-4 3.4-6.5 7.5-6.5s7.5 2.5 7.5 6.5'/%3E%3C/svg%3E");}
.cls-postmeta .wp-block-post-author-name a{color:var(--ink);text-decoration:none;font-weight:700;}
.cls-postmeta .wp-block-post-author-name a:hover{color:var(--brand);}
/* multiple authors run on one line after the person icon; the icon sits on the
   first line and the names wrap under it rather than under the glyph */
.cls-postmeta .wp-block-post-author-name{margin-bottom:14px;}
/* defensive: if an avatar byline is ever routed here it degrades to text */
.cls-postmeta .cls-byline-pic,.cls-postmeta .cls-byline-ph{display:none;}
.cls-postmeta .cls-byline-author{display:inline;}
.cls-tags{display:flex;flex-wrap:wrap;gap:8px;font-size:0;margin-top:2px;}
.cls-tags a{font-size:.82rem;font-weight:500;display:inline-block;padding:6px 14px;border:1px solid var(--rule-strong);border-radius:var(--r-tag);color:var(--brand);text-decoration:none;transition:background .15s,color .15s,border-color .15s;}
.cls-tags a:hover{background:var(--brand);color:#fff;border-color:var(--brand);}
@media(max-width:781px){.cls-postmeta{margin-top:20px;}}

/* post content typography */
.cls-content{font-size:1.13rem;line-height:1.74;color:#26313c;}
.cls-content > *{margin-top:1.45em;}
.cls-content > *:first-child{margin-top:0;}
.cls-content h2{font-size:1.62rem;font-weight:900;letter-spacing:-.01em;line-height:1.2;margin-top:1.9em;color:var(--ink);}
.cls-content h3{font-size:1.3rem;font-weight:700;line-height:1.28;margin-top:1.6em;color:var(--ink);}
.cls-content a{color:var(--brand);text-underline-offset:2px;}
.cls-content a:hover{color:var(--brand-deep);}
.cls-content ul,.cls-content ol{padding-left:1.3em;}
.cls-content li{margin:.4em 0;}
.cls-content blockquote{border-left:4px solid var(--teal);margin:1.7em 0;padding:.1em 0 .1em 1.4em;font-size:1.2rem;font-style:normal;color:var(--ink);}
.cls-content blockquote p{margin:.4em 0;}
.cls-content figure{margin:1.9em 0;}
.cls-content img{border-radius:var(--r-card);}
.cls-content figcaption{font-size:.84rem;color:var(--ink-soft);text-align:center;margin-top:.7em;}
.cls-content hr{border:0;border-top:1px solid var(--rule);margin:2.2em 0;}
.cls-content code{background:var(--surface);padding:.14em .42em;border-radius:var(--r-pic);font-size:.92em;}
.cls-content pre{background:var(--surface);padding:18px 20px;border-radius:var(--r-card);overflow:auto;}

/* author card */
.cls-authorcard{background:#fff;border:1px solid var(--rule-strong);border-radius:var(--r-card);padding:26px 28px;}
.cls-authorcard img{width:74px;height:74px;border-radius:var(--r-pic);object-fit:cover;}
.cls-authorlabel{font-size:.7rem;font-weight:700;letter-spacing:0;color:var(--teal-deep);margin:0;}
.cls-authorname{font-weight:900;font-size:1.22rem;margin:0;}
.cls-authorname-post{font-weight:600;font-size:.52em;letter-spacing:.04em;color:var(--ink-soft);margin-left:.18em;vertical-align:.1em;white-space:nowrap;}
.cls-authorcard .cls-authorname a{color:var(--ink);text-decoration:none;}
.cls-authorcard .cls-authorname a:hover{color:var(--brand);}
.cls-authorcard .wp-block-post-author-biography{color:var(--ink-soft);line-height:1.62;margin:4px 0 0;}

/* prev / next */
.cls-postnav{border-top:1px solid var(--rule);margin-top:48px;padding-top:24px;gap:24px;}
.cls-postnav .wp-block-post-navigation-link{font-weight:700;font-size:1rem;max-width:46%;}
.cls-postnav .wp-block-post-navigation-link a{color:var(--ink);text-decoration:none;}
.cls-postnav .wp-block-post-navigation-link a:hover{color:var(--brand);}
.cls-postnav .post-navigation-link-next{text-align:right;margin-left:auto;}

/* comments */
.cls-comments .wp-block-comments-title{font-size:1.3rem;font-weight:900;margin-bottom:22px;}
.cls-comments .wp-block-comment-author-name{font-weight:700;}
.cls-comments .wp-block-comment-date{color:var(--ink-soft);}

/* ---------- footer ---------- */
.cls-footer{background:var(--footer);color:#c4d2e4;}
.cls-footer .cls-logo .cls-1{fill:#fff;}
.cls-footer h4{font-size:.78rem;font-weight:700;letter-spacing:.04em;color:#8fc4e6;margin:0 0 14px;}
.cls-footer p{font-size:.92rem;opacity:.82;}
.cls-footer .wp-block-navigation{display:block;font-size:.92rem;}
.cls-footer .wp-block-navigation .wp-block-navigation__container{display:block;}
.cls-footer .wp-block-navigation a{color:#c4d2e4;text-decoration:none;opacity:.88;display:block;margin-bottom:9px;}
.cls-footer .wp-block-navigation a:hover{opacity:1;text-decoration:underline;}
.cls-footer .cls-base{border-top:1px solid rgba(196,210,228,.16);font-size:.78rem;opacity:.62;}
.cls-footer h4{margin-top:0;}
.cls-flinks{list-style:none;padding:0;margin:0;}
.cls-flinks li{margin:0 0 9px;}
.cls-flinks a{color:#c4d2e4;text-decoration:none;opacity:.88;font-size:.92rem;}
.cls-flinks a:hover{opacity:1;text-decoration:underline;}

/* ---------- misc ---------- */
.wp-block-pullquote{border-top:3px solid var(--teal);border-bottom:3px solid var(--teal);}
@media(max-width:781px){
  .cls-stat{margin-bottom:18px;}
  .cls-cover{margin:0;}
}

/* =====================================================================
   STAFF PROFILES  (cls-author plugin — /academics/{slug})
   Blocks: coventry/profile-header, /profile-section, /citeable-outputs,
   /orcid-works, /profile-testimonial, /profile-posts, /staff-directory.
   The Staff-profile template (Site Editor) wraps these in the groups
   .cls-profilehero / .cls-profile-band / .cls-testimonial-band below.
   ===================================================================== */

/* ---- hero band: full-bleed blue, photo + text ---- */
.cls-profilehero{
  background:linear-gradient(120deg,var(--brand-deep) 0%,#003a73 52%,var(--brand) 100%);
  padding:64px 24px;
}
/* drop the surface-card look the header block ships with */
.cls-profilehero .cls-profile-header{
  background:none;border:0;border-radius:0;padding:0;
  display:flex;gap:38px;align-items:flex-start;
}
.cls-profilehero .cls-byline-avatar-wrap{flex:0 0 auto;}
.cls-profilehero .cls-byline-avatar-wrap img{
  width:200px;height:200px;border-radius:var(--r-pic);object-fit:cover;
  
}
.cls-profilehero .cls-profile-meta{flex:1 1 auto;min-width:0;}
.cls-profilehero .cls-authorname{
  color:#fff;font-size:clamp(2rem,4.2vw,2.9rem);line-height:1.05;
  letter-spacing:-.02em;margin:0 0 12px;
}
.cls-profilehero .cls-authorname-post{font-size:.4em;font-weight:600;letter-spacing:0;color:rgba(255,255,255,.62);vertical-align:.22em;margin-left:.22em;}
.cls-profilehero .cls-authorlabel{font-family:var(--cls-accent);font-style:normal;font-weight:400;text-transform:none;font-size:clamp(1.3rem,1.9vw,1.62rem);line-height:1.2;letter-spacing:0;color:#cfe4f7;margin:10px 0 0;}
.cls-profilehero .cls-authorlabel-2{font-family:'Roboto',system-ui,Arial,sans-serif;font-style:normal;font-weight:600;font-size:.74rem;letter-spacing:0;color:rgba(255,255,255,.66);margin:9px 0 0;}
.cls-profilehero .cls-profile-affiliation{color:rgba(255,255,255,.82);font-size:.95rem;margin:6px 0 0;}
.cls-profilehero .cls-profile-bio{color:rgba(255,255,255,.92);font-size:1.05rem;line-height:1.66;margin-top:20px;}
.cls-profilehero .cls-profile-bio p{margin:0 0 .9em;}
.cls-profilehero .cls-profile-bio p:last-child{margin-bottom:0;}
.cls-profilehero .cls-profile-links{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 0;}
.cls-profile-links{display:flex;flex-wrap:wrap;gap:10px;}
.cls-plink{display:inline-flex;align-items:center;gap:7px;padding:8px 15px;border-radius:var(--r-pill);font-size:.84rem;font-weight:600;line-height:1;text-decoration:none;transition:background .15s,color .15s,border-color .15s;}
.cls-plink-ico{display:inline-flex;}
.cls-plink-ico svg{display:block;}
/* default (off the blue hero) */
.cls-profile-links a.cls-plink{background:var(--surface);color:var(--brand);border:1px solid var(--rule-strong);}
.cls-profile-links a.cls-plink:hover{background:var(--brand);color:#fff;border-color:var(--brand);}
/* on the blue hero */
.cls-profilehero .cls-profile-links a.cls-plink{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.32);text-decoration:none;}
.cls-profilehero .cls-profile-links a.cls-plink:hover{background:#fff;color:var(--brand-deep);border-color:#fff;}
@media(max-width:781px){
  .cls-profilehero{padding:46px 24px;}
  .cls-profilehero .cls-profile-header{flex-direction:column;gap:22px;}
  .cls-profilehero .cls-byline-avatar-wrap img{width:148px;height:148px;}
}

/* ---- details band: grey, auto-collapsing columns (cv / subjects / accolades) ---- */
.cls-profile-band{background:var(--surface);padding:52px 24px;}
.cls-profile-details{
  display:grid;gap:34px 40px;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));
}
/* an empty section renders no element, so it leaves no grid cell → collapses */
.cls-profile-band .cls-profile-section{margin:0;}
.cls-profile-details .cls-profile-section-title{
  font-size:.78rem;font-weight:700;letter-spacing:0;
  color:var(--teal-deep);margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid var(--rule-strong);
}
.cls-profile-section-list{list-style:none;margin:0;padding:0;}
.cls-profile-details .cls-profile-section-list li{
  font-size:.96rem;line-height:1.5;color:var(--ink);
  padding:7px 0;border-bottom:1px solid var(--rule);
}
.cls-profile-details .cls-profile-section-list li:last-child{border-bottom:0;}

/* ---- standalone sections: Selected Publications + journal/ORCID outputs ---- */
.cls-profile-section{margin-top:56px;}
/* match whichever id this install uses: publications / selected-publications /
   selected-publications-activities all carry "publication" in the class */
[class*="cls-section-"][class*="publication"] .cls-profile-section-title,
.cls-outputs-heading{
  font-size:1.62rem;font-weight:900;letter-spacing:-.01em;color:var(--ink);
  margin:0 0 22px;padding-bottom:14px;border-bottom:2px solid var(--brand);
}
[class*="cls-section-"][class*="publication"] .cls-profile-section-list{max-width:820px;}
[class*="cls-section-"][class*="publication"] .cls-profile-section-list li{
  position:relative;font-size:1rem;line-height:1.62;color:#26313c;
  padding:0 0 1.05em 1.5em;margin:0 0 1.05em;
  border-bottom:1px solid var(--rule);
}
/* marker sits in the gutter; wrapped lines align to the text, not the marker */
[class*="cls-section-"][class*="publication"] .cls-profile-section-list li::before{
  content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;
  background:var(--brand);border-radius:var(--r-tag);
}
[class*="cls-section-"][class*="publication"] .cls-profile-section-list li:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0;}

.cls-outputs{margin-top:56px;}
.cls-outputs-list{list-style:none;margin:0;padding:0;max-width:820px;}
.cls-output{padding:0 0 1.05em;margin:0 0 1.05em;border-bottom:1px solid var(--rule);}
.cls-output:last-child{border-bottom:0;margin-bottom:0;}
.cls-output-title{display:block;font-size:1.02rem;line-height:1.4;font-weight:600;color:var(--ink);}
.cls-output-title a{color:var(--brand);text-decoration:none;}
.cls-output-title a:hover{color:var(--brand-deep);text-decoration:underline;}
.cls-output-meta{display:block;font-size:.86rem;color:var(--ink-soft);margin-top:4px;}
.cls-orcid-source{margin-top:18px;font-size:.88rem;}
.cls-orcid-source a{color:var(--brand);}

/* ---- testimonial band: full-bleed blue → purple ---- */
.cls-testimonial-band{
  background:linear-gradient(120deg,var(--brand-deep) 0%,var(--brand) 46%,#6b3fa0 100%);
  padding:60px 24px 64px;margin-top:64px;
}
.cls-profile-testimonial{display:grid;gap:18px;}
.cls-profile-testimonial .cls-testimonial-title{margin:0;font-weight:800;font-size:1.5rem;line-height:1.1;color:var(--ink);}
.cls-profile-testimonial .cls-testimonial-quote{border:0;margin:0;font-family:var(--cls-accent);font-style:normal;font-weight:300;font-size:clamp(1.2rem,2vw,1.55rem);line-height:1.45;color:var(--ink);}
.cls-profile-testimonial .cls-testimonial-quote p{margin:0;}
.cls-testimonial-band .cls-profile-testimonial{
  background:none;padding:0;text-align:left;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:48px;align-items:center;
}
.cls-testimonial-band .cls-testimonial-title{
  color:#fff;font-size:clamp(1.9rem,3.2vw,2.7rem);line-height:1.08;letter-spacing:-.02em;
}
.cls-testimonial-band .cls-testimonial-quote{color:#fff;}
@media(max-width:782px){
  .cls-testimonial-band .cls-profile-testimonial{grid-template-columns:1fr;gap:20px;}
}

/* ---- latest posts: reuse .cls-cards, add the grid + title styling ---- */
.cls-profile-posts{margin-top:64px;}
.cls-profile-posts > h2{
  font-size:1.62rem;font-weight:900;letter-spacing:-.01em;color:var(--ink);margin:0 0 26px;
}
.cls-profile-posts .wp-block-post-template{
  list-style:none;margin:0;padding:0;display:grid;gap:26px;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
}
.cls-profile-posts .cls-posttitle{font-size:1.18rem;font-weight:700;line-height:1.24;letter-spacing:-.01em;margin:0;}
.cls-profile-posts .cls-posttitle a{text-decoration:none;color:var(--ink);}
.cls-profile-posts .cls-posttitle a:hover{color:var(--brand);}

/* ---- staff directory (the /staff page) ---- */
.cls-directory-group{margin-bottom:46px;}
.cls-directory-group-title{
  font-size:1.4rem;font-weight:900;letter-spacing:-.01em;color:var(--ink);
  margin:0 0 20px;padding-bottom:10px;border-bottom:1px solid var(--rule);
}
.cls-directory-grid{
  list-style:none;margin:0;padding:0;display:grid;gap:20px;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
}
.cls-directory-card{
  background:#fff;border:1px solid var(--rule-strong);border-radius:var(--r-card);overflow:hidden;
  transition:transform .18s,box-shadow .18s,border-color .18s;
}
.cls-directory-card:hover{border-color:var(--brand);}
.cls-directory-card-link{display:flex;flex-direction:column;height:100%;text-decoration:none;}
.cls-directory-photo{display:block;position:relative;width:100%;padding-top:100%;overflow:hidden;background:var(--surface);}
.cls-directory-photo img,.cls-directory-photo .cls-directory-ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.cls-directory-ph{display:flex;align-items:center;justify-content:center;background:var(--surface);color:var(--brand);font-family:'Roboto',system-ui,Arial,sans-serif;font-weight:800;font-size:2.2rem;letter-spacing:.02em;}
.cls-directory-card-text{padding:14px 16px 17px;display:flex;flex-direction:column;gap:3px;}
.cls-directory-card .cls-byline-name{font-family:'Roboto',system-ui,Arial,sans-serif;font-style:normal;font-weight:700;font-size:1.08rem;line-height:1.2;color:var(--brand);}
.cls-directory-card:hover .cls-byline-name{color:var(--brand-deep);}
.cls-directory-card-role{font-family:var(--cls-accent);font-style:normal;font-weight:500;font-size:1.02rem;line-height:1.28;color:var(--ink);margin-top:3px;}
.cls-directory-card-role2{font-size:.8rem;line-height:1.32;color:var(--ink-soft);margin-top:1px;}

/* ---- post author box(es): coventry/author-box ---- */
.cls-authorboxes{margin-top:56px;padding-top:34px;border-top:1px solid var(--rule);display:grid;gap:18px;grid-template-columns:repeat(2,1fr);}
.cls-authorboxes.is-single{grid-template-columns:1fr;}
@media(max-width:680px){.cls-authorboxes{grid-template-columns:1fr;}}
.cls-authorbox{display:flex;gap:22px;align-items:flex-start;background:#fff;border:1px solid var(--rule-strong);border-radius:var(--r-card);padding:22px 24px;}
.cls-authorbox-photo{flex:0 0 104px;}
.cls-authorbox-body{flex:1 1 auto;min-width:0;}
.cls-authorbox-eyebrow{display:none;}
.cls-authorbox-name{font-size:1.3rem;font-weight:800;line-height:1.15;margin:0;color:var(--ink);}
.cls-authorbox-name a{color:var(--brand);text-decoration:none;}
.cls-authorbox-name a:hover{color:var(--brand-deep);}
.cls-authorbox-role{font-family:var(--cls-accent);font-style:normal;font-weight:500;font-size:1rem;color:var(--ink);margin:5px 0 0;}
.cls-authorbox-role2{color:var(--ink-soft);font-style:normal;font-weight:400;}
.cls-authorbox-role + .cls-authorbox-role2{margin-top:1px;}
.cls-authorbox-bio{font-size:.92rem;line-height:1.6;color:var(--ink);margin:11px 0 0;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.cls-authorbox-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:14px;}
.cls-authorbox-foot .cls-authorbox-links{margin:0;}
.cls-authorbox-foot .cls-authorbox-more{margin:0;}
.cls-authorbox-links{margin:14px 0 0;}
.cls-authorbox .cls-profile-links a.cls-plink{background:#fff;}
.cls-authorbox .cls-profile-links a.cls-plink:hover{background:var(--brand);color:#fff;border-color:var(--brand);}
.cls-authorbox-more{margin:13px 0 0;}
.cls-authorbox-more a{font-weight:700;font-size:.9rem;color:var(--teal-deep);text-decoration:underline;text-underline-offset:2px;}
.cls-authorbox-more a:hover{color:var(--brand-deep);}
/* compressed cards (two-up, or mobile) → icon-only pills so the foot stays on one line */
.cls-authorboxes:not(.is-single) .cls-authorbox .cls-plink-txt{display:none;}
.cls-authorboxes:not(.is-single) .cls-authorbox .cls-plink{padding:9px;border-radius:var(--r-pill);gap:0;}
@media(max-width:680px){
  .cls-authorbox .cls-plink-txt{display:none;}
  .cls-authorbox .cls-plink{padding:9px;border-radius:var(--r-pill);gap:0;}
}
@media(max-width:560px){
  .cls-authorbox{flex-direction:column;}
  .cls-authorbox-photo{flex-basis:auto;width:96px;}
}

/* =====================================================================
   HEADER PILLS (Blog / Journal) + mobile hamburger, and FRONT-PAGE
   category filter pills. Both rendered via shortcodes in the templates.
   ===================================================================== */

/* ---- header: search + hamburger on every screen size (CSS-only panels) ---- */
.cls-bar .cls-nav{position:relative;display:flex;align-items:center;gap:6px;}
.cls-bar .cls-navtoggle{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none;}
.cls-bar .cls-iconbtn{
  display:flex;align-items:center;justify-content:center;width:44px;height:44px;cursor:pointer;
  color:var(--ink);border:1.5px solid transparent;transition:color .15s,border-color .15s;
}
.cls-bar .cls-iconbtn:hover{color:var(--brand);border-color:var(--rule-strong);}
.cls-bar .cls-navtoggle:focus-visible + .cls-navtoggle + .cls-iconbtn,
.cls-bar .cls-navtoggle:focus-visible ~ .cls-iconbtn{outline:2px solid var(--brand);outline-offset:2px;}
#cls-searchtoggle:checked ~ .cls-searchbtn,
#cls-navtoggle:checked ~ .cls-hamburger{color:var(--brand);border-color:var(--brand);}
.cls-bar .cls-hamburger i,
.cls-bar .cls-hamburger i::before,
.cls-bar .cls-hamburger i::after{display:block;width:20px;height:2px;background:currentColor;content:"";}
.cls-bar .cls-hamburger i{position:relative;}
.cls-bar .cls-hamburger i::before{position:absolute;top:-6px;left:0;}
.cls-bar .cls-hamburger i::after{position:absolute;top:6px;left:0;}
.cls-bar .cls-navsearch,
.cls-bar .cls-nav-links{
  display:none;position:absolute;top:calc(100% + 14px);right:0;z-index:60;
  background:#fff;border:1px solid var(--rule-strong);box-shadow:0 12px 32px rgba(11,18,25,.12);
}
.cls-bar .cls-navsearch{width:min(380px,calc(100vw - 32px));padding:10px;gap:8px;}
.cls-bar .cls-navsearch input{flex:1;min-width:0;font:inherit;font-size:.95rem;padding:11px 12px;border:1.5px solid var(--rule-strong);border-radius:0;background:#fff;color:var(--ink);}
.cls-bar .cls-navsearch input:focus{outline:2px solid var(--brand);outline-offset:-1px;border-color:var(--brand);}
.cls-bar .cls-navsearch button{font:inherit;font-size:.9rem;font-weight:600;padding:0 18px;border:0;border-radius:0;background:var(--brand);color:#fff;cursor:pointer;}
.cls-bar .cls-navsearch button:hover{background:var(--brand-deep);}
.cls-bar .cls-nav-links{flex-direction:column;min-width:200px;padding:6px;}
#cls-searchtoggle:checked ~ .cls-navsearch{display:flex;}
#cls-navtoggle:checked ~ .cls-nav-links{display:flex;}
.cls-bar .cls-navlink{
  font-size:.98rem;font-weight:500;line-height:1;color:var(--ink);text-decoration:none;
  padding:14px 14px;border-left:3px solid transparent;white-space:nowrap;transition:color .15s,border-color .15s,background .15s;
}
.cls-bar .cls-navlink:hover{color:var(--brand);background:var(--pale,#f3f6fa);}
.cls-bar .cls-navlink[aria-current="page"]{color:var(--brand);border-left-color:var(--brand);}

/* ---- front page: All posts + top-3 category pills ---- */
.cls-pillrow{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.cls-pillrow .cls-pill{
  display:inline-flex;align-items:center;padding:8px 16px;border-radius:var(--r-pill);
  font-size:.8rem;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;
  background:transparent;color:var(--brand);border:1.5px solid var(--rule-strong);
  transition:background .15s,color .15s,border-color .15s;
}
.cls-pillrow .cls-pill:hover{background:var(--brand);color:#fff;border-color:var(--brand);}
.cls-pillrow .cls-pill--all{background:var(--brand);color:#fff;border-color:var(--brand);}
.cls-pillrow .cls-pill--all:hover{background:var(--brand-deep);border-color:var(--brand-deep);}
@media(max-width:600px){
  .cls-pillrow{width:100%;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px;}
  .cls-pillrow .cls-pill{flex:0 0 auto;}
}

/* =====================================================================
   ACCENT TYPE. One sans throughout, no serif and no italic. Any <em> the
   author has written inside a display heading stays in the markup but
   renders upright, so existing copy needs no editing.
   ===================================================================== */
:root{--cls-accent:'Roboto',-apple-system,'Segoe UI',Helvetica,Arial,sans-serif;}
h1 em,h2 em,h3 em,.cls-accent{
  font-family:var(--cls-accent);font-style:normal;font-weight:inherit;letter-spacing:0;
}

/* =====================================================================
   "MEET OUR TEAM" — heading, intro and button, above a row of staff cards.
   Rendered by the coventry/team-grid block (cls-author plugin). Lays itself out
   from its OWN width (container query), so it works full-width or in a column.
   ===================================================================== */
.cls-team-block{container-type:inline-size;padding:0;background:none;border:0;}
.cls-team-inner{display:flex;flex-direction:column;gap:28px;}
.cls-team-head{display:grid;grid-template-columns:1fr;row-gap:10px;justify-items:start;}
.cls-team-h{grid-column:1;font-weight:900;font-size:clamp(1.5rem,6cqi,2.25rem);line-height:1.1;letter-spacing:-.02em;margin:0;text-wrap:balance;}
.cls-team-sub{grid-column:1;color:var(--ink-soft);font-size:15px;margin:0;max-width:44ch;}
.cls-team-cta{display:inline-block;margin-top:8px;background:var(--brand);color:#fff;font-weight:500;font-size:.92rem;line-height:1.2;padding:12px 24px;border-radius:0;text-decoration:none;transition:background .15s;}
.cls-team-cta:hover{background:var(--brand-deep);color:#fff;}
.cls-team-cards{list-style:none;margin:0;padding:0;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));}
.cls-team-card{margin:0;background:#fff;border:1px solid var(--rule-strong);border-radius:var(--r-card);overflow:hidden;transition:border-color .15s;}
.cls-team-card:hover{border-color:var(--brand);}
.cls-team-link{display:flex;flex-direction:column;height:100%;text-decoration:none;}
.cls-team-photo{display:block;aspect-ratio:1/1;overflow:hidden;background:var(--surface);}
.cls-team-photo img{display:block;width:100%;height:100%;object-fit:cover;}
.cls-team-name{font-weight:700;font-size:.98rem;line-height:1.25;color:var(--ink);padding:12px 14px 0;}
.cls-team-role{font-size:.82rem;line-height:1.35;color:var(--ink-soft);padding:3px 14px 0;}
.cls-team-link > :last-child{padding-bottom:14px;}
.cls-team-link:hover .cls-team-name{color:var(--brand);}
@container (min-width:640px){
  .cls-team-head{grid-template-columns:1fr auto;column-gap:32px;align-items:end;}
  .cls-team-cta{grid-column:2;grid-row:1 / span 2;align-self:end;margin-top:0;}
  .cls-team-cards{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));}
}

/* ---- lean profiles: a band left empty by hidden blocks takes up no room ---- */
.cls-profile-band:not(:has(.cls-profile-section)){display:none;}
.cls-testimonial-band:not(:has(.cls-profile-testimonial)){display:none;}

/* ---------- team + about band: pale, stacked, so it reads apart from the quote above ---------- */
.cls-section:has(.cls-team-block){background:var(--surface);margin-block-start:0 !important;}
.cls-section:has(.cls-team-block) > .wp-block-columns{flex-direction:column;gap:56px;}
.cls-section:has(.cls-team-block) > .wp-block-columns > .wp-block-column{flex-basis:100% !important;width:100%;}
.cls-section:has(.cls-team-block) > .wp-block-columns > .wp-block-column:last-child{border-top:1px solid var(--rule-strong);padding-top:48px;max-width:46rem;}
.cls-section:has(.cls-team-block) .cls-team-cards{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));}

/* ---------- history page (templates/page-history.html) ---------- */
.cls-history{margin-top:0;}
.cls-hist-wrap{max-width:1080px;margin:0 auto;padding:0 24px;}
.cls-hist-hero{position:relative;overflow:hidden;background:var(--ink);min-height:440px;display:flex;align-items:center;}
.cls-hist-hero-img{position:absolute;inset:0;margin:0;}
.cls-hist-hero-img img{width:100%;height:100%;object-fit:cover;object-position:60% 62%;display:block;border-radius:0;filter:grayscale(1) contrast(1.05);}
.cls-hist-hero-img::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,18,25,.97) 0%,rgba(11,18,25,.9) 34%,rgba(11,18,25,.5) 62%,rgba(11,18,25,.12) 100%);}
.cls-hist-hero::after{display:none !important;content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:72px 72px;background-position:-1px -1px;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 40%,transparent 82%);mask-image:linear-gradient(90deg,#000 0%,#000 40%,transparent 82%);}
.cls-hist-hero-text{position:relative;z-index:1;max-width:40rem;padding:84px 24px 84px max(24px,calc((100vw - 1080px)/2 + 24px));}
.cls-hist-hero h1{font-weight:900;font-size:clamp(2.2rem,5vw,3.4rem);line-height:1.05;letter-spacing:-.02em;color:#fff;margin:0 0 20px;}
.cls-hist-stand{font-size:1.15rem;line-height:1.6;color:rgba(255,255,255,.9);max-width:36rem;margin:0;}
.cls-hist-sec{padding:64px 0;background:#fff;}
.cls-hist-sec.cls-hist-pale{background:var(--surface);}
.cls-hist-sec h2{font-weight:900;font-size:clamp(1.5rem,3vw,2rem);letter-spacing:-.02em;color:var(--ink);margin:0 0 32px;}
.cls-hist-note{color:var(--ink-soft);max-width:40rem;margin:-12px 0 28px;}
.cls-era{display:grid;grid-template-columns:220px 1fr;column-gap:40px;padding:0 0 40px;}
.cls-era:last-child{padding-bottom:0;}
.cls-era-h{font-size:1rem;font-weight:700;line-height:1.35;color:var(--brand-deep);margin:4px 0 0;}
.cls-tl{list-style:none;margin:0;padding:0 0 0 28px;border-left:2px solid var(--rule-strong);}
.cls-tl li{position:relative;display:grid;grid-template-columns:112px 1fr;column-gap:16px;padding:0 0 26px;}
.cls-tl li:last-child{padding-bottom:0;}
.cls-tl li::before{content:"";position:absolute;left:-36px;top:7px;width:10px;height:10px;background:#fff;border:2px solid var(--brand);}
.cls-tl li.is-key::before{background:var(--brand);}
.cls-tl-yr{font-weight:700;font-size:1.05rem;line-height:1.5;color:var(--brand);}
.cls-tl-ev{margin:0;line-height:1.6;color:var(--ink);max-width:40rem;}
.cls-tl li.is-key .cls-tl-yr{color:var(--brand-deep);}
.cls-tl li.is-key .cls-tl-ev{font-weight:500;}
.cls-heads{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px 40px;}
.cls-heads li{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--rule-strong);}
.cls-hist-sec:not(.cls-hist-pale) .cls-heads li{border-bottom-color:var(--rule);}
.cls-heads-n{font-weight:500;color:var(--ink);}
.cls-heads-d{color:var(--ink-soft);white-space:nowrap;}
.cls-former{list-style:none;margin:0;padding:0;columns:3 220px;column-gap:40px;}
.cls-former li{break-inside:avoid;padding:5px 0;color:var(--ink);}
@media(max-width:780px){
  .cls-era{grid-template-columns:1fr;row-gap:16px;}
  .cls-tl li{grid-template-columns:1fr;row-gap:2px;}
  .cls-hist-hero{min-height:420px;align-items:flex-end;}
  .cls-hist-hero-img::after{background:linear-gradient(to top,rgba(11,18,25,.9) 0%,rgba(11,18,25,.55) 38%,rgba(11,18,25,0) 62%),linear-gradient(to right,rgba(11,18,25,.7) 0%,rgba(11,18,25,.3) 45%,rgba(11,18,25,0) 75%),linear-gradient(to top right,rgba(11,18,25,.98) 0%,rgba(11,18,25,.94) 45%,rgba(11,18,25,.6) 72%,rgba(11,18,25,.12) 100%);}
  .cls-hist-hero-text{padding:150px 24px 36px;max-width:none;}
  .cls-hist-sec{padding:44px 0;}
}

/* ---------- hero link to the History page ---------- */
.cls-hero-cta{margin:26px 0 0;}
.cls-hero-btn{display:inline-block;border:1.5px solid #fff;color:#fff;background:transparent;padding:11px 24px;font-size:.92rem;font-weight:500;line-height:1.2;text-decoration:none;border-radius:0;transition:background .15s,color .15s;}
.cls-hero-btn:hover,.cls-hero-btn:focus-visible{background:#fff;color:var(--brand-deep);}

/* history page: photos beside the eras */
.cls-era-side{align-self:start;}
.cls-era-fig{margin:18px 0 0;}
.cls-era-fig img{display:block;width:100%;height:auto;border-radius:0;}
.cls-era-fig figcaption{font-size:.82rem;line-height:1.4;color:var(--ink-soft);margin-top:8px;}
@media(max-width:780px){.cls-era-fig{max-width:460px;}}
.cls-bar .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}

/* ---------- front-page hero: compact (v1.0.47) ---------- */
.cls-hero.wp-block-cover{min-height:0 !important;padding-top:40px !important;padding-bottom:34px !important;}
.cls-heroinner > p:first-child{margin:0 0 6px !important;font-size:1.15rem !important;}
.cls-heroinner > p:nth-child(2){margin:0 0 14px !important;font-size:clamp(2rem,6vw,3rem) !important;line-height:1.05 !important;}
.cls-heroinner .cls-lede{margin:0 0 16px !important;max-width:62ch;font-size:1.08rem;line-height:1.5;}
.cls-hero-cta{margin:0 0 22px;}
.cls-hero-btn{padding:8px 18px;font-size:.88rem;}
.cls-stats{padding-top:16px !important;margin:0 !important;align-items:center !important;flex-wrap:nowrap !important;gap:36px !important;}
.cls-heroinner .cls-stats.wp-block-columns{display:flex !important;}
.cls-heroinner .cls-stats.wp-block-columns > .wp-block-column{flex:0 0 auto !important;flex-basis:auto !important;width:auto !important;}
.cls-stat::before{display:none;}
.cls-stat{display:flex !important;align-items:center;gap:12px;}
.cls-stat .cls-n{font-size:2rem !important;}
.cls-stat .cls-l{margin:0 !important;max-width:15ch;font-size:.8rem !important;line-height:1.3;}
.cls-tef{margin:0 !important;}
.cls-tef img{height:48px !important;width:auto !important;max-width:none !important;aspect-ratio:auto !important;object-fit:contain;}
@media(max-width:781px){
  .cls-hero.wp-block-cover{padding-top:26px !important;padding-bottom:24px !important;}
  .cls-heroinner > p:first-child{font-size:.98rem !important;}
  .cls-heroinner .cls-lede{font-size:1rem;margin-bottom:14px !important;}
  .cls-hero-cta{margin-bottom:16px;}
  .cls-stats{gap:16px !important;justify-content:space-between;}
  .cls-stat{flex-direction:column;align-items:flex-start;gap:4px;}
  .cls-stat .cls-n{font-size:1.6rem !important;}
  .cls-stat .cls-l{font-size:.72rem !important;max-width:13ch;}
  .cls-tef img{height:38px !important;width:auto !important;}
}

/* ---------- no white gaps between full-width blocks (v1.0.49) ---------- */
.wp-site-blocks > *,
.wp-site-blocks > main > .alignfull,
.wp-site-blocks > .wp-block-post-content > .alignfull,
.entry-content > .alignfull{margin-block-start:0 !important;margin-block-end:0 !important;}

/* ---------- single post refinements (v1.0.50) ---------- */
/* square images everywhere in posts */
.cls-posthead .wp-block-post-featured-image,
.cls-posthead .wp-block-post-featured-image img,
.cls-content img,.cls-content figure{border-radius:0 !important;}

/* title, then meta row, then image */
.cls-posttitle{margin-bottom:22px !important;}
.cls-posthead{display:flex !important;flex-direction:column-reverse;gap:22px !important;margin-top:0 !important;}
.cls-posthead > .wp-block-column{flex-basis:auto !important;width:100%;}
.cls-postmeta{display:flex !important;flex-wrap:wrap;align-items:center;gap:10px 28px !important;padding-top:0;}
.cls-postmeta > *{margin:0 !important;}
.cls-postmeta .wp-block-post-author-name{margin-bottom:0 !important;}
.cls-postmeta .wp-block-post-date{display:flex;align-items:center;gap:0;}
.cls-readtime{margin-left:12px;padding-left:12px;border-left:1px solid var(--rule-strong);}
.cls-posthead .wp-block-post-featured-image img{width:100%;max-height:440px;object-fit:cover;aspect-ratio:16/8;}

/* comfortable reading measure; wide things stay wide */
.cls-content > p,.cls-content > h2,.cls-content > h3,.cls-content > h4,.cls-content > ul,.cls-content > ol,.cls-content > blockquote,.cls-content > .wp-block-heading{max-width:46rem;margin-left:0 !important;margin-right:auto !important;}
.cls-content h2.wp-block-heading{font-size:1.62rem;line-height:1.2;font-weight:900;margin-top:1.9em;}

/* legacy author box saved inside the content: the plugin's author card replaces it */
.cls-content > .wp-block-group.has-background:last-child:has(img){display:none !important;}

/* comments are off */
.cls-comments{display:none !important;}

/* legacy image + caption columns: smaller image, quiet caption, aligned to the image foot */
.cls-content .wp-block-columns:has(> .wp-block-column > figure.wp-block-image){align-items:flex-end;gap:24px;}
.cls-content .wp-block-columns:has(> .wp-block-column > figure.wp-block-image) > .wp-block-column:has(figure){flex:0 0 min(440px,100%) !important;}
.cls-content .wp-block-columns:has(> .wp-block-column > figure.wp-block-image) > .wp-block-column:not(:has(figure)){font-size:.88rem;color:var(--ink-soft);}

/* figure captions */
.cls-content figcaption{text-align:left;font-size:.86rem;color:var(--ink-soft);max-width:46rem;}

/* previous / next */
.cls-postnav{border-top:1px solid var(--rule);margin-top:40px;padding-top:24px;}
.cls-postnav .wp-block-post-navigation-link{max-width:48%;}
.cls-postnav .wp-block-post-navigation-link::before{display:block;font-size:.72rem;font-weight:600;color:var(--ink-soft);margin-bottom:4px;}
.cls-postnav .post-navigation-link-previous::before{content:"Previous post";}
.cls-postnav .post-navigation-link-next::before{content:"Next post";}

/* citation */
.cls-cite{background:var(--surface);border-left:3px solid var(--brand);padding:16px 20px;margin:40px 0 28px;max-width:46rem;}
.cls-cite-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:.9rem;}
.cls-cite p{margin:0;font-size:.9rem;line-height:1.55;color:var(--ink);word-break:break-word;}
.cls-cite-copy{font:inherit;font-size:.78rem;font-weight:600;padding:5px 14px;border:1.5px solid var(--brand);background:#fff;color:var(--brand);cursor:pointer;border-radius:0;}
.cls-cite-copy:hover{background:var(--brand);color:#fff;}

/* related posts */
.cls-related{margin-top:56px;padding-top:32px;border-top:1px solid var(--rule);}
.cls-related h2{font-size:1.3rem;font-weight:900;margin:0 0 20px;}
.cls-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.cls-related-card{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--ink);}
.cls-related-card img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block;border-radius:0;}
.cls-related-ph{display:block;aspect-ratio:3/2;background:var(--surface);}
.cls-related-title{font-weight:700;line-height:1.28;}
.cls-related-card:hover .cls-related-title{color:var(--brand);}
.cls-related-date{font-size:.8rem;color:var(--ink-soft);}
@media(max-width:781px){.cls-related-grid{grid-template-columns:1fr;}.cls-posthead .wp-block-post-featured-image img{aspect-ratio:16/10;}.cls-readtime{border-left:0;margin-left:0;padding-left:0;}}
.cls-cite{margin-left:max(0px,calc((100% - 60rem)/2)) !important;margin-right:auto !important;}
.cls-postnav .wp-block-post-navigation-link:empty{display:none;}
.cls-postnav .wp-block-post-navigation-link:empty::before{content:none;}
.cls-related-card img{height:auto !important;aspect-ratio:3/2;}

/* ---------- post head v2 (v1.0.53): image left at natural proportions, meta panel right ---------- */
.cls-posttitle{margin-bottom:26px !important;}
.cls-posthead{display:flex !important;flex-direction:row !important;align-items:flex-start !important;gap:32px !important;margin-top:0 !important;}
.cls-posthead > .wp-block-column:first-child{flex:0 0 64% !important;width:auto !important;}
.cls-posthead > .wp-block-column:last-child{flex:1 1 0 !important;width:auto !important;min-width:0;}
.cls-posthead .wp-block-post-featured-image{margin:0;}
.cls-posthead .wp-block-post-featured-image img{width:100% !important;height:auto !important;max-height:none !important;aspect-ratio:auto !important;object-fit:initial !important;display:block;}
.cls-postmeta{display:flex !important;flex-direction:column !important;flex-wrap:nowrap !important;align-items:flex-start !important;gap:16px !important;padding-top:18px !important;border-top:3px solid var(--brand);}
.cls-postmeta .wp-block-post-date{display:flex;flex-wrap:wrap;align-items:center;row-gap:4px;}
.cls-postmeta .wp-block-post-author-name{display:block;}
.cls-postmeta .cls-tags{margin-top:2px !important;}
.cls-jumpcite{font-size:.86rem;font-weight:600;color:var(--brand);text-decoration:none;border-bottom:1px solid transparent;}
.cls-jumpcite:hover{border-bottom-color:var(--brand);}
@media(max-width:781px){
  .cls-posthead{flex-direction:column !important;gap:22px !important;}
  .cls-posthead > .wp-block-column:first-child,.cls-posthead > .wp-block-column:last-child{flex:1 1 auto !important;width:100% !important;}
  .cls-posthead .wp-block-post-featured-image img{aspect-ratio:auto !important;}
}

/* ---------- inset images: image left, caption to the side (v1.0.54) ---------- */
.cls-content figure.wp-block-image:has(figcaption){
  display:grid;grid-template-columns:minmax(0,64%) minmax(0,1fr);column-gap:32px;align-items:start;max-width:none;margin:2em 0;
}
.cls-content figure.wp-block-image:has(figcaption) img{width:100%;height:auto;display:block;}
.cls-content figure.wp-block-image:has(figcaption) figcaption{
  margin:0;padding-top:14px;border-top:3px solid var(--brand);max-width:none;text-align:left;font-size:.9rem;line-height:1.5;color:var(--ink-soft);
}
/* legacy image + caption columns get the same treatment */
.cls-content .wp-block-columns:has(> .wp-block-column > figure.wp-block-image){align-items:flex-start !important;gap:32px !important;flex-wrap:nowrap !important;margin:2em 0;}
.cls-content .wp-block-columns:has(> .wp-block-column > figure.wp-block-image) > .wp-block-column:has(figure){flex:0 0 64% !important;}
.cls-content .wp-block-columns:has(> .wp-block-column > figure.wp-block-image) > .wp-block-column:not(:has(figure)){flex:1 1 0 !important;border-top:3px solid var(--brand);padding-top:14px;font-size:.9rem;color:var(--ink-soft);}
.cls-content .wp-block-columns:has(> .wp-block-column > figure.wp-block-image) figure{margin:0;}
@media(max-width:781px){
  .cls-content figure.wp-block-image:has(figcaption){grid-template-columns:1fr;row-gap:12px;}
  .cls-content .wp-block-columns:has(> .wp-block-column > figure.wp-block-image){flex-wrap:wrap !important;gap:12px !important;}
  .cls-content .wp-block-columns:has(> .wp-block-column > figure.wp-block-image) > .wp-block-column{flex:1 1 100% !important;}
}

/* contents list in the post panel */
.cls-toc{font-size:.9rem;}
.cls-toc strong{display:block;font-size:.78rem;font-weight:700;color:var(--ink-soft);margin-bottom:6px;}
.cls-toc ol{list-style:none;margin:0;padding:0;}
.cls-toc li{margin:0;padding:5px 0;border-top:1px solid var(--rule);line-height:1.3;}
.cls-toc a{color:var(--ink);text-decoration:none;}
.cls-toc a:hover{color:var(--brand);}
.cls-content h2[id]{scroll-margin-top:100px;}

/* print */
@media print{
  .cls-header-sticky,footer,.cls-related,.cls-postnav,.cls-cite-copy,.cls-jumpcite,.cls-toc,.cls-backlink{display:none !important;}
  .cls-content{font-size:11pt;}
}

/* byline with small photos (v1.0.56) */
.cls-postmeta .wp-block-post-author-name.cls-bylines{display:flex;flex-direction:column;gap:10px;padding-left:0 !important;}
.cls-postmeta .wp-block-post-author-name.cls-bylines::before{display:none !important;}
.cls-by{display:flex;align-items:center;gap:12px;}
.cls-by a,.cls-by span{font-weight:700;color:var(--ink);text-decoration:none;}
.cls-by a:hover{color:var(--brand);}
.cls-by-pic{width:40px;height:40px;object-fit:cover;border-radius:0;display:block;flex:0 0 auto;}
.cls-by-ico{display:block;flex:0 0 40px;width:40px;height:40px;background:var(--surface) no-repeat center/18px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586572' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5c0-4 3.4-6.5 7.5-6.5s7.5 2.5 7.5 6.5'/%3E%3C/svg%3E");}

/* real journal cover on the front page */
.cls-cover-img{display:block;max-width:300px;margin-left:auto;box-shadow:0 18px 40px rgba(11,18,25,.2);transition:transform .2s;}
.cls-cover-img:hover{transform:translateY(-3px);}
.cls-cover-pic{display:block;width:100%;height:auto;border-radius:0;}
@media(max-width:781px){.cls-cover-img{margin:0 auto;max-width:260px;}}

/* menu: separator and external-link marker; shorter journal band, smaller cover (v1.0.59) */
.cls-bar .cls-navsep{display:block;height:1px;background:var(--rule);margin:6px 14px;}
.cls-bar .cls-navlink--ext::after{content:"\2197";margin-left:8px;font-size:.85em;color:var(--ink-soft);}
.cls-bar .cls-nav-links{min-width:250px;}
.cls-section.cls-journal,.cls-journal.has-background{padding-top:40px !important;padding-bottom:40px !important;}
.cls-cover-img{max-width:170px !important;box-shadow:0 12px 28px rgba(11,18,25,.18);}
@media(max-width:781px){.cls-cover-img{max-width:150px !important;}.cls-section.cls-journal,.cls-journal.has-background{padding-top:32px !important;padding-bottom:32px !important;}}

/* honorary doctors: name with a brief caption (v1.0.60) */
.cls-heads--hon{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));}
.cls-heads--hon li{align-items:flex-start;}
.cls-heads-w{display:flex;flex-direction:column;gap:2px;}
.cls-heads-c{font-size:.88rem;color:var(--ink-soft);line-height:1.4;}
.cls-heads--hon .cls-heads-d{padding-top:2px;}

/* 1.0.61 mobile fixes */
@media(max-width:781px){
.cls-readtime{margin-left:14px !important;}
.cls-postwrap{padding-left:22px !important;padding-right:22px !important;}
.cls-quote .is-nowrap,.cls-quote .cls-quote-inner{flex-wrap:wrap !important;flex-direction:column !important;align-items:flex-start !important;gap:24px !important;}
.cls-quote figure{width:96px;margin:0;}
.cls-quote blockquote,.cls-quote .cls-quote-body{width:100%;flex:1 1 auto;}
}

/* 1.0.62 header side margin */
.cls-bar.wp-block-group{padding-left:24px !important;padding-right:24px !important;}
@media(max-width:781px){.cls-bar.wp-block-group{padding-left:20px !important;padding-right:14px !important;}}

/* =====================================================================
   1.0.63 — design pass: one button system, one H2 size, shared edges
   ===================================================================== */

/* ---- buttons: primary (solid), secondary (outline), on-dark (white), text link ---- */
body .wp-block-button .wp-block-button__link,
body .cls-team-cta,
body .cls-hero-btn,
body .cls-cite-copy{
  display:inline-block;border-radius:0;font:inherit;font-size:.88rem;font-weight:600;line-height:1.2;
  padding:10px 22px;text-decoration:none;cursor:pointer;
  transition:background .15s,color .15s,border-color .15s;
}
body .wp-block-button.is-style-outline .wp-block-button__link,
body .cls-allposts .wp-block-button__link,
body .cls-journal .wp-block-button__link,
body .cls-cite-copy{background:transparent;color:var(--brand);border:1.5px solid var(--brand);}
body .wp-block-button.is-style-outline .wp-block-button__link:hover,
body .cls-allposts .wp-block-button__link:hover,
body .cls-journal .wp-block-button__link:hover,
body .cls-cite-copy:hover{background:var(--brand);color:#fff;border-color:var(--brand);}
body .cls-team-cta{background:var(--brand);color:#fff;border:1.5px solid var(--brand);margin-top:0;}
body .cls-team-cta:hover{background:var(--brand-deep);border-color:var(--brand-deep);color:#fff;}
body .cls-hero-btn{background:#fff;color:var(--brand-deep);border:1.5px solid #fff;}
body .cls-hero-btn:hover,body .cls-hero-btn:focus-visible{background:transparent;color:#fff;}
body .cls-cite-copy{padding:6px 14px;font-size:.78rem;}

/* ---- chips: post tags and the blog filter share one quiet style ---- */
.cls-tags a,.cls-filter-a{
  display:inline-block;font-size:.8rem;font-weight:600;line-height:1.2;padding:7px 14px;border:0;border-radius:0;
  background:#e8f0f9;color:var(--brand);text-decoration:none;transition:background .15s,color .15s;
}
.cls-tags a:hover,.cls-filter-a:hover,.cls-filter-a.is-current{background:var(--brand);color:#fff;border:0;}
.cls-filter{margin:0 0 34px;}
.cls-flist{display:flex;flex-wrap:wrap;gap:8px;}
.cls-ftoggle{position:absolute;opacity:0;pointer-events:none;}
.cls-fbtn{display:none;}

/* ---- one size for every section heading ---- */
.cls-section h2.wp-block-heading,.cls-journal h2,.cls-team-h,.cls-related h2,.cls-hist-sec h2{
  font-size:clamp(1.55rem,2.6vw,2rem) !important;font-weight:900;line-height:1.15;letter-spacing:-.02em;margin-top:0;
}
.cls-section .cls-head h1{font-size:clamp(2rem,3.6vw,2.6rem);}

/* ---- shared page rhythm ---- */
.cls-section{padding-top:64px;padding-bottom:64px;}
.cls-section.cls-teamsec{background:#fff !important;padding-top:64px;padding-bottom:72px;}
.cls-teamsec .cls-team-block{padding:0;}

/* ---- hero: kicker and stats ---- */
.cls-heroinner > .cls-kicker{margin:0 0 6px !important;font-size:1.1rem !important;font-weight:400;letter-spacing:.01em;opacity:.95;}
.cls-heroinner > p:nth-child(2){margin:0 0 14px !important;}
.cls-stats{gap:40px !important;}
.cls-stat{display:grid !important;grid-template-columns:48px auto;grid-template-rows:auto auto;column-gap:14px;row-gap:3px;align-items:center;align-content:center;}
.cls-stat::before{
  display:block !important;content:"";grid-row:1 / span 2;width:48px;height:48px;margin:0;
  background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:28px;
}
.cls-stat--cap::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066CC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 2 9l10 5 10-5-10-5Z'/%3E%3Cpath d='M6 11.4V16c0 1.1 2.7 2.6 6 2.6s6-1.5 6-2.6v-4.6'/%3E%3Cpath d='M22 9v5.5'/%3E%3C/svg%3E");}
.cls-stat--journal::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066CC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6.5C10.5 5 8 4.2 4.5 4.5 4 4.5 3.5 5 3.5 5.5v12c0 .6.5 1 1 1 3.3-.2 5.6.6 7 1.9 1.4-1.3 3.7-2.1 7-1.9.5 0 1-.4 1-1v-12c0-.5-.5-1-1-1C17 4.2 14.5 5 12 6.5Z'/%3E%3Cpath d='M12 6.5V20'/%3E%3C/svg%3E");}
.cls-stat .cls-n{grid-column:2;font-size:1.6rem !important;line-height:1 !important;margin:0 !important;}
.cls-stat .cls-l{grid-column:2;max-width:22ch !important;font-size:.8rem !important;line-height:1.25 !important;margin:0 !important;}

/* ---- journal band: cover beside the text ---- */
.cls-journal{padding-top:44px !important;padding-bottom:44px !important;}
.cls-journal-inner{display:flex !important;flex-wrap:nowrap !important;align-items:center !important;justify-content:flex-start !important;gap:52px !important;}
.cls-journal-text{flex:1 1 auto;max-width:44rem;}
.cls-journal-text > *{margin-top:0;}
.cls-journal .cls-cover-img,.cls-journal .cls-cover{margin:0 !important;flex:0 0 auto;max-width:170px !important;width:170px;}

/* ---- quote band ---- */
.cls-quote{padding-top:52px !important;padding-bottom:52px !important;}
.cls-quote-inner{display:flex !important;flex-wrap:nowrap !important;align-items:center !important;justify-content:flex-start !important;gap:36px !important;}
.cls-quote .cls-quote-photo{margin:0;flex:0 0 auto;width:132px;}
.cls-quote .cls-quote-photo img{width:132px !important;height:132px !important;object-fit:cover;}
.cls-quote .cls-quote-body{flex:1 1 auto;max-width:48rem;}
.cls-quote blockquote{font-size:clamp(1.25rem,2vw,1.6rem);line-height:1.4;}
.cls-quote cite{margin-top:18px;padding-top:14px;}

/* ---- cards: one image shape everywhere ---- */
.cls-cards .cls-card-media{flex:0 0 auto !important;min-height:0 !important;aspect-ratio:3/2;}
.cls-cards .cls-card-media img{min-height:0 !important;height:100% !important;}
.cls-feature .wp-block-post-template > li:first-child .cls-card-media{flex:1 1 auto !important;aspect-ratio:auto;min-height:300px !important;}

/* ---- post page ---- */
.cls-postwrap{padding-left:24px;padding-right:24px;}
.cls-posthead{align-items:stretch !important;}
.cls-posthead > .wp-block-column:last-child{display:flex;flex-direction:column;}
.cls-postmeta{flex:1 1 auto;background:var(--surface);padding:22px 24px !important;}
.cls-postmeta .cls-jumpcite{margin-top:auto !important;padding-top:6px;}
.cls-posthead > .wp-block-column{align-self:stretch !important;}
.cls-cite,.cls-authorboxes{margin-left:max(0px,calc((100% - 1080px)/2)) !important;margin-right:auto !important;}
.cls-cite{max-width:46rem;}
.cls-authorboxes{margin-top:44px;padding-top:0;border-top:0;}
.cls-authorboxes.is-single{max-width:46rem;}
.cls-postnav{border-top:0;margin-top:36px;padding-top:0;}
.cls-related{border-top:0;margin-top:48px;padding-top:0;}

@media(max-width:781px){
  .cls-journal-inner{flex-direction:column !important;align-items:flex-start !important;gap:24px !important;}
  .cls-stat{grid-template-columns:40px auto;column-gap:10px;}
  .cls-stat::before{width:40px;height:40px;background-size:24px;}
  .cls-heroinner .cls-stats.wp-block-columns{flex-wrap:wrap !important;gap:16px 28px !important;}
  .cls-stat .cls-l{max-width:15ch !important;}
  .cls-quote .cls-quote-photo,.cls-quote .cls-quote-photo img{width:96px !important;height:auto !important;}
  .cls-quote .cls-quote-photo img{height:96px !important;}
  .cls-quote-inner{flex-direction:column !important;align-items:flex-start !important;gap:24px !important;}
  .cls-section,.cls-section.cls-teamsec{padding-top:48px;padding-bottom:48px;}
  .cls-posthead > .wp-block-column:last-child{display:block;}
}

/* ---- 1.0.67: citation inside the meta panel, quote photo right, compact filter on phones ---- */
.cls-postmeta .cls-cite{margin:auto 0 0 !important;max-width:none;width:100%;background:#fff;border-left:3px solid var(--brand);padding:12px 14px;}
.cls-postmeta .cls-cite-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px;font-size:.82rem;}
.cls-postmeta .cls-cite p{font-size:.8rem;line-height:1.5;margin:0;}
.cls-quote-inner{flex-direction:row-reverse !important;justify-content:space-between !important;}
.cls-quote .cls-quote-body{max-width:46rem;}
@media(max-width:781px){
  .cls-quote-inner{flex-direction:column !important;justify-content:flex-start !important;}
}

/* ---- 1.0.69: citation without a box inside the panel; filter as a dropdown on phones ---- */
.cls-postmeta .cls-cite{background:none !important;border:0 !important;border-top:1px solid var(--rule-strong) !important;padding:14px 0 0 !important;}
@media(max-width:781px){
  .cls-filter{position:relative;}
  .cls-fbtn{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;box-sizing:border-box;padding:11px 14px;border:1.5px solid var(--brand);background:#fff;color:var(--brand);font-size:.88rem;cursor:pointer;}
  .cls-fbtn span{font-weight:400;color:var(--ink-soft);margin-right:-6px;}
  .cls-fbtn strong{margin-right:auto;font-weight:600;}
  .cls-fbtn::after{content:"";width:8px;height:8px;border-right:2px solid var(--brand);border-bottom:2px solid var(--brand);transform:rotate(45deg) translateY(-2px);transition:transform .15s;}
  .cls-ftoggle:checked + .cls-fbtn::after{transform:rotate(-135deg) translateY(-2px);}
  .cls-flist{display:none;flex-direction:column;flex-wrap:nowrap;gap:0;position:absolute;left:0;right:0;top:100%;z-index:20;background:#fff;border:1.5px solid var(--brand);border-top:0;box-shadow:0 12px 24px rgba(11,18,25,.12);}
  .cls-ftoggle:checked ~ .cls-flist{display:flex;}
  .cls-flist .cls-filter-a{background:none;padding:12px 14px;font-size:.88rem;border-bottom:1px solid var(--rule);}
  .cls-flist .cls-filter-a:last-child{border-bottom:0;}
  .cls-flist .cls-filter-a.is-current{background:var(--brand);color:#fff;}
}

/* 1.0.73 — smaller team cards: up to four, left-aligned, fixed width */
.cls-section.cls-teamsec .cls-team-cards{grid-template-columns:repeat(auto-fill,minmax(140px,168px)) !important;justify-content:start;gap:16px;}
.cls-section.cls-teamsec .cls-team-name{font-size:.92rem;padding:10px 12px 0;}
.cls-section.cls-teamsec .cls-team-role{font-size:.78rem;padding:2px 12px 0;}
.cls-section.cls-teamsec .cls-team-link > :last-child{padding-bottom:12px;}
@media (max-width:600px){.cls-section.cls-teamsec .cls-team-cards{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}

/* ---- 1.0.74: compact team strip; lead-row neighbour fills the row height ---- */
.cls-section.cls-teamsec .cls-team-cards{grid-template-columns:repeat(auto-fill,minmax(96px,112px)) !important;gap:12px;}
.cls-section.cls-teamsec .cls-team-photo{aspect-ratio:1/1;}
.cls-section.cls-teamsec .cls-team-name{font-size:.8rem;line-height:1.25;padding:8px 8px 0;}
.cls-section.cls-teamsec .cls-team-role{font-size:.7rem;line-height:1.25;padding:2px 8px 0;}
.cls-section.cls-teamsec .cls-team-link > :last-child{padding-bottom:8px;}
@media (max-width:600px){
  .cls-section.cls-teamsec .cls-team-cards{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:8px;}
  .cls-section.cls-teamsec .cls-team-cards > :nth-child(n+5){display:none !important;}
  .cls-section.cls-teamsec .cls-team-name{font-size:.7rem;padding:6px 6px 0;}
  .cls-section.cls-teamsec .cls-team-role{display:none;}
  .cls-section.cls-teamsec .cls-team-link > :last-child{padding-bottom:6px;}
}
@media (min-width:782px){
  .cls-feature .wp-block-post-template > li:nth-child(-n+2) .cls-card-media{flex:0 0 auto !important;aspect-ratio:auto !important;height:380px !important;min-height:0 !important;}
  .cls-feature .wp-block-post-template > li:nth-child(-n+2) .cls-card-media .wp-block-post-featured-image,
  .cls-feature .wp-block-post-template > li:nth-child(-n+2) .cls-card-media .wp-block-post-featured-image a{height:100% !important;}
  .cls-feature .wp-block-post-template > li:nth-child(-n+2) .cls-card-media img{width:100% !important;height:100% !important;object-fit:cover;}
  .cls-feature .wp-block-post-template > li:nth-child(-n+2) .cls-card-body{flex:1 1 auto;display:flex;flex-direction:column;}
  .cls-feature .wp-block-post-template > li:nth-child(-n+2) .cls-cardmeta{margin-top:auto;}
}

/* ---- 1.0.77: history hero grid follows the building's perspective (SVG in photo coordinates) ---- */
.cls-hist-hero-img{container-type:size;}
.cls-hist-hero-grid{position:absolute;display:block;pointer-events:none;width:max(100cqw,calc(100cqh*1.25913));aspect-ratio:967/768;height:auto;left:calc((100cqw - max(100cqw,100cqh*1.25913))*.6);top:calc((100cqh - max(100cqw*.79421,100cqh))*.62);}
.cls-hist-hero-grid path{vector-effect:non-scaling-stroke;}
.cls-hist-hero-img::after{z-index:0;}.cls-hist-hero-grid{z-index:1;}
/* 1.0.81: grid fades (not vanishes) towards the left, over the text side */
.cls-hist-hero-img::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(11,18,25,.5) 0%,rgba(11,18,25,.38) 30%,rgba(11,18,25,.12) 55%,rgba(11,18,25,0) 75%);}
@media(max-width:781px){.cls-hist-hero-img::before{background:linear-gradient(90deg,rgba(11,18,25,.5) 0%,rgba(11,18,25,.35) 40%,rgba(11,18,25,.1) 75%,rgba(11,18,25,0) 100%);}}
.cls-hist-hero-text{z-index:3;}
@media(max-width:781px){.cls-hist-hero-img::before{background:linear-gradient(to top,rgba(11,18,25,.62) 0%,rgba(11,18,25,.55) 40%,rgba(11,18,25,.2) 62%,rgba(11,18,25,0) 80%),linear-gradient(90deg,rgba(11,18,25,.4) 0%,rgba(11,18,25,.25) 50%,rgba(11,18,25,.05) 100%);}}
/* 1.0.84: mobile history hero — taller, shifted to show more of the building, lighter gradient up top */
@media(max-width:781px){
.cls-hist-hero{min-height:540px;}
.cls-hist-hero-img img{object-position:62% 52%;}
.cls-hist-hero-grid{left:calc((100cqw - max(100cqw,100cqh*1.25913))*.62);top:calc((100cqh - max(100cqw*.79421,100cqh))*.52);}
.cls-hist-hero-img::after{background:linear-gradient(to top right,rgba(11,18,25,.96) 0%,rgba(11,18,25,.85) 34%,rgba(11,18,25,.4) 62%,rgba(11,18,25,.03) 100%);}
.cls-hist-hero-text{padding-top:230px;}
}
/* 1.0.86: front-page hero on mobile — diagonal gradient (dark bottom-left to clear top-right) */
@media(max-width:781px){
.cls-hero .wp-block-cover__background{
  background:
    linear-gradient(to top,rgba(0,52,110,.45) 0%,rgba(0,52,110,.3) 30%,rgba(0,52,110,0) 55%),
    linear-gradient(to top right,rgba(0,76,153,.9) 0%,rgba(0,76,153,.84) 28%,rgba(0,76,153,.76) 52%,rgba(0,76,153,.6) 76%,rgba(0,76,153,.42) 100%),
    url(../images/hero.jpg) center 42%/cover no-repeat !important;
}
}
/* 1.0.94: authors strip under the categories — one subtle row on desktop, a dropdown on mobile */
.cls-authorsbar{position:relative;display:flex;align-items:center;gap:8px 18px;margin:0 0 24px;padding:9px 0;border-top:1px solid var(--line,#e3e7ee);border-bottom:1px solid var(--line,#e3e7ee);}
.cls-ab-label{flex:0 0 auto;appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand,#0b57b8);cursor:default;pointer-events:none;}
.cls-ab-panel{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:8px 18px;}
.cls-ab-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:nowrap;align-items:center;gap:8px 16px;min-width:0;overflow:hidden;}
.cls-ab-list li{margin:0;min-width:0;flex:0 1 auto;}
.cls-ab-list a{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink-soft,#3b4654);font-size:.82rem;font-weight:500;line-height:1.2;}
.cls-ab-list a:hover .cls-ab-name,.cls-ab-list a:focus-visible .cls-ab-name{color:var(--brand,#0b57b8);text-decoration:underline;}
.cls-ab-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px;}
.cls-ab-pic{width:26px;height:26px;border-radius:0;object-fit:cover;object-position:50% 20%;display:block;flex:0 0 auto;background:var(--surface,#f2f6fa);}
.cls-ab-ph{display:flex;align-items:center;justify-content:center;font-size:.6rem;font-weight:800;color:var(--brand,#0b57b8);}
.cls-ab-all{flex:0 0 auto;margin-left:auto;font-size:.8rem;font-weight:600;color:var(--brand,#0b57b8);text-decoration:none;white-space:nowrap;}
.cls-ab-all:hover,.cls-ab-all:focus-visible{text-decoration:underline;}
@media(max-width:781px){
.cls-authorsbar{display:block;padding:0;border:0;margin:0 0 22px;}
.cls-ab-label{display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box;padding:12px 16px;border:1px solid var(--line,#d6dde8);background:#fff;font-size:.74rem;}
.cls-authorsbar:not(.cls-ab-js) .cls-ab-label{pointer-events:none;}
.cls-ab-js .cls-ab-label{cursor:pointer;pointer-events:auto;}
.cls-ab-label::after{content:"";width:8px;height:8px;margin-left:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg);transition:transform .15s;}
.cls-authorsbar.is-open .cls-ab-label::after{transform:translateY(2px) rotate(-135deg);}
.cls-authorsbar.is-open .cls-ab-label{border-color:var(--brand,#0b57b8);}
.cls-ab-panel{display:block;}
.cls-ab-js .cls-ab-panel{display:none;position:absolute;left:0;right:0;top:100%;z-index:30;margin-top:-1px;background:#fff;border:1px solid var(--brand,#0b57b8);box-shadow:0 12px 28px rgba(11,18,25,.18);max-height:62vh;overflow-y:auto;}
.cls-ab-js.is-open .cls-ab-panel{display:block;}
.cls-ab-list{display:block;overflow:visible;padding:6px 0;}
.cls-ab-list li{display:block;}
.cls-ab-list a{padding:9px 16px;font-size:.92rem;color:var(--ink,#0b1219);}
.cls-ab-pic{width:32px;height:32px;}
.cls-ab-name{max-width:none;white-space:normal;}
.cls-ab-all{display:block;margin:0;padding:12px 16px;border-top:1px solid var(--line,#e3e7ee);font-size:.88rem;}
}

/* 1.0.99: authors directory (/authors/) */
.cls-adir-intro{font-size:1.08rem;line-height:1.5;color:var(--ink-soft);margin:0 0 22px;max-width:620px;}
.cls-adir-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 24px;padding:0 0 14px;border-bottom:1px solid var(--rule);}
.cls-adir-filters{display:flex;gap:6px;flex-wrap:wrap;}
.cls-adir button{font:inherit;font-size:.86rem;font-weight:600;line-height:1;padding:9px 14px;border:1px solid var(--rule-strong);background:#fff;color:var(--ink);border-radius:var(--r-card);cursor:pointer;transition:background .15s,color .15s,border-color .15s;}
.cls-adir button:hover:not(:disabled){border-color:var(--brand);color:var(--brand);}
.cls-adir button.is-active{background:var(--brand);border-color:var(--brand);color:#fff;}
.cls-adir button:disabled{opacity:.4;cursor:default;}
.cls-adir ul{list-style:none;margin:0;padding:0;}
.cls-adir [hidden]{display:none !important;}
.cls-adir a{text-decoration:none;}
.cls-adir-photo{display:block;position:relative;overflow:hidden;background:var(--surface);}
.cls-adir-photo img,.cls-adir-ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.cls-adir-ph{display:flex;align-items:center;justify-content:center;background:var(--surface);color:var(--brand);font-family:'Roboto',system-ui,Arial,sans-serif;font-weight:800;letter-spacing:.02em;}
.cls-adir-nameline{display:flex;align-items:center;gap:7px;min-width:0;}
.cls-adir-name{font-family:'Roboto',system-ui,Arial,sans-serif;font-weight:700;line-height:1.22;color:var(--brand);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;}
.cls-adir-name:hover{color:var(--brand-deep);}
.cls-adir-icos{display:inline-flex;gap:5px;flex:0 0 auto;}
.cls-adir-ico{display:inline-flex;color:var(--ink-soft);opacity:.7;line-height:0;}
.cls-adir-ico:hover{color:var(--brand);opacity:1;}
.cls-adir-ptitle{font-size:.8rem;line-height:1.3;color:var(--ink-soft);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.cls-adir-ptitle:hover{color:var(--brand);}
/* multi-post authors: compact cards */
.cls-adir-cards{display:grid;gap:14px;grid-template-columns:repeat(3,1fr);margin:0 0 28px !important;}
.cls-adir-card{display:flex;background:#fff;border:1px solid var(--rule-strong);border-radius:var(--r-card);overflow:hidden;transition:border-color .18s,box-shadow .18s;}
.cls-adir-card:hover{border-color:var(--brand);box-shadow:0 8px 22px rgba(0,40,90,.1);}
.cls-adir-card .cls-adir-photo{flex:0 0 84px;width:84px;}
.cls-adir-card .cls-adir-ph{font-size:1.3rem;}
.cls-adir-ctext{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:10px 13px;min-width:0;}
.cls-adir-card .cls-adir-name{font-size:.98rem;}
.cls-adir-role{font-size:.8rem;line-height:1.3;color:var(--ink-soft);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.cls-adir-count{font-size:.76rem;color:var(--ink-soft);opacity:.85;}
.cls-adir-count a{color:inherit;}
.cls-adir-count a:hover{color:var(--brand);}
.cls-adir-card .cls-adir-ptitle{margin-top:5px;padding-top:5px;border-top:1px solid var(--rule);color:var(--ink);font-weight:600;font-size:.82rem;}
/* one-post authors: small photo, name and the title of their one post */
.cls-adir-minis{display:grid;gap:0 28px;grid-template-columns:repeat(3,1fr);}
.cls-adir-mini{display:flex;align-items:center;gap:11px;padding:7px 0;border-bottom:1px solid var(--rule);}
.cls-adir-mini .cls-adir-photo{flex:0 0 38px;width:38px;height:38px;}
.cls-adir-mini .cls-adir-ph{font-size:.78rem;}
.cls-adir-mtext{display:flex;flex-direction:column;min-width:0;gap:1px;}
.cls-adir-mini .cls-adir-name{font-size:.86rem;}
.cls-adir-pager{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:34px 0 0;}
.cls-adir-pager button{min-width:38px;padding:9px 12px;}
.cls-adir-empty{color:var(--ink-soft);margin:20px 0;}
@media(max-width:1000px){.cls-adir-cards,.cls-adir-minis{grid-template-columns:repeat(2,1fr);}}
@media(max-width:781px){
.cls-adir{padding-inline:20px;}
main:has(.cls-adir)>.wp-block-post-title{padding-inline:20px;}
}
@media(max-width:640px){
.cls-adir-cards,.cls-adir-minis{grid-template-columns:1fr;}
.cls-adir-cards{gap:12px;}
.cls-adir-card .cls-adir-photo{flex-basis:76px;width:76px;}
.cls-adir-pager .cls-adir-pg-step{display:none;}
.cls-adir-pager{gap:5px;}
}

/* 1.0.100: former colleague label */
.cls-adir-former{align-self:flex-start;font-size:.64rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--brand);background:var(--surface);padding:2px 6px;border-radius:3px;line-height:1.3;white-space:nowrap;flex:0 0 auto;}
.cls-adir-nameline .cls-adir-former{align-self:center;}

/* 1.0.101: former label in accent teal, inline with the post count; "Latest" key on the card's post */
.cls-adir-former{align-self:center;color:var(--teal-deep);background:rgba(0,153,204,.12);}
.cls-adir-count{display:flex;align-items:center;gap:8px;}
.cls-adir-card .cls-adir-latest{display:block;}
.cls-adir-latest-k{display:block;font-size:.64rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);margin-bottom:2px;}

/* 1.0.102: long names wrap onto a second line instead of truncating */
.cls-adir-nameline{align-items:flex-start;flex-wrap:wrap;column-gap:7px;row-gap:3px;}
.cls-adir-name{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;flex:0 1 auto;}
.cls-adir-nameline .cls-adir-icos{margin-top:.28em;}
.cls-adir-nameline .cls-adir-former{align-self:flex-start;margin-top:1px;}

/* 1.0.103: every page hero shares one minimum height (the history page's) */
:root{--cls-hero-h:440px;}
.cls-hist-hero,.cls-hero.wp-block-cover{min-height:var(--cls-hero-h) !important;}
@media(max-width:781px){:root{--cls-hero-h:540px;}}

/* 1.0.104: history hero text lines up with the page column and the front-page hero text */
@media(min-width:782px){.cls-hist-hero-text{padding-left:max(24px,calc((100vw - 1080px)/2));}}

/* 1.0.106: desktop history hero photo sits higher in the frame (grid moves with it) */
@media(min-width:782px){
.cls-hist-hero-img img{object-position:60% 54%;}
.cls-hist-hero-grid{top:calc((100cqh - max(100cqw*.79421,100cqh))*.54);}
}

/* 1.0.110: front hero kicker in italic Georgia, echoing the University homepage */
.cls-heroinner > .cls-kicker{font-family:Georgia,"Times New Roman",serif !important;font-style:italic;font-weight:400 !important;font-size:clamp(1.55rem,3.4vw,2.3rem) !important;line-height:1.12 !important;letter-spacing:0 !important;opacity:1 !important;margin:0 0 4px !important;}
@media(max-width:781px){.cls-heroinner > .cls-kicker{font-size:1.5rem !important;}}

/* 1.0.111: kicker nearly the size of the title; lighter overlay to the right; TEF badge on a navy plate */
.cls-hero .cls-heroinner > p.cls-kicker{font-size:clamp(1.9rem,3.6vw,2.75rem) !important;line-height:1.08 !important;margin:0 0 2px !important;}
@media(max-width:781px){.cls-hero .cls-heroinner > p.cls-kicker{font-size:1.7rem !important;}}
@media(min-width:782px){
.cls-hero .wp-block-cover__background{
  background:
    linear-gradient(100deg,rgba(0,76,153,.92) 0%,rgba(0,76,153,.76) 36%,rgba(0,76,153,.2) 62%,rgba(0,76,153,0) 82%),
    url(../images/hero.jpg) center 42%/cover no-repeat !important;
}
}
figure.cls-tef{background:rgba(0,36,92,.88);padding:9px 14px;border-radius:6px;width:fit-content !important;box-shadow:0 6px 20px rgba(0,20,60,.35),inset 0 0 0 1px rgba(255,255,255,.28);}
figure.cls-tef img{height:52px !important;}
@media(max-width:781px){figure.cls-tef img{height:42px !important;}}

/* 1.0.112: accolades — bold sans numbers over italic Georgia captions; TEF badge sits where a number would */
@media(min-width:782px){
.cls-hero .wp-block-cover__background{
  background:
    linear-gradient(100deg,rgba(0,76,153,.92) 0%,rgba(0,76,153,.8) 46%,rgba(0,76,153,.26) 72%,rgba(0,76,153,0) 92%),
    url(../images/hero.jpg) center 42%/cover no-repeat !important;
}
}
.cls-hero .cls-stats{align-items:flex-start !important;}
.cls-hero .cls-stat{display:flex !important;flex-direction:column;align-items:flex-start;gap:7px;grid-template-columns:none;}
.cls-hero .cls-stat::before{display:none !important;}
.cls-hero .cls-stat .cls-n{font-size:2.7rem !important;font-weight:800;line-height:52px !important;margin:0 !important;grid-column:auto;}
.cls-hero .cls-stat .cls-l{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:1.02rem !important;line-height:1.25 !important;max-width:none !important;white-space:nowrap;color:rgba(255,255,255,.95);margin:0 !important;grid-column:auto;}
.cls-hero figure.cls-tef{padding:5px 12px;margin:0 !important;}
.cls-hero figure.cls-tef img{height:42px !important;}
@media(max-width:781px){
.cls-hero .cls-stat .cls-n{font-size:2rem !important;line-height:44px !important;}
.cls-hero .cls-stat .cls-l{font-size:.9rem !important;white-space:normal;max-width:16ch !important;}
.cls-hero figure.cls-tef img{height:34px !important;}
}

/* 1.0.113: accolade legibility over the lighter photo; larger TEF badge */
.cls-hero .cls-stat .cls-n,.cls-hero .cls-stat .cls-l{text-shadow:0 1px 3px rgba(0,30,80,.55),0 0 14px rgba(0,30,80,.45);}
@media(min-width:782px){
.cls-hero .cls-stat .cls-n{line-height:62px !important;}
.cls-hero figure.cls-tef{padding:6px 14px;}
.cls-hero figure.cls-tef img{height:50px !important;}
}

/* 1.0.114: three equal accolade cards — two outlined, the TEF card in navy and gold */
.cls-hero .cls-stats.wp-block-columns{display:grid !important;grid-template-columns:repeat(3,minmax(0,238px));gap:16px !important;border-top:0 !important;padding-top:6px !important;align-items:stretch !important;}
.cls-hero .cls-stats > .wp-block-column{width:auto !important;flex:none !important;display:flex;}
.cls-hero .cls-stat{width:100%;box-sizing:border-box;padding:16px 18px 15px;border:1px solid rgba(255,255,255,.75);border-radius:6px;background:rgba(255,255,255,.1);gap:8px;}
.cls-hero .cls-stat--tef{background:rgba(0,36,92,.94);border:1.5px solid #f2b21c;box-shadow:0 8px 24px rgba(0,20,60,.4);}
.cls-hero .cls-stat .cls-n{font-size:2.6rem !important;line-height:52px !important;}
.cls-hero .cls-stat .cls-l{white-space:normal !important;font-size:1rem !important;line-height:1.25 !important;max-width:none !important;}
.cls-hero .cls-stat--tef figure.cls-tef{background:none !important;box-shadow:none !important;padding:0 !important;margin:0 !important;width:auto !important;height:52px;display:flex;align-items:center;}
.cls-hero .cls-stat--tef figure.cls-tef img{height:52px !important;width:auto !important;}
@media(max-width:781px){
.cls-hero .cls-stats.wp-block-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px !important;}
.cls-hero .cls-stat{padding:10px 10px 9px;gap:5px;}
.cls-hero .cls-stat .cls-n{font-size:1.8rem !important;line-height:38px !important;}
.cls-hero .cls-stat .cls-l{font-size:.78rem !important;}
.cls-hero .cls-stat--tef figure.cls-tef,.cls-hero .cls-stat--tef figure.cls-tef img{height:38px !important;}
}

/* 1.0.115: keep the front hero at the shared height with the taller accolade cards */
@media(min-width:782px){
.cls-hero.wp-block-cover{padding-top:26px !important;padding-bottom:24px !important;}
.cls-hero .cls-stats.wp-block-columns{padding-top:0 !important;}
.cls-hero .cls-stat{padding:11px 16px 11px;gap:5px;}
.cls-hero .cls-stat .cls-n{font-size:2.3rem !important;line-height:44px !important;}
.cls-hero .cls-stat--tef figure.cls-tef,.cls-hero .cls-stat--tef figure.cls-tef img{height:44px !important;}
.cls-hero .cls-stat .cls-l{font-size:.95rem !important;}
.cls-heroinner .cls-lede{margin-bottom:14px !important;}
}

/* 1.0.116: tidy accolade cards — same structure in all three; TEF shows only its square badge (the caption carries the words) */
.cls-hero .cls-stat{justify-content:flex-start;}
.cls-hero .cls-stat .cls-l{min-height:2.5em;}
.cls-hero .cls-stat--tef figure.cls-tef{width:auto !important;overflow:visible;}
.cls-hero .cls-stat--tef figure.cls-tef a,.cls-hero .cls-stat--tef figure.cls-tef{display:block;}
.cls-hero .cls-stat--tef figure.cls-tef img{width:var(--cls-tef-w,31px) !important;height:44px !important;object-fit:cover;object-position:left center;border-radius:2px;}
@media(max-width:781px){.cls-hero .cls-stat--tef figure.cls-tef img{width:28px !important;height:38px !important;}}

/* 1.0.118: "Read our history" button sits at the right of the container, level with the headline (desktop) */
@media(min-width:782px){
.cls-hero .cls-heroinner{position:relative;}
.cls-hero .cls-heroinner > .cls-hero-cta{position:absolute;top:18px;right:0;margin:0 !important;}
}

/* 1.0.119: whole accolade card is the link (stretched link on the caption) */
.cls-hero .cls-stat{position:relative;transition:background .15s,border-color .15s,transform .15s;}
.cls-hero .cls-stat .cls-l a{color:inherit;text-decoration:none;}
.cls-hero .cls-stat .cls-l a::after{content:"";position:absolute;inset:0;border-radius:inherit;}
.cls-hero .cls-stat:hover{background:rgba(255,255,255,.2);border-color:#fff;}
.cls-hero .cls-stat--tef:hover{background:rgba(0,48,120,.97);border-color:#ffc83a;}
.cls-hero .cls-stat:hover .cls-l a{text-decoration:underline;text-underline-offset:3px;}
.cls-hero .cls-stat .cls-l a:focus-visible{outline:none;}
.cls-hero .cls-stat:has(a:focus-visible){outline:3px solid #fff;outline-offset:2px;}
.cls-hero .cls-heroinner > .cls-hero-cta{display:none !important;}

/* 1.0.120: italic Georgia as the "voice" face — quotes, captions and the history title; Roboto stays the structural face */
:root{--cls-voice:Georgia,"Times New Roman",serif;}
.cls-hist-hero h1{font-family:var(--cls-voice);font-style:italic;font-weight:700;letter-spacing:0;font-size:clamp(2.4rem,5.4vw,3.8rem);}
.cls-era-fig figcaption,.cls-content figcaption{font-family:var(--cls-voice);font-style:italic;}
/* front-page quote */
.cls-quote blockquote,.cls-quote blockquote p{font-family:var(--cls-voice) !important;font-style:italic !important;font-weight:400 !important;}
.cls-quote blockquote{font-size:clamp(1.45rem,2.4vw,2rem) !important;line-height:1.38 !important;}
.cls-quote cite{font-family:'Roboto',system-ui,Arial,sans-serif !important;font-style:normal !important;}
/* blog block quotes and staff-profile testimonials */
.cls-content blockquote,.cls-content .wp-block-quote{font-family:var(--cls-voice);font-style:italic;font-size:1.3rem;line-height:1.5;border-left:4px solid var(--teal);}
.cls-content blockquote p{font-style:italic;}
.cls-content blockquote cite,.cls-content .wp-block-quote cite{display:block;margin-top:.8em;font-family:'Roboto',system-ui,Arial,sans-serif;font-style:normal;font-size:.85rem;font-weight:500;color:var(--ink-soft);letter-spacing:.01em;}
.cls-profile-testimonial .cls-testimonial-quote{font-family:var(--cls-voice);font-style:italic;font-weight:400;}

/* ---- 1.0.124 heritage motif: the George Eliot grid, as a themeable variable ----
   Swap --cls-motif for another school's pattern, or set --cls-motif-opacity:0 to remove. */
:root{--cls-motif:url("../img/grid.svg?v=124");--cls-motif-opacity:.09;}
.cls-hero,.cls-profilehero,.cls-footer{position:relative;}
.cls-profilehero,.cls-footer{overflow:hidden;isolation:isolate;}
.cls-profilehero::before,.cls-footer::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:var(--cls-motif) 62% 46%/cover no-repeat;opacity:var(--cls-motif-opacity);
}
.cls-profilehero::before{z-index:-1;-webkit-mask-image:linear-gradient(100deg,#000 0,#000 40%,transparent 100%);mask-image:linear-gradient(100deg,#000 0,#000 40%,transparent 100%);opacity:calc(var(--cls-motif-opacity)*1.3);}
.cls-footer::before{z-index:-1;opacity:calc(var(--cls-motif-opacity)*.7);-webkit-mask-image:linear-gradient(180deg,#000 0,transparent 80%);mask-image:linear-gradient(180deg,#000 0,transparent 80%);}

/* 1.0.125 front hero: grid registered to the William Morris Building in the photograph.
   Same cover/position as hero.jpg, so the lines stay locked to the facade at every width. */
:root{--cls-hero-motif:url("../img/hero-grid.svg?v=132");}
.cls-hero .wp-block-cover__background{
  background:
    var(--cls-hero-motif) center 42%/cover no-repeat,
    linear-gradient(to top,rgba(0,52,110,.45) 0%,rgba(0,52,110,.3) 30%,rgba(0,52,110,0) 55%),
    linear-gradient(to top right,rgba(0,76,153,.9) 0%,rgba(0,76,153,.84) 28%,rgba(0,76,153,.76) 52%,rgba(0,76,153,.6) 76%,rgba(0,76,153,.42) 100%),
    url(../images/hero.jpg) center 42%/cover no-repeat !important;
}
@media(min-width:782px){
.cls-hero .wp-block-cover__background{
  background:
    var(--cls-hero-motif) center 42%/cover no-repeat,
    linear-gradient(100deg,rgba(0,76,153,.92) 0%,rgba(0,76,153,.8) 46%,rgba(0,76,153,.26) 72%,rgba(0,76,153,0) 92%),
    url(../images/hero.jpg) center 42%/cover no-repeat !important;
}
}

/* 1.0.133 click-to-enlarge */
.cls-zoomable{cursor:zoom-in;}
.cls-zoomable:focus-visible{outline:2px solid var(--wp--preset--color--primary,#0066cc);outline-offset:2px;}
dialog.cls-lb{border:0;padding:0;margin:0;max-width:none;max-height:none;width:100vw;height:100vh;background:rgba(0,24,56,.94);color:#fff;cursor:zoom-out;}
dialog.cls-lb::backdrop{background:transparent;}
dialog.cls-lb[open]{display:flex;align-items:center;justify-content:center;}
dialog.cls-lb figure{margin:0;padding:56px 24px 24px;display:flex;flex-direction:column;align-items:center;max-width:100%;}
dialog.cls-lb img{display:block;max-width:min(94vw,1500px);max-height:calc(100vh - 150px);width:auto;height:auto;object-fit:contain;}
dialog.cls-lb figcaption{margin-top:14px;max-width:70ch;text-align:left;font-family:var(--cls-voice);font-style:italic;font-size:1rem;line-height:1.45;color:#fff;}
dialog.cls-lb .cls-lb-x{position:absolute;top:14px;right:18px;background:none;border:0;color:#fff;font:inherit;font-size:1rem;padding:8px 4px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;}

/* 1.0.134 article quotes: Georgia reads larger than Roboto, so set the quote at body size */
.cls-content blockquote,.cls-content .wp-block-quote{font-size:1.06rem;line-height:1.6;}
.cls-content blockquote p,.cls-content .wp-block-quote p{font-size:inherit;line-height:inherit;margin:.5em 0;}

/* 1.0.135 article layout: one main column (64%, the hero image width) and one rail (sidebar and captions share the same left edge) */
@media(min-width:782px){
  .cls-content > p,.cls-content > h2,.cls-content > h3,.cls-content > h4,.cls-content > ul,.cls-content > ol,
  .cls-content > blockquote,.cls-content > .wp-block-quote,.cls-content > .wp-block-heading,.cls-content > pre{max-width:64%;}
  .cls-content figure.wp-block-image:not(:has(figcaption)){max-width:64%;}
  .cls-authorboxes,.cls-authorboxes.is-single{max-width:min(100%,1080px);}
  .cls-content figure.wp-block-image:has(figcaption) figcaption{font-size:.9rem;line-height:1.5;}
}
/* hamburger bars end on the content's right edge */
.cls-bar .cls-nav{margin-right:-19px;}
@media(max-width:781px){.cls-bar .cls-nav{margin-right:-13px;}}

/* 1.0.138 read time sits on its own line without the divider indent; author cards run the full content width */
.cls-postmeta .cls-readtime{flex-basis:100%;margin-left:0 !important;padding-left:0;border-left:0;}

/* 1.0.139 clock icon for the read time, matching the calendar icon beside the date */
.cls-postmeta .cls-readtime{position:relative;}
.cls-postmeta .cls-readtime::before{content:"";position:absolute;left:-27px;top:2px;width:17px;height:17px;background:no-repeat center/contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586572' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");}

/* 1.0.140 the header row is only as tall as the image; the sidebar hangs down beside the first paragraphs */
@media(min-width:782px){
  .cls-posthead > .wp-block-column:last-child{align-self:flex-start !important;margin-bottom:-2000px;}
  .cls-posthead{margin-bottom:28px !important;}
}

/* 1.0.142 a single author card is the width of the main column; page numbers as square buttons */
@media(min-width:782px){
  .cls-authorboxes.is-single{max-width:calc(min(100%,1080px)*.64);}
}
.wp-block-query-pagination{gap:8px 6px !important;align-items:center;font-size:.95rem;font-weight:600;}
.wp-block-query-pagination a{text-decoration:none;}
.wp-block-query-pagination-numbers{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:0 8px;}
.wp-block-query-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:42px;height:42px;padding:0 10px;border:1.5px solid var(--rule-strong);background:#fff;color:var(--ink);line-height:1;transition:color .15s,border-color .15s,background .15s;}
.wp-block-query-pagination a.page-numbers:hover{border-color:var(--brand);color:var(--brand);}
.wp-block-query-pagination .page-numbers.current{background:var(--brand);border-color:var(--brand);color:#fff;}
.wp-block-query-pagination .page-numbers.dots{border-color:transparent;background:none;min-width:24px;padding:0;color:var(--ink-soft);}
.wp-block-query-pagination-previous,.wp-block-query-pagination-next{display:inline-flex;align-items:center;gap:8px;box-sizing:border-box;height:42px;padding:0 18px;border:1.5px solid var(--brand);color:var(--brand);background:#fff;margin:0 !important;transition:color .15s,background .15s;}
.wp-block-query-pagination-previous:hover,.wp-block-query-pagination-next:hover{background:var(--brand);color:#fff;}
@media(max-width:600px){
  .wp-block-query-pagination{justify-content:center;}
  .wp-block-query-pagination-numbers{order:3;flex-basis:100%;margin:6px 0 0;}
  .wp-block-query-pagination .page-numbers{min-width:38px;height:38px;}
}

/* ---- 1.0.143: featured-image credit in the meta panel; book card spacing ---- */
.cls-postmeta .cls-imgcredit{position:relative;margin:14px 0 0;padding:12px 0 0 25px;border-top:1px solid var(--rule-strong);font-size:.78rem;line-height:1.5;color:var(--ink-soft);}
.cls-postmeta .cls-imgcredit::before{content:"";position:absolute;left:0;top:14px;width:15px;height:15px;background:no-repeat center/contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586572' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h3l2-2.5h6L17 7h3a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='13' r='3.6'/%3E%3C/svg%3E");}
.cls-postmeta .cls-imgcredit a{color:inherit;text-decoration:underline;text-underline-offset:2px;}
.cls-postmeta .cls-imgcredit a:hover{color:var(--brand);}
.cls-content > .cls-bookcard{margin-top:1.45em !important;margin-bottom:0 !important;}
