@charset "UTF-8";
/***** Normalize.css *****/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/***** Base *****/
/* {
  box-sizing: border-box;
}*/

body {
  background-color: #FFFFFF;
  color: rgba(0, 0, 0, 1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 15px;
  /*line-height: 1.5;*/
  -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}


@media (min-width: 1024px) {
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
  }

  main {
    flex: 1;
    min-height: auto;
  }

  footer {
    position: relative;
    bottom: 0;
    width: 100%;
  }
}

@media (max-width: 1024px) { /* Pour les smartphones et tablettes */
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Assure que le corps prend toute la hauteur de la fenêtre */
    margin: 0;
  }

  main {
    flex: 1; /* Laisse le contenu principal prendre tout l'espace disponible */
    min-height: auto; /* Pas de hauteur minimale pour le contenu principal */
  }

  footer {
    position: relative;
    bottom: 0;
    margin-top: auto; /* Le footer sera poussé vers le bas si le contenu est court */
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  margin-top: 15px;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

h4 {
  font-size: 16px;
  font-weight: 450;
}

p {
  line-height: 1.8;
}

blockquote p {
  margin: 0px;
}

a {
  color: rgba(100, 32, 107, 1);
  text-decoration: none;
}

a:hover, a:active, a:focus {
  text-decoration: underline;
}

input,
textarea {
  color: #000;
  font-size: 14px;
}

input {
  max-width: 100%;
  box-sizing: border-box;
  transition: border .12s ease-in-out;
}

input:not([type="checkbox"]) {
  outline: none;
}

input:not([type="checkbox"]):focus {
  border: 1px solid rgba(100, 32, 107, 1);
}

input[disabled] {
  background-color: #ddd;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23CCC' d='M0 0h10L5 6 0 0z'/%3E%3C/svg%3E%0A") no-repeat #fff;
  background-position: right 10px center;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 30px 8px 10px;
  outline: none;
  color: #555;
  width: 100%;
}

select:focus {
  border: 1px solid rgba(100, 32, 107, 1);
}

select::-ms-expand {
  display: none;
}

textarea {
  border: 1px solid #ddd;
  border-radius: 2px;
  resize: vertical;
  width: 100%;
  outline: none;
  padding: 10px;
}

textarea:focus {
  border: 1px solid rgba(100, 32, 107, 1);
}

.container {
  max-width: 1160px;
  margin: 30px auto;
  padding: 0 5%;
}

@media (min-width: 1160px) {
  .container {
    padding: 0;
    width: 90%;
  }
}

.container-divider {
  border-top: 1px solid #ddd;
  margin-bottom: 20px;
}

.my-nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}

@media (min-width: 1160px) {
  .my-nav-container {
    padding: 0;
    width: 90%;
  }
}

.banner-container {
  /* Même logique que .container */
  max-width: 1160px;
  margin: 0 auto;       /* centre horizontalement */
  padding: 0 5%;       /* idem .container */

  /* Si tu souhaites un léger espacement ou un fond,
     tu peux l'ajouter ici */
}

@media (min-width: 1160px) {
  .banner-container {
    width: 90%;
    padding: 0;
  }
}

.banner-container img {
  /* L’image occupe la largeur de la .banner-container,
     et donc la même largeur qu’un .container */
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover; /* optionnel si tu veux rogner l’image */
}

@media (max-width: 768px) {
  .banner-container {
    width: 100%;
		margin-top: 30px;
    padding: 0;
  }
  .banner-container img {
    width: 100%;
    height: 320px;
    object-fit: cover;
  }
}


ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.error-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}

@media (min-width: 1160px) {
  .error-page {
    padding: 0;
    width: 90%;
  }
}

.visibility-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/***** Buttons *****/
.button, .split-button button, .section-subscribe button, .article-subscribe button, .community-follow button, .requests-table-toolbar .organization-subscribe button, .subscriptions-subscribe button, .pagination-next-link, .pagination-prev-link, .pagination-first-link, .pagination-last-link {
  background-color: transparent;
  border: 1px solid rgba(100, 32, 107, 1);
  border-radius: 4px;
  color: rgba(100, 32, 107, 1);
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  line-height: 2.34;
  margin: 0;
  padding: 0 20px;
  text-align: center;
  transition: background-color .12s ease-in-out, border-color .12s ease-in-out, color .15s ease-in-out;
  user-select: none;
  white-space: nowrap;
  width: 100%;
  -webkit-touch-callout: none;
}

@media (min-width: 768px) {
  .button, .split-button button, .section-subscribe button, .article-subscribe button, .community-follow button, .requests-table-toolbar .organization-subscribe button, .subscriptions-subscribe button, .pagination-next-link, .pagination-prev-link, .pagination-first-link, .pagination-last-link {
    width: auto;
  }
}

.button:hover, .split-button button:hover, .section-subscribe button:hover, .article-subscribe button:hover, .community-follow button:hover, .requests-table-toolbar .organization-subscribe button:hover, .subscriptions-subscribe button:hover, .pagination-next-link:hover, .pagination-prev-link:hover, .pagination-first-link:hover, .pagination-last-link:hover, .button:active, .split-button button:active, .section-subscribe button:active, .article-subscribe button:active, .community-follow button:active, .requests-table-toolbar .organization-subscribe button:active, .subscriptions-subscribe button:active, .pagination-next-link:active, .pagination-prev-link:active, .pagination-first-link:active, .pagination-last-link:active, .button:focus, .split-button button:focus, .section-subscribe button:focus, .article-subscribe button:focus, .community-follow button:focus, .requests-table-toolbar .organization-subscribe button:focus, .subscriptions-subscribe button:focus, .pagination-next-link:focus, .pagination-prev-link:focus, .pagination-first-link:focus, .pagination-last-link:focus, .button.button-primary, .split-button button.button-primary, .section-subscribe button.button-primary, .section-subscribe button[data-selected="true"], .article-subscribe button.button-primary, .article-subscribe button[data-selected="true"], .community-follow button.button-primary, .requests-table-toolbar .organization-subscribe button.button-primary, .requests-table-toolbar .organization-subscribe button[data-selected="true"], .subscriptions-subscribe button.button-primary, .subscriptions-subscribe button[data-selected="true"], .button-primary.pagination-next-link, .button-primary.pagination-prev-link, .button-primary.pagination-first-link, .button-primary.pagination-last-link {
  background-color: rgba(100, 32, 107, 1);
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

.button.button-primary:hover, .split-button button:hover, .section-subscribe button.button-primary:hover, .section-subscribe button:hover[data-selected="true"], .article-subscribe button.button-primary:hover, .article-subscribe button:hover[data-selected="true"], .community-follow button.button-primary:hover, .requests-table-toolbar .organization-subscribe button.button-primary:hover, .requests-table-toolbar .organization-subscribe button:hover[data-selected="true"], .subscriptions-subscribe button.button-primary:hover, .subscriptions-subscribe button:hover[data-selected="true"], .button-primary.pagination-next-link:hover, .button-primary.pagination-prev-link:hover, .button-primary.pagination-first-link:hover, .button-primary.pagination-last-link:hover, .button.button-primary:focus, .split-button button.button-primary:focus, .section-subscribe button.button-primary:focus, .section-subscribe button:focus[data-selected="true"], .article-subscribe button.button-primary:focus, .article-subscribe button:focus[data-selected="true"], .community-follow button.button-primary:focus, .requests-table-toolbar .organization-subscribe button.button-primary:focus, .requests-table-toolbar .organization-subscribe button:focus[data-selected="true"], .subscriptions-subscribe button.button-primary:focus, .subscriptions-subscribe button:focus[data-selected="true"], .button-primary.pagination-next-link:focus, .button-primary.pagination-prev-link:focus, .button-primary.pagination-first-link:focus, .button-primary.pagination-last-link:focus, .button.button-primary:active, .split-button button.button-primary:active, .section-subscribe button.button-primary:active, .section-subscribe button:active[data-selected="true"], .article-subscribe button.button-primary:active, .article-subscribe button:active[data-selected="true"], .community-follow button.button-primary:active, .requests-table-toolbar .organization-subscribe button.button-primary:active, .requests-table-toolbar .organization-subscribe button:active[data-selected="true"], .subscriptions-subscribe button.button-primary:active, .subscriptions-subscribe button:active[data-selected="true"], .button-primary.pagination-next-link:active, .button-primary.pagination-prev-link:active, .button-primary.pagination-first-link:active, .button-primary.pagination-last-link:active {
  background-color: #1b091c;
  border-color: #1b091c;
}

.button[data-disabled], .split-button button[data-disabled], .section-subscribe button[data-disabled], .article-subscribe button[data-disabled], .community-follow button[data-disabled], .requests-table-toolbar .organization-subscribe button[data-disabled], .subscriptions-subscribe button[data-disabled], .pagination-next-link[data-disabled], .pagination-prev-link[data-disabled], .pagination-first-link[data-disabled], .pagination-last-link[data-disabled] {
  cursor: default;
}

.button-large, input[type="submit"] {
  cursor: pointer;
  background-color: rgba(100, 32, 107, 1);
  border: 0;
  border-radius: 4px;
  color: rgba(255, 255, 255, 1);
  font-size: 14px;
  line-height: 2.72;
  min-width: 190px;
  padding: 0 1.9286em;
  width: 100%;
}

@media (min-width: 768px) {
  .button-large, input[type="submit"] {
    width: auto;
  }
}

.button-large:hover, .button-large:active, .button-large:focus, input[type="submit"]:hover, input[type="submit"]:active, input[type="submit"]:focus {
  background-color: #1b091c;
}

.button-large[disabled], input[type="submit"][disabled] {
  background-color: #ddd;
}

.button-secondary {
  color: #333;
  border: 1px solid #ddd;
  background-color: transparent;
}

.button-secondary:hover, .button-secondary:focus, .button-secondary:active {
  color: rgba(0, 0, 0, 1);
  border: 1px solid #ddd;
  background-color: #f7f7f7;
}

/***** Split button *****/
.split-button {
  display: flex;
}

.split-button button {
  background-color: rgba(100, 32, 107, 1);
  border: 0;
  color: rgba(255, 255, 255, 1);
  height: 32px;
  line-height: 16px;
  outline-color: rgba(100, 32, 107, 1);
}

[dir="rtl"] .split-button button:not(:only-child):first-child {
  border-left: 1px solid rgba(255, 255, 255, 1);
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}

[dir="ltr"] .split-button button:not(:only-child):first-child {
  border-right: 1px solid rgba(255, 255, 255, 1);
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
}

.split-button button:not(:only-child):last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  min-width: 26px;
  max-width: 26px;
  padding: 0;
}

[dir="rtl"] .split-button button:not(:only-child):last-child {
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
}

[dir="ltr"] .split-button button:not(:only-child):last-child {
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}

/***** Tables *****/
.table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}

@media (min-width: 768px) {
  .table {
    table-layout: auto;
  }
}

.table th,
.table th a {
  color: #333;
  font-size: 13px;
  text-align: left;
}

[dir="rtl"] .table th, [dir="rtl"]
.table th a {
  text-align: right;
}

.table tr {
  border-bottom: 1px solid #ddd;
  display: block;
  padding: 20px 0;
}

@media (min-width: 768px) {
  .table tr {
    display: table-row;
  }
}

.table td {
  display: block;
}

@media (min-width: 768px) {
  .table td {
    display: table-cell;
  }
}

@media (min-width: 1024px) {
  .table td, .table th {
    padding: 20px 30px;
  }
}

@media (min-width: 768px) {
  .table td, .table th {
    padding: 10px 20px;
    height: 60px;
  }
}

/***** Forms *****/
.form {
  max-width: 100%;
}

.form-field ~ .form-field {
  margin-top: 25px;
}

.form-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.form-field input {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
}

.form-field input:focus {
  border: 1px solid rgba(100, 32, 107, 1);
}

