/* home.css — หน้าแรก: css/index.css เดิม + style แผนที่ใน index.php เดิม */
/* =========================================================
   HOME PAGE STYLES
   โครงสร้างหลักของหน้า:
   1) Shared Section Title
   2) Hero Section
      - Hero Layout
      - Hero Left Content
      - Hero Right Panel
      - Hero Stats
   3) Systems Section
   4) News Section
   5) Responsive
========================================================= */


/* =========================================================
   1) SHARED SECTION TITLE
   ใช้ร่วมกันหลาย section เช่น Systems / News
   ---------------------------------------------------------
   หากต้องการปรับ:
   - ขนาดหัวข้อ section    => .section-title h2
   - ขนาดคำอธิบาย section => .section-title p
========================================================= */
.section-title {
  margin-bottom: 18px;
}

.section-title h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.1px;
  color: #123c73;
}

.section-title p {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: #6b7280;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 10px;
  background: #2f6fbe;
  border-radius: 2px;
}

/* =========================================================
   2) HERO SECTION
   ส่วนบนสุดของหน้าแรก
   ---------------------------------------------------------
   จุดแก้ไขสำคัญ:
   - ความสูง/ระยะห่าง section hero        => .home-hero { padding: ... }
   - ขนาดหัวข้อใหญ่ hero                  => .hero-title { font-size: ... }
   - ขนาดคำอธิบายใต้หัวข้อ                => .hero-desc
   - ปุ่มใน hero                           => .btn-home-primary / .btn-home-secondary
========================================================= */

/* ---------- 2.1 Hero Layout / Background ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 36px;
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.16), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(245, 158, 11, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.07);
  filter: blur(12px);
}

.home-hero::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.10);
  filter: blur(10px);
}

.hero-wrap {
  position: relative;
  z-index: 2;
}

/* ---------- 2.2 Hero Left Content ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.52rem 0.95rem;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  color: #1d4f91;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-title {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #0f2747;
}

.hero-title .text-highlight {
  display: inline-block;
  color: #2563eb;
}

.hero-desc {
  max-width: 700px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
  color: #5b6b82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.btn-home-primary,
.btn-home-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.22s ease;
  font-weight: 500;
}

.btn-home-primary {
  border: none;
  background: linear-gradient(135deg, #123c73, #2563eb);
  color: #fff;
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.22);
}

.btn-home-primary:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-home-secondary {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  color: #123c73;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.btn-home-secondary:hover {
  color: #123c73;
  background: #f8fbff;
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #526277;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-meta i {
  color: #2563eb;
}

/* ---------- 2.3 Hero Right Panel ---------- */
.hero-panel {
  position: relative;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-panel-kicker {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #2f6fbe;
}

.hero-panel-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  color: #111827;
}

.hero-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.hero-panel-main {
  margin-bottom: 1rem;
  padding: 1.1rem 1rem;
  background: linear-gradient(135deg, #123c73 0%, #2563eb 100%);
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.20);
}

.hero-panel-main-number {
  margin-bottom: 0.35rem;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}

.hero-panel-main-label {
  margin-bottom: 0.35rem;
  font-size: 0.96rem;
  font-weight: 500;
}

.hero-panel-main-text {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.hero-panel-list {
  display: grid;
  gap: 0.8rem;
}

.hero-panel-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
}

.hero-panel-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(96, 165, 250, 0.18));
  color: #123c73;
  font-size: 1rem;
}

.hero-panel-item h6 {
  margin: 0 0 0.18rem;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
  color: #0f2747;
}

.hero-panel-item p {
  margin: 0;
  font-size: 0.87rem;
  font-weight: 400;
  line-height: 1.7;
  color: #66758b;
}

/* ---------- 2.4 Hero Stats ---------- */
.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 26px;
}

.hero-stats-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.hero-stat {
  padding: 1rem 1rem 0.95rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-stat-number {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  color: #0f2747;
}

.hero-stat-label {
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #334155;
}

.hero-stat-text {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.65;
  color: #64748b;
}


/* =========================================================
   4) NEWS SECTION
   ส่วนข่าวประชาสัมพันธ์
   ---------------------------------------------------------
   หากต้องการปรับ:
   - ระยะห่าง section      => .home-news
   - เส้นใต้หัวข้อข่าว      => .home-news .section-title h2::after
   - ขนาดรูปข่าว            => .news-image
   - ขนาดชื่อข่าว/ข้อความ   => .news-title / .news-excerpt
========================================================= */
.home-news {
  padding: 70px 0;
  background: #ffffff;
}

.news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.news-card:hover .news-title {
  color: #1d4f91;
}

.news-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6fb;
  border-bottom: 1px solid #eef2f7;
}

