/*
   Robert Juliat responsive UX updates CSS document 2026 for RJ website, 
   designed by Mr Atif BUX

   Responsive UX Design for FULL website
*/

/* --------------------------------------------------------------------------
   Shared Robert Juliat page chrome — 2026.
   Applied only to authorised public pages through .rj-site-chrome-2026.
   -------------------------------------------------------------------------- */
body.rj-site-chrome-2026 { overflow-x: hidden; }
body.rj-site-chrome-2026 #wrap { max-width: 1180px; margin: 0 auto; }
body.rj-site-chrome-2026 #container { width: 100%; background: #fff; }

/* Desktop chrome follows the 2026 template: a centred header, flat navigation,
   then a breadcrumb bar that remains in normal document flow. */
@media (min-width: 761px) {
  body.rj-site-chrome-2026 #header {
    position: relative; display: block; float: none; width: 965px; height: 130px;
    min-height: 130px; margin: 0 auto; padding: 0; box-sizing: border-box;
  }
  body.rj-site-chrome-2026 #logoheader {
    position: absolute; top: 0; left: 0; float: none; width: 192px; height: 130px;
  }
  body.rj-site-chrome-2026 #logoheader img {
    display: block; width: 192px; height: 117px; margin: 5px !important;
    transition: width .35s ease, height .35s ease;
  }
  body.rj-site-chrome-2026 #logoheader a:hover img { width: 207px; height: 126px; }
  body.rj-site-chrome-2026 #header > ul {
    position: absolute; top: 42px; right: 0; display: flex; align-items: center;
    justify-content: flex-end; gap: 14px; width: auto; height: 33px; margin: 0; padding: 0;
  }
  body.rj-site-chrome-2026 #header > ul li,
  body.rj-site-chrome-2026 #header > ul #mapHeader,
  body.rj-site-chrome-2026 #header > ul #siteFR {
    position: relative; inset: auto; float: none; width: auto; height: auto; margin: 0; padding: 0;
  }
  body.rj-site-chrome-2026 #header > ul #mapHeader { order: -1; width: 55px; }
  body.rj-site-chrome-2026 #header > ul #siteFR { width: 35px; }
  body.rj-site-chrome-2026 #header > ul #mapHeader img { width: 55px; height: 30px; }
  body.rj-site-chrome-2026 #header > ul #siteFR img { width: 35px !important; height: 19px !important; }
  body.rj-site-chrome-2026 #header > ul a { display: block; border-radius: 8px; transition: filter .2s ease, box-shadow .2s ease; }
  body.rj-site-chrome-2026 #header > ul a:hover { filter: brightness(1.08); box-shadow: 0 0 12px rgba(255, 102, 204, .68); }
  body.rj-site-chrome-2026 #header > h1 {
    position: absolute; top: 74px; right: 8px; width: 390px; height: 20px; margin: 0;
    padding: 0; color: #686868; font-size: 12px; text-align: right; letter-spacing: 2px;
  }
  body.rj-site-chrome-2026 #topnavWrap { clear: both; width: 965px; margin: 0 auto; }
  body.rj-site-chrome-2026 #menu-wrap { position: relative; width: 100%; }
  body.rj-site-chrome-2026 #menu {
    position: static !important; top: auto !important; display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: stretch; width: 100%; margin: 0; padding: 0; list-style: none; border: 0; border-radius: 0;
    background: #20272c; box-shadow: 0 8px 22px rgba(17, 28, 35, .16);
  }
  body.rj-site-chrome-2026 #menu > li {
    position: relative; display: block !important; float: none; width: auto !important; min-width: 0; margin: 0 !important;
    border-right: 1px solid rgba(255,255,255,.12); box-shadow: none;
  }
  body.rj-site-chrome-2026 #menu > li:last-child { border-right: 0; }
  body.rj-site-chrome-2026 #menu > li > a {
    float: none; display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 12px;
    color: #f4f6f7; font-size: 11px; letter-spacing: .06em; text-shadow: none;
  }
  body.rj-site-chrome-2026 #menu > li:hover > a,
  body.rj-site-chrome-2026 #menu > li.is-open > a { color: #f5b5dc; background: #303a41; }
  body.rj-site-chrome-2026 #menu ul {
    min-width: 210px; margin: 0; padding: 0; background: #303a41; border-radius: 0 0 6px 6px;
    box-shadow: 0 12px 24px rgba(17, 28, 35, .24);
  }
  body.rj-site-chrome-2026 #menu ul a {
    float: none; display: block; width: auto; padding: 12px 16px; color: #fff; text-align: left;
    white-space: normal; line-height: 1.35;
  }
  body.rj-site-chrome-2026 #menu ul a:hover { background: #414d55; color: #f5b5dc; }
  body.rj-site-chrome-2026 #menu-trigger { display: none; }
  body.rj-site-chrome-2026 #filAriane {
    position: relative; z-index: 2; clear: both; float: none; display: block !important;
    width: 965px; min-height: 15px; height: 15px; margin: 0 auto 22px; overflow: visible;
  }
  body.rj-site-chrome-2026 #filAriane ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
  body.rj-site-chrome-2026 #filAriane li { float: none; margin: 0; }
  body.rj-site-chrome-2026 #filAriane a { color: #75828a; font-size: 11px; }
}

