/**
 * @file
 * Subtheme specific CSS.
 */

:root {
  --font-family-base: 'Outfit', Arial, sans-serif;
  --font-size-footer: 0.75rem;
  --font-size-tag: 0.875rem;
  --font-size-base: 1rem;
  --font-size-chapo: 1.125rem;

  --line-height-base: 1.5;
  --line-height-chapo: 1.45;

  /* --color-cta: #0172F0; */
  --color-cta: #1098FF;
  --color-blue-uco: #2E456E;
  --color-blue-uco-dark: #00173C;
  --color-blue-small-aa: #0172F0;
  --color-blue-large-aa: #1B6CCB;
  --color-blue-light: #C6E0FF;

  --color-beige-40: #EEE5DB;
  --color-beige: #FAF7F3;
  --color-white: #ffffff;

  --color-yellow: #F5F725;
  --color-yellow-light: #FFFDC3;

  --color-orange-small-aa: #DF3603;
  --color-orange-large-aa: #FF612C;
  --color-orange-light: #FFBFAE;

  --color-pink-small-aa: #DE1D8D;
  --color-pink-large-aa: #FE4FB5;
  --color-pink: #FF88D5;
  --color-pink-light: #FFCCF9;

  --color-green-small-aa: #08857E;
  --color-green-large-aa: #00A88F;
  --color-green: #00D4B7;
  --color-green-light: #86F6E9;

  /* Couleurs utilitaires */
  --color-neutral-900: #1E1E1E;
  --color-neutral-700: #666666;
  --color-surface-dark: #292929;
  --color-text-legacy: #3B3B3B;
  --color-surface-muted: #F6F6F2;
  --color-border-muted: #F9F9F9;
  --color-blue-legacy-top: #055A8E;
  --color-blue-cta-hover: #0256B1;

  /* Transparences */
  --color-blue-dark-a45: rgba(0, 23, 60, 0.45);
  --color-blue-dark-a12: rgba(0, 23, 60, 0.12);
  --color-black-a12: rgba(0, 0, 0, .12);
  --color-black-a10: rgba(0, 0, 0, .10);
  --color-black-a08: rgba(0, 0, 0, .08);
  --color-white-a75: rgba(255, 255, 255, .75);

  --container-max: 95rem;
  --gutter: clamp(1rem, 3vw, 3rem);
  --space-xs: clamp(.5rem, .4rem + .25vw, .75rem);
  --space-sm: clamp(.75rem, .6rem + .5vw, 1.25rem);
  --space-md: clamp(1.25rem, 1rem + 1vw, 2rem);
  --space-lg: clamp(2rem, 1.5rem + 2vw, 4rem);
  --space-xl: clamp(3rem, 2rem + 4vw, 7rem);
  --title-h1: clamp(2rem, 1.55rem + 2vw, 3.5rem);
  --title-h2: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
  --title-h3: clamp(1.2rem, 1.08rem + .45vw, 1.55rem);
  --radius-lg: clamp(4.5rem, 12vw, 18.75rem);
  --radius-md: clamp(2.5rem, 7vw, 9.375rem);
  --tap-size: 2.75rem;
  --cta-padding-y: .5rem;
  --cta-padding-x: 1.25rem;
  --cta-font-size: 1rem;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-blue-uco-dark);
}

html.uco-mobile-menu-open,
body.uco-mobile-menu-open {
  overflow: hidden;
}

.hero-title-home {
  font-size: clamp(2.5rem, 5vw, 8rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-blue-uco-dark);
}

/* Titres */
h1 {
  font-size: var(--title-h1);
  line-height: 1.25;
  font-weight: 700;
}

h2 {
  font-size: var(--title-h2);
  line-height: normal;
  font-weight: 700;
  border-radius: 40px 40px 40px 0;
  background: var(--color-blue-large-aa);
  color: var(--color-white);
  letter-spacing: 0.369px;
  padding: .75rem 2rem;
  width: fit-content;
}

h3 {
  font-size: var(--title-h3);
  line-height: 1.1667;
  font-weight: 700;
}

h4 {
  font-size: clamp(1.125rem, 1.05rem + .3vw, 1.35rem);
  line-height: 1.25;
  font-weight: 700;
}

h5 {
  font-size: clamp(1.05rem, 1rem + .2vw, 1.2rem);
  line-height: 1.3;
  font-weight: 700;
}

h6 {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
}

h1.deco {
  border-radius: 40px 40px 40px 0;
  background: var(--color-white);
  color: var(--color-blue-uco);
  padding: .5rem 1rem;
  width: fit-content;
}

.uco h2 {
  background: var(--color-white);
  color: var(--color-blue-uco);
}

h2.not__style {
  background: none;
  border: none;
  color: var(--color-blue-uco-dark);
  padding: 0;
  width: 100%;
}

.fs-7 {
  font-size: var(--font-size-tag);
  font-weight: 500;
}

.bg__white {
  background-color: var(--color-white);
}

.bg__yellow {
  background-color: var(--color-yellow);
}

.bg__beige {
  background-color: var(--color-beige);
}

.bg__green {
  background-color: var(--color-green);
}

.uco {
  background-color: var(--color-blue-uco);
}

.dark {
  background-color: var(--color-blue-uco-dark);
}

.bleu {
  background-color: var(--color-blue-small-aa);
}

.raduis-20 {
  border-radius: 20px;
}

.raduis-150 {
  border-radius: 0 0 150px 0;
}

.raduis-300 {
  border-radius: 0 0 300px 0;
}

.raduis-300-right {
  border-radius: 0 300px 0 0;
}

.raduis-300-left {
  border-radius: 300px 0 0 0;
}

.raduis-300-left-bottom {
  border-radius: 0 0 0 300px;
}

.p-80 {
  padding: 5rem;
}

.p-70 {
  padding: 4rem;
}

/* Boutons */
.bouton__pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 42px;
  border-radius: 30px;
  border: 1px solid var(--color-blue-uco);
  background: var(--color-white);
  color: var(--color-blue-uco) !important;
  font-weight: 700;
  font-size: var(--cta-font-size);
  line-height: 1.2;
  padding: .5rem 1.25rem;
  text-decoration: none;
}

.header-uco {
  padding-right: 7rem;
  padding-left: 7rem;
}

.paragraph-color-text.beige .bouton__yellow, .beige .bouton__yellow, .block__colonne .bouton__yellow:hover {
  color: var(--color-blue-uco-dark);
}

.bouton__pdf:hover {
  background: var(--color-blue-uco);
  color: var(--color-white) !important;
}

.bouton__pdf:hover svg path {
  stroke: var(--color-white);
}

.block__colonne {
  margin-top: 3rem;
}

.bouton__cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--tap-size);
  border-radius: 30px;
  padding: var(--cta-padding-y) var(--cta-padding-x);
  background: var(--color-cta);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--color-cta);
  transition: 0.5s all ease;
}

.bouton__cta:hover,
.btn:hover {
  color: var(--color-cta);
  background: var(--color-white);
}

.bouton__yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--tap-size);
  border-radius: 30px;
  padding: var(--cta-padding-y) var(--cta-padding-x);
  background: var(--color-yellow);
  color: var(--color-blue-uco-dark);
  border: 2px solid var(--color-yellow);
  font-weight: 700;
  font-size: var(--cta-font-size);
  line-height: 1.2;
  text-decoration: none;
  transition: 0.5s all ease;
}


.bouton__yellow:hover,
.bouton__yellow:focus-visible {
    color: var(--color-blue-uco-dark);
    background: var(--color-yellow-light);
}


.bouton__yellow::after {
  content: '→';
  display: inline-block;
  margin-left: .5rem;
}

.bouton__yellow::before {
  display: none;
}

.link__button {
  color: var(--color-blue-large-aa) !important;
  font-weight: 700;
  text-decoration: none;
}

.link__button:hover {
  color: var(--color-blue-uco-dark) !important;
}

.link__button::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-left: .5rem;
  background-color: var(--color-blue-large-aa);
  --svg: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M3.125 7.5H11.875" stroke="%231098FF" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/><path d="M7.5 3.125L11.875 7.5L7.5 11.875" stroke="%231098FF" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  -webkit-mask: var(--svg);
  mask: var(--svg);
  width: 15px;
  height: 15px;
  transform: translateX(0);
  transition: 0.5s all ease;
}

