.tl-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tl-turnstile-placeholder {
  display: inline-block;
  min-width: 280px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  color: #4a474b;
  font-size: 13px;
  line-height: 1.4;
}

.tl-turnstile-placeholder.tl-turnstile-live {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.tl-turnstile-widget {
  min-height: 65px;
  min-width: min(300px, 100%);
}

.wpcf7 form .wpcf7-response-output.tl-visible {
  display: block;
  margin: 20px auto 0;
  padding: 14px 18px;
  border: 1px solid #ccc;
  max-width: 720px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  background: #fafafa;
  box-shadow: 0 10px 30px rgba(35, 35, 35, 0.08);
}

.wpcf7-response-output.tl-success {
  border-color: #4f8c3f;
  background: #edf7eb;
  color: #255b1a;
}

.wpcf7-response-output.tl-error {
  border-color: #b71c1c;
  background: #fff2f2;
  color: #b71c1c;
}

.tl-contact-form.tl-form-submitted .wpcf7-submit {
  opacity: 0.7;
}

body.tl-image-modal-open {
  overflow: hidden;
}

#content-main a[href$=".jpg"] img,
#content-main a[href$=".jpeg"] img,
#content-main a[href$=".png"] img,
#content-main a[href$=".gif"] img,
#content-main a[href$=".webp"] img,
#content-main a[href$=".JPG"] img,
#content-main a[href$=".JPEG"] img,
#content-main a[href$=".PNG"] img,
#content-main a[href$=".GIF"] img,
#content-main a[href$=".WEBP"] img {
  cursor: zoom-in;
}

.tl-image-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
}

.tl-image-modal[hidden] {
  display: none;
}

.tl-image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 19, 24, 0.84);
}

.tl-image-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 72px 24px 32px;
}

.tl-image-modal-image {
  display: block;
  max-width: min(1100px, calc(100vw - 48px));
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  background: #fff;
}

.tl-image-modal-caption {
  margin-top: 14px;
  max-width: min(900px, calc(100vw - 48px));
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.tl-image-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tl-image-modal-close:hover,
.tl-image-modal-close:focus-visible {
  background: #fff;
}
