/* module บุคคล ---------------Start-----------*/
/* module คณะกรรรมการสถานศึกษา ---------------Start---------------------------------------------*/
.committee {
  max-width: 1200px;
  margin: auto;
  padding: 30px;
}

/* หัวข้อ */

.committee-title {
  background: #2b78d0;
  color: #fff;

  text-align: center;

  font-size: 34px;

  font-weight: bold;

  padding: 18px;

  border-radius: 8px;

  margin-bottom: 40px;
}

/* ประธาน */

.chairman {
  display: flex;

  justify-content: center;

  margin-bottom: 25px;
}

.chairman-card {
  width: 220px;
}

/* พระ */

.monk-row {
  display: flex;

  justify-content: space-between;

  width: 70%;

  margin: 0 auto 50px auto;
}

/* กรรมการ */

.committee-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 40px;
}

/* สมาชิก */

.member {
  text-align: center;
}

/* รูป */

.member img {
  width: 160px;

  height: 200px;

  object-fit: cover;

  border: 8px solid #c79d4d;

  border-radius: 8px;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);

  background: #fff;
}

/* ชื่อ */

.name {
  font-size: 16px;

  font-weight: bold;

  margin-top: 12px;
}

/* ตำแหน่ง */

.position {
  font-size: 14px;

  color: #555;
}

/* Tablet */

@media (max-width: 992px) {
  .committee-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .monk-row {
    width: 100%;
  }
}

/* Mobile */

@media (max-width: 700px) {
  .chairman {
    margin-bottom: 30px;
  }

  .monk-row {
    flex-direction: column;

    align-items: center;

    gap: 30px;
  }

  .committee-grid {
    grid-template-columns: 1fr;
  }

  .member img {
    width: 150px;

    height: 190px;
  }

  .committee-title {
    font-size: 24px;
  }
}
/* module คณะกรรรมการสถานศึกษา ---------------End-----------*/
/* module บุคคล ---------------End-----------*/

/* module ประกันคุณภาพ ---------------Start-----------*/
.download-box{
    background:#fff;
    border-radius:10px;
    padding:15px;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}

.download-box h4{
    color:#0d6efd;
    margin-bottom:15px;
    text-align:center;
}

.download-box a{
    display:block;
    padding:10px;
    margin:8px 0;
    background:#f5f5f5;
    border-radius:6px;
    text-decoration:none;
    color:#333;
    transition:.3s;
}

.download-box a:hover{
    background:#0d6efd;
    color:#fff;
}
/* module ประกันคุณภาพ ---------------End-----------*/
/* -- ========================= ติดต่อโรงเรียน ========================= */
.school-contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: Tahoma, Arial, sans-serif;
  color: #333;
}

.school-contact-title {
  text-align: center;
  margin-bottom: 35px;
}

.school-contact-title h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 700;
  color: #1f4e79;
}

.school-contact-title p {
  margin: 0;
  color: #666;
  font-size: 16px;
}

/* Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

/* Left */
.contact-info {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: 25px;
  color: #1f4e79;
  font-size: 24px;
  border-bottom: 2px solid #1f4e79;
  padding-bottom: 12px;
}

/* Contact item */
.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.contact-icon {
  width: 38px;
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1f4e79;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-text strong {
  display: block;
  color: #555;
  margin-bottom: 3px;
}

.contact-text a {
  color: #1f4e79;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

/* Social Media */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.social-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  background: #f2f2f2;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.social-links a:hover {
  background: #1f4e79;
  color: white;
}

/* Google Maps */
.contact-map {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-map h3 {
  margin: 0;
  padding: 20px 25px;
  background: #1f4e79;
  color: white;
  font-size: 22px;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .school-contact {
    padding: 25px 15px;
  }

  .school-contact-title h2 {
    font-size: 26px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info {
    padding: 20px;
  }

  .contact-map {
    min-height: 400px;
  }

  .map-container,
  .map-container iframe {
    min-height: 400px;
  }
}
/* -- ========================= End ติดต่อโรงเรียน ========================= */