body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 {
  width: 100%; height: auto; min-height: 0; margin: 0; padding: 0;
  background: linear-gradient(180deg, #808a8e 0%, #363636 100%);
}
@media (min-width: 761px) {
  body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 {
    width: 965px; margin-left: auto; margin-right: auto;
  }
}
body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 .rj-france-mark-2026 {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 200px;
  margin: 0; padding: 28px 24px; box-sizing: border-box;
  background: linear-gradient(180deg, #272b2d 0%, #08090a 100%);
}
body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 .rj-france-mark-2026 img {
  display: block; width: min(235px, 62vw); height: auto;
}
body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 #foot {
  display: block; width: 100%; max-width: none; height: auto; min-height: 176px; margin: 0; padding: 0;
}
body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 #left { float: none; width: 100%; padding: 0; }
body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 h1 {
  width: 100%; margin: 0; padding: 40px 42px 0; box-sizing: border-box; color: #eee;
  font-size: 10px; font-weight: 400; line-height: 30px; text-align: center;
}
body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 h1 a {
  display: inline-block; margin: 0 8px 6px; padding: 5px 3px; color: #eee; text-decoration: none;
  transition: color .2s ease, text-shadow .2s ease;
}
body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 h1 a:hover { color: #f6c; text-shadow: 0 0 8px rgba(255, 102, 204, .5); }
body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 #review {
  clear: both; width: auto; margin: 20px 0 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16);
  color: #ddd; font-size: 12px; text-align: center;
}
body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 #review p { margin: 0; line-height: 24px; }
body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 .go-top {
  position: absolute; right: 18px; bottom: 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(49,55,57,.68); color: #f6c; font-size: 10px; text-decoration: none;
}

