:root{--blue:#17458f;--navy:#0c2c55;--gold:#f7a81b;--text:#153455;--muted:#5d6c80;--line:#dde5ef;--soft:#eef4fc}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;background:#fff}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}h1,h2,h3{line-height:1.15;letter-spacing:-.025em;color:var(--navy)}h1{font-size:clamp(2rem,4vw,3.2rem);margin:.5rem 0 1.5rem}h2{font-size:clamp(1.7rem,3vw,2.3rem);margin:0 0 1rem}h3{font-size:1.25rem;margin:.7rem 0}p{margin:.75rem 0 1.1rem}button{cursor:pointer}button:disabled{cursor:wait}.container{max-width:1200px;margin:auto;padding:56px 28px}.site-header{background:white;border-top:5px solid var(--gold);border-bottom:1px solid var(--line)}.header-inner{max-width:1440px;margin:auto;padding:24px 28px;display:flex;align-items:center;gap:25px;flex-wrap:wrap}.brand{font-size:1.25rem;font-weight:800;line-height:1.2;display:flex;align-items:center;gap:12px;margin-right:auto;max-width:350px}.brand img{width:58px;height:58px;object-fit:contain}.header-inner nav{display:flex;align-items:center;gap:20px}.header-inner nav a{font-size:.875rem;color:var(--navy);white-space:nowrap}.header-inner nav a[aria-current]{text-decoration:underline;text-underline-offset:8px}.search-form{display:flex;max-width:270px;background:var(--soft);border-radius:28px;overflow:hidden}.search-form input{background:transparent;border:0;min-width:0;width:160px;padding:10px 14px;font-size:.875rem;margin:0}.search-form button{border:0;background:transparent;color:var(--blue);font-size:.875rem;padding:8px 12px;font-weight:bold}.menu-toggle{display:none}.hero{display:grid;grid-template-columns:1fr 1fr;max-width:1440px;margin:auto;min-height:460px;background:var(--blue);overflow:hidden}.hero-copy{padding:70px 55px;color:white;align-self:center}.hero .eyebrow{color:#d6e5ff;letter-spacing:.16em}.hero h1{color:white;font-size:clamp(3rem,6vw,5.4rem);line-height:1.05;letter-spacing:-.035em;margin:24px 0}.hero h1 span{color:var(--gold)}.hero p{font-size:1.35rem;max-width:400px;line-height:1.5}.hero-photo img{width:100%;height:100%;object-fit:cover}.hero-photo{min-height:400px;background:var(--navy)}.hero-empty{height:100%;display:flex;align-items:center;justify-content:center;padding:50px;border-left:1px solid #ffffff25;background:linear-gradient(140deg,#17458f,#0c2c55);color:#e5edfa;font-size:clamp(2rem,3vw,3.2rem);line-height:1.25;font-weight:bold}.hero-empty span{border-left:5px solid var(--gold);padding-left:25px}.eyebrow{display:block;text-transform:uppercase;color:var(--blue);font-size:.875rem;letter-spacing:.1em;font-weight:bold;line-height:1.5}.button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;border:1px solid var(--blue);padding:12px 23px;border-radius:7px;background:var(--blue);color:#fff;font-weight:bold;font-size:.9375rem;line-height:1.4;text-decoration:none}.button:hover{background:var(--navy);text-decoration:none}.button.gold{background:var(--gold);border-color:var(--gold);color:var(--navy)}.button.gold:hover{background:#ffba3a}.button.secondary{background:white;color:var(--navy);border-color:var(--line)}.about-intro{padding-bottom:16px;max-width:900px;text-align:center}.about-intro h2{margin:12px 0}.about-intro p{color:var(--muted)}.inline-link{font-weight:bold}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.section-heading h1,.section-heading h2{margin:0}.section-heading a:not(.button){font-size:.9375rem;white-space:nowrap}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.post-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;transition:box-shadow .2s}.post-card:hover{box-shadow:0 8px 26px #102c5610}.post-card a{color:inherit}.post-card a:hover{text-decoration:none}.post-card img,.photo-placeholder{width:100%;height:225px;object-fit:cover}.photo-placeholder{display:flex;align-items:center;justify-content:center;background:var(--soft);color:var(--blue);font-size:1.4rem;font-weight:bold}.photo-placeholder span{border-bottom:4px solid var(--gold);padding-bottom:8px}.card-body{padding:23px}.card-body .eyebrow{font-size:.8125rem;letter-spacing:.05em}.card-body p{font-size:.9375rem;color:var(--muted);margin-bottom:0;overflow-wrap:anywhere}.news-section{background:var(--soft)}.empty{grid-column:1/-1;padding:28px;border:1px dashed #b7c9df;border-radius:9px;color:var(--muted);width:100%;background:#fff}.get-involved{padding:40px;border-radius:12px;background:var(--blue);color:white;display:flex;align-items:center;justify-content:space-between;gap:35px}.get-involved h2,.get-involved .eyebrow{color:white}.get-involved .eyebrow{color:var(--gold);margin-bottom:15px}.get-involved p{margin-bottom:0}.get-involved .button{flex-shrink:0}.site-footer{background:var(--navy);color:#dce7f7}.site-footer a{color:#dce7f7}.footer-inner{display:flex;justify-content:space-between;gap:30px;padding-top:35px;padding-bottom:35px;font-size:.9375rem}.footer-inner strong{font-size:1.0625rem;color:white}.footer-inner p:last-child{margin-bottom:0}.page-section{min-height:55vh}.article{max-width:900px;min-height:55vh}.article .eyebrow{margin:28px 0 14px}.article h1{overflow-wrap:anywhere}.article-photo{width:100%;max-height:540px;object-fit:cover;border-radius:10px;margin:30px 0}.lead{font-size:1.25rem;color:var(--muted)}.prose{line-height:1.9;overflow-wrap:anywhere}.article .button{margin-top:25px}.search-large{display:flex;gap:10px;margin:25px 0;max-width:800px}.search-large input{margin:0;min-width:0}.search-result{padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:24px}.search-result h2{font-size:1.5rem;margin:0}.setup{max-width:650px;margin:50px auto;padding:35px;border:1px solid var(--line);border-radius:14px;background:white}.setup .brand{margin-bottom:30px}.setup h1{font-size:2.2rem}.setup p{color:var(--muted)}label{display:block;font-weight:bold;font-size:.9375rem;margin-bottom:22px}input:not([type=checkbox]),textarea,select{display:block;width:100%;border:1px solid #bdccdf;background:#fff;color:var(--text);padding:12px 14px;border-radius:6px;margin-top:8px;min-height:46px}textarea{resize:vertical;line-height:1.6}small{display:block;font-size:.8125rem;color:var(--muted);font-weight:normal;margin-top:6px}.checkbox{display:flex;align-items:center;gap:10px;font-weight:normal}.checkbox input{width:18px;height:18px}.alert,.success{padding:15px 20px;border-radius:7px}.alert{background:#fff0ef;border:1px solid #efc5bf;color:#9b2820!important}.success{background:#edf5ff;border:1px solid #b7cee9;color:var(--blue)!important}.message{max-width:1144px;margin:25px auto}.admin-layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh;background:#f5f7fb}.sidebar{background:var(--navy);color:#e3ebf7;padding:32px 22px}.admin-brand{color:white;font-size:1.7rem;font-weight:bold}.sidebar p{font-size:.875rem;margin-bottom:35px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.sidebar nav a{padding:12px 16px;color:white;border-radius:5px;font-size:.9375rem}.sidebar nav a.active{background:var(--blue);border-left:3px solid var(--gold)}.sidebar nav a:hover{background:var(--blue);text-decoration:none}.sidebar form{margin-top:40px}.logout{background:transparent;color:white;border:1px solid #8296b2;border-radius:6px;padding:9px 16px}.admin-main{padding:45px;max-width:1300px;width:100%}.admin-main h1{font-size:2.4rem}.admin-main .message{margin-top:0}.panel,.editor{background:#fff;border:1px solid var(--line);border-radius:10px;padding:30px;margin-bottom:28px}.panel h2{font-size:1.6rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:15px;flex-wrap:wrap}.editor-actions>a{margin-right:auto}.image-preview{width:100%;max-width:380px;height:180px;object-fit:contain;background:var(--soft);border-radius:7px;margin:15px 0}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:9px;background:#fff}table{border-collapse:collapse;width:100%;text-align:left;font-size:.9375rem}th,td{padding:17px 20px;border-bottom:1px solid var(--line)}th{background:var(--soft)}.badge{font-size:.8125rem;background:var(--soft);color:var(--blue);padding:5px 10px;border-radius:20px}.row-actions{display:flex;align-items:center;gap:16px}.text-button{border:0;background:none;padding:0;color:var(--blue)}.danger{color:#ad2920}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}hr{border:0;border-top:1px solid var(--line);margin:28px 0}
@media(max-width:1150px){.header-inner{gap:18px}.header-inner nav{gap:14px}.search-form{max-width:none;width:100%}.search-form input{width:100%}.hero-copy{padding:50px 35px}.cards{gap:20px}.post-card img,.photo-placeholder{height:190px}}
@media(max-width:760px){.header-inner{padding:18px 20px;gap:16px}.brand{font-size:1.0625rem;max-width:240px}.brand img{width:42px;height:42px}.menu-toggle{display:block;border:1px solid var(--line);border-radius:5px;padding:8px;background:#fff;color:var(--blue);font-size:.875rem}.header-inner nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0}.header-inner nav.open{display:flex}.header-inner nav a{padding:10px 0}.hero{grid-template-columns:1fr}.hero-copy{padding:42px 24px}.hero h1{font-size:3.3rem}.hero p{font-size:1.2rem}.hero-photo{min-height:230px}.hero-photo img{height:270px}.hero-empty{min-height:230px;font-size:2.1rem;padding:30px}.container{padding:38px 22px}.about-intro{padding-bottom:0}.cards{grid-template-columns:1fr}.post-card img,.photo-placeholder{height:230px}.section-heading{align-items:flex-start;flex-wrap:wrap;gap:12px}.get-involved{padding:28px;flex-direction:column;align-items:flex-start;gap:22px}.footer-inner{flex-direction:column;gap:10px}.admin-layout{grid-template-columns:1fr}.sidebar{padding:20px}.sidebar p{margin:6px 0 15px}.sidebar nav{flex-direction:row;flex-wrap:wrap;gap:5px}.sidebar nav a{padding:8px 10px}.sidebar form{margin-top:16px}.admin-main{padding:26px 18px}.form-grid{grid-template-columns:1fr;gap:0}.panel,.editor{padding:22px}.setup{margin:30px 18px;padding:25px}.message{margin:18px}.search-large{flex-direction:column}.editor-actions{gap:10px}.article h1{font-size:2.1rem}.hero-empty{border-left:0;border-top:1px solid #ffffff25}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.post-card{transition:none}}

.article-video{margin:30px 0}.video-player{position:relative;width:100%;aspect-ratio:16/9;background:#0c2c55;border-radius:10px;overflow:hidden}.video-player iframe{display:block;border:0;width:100%;height:100%;min-height:200px}.video-fallback{font-size:.875rem;margin-top:10px}

/* Approved homepage concept: compact editorial hero and homepage section layout. */
main:has(> .hero){display:flex;flex-direction:column}
main:has(> .hero)>section{width:100%;order:3}
main:has(> .hero)>.hero{order:0;max-width:1200px;min-height:350px;height:350px;position:relative;grid-template-columns:40% 60%;background:#17458f;margin:0 auto}
main:has(> .hero)>.projects-home{order:2}
main:has(> .hero)>.news-section{order:1}
main:has(> .hero)>.about-intro{order:4}
main:has(> .hero)>.container:has(.get-involved){order:5}
.hero .hero-copy{padding:34px 32px 48px;position:relative;z-index:1}
.hero .hero-copy>.eyebrow{font-size:.75rem;letter-spacing:.15em}
.hero h1{font-size:clamp(3rem,5.1vw,4.4rem);margin:18px 0 16px;line-height:1.02}
.hero p{font-size:1.125rem;line-height:1.4;max-width:350px;margin-bottom:20px}
.hero .button{padding:11px 20px;min-height:43px}
.hero .hero-photo{min-height:0;height:350px;clip-path:polygon(0 0,100% 0,100% 100%,10% 100%)}
.hero .hero-photo img{height:100%;object-fit:cover}
.hero .hero-empty{padding:35px;border:0;font-size:2rem;min-height:350px}
.hero::after{content:"";position:absolute;pointer-events:none;bottom:-1px;left:0;width:62%;height:70px;z-index:2;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 100' preserveAspectRatio='none'%3E%3Cpath d='M0 35 C200 125 420 -90 620 20 C700 50 740 85 800 100 L0 100Z' fill='%232368ad'/%3E%3Cpath d='M0 65 C180 140 400 0 570 48 C690 80 725 100 800 100 L0 100Z' fill='%23f7a81b'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat}
main:has(> .hero)>.container{max-width:1200px;padding-top:30px;padding-bottom:30px}
main:has(> .hero) .section-heading{margin-bottom:18px}
main:has(> .hero) .section-heading h2{font-size:1.9rem}
main:has(> .hero) .cards{gap:24px}
main:has(> .hero) .post-card img,main:has(> .hero) .photo-placeholder{height:190px}
main:has(> .hero) .card-body{padding:16px 18px}
main:has(> .hero) .card-body h3{font-size:1.125rem}
main:has(> .hero) .card-body p{font-size:.875rem;margin-top:8px}
main:has(> .hero) .news-section>.container{padding-top:30px;padding-bottom:30px}
@media(min-width:761px){main:has(> .hero) .news-section .post-card img,main:has(> .hero) .news-section .photo-placeholder{height:150px}}
@media(max-width:760px){main:has(> .hero)>.hero{height:auto;min-height:0;grid-template-columns:1fr}.hero .hero-copy{padding:32px 24px 36px}.hero h1{font-size:3rem}.hero .hero-photo{height:270px;clip-path:none}.hero .hero-empty{min-height:270px;font-size:1.8rem}.hero::after{width:100%;height:44px}.hero p{font-size:1.1rem}main:has(> .hero)>.container{padding:28px 22px}main:has(> .hero) .post-card img,main:has(> .hero) .photo-placeholder{height:220px}}

/* Keep the hero action above decoration and reserve space for the wave. */
main:has(> .hero)>.hero{height:auto;min-height:350px}
.hero .hero-copy{z-index:3;padding-bottom:88px;min-width:0;overflow-wrap:anywhere}
.hero .hero-photo{position:relative;align-self:stretch;height:auto;min-height:350px}
.hero .hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero .hero-empty{height:100%;min-height:350px}
.hero .button{position:relative;z-index:1}
@media(max-width:760px){.hero .hero-copy{padding-bottom:36px}.hero .hero-photo{height:270px;min-height:270px}.hero .hero-empty{min-height:270px}}

.article-gallery{margin-top:36px}.article-gallery h2{font-size:1.75rem}.gallery-grid,.admin-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gallery-grid a{display:block;border-radius:8px;overflow:hidden;border:1px solid var(--line)}.gallery-grid img{width:100%;height:210px;object-fit:cover}.admin-gallery{margin:16px 0 26px}.admin-gallery img{width:100%;height:140px;object-fit:cover;border-radius:6px}.admin-gallery label{margin-top:10px;font-size:.875rem}.gallery-field[hidden]{display:none}@media(max-width:760px){.gallery-grid,.admin-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-grid img{height:160px}}@media(max-width:400px){.gallery-grid{grid-template-columns:1fr}}

.magazine-field[hidden],.youtube-field[hidden]{display:none}.magazine-card img{height:360px!important;object-fit:contain;background:#eef4fc;padding:12px}.magazine-read{display:inline-block;margin-top:15px;color:var(--blue);font-weight:bold}.silag-page .cards{margin-top:30px}main:has(>.hero)>.silag-home{order:3!important}


/* Match the approved wider artwork and gently curved overlapping wave. */
@media(min-width:761px){main:has(> .hero)>.hero{grid-template-columns:36% 64%}.hero .hero-photo img{object-position:left center}}
.hero::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 100' preserveAspectRatio='none'%3E%3Cpath d='M0 35 C200 115 380 0 530 2 C640 2 700 70 800 100 L0 100Z' fill='%232368ad'/%3E%3Cpath d='M0 65 C180 130 380 25 530 30 C640 35 720 95 800 100 L0 100Z' fill='%23f7a81b'/%3E%3C/svg%3E")}

.magazine-reader{margin:32px 0}.magazine-reader iframe{display:block;width:100%;height:75vh;min-height:420px;max-height:900px;border:0;border-radius:10px;background:var(--soft)}@media(max-width:760px){.magazine-reader iframe{height:70vh;min-height:360px}}

.prose a{text-decoration:underline;overflow-wrap:anywhere}
body.viewer-open{overflow:hidden}.photo-viewer{width:min(1100px,96vw);max-width:96vw;height:92vh;max-height:92vh;padding:16px;border:0;border-radius:12px;background:#0c2038;color:white}.photo-viewer[open]{display:flex;flex-direction:column;gap:12px}.photo-viewer::backdrop{background:#000d}.viewer-toolbar,.viewer-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.photo-viewer button{border:1px solid #8a9cb3;border-radius:7px;background:#17458f;color:white;padding:10px 16px;min-height:44px}.photo-viewer button:hover{background:#2368ad}.viewer-image{width:100%;flex:1;min-height:0;object-fit:contain}.photo-viewer [hidden]{display:none}@media(max-width:760px){.photo-viewer{padding:12px;width:96vw;height:90dvh}.photo-viewer button{padding:10px 12px}}
/* Homepage navigation, featured story and slideshow. */
main:has(>.hero)>.featured-home{order:1}
.featured-story{display:grid;grid-template-columns:1.15fr 1fr;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.featured-copy{padding:32px;align-self:center}.featured-copy h2{margin:14px 0}.featured-copy p{color:var(--muted)}.featured-media{min-width:0}.featured-media>img,.featured-media>.photo-placeholder{width:100%;height:100%;min-height:300px;object-fit:cover}.featured-media .article-video{margin:0}.featured-media .video-player{border-radius:0}.featured-media .video-fallback{padding:0 16px}.section-more{text-align:center;margin-top:24px}.footer-menu{padding-top:28px;padding-bottom:0}.footer-menu nav{display:flex;gap:16px 26px;flex-wrap:wrap}.footer-menu a{font-size:.9375rem}
@media(max-width:760px){.featured-story{grid-template-columns:1fr}.featured-copy{padding:24px}.featured-media>img{height:240px;min-height:0}.footer-menu nav{gap:12px 20px}}


main:has(>.hero)>.news-section{order:2}main:has(>.hero)>.projects-home{order:3}main:has(>.hero)>.silag-home{order:4!important}main:has(>.hero)>.about-intro{order:5}main:has(>.hero)>.leadership-home{order:6}main:has(>.hero)>.container:has(.get-involved){order:7}
/* Keep portrait featured covers from expanding the entire story section. */
.featured-media{position:relative;min-height:320px;align-self:stretch;background:var(--soft)}
.featured-media>img{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain}
.featured-media>.photo-placeholder{position:absolute;inset:0;height:100%;min-height:0}
.featured-copy{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){.featured-media{height:280px;min-height:280px}.featured-media>img{height:100%;min-height:0}.featured-media:has(.article-video){height:auto;min-height:0}}
/* Edge-to-edge banners with an automatic horizontal slide. */
.hero .hero-photo:has(.hero-slideshow){clip-path:none;background:#f5fbfd;min-width:0;padding:0}
.hero-slideshow{width:100%;height:100%;overflow:hidden;padding:0;margin:0}
.hero-slide-track{display:flex;width:100%;height:100%;padding:0;margin:0}
.hero .hero-photo .hero-slide{position:static;inset:auto;flex:0 0 100%;min-width:0;width:100%;height:100%;padding:0;margin:0;opacity:1;object-fit:contain;object-position:center;pointer-events:none}
.hero:has(.hero-slideshow)::after{width:36%}
@media(max-width:760px){.hero .hero-photo:has(.hero-slideshow){height:auto;min-height:0;aspect-ratio:899/438;padding:0}.hero:has(.hero-slideshow)::after{display:none}}

.hero-slideshow[role="button"]{cursor:pointer}.hero-slideshow[role="button"]:focus-visible{outline:3px solid var(--gold,#f7a81b);outline-offset:-3px}
/* Standard 899 x 438 banner proportions across screen sizes. */
main:has(>.hero)>.hero:has(.hero-slideshow){min-height:0}
.hero .hero-photo:has(.hero-slideshow){height:auto;min-height:0;aspect-ratio:899/438;align-self:start;padding:0;margin:0}
.hero .hero-photo .hero-slideshow{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0}
@media(min-width:1101px){
 .hero:has(.hero-slideshow) .hero-copy{align-self:stretch;padding:20px 32px 60px}
 .hero:has(.hero-slideshow) h1{font-size:3.5rem;margin:14px 0}
 .hero:has(.hero-slideshow) p{font-size:1.1rem;margin:10px 0 18px}
}
@media(max-width:1100px){
 main:has(>.hero)>.hero:has(.hero-slideshow){grid-template-columns:1fr}
 .hero:has(.hero-slideshow) .hero-copy{padding:28px 24px 36px}
 .hero:has(.hero-slideshow)::after{display:none}
 .hero .hero-photo:has(.hero-slideshow){height:auto;min-height:0;aspect-ratio:899/438}
}
