/*
WebSMA Custom Homepage Styles
Agar layout mirip demo.sitesch.id
*/
.websma-hero {
  width: 100%;
  min-height: 400px;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.websma-hero .websma-slideshow {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.websma-slideshow .slide {
  width: 100%;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e3eaf1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}
.websma-slideshow .slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}
.websma-slideshow .slide-caption {
  position: absolute;
  left: 40px;
  bottom: 40px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  max-width: 60%;
}
/* Blok galeri warna abu-abu */
.section-gallery {
  margin: 48px auto;
  max-width: 1200px;
  background: #f5f7fa;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 32px 24px;
}
.section-welcome, .section-agenda, .section-news, .section-testimoni {
  margin: 48px auto;
  max-width: 1200px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 32px 24px;
}
.section-agenda, .section-news, .section-guru, .section-fasilitas, .section-mapel, .section-ekskul, .section-gallery, .section-testimoni {
  margin: 48px auto;
  max-width: 1200px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 32px 24px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a237e;
}
.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #1a237e;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
.section-header h4 {
  margin: 4px 0 0 0;
  font-weight: 400;
  color: #607d8b;
  font-size: 1.08em;
}
.flex-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.sambutan-statistik-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: stretch;
}
.sambutan-col {
  flex: 0 1 60%;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.statistik-col {
  flex: 0 1 40%;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.statistik-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.statistik-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  padding: 8px 0;
  border-bottom: 1px solid #e3eaf1;
}
.stat-label {
  color: #607d8b;
  font-weight: 500;
}
.stat-value {
  font-weight: bold;
  color: #1a237e;
  font-size: 1.15em;
}
.news-list.grid, .agenda-list.grid, .gallery-list.grid, .testimoni-list.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.news-item.card, .agenda-item.card, .gallery-item.card, .testimoni-item.card {
  background: #f5f7fa;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  padding: 20px 18px;
  transition: box-shadow 0.2s;
}
.news-item.card:hover, .agenda-item.card:hover, .gallery-item.card:hover, .testimoni-item.card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.news-title, .agenda-title, .gallery-title, .testimoni-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.news-title, .agenda-title, .guru-title, .fasilitas-title, .mapel-title, .ekskul-title, .gallery-title, .testimoni-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.news-meta, .agenda-meta {
  font-size: 0.95rem;
  color: #607d8b;
  margin-bottom: 8px;
}
.news-excerpt, .agenda-excerpt {
  font-size: 1rem;
  color: #333;
}
.gallery-list img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}
.guru-list img, .fasilitas-list img, .gallery-list img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}
.guru-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
}
.testimoni-item.card {
  text-align: center;
}
.testimoni-quote {
  font-style: italic;
  color: #37474f;
  margin-bottom: 12px;
}
.testimoni-author {
  font-weight: bold;
  color: #1a237e;
}
.img-bulat {
  border-radius: 50% !important;
  object-fit: cover;
  width: 60px !important;
  height: 60px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  display: block;
}
.sambutan-text {
  flex: 1 1 auto;
}
.statistik-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
  margin-bottom: 8px;
}
.statistik-box {
  background: #f5f7fa;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  padding: 18px 10px;
  text-align: center;
  min-width: 90px;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.statistik-box .stat-value {
  font-size: 1.3em;
  font-weight: bold;
  color: #1a237e;
  margin-bottom: 4px;
}
.statistik-box .stat-label {
  color: #607d8b;
  font-size: 0.98em;
}
.btn-selengkapnya {
  display: inline-block;
  background: #1a237e;
  color: #fff !important;
  padding: 7px 22px;
  border-radius: 20px;
  font-size: 1em;
  margin-bottom: 0;
  text-decoration: none;
  margin-top: 0;
  transition: background 0.2s;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(26,35,126,0.08);
}
.btn-selengkapnya:hover {
  background: #3949ab;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
.section-header .section-title {
  margin-bottom: 0;
}
.section-header h4 {
  margin: 4px 0 0 0;
  font-weight: 400;
  color: #607d8b;
  font-size: 1.08em;
}
/* Penyesuaian CSS untuk Guru, Fasilitas, Mapel, Ekskul agar konsisten dengan blok lain */
.guru-list.grid, .fasilitas-list.grid, .mapel-list.grid, .ekskul-list.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.guru-item.card, .fasilitas-item.card, .mapel-item.card, .ekskul-item.card {
  background: #f5f7fa;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  padding: 20px 18px;
  transition: box-shadow 0.2s;
  text-align: center;
}
.guru-item.card:hover, .fasilitas-item.card:hover, .mapel-item.card:hover, .ekskul-item.card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.guru-title, .fasilitas-title, .mapel-title, .ekskul-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a237e;
}
.guru-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
}
.fasilitas-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}
@media (max-width: 800px) {
  .section-welcome, .section-agenda, .section-news, .section-gallery, .section-testimoni {
    padding: 18px 6px;
  }
  .websma-hero .websma-slideshow {
    max-width: 100%;
  }
  .statistik-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .sambutan-statistik-row {
    flex-direction: column;
    gap: 18px;
  }
  .sambutan-col, .statistik-col {
    min-width: 0;
    flex: 1 1 100%;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .btn-selengkapnya {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
  .section-agenda, .section-news, .section-guru, .section-fasilitas, .section-mapel, .section-ekskul, .section-gallery, .section-testimoni {
    padding: 18px 6px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .guru-list.grid, .fasilitas-list.grid, .mapel-list.grid, .ekskul-list.grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
