/* V1.1 content extends the existing Signature palette and typography. */
.news-intro{max-width:760px;margin-bottom:2rem}
.news-intro>p{max-width:65ch;color:var(--muted);font-size:1.06rem;line-height:1.7}
.news-filter{display:flex;gap:.6rem;flex-wrap:wrap;margin:1.5rem 0 2.5rem;align-items:end}
.news-filter .field{min-width:220px;margin:0}
.news-filter a{padding:.55rem .8rem;color:var(--muted);text-decoration:none}
.news-filter a[aria-current=page]{background:var(--navy);color:#fff}
.news-filter a:hover{background:var(--wash);color:var(--ink)}
.news-filter a[aria-current=page]:hover{background:var(--ocean);color:#fff}
.news-list{display:grid;gap:0}
.news-item{display:grid;grid-template-columns:180px minmax(0,1fr);column-gap:4rem;padding:2rem 0}
.news-item:first-child{background:var(--wash);padding:2.5rem;margin-bottom:1rem}
.news-item+.news-item{border-top:1px solid var(--line)}
.news-item h2{max-width:24ch;font-size:2rem;margin:.6rem 0 1rem;overflow-wrap:anywhere}
.news-item h2 a{color:var(--ink)}
.news-item .news-summary{color:var(--muted);line-height:1.75;max-width:65ch;margin:.8rem 0 1.2rem}
.news-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;color:var(--muted);font-size:.86rem;line-height:1.5}
.news-item>.news-meta{align-content:start;align-items:flex-start;flex-direction:column;padding-top:.7rem}
.news-meta time{font-variant-numeric:tabular-nums}
.news-article{max-width:900px;margin:auto}
.news-article h1{max-width:22ch;font-size:clamp(2.2rem,5vw,4rem);margin:1.5rem 0;overflow-wrap:anywhere}
.news-article>.news-summary{font-size:1.2rem;line-height:1.7;color:var(--muted);max-width:65ch}
.news-article-body{max-width:70ch;margin:2.5rem 0;font-size:1.06rem;line-height:1.85;overflow-wrap:anywhere}
.news-article-body p{margin:0 0 1.25rem;white-space:pre-wrap}
.news-source{padding:1.4rem;background:var(--wash);font-size:.94rem;overflow-wrap:anywhere}
.content-empty{padding:2.3rem;background:var(--wash);max-width:800px}
.content-empty h2{font-size:1.7rem;margin:0 0 .8rem}
.content-empty p{max-width:60ch;color:var(--muted);line-height:1.7}
.content-admin-section{margin:0 0 2.5rem}
.content-admin-section>h2{margin-bottom:1.3rem}
.content-admin-list{display:grid;gap:.8rem;margin:1rem 0 1.5rem}
.content-record{padding:1.1rem 1.3rem;background:var(--wash);min-width:0}
.content-record-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.content-record h3{margin:.35rem 0;font-size:1rem;overflow-wrap:anywhere}
.content-record p{margin:.4rem 0;line-height:1.6}
.content-record .toolbar{margin-top:.8rem}
.content-editor{padding:1.7rem;background:#fff;border:1px solid var(--line);margin:1.25rem 0}
.content-editor h2{margin:0 0 1.4rem;font-size:1.7rem}
.content-editor textarea[name=body]{min-height:240px;line-height:1.65}
.content-editor-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.4rem}
.sponsor-logo-preview{display:block;width:190px;height:96px;object-fit:contain;background:#fff;border:1px solid var(--line);padding:.7rem;margin:1rem 0}
.content-logo-input{padding:1rem;background:var(--wash)}
.content-logo-input input[type=file]{max-width:100%}
.news-item-content.has-image{display:grid;grid-template-columns:minmax(150px,240px) minmax(0,1fr);gap:2rem;align-items:start}
.news-item-image{display:block;background:#fff;max-width:100%}
.news-item-image img{display:block;width:100%;height:auto;max-height:300px;object-fit:contain}
.news-figure{margin:2rem 0}
.news-figure>a:first-child{display:block}
.news-figure img{display:block;max-width:100%;height:auto;margin:0 auto}
.news-figure figcaption{font-size:.9rem;line-height:1.65;color:var(--muted);margin:.9rem 0}
.news-image-full{display:inline-flex;align-items:center;gap:.5rem;font-size:.88rem;margin-top:.8rem;min-height:44px}
.news-image-editor{margin:1.7rem 0;padding:1.5rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.news-image-editor h3{font-size:1.25rem;margin:0 0 1rem}
.news-image-preview{display:block;max-width:100%;width:auto;height:auto;max-height:320px;object-fit:contain;margin:1rem 0;background:#fff}
.content-image-preview[hidden]{display:none}
.content-news-image-input{padding:1rem;background:var(--wash);max-width:100%}
@media(max-width:1100px){.news-item-content.has-image{grid-template-columns:minmax(0,1fr);gap:1.1rem}.news-item-image{max-width:340px}.news-item-image img{max-height:340px}}
.sponsor-section{--sponsor-slot:208px;--sponsor-gap:48px;margin:0 0 3rem;padding:1.6rem 0 0;background:var(--wash);overflow:hidden}
.sponsor-section .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.sponsor-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 2rem 1.4rem}
.sponsor-heading h2{margin:0;font-size:1.9rem;min-width:0;overflow-wrap:anywhere}
.sponsor-item a:focus-visible{outline:2px solid var(--navy);outline-offset:4px}
.sponsor-window{overflow:hidden;width:100%;background:#fff;padding:1.25rem 0;touch-action:pan-y pinch-zoom}
.sponsor-window[data-dragging=true]{cursor:grabbing;user-select:none}
.sponsor-track{display:flex;width:max-content}
.sponsor-cycle{display:flex;flex-shrink:0}
.sponsor-group{list-style:none;margin:0;padding:0 var(--sponsor-gap) 0 0;display:flex;align-items:center;flex-shrink:0;gap:var(--sponsor-gap)}
.sponsor-item{display:flex;align-items:center;justify-content:center;width:var(--sponsor-slot);min-height:100px;flex-shrink:0;text-align:center}
.sponsor-image{display:block;width:192px;height:68px;object-fit:contain;-webkit-user-drag:none}
.sponsor-logo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7rem;color:var(--muted);font-size:.82rem;font-weight:600;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
.sponsor-item a{min-height:100px;text-decoration:none}
.sponsor-item a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.sponsor-section[data-looping=false] .sponsor-track{width:100%;display:block}
.sponsor-section[data-looping=false] .sponsor-cycle{display:block}
.sponsor-section[data-looping=false] .sponsor-group{flex-wrap:wrap;padding:0 1rem;justify-content:center}
.sponsor-section[data-looping=false] .sponsor-group[aria-hidden=true],.sponsor-section[data-looping=false] .sponsor-cycle[aria-hidden=true]{display:none}
@media(max-width:1100px){
 .public-header{position:relative;gap:1rem}
 .public-header nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:30;background:#fff;box-shadow:0 12px 20px #13283e18;padding:1.5rem;flex-direction:column;align-items:start;gap:1.2rem}
 .public-header nav.open{display:flex}
 .public-header .mobile-toggle{display:grid}
 .student-header{flex-wrap:wrap;gap:.9rem;padding:1rem 1.3rem}
 .student-header nav{order:3;width:100%;gap:1.4rem;overflow-x:auto;min-height:42px;justify-content:flex-start;margin-left:0}
 .student-account{margin-left:auto}
}
@media(max-width:780px){
 .news-item{grid-template-columns:1fr;gap:.5rem;padding:1.5rem 0}
 .news-item:first-child{padding:1.4rem;margin-bottom:.5rem}
 .news-item>.news-meta{flex-direction:row;padding:0}
 .news-item h2{font-size:1.8rem;max-width:24ch}
 .news-article h1{font-size:2.4rem}
 .news-article>.news-summary{font-size:1.08rem}
 .news-article-body{font-size:1rem;line-height:1.8;margin:1.8rem 0}
 .content-editor{padding:1.15rem}
 .content-record-heading{align-items:flex-start}
 .sponsor-section{--sponsor-slot:144px;--sponsor-gap:16px;padding:1.2rem 0 0}
 .sponsor-heading{margin:0 1.2rem 1rem;gap:.6rem}
 .sponsor-heading h2{font-size:1.6rem}
 .sponsor-window{padding:1rem 0}
 .sponsor-item,.sponsor-item a{min-height:92px}
 .sponsor-image{width:136px;height:62px}
 .sponsor-logo{gap:.5rem;font-size:.76rem}
}
@media(prefers-reduced-motion:reduce){
 .sponsor-track{animation:none;width:100%;display:block;transform:none}
 .sponsor-cycle{display:block}
 .sponsor-group{flex-wrap:wrap;padding:0 1rem;justify-content:center;gap:1.5rem}
 .sponsor-group[aria-hidden=true],.sponsor-cycle[aria-hidden=true]{display:none}
 .sponsor-window{overflow:visible}
}
.certificate-record-footer{display:grid;grid-template-columns:minmax(0,1fr) 148px;align-items:end;gap:2rem;margin-top:2.6rem}
.certificate-record-footer .certificate-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;margin:0;overflow-wrap:anywhere;line-height:1.65}
.certificate-qr{display:grid;justify-items:center;gap:.5rem;font-size:.75rem}
.certificate-qr img{display:block;width:148px;height:148px;background:#fff}
.certificate-preview .learner-name,.certificate-preview .award-title{overflow-wrap:anywhere}
.verification{max-width:1120px}
.verification-status{display:flex;align-items:center;gap:1rem;padding:1.25rem 1.5rem;margin-bottom:2rem;border:1px solid #a9c9bc;background:#edf5f0;color:#244b3d}
.verification-status>svg{flex-shrink:0}
.verification-status h2{font-size:1.6rem;margin:0 0 .35rem}
.verification-status p{margin:0;font-size:.9rem}
.verification-status.is-invalid{background:#fff3ef;border-color:#c99682;color:#733725}
.verification-privacy{max-width:850px;margin:1.5rem auto}
.resit-panel{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.4rem 1.5rem;margin:1.5rem 0;background:var(--wash)}
.resit-panel h2{font-size:1.4rem;margin:0 0 .5rem}
.resit-panel p{margin:.35rem 0;max-width:65ch;line-height:1.6}
.resit-panel .btn{flex-shrink:0}
.resit-panel.needs-payment{background:#f4eee3}
.resit-checkout{max-width:850px;margin:auto}
.resit-order{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);margin:2rem 0;background:#fff}
.resit-paper{padding:1.7rem 2rem;min-width:0}
.resit-paper h2{font-size:1.9rem;line-height:1.2;margin:0 0 .6rem;overflow-wrap:anywhere}
.resit-paper dl{margin:1.7rem 0 0}
.resit-paper dl>div{display:flex;justify-content:space-between;gap:1rem;margin:.8rem 0;font-size:.94rem}
.resit-paper dt{color:var(--muted)}
.resit-paper dd{margin:0;text-align:right;font-weight:600}
.resit-price{background:var(--wash);padding:1.8rem;display:flex;flex-direction:column;justify-content:center;gap:.8rem}
.resit-price>span{font-size:.9rem;color:var(--muted)}
.resit-price strong{font-family:Georgia,serif;font-weight:400;font-size:2.4rem;font-variant-numeric:tabular-nums}
.resit-price p{margin:0;font-size:.9rem;line-height:1.65;color:var(--muted)}
#resit-payment-form{margin-top:1.8rem;max-width:470px}
@media(max-width:780px){
 .resit-panel{align-items:flex-start;flex-direction:column;padding:1.2rem;gap:1rem}
 .resit-order{grid-template-columns:1fr}
 .resit-paper,.resit-price{padding:1.3rem}
 .resit-price strong{font-size:2.1rem}
 #resit-payment-form .btn{width:100%}
 .certificate-record-footer{grid-template-columns:1fr;margin-top:2rem;gap:1.5rem}
 .certificate-record-footer .certificate-meta{grid-template-columns:1fr;text-align:center;gap:1rem}
 .verification-status{align-items:flex-start;padding:1rem}
 .verification-status h2{font-size:1.4rem}
}
