/*
Theme Name: SMPN 169 Jakarta
Theme URI: https://example.com/smpn-169-jakarta
Author: Codex
Description: Template WordPress sekolah responsif bergaya dashboard resmi SMPN 169 Jakarta.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sekolah-ceria
Tags: education, school, custom-logo, featured-images, responsive-layout
*/

:root {
  --blue: #0754b8;
  --blue-dark: #003b8e;
  --orange: #ff7108;
  --orange-dark: #ef5600;
  --ink: #101827;
  --muted: #566070;
  --paper: #ffffff;
  --cream: #fff6e8;
  --line: #ead9bd;
  --soft-line: #edf0f5;
  --shadow: 0 16px 38px rgba(18, 38, 63, 0.14);
  --radius: 16px;
  --max: 1810px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, rgba(255, 137, 16, 0.16), transparent 34rem),
    linear-gradient(180deg, #fffdfa 0%, #fff4df 52%, #fff 100%);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(100% - 28px, var(--max));
  margin: 10px auto 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 137, 16, 0.42);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 12px 38px rgba(255, 113, 8, 0.13);
}

.site-container {
  width: min(100% - 64px, 1720px);
  margin-inline: auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #f1dfc1;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  min-height: 104px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 520px;
}

.brand-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 10px;
  flex: 0 0 auto;
}

.custom-logo-link img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 10px;
}

.site-title {
  display: block;
  margin: 0;
  color: var(--blue);
  font-size: 2.12rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.site-title span {
  color: var(--orange);
}

.site-description {
  display: block;
  margin: 7px 0 0;
  color: #253244;
  font-size: 1rem;
}

.primary-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu li {
  position: relative;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #070c16;
  font-size: 1rem;
  font-weight: 800;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  color: var(--blue);
}

.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 5px;
  background: var(--orange);
  border-radius: 999px;
  content: "";
}

.ppdb-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff8c10);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(255, 113, 8, 0.22);
  font-size: 1.08rem;
  font-weight: 900;
}

.ppdb-button svg {
  width: 34px;
  height: 34px;
  color: #fff;
  fill: currentColor;
  flex: 0 0 auto;
}

.mobile-menu-toggle {
  display: none;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ff8c10);
  border: 0;
  border-radius: 16px;
}

.mobile-menu-toggle span,
.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  display: block;
  width: 36px;
  height: 4px;
  background: #fff;
  border-radius: 99px;
  content: "";
}

.mobile-menu-toggle span::before {
  transform: translateY(-12px);
}

.mobile-menu-toggle span::after {
  transform: translateY(8px);
}

.mobile-drawer {
  display: none;
}

.hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 34%, rgba(255, 255, 255, 0.16) 58%),
    url("assets/school-building.svg") center right / cover no-repeat;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  content: "";
}

.hero::before {
  left: -90px;
  bottom: -105px;
  width: 55%;
  height: 210px;
  background: var(--orange);
  border-radius: 0 100% 0 0;
  transform: rotate(9deg);
}

.hero::after {
  right: -60px;
  bottom: -84px;
  width: 48%;
  height: 175px;
  background: var(--blue);
  border-top: 12px solid #fff;
  border-radius: 100% 0 0 0;
  transform: rotate(-8deg);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(410px, 565px) 1fr;
  align-items: center;
  min-height: 430px;
  padding-block: 42px 78px;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.hero-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 1.62rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 3.45vw, 4.2rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
}

.hero h1 strong {
  display: block;
  color: var(--blue);
  font-size: 1.12em;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  max-width: 560px;
  margin: 14px 0 0;
  font-size: 1.08rem;
}

.hero-emblem {
  justify-self: center;
  width: min(25vw, 225px);
  border-radius: 22px;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.18));
}

.quick-links {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(780px, calc(100% - 148px));
  margin-top: -92px;
  margin-left: 74px;
  margin-bottom: 24px;
}

.quick-link {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 9px;
  box-shadow: 0 12px 24px rgba(7, 84, 184, 0.22);
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1.28;
}

