/* Adapt the original design to core block markup without restricting editor controls. */
:root, .editor-styles-wrapper {
  --blue: var(--wp--preset--color--cyan, #00aeef);
  --orange: var(--wp--preset--color--orange, #fa943f);
  --navy: var(--wp--preset--color--navy, #081b2d);
  --text: var(--wp--preset--color--text, #142637);
  --bg: var(--wp--preset--color--background, #f8fbfe);
  --brand-cyan: var(--blue);
  --brand-orange: var(--orange);
}
.wp-site-blocks > * { margin-block: 0; }
.wp-block-group > *, .wp-block-group { min-width: 0; }
.wp-site-blocks :where(a, p) { overflow-wrap: anywhere; }
.wp-block-group.container { margin-inline: auto; }
.wp-block-image img { vertical-align: middle; }
.wp-block-image.logo { flex: 0 0 auto; }
.wp-block-image.logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.wp-block-image.logo a { display: block; height: 100%; }
.site-header .logo { max-height: calc(var(--header-height) - 4px); }
.site-header .wp-block-navigation { color: #3f5261; font-size: 14px; font-weight: 600; }
.rhe-navigation .wp-block-navigation__container { gap: 27px; }
.rhe-navigation .nav-cta { color: white; }
.rhe-navigation .wp-block-navigation-item__content { text-decoration: none; }
.rhe-navigation .wp-block-navigation__responsive-container-open,
.rhe-navigation .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
.rhe-navigation .wp-block-navigation__responsive-container.is-menu-open { background: white; color: var(--text); padding: 28px; }
.rhe-navigation .is-menu-open .wp-block-navigation__container { width: 100%; align-items: stretch; gap: 14px; }
.rhe-navigation .is-menu-open .wp-block-navigation-item { width: 100%; }
.rhe-navigation .is-menu-open .wp-block-navigation-item__content { padding: 10px; }
.admin-bar .site-header { top: 32px; }
.rhe-page { padding-block: calc(var(--header-height) + 64px) 80px; min-height: 65vh; }
.rhe-page > * + * { margin-top: 28px; }
.rhe-page .wp-block-post-content > * + * { margin-block-start: 1.5rem; }
.rhe-page .wp-block-post-content > .alignfull { max-width: none; }
.rhe-page .wp-block-post-title { line-height: 1.15; }
.rhe-post-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); }
.rhe-post-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: white; margin-bottom: 24px; }
.rhe-post-card > * + * { margin-top: 12px; }
.rhe-page .wp-block-query-pagination { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.rhe-page .wp-block-search__inside-wrapper { max-width: 100%; }
.rhe-page .wp-block-search__input { min-width: 0; }
.rhe-page :where(input,textarea,select) { max-width: 100%; }
.rhe-page .wp-block-comment-template { list-style: none; padding: 0; }
.rhe-page .wp-block-comment-template li { margin-block: 24px; }
.wp-block-buttons .wp-block-button.btn { padding: 0; border: 0; background: none; box-shadow: none; }
.wp-block-button.btn .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; padding: 15px 20px; border-radius: 14px; font-size: 14px; font-weight: 700; text-decoration: none; }
.btn-primary .wp-block-button__link { background: linear-gradient(135deg, var(--blue), #0093cf); color: white; box-shadow: var(--shadow-cyan); }
.btn-light .wp-block-button__link { background: linear-gradient(135deg, var(--orange), #f37f1e); color: white; box-shadow: var(--shadow-orange); }
.btn-outline-light .wp-block-button__link { border: 1.5px solid #ffffff59; background: #ffffff0d; color: white; }
.btn-outline-light .wp-block-button__link:hover { border-color: var(--blue); background: #00aeef26; }
.eyebrow::before { content: ""; flex-shrink: 0; }
.flag-icon img { width: 24px; height: 16px; object-fit: cover; }
.hero-slide > .wp-block-image { width: 100%; height: 100%; }
.hero-slide > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-caption .rhe-label { margin: 0; font-family: inherit; line-height: 1.65; }
.hero-slide-caption p:not(.rhe-label) { margin-top: 8px; }
.hero-slide-caption .rhe-label em { font-style: italic; }
.hero-slide:first-child { opacity: 1; visibility: visible; }
.hero-slider.is-enhanced .hero-slide:not(.is-active) { opacity: 0; visibility: hidden; }
.hero-slider.is-enhanced .hero-slide.is-active { opacity: 1; visibility: visible; }
.destination-image > .wp-block-image { height: 100%; }
.destination-flag .wp-block-image { width: 100%; }
.destination-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 50%,#081b2d66); pointer-events: none; }
.destination-flag { z-index: 1; }
.office-card > p:first-child { font-size: 10px; color: var(--brand-wave); text-transform: uppercase; font-weight: 800; letter-spacing: 1px; }
.office-card:nth-child(2) > p:first-child { color: var(--orange); }
.office-card .rhe-link { margin: 0; }
.footer-grid .rhe-link { margin: 0; }
.testimonial-card blockquote { border: 0; padding: 0; }
.testimonial-card blockquote p { font-family: var(--wp--preset--font-family--heading); }
.testimonial-avatar { align-content: center; text-align: center; }
.rhe-carousel-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rhe-skip-link { position: fixed; top: -100px; left: 16px; z-index: 100001; padding: 12px 20px; background: white; color: var(--navy); }
.rhe-skip-link:focus { top: 12px; }
:where(.wp-site-blocks) :focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
:where(section[id], main[id]) { scroll-margin-top: calc(var(--header-height) + 48px); }
@media (max-width: 960px) {
  .rhe-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .rhe-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
}
@media (min-width: 961px) {
  .rhe-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .admin-bar .site-header:not(.scrolled) { top: 46px; }
  .contact-actions > .wp-block-buttons, .contact-actions .wp-block-button { width: 100%; }
  .contact-actions .wp-block-button__link { width: 100%; }
  .hero-slider-controls .hero-slider-arrow, .hero-slider-controls .hero-slider-pause { min-width: 44px; height: 44px; }
  .hero-slider-controls .hero-slider-dot { min-width: 24px; height: 44px; }
  .hero-slide-caption { bottom: 76px; }
  .hero-slide-caption .rhe-label { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wp-site-blocks *, .wp-site-blocks *::before, .wp-site-blocks *::after { transition: none !important; animation: none !important; }
}
