/*
Theme Name: School Portal
Author: Md Torikul Islam Rasel
Description: স্কুল ও কলেজের জন্য ডাইনামিক WordPress Theme। অনলাইন ভর্তির আবেদন, নোটিশ বোর্ড, শিক্ষক, কমিটি, গ্যালারি, হিরো স্লাইডার ও কাস্টমাইজযোগ্য Glass Login Page। Developed by Md Torikul Islam Rasel. Contact: 01622661353
Version: 1.1.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: school-portal
*/

:root {
  --primary: #0a8f68;
  --accent: #2ecc4a;
  --primary-soft: #e4f4ee;
  --text: #1f2933;
  --muted: #6b7280;
  --bg: #f6f6f6;
  --card: #ffffff;
  --page: #ffffff;
  --text-2: #3b4652;
  --border: #ececec;
  --dark: #1f262e;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(0, 0, 0, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans Bengali', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--page);
  line-height: 1.6;
  font-size: 18px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }
button { font-family: inherit; cursor: pointer; }
.container { width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 23px; }
.center { text-align: center; }

/* ---------- Top bar ---------- */
.topbar { font-size: 18px; padding: 17px 0; }
.topbar-in { display: flex; justify-content: space-between; gap: 23px; align-items: center; flex-wrap: wrap; }
.ticker { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ticker .badge { background: var(--primary); color: #fff; padding: 5px 17px; border-radius: 9px; font-weight: 600; white-space: nowrap; }
.ticker a, .ticker span:not(.badge) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; }
.ids { display: flex; gap: 29px; color: var(--muted); flex-wrap: wrap; }
.ids b { color: var(--text); }

/* ---------- Header ---------- */
.site-header { background: var(--bg); padding: 0 0 0; position: relative; z-index: 20; }
.site-header { padding: 21px 0; }
.header-card {
  background: var(--card); border-radius: 17px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between; gap: 23px;
  padding: 14px 25px; position: relative;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand .custom-logo-link { display: block; flex-shrink: 0; line-height: 0; }
.brand img, .brand .custom-logo { width: 75px !important; height: 75px !important; max-width: 75px; object-fit: contain; }
.brand-mark { width: 63px; height: 63px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 29px; }
.brand-text strong { display: block; font-size: 22px; font-weight: 700; }
.brand-text small { display: block; font-size: 16px; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 21px; }
.main-nav .menu { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: block; padding: 10px 17px; font-size: 18px; font-weight: 500; border-radius: 29px; }
.main-nav .menu > li > a:hover,
.main-nav .menu > .current-menu-item > a,
.main-nav .menu > .current_page_item > a { background: var(--primary); color: #fff; }
.main-nav .menu > li.menu-item-has-children > a::after,
.main-nav .menu > li.page_item_has_children > a::after { content: "\f078"; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 12px; margin-left: 9px; opacity: .7; }
.main-nav .sub-menu, .main-nav .children {
  position: absolute; top: 100%; left: 0; min-width: 288px; background: var(--card); border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .12); padding: 9px; opacity: 0; visibility: hidden; transform: translateY(9px); transition: .18s; z-index: 30;
}
.main-nav li:hover > .sub-menu, .main-nav li:hover > .children,
.main-nav li:focus-within > .sub-menu, .main-nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a, .main-nav .children a { display: block; padding: 12px 17px; font-size: 18px; border-radius: 9px; }
.main-nav .sub-menu a:hover, .main-nav .children a:hover { background: var(--primary-soft); color: var(--primary); }
.btn-login { background: var(--accent); color: #fff; padding: 12px 23px; border-radius: 12px; font-size: 18px; font-weight: 600; white-space: nowrap; }
.btn-login:hover { filter: brightness(.95); }
.menu-toggle { display: none; background: var(--primary-soft); color: var(--primary); border: 0; width: 57px; height: 57px; border-radius: 12px; font-size: 25px; }

/* ---------- Hero ---------- */
.hero { padding-top: 0; }
.hero-frame { position: relative; border-radius: 17px; overflow: hidden; aspect-ratio: 11 / 4; background: #20332d; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; }
.hero .slide.active { opacity: 1; z-index: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary), #064e3b); }
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 101px 34px 52px; text-align: center; color: #fff;
  font-size: clamp(25px, 3vw, 44px); font-weight: 700; background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent);
}
.dots { position: absolute; left: 25px; bottom: 23px; display: flex; gap: 9px; z-index: 3; }
.dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.dots span.active { background: var(--accent); }
.hero-arrows { position: absolute; right: 23px; bottom: 21px; display: flex; gap: 9px; z-index: 3; }
.hero-arrows button { width: 37px; height: 37px; border-radius: 9px; border: 0; background: var(--primary); color: #fff; font-size: 14px; }

/* ---------- Layout ---------- */
.home-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 34px; margin-top: 40px; align-items: start; }
.block { margin-top: 52px; }
.home-main > .block:first-child, .home-main > .about + .block { margin-top: 52px; }
.band { background: var(--bg); margin-top: 52px; padding-bottom: 40px; }
.band > .container.block { margin-top: 0; padding-top: 40px; }
.page-wrap { padding-top: 44px; padding-bottom: 71px; min-height: 50vh; }

/* ---------- Section title ---------- */
.sec-title { display: flex; align-items: center; gap: 21px; margin-bottom: 23px; }
.sec-title h2 { font-size: 25px; font-weight: 700; white-space: nowrap; }
.sec-title .line { flex: 1; height: 1px; background: var(--border); }
.arrows { display: flex; gap: 12px; }
.arr { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--muted); font-size: 13px; }
.arr:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Buttons ---------- */
.btn-soft { display: inline-flex; align-items: center; gap: 9px; background: var(--primary-soft); color: var(--primary); padding: 9px 21px; border-radius: 9px; font-size: 18px; font-weight: 600; }
.btn-soft.sm { padding: 6px 17px; font-size: 17px; }
.btn-soft:hover { background: var(--primary); color: #fff; }
.btn-solid { display: inline-flex; align-items: center; gap: 9px; background: var(--primary); color: #fff; padding: 12px 25px; border-radius: 9px; font-size: 18px; font-weight: 600; }
.btn-solid:hover { filter: brightness(.92); }
.more-wrap { text-align: center; margin-top: 25px; }
.chip { background: var(--primary-soft); color: var(--primary); font-size: 16px; font-weight: 600; padding: 2px 14px; border-radius: 17px; white-space: nowrap; }
.chip:hover { background: var(--primary); color: #fff; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.about-img { border-radius: 12px; overflow: hidden; height: 100%; min-height: 402px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-card { background: var(--card); border-radius: 12px; box-shadow: 0 9px 34px rgba(0, 0, 0, .1); padding: 32px; margin-left: -60px; position: relative; z-index: 2; }
.about-card h2 { font-size: 24px; font-weight: 700; }
.about-card .line { display: block; width: 129px; height: 5px; background: var(--accent); margin: 9px 0 17px; }
.about-card p { font-size: 18px; color: var(--text-2); margin: 0 0 17px; }

/* ---------- Messages ---------- */
.scroller { scroll-behavior: smooth; }
.msg-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 12px); gap: 23px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.msg-grid::-webkit-scrollbar, .gallery-grid::-webkit-scrollbar, .card-grid-4.scroller::-webkit-scrollbar { display: none; }
.msg-card { scroll-snap-align: start; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 21px; display: flex; flex-direction: column; }
.msg-head { display: flex; gap: 17px; align-items: flex-start; margin-bottom: 17px; }
.msg-photo { width: 138px; height: 155px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: #ddd; }
.msg-photo img, .msg-photo .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.msg-who .quote { color: var(--primary); font-size: 32px; display: block; margin-bottom: 6px; }
.msg-who h3 { font-size: 22px; font-weight: 700; }
.msg-who .line { display: block; width: 67px; height: 5px; background: var(--accent); margin: 6px 0 12px; }
.msg-who strong { font-size: 18px; }
.msg-card p { font-size: 18px; color: var(--text-2); margin: 0 0 17px; flex: 1; }
.read-more { color: var(--primary); font-weight: 600; font-size: 17px; align-self: flex-start; background: var(--card); border: 1px solid var(--border); padding: 5px 14px; border-radius: 9px; }

/* ---------- Teachers / people cards ---------- */
.teacher-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 21px; }
.teacher-card { display: flex; gap: 17px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 12px; }
.t-photo { width: 132px; height: 150px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: #ddd; }
.t-photo img, .t-photo .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.t-info h3 { font-size: 21px; font-weight: 700; }
.t-info small { display: block; color: var(--muted); font-size: 16px; margin-bottom: 9px; }
.contact-icons { display: flex; gap: 9px; justify-content: inherit; margin: 9px 0; }
.contact-icons a { width: 32px; height: 32px; border-radius: 7px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 16px; }
.contact-icons a:hover { filter: brightness(.9); }

.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 21px; }
.card-grid-4.scroller { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc(25% - 16px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.card-grid-4.scroller .person-card { scroll-snap-align: start; }
.person-card { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); padding: 25px 17px; text-align: center; }
.person-card h3 { font-size: 21px; font-weight: 700; margin-top: 14px; }
.p-photo { display: block; width: 109px; height: 109px; overflow: hidden; margin: 0 auto; background: #ddd; }
.p-photo.round { border-radius: 50%; }
.p-photo.square { border-radius: 14px; width: 113px; height: 113px; }
.p-photo img, .p-photo .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.muted { color: var(--muted); font-size: 16px; display: block; }
.meta-line { font-size: 16px; color: var(--muted); }
.meta-line b { color: var(--text); }
.person-card .contact-icons { justify-content: center; }

/* ---------- Sidebar ---------- */
.side-box { background: var(--bg); border-radius: 14px; padding: 23px; margin-bottom: 32px; }
.side-title { text-align: center; font-size: 23px; font-weight: 700; margin-bottom: 17px; }
.side-title i { color: #ef4444; margin-right: 9px; }
.notice-list li { display: flex; align-items: flex-start; gap: 12px; background: var(--card); border-radius: 9px; padding: 12px 14px; margin-bottom: 12px; font-size: 18px; box-shadow: var(--shadow); }
.notice-list li > i { color: #ef4444; margin-top: 5px; }
.notice-list li > a:not(.chip) { flex: 1; font-weight: 600; }
.notice-list li > a:not(.chip):hover { color: var(--primary); }
.notice-list li.empty { color: var(--muted); }
.notice-list .date { color: var(--muted); font-size: 16px; white-space: nowrap; }
.page-list li { padding: 17px 21px; font-size: 21px; align-items: center; }
.link-list li { margin-bottom: 12px; }
.link-list li a { display: flex; align-items: center; gap: 12px; background: var(--card); padding: 12px 14px; border-radius: 9px; font-size: 18px; font-weight: 600; box-shadow: var(--shadow); }
.link-list li a i { color: #ef4444; font-size: 16px; }
.link-list.with-chip li a::after { content: "ভিজিট করুন"; margin-left: auto; background: var(--primary-soft); color: var(--primary); font-size: 15px; padding: 2px 13px; border-radius: 14px; }
.link-list li a:hover { color: var(--primary); }
.side-box .center { text-align: center; margin-top: 17px; }
.admin-hint { font-size: 17px; color: var(--muted); background: #fffbe6; padding: 12px; border-radius: 9px; }
.admin-hint a { color: var(--primary); text-decoration: underline; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc(33.333% - 16px); gap: 23px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.g-item { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 4.4; scroll-snap-align: start; background: #ddd; }
.g-item img, .g-item .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.05); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 57px 21px 21px; color: #fff; text-align: center; font-weight: 600; font-size: 18px; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); }
.play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 67px; height: 67px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--primary); display: grid; place-items: center; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(186px, 1fr)); gap: 23px; }
.stat { aspect-ratio: 1; max-width: 230px; width: 100%; margin: 0 auto; border: 1px solid var(--border); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--card); }
.stat strong { font-size: 34px; color: var(--primary); line-height: 1.1; }
.stat span { font-size: 17px; font-weight: 500; }
.stat small { font-size: 15px; color: var(--muted); font-weight: 600; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.blog-card { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.b-img { display: block; aspect-ratio: 4 / 2.6; overflow: hidden; background: #ddd; }
.b-img img, .b-img .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.b-body { padding: 17px 21px 23px; }
.b-meta { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); margin-bottom: 9px; flex-wrap: wrap; gap: 9px; }
.b-meta b { color: var(--text); }
.b-body h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.b-body h3 a:hover { color: var(--primary); }

/* ---------- Placeholder ---------- */
.img-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #e5efe9, #d4e4dc); color: #9bb8aa; font-size: 40px; width: 100%; height: 100%; min-height: 86px; }

/* ---------- Single / pages ---------- */
.single-meta { justify-content: flex-start; gap: 29px; margin-bottom: 21px; font-size: 18px; }
.single-grid.with-photo { display: grid; grid-template-columns: 345px 1fr; gap: 40px; align-items: start; }
.single-photo img { border-radius: 17px; width: 100%; }
.single-hero { margin-bottom: 29px; }
.single-hero img { border-radius: 17px; width: 100%; }
.entry-content { font-size: 22px; line-height: 1.85; }
.entry-content img { border-radius: 12px; }
.entry-content a { color: var(--primary); text-decoration: underline; }
.detail-table { border-collapse: collapse; margin-bottom: 21px; font-size: 21px; }
.detail-table th { text-align: left; padding: 9px 25px 9px 0; color: var(--muted); font-weight: 500; }
.detail-table td { padding: 9px 0; font-weight: 600; }
.archive-grid { margin-top: 14px; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 52px; height: 52px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); border-radius: 12px; font-weight: 600; padding: 0 14px; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--primary); color: #fff; }
.comments { margin-top: 57px; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { padding: 17px 0; border-bottom: 1px solid var(--border); }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; padding: 14px; border: 1px solid var(--border); border-radius: 9px; font-family: inherit; }
.comment-form .submit { background: var(--primary); color: #fff; border: 0; padding: 13px 29px; border-radius: 9px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 63px; }
.footer-main { background: var(--dark); color: #d6dbe0; padding: 52px 0 44px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.f-col h4 { color: #fff; font-size: 21px; font-weight: 700; padding: 12px 17px; border-left: 5px solid var(--accent); background: linear-gradient(90deg, rgba(255, 255, 255, .08), transparent); margin-bottom: 21px; }
.f-col .link-list li { margin-bottom: 13px; }
.f-col .link-list li a { background: none; box-shadow: none; padding: 0; font-weight: 400; font-size: 18px; color: #d6dbe0; }
.f-col .link-list li a::after { display: none; }
.f-col .link-list li a:hover { color: var(--accent); }
.f-col .link-list.plain li a { padding-left: 6px; }
.f-col .link-list.plain li a::before { content: none; }
.contact-list li { display: flex; gap: 17px; margin-bottom: 21px; font-size: 18px; line-height: 1.55; }
.contact-list li > i { flex: 0 0 55px; height: 55px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--primary); display: grid; place-items: center; font-size: 22px; }
.contact-list b { color: #fff; }
.contact-list a:hover { color: var(--accent); }
.footer-bottom { background: #323943; color: #cdd2d8; font-size: 17px; padding: 14px 0; }
.footer-bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 21px; flex-wrap: wrap; }
.footer-bottom small { color: #8b94a0; display: block; }
.socials { display: flex; align-items: center; gap: 12px; }
.socials span { color: #8b94a0; margin-right: 6px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .home-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: grid; place-items: center; }
  .header-card { flex-wrap: wrap; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 14px; border-top: 1px solid var(--border); }
  .main-nav.open { display: flex; }
  .main-nav .menu { flex-direction: column; align-items: stretch; }
  .main-nav .sub-menu, .main-nav .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 21px; }
  .btn-login { text-align: center; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4.scroller { grid-auto-columns: calc(50% - 10px); grid-template-columns: none; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hero-frame { aspect-ratio: 16 / 9; }
  .about { grid-template-columns: 1fr; }
  .about-card { margin: -40px 17px 0; }
  .msg-grid { grid-auto-columns: 92%; }
  .teacher-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-columns: 82%; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .single-grid.with-photo { grid-template-columns: 1fr; }
  .ids { gap: 14px; }
  .footer-bottom-in { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .card-grid-4.scroller { grid-auto-columns: 70%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 23px 12px 0; }
.alignright { float: right; margin: 0 0 12px 23px; }
.aligncenter { margin: 0 auto 17px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 17px; color: var(--muted); }
.screen-reader-text { position: absolute; left: -9999px; }

/* ---------- Demo-style scale-up overrides ---------- */
.topbar { font-size: 17px; padding: 16px 0; }
.header-card { padding: 16px 23px; gap: 23px; }
.brand-text strong { font-size: 25px; }
.brand-text small { font-size: 16px; }
.brand img, .brand .custom-logo { width: 80px !important; height: 80px !important; max-width: 80px; }
.main-nav .menu { gap: 0; }
.main-nav .menu > li > a { font-size: 18px; padding: 10px 21px; }
.main-nav .menu > li + li::before { content: ""; position: absolute; left: 0; top: 50%; height: 28px; width: 1px; background: var(--border); transform: translateY(-50%); }
.main-nav .menu > li.current-menu-item::before, .main-nav .menu > li.current-menu-item + li::before,
.main-nav .menu > li.current_page_item::before, .main-nav .menu > li.current_page_item + li::before { display: none; }
.btn-login { font-size: 18px; padding: 13px 23px; }
.sec-title h2 { font-size: 30px; }
.side-title { font-size: 25px; }
.about-card h2 { font-size: 30px; }
.about-card p { font-size: 18px; }
.entry-content { font-size: 20px; }
@media (max-width: 960px) {
  .main-nav .menu > li + li::before { display: none; }
  .brand-text strong { font-size: 21px; }
  .sec-title h2 { font-size: 24px; }
  .topbar { font-size: 15px; }
}

/* Header: keep long taglines from squeezing the menu */
.brand { flex: 0 1 auto; max-width: 494px; }
.brand-text small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.main-nav { flex-shrink: 0; margin-left: auto; }


/* ================= Responsive tiers ================= */
/* Large laptops */
@media (max-width: 1500px) {
  body { font-size: 17px; }
  .topbar { font-size: 16px; }
  .brand-text strong { font-size: 22px; }
  .main-nav .menu > li > a { font-size: 16px; padding: 9px 14px; }
  .btn-login { font-size: 16px; padding: 10px 18px; }
  .sec-title h2 { font-size: 26px; }
  .side-title { font-size: 22px; }
  .about-card h2 { font-size: 26px; }
}
/* Small laptops */
@media (max-width: 1280px) {
  body { font-size: 15.5px; }
  .topbar { font-size: 14px; }
  .brand { max-width: 320px; }
  .brand-text strong { font-size: 19px; }
  .brand-text small { font-size: 12.5px; }
  .brand img, .brand .custom-logo { width: 56px !important; height: 56px !important; max-width: 56px; }
  .main-nav .menu > li > a { font-size: 14.5px; padding: 8px 10px; }
  .btn-login { font-size: 14.5px; padding: 9px 14px; }
  .sec-title h2 { font-size: 23px; }
  .side-title { font-size: 20px; }
  .about-card h2 { font-size: 23px; }
  .about-card p, .msg-card p { font-size: 14.5px; }
  .t-info h3, .person-card h3, .b-body h3 { font-size: 16px; }
}
/* Tablet: hamburger menu */
@media (max-width: 1100px) {
  .menu-toggle { display: grid; place-items: center; }
  .header-card { flex-wrap: wrap; }
  .brand { max-width: calc(100% - 64px); }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 12px; margin-left: 0; border-top: 1px solid var(--border); }
  .main-nav.open { display: flex; }
  .main-nav .menu { flex-direction: column; align-items: stretch; }
  .main-nav .menu > li + li::before { display: none; }
  .main-nav .menu > li > a { padding: 11px 14px; font-size: 16px; }
  .main-nav .sub-menu, .main-nav .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 14px; }
  .btn-login { text-align: center; }
  .home-grid { grid-template-columns: 1fr; }
  .hero-frame { aspect-ratio: 16 / 7; }
}
/* Phones */
@media (max-width: 680px) {
  body { font-size: 15px; }
  .container { padding: 0 14px; }
  .topbar { font-size: 12.5px; padding: 10px 0; }
  .ticker a, .ticker span:not(.badge) { max-width: 60vw; }
  .ids { gap: 10px; font-size: 12px; }
  .header-card { padding: 10px 12px; }
  .brand img, .brand .custom-logo { width: 44px !important; height: 44px !important; max-width: 44px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 11.5px; -webkit-line-clamp: 1; }
  .hero-frame { aspect-ratio: 16 / 10; border-radius: 10px; }
  .hero-caption { font-size: 16px; padding: 40px 14px 26px; }
  .sec-title h2 { font-size: 20px; white-space: normal; }
  .side-title { font-size: 18px; }
  .about-card { padding: 16px; }
  .about-card h2 { font-size: 20px; }
  .msg-photo { width: 84px; height: 96px; }
  .t-photo { width: 84px; height: 96px; }
  .p-photo, .p-photo.square { width: 72px; height: 72px; }
  .person-card { padding: 14px 8px; }
  .person-card h3 { font-size: 14.5px; }
  .stat { max-width: 130px; }
  .stat strong { font-size: 22px; }
  .entry-content { font-size: 16px; }
  .footer-main { padding: 28px 0 22px; }
  .contact-list li > i { flex-basis: 34px; height: 34px; }
}
/* Very small phones */
@media (max-width: 380px) {
  .card-grid-4, .card-grid-4.archive-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
}


/* ================= Dark mode ================= */
[data-theme="dark"] {
  color-scheme: dark;
  --text: #e6e9ec; --text-2: #c3cad2; --muted: #98a3ae;
  --bg: #141a20; --page: #0e1216; --card: #1b222a; --border: #2a323b;
  --primary-soft: #173a2f; --shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
[data-theme="dark"] .btn-soft, [data-theme="dark"] .chip, [data-theme="dark"] .read-more,
[data-theme="dark"] .entry-content a, [data-theme="dark"] .pagination .page-numbers { color: #4fe0b0; }
[data-theme="dark"] .btn-soft:hover, [data-theme="dark"] .chip:hover { color: #fff; }
[data-theme="dark"] .img-placeholder { background: linear-gradient(135deg, #233028, #1a2520); color: #4d6a5c; }
[data-theme="dark"] .admin-hint { background: #3a3417; color: #e6dfae; }
[data-theme="dark"] .hero-frame { background: #0b1411; }

/* ================= Header tools ================= */
.header-tools { display: flex; align-items: center; gap: 6px; }
.tool-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--text); font-size: 15px; font-weight: 700; display: grid; place-items: center; }
.tool-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.lang-btn { font-size: 13px; letter-spacing: .3px; }

/* ================= Top banner ================= */
.top-banner { background: var(--primary); color: #fff; font-size: 15px; }
.top-banner-in { display: flex; align-items: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; justify-content: center; text-align: center; position: relative; }
.top-banner a { text-decoration: underline; }
.banner-close { position: absolute; right: 12px; background: none; border: 0; color: #fff; font-size: 16px; opacity: .85; }

/* ================= Quick links ================= */
.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 26px; }
.quick { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 16px 18px; font-weight: 600; font-size: 16px; transition: transform .2s, border-color .2s; }
.quick i { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.quick:hover { transform: translateY(-3px); border-color: var(--primary); }

/* ================= New tag / file chip ================= */
.new-tag { background: #ef4444; color: #fff; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 10px; margin-left: 6px; vertical-align: middle; animation: pulse 1.8s infinite; white-space: nowrap; }
@keyframes pulse { 50% { opacity: .55; } }
.chip.file { padding: 2px 8px; }

/* ================= Events ================= */
.ev-badge { width: 54px; flex-shrink: 0; border-radius: 10px; background: var(--primary); color: #fff; text-align: center; padding: 6px 0 5px; line-height: 1.1; }
.ev-badge b { display: block; font-size: 22px; }
.ev-badge small { font-size: 12px; opacity: .9; }
.ev-side li { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 8px; padding: 9px 11px; margin-bottom: 9px; box-shadow: var(--shadow); }
.ev-side a { font-weight: 600; font-size: 15px; display: block; }
.ev-side a:hover { color: var(--primary); }
.ev-side small, .ev-list small { display: block; color: var(--muted); font-size: 13px; }
.ev-list { display: grid; gap: 10px; }
.ev-list li { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.ev-list li > div { flex: 1; min-width: 0; }
.ev-list a { font-weight: 600; }
.ev-list a:hover { color: var(--primary); }
.ev-list .dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.ev-list.big li { padding: 16px 18px; }

/* ================= Calendar ================= */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head h3 { font-size: 24px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-weight: 700; font-size: 14px; padding: 8px 0; background: var(--primary); color: #fff; border-radius: 8px; }
.cal-cell { min-height: 98px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 6px; font-size: 12px; overflow: hidden; }
.cal-cell.empty { background: transparent; border-color: transparent; }
.cal-cell.today { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.cal-cell .num { font-weight: 700; font-size: 14px; display: block; margin-bottom: 3px; }
.cal-ev { display: block; color: #fff; border-radius: 4px; padding: 1px 6px; margin-bottom: 3px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-cell .more { color: var(--muted); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0 6px; font-size: 14px; }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; }
.cal-list-title { margin: 26px 0 12px; font-size: 20px; }

/* ================= Downloads ================= */
.dl-title { margin: 26px 0 12px; font-size: 20px; padding-left: 12px; border-left: 4px solid var(--accent); }
.dl-list { display: grid; gap: 10px; }
.dl-list li { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.dl-list li > i { color: #ef4444; font-size: 20px; }
.dl-list .t { flex: 1; font-weight: 600; min-width: 0; }
.dl-filter select { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--card); color: var(--text); font-family: inherit; }

/* ================= Forms ================= */
.school-form { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.fld-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.fld { margin: 0 0 16px; }
.fld.wide { grid-column: 1 / -1; }
.fld label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.fld input, .fld select, .fld textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 15.5px; background: var(--page); color: var(--text); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.req { color: #ef4444; }
.hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.form-notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-weight: 600; }
.form-notice.ok { background: #e1f7ea; color: #0c6b3a; }
.form-notice.err { background: #fde8e8; color: #a11a1a; }
.school-form .btn-solid { border: 0; font-family: inherit; font-size: 16px; padding: 11px 24px; }
.contact-page { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.map-wrap { border-radius: 12px; overflow: hidden; margin-bottom: 16px; aspect-ratio: 4 / 3; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.contact-list.light li > i { background: var(--primary-soft); }
.contact-list.light a:hover { color: var(--primary); }
.contact-list.light { color: var(--text); }

/* ================= Results ================= */
.result-box { max-width: 860px; margin: 0 auto; }
.result-form { align-items: end; }
.result-card { margin-top: 22px; border-radius: 12px; border: 2px solid var(--primary); padding: 18px 20px; background: var(--page); }
.result-card.fail { border-color: #ef4444; }
.result-card h3 { font-size: 20px; margin-bottom: 12px; }
.badge-res { background: var(--primary); color: #fff; padding: 2px 12px; border-radius: 12px; font-size: 14px; }
.result-card.fail .badge-res { background: #ef4444; }
.marks-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.marks-table th, .marks-table td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.marks-table th { background: var(--primary-soft); }
@media print { .site-header, .topbar, .site-footer, .float-btns, .no-print, .result-form, .top-banner, #wpadminbar { display: none !important; } }

/* ================= Achievements / testimonials ================= */
.ach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ach { background: linear-gradient(135deg, var(--primary), #064e3b); color: #fff; border-radius: 14px; padding: 22px 16px; text-align: center; }
.ach i { font-size: 26px; opacity: .85; display: block; margin-bottom: 8px; }
.ach strong { display: block; font-size: 34px; line-height: 1.15; }
.ach span { font-size: 15px; opacity: .92; }
.testi-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc(33.333% - 11px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.testi-grid::-webkit-scrollbar { display: none; }
.testi-card { scroll-snap-align: start; background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; }
.testi-card > i { color: var(--accent); font-size: 26px; margin-bottom: 8px; }
.testi-card p { flex: 1; margin: 0 0 16px; color: var(--text-2); }
.testi-who { display: flex; align-items: center; gap: 12px; }
.t-ava { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #ddd; }
.t-ava img, .t-ava .img-placeholder { width: 100%; height: 100%; object-fit: cover; font-size: 16px; }
.testi-who small { display: block; color: var(--muted); font-size: 13px; }

/* ================= Gallery archive / lightbox ================= */
.gallery-grid.wrap { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, 1fr); overflow: visible; }
.g-item { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .92); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden], .popup[hidden], .search-overlay[hidden] { display: none; }
.lb-stage { max-width: 90vw; max-height: 82vh; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 90vw; max-height: 82vh; border-radius: 8px; }
.lb-stage iframe { width: min(90vw, 960px); aspect-ratio: 16 / 9; border: 0; border-radius: 8px; background: #000; }
.lb-close, .lb-nav { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 18px; }
.lb-close { top: 18px; right: 18px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: 18px; } .lb-nav.next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: var(--primary); }
.lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }

/* ================= Popup ================= */
.popup { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 9998; display: flex; align-items: center; justify-content: center; padding: 16px; }
.popup-card { background: var(--card); border-radius: 16px; max-width: 520px; width: 100%; overflow: hidden; position: relative; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); max-height: 90vh; overflow-y: auto; }
.popup-card img { width: 100%; max-height: 300px; object-fit: cover; }
.popup-body { padding: 22px; }
.popup-body h3 { font-size: 22px; margin-bottom: 8px; }
.popup-body p { margin: 0 0 16px; color: var(--text-2); }
.popup-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 16px; z-index: 2; }

/* ================= Search ================= */
.search-overlay { position: fixed; inset: 0; background: rgba(8, 14, 12, .92); z-index: 9997; display: flex; align-items: center; justify-content: center; padding: 20px; }
.search-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; }
.search-box { display: flex; width: min(720px, 100%); background: var(--card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.search-box input { flex: 1; border: 0; padding: 16px 18px; font-size: 18px; background: transparent; color: var(--text); font-family: inherit; outline: none; min-width: 0; }
.search-box button { border: 0; background: var(--primary); color: #fff; padding: 0 22px; font-size: 18px; }
.search-box.inline { margin: 0 0 24px; }
.search-results li { padding: 16px 0; border-bottom: 1px solid var(--border); }
.search-results h3 { font-size: 19px; margin: 6px 0; }
.search-results h3 a:hover { color: var(--primary); }
.search-results p { margin: 0; color: var(--muted); }

/* ================= Floating buttons ================= */
.float-btns { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 900; }
.fab { width: 50px; height: 50px; border-radius: 50%; border: 0; color: #fff; font-size: 22px; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.fab.messenger { background: linear-gradient(135deg, #00b2ff, #006aff); }
.fab.to-top { background: var(--primary); font-size: 18px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.fab.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ================= Google Translate cleanup ================= */
.goog-te-banner-frame, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ================= Responsive additions ================= */
@media (max-width: 1100px) {
  .header-tools { justify-content: center; padding: 8px 0; }
  .testi-grid { grid-auto-columns: calc(50% - 8px); }
  .gallery-grid.wrap { grid-template-columns: repeat(2, 1fr); }
  .contact-page { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .fld-grid { grid-template-columns: 1fr; }
  .school-form { padding: 16px; }
  .testi-grid { grid-auto-columns: 88%; }
  .gallery-grid.wrap { grid-template-columns: 1fr; }
  .cal-cell { min-height: 62px; padding: 3px; }
  .cal-ev { font-size: 0; height: 6px; padding: 0; }
  .cal-dow { font-size: 12px; padding: 6px 0; }
  .cal-head h3 { font-size: 19px; }
  .quick { padding: 12px; font-size: 14px; gap: 10px; }
  .quick i { width: 38px; height: 38px; font-size: 17px; }
  .ach strong { font-size: 26px; }
  .dl-list li { flex-wrap: wrap; }
  .float-btns { right: 12px; bottom: 12px; }
  .fab { width: 44px; height: 44px; font-size: 19px; }
  .lb-nav { width: 38px; height: 38px; }
}

/* Prevent grid blow-out on small screens */
.home-main, .home-side { min-width: 0; }
@media (max-width: 1100px) { .home-grid { grid-template-columns: minmax(0, 1fr); } }
.info-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 8px; align-items: start; }
.info-row .side-box { margin-bottom: 0; }
@media (max-width: 800px) { .info-row { grid-template-columns: minmax(0, 1fr); } }

/* Keep shortcode UI (calendar, buttons, lists) free of article-link styling */
.entry-content .school-cal a, .entry-content .school-downloads a, .entry-content .school-form a,
.entry-content a.btn-solid, .entry-content a.btn-soft, .entry-content a.chip { text-decoration: none; }
.entry-content a.cal-ev, .entry-content a.btn-solid { color: #fff; }
.entry-content a.btn-soft, .entry-content a.chip { color: var(--primary); }
.entry-content .ev-list a, .entry-content .dl-list .t { color: var(--text); }
.entry-content .ev-list a:hover { color: var(--primary); }
.entry-content .contact-list a { color: inherit; }
[data-theme="dark"] .entry-content a.btn-soft, [data-theme="dark"] .entry-content a.chip { color: #4fe0b0; }

/* Website management edition: button-style navigation and accessible hover/focus feedback. */
.main-nav .menu > li > a {
  background: var(--primary-soft); color: var(--text); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 16px; font-weight: 600;
  transition: background-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.main-nav .menu > li > a:hover,.main-nav .menu > li > a:focus-visible,
.main-nav .menu > .current-menu-item > a,.main-nav .menu > .current-menu-ancestor > a {
  background: var(--primary); color: #fff; transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(0,0,0,.13);
}
.main-nav .sub-menu,.main-nav .children { padding: 10px; border: 1px solid var(--border); }
.main-nav .sub-menu li > a,.main-nav .children li > a {
  background: var(--primary-soft); border: 1px solid var(--border);
  margin: 4px 0; border-radius: 10px;
  transition: background-color .2s,color .2s,transform .2s,box-shadow .2s;
}
.main-nav .sub-menu li > a:hover,.main-nav .children li > a:hover,
.main-nav .sub-menu li > a:focus-visible,.main-nav .children li > a:focus-visible {
  background: var(--primary); color: #fff; transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.main-nav .menu .sub-menu li,.main-nav .menu .children li { position: relative; }
.main-nav .menu .sub-menu .sub-menu,.main-nav .menu .children .children { left:100%;top:0; }
.main-nav li:focus-within > .sub-menu,.main-nav li:focus-within > .children { visibility:visible;opacity:1; }
.btn-login,.tool-btn,.menu-toggle,.btn-solid,.school-form button,.dl-filter select,.fld select {
  transition: background-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease,border-color .2s ease;
}
.btn-login:hover,.tool-btn:hover,.btn-solid:hover,.school-form button:hover,.menu-toggle:hover {
  transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.15);
}
.fld select,.dl-filter select { cursor:pointer;border:1px solid var(--primary);border-radius:11px;background-color:var(--primary-soft);font-weight:600; }
.fld select:hover,.dl-filter select:hover { background-color:var(--card);box-shadow:0 4px 14px rgba(0,0,0,.1); }
.fld select:focus-visible,.dl-filter select:focus-visible,.main-nav a:focus-visible { outline:3px solid var(--accent);outline-offset:2px; }
@media(max-width:900px){
 .main-nav .sub-menu,.main-nav .children,.main-nav .menu .sub-menu .sub-menu,.main-nav .menu .children .children {position:static;transform:none;box-shadow:none;opacity:1;visibility:visible;min-width:0;}
 .main-nav .menu > li > a:hover {transform:none;}
}
@media(prefers-reduced-motion:reduce){.main-nav a,.btn-login,.tool-btn,.menu-toggle,.btn-solid,.fld select{transition:none!important;transform:none!important}}

/* ================= v1.0.6: Soft section blocks on white background =================
   Deliberately scoped to public site content. Keeps theme colors,
   navigation button effects, dashboard and glass login styling intact. */
body:not(.wp-admin) { background-color: #fff; }
body.home .band { background: #fff; }

/* Main homepage content modules are individual, clearly separated panels. */
body.home .home-main > section.block,
body.home section.block.container,
body.home .band > .container.block,
body.home .home-side > .side-box,
body.home .info-row > .side-box {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(31, 41, 55, .055);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
body.home .home-main > section.block,
body.home section.block.container { padding: 24px; }
body.home .band > .container.block { padding: 24px; }
body.home .home-side > .side-box,
body.home .info-row > .side-box { padding: 22px; }
body.home .home-main > section.block:hover,
body.home section.block.container:hover,
body.home .band > .container.block:hover,
body.home .home-side > .side-box:hover,
body.home .info-row > .side-box:hover {
  border-color: #cadbd5;
  box-shadow: 0 8px 24px rgba(31, 41, 55, .09);
}

/* Give the smaller information cards a matching soft edge. */
body.home .msg-card,
body.home .teacher-card,
body.home .person-card,
body.home .testi-card,
body.home .blog-card,
body.home .stat,
body.home .ach {
  border: 1px solid #e7ebf0;
  box-shadow: 0 3px 12px rgba(31, 41, 55, .05);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
body.home .msg-card:hover,
body.home .teacher-card:hover,
body.home .person-card:hover,
body.home .testi-card:hover,
body.home .blog-card:hover,
body.home .stat:hover,
body.home .ach:hover {
  border-color: #cfddd8;
  box-shadow: 0 7px 20px rgba(31, 41, 55, .09);
}

/* Ordinary pages/posts: subtle separation, while keeping a white canvas. */
body:not(.home) .page-wrap > article,
body:not(.home) .page-wrap > .entry-content {
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(31, 41, 55, .045);
  padding: 24px;
}
@media (max-width: 680px) {
  body.home .home-main > section.block,
  body.home section.block.container,
  body.home .band > .container.block,
  body.home .home-side > .side-box,
  body.home .info-row > .side-box { padding: 15px; border-radius: 14px; }
  body:not(.home) .page-wrap > article,
  body:not(.home) .page-wrap > .entry-content { padding: 15px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body.home .home-main > section.block,
  body.home section.block.container,
  body.home .band > .container.block,
  body.home .home-side > .side-box,
  body.home .info-row > .side-box,
  body.home .msg-card,
  body.home .teacher-card,
  body.home .person-card,
  body.home .testi-card,
  body.home .blog-card,
  body.home .stat,
  body.home .ach { transition: none; }
}
