h2 {
  font-size: 36px;
  font-weight: 300;
}

.homepage-body {
  background-color: #e2f8ff;
  margin: 0;
  padding: 0;
}

.school-summary .richtext-content img {
  float: right;
  margin: 1rem;
  max-width: 45%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 700px) {
  .school-summary .richtext-content img {
    float: none;
    display: block;
    margin: 1rem auto;
    max-width: 100%;
  }
}

.news-and-events-section {
  padding: 2rem;
  width: 80vw;
  max-width: 80vw;
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px;
}

.secondary-btn {
  padding: 8px 24px;
  background: transparent;
  color: #0080a5 !important;
  border: 1px solid #0080a5;
  border-radius: 128px;
  font-size: 20px;
  font-weight: 200;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.secondary-btn:hover {
  background: #0080a5;
  color: #ffffff !important;
}

.notice-list-item {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.notice-list-item:hover {
  box-shadow: 0 8px 24px rgba(0, 128, 165, 0.18),
    0 1.5px 6px rgba(0, 0, 0, 0.08);
}

.notice-list-item-title {
  color: #003342;
  font-size: 24px;
  font-weight: 200;
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  transition: transform 0.2s;
}

.notice-list-item-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #0080a5;
  transition: width 0.2s;
}

.notice-list-item:hover .notice-list-item-title {
  transform: translateX(8px);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice-list-item:hover .notice-list-item-title::after {
  width: 100%;
}

.notice-list-item-date {
  color: #003342;
  font-size: 24px;
  font-weight: 500;
}

.primary-btn {
  padding: 8px 24px;
  background: #0080a5;
  color: #ffffff !important;
  border: 1px solid #0080a5;
  border-radius: 128px;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.primary-btn:hover {
  background: #005e7a;
  color: #ffffff !important;
  border-color: #005e7a;
}

.secondary-btn-white {
  padding: 8px 24px;
  background: #fff;
  color: #0080a5 !important;
  border: 1px solid #0080a5;
  border-radius: 128px;
  font-size: 20px;
  font-weight: 200;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.secondary-btn-white:hover {
  background: #e2f8ff;
  color: #005e7a !important;
  border-color: #005e7a;
}

.carousel-indicators {
  color: white;
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  display: flex;
  gap: 8px;
  z-index: 3;
}
