/* Local-only adaptations layered over the archived site. */
/*
 * react-reveal recalculates visibility from viewport state after hydration.
 * In the static archive it can reset already-rendered content to opacity: 0
 * on the first scroll. Keep page content visible; interactive UI outside main
 * (menus, overlays, and carousels) retains its original behavior.
 */
main .react-reveal {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: none !important;
}
/* Keep each practical-service label and its action stacked as in the archive. */
[class*="IButton__Root"] > [class*="IButton__Wrapper"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  align-self: stretch;
  box-sizing: border-box;
}
[class*="IButton__Wrapper"] > [class*="Services__ButtonWrapper"] {
  flex: 0 0 auto;
}
/* Independent fallback styling for Instagram feeds whose React component did
 * not hydrate. Normal hydrated cards keep their original generated classes. */
.mirror-instagram-card {
  min-width: 198px;
  width: 198px;
  max-width: 198px;
  height: 198px;
  margin-right: 40px;
}
.mirror-instagram-image {
  display: block;
  width: 198px;
  height: 198px;
  object-fit: cover;
}
.mirror-instagram-left {
  animation: mirrorInstagramLeft 30s linear infinite;
}
.mirror-instagram-right {
  animation: mirrorInstagramRight 30s linear infinite;
}
@keyframes mirrorInstagramLeft {
  from { transform: translate(0, 0); }
  to { transform: translate(-1700px, 0); }
}
@keyframes mirrorInstagramRight {
  from { transform: translate(0, 0); }
  to { transform: translate(1700px, 0); }
}
@media (min-width: 48em) {
  .mirror-instagram-card {
    min-width: 258px;
    width: 258px;
    max-width: 258px;
    height: 258px;
    margin-right: 50px;
  }
  .mirror-instagram-image {
    width: 258px;
    height: 258px;
  }
}
/* Used both before a cookie-consent decision is made (or after an explicit
 * reject) and as a kill switch if contactApi is ever cleared back to '' in
 * offline.js. Either way the form stays visible but inert beneath the
 * overlay message, rather than silently doing nothing. */
.mirror-disabled-form {
  position: relative !important;
  min-height: 260px;
}
.mirror-disabled-form > :not(.mirror-form-overlay) {
  pointer-events: none !important;
}
.mirror-disabled-form .captcha {
  display: none !important;
}
.mirror-form-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(255, 255, 255, .58);
  text-align: center;
  pointer-events: auto;
}
.mirror-form-overlay p {
  max-width: 430px;
  margin: 0;
  padding: 20px 24px;
  border: 1px solid #05425e;
  background: #fff;
  color: #05425e;
  font: 500 18px/1.45 BrandonGrotesqueWeb-Regular, Arial, sans-serif;
}
/* Native <select> replacing the archived react-select subject dropdown (see
 * installContactForms in offline.js). It reuses the shared eujlcU input
 * class for width/height/background, but that class's 15px padding pushes a
 * <select>'s text and native arrow off from how the other inputs look. */
#c-subject {
  padding: 0 11px;
}
/* Inline status message for the live contact/office-enquiry form submit
 * handler in offline.js. Empty and unstyled until a submit attempt sets its
 * text and is-error/is-success class. */
.mirror-form-status {
  margin: 0 0 16px;
  font: 600 14px/1.4 Helvetica, system-ui, sans-serif;
}
.mirror-form-status:empty {
  display: none;
}
.mirror-form-status.is-error {
  color: #c0392b;
}
.mirror-form-status.is-success {
  color: #1e8e3e;
}
.mirror-language-switcher {
  position: relative;
}
.mirror-language-switcher .Dropdown-control {
  cursor: pointer;
}
.mirror-language-options {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 1001;
  display: none;
  min-width: 70px;
  padding: 6px 0;
  border: 1px solid rgba(5, 66, 94, .14);
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .14);
  text-align: center;
}
.mirror-language-open .mirror-language-options {
  display: block;
}
.mirror-language-option {
  display: block;
  padding: 3px 14px;
  color: #05425e !important;
  font-size: 13px;
  line-height: 18px;
  text-decoration: none !important;
}
.mirror-language-option:hover,
.mirror-language-option:focus,
.mirror-language-option.is-current {
  color: #fb5237 !important;
}
/* "À vivre en ce moment" category teaser. The archived Next.js component
 * that renders these three cards does not hydrate from the frozen Apollo
 * state, so offline.js rebuilds it client-side from the same category
 * images and copy used elsewhere on the mirrored site. Reset any earlier
 * hand-patched styling so the section keeps its original sky background and
 * curved title treatment. */
