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

  .photogallery {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .photogalleryItem {
    width: 100% !important;
    text-align: center !important;
  }

  .photogalleryItem img {
    width: 95% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .photogalleryItem a {
    display: block !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin-top: 12px !important;
  }

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

  table,
  tbody,
  tr,
  td {
    display: block !important;
    width: 100% !important;
  }

  td {
    margin-bottom: 40px !important;
    text-align: center !important;
  }

  td img {
    width: 95% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 15px auto !important;
  }

  td a {
    display: block !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

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

td {
    height: auto !important;
    overflow: visible !important;
}

td img {
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}

}