/* Slate minimal: compact masthead, quiet typography and border-led sections. */
body {
  background: #f7f8fa;
}

.main-navbar {
  position: sticky;
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid #cbd5e1;
}

.hero-carousel-section,
.carousel-container {
  height: 48vh;
  min-height: 340px;
}

.carousel-image img {
  filter: brightness(0.52) grayscale(0.25);
}

.carousel-content {
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.38));
  border-top: 2px solid var(--accent-color);
}

.main-content {
  padding-top: 1rem;
}

.section-card,
.news-item-card,
.contact-card {
  border-radius: 0;
  box-shadow: none;
}

.section-card {
  border: 0;
  border-bottom: 1px solid #cbd5e1;
  background: transparent;
}

.section-header {
  background: transparent;
  border-bottom: 1px solid #cbd5e1;
  padding-left: 0;
  padding-right: 0;
}

.section-header .section-title {
  color: #1e293b !important;
}

.section-content {
  padding-left: 0;
  padding-right: 0;
}

.news-item-card {
  border-bottom: 1px solid #cbd5e1;
  background: transparent;
}

.footer-section {
  background: #1e293b !important;
  border-top: 4px solid var(--accent-color);
}

@media (max-width: 767px) {
  .hero-carousel-section,
  .carousel-container {
    height: 42vh;
    min-height: 300px;
  }
}

/* Minimal reading room: flat news rows, fine rules and quiet search/filter controls. */
.home-section {
  padding-top: 2rem;
}

.home-section .row {
  --bs-gutter-x: 2rem;
}

.home-section .section-card,
.sidebar-section .section-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-section .section-header {
  border-bottom: 2px solid var(--primary-color);
}

.news-item-card,
.news-card-modern,
.gallery-card,
.staff-card {
  border: 0;
  border-bottom: 1px solid #cbd5e1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.news-item-card:hover,
.news-card-modern:hover,
.gallery-card:hover,
.staff-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
  border-color: var(--primary-color);
}

.news-item-image-small,
.news-image {
  height: 175px;
}

.sidebar-section .section-header {
  padding-left: 0;
  border-bottom: 2px solid var(--accent-color);
}

.sidebar-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid #cbd5e1;
}

.announcement-item,
.agenda-item,
.document-item {
  border: 0;
  border-bottom: 1px solid #cbd5e1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.announcement-item:hover,
.agenda-item:hover,
.document-item:hover {
  transform: translateX(5px);
  box-shadow: none;
}

.detail-container,
.page-container,
.album-detail-container,
.contact-card {
  border: 0;
  border-top: 2px solid var(--primary-color);
  border-radius: 0;
  box-shadow: none;
}

.staff-section .section-content,
.gallery-section .section-content {
  background: #fff;
}

.staff-card {
  padding: 1.25rem;
}

.staff-image img {
  border-radius: 0.75rem;
}

/* Text-first digest: a quiet, full-width news ledger with thumbnail rail. */
.home-section .latest-news-section .section-content-news > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
}

.home-section .latest-news-section .section-content-news > .row > [class*="col-"] {
  width: auto;
  padding: 0;
}

.home-section .latest-news-section .section-content-news > .row > [class*="col-"] .news-item-card {
  display: grid;
  grid-template-columns: minmax(100px, 0.28fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  min-height: 150px;
  margin: 0;
  padding: 1.2rem 0;
  border: 0;
  border-bottom: 1px solid #cbd5e1;
}

.home-section .latest-news-section .section-content-news > .row > [class*="col-"] .news-item-image-small {
  width: 100%;
  height: 105px;
  border-radius: 0.5rem;
}

.home-section .latest-news-section .section-content-news > .row > [class*="col-"] .news-item-content-small {
  padding: 0;
}

.home-section .latest-news-section .section-content-news > .row > [class*="col-"] .news-item-content-small .btn {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.news-grid > .row,
#listData.news-grid > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
}

.news-grid > .row > [class*="col-"],
#listData.news-grid > .row > [class*="col-"] {
  width: auto;
  padding: 0;
}

.news-grid .news-card-modern,
#listData.news-grid .news-card-modern {
  display: grid;
  grid-template-columns: minmax(110px, 0.25fr) minmax(0, 1fr);
  align-items: center;
  border: 0;
  border-bottom: 1px solid #cbd5e1;
  border-radius: 0;
  box-shadow: none;
}

.news-grid .news-image,
#listData.news-grid .news-image {
  height: 115px;
}

.news-grid .news-overlay,
#listData.news-grid .news-overlay {
  display: none;
}

@media (max-width: 575px) {
  .home-section .latest-news-section .section-content-news > .row > [class*="col-"] .news-item-card,
  .news-grid .news-card-modern,
  #listData.news-grid .news-card-modern {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.9rem;
  }

  .home-section .latest-news-section .section-content-news > .row > [class*="col-"] .news-item-image-small,
  .news-grid .news-image,
  #listData.news-grid .news-image {
    height: 88px;
    min-height: 0;
  }
}
