
/* ===== Fallback font registration (jsDelivr, China-reachable) ===== */
@font-face {
  font-family: 'Poppins-Bold';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/@fontsource/poppins@5.0.0/files/poppins-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins-Regular';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/@fontsource/poppins@5.0.0/files/poppins-latin-400-normal.woff2') format('woff2');
}

/* ===== Exhibitions photo gallery section ===== */
.py-exhibitions {
  max-width: 1500px;
  margin: 70px auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.py-exhibitions-header {
  text-align: center;
  margin-bottom: 40px;
}

.py-exhibitions-header h2 {
  font-family: 'Poppins-Bold', Arial, sans-serif !important;
  font-size: 34px !important;
  line-height: 1.25;
  font-weight: 400 !important;
  color: #222222 !important;
  margin: 0 0 14px;
}

.py-exhibitions-line {
  width: 48px;
  height: 2px;
  background: #0A4DA2;
  margin: 0 auto;
}

.py-exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.py-exhibitions-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  background: #f0f1f3;
}

.py-exhibitions-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.py-exhibitions-item:hover img {
  transform: scale(1.03);
}


/* Tablet */
@media (max-width: 991px) {
  .py-exhibitions {
    margin: 55px auto;
  }

  .py-exhibitions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .py-exhibitions-header h2 {
    font-size: 28px !important;
  }
}


/* Mobile */
@media (max-width: 640px) {
  .py-exhibitions {
    margin: 45px auto;
    padding: 0 15px;
  }

  .py-exhibitions-header {
    margin-bottom: 30px;
  }

  .py-exhibitions-header h2 {
    font-size: 26px !important;
  }

  .py-exhibitions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
