.gallery-meta {
  background: #ffffff;
  border-radius: 22px;
  padding: 12px 30px;
  margin: 0 auto 30px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(22, 36, 68, 0.04);
  border: 1px solid rgba(31, 95, 191, 0.1);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #2F343B;
  text-align: center;
  line-height: 1.3;
  max-width: 700px;
  font-weight: 400;
}

.gallery-page .kiosk__content {
  padding-top: 45px;
  padding-bottom: 40px;
}
.gallery-page .best-pagination {
  margin-top: 30px;
  margin-bottom: 30px;
}

.gallery-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 960px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 20px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(22, 36, 68, 0.04);
  padding: 10px;
  border: 1px solid #E6EAF0;
  text-decoration: none;
  box-sizing: border-box;
  width: 252px;
  height: 100%;
}

.gallery-card__photo-wrap {
  position: relative;
  width: 226px;
  height: 226px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid #E6EAF0;
}

.gallery-card__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-card__count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.gallery-card__info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-card__title {
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.gallery-card__subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #8c93a1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
}

.album-header {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 50px;
  margin: 0 auto 28px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(22, 36, 68, 0.04);
  border: 1px solid rgba(31, 95, 191, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.album-header__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 4px 12px;
  border-radius: 22px;
  background: #EAF2FF;
  color: #1F5FBF;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.album-header__title {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.album-header__meta {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.album-header__meta .count {
  color: #1F5FBF;
  font-size: 12px;
  font-weight: 700;
}

.album-header__meta .dot {
  color: #6B7280;
  margin: 0 6px;
}

.album-header__meta .info {
  color: #6B7280;
  font-size: 12px;
  font-weight: 600;
}

.album-photo {
  display: block;
  width: 253.33px;
  height: 253.33px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.album-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.photo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 36, 50, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.photo-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.photo-modal__close {
  position: absolute;
  top: 45px;
  right: 50px;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 1001;
}

.photo-modal__close svg {
  width: 24px;
  height: 24px;
  color: #1a1a1a;
}

.photo-modal__content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.photo-modal__image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-modal__image {
  width: 720px;
  height: 520px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
}

.photo-modal__info {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 40px;
  text-align: center;
  color: #ffffff;
}

.photo-modal__count {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.8);
}

.photo-modal__count strong {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-left: 4px;
  text-transform: none;
}

.photo-modal__meta {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.photo-modal__meta .dot {
  margin: 0 6px;
}

.photo-modal__arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.photo-modal__arrow svg {
  width: 28px;
  height: 28px;
  color: #1a1a1a;
}

