.path-taxonomy:has(.view-taxonomy-term .view-content .views-row)
  .main-content__container {
  background-color: var(--light-grey);
}
.path-taxonomy .view-taxonomy-term .view-content {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.path-taxonomy .view-taxonomy-term .view-content > .views-row {
  padding-block: 1.25rem;
  border-block-start: 2px solid var(--medium-blue);
}
.path-taxonomy .view-taxonomy-term .view-content > .views-row h3 {
  font-size: 1.35rem;
  line-height: 1;
}
.path-taxonomy .view-taxonomy-term .view-content > .views-row h3 a {
  --underline-img: none;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--medium-blue);
  font-weight: 600;
}
.path-taxonomy .view-taxonomy-term .view-content > .views-row .links a {
  --underline-img: none;
  display: block;
  width: fit-content;
  border-radius: 2rem;
  margin-block: 1rem 0.5rem;
  padding: 0.5rem 1.25rem;
  background-color: white;
  color: var(--dark-blue);
  font-weight: 600;
}
.path-taxonomy .view-taxonomy-term .view-content > .views-row .links a:hover {
  background-color: var(--medium-blue);
  color: white;
}
.view-display-id-page_partenaire {
  max-width: 1280px;
  margin-block: 2rem;
  margin-inline: auto;
  width: 100%;
}

.taxonomy-term--type-partenaire .group-left {
  width: calc(45% - 3rem);
  align-content: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.taxonomy-term--type-partenaire .group-left .field.fieldname--field-visuel.field__item{
  border: 1px solid var(--medium-grey);
  display: inline-block;
  padding: 2rem;
}
.taxonomy-term--type-partenaire .group-left .field.fieldname--field-visuel.field__item img{
max-height:150px;
width:auto;
}

.taxonomy-term--type-partenaire .group-right {
  width: 55%;
}

.partenaire-actu-agenda {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-block: 1.5rem 3rem;
  max-width: 1280px;
  margin-inline: auto;
  border-radius: 1.5rem;
  padding: 3rem;
  background-color: var(--light-grey);
}

.partenaire-actu-agenda > div {
  flex: 50%;
  min-width: 300px;
}
.partenaire-actu-agenda
  .view-actu
  .views-row:has(.views-field-title a:hover, .views-field-field-visuel:hover) {
  border-color: var(--lighter-grey);
  background-color: var(--lighter-grey);
}
.taxonomy-term--type-partenaire
  .view-formations.view-display-id-eva_partenaire_formations_dl {
  margin-block-start: 2rem;
}
.taxonomy-term--type-partenaire
  .view-formations.view-display-id-eva_partenaire_formations_dl
  header
  h3 {
  font-size: 1.5rem;
  line-height: 1;
  /*color: var(--medium-blue); Manu modif */
  margin-block-end: 1rem;
}
.taxonomy-term--type-partenaire
  .view-formations.view-display-id-eva_partenaire_formations_dl
  .item-list
  ul
  > li
  .views-field-view-node
  a {
  background-color: var(--medium-grey);
}
.taxonomy-term--type-partenaire .fieldname--description {
  margin-block-end: 2rem;
}

.taxonomy-term--type-partenaire .fieldname--field-type-partenaire {
  width: fit-content;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  background-color: var(--light-grey);
  margin-block-end: 1.5rem;
}
.taxonomy-term--type-partenaire .fieldname--taxonomy-term-title h2 {
  color: var(--medium-blue);
  margin-block-end: 1.5rem;
}

.taxonomy-term--type-partenaire .fieldname--field-site-web a {
  --underline-img: none;
  border-radius: 2rem;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  background-color: var(--medium-blue);
  color: white;
  font-weight: 600;
  margin-block: 1.5rem;
}

.taxonomy-term--type-partenaire .fieldname--field-site-web a::after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url("/themes/custom/cnam/img/icons/chevron-white.svg") no-repeat;
  background-size: contain;
  background-position: center;
  margin-inline-start: 0.25rem;
  rotate: -90deg;
  transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.taxonomy-term--type-partenaire .fieldname--field-site-web a:hover {
  background-color: var(--red);
}

@media (max-width: 760px) {
.taxonomy-term--type-ville{
    display: flex;
    flex-direction: column;
}
.taxonomy-term--type-partenaire{
    display: flex;
    flex-direction: column-reverse;
}
.taxonomy-term--type-partenaire .group-right {
    width: 100%;
    padding-inline: 2rem;
}
.taxonomy-term--type-partenaire .group-left {width: 100%;}
}
