/* PROFUNDUM 2.0 — JNews conserve son header, ses menus et son footer. */
body.pf2-header-on .jeg_header_wrapper,
body.pf2-header-on .jeg_header_sticky,
body.pf2-header-on .jeg_header,
body.pf2-header-on .jeg_midbar,
body.pf2-header-on .jeg_bottombar,
body.pf2-header-on .jeg_bottombar .jeg_nav_row,
body.pf2-header-on .jeg_stickybar,
body.pf2-header-on .jeg_mobile_midbar {
  background-color: var(--pf2-header-background, #13223e) !important;
}
body.pf2-header-on .jeg_header_wrapper,
body.pf2-header-on .jeg_header_sticky,
body.pf2-header-on .jeg_navbar_mobile_wrapper,
body.pf2-header-on .jeg_navbar_mobile,
body.pf2-header-on .jeg_header,
body.pf2-header-on .jeg_midbar,
body.pf2-header-on .jeg_bottombar,
body.pf2-header-on .jeg_stickybar,
body.pf2-header-on .jeg_mobile_midbar {
  max-width: none;
  width: 100%;
}
body.pf2-header-on .jeg_header > .jeg_container > .container,
body.pf2-header-on .jeg_header .jeg_navbar > .container,
body.pf2-header-on .jeg_mobile_midbar > .container {
  width: 100%;
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
}
body.pf2-header-light .jeg_midbar,
body.pf2-header-light .jeg_top_date,
body.pf2-header-light .jeg_header .jeg_main_menu > li > a,
body.pf2-header-light .jeg_header .jeg_nav_item > a,
body.pf2-header-light .jeg_header_wrapper .jeg_search_toggle,
body.pf2-header-light .jeg_header_sticky .jeg_search_toggle,
body.pf2-header-light .jeg_mobile_midbar .jeg_nav_item > a {
  color: #fff !important;
}
body.pf2-header-light .jeg_header .jeg_main_menu > li > a:hover,
body.pf2-header-light .jeg_header .jeg_main_menu > li.current-menu-item > a,
body.pf2-header-light .jeg_header .jeg_main_menu > li.current-menu-ancestor > a {
  color: #d7bda5 !important;
}
.pf2-elementor-shell > .elementor-container { max-width: none !important; }
.pf2-elementor-shell > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0; }
.pf2-elementor-shell .elementor-column,
.pf2-elementor-shell .elementor-widget-wrap { min-width: 0; }
.pf2-elementor-shell .elementor-widget-shortcode { margin-bottom: 0; min-width: 0; width: 100%; max-width: 100%; }
.pf2-elementor-shell .elementor-widget-shortcode > .elementor-widget-container { min-width: 0; width: 100%; max-width: 100%; }
.pf2-section {
  --pf2-ink: #13223e;
  --pf2-accent: #a28872;
  box-sizing: border-box;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto 36px;
  padding: 0 24px;
  color: var(--pf2-ink);
}
.pf2-section *, .pf2-section *::before, .pf2-section *::after { box-sizing: border-box; }
.pf2-section a { color: inherit; text-decoration: none; }
.pf2-section a:hover { color: #8e6e53; }
.pf2-section a:focus-visible,
.pf2-section button:focus-visible,
.pf2-carousel-track:focus-visible { outline: 2px solid var(--pf2-accent); outline-offset: 4px; }
.pf2-section .pf2-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 20px;
  color: var(--pf2-ink);
  font: 400 28px/1.3 'Libre Baskerville', Georgia, serif;
  letter-spacing: .035em;
  text-align: center;
  text-transform: uppercase;
}
.pf2-heading::before, .pf2-heading::after {
  content: '';
  flex: 1;
  min-width: 18px;
  height: 1px;
  background: var(--pf2-accent);
}
.pf2-featured { padding-top: 28px; }
.pf2-hero { display: grid; grid-template-columns: 40% 60%; min-width: 0; background: #fff; }
.pf2-hero-copy { position: relative; z-index: 1; align-self: center; padding: 15px 22px 15px 0; }
.pf2-section .pf2-hero h3 { margin: 0 0 23px; font: 400 42px/1.12 'Libre Baskerville', Georgia, serif; letter-spacing: -.04em; color: var(--pf2-ink); }
.pf2-hero-copy p { margin: 0 0 22px; font: 18px/1.55 Georgia, serif; }
.pf2-readmore { display: inline-block; padding: 9px 0; border-top: 1px solid var(--pf2-accent); border-bottom: 1px solid var(--pf2-accent); font: 18px/1.3 Georgia, serif; }
.pf2-hero-image { position: relative; display: block; overflow: hidden; }
.pf2-hero-image::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #fff, rgba(255,255,255,.6) 8%, transparent 29%); }
.pf2-hero-image img, .pf2-hero-image .pf2-image-placeholder { display: block; width: 100%; height: 340px; object-fit: cover; }
.pf2-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pf2-category-card { display: block; min-width: 0; text-align: center; }
.pf2-category-image { overflow: hidden; aspect-ratio: 1.9; background: #eef1f4; }
.pf2-category-image img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.pf2-section .pf2-category-card h3 { margin: 12px 0 0; font: 400 20px/1.35 'Libre Baskerville', Georgia, serif; color: inherit; letter-spacing: -.02em; }
.pf2-decouvrir .pf2-category-image { aspect-ratio: 2.45; }
.pf2-decouvrir { margin-bottom: 48px; }
.pf2-carousel { width: 100%; min-width: 0; }
.pf2-carousel-track { display: flex; gap: 24px; position: relative; width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.pf2-carousel[data-pf2-ready] .pf2-carousel-track { scrollbar-width: none; }
.pf2-carousel[data-pf2-ready] .pf2-carousel-track::-webkit-scrollbar { display: none; }
.pf2-carousel-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 24px 22px; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.pf2-article { min-width: 0; margin: 0; text-align: center; }
.pf2-article > a { display: block; }
.pf2-article-image { width: 100%; overflow: hidden; aspect-ratio: 2.65; background: #eef1f4; }
.pf2-article-image img, .pf2-article-image .pf2-image-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf2-image-placeholder { display: block; background: linear-gradient(135deg, #eef1f4, #d8e0e8); }
.pf2-section .pf2-article h3 { margin: 11px 0 6px; color: inherit; font: 400 18px/1.4 'Libre Baskerville', Georgia, serif; letter-spacing: -.025em; }
.pf2-article time { display: block; color: #647083; font: 12px/1.4 Arial, sans-serif; }
.pf2-carousel-controls { display: none; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.pf2-carousel[data-pf2-ready] .pf2-carousel-controls { display: flex; }
.pf2-section .pf2-carousel-controls button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 42px; margin: 0; padding: 0; border: 1px solid var(--pf2-accent); background: #fff; color: var(--pf2-ink); border-radius: 0; cursor: pointer; font: 22px/1 Arial, sans-serif; }
.pf2-section .pf2-carousel-controls button:hover:not(:disabled) { background: var(--pf2-ink); color: #fff; }
.pf2-section .pf2-carousel-controls button:disabled { opacity: .35; cursor: default; }
.pf2-carousel-status { min-width: 155px; color: #647083; text-align: center; font: 13px/1.4 Arial, sans-serif; }
.pf2-empty { margin: 0; padding: 30px 20px; background: #f5f6f8; text-align: center; font: 17px/1.6 Georgia, serif; }
.pf2-admin-hint { border-left: 3px solid var(--pf2-accent); padding: 12px 16px; margin: 16px 0; background: #f5f6f8; font: 14px/1.6 Arial, sans-serif; }
.pf2-admin-hint a { text-decoration: underline; }
@media (max-width: 1023px) {
  .pf2-section .pf2-hero h3 { font-size: 34px; }
  .pf2-hero-copy p { font-size: 17px; }
  .pf2-section .pf2-category-card h3 { font-size: 18px; }
  .pf2-carousel-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf2-article-image { aspect-ratio: 2.2; }
}
@media (max-width: 767px) {
  body.pf2-header-on .jeg_mobile_midbar > .container { padding-left: 16px; padding-right: 16px; }
  .pf2-section { padding-left: 16px; padding-right: 16px; margin-bottom: 30px; }
  .pf2-featured { padding-top: 22px; }
  .pf2-section .pf2-heading { font-size: 21px; gap: 12px; margin-bottom: 17px; letter-spacing: .02em; }
  .pf2-hero { grid-template-columns: minmax(0, 1fr); }
  .pf2-hero-copy { padding: 0 0 22px; }
  .pf2-section .pf2-hero h3 { font-size: 32px; margin-bottom: 17px; }
  .pf2-hero-copy p { font-size: 17px; margin-bottom: 18px; }
  .pf2-hero-image::after { display: none; }
  .pf2-hero-image img, .pf2-hero-image .pf2-image-placeholder { height: auto; min-height: 190px; max-height: 320px; aspect-ratio: 1.8; }
  .pf2-category-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pf2-section .pf2-category-card h3 { font-size: 20px; margin-top: 10px; }
  .pf2-category-image { aspect-ratio: 1.95; }
  .pf2-carousel-track { gap: 16px; }
  .pf2-carousel-panel { display: contents; }
  .pf2-article { flex: 0 0 calc(100% - 48px); min-width: 0; scroll-snap-align: start; }
  .pf2-article-image { aspect-ratio: 1.75; }
  .pf2-section .pf2-article h3 { font-size: 18px; }
  .pf2-carousel-controls { gap: 14px; margin-top: 19px; }
  .pf2-decouvrir { margin-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) { .pf2-carousel-track { scroll-behavior: auto; } }
