/* The existing tour request form, also available on pages without tour styles. */
[data-general-request-modal][hidden] { display: none; }
[data-general-request-modal] {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  color: #254232;
}
[data-general-request-modal] .tour-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 11, .64);
  backdrop-filter: blur(4px);
}
[data-general-request-modal] .tour-modal-card {
  position: relative;
  box-sizing: border-box;
  width: min(92vw, 420px);
  padding: 26px;
  border-radius: var(--gd-radius, 12px);
  background: var(--paper, #fff);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
}
[data-general-request-modal] .tour-modal-card > button {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: #254232 !important;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
[data-general-request-modal] h3 {
  font-family: var(--display, 'Cormorant Garamond', Georgia, serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 24px 10px 0;
}
[data-general-request-modal] p { font: 400 12px/1.5 Manrope, Arial, sans-serif; }
[data-general-request-modal] .tour-lead-form { display: grid; gap: 10px; margin-top: 16px; }
[data-general-request-modal] label { display: block; font: 600 12px Manrope, Arial, sans-serif; }
[data-general-request-modal] label small { font-weight: 400; color: #829487; }
[data-general-request-modal] input,
[data-general-request-modal] textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid #d4ded5;
  border-radius: var(--gd-radius, 12px);
  background: white;
  color: #20372d;
  font: 14px Manrope, Arial, sans-serif;
}
[data-general-request-modal] .tour-book-submit {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: var(--gd-radius, 12px);
  background: #2c4632;
  color: #fff;
  font: 600 12px Manrope, Arial, sans-serif;
  cursor: pointer;
}
[data-general-request-modal] .social-contact-box {
  padding: 14px;
  margin: 4px 0;
  border: 1px solid #d8e3d5;
  border-radius: var(--gd-radius, 12px);
  background: #f3f7ef;
  color: #294332;
}
[data-general-request-modal] .social-contact-box p { margin: 0 0 10px; color: #49614d; }
[data-general-request-modal] .social-contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
[data-general-request-modal] .social-contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 44px;
  padding: 8px 6px;
  border: 1px solid #c7d8bf;
  border-radius: var(--gd-radius, 12px);
  background: white;
  color: #23462f;
  text-decoration: none;
  font: 600 12px/1.4 Manrope, Arial, sans-serif;
}
[data-general-request-modal] .social-brand-icon { width: 24px; height: 24px; flex: 0 0 auto; stroke: none; }
@media (max-width: 600px) {
  [data-general-request-modal] input, [data-general-request-modal] textarea { font-size: 16px; }
}

/* Centre the drawn close icon independently of font metrics and button padding. */
:root body :is([data-general-request-modal], [data-tour-modal]) .tour-modal-card > button[data-modal-close] {
  font-size: 0 !important;
}
:root body :is([data-general-request-modal], [data-tour-modal]) .tour-modal-card > button[data-modal-close]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 5 14 14M19 5 5 19' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
