/* Ajustes de compatibilidade e responsividade para hospedagem estática. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

section.loveNotice {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: none !important;
  padding: 72px 24px !important;
  box-sizing: border-box !important;
  background: linear-gradient(#17110e 0%, #2a1a14 100%) !important;
}

section.loveNotice > .loveNoticeFrame {
  display: block !important;
  flex: 0 1 820px !important;
  width: 100% !important;
  max-width: 820px !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: #211510 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

section.loveNotice > .loveNoticeFrame > img {
  display: block !important;
  width: calc(100% + 4px) !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 0 0 -2px !important;
  object-fit: contain !important;
}

/* Mantém as duas fotos da Quinta do Vinho lado a lado em telas amplas. */
.winePhotos.winePhotosPortrait {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: 1fr !important;
  gap: 17px !important;
  align-items: stretch !important;
}

.winePhotos.winePhotosPortrait > img {
  width: 100% !important;
  height: 520px !important;
  min-width: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media screen and (max-width: 780px) {
  section.loveNotice {
    padding: 34px 14px !important;
  }

  section.loveNotice > .loveNoticeFrame {
    border-radius: 18px !important;
  }

  .winePhotos.winePhotosPortrait > img {
    height: 390px !important;
  }
}

@media screen and (max-width: 520px) {
  .winePhotos.winePhotosPortrait {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
  }

  .winePhotos.winePhotosPortrait > img {
    height: 330px !important;
  }
}
