.group-intro-card {
  background: white;
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.group-intro-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 24px;
  color: #222;
}

.group-intro-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}

.more-link {
  color: #2f5e9e;
  cursor: pointer;
  font-weight: 500;
  margin-left: 8px;
}

.more-link:hover {
  text-decoration: underline;
}

.intro-divider {
  height: 1px;
  background: #dfe5ee;
  margin: 0 0 28px;
}

.intro-main {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.intro-left {
  width: 28%;
}

.teacher-photo {
  width: 72%;
  aspect-ratio: 3 / 4;
  background: #e9edf3;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #666;
  font-size: 18px;
  font-weight: 500;
  margin: 0 auto 20px;
}

.quick-links-card {
  width: 72%;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.quick-links-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 22px;
  color: #222;
}

.quick-links-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links-card li {
  margin-bottom: 12px;
}

.quick-links-card li:last-child {
  margin-bottom: 0;
}

.quick-links-card a {
  text-decoration: none;
  color: #2f5e9e;
  font-size: 16px;
}

.quick-links-card a:hover {
  text-decoration: underline;
}

.copy-email-btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: #2f5e9e;
  cursor: pointer;
  text-align: left;
}

.copy-email-btn:hover {
  text-decoration: underline;
}

.copy-email-btn.copied {
  color: #1d7fe0;
}

.copy-email-inline {
  color: #555;
}

.intro-right {
  width: 72%;
}

.teacher-basic {
  background: white;
  border-radius: 16px;
  padding: 28px 26px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.teacher-basic h2 {
  margin: 0 0 10px;
  font-size: 34px;
  color: #222;
}

.teacher-title,
.teacher-unit {
  margin: 8px 0;
  font-size: 18px;
  color: #555;
}

.info-card {
  background: white;
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 24px;
  color: #222;
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #e9edf3;
  color: #666;
  font-size: 12px;
  font-weight: 500;
}

.info-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-box {
  background: white;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.contact-box h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #222;
}

.contact-box p {
  margin: 0;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

/* éŽ®î„€ä» å¨´î†¼å§©éå Ÿç‰ */
.hover-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

/* æ££æ ­ã€‰å¯®åœ­ç¥ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  background: white;
  border-radius: 18px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: none;
  font-size: 30px;
  color: #666;
  cursor: pointer;
}

.close-btn:hover {
  color: #111;
}

.intro-modal-box {
  width: 92%;
  max-width: 980px;
  max-height: 85vh;
  overflow-y: auto;
  background: white;
  border-radius: 18px;
  padding: 36px 34px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.intro-modal-box h2 {
  margin: 0 0 16px;
  font-size: 28px;
  color: #222;
}

.intro-modal-box .modal-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}

@media (max-width: 900px) {
  .intro-main {
    flex-direction: column;
  }

  .intro-left,
  .intro-right {
    width: 100%;
  }

  .teacher-photo,
  .quick-links-card {
    width: 60%;
  }

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

.group-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.group-photo-placeholder {
  aspect-ratio: 4 / 3;
  background: #e9edf3;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .group-photo-row {
    grid-template-columns: 1fr;
  }
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08) translateX(7px);
  border-radius: 16px;
}
