.village-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.village-gallery-card {
  background: #ffffff;
  border: 1px solid #d7dde7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.village-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.village-gallery-image-wrap {
  padding: 18px 18px 0;
}

.village-gallery-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 3px solid #9e2218;
  border-radius: 10px;
  display: block;
}

.village-gallery-caption {
  padding: 16px 18px 20px;
  text-align: center;
}

.village-gallery-caption h4 {
  font-size: 28px;
  margin-bottom: 0;
}

.page-intro-card {
  background: #ffffff;
  border: 1px solid #e7edf4;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.05);
}

.admin-shell {
  background: #f6f8fb;
  min-height: 100vh;
  padding: 40px 0;
}

.admin-card {
  background: #ffffff;
  border: 1px solid #e1e7ef;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
}

.admin-preview-image {
  width: 120px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #d7dde7;
}

.directory-table-wrap {
  background: #ffffff;
  border: 1px solid #e1e7ef;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
}

.directory-table thead th {
  background: #9e2218;
  color: #ffffff;
  border-color: #9e2218;
  white-space: nowrap;
}

.directory-table td,
.directory-table th {
  vertical-align: middle;
}

.directory-photo {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #d7dde7;
}

.directory-photo-lg {
  width: 180px;
  height: 180px;
}

.directory-section-heading {
  margin-bottom: 20px;
}

.directory-section-heading h3 {
  margin-bottom: 8px;
}

.infrastructure-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.infrastructure-card {
  background: linear-gradient(180deg, #ffffff 0%, #fff7f5 100%);
  border: 1px solid #efd9d4;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.infrastructure-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.infrastructure-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #9e2218;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.infrastructure-card h3 {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 0;
}

.infrastructure-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.infrastructure-card-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: #4f5560;
}

.infrastructure-card-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9e2218;
  position: absolute;
  top: 9px;
  left: 0;
}

.infrastructure-card-list li:last-child {
  margin-bottom: 0;
}

.finggu-links-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.finggu-link-card {
  display: block;
  background: linear-gradient(180deg, #ffffff 0%, #fff6f3 100%);
  border: 1px solid #eed8d3;
  border-radius: 18px;
  padding: 28px 24px;
  min-height: 150px;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.finggu-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
  border-color: #9e2218;
}

.finggu-link-card h3 {
  color: #1f2937;
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 0;
}

.managed-content-box {
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.05);
}

.managed-content-box ul {
  margin: 0;
  padding-left: 22px;
}

.managed-content-box li {
  margin-bottom: 12px;
  color: #4f5560;
}

.managed-content-box li:last-child {
  margin-bottom: 0;
}

