/* Tyne R205: plugin-owned cookie, footer and native Beaver presentation overlay. */

body .tyne-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10000;
  display: grid;
  grid-template-columns: minmax(260px, 450px) 250px;
  justify-content: center;
  gap: 18px;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 18px;
  border: 1px solid rgba(108, 99, 73, 0.28);
  background: rgba(251, 249, 242, 0.97);
  box-shadow: 0 8px 28px rgba(38, 55, 31, 0.12);
  color: var(--ink);
  overflow: auto;
  transform: translateX(-50%);
}

body .tyne-cookie-banner__actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

body .tyne-cookie-banner .tyne-cookie-banner__actions button[data-cookie-save],
body .tyne-cookie-banner .tyne-cookie-banner__actions button[data-cookie-accept] {
  min-height: 44px;
  border: 1px solid rgba(74, 92, 53, 0.35);
  background: transparent;
  color: var(--olive-dark);
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 850;
}

body .tyne-cookie-banner .tyne-cookie-banner__actions button[data-cookie-accept] {
  border-color: var(--olive);
  background: var(--olive);
  color: #fff;
}

body .tyne-cookie-banner .tyne-cookie-banner__actions button[data-cookie-save]:hover,
body .tyne-cookie-banner .tyne-cookie-banner__actions button[data-cookie-save]:focus-visible,
body .tyne-cookie-banner .tyne-cookie-banner__actions button[data-cookie-accept]:hover,
body .tyne-cookie-banner .tyne-cookie-banner__actions button[data-cookie-accept]:focus-visible {
  border-color: var(--olive-dark);
  background: var(--olive-dark);
  color: #fff;
}

body .tyne-cookie-legal-control-wrap {
  margin: 24px 0 0;
}

body .tyne-legal-page button.tyne-cookie-legal-control[data-cookie-reopen],
.fl-builder-content .tyne-row-legal button.tyne-cookie-legal-control[data-cookie-reopen] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 0;
  border-radius: 0;
  background: var(--olive);
  color: #fff;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

body .tyne-legal-page button.tyne-cookie-legal-control[data-cookie-reopen]:hover,
body .tyne-legal-page button.tyne-cookie-legal-control[data-cookie-reopen]:focus-visible,
.fl-builder-content .tyne-row-legal button.tyne-cookie-legal-control[data-cookie-reopen]:hover,
.fl-builder-content .tyne-row-legal button.tyne-cookie-legal-control[data-cookie-reopen]:focus-visible {
  background: var(--olive-dark);
  color: #fff;
}

#site-footer.site-footer {
  background: linear-gradient(110deg, var(--olive-dark), #334b25);
  min-height: 0;
}

#site-footer.site-footer .footer--row,
#site-footer.site-footer .footer--row-inner {
  background: transparent;
}

#site-footer.site-footer .footer-policy-links {
  grid-template-columns: 31.75% 31.75% 31.75%;
}

#site-footer.site-footer .footer-policy-links > a:first-child {
  justify-self: start;
}

#site-footer.site-footer .footer-policy-links > a:last-of-type {
  justify-self: center;
}

#site-footer.site-footer .footer-policy-links > button[data-cookie-reopen] {
  -webkit-appearance: none;
  appearance: none;
  justify-self: end;
  min-width: 0;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#site-footer.site-footer .footer-policy-links > button[data-cookie-reopen]:hover,
#site-footer.site-footer .footer-policy-links > button[data-cookie-reopen]:focus-visible {
  color: #fff;
  text-decoration-thickness: 2px;
}

#site-footer.site-footer p,
#site-footer.site-footer li,
#site-footer.site-footer a,
#site-footer.site-footer button,
#site-footer.site-footer .footer-policy-links,
#site-footer.site-footer .footer-policy-links > * {
  font-size: max(14px, 1em) !important;
}

#site-footer.site-footer .footer-bottom .footer--row-inner,
#site-footer.site-footer .footer-bottom .customify-container,
#site-footer.site-footer .footer-bottom .customify-grid,
#site-footer.site-footer .footer-policy-links {
  align-items: center;
}

#site-footer.site-footer .footer-policy-links > a,
#site-footer.site-footer .footer-policy-links > button[data-cookie-reopen] {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  align-self: center;
  line-height: 1.4;
}

#site-footer.site-footer a:hover,
#site-footer.site-footer a:focus-visible,
#site-footer.site-footer button:hover,
#site-footer.site-footer button:focus-visible {
  color: #fff !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body .fl-builder-content a.fl-button,
body #masthead a.item--button,
body #masthead .item--button a,
body .wpcf7-form input[type="submit"],
body .tyne-booking-check,
body .tyne-cookie-banner button,
body .tyne-cookie-legal-control {
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body .fl-builder-content a.fl-button:hover,
body .fl-builder-content a.fl-button:active,
body #masthead a.item--button:hover,
body #masthead .item--button a:hover,
body .wpcf7-form input[type="submit"]:hover,
body .tyne-booking-check:hover,
body .tyne-cookie-banner button:hover,
body .tyne-cookie-legal-control:hover {
  border-color: #203d1d !important;
  background: #203d1d !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(32, 61, 29, 0.24) !important;
  transform: translateY(-2px);
}

body .fl-builder-content a.fl-button:focus-visible,
body #masthead a.item--button:focus-visible,
body #masthead .item--button a:focus-visible,
body .wpcf7-form input[type="submit"]:focus-visible,
body .tyne-booking-check:focus-visible,
body .tyne-cookie-banner button:focus-visible,
body .tyne-cookie-legal-control:focus-visible,
body .fl-builder-content input:focus-visible,
body .fl-builder-content select:focus-visible,
body .fl-builder-content textarea:focus-visible,
body #site-footer a:focus-visible,
body #site-footer button:focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px #203d1d !important;
  color: inherit;
}

