
/* #region Admin bar – push fixed / sticky UI below the WP admin bar (--wp-admin--admin-bar--height: 32px / 46px under 783px) */

/* Under 600px WP lets the admin bar scroll away; keep it fixed so the header never gaps / overlaps. */
@media (max-width: 600px) {
  body.admin-bar #wpadminbar {
    position: fixed;
  }
}

/* Header */
body.admin-bar #header,
body.admin-bar #header-height {
  top: var(--wp-admin--admin-bar--height, 0px);
}

/* Full-screen panels (booking panel, mobile header panel) + overlays */
body.admin-bar .panel,
body.admin-bar .panel .panel__overlay,
body.admin-bar .header-panel__overlay {
  top: var(--wp-admin--admin-bar--height, 0px);
  height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}

@media (max-width: 991px) {
  body.admin-bar .header-panel {
    top: var(--wp-admin--admin-bar--height, 0px);
    height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  }
}

@media (min-width: 992px) {
  /* Desktop search panel + menu dropdown (fixed side panels) */
  body.admin-bar .search-panel,
  body.admin-bar .header-panel .menu-dropdown {
    top: var(--wp-admin--admin-bar--height, 0px);
    height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
    min-height: 0;
  }

  /* Sticky columns under the header */
  body.admin-bar .entry-content .wp-block-aioseo-table-of-contents,
  body.admin-bar :is(.sc-layout, .sc-columns, .sc-split, .sc-media-text, .sc-showcase) [data-safe-sticky] {
    top: calc(var(--header-height) + var(--spacing-stack--sm) + var(--wp-admin--admin-bar--height, 0px));
  }
}

/* #endregion Admin bar */


/* Contact Form 7: .choices sits inside the CF7 wrapper, so the HTML rule ".label:not(.anim) + .choices" doesn't match */
.label:not(.anim) + .wpcf7-form-control-wrap > .choices {
  margin-top: var(--spacing-content--xs);
}

/* Contact Form 7: success shows the form-success popup instead of the inline message */
.wpcf7 form.sent .wpcf7-response-output {
  display: none;
}


.cky-btn-revisit-wrapper {
    background: rgb(var(--color-base)) !important;
}

button.cky-show-desc-btn:not(:hover):not(:active) {
    color: rgb(var(--color-base)) !important;
}

.cky-btn-preferences,
.cky-prefrence-btn-wrapper .cky-btn {
    background: rgb(var(--color-base)) !important;
    border-color: rgb(var(--color-base)) !important;
}

/* #region Membership card – image / text colour from the backend (components/card-membership.php) */
[data-card="membership"] .card[data-card-image] .card__overlay .card__ratio .card__details {
  background-position: center;
  background-size: cover;
}

[data-card="membership"] .card[data-card-image] .card__overlay .card__ratio .card__details::before {
  display: none;
}

[data-card="membership"] .card[data-card-text="white"] {
  --color-base: rgb(var(--color-white));
}

[data-card="membership"] .card[data-card-text="white"] .card__overline {
  opacity: 0.4;
}
/* #endregion */

/* reCAPTCHA v3 badge hidden (added on production in theme-wp.css – moved here) */
.grecaptcha-badge {
  display: none !important;
}