.news-image img {
  display: block;
  max-width: 70%;
  max-height: 90%;
  object-fit: contain;
}

.news-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.news-date {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}

.news-title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #111827;
  transition: color 0.2s ease;
}

.news-excerpt {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: #4b5563;
}

.news-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #2f6fbe;
  text-decoration: none;
}

.news-link i {
  font-size: 12px;
}

.news-more-wrap {
  text-align: center;
  margin-top: 28px;
}

.news-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid #cdd9ee;
  border-radius: 999px;
  background: #fff;
  color: #1d4f91;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.news-all-btn:hover {
  background: #f4f8ff;
  border-color: #9ebae6;
  color: #163f74;
}


/* =========================================================
   3) SYSTEMS SECTION
   ส่วนแสดงระบบงานย่อย
   ---------------------------------------------------------
   หากต้องการปรับ:
   - ระยะห่างบน-ล่าง section => .home-systems
   - จำนวนคอลัมน์การ์ด       => .systems-grid
   - ขนาดการ์ด                => .system-card
   - ขนาดไอคอน               => .system-icon
========================================================= */
.home-systems {
  padding: 70px 0;
  background: #f7f9fc;
}

.systems-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.system-card {
  position: relative;
  padding: 22px;
  background: #fff;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  color: #222;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.system-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.system-icon {
  margin-bottom: 12px;
  font-size: 26px;
  color: #2f6fbe;
}

.system-name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.1px;
}

.system-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  background: #e6e6e6;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

.system-badge.active {
  background: #e3f4e8;
  color: #2e8b57;
}


/* =========================================================
   5) RESPONSIVE
   ปรับการแสดงผล Tablet / Mobile
   ---------------------------------------------------------
   หากมือถือ spacing แปลก ให้มาเช็กตรงนี้ก่อน
========================================================= */

/* ---------- 5.1 Tablet / Notebook ---------- */
@media (max-width: 1199.98px) {
  .home-hero {
    padding: 72px 0 30px;
  }

  .hero-panel {
    margin-top: 1rem;
  }

  .hero-stats-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 5.2 Mobile ---------- */
@media (max-width: 767.98px) {
  .home-hero {
    padding: 56px 0 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-home-primary,
  .btn-home-secondary {
    width: 100%;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.55rem;
  }

  .hero-panel {
    padding: 1rem;
    border-radius: 24px;
  }

  .hero-panel-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats-wrap {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .hero-stat {
    border-radius: 18px;
  }

  .home-systems,
  .home-news {
    padding: 56px 0;
  }

  .systems-grid {
    gap: 14px;
  }

  .news-image {
    height: 150px;
  }

  .news-all-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- 2.3.5 New Slider Styles ---------- */
.hero-slider-wrap {
  border-radius: 0;
  box-shadow: none !important;
  border: none;
  background: #000;
}

.hero-slide-img {
  height: 75vh;
  min-height: 600px;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item.active .hero-slide-img {
  transform: scale(1.05); /* Gentle Ken Burns zoom effect */
}

/* Dark gradient overlay for text readability */
.carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 39, 71, 0.85) 0%, rgba(15, 39, 71, 0.1) 60%, transparent 100%);
  border-radius: 0;
  pointer-events: none;
}

.slider-caption-premium {
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem 2.5rem;
  text-align: left;
  z-index: 2;
}

.slider-caption-premium .slide-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.01em;
  transform: translateY(20px);
  opacity: 0;
  animation: slideFadeUp 0.8s forwards 0.3s;
}

.slider-caption-premium .slide-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  font-weight: 300;
  line-height: 1.6;
  transform: translateY(20px);
  opacity: 0;
  animation: slideFadeUp 0.8s forwards 0.5s;
}

