/* WordPress-specific additions on top of theme.css (which is the prototype's global.css, copied 1:1). */

[hidden] { display: none !important; }

/* Admin bar: keep the fixed header below it */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 1140px) { .admin-bar .main-nav { top: calc(64px + 46px); } }

/* Generic pages (WP Travel Engine checkout / thank-you / account, new pages) */
.wp-content { max-width: 1000px; }
.wp-content > * + * { margin-top: 1em; }
.wp-content h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-top: 1.4em; }
.wp-content a { text-decoration: underline; text-underline-offset: 3px; }
.wp-content img { height: auto; border-radius: var(--radius-sm); }
.wp-entry { padding: 20px 0; border-bottom: 1px solid var(--c-border); }

/* Book buttons are <button>s (they open WP Travel Engine's booking modal) */
button.btn { font-family: var(--f-body); cursor: pointer; }
.lk-book[disabled] { opacity: .7; cursor: progress; }

/* WP Travel Engine's booking modal and checkout in the brand colours */
:root {
  --wpte-primary-color: #044e57;
  --primary-color: #044e57;
}
.wte-fb-popup .fancybox-content, [class*="wpte"] .wpte-button, .wpte-bf-btn { font-family: var(--f-body); }
.wpte-bf-btn, .wte-book-now, .wpte-checkout__booking-button, .wpte-button-primary { background: var(--c-teal) !important; border-color: var(--c-teal) !important; border-radius: 999px !important; }
.wpte-bf-btn:hover, .wte-book-now:hover, .wpte-checkout__booking-button:hover { background: var(--c-teal-dark) !important; }

/* Gallery filter (all items are printed; theme.js hides the other categories) */
.masonry__item[hidden] { display: none !important; }

/* Not in use: the site sets only essential cookies, so the consent plugin was removed (Oct 2026).
   Kept ready in case optional cookies (e.g. analytics) are added and the Cookie Compliance plugin returns.
   Cookie Compliance consent banner (#hu) — restyled as a slim brand bar along the bottom of the screen
   (text left, choices right), so it never covers the page. The plugin themes itself through --hu-*
   variables, so colours are set there; the rest adjusts its layout. */
html body #hu.hu-wrapper, html body #hu-revoke {
  --hu-bannerColor: #04262b !important;
  --hu-textColor: rgba(255, 255, 255, .8) !important;
  --hu-headingColor: #e3b44c !important;
  --hu-primaryColor: #e3b44c !important;
  --hu-btnColor: #e3b44c !important;
  --hu-btnTextColor: #1e242a !important;
  --hu-borderColor: rgba(255, 255, 255, .28) !important;
  --hu-silverColor: #8cbfc0 !important;
  --hu-goldColor: #e3b44c !important;
  --hu-platinumColor: #ffffff !important;
  --hu-btnBorderRadius: 999px !important;
  --hu-textSize: 14px !important;
  --hu-headingSize: 17px !important;
  --hu-spacingSize: 14px !important;
  --hu-revokeMarginX: 20px !important;
  --hu-revokeMarginY: 20px !important;
  font-family: var(--f-body) !important;
}
html body #hu.hu-wrapper {
  left: 50% !important; right: auto !important; bottom: 16px !important; top: auto !important;
  width: min(1200px, calc(100vw - 32px)) !important; transform: translateX(-50%) !important;
}
#hu .hu-panel {
  position: relative; width: 100% !important; max-width: none !important; margin: 0 !important;
  background: #04262b !important; border-radius: 18px !important; border: 0 !important;
  box-shadow: 0 18px 50px rgba(2, 24, 28, .4), inset 0 0 0 1px rgba(255, 255, 255, .08) !important;
  backdrop-filter: none !important; overflow: hidden;
}
/* Site name + receipt download / close: a small toolbar in the top-right corner */
#hu .hu-top { position: absolute; top: 10px; right: 12px; z-index: 2; padding: 0 !important; border: 0 !important; background: transparent !important; }
#hu .hu-site-url { display: none !important; }
#hu .hu-tools button, #hu .hu-download { color: rgba(255, 255, 255, .55) !important; }
#hu .hu-tools button:hover, #hu .hu-download:hover { color: #e3b44c !important; }
/* Collapsed: heading + text on the left, consent choices on the right */
#hu .hu-scroll {
  display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: center;
  padding: 18px 64px 18px 24px !important; max-height: min(72vh, 620px); overflow-y: auto !important;
}
#hu .hu-heading { grid-column: 1; margin: 0 0 4px !important; text-align: left !important; font-family: var(--f-display) !important; font-weight: 500 !important; font-size: 18px !important; line-height: 1.3 !important; color: #e3b44c !important; }
#hu .hu-body { grid-column: 1; margin: 0 !important; text-align: left !important; font-size: 13.5px !important; line-height: 1.55 !important; color: rgba(255, 255, 255, .78) !important; }
#hu .hu-link { color: #fff !important; text-decoration: underline !important; text-underline-offset: 3px; }
#hu .hu-link:hover { color: #e3b44c !important; }
#hu .hu-choices { grid-column: 2; grid-row: 1 / span 2; display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-end !important; gap: 8px 10px !important; margin: 0 !important; }
#hu .hu-levels { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin: 0 !important; justify-content: flex-end !important; }
#hu .hu-level {
  margin: 0 !important; padding: 9px 16px !important; border-radius: 999px !important;
  border: 1.5px solid rgba(255, 255, 255, .28) !important; background: transparent !important;
  color: #fff !important; font-weight: 600 !important; font-size: 13.5px !important; white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
