/* Additions to the original Hemma theme for the static version of the site. */

/* Anti-spam field of the booking forms: invisible to humans, filled by bots. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact Form 7 hid its message box with the "init" class; we show it only after a submission. */
.wpcf7 form:not(.sent):not(.failed) .wpcf7-response-output {
  display: none;
}

/* Static replacement of the Instagram widget (same grid as the former plugin settings). */
.instagram-static {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 1em 0;
}
.instagram-static img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
@media (max-width: 768px) {
  .instagram-static { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
@media (max-width: 480px) {
  .instagram-static { grid-template-columns: 1fr; gap: 6px; }
}

/* Footer links added with the FAQ and directions pages: aligned like "Termes & Conditions" (#menu-item-1481). */
#menu-item-9001, #menu-item-9002 { text-align: right; }

/* FAQ page: question headings a little tighter than the theme's section titles. */
.entry-content.faq h3 { margin-top: 1.6em; margin-bottom: 0.4em; }
