/* Public school theme. Dashboard uses rootheaddasbor.php, not this stylesheet. */
.school-site {
  --theme-color: #427959;
  --title-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --body-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --title-color: #183638;
  --body-color: #425c5d;
  --smoke-color: #f3f8f7;
  font-family: var(--body-font);
  color: var(--body-color);
  font-size: 16px;
  line-height: 1.7;
  background: #fff;
  overflow-wrap: anywhere;
}
.school-site input,
.school-site button,
.school-site select,
.school-site textarea,
.school-site .main-menu a,
.school-site .vs-btn {
  font-family: var(--body-font);
}
.school-site ::selection { background: #c5e6df; color: #183638; }
.school-site :focus-visible { outline: 3px solid #bc8a24; outline-offset: 4px; }
.school-site h1, .school-site h2, .school-site h3, .school-site h4,
.school-site h5, .school-site h6 { font-family: var(--title-font); color: #183638; font-weight: 600; line-height: 1.2; text-wrap: balance; }
.school-site .container { max-width: 1200px; }
.school-site a { transition: color 180ms ease, background-color 180ms ease; }
.school-site a, .school-site a:hover, .school-site a:focus { text-decoration: none; }
.school-site .skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; padding: 12px 20px; background: #fff; color: #427959; }
.school-site .skip-link:focus { top: 12px; }
.school-site .header-layout2 { position: relative; background: #427959; --title-color: #000; }
.school-site .header-layout2 .menu-area { margin-bottom: 0; border-radius: 30px 30px 0 0; }
.school-site .header-layout2 .menu-area::before { border-radius: 30px 30px 0 0; }
.school-site .header-layout2 .header-links i { background: #ffd600; color: #000; }
.school-site .header-layout2 .col-auto > a,
.school-site .blog-meta i { color: #427959 !important; }
.school-site .vs-menu-toggle { background: #427959; }
.school-site .main-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.school-site .vs-btn { background: #427959; color: #fff; border-radius: 8px; padding: 14px 24px; font-family: inherit; font-weight: 600; }
.school-site .vs-btn:hover { background: #315c43; }
.school-site .vs-btn::before, .school-site .vs-btn::after { display: none; }
.school-site .swiperslideshow { margin-top: 0; }
.school-site .swiperslideshow .vs-btn { background: #427959; border-radius: 999px; }
.school-site .school-hero-panel { position: absolute; width: min(820px, calc(100% - 32px)); padding: clamp(28px, 4vw, 46px) clamp(20px, 3.5vw, 40px); border-radius: 20px; background: rgba(18, 48, 32, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15); text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.school-site .school-hero-panel h1 { margin: 0 auto 16px; color: #ffce2f; font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); max-width: 28ch; }
.school-site .school-hero-greeting { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; padding: 5px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff; font-size: clamp(12px, 1.1vw, 14px); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.school-site .school-hero-name { display: block; white-space: nowrap; color: #ffce2f; font-size: clamp(22px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); }
.school-site .school-hero-panel p { margin: 0 auto 10px; max-width: 52ch; color: rgba(255, 255, 255, 0.92); line-height: 1.6; }
.school-site .school-hero-subtitle { font-size: clamp(14px, 1.35vw, 17px); font-weight: 400; letter-spacing: 0.01em; }
.school-site .school-hero-note { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.school-site .school-hero-panel .action { margin-top: 22px; }
.school-site .school-hero-panel .vs-btn { background: #ffce2f; color: #143525; font-weight: 600; font-size: 14px; padding: 11px 28px; border-radius: 999px; box-shadow: 0 6px 20px rgba(255, 206, 47, 0.28); transition: all 180ms ease; display: inline-flex; align-items: center; gap: 8px; }
.school-site .school-hero-panel .vs-btn:hover { background: #ffd858; color: #0b2217; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 206, 47, 0.38); }
.school-site .space-top, .school-site .school-news-list { padding-top: 64px; }
.school-site .space-extra-bottom, .school-site .school-news-list { padding-bottom: 64px; }
.school-site .title-area { margin-bottom: 32px; }
.school-site .sec-bubble { display: none; }
.school-site .sec-title { font-size: clamp(28px, 3vw, 36px); letter-spacing: -.025em; margin-bottom: 12px; }
.school-site .sec-text { max-width: 65ch; margin-inline: auto; font-size: 15px; color: #526b69; }

/* 1. Keunggulan / Credentials Bar (Bawah Hero) */
.school-site .school-credentials { padding: 44px 0; background: #f8faf9; border-bottom: 1px solid #e5edea; }
.school-credentials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: center; }
.school-credential-item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; position: relative; }
.school-credential-item:not(:last-child)::after { content: ''; position: absolute; right: -12px; top: 15%; height: 70%; width: 1px; background: #dce7e3; }
.school-credential-icon { height: 52px; display: flex; align-items: center; justify-content: center; }
.school-credential-icon img { max-height: 52px; width: auto; object-fit: contain; }
.school-credential-title { font-size: 19px; font-weight: 600; color: #183638; margin: 0; line-height: 1.25; }

/* 2. Program / Mengapa Harus Kami */
.school-site .school-programs { padding: 76px 0; }
.school-programs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: stretch; margin-top: 44px; }
.school-program-card { background: #ffffff; border: 1px solid #e2ece9; border-radius: 16px; padding: 36px 30px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02); transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.school-program-card:hover { border-color: #427959; box-shadow: 0 10px 24px rgba(66, 121, 89, 0.08); transform: translateY(-2px); }
.school-program-icon { width: 62px; height: 62px; border-radius: 14px; background: #edf5f1; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.school-program-icon img { width: 38px; height: 38px; object-fit: contain; }
.school-program-title { font-size: 21px; font-weight: 600; color: #183638; margin: 0 0 14px; line-height: 1.3; }
.school-program-desc { font-size: 15px; line-height: 1.75; color: #465f5d; margin: 0; flex: 1; }

/* 3. Sambutan Kepala Sekolah */
.school-site .school-welcome { padding: 76px 0; background: #f8faf9; border-block: 1px solid #e5edea; }
.school-welcome-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: stretch; margin-top: 40px; }
.school-welcome-media { border-radius: 16px; overflow: hidden; background: #e6eee9; height: 100%; min-height: 380px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04); }
.school-welcome-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.school-welcome-text { background: #ffffff; border-radius: 16px; border: 1px solid #e2ece9; padding: 36px 36px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02); display: flex; flex-direction: column; justify-content: center; }
.school-welcome-text p { font-size: 15px; line-height: 1.85; color: #3e5654; margin-bottom: 16px; text-align: left !important; text-indent: 0 !important; }
.school-welcome-text p:last-child { margin-bottom: 0; }

/* 4. Kabar Sekolah (Atas Footer) */
.school-site .school-news { padding: 76px 0; }
.school-news .title-area { text-align: left !important; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.school-news .sec-title { margin: 0; }
.school-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; align-items: stretch; }
.school-news-card { background: #ffffff; border: 1px solid #e5edea; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02); transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.school-news-card:hover { border-color: #427959; box-shadow: 0 10px 24px rgba(66, 121, 89, 0.08); transform: translateY(-2px); }
.school-news-image { display: flex; align-items: center; justify-content: center; background: #edf4f1; overflow: hidden; aspect-ratio: 4 / 3; border-bottom: 1px solid #edf4f1; }
.school-news-image img { display: block; width: 100%; height: 100%; object-fit: contain; max-width: 100%; }
.school-news-copy { padding: 22px 22px 0 22px; min-width: 0; flex: 1; display: flex; flex-direction: column; }
.school-site .blog-date, .school-site .blog-meta { color: #526b69; font-size: 13px; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.school-site .blog-meta a { color: #526b69; }
.school-news-card .blog-title { font-size: 19px; font-weight: 600; line-height: 1.35; margin-bottom: 12px; }
.school-news-card .blog-title a, .school-list-copy h2 { color: #183638; }
.school-site .school-excerpt { font-size: 14px; line-height: 1.7; color: #48615f; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; flex: 1; }
.school-site .school-text-link { display: inline-flex; gap: 8px; align-items: center; color: #427959; font-weight: 600; font-size: 14px; }
.school-news-card .school-text-link { margin: auto 22px 20px 22px; padding-top: 14px; border-top: 1px solid #eef4f1; }
.school-site .school-news-list .pagination > li > a.page-link { color: #427959 !important; }
.school-site .school-news-list .pagination > li.active > a.page-link { background-color: #427959 !important; border-color: #427959 !important; color: #fff !important; }
.school-site .school-news-list .pagination > li > a.page-link:hover { background-color: #edf4f1; }
.school-site .school-news-list span.theme { color: #427959 !important; }
.school-site .breadcumb-wrapper { position: relative; padding: 38px 0; background: #f3f8f7 !important; }
.school-site .breadcumb-title { font-size: 34px; margin: 0 0 16px; letter-spacing: -.02em; }
.school-site .breadcumb-menu-wrap { margin: 0; padding: 0; background: none; border-radius: 0; }
.school-site .breadcumb-menu { margin: 0; padding: 14px 20px; background: #427959; }
.school-site .breadcumb-menu li, .school-site .breadcumb-menu a, .school-site .breadcumb-menu li::before { color: #fff; font-size: 14px; }
.school-article-list { display: grid; gap: 32px; margin-bottom: 36px; }
.school-list-item { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #d8e5e2; align-items: center; }
.school-list-copy { min-width: 0; }
.school-list-copy h2 { font-size: clamp(22px, 2.3vw, 28px); margin: 0 0 16px; max-width: 38ch; }
.school-list-copy .button.wr.action { padding: 0 !important; }
.school-site .school-article { max-width: 76ch; padding-right: 28px; }
.school-article .title { font-size: clamp(28px, 3.1vw, 42px); letter-spacing: -.025em; margin-bottom: 22px; }
.school-article-body { margin: 28px 0; font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; display: flow-root; }
.school-site .school-article-body p { font-size: 17px; line-height: 1.85; margin-bottom: 20px; }
.school-article-body :is(img, video, iframe, table) { max-width: 100% !important; }
.school-article-body img { height: auto !important; }
.school-article-body table { display: block; overflow-x: auto; }
.school-article-body a { color: #427959; }
.school-article-body :is(pre, blockquote) { white-space: pre-wrap; overflow-wrap: anywhere; }
.school-site .sidebar-area .widget { background: #f3f8f7; border-radius: 12px; padding: 28px; }
.school-site .sidebar-area .widget_title { font-size: 23px; padding-bottom: 16px; }
.school-site .widget_title::after { background: #427959; }
.school-site .recent-post { align-items: flex-start; gap: 16px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #d8e5e2; }
.school-site .recent-post:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.school-site .recent-post .media-img { width: 76px; flex: 0 0 76px; margin: 0; border-radius: 6px; background: #e4eeea; }
.school-site .recent-post .media-img img { width: 76px; height: 90px; object-fit: contain; }
.school-site .recent-post .post-title { font-size: 16px; line-height: 1.4; }
.school-site .recent-post-meta a { font-size: 12px; color: #526b69; }
.school-site .footer-layout3 { background: #427959; }
.school-site .footer-wrapper .widget-area { padding: 56px 0 20px; }
.school-site .footer-wrapper .widget_title { color: #fff; font-size: 22px; }
.school-site .footer-wrapper p, .school-site .footer-wrapper a { color: #e0efeb; font-size: 15px; }
.school-site .footer-wrapper .widget_title::after { background: #c5e6df; }
.school-site .footer-logo { max-width: 310px; }
.school-site .footer-wrapper .copyright-wrap { margin-top: 12px; padding-block: 24px; border-color: #528c8b; }
.school-site .vs-social a { background: #e0efeb; color: #427959; }
.school-site .scroll-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid #fff; border-radius: 50%; background: #427959; box-sizing: border-box; }
.school-site .scroll-btn::before { content: none; }
.school-site .scroll-btn i { width: auto; height: auto; line-height: 1; font-size: 18px; background: transparent; }
.school-site .scroll-btn:hover, .school-site .scroll-btn:focus-visible { background: #315c43; }
.school-site .scroll-btn:hover i, .school-site .scroll-btn:focus i { background: transparent; }
@media (max-width: 991px) {
  .school-programs-grid { grid-template-columns: 1fr; gap: 20px; }
  .school-welcome-layout { grid-template-columns: 1fr; gap: 28px; }
  .school-welcome-media { min-height: 280px; aspect-ratio: 16 / 9; }
  .school-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .school-site .school-article { max-width: none; padding: 0; margin-bottom: 36px; }
}
@media (max-width: 767px) {
  .school-credentials-grid { grid-template-columns: 1fr; gap: 24px; }
  .school-credential-item:not(:last-child)::after { display: none; }
  .school-credential-item { flex-direction: row; justify-content: center; gap: 16px; text-align: left; }
}
@media (max-width: 575px) {
  .school-site .school-hero-name { font-size: clamp(18px, 5.2vw, 24px); white-space: normal; }
  .school-site .container { padding-inline: 22px; }
  .school-site .space-top, .school-site .school-news-list { padding-top: 40px; }
  .school-site .space-extra-bottom, .school-site .school-news-list { padding-bottom: 40px; }
  .school-site .school-credentials { padding: 32px 0; }
  .school-site .school-programs, .school-site .school-welcome, .school-site .school-news { padding: 48px 0; }
  .school-news-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .school-news .title-area { align-items: flex-start; flex-direction: column; gap: 8px; }
  .school-welcome-text { padding: 24px; }
  .school-program-card { padding: 28px 24px; }
  .school-list-item { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .school-site .breadcumb-wrapper { padding-block: 28px; }
  .school-site .blog-meta a { margin-right: 12px; }
  .school-site .footer-wrapper .widget-area { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .school-site *, .school-site *::before, .school-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
