.ag-format-container {
  width: 1200px;
  margin: 0 auto;
}

.ag-photo-gallery_list {
  display: -ms-grid;
  display: grid;

  grid-gap: 20px;

  -ms-grid-columns: 1fr 0.9375rem 1fr 0.9375rem 1fr 0.9375rem 1fr 0.9375rem 1fr
    0.9375rem 1fr 0.9375rem 1fr 0.9375rem 1fr 0.9375rem 1fr 0.9375rem 1fr
    0.9375rem 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;

  -ms-grid-rows: 22.125rem 0.9375rem 22.125rem 0.9375rem 22.125rem 0.9375rem
    22.125rem 0.9375rem 22.125rem 0.9375rem 22.125rem 0.9375rem 22.125rem
    0.9375rem 22.125rem 0.9375rem 22.125rem 0.9375rem 22.125rem 0.9375rem
    22.125rem 0.9375rem 22.125rem;
  grid-template-rows: 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem 22.125rem;

  margin-bottom: 65px;
}
.ag-photo-gallery_item {
  -ms-grid-column-span: 4;
  grid-column-end: span 4;

  cursor: pointer;

  overflow: hidden;

  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;

  position: relative;
}
.ag-photo-gallery_item__wide {
  -ms-grid-column-span: 7;
  grid-column-end: span 7;
}
.ag-photo-gallery_item__middle {
  -ms-grid-column-span: 5;
  grid-column-end: span 5;
}
.ag-photo-gallery_item__narrow {
  -ms-grid-column-span: 3;
  grid-column-end: span 3;
}
.ag-photo-gallery_figure {
  width: 100%;
  height: 100%;

  overflow: hidden;
}
.ag-photo-gallery_img {
  height: 100%;
  width: 100%;

  -o-object-fit: cover;
  object-fit: cover;

  -o-object-position: 50% 50%;
  object-position: 50% 50%;
}

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 96%;
  }

  .ag-photo-gallery_list {
    grid-gap: 10px;

    -ms-grid-rows: 14rem 0.9375rem 14rem 0.9375rem 14rem 0.9375rem 14rem
      0.9375rem 14rem 0.9375rem 14rem 0.9375rem 14rem 0.9375rem 14rem 0.9375rem
      14rem 0.9375rem 14rem 0.9375rem 14rem 0.9375rem 14rem;
    grid-template-rows: 14rem 14rem 14rem 14rem 14rem 14rem 14rem 14rem 14rem 14rem 14rem 14rem;
  }
}

@media only screen and (max-width: 639px) {
}

@media only screen and (max-width: 479px) {
}

@media (min-width: 768px) and (max-width: 979px) {
  .ag-format-container {
    width: 750px;
  }
}

@media (min-width: 980px) and (max-width: 1161px) {
  .ag-format-container {
    width: 960px;
  }
}
.ag-gallery-title {
  text-align: center; /* Başlığı ortala */
  margin: 20px 0; /* İstediğiniz boşlukları ekleyin */
}

.ag-gallery-title h1 {
  font-size: 44px; /* Başlık font boyutu */
  color: #333; /* Başlık rengi */
}
.ag-gallery-title h2 {
  font-size: 14px; /* Başlık font boyutu */
  color: #333; /* Başlık rengi */
}
