.mod-page-wrap {
    background: #ffffff;
}

.htmlModuleWrap {
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
}

/* Headings */
.h2style {
  margin: 0 0 20px;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  color: #1f2933;
}

.p { margin: 0 0 16px; }

/* Hide the &nbsp; spacer paragraphs (they are only there for spacing) */
.htmlModuleWrap > p:nth-child(2),   /* after the logo */
.htmlModuleWrap > p:nth-child(5) {  /* before "About Us" */
  display: none;
}
.htmlModuleWrap:nth-of-type(2) > p:nth-child(3) { display: none; } /* between the photos */

/* Images */
.imageEditorWrap { margin: 0; }
.imageEditor { display: block; max-width: 100%; height: auto; }

/* Bauer logo: floats top right of the first block */
.htmlModuleWrap:first-of-type > .imageEditorWrap:first-child {
  float: right;
  width: 140px;
  margin: 0 0 12px 24px;
}

/* About Us starts below the float */
.htmlModuleWrap:first-of-type > h2:nth-of-type(2) {
  clear: both;
  margin-top: 24px;
}

/* Photo gallery (second block): two columns, captions under their own photo */
.htmlModuleWrap:nth-of-type(2) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  column-gap: 74px;
  padding: 0 14px;
  margin-top: 20px;
}

.htmlModuleWrap:nth-of-type(2) > .imageEditorWrap:nth-child(1) { grid-column: 1; grid-row: 1; }
.htmlModuleWrap:nth-of-type(2) > .p:nth-child(2)               { grid-column: 1; grid-row: 2; align-self: start; }
.htmlModuleWrap:nth-of-type(2) > .imageEditorWrap:nth-child(4) { grid-column: 2; grid-row: 1 / 3; }
.htmlModuleWrap:nth-of-type(2) > .p:nth-child(5)               { grid-column: 2; grid-row: 3; }

/* Captions */
.htmlModuleWrap:nth-of-type(2) > .p {
  margin: 6px 0 0;
  text-align: center;
  font-style: italic;
  font-size: 16px;
}

@media (max-width: 800px) {
  .htmlModuleWrap:nth-of-type(2) {
    display: block;
    padding: 0;
  }
  .htmlModuleWrap:nth-of-type(2) > .p { margin-bottom: 20px; }
}


.photo-gallery {
  display: flex;
  align-items: flex-start;   /* each caption sits under its own photo */
  gap: 74px;
  padding: 0 14px;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
}

.photo-gallery__item {
  flex: 1 1 0;
  margin: 0;
}

.photo-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-gallery__item figcaption {
  margin-top: 6px;
  text-align: center;
  font-style: italic;
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
}

@media (max-width: 800px) {
  .photo-gallery {
    flex-direction: column;
    gap: 24px;
    padding: 0;
  }
}