/* =============================
   VARIABLES
============================= */
/* =============================
   MIXINS
============================= */
/* =============================
   BASE COMMUNE
============================= */
.is-hidden,
[hidden],
.press-item[hidden],
.finance-item[hidden] {
  display: none !important;
}
.ppep-tabs {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.ppep-tabs .ppep-tab[aria-selected="true"] {
  font-weight: 600;
  text-decoration: underline;
}
.year-group {
  margin-bottom: 1rem;
}
.pp-section {
  background: white;
  -webkit-border-radius: 10px 10px 10px 10px;
          border-radius: 10px 10px 10px 10px;
  padding: 30px;
  -webkit-box-shadow: 0px 0px 19.1px 0px rgba(227, 227, 227, 0.69);
          box-shadow: 0px 0px 19.1px 0px rgba(227, 227, 227, 0.69);
  margin-bottom: 60px;
}
.center-text {
  text-align: center;
}
/* =============================
   STRUCTURE GLOBALE
============================= */
.press-hub {
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1rem;
  max-width: 1200px;
  font-family: "Open Sans", var(--wp--preset--font-family--sans, sans-serif);
  color: #101720;
}
.press-hub .section-title {
  font-family: "General Sans", var(--wp--preset--font-family--sans, sans-serif);
  margin-bottom: 1.5rem;
  color: #101720;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .press-hub .section-title {
    font-size: 1.5rem;
  }
}
/* =============================
   LISTES (PRESS + FINANCE)
============================= */
.press-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Open Sans", var(--wp--preset--font-family--sans, sans-serif);
}
.press-list li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: baseline;
  -webkit-align-items: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  line-height: 1.5;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
  .press-list li {
    font-size: 1.05rem;
  }
}
.press-list li a {
  color: #2c9eb5;
  text-decoration: none;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.press-list li a:hover {
  color: #004e65;
  text-decoration: underline;
  font-size: 0.9rem;
}
@media screen and (min-width: 768px) {
  .press-list li a:hover {
    font-size: 1.05rem;
  }
}
.press-list li time {
  color: #101720;
  font-size: 0.9em;
  white-space: nowrap;
  text-align: right;
  margin-left: 1rem;
}
.press-list li a {
  width: 100%;
}
@media screen and (min-width: 992px) {
  .press-list li a {
    width: 70%;
  }
}
.press-list li time {
  width: -webkit-calc(50% - 1rem);
  width: calc(50% - 1rem);
}
@media screen and (min-width: 992px) {
  .press-list li time {
    width: -webkit-calc(15% - 1rem);
    width: calc(15% - 1rem);
  }
}
.press-list li button,
.press-list li .false-btn {
  text-align: left;
  width: 50%;
}
@media screen and (min-width: 992px) {
  .press-list li button,
  .press-list li .false-btn {
    text-align: right;
    width: 15%;
  }
}
.press-list li .press-attachments {
  width: 100%;
}
@media screen and (min-width: 992px) {
  .press-list li .press-attachments {
    width: 100%;
  }
}
.finance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Open Sans", var(--wp--preset--font-family--sans, sans-serif);
  margin-top: 1rem;
}
.finance-list li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: baseline;
  -webkit-align-items: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  line-height: 1.5;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
  .finance-list li {
    font-size: 1.05rem;
  }
}
.finance-list li a {
  color: #2c9eb5;
  text-decoration: none;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.finance-list li a:hover {
  color: #004e65;
  text-decoration: underline;
  font-size: 0.9rem;
}
@media screen and (min-width: 768px) {
  .finance-list li a:hover {
    font-size: 1.05rem;
  }
}
.finance-list li time {
  color: #101720;
  font-size: 0.9em;
  white-space: nowrap;
  text-align: right;
  margin-left: 1rem;
}
.finance-list li a {
  width: 100%;
}
@media screen and (min-width: 992px) {
  .finance-list li a {
    width: 70%;
  }
}
.finance-list li time {
  width: -webkit-calc(50% - 1rem);
  width: calc(50% - 1rem);
}
@media screen and (min-width: 992px) {
  .finance-list li time {
    width: -webkit-calc(15% - 1rem);
    width: calc(15% - 1rem);
  }
}
.finance-list li button,
.finance-list li .false-btn {
  text-align: left;
  width: 50%;
}
@media screen and (min-width: 992px) {
  .finance-list li button,
  .finance-list li .false-btn {
    text-align: right;
    width: 15%;
  }
}
.finance-list li .press-attachments {
  width: 100%;
}
@media screen and (min-width: 992px) {
  .finance-list li .press-attachments {
    width: 100%;
  }
}
.finance-list .year-group {
  margin-bottom: 2rem;
}
.finance-list .year-title {
  font-family: "General Sans", var(--wp--preset--font-family--sans, sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #101720;
  margin-bottom: 0.75rem;
}
/* =============================
   ONGLET FINANCE (TABS)
============================= */
.finance-tabs {
  margin-top: 2rem;
}
.finance-tabs .finance-items {
  padding-left: 0;
}
.finance-tabs .tab-nav {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  border-bottom: 2px solid #e6eef2;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.finance-tabs .tab-nav li {
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  color: #333;
  font-family: "General Sans", var(--wp--preset--font-family--sans, sans-serif);
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.finance-tabs .tab-nav li.active {
  color: #2c9eb5;
  border-color: #2c9eb5;
}
.finance-tabs .tab-nav li:hover:not(.active) {
  color: #2c9eb5;
  background: rgba(44, 158, 181, 0.05);
}
.finance-tabs .tab-pane {
  display: none;
  -webkit-animation: fadeIn 0.3s ease;
       -o-animation: fadeIn 0.3s ease;
          animation: fadeIn 0.3s ease;
}
.finance-tabs .tab-pane.active {
  display: block;
}
/* =============================
   BOUTON "AFFICHER PLUS"
============================= */
.js-more {
  display: inline-block;
  background: #2c9eb5;
  color: white;
  font-family: "General Sans", var(--wp--preset--font-family--sans, sans-serif);
  font-weight: 600;
  border: none;
  padding: 0.75rem 1.5rem;
  -webkit-border-radius: 8px;
          border-radius: 8px;
  cursor: pointer;
  margin-top: 2rem;
  text-wrap: auto;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.js-more:hover {
  background: #004e65;
}
/* =============================
   SECTION À PROPOS
============================= */
.about-section {
  background: #f9fafb;
  -webkit-border-radius: 8px;
          border-radius: 8px;
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
  font-family: "Open Sans", var(--wp--preset--font-family--sans, sans-serif);
}
.about-section strong {
  color: #2c9eb5;
  font-family: "General Sans", var(--wp--preset--font-family--sans, sans-serif);
}
/* =============================
   RESPONSIVE
============================= */
@media (max-width: 992px) {
  .finance-tabs .tab-nav {
    display: block;
    border: none;
  }
  .finance-tabs .tab-nav li {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e6eef2;
    margin: 0.25rem;
    -webkit-border-radius: 6px;
            border-radius: 6px;
  }
  .finance-tabs .tab-nav li.active {
    background: #2c9eb5;
    color: #fff;
    border-color: #2c9eb5;
  }
}
/* =============================
   ANIMATIONS
============================= */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(5px);
            transform: translateY(5px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-o-keyframes fadeIn {
  from {
    opacity: 0;
    -o-transform: translateY(5px);
       transform: translateY(5px);
  }
  to {
    opacity: 1;
    -o-transform: translateY(0);
       transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(5px);
         -o-transform: translateY(5px);
            transform: translateY(5px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
         -o-transform: translateY(0);
            transform: translateY(0);
  }
}
.attachments-toggle {
  display: inline-block;
  background: none;
  border: none;
  color: black;
  font-weight: 500 !important;
  cursor: pointer;
  -webkit-transition: color 0.2s ease;
  -o-transition: color 0.2s ease;
  transition: color 0.2s ease;
  font-size: 0.9rem;
  padding: 0;
}
.attachments-toggle:hover,
.attachments-toggle:focus {
  color: #2c9eb5;
  background-color: white;
  text-decoration: underline;
}
.press-attachments {
  background: rgba(44, 158, 181, 0.1);
  list-style: none;
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 0;
  border: 1px solid rgba(44, 158, 181, 0.2);
}
.press-attachments li {
  padding: 0.5rem 1rem;
  border-bottom-color: rgba(44, 158, 181, 0.2);
}
@media screen and (min-width: 992px) {
  .press-attachments li {
    -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
  }
}
.press-attachments li a {
  color: #101720;
  text-decoration: none;
}
.press-attachments li a span {
  color: #2c9eb5;
}
.press-attachments li a:hover {
  text-decoration: underline;
}
.press-attachments li time.finance-date {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.9em;
  width: 100%;
}
.ppep-about,
.about-section {
  margin-top: 90px;
}
.ppep-about p:last-of-type,
.about-section p:last-of-type {
  margin-bottom: 0;
}
.ppep-ag,
.ppep-attachments,
.about-section,
.ppep-about {
  background: rgba(44, 158, 181, 0.1);
  border: 1px solid rgba(44, 158, 181, 0.2);
  padding: 30px;
  margin-bottom: 30px;
}
.ppep-ag strong,
.ppep-attachments strong,
.about-section strong,
.ppep-about strong {
  color: #2c9eb5;
}
.ppep-ag > p {
  margin-bottom: 0 !important;
}
.ppep-attachments ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
.ppep-attachments ul span {
  color: #2c9eb5;
}
.ppep-attachments ul li {
  padding: 0.3rem 0;
}
.ppep-attachments ul a:hover {
  color: #2c9eb5;
}
.ppep-single h1 {
  font-size: 2rem !important;
  font-weight: 600 !important;
}
@media screen and (max-width: 767px) {
  .ppep-single h1 {
    font-size: 2rem !important;
  }
}
.ppep-single h2,
.ppep-single h3 {
  font-size: 1.6rem !important;
  font-weight: 500 !important;
}
@media screen and (max-width: 767px) {
  .ppep-single h2,
  .ppep-single h3 {
    font-size: 1.6rem !important;
  }
}
.ppep-single main {
  gap: var(--row-gap) var(--column-gap);
  height: 100%;
  margin: 60px auto;
  padding: 0 15px !important;
  max-width: min(100%, var(--container-max-width, 1140px));
  -webkit-padding-end: 0;
     -moz-padding-end: 0;
          padding-inline-end: 0;
  -webkit-padding-start: 0;
     -moz-padding-start: 0;
          padding-inline-start: 0;
  width: 100%;
}
.ppep-single .wp-block-table .has-fixed-layout {
  margin-top: 30px;
}
