.photobank-content {
  margin-top: 32px;
}

.photobank-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.photobank-card {
  width: calc((100% / 3) - 16px);
  border-radius: 24px;
}

.photobank-card-image {
  width: 100%;
  aspect-ratio: 392/235;
  border-radius: 16px;
  overflow: hidden;
}

.photobank-card-text {
  margin-top: 12px;
}

.photobank-card-text-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: var(--dark);
}

.photobank-card-text-number {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.photobank-card-text-number-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  color: #868686;
}

.photobank-title {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.photobank-title-button {
  width: 20px;
}

.photobank-title-text {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 32px;
  text-align: center;
  color: var(--dark);
}

.photobank-title-number {
  display: flex;
  align-items: center;
  gap: 4px;
}

.photobank-title-number-icon {
  width: 24px;
  height: 24px;
}

.photobank-title-number-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  color: #868686;
}

.view-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 16px;
}
.view-modal.active {
  opacity: 1;
  visibility: visible;
}

.view-modal-media {
  max-width: 1224px;
  height: auto;
  width: 100%;
  max-height: 85%;
  border-radius: 16px;
  overflow: hidden;
}

.view-modal-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  z-index: 2;
  max-width: 1160px;
  padding: 0 32px;
}

.view-modal-controls-button {
  border-radius: 12px;
  padding: 4px;
  width: 40px;
  height: 40px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.view-modal-controls-button:last-child {
  transform: rotate(180deg);
}

.view-modal-controls-button img {
  width: 25px;
  height: 25px;
}

.view-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
}

@media screen and (max-width: 1000px) {
  .photobank-card {
    width: calc(50% - 12px);
  }
}

@media screen and (max-width: 900px) {
  .photobank-title {
    flex-direction: column;
    align-items: start;
    gap: 5px;
  }
  .photobank-title-text {
    text-align: left;
  }
  .photobank-title-button {
    width: 30px;
  }
}

@media screen and (max-width: 600px) {
  .photobank-card {
    width: 100%;
  }
  .photobank-title-text {
    font-size: 24px;
  }
}