@media (max-width: 760px) {
  body.rj-site-chrome-2026 #header {
    position: relative; display: block; float: none; width: 100%; height: 155px; min-height: 155px;
    padding: 0; box-sizing: border-box;
  }
  body.rj-site-chrome-2026 #logoheader { position: absolute; top: 0; left: 10px; width: 192px; height: 117px; }
  body.rj-site-chrome-2026 #logoheader img { width: 192px; height: 117px; margin: 5px !important; }
  body.rj-site-chrome-2026 #header > ul {
    position: absolute; top: 26px; right: 12px; left: auto; display: flex; align-items: center;
    justify-content: flex-end; gap: 14px; width: auto; height: 33px; margin: 0; padding: 0;
  }
  body.rj-site-chrome-2026 #header > ul li,
  body.rj-site-chrome-2026 #header > ul #mapHeader,
  body.rj-site-chrome-2026 #header > ul #siteFR { position: relative; inset: auto; float: none; height: auto; margin: 0; padding: 0; }
  body.rj-site-chrome-2026 #header > ul #mapHeader { order: -1; width: 60px; }
  body.rj-site-chrome-2026 #header > ul #siteFR { width: 38px; }
  body.rj-site-chrome-2026 #header > ul #mapHeader img { width: 60px; height: 33px; }
  body.rj-site-chrome-2026 #header > ul #siteFR img { width: 38px !important; height: 21px !important; }
  body.rj-site-chrome-2026 #header > h1 {
    position: absolute; top: 112px; right: 14px; display: block; width: calc(100% - 28px); height: auto;
    margin: 0; padding: 0; color: #686868; font-size: 10px; letter-spacing: 1.6px; text-align: right;
  }
  body.rj-site-chrome-2026 #topnavWrap { width: 100%; margin: 0; }
  body.rj-site-chrome-2026 #menu-wrap { position: relative; width: 100%; }
  body.rj-site-chrome-2026 #menu-trigger {
    display: block !important; min-height: 40px; padding: 0 28px; color: #f6c; font-size: 15px; line-height: 40px;
    background: linear-gradient(#242424, #050505); cursor: pointer;
  }
  body.rj-site-chrome-2026 #menu-trigger::after { float: right; content: '+'; font-size: 21px; font-weight: 700; }
  body.rj-site-chrome-2026 #menu-wrap.rj-menu-open #menu-trigger::after { content: '−'; }
  /* menuDD.css has a legacy `min-width:600px` rule using !important.  Use
     the 2026 state class with equal strength so the menu is genuinely closed
     until the visitor activates Menu. */
  body.rj-site-chrome-2026 #menu-wrap:not(.rj-menu-open) #menu { display: none !important; }
  body.rj-site-chrome-2026 #menu-wrap.rj-menu-open #menu {
    display: block !important; max-height: calc(100dvh - 40px); margin: 0; overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch; background: linear-gradient(#292929, #111); touch-action: pan-y;
  }
  body.rj-site-chrome-2026 #menu-wrap.rj-menu-open #menu > li { display: block; float: none; width: 100%; }
  body.rj-site-chrome-2026 #menu-wrap.rj-menu-open #menu > li > a {
    display: block; min-height: 54px; padding: 0 28px; color: #fff; line-height: 54px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  body.rj-site-chrome-2026 #menu-wrap.rj-menu-open #menu > li > ul { display: none; }
  body.rj-site-chrome-2026 #menu-wrap.rj-menu-open #menu > li.rj-submenu-open > ul { display: block; }
  body.rj-site-chrome-2026 #menu-wrap.rj-menu-open #menu > li.rj-submenu-open > ul li a {
    display: block; min-height: 48px; padding: 0 44px; line-height: 48px; color: #fff; background: rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 .rj-france-mark-2026 { min-height: 156px; padding: 24px 18px; }
  body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 .rj-france-mark-2026 img { width: min(205px, 68vw); }
  body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 #foot { min-height: 0; padding: 45px 20px 42px; box-sizing: border-box; }
  body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 h1 { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 18px; padding: 0; line-height: 34px; }
  body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 h1 a { margin: 0 5px 10px; padding: 8px 7px; line-height: 24px; }
  body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 #review { margin-top: 28px; padding-top: 22px; }
  body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 #review p { line-height: 26px; }
  body.rj-site-chrome-2026 #footerRJ01.rj-footer-2026 .go-top { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  body.rj-site-chrome-2026 * { scroll-behavior: auto !important; transition: none !important; }
}

/* Standard 2026 compact masthead for every page using the shared upgraded
   chrome. It replaces the tall legacy logo with the horizontal black mark and
   reserves a complete, centred line for the slogan. */
@media (max-width:950px) {
  body.rj-site-chrome-2026 #header {
    height: 160px;
    min-height: 160px;
  }
  body.rj-site-chrome-2026 #logoheader {
    position: absolute;
    top: 20px;
    left: 28px;
    width: 264px;
    height: 62px;
    margin: 0;
  }
  body.rj-site-chrome-2026 #logoheader a {
    display: block;
    width: 264px;
    height: 62px;
    background: url("https://www.robertjuliat.com/rober-juliat-logo-noir.svg") left center / contain no-repeat;
  }
  body.rj-site-chrome-2026 #logoheader img,
  body.rj-site-chrome-2026 #logoheader a:hover img {
    visibility: hidden !important;
  }
  body.rj-site-chrome-2026 #header > ul {
    position: absolute;
    top: 30px;
    right: 26px;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
  }
  body.rj-site-chrome-2026 #header > ul li,
  body.rj-site-chrome-2026 #header > ul #mapHeader,
  body.rj-site-chrome-2026 #header > ul #siteFR {
    position: relative;
    inset: auto;
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
  }
  body.rj-site-chrome-2026 #header > ul #mapHeader { order: -1; width: 58px; }
  body.rj-site-chrome-2026 #header > ul #siteFR { width: 38px; }
  body.rj-site-chrome-2026 #header > ul #mapHeader img { width: 58px; height: auto; }
  body.rj-site-chrome-2026 #header > ul #siteFR img { width: 38px !important; height: auto !important; }
  body.rj-site-chrome-2026 #header > h1 {
    position: absolute;
    top: 113px;
    right: 20px;
    left: 20px;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: clamp(9px, 2.25vw, 11px);
    line-height: 14px;
    letter-spacing: 1.35px;
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width:480px) {
  body.rj-site-chrome-2026 #logoheader,
  body.rj-site-chrome-2026 #logoheader a {
    width: 218px !important;
  }
  body.rj-site-chrome-2026 #logoheader {
    left: 18px !important;
  }
  body.rj-site-chrome-2026 #header > ul {
    right: 14px !important;
    gap: 9px !important;
  }
  body.rj-site-chrome-2026 #header > ul #mapHeader { width: 50px !important; }
  body.rj-site-chrome-2026 #header > ul #siteFR { width: 34px !important; }
  body.rj-site-chrome-2026 #header > ul #mapHeader img { width: 50px !important; height: auto !important; }
  body.rj-site-chrome-2026 #header > ul #siteFR img { width: 34px !important; height: auto !important; }
}