.form-field input[type="text"] {
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-field input[type="text"]:focus {
  border: 1px solid rgba(100, 32, 107, 1);
}

.form-field input[type="checkbox"] {
  width: auto;
}

.form-field .nesty-input {
  border-radius: 4px;
  height: 40px;
  line-height: 40px;
  outline: none;
  vertical-align: middle;
}

.form-field .nesty-input:focus {
  border: 1px solid rgba(100, 32, 107, 1);
  text-decoration: none;
}

.form-field .hc-multiselect-toggle:focus {
  outline: none;
  border: 1px solid rgba(100, 32, 107, 1);
  text-decoration: none;
}

.form-field textarea {
  vertical-align: middle;
}

.form-field input[type="checkbox"] + label {
  margin: 0 0 0 10px;
}

.form-field .optional {
  color: #333;
  margin-left: 4px;
}

.form-field p {
  color: #333;
  font-size: 12px;
  margin: 5px 0;
}

.form footer {
  margin-top: 40px;
  padding-top: 30px;
}

.form footer a {
  color: #333;
  cursor: pointer;
  margin-right: 15px;
}

.form .suggestion-list {
  font-size: 13px;
  margin-top: 30px;
}

.form .suggestion-list label {
  border-bottom: 1px solid #ddd;
  display: block;
  padding-bottom: 5px;
}

.form .suggestion-list li {
  padding: 10px 0;
}

.form .suggestion-list li a:visited {
  color: rgba(255, 151, 0, 1);
}

/***** Header *****/
.header {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 71px;
}

@media (max-width: 767px) {
  .header {
		margin: 0 20px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .header {
    /* On supprime toute marge/padding “largeur réduite” :
       on reste full-width, bouton/menu flush bord à bord */
    margin: 0;
    padding: 0 10px;  /* ou même `padding: 0;` si vous voulez absolument flush */
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .header {
    padding: 0 5%;
  }
}

@media (min-width: 1345px) {
  .header {
    max-width: 100%;
    margin: 0 22%;

  }
}

.logo img {
  max-height: 37px;
  vertical-align: middle;
}

.logo span {
  margin: 0 10px;
  color: rgba(100, 32, 107, 1);
}

.logo a {
  display: inline-block;
}

.logo a:hover, .logo a:focus, .logo a:active {
  text-decoration: none;
}

.nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.menu-button {
  display: none !important;
}

.user-nav.user-nav-static {
  display: flex !important;
  position: static !important;
  white-space: nowrap;
  background: transparent;
  border: 0;
  box-shadow: none;
  width: auto;
  flex-direction: row;
  align-items: center;
}

.user-nav.user-nav-static a {
  display: inline-flex !important;
  align-items: center;
  padding: 0;
  text-decoration: none;
}

.nav-wrapper .menu-button .icon-menu {
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

[dir="rtl"] .nav-wrapper .menu-button {
  margin-left: 20px;
  margin-right: 0;
}

.nav-wrapper .menu-button:hover,
.nav-wrapper .menu-button:focus,
.nav-wrapper .menu-button:active {
  background-color: transparent;
  color: rgba(100, 32, 107, 1);
}

.user-nav.user-nav-static a[title="Accueil"] {
  font-size: 0;
  display: inline-flex !important;
  align-items: center;
  text-decoration: none;
}

.user-nav.user-nav-static a[title="Accueil"]::before {
  content: "home";
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  line-height: 1;
}

.skip-navigation {
  align-items: center;
  background-color: black;
  color: white;
  display: flex;
  font-size: 14px;
  justify-content: center;
  left: -999px;
  margin: 20px;
  padding: 20px;
  overflow: hidden;
  position: absolute;
  top: auto;
  z-index: -999;
}

[dir="rtl"] .skip-navigation {
  left: initial;
  right: -999px;
}

.skip-navigation:focus, .skip-navigation:active {
  left: auto;
  overflow: auto;
  text-align: center;
  text-decoration: none;
  top: auto;
  z-index: 999;
}

[dir="rtl"] .skip-navigation:focus, [dir="rtl"] .skip-navigation:active {
  left: initial;
  right: auto;
}

/***** User info in header *****/
.user-info {
  display: inline-block;
}

.user-info .dropdown-toggle::after {
  display: none;
}

@media (min-width: 768px) {
  .user-info .dropdown-toggle::after {
    display: inline-block;
  }
}

.user-info > button {
  border: 0;
  color: rgba(100, 32, 107, 1);
  min-width: 0;
  padding: 0;
  white-space: nowrap;
}

.user-info > button:hover, .user-info > button:focus {
  color: rgba(100, 32, 107, 1);
  background-color: transparent;
}

.user-info > button::after {
  color: rgba(100, 32, 107, 1);
  padding-right: 15px;
}

[dir="rtl"] .user-info > button::after {
  padding-left: 15px;
  padding-right: 0;
}

#user #user-name {
  display: none;
  font-size: 14px;
}

@media (min-width: 768px) {
  #user #user-name {
    display: inline-block;
  }
}

#user #user-name:hover {
  text-decoration: underline;
}

/***** User avatar *****/
.user-avatar {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

.avatar {
  display: inline-block;
  position: relative;
}

.avatar img {
  height: 40px;
  width: 40px;
}

.avatar .icon-agent {
  color: rgba(100, 32, 107, 1);
  border: 2px solid #fff;
  border-radius: 50%;
  bottom: -4px;
  background-color: rgba(255, 255, 255, 1);
  font-size: 17px;
  height: 17px;
  line-height: 17px;
  position: absolute;
  right: -2px;
  text-align: center;
  width: 17px;
}

/***** Footer *****/
.footer {
  margin-top: 50px;
  background-color: rgba(100, 32, 107, 1);
  padding: 30px 0;
  background-color: rgba(255, 255, 255, 1); /* Couleur de fond du footer */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100"><path fill="%2364206B" d="M0,75 C300,-50 600,150 900,75 L1200,0 L1200,150 L0,150 Z"></path></svg>');
  background-repeat: no-repeat;
  background-position: top;
	background-size: cover;  
}

.footer .top-footer {
  display: flex;
  flex-direction: column;
	align-items: flex-end;
  justify-content: center;
  margin: 0 auto;
  max-width: 1160px;
  position: relative;
}

.footer .bottom-footer {
  margin: 0 auto;
}

.logo-footer {
  width: 300px;
  margin-right: 20px;
}

.footer a {
  color: rgba(255, 255, 255, 1);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
}

.meta-link {
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 1);
}

.footer-language-selector button {
  color: white;
  display: inline-block;
}

.footer .social-media {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; /* Aligne les icônes horizontalement avec un espacement égal */
  gap: 20px;
  margin-top: 10px;
  margin-right: 72px;
}

.footer  .social-media a {
  display: flex;
  align-items: center; /* Centre les icônes verticalement */
  justify-content: center;
  margin: 0 10px;
  text-decoration: none;
  color: rgba(100, 32, 107, 1);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer  .social-media i {
  font-size: 30px; /* Assure une taille uniforme pour les icônes */
}

.footer  .social-media a:hover {
  color: #ff8700;
}

@media (max-width: 767px) {
  .footer {
    padding: 20px 10px;
  }

  .footer-inner {
    padding: 0 10px; /* Ajuste le padding pour les petits écrans */
  }

  .logo-footer {
    width: 200px; /* Réduit la taille du logo */
    margin-right: 0;
    margin-bottom: 10px;
  }

  .footer .social-media {
    margin-top: 5px;
    margin-right: 14px;
    gap: 15px; /* Réduit l'espacement entre les icônes */
  }

  .footer .social-media i {
    font-size: 24px; /* Réduit la taille des icônes */
  }
}

/***** Breadcrumbs *****/
.breadcrumbs {
  margin: 0 0 15px 0;
  padding: 0;
}

@media (min-width: 768px) {
  .breadcrumbs {
    margin: 0;
  }
}

.breadcrumbs li {
  color: #333;
  display: inline;
  font-size: 13px;
  max-width: 450px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumbs li + li::before {
  content: ">";
  margin: 0 4px;
}

.breadcrumbs li a:visited {
  color: rgba(100, 32, 107, 1);
}

/***** Search field *****/
.search {
  position: relative;
}

.search-container {
  display: relative;
  align-items: center;
}

.search input[type="search"] {
  border: 1px solid #ddd;
  border-radius: 30px;
  box-sizing: border-box;
  color: #666;
  height: 40px;
  padding: 0 20px;
  -webkit-appearance: none;
  width: 100%;
}

[dir="rtl"] .search input[type="search"] {
  padding-right: 40px;
  padding-left: 20px;
}

.search input[type="search"]:focus {
  border: 1px solid rgba(100, 32, 107, 1);
  color: #555;
}

.search-full input[type="search"] {
  border: 1px solid #fff;
}

.search-icon {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  left: 15px;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: #777;
}

.hero-inner .search-icon {
  transform: translateY(696%);
}

[dir="rtl"] .search-icon {
  right: 15px;
  left: auto;
}

.search.search-full {
  border-radius: 25px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1024px) {
  .search-full input[type="search"] {
    height: 50px; /* Augmenter la hauteur */
    font-size: 18px; /* Agrandir le texte */
    padding: 0 20px;
  }

  .search-icon {
    width: 14px; /* Agrandir l'icône de recherche */
    height: 14px;
    left: 15px; /* Ajuster l'icône pour qu'elle soit bien alignée */
  }

  .hero-inner .search-icon {
    transform: translateY(10%);
    width: 18px; /* Agrandir l'icône de recherche */
    height: 18px;
    left: 20px; /* Ajuster l'icône pour qu'elle soit bien alignée */
  }
}

@media (max-width: 768px) {
  .hero-inner .search-icon {
    transform: translateY(90%);
  }
}


  /* Most searched keywords */
  .popular-searches {
      max-width: 960px;
      margin: 0 auto;
      font-size: 15px;
      color: #ffff;
      margin-top: 1rem;
      user-select: none;
  }

  .popular-searches a {
      color: rgba(255, 255, 255, 1);
      text-decoration: underline;
      text-underline-position: under;
      user-select: none;
  }

@media (max-width: 1024px) {
  .popular-searches {
    text-align: center; /* Optionnel : pour centrer le bloc */
  }

  .popular-searches a {
    display: inline-block;
    margin: 3px;
    padding: 6px 10px;
    border-radius: 16px;
    background-color: #f3e5f5; /* couleur de fond type “tag” */
    color: rgba(100, 32, 107, 1);       /* couleur du texte */
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* effet léger d’ombre */
  }

  .popular-searches a:hover {
    background-color: #e6d1ed; /* un léger changement de fond au survol */
  }
}

/***** Hero component *****/
.section.hero {
  margin-bottom: 0 !important;
  box-sizing: border-box;
}

.hero {
  background-image: url(/hc/theming_assets/01K2KXN8CX8WDZW314WW79E1MV);
  background-position: center;
  background-size: cover;
  height: 500px;
  padding: 0 20px;
  text-align: center;
  width: 100%;
}

.hero-inner {
	padding-top: 300px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  max-width: 610px;
  margin: 0 auto;
  z-index: 2; /* ← AJOUT pour passer devant le divider */
}

@media (max-width: 768px) {
  .hero {
    height: auto;           /* Enlève la hauteur fixe */
    padding: 40px 20px;     /* au lieu d’un grand 100px */
    text-align: center;     /* centrage du contenu */
  }
  .hero-inner {
    transform: translateY(30%);
    padding-top: 100px;         /* ou 50px plutôt que 300px */
  }
}

.divider {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  margin-top: -1px;
  z-index: 1; /* ← AJOUT pour être derrière le hero-inner */
}

.divider svg {
  display: block; /* Évite les marges indésirables */
  width: 100%; /* S'assure que le SVG prend toute la largeur du conteneur */
  height: auto; /* Maintient les proportions du SVG */
}


.page-header {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 10px 0;
}

@media (min-width: 768px) {
  .page-header {
    align-items: baseline;
    flex-direction: row;
    margin: 0;
  }
}

.page-header .section-subscribe {
  flex-shrink: 0;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .page-header .section-subscribe {
    margin-bottom: 0;
  }
}

.page-header h1 {
  flex-grow: 1;
  margin-bottom: 10px;
}

.page-header-description {
  font-style: italic;
  margin: 0 0 30px 0;
  word-break: break-word;
}

@media (min-width: 1024px) {
  .page-header-description {
    flex-basis: 100%;
  }
}

.page-header .icon-lock {
  height: 20px;
  width: 20px;
  position: relative;
  left: -5px;
  vertical-align: baseline;
}

.sub-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 50px;
  padding-bottom: 15px;
}

@media (min-width: 768px) {
  .sub-nav {
    align-items: baseline;
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .sub-nav input[type="search"] {
    min-width: 300px;
  }
}

.sub-nav input[type="search"]::after {
  font-size: 15px;
}

/***** Blocks *****/
/* Used in Homepage#categories and Community#topics */
.blocks-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  margin: 50px 0 0;
}

@media (min-width: 768px) {
  .blocks-list {
    margin: 0 -15px;
  }
}

.blocks-item {
  border: 1px solid transparent;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: rgba(100, 32, 107, 1);
  display: flex;
  flex: 1 0 340px;
  margin: 0 0 30px;
  max-width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .blocks-item {
    margin: 30px 15px 30px;
  }
}

.blocks-item:hover, .blocks-item:focus, .blocks-item:active {
  background-color: #ECE4ED;
  border: 1px solid #ECE4ED;
}

.blocks-item:hover *, .blocks-item:focus *, .blocks-item:active * {
  color: rgba(100, 32, 107, 1);
  text-decoration: none;
}

.blocks-item-internal {
  background-color: transparent;
  border: 1px solid #ddd;
}

.blocks-item-internal .icon-lock {
  height: 15px;
  width: 15px;
  bottom: 5px;
  position: relative;
}

.blocks-item-internal a {
  color: rgba(0, 0, 0, 1);
}

.blocks-item-link {
  color: rgba(100, 32, 107, 1);
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}

.blocks-item-link:hover, .blocks-item-link:active {
  text-decoration: none;
}

.blocks-item-link:focus {
  outline: 0;
  background-color: #ECE4ED;
  box-shadow: 0 0 0 3px #ECE4ED;
  text-decoration: none;
}

.icon-blocks-list {
  width: 180px;
  margin-bottom: 30px;
}

.blocks-item-title {
  margin-bottom: 0;
  font-size: 22px;
  font-weight: 700;
}

.blocks-item-description {
  margin: 0;
}

.blocks-item-description:not(:empty) {
  margin-top: 10px;
}

/***** Homepage *****/
.blocks-categories-button {
  margin-bottom: 80px;
}

.home-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  text-align: center;
}

.home-section h3 {
  font-size: 22px;
}

/** Promoted articles **/
.promoted-articles {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.title-documentation-alternative,
.title-promoted-articles {
  display: flex;
  justify-content: center;
}

.promoted-articles .article-title {
  font-weight: 600;
}

.promoted_articles .article-list {
  display: flex;
}

@media (min-width: 1024px) {
  .promoted-articles {
    flex-direction: row;
  }
}

.promoted-articles-item {
  flex: 1 0 auto;
}

@media (min-width: 1024px) {
  .promoted-articles-item {
    align-self: strech;
    flex: 0 0 auto;
    padding-right: 0px;
    width: 100%;
  }
  [dir="rtl"] .promoted-articles-item {
    padding: 0;
  }
}

.promoted-articles-item:nth-child(3n) {
  padding-right: 0;
}

.promoted-articles-item a {
  display: block;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  color: rgba(0, 0, 0, 1);
}

.promoted-articles-item .icon-lock {
  vertical-align: baseline;
}

.promoted-articles-item:last-child a {
  border: 0;
}

@media (min-width: 1024px) {
  .promoted-articles-item:last-child a {
    border-bottom: 0;
  }
}

.promoted-articles .read-more {
  align-self: flex-end; /* Assure l'alignement à droite */
  margin-top: 10px;
  color: rgba(100, 32, 107, 1);
}

.promoted-articles .read-more:hover {
  text-decoration: underline;
  color: rgba(100, 32, 107, 1);
}

/** Banner homepage to update category **/
.homepage-banner {
  display: flex;
  justify-content: center; /* Centre horizontalement */
  align-items: center; /* Centre verticalement si nécessaire */
  padding: 20px 0;
  margin: 100px 0;
}

.banner {
  justify-content: center;
  width: 1500px;
  margin: 80px 10px;
  padding: 100px;
  background-color: #64206B;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3Crect stroke='%2364206B' stroke-width='0.5' width='1' height='1' id='s'/%3E%3Cpattern id='a' width='3' height='3' patternUnits='userSpaceOnUse' patternTransform='scale(20.15) translate(-950.37 -712.78)'%3E%3Cuse fill='%23693070' href='%23s' y='2'/%3E%3Cuse fill='%23693070' href='%23s' x='1' y='2'/%3E%3Cuse fill='%236e3c75' href='%23s' x='2' y='2'/%3E%3Cuse fill='%236e3c75' href='%23s'/%3E%3Cuse fill='%23734679' href='%23s' x='2'/%3E%3Cuse fill='%23734679' href='%23s' x='1' y='1'/%3E%3C/pattern%3E%3Cpattern id='b' width='7' height='11' patternUnits='userSpaceOnUse' patternTransform='scale(20.15) translate(-950.37 -712.78)'%3E%3Cg fill='%23784e7d'%3E%3Cuse href='%23s'/%3E%3Cuse href='%23s' y='5' /%3E%3Cuse href='%23s' x='1' y='10'/%3E%3Cuse href='%23s' x='2' y='1'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='8'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='5' y='2'/%3E%3Cuse href='%23s' x='5' y='6'/%3E%3Cuse href='%23s' x='6' y='9'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='h' width='5' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(20.15) translate(-950.37 -712.78)'%3E%3Cg fill='%23784e7d'%3E%3Cuse href='%23s' y='5'/%3E%3Cuse href='%23s' y='8'/%3E%3Cuse href='%23s' x='1' y='1'/%3E%3Cuse href='%23s' x='1' y='9'/%3E%3Cuse href='%23s' x='1' y='12'/%3E%3Cuse href='%23s' x='2'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='2'/%3E%3Cuse href='%23s' x='3' y='6'/%3E%3Cuse href='%23s' x='3' y='11'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='4' y='10'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='c' width='17' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(20.15) translate(-950.37 -712.78)'%3E%3Cg fill='%237d5682'%3E%3Cuse href='%23s' y='11'/%3E%3Cuse href='%23s' x='2' y='9'/%3E%3Cuse href='%23s' x='5' y='12'/%3E%3Cuse href='%23s' x='9' y='4'/%3E%3Cuse href='%23s' x='12' y='1'/%3E%3Cuse href='%23s' x='16' y='6'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='d' width='19' height='17' patternUnits='userSpaceOnUse' patternTransform='scale(20.15) translate(-950.37 -712.78)'%3E%3Cg fill='%2364206B'%3E%3Cuse href='%23s' y='9'/%3E%3Cuse href='%23s' x='16' y='5'/%3E%3Cuse href='%23s' x='14' y='2'/%3E%3Cuse href='%23s' x='11' y='11'/%3E%3Cuse href='%23s' x='6' y='14'/%3E%3C/g%3E%3Cg fill='%23815d86'%3E%3Cuse href='%23s' x='3' y='13'/%3E%3Cuse href='%23s' x='9' y='7'/%3E%3Cuse href='%23s' x='13' y='10'/%3E%3Cuse href='%23s' x='15' y='4'/%3E%3Cuse href='%23s' x='18' y='1'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='e' width='47' height='53' patternUnits='userSpaceOnUse' patternTransform='scale(20.15) translate(-950.37 -712.78)'%3E%3Cg fill='%23FF8700'%3E%3Cuse href='%23s' x='2' y='5'/%3E%3Cuse href='%23s' x='16' y='38'/%3E%3Cuse href='%23s' x='46' y='42'/%3E%3Cuse href='%23s' x='29' y='20'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='f' width='59' height='71' patternUnits='userSpaceOnUse' patternTransform='scale(20.15) translate(-950.37 -712.78)'%3E%3Cg fill='%23FF8700'%3E%3Cuse href='%23s' x='33' y='13'/%3E%3Cuse href='%23s' x='27' y='54'/%3E%3Cuse href='%23s' x='55' y='55'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='g' width='139' height='97' patternUnits='userSpaceOnUse' patternTransform='scale(20.15) translate(-950.37 -712.78)'%3E%3Cg fill='%23FF8700'%3E%3Cuse href='%23s' x='11' y='8'/%3E%3Cuse href='%23s' x='51' y='13'/%3E%3Cuse href='%23s' x='17' y='73'/%3E%3Cuse href='%23s' x='99' y='57'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23b)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23h)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23c)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23d)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23e)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23f)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
  text-align: center; /* Centre le texte */
  border-radius: 8px; /* Coins arrondis */
}

.banner .content {
  margin: 0;
  padding: 40px;
  background: rgba(255, 255, 255, 0.17);
  border-radius: 3px 3px 0 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.banner-title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-title svg {
  color: rgba(255, 255, 255, 1);
  width: 30px;
  height: 30px;
}

.banner h2 {
  color: rgba(255, 255, 255, 1);
  font-size: 32px;
  margin: 0 20px;
}

.banner h3 {
  color: rgba(255, 255, 255, 1); /* Couleur du texte du paragraphe */
  font-size: 16px; /* Taille de la police du paragraphe */
  margin: 25px 0; /* Marge verticale */
}

.banner a {
  margin: 0;
}

.banner strong {
  text-decoration: underline;
}

.banner-maj-button {
  background-color: #440044; /* Couleur de marque */
  color: white;
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.banner-maj-button:hover {
  background-color: #ff8700;
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

@media (max-width: 768px) {
  .homepage-banner {
    /* Réduit la marge verticale sur mobile */
    margin: 40px 0;
    /* Optionnel : padding horizontal si besoin */
    padding: 0 10px;
  }
  
  .banner {
    /* Supprime la largeur fixe et limite à 100% */
    width: auto;
    max-width: 100%;
    margin: 20px auto; /* Centrage horizontal */
    padding: 40px;     /* Moins de padding que 100px */
    
    /* background-attachment: fixed + mobile = souvent bug, on le désactive */
    background-attachment: scroll;
  }
  
  .banner .content {
    padding: 20px;  /* Moins de padding encore si souhaité */
  }
}

/** More documentation section in homepage **/
.others-documentation {
  display: flex;
	flex-direction: column;
  align-items: center;
}

.news-component {
  display: flex;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 80px;
  box-sizing: border-box; /* Inclut padding et border dans la largeur totale */
  max-width: 100%;
}

.film-component,
.videos-component {
  display: flex;
  align-items: center;
  padding-bottom: 80px;
  box-sizing: border-box; /* Inclut padding et border dans la largeur totale */
  max-width: 100%;
}

.news-component .left-component-image,
.film-component .left-component-content,
.film-component .right-component-image,
.news-component .right-component-content,
.videos-component .left-component-content,
.videos-component .right-component-image {
  flex-grow: 1; /* Assure que les composants occupent une largeur égale */
  max-width: 100%; /* S'assure que les images et le contenu ne dépassent pas la largeur du conteneur */
  width: 100%;
}

.news-component .left-component-image,
.film-component .left-component-image {
  display: flex;
  justify-content: center; /* Centre l'image horizontalement dans son conteneur */
  margin: 0;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.videos-component .right-component-image {
  display: flex;
  justify-content: center; /* Centre l'image horizontalement dans son conteneur */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-component .left-component-image img,
.film-component .left-component-image img,
.videos-component .right-component-image img {
  box-sizing: border-box;
  height: auto;
	max-width: 100%;
}

.news-component .right-component-content,
.film-component .right-component-content {
  max-width: 50%;
  margin-left: 60px; /* Espacement entre l'image et le contenu de droite */
  padding: 1rem;
}

.videos-component .left-component-content {
	margin-right: 60px; /* Espacement entre l'image et le contenu de droite */
  max-width: 50%;
  padding: 1rem;
}

.news-component .content-component-title,
.film-component .content-component-title,
.videos-component .content-component-title {
  margin-bottom: 33.26px;
  width: 100%;
  text-align: center;
}

.news-component .content-component-paragraphe,
.film-component .content-component-paragraphe,
.videos-component .content-component-paragraphe {
  margin: 10px 0;
  width: 100%;
  max-width: 100%;
}

.news-component .content-component-cta-container,
.film-component .content-component-cta-container,
.videos-component .content-component-cta-container {
  margin-top: 33.26px;
  width: 100%;
  display: flex;
  justify-content: center; /* Centre le CTA dans le component-content */
}

.news-component .content-component-cta,
.film-component .content-component-cta,
.videos-component .content-component-cta {
  background-color: rgba(100, 32, 107, 1); /* Utilisation de la couleur de marque */
  color: white;
  padding: 10px 20px;
  border: 1px solid rgba(100, 32, 107, 1);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.news-component .content-component-cta:hover,
.film-component .content-component-cta:hover,
.videos-component .content-component-cta:hover {
  background-color: #ff8700;
  color: white; /* Change la couleur du texte en orange (brand color) au survol */
  border: 1px solid #ff8700;
}

/* Responsive Styles for Smartphone */
@media (max-width: 768px) {
  .news-component,
  .film-component {
    flex-direction: column; /* Empile les éléments */
    padding: 0 15px;
  }
  
  .videos-component {
    flex-direction: column-reverse; /* Empile les éléments */
    padding: 0 15px;
  }

  .news-component .left-component-image,
  .film-component .left-component-image,
  .videos-component .right-component-image {
		margin: 0;
    max-width: 100%; /* L'image prend toute la largeur disponible */
    margin-top: 20px; /* Ajoute un espace au-dessus de l'image */
  }

  .news-component .right-component-content,
  .film-component .right-component-content,
  .videos-component .left-component-content {
    max-width: 100%; /* Le contenu prend toute la largeur disponible */
    margin: 0;
  }

	.news-component .content-component-title,
	.film-component .content-component-title,
	.videos-component .content-component-title {
  	margin-top: 33.26px;
    margin-bottom: 33.26px;
  	max-width: 100%;
	}
  
  .news-component .content-component-paragraphe,
  .film-component .content-component-paragraphe,
  .videos-component .content-component-paragraphe {
		text-align: center !important;
  }
}

/** Community section in homepage **/
.community {
  text-align: center;
}

.community-image {
  min-height: 300px;
  margin-top: 32px;
  background-image: url(/hc/theming_assets/01K2KXN8CX8WDZW314WW79E1MV);
  background-position: center;
  background-repeat: no-repeat;
  max-width: 100%;
}

.community,
.activity {
  border-top: 1px solid #ddd;
  padding: 30px 0;
}

/** Recent activity **/
.recent-activity-header {
  margin-bottom: 10px;
  text-align: center;
}

.recent-activity-list {
  padding: 0;
}

.recent-activity-item {
  border-bottom: 1px solid #ddd;
  overflow: auto;
  padding: 20px 0;
}

.recent-activity-item-parent {
  font-size: 16px;
}

.recent-activity-item-parent, .recent-activity-item-link {
  margin: 6px 0;
  color: rgba(0, 0, 0, 1);
  display: inline-block;
  width: 100%;
}

@media (min-width: 768px) {
  .recent-activity-item-parent, .recent-activity-item-link {
    width: 70%;
    margin: 0;
  }
}

.recent-activity-item-link {
  font-size: 14px;
}

.recent-activity-item-meta {
  margin: 15px 0 0 0;
  float: none;
}

@media (min-width: 768px) {
  .recent-activity-item-meta {
    margin: 0;
    float: right;
  }
  [dir="rtl"] .recent-activity-item-meta {
    float: left;
  }
}

.recent-activity-item-time, .recent-activity-item-comment {
  color: #333;
  display: inline-block;
  font-size: 13px;
}

.recent-activity-item-comment {
  padding-left: 5px;
}

[dir="rtl"] .recent-activity-item-comment {
  padding: 0 5px 0 0;
}

.recent-activity-item-comment::before {
  display: inline-block;
}

.recent-activity-controls {
  padding-top: 15px;
}

.recent-activity-accessibility-label {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.recent-activity-comment-icon svg {
  vertical-align: middle;
  color: rgba(100, 32, 107, 1);
  width: 16px;
  height: 16px;
}

.recent-activity-comment-icon:after {
  content: attr(data-comment-count);
  margin-left: 3px;
}

[dir="rtl"] .recent-activity-comment-icon:after {
  margin-left: 0;
  margin-right: 3px;
}

/***** Category pages *****/
.section-divider svg {
  margin: 0;
}

.category-container {
  display: flex;
  flex-direction: column;
}

.category-container .page-header {
  display: contents;
}

.category-content {
  flex: 1;
}

.section-tree {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 30px;
  padding: 20px 0;
}

.section-tree .section {
  background-color: #fff; /* Fond blanc pour chaque card */
  border: 1px solid #e0e0e0; /* Bordure légère autour de chaque card */
  border-radius: 10px; /* Coins arrondis pour effet de carte */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Ombre légère pour un effet de surélévation */
  padding: 20px;
  flex: 1 1 100%; /* Largeur par défaut sur mobile */
  max-width: 523px;
}

@media (min-width: 768px) {
  .section-tree {
    flex-direction: row;
  }
  
  .section-tree .section {
    flex: 1 1 45%; /* Deux cartes par ligne sur tablette et bureau */
  }
}

@media (min-width: 1024px) {
  .section-tree .section {
    flex: 1 1 35%;
  }
  .section-tree .section:nth-last-child(1):nth-child(2n+1) {
    max-width: 1031px;
  }
}

@media (min-width: 1160px) {
  .section-tree .section:nth-last-child(1):nth-child(2n+1) {
    max-width: 523px;
    flex: 1 1 100%;
  }
}

.section-tree-title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.section-tree .page-section-description p {
  color: grey;
  line-height: 1.5;
  font-style: italic;
  margin: 0;
}

.section-tree .see-all-articles {
  display: block;
  padding: 15px 0;
}

.article-list {
  margin-top: 15px;
}

.article-list-item {
  font-size: 16px;
  padding: 12px 0;
}

.article-list-item a {
  color: rgba(0, 0, 0, 1);
}

.article-meta {
  display: flex;
  flex-direction: column; /* Organise les éléments verticalement */
  gap: 5px; /* Espacement entre les éléments */
}

.article-meta .date,
.article-meta .likes {
  margin: 0;
  font-size: 14px; /* Ajuste la taille de la police si nécessaire */
}

.icon-star {
  color: rgba(100, 32, 107, 1);
  font-size: 18px;
}


/***** Section pages *****/
.section-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.section-content {
  flex: 1;
}

.section-content ul {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.section-content li {
  flex: 1 1 calc(33.333% - 20px); /* Ajuste la largeur des éléments pour trois colonnes */
  max-width: calc(33.333% - 20px); /* Assure une largeur maximale */
  box-sizing: border-box; /* Inclut le padding et les bordures dans la largeur totale */
}

@media (max-width: 768px) { /* Pour les smartphones et tablettes */
  .section-content li {
    flex: 1 1 100%; /* Les cartes prennent toute la largeur */
    max-width: 100%; /* Supprime les restrictions de largeur */
  }
}

@media (min-width: 768px) and (max-width: 1023px) { /* Pour les tablettes */
  .section-content li {
    flex: 1 1 calc(50% - 20px); /* Deux colonnes sur les tablettes */
    max-width: calc(50% - 20px); /* Limite la largeur à deux colonnes */
  }
}

@media (min-width: 1024px) {
  .section-content {
    flex: 0 0 80%;
  }
  
  .section-content li {
    flex: 1 1 calc(33.333% - 20px); /* Trois colonnes sur les grands écrans */
  }
}

.section-list {
  margin: 40px 0;
}

.section-list-item {
  border-bottom: 1px solid #ddd;
  font-size: 16px;
  padding: 15px 0;
}

.section-list-item:first-child {
  border-top: 1px solid #ddd;
}

.section-list-item a {
  align-items: center;
  color: rgba(0, 0, 0, 1);
  display: flex;
  justify-content: space-between;
}

.see-all-sections-trigger {
  cursor: pointer;
  display: block;
  padding: 15px;
  text-align: center;
}

.see-all-sections-trigger[aria-hidden="true"] {
  display: none;
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  width: 100%; /* La carte prend toute la largeur disponible */
  padding: 5px;
  transition: transform 0.2s;
  box-sizing: border-box; /* Inclut le padding et les bordures dans la largeur totale */
  max-width: none; /* Supprime la largeur maximale fixée */
}

.card:hover {
  transform: scale(1.02);
  text-decoration: none;
}

.card a:-webkit-any-link:hover {
  text-decoration: underline rgba(100, 32, 107, 1);
}

.card .media-placeholder {
  position: relative;
  width: 100%;
  min-height: 320px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-header h3 {
  margin: 0;
  display: flex;
  align-items: flex-start;
  flex: 1;
  color: rgba(100, 32, 107, 1);
}

.card-header .promoted-icon {
  flex-shrink: 0;
  align-self: flex-start;
}

.card-body {
  margin-top: 10px;
  margin-bottom: 16px;
}

.card-body span {
  font-size: 14px;
  font-style: italic;
  color: grey;
  line-height: 1.5;
}

.card-footer {
  font-size: 0.9em;
  color: #666;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
}

.card-footer p {
  margin: 4px 0;
}

/***** Article *****/
.article {
  /*
  * The article grid is defined this way to optimize readability:
  * Sidebar-left | Content | Sidebar-right
  * 17%     | 66%     | 17%
  */
  flex: 1 0 auto;
}

@media (min-width: 1024px) {
  .article {
    flex: 1 0 66%;
    max-width: 66%;
    min-width: 640px;
    padding: 0 30px;
  }
}

.article-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .article-container {
    flex-direction: row;
  }
}

.article-header {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .article-header {
    flex-direction: row;
    margin-top: 0;
  }
}

.article-avatar {
  margin-right: 10px;
}

.article-author {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .article-title {
    flex-basis: 100%;
		margin-top: 0;
  }
}

.article-title .icon-lock {
  position: relative;
  left: -5px;
  vertical-align: baseline;
}

.article [role="button"] {
  flex-shrink: 0;
  /*Avoid collapsing elements in Safari (https://github.com/philipwalton/flexbugs#1-minimum-content-sizing-of-flex-items-not-honored)*/
  width: 100%;
}

@media (min-width: 768px) {
  .article [role="button"] {
    width: auto;
  }
}

.article-info {
  max-width: 100%;
}

.article-meta {
  display: inline-block;
  vertical-align: middle;
}

.article-body img {
  height: auto;
  max-width: 100%;
}

.article-body ul, .article-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
}

[dir="rtl"] .article-body ul, [dir="rtl"] .article-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 20px;
}

.article-body ul > ul, .article-body ol > ol, .article-body ol > ul, .article-body ul > ol, .article-body li > ul, .article-body li > ol {
  margin: 0;
}

.article-body ul {
  list-style-type: disc;
}

.article-body a:visited {
  color: rgba(255, 151, 0, 1);
}

.article-body code {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}

.article-body pre {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}

.article-body blockquote {
  border-left: 1px solid #ddd;
  color: #333;
  font-style: italic;
  padding: 0 15px;
}

.article-body > p:last-child {
  margin-bottom: 50px;
}

.article-content {
  line-height: 1.6;
  margin: 40px 0;
  word-wrap: break-word;
}

/* .article-content.h3 {
  margin-left: 60px;
}

.article-content.h4 {
  margin-left: 80px;
} */

.article-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.article-comment-count {
  color: #333;
}

.article-comment-count:hover {
  text-decoration: none;
}

.article-comment-count-icon {
  vertical-align: middle;
  color: rgba(100, 32, 107, 1);
  width: 18px;
  height: 18px;
}

.article-sidebar-right, .article-sidebar-left {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  margin-right: 20px;
  margin-bottom: 20px;
  padding: 0;
}

.article-sidebar-right {
  margin-top: 20px;
}


@media (min-width: 1024px) {
  .article-sidebar-right, .article-sidebar-left {
    border: 0;
    flex: 0 0 17%;
    height: auto;
  }
}

.article-votes {
  border-top: 1px solid #ddd;
  padding: 30px 0;
  text-align: center;
}

.article-vote {
  margin: 10px 5px;
  min-width: 90px;
  width: auto;
}

.article-more-questions {
  margin: 0 0 30px;
  text-align: center;
  font-size: 12px;
}

.article-return-to-top {
  border-top: 1px solid #ddd;
}

@media (min-width: 1024px) {
  .article-return-to-top {
    display: none;
  }
}

.article-return-to-top a {
  color: rgba(0, 0, 0, 1);
  display: block;
  padding: 20px 0;
}

.article-return-to-top a:hover, .article-return-to-top a:focus {
  text-decoration: none;
}

.article-return-to-top-icon {
  transform: rotate(0.5turn);
}

.sidenav-title {
  font-size: 15px;
  position: relative;
  font-weight: 600;
}

.sidenav-item {
  border-radius: 4px;
  color: rgba(0, 0, 0, 1);
  display: block;
  margin-bottom: 6px;
  padding: 10px;
}

.sidenav-item.current-article, .sidenav-item:hover {
  background-color: rgba(100, 32, 107, 1);
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

.recent-articles li,
.related-articles li {
  margin-bottom: 15px;
}

/*container rdv options*/
.rdv-option-box {
  border-radius: 18px;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
  margin: 0 0 72px 0;
  box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.12);
}

.rdv-option-text {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 700px;
}

.rdv-option-title {
  margin: 0 0 12px 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #60206B;
}

.rdv-option-desc {
  margin: 0 0 26px 0;
  max-width: none;
  font-size: 15px;
  line-height: 1.65;
  color: #4c5f5b;
}

.rdv-option-btn {
  display: inline-block;
  background: #60206B;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 18px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.rdv-option-btn:hover {
  background: #ff8700;
  text-decoration: none;
}

.rdv-option-image-wrap {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rdv-option-image {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
  transform: rotate(12deg);
}

@media (max-width: 768px) {
  .rdv-option-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    padding: 22px 18px;
    gap: 18px;
  }

  .rdv-option-text {
    max-width: 100%;
  }

  .rdv-option-title {
    font-size: 17px;
    margin-bottom: 16px;
  }

  .rdv-option-desc {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .rdv-option-image-wrap {
    flex: none;
    width: 100%;
  }

  .rdv-option-image {
    max-width: 130px;
    transform: rotate(8deg);
  }
}

/* List articles from section */
.articles-from-section {
  margin: 30px 0;
  border-top: 1px solid #ddd;
}

.articles-section-title h2 {
  font-size: 32px;
  margin-top: 25px;
  margin-bottom: 30px;
  text-align: center;
}

.articles-list-from-section ul {
  margin: auto;
  margin-bottom: 20px;
  width: 90%;
}

.articles-list-from-section li {
  margin: 5px 0;
}

.articles-list-item a {
  margin: auto;
  width: 90%;
}

.articles-list-from-section h3 {
  margin-top: 0;
  padding: 10px;
  margin-bottom: 0;
}

.articles-list-from-section p {
  color: grey;
  font-style: italic;
  padding: 0 10px 10px;
  margin-top: 0;
  margin-bottom: 0;
}

.articles-section-button {
  margin: auto;
  width: 90%;
}

.articles-section-item {
  padding: 0 10px;
}

.articles-list-item.current-article {
  background-color: #67206B; /* Couleur de surbrillance */
  color: white; /* Couleur du texte surligné */
  display: block;
  border-radius: 5px 5px 0 0;
}

.articles-list-from-section p.current-article {
  background-color: #F0E9F0; /* Couleur de surbrillance */
  color: #67206B; /* Couleur du texte */
  display: block;
  border-radius: 0 0 5px 5px;
}

.articles-list-from-section li:hover a,
.articles-list-from-section li:hover p {
  background-color: #67206B; /* Couleur de surbrillance */
  color: white; /* Couleur du texte surligné */
  display: block;
}

.articles-list-from-section li:hover p {
  background-color: #F0E9F0; /* Couleur de surbrillance pour le paragraphe */
  color: #67206B; /* Couleur du texte */
}

.articles-list-from-section li:hover a {
  border-radius: 5px 5px 0 0;
}

.articles-list-from-section li:hover p {
  border-radius: 0 0 5px 5px;
}

  /** Format smartphone **/
  @media (max-width: 768px) {
    /** Titre H2 **/
    .articles-section-title h2 {
      font-size: 24px;
      margin-top: 15px;
      margin-bottom: 20px;
    }
    
    .articles-list-from-section h3 {
      font-size: 16px;
      padding: 5px 10px;
    }
    
    .articles-list-from-section p {
      padding: 2px 10px;
    }
  }

/* Related-articles container */
.bottom-article-container {
  display: flex;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.bottom-article-list {
  width: 100%;
}

.bottom-article-container h2 {
	font-size: 32px;
  margin-top: 25px;
  margin-bottom: 30px;
  text-align: center;
}

.bottom-article-container ul {
  display: flex;
  flex-wrap: wrap; /* Permet d'aller à la ligne après 3 items */
  justify-content: center; /* Centre les éléments horizontalement */
  align-items: center; /* Centre les éléments verticalement */
  gap: 20px; /* Ajoute un espace entre les items */
  padding: 0;
  margin: 0 50px;
  width: 90%;
}

.bottom-article-list li {
  flex: 1 1 calc(33.33% - 20px); /* 3 éléments par ligne */
  max-width: calc(33.33% - 20px); /* Max 3 items par ligne */
  height: 100px; /* Hauteur fixe de 100px */
  box-sizing: border-box; /* S'assure que la hauteur inclut le padding */
  display: flex;
  align-items: center; /* Centre verticalement le contenu dans chaque <li> */
  justify-content: center; /* Centre horizontalement le contenu dans chaque <li> */
  background-color: #f0f0f0; /* Exemple de couleur de fond pour mieux visualiser */
  text-align: center;
  padding: 15px;
  background-color: #ffffff;
  background-size: cover;
  background-position: center;
  width: 100%; /* Pour faire en sorte que chaque élément soit carré */
  border-radius: 8px; /* Bordures arrondies */
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.bottom-article-list li:hover {
  transform: scale(1.07);
  text-decoration: none;
  border: solid 0.25px rgba(100, 32, 107, 1);
}

.bottom-article-list a {

	font-weight: 600;
  padding: 40px 0;
}

  /** Format smartphone **/
@media (max-width: 768px) {
  .related-articles {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .bottom-article-container {
    display: block;
    width: 100%; /* Prend toute la largeur disponible */
  }

  /* Titre H2 */
  .bottom-article-container h2 {
    font-size: 24px; /* Réduit la taille du titre pour s'adapter au petit écran */
    margin-top: 15px;
    margin-bottom: 20px;
  }

  /* Liste d'articles */
  .bottom-article-container ul {
    display: block; /* On empile chaque <li> en colonne */
    width: 97%;
    padding: 0 5px;
    margin: 0;
  }

  /* Articles dans la liste */
  .bottom-article-list li {
    flex: 1 1 100%;   /* Chaque article prend toute la largeur */
    max-width: 100%;  /* On supprime la limite de 33% */
    margin-bottom: 15px; /* Espace vertical entre articles */
    height: auto;         /* Plus de hauteur fixe => le texte ne disparaît pas */
    padding: 10px;        /* Espace interne */
    background-size: cover; /* Si tu as une image en fond, elle se cale */
    background-position: center;
    border-radius: 8px;   
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); 
    transition: transform 0.2s ease-in-out;
  }
  .bottom-article-list li:hover {
    transform: scale(1);
  }

  .bottom-article-list a {
    /* S’assure que le texte soit bien visible et centré */
    display: block;    
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    padding: 5px 10px; /* On évite 40px de padding vertical */
  }
}


/***** Attachments *****/
/* Styles attachments inside posts, articles and comments */
.attachments .attachment-item {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.attachments .attachment-item:last-child {
  margin-bottom: 0;
}

.attachments .attachment-item .attachment-icon {
  color: rgba(0, 0, 0, 1);
  left: 0;
  position: absolute;
  top: 5px;
}

[dir="rtl"] .attachments .attachment-item {
  padding-left: 0;
  padding-right: 20px;
}

[dir="rtl"] .attachments .attachment-item .attachment-icon {
  left: auto;
  right: 0;
}

.upload-dropzone span {
  color: #333;
}

/***** Social share links *****/
.share {
  padding: 0;
  white-space: nowrap;
}

.share li, .share a {
  display: inline-block;
}

.share li {
  height: 25px;
  width: 25px;
}

.share a {
  color: #333;
}

.share a:hover {
  text-decoration: none;
  color: rgba(100, 32, 107, 1);
}

.share a svg {
  height: 18px;
  width: 18px;
  display: block;
}

/***** Comments *****/
/* Styles comments inside articles, posts and requests */
.comment {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}

.comment-heading, .recent-articles-title {
  margin-bottom: 5px;
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
}

.comment-overview {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  padding: 20px 0;
}

.comment-overview p {
  margin-top: 0;
}

.comment-callout {
  color: #333;
  display: inline-block;
  font-size: 13px;
  margin-bottom: 0;
}

.comment-callout a {
  color: rgba(100, 32, 107, 1);
}

.comment-sorter {
  display: inline-block;
  float: right;
}

.comment-sorter .dropdown-toggle {
  color: #333;
  font-size: 13px;
}

[dir="rtl"] .comment-sorter {
  float: left;
}

.comment-wrapper {
  display: flex;
  position: relative;
}

.comment-wrapper.comment-official {
  border: 1px solid rgba(100, 32, 107, 1);
  padding: 40px 20px 20px;
}

@media (min-width: 768px) {
  .comment-wrapper.comment-official {
    padding-top: 20px;
  }
}

.comment-info {
  min-width: 0;
  padding-right: 20px;
  width: 100%;
}

[dir="rtl"] .comment-info {
  padding-right: 0;
  padding-left: 20px;
}

.comment-author {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .comment-author {
    justify-content: space-between;
  }
}

.comment-avatar {
  margin-right: 10px;
}

[dir="rtl"] .comment-avatar {
  margin-left: 10px;
  margin-right: 0;
}

.comment-meta {
  flex: 1 0 auto;
}

.comment-labels {
  flex-basis: 100%;
}

@media (min-width: 768px) {
  .comment-labels {
    flex-basis: auto;
  }
}

.comment .status-label:not(.status-label-official) {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .comment .status-label:not(.status-label-official) {
    margin-top: 0;
  }
}

.comment-form {
  display: flex;
  padding-top: 30px;
  word-wrap: break-word;
}

.comment-container {
  width: 100%;
}

.comment-form-controls {
  display: none;
  margin-top: 10px;
  text-align: left;
}

@media (min-width: 768px) {
  [dir="ltr"] .comment-form-controls {
    text-align: right;
  }
}

.comment-form-controls input[type="submit"] {
  margin-top: 15px;
}

@media (min-width: 1024px) {
  .comment-form-controls input[type="submit"] {
    margin-left: 15px;
  }
  [dir="rtl"] .comment-form-controls input[type="submit"] {
    margin-left: 0;
    margin-right: 15px;
  }
}

.comment-form-controls input[type="checkbox"] {
  margin-right: 5px;
}

.comment-form-controls input[type="checkbox"] [dir="rtl"] {
  margin-left: 5px;
}

.comment-ccs {
  display: none;
}

.comment-ccs + textarea {
  margin-top: 10px;
}

.comment-attachments {
  margin-top: 10px;
}

.comment-attachments a {
  color: rgba(100, 32, 107, 1);
}

.comment-body {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: auto;
}

.comment-body img {
  height: auto;
  max-width: 100%;
}

.comment-body ul, .comment-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
}

[dir="rtl"] .comment-body ul, [dir="rtl"] .comment-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 20px;
}

.comment-body ul > ul, .comment-body ol > ol, .comment-body ol > ul, .comment-body ul > ol, .comment-body li > ul, .comment-body li > ol {
  margin: 0;
}

.comment-body ul {
  list-style-type: disc;
}

.comment-body a:visited {
  color: rgba(255, 151, 0, 1);
}

.comment-body code {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}

.comment-body pre {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}

.comment-body blockquote {
  border-left: 1px solid #ddd;
  color: #333;
  font-style: italic;
  padding: 0 15px;
}

.comment-mark-as-solved {
  display: inline-block;
}

/***** Vote *****/
/* Used in article comments, post comments and post */
.vote {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.vote a:active, .vote a:hover, .vote a:focus {
  text-decoration: none;
}

.vote-sum {
  color: #333;
  display: block;
  margin: 3px 0;
}

[dir="rtl"] .vote-sum {
  direction: ltr;
  unicode-bidi: bidi-override;
}

.vote-up svg {
  transform: scale(1, -1);
}

.vote-up:hover,
.vote-down:hover {
  color: rgba(100, 32, 107, 1);
}

.vote-up, .vote-down {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  color: #333;
  cursor: pointer;
  min-height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vote-voted {
  color: rgba(100, 32, 107, 1);
}

.vote-voted:hover {
  color: #1b091c;
}

/***** Actions *****/
/* Styles admin and en user actions(edit, delete, change status) in comments and posts */
.actions {
  text-align: center;
  flex-shrink: 0;
  /*Avoid collapsing elements in Safari*/
}

.actions button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  min-height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/***** Community *****/
.community-hero {
  background-image: url(/hc/theming_assets/01K2KXN8CX8WDZW314WW79E1MV);
  margin-bottom: 10px;
}

.community-footer {
  padding-top: 50px;
  text-align: center;
}

.community-footer-title {
  font-size: 16px;
  margin-bottom: 20px;
}

.community-featured-posts .title {
  font-size: 18px;
  font-weight: 600;
}

.community-featured-posts, .community-activity {
  padding-top: 40px;
  width: 100%;
}

.community-header {
  margin-bottom: 30px;
}

.community-header .title {
  margin-bottom: 0;
  font-size: 16px;
}

.post-to-community {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .post-to-community {
    margin: 0;
  }
}

/* Community topics grid */
.topics {
  max-width: none;
  width: 100%;
}

.topics-item .meta-group {
  justify-content: center;
  margin-top: 20px;
}

/* Community topic page */
.topic-header {
  border-bottom: 1px solid #ddd;
  font-size: 13px;
}

@media (min-width: 768px) {
  .topic-header {
    padding-bottom: 10px;
  }
}

.topic-header .dropdown {
  display: block;
  border-top: 1px solid #ddd;
  padding: 10px 0;
}

@media (min-width: 768px) {
  .topic-header .dropdown {
    border-top: 0;
    display: inline-block;
    margin-right: 20px;
    padding: 0;
  }
}

.no-posts-with-filter {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Topic, post and user follow button */
.community-follow {
  margin-bottom: 10px;
  width: 100%;
}

@media (min-width: 768px) {
  .community-follow {
    margin-bottom: 0;
    width: auto;
  }
}

.community-follow button {
  line-height: 30px;
  padding: 0 10px 0 15px;
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .community-follow button {
    width: auto;
  }
}

.community-follow button:hover {
  background-color: rgba(100, 32, 107, 1);
}

.community-follow button:hover::after, .community-follow button:focus::after {
  border-color: rgba(255, 255, 255, 1);
  color: rgba(255, 255, 255, 1);
}

.community-follow button[data-selected="true"] {
  background-color: rgba(100, 32, 107, 1);
  color: rgba(255, 255, 255, 1);
}

.community-follow button[data-selected="true"]::after {
  border-left: 1px solid rgba(255, 255, 255, 1);
  color: rgba(255, 255, 255, 1);
}

.community-follow button[data-selected="true"]:hover {
  background-color: #1b091c;
  border-color: #1b091c;
}

.community-follow button::after {
  border-left: 1px solid rgba(100, 32, 107, 1);
  content: attr(data-follower-count);
  color: rgba(100, 32, 107, 1);
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  margin-left: 15px;
  padding-left: 10px;
  position: absolute;
  right: 10px;
}

@media (min-width: 768px) {
  .community-follow button::after {
    position: static;
  }
}

[dir="rtl"] .community-follow button::after {
  border-left: 0;
  border-right: 1px solid rgba(100, 32, 107, 1);
  margin: 0 10px 0 0;
  padding: 0 10px 0 0;
}

/***** Striped list *****/
/* Used in community posts list and requests list */
.striped-list {
  padding: 0;
}

.striped-list-item {
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 0;
}

@media (min-width: 768px) {
  .striped-list-item {
    align-items: center;
    flex-direction: row;
  }
}

.striped-list-info {
  flex: 2;
}

.striped-list-title {
  color: rgba(100, 32, 107, 1);
  margin-bottom: 10px;
  margin-right: 5px;
}

.striped-list-title:hover, .striped-list-title:focus, .striped-list-title:active {
  text-decoration: underline;
}

.striped-list-title:visited {
  color: rgba(255, 151, 0, 1);
}

.striped-list .meta-group {
  margin: 5px 0;
}

.striped-list-count {
  color: #333;
  font-size: 13px;
  justify-content: flex-start;
  text-transform: capitalize;
}

@media (min-width: 768px) {
  .striped-list-count {
    display: flex;
    flex: 1;
    justify-content: space-around;
  }
}

.striped-list-count-item::after {
  content: "·";
  display: inline-block;
  padding: 0 5px;
}

@media (min-width: 768px) {
  .striped-list-count-item::after {
    display: none;
  }
}

.striped-list-count-item:last-child::after {
  display: none;
}

.striped-list-number {
  text-align: center;
}

@media (min-width: 768px) {
  .striped-list-number {
    color: rgba(0, 0, 0, 1);
    display: block;
  }
}

/***** Status labels *****/
/* Styles labels used in posts, articles and requests */
.status-label {
  background-color: #038153;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  margin-right: 2px;
  padding: 3px 10px;
  vertical-align: middle;
  white-space: nowrap;
  display: inline-block;
}

.status-label:hover, .status-label:active, .status-label:focus {
  text-decoration: none;
}

.status-label-pinned, .status-label-featured, .status-label-official {
  background-color: rgba(100, 32, 107, 1);
}

.status-label-official {
  border-radius: 0;
  margin-right: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .status-label-official {
    border-radius: 0 0 4px 4px;
    right: 30px;
    width: auto;
  }
}

[dir="rtl"] .status-label-official {
  left: 30px;
  right: auto;
}

.status-label-not-planned, .status-label-closed {
  background-color: #e9ebed;
  color: #333;
}

.status-label-pending, .status-label-pending-moderation {
  background-color: #1f73b7;
  text-align: center;
}

.status-label-open {
  background-color: #c72a1c;
}

.status-label-solved {
  background-color: #68737d;
}

.status-label-new {
  background-color: #ffb648;
  color: #703b15;
}

.status-label-hold {
  background-color: #000;
}

/***** Post *****/
/*
* The post grid is defined this way:
* Content | Sidebar
* 70%     | 30%
*/
.post {
  flex: 1;
  margin-bottom: 10px;
}

@media (min-width: 1024px) {
  .post {
    flex: 1 0 70%;
    max-width: 70%;
  }
}

.post-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .post-container {
    flex-direction: row;
  }
}

.post-header {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .post-header {
    align-items: baseline;
    flex-direction: row;
  }
}

.post-header .status-label {
  vertical-align: super;
}

.post-title {
  margin-bottom: 20px;
  width: 100%;
}

@media (min-width: 768px) {
  .post-title {
    margin-bottom: 0;
    padding-right: 10px;
  }
}

.post-title h1 {
  display: inline;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .post-title h1 {
    margin-right: 5px;
  }
}

.post-author {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.post-avatar {
  margin-bottom: 30px;
}

.post-content {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  word-break: break-word;
}

.post-info-container {
  display: flex;
  margin-bottom: 40px;
}

.post-info {
  min-width: 0;
  padding-right: 20px;
  width: 100%;
}

[dir="rtl"] .post-info {
  padding-right: 0;
  padding-left: 20px;
}

.post-meta {
  display: inline-block;
  flex: 1;
  margin-left: 10px;
  vertical-align: middle;
}

[dir="rtl"] .post-meta {
  margin-left: 0;
  margin-right: 10px;
}

.post-body img {
  height: auto;
  max-width: 100%;
}

.post-body ul, .post-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
}

[dir="rtl"] .post-body ul, [dir="rtl"] .post-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 20px;
}

.post-body ul > ul, .post-body ol > ol, .post-body ol > ul, .post-body ul > ol, .post-body li > ul, .post-body li > ol {
  margin: 0;
}

.post-body ul {
  list-style-type: disc;
}

.post-body a:visited {
  color: rgba(255, 151, 0, 1);
}

.post-body code {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}

.post-body pre {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}

.post-body blockquote {
  border-left: 1px solid #ddd;
  color: #333;
  font-style: italic;
  padding: 0 15px;
}

.post-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.post-comment-count {
  color: #333;
}

.post-comment-count:hover {
  text-decoration: none;
}

.post-comment-count .icon-comments {
  color: rgba(100, 32, 107, 1);
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 5px;
  vertical-align: middle;
}

.post-sidebar {
  border-top: 1px solid #ddd;
  flex: 1;
  padding: 30px 0;
  text-align: center;
}

@media (min-width: 1024px) {
  .post-sidebar {
    border: 0;
    flex: 1 0 30%;
    padding: 0 0 0 50px;
    text-align: initial;
  }
  [dir="rtl"] .post-sidebar {
    padding: 0 50px 0 0;
  }
}

.post-sidebar-title {
  font-size: 18px;
  font-weight: 600;
}

.post-comments {
  margin-bottom: 20px;
}

@media (min-width: 1024px) {
  .post-comments {
    margin-bottom: 0;
  }
}

/***** Community Badges *****/
/* Styles labels used next to the authors of article comments, community posts, and community comments */
.community-badge-title {
  background-color: #04444d;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 0px 8px;
  vertical-align: top;
  white-space: nowrap;
  display: inline-flex;
  line-height: 18px;
  vertical-align: middle;
}

.profile-info .community-badge-title {
  padding: 2px 8px;
  line-height: 20px;
}

.community-badge-container-achievements {
  display: flex;
}

.community-badge-container-achievements > .community-badge-titles {
  margin-left: calc(28px - 0.5em);
}

[dir="rtl"] .community-badge-container-achievements > .community-badge-titles {
  margin-right: calc(28px - 0.5em);
}

.community-name-and-title-badges {
  display: flex;
  flex-wrap: wrap;
}

.community-badge {
  margin: 2px;
}

.community-badge-achievements {
  display: block;
  height: 16px;
  white-space: nowrap;
  width: 16px;
}

.profile-info .community-badge-achievements {
  height: 40px;
  width: 40px;
}

.community-title-badges {
  flex-basis: 100%;
  margin-top: 15px;
}

.community-badge-achievements-rest {
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  vertical-align: top;
}

.community-badge-achievements img {
  width: 100%;
  height: 100%;
}

.community-badge-titles img {
  width: 20px;
  height: 20px;
}

.profile-info .community-badge-achievements-rest {
  line-height: 40px;
  font-size: 20px;
}

/* Navigation element that collapses on mobile */
.collapsible-nav {
  flex-direction: column;
  font-size: 14px;
  position: relative;
}

@media (min-width: 768px) {
  .collapsible-nav {
    flex-direction: row;
  }
}

.collapsible-nav-border {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
}

@media (min-width: 768px) {
  .collapsible-nav-border {
    border-top: 0;
  }
}

.collapsible-nav-toggle {
  top: calc(45px / 2);
  transform: translateY(-50%);
  position: absolute;
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .collapsible-nav-toggle {
    display: none;
  }
}

[dir="rtl"] .collapsible-nav-toggle {
  left: 0;
  right: auto;
}

.collapsible-nav-toggle-icon {
  display: none;
}

.collapsible-nav-toggle[aria-expanded="false"] .chevron-icon {
  display: inline-block;
}

.collapsible-nav-toggle[aria-expanded="true"] .x-icon {
  display: inline-block;
}

.collapsible-nav-toggle:focus {
  outline: none;
  border: 1px solid rgba(100, 32, 107, 1);
}

.collapsible-nav-list {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .collapsible-nav-list {
    flex-direction: row;
  }
}

.collapsible-nav-list li {
  color: rgba(0, 0, 0, 1);
  line-height: 45px;
  order: 1;
}

@media (min-width: 768px) {
  .collapsible-nav-list li {
    line-height: normal;
    margin-right: 30px;
  }
  [dir="rtl"] .collapsible-nav-list li {
    margin-left: 30px;
    margin-right: 0;
  }
  .collapsible-nav-list li a {
    text-decoration: none;
    padding: 15px 0;
  }
}

.collapsible-nav-list li a {
  color: rgba(0, 0, 0, 1);
  display: block;
}

@media (min-width: 768px) {
  .collapsible-nav-list li:hover {
    border-bottom: 4px solid #ddd;
  }
  .collapsible-nav-list li:hover a:not([aria-current="page"]) {
    padding: 15px 0 11px 0;
    text-decoration: none;
  }
}

.collapsible-nav-list li:not([aria-selected="true"]),
.collapsible-nav-list li:not(.current) {
  display: none;
}

@media (min-width: 768px) {
  .collapsible-nav-list li:not([aria-selected="true"]),
  .collapsible-nav-list li:not(.current) {
    display: block;
  }
}

@media (min-width: 768px) {
  .collapsible-nav-list li[aria-selected="true"] {
    padding: 15px 0 11px 0;
  }
}

.collapsible-nav-list li[aria-selected="true"],
.collapsible-nav-list li.current {
  order: 0;
  position: relative;
}

@media (min-width: 768px) {
  .collapsible-nav-list li[aria-selected="true"],
  .collapsible-nav-list li.current {
    border-bottom: 4px solid rgba(100, 32, 107, 1);
    order: 1;
  }
}

.collapsible-nav-list li[aria-selected="true"] a,
.collapsible-nav-list li.current a {
  color: rgba(0, 0, 0, 1);
}

.collapsible-nav[aria-expanded="true"] li:not([aria-selected="true"]),
.collapsible-nav[aria-expanded="true"] li:not(.current) {
  display: block;
}

/* Sidebar navigation that collapses on mobile */
.collapsible-sidebar {
  flex: 1;
  width: 250px;
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}

@media (min-width: 1024px) {
  .collapsible-sidebar {
    padding: 0;
  }
}

.collapsible-sidebar-title {
  margin-top: 0;
}

.collapsible-sidebar-toggle {
  position: absolute;
  top: calc(45px / 2);
  transform: translateY(-50%);
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

@media (min-width: 1024px) {
  .collapsible-sidebar-toggle {
    display: none;
  }
}

[dir="rtl"] .collapsible-sidebar-toggle {
  left: 0;
  right: auto;
}

.collapsible-sidebar-toggle-icon {
  display: none;
}

.collapsible-sidebar-toggle[aria-expanded="false"] .chevron-icon {
  display: inline-block;
}

.collapsible-sidebar-toggle[aria-expanded="true"] .x-icon {
  display: inline-block;
}

.collapsible-sidebar-toggle:focus {
  outline: none;
  border: 1px solid rgba(100, 32, 107, 1);
}

.collapsible-sidebar-body {
  display: none;
  margin-bottom: 15px;
}

@media (min-width: 1024px) {
  .collapsible-sidebar-body {
    display: block;
  }
}

.collapsible-sidebar[aria-expanded="true"] {
  max-height: none;
}

.collapsible-sidebar[aria-expanded="true"] .collapsible-sidebar-body {
  display: block;
}

.collapsible-sidebar-line {
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  .collapsible-sidebar-line {
    display: none;
  }
}

.keywords-container {
  margin: 20px 0 0 0;
  padding: 20px 0;
  border-top: 1px solid #ddd;
}

#article-tags-container {
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  margin: 5px;
  background-color: #f3e5f5; /* Violet pâle */
  color: rgba(100, 32, 107, 1); /* Violet foncé pour le texte */
  border-radius: 50px; /* Bordures arrondies */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Ombre portée */
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.article-votes-container {
  padding: 20px 0;
  border-top: 1px solid #ddd;
}

.article-votes-container .article-votes-controls {
  margin: 16px 1px 0 0;
  text-align: center;
}

.sidenav-article-label {
  text-align: center;
}

/***** My activities *****/
.my-activities-nav {
  background-color: #f2f2f2;
  margin-bottom: 20px;
}

.my-activities-sub-nav {
  margin-bottom: 30px;
}

.my-activities-table .striped-list-title {
  /* My activities tables */
  display: block;
  margin-bottom: 10px;
  max-width: 350px;
  white-space: normal;
}

@media (min-width: 1024px) {
  .my-activities-table .striped-list-title {
    margin-bottom: 0;
    max-width: 500px;
    min-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.my-activities-table thead {
  display: none;
}

@media (min-width: 768px) {
  .my-activities-table thead {
    display: table-header-group;
  }
}

.my-activities-table th:first-child,
.my-activities-table td:first-child {
  padding-left: 0;
}

@media (min-width: 1024px) {
  .my-activities-table th:first-child,
  .my-activities-table td:first-child {
    width: 500px;
  }
}

.my-activities-table th:last-child,
.my-activities-table td:last-child {
  padding-right: 0;
}

.my-activities-table td:not(:first-child) {
  display: none;
}

@media (min-width: 768px) {
  .my-activities-table td:not(:first-child) {
    display: table-cell;
  }
}

/* Requests table */
.requests-search {
  width: 100%;
}

.requests-table-toolbar {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .requests-table-toolbar {
    flex-direction: row;
  }
}

.requests-table-toolbar .search {
  flex: 1;
  width: 100%;
}

.requests-table-toolbar .request-table-filter {
  width: 100%;
}

@media (min-width: 768px) {
  .requests-table-toolbar .request-table-filter {
    width: auto;
  }
}

.requests-table-toolbar .request-filter {
  display: block;
}

@media (min-width: 768px) {
  .requests-table-toolbar .request-filter {
    margin: 0 0 0 30px;
  }
  [dir="rtl"] .requests-table-toolbar .request-filter {
    margin: 0 30px 0 0;
  }
}

.requests-table-toolbar .request-filter-label {
  font-size: 13px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .requests-table-toolbar .request-filter-label {
    margin-top: 0;
  }
}

.requests-table-toolbar select {
  max-height: 40px;
  margin-bottom: 30px;
  width: 100%;
}

@media (min-width: 768px) {
  .requests-table-toolbar select {
    margin-bottom: 0;
    max-width: 300px;
    width: auto;
  }
}

@media (min-width: 768px) {
  .requests-table-toolbar .organization-subscribe {
    margin-left: 10px;
  }
  [dir="rtl"] .requests-table-toolbar .organization-subscribe {
    margin: 0 10px 0 0;
  }
}

.requests-table-toolbar .organization-subscribe button {
  line-height: 40px;
  max-height: 40px;
  padding: 0 20px;
}

.requests-table-toolbar + .requests-search-info {
  margin-top: 15px;
}

.requests-table-toolbar + .requests-search-info.meta-data::after {
  content: "";
  margin: 0;
}

.requests-table-toolbar + .requests-search-info + .requests {
  margin-top: 20px;
}

.requests-table-toolbar + .requests {
  margin-top: 40px;
}

.requests .requests-table-meta {
  display: block;
}

@media (min-width: 768px) {
  .requests .requests-table-meta {
    display: none;
  }
}

.requests .requests-table thead {
  display: none;
}

@media (min-width: 768px) {
  .requests .requests-table thead {
    display: table-header-group;
  }
}

.requests .requests-table-info {
  display: block;
}

@media (min-width: 768px) {
  .requests .requests-table-info {
    display: table-cell;
    vertical-align: middle;
    width: auto;
  }
}

.requests .requests-table .requests-link {
  position: relative;
}

.requests .requests-table .requests-sort-symbol {
  position: absolute;
  left: calc(100% + 3px);
  bottom: 0;
  font-size: 10px;
}

/* Following table */
@media (min-width: 768px) {
  .subscriptions-subscribe button {
    width: auto;
  }
}

.subscriptions-table td:last-child {
  display: block;
}

@media (min-width: 768px) {
  .subscriptions-table td:last-child {
    display: table-cell;
  }
}

.subscriptions-table td:first-child {
  display: flex;
  align-items: center;
}

.subscriptions-table .user-avatar {
  margin-right: 10px;
}

.subscriptions .striped-list-title {
  display: inline-block;
  vertical-align: middle;
}

/* Contributions table */
.contributions-table td:last-child {
  color: #333;
  font-size: 13px;
}

@media (min-width: 768px) {
  .contributions-table td:last-child {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
  }
}

.no-activities {
  color: #333;
}

/***** Request *****/
.request-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .request-container {
    align-items: flex-start;
    flex-direction: row;
  }
}

.request-container .comment-container {
  min-width: 0;
}

.request-breadcrumbs {
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .request-breadcrumbs {
    margin-bottom: 60px;
  }
}

.request-main {
  flex: 1 0 auto;
  order: 1;
}

.request-main .comment-fields, .request-main .request-submit-comment {
  display: none;
}

.request-main .comment-fields.shown {
  display: block;
}

.request-main .request-submit-comment.shown {
  display: inline;
}

@media (min-width: 1024px) {
  .request-main {
    flex: 0 0 66%;
    order: 0;
    min-width: 0;
  }
}

.request-main .comment-form-controls {
  display: block;
}

.request-main .comment-ccs {
  display: block;
}

.request-main .comment-show-container {
  border-radius: 2px;
  border: 1px solid #ddd;
  color: #333;
  text-align: inherit;
  padding: 8px 25px;
  width: 100%;
}

.request-main .comment-show-container.hidden {
  display: none;
}

.request-main .form-field.comment-ccs > ul {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}

.request-main .form-field.comment-ccs > ul[data-hc-focus="true"] {
  border: 1px solid rgba(100, 32, 107, 1);
}

.request-main .form-field.comment-ccs > input[type="text"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}

.request-main .comment-ccs + textarea {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
}

.request-main .comment-ccs + textarea:focus {
  border-top: 1px solid rgba(100, 32, 107, 1);
}

.request-main input#mark_as_solved {
  display: none;
}

.request-title {
  width: 100%;
}

@media (min-width: 1024px) {
  .request-title {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
    max-width: 66%;
    padding-bottom: 20px;
  }
}

.request-sidebar {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  order: 0;
}

@media (min-width: 1024px) {
  .request-sidebar {
    background-color: #f7f7f7;
    border: 0;
    font-size: 13px;
    flex: 0 0 auto;
    padding: 0 20px;
    width: 30%;
  }
}

.request-sidebar h2 {
  font-size: 15px;
  font-weight: 600;
  position: relative;
}

@media (min-width: 1024px) {
  .request-sidebar h2 {
    display: none;
  }
}

.request-details {
  border-bottom: 1px solid #ddd;
  font-size: 0;
  margin: 0;
  padding-bottom: 20px;
}

.request-details:last-child {
  border: 0;
}

.request-details dt, .request-details dd {
  display: inline-block;
  vertical-align: top;
  font-size: 13px;
  margin: 20px 0 0 0;
}

.request-details dd {
  padding: 0 10px;
  width: 60%;
}

.request-details dd::after {
  content: "\A";
  white-space: pre;
}

.request-details dt {
  color: #333;
  width: 40%;
}

.request-details .request-collaborators {
  display: inline-block;
}

.request-attachments dt, .request-attachments dd {
  width: 100%;
}

.request-attachments dd {
  margin: 10px 0 0 0;
}

.request-form textarea {
  min-height: 120px;
}

.request-follow-up {
  padding-top: 20px;
}

.content-with-divider {
  display: flex;
  align-items: flex-start; /* Aligne le contenu en haut */
  gap: 20px; /* Espacement entre le contenu principal et la div à droite */
  flex: 1; /* Permet à ce conteneur de prendre tout l'espace disponible */
}

.content-main {
  width: 100%;
}

.right-div {
  min-height: 75vh;
  background-color: #67206B;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3Crect stroke='%2367206B' stroke-width='0.4' width='1' height='1' id='s'/%3E%3Cpattern id='a' width='3' height='3' patternUnits='userSpaceOnUse' patternTransform='rotate(45 1000 750) scale(8.4) translate(-880.95 -660.71)'%3E%3Cuse fill='%236c3070' href='%23s' y='2'/%3E%3Cuse fill='%236c3070' href='%23s' x='1' y='2'/%3E%3Cuse fill='%23713c75' href='%23s' x='2' y='2'/%3E%3Cuse fill='%23713c75' href='%23s'/%3E%3Cuse fill='%23764679' href='%23s' x='2'/%3E%3Cuse fill='%23764679' href='%23s' x='1' y='1'/%3E%3C/pattern%3E%3Cpattern id='b' width='7' height='11' patternUnits='userSpaceOnUse' patternTransform='rotate(45 1000 750) scale(8.4) translate(-880.95 -660.71)'%3E%3Cg fill='%237a4e7d'%3E%3Cuse href='%23s'/%3E%3Cuse href='%23s' y='5' /%3E%3Cuse href='%23s' x='1' y='10'/%3E%3Cuse href='%23s' x='2' y='1'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='8'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='5' y='2'/%3E%3Cuse href='%23s' x='5' y='6'/%3E%3Cuse href='%23s' x='6' y='9'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='h' width='5' height='13' patternUnits='userSpaceOnUse' patternTransform='rotate(45 1000 750) scale(8.4) translate(-880.95 -660.71)'%3E%3Cg fill='%237a4e7d'%3E%3Cuse href='%23s' y='5'/%3E%3Cuse href='%23s' y='8'/%3E%3Cuse href='%23s' x='1' y='1'/%3E%3Cuse href='%23s' x='1' y='9'/%3E%3Cuse href='%23s' x='1' y='12'/%3E%3Cuse href='%23s' x='2'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='2'/%3E%3Cuse href='%23s' x='3' y='6'/%3E%3Cuse href='%23s' x='3' y='11'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='4' y='10'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='c' width='17' height='13' patternUnits='userSpaceOnUse' patternTransform='rotate(45 1000 750) scale(8.4) translate(-880.95 -660.71)'%3E%3Cg fill='%237f5682'%3E%3Cuse href='%23s' y='11'/%3E%3Cuse href='%23s' x='2' y='9'/%3E%3Cuse href='%23s' x='5' y='12'/%3E%3Cuse href='%23s' x='9' y='4'/%3E%3Cuse href='%23s' x='12' y='1'/%3E%3Cuse href='%23s' x='16' y='6'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='d' width='19' height='17' patternUnits='userSpaceOnUse' patternTransform='rotate(45 1000 750) scale(8.4) translate(-880.95 -660.71)'%3E%3Cg fill='%2367206B'%3E%3Cuse href='%23s' y='9'/%3E%3Cuse href='%23s' x='16' y='5'/%3E%3Cuse href='%23s' x='14' y='2'/%3E%3Cuse href='%23s' x='11' y='11'/%3E%3Cuse href='%23s' x='6' y='14'/%3E%3C/g%3E%3Cg fill='%23835d86'%3E%3Cuse href='%23s' x='3' y='13'/%3E%3Cuse href='%23s' x='9' y='7'/%3E%3Cuse href='%23s' x='13' y='10'/%3E%3Cuse href='%23s' x='15' y='4'/%3E%3Cuse href='%23s' x='18' y='1'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='e' width='47' height='53' patternUnits='userSpaceOnUse' patternTransform='rotate(45 1000 750) scale(8.4) translate(-880.95 -660.71)'%3E%3Cg fill='%23FF8700'%3E%3Cuse href='%23s' x='2' y='5'/%3E%3Cuse href='%23s' x='16' y='38'/%3E%3Cuse href='%23s' x='46' y='42'/%3E%3Cuse href='%23s' x='29' y='20'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='f' width='59' height='71' patternUnits='userSpaceOnUse' patternTransform='rotate(45 1000 750) scale(8.4) translate(-880.95 -660.71)'%3E%3Cg fill='%23FF8700'%3E%3Cuse href='%23s' x='33' y='13'/%3E%3Cuse href='%23s' x='27' y='54'/%3E%3Cuse href='%23s' x='55' y='55'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='g' width='139' height='97' patternUnits='userSpaceOnUse' patternTransform='rotate(45 1000 750) scale(8.4) translate(-880.95 -660.71)'%3E%3Cg fill='%23FF8700'%3E%3Cuse href='%23s' x='11' y='8'/%3E%3Cuse href='%23s' x='51' y='13'/%3E%3Cuse href='%23s' x='17' y='73'/%3E%3Cuse href='%23s' x='99' y='57'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23b)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23h)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23c)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23d)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23e)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23f)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  /* Ajouter une couleur de fond au cas où le SVG est transparent */
	margin-left: 20px;
}

/* Pour ajuster le style de la div lorsque la taille de l'écran change */
@media (max-width: 767px) {  
  .right-div {
   	display: none;
  }
}

@media (min-width: 1024px) {
  .right-div {
    min-width: 350px; /* Ajuste la largeur pour les tablettes */
  }
}

/***** Pagination *****/
.pagination {
  margin: 20px 0;
  text-align: center;
}

.pagination-next, .pagination-prev, .pagination-first, .pagination-last {
  display: inline-block;
}

.pagination-first-link, .pagination-last-link {
  padding: 0 10px;
}

.pagination-first-text, .pagination-last-text {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.pagination-next-link {
  padding-right: 10px;
}

.pagination-next-text {
  margin-right: 10px;
}

[dir="rtl"] .pagination-next-link {
  padding-left: 10px;
}

[dir="rtl"] .pagination-next-text {
  margin-left: 10px;
}

.pagination-prev-link {
  padding-left: 10px;
}

.pagination-prev-text {
  margin-left: 10px;
}

[dir="rtl"] .pagination-prev-link {
  padding-right: 10px;
}

[dir="rtl"] .pagination-prev-text {
  margin-right: 10px;
}

/***** Metadata *****/
.meta-group {
  display: block;
}

.meta-group-opposite {
  float: right;
}

[dir="rtl"] .meta-group-opposite {
  float: left;
}

.meta-group * {
  display: inline;
}

.meta-data {
  color: #333;
  font-size: 13px;
}

.meta-data:not(:last-child)::after {
  content: "\00B7";
  margin: 0 5px;
}

/* User Profiles */
.profile-header {
  padding: 30px 0;
  background-color: #f7f7f7;
}

.profile-header .container {
  display: flex;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .profile-header .container {
    flex-wrap: nowrap;
  }
}

.profile-header .profile-info {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}

.profile-avatar {
  position: relative;
  line-height: 0;
  align-self: center;
  margin-right: 10px;
}

[dir="rtl"] .profile-avatar {
  margin-left: 10px;
  margin-right: 0;
}

.profile-avatar .user-avatar {
  width: 80px;
  height: 80px;
}

.profile-avatar .icon-agent {
  bottom: 0;
  right: 0;
}

.profile-header .basic-info {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
}

.profile-header .basic-info .name {
  margin: 0;
  line-height: 25px;
}

.profile-header .options {
  display: flex;
  flex-basis: 100%;
  margin-top: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .profile-header .options {
    flex-wrap: nowrap;
    flex-basis: auto;
    margin-top: 0;
    margin-left: 10px;
  }
  [dir="rtl"] .profile-header .options {
    margin-left: 0;
    margin-right: 10px;
  }
  .profile-header .options > :not(:last-child) {
    margin-bottom: 0;
    margin-right: 10px;
  }
  [dir="rtl"] .profile-header .options > :not(:last-child) {
    margin-left: 10px;
    margin-right: 0;
  }
}

.user-profile-actions {
  width: 100%;
  margin-bottom: 15px;
}

.profile-header .description {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  margin: 15px 0;
  flex-basis: 100%;
}

.profile-stats {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
}

.profile-stats .stat {
  display: flex;
  margin-bottom: 10px;
}

.profile-stats .stat-label {
  color: #333;
  flex: 0 0 100px;
  margin-right: 10px;
}

[dir="rtl"] .profile-stats .stat-label {
  margin-left: 10px;
  margin-right: 0;
}

.profile-stats-activity {
  border-top: solid 1px #ddd;
  margin-top: 15px;
}

@media (min-width: 768px) {
  .profile-stats-activity {
    border-top: 0;
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .profile-stats-activity .stat {
    flex-direction: column;
  }
}

.profile-stats-activity .stat:first-child {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .profile-stats-activity .stat:first-child {
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .profile-stats-activity .stat:not(:last-child) {
    margin-right: 40px;
  }
  [dir="rtl"] .profile-stats-activity .stat:not(:last-child) {
    margin-left: 40px;
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  .profile-stats-activity .stat-label {
    flex: 0 1 auto;
  }
}

.profile-stats-counters {
  border-bottom: solid 1px #ddd;
}

@media (min-width: 768px) {
  .profile-stats-counters {
    flex: 0 0 200px;
    border-bottom: 0;
    margin-left: 40px;
  }
  [dir="rtl"] .profile-stats-counters {
    margin-left: 0;
    margin-right: 40px;
  }
}

@media (min-width: 1024px) {
  .profile-stats-counters {
    flex: 0 0 270px;
    margin-left: 60px;
  }
  [dir="rtl"] .profile-stats-counters {
    margin-right: 60px;
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .profile-stats-counters .stat {
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .profile-stats-counters .stat {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .profile-stats-counters .stat:not(:last-child) {
    margin-bottom: 15px;
  }
}

@media (min-width: 768px) {
  .profile-stats-counters .stat-label {
    flex: 0 1 auto;
  }
}

@media (min-width: 1024px) {
  .profile-stats-counters .stat-label {
    flex: 0 0 100px;
  }
}

.profile-private-badge {
  flex-basis: 100%;
  border: solid 1px rgba(100, 32, 107, 1);
  border-radius: 4px;
  color: rgba(100, 32, 107, 1);
  padding: 5px 20px;
  font-size: 12px;
  text-align: center;
}

.profile-private-badge .profile-private-icon {
  margin-left: 5px;
  line-height: 15px;
}

@media (min-width: 768px) {
  .profile-private-badge {
    flex-basis: auto;
  }
}

.profile-nav {
  background-color: #f2f2f2;
  margin-bottom: 37px;
}

.profile-section {
  width: 100%;
}

@media (min-width: 1024px) {
  .profile-section {
    width: calc(100% - 330px);
  }
}

.profile-section-header {
  display: flex;
  flex-wrap: wrap;
}

.profile-section-title {
  flex-basis: 100%;
  margin-bottom: 0;
}

.profile-section-description {
  flex-basis: 100%;
  padding: 10px 0;
  color: #333;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .profile-section-description {
    flex: 1 0 50%;
    padding-bottom: 0;
  }
}

.profile-section-sorter {
  flex-basis: 100%;
  border-top: solid 1px #eee;
  font-size: 13px;
}

.profile-section-sorter .dropdown-toggle {
  padding: 10px 0;
  width: 100%;
}

.profile-section-sorter .dropdown-toggle::after {
  position: absolute;
  right: 0;
}

[dir="rtl"] .profile-section-sorter .dropdown-toggle::after {
  left: 0;
  right: initial;
}

@media (min-width: 768px) {
  .profile-section-sorter .dropdown-toggle::after {
    position: relative;
  }
}

@media (min-width: 768px) {
  .profile-section-sorter {
    flex: 0 1 auto;
    padding-top: 0;
    border-top: 0;
    margin-left: 20px;
  }
  [dir="rtl"] .profile-section-sorter {
    margin-left: 0;
    margin-right: 20px;
  }
}

.profile-badges-items {
  margin-top: 25px;
}

.profile-badges-item {
  border-top: 1px solid #ddd;
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: flex-start;
  padding: 27px 12px;
}

.profile-badges-item > div {
  padding-right: 12px;
  padding-left: 12px;
}

.profile-badges-item-image {
  height: 40px;
  width: 40px;
  margin-right: 12px;
}

.profile-badges-item-image img {
  max-height: 40px;
}

[dir="rtl"] .profile-badges-item-image {
  margin-left: 12px;
  margin-right: 0;
}

.profile-badges-item-title, .profile-badges-item-metadata-title {
  font-size: 15px;
  margin-bottom: 10px;
}

.profile-badges-item-title {
  font-weight: 600;
}

.profile-badges-item-description, .profile-badges-item-metadata-description {
  color: #333;
  font-size: 13px;
  margin: 0;
}

.profile-badges-item-metadata {
  margin-left: auto;
  text-align: right;
}

[dir="rtl"] .profile-badges-item-metadata {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.profile-contribution {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  padding: 20px 0;
  position: relative;
}

.profile-contribution-header {
  margin-bottom: 5px;
}

.profile-contribution-title {
  margin: 0 0 5px 0;
  display: inline;
  line-height: 21px;
  font-size: 15px;
  vertical-align: middle;
}

.profile-contribution-body {
  margin: 10px 0;
}

.profile-contribution-list > .profile-contribution {
  border-top: 1px solid #eee;
}

@media (min-width: 768px) {
  .profile-contribution-list > .profile-contribution {
    padding-left: 30px;
  }
  [dir="rtl"] .profile-contribution-list > .profile-contribution {
    padding-right: 30px;
    padding-left: 0;
  }
}

.profile-contribution-list > .profile-contribution:last-child {
  border-bottom: 1px solid #eee;
}

.profile-contribution-icon {
  left: 0;
  position: absolute;
  color: #ccc;
  line-height: 25px;
}

[dir="rtl"] .profile-contribution-icon {
  right: 0;
}

.profile-contribution-icon svg {
  vertical-align: middle;
}

.profile-contribution-list .profile-contribution-header {
  margin-left: 30px;
}

[dir="rtl"] .profile-contribution-list .profile-contribution-header {
  padding-right: 30px;
  padding-left: 0;
}

@media (min-width: 768px) {
  .profile-contribution-list .profile-contribution-header {
    margin-left: 0;
  }
  [dir="rtl"] .profile-contribution-list .profile-contribution-header {
    padding-right: 0;
  }
}

.profile-comments .profile-contribution-breadcrumbs {
  margin-left: 30px;
}

[dir="rtl"] .profile-comments .profile-contribution-breadcrumbs {
  padding-right: 30px;
  padding-left: 0;
}

@media (min-width: 768px) {
  .profile-comments .profile-contribution-breadcrumbs {
    margin-left: 0;
  }
  [dir="rtl"] .profile-comments .profile-contribution-breadcrumbs {
    padding-right: 0;
  }
}

.profile-section .no-activity,
.profile-section .private-activity {
  display: block;
  margin-top: 40px;
  color: #999;
}

.private-activity-icon {
  margin-right: 10px;
}

[dir="rtl"] .private-activity-icon {
  margin-right: 0;
  margin-left: 10px;
}

.profile-activity-list {
  margin-top: 25px;
}

.profile-activity {
  position: relative;
  padding-bottom: 30px;
}

@media (min-width: 768px) {
  .profile-activity {
    padding-left: 20px;
  }
  [dir="rtl"] .profile-activity {
    padding-right: 20px;
    padding-left: 0;
  }
}

@media (min-width: 768px) {
  .profile-activity:not(:last-child) {
    border-left: 1px solid #ddd;
  }
  [dir="rtl"] .profile-activity:not(:last-child) {
    border-left: 0;
    border-right: 1px solid #ddd;
  }
}

.profile-activity-header {
  display: flex;
  align-items: center;
  margin-left: 35px;
}

[dir="rtl"] .profile-activity-header {
  margin-left: 0;
  margin-right: 35px;
}

@media (min-width: 768px) {
  .profile-activity-header {
    margin-left: 0;
  }
  [dir="rtl"] .profile-activity-header {
    margin-right: 0;
  }
}

.profile-activity-header .user-avatar {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  min-width: 40px;
  align-self: flex-start;
}

[dir="rtl"] .profile-activity-header .user-avatar {
  margin-left: 10px;
  margin-right: 0;
}

.profile-activity-description {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.profile-activity-description span:first-child {
  font-weight: 600;
  display: inline;
}

.profile-activity-contribution {
  padding: 20px;
  margin-top: 10px;
  border-radius: 8px;
  background-color: #f7f7f7;
}

@media (min-width: 768px) {
  .profile-activity-contribution {
    margin-top: 0;
    margin-left: 50px;
  }
  [dir="rtl"] .profile-activity-contribution {
    margin-left: 0;
    margin-right: 50px;
  }
}

.profile-activity-icon {
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-color: #FFFFFF;
  background-position: 50% 50%;
  text-align: center;
  color: #ccc;
}

[dir="rtl"] .profile-activity-icon {
  right: 0;
}

@media (min-width: 768px) {
  .profile-activity-icon {
    left: -14px;
  }
  [dir="rtl"] .profile-activity-icon {
    right: -14px;
  }
}

.profile-activity-icon svg {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  margin: auto;
}

/***** Search results *****/
.search-results {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .search-results {
    flex-direction: row;
  }
}

.search-results-column {
  flex: 1;
}

@media (min-width: 1024px) {
  .search-results-column {
    flex: 0 0 75%;
  }
}

.search-results-sidebar {
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  margin-bottom: 20px;
  padding: 0;
}

@media (min-width: 1024px) {
  .search-results-sidebar {
    border: 0;
    flex: 0 0 20%;
    height: auto;
  }
}

.search-results-sidebar .sidenav-item:hover, .search-results-sidebar .sidenav-item.current {
  background-color: #e9ebed;
  color: inherit;
  text-decoration: none;
}

.search-results-sidebar .sidenav-subitem {
  unicode-bidi: embed;
}

.search-results-sidebar .collapsible-sidebar {
  margin-bottom: 30px;
}

.search-results-sidebar .collapsible-sidebar[aria-expanded="false"] .multibrand-filter-list {
  display: none;
}

@media (min-width: 1024px) {
  .search-results-sidebar .collapsible-sidebar[aria-expanded="false"] .multibrand-filter-list {
    display: block;
  }
}

.search-results-sidebar .multibrand-filter-list--collapsed li:nth-child(1n + 6) {
  display: none;
}

.search-results-sidebar .multibrand-filter-list .doc-count {
  color: #666;
}

.search-results-sidebar .see-all-filters {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  padding: 10px;
  color: rgba(100, 32, 107, 1);
}

.search-results-sidebar .see-all-filters[aria-hidden="true"] {
  display: none;
}

.search-results-sidebar .see-all-filters:hover {
  text-decoration: underline;
}

.search-results-sidebar .see-all-filters::after {
  content: ' \2304';
  font-weight: bold;
}

.search-results-subheading {
  font-size: 18px;
  font-weight: 600;
}

.search-results-list {
  margin-bottom: 25px;
}

.search-results-list > li {
  padding: 20px 0;
}

.search-results-list > li:first-child {
  border-top: 1px solid #ddd;
}

.search-results-list > li h2 {
  margin-bottom: 0;
}

.search-results .meta-group {
  display: block;
  align-items: center;
  clear: both;
  color: #666;
}

@media (min-width: 1024px) {
  .search-results .meta-group {
    display: flex;
  }
}

.search-results .meta-group > li {
  display: block;
}

@media (min-width: 1024px) {
  .search-results .meta-group > li {
    display: inline;
  }
}

@media (min-width: 1024px) {
  .search-results .meta-group li:first-child {
    flex: 1;
  }
}

.search-results .meta-group .meta-data {
  color: inherit;
}

[dir="ltr"] .search-results .meta-group .meta-data:not(:last-child) {
  margin-right: 20px;
}

[dir="rtl"] .search-results .meta-group .meta-data:not(:last-child) {
  margin-left: 20px;
}

.search-results .meta-group .meta-data::after {
  content: none;
}

.search-results-description {
  margin-top: 10px;
  word-break: break-word;
}

.search-result-title {
  font-size: 16px;
  display: inline-block;
  margin-top: 0 !important;
}

[dir="ltr"] .search-result-icons {
  float: right;
}

[dir="rtl"] .search-result-icons {
  float: left;
}

.search-result-votes, .search-result-meta-count {
  color: #333;
  display: inline-block;
  font-size: 13px;
  padding: 4px 5px;
  position: relative;
}

.search-result-votes-icon, .search-result-meta-count-icon {
  color: rgba(100, 32, 107, 1);
  vertical-align: middle;
  width: 13px;
  height: 13px;
}

[dir="ltr"] .search-result-votes, [dir="ltr"] .search-result-meta-count {
  margin-left: 5px;
}

[dir="ltr"] .search-result-votes::before, [dir="ltr"] .search-result-meta-count::before {
  margin-right: 3px;
}

[dir="rtl"] .search-result-votes, [dir="rtl"] .search-result-meta-count {
  margin-right: 5px;
}

[dir="rtl"] .search-result-votes::before, [dir="rtl"] .search-result-meta-count::before {
  margin-left: 3px;
}

.search-result .meta-group {
  align-items: center;
}

.search-result-breadcrumbs {
  margin: 0;
}

@media (min-width: 1024px) {
  .search-result-breadcrumbs {
    display: table-row;
  }
}

@media (min-width: 1024px) {
  .search-result-breadcrumbs li {
    display: table-cell;
  }
}

.search-result-breadcrumbs li, .search-result-breadcrumbs li a, .search-result-breadcrumbs li a:visited {
  color: inherit;
}

/* By default use bold instead of italic to highlight */
.search-results-description em {
  font-style: normal;
  font-weight: bold;
}

/* Add a yellow background for Chinese */
html[lang|="zh"] .search-results-description em {
  font-style: normal;
  background: yellow;
}

/***** Notifications *****/
.notification {
  border: 1px solid;
  display: table;
  font-family: sans-serif;
  font-size: 12px;
  padding: 13px 15px;
  transition: height .2s;
  width: 100%;
  color: #555;
}

.notification a {
  color: #158ec2;
}

.notification-inner {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 980px;
}

.notification-icon, .notification-text, .notification-dismiss {
  display: table-cell;
  vertical-align: middle;
}

.notification-text {
  padding: 0 15px;
  width: 100%;
}

.notification + .notification {
  margin-bottom: -1px;
  position: relative;
  top: -1px;
}

/* Error */
.notification-error {
  background: #ffeded;
  border-color: #f7cbcb;
}

.notification-error .notification-icon::before, .notification-error .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23555555'%3E%3Ccircle cx='5.5' cy='6.5' r='5'/%3E%3Cpath stroke-linecap='round' d='M5.5 3.5v3'/%3E%3C/g%3E%3Ccircle cx='5.5' cy='9' r='1' fill='%23555555'/%3E%3C/svg%3E");
}

/* Notice */
.notification-notice {
  background: #dbf3ff;
  border-color: #b5e0f5;
}

.notification-notice .notification-icon::before, .notification-notice .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23555555'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.5 6l2 2L9 4.5'/%3E%3Ccircle cx='6' cy='6' r='5.5'/%3E%3C/g%3E%3C/svg%3E");
}

/* Alert / Lock */
.notification-alert {
  color: #ad5e18;
  background: #fff8ed;
  border-color: #fcdba9;
}

.notification-alert .notification-icon::before, .notification-alert .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23ad5e18' stroke-linecap='round' d='M5.06 1.27l-4.5 8.5c-.18.33.06.73.44.73h9c.38 0 .62-.4.44-.73l-4.5-8.5a.494.494 0 00-.88 0zM5.5 4v2'/%3E%3Ccircle cx='5.5' cy='8' r='.8' fill='%23ad5e18'/%3E%3C/svg%3E");
}

.notification-icon::before, .notification-inline.notification-error::before {
  background-size: cover;
  content: "";
  display: inline-block;
  height: 14px;
  width: 14px;
  vertical-align: middle;
}

/* Dismiss button */
.notification-dismiss, a.notification-dismiss {
  color: #555;
  cursor: pointer;
  opacity: .6;
  transition: opacity 100ms ease;
  text-decoration: none !important;
}

.notification-dismiss:hover {
  opacity: 1;
}

/* Inline notifications */
.notification-inline {
  border-radius: 4px;
  line-height: 14px;
  margin-top: 5px;
  padding: 5px;
  position: relative;
  text-align: left;
  vertical-align: middle;
}

[dir="rtl"] .notification-inline {
  text-align: right;
}

.notification-inline[aria-hidden="true"] {
  display: none;
}

.notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23e35b66'%3E%3Ccircle cx='5.5' cy='6.5' r='5'/%3E%3Cpath stroke-linecap='round' d='M5.5 3.5v3'/%3E%3C/g%3E%3Ccircle cx='5.5' cy='9' r='1' fill='%23e35b66'/%3E%3C/svg%3E");
  margin: -2px 5px 0 0;
}

[dir="rtl"] .notification-inline.notification-error::before {
  margin: 0 0 0 5px;
}

.notification-inline.notification-error {
  background-color: #fff0f1;
  border: 1px solid #e35b66;
  color: #cc3340;
}

.notification-inline.notification-large {
  padding: 13px 15px;
  margin-bottom: 25px;
}

.notification-left-aligned {
  text-align: left;
  padding-left: 0;
}

html[dir="rtl"] .notification-left-aligned {
  text-align: right;
  padding-left: auto;
  padding-right: 0;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
  background: none;
  border: 0;
  display: inline-block;
  padding: 0;
  text-align: initial;
  vertical-align: middle;
}

.dropdown-toggle:hover {
  text-decoration: none;
}

.dropdown-toggle > * {
  display: inline-block;
}

.dropdown-menu {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.15);
  display: none;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  top: 42px;
  left: 0;
  min-width: 170px;
  position: absolute;
  text-align: left;
  z-index: 1000;
}

@media (max-width: 768px) {
  .user-info {
    position: relative;
  }

  .user-info .dropdown-menu {
    right: -10px;
    left: auto;
  }  
  
  .dropdown-menu {
    left: -16px;
  }
}

@media (max-width: 1024px) {
    .dropdown-menu {
    left: -25px;
  }
}

@media (min-width: 1024px) {
    .dropdown-menu {
    left: -20px;
  }
}

[dir="rtl"] .dropdown-menu {
  text-align: right;
}

.dropdown-menu[aria-expanded="true"] {
  display: block;
}

.dropdown-menu [role="separator"] {
  border-bottom: 1px solid #d8d8d8;
  color: #969696;
  display: block;
  font-weight: normal;
  font-size: 15px;
  padding: 5px 0;
  margin: 5px 20px 10px 20px;
}

.dropdown-menu [role="menuitem"] {
  color: rgba(100, 32, 107, 1);
  cursor: pointer;
  display: block;
  padding: 20px;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  text-align: start;
  line-height: inherit;
}

[dir="rtl"] .dropdown-menu [role="menuitem"] {
  padding: 7px 20px 7px 40px;
}

.dropdown-menu [role="menuitem"]:hover, .dropdown-menu [role="menuitem"]:focus {
  background: #f3f3f3;
  text-decoration: none;
}

.dropdown-menu [role="menuitem"][aria-selected="true"] {
  cursor: default;
}

.dropdown-menu [role="menuitem"][aria-selected="true"]::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M1 7l3 3 7-7'%3E%3C/path%3E%3C/svg%3E");
  display: inline-block;
  height: 12px;
  margin-left: 10px;
  width: 12px;
}

[dir="rtl"] .dropdown-menu [role="menuitem"][aria-selected="true"]::after {
  margin-left: 0;
  margin-right: 10px;
  float: left;
}

.dropdown-menu [role="menuitem"][hidden], .dropdown-menu [role="menuitem"][aria-hidden="true"] {
  display: none !important;
}

.dropdown-menu-end {
  left: -20px;
  right: 0;
}

.dropdown-menu-top {
  bottom: 100%;
  margin-bottom: 1px;
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
  text-align: right;
}

[dir="rtl"] .dropdown-menu-end {
  left: 0;
  right: auto;
}

.dropdown-chevron-icon {
  vertical-align: middle;
}

/* ============================
   TOC verticale du sommaire
   ============================ */

.sticky-nav {
  position: relative;
}

.toc-container {
  position: sticky;
  top: 60px;
  z-index: 1000;
}

.toc-container .toc {
  max-height: 80vh;
  overflow-y: auto;
  margin-top: 1rem;
  padding: 0;
}

.toc-container .toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-container .toc li {
  margin: 0;
  padding: 0;
}

.toc-item.toc-level-h2 {
  border-top: 1px solid #DAE1E7;
  background-color: #FFFFFF;
}

.toc-item.toc-level-h2 .toggle-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #FFFFFF;
  border: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
  color: #333333;
  transition: background-color 0.2s ease;
}

.toc-item.toc-level-h2 .toggle-button:hover {
  background-color: #f3e5f5;  /* bleu très pâle */
}

.toc-item.toc-level-h2.scroll-active .toggle-button {
  border-top: 2px solid #A032A6;
  color: rgba(100, 32, 107, 1);
}

.toc-item.toc-level-h2 .toggle-button.open {
  background-color: #FFFFFF;
}

.toc-item.toc-level-h2 .toc-header-text {
  flex-grow: 1;
  text-align: left;
}

.toc-main-toggle .chevron-main {
  display: none;
}

.toc-item.toc-level-h2 .chevron {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  transition: transform 0.2s ease, color 0.2s ease;
  color: #000000;
}

.toc-item.toc-level-h2 .toggle-button.open .chevron {
  transform: rotate(90deg);
  color: rgba(100, 32, 107, 1);
}

.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;      
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.submenu .toc-item.toc-level-h3 a,
.submenu .toc-item.toc-level-h4 a {
  display: block;
  padding: 0.4rem 1rem;
  color: #333333;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.submenu .toc-item.toc-level-h4 a {
  padding-left: 2rem;
}

.submenu .toc-item.toc-level-h3 a:hover,
.submenu .toc-item.toc-level-h4 a:hover {
  background-color: #F0F0F0;
}

.submenu .toc-item.toc-level-h3 a.active {
  background-color: #f3e5f5;
  border-left-color: rgba(100, 32, 107, 1);
  color: rgba(100, 32, 107, 1);
}

.submenu .toc-item.toc-level-h4 a.active {
  background-color: #F0F0F0;
}

@media (max-width: 1024px) {
  .article-sidebar-right {
    width: 100%;
    max-width: 100%;
    float: none;
    margin: 1rem 0;
  }

  .toc-container {
    position: static;           /* plus de sticky sur mobile/tablette */
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  /* Bouton principal "Table des Matières" */
  .toc-main-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 0;
    border: none; 
    background-color: #FFFFFF;
    cursor: pointer;
    font-size: 1rem;
  }

  /* Chevron du bouton principal */
  .toc-main-toggle .chevron-main {
    font-size: 1.2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
    color: #000000;
	}

  .toc-main-toggle.open .chevron-main {
    transform: rotate(90deg);
    color: rgba(100, 32, 107, 1);
	}

  /* La TOC est pliée par défaut sur mobile + tablette */
  .toc-container .toc {
    display: none;
    max-height: 60vh;
    overflow-y: auto;
    margin-top: 0.75rem;
    padding: 0;
  }

  /* Quand on ouvre, on affiche la nav */
  .toc-container.toc-open .toc {
    display: block;
  }

  /* Option : affiner un peu la taille des lignes dans la TOC sur petit écran */
  .toc-item.toc-level-h2 .toggle-button {
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
  }

  .submenu .toc-item a {
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
  }
}

#progress-bar-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #f3f3f3;
    z-index: 9999;
}

#progress-bar {
    width: 0;
    height: 100%;
    background-color: rgba(100, 32, 107, 1);
    transition: width 0.25s;
}

/***** New-badge *****/
.title-with-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.new-badge {
  background-color: #70ad47;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 12px;
  margin-left: 10px;
  display: inline-block;
  white-space: nowrap;
}


/***** Scroll to top button *****/
#scroll-to-top {
    position: fixed;
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    color: rgba(100, 32, 107, 1);
    border: none;
    border-radius: 20%;
  	border: 2px solid rgba(100, 32, 107, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

#scroll-to-top svg {
    width: 24px;
    height: 24px;
}

#scroll-to-top.show {
    opacity: 1;
}

#scroll-to-top:hover {
    background-color: rgba(100, 32, 107, 1);
    color: white;
}

#scroll-to-top:focus {
    background-color: #ffffff !important;
    color: rgba(100, 32, 107, 1) !important;
    outline: none;
}


/***** Custom overrides or new components *****/

/* Ton label custom */
.custom-downloadable-label {
  display: inline-block;
  padding: 4px 10px;
  background-color: #70AD47;
  color: white;
  border-radius: 20px;

}

/***** Dialog modal *****/
/*  Styles du modal    */
.modal-box,
.modal-header,
.modal-body,
.modal-footer {
  box-sizing: border-box;
}

/* 2) Forcer la largeur fixe de la boîte en incluant 
      les paddings dans cette largeur */
.modal-box {
  width: 500px;       /* largeur fixe à 500px */
  max-width: 90%;     /* ou ajustez selon besoin */
  /* Aucun souci : le padding interne du header/body/footer sera inclus dans ces 500px */
  margin: 0 auto;     /* centre la boîte horizontalement */
}

/* 1) L’arrière-plan semi-transparent */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* gris foncé semi-transparent */
  display: none; /* caché par défaut */
  align-items: center;
  justify-content: center;
  z-index: 9999; /* suffisamment au-dessus de tout */
}

/* Quand on veut afficher le modal, ajouter la classe .show */
.modal-overlay.show {
  display: flex;
}

/* 2) Le conteneur de la boîte, centré */
.modal-box {
  background-color: #ffffff; /* blanc */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 500px;
  overflow: hidden;
  animation: modal-fade-in 0.25s ease-out;
}

/* Animation d’apparition */
@keyframes modal-fade-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3) Header du modal (titre + croix) */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
	border-bottom: 1px solid #e0e0e0;
  padding: 1rem 1.25rem;
}

.modal-header .modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

/* 4) Corps du modal (texte fixe) */
.modal-body {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  color: #5E5033; /* ou #333333 selon votre CSS */
  background-color: #FFF4E5; 
  font-size: 1rem;
  line-height: 1.6;
}

.modal-icon {
  font-size: 2rem !important;
  color: #d18b00;
  margin-top: 0.15rem;      /* ajustez jusqu’à obtenir l’alignement parfait */
  /* align-self: center; */ /* utilisez ceci à la place de margin-top si vous center align */
}

/* 5) le modal footer */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;      /* espace de ~12px entre les boutons */
 	padding: 0.75rem 1.25rem;
  border-top: 1px solid #e0e0e0;
}

.modal-ok {
  background-color: rgba(100, 32, 107, 1);   /* violet Altior */
  color: rgba(255, 255, 255, 1);          /* blanc */
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;              /* 8px haut/bas, 16px gauche/droite */
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.modal-ok:hover {
  /* On n'altère plus la couleur de fond, mais on ajoute une ombre légère */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive (écrans très petits) */
@media (max-width: 480px) {
  .modal-box {
    width: 95%;
  }
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 0.75rem;
  }
  .modal-title {
    font-size: 1.1rem;
  }
  .modal-close {
    font-size: 1.25rem;
  }
}