.link__button:hover::after {
  background-color: var(--color-blue-uco-dark);
  transform: translateX(5px);
}

.button__contour {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--tap-size);
  border-radius: 30px;
  padding: var(--cta-padding-y) var(--cta-padding-x);
  border: 1px solid var(--color-blue-large-aa);
  text-decoration: none;
  color: var(--color-blue-large-aa);
  font-size: var(--cta-font-size);
  font-weight: 700;
  line-height: 1.2;
}

.button__contour a {
  color: inherit;
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.button__contour a:hover,
.button__contour a:focus {
  color: inherit;
  text-decoration: none;
}

.text-formatted p.mb-0 {
  margin-bottom: 0rem;
  margin-top: 0rem;
}

.main__content .button__contour a::before {
  content: none;
}


#block-uco-theme-views-block-les-campus-uco-block-1-2 {
    display: inline-flex;
    align-items: center;
}

#block-uco-theme-views-block-les-campus-uco-block-1-2::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    background-image: url("/themes/custom/uco_theme/images/localisation.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Flèches Campus et Vous êtes */
.region-top-header-form
#block-uco-theme-views-block-les-campus-uco-block-1-2 > h2::after,
.region-top-header-form
#block-uco-theme-vousetes-menu::after {
    content: "";
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: none;
    flex-shrink: 0;
}

/* Flèches fixes au survol */
.region-top-header-form
#block-uco-theme-views-block-les-campus-uco-block-1-2:hover > h2::after,
.region-top-header-form
#block-uco-theme-vousetes:hover > h2::after {
    transform: rotate(45deg);
    transition: none;
}

/* Centrer la flèche de Vous êtes */
.region-top-header-form #block-uco-theme-vousetes-menu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Ajuster la flèche */
.region-top-header-form #block-uco-theme-vousetes-menu::after {
    margin-left: 0;
    position: relative;
    top: -1px;
}

/* Curseur main sur le bloc Vous êtes */
#block-uco-theme-vousetes {
    cursor: pointer;
}

.button__contour::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-left: .5rem;
  background-color: var(--color-blue-small-aa);
  --svg: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M3.125 7.5H11.875" stroke="%231098FF" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/><path d="M7.5 3.125L11.875 7.5L7.5 11.875" stroke="%231098FF" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  -webkit-mask: var(--svg);
  mask: var(--svg);
  width: 15px;
  height: 15px;
  transform: translateX(0);
  transition: 0.5s all ease;
}

.button__contour_uco {
    transition: 0.5s all ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: var(--tap-size);
    border-radius: 30px;
    padding: var(--cta-padding-y) var(--cta-padding-x);
    border: 1px solid var(--color-blue-large-aa);
    text-decoration: none;
    color: var(--color-white);
    border-color: var(--color-green);
    background-color: var(--color-white);
    font-size: var(--cta-font-size);
    font-weight: bold !important;
    line-height: 1.2;
}

a.button__contour_uco:hover {
    background-color: var(--color-green);
    color: var(--color-blue-uco-dark);
}

.button__contour:hover {
  background-color: var(--color-blue-small-aa);
  color: var(--color-white);
}

.button__contour:hover::after {
  background-color: var(--color-white);
}

.button__contour__big {
  font-size: var(--cta-font-size);
}

.button__don {
  display: inline-flex;
  align-items: center;
  border-radius: 30px;
  padding: .25rem .75rem;
  background: var(--color-yellow);
  color: var(--color-blue-uco-dark);
  border: 2px solid var(--color-yellow);
  font-weight: 500;
  font-size: .875rem;
  line-height: 1;
  text-decoration: none;
  transition: 0.5s all ease;
}

.button__don:hover {
  color: var(--color-yellow);
  background-color: var(--color-yellow);
  background: transparent;
}

.button__don::before {
  content: '';
  display: inline-block;
  margin-right: .5rem;
  background-color: var(--color-blue-uco-dark);
  --svg: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 11 11" fill="none"><g clip-path="url(%23clip0_8331_4167)"><path d="M8.70573 6.41667C9.38865 5.7475 10.0807 4.94542 10.0807 3.89583C10.0807 3.22727 9.81514 2.58608 9.34239 2.11334C8.86965 1.64059 8.22846 1.375 7.5599 1.375C6.75323 1.375 6.1849 1.60417 5.4974 2.29167C4.8099 1.60417 4.24156 1.375 3.4349 1.375C2.76633 1.375 2.12515 1.64059 1.6524 2.11334C1.17965 2.58608 0.914063 3.22727 0.914062 3.89583C0.914062 4.95 1.60156 5.75208 2.28906 6.41667L5.4974 9.625L8.70573 6.41667Z" stroke="%2300173C" stroke-width="0.916667" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_8331_4167"><rect width="11" height="11" fill="white"/></clipPath></defs></svg>');
  -webkit-mask: var(--svg);
  -webkit-mask-size: cover;
  mask: var(--svg);
  mask-size: cover;
  width: 15px;
  height: 15px;
  transform: translateX(0);
  transition: 0.5s all ease;
}

.button__don:hover::before {
  background-color: var(--color-yellow);
}

.bouton__uco {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--tap-size);
  border-radius: 30px;
  padding: var(--cta-padding-y) var(--cta-padding-x);
  background: var(--color-blue-uco);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--color-blue-uco);
  transition: 0.5s all ease;
}

.bouton__uco:hover {
  color: var(--color-blue-uco);
  background: var(--color-white);
}

.page-communique-presse .part__right .bg__yellow {
    font-weight: bold;
    align-content: center;
}

.bouton__uco::after {
  content: '→';
  display: inline-block;
  margin-left: .5rem;
}

a.bouton__uco[href="/sites/default/files/CP_UCO_en_fete_5juin2026.pdf"]::after {
    display: none;
}

.page-communique-presse .bouton__uco svg {
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    transform: none;
}

.page-communique-presse .bouton__uco svg path {
    stroke: var(--color-white);
}

.composition__elements.image__texte
.field--name-field-description
.field__item > p:last-child a:not(.bouton__cta):hover {
  color: var(--color-blue-uco-dark);
}

.composition__elements.image__texte .image-right .contexte
.field--name-field-description .field__item h3 {
    color: var(--color-blue-uco-dark);
}

.page-communique-presse .bouton__uco:hover svg {
    transform: none !important;
}

.page-communique-presse .bouton__uco:hover svg path {
    stroke: var(--color-blue-uco);
}

.bouton__blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 42px;
  border-radius: 30px;
  padding: .5rem 1.25rem;
  background: var(--color-cta);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--color-cta);
  transition: 0.5s all ease;
}

.bouton__blue:hover {
  color: var(--color-cta);
  background: var(--color-white);
}

.bouton__blue::after {
  font-weight: normal;
  content: '→';
  display: inline-block;
  margin-left: .5rem;
}

.bouton__white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 42px;
  border-radius: 30px;
  padding: .5rem 1.25rem;
  background: var(--color-white);
  color: var(--color-blue-uco);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--color-blue-uco);
  transition: 0.5s all ease;
}

.bouton__white:hover {
  color: var(--color-white);
  background: var(--color-blue-uco);
  border: 2px solid var(--color-white);
}

.bouton__green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 42px;
  border-radius: 30px;
  padding: .5rem 1.25rem;
  background: var(--color-green);
  color: var(--color-blue-uco-dark);
  font-weight: 700;
  font-size: var(--cta-font-size);
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--color-green);
  transition: 0.5s all ease;
}
.bouton__green::after {
    content: "→";
    display: inline-block;
    margin-left: 0.5rem;
}

.bouton__green:visited {
    color: var(--color-blue-uco-dark);
}

.bouton__green:hover {
  color: var(--color-blue-uco);
  background: var(--color-white);
}

/* Lien bouton compact avec flèche */
.bouton__link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  width: fit-content;
  padding: .25rem .75rem;

  border: 0;
  border-radius: 30px;

  background: var(--color-yellow);
  color: var(--color-blue-uco-dark) !important;

  font-size: .875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;

  transition: .3s ease;
}

