/* Container styling structured like nrc2025 */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
}

main h1 {
  font-size: 2rem;
  color: #111111;
  margin-top: 10px;
  margin-bottom: 25px;
  line-height: 1.3;
}

p {
  margin-top: 12px;
  margin-bottom: 12px;
  color: #333333;
}

/* Image container and image styling */
#imgCnt {
  width: 100%;
  text-align: center;
  margin: 20px 0;
}

#teachers {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  border: none;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Section block styling */
.ctx {
  width: 100%;
  margin: 30px 0;
  padding: 0;
  box-sizing: border-box;
}

.ctx h2 {
  font-size: 1.5rem;
  color: #111111;
  margin-top: 25px;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid #eaeaea;
}

.ctx p {
  color: #444444;
}

/* Link styling */
.ctx a {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.ctx a:hover {
  text-decoration: underline;
}

/* Responsive adjustment for mobile screens */
@media (max-width: 600px) {
  main {
    padding: 15px;
  }

  main h1 {
    font-size: 1.6rem;
  }

  .ctx h2 {
    font-size: 1.3rem;
  }
}