/* Shared Aurel header: the same compact bar on every public destination.
   Only the theme's header is styled; its menu links and handlers stay intact. */
body.admin-bar,
body.has_admin_bar,
html.has_admin_bar body {
  --jocely-adminbar-offset: 32px;
}

body header.aurel_main_header {
  position: fixed !important;
  box-sizing: border-box;
  top: calc(18px + var(--jocely-adminbar-offset, 0px)) !important;
  right: auto !important;
  left: 50% !important;
  width: min(calc(100% - 48px), 1160px) !important;
  height: 84px !important;
  transform: translateX(-50%) !important;
  overflow: visible !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 18px !important;
  background: rgba(18, 18, 20, 0.9) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(18px);
}

body header.aurel_main_header .aurel_logo_cont {
  margin: 0 !important;
  padding: 0 !important;
}

body header.aurel_main_header .aurel_image_logo {
  width: 78px !important;
  height: 78px !important;
  flex: 0 0 auto;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

body .aurel_header_holder {
  display: block !important;
  height: 120px !important;
  min-height: 120px !important;
}

/* Aurel switches to its native burger at 960px, not at the home layout's 900px. */
@media (min-width: 961px) {
  body header.aurel_main_header .aurel_main_header_wrapper {
    box-sizing: border-box;
    height: 84px !important;
    padding: 0 24px;
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) 120px !important;
    align-items: center !important;
  }

  body header.aurel_main_header .aurel_header_left_part,
  body header.aurel_main_header .aurel_logo_cont,
  body header.aurel_main_header .aurel_header_middle_part,
  body header.aurel_main_header .aurel_header_right_part {
    width: auto !important;
    min-width: 0;
    height: 84px !important;
  }

  body header.aurel_main_header .aurel_header_left_part,
  body header.aurel_main_header .aurel_logo_cont {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body header.aurel_main_header .aurel_header_middle_part,
  body header.aurel_main_header .aurel_header_right_part {
    position: static !important;
    display: flex !important;
    align-items: center !important;
  }

  body header.aurel_main_header .aurel_header_right_part {
    justify-content: flex-end !important;
  }

  body header.aurel_main_header .aurel_header_right_part .aurel_header_socials {
    margin: 0 !important;
  }

  body header.aurel_main_header .aurel_nav,
  body header.aurel_main_header .aurel_nav > .aurel_menu {
    width: 100% !important;
    height: 84px !important;
  }

  body header.aurel_main_header .aurel_nav > .aurel_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  body header.aurel_main_header .aurel_nav > .aurel_menu > li > a {
    height: 84px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap;
  }
}

@media (max-width: 960px) {
  body header.aurel_main_header {
    top: calc(10px + var(--jocely-adminbar-offset, 0px)) !important;
    width: calc(100% - 20px) !important;
    height: 76px !important;
    border-radius: 14px !important;
    background: rgba(18, 18, 20, 0.92) !important;
  }

  body header.aurel_main_header .aurel_main_header_wrapper,
  body header.aurel_main_header .aurel_header_mobile_logo,
  body header.aurel_main_header .aurel_logo_cont {
    height: 76px !important;
  }

  body header.aurel_main_header .aurel_main_header_wrapper {
    padding: 0 16px;
  }

  body header.aurel_main_header .aurel_header_mobile_logo .aurel_logo_cont {
    display: flex;
    align-items: center;
  }

  body header.aurel_main_header .aurel_image_logo {
    width: 66px !important;
    height: 66px !important;
  }

  body header.aurel_main_header .aurel_mobile_menu_wrapper {
    max-height: calc(100vh - 110px - var(--jocely-adminbar-offset, 0px));
    max-height: calc(100dvh - 110px - var(--jocely-adminbar-offset, 0px));
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(18, 18, 20, 0.98);
  }

  body .aurel_header_holder {
    height: 96px !important;
    min-height: 96px !important;
  }
}

@media (max-width: 782px) {
  body.admin-bar,
  body.has_admin_bar,
  html.has_admin_bar body {
    --jocely-adminbar-offset: 46px;
  }
}

.jocely-site-contact {
  box-sizing: border-box;
  padding: 44px max(24px, calc((100vw - 1240px) / 2));
  background: #111112;
  border-top: 1px solid #2a292b;
  color: #f4f1ed;
  font: 15px/1.7 "Segoe UI", Arial, sans-serif;
}
.jocely-site-contact *, .jocely-site-contact *::before, .jocely-site-contact *::after { box-sizing: border-box; }
.jsc-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1240px; margin: 0 auto; }
.jsc-brand { display: flex; flex-direction: column; gap: 4px; }
.jsc-brand strong { font-size: 30px; line-height: 1.2; font-weight: 600; }
.jsc-brand span { color: #aaa6a6; font-size: 13px; }
.jocely-site-contact address { display: flex; flex-direction: column; gap: 4px; margin: 0; font-style: normal; }
.jocely-site-contact a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.jocely-site-contact a:hover { color: #ff4f8b; }
.jocely-site-contact a:focus-visible { outline: 2px solid #ff4f8b; outline-offset: 5px; }
.jsc-socials { display: flex; gap: 12px; }
.jsc-socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #444; border-radius: 50%; }
.jsc-socials svg { width: 22px; height: 22px; fill: currentColor; }
.jsc-socials .jsc-instagram svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.jsc-socials .jsc-dot { fill: currentColor; stroke: none; }
#actualites { scroll-margin-top: calc(120px + var(--jocely-adminbar-offset, 0px)); }
@media (max-width: 720px) {
  .jsc-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .jocely-site-contact { padding: 32px 24px; }
}
