/* Start custom CSS for html, class: .elementor-element-793f088 */.school-news {
  padding: 80px 8%;
  background: #f4f6fb;
}

.school-news h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 40px;
  color: #0b2a4a;
}

.news-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

.news-item {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.news-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item p {
  padding: 12px 14px;
  font-size: 14px;
  color: #333;
  background: #ffffff;
}

/* Size Variations */
.news-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.news-item.tall {
  grid-row: span 2;
}

.news-item.wide {
  grid-column: span 2;
}

/* Responsive */
@media (max-width: 992px) {
  .news-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .news-masonry {
    grid-template-columns: 1fr;
  }
}
/* ===== NEWS LIGHTBOX ===== */

.news-img {
  cursor: pointer;
}

.news-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.news-lightbox img {
  max-width: 92%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.news-lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 42px;
  color: #fff;
  cursor: pointer;
  font-weight: 300;
}

/* Mobile */
@media (max-width: 600px) {
  .news-lightbox-close {
    font-size: 34px;
    right: 18px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-8178af4 *//* ========== BULLETIN STYLES ========== */

.bulletin-section {
  padding: 70px 20px;
  background: #f9fafb;
}

.bulletin-container {
  max-width: 1200px;
  margin: auto;
}

.bulletin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.bulletin-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: transform 0.4s ease;
  cursor: pointer;
}

.bulletin-grid img:hover {
  transform: scale(1.06);
}

/* Mobile */
@media (max-width: 600px) {
  .bulletin-grid img {
    height: 220px;
  }
}

/* ========== LIGHTBOX STYLES ========== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox-img {
  max-width: 92%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* Close */
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 40px;
  color: #ffffff;
  cursor: pointer;
}

/* Arrows */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #ffffff;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #e5e7eb;
}

/* Mobile */
@media (max-width: 600px) {
  .lightbox-close { font-size: 32px; }
  .lightbox-prev,
  .lightbox-next { font-size: 34px; }
}/* End custom CSS */