@charset "UTF-8";

/* ============== PRIMITIVES ====================== */
/* ------------------------------ COLORS ------------ */
/* ------------------------------ DIMENSIONS --- */
/* ------------------------------ BREAKPOINTS --- */
/* ============== ALIAS  ============================ */
/* ============== COMPONENTS  ============================ */
/* ------------------------------ BREAKPOINTS --- */
/* ****************** FONCTIONS *************** */
/* ****************** MIXINS ************************** */
/*  *************** RESET ********************* */
/*  Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
 *  - The "symbol *" part is to solve Firefox SVG sprite bug
 * */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a,
button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input,
textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
  all: revert;
}

/* reset default text opacity of input placeholder */
::placeholder {
  color: unset;
}

/* remove default dot (•) sign */
::marker {
  content: initial;
}

/* fix the feature of 'hidden' attribute.
 * display:revert revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
 * - fix for the content editable attribute will work properly.
 * - webkit-user-select: auto added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable=false])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable=true]) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
  all: revert;
}

@font-face {
  font-family: "alumni-icon";
  src: url("../fonts/alumni-icon.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "OpenSans-Regular";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "OpenSans-Thin";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/open-sans-latin-300-normal.woff2") format("woff2");
}

@font-face {
  font-family: "OpenSans-Medium";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/open-sans-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "OpenSans-SemiBold";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "OpenSans-Bold";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "OpenSans-Black";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/open-sans-latin-800-normal.woff2") format("woff2");
}

.view--smart {
  display: none !important;
}

.view--screen {
  display: block !important;
}

#smartMenu {
  display: none;
  opacity: 0;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
}

#smartMenu.opened {
  display: block;
  opacity: 1;
}

#smartMenu>ol {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  margin: 10px auto;
  max-width: 350px;
  border-radius: 48px;
  background-color: #454796;
  color: #ffffff;
  padding: 70px 0;
}

#smartMenu>ol>li:not(:last-child):not(:first-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

#smartMenu>ol>li:last-child {
  margin-top: 30px;
  align-self: center;
}

#smartMenu>ol>li:first-child {
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 99999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

#smartMenu>ol>li a {
  display: block;
  padding: 5px 30px;
  transition: background-color 0.2s ease-in-out;
  border: none;
}

#smartMenu>ol>li a:hover {
  cursor: pointer;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.35);
}

#connexion {
  opacity: 0;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
}

#connexion.opened {
  display: flex;
  opacity: 1;
}

#connexion>form {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: stretch;
  row-gap: 20px;
  margin: 10px auto;
  max-width: 540px;
  max-height: 800px;
  border-radius: 48px;
  background-color: #454796;
  background-image: url("../svgs/picto-user.svg");
  background-size: 210px 210px;
  background-repeat: no-repeat;
  background-position: top 30px center;
  font-size: 14px;
  color: #ffffff;
  padding: 210px 50px 50px 50px;
}

#connexion>form>a {
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 99999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 5px 30px;
  transition: background-color 0.2s ease-in-out;
}

#connexion>form>a:hover {
  cursor: pointer;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.35);
}

#connexion>form>section:nth-of-type(1) {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

#connexion>form>section:nth-of-type(1) input[type=text],
#connexion>form>section:nth-of-type(1) input[type=password] {
  background-color: #ffffff;
  border-radius: 99999px;
  padding: 8px 16px;
  color: #000000;
}

#connexion>form>section:nth-of-type(1) input[type=text]::placeholder,
#connexion>form>section:nth-of-type(1) input[type=password]::placeholder {
  font-style: italic;
}

#connexion>form>section:nth-of-type(2) {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 20px;
}

#connexion>form>section:nth-of-type(2) a {
  font-size: 0.75rem;
}

#connexion>form>section:nth-of-type(3) {
  display: block;
  max-height: 330px;
  overflow: hidden;
  overflow-y: auto;
}

#connexion>form>section:nth-of-type(3)>p {
  margin-bottom: 10px;
}

.menu-icon {
  position: relative;
  width: 24px;
  height: 24px;
  transition: transform 0.5s;
  border: none;
}

.menu-icon>span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 22px;
  background-color: #ffffff;
}

.menu-icon>span::before,
.menu-icon>span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-6px);
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 22px;
  background-color: #ffffff;
  transition: all 0.3s ease-out;
}

.menu-icon>span::after {
  transform: translateY(6px);
}

i {
  display: inline-block;
  font-family: "alumni-icon", sans-serif !important;
  font-style: normal !important;
  font-weight: 400;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.25em;
}

a {
  border-bottom: 2px solid transparent;
}

/* Global hover effect removed */
a:hover,
a:active,
a:focus {
  /* border-color: #ffffff; */
}

/* Specific hover effect for Nav and Header Logo */
.heading > nav > a:hover,
.heading > nav > a:active,
.heading > nav > a:focus,
.heading > a:hover,
.heading > a:active,
.heading > a:focus {
  border-color: #ffffff;
}

.heading {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-start;
  height: 455px;
  border-radius: 48px;
  color: #ffffff;
  background-image: url("../imgs/alumni-header.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 24px;
}

.heading::before {
  content: "";
  background: linear-gradient(to bottom, rgb(0, 0, 0) 8%, rgba(255, 255, 255, 0) 60%);
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.8;
  border-radius: 48px;
}

.heading::after {
  content: "";
  background-image: url("../svgs/picto-pastille-alumni.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 219px;
  height: 110px;
}

.heading.--small {
  height: 255px;
  margin-bottom: 60px;
}

.heading>* {
  flex: 1 1 50%;
  position: relative;
  z-index: 3;
}

.heading>a {
  text-align: center;
  border: none;
}

.heading>nav {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
  font-weight: 600;
  font-family: OpenSans-SemiBold, sans-serif;
}

.heading>nav i {
  font-size: 4em;
}

.section {
  margin: 0 auto 96px auto;
  position: relative;
}

.entete {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: flex-start;
  margin-top: 130px;
}

.entete>*:nth-child(1) {
  display: flex;
  flex-flow: column nowrap;
}

.entete>*:nth-child(1) .card {
  border-top-left-radius: 0;
}

.entete>*:nth-child(1) .card p {
  max-width: 750px;
  column-count: 2;
}

.entete>*:nth-child(1) .card.--illustrated p {
  max-width: 600px;
  font-size: 0.95rem;
}

.entete>*:nth-child(2) {
  position: relative;
  top: -74px;
  left: 37px;
  flex: 0 0 376px;
}

h2 {
  font-size: 1.875rem;
  line-height: 1;
  color: #2BC4F3;
  font-weight: 800;
  font-family: OpenSans-Black, sans-serif;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h2>small {
  display: block;
  font-family: OpenSans-Regular, sans-serif;
  font-weight: 400;
  color: #58534C;
}

.separate {
  display: block;
  height: 1px;
  background-color: #454796;
}

.date {
  font-weight: 800;
  font-family: OpenSans-Black, sans-serif;
}

.date>small {
  font-family: OpenSans-Thin, sans-serif;
  font-weight: 300;
  display: block;
  font-size: 0.75rem;
}

.breadcrumbs {
  color: #454796;
  margin: 24px 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
}

.breadcrumbs a:not(:last-child)::after {
  content: "/";
  padding: 0 8px;
}

.breadcrumbs a:last-child {
  font-weight: 800;
  font-family: OpenSans-Black, sans-serif;
}

.news {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 30px;
}

.news:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.news.--opened {
  width: 950px;
  /* More space for content */
}

.news.--closed {
  position: relative;
  flex: 1;
  min-width: 250px;
  /* height: 280px; Removed to allow stretching */
  height: auto;
  overflow: hidden;
  border-radius: 30px;
  padding: 0;
  margin: 0;
}

/* 1. Image as background with object-fit */
.news.--closed .news__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-radius: 0;
  margin: 0;
}



.news.--closed .news__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2. Gradient Overlay */
.news.--closed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 152, 212, 0.6), rgba(101, 39, 129, 0.9));
  z-index: 2;
}