body #masthead a.item--button:focus,
body #masthead a.item--button:focus-visible,
body #masthead .item--button a:focus,
body #masthead .item--button a:focus-visible {
  border-color: #203d1d !important;
  background: #203d1d !important;
  color: #fff !important;
}

body .tyne-booking-check {
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid var(--olive);
  background: var(--olive);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.fl-builder-content .tyne-row-booking.tyne-booking-integrated .booking-calendar-column {
  width: 100% !important;
  max-width: 100% !important;
}

.fl-builder-content .tyne-row-booking.tyne-booking-integrated
> .fl-row-content-wrap
> .fl-row-content
> .fl-col-group {
  grid-template-columns: minmax(0, 1fr) !important;
}

.fl-builder-content .tyne-row-booking.tyne-booking-integrated .booking-form-column {
  display: none !important;
}

.fl-builder-content .tyne-row-booking .tyne-booking-shell {
  overflow: visible;
}

.fl-builder-content .tyne-row-booking .tyne-booking-request-content {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(74, 92, 53, 0.24);
}

.fl-builder-content .tyne-row-booking .tyne-booking-query-bar {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(130px, 0.8fr) minmax(210px, 1.15fr);
  gap: 12px;
  align-items: end;
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid rgba(74, 92, 53, 0.28);
  background: #f7f5ec;
  box-shadow: 0 10px 28px rgba(32, 61, 29, 0.08);
}

.fl-builder-content .tyne-row-booking .tyne-booking-query-bar > p {
  margin: 0;
}

.fl-builder-content .tyne-row-booking .tyne-booking-query-bar label {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.fl-builder-content .tyne-row-booking .tyne-booking-check-wrap {
  display: flex;
  min-width: 0;
  align-items: stretch;
}

.fl-builder-content .tyne-row-booking .tyne-booking-query-bar input,
.fl-builder-content .tyne-row-booking .tyne-booking-query-bar select {
  width: 100%;
  min-height: 52px;
  margin: 0;
  border: 1px solid rgba(74, 92, 53, 0.45);
  background: #fff;
  color: var(--ink);
}

.fl-builder-content .tyne-row-booking .tyne-booking-query-status {
  grid-column: 1 / -1;
  min-height: 0;
  color: var(--olive-dark);
  font-size: 14px;
  font-weight: 700;
}

.fl-builder-content .tyne-row-booking .tyne-booking-query-status:empty {
  display: none;
}

.fl-builder-content .tyne-row-booking .tyne-booking-query-status[data-state="error"] {
  color: #8a1f17;
}

.fl-builder-content .tyne-row-booking .tyne-booking-query-status[data-state="success"] {
  color: #264d1e;
}

.fl-builder-content .tyne-row-faq-contact
.fl-module-accordion.faq-accordion
.fl-accordion-button > button.fl-content-ui-button {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  align-items: initial;
  justify-content: initial;
  gap: normal;
  min-width: 0;
  min-height: 0;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  background-image: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  transition: none;
  cursor: pointer;
}

.fl-builder-content .tyne-row-faq-contact
.fl-module-accordion.faq-accordion
.fl-accordion-button > button.fl-content-ui-button:hover,
.fl-builder-content .tyne-row-faq-contact
.fl-module-accordion.faq-accordion
.fl-accordion-button > button.fl-content-ui-button:active,
.fl-builder-content .tyne-row-faq-contact
.fl-module-accordion.faq-accordion
.fl-accordion-button > button.fl-content-ui-button:focus {
  background: none;
  background-image: none;
  color: inherit;
}

.fl-builder-content .tyne-row-faq-contact
.fl-module-accordion.faq-accordion
.fl-accordion-button > button.fl-content-ui-button:focus,
.fl-builder-content .tyne-row-faq-contact
.fl-module-accordion.faq-accordion
.fl-accordion-button > button.fl-content-ui-button:focus-visible {
  outline: 0;
  opacity: 1;
}

.fl-builder-content .tyne-row-faq-contact
.fl-module-accordion.faq-accordion
.fl-accordion-item {
  overflow: visible !important;
}

.fl-builder-content .tyne-row-faq-contact
.fl-module-accordion.faq-accordion
.fl-accordion-button:focus-within {
  position: relative;
  z-index: 2;
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #203d1d;
}

@media (max-width: 1040px) {
  #site-footer.site-footer .footer-policy-links {
    grid-template-columns: 100%;
  }

  #site-footer.site-footer .footer-policy-links > a:first-child,
  #site-footer.site-footer .footer-policy-links > a:last-of-type,
  #site-footer.site-footer .footer-policy-links > button[data-cookie-reopen] {
    justify-self: start;
  }

  .fl-builder-content .tyne-row-booking .tyne-booking-query-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body .tyne-cookie-banner {
    grid-template-columns: 100%;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    gap: 12px;
    padding: 12px 18px;
  }

  #site-footer.site-footer .footer-policy-links > a,
  #site-footer.site-footer .footer-policy-links > button[data-cookie-reopen] {
    justify-self: stretch;
    justify-content: flex-start;
  }

  .fl-builder-content .tyne-row-booking .tyne-booking-query-bar {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .fl-builder-content .tyne-row-booking .tyne-booking-query-status {
    grid-column: 1;
  }
}