.bouton__link-arrow::before {
  content: '▶';
  font-size: .7em;
  line-height: 1;
}

.bouton__link-arrow:hover {
  background: var(--color-blue-uco-dark);
  color: var(--color-white) !important;
  text-decoration: none;
}

/* En-tête */
#header {
  position: relative;
  z-index: 2500;
  width: 100%;
  background: var(--color-white);
}

.header__top .row>* {
  width: auto;
}

.header__top .row {
  align-items: center;
}

.header {
  position: relative;
  border-bottom: 2px solid var(--color-beige);
}

.header__menu {
  width: calc(100% - 425px);
}

#navbar-main {
  background: none;
  padding: 0;
}

.navbar-brand img {
  max-width: 300px;
  height: auto;
}

.header__top .nav-link {
  font-size: .875rem;
  font-weight: 500;
  padding: 0 .5rem;
  color: var(--color-white);
}

.header__top .nav-link:hover {
  text-decoration: underline;
}

.block-views h2,
.block-menu h2 {
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-white);
  padding: 0;
  background: none;
  border-radius: 0;
  margin: 0;
}

#header .block-views h2,
#header .block-menu h2 {
  color: var(--color-blue-uco-dark);
  font-size: 1.25rem;
  position: relative;
  z-index: 2;
}

.pagination {
  margin: 0;
  justify-content: center;
}
.pagination.js-pager__items > .page-item:has(
  a[title="Aller à la première page"]
),
.pagination.js-pager__items > .page-item:has(
  a[title="Aller à la dernière page"]
) {
  display: none;
}
.pagination .page-item.active .page-link {
  border-radius: 100%;
  background-color: var(--color-blue-uco);
  border: 1px solid var(--color-blue-uco);
  color: var(--color-white);
  font-weight: 700;
  font-size: .875rem;
  padding: .5rem 1rem;
}

.pagination .page-link {
  border: none;
  background: none;
  color: var(--color-blue-uco-dark);
  font-weight: 700;
  font-size: .875rem;
  padding: .5rem 1rem;
}

.region-exceptional-message-area,
.header__top {
  position: relative;
  overflow: visible;
}

#header {
  position: relative;
  z-index: 1000;
}

/* Preserve Drupal preview controls above the site header and menus. */
body.node-preview #header,
body:has(.node-preview-container) #header {
  z-index: 400;
}

.region-top-header-form {
  position: relative;
  overflow: visible;
}

.region-top-header-form .block-views-blockles-campus-uco-block-1,
.region-top-header-form .menu--vous-etes {
  position: relative;
  z-index: 1001;
}

/* Boutons des menus du header */
.region-top-header-form .block-views-blockles-campus-uco-block-1 > .uco-top-menu-trigger,
.region-top-header-form .menu--vous-etes > .uco-top-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

/* Flèches fixes vers le bas */
.region-top-header-form .block-views-blockles-campus-uco-block-1 > .uco-top-menu-trigger::after,
.region-top-header-form .menu--vous-etes > .uco-top-menu-trigger::after {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: none;
  flex-shrink: 0;
}

/* Conserver les flèches vers le bas au survol */
.region-top-header-form .block-views-blockles-campus-uco-block-1:hover > .uco-top-menu-trigger::after,
.region-top-header-form .menu--vous-etes:hover > .uco-top-menu-trigger::after {
  transform: rotate(45deg);
}

.region-top-header-form .block-views-blockles-campus-uco-block-1::after,
.region-top-header-form .menu--vous-etes::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -50px;
  width: 240px;
  height: 12px;
}

.region-top-header-form .block-views-blockles-campus-uco-block-1>.content,
.region-top-header-form .menu--vous-etes>ul.nav {
  display: block;
  position: absolute;
  top: calc(100%);
  left: -50px;
  min-width: 240px;
  padding: 1rem;
  background: var(--color-blue-uco);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px var(--color-blue-dark-a12);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
}

.region-top-header-form .block-views-blockles-campus-uco-block-1:hover>.content,
.region-top-header-form .block-views-blockles-campus-uco-block-1:focus-within>.content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.region-top-header-form .block-views-blockles-campus-uco-block-1 .view-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.region-top-header-form .menu--vous-etes:hover>ul.nav,
.region-top-header-form .menu--vous-etes:focus-within>ul.nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;

  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.region-top-header-form .block-views-blockles-campus-uco-block-1 a,
.region-top-header-form .menu--vous-etes .nav-link {
  display: block;
  padding: 0.25rem 0;
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
}

.region-top-header-form .block-views-blockles-campus-uco-block-1 a:hover,
.region-top-header-form .menu--vous-etes .nav-link:hover {
  color: var(--color-yellow);
  text-decoration: underline;
}

.uco-mobile-dropdown-back,
.uco-mobile-dropdown-back-item {
  display: none;
}

.language-link,
.language-link:hover {
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
}

#header .language-link {
  color: var(--color-blue-uco);
}

.block-language .nav-link {
  padding: 0 .25rem;
}

.block-language .nav-link:nth-child(1) .language-link::after {
  content: '/';
  display: inline-block;
  margin-left: .5rem;
}

#a42-ac-button {
  border: none;
  background: none;
  height: auto;
  width: auto;
  font-size: 0;
}

#a42-ac-button::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 28px;
  height: 28px;
  background-color: var(--color-white);
  --svg: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="28" height="29" viewBox="0 0 28 29" fill="none"><path d="M5.89749 3.92203C5.82065 3.83231 5.72738 3.75929 5.62309 3.70719C5.5188 3.65508 5.40556 3.62494 5.28994 3.6185C5.17432 3.61205 5.05861 3.62944 4.94952 3.66966C4.84044 3.70987 4.74014 3.77211 4.65445 3.85276C4.56876 3.93342 4.49938 4.03089 4.45033 4.13952C4.40128 4.24815 4.37353 4.36579 4.3687 4.48561C4.36386 4.60543 4.38204 4.72505 4.42217 4.83754C4.4623 4.95003 4.52359 5.05315 4.60249 5.14093L6.70686 7.5391C2.73436 10.0641 1.02593 13.9565 0.950458 14.1332C0.900707 14.2491 0.875 14.3745 0.875 14.5014C0.875 14.6282 0.900707 14.7536 0.950458 14.8695C0.98874 14.959 1.91515 17.0864 3.97468 19.2195C6.7189 22.0606 10.185 23.5627 14 23.5627C15.9607 23.5743 17.9015 23.1562 19.6951 22.3359L22.1014 25.0784C22.1782 25.1681 22.2715 25.2412 22.3758 25.2933C22.4801 25.3454 22.5933 25.3755 22.7089 25.382C22.8246 25.3884 22.9403 25.371 23.0494 25.3308C23.1584 25.2906 23.2587 25.2283 23.3444 25.1477C23.4301 25.067 23.4995 24.9696 23.5486 24.8609C23.5976 24.7523 23.6254 24.6347 23.6302 24.5149C23.635 24.395 23.6168 24.2754 23.5767 24.1629C23.5366 24.0504 23.4753 23.9473 23.3964 23.8595L5.89749 3.92203ZM11.0742 12.5133L15.6319 17.7072C14.9455 18.0812 14.1587 18.2085 13.395 18.0691C12.6312 17.9297 11.9338 17.5315 11.4122 16.9371C10.8906 16.3427 10.5744 15.5857 10.5132 14.785C10.4521 13.9843 10.6494 13.1852 11.0742 12.5133ZM14 21.7502C10.6334 21.7502 7.69233 20.4826 5.25765 17.9836C4.2583 16.955 3.40835 15.7817 2.73436 14.5002C3.24733 13.5045 4.88468 10.7178 7.91327 8.9064L9.88202 11.1437C9.11983 12.1547 8.72728 13.4123 8.77376 14.6941C8.82024 15.976 9.30276 17.1995 10.136 18.1485C10.9693 19.0974 12.0997 19.7108 13.3273 19.88C14.555 20.0493 15.8009 19.7636 16.8448 19.0734L18.4559 20.9086C17.034 21.4735 15.5229 21.759 14 21.7502ZM14.6562 10.9398C14.4282 10.8947 14.2269 10.7577 14.0964 10.5589C13.9659 10.36 13.9171 10.1156 13.9606 9.87949C14.0041 9.64334 14.1364 9.43477 14.3284 9.29965C14.5204 9.16454 14.7564 9.11395 14.9844 9.15902C16.0996 9.38294 17.115 9.97425 17.8792 10.8447C18.6434 11.7152 19.1154 12.8183 19.2248 13.9893C19.2464 14.2286 19.1754 14.467 19.0273 14.6521C18.8792 14.8371 18.6662 14.9536 18.4351 14.976C18.4078 14.9777 18.3804 14.9777 18.3531 14.976C18.1344 14.977 17.9233 14.8931 17.7613 14.7409C17.5994 14.5886 17.4983 14.3791 17.4781 14.1536C17.4045 13.3747 17.0901 12.6411 16.5816 12.0621C16.0732 11.4831 15.398 11.0895 14.6562 10.9398ZM27.0462 14.8695C27.0003 14.976 25.8923 17.5169 23.3975 19.8312C23.3122 19.9128 23.2122 19.9761 23.1031 20.0172C22.994 20.0584 22.8782 20.0766 22.7622 20.0709C22.6463 20.0652 22.5326 20.0357 22.4277 19.9841C22.3229 19.9324 22.2291 19.8597 22.1517 19.7701C22.0742 19.6806 22.0148 19.5759 21.9768 19.4623C21.9388 19.3487 21.923 19.2284 21.9304 19.1084C21.9377 18.9885 21.968 18.8712 22.0195 18.7635C22.071 18.6557 22.1428 18.5597 22.2305 18.4809C23.4544 17.342 24.4826 15.996 25.2711 14.5002C24.5956 13.2176 23.7438 12.0435 22.7423 11.0146C20.3076 8.51785 17.3666 7.25023 14 7.25023C13.2906 7.24933 12.5824 7.30882 11.8825 7.42808C11.7687 7.44893 11.652 7.44621 11.5392 7.42009C11.4264 7.39396 11.3197 7.34495 11.2253 7.27588C11.1309 7.20681 11.0506 7.11905 10.9891 7.01767C10.9277 6.91628 10.8862 6.80329 10.8671 6.68522C10.848 6.56714 10.8517 6.44632 10.878 6.32973C10.9043 6.21315 10.9526 6.10311 11.0201 6.00597C11.0877 5.90883 11.1732 5.82652 11.2716 5.76379C11.3701 5.70106 11.4796 5.65916 11.5937 5.6405C12.3891 5.50449 13.1939 5.43667 14 5.43773C17.815 5.43773 21.2811 6.93984 24.0253 9.78206C26.0848 11.9152 27.0112 14.0437 27.0495 14.1332C27.0993 14.2491 27.125 14.3745 27.125 14.5014C27.125 14.6282 27.0993 14.7536 27.0495 14.8695H27.0462Z" fill="white"/></svg>');
  -webkit-mask: var(--svg);
  mask: var(--svg);

}