/* 3. Text Content (Header) styling and positioning */
.news.--closed .news__header {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
}

.news.--closed .news__header h2 {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.news.--closed .news__header .date {
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  font-size: 1rem;
  order: -1;
  /* Move date above title */
  margin-bottom: 4px;
}

.news.--closed .news__header .date small {
  display: block;
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 400;
}

/* Hide unused elements in closed state */
.news.--closed .news__content,
.news.--closed .news__button,
.news.--closed .news__summary,
.news.--closed::before {
  display: none;
}

/* Circle placeholders at bottom of closed cards */
.news.--closed::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  /* Show only bottom-left quarter by clipping */
  clip-path: polygon(0 50%, 0 100%, 50% 100%);
  z-index: 1;
}

/* News image at the top */
.news__image {
  width: 100%;
  height: 160px;
  background-color: #E8E8E8;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 12px;
}

.news__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header with title and date */
/* Header with title and date */
.news__header {
  display: flex;
  flex-direction: column;
  /* Stack date and title */
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
}

.news__header h2 {
  flex: none;
  margin-bottom: 0;
  color: #1E98D4;
  /* Cyan/Blue */
  font-size: 2.2rem;
  /* Large title */
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
}

.news__header .date {
  flex-shrink: 0;
  text-align: left;
  color: #58534C;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.news__header .date small {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 2px;
}

/* Content area with button left and summary right */
.news__content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  /* Stack summary and button */
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
}

