*{box-sizing:border-box}
body{
    margin:0;background:#f5f8f6;color:#163b34;font-family:Arial,"Segoe UI",sans-serif;line-height:1.55}a
    {color:#086b56;text-decoration:none}
    a:hover{text-decoration:underline}
    .top
    {background:#103f35;color:white;padding:16px 5%}.top a{color:white}.top-inner{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.nav{display:flex;gap:18px;flex-wrap:wrap}.wrap{max-width:1200px;margin:36px auto;padding:0 20px}.hero{padding:26px 0}

.hero h1{font-size:clamp(27px,4vw,42px);margin:0}.subtitle{color:#677a72}.stats{display:flex;gap:12px;flex-wrap:wrap}.stat{background:white;padding:18px 25px;border:1px solid #deebe5;border-radius:12px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:20px}.card,.panel{background:white;border:1px solid #deebe5;border-radius:15px;overflow:hidden;box-shadow:0 6px 18px rgba(13,57,47,.04)}.card-body,.panel{padding:23px}.card h2{font-size:20px;margin:8px 0}.card img{width:100%;height:190px;object-fit:cover;display:block}.thumb{height:190px;background:#dfede7;display:flex;align-items:center;justify-content:center;font-size:55px;color:#408775}.badge{font-size:12px;background:#e5f3ee;color:#175544;border-radius:30px;padding:4px 10px;display:inline-block}.btn,button{display:inline-block;border:0;border-radius:8px;background:#087056;color:white;padding:11px 17px;cursor:pointer;font:inherit}.btn:hover,button:hover{background:#075642;color:white;text-decoration:none}.secondary{background:#e8f0ec;color:#174c3f}.danger{background:#ab3232}.panel{margin-bottom:20px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:15px}label{display:block;font-weight:600}input,textarea,select{width:100%;padding:11px;border:1px solid #cbdad4;border-radius:8px;background:white;font:inherit;margin-top:5px}textarea{min-height:120px}.wide{grid-column:1/-1}.notice{padding:14px;border:1px solid #c6c9c4;background:#fff8ec;margin:15px 0;border-radius:8px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:12px;border-bottom:1px solid #e5eae6}th{background:#e8f2ee}.article{max-width:850px}.article img{max-width:100%;height:auto;border-radius:12px}.bodytext{white-space:pre-wrap;overflow-wrap:anywhere}.muted{color:#697d75}.actions{display:flex;gap:8px;flex-wrap:wrap}.filter{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.filter>*{min-width:180px}.footer{padding:28px;text-align:center;color:#65736f}@media(max-width:600px){.wrap{margin:20px auto;padding:0 14px}.top{padding:14px}.nav{gap:12px}.card-body,.panel{padding:16px}.filter>*{width:100%}}
/* JAQH unified website visual identity — secondary public pages */
:root {--jaqh-forest:#003b30;--jaqh-deep:#002f27;--jaqh-gold:#c59b3b;--jaqh-gold-light:#e5c66b}
body{font-family:Poppins,Arial,Helvetica,sans-serif;background:#f6f8f6;color:#193d34}
.jaqh-site-header{background:var(--jaqh-deep);position:sticky;top:0;z-index:1100;box-shadow:0 2px 12px rgba(0,0,0,.08)}
.jaqh-head-inner{max-width:1460px;margin:auto;min-height:92px;padding:10px clamp(16px,4vw,64px);display:flex;align-items:center;justify-content:space-between;gap:clamp(12px,2vw,30px)}
.jaqh-site-brand{display:flex;gap:12px;align-items:center;flex:0 0 auto;text-decoration:none!important;color:#fff!important;min-width:210px}
.jaqh-site-brand img{width:62px;height:62px;object-fit:contain;border-right:1px solid #ffffff55;padding-right:12px}
.jaqh-brand-copy{display:flex;flex-direction:column;line-height:1.05}
.jaqh-brand-copy strong{font-family:'Playfair Display',serif;font-size:28px;font-weight:700;letter-spacing:.5px}
.jaqh-brand-copy>span{font-family:'Playfair Display',serif;letter-spacing:2px;font-size:13px;margin-top:4px}
.jaqh-brand-copy small{font-size:7px;font-weight:700;letter-spacing:.5px;color:var(--jaqh-gold-light);margin-top:7px}
.jaqh-site-nav{display:flex;align-items:center;justify-content:center;gap:2px;flex:1 1 auto;min-width:0}
.jaqh-site-nav>a,.jaqh-edu-menu>summary{font-size:13px;font-weight:600;line-height:1.5;color:#fff!important;white-space:nowrap;padding:12px clamp(7px,.85vw,15px);border-radius:7px;text-decoration:none;cursor:pointer;display:block}
.jaqh-site-nav>a:hover,.jaqh-site-nav>a.is-active,.jaqh-edu-menu>summary:hover{background:#ffffff16;color:var(--jaqh-gold-light)!important;text-decoration:none}
.jaqh-edu-menu{position:relative}.jaqh-edu-menu>summary{list-style:none}.jaqh-edu-menu>summary::-webkit-details-marker{display:none}.jaqh-edu-links{position:absolute;top:100%;left:0;min-width:180px;padding:6px;background:white;border-radius:10px;box-shadow:0 12px 28px #0002;display:grid}.jaqh-edu-links a{padding:10px 14px;color:#183f34;font-size:13px}.jaqh-edu-links a:hover{background:#edf5f0;text-decoration:none}
.jaqh-head-login{background:var(--jaqh-gold);padding:12px 23px;border-radius:50px;color:#fff!important;font-weight:700;white-space:nowrap;font-size:13px;flex:0 0 auto}
.jaqh-head-login:hover{background:#ae852d;text-decoration:none}
.jaqh-nav-toggle,.jaqh-mobile-login{display:none!important}
.wrap{max-width:1250px;margin:42px auto 65px}.hero{padding:26px 0 30px}.hero h1{font-family:'Playfair Display',serif;font-size:clamp(30px,4vw,46px);color:var(--jaqh-forest)}
.hero:after{content:'';display:block;width:72px;height:4px;background:var(--jaqh-gold);margin-top:19px;border-radius:4px}
.card,.panel,.article{border-radius:16px;box-shadow:0 8px 24px rgba(0,53,40,.055);border-color:#e2eae5}
.card{transition:transform .18s,box-shadow .18s}.card:hover{transform:translateY(-3px);box-shadow:0 13px 29px rgba(0,53,40,.11)}
.card-body{padding:24px}.card h2{color:var(--jaqh-forest);font-family:'Playfair Display',serif}
.card img{height:225px}.thumb{height:225px;background:#e8f2ec}
.btn,button:not(.jaqh-nav-toggle){background:#00684f;border-radius:25px;font-weight:600}.btn.secondary{background:#f2f5ef;color:var(--jaqh-forest)}
.btn:hover,button:not(.jaqh-nav-toggle):hover{background:#004936}
.badge{background:#faf0d8;color:#86651f}.filter{background:#fff;padding:20px;border:1px solid #e5ece7;border-radius:14px;gap:13px}
.article{background:white;padding:clamp(20px,4vw,46px);max-width:950px;margin:auto}.article h1{font-family:'Playfair Display',serif}
.footer{background:var(--jaqh-deep);color:#d0e2d7;min-height:75px;display:flex;align-items:center;justify-content:center}
@media(max-width:1150px){.jaqh-head-inner{padding:10px 20px}.jaqh-site-brand{min-width:185px}.jaqh-site-brand img{width:54px;height:54px}.jaqh-brand-copy strong{font-size:23px}.jaqh-site-nav>a,.jaqh-edu-menu>summary{padding:10px 7px;font-size:12px}.jaqh-head-login{padding:10px 16px}}
@media(max-width:960px){
 body.jaqh-menu-open{overflow:hidden}.jaqh-head-inner{min-height:74px}.jaqh-site-brand img{width:47px;height:47px}.jaqh-brand-copy strong{font-size:22px}
 .jaqh-nav-toggle{margin-left:auto;display:flex!important;flex-direction:column;gap:5px;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #ffffff52;border-radius:8px;background:transparent;cursor:pointer;padding:7px}.jaqh-nav-toggle span{height:2px;width:22px;background:#fff;border-radius:4px}
 .jaqh-head-login{display:none}.jaqh-site-nav{position:fixed;top:0;left:0;bottom:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px;background:var(--jaqh-deep);width:min(82vw,330px);padding:86px 16px 25px;overflow-y:auto;z-index:1202;transform:translateX(-105%);transition:transform .25s ease;box-shadow:8px 0 30px #0002}
 .jaqh-site-nav.nav-open{transform:translateX(0)}.jaqh-site-nav>a,.jaqh-edu-menu>summary{font-size:15px;padding:13px 14px}.jaqh-edu-links{position:static;box-shadow:none;min-width:0;background:#fff1}.jaqh-edu-links a{color:#fff}.jaqh-mobile-login{display:block!important;background:var(--jaqh-gold);border-radius:30px;text-align:center;margin-top:12px}.jaqh-mobile-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#0009;z-index:1200}
 .jaqh-nav-toggle{position:relative;z-index:1203}.jaqh-menu-open .jaqh-nav-toggle{position:fixed;top:16px;left:min(calc(82vw - 54px),276px)}
 .wrap{margin:26px auto 50px;padding:0 16px}
}
@media(max-width:600px){.grid{grid-template-columns:1fr}.card img,.thumb{height:220px}.filter>*{min-width:0}.filter{padding:15px}.jaqh-head-inner{padding:9px 14px}}



/* Gallery & Events Button Style */
.btn.secondary1 {
    display: inline-block;
    background-color: #F1F4EF;
    color: #004D3B !important;
    border: 1px solid #E2E8E2;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Mouse Hover Effect */
.btn.secondary1:hover {
    background-color: #005C46 !important;
    color: #FFE8A3 !important;
    border-color: #005C46;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 77, 59, 0.25);
}

/* Keyboard Accessibility */
.btn.secondary1:focus-visible {
    outline: 3px solid #D4A63A;
    outline-offset: 3px;
}



/* Remove whitespace above and around Institutes banner */

.institutes-hero {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    line-height: 0;
    overflow: hidden;
}

.institutes-banner {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
}

/* Remove parent container spacing */
body:has(.institutes-hero) .site-main,
body:has(.institutes-hero) main {
    padding-top: 0 !important;
}

/* Banner directly below navigation */
body:has(.institutes-hero) .institutes-hero {
    margin-top: 0 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .institutes-hero,
    .institutes-banner {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0;
    }
}


/* JAQH College Gallery: full-width responsive hero, listing page only */
body:has(.gallery-hero) main.wrap {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.gallery-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: clamp(310px, 30vw, 440px);
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: clamp(30px, 5vw, 75px) clamp(24px, 7vw, 118px);
  background: radial-gradient(ellipse at 66% 12%, #307e69 0, transparent 47%),
              linear-gradient(115deg, #003a2d 0%, #00604a 58%, #003e31 100%);
  color: #fff;
}
.gallery-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 36px, #e9c15c10 37px 38px);
  opacity: .55;
  z-index: -1;
}
.gallery-hero::after {
  content: '';
  position: absolute;
  left: -6%; right: -6%; bottom: -38px;
  height: 78px;
  transform: rotate(-1.5deg);
  background: linear-gradient(90deg, #bb8d2c, #ffe29a, #bb8d2c);
  pointer-events: none;
}
.gallery-hero-copy {position:relative;z-index:1;flex:1 1 60%;max-width:790px}
.gallery-hero-kicker {font-size:clamp(11px,1vw,14px);font-weight:700;letter-spacing:.17em;color:#f6d78d}
.gallery-hero h1 {font-family:Georgia,'Times New Roman',serif;color:#fff;font-size:clamp(42px,6vw,90px);line-height:1.07;margin:18px 0 12px;font-weight:700}
.gallery-hero h1 em {font-weight:700;color:#f7d681;font-style:italic}
.gallery-hero-accent {display:block;width:85px;height:4px;background:#f9dd8d;border-radius:3px;margin:16px 0}
.gallery-hero p {font-size:clamp(15px,1.45vw,22px);line-height:1.5;color:#f6f8f1;margin:0;max-width:670px}
.gallery-hero-art {position:relative;flex:0 0 clamp(190px,29vw,415px);height:clamp(195px,24vw,315px);margin-right:20px}
.gallery-art-frame {position:absolute;display:grid;place-items:center;border:8px solid #f1d58e;box-shadow:0 15px 35px #00281f70, inset 0 0 0 5px #fff9e3;border-radius:14px;background:linear-gradient(150deg,#9ed8b3,#c7efda 45%,#428570 46%,#094e45 85%);color:#fff5cd}
.gallery-art-frame span{font-size:clamp(44px,6vw,92px);text-shadow:0 5px 12px #00543f}
.gallery-art-main{width:67%;height:74%;right:10%;top:10%;transform:rotate(7deg)}
.gallery-art-top{width:40%;height:52%;left:2%;top:0;transform:rotate(-12deg);background:linear-gradient(160deg,#91c8e1 0 55%,#e8c584 56%)}
.gallery-art-bottom{width:39%;height:48%;left:6%;bottom:0;transform:rotate(5deg);background:linear-gradient(150deg,#d9b86d,#d6e8c2 43%,#0e7057 44%)}
.gallery-page-content{width:100%;max-width:1250px;margin:38px auto 70px;padding:0 20px}
@media(max-width:760px){
 .gallery-hero{min-height:310px;padding:34px 20px 46px;gap:6px}
 .gallery-hero-copy{flex:1 1 72%}
 .gallery-hero-art{position:absolute;right:-66px;top:55px;width:195px;height:205px;opacity:.22;z-index:0}
 .gallery-hero-copy{position:relative;z-index:1}
 .gallery-hero h1{font-size:clamp(38px,9vw,58px)}
 .gallery-hero p{font-size:15px}
 .gallery-page-content{margin:23px auto 45px;padding:0 14px}
}


/* JAQH Events & Programs — matching full-width hero, with no header gap */
body:has(.events-hero) main.wrap {
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
.events-hero {
  position:relative; isolation:isolate; display:flex; align-items:center;
  justify-content:space-between; gap:24px; overflow:hidden;
  width:100%; min-height:clamp(310px,30vw,440px);
  margin:0; padding:clamp(30px,5vw,75px) clamp(24px,7vw,118px);
  background:radial-gradient(ellipse at 70% 15%,#31816a 0,transparent 48%),
             linear-gradient(115deg,#00392d 0%,#00604a 58%,#003e31 100%);
  color:white;
}
.events-hero::before {
  content:''; position:absolute; inset:0; z-index:-1; opacity:.45;
  background:repeating-linear-gradient(45deg,transparent 0 36px,#e9c15c12 37px 38px);
}
.events-hero::after {
  content:''; position:absolute; left:-6%; right:-6%; bottom:-38px;
  height:78px; transform:rotate(-1.5deg);
  background:linear-gradient(90deg,#bb8d2c,#ffe29a,#bb8d2c);
  pointer-events:none;
}
.events-hero-copy {position:relative;z-index:1;flex:1 1 65%;max-width:880px}
.events-hero-kicker {font-size:clamp(11px,1vw,14px);font-weight:700;letter-spacing:.17em;color:#f6d78d}
.events-hero h1 {font-family:Georgia,'Times New Roman',serif;color:white;font-size:clamp(39px,5.5vw,85px);line-height:1.08;margin:18px 0 12px;font-weight:700}
.events-hero h1 em {color:#f7d681;font-style:italic;font-weight:700}
.events-hero-accent {display:block;width:85px;height:4px;background:#f9dd8d;border-radius:3px;margin:16px 0}
.events-hero p {font-size:clamp(15px,1.45vw,22px);line-height:1.5;color:#f6f8f1;margin:0;max-width:670px}
.events-hero-art {position:relative;flex:0 0 clamp(190px,26vw,350px);height:clamp(210px,23vw,300px)}
.events-art-circle {position:absolute;inset:5% 2%;border:2px solid #dcb45a66;border-radius:50%;box-shadow:0 0 0 25px #eecf8020}
.events-art-calendar {position:absolute;inset:9% 12% 6%;overflow:hidden;border:7px solid #f1d58e;border-radius:21px;background:#fff8e6;transform:rotate(7deg);box-shadow:0 19px 35px #00281f80}
.events-art-calendar-top {height:27%;background:linear-gradient(120deg,#c59b3b,#f1d58e);display:flex;justify-content:space-around;padding:0 20%}
.events-art-calendar-top span{width:13px;height:35px;background:#034535;border-radius:20px;transform:translateY(-12px)}
.events-art-calendar-body {height:73%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.events-art-spark {font-size:clamp(55px,6vw,95px);line-height:1;color:#00604a}
.events-art-label {font-weight:800;letter-spacing:.22em;font-size:clamp(13px,1.5vw,20px);color:#00604a}
.events-page-content{width:100%;max-width:1250px;margin:38px auto 70px;padding:0 20px}
@media(max-width:760px){
  .events-hero{min-height:310px;padding:34px 20px 46px;gap:6px}
  .events-hero-copy{flex:1 1 78%}
  .events-hero-art{position:absolute;right:-55px;top:60px;width:180px;height:205px;opacity:.22;z-index:0}
  .events-hero h1{font-size:clamp(38px,9vw,58px)}
  .events-hero p{font-size:15px}
  .events-page-content{margin:23px auto 45px;padding:0 14px}
}