.uco-search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* width: 4rem;
  min-height: 4rem; */
  color: var(--color-white);
  text-decoration: none;
}

.uco-search-link:hover {
  color: var(--color-white);
  text-decoration: none;
}

.uco-search-link__icon {
  display: block;
  width: 28px;
  height: 28px;
}

/*MENU*/
#header .nav-link {
  color: var(--color-blue-uco);
  text-transform: uppercase;
  font-weight: 600;
}

#header .dropdown-toggle::after {
  display: none;
}

/*Fil d'ariane*/
.breadcrumb-item.active,
.breadcrumb-item {
  color: var(--color-neutral-900);
  font-weight: 600;
  font-size: .875rem;
}

.breadcrumb-item a {
  color: var(--color-neutral-700);
  text-decoration: none;
  font-weight: 400;
}

/*Page Header*/
.header__page.right .part__right {
  border-radius: 0 0 300px 0;
  overflow: hidden;
}

.header__page.left .part__left {
  border-radius: 0 0 0 300px;
  overflow: hidden;
}

.header__page .part__left {
  padding: 135px 100px 135px 120px;
}

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

.header__page h1 {
  color: var(--color-white);
  margin: 0 0 .5rem;
}

.header__page h1.deco {
  color: var(--color-blue-uco);
}

.header__page p {
  color: var(--color-white);
  font-size: var(--font-size-chapo);
  font-weight: 400;
  margin: 3rem 0 1rem;
}

.header__page time {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 400;
}

.tag {
  font-size: var(--font-size-tag);
  line-height: 1;
  font-weight: 500;
  border-radius: 10px;
  background: var(--color-green);
  padding: .2rem .75rem;
  border: 2px solid var(--color-green);
  transition: 0.5s all ease;
}

.campus {
  font-size: var(--font-size-tag);
  line-height: 1;
  font-weight: 500;
  border-radius: 10px;
  background: var(--color-pink-light);
  padding: .25rem .75rem;
  border: 2px solid var(--color-pink-light);
  transition: 0.5s all ease;
}

.campus:hover:has(a) {
  background: transparent;
}

.campus a,
.tag a {
  color: var(--color-blue-uco-dark);
  text-decoration: none;
}

.tag:hover {
  background: transparent;
}

.tag:hover a {
  color: var(--color-green);
}

.campus a:hover {
  color: var(--color-pink-light);
}

.bg__yellow.date_hour {
  font-size: var(--font-size-tag);
  padding: .25rem .75rem;
}

.tag__yellow {
  font-size: var(--font-size-tag);
  line-height: 1;
  font-weight: 500;
  border-radius: 10px;
  background: var(--color-yellow);
  border: 2px solid var(--color-yellow);
  padding: .25rem 1.25rem;
  display: inline-block;
  text-decoration: none;
  color: var(--color-blue-uco-dark);
  margin: .5rem 0;
  transition: 0.5s all ease;
}

a.tag__yellow:hover {
  color: var(--color-blue-uco-dark);
  background: transparent;
}

.tag__yellow::after {
  content: '→';
  display: inline-block;
}

.field--type-entity-reference {
  margin: 0;
}

/* Contenu */
.main__content {
  background-color: var(--color-beige);
}

.main__content ul {
  padding: 0;
  margin: 1.5rem 0;
}

.main__content ul li {
  list-style: none;
}

.main__content .dark ul li {
  color: var(--color-white);
}

.main__content .dark ul li::before {
  background-color: var(--color-white);
}

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

.main__content .composition__elements img {
  width: auto;
  height: auto;
  object-fit: cover;
}

/*
.main__content p .bouton__cta {
  display: inline-block;
}
*/
.photo__default {
  background-color: var(--color-blue-light);
  border-radius: 100%;
  padding: 1.5rem;
  display: inline-block;
}

/* ==========================================================================
   PARTAGE RESEAUX SOCIAUX
   ========================================================================== */

.block-addtoany {
  --share-blue-height: 5rem;
  --share-bottom-space: 2rem;
  --share-blue-width: 62%;

  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: end;
  column-gap: 2rem;

  box-sizing: border-box;
  width: 100%;
  min-height: calc(var(--share-blue-height) + var(--share-bottom-space));

  /*
   * Le padding-bottom crée uniquement l'espace beige
   * entre le bandeau bleu et le footer.
   */
  padding: 0 2.5rem var(--share-bottom-space);

  margin: 0;

  background-color: var(--color-beige);
}


/* ==========================================================================
   FORME BLEUE
   ========================================================================== */

.block-addtoany::after {
  content: '';

  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;

  width: var(--share-blue-width);
  height: var(--share-blue-height);

  max-width: 650px;

  border-radius: 0 0 0 300px;
  background-color: var(--color-blue-light);

  pointer-events: none;
}


/* ==========================================================================
   CONTENU AU-DESSUS DU FOND
   ========================================================================== */

.block-addtoany>h2,
.block-addtoany>.content {
  position: relative;
  z-index: 1;

  margin: 0;
}


/* ==========================================================================
   TITRE
   ========================================================================== */

.block-addtoany>h2 {
  display: flex;
  align-items: center;
  gap: .625rem;

  padding: 0;

  width: auto;

  background: transparent;
  border: 0;
  border-radius: 0;

  color: var(--color-neutral-900);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;

  white-space: nowrap;
}