.news__button {
  flex-shrink: 0;
  font-style: italic;
  white-space: nowrap;
  background-color: #454796;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.news__button:hover {
  background-color: #1E98D4;
  /* Lighten on hover */
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.news__summary {
  font-size: 1rem;
  line-height: 1.6;
  color: #58534C;
  margin: 0;
  font-family: OpenSans-Regular, sans-serif;
  max-width: 100%;
}

/* News grid layout for all news page */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

/* News grid cards use default .card.news.--opened styles */

.news__nav {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  background-image: url("../svgs/picto-actu-nav-bg.svg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  width: 195px;
  height: 91px;
  padding-left: 45px;
}

/* Flash Message Popup */
.flash-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #454796;
  color: #ffffff;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: 'OpenSans-SemiBold', sans-serif;
  animation: slideIn 0.5s ease-out forwards;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 400px;
}

.flash-popup button {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.flash-popup button:hover {
  opacity: 1;
}

.flash-error {
  background-color: #d32f2f;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.news__nav>a {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 4px solid #ffffff;
  border-radius: 99999px;
}

.news__nav>a:first-child>i {
  transform: rotate(-180deg);
}

.news__nav>a:hover {
  background-color: #ffffff;
  color: #454796;
  text-decoration: none;
}

/* Hide navigation buttons on closed news cards */
.news.--closed .news__nav {
  display: none;
}

/* Reverting incorrect fix */
.entete>*:nth-child(2) {
  top: -74px;
  left: 37px;
  flex: 0 0 376px;
}

.card {
  position: relative;
  padding: 24px 48px 48px 48px;
  background-color: #f6f6f6;
  border-radius: 48px;
  box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

.card.news {
  padding: 24px;
}

/* Moving the illustration image to the right */
.card.--illustrated::after {
  content: "";
  position: absolute;
  top: 45px;
  /* Moved from 40px to -25px to shift right ~65px */
  right: -15px;
  transform: translate(65%, 15%) scale(0.9);
  width: 246px;
  height: 256px;
  border-radius: 48px;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.card.--illustrated.--default::after {
  background-image: url("../imgs/alumni-piece.webp");
}

.card.--illustrated.--pro::after {
  background-image: url("../imgs/alumni-tour.webp");
}

.card.--illustrated.--geo::after {
  background-image: url("../imgs/alumni-femme.webp");
}

.card hgroup {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 20px;
}

.card hgroup h2 {
  position: relative;
  overflow: hidden;
}

.card hgroup h2>small {
  text-transform: none;
}

.card hgroup hr {
  flex: 1 1 auto;
  border-top: 1px solid #E8E8E8;
  padding-bottom: 35px;
}

.card.--detail-job h3 {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  line-height: 1;
  color: #2BC4F3;
  font-weight: 800;
  font-family: OpenSans-Black, sans-serif;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.card.--detail-job h3>* {
  flex: 1 1 auto;
}

.card.--detail-job h3>span {
  flex: 0;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 300;
  color: #58534C;
  text-transform: none;
}

.card.--detail-job h3>small {
  width: 100%;
  font-size: 1rem;
  color: #58534C;
}

.card.--detail-job p {
  font-weight: 500;
  font-family: OpenSans-Medium, sans-serif;
}

.card-alert {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  column-gap: 30px;
  background-color: #ffffff;
  border-radius: 48px;
  padding: 1.5rem;
  margin-bottom: 24px;
}

.card-alert>section {
  text-align: center;
}

.card-alert>section p {
  font-family: OpenSans-SemiBold;
  font-size: 0.875rem;
}

.card-alert>section .btn {
  margin: 20px 10px 10px 10px;
  box-shadow: 0 0 5px #454796;
}

.carrousel {
  display: flex;
  /* Prevent wrapping to keep items in one horizontal line */
  flex-flow: row nowrap;
  justify-content: center;
  /* Center to avoid huge empty rectangles on the sides */
  align-items: stretch;
  gap: 30px;
  /* Increased gap for larger cards */
  margin-top: 80px;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  margin-bottom: 0;
}

.carrousel__pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 60px;
  margin-bottom: 24px;
  gap: 16px;
  font-weight: 800;
  font-family: OpenSans-Black, sans-serif;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.carrousel__pagination>i {
  color: #454796;
}

.form {
  display: inline-flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  background-color: #454796;
}

.form .input-group {
  display: flex;
  border: 2px solid #ffffff;
  border-radius: 99999px;
  padding-left: 16px;
}

.form .input-group input::placeholder {
  font-style: italic;
  font-weight: 300;
  font-family: OpenSans-Thin, sans-serif;
}

.form.--abonnement {
  display: flex;
  width: fit-content;
  gap: 96px;
  height: 60px;
  border-radius: 24px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin: 0 auto;
  font-weight: 500;
  font-family: OpenSans-Medium, sans-serif;
  padding: 0 1.875rem;
  color: #ffffff;
}

.form.--abonnement input {
  min-width: 250px;
}

.form.--rechercher {
  align-self: flex-end;
  gap: 16px;
  height: 60px;
  font-weight: 500;
  font-family: OpenSans-Medium, sans-serif;
  padding: 0 2.25rem;
  margin-right: 3.375rem;
  border-bottom-left-radius: 48px;

  border-top-left-radius: 0;
  color: #ffffff;
}

.form-annuaire,
.form-jobs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
  grid-auto-rows: minmax(50px, auto);
}

.form-annuaire>.footer,
.form-jobs>.footer {
  grid-column: 1/3;
}

.form-annuaire>.footer,
.form-jobs>.footer {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}

.form-annuaire>.footer .separate,
.form-jobs>.footer .separate {
  flex: 1 1 auto;
}

.form-annuaire button,
.form-jobs button {
  padding: 12px 48px;
}

.form-annuaire>input:nth-child(3) {
  grid-column: 1/3;
}

.form-jobs {
  grid-template-columns: 75% 25%;
  grid-gap: 0;
}

.form-jobs>input {
  grid-column: 1/2;
}

.form-jobs>.footer {
  grid-column: 2/3;
}

.amibe {
  position: relative;
  width: 376px;
  height: 357px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: OpenSans-Bold, sans-serif;
}

.amibe img {
  width: 60px;
  height: 60px;
}

.amibe>a {
  position: absolute;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  row-gap: 5px;
  font-size: 0.875rem;
}

.amibe.--top-right {
  background-image: url("../svgs/picto-amibe-color.svg");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: cover;
}

.amibe.--top-right>a:nth-child(1) {
  top: 35px;
  left: 40px;
}

.amibe.--top-right>a:nth-child(2) {
  top: 176px;
  right: 112px;
}

.amibe.--bottom-left {
  background-image: url("../svgs/picto-amibe-clor-inverted.svg");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: cover;
}

.amibe.--bottom-left>a:nth-child(1) {
  top: 115px;
  left: 135px;
}

.amibe.--bottom-left>a:nth-child(2) {
  top: 252px;
  right: 30px;
}

.smart-nav {
  display: none;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: center;
  column-gap: 2%;
  row-gap: 2%;
  color: #454796;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: OpenSans-Bold, sans-serif;
  margin-top: 100px;
  max-width: 80%;
}

.smart-nav>a {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 24px;
  height: 140px;
  width: 140px;
  margin-bottom: 20px;
}

.map {
  position: relative;
  display: flex;
  gap: 2%;
  margin-bottom: 155px;
}

.map h1 {
  position: relative;
  margin-top: 10%;
  text-align: center;
  font-size: 1.875rem;
  font-weight: 800;
  font-family: OpenSans-Black, sans-serif;
  color: #454796;
  line-height: 1;
}

.map h1::after {
  content: "";
  position: absolute;
  top: -22px;
  left: -12px;
  width: 105px;
  height: 155px;
  background-image: url("../svgs/picto-decorum-line-rond.svg");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
}

.map h1 small {
  color: #58534C;
  display: block;
  font-size: 0.75rem;
}

.map>.picture {
  background-image: url("../imgs/alumni-map.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
  height: 384px;
  flex: 1 1 auto;
  border-radius: 48px;
}

.map .amibe {
  position: absolute;
  top: 184px;
  left: -142px;
  z-index: 2;
}

.encart-info {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 24px;
  background-color: #454796;
  color: #ffffff;
  height: 141px;
}

.encart-info::after {
  position: absolute;
  content: "";
  width: 283px;
  height: 283px;
  top: -68px;
  right: -320px;
  z-index: -1;
  background-image: url("../svgs/picto-amibe-gray.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.encart-info>*:first-child {
  font-size: 1.875rem;
}

.encart-info>*:nth-child(2) a {
  display: block;
}

.encart-info>*:nth-child(2) h3 {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: OpenSans-SemiBold, sans-serif;
  line-height: 2;
}

.encart-info>*:nth-child(2) h3+a {
  font-size: 1.125rem;
  text-decoration-line: underline;
  text-decoration-style: dotted;
}

.encart-info>*:last-child {
  align-self: flex-end;
}

.encart-info>*:last-child>img {
  position: absolute;
  bottom: 0;
}

body {
  font-family: "OpenSans-Regular", sans-serif;
  padding: 12px;
  color: #58534C;
  background-color: #F6F6F6;
}

main {
  max-width: 1220px;
  margin: 0 auto;
}

footer .footer {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  border-radius: 48px;
  background-color: #232340;
  color: #ffffff;
  min-height: 242px;
  padding: 1.125rem;
}

footer .footer>.footer__brand {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

footer .footer>.footer__brand>a:first-child {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

footer .footer>.footer__brand>a:first-child::before {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: "";
  height: 200px;
  width: 170px;
  background-image: url("../svgs/picto-decorum-traces.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.05;
  transform: translate(-100%, -50%);
}

footer .footer>div {
  flex: 1 1 60%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 24px;
  align-items: flex-end;
}

footer .footer>div>div {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
}

footer .footer>div>div:nth-child(1) small {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: OpenSans-Bold, sans-serif;
}

footer .footer>div>div:nth-child(2) small {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: OpenSans-Bold, sans-serif;
  color: #2BC4F3;
}

footer .footer>div p {
  text-align: center;
  font-size: 0.75rem;
  margin-bottom: 0.875rem;
}

/* School Badge */
.school-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.school-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: #fdfdfd;
}

.school-badge img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.school-badge span {
  color: #003B7A;
  font-family: 'OpenSans-Bold', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

footer .footer>div small {
  display: block;
}

/* --------- RESPONSIVITE --------------- */
@media (max-width: 1279px) {
  .view--smart {
    display: block !important;
  }

  .view--smart.smart-nav {
    display: flex !important;
  }

  .view--smart.btn {
    display: flex !important;
  }

  .view--screen {
    display: none !important;
  }

  body {
    padding: 0;
  }

  .heading {
    height: 255px;
    width: 99%;
    margin: 10px auto;
  }

  .heading>nav {
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 20px;
  }

  .heading>nav>a>i {
    font-size: 1.875rem;
  }

  #smartMenu>ol {
    max-width: 99%;
  }

  main>.section.smart-nav {
    margin-bottom: 0;
  }

  main .entete {
    flex-flow: column-reverse nowrap;
    align-items: center;
    margin-top: 0;
  }

  main .entete>div:nth-child(1) {
    width: 99%;
    background: linear-gradient(to bottom, #ffffff 60%, #454796 60%);
    border-radius: 24px;
  }

  main .entete>div:nth-child(1) .card.--illustrated {
    background-color: #F6F6F6;
    box-shadow: none;
    padding: 24px;
    text-align: center;
    border-radius: 24px;
  }

  main .entete>div:nth-child(1) .card.--illustrated::after {
    display: none;
  }

  main .entete>div:nth-child(1) .card.--illustrated>p {
    max-width: none;
    column-count: 1;
  }

  main .form.--rechercher {
    flex-direction: column;
    height: auto;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 24px;
    gap: 16px;
    border-top-right-radius: 0;
    margin-right: 0;
  }

  main .map {
    flex-flow: column-reverse nowrap;
    width: 99%;
    margin-bottom: 50px;
  }

  main .map .picture {
    border-radius: 24px;
  }

  main .map h1 {
    position: absolute;
    top: -1px;
    left: -1%;
    z-index: 2;
    padding: 12px;
    margin-top: 0;
    background-color: #F6F6F6;
    border-radius: 0;
    border-bottom-right-radius: 12px;
  }

  main .map h1::after {
    display: none;
  }

  footer {
    background-color: #454796;
    border-radius: 48px;
    width: 99%;
    margin: 0 auto 0.5% auto;
  }

  footer .form.--abonnement {
    flex-direction: column;
    height: auto;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 24px;
    gap: 16px;
  }

  footer .footer,
  footer .footer>div {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  footer .footer {
    border-radius: 24px;
    padding-top: 48px;
  }

  footer .footer a::before {
    display: none;
  }

  footer .footer nav {
    text-align: center;
  }

  .carrousel {
    flex-direction: column;
    row-gap: 24px;
  }

  .carrousel .card.news {
    width: 99%;
    margin: 0 auto;
    max-width: none;
  }

  .carrousel .card.news.--opened .news__content {
    flex-direction: column;
    align-items: center;
  }

  .carrousel .card.news.--opened .news__content>div {
    flex: 0 0 auto;
    text-align: center;
  }

  [id=jobs] main>.section.entete::after,
  [id=search-persons] main>.section.entete::after,
  [id=result-persons] main>.section.entete::after,
  [id=detail-person] main>.section.entete::after {
    display: none;
  }

  [id=jobs] main>.section .card.--illustrated,
  [id=search-persons] main>.section .card.--illustrated,
  [id=result-persons] main>.section .card.--illustrated,
  [id=detail-person] main>.section .card.--illustrated {
    padding: 16px;
    background: #F6F6F6;
    max-width: none;
    box-shadow: none;
  }

  [id=jobs] main>.section .card.--illustrated::after,
  [id=search-persons] main>.section .card.--illustrated::after,
  [id=result-persons] main>.section .card.--illustrated::after,
  [id=detail-person] main>.section .card.--illustrated::after {
    display: none;
  }

  [id=jobs] main>.section .card.--illustrated hgroup,
  [id=search-persons] main>.section .card.--illustrated hgroup,
  [id=result-persons] main>.section .card.--illustrated hgroup,
  [id=detail-person] main>.section .card.--illustrated hgroup {
    justify-content: center;
  }

  [id=jobs] main>.section .card.--illustrated hgroup h2,
  [id=search-persons] main>.section .card.--illustrated hgroup h2,
  [id=result-persons] main>.section .card.--illustrated hgroup h2,
  [id=detail-person] main>.section .card.--illustrated hgroup h2 {
    text-align: center;
  }

  [id=jobs] main>.section .card.--illustrated hgroup hr,
  [id=search-persons] main>.section .card.--illustrated hgroup hr,
  [id=result-persons] main>.section .card.--illustrated hgroup hr,
  [id=detail-person] main>.section .card.--illustrated hgroup hr {
    display: none;
  }

  [id=jobs] main>.section .card.encart-info,
  [id=search-persons] main>.section .card.encart-info,
  [id=result-persons] main>.section .card.encart-info,
  [id=detail-person] main>.section .card.encart-info {
    display: block;
    position: relative;
    text-align: center;
    border-radius: 24px;
    margin: 0 auto;
    width: 99%;
    height: auto;
    max-width: none;
    padding: 20px;
    background-image: url("../svgs/picto-caddie.svg");
    background-repeat: no-repeat;
    background-position: top 10px left;
  }

  [id=jobs] main>.section .card.encart-info>*,
  [id=search-persons] main>.section .card.encart-info>*,
  [id=result-persons] main>.section .card.encart-info>*,
  [id=detail-person] main>.section .card.encart-info>* {
    margin-bottom: 12px;
  }

  [id=jobs] main>.section .card.encart-info>*:nth-child(2)>h3,
  [id=search-persons] main>.section .card.encart-info>*:nth-child(2)>h3,
  [id=result-persons] main>.section .card.encart-info>*:nth-child(2)>h3,
  [id=detail-person] main>.section .card.encart-info>*:nth-child(2)>h3 {
    line-height: 1.2;
  }

  [id=jobs] main>.section .card.encart-info>*:last-child,
  [id=search-persons] main>.section .card.encart-info>*:last-child,
  [id=result-persons] main>.section .card.encart-info>*:last-child,
  [id=detail-person] main>.section .card.encart-info>*:last-child {
    display: none;
  }

  [id=jobs] main>.section .card.encart-info::after,
  [id=search-persons] main>.section .card.encart-info::after,
  [id=result-persons] main>.section .card.encart-info::after,
  [id=detail-person] main>.section .card.encart-info::after {
    display: none;
  }

  [id=result-persons] .card.result .result__item:not(.maj),
  [id=detail-person] .card.result .result__item:not(.maj) {
    flex: 1;
    background-color: #ffffff;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    border-top-right-radius: 24px;
    padding: 12px;
    width: auto;
    box-shadow: inset 0 0 7px #ccc;
  }

  [id=search-persons] .heading::after,
  [id=result-persons] .heading::after {
    background-image: url("../svgs/picto-pastille-annuaire.svg");
  }

  [id=detail-person] .heading::after {
    --url-person-annuaire: url("../imgs/person.jpg");
    box-sizing: content-box;
    width: 90px;
    height: 90px;
    border-radius: 99999px;
    border: 15px solid #F6F6F6;
    background-image: var(--url-person-annuaire);
    background-size: cover;
  }

  [id=detail-person] .card.result>hgroup {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  [id=detail-person] .card.result>hgroup>h2 {
    margin-bottom: 8px;
  }

  [id=detail-person] .card.result .card-alert {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  [id=detail-person] .card.result .card-alert>img {
    display: none;
  }

  [id=detail-person] .card.result .result__item:not(.maj)>*:nth-child(1) {
    flex: 1 1 110px;
  }

  [id=jobs] .heading::after {
    background-image: url("../svgs/picto-pastille-jobs.svg");
  }

  [id=jobs] main>.section .card.--detail-job {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 24px;
    width: 99%;
    margin: 20px auto;
  }

  [id=jobs] main>.section .card.--detail-job>* {
    text-align: center;
  }

  [id=jobs] main>.section .card.--detail-job>h3 {
    flex-direction: column;
    order: 2;
    line-height: normal;
    margin-top: 40px;
  }

  [id=jobs] main>.section .card.--detail-job>p {
    order: 3;
  }

  [id=jobs] main>.section .card.--detail-job>picture {
    top: 0;
    bottom: initial;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 24px;
    order: 1;
    padding: 14px;
  }
}

@media (max-width: 767px) {
  .heading.--small {
    height: 180px;
    border-radius: 24px;
  }

  .heading.--small::before {
    border-radius: 24px;
  }

  main>.section {
    margin-bottom: 40px;
  }

  .carrousel .card.news.--closed {
    min-height: 130px;
  }

  .carrousel .card.news.--closed .news__header h2 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .carrousel .card.news.--opened .news__content {
    padding-bottom: 40px;
  }

  .carrousel .card.news.--opened .news__nav {
    top: initial;
    bottom: 0;
    left: 0;
    justify-content: space-around;
    background-image: none;
    height: 50px;
    width: 100%;
    background-color: #454796;
    padding: 2px;
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
  }

  .carrousel .card.news.--opened .news__nav>a {
    width: 30px;
    height: 30px;
    border: none;
  }

  .carrousel__pagination {
    flex-direction: column;
  }

  .form.--abonnement input {
    min-width: auto;
  }

  .form-annuaire,
  .form-jobs {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
  }

  .form-annuaire>.footer,
  .form-jobs>.footer {
    justify-content: center;
  }

  .form-annuaire>.footer>button,
  .form-jobs>.footer>button {
    width: 100%;
  }

  .form-annuaire>.footer .separate,
  .form-jobs>.footer .separate {
    display: none;
  }

  #connexion {
    justify-content: stretch;
    align-items: stretch;
  }

  #connexion>form {
    justify-content: flex-start;
    max-width: 99%;
    max-height: none;
    height: 100%;
    padding: 210px 25px 50px 25px;
  }

  #connexion>form>section:nth-of-type(3) {
    max-height: none;
  }

  [id=search-persons] .card.result .result__item:not(.maj)>hr,
  [id=result-persons] .card.result .result__item:not(.maj)>hr {
    display: none;
  }
}

.btn {
  display: inline-flex;
  justify-content: center;
  cursor: pointer;
  border-radius: 99999px;
  background-color: #454796;
  color: #ffffff;
  font-weight: 500;
  font-family: OpenSans-Medium, sans-serif;
  padding: 8px 24px;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn:hover,
.btn:active,
.btn:focus {
  background-color: #ffffff;
  border-color: #454796;
  color: #454796;
}

.btn.--reverse {
  background-color: #ffffff;
  color: #454796;
  font-weight: 800;
  font-family: OpenSans-Black, sans-serif;
}

.btn.--reverse:hover,
.btn.--reverse:active,
.btn.--reverse:focus {
  background-color: #454796;
  border-color: #ffffff;
  color: #ffffff;
}

.btn.--icon {
  padding: 8px 16px 8px 8px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.btn.--icon>img {
  height: 20px;
  width: auto;
}

.input {
  border-radius: 99999px;
  background-color: #ffffff;
  box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.1);
  padding: 8px 24px;
}

.input::placeholder {
  font-style: italic;
  font-weight: 500;
  font-family: OpenSans-Medium, sans-serif;
}

.select {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-start;
  border-radius: 99999px;
  background-color: #ffffff;
  box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.1);
  padding: 8px 24px;
  padding-right: 50px;
}

.select-group {
  position: relative;
  cursor: pointer;
}

.select-group::after {
  content: "";
  background-image: url("../svgs/open.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.select-group>select {
  width: 100%;
  height: 100%;
}

[id=home] main>.section.carrousel::after {
  position: absolute;
  content: "";
  width: 355px;
  height: 415px;
  top: 20px;
  left: -182px;
  z-index: -1;
  background-image: url("../svgs/picto-decorum-traces.svg");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain;
}

[id=search-persons] .section,
[id=result-persons] .section,
[id=detail-person] .section {
  width: 100%;
  margin-bottom: 16px;
}

[id=search-persons] .section.entete,
[id=result-persons] .section.entete,
[id=detail-person] .section.entete {
  margin-top: 0;
  justify-content: flex-start;
}

[id=search-persons] .section>.card,
[id=result-persons] .section>.card,
[id=detail-person] .section>.card {
  flex: 1 1 auto;
  max-width: 850px;
  padding-right: 125px;
  border-top-left-radius: 0;
}

[id=search-persons] .section>.card.--illustrated.--geo::after,
[id=result-persons] .section>.card.--illustrated.--geo::after,
[id=detail-person] .section>.card.--illustrated.--geo::after {
  top: 0;
  z-index: 100;
  height: 750px;
}

[id=search-persons] .section>.card.encart-info,
[id=result-persons] .section>.card.encart-info,
[id=detail-person] .section>.card.encart-info {
  padding-right: 0;
  margin-bottom: 100px;
}

[id=result-persons] .section.entete::after,
[id=detail-person] .section.entete::after {
  position: absolute;
  content: "";
  width: 355px;
  height: 415px;
  top: -40px;
  left: -102px;
  z-index: -1;
  background-image: url("../svgs/picto-decorum-traces.svg");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain;
}

[id=result-persons] .card,
[id=detail-person] .card {
  row-gap: 8px;
}

[id=result-persons] .card.--illustrated::after,
[id=detail-person] .card.--illustrated::after {
  top: 0;
  z-index: 100;
  height: 95%;
}

[id=result-persons] .card.result .result__item,
[id=detail-person] .card.result .result__item {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  column-gap: 10px;
}

[id=result-persons] .card.result .result__item>hr,
[id=detail-person] .card.result .result__item>hr {
  border-bottom: 2px dashed #E8E8E8;
}

[id=result-persons] .card.result .result__item>*,
[id=detail-person] .card.result .result__item>* {
  flex: 1 1 33%;
}

[id=result-persons] .card.result .result__item>*:nth-child(1),
[id=detail-person] .card.result .result__item>*:nth-child(1) {
  font-weight: 700;
  font-family: OpenSans-Bold, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 33%;
}

[id=result-persons] .card.result .result__item>*:nth-child(3),
[id=detail-person] .card.result .result__item>*:nth-child(3) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50px;
}

[id=result-persons] .card.result .result__item>*:nth-child(5),
[id=detail-person] .card.result .result__item>*:nth-child(5) {
  flex: 0 0 40px;
  font-weight: 300;
  font-style: italic;
  white-space: nowrap;
  max-width: 40px;
  padding: 5px 3px;
  overflow: hidden;
  text-overflow: ellipsis;
}

[id=result-persons] .card.result .result__item>button,
[id=detail-person] .card.result .result__item>button {
  flex: 0 0 50px;
}

[id=detail-person] .card {
  row-gap: 8px;
}

[id=detail-person] .card.--illustrated::after {
  top: 54px;
  z-index: 100;
  height: 246px;
}

[id=detail-person] .card.--illustrated.--pro::after {
  background-image: url("../imgs/person.jpg");
}

[id=detail-person] .card.result>hgroup h3 {
  font-weight: 800;
  font-family: OpenSans-Black, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 24px;
}

[id=detail-person] .card.result .result__item {
  justify-content: flex-start;
  width: 60%;
}

[id=detail-person] .card.result .result__item>*:nth-child(3) {
  max-width: none;
}

[id=detail-person] .card.result .result__item.maj {
  justify-content: space-between;
  color: #454796;
  margin: 20px 0;
  width: auto;
}

[id=detail-person] .card.result .result__item.maj>hr {
  flex: 1 1 auto;
  max-width: none;
  border-bottom: 2px solid #454796;
}

[id=detail-person] .card.result .result__item.maj>span,
[id=detail-person] .card.result .result__item.maj>div {
  flex: 0 0 auto;
}

[id=jobs] .section {
  width: 100%;
}

[id=jobs] .section.entete {
  margin-top: 0;
  margin-bottom: 0;
  justify-content: flex-start;
}

[id=jobs] .section>.card {
  flex: 1 1 auto;
  max-width: 850px;
  padding-right: 125px;
  padding-top: 48px;
  border-top-left-radius: 0;
}

[id=jobs] .section>.card.--illustrated.--pro::after {
  top: 70px;
  max-height: 150px;
}

[id=jobs] .section>.card.--illustrated>picture {
  position: absolute;
  top: 50%;
  right: -132px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  background-color: #454796;
  width: 132px;
  height: 132px;
  border-radius: 48px;
  padding: 24px;
}

[id=jobs] ul.section {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

[id=jobs] ul.section>li.card {
  max-width: none;
}

@media (max-width: 1279px) {
  [id=jobs] main .section.entete {
    margin-bottom: 50px;
  }
}

/* ------------------------------ HELPERS --- */
.-u-font-weight-bold {
  font-family: OpenSans-Bold;
}

.-u-font-italic {
  font-style: italic;
}

.u-color-blue-dark {
  color: #454796 !important;
}

.u-color-blue-light {
  color: #2BC4F3 !important;
}

/* ========================================
   HOMEPAGE REDESIGN STYLES
   ======================================== */

/* Map Customization */
#carte-alumni {
  position: relative;
  z-index: 1; /* Establish stacking context */
}

#carte-alumni::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(69, 71, 150, 0.4); /* Purple overlay */
  pointer-events: none; /* Allow clicks to pass through */
  z-index: 999; /* On top of map tiles/markers */
  border-radius: 24px;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 200px;
  margin-bottom: 80px;
  overflow: visible;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  display: flex;
  border-radius: 24px;
  overflow: hidden;
}

.hero-left {
  flex: 1;
  background-image: url('../imgs/alumni-header.webp');
  background-size: cover;
  background-position: left center;
  filter: brightness(0.8);
}

.hero-right {
  flex: 1;
  background-image: url('../imgs/alumni-header.webp');
  background-size: cover;
  background-position: right center;
  filter: brightness(0.9);
}

.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 140px;
  height: 140px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-logo img {
  width: 120px;
  height: auto;
}

/* Floating Action Buttons */
.floating-buttons {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 15;
}

.floating-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: #f8f8f8;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(91, 111, 216, 0.3);
  transition: all 0.3s ease;
  padding: 15px;
  border: none;
}

.floating-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(91, 111, 216, 0.5);
  border-color: transparent;
}

.floating-btn img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}

 /* Arrow buttons – slightly larger glyph */
.pagination-btn[title="Précédent"],
.pagination-btn[title="Suivant"] {
  font-size: 1.4rem;
  font-weight: 700;
}

.floating-btn span {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  font-family: OpenSans-SemiBold, sans-serif;
}

/* Content Section */
.content-section {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  align-items: flex-start;
}

.content-card {
  flex: 1;
  background: #f6f6f6;
  border-radius: 32px;
  border-top-left-radius: 0;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.content-card h2 {
  font-size: 1.875rem;
  line-height: 1.2;
  color: #2BC4F3;
  font-weight: 800;
  font-family: OpenSans-Black, sans-serif;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.content-card h2 small {
  display: block;
  font-family: OpenSans-Regular, sans-serif;
  font-weight: 400;
  color: #58534C;
  font-size: 1rem;
  text-transform: none;
}

.content-columns {
  columns: 2;
  column-gap: 30px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #58534C;
  font-family: OpenSans-Regular, sans-serif;
}

.search-form {
  margin-top: 30px;
}

.search-form label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: OpenSans-Medium, sans-serif;
  color: #ffffff;
  background: #f8f8f8;
  padding: 12px 24px;
  border-radius: 24px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
  width: fit-content;
}

.search-input-group {
  display: flex;
  background: #f8f8f8;
  padding: 16px 24px;
  border-radius: 32px;
  border-top-left-radius: 0;
  gap: 16px;
  align-items: center;
}

.search-input-group input {
  flex: 1;
  background: white;
  border: 2px solid white;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.95rem;
  color: #333;
  font-family: OpenSans-Regular, sans-serif;
}

.search-input-group input::placeholder {
  font-style: italic;
  color: #999;
  font-family: OpenSans-Thin, sans-serif;
}

.btn-search {
  background: #ffffff;
  color: #5B6FD8;
  border: none;
  border-radius: 999px;
  padding: 10px 32px;
  font-weight: 600;
  font-family: OpenSans-SemiBold, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-search:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.content-illustration {
  width: 280px;
  height: 280px;
  background-image: url('../imgs/alumni-piece.webp');
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  flex-shrink: 0;
}

/* Annuaire and News Section */
.annuaire-news-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 80px auto;
}

.annuaire-card {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  background: #f8f8f8;
  border-radius: 32px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  min-height: 320px;
}

.annuaire-badge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.annuaire-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.annuaire-card h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  font-family: OpenSans-Bold, sans-serif;
  margin-bottom: 20px;
  color: white;
}

.btn-annuaire {
  background: white;
  color: #5B6FD8;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 600;
  font-family: OpenSans-SemiBold, sans-serif;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
}

.btn-annuaire:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

.news-preview-card {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
  background: #f6f6f6;
  border-radius: 32px;
  padding: 40px;
  position: relative;
}

.news-nav-arrows {
  position: absolute;
  top: 0;
  right: 0;
  background: #f8f8f8;
  border-radius: 0 32px 0 32px;
  padding: 15px 20px;
  display: flex;
  gap: 12px;
}

.arrow-btn {
  width: 36px;
  height: 36px;
  border: 3px solid white;
  border-radius: 50%;
  background: transparent;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.arrow-btn:hover {
  background: white;
  color: #5B6FD8;
}

.news-preview-card small {
  display: block;
  font-size: 0.95rem;
  color: #58534C;
  font-family: OpenSans-Regular, sans-serif;
  margin-bottom: 8px;
}

.news-preview-card h2 {
  font-size: 1.5rem;
  color: #2BC4F3;
  font-weight: 800;
  font-family: OpenSans-Black, sans-serif;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.news-preview-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #58534C;
  font-family: OpenSans-Regular, sans-serif;
}

.news-card-1,
.news-card-2 {
  background: linear-gradient(135deg, #1E98D4, #652781);
  border-radius: 32px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  min-height: 200px;
}

.news-card-1 {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}

.news-card-2 {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
}

.news-card-1 p,
.news-card-2 p {
  font-size: 1rem;
  line-height: 1.4;
  font-family: OpenSans-Regular, sans-serif;
}

.news-card-1 strong,
.news-card-2 strong {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: OpenSans-Black, sans-serif;
  display: block;
}

.news-pagination {
  grid-column: 1 / 4;
  grid-row: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 24px;
  font-weight: 700;
  font-family: OpenSans-Bold, sans-serif;
  color: #454796;
}

.btn-actualites {
  background: #f8f8f8;
  color: white;
  padding: 12px 28px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-family: OpenSans-SemiBold, sans-serif;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.9rem;
}

.btn-actualites:hover {
  background: #4A5DC7;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(91, 111, 216, 0.3);
  border-color: transparent;
}

/* Map Section */
.map-section {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 80px auto;
}

.map-header {
  margin-bottom: -40px;
  position: relative;
  z-index: 10;
  padding-left: 40px;
}

.map-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: OpenSans-Black, sans-serif;
  color: #454796;
  line-height: 1;
}

.map-header h1 small {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  font-family: OpenSans-Regular, sans-serif;
  color: #58534C;
}

.map-container {
  height: 500px;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 5;
}

.map-floating-buttons {
  position: absolute;
  bottom: 120px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 20;
}

.map-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: #652781;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(101, 39, 129, 0.3);
  transition: all 0.3s ease;
  padding: 12px;
  border: none;
}

.map-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(101, 39, 129, 0.5);
  border-color: transparent;
}

.map-btn img {
  width: 35px;
  height: 35px;
  margin-bottom: 6px;
  filter: brightness(0) invert(1);
}

.map-btn span {
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  line-height: 1.1;
  font-family: OpenSans-SemiBold, sans-serif;
}

/* Newsletter Section */
.newsletter-section {
  max-width: 1200px;
  margin: 0 auto 0 auto;
  padding-bottom: 0;
}

.newsletter-container {
  background: #f8f8f8;
  border-radius: 32px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding: 40px 60px;
  text-align: center;
}

.newsletter-container h3 {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: OpenSans-SemiBold, sans-serif;
  color: white;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  background: white;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 0.95rem;
  color: #333;
  font-family: OpenSans-Regular, sans-serif;
}

.newsletter-form input::placeholder {
  font-style: italic;
  color: #999;
  font-family: OpenSans-Thin, sans-serif;
}

.btn-subscribe {
  background: white;
  color: #5B6FD8;
  border: none;
  border-radius: 999px;
  padding: 14px 36px;
  font-weight: 600;
  font-family: OpenSans-SemiBold, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn-subscribe:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 1279px) {
  .annuaire-news-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .annuaire-card {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .news-preview-card {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }

  .news-card-1 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .news-card-2 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .news-pagination {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
  }

  .floating-buttons {
    right: 20px;
  }

  .floating-btn {
    width: 80px;
    height: 80px;
  }

  .floating-btn img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 150px;
  }

  .hero-background {
    height: 150px;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }

  .hero-logo img {
    width: 80px;
  }

  .floating-buttons {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 60px;
    transform: none;
  }

  .content-section {
    flex-direction: column;
  }

  .content-illustration {
    width: 100%;
    height: 200px;
  }

  .content-columns {
    columns: 1;
  }

  .annuaire-news-section {
    grid-template-columns: 1fr;
  }

  .annuaire-card,
  .news-preview-card,
  .news-card-1,
  .news-card-2,
  .news-pagination {
    grid-column: 1 / 2;
  }

  .news-preview-card {
    grid-row: 2 / 3;
  }

  .news-card-1 {
    grid-row: 3 / 4;
  }

  .news-card-2 {
    grid-row: 4 / 5;
  }

  .news-pagination {
    grid-row: 5 / 6;
    flex-direction: column;
    text-align: center;
  }

  .map-floating-buttons {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
  }

  .newsletter-container {
    padding: 30px 20px;
  }

  .newsletter-form {
    flex-direction: column;
  }
}


/* Homepage News Card Horizontal Layout */
@media (min-width: 1280px) {
  .carrousel .card.news.--opened {
    display: flex !important;
    flex-direction: row;
    min-height: 260px; /* Reduced from 300px */
    padding: 0 !important;
    align-items: stretch;
  }

  .carrousel .card.news.--opened .news__image {
    width: 320px;
    min-width: 320px;
    height: auto;
    min-height: 100px; /* Reduced from 300px */
    background: transparent;
   
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
  }

  .carrousel .card.news.--opened .news__image img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 8px;
    margin: 0;
    padding: 0;
  }

  /* Wrapper for text content on the right */
  /* Wrapper for text content on the right */
  .carrousel .card.news.--opened .news__info-wrapper {
    display: flex !important;
    flex-direction: column !important;
    flex: 1;
    justify-content: flex-start; /* Align to top */
    padding: 50px 40px 30px 40px; /* Reduced padding slightly (was 60/40) */
   
  }

  .carrousel .card.news.--opened .news__header {
    padding: 0 0 15px 0 !important;
  }

  .carrousel .card.news.--opened .news__header h2 {
        font-size: 1.875rem;
    line-height: 1;
    color: #2BC4F3;
    font-weight: 800;
    font-family: OpenSans-Black, sans-serif;
    text-transform: uppercase;
    margin-bottom: 24px;
  }

  .carrousel .card.news.--opened .news__content {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
  }

  .carrousel .card.news.--opened .news__summary {
    flex: 0 1 auto !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #58534C;
  }

  .carrousel .card.news.--opened .news__button {
    margin: 0 !important;
    order: 2;
    /* Ensure button is below summary */
  }
}

/* White titles for closed news cards */
.carrousel .card.news.--closed h2 {
  color: #ffffff !important;
}

/* More specific selector to ensure override */
.carrousel .card.news.--closed .news__info-wrapper .news__header h2 {
  color: #ffffff !important;
}
/* =========================================
   Legacy News List Styles
   ========================================= */

.news-legacy-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-legacy-item {
  background-color: #ffffff;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid #eee;
}

.news-legacy-item:last-child {
  border-bottom: none;
}

.news-legacy-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.8rem;
  color: #003B7A;
  margin: 0;
  font-weight: 800;
  line-height: 1.3;
}

.news-legacy-meta {
  color: #999;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.news-legacy-body {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
}

.news-legacy-image {
  flex: 0 0 220px;
  width: 220px;
}

.news-legacy-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.news-legacy-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-legacy-content p {
  font-family: 'OpenSans-Regular', sans-serif;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.news-legacy-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  color: #1E98D4;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent; /* Animated underline effect */
}

.news-legacy-link:hover {
  color: #003B7A;
  border-bottom-color: #003B7A;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .news-legacy-body {
    flex-direction: column;
  }
  
  .news-legacy-image {
    width: 100%;
    flex: none;
    margin-bottom: 15px;
  }
}

/* =========================================
   News Filter Styles
   ========================================= */
.news-filter-bar {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.news-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-weight: 600;
  color: #58534C;
  font-size: 0.9rem;
}

.filter-input,
.filter-select {
  padding: 10px 15px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1rem;
  color: #495057;
  min-width: 250px;
}

.filter-input:focus,
.filter-select:focus {
  border-color: #1E98D4;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(30, 152, 212, 0.25);
}

.filter-btn {
  background-color: #1E98D4;
  color: #ffffff;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  height: 42px; /* Match input height roughly */
}

.filter-btn:hover {
  background-color: #157ab0;
}

@media (max-width: 768px) {
  .news-filter-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-input,
  .filter-select {
    width: 100%;
    min-width: 0;
  }
  
  .filter-btn {
    width: 100%;
  }
}

/* ============================================================
   NEWS LEGACY – actualités list cards (editorial 2-col style)
   ============================================================ */

.news-legacy-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-legacy-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(69, 71, 150, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-legacy-item:hover {
  box-shadow: 0 8px 36px rgba(69, 71, 150, 0.16);
  transform: translateY(-3px);
}

/* ── Image column ── */
.news-legacy-image {
  overflow: hidden;
  height: 100%;
  min-height: 200px;
}

.news-legacy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-legacy-item:hover .news-legacy-image img {
  transform: scale(1.04);
}

/* ── Right column ── */
.news-legacy-body {
  display: contents; /* let grid children be direct grid items */
}

.news-legacy-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

/* Title (h2) — moved inside .news-legacy-content via template */
.news-legacy-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #454796;
  margin-bottom: 0;
}

.news-legacy-title {
  font-family: OpenSans-Black, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.25;
  color: #1a1a2e;
  margin: 0;
}

.news-legacy-meta {
  font-size: 0.78rem;
  color: #9e9ea8;
  font-family: OpenSans-Regular, sans-serif;
}

.news-legacy-divider {
  height: 2px;
  width: 32px;
  background: #454796;
  border-radius: 2px;
}

.news-legacy-excerpt {
  font-family: OpenSans-Regular, sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4a4a5a;
  margin: 0;
  flex: 1;
}

/* Responsive */
@media (max-width: 700px) {
  .news-legacy-item {
    grid-template-columns: 1fr;
  }
  .news-legacy-image {
    height: 200px;
  }
}

.news-legacy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #454796;
  font-weight: 700;
  font-family: OpenSans-Bold, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  padding: 0;
  position: relative;
  transition: gap 0.2s ease;
}