@keyframes slideFadeUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.premium-control-icon {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  padding: 1.5rem;
  background-size: 40%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-control-prev:hover .premium-control-icon,
.carousel-control-next:hover .premium-control-icon {
  background-color: rgba(37, 99, 235, 0.8);
  border-color: rgba(37, 99, 235, 1);
  transform: scale(1.1);
}

.premium-indicators {
  margin-bottom: 1.5rem;
  z-index: 3;
}

.premium-indicators button {
  width: 32px !important;
  height: 4px !important;
  border-radius: 4px !important;
  background-color: rgba(255, 255, 255, 0.4) !important;
  border: none !important;
  transition: all 0.3s ease !important;
  margin: 0 4px !important;
}

.premium-indicators button.active {
  width: 48px !important;
  background-color: #f59e0b !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}
/* ---- map ---- */
        #pcshs-province-map {
          width: 100vw;
          margin-left: calc(50% - 50vw);
          margin-right: calc(50% - 50vw);
          position: relative;
          padding: 84px 0 86px;
          background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 60%, #ffffff 100%);
          overflow: hidden;
        }

        #pcshs-province-map .pn-wrap {
          max-width: 100%;
          margin: 0 auto;
          padding-left: 0 !important;
          padding-right: 0 !important;
        }

        #pcshs-province-map .pn-header {
          display: flex;
          align-items: flex-start;
          gap: 14px;
          margin-bottom: 10px;
        }

        #pcshs-province-map .pn-badge {
          flex: 0 0 auto;
          width: 44px;
          height: 44px;
          border-radius: 14px;
          display: grid;
          place-items: center;
          background: rgba(13, 110, 253, .10);
          border: 1px solid rgba(13, 110, 253, .18);
          box-shadow: 0 10px 25px rgba(13, 110, 253, .10);
        }

        #pcshs-province-map .pn-badge i {
          font-size: 1.2rem;
          color: #0d6efd;
        }

        #pcshs-province-map .pn-title h2 {
          margin: 0;
          font-size: 1.55rem;
          font-weight: 800;
          letter-spacing: .2px;
          color: #121826;
        }

        #pcshs-province-map .pn-title .pn-th {
          margin: 4px 0 0;
          color: #5b6472;
          font-size: .98rem;
        }

        #pcshs-province-map .row.align-items-stretch>[class*="col-"] {
          display: flex;
        }

        #pcshs-province-map .map-card,
        #pcshs-province-map .pn-right {
          width: 100%;
          height: 100%;
        }

        #pcshs-province-map .map-card {
          position: relative;
          background: #fff;
          border-radius: 18px;
          box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
          padding: 18px;
          display: flex;
          flex-direction: column;
        }

        #pcshs-province-map .map-stage {
          flex: 1 1 auto;
          height: auto;
          min-height: 780px;
          border-radius: 14px;
          overflow: hidden;
          background: #f1f5f9;
        }

        #pcshs-province-map .map-tooltip {
          position: absolute;
          z-index: 9999;
          background: rgba(255, 255, 255, .96);
          border-radius: 12px;
          padding: 9px 12px;
          box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
          font-weight: 900;
          font-size: 13px;
          color: #0b3f86;
          pointer-events: none;
          white-space: nowrap;
          transform: none !important;
        }

        #pcshs-province-map .map-tooltip:after {
          content: "";
          position: absolute;
          left: 14px;
          width: 0;
          height: 0;
          border: 8px solid transparent;
        }

        #pcshs-province-map .map-tooltip[data-pos="up"]:after {
          bottom: -16px;
          border-top-color: rgba(255, 255, 255, .96);
        }

        #pcshs-province-map .map-tooltip[data-pos="down"]:after {
          top: -16px;
          border-bottom-color: rgba(255, 255, 255, .96);
        }

        #pcshs-province-map .np-pin-wrap {
          background: transparent;
          border: none;
        }

        #pcshs-province-map .np-pin {
          width: 14px;
          height: 14px;
          border-radius: 999px;
          background: #ff3b63;
          border: 2px solid #fff;
          box-shadow: 0 12px 24px rgba(255, 59, 99, .25);
        }

        #pcshs-province-map .school-tooltip {
          position: absolute;
          z-index: 10000;
          width: 336px;
          background: rgba(255, 255, 255, .98);
          border-radius: 18px;
          box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
          border: 1px solid rgba(148, 163, 184, .35);
          overflow: hidden;
          transform: none !important;
          pointer-events: none;
        }

        #pcshs-province-map .school-tooltip.is-pinned {
          pointer-events: auto;
        }

        #pcshs-province-map .school-tip-cover {
          height: 160px;
          background: linear-gradient(135deg, #0b3f86, #1e3a8a);
          display: flex;
          align-items: center;
          justify-content: center;
          color: #fff;
          position: relative;
        }

        #pcshs-province-map .school-tip-cover img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          display: block;
        }

        #pcshs-province-map .school-tip-overlay {
          position: absolute;
          inset: 0;
          background: linear-gradient(180deg, rgba(2, 6, 23, .06), rgba(2, 6, 23, .52));
        }

        #pcshs-province-map .tip-close {
          position: absolute;
          top: 10px;
          left: 10px;
          width: 34px;
          height: 34px;
          border-radius: 12px;
          border: 1px solid rgba(255, 255, 255, .45);
          background: rgba(2, 6, 23, .28);
          color: #fff;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          z-index: 99999;
          pointer-events: auto;
          box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
        }

        #pcshs-province-map .tip-close:hover {
          background: rgba(2, 6, 23, .40);
        }

        #pcshs-province-map .badge-ui {
          position: absolute;
          top: 12px;
          padding: 5px 9px;
          border-radius: 999px;
          font-size: .72rem;
          font-weight: 700;
          line-height: 1;
          display: inline-flex;
          align-items: center;
          gap: .4rem;
          max-width: 82%;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          backdrop-filter: blur(8px);
          z-index: 3;
        }

        #pcshs-province-map .badge-country {
          right: 12px;
          background: rgba(255, 255, 255, .88);
          border: 1px solid rgba(13, 110, 253, .55);
          color: #0d6efd;
        }

        #pcshs-province-map .badge-country i {
          color: #0d6efd;
          font-size: .9rem;
        }

        #pcshs-province-map .school-tip-body {
          padding: 14px;
        }

        #pcshs-province-map .school-name {
          font-weight: 950;
          color: #0b3f86;
          font-size: 15px;
          line-height: 1.35;
          margin: 0 0 10px;
          display: flex;
          gap: 10px;
          align-items: flex-start;
        }

        #pcshs-province-map .school-meta {
          display: grid;
          gap: 8px;
        }

        #pcshs-province-map .meta-row {
          display: flex;
          gap: 10px;
          align-items: flex-start;
          color: #334155;
          font-size: 13px;
          line-height: 1.45;
        }

        #pcshs-province-map .meta-row i {
          width: 18px;
          margin-top: 2px;
          color: #0b3f86;
          opacity: .95;
        }

        #pcshs-province-map .meta-row b {
          color: #475569;
          font-weight: 900;
          margin-right: 6px;
        }

        #pcshs-province-map .school-web-link {
          display: inline-flex;
          align-items: center;
          gap: 8px;
          padding: 8px 12px;
          border-radius: 10px;
          background: rgba(13, 110, 253, .08);
          border: 1px solid rgba(13, 110, 253, .16);
          color: #0d6efd;
          font-weight: 800;
          text-decoration: none;
          transition: .2s ease;
        }

        #pcshs-province-map .school-web-link:hover {
          background: #0d6efd;
          color: #fff;
          transform: translateY(-1px);
        }

        #pcshs-province-map .school-footer {
          display: flex;
          align-items: center;
          justify-content: space-between;
          border-top: 1px solid #eef2f7;
          padding: 10px 14px;
          background: linear-gradient(180deg, #ffffff, #fbfdff);
          color: #64748b;
          font-size: 12px;
          font-weight: 900;
        }

        #pcshs-province-map .school-footer .tag {
          display: inline-flex;
          gap: 6px;
          align-items: center;
          padding: 5px 10px;
          border-radius: 999px;
          background: rgba(11, 63, 134, .08);
          color: #0b3f86;
          border: 1px solid rgba(11, 63, 134, .14);
        }

        #pcshs-province-map .school-footer .tag i {
          color: #0b3f86;
        }

        #pcshs-province-map .pn-right {
          position: relative;
        }

        #pcshs-province-map .pn-card {
          background: rgba(255, 255, 255, .78);
          border-radius: 18px;
          padding: 18px;
          box-shadow: 0 16px 40px rgba(16, 24, 40, .08);
          backdrop-filter: blur(10px);
        }

        #pcshs-province-map .pn-list-title {
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 10px;
          margin-bottom: 10px;
        }

        #pcshs-province-map .pn-list-title h4 {
          margin: 0;
          font-size: 1.05rem;
          font-weight: 900;
          color: #111827;
        }

        #pcshs-province-map .pn-chip {
          font-size: .78rem;
          font-weight: 800;
          color: #0d6efd;
          background: rgba(13, 110, 253, .10);
          border: 1px solid rgba(13, 110, 253, .18);
          padding: 6px 10px;
          border-radius: 999px;
          white-space: nowrap;
        }

        #pcshs-province-map .pn-mini {
          margin: 0 0 12px;
          color: #5b6472;
          line-height: 1.6;
          font-size: .95rem;
        }

        #pcshs-province-map .pn-points {
          margin-top: 10px;
          display: grid;
          gap: 10px;
        }

        #pcshs-province-map .pn-point {
          display: flex;
          gap: 10px;
          align-items: flex-start;
          padding: 12px;
          border-radius: 14px;
          background: rgba(255, 255, 255, .72);
          border: 1px solid rgba(17, 24, 39, .10);
        }

        #pcshs-province-map .pn-point i {
          font-size: 1.05rem;
          color: #0d6efd;
          margin-top: 2px;
        }

        #pcshs-province-map .pn-point b {
          display: block;
          color: #111827;
          font-weight: 800;
          margin-bottom: 2px;
        }

        #pcshs-province-map .pn-point span {
          color: #5b6472;
          line-height: 1.55;
          display: block;
        }

        #pcshs-province-map .pn-stats {
          margin-top: 14px;
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 12px;
        }

        #pcshs-province-map .pn-stat {
          border-radius: 16px;
          padding: 12px;
          background: rgba(255, 255, 255, .78);
          border: 1px solid rgba(17, 24, 39, .10);
          display: flex;
          gap: 10px;
          align-items: center;
        }

        #pcshs-province-map .pn-stat .icon {
          width: 38px;
          height: 38px;
          border-radius: 14px;
          display: grid;
          place-items: center;
          background: rgba(13, 110, 253, .10);
          border: 1px solid rgba(13, 110, 253, .18);
        }

        #pcshs-province-map .pn-stat .icon i {
          color: #0d6efd;
        }

        #pcshs-province-map .pn-stat .num {
          font-weight: 950;
          font-size: 1.05rem;
          color: #111827;
          line-height: 1.1;
        }

        #pcshs-province-map .pn-stat .label {
          color: #5b6472;
          font-size: .85rem;
          margin-top: 2px;
        }

        #pcshs-province-map .pn-badge-card {
          background: #fff;
          border-radius: 16px;
          padding: 22px;
          box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
        }

        #pcshs-province-map .pn-badge-title {
          font-size: 17px;
          font-weight: 600;
          color: #0b3f86;
          margin: 0 0 12px;
        }

        #pcshs-province-map .pn-badge-grid {
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 12px;
        }

        #pcshs-province-map .pn-badge-item {
          display: flex;
          align-items: center;
          justify-content: flex-start;
          gap: 8px;
          width: 100%;
          padding: 10px 14px;
          border-radius: 999px;
          background: rgba(11, 63, 134, .08);
          color: #0b3f86;
          font-size: 13px;
          font-weight: 500;
          text-align: left;
          transition: .2s ease;
          white-space: nowrap;
        }

        #pcshs-province-map .pn-badge-item i {
          font-size: 14px;
        }

        #pcshs-province-map .pn-badge-item:hover {
          background: #0b3f86;
          color: #fff;
          transform: translateY(-2px);
        }

        #pcshs-province-map .pn-badge-foot {
          display: flex;
          align-items: center;
          gap: 10px;
          margin-top: 14px;
          padding-top: 12px;
          border-top: 1px solid rgba(0, 0, 0, .06);
          color: #64748b;
          font-size: 13px;
        }

        #pcshs-province-map .pn-badge-foot i {
          color: #0b3f86;
          font-size: 14px;
        }

        @media (max-width: 768px) {
          #pcshs-province-map {
            padding: 70px 0 72px;
          }

          #pcshs-province-map .map-stage {
            min-height: 600px;
          }

          #pcshs-province-map .school-tooltip {
            width: 290px;
          }
        }

        @media (max-width: 576px) {
          #pcshs-province-map .pn-stats {
            grid-template-columns: 1fr;
          }

          #pcshs-province-map .pn-badge-grid {
            grid-template-columns: 1fr;
          }

          #pcshs-province-map .pn-badge-item {
            white-space: normal;
          }
        }