.block-addtoany>h2::before {
  content: '';

  display: block;
  flex: 0 0 1.25rem;

  width: 1.25rem;
  height: 1.25rem;

  margin: 0;

  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M15 6.66699C16.3807 6.66699 17.5 5.5477 17.5 4.16699C17.5 2.78628 16.3807 1.66699 15 1.66699C13.6193 1.66699 12.5 2.78628 12.5 4.16699C12.5 5.5477 13.6193 6.66699 15 6.66699Z" stroke="%231E1E1E" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/><path d="M5 12.5C6.38071 12.5 7.5 11.3807 7.5 10C7.5 8.61929 6.38071 7.5 5 7.5C3.61929 7.5 2.5 8.61929 2.5 10C2.5 11.3807 3.61929 12.5 5 12.5Z" stroke="%231E1E1E" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 18.333C16.3807 18.333 17.5 17.2137 17.5 15.833C17.5 14.4523 16.3807 13.333 15 13.333C13.6193 13.333 12.5 14.4523 12.5 15.833C12.5 17.2137 13.6193 18.333 15 18.333Z" stroke="%231E1E1E" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/><path d="M7.1582 11.2588L12.8499 14.5755" stroke="%231E1E1E" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/><path d="M12.8415 5.4248L7.1582 8.74147" stroke="%231E1E1E" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/></svg>');

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


/* ==========================================================================
   BOUTONS
   ========================================================================== */

.block-addtoany>.content {
  width: auto;
}

.block-addtoany .addtoany_list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;

  gap: .75rem;

  line-height: 1 !important;
}

.block-addtoany .a2a_kit a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;

  box-sizing: border-box;

  width: 46px;
  height: 46px;

  margin: 0;
  padding: 0;

  border-radius: 10px;
  background: var(--color-white);

  box-shadow:
    0 1px 3px var(--color-black-a10),
    0 1px 2px -1px var(--color-black-a10);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.block-addtoany .a2a_kit a:hover {
  transform: translateY(-2px);

  box-shadow:
    0 4px 8px var(--color-black-a12),
    0 2px 4px var(--color-black-a08);
}


/* ==========================================================================
   TABLETTE
   ========================================================================== */

@media (max-width: 61.99rem) {

  .block-addtoany {
    --share-blue-height: 5rem;
    --share-bottom-space: 1.75rem;
    --share-blue-width: 72%;

    column-gap: 1.25rem;

    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }

  .block-addtoany .addtoany_list {
    gap: .65rem;
  }

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 47.99rem) {

   .composition__elements.image__texte {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .composition__elements.image__texte > .container-xxl {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .image__texte .contexte.flex-grow-1 {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

  .block-addtoany {
    --share-blue-height: 7.5rem;
    --share-bottom-space: 1.25rem;
    --share-blue-width: calc(100% - 2rem);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 0.75rem;

    width: 100%;
    min-height: calc(var(--share-blue-height) + var(--share-bottom-space));

    padding: 1rem 1.5rem var(--share-bottom-space);

    margin: 0;
    box-sizing: border-box;
  }

  /* Décaler uniquement le contenu vers la droite */
.block-addtoany > h2,
.block-addtoany > .content {
  position: relative;
  z-index: 1;
  left: 2rem;
  width: calc(100% - 2rem);
  box-sizing: border-box;
}

  .block-addtoany::after {
    top: 0;
    right: auto;


    height: var(--share-blue-height);

    max-width: none;
    border-radius: 0;
  }

  .block-addtoany>h2 {
    align-self: end;

    width: 100%;
    margin: 0;

    white-space: normal;
  }

  .block-addtoany>.content {
    align-self: start;

    width: 100%;
    margin: 0;
  }

  .block-addtoany .addtoany_list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;

    width: 100%;

    gap: .65rem;
  }

  .block-addtoany .a2a_kit a {
    flex: 0 0 46px;

    width: 46px;
    height: 46px;
  }
}

@media (max-width: 29.99rem) {

  .block-addtoany {
    --share-blue-height: 7.5rem;
    --share-blue-width: calc(100% - 1rem);
    --share-bottom-space: 1rem;

    padding-left: 1rem;
    padding-right: 1rem;
  }

  .block-addtoany .a2a_kit a {
    flex-basis: 44px;

    width: 44px;
    height: 44px;
  }
}

/* Page 404 */
.pageNotFound a {
  display: inline-block;
  margin: 1.5rem .5rem 2rem;
}

/* Messages */
.zone__message .row {
  margin: 0;
}

.message__header p {
  font-size: .875rem;
  margin-bottom: 0;
}

.zone__newsletter h2 {
  background-color: var(--color-white);
  color: var(--color-blue-uco-dark);
  margin-bottom: 2rem;
}

.zone__newsletter p {
  color: var(--color-white);
}

.zone__newsletter .bouton__uco {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Sidebar de recherche */

.recherche_sidebar {
  padding: 2rem;
  z-index: 1;
  color: var(--color-blue-uco-dark);
}

.recherche_sidebar aside {
  border-radius: 10px;
  width: 22.5rem;
}

.recherche_sidebar h2 {
  padding: 0;
  color: var(--color-blue-uco);
  font-family: 'Outfit';
  background-color: transparent;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.2;
}

.recherche_sidebar p,
.recherche_sidebar a {
  margin: 0 0 0.375rem;
  color: var(--color-blue-uco);
  font-family: 'Outfit';
  font-size: 1rem;
  line-height: 1.35;
  word-break: break-all;
  text-decoration: none;
}

.recherche_sidebar a:hover {
  text-decoration: underline
}


.sidebar__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.sidebar__links a:hover {
  text-decoration: underline;
}

.sidebar__section {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-blue-dark-a45);
}

.sidebar__section:first-child {
  border-top: 0;
}

.cv-nav,
.programme-nav {
  position: sticky;
  top: var(--uco-header-sticky-offset);
  z-index: 100;
  background-color: var(--color-blue-uco);
}

/* Structure générale */
html {
  scroll-behavior: smooth;
}

img,
svg,
video {
  max-width: 100%;
}

img,
video {
  height: auto;
}

.container-xxl {
  max-width: var(--container-max);
  padding-inline: var(--gutter);
}

.p-80 {
  padding: var(--space-xl);
}

.raduis-150 {
  border-radius: 0 0 var(--radius-md) 0;
}

.raduis-300 {
  border-radius: 0 0 var(--radius-lg) 0;
}

.raduis-300-right {
  border-radius: 0 var(--radius-lg) 0 0;
}

.raduis-300-left {
  border-radius: var(--radius-lg) 0 0 0;
}

.raduis-300-left-bottom {
  border-radius: 0 0 0 var(--radius-lg);
}

/* Accessibilité */
:where(button, .btn, .bouton__cta, .bouton__pdf, .bouton__yellow, .button__contour) {
  min-block-size: var(--tap-size);
}

:where(.btn, .bouton__cta, .bouton__pdf, .bouton__yellow, .button__contour, .bouton__uco, .bouton__blue, .bouton__white, .bouton__green) {
  white-space: nowrap;
}

/* ==========================================================================
   ANIMATIONS ET TRANSITIONS
   ========================================================================== */

.uco-reveal {
  opacity: 0;
  transform: translate3d(0, 1.4rem, 0);
  transition:
    opacity 620ms cubic-bezier(.22, 1, .36, 1),
    transform 720ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--uco-reveal-delay, 0ms);
}

.uco-reveal--title {
  transform: translate3d(0, 1.15rem, 0);
  transition-duration: 640ms, 760ms;
}

.uco-reveal--hero {
  transform: translate3d(0, 1.6rem, 0) scale(.992);
  transition-duration: 720ms, 880ms;
}

.uco-reveal--media {
  transform: translate3d(0, 1.25rem, 0) scale(.975);
}

.uco-reveal--block {
  transform: translate3d(0, .85rem, 0);
}

.uco-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .uco-reveal,
  .uco-reveal--title,
  .uco-reveal--hero,
  .uco-reveal--media,
  .uco-reveal--block {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Zoom des médias */
.uco-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: inherit;
}

.uco-lightbox-trigger img {
  display: block;
  width: 100%;
}


/* Animation du hero de la page d’accueil */
.homeMav__description>* {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
  transition: opacity 650ms cubic-bezier(.22, 1, .36, 1), transform 780ms cubic-bezier(.22, 1, .36, 1);
}

.homeMav.is-visible .homeMav__description>*,
.homeMav__description.is-visible>* {
  opacity: 1;
  transform: none;
}

.homeMav__description>*:nth-child(2) {
  transition-delay: 90ms;
}

.homeMav__description>*:nth-child(3) {
  transition-delay: 170ms;
}

.homeMav__description>*:nth-child(4) {
  transition-delay: 250ms;
}

.homeMav__description>*:nth-child(5) {
  transition-delay: 330ms;
}

.homeMav .image__mav,
.homeMav picture img {
  transform: scale(1.035);
  transition: transform 1100ms cubic-bezier(.22, 1, .36, 1);
}

.homeMav.is-visible .image__mav,
.homeMav.is-visible picture img,
.homeMav .image__mav.is-visible {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .homeMav__description>*,
  .homeMav .image__mav,
  .homeMav picture img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Liens d’évitement */
.skip-links a {
  position: fixed;
  top: .5rem;
  left: .5rem;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  transform: none;
}

.skip-links a:focus,
.skip-links a:focus-visible {
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  background: var(--color-white);
  color: var(--color-blue-uco-dark);
  z-index: 10001;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  position: relative;
  z-index: 12;
}

.site-footer {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  background-color: var(--color-blue-uco-dark);
  font-family: var(--font-family-base);
}

.site-footer .block {
  margin: 0;
  padding: 0;
  border: 0;
}

.site-footer .site-footer__top {
  display: flex;
  flex-direction: column-reverse;
  gap: 0;
}

/* Région 1 : campus, liens utiles / contact, certifications */
.site-footer .region-footer-first {
  display: grid;
  grid-template-columns:
    minmax(10rem, .8fr)
    minmax(22rem, 1.7fr)
    minmax(12rem, .75fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
  width: 100%;
  margin: 0;
  padding: clamp(2rem, 3vw, 2.75rem) 0 0;
  border-top: 1px solid var(--color-white-a75);
}

.site-footer .region-footer-first .block-views-blockles-campus-uco-block-1 {
  width: 100%;
}

#block-uco-theme-menufooter {
  width: 100%;
  margin: 0;
}

#block-uco-theme-footerblocdroite {
  width: 100%;
  max-width: 15rem;
}

#block-uco-theme-footerblocdroite img {
  display: block;
  margin-bottom: 1.5rem;
}

