img.photo-viewer-trigger {
  cursor: zoom-in;
}

img.photo-viewer-trigger:focus-visible {
  outline: 2px solid #fbc400;
  outline-offset: 3px;
}

dialog.photo-viewer {
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 60px 16px 24px;
  border: 0;
  overflow: hidden;
  color: #fff;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

dialog.photo-viewer::backdrop {
  background: rgb(15 10 7 / 94%);
}

.photo-viewer__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 50%;
  color: #fff;
  background: rgb(255 255 255 / 12%);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.photo-viewer__close:hover,
.photo-viewer__close:focus-visible {
  color: #21150d;
  background: #fbc400;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.photo-viewer__image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(96vw, 1800px);
  max-height: calc(100vh - 132px);
  max-height: calc(100dvh - 132px);
  object-fit: contain;
  cursor: zoom-out;
}

.photo-viewer__caption {
  max-width: min(92vw, 900px);
  margin: 0;
  color: #fff;
  font: 500 14px/1.45 system-ui, sans-serif;
  text-align: center;
}

@media (max-width: 600px) {
  dialog.photo-viewer {
    padding: 64px 10px 20px;
  }

  .photo-viewer__image {
    max-width: 96vw;
    max-height: calc(100dvh - 124px);
  }

  .photo-viewer__caption {
    font-size: 12px;
  }
}


dialog.photo-viewer:not([open]) {
  display: none;
}


.hero__flags {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  margin-inline-end: 0.35em;
  vertical-align: middle;
  line-height: 1;
}

.site-footer .footer-inner {
  font-size: 14px;
}

.site-footer .footer-inner .footer-credit {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.site-footer .footer-inner .footer-credit strong {
  font-weight: 800;
}

@media (max-width: 600px) {
  .site-footer .footer-inner {
    padding: 16px 12px;
    font-size: 13px;
  }

  .site-footer .footer-inner .footer-credit {
    font-size: 14px;
  }
}

/* Aproxima visualmente o crédito de desenvolvimento da linha de copyright. */
.site-footer .footer-inner .footer-credit {
  margin-top: -12px;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .site-footer .footer-inner {
    font-size: 12px;
  }
  .site-footer .footer-inner .footer-credit {
    font-size: 13px;
  }
}

@media (min-width: 601px) {
  .site-footer .footer-inner {
    font-size: 13px;
  }
  .site-footer .footer-inner .footer-credit {
    font-size: 14px;
  }
}