.quick-link:nth-child(odd) {
  background: linear-gradient(135deg, var(--orange), #ff8f12);
  box-shadow: 0 12px 24px rgba(255, 113, 8, 0.22);
}

.quick-link svg {
  width: 42px;
  height: 42px;
  color: #fff;
  fill: currentColor;
  flex: 0 0 auto;
}

.main-content {
  padding: 0 0 18px;
  background: linear-gradient(180deg, #fff8eb 0%, #fffdfa 100%);
}

.top-grid {
  display: grid;
  grid-template-columns: 1.95fr 0.95fr;
  gap: 24px;
  margin-top: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 148px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: #fff;
  background: radial-gradient(circle at 28% 24%, #2978e8, var(--blue));
  border-radius: 999px;
}

.stat-card:nth-child(even) .stat-icon {
  background: radial-gradient(circle at 28% 24%, #ff9a26, var(--orange));
}

.stat-icon svg {
  width: 42px;
  height: 42px;
  fill: currentColor;
}

.stat-label {
  color: #111827;
  font-size: 0.92rem;
  font-weight: 800;
}

.stat-number {
  display: block;
  margin-top: 2px;
  color: var(--blue);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.stat-card:nth-child(even) .stat-number {
  color: var(--orange);
}

.stat-desc {
  display: block;
  margin-top: 7px;
  font-size: 0.9rem;
}

.result-card {
  min-height: 242px;
  padding: 24px 300px 22px 30px;
  color: #fff;
  background:
    url("assets/graduation-card.svg") right center / auto 100% no-repeat,
    linear-gradient(135deg, #72b6ff, #3d94ee);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.result-card h2 {
  margin: 0;
  font-size: 1.82rem;
  line-height: 1.15;
}

.result-card p {
  margin: 10px 0 14px;
  max-width: 340px;
}

.result-form {
  display: grid;
  gap: 10px;
  width: min(100%, 300px);
}

.result-form input {
  min-height: 43px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.button,
.result-form button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border: 0;
  border-radius: 7px;
  font-weight: 900;
  cursor: pointer;
}

.guide-link {
  display: inline-block;
  margin-top: 12px;
  color: #053d88;
  font-weight: 800;
}

.section-row {
  display: grid;
  grid-template-columns: 0.92fr 1.68fr;
  gap: 24px;
  margin-top: 22px;
}

.panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel h2 {
  position: relative;
  margin: 0;
  padding-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.panel h2::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 3px;
  background: var(--orange);
  border-radius: 99px;
  content: "";
}

.see-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 14px;
  color: var(--orange-dark);
  border: 1px solid var(--orange);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.notice-list {
  display: grid;
  gap: 0;
}

.notice-item {
  display: grid;
  grid-template-columns: 58px 54px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  border-bottom: 1px solid #eadfce;
}

.notice-item:last-child {
  border-bottom: 0;
}

.date-box {
  display: grid;
  place-items: center;
  min-height: 56px;
  color: var(--orange-dark);
  background: #fff3e3;
  border-radius: 8px;
  font-weight: 950;
}

.date-box small {
  display: block;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 700;
}

.notice-mini-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--blue);
  background: #f5f7fb;
  border-radius: 8px;
}

.notice-mini-icon.is-orange {
  color: var(--orange);
}

.notice-mini-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.notice-item h3 {
  margin: 0 0 3px;
  font-size: 0.98rem;
  line-height: 1.2;
}

.notice-item p {
  margin: 0;
  color: #1f2937;
  font-size: 0.83rem;
}

.badge-new {
  padding: 5px 10px;
  color: #fff;
  background: var(--orange);
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 900;
}

.arrow-link {
  color: #111827;
  font-size: 1.7rem;
  line-height: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-card {
  position: relative;
  min-height: 158px;
  overflow: hidden;
  border-radius: 9px;
  background: #dce8f2;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 158px;
  object-fit: cover;
}

.gallery-card span {
  position: absolute;
  left: 0;
  bottom: 0;
  min-width: 156px;
  padding: 5px 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 0 9px 0 0;
  text-align: center;
  font-weight: 900;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 20px 0 22px;
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.96), rgba(255, 245, 224, 0.96)),
    url("assets/footer-city.svg") bottom center / 780px auto repeat-x;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 0.7fr 1fr;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 86px;
  border-radius: 10px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 8px;
  color: var(--orange-dark);
  font-size: 1.05rem;
}

.footer-brand h2 {
  color: var(--blue);
  font-size: 1.25rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.socials a:nth-child(1) {
  background: #e8468a;
}

.socials a:nth-child(2) {
  background: #ff2d24;
}

.socials a:nth-child(4) {
  background: #111827;
}

.content-area {
  padding: 54px 0;
}

.page-header {
  padding: 56px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.entry-content {
  max-width: 900px;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 84, 184, 0.96), rgba(0, 59, 142, 0.88)),
    url("assets/school-building.svg") center / cover no-repeat;
}

.subpage-hero::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 420px;
  height: 220px;
  background: var(--orange);
  border-radius: 100% 0 0 0;
  content: "";
}

.subpage-hero .site-container {
  position: relative;
  z-index: 1;
}

.subpage-kicker {
  margin: 0 0 10px;
  color: #ffd7a6;
  font-weight: 900;
  text-transform: uppercase;
}

.subpage-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.subpage-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.school-section {
  padding: 54px 0;
  background: linear-gradient(180deg, #fff8eb 0%, #fff 100%);
}

.school-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.school-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.school-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.school-card h2,
.school-card h3 {
  margin: 0 0 12px;
  color: var(--blue);
  line-height: 1.2;
}

.school-card p,
.school-card li {
  color: #253244;
}

.school-card ul,
.school-card ol {
  margin: 12px 0 0;
  padding-left: 20px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 16px;
  background: #fff7ec;
  border-left: 5px solid var(--orange);
  border-radius: 9px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #f0e1cb;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 240px;
  color: var(--blue);
  background: #fff4e4;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #e1d5c6;
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 280px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 84, 184, 0.88), rgba(255, 113, 8, 0.82)),
    url("assets/school-building.svg") center / cover no-repeat;
  border-radius: 14px;
  text-align: center;
  font-weight: 900;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.news-thumb {
  display: block;
  height: 170px;
  background:
    linear-gradient(135deg, rgba(255, 113, 8, 0.72), rgba(7, 84, 184, 0.72)),
    url("assets/school-building.svg") center / cover no-repeat;
}

.news-thumb-img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.news-card-body {
  padding: 20px;
}

.news-card h2,
.news-card h3 {
  margin: 0 0 10px;
  line-height: 1.25;
}

.news-meta {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 0.88rem;
  font-weight: 900;
}

.ppdb-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.timeline strong {
  color: var(--orange-dark);
}

.mobile-bottom-nav {
  display: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1200px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-navigation,
  .ppdb-button {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-drawer.is-open {
    display: block;
    padding: 0 32px 22px;
  }

  .mobile-drawer .primary-menu {
    display: grid;
    gap: 8px;
    justify-content: stretch;
  }

  .mobile-drawer .primary-menu a {
    width: 100%;
    padding: 10px 14px;
    background: #fff5e7;
    border-radius: 10px;
  }

  .top-grid,
  .section-row,
  .school-grid,
  .school-grid.two,
  .contact-layout,
  .news-grid,
  .ppdb-band {
    grid-template-columns: 1fr;
  }

  .quick-links {
    margin-left: 32px;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 92px;
    background: #f8f9fb;
  }

  .site-shell {
    width: calc(100% - 8px);
    margin-top: 4px;
    border-radius: 24px;
  }

  .site-container {
    width: min(100% - 48px, 760px);
  }

  .header-inner {
    min-height: 162px;
    gap: 18px;
  }

  .site-branding {
    min-width: 0;
    gap: 14px;
  }

  .brand-logo,
  .custom-logo-link img {
    width: 112px;
    height: 112px;
  }

  .site-title {
    font-size: clamp(2rem, 8vw, 3.05rem);
    line-height: 1.06;
  }

  .site-title span {
    display: block;
  }

  .site-description {
    max-width: 360px;
    font-size: clamp(1rem, 3.5vw, 1.35rem);
    line-height: 1.25;
  }

  .mobile-menu-toggle {
    width: 78px;
    height: 78px;
  }

  .hero {
    min-height: 475px;
    margin: 0 12px;
    border-radius: 24px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.75) 42%, rgba(255, 255, 255, 0.06) 74%),
      url("assets/school-building.svg") center right / cover no-repeat;
  }

  .hero::before {
    left: -80px;
    bottom: -92px;
    width: 70%;
    height: 150px;
  }

  .hero::after {
    right: -54px;
    bottom: -68px;
    width: 54%;
    height: 118px;
  }

  .hero-inner {
    display: block;
    min-height: 475px;
    padding: 72px 36px 56px;
  }

  .hero-kicker {
    font-size: clamp(1.35rem, 5vw, 2rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 9.2vw, 4.1rem);
    max-width: 420px;
  }

  .hero p {
    max-width: 430px;
    font-size: clamp(1.05rem, 3.6vw, 1.44rem);
  }

  .hero-emblem {
    position: absolute;
    top: 28px;
    left: 48%;
    width: min(28vw, 140px);
  }

  .quick-links {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    width: auto;
    margin: 30px 28px 0;
  }

  .quick-link {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 146px;
    padding: 18px 10px;
    border-radius: 16px;
    text-align: center;
    font-size: clamp(0.9rem, 3vw, 1.38rem);
  }

  .quick-icon {
    width: 52px;
    height: 52px;
  }

  .main-content {
    padding-top: 34px;
    background: #f8f9fb;
  }

  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .stat-card {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 292px;
    padding: 20px 14px;
    border: 0;
    border-radius: 18px;
    text-align: center;
  }

  .stat-icon {
    width: 96px;
    height: 96px;
  }

  .stat-icon svg {
    width: 54px;
    height: 54px;
  }

  .stat-label {
    font-size: clamp(0.92rem, 2.7vw, 1.22rem);
  }

  .stat-number {
    font-size: clamp(2rem, 6vw, 2.55rem);
  }

  .stat-desc {
    font-size: clamp(0.88rem, 2.6vw, 1.12rem);
  }

  .result-card {
    display: none;
  }

  .section-row {
    margin-top: 24px;
  }

  .panel {
    padding: 28px;
    border: 0;
    border-radius: 22px;
  }

  .panel h2 {
    font-size: clamp(1.45rem, 4.5vw, 2rem);
  }

  .see-all {
    border: 0;
    color: var(--blue);
    font-size: clamp(0.95rem, 3.2vw, 1.25rem);
  }

  .notice-item {
    grid-template-columns: 78px 64px 1fr auto;
    gap: 14px;
    min-height: 108px;
  }

  .date-box {
    min-height: 74px;
    font-size: 1.7rem;
  }

  .notice-mini-icon {
    width: 62px;
    height: 62px;
  }

  .notice-item h3 {
    font-size: clamp(1rem, 3.1vw, 1.28rem);
  }

  .notice-item p {
    font-size: clamp(0.82rem, 2.6vw, 1.05rem);
  }

  .gallery-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .gallery-card {
    flex: 0 0 33%;
    min-height: 134px;
    scroll-snap-align: start;
  }

  .gallery-card img {
    height: 134px;
  }

  .site-footer {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 4px;
    right: 4px;
    bottom: 4px;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    min-height: 78px;
    padding: 10px 16px 8px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e8edf4;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 -12px 30px rgba(17, 24, 39, 0.1);
  }

  .mobile-bottom-nav a {
    display: grid;
    place-items: center;
    gap: 3px;
    color: #6b7280;
    font-size: 0.88rem;
    font-weight: 700;
  }

  .mobile-bottom-nav a:first-child {
    color: var(--orange);
  }

  .mobile-bottom-nav svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

@media (max-width: 620px) {
  .site-container {
    width: min(100% - 34px, 560px);
  }

  .brand-logo,
  .custom-logo-link img {
    width: 82px;
    height: 82px;
  }

  .site-title {
    font-size: 2rem;
  }

  .site-description {
    font-size: 1rem;
  }

  .mobile-menu-toggle {
    width: 62px;
    height: 62px;
  }

  .hero-inner {
    padding: 54px 22px 42px;
  }

  .quick-links,
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card {
    min-height: 230px;
  }

  .notice-item {
    grid-template-columns: 62px 1fr auto;
  }

  .notice-mini-icon {
    display: none;
  }

  .gallery-card {
    flex-basis: 76%;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }
}