/* Colonnes Liens utiles / Contact */
#block-uco-theme-menufooter > ul,
#block-uco-theme-menufooter > .nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  width: 100%;
  margin: 0;
  padding: 0;
}

#block-uco-theme-menufooter .clearfix.nav::after {
  display: none;
}

#block-uco-theme-menufooter ul.menu {
  display: block;
  margin: 0;
  padding: 0;
}

/* Intitulés non cliquables : Liens utiles / Contact */
#block-uco-theme-menufooter > ul > li > span.nav-link,
#block-uco-theme-menufooter > .nav > li > span.nav-link {
  display: block;
  margin: 0 0 1rem;
  padding: 0;
  color: var(--color-white) !important;
  font-size: var(--font-size-tag);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: default;
  transition: none;
}

#block-uco-theme-menufooter > ul > li > span.nav-link:hover,
#block-uco-theme-menufooter > ul > li > span.nav-link:focus,
#block-uco-theme-menufooter > .nav > li > span.nav-link:hover,
#block-uco-theme-menufooter > .nav > li > span.nav-link:focus {
  color: var(--color-white) !important;
  text-decoration: none !important;
}

/* Vrais liens du footer */
#block-uco-theme-menufooter ul.menu a.nav-link,
.site-footer .view-les-campus-uco .field-content a {
  display: inline-block;
  margin: 0;
  padding: 0;
  color: var(--color-white);
  font-size: var(--font-size-tag);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  transition: color 250ms ease;
}

#block-uco-theme-menufooter ul.menu a.nav-link:hover,
.site-footer .view-les-campus-uco .field-content a:hover {
  color: var(--color-blue-large-aa);
  text-decoration: none;
}

/* Bouton Nous contacter */
#block-uco-theme-menufooter ul.menu a.nav-link.bouton__yellow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: max-content;
  max-width: 100%;
  margin-top: 2rem;
  padding: .75rem 1.125rem;
  color: var(--color-blue-uco-dark);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

#block-uco-theme-menufooter ul.menu a.nav-link.bouton__yellow:hover {
  color: var(--color-yellow);
}

.site-footer__top h2 {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--color-white);
  font-size: var(--font-size-tag);
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Région 2 : logo UCO et réseaux sociaux */
.site-footer .region-footer-second {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  margin: 0;
  padding: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  border: 0;
}

#block-uco-theme-logofooter a {
  display: inline-block;
}

#block-uco-theme-logofooter img {
  display: block;
  width: clamp(11rem, 16vw, 15rem);
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-footer .block__rs {
  margin: 0;
}

.site-footer .block__rs ul,
.site-footer .block__rs .nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .75rem;
  margin: 0;
  padding: 0;
}

.block__rs li {
  list-style: none;
  padding: 8px 9px;
  border: 1px solid var(--color-white);
  border-radius: 100%;
  transition: border-color .4s;
}

.block__rs li:hover {
  border-color: var(--color-blue-uco-dark);
}

.block__rs li svg {
  transform: scale(1);
  transition: transform .4s;
}

.block__rs li:hover svg {
  transform: scale(1.2);
}

/* Barre inférieure */
.footer__bottom .nav {
  align-items: center;
  justify-content: center;
  column-gap: 2rem;
  padding: .5rem 0;
}

.footer__bottom .nav-link {
  padding: 0;
  color: var(--color-blue-uco-dark);
  font-size: var(--font-size-footer);
}

.footer__bottom a.nav-link {
  text-decoration: underline;
}

.footer__bottom a.nav-link:hover {
  color: var(--color-blue-large-aa);
  text-decoration: none;
}

/* Neutralisation des largeurs Bootstrap sur les régions du footer */
.site-footer .region-footer-first.row > *,
.site-footer .region-footer-second.row > * {
  width: auto;
  max-width: 100%;
  margin: 0;
}