/* Sliding underline */
.news-legacy-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #454796;
  border-radius: 2px;
  transition: width 0.25s ease;
}

a.news-legacy-link:hover,
a.news-legacy-link:focus {
  gap: 12px;
  border: none;
}
a.news-legacy-link:hover::after,
a.news-legacy-link:focus::after {
  width: 100%;
}

/* ============================================================
   PAGINATION – Actualités page
   ============================================================ */
.pagination {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  margin-bottom: 16px;
}

/* Base button */
.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 9999px;
  font-family: OpenSans-SemiBold, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #454796;
  background-color: #ffffff;
  border: 2px solid #e0e0f0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  line-height: 1;
}

/* Hover / focus on clickable buttons */
a.pagination-btn:hover,
a.pagination-btn:focus {
  background-color: #454796;
  color: #ffffff;
  border-color: #454796;
  border-bottom: 2px solid #454796;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(69, 71, 150, 0.25);
}

/* Active / current page */
.pagination-btn.active {
  background: #454796;
  color: #ffffff;
  border-color: #454796;
  box-shadow: 0 4px 14px rgba(69, 71, 150, 0.35);
  cursor: default;
  pointer-events: none;
}

/* Disabled arrow buttons */
.pagination-btn.disabled {
  color: #b0b0c8;
  border-color: #e8e8f2;
  background-color: #f7f7fb;
  cursor: default;
  pointer-events: none;
}

/* Ellipsis – minimal look (disabled span without title) */
span.pagination-btn.disabled:not([title]) {
  border: none;
  background: transparent;
  min-width: 24px;
  padding: 0 6px;
  color: #999;
  letter-spacing: 2px;
  box-shadow: none;
}

@media (max-width: 640px) {
  .pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 0.8rem;
    padding: 0 10px;
  }
}