.CategorySlides__Wrapper-jf0isp-0 {
  overflow: hidden;
}
.mirror-category-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 10px 15px 0;
}
.mirror-category-card {
  display: block;
  flex: 0 1 130px;
  max-width: 140px;
  text-align: center;
  text-decoration: none;
}
.mirror-category-card--feature {
  flex-basis: 165px;
  max-width: 175px;
}
.mirror-category-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 10px;
}
.mirror-category-title {
  margin: 0 0 4px;
  font-family: Gustavo, system-ui, sans-serif;
  color: #05425e;
  font-size: 13px;
  line-height: 1.3;
}
.mirror-category-card--feature .mirror-category-title {
  font-size: 16px;
}
.mirror-category-description {
  margin: 0 0 8px;
  font-family: Helvetica, system-ui, sans-serif;
  color: #4a4a4a;
  font-size: 10px;
  line-height: 1.35;
}
.mirror-category-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: Gustavo, system-ui, sans-serif;
  color: #05425e;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mirror-category-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid #fd6f48;
  border-bottom: 1px solid #fd6f48;
  transform: rotate(-45deg);
}
@media (min-width: 48em) {
  .mirror-category-row {
    max-width: 760px;
    gap: 20px;
    padding-top: 20px;
  }
  .mirror-category-card {
    flex-basis: 160px;
    max-width: 170px;
  }
  .mirror-category-card--feature {
    flex-basis: 200px;
    max-width: 210px;
  }
  .mirror-category-title {
    font-size: 16px;
  }
  .mirror-category-card--feature .mirror-category-title {
    font-size: 19px;
  }
  .mirror-category-description {
    font-size: 12px;
  }
  .mirror-category-link {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .mirror-category-row {
    align-items: center;
    gap: 10px;
  }
  .mirror-category-card,
  .mirror-category-card--feature {
    flex-basis: 30%;
    max-width: 30%;
  }
  .mirror-category-card--feature {
    order: 0;
    flex-basis: 34%;
    max-width: 34%;
  }
  .mirror-category-description {
    display: none;
  }
}
/* GDPR cookie-consent banner. Injected by installCookieBanner in offline.js
 * and shown until the visitor accepts or rejects; both buttons share
 * .mirror-cookie-button with only a color modifier each, and neither is
 * larger or comes with pre-selected focus, so rejecting is exactly as easy
 * as accepting. */
.mirror-cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: #05425e;
  color: #fff;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .18);
}
.mirror-cookie-banner p {
  flex: 1 1 320px;
  margin: 0;
  font: 400 14px/1.5 Helvetica, system-ui, sans-serif;
}
.mirror-cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}
.mirror-cookie-button {
  padding: 10px 22px;
  border: 1px solid #fff;
  border-radius: 2px;
  background: transparent;
  color: #fff;
  font: 600 13px/1 Gustavo, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.mirror-cookie-button.mirror-cookie-accept {
  background: #fd6f48;
  border-color: #fd6f48;
}
.mirror-cookie-button:hover,
.mirror-cookie-button:focus-visible {
  opacity: 0.85;
}
@media (max-width: 480px) {
  .mirror-cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .mirror-cookie-actions {
    justify-content: stretch;
  }
  .mirror-cookie-button {
    flex: 1 1 0;
  }
}