#hu .hu-level:hover { border-color: #e3b44c !important; transform: translateY(-2px); }
#hu .hu-level:has(input:checked) { background: #e3b44c !important; border-color: #e3b44c !important; color: #1e242a !important; }
#hu .hu-level:has(input:focus-visible), #hu .hu-btn:focus-visible, #hu .hu-link:focus-visible { outline: 3px solid #e3b44c !important; outline-offset: 2px; }
#hu .hu-customize-toggle {
  margin: 0 !important; padding: 9px 4px !important; border: 0 !important; background: transparent !important;
  color: rgba(255, 255, 255, .85) !important; font-weight: 500 !important; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap;
}
#hu .hu-customize-toggle:hover { color: #e3b44c !important; }
#hu .hu-btn:not(.hu-customize-toggle) { background: #e3b44c !important; border-color: #e3b44c !important; color: #1e242a !important; font-weight: 600 !important; }
/* Customize panel: full width under the bar, categories reflow into as many columns as fit */
#hu .hu-customize { grid-column: 1 / -1; margin-top: 16px !important; padding-top: 16px !important; border-top: 1px solid rgba(255, 255, 255, .12) !important; text-align: left !important; }
#hu .hu-section { text-align: left !important; }
#hu .hu-section-heading { margin: 0 0 4px !important; text-align: left !important; color: #fff !important; font-family: var(--f-body) !important; font-size: 16px !important; font-weight: 600 !important; }
#hu .hu-section-body { margin: 0 0 14px !important; text-align: left !important; }
#hu .hu-categories { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important; gap: 12px !important; margin: 0 !important; padding: 0 !important; list-style: none; }
#hu .hu-category { display: block !important; min-width: 0; margin: 0 !important; padding: 14px 16px !important; border: 1px solid rgba(255, 255, 255, .12) !important; border-radius: 12px !important; background: rgba(255, 255, 255, .04) !important; }
#hu .hu-category-head { display: flex !important; align-items: center !important; gap: 10px !important; margin: 0 0 8px !important; color: #fff !important; font-weight: 600; line-height: 1.3; }
#hu .hu-category-head input { flex: none !important; margin: 0 !important; }
#hu .hu-category-head span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
#hu .hu-category-body { font-size: 13px !important; line-height: 1.55 !important; }
#hu .hu-protection-grid, #hu .hu-services-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; gap: 12px !important; margin-top: 14px !important; }
#hu .hu-protection-block, #hu .hu-services-block { min-width: 0; padding: 14px 16px !important; border: 1px solid rgba(255, 255, 255, .12) !important; border-radius: 12px !important; background: rgba(255, 255, 255, .04) !important; }
#hu .hu-protection-block-heading { color: #fff !important; font-family: var(--f-body) !important; font-weight: 600 !important; }
#hu .hu-section-body, #hu .hu-category-body, #hu .hu-data-list, #hu .hu-services-empty, #hu .hu-metric-label, #hu .hu-data-label, #hu .hu-services-label { color: rgba(255, 255, 255, .72) !important; }
#hu .hu-toggle { accent-color: #e3b44c; }
#hu .hu-metric-value { color: #e3b44c !important; }
#hu .hu-scroll-fade::after { background: linear-gradient(transparent, #04262b) !important; }
/* Floating "change your consent" button after a choice (GDPR: consent can be changed any time) */
html body #hu-revoke .hu-revoke-button {
  background: #e3b44c !important; color: #1e242a !important; border: 2px solid #fff !important;
  box-shadow: 0 8px 24px rgba(2, 24, 28, .35) !important; transition: transform .2s;
}
html body #hu-revoke .hu-revoke-button:hover { transform: scale(1.08); }
html body #hu-revoke .hu-revoke-icon, html body #hu-revoke .hu-revoke-icon path { color: #1e242a !important; fill: currentColor; }
/* Tablet: choices drop under the text */
@media (max-width: 1024px) {
  #hu .hu-scroll { grid-template-columns: 1fr; padding: 16px 56px 16px 20px !important; }
  #hu .hu-choices { grid-column: 1; grid-row: auto; justify-content: flex-start !important; margin-top: 12px !important; }
  #hu .hu-levels { justify-content: flex-start !important; }
}
@media (max-width: 767px) {
  html body #hu.hu-wrapper { bottom: 10px !important; width: calc(100vw - 20px) !important; }
  #hu .hu-scroll { padding: 16px 16px 16px !important; max-height: 78vh; }
  #hu .hu-heading { padding-right: 40px; font-size: 15.5px !important; line-height: 1.3 !important; }
  #hu .hu-body { font-size: 13px !important; line-height: 1.5 !important; }
  #hu .hu-levels { width: 100%; }
  #hu .hu-level { flex: 1 1 0; text-align: center; padding: 9px 6px !important; font-size: 13px !important; }
  #hu .hu-categories, #hu .hu-protection-grid, #hu .hu-services-grid { grid-template-columns: 1fr !important; }
  body:has(.trip-bar) #hu.hu-wrapper { bottom: 82px !important; }
  body:has(.trip-bar) #hu-revoke { --hu-revokeMarginY: 84px !important; }
  html body #hu-revoke { --hu-revokeMarginX: 12px !important; }
}