@media (max-width: 74.99rem) {
  .site-footer .region-footer-first {
    grid-template-columns:
      minmax(10rem, .75fr)
      minmax(18rem, 1.5fr)
      minmax(11rem, .75fr);
    gap: 1.5rem;
  }

  #block-uco-theme-menufooter > ul,
  #block-uco-theme-menufooter > .nav {
    gap: 1.5rem;
  }

  #block-uco-theme-breadcrumbs .container-fluid.my-2 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 47.99rem) {
  .site-footer {
    padding-block: 2rem 2.5rem;
  }

  .site-footer .region-footer-first {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  #block-uco-theme-menufooter > ul,
  #block-uco-theme-menufooter > .nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  #block-uco-theme-footerblocdroite {
    max-width: 100%;
  }

  .site-footer .region-footer-second {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  .site-footer .block__rs ul,
  .site-footer .block__rs .nav {
    justify-content: flex-start;
  }

  .site-footer .site-footer__container-padding {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .composition__elements.image__texte a.bouton__yellow[href="/uco/decouvrir-luco/mecenat"] {
        width: 260px;
        max-width: 260px;
        white-space: normal !important;
        text-align: center;
        line-height: 1.2;
        flex-wrap: wrap;
        justify-content: center;
    }

    .composition__elements.image__texte a.bouton__yellow[href="/uco/decouvrir-luco/mecenat"]::after {
        flex-shrink: 0;
    }
}

/* En-têtes de pages : version compacte */
.header__page .dark,
.view__formations .header__page .dark,
.view__actualites .header__page .dark,
.view__agenda .header__page .dark,
.view__recherche .header__page .dark {
  padding-block: clamp(2.6rem, 4.5vw, 4.25rem);
}

.header__page .part__right:empty {
  display: none;
}

.header__page .row:has(.part__right:empty) .part__left {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

/* Animation des cartes */
.item__actualites .actu__wrapper,
.item__etudiant,
.view__formations .views-row {
  transition: transform .42s ease, box-shadow .42s ease;
}

.item__actualites img,
.item__etudiant img {
  transition: transform .5s ease, filter .5s ease;
}

.item__actualites:hover .actu__wrapper,
.item__etudiant:hover,
.view__formations .views-row:hover {
  transform: translateY(-.25rem);
  box-shadow: 0 .65rem 1.6rem rgba(0, 23, 60, .10);
}

.item__actualites:hover img,
.item__etudiant:hover img {
  transform: scale(1.05);
}

/* En-têtes de pages et hiérarchie des animations */
.header__page.has-visual .part__right.dark {
  padding: 0 !important;
}

.header__page.has-visual .part__right img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.header__page.no-visual .part__left {
  border-radius: 0 0 clamp(5rem, 16vw, 15rem) 0;
  overflow: hidden;
}

.header__page.has-visual .part__left,
.header__page.no-visual .part__left {
  padding-block: clamp(2.75rem, 5vw, 4.75rem);
}

:where(.bouton__cta, .bouton__pdf, .bouton__uco, .bouton__blue, .bouton__yellow, .button__contour) svg {
  flex: 0 0 auto;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

:where(.bouton__cta, .bouton__pdf, .bouton__uco, .bouton__blue, .bouton__yellow, .button__contour):hover svg {
  transform: translateX(.2rem);
}


/* ==========================================================================
   CONTENU ÉDITORIAL - STYLES CKEDITOR
   ========================================================================== */

/* Couleur de texte forcée depuis CKEditor */
.text-white {
  color: var(--color-white);
}

.text-white a {
  color: inherit;
}

/* Neutralisation des anciens styles inline conservés dans les CTA */
.text-formatted .bouton__cta>span,
.text-formatted .bouton__yellow>span,
.text-formatted .bouton__uco>span {
  background: transparent !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-decoration: inherit !important;
}

/* ==========================================================================
   CONTENU ÉDITORIAL - PARAGRAPHES
   ========================================================================== */

.text-formatted p {
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   CONTENU ÉDITORIAL - LISTES
   ========================================================================== */

.text-formatted ul,
.text-formatted ol {
  margin: 1rem 0 1.25rem;
  padding: 0;
}

.text-formatted ul {
  list-style: none !important;
}

.text-formatted ol {
  list-style: decimal outside !important;
}

.text-formatted ol li {
  list-style: inherit !important;
}


/* ==========================================================================
   LISTES À PUCES
   ========================================================================== */

/* Listes éditoriales — niveau 1 : picto cercle + coche */
.text-formatted ul > li {
  position: relative;
  margin: 0 0 .55rem;
  padding-left: 1.75rem;
  line-height: 1.55;
}

.modules-annee-tabs__title {
  color: var(--color-white);
}

.modules-annee-tabs__link.active .modules-annee-tabs__title {
  color: var(--color-blue-uco-dark);
}

.image__texte .contexte .text-formatted ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}


.text-formatted ul > li::before {
  content: "";
  position: absolute;
  top: .3em;
  left: 0;

  width: 1rem;
  height: 1rem;

  border: 0;
  border-radius: 0;

  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  /* Picto cercle + coche */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300173C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 2.5 2.5L16 9'/%3E%3C/svg%3E");

  transform: none;
}

.bg__deco--dark-text .text-formatted ul > li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 2.5 2.5L16 9'/%3E%3C/svg%3E");
}


/* Niveau 2 : cercle vide */
.text-formatted ul ul > li {
  padding-left: 1.5rem;
}

.text-formatted ul ul > li::before {
  top: .68em;
  left: .25rem;
  width: .45rem;
  height: .45rem;

  background-image: none;
  background-color: transparent;

  border: 1.5px solid var(--color-blue-uco);
  border-radius: 50%;

  transform: translateY(-50%);
}

/* Niveau 3 : carré plein */
.text-formatted ul ul ul > li::before {
  width: .4rem;
  height: .4rem;

  background-image: none;
  background-color: var(--color-blue-uco);

  border: 0;
  border-radius: 0;
}

/* ==========================================================================
   LISTES NUMÉROTÉES
   ========================================================================== */

.text-formatted ol {
  list-style: decimal outside !important;
  counter-reset: none !important;
  padding-left: 1.75rem;
}

.text-formatted ol > li {
  display: list-item;
  list-style: inherit !important;
  position: static;
  counter-increment: none !important;
  margin: 0 0 .55rem;
  padding-left: .35rem;
  line-height: 1.55;
}

.text-formatted ol > li::before {
  content: none !important;
}

/* Numéro natif stylé */
.text-formatted ol > li::marker {
  color: var(--color-blue-uco-dark);
  font-weight: 700;
}

/* Niveau 2 : a. b. c. */
.text-formatted ol ol {
  list-style-type: lower-alpha !important;
  counter-reset: none !important;
  margin: .6rem 0 .25rem;
  padding-left: 1.5rem;
}

.text-formatted ol ol > li {
  counter-increment: none !important;
}

.text-formatted ol ol > li::before {
  content: none !important;
}

/* Niveau 3 : i. ii. iii. */
.text-formatted ol ol ol {
  list-style-type: lower-roman !important;
  counter-reset: none !important;
}

.text-formatted ol ol ol > li {
  counter-increment: none !important;
}

.text-formatted ol ol ol > li::before {
  content: none !important;
}

/* ==========================================================================
   ESPACEMENTS DES LISTES
   ========================================================================== */

.text-formatted li:last-child {
  margin-bottom: 0;
}

.text-formatted p+ul,
.text-formatted p+ol {
  margin-top: .5rem;
}

.text-formatted ul+p,
.text-formatted ol+p {
  margin-top: 1.25rem;
}

/* ===== Wysiwyg titre centré ===== */

.text-formatted h2.text-align-center {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

.pageRubrique .bouton__cta {
    display: inline-flex;
    align-items: center;
}

.pageRubrique .bouton__cta::after {
    content: '→';
    display: inline-block;
    margin-left: .5rem;
}

.bouton__pdf-white-blue-uco-dark {
    border-radius: 30px;
    border: 1px solid var(--color-white);
    background: var(--color-white);
    color: var(--color-blue-uco-dark) !important;
    font-weight: 700;
    font-size: 1.25rem;
    padding: .75rem 1.25rem;
    text-decoration: none;
}

.bouton__pdf-white-blue-uco-dark:hover {
    background: var(--color-blue-uco-dark);
    color: var(--color-white) !important;
}

.bouton__pdf-white-blue-uco-dark:hover svg path {
  stroke: var(--color-white);
}






.modules-annee-tabs__nav {
  border-bottom: 2px solid var(--color-white);
}

.modules-annee-tabs__link {
  position: relative;
  background: transparent !important;
  border: 0 !important;
  color: var(--color-white) !important;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}

/* Actif */
.modules-annee-tabs__link.active {
  background: transparent !important;
  border: 0 !important;
  color: var(--color-white) !important;
}

/* Ton texte est dans un span, donc on le force aussi */
.modules-annee-tabs__link.active .modules-annee-tabs__title {
  color: var(--color-white) !important;
}

/* Trait actif */
.modules-annee-tabs__link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0; /* <- surtout pas -2px */

  height: 5px;
  background: var(--color-white);
}

[id] {
  scroll-margin-top: calc(var(--uco-header-height, 0px) + var(--uco-sticky-top, 0px) + 1rem);
}

.pageCampus .composition__elements.image__texte > .container-xxl.image-texte__content {
    padding-inline: 0;
}

/* Bloc Contact - Offres d'emploi */
html body .pageRubrique .main__content > .container-xxl.py-5:has(.list__group) {
  width: 80% !important;
  max-width: 1100px !important;
  margin: 2rem auto 3rem !important;
  padding: 1.5rem 2rem !important;
  background-color: #fff !important;
  border-radius: 1rem;
}

/* Réduire l'espace entre Contact et les coordonnées */
html body .pageRubrique .main__content > .container-xxl.py-5:has(.list__group) > h2 {
  margin-top: 0 !important;
  margin-bottom: 0.5rem !important;
}

/* Supprimer le padding de la liste de contacts */
html body .pageRubrique .main__content > .container-xxl.py-5:has(.list__group) .list__group {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 47.99rem) {
  html body .pageRubrique .main__content > .container-xxl.py-5:has(.list__group) {
    width: calc(100% - 2rem) !important;
    padding: 1.5rem !important;
  }
}
/* Editorial page header: dark heading on a white/light panel. */
.header__page .part__left.bg-white h1,
.header__page .part__left.bg-light h1,
.header__page .part__left[style*="background-color: white"] h1,
.header__page .part__left[style*="background-color: #fff"] h1,
.header__page .part__left[style*="background-color: #FFF"] h1 {
  color: var(--color-blue-uco);
}

/* Page editoriale : le H1 est dans une pastille blanche sur le panneau bleu.
   Surcharge explicite de .header__page h1 { color: white; }. */
.header__page .part__right.bleu h1 {
  color: var(--color-blue-uco-dark);
}

/* Couleur des boutons Campus et Vous êtes */
.region-top-header-form .block-views-blockles-campus-uco-block-1 > .uco-top-menu-trigger,
.region-top-header-form .menu--vous-etes > .uco-top-menu-trigger {
  color: #fff;
}

/* Taille des boutons Campus et Vous êtes */
.region-top-header-form .block-views-blockles-campus-uco-block-1 > .uco-top-menu-trigger,
.region-top-header-form .menu--vous-etes > .uco-top-menu-trigger {
  font-size: .875rem !important;
  font-weight: 600 !important;
  line-height: 1.5;
}

/* Partage réseaux sociaux : alignement mobile */
@media (max-width: 47.99rem) {
  .block-addtoany {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .block-addtoany > h2,
  .block-addtoany > .content {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* Réduire l'espace entre un titre et le bloc à 2 colonnes */

/* Réduire l'espace sous le titre */
.pageRubrique .main__content
> .section__texte:has(+ .block__colonne)
> .container-xxl,

.page-edito__content
> .section__texte:has(+ .block__colonne)
> .container-xxl {
    padding-bottom: 0.5rem !important;
}

/* Réduire l'espace au-dessus des listes */
.pageRubrique .main__content
> .section__texte + .block__colonne,

.page-edito__content
> .section__texte + .block__colonne {
    margin-top: 0.75rem !important;
}

/* ==========================================
   PAGE EDITORIALE - MARGES SUPERIEURES
   BLOCS A DEUX COLONNES
========================================== */

/* Espacement sous le titre précédent */
.page-edito__content
> .section__texte:has(+ .block__colonne)
> .container-xxl {
    padding-bottom: 1.5rem !important;
}

/* Espacement au-dessus des deux colonnes */
.page-edito__content
> .section__texte + .block__colonne {
    margin-top: 2rem !important;
}

@media (max-width: 767px) {
    .page-edito__content
    > .section__texte + .block__colonne {
        margin-top: 1.5rem !important;
    }
}

/* ==========================================
   CALENDRIER UNIVERSITAIRE
   MARGE SUPERIEURE DES 2 COLONNES
========================================== */

body.page-node-46811
.page-edito__content > section.raduis-300 {
    padding-top: 3rem !important;
}

@media (max-width: 767px) {
    body.page-node-46811
    .page-edito__content > section.raduis-300 {
        padding-top: 2rem !important;
    }
}


/* Désactiver l'effet hover sur la cible de l'ancre */
#test:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Si la cible est elle-même un lien */
a#test:hover {
    color: inherit !important;
    text-decoration: none !important;
}


/* CTA jaune : fond transparent, y compris au survol */
a.bouton__yellow:hover {
    background: transparent !important;
}

/* ==========================================
   BOUTONS JAUNES SUR FOND BLEU
   Exclusion des cartes et des fonds clairs
========================================== */

:is(.dark, .uco, .bleu, .bg__deco--dark, .bg__deco--uco)
a.bouton__yellow:is(:hover, :focus-visible):not(
  :is(.dark, .uco, .bleu, .bg__deco--dark, .bg__deco--uco)
  :is(
    .bg__white,
    .bg__beige,
    .beige,
    .bg-white,
    .bg-light,
    .bg__yellow,
    .bg__green,
    .bg__deco--light-text,
    .card,
    .cases__item,
    .actu__wrapper,
    .accordion-item
  ) a
) {
  color: var(--color-yellow) !important;
  background: transparent !important;
  border-color: var(--color-yellow) !important;
}


/* ==========================================================
   MES CONTENUS — Style administration Drupal
   Page : /mes-contenus
   ========================================================== */

body.path-mes-contenus {
  --mc-border: #d4d4d8;
  --mc-blue: #003ecc;
  --mc-background: #f5f5f5;
}

/* Conteneur */
body.path-mes-contenus .main__content {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 30px 24px 60px;
}

/* Formulaire de filtres */
body.path-mes-contenus .views-exposed-form {
  background: var(--mc-background);
  border: 1px solid var(--mc-border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 28px;
}

body.path-mes-contenus .views-exposed-form .form-item {
  margin-bottom: 16px;
}

body.path-mes-contenus .views-exposed-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #232429;
  margin-bottom: 7px;
}

body.path-mes-contenus .views-exposed-form
:is(input[type="text"], input[type="search"], select) {
  min-height: 42px;
  max-width: 100%;
  padding: 8px 12px;
  background: #fff;
  color: #232429;
  border: 1px solid #919297;
  border-radius: 4px;
  box-shadow: none;
}

body.path-mes-contenus .views-exposed-form
:is(input, select):focus {
  outline: 2px solid var(--mc-blue);
  outline-offset: 1px;
}

/* Boutons */
body.path-mes-contenus .views-exposed-form
:is(.button, .btn, input[type="submit"]) {
  min-height: 42px;
  padding: 9px 20px;
  background: var(--mc-blue);
  border: 1px solid var(--mc-blue);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

body.path-mes-contenus .views-exposed-form
:is(.button, .btn, input[type="submit"]):hover {
  background: var(--blue-uco-dark, #002c80);
  color: #fff;
}

/* Tableau des contenus */
body.path-mes-contenus .view table {
  width: 100%;
  margin: 0 0 24px;
  border: 1px solid var(--mc-border);
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

body.path-mes-contenus .view table thead {
  background: #f1f1f3;
}

body.path-mes-contenus .view table th {
  padding: 15px 16px;
  border-bottom: 2px solid #b7b7bb;
  color: #232429;
  font-weight: 700;
  text-align: left;
}

body.path-mes-contenus .view table td {
  padding: 14px 16px;
  border-bottom: 1px solid #dedee2;
  color: #333;
  vertical-align: middle;
}

body.path-mes-contenus .view table tbody tr:nth-child(even) {
  background: #f7f7f8;
}

body.path-mes-contenus .view table tbody tr:hover {
  background: #eef3ff;
}

/* Liens et opérations */
body.path-mes-contenus .view table a {
  color: var(--mc-blue);
  font-weight: 500;
  text-decoration: none;
}

body.path-mes-contenus .view table a:hover {
  text-decoration: underline;
}

body.path-mes-contenus .view table
:is(.dropbutton, .btn-group) {
  font-size: 14px;
}

/* Pagination */
body.path-mes-contenus .pager {
  margin-top: 30px;
}

body.path-mes-contenus .pager__items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

body.path-mes-contenus .pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--mc-border);
  border-radius: 4px;
  color: var(--mc-blue);
  text-decoration: none;
}

body.path-mes-contenus .pager a:hover {
  background: #eef3ff;
}

body.path-mes-contenus .pager__item.is-active a {
  background: var(--mc-blue);
  border-color: var(--mc-blue);
  color: #fff;
}

/* Responsive */
@media (max-width: 767px) {
  body.path-mes-contenus .main__content {
    padding: 20px 15px 40px;
  }

  body.path-mes-contenus .views-exposed-form {
    padding: 16px;
  }

  body.path-mes-contenus .views-exposed-form
  :is(input[type="text"], input[type="search"], select) {
    width: 100%;
  }

  body.path-mes-contenus .view {
    overflow-x: auto;
  }

  body.path-mes-contenus .view table {
    min-width: 700px;
  }
}
