*{box-sizing:border-box}
html,body{max-width:100%;overflow-x:hidden}
body{margin:0;font-family:'Tiro Bangla',Arial,Helvetica,sans-serif;background:#f4f8f6;color:#123;line-height:1.55}
a{color:#0b6752;text-decoration:none}
img{max-width:100%;height:auto}
.wrap{width:min(100%,1180px);margin:0 auto;padding:0 16px}

/* Header */
.site-header{background:#fff;box-shadow:0 2px 18px rgba(9,44,37,.08);position:relative;z-index:20}
.brand{display:flex;align-items:center;gap:14px;padding-top:14px;padding-bottom:14px}
.brand-logo img{width:62px;height:62px;object-fit:contain;display:block}
.brand-text h1{margin:0;font-size:26px;color:#073b31;line-height:1.1}
.brand-text p{margin:5px 0 0;color:#53635f;font-size:14px}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:14px}
.langs{white-space:nowrap;font-size:13px}
.menu-toggle{display:none;width:42px;height:38px;border:1px solid #cfe3dd;background:#fff;border-radius:9px;padding:8px;cursor:pointer}
.menu-toggle span{display:block;height:3px;background:#0b6752;border-radius:2px;margin:4px 0;transition:.2s}
.menu-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.main-nav{background:#0b6752}
.nav-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}
.main-nav a{color:#fff;display:inline-block;padding:11px 12px;font-size:14px;border-radius:6px}
.main-nav a:hover{background:rgba(255,255,255,.12)}

/* Home redesign */
.home-hero{background:linear-gradient(135deg,#eaf6f1 0%,#f8fbfa 55%,#e1f3ed 100%);padding:28px 0}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,.85fr);gap:22px;align-items:stretch}
.hero-slider{width:100%;max-width:1100px;margin:0 auto}
.image-slider{width:100%;max-width:1100px;height:100%;position:relative;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 14px 34px rgba(9,44,37,.14)}
.slide{display:none;position:relative;height:100%}
.slide.active{display:block}
.slide img{display:block;width:100%;height:430px;object-fit:cover}
.slide-caption{position:absolute;left:22px;right:22px;bottom:20px;padding:14px 18px;background:rgba(7,59,49,.82);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(6px);border-radius:14px;color:#fff}
.slide-caption h2{margin:0;font-size:28px;line-height:1.2}
.slider-btn{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(7,59,49,.82);color:#fff;width:42px;height:42px;border-radius:50%;font-size:30px;line-height:38px;cursor:pointer;z-index:2}
.slider-btn.prev{left:14px}
.slider-btn.next{right:14px}
.hero-panel{background:#073b31;color:#fff;border-radius:18px;padding:30px;box-shadow:0 14px 34px rgba(9,44,37,.14);display:flex;flex-direction:column;justify-content:center;min-height:360px}
.eyebrow{display:inline-block;width:max-content;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);padding:6px 10px;border-radius:999px;font-size:13px;margin-bottom:14px}
.hero-panel h2{margin:0 0 12px;font-size:32px;line-height:1.18}
.hero-panel p{margin:0;color:#d7eee8}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.btn{background:#0b6752;color:#fff;border:0;padding:10px 15px;border-radius:9px;cursor:pointer;display:inline-block;font-weight:700}
.btn:hover{filter:brightness(.94)}
.btn-outline{background:transparent;border:1px solid rgba(255,255,255,.52);color:#fff}

.notice-board-home{background:#fff;border:1px solid #dce5e2;border-radius:18px;padding:22px;box-shadow:0 14px 34px rgba(9,44,37,.12);min-height:360px;display:flex;flex-direction:column;overflow:hidden}
.notice-board-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e0ebe8;padding-bottom:12px;margin-bottom:10px}
.notice-board-head .eyebrow{background:#c1121f;color:#fff;border:0;margin:0}
.notice-board-head h2{margin:0;color:#073b31;font-size:26px}
.notice-list-home{display:grid;gap:9px;overflow:auto;padding-right:4px;max-height:320px}
.notice-item-home{border-bottom:1px dashed #d6e2de;padding:8px 0 10px}
.notice-item-home:last-child{border-bottom:0}
.notice-date{font-size:12px;font-weight:700;color:#c1121f;margin-bottom:3px}
.notice-item-home a,.notice-item-home strong{display:block;color:#073b31;font-size:16px;font-weight:800;line-height:1.35}
.notice-item-home a:hover{text-decoration:underline}
.notice-item-home p{margin:5px 0 0;color:#5f6f6a;font-size:13px;line-height:1.45}
.notice-empty{background:#f8faf9;color:#647067;border:1px dashed #dce5e2;border-radius:12px;padding:16px;text-align:center}

.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}
.quick-card{background:#fff;border:1px solid #dce5e2;border-radius:16px;padding:18px;box-shadow:0 8px 20px rgba(9,44,37,.07);display:flex;flex-direction:column;gap:6px;min-height:100px}
.quick-card strong{font-size:18px;color:#073b31}
.quick-card span{color:#62706c;font-size:14px}
.message-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding-top:22px;padding-bottom:28px}
.feature-card{background:#fff;border:1px solid #dce5e2;border-radius:16px;padding:20px;box-shadow:0 8px 20px rgba(9,44,37,.07)}
.feature-card h2{margin:0 0 10px;color:#073b31;font-size:21px}
.feature-card h3{margin:0 0 12px;color:#0b6752;font-size:16px}
.feature-card p{margin:0 0 12px;color:#33433f}
.feature-card.highlight{background:#0b6752;color:#fff;border-color:#0b6752}
.feature-card.highlight h2,.feature-card.highlight p{color:#fff}
.text-link{font-weight:700}

/* Common old pages/admin support */
.home-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding-top:18px}
.small{padding:6px 10px}
.danger-btn{background:#b42318}
.muted{color:#647067}
.center{text-align:center}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;padding-top:24px;padding-bottom:30px}
.card,.page{background:#fff;border:1px solid #dce5e2;border-radius:12px;padding:22px;margin-top:24px}
.profile{display:flex;gap:20px}
.profile img{width:160px;height:200px;object-fit:cover;border-radius:8px}
.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.form h3{grid-column:1/-1}
.simple{display:grid;gap:14px;max-width:600px}
.inline{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}
label{display:flex;flex-direction:column;font-weight:bold;gap:5px}
input,select,textarea{padding:10px;border:1px solid #ccd8d5;border-radius:7px;font:inherit;width:100%}
textarea{min-height:90px}
.alert{padding:12px;border-radius:8px;margin:12px 0}
.success{background:#e7f8ee;color:#087443}
.danger{background:#fdecec;color:#b42318}
.appid{font-size:28px;font-weight:bold;color:#0b6752;margin:20px}
.login{display:grid;place-items:center;min-height:100vh;padding:18px}
.loginbox{background:#fff;padding:28px;border-radius:12px;display:grid;gap:14px;min-width:340px;max-width:100%}
.admin{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}
.admin aside{background:#092c25;color:#fff;padding:18px}
.admin aside a{display:block;color:#fff;padding:10px;border-radius:6px}
.admin aside a:hover{background:rgba(255,255,255,.1)}
.adminmain{padding:25px;overflow:auto}
.table-responsive,.table-scroll{overflow-x:auto}
table{width:100%;border-collapse:collapse;background:#fff;margin-top:15px}
td,th{border:1px solid #dce5e2;padding:10px;text-align:left;vertical-align:top}
.admin-thumb,.thumb{width:140px;height:80px;object-fit:cover;border-radius:8px;border:1px solid #dce5e2}
.edit-slider,.mini-form{grid-template-columns:repeat(2,minmax(130px,1fr));align-items:end}
.stacked-actions,.action-form{margin:0 0 8px}
.full{grid-column:1/-1}
.check{flex-direction:row;align-items:center}
.check input{width:auto}
.stat{font-size:38px;font-weight:bold;color:#0b6752}
.mini{gap:6px;margin:0}
.mini textarea{min-height:45px}
.mini select,.mini input,.mini textarea{padding:6px}
.decimal{text-align:right}

/* Compact footer */
.site-footer{background:#092c25;color:#fff;margin-top:24px;padding:13px 0}
.footer-content{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px}
.footer-developer{text-align:right}
.footer-developer a{color:#d8fff5}
.footer-left{min-width:180px}



/* Animated registration menu text */
.animated-registration-menu span{display:inline-block;font-weight:800;animation:registrationMenuPulse 1.35s ease-in-out infinite}
@keyframes registrationMenuPulse{0%,100%{transform:scale(1);text-shadow:none}50%{transform:scale(1.08);text-shadow:0 0 10px rgba(255,255,255,.95)}}
@media (prefers-reduced-motion: reduce){.animated-registration-menu span{animation:none}.notice-marquee span{animation:none;padding-left:0}}

/* Registration animated red notice */
.registration-red-notice{background:#c1121f;color:#fff;border:2px solid #8f0d17;border-radius:12px;overflow:hidden;margin:16px 0 20px;box-shadow:0 8px 20px rgba(193,18,31,.22)}
.notice-marquee{white-space:nowrap;overflow:hidden;padding:11px 0;font-weight:800;font-size:18px;letter-spacing:.2px}
.notice-marquee span{display:inline-block;padding-left:100%;animation:registrationNoticeMarquee 18s linear infinite}
.registration-red-notice:hover .notice-marquee span{animation-play-state:paused}
@keyframes registrationNoticeMarquee{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}
@media(max-width:620px){.notice-marquee{font-size:15px;padding:9px 0}.notice-marquee span{animation-duration:14s}}

@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr}
  .hero-panel{min-height:auto}
  .notice-board-home{min-height:auto}
  .notice-list-home{max-height:360px}
  .slide img{height:360px}
  .message-preview{grid-template-columns:1fr 1fr}
  .quick-links{grid-template-columns:1fr 1fr}
  .admin{grid-template-columns:1fr}
  .admin aside{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
  .admin aside h3{width:100%;margin:0 0 8px}
  .admin aside a{padding:8px 10px;background:rgba(255,255,255,.06)}
  .adminmain{padding:18px}
}
@media(max-width:800px){
  .brand-text h1{font-size:22px}
  .brand-text p{font-size:13px}
  .menu-toggle{display:block}
  .main-nav{display:none}
  .main-nav.open{display:block}
  .nav-inner{display:grid;grid-template-columns:1fr;padding:8px 16px}
  .main-nav a{padding:12px 10px;border-bottom:1px solid rgba(255,255,255,.13);border-radius:0}
  .form{grid-template-columns:1fr}
  .profile{flex-direction:column}
  .footer-content{align-items:flex-start}
  .footer-developer{text-align:left}
}
@media(max-width:620px){
  .wrap{padding:0 12px}
  .brand{gap:10px;padding-top:10px;padding-bottom:10px}
  .brand-logo img{width:50px;height:50px}
  .brand-text h1{font-size:18px}
  .brand-text p{display:none}
  .header-actions{gap:8px}
  .langs{font-size:12px}
  .home-hero{padding:14px 0}
  .image-slider{border-radius:12px}
  .slide img{height:240px}
  .slide-caption{left:12px;right:12px;bottom:12px;padding:10px 12px;border-radius:10px}
  .slide-caption h2{font-size:19px}
  .slider-btn{width:34px;height:34px;font-size:24px;line-height:31px}
  .hero-panel{padding:20px;border-radius:14px}
  .notice-board-home{padding:16px;border-radius:14px}
  .notice-board-head{display:block}
  .notice-board-head .eyebrow{margin-bottom:8px}
  .notice-item-home a,.notice-item-home strong{font-size:15px}
  .notice-list-home{max-height:none}
  .hero-panel h2{font-size:23px}
  .hero-actions .btn{width:100%;text-align:center}
  .quick-links,.message-preview{grid-template-columns:1fr}
  .quick-links{margin-top:14px}
  .card,.page{padding:16px;margin-top:16px}
  .grid{grid-template-columns:1fr;padding-top:18px;padding-bottom:18px}
  .loginbox{min-width:0;width:100%}
  td,th{padding:8px;font-size:14px}
  .admin-thumb,.thumb{width:100px;height:60px}
  .footer-content{display:block;text-align:center}
  .footer-developer{text-align:center;margin-top:6px}
}


/* Footer developer backlink */
.site-footer .footer-content{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.site-footer .footer-developer{margin-left:auto;text-align:right}
.site-footer .footer-developer a{color:#d8fff5;font-weight:700;text-decoration:none}
.site-footer .footer-developer a:hover{text-decoration:underline}
@media(max-width:800px){
  .site-footer .footer-content{justify-content:center;text-align:center}
  .site-footer .footer-developer{margin-left:0;text-align:center;width:100%}
}


/* Footer developer credit alignment */
.site-footer{
  background:#092c25;
  color:#fff;
  margin-top:24px;
  padding:14px 0;
}
.site-footer .wrap.footer-content{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding-left:30px;
  padding-right:30px;
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:nowrap;
}
.site-footer .footer-left{
  min-width:0;
  flex:0 1 auto;
  text-align:left;
}
.site-footer .footer-developer{
  margin-left:auto !important;
  flex:0 0 auto;
  text-align:right !important;
  white-space:nowrap;
}
.site-footer .footer-developer a{
  color:#d8fff5;
  font-weight:700;
  text-decoration:none;
}
.site-footer .footer-developer a:hover{
  text-decoration:underline;
}
@media(max-width:700px){
  .site-footer .wrap.footer-content{
    padding-left:16px;
    padding-right:16px;
    flex-direction:column;
    justify-content:center;
    text-align:center;
    gap:6px;
  }
  .site-footer .footer-left,
  .site-footer .footer-developer{
    width:100%;
    text-align:center !important;
    white-space:normal;
    margin-left:0 !important;
  }
}


/* Header logo and EIIN styling */
.brand-logo img{background:#fff;border-radius:10px}
.brand-text p{color:#0b6752;font-weight:600;letter-spacing:.1px}
.lookup-card{margin-top:18px;margin-bottom:18px}
.full-flex{flex:1 1 360px}
.registration-lookup{align-items:flex-end}

.registration-minimal-form{max-width:900px;margin-left:auto;margin-right:auto}
.registration-minimal-form .hint-box{background:#eef6f3;border:1px solid #cde3db;border-radius:10px;padding:12px;color:#0b6752}

.locked-field, input[readonly].locked-field{background:#eef3f2;color:#33413d;border-color:#b9c9c4;cursor:not-allowed;}

.form-field-control-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;background:#f7faf9;border:1px solid #dce5e2;border-radius:10px;padding:12px}

/* Homepage chairman/head teacher image cards */
.message-card-home{display:flex;gap:16px;align-items:flex-start}
.message-home-photo{flex:0 0 115px}
.message-home-photo img{width:115px;height:135px;object-fit:cover;border-radius:12px;border:3px solid #e8f3ef;background:#f4faf7;display:block}
.message-home-content{min-width:0;flex:1}
.message-home-content h2{margin-top:0}
@media(max-width:720px){.message-card-home{flex-direction:column;text-align:center}.message-home-photo{margin:0 auto}.message-home-content{text-align:left}.message-home-content h2,.message-home-content h3{text-align:center}}

/* v25 compact animated Notice Board */
.notice-board-home{padding:16px;border-radius:16px;min-height:0;max-height:365px}
.notice-board-head{padding-bottom:9px;margin-bottom:8px}
.notice-board-head h2{font-size:21px}
.notice-scroll-window{height:280px;overflow:hidden;position:relative}
.notice-scroll-window:before,.notice-scroll-window:after{content:"";position:absolute;left:0;right:0;height:18px;z-index:2;pointer-events:none}
.notice-scroll-window:before{top:0;background:linear-gradient(#fff,rgba(255,255,255,0))}
.notice-scroll-window:after{bottom:0;background:linear-gradient(rgba(255,255,255,0),#fff)}
.notice-list-home{display:block;max-height:none;overflow:visible;padding-right:0}
.notice-scroll-animate{animation:noticeBoardScroll 18s linear infinite}
.notice-scroll-window:hover .notice-scroll-animate{animation-play-state:paused}
.notice-item-home{padding:7px 8px 9px;margin-bottom:6px;border:1px solid #e5efec;border-radius:10px;background:#fbfdfc;box-shadow:0 4px 12px rgba(9,44,37,.04)}
.notice-item-home a,.notice-item-home strong{display:flex;align-items:center;gap:7px;color:#073b31;font-size:14px;font-weight:800;line-height:1.35}
.notice-item-home p{font-size:12px;margin:4px 0 0;color:#63716d}
.notice-date{font-size:11px;margin-bottom:2px;color:#0b6752}
.new-badge{display:inline-block;background:#0b6752;color:#fff;border-radius:999px;padding:2px 6px;font-style:normal;font-size:10px;line-height:1;font-weight:900;letter-spacing:.4px;flex:0 0 auto}
.notice-item-home.is-important{border-color:#f3b0b0;background:#fff4f4}
.notice-item-home.is-important a,.notice-item-home.is-important strong,.notice-item-home.is-important .notice-date{color:#c1121f}
.notice-item-home.is-important .new-badge{background:#c1121f}
.important-label{display:inline-block;background:#c1121f;color:#fff;border-radius:999px;padding:4px 9px;font-size:12px;vertical-align:middle}
.notice-detail-date{color:#0b6752;font-weight:700}
.notice-detail-text{background:#fbfdfc;border:1px solid #dce5e2;border-radius:12px;padding:16px;margin:14px 0;line-height:1.8}
@keyframes noticeBoardScroll{0%{transform:translateY(0)}100%{transform:translateY(-50%)}}
@media (prefers-reduced-motion: reduce){.notice-scroll-animate{animation:none}}
@media(max-width:620px){.notice-board-home{padding:14px}.notice-scroll-window{height:265px}.notice-item-home a,.notice-item-home strong{font-size:13px}.notice-scroll-animate{animation-duration:15s}}


/* v26 redesigned homepage notices */
.notice-board-home{
  padding:12px 14px !important;
  border-radius:18px !important;
  min-height:0 !important;
  max-height:342px !important;
  background:linear-gradient(180deg,#ffffff 0%,#f6fbf9 100%) !important;
  border:1px solid #d9e9e4 !important;
  box-shadow:0 12px 28px rgba(9,44,37,.10) !important;
}
.notice-board-head{display:none !important}
.notice-scroll-window{height:300px !important;overflow:hidden;position:relative;border-radius:14px}
.notice-scroll-window:before,.notice-scroll-window:after{height:22px !important}
.notice-scroll-window:before{background:linear-gradient(#fff,rgba(255,255,255,0)) !important}
.notice-scroll-window:after{background:linear-gradient(rgba(255,255,255,0),#f6fbf9) !important}
.notice-list-home{display:block;max-height:none;overflow:visible;padding:2px 1px 0 !important}
.notice-scroll-animate{animation:noticeBoardScroll 17s linear infinite}
.notice-item-home{
  position:relative;
  padding:9px 10px 9px 14px !important;
  margin:0 0 7px !important;
  border:1px solid #dcece7 !important;
  border-left:5px solid #0b6752 !important;
  border-radius:13px !important;
  background:#ffffff !important;
  box-shadow:0 5px 15px rgba(9,44,37,.055) !important;
}
.notice-item-home a,.notice-item-home strong{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  color:#073b31 !important;
  font-size:14px !important;
  font-weight:900 !important;
  line-height:1.35 !important;
}
.notice-date{font-size:11px !important;font-weight:900 !important;color:#0b6752 !important;margin:0 0 3px !important}
.notice-item-home p{font-size:12px !important;margin:5px 0 0 !important;color:#5d6d68 !important;line-height:1.42 !important}
.notice-item-home.is-important,.notice-item-home.important-notice{
  border-color:#f3b0b0 !important;
  border-left-color:#c1121f !important;
  background:#fff1f1 !important;
  box-shadow:0 7px 18px rgba(193,18,31,.12) !important;
}
.notice-item-home.is-important:before,.notice-item-home.important-notice:before{
  content:"!";
  position:absolute;
  top:9px;
  right:10px;
  width:18px;
  height:18px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#c1121f;
  color:#fff;
  font-size:12px;
  font-weight:900;
}
.notice-item-home.is-important a,.notice-item-home.important-notice a,
.notice-item-home.is-important strong,.notice-item-home.important-notice strong,
.notice-item-home.is-important .notice-date,.notice-item-home.important-notice .notice-date{
  color:#c1121f !important;
}
.new-badge{
  display:inline-block !important;
  background:#0b6752 !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:3px 7px !important;
  font-style:normal !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.5px !important;
  flex:0 0 auto !important;
  animation:newBadgePulse .9s ease-in-out infinite alternate !important;
}
.notice-item-home.is-important .new-badge,.notice-item-home.important-notice .new-badge{background:#c1121f !important;color:#fff !important}
@keyframes newBadgePulse{0%{transform:scale(1);opacity:.75;box-shadow:0 0 0 rgba(11,103,82,0)}100%{transform:scale(1.12);opacity:1;box-shadow:0 0 12px rgba(11,103,82,.35)}}
@media (prefers-reduced-motion: reduce){.new-badge{animation:none !important}.notice-scroll-animate{animation:none !important}}
@media(max-width:620px){.notice-board-home{padding:10px !important}.notice-scroll-window{height:285px !important}.notice-item-home a,.notice-item-home strong{font-size:13px !important}.notice-scroll-animate{animation-duration:15s}}


/* v27 forced homepage notice board styles - fixes cache/design/important/new badge */
.notice-board-v27{
  background:linear-gradient(145deg,#ffffff 0%,#eef8f4 100%) !important;
  border:1px solid #cfe3dc !important;
  border-radius:18px !important;
  padding:12px !important;
  max-height:342px !important;
  min-height:0 !important;
  box-shadow:0 12px 28px rgba(7,59,49,.13) !important;
  overflow:hidden !important;
}
.notice-board-v27 .notice-window-v27{
  height:300px !important;
  overflow:hidden !important;
  position:relative !important;
  border-radius:14px !important;
}
.notice-board-v27 .notice-window-v27:before,
.notice-board-v27 .notice-window-v27:after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  height:22px !important;
  z-index:3 !important;
  pointer-events:none !important;
}
.notice-board-v27 .notice-window-v27:before{top:0 !important;background:linear-gradient(#fff,rgba(255,255,255,0)) !important}
.notice-board-v27 .notice-window-v27:after{bottom:0 !important;background:linear-gradient(rgba(255,255,255,0),#eef8f4) !important}
.notice-board-v27 .notice-list-v27{
  display:block !important;
  max-height:none !important;
  overflow:visible !important;
  padding:2px 2px 0 !important;
}
.notice-board-v27 .notice-scroll-animate{animation:noticeBoardScroll 18s linear infinite !important}
.notice-board-v27:hover .notice-scroll-animate{animation-play-state:paused !important}
.notice-board-v27 .notice-item-home{
  position:relative !important;
  display:block !important;
  margin:0 0 8px !important;
  padding:9px 36px 9px 13px !important;
  border:1px solid #d8e8e3 !important;
  border-left:5px solid #0b6752 !important;
  border-radius:13px !important;
  background:#fff !important;
  box-shadow:0 6px 16px rgba(7,59,49,.065) !important;
}
.notice-board-v27 .notice-date{
  display:block !important;
  margin:0 0 4px !important;
  color:#0b6752 !important;
  font-size:11px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
}
.notice-board-v27 .notice-item-home a{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  color:#073b31 !important;
  font-size:14px !important;
  font-weight:900 !important;
  line-height:1.35 !important;
  text-decoration:none !important;
}
.notice-board-v27 .notice-item-home a:hover{text-decoration:underline !important}
.notice-board-v27 .notice-item-home p{
  margin:5px 0 0 !important;
  color:#526762 !important;
  font-size:12px !important;
  line-height:1.45 !important;
}
.notice-board-v27 .notice-item-home.is-important,
.notice-board-v27 .notice-item-home.important-notice{
  border-color:#efb4b4 !important;
  border-left-color:#d00000 !important;
  background:#fff0f0 !important;
  box-shadow:0 7px 18px rgba(208,0,0,.14) !important;
}
.notice-board-v27 .notice-item-home.is-important:after,
.notice-board-v27 .notice-item-home.important-notice:after{
  content:"!" !important;
  position:absolute !important;
  top:10px !important;
  right:10px !important;
  width:18px !important;
  height:18px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:50% !important;
  background:#d00000 !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:900 !important;
}
.notice-board-v27 .notice-item-home.is-important .notice-date,
.notice-board-v27 .notice-item-home.important-notice .notice-date,
.notice-board-v27 .notice-item-home.is-important a,
.notice-board-v27 .notice-item-home.important-notice a,
.notice-board-v27 .notice-item-home.is-important p,
.notice-board-v27 .notice-item-home.important-notice p{
  color:#c1121f !important;
}
.notice-board-v27 .new-badge-v27{
  display:inline-flex !important;
  gap:1px !important;
  align-items:center !important;
  background:#0b6752 !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:3px 7px !important;
  font-style:normal !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.4px !important;
  flex:0 0 auto !important;
}
.notice-board-v27 .new-badge-v27 span{display:inline-block !important;animation:newLetterFlash 1s ease-in-out infinite !important}
.notice-board-v27 .new-badge-v27 span:nth-child(2){animation-delay:.15s !important}
.notice-board-v27 .new-badge-v27 span:nth-child(3){animation-delay:.3s !important}
.notice-board-v27 .notice-item-home.is-important .new-badge-v27,
.notice-board-v27 .notice-item-home.important-notice .new-badge-v27{background:#d00000 !important;color:#fff !important}
@keyframes newLetterFlash{0%,100%{opacity:.45;transform:translateY(0) scale(1)}50%{opacity:1;transform:translateY(-1px) scale(1.18)}}
@keyframes noticeBoardScroll{0%{transform:translateY(0)}100%{transform:translateY(-50%)}}
@media (prefers-reduced-motion: reduce){.notice-board-v27 .notice-scroll-animate,.notice-board-v27 .new-badge-v27 span{animation:none !important}}
@media(max-width:620px){.notice-board-v27{padding:10px !important}.notice-board-v27 .notice-window-v27{height:285px !important}.notice-board-v27 .notice-item-home a{font-size:13px !important}}

/* v28 notice board title */
.notice-board-v27 .notice-board-title-v28{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 0 10px !important;
  padding:8px 12px !important;
  border-radius:12px !important;
  background:linear-gradient(135deg,#0b6752,#073b31) !important;
  color:#fff !important;
  font-size:18px !important;
  font-weight:900 !important;
  letter-spacing:.2px !important;
  box-shadow:0 8px 18px rgba(7,59,49,.16) !important;
}
.notice-board-v27 .notice-window-v27{height:300px !important}
@media(max-width:620px){.notice-board-v27 .notice-board-title-v28{font-size:16px !important;padding:7px 10px !important}.notice-board-v27 .notice-window-v27{height:285px !important}}


/* v29 equal height slider and notice board */
@media (min-width:981px){
  .home-hero .hero-grid{
    align-items:stretch !important;
  }
  .home-hero .hero-slider,
  .home-hero .notice-board-v27{
    height:430px !important;
    min-height:430px !important;
  }
  .home-hero .hero-slider,
  .home-hero .image-slider{
    display:block !important;
  }
  .home-hero .image-slider,
  .home-hero .slide,
  .home-hero .slide.active,
  .home-hero .slide img{
    height:430px !important;
  }
  .home-hero .notice-board-v27{
    max-height:none !important;
    display:flex !important;
    flex-direction:column !important;
    box-sizing:border-box !important;
  }
  .home-hero .notice-board-v27 .notice-board-title-v28{
    flex:0 0 auto !important;
  }
  .home-hero .notice-board-v27 .notice-window-v27{
    flex:1 1 auto !important;
    height:auto !important;
    min-height:0 !important;
  }
}
@media (max-width:980px){
  .home-hero .hero-slider,
  .home-hero .notice-board-v27{
    height:auto !important;
    min-height:0 !important;
  }
}

.admin-menu-heading{margin:14px 0 6px;padding:8px 10px;border-radius:8px;background:rgba(255,255,255,.12);color:#d8fff5;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.admin aside a.menu-highlight{background:#f7c948!important;color:#092c25!important;font-weight:700}
.admin aside a.menu-highlight:hover{background:#ffd966!important;color:#092c25!important}

.admin aside a.admission-fields-link{background:#ffdf5d!important;color:#062f28!important;border:2px solid #fff!important;box-shadow:0 0 0 2px rgba(255,223,93,.25);font-weight:800!important}
.admin aside a.admission-fields-link::before{content:"★ ";}

/* Admin sidebar parent/submenu for Admission Management */
.admin-parent-menu{
  margin:14px 0 6px;
  padding:10px 12px;
  border-radius:8px;
  background:rgba(255,255,255,.14);
  color:#d8fff5;
  font-weight:800;
  font-size:14px;
  border-left:4px solid #f7c948;
}
.admin-submenu{
  margin:0 0 6px 10px;
  padding-left:10px;
  border-left:2px solid rgba(216,255,245,.35);
  display:grid;
  gap:3px;
}
.admin aside .admin-submenu a{
  padding:8px 10px;
  font-size:14px;
  background:rgba(255,255,255,.055);
  border-radius:6px;
}
.admin aside .admin-submenu a:hover{
  background:rgba(247,201,72,.18);
  color:#fff;
}
@media(max-width:980px){
  .admin-parent-menu{width:100%;margin:8px 0 0}
  .admin-submenu{width:100%;margin:0 0 8px 0;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));border-left:0;padding-left:0}
}

/* v37: Admission Management dropdown menu */
.admin-dropdown-toggle{
  width:100%;
  margin:14px 0 6px;
  padding:10px 12px;
  border:0;
  border-radius:8px;
  background:rgba(255,255,255,.14);
  color:#d8fff5;
  font-weight:800;
  font-size:14px;
  border-left:4px solid #f7c948;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  font-family:inherit;
}
.admin-dropdown-toggle:hover,
.admin-dropdown-toggle.open{
  background:rgba(247,201,72,.18);
  color:#fff;
}
.admin-dropdown-toggle .dropdown-arrow{
  transition:transform .2s ease;
  font-size:15px;
  line-height:1;
}
.admin-dropdown-toggle.open .dropdown-arrow{
  transform:rotate(180deg);
}
.admin-dropdown-panel{
  display:none !important;
}
.admin-dropdown-panel.open{
  display:grid !important;
}
@media(max-width:980px){
  .admin-dropdown-toggle{width:100%;margin:8px 0 0}
}


/* v38: Admin Home Page dropdown shares the existing admin dropdown style */
.admin-dropdown-panel[data-admin-dropdown-panel="home"] a{
  border-left:3px solid rgba(216,255,245,.18);
}
.admin-dropdown-toggle[data-admin-dropdown="home"]{
  border-left-color:#48cae4;
}
.admin-dropdown-toggle[data-admin-dropdown="home"].open{
  background:rgba(72,202,228,.18);
}

/* v47: Admin Fees Management dropdown */
.admin-dropdown-panel[data-admin-dropdown-panel="fees"] a{
  border-left:3px solid rgba(216,255,245,.18);
}
.admin-dropdown-toggle[data-admin-dropdown="fees"]{
  border-left-color:#80ed99;
}
.admin-dropdown-toggle[data-admin-dropdown="fees"].open{
  background:rgba(128,237,153,.18);
}

/* Admin developer footer */
.admin-dev-footer{
  margin:30px 0 0;
  padding:14px 18px;
  background:#092c25;
  color:#fff;
  border-radius:12px;
  text-align:center;
  font-size:14px;
  line-height:1.7;
  box-shadow:0 8px 20px rgba(9,44,37,.12);
}
.admin-dev-footer a{color:#d8fff5;font-weight:700;text-decoration:none}
.admin-dev-footer a:hover{text-decoration:underline}
@media(max-width:700px){.admin-dev-footer{font-size:13px;padding:12px}}

/* v49: Admin Registration dropdown */
.admin-dropdown-panel[data-admin-dropdown-panel="registration"] a{
  border-left:3px solid rgba(216,255,245,.18);
}
.admin-dropdown-toggle[data-admin-dropdown="registration"]{
  border-left-color:#ff9f1c;
}
.admin-dropdown-toggle[data-admin-dropdown="registration"].open{
  background:rgba(255,159,28,.18);
}

.group-suggest-list{margin:12px 0 0;padding-left:20px;line-height:2;font-weight:700}