@media (max-width:360px) {
  body.rj-site-chrome-2026 #logoheader,
  body.rj-site-chrome-2026 #logoheader a {
    width: 194px !important;
  }
  body.rj-site-chrome-2026 #logoheader {
    left: 12px !important;
  }
  body.rj-site-chrome-2026 #header > ul {
    right: 10px !important;
    gap: 7px !important;
  }
  body.rj-site-chrome-2026 #header > ul #mapHeader,
  body.rj-site-chrome-2026 #header > ul #mapHeader img {
    width: 46px !important;
  }
  body.rj-site-chrome-2026 #header > ul #siteFR,
  body.rj-site-chrome-2026 #header > ul #siteFR img {
    width: 32px !important;
  }
}

/* Phone breadcrumb and slogan follow the 2026 template proportions. */
@media (max-width:760px) {
  body.rj-site-chrome-2026 #header > h1 {
    font-size:clamp(10px,3.2vw,14px);
    letter-spacing:1.45px;
  }
  body.rj-site-chrome-2026 #filAriane { margin-top:10px !important; }
}

/* PHP article breadcrumb: full-width light strip immediately before footer. */
body.rj-site-chrome-2026 .rj-bottom-breadcrumb {
  width: 100%;
  height: 60px;
  margin: 45px 0 0;
  padding: 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border: 0;
  box-shadow: none;
  box-sizing: border-box;
}
body.rj-site-chrome-2026 .rj-bottom-breadcrumb-nav {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.rj-site-chrome-2026 .rj-bottom-breadcrumb-inner {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: .75rem;
  padding-left: .75rem;
  box-sizing: border-box;
}
@media (min-width:576px) { body.rj-site-chrome-2026 .rj-bottom-breadcrumb-inner { max-width: 540px; } }
@media (min-width:768px) { body.rj-site-chrome-2026 .rj-bottom-breadcrumb-inner { max-width: 720px; } }
@media (min-width:992px) { body.rj-site-chrome-2026 .rj-bottom-breadcrumb-inner { max-width: 960px; } }
@media (min-width:1200px) { body.rj-site-chrome-2026 .rj-bottom-breadcrumb-inner { max-width: 1140px; } }
@media (min-width:1400px) { body.rj-site-chrome-2026 .rj-bottom-breadcrumb-inner { max-width: 1320px; } }
body.rj-site-chrome-2026 .rj-bottom-breadcrumb .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 20px auto;
  padding: 0;
  background-color: transparent;
  list-style: none;
}
body.rj-site-chrome-2026 .rj-bottom-breadcrumb .breadcrumb-item {
  display: flex;
  align-items: center;
  float: none;
  margin: 0;
  padding: 0;
  height: 100%;
  color: #434243;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}
body.rj-site-chrome-2026 .rj-bottom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  float: none;
  margin: 0;
  padding: 0 5px;
  color: #434243;
  content: ">";
}
body.rj-site-chrome-2026 .rj-bottom-breadcrumb a {
  color: #151515;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-transform: none;
  transition: color .3s ease;
}
body.rj-site-chrome-2026 .rj-bottom-breadcrumb a:hover {
  color: #DA1884;
}
body.rj-site-chrome-2026 .rj-bottom-breadcrumb .active {
  color: #6c757d;
  font-weight: 400;
}
body.rj-site-chrome-2026 .rj-bottom-breadcrumb .homeFR,
body.rj-site-chrome-2026 .rj-bottom-breadcrumb .fil,
body.rj-site-chrome-2026 .rj-bottom-breadcrumb .filb {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
  line-height: inherit;
  text-transform: none;
}
@media (max-width: 760px) {
  body.rj-site-chrome-2026 .rj-bottom-breadcrumb {
    height: auto;
    padding-top: 10px;
  }
  body.rj-site-chrome-2026 .rj-bottom-breadcrumb .breadcrumb {
    flex-direction: row;
  }
  body.rj-site-chrome-2026 .rj-bottom-breadcrumb .breadcrumb-item,
  body.rj-site-chrome-2026 .rj-bottom-breadcrumb a {
    font-size: 12px;
  }
}
