@import url('https://fonts.googleapis.com/css2?family=Exo:wght@400;700&display=swap');

/* Style global applique a tous les h1 du site */
body {
  font-family: 'Exo', Helvetica, Arial, sans-serif;
  color: #6e6e6e;
}

#rt-top-surround {
  position: relative;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.3), inset 0 6px 0 #142b76, inset 0 7px 0 #ffffff;
  min-height: 190px;
  border-bottom: 1px solid #C7C7C7;
  background-image: linear-gradient(#EDEEF0, #EDEEF0 95%, #E1E1E1);
  background-repeat: no-repeat;
}

#rt-header .rt-container {
  width: 1200px;
  max-width: calc(100% - 30px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 6fr 2fr;
  align-items: end;
  gap: 20px;
  padding: 0px 0 10px;
}

.rt-grid-4{
  margin: 10px 10px 0;
}

#rt-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

#rt-logo {
  min-height: 54px;
  display: flex;
  align-items: flex-end;
}

#rt-logo a {
  display: inline-block;
  font-size: 26px;
  color: #193796;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.cepn-baseline {
  padding: 15px;
  margin: 12px 10px 20px;
}

.cepn-baseline p {
  font-size: 14px;
  color: #193796;
  line-height: 1.4;
}

.rt-grid-6 {
  align-self: stretch;
}

.menu-block {
  height: 100%;
}

.menu-block .gf-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
}

.menu-block .gf-menu.l1 > li {
  position: relative;
  margin: 0;
  display: flex;
  align-items: stretch;
}

.menu-block .gf-menu.l1 > li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(199, 199, 199, 0), rgba(199, 199, 199, 0.95), rgba(199, 199, 199, 0));
}

.menu-block .gf-menu > li > a {
  display: block;
  padding: 18px 18px 19px;
  color: #6e6e70;
  font-size: 12px;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 1px 1px 1px #fff;
  position: relative;
  z-index: 1;
}

.menu-block .gf-menu > li.menu-item-has-children > a {
  padding-right: 30px;
}

.menu-block .gf-menu > li.menu-item-has-children > a::after {
  content: "\25BE";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #3b3b3d;
}

.menu-block .gf-menu > li:hover > a,
.menu-block .gf-menu > li.current-menu-item > a,
.menu-block .gf-menu > li.current-menu-ancestor > a,
.menu-block .gf-menu > li.current-menu-parent > a {
  color: #193796;
}


.menu-block .gf-menu > li.current-menu-item > a,
.menu-block .gf-menu > li.current-menu-ancestor > a,
.menu-block .gf-menu > li.current-menu-parent > a {
  background-image: linear-gradient(#D8D8DA, #EDEDEF 30%, #EDEEF0);
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 3px 8px rgba(0, 0, 0, 0.12);
}

.menu-block .gf-menu > li.current-menu-item > a::before,
.menu-block .gf-menu > li.current-menu-ancestor > a::before,
.menu-block .gf-menu > li.current-menu-parent > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: #142b76;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.55);
}

.menu-block .gf-menu li ul,
.menu-block .gf-menu li .sub-menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: calc(100% - 5px);
  left: 2px;
  min-width: 180px;
  background: #eaebed;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 30;
}

.menu-block .gf-menu li:hover > ul,
.menu-block .gf-menu li:hover > .sub-menu,
.menu-block .gf-menu li:focus-within > ul,
.menu-block .gf-menu li:focus-within > .sub-menu {
  display: block;
}

.menu-block .gf-menu li ul li {
  margin: 0;
  padding: 0 5px;
  display: block;
}

.menu-block .gf-menu li ul li + li,
.menu-block .gf-menu li .sub-menu li + li {
  background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(199, 199, 199, 0.75), rgba(0, 0, 0, 0));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 0;
}

.menu-block .gf-menu li ul a,
.menu-block .gf-menu li .sub-menu a {
  display: block;
  padding: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #555556;
  text-transform: none;
  letter-spacing: normal;
  text-shadow: 1px 1px 1px #fff;
  border-radius: 4px;
}

.menu-block .gf-menu li ul a:hover,
.menu-block .gf-menu li .sub-menu a:hover,
.menu-block .gf-menu li ul .current-menu-item > a,
.menu-block .gf-menu li .sub-menu .current-menu-item > a {
  background: rgba(255, 255, 255, 0.65);
  color: #193796;
}

.mod-languages ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.mod-languages li {
  margin: 0;
  list-style: none;
}

.mod-languages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
}

.mod-languages a:hover {
  background: #f3f6ff;
}

.mod-languages img {
  width: 20px;
  height: 14px;
  display: block;
  border: 1px solid #d5d5d5;
}

.cepn-header-search {
  margin-top: 10px;
}

.cepn-header-search .search-form {
  display: block;
}

.cepn-header-search .search-field {
  width: 100%;
  min-width: 0;
  border: 1px solid #bfc4ce;
  border-radius: 4px;
  padding: 8px 36px 8px 12px;
  font-size: 13px;
  line-height: 1.2;
  color: #3b3b3d;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='%23838b97' stroke-width='2'/%3E%3Cpath d='M16 16l4.5 4.5' fill='none' stroke='%23838b97' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: right 12px center;
}

.cepn-header-search .search-field:focus {
  outline: none;
  border-color: #193796;
  box-shadow: 0 0 0 2px rgba(25, 55, 150, 0.14);
}

.cepn-header-search .search-submit {
  display: none;
}

.visible-phone {
  display: none;
}

.hidden-phone {
  display: block;
}

.cepn-home-template {
  width: 1200px;
  max-width: calc(100% - 30px);
  margin: 0 auto;
  padding: 0px 0 40px;
}

.cepn-home-title {
  margin: 0 0 20px;
  color: #193796;
  font-size: 34px;
  line-height: 1.15;
}

.cepn-home-editor-content {
  margin-bottom: 30px;
}

/* Utilise cette classe CSS sur ton bloc Gutenberg pour le hero bleu. */
.cepn-blue-hero {
  background: linear-gradient(135deg, #1a3b9a 0%, #2453c8 100%);
  color: #fff;
  border-radius: 12px;
  padding: 24px;
}

.cepn-blue-hero .wp-block-columns {
  margin-bottom: 0;
}

.cepn-blue-hero p,
.cepn-blue-hero h2,
.cepn-blue-hero h3 {
  color: #fff;
}

.cepn-home-section-title {
  margin: 0 0 16px;
  color: #193796;
  font-size: 24px;
  line-height: 1.2;
}

.cepn-home-latest {
  margin-bottom: 34px;
}

.cepn-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.cepn-post-grid-item {
  background: #fff;
  border: 1px solid #d5dae6;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cepn-post-grid-title {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

.cepn-post-grid-title a {
  color: #193796;
}

.cepn-post-grid-author,
.cepn-post-grid-journal,
.cepn-post-grid-meta {
  margin: 0;
  color: #6e6e6e;
  font-size: 13px;
  line-height: 1.5;
}

.cepn-post-grid-author {
  color: #324d9d;
  font-weight: 600;
}

.cepn-post-grid-journal {
  color: #465064;
  font-style: italic;
}

.cepn-post-grid-summary {
  margin: 0;
  color: #4e5669;
  font-size: 14px;
  line-height: 1.6;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cepn-post-grid-summary * {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cepn-post-grid-summary img {
  height: auto;
}

.cepn-post-grid-link {
  margin: 0;
  margin-top: auto;
}

.cepn-post-grid-link a {
  color: #193796;
  font-weight: 600;
  text-decoration: none;
}

.cepn-post-grid-link a:hover {
  text-decoration: underline;
}

.cepn-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 100%;
}

.cepn-featured-item {
  background: #fff;
  border: 1px solid #d5dae6;
  border-radius: 8px;
  padding: 16px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cepn-featured-title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.cepn-featured-title a {
  color: #193796;
}

.cepn-featured-excerpt p {
  margin: 0;
}

.cepn-featured-excerpt,
.cepn-featured-excerpt * {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 900px) {
  .cepn-post-grid,
  .cepn-featured-grid {
    grid-template-columns: 1fr;
  }

  .cepn-home-title {
    font-size: 30px;
  }
}
/* 2. Enleve trou entre les éléments */
#page {
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
}




main {
  background-image: url('../img/spiral.jpg');
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: 100%;
  position: relative;
  z-index: 0;
}

article {
  width: 1200px;
  padding: 10px;
  margin: 12px auto;
}

.cepn-post-meta {
  margin: 0 0 10px;
  font-size: 14px;
  color: #6e6e6e;
}

.cepn-post-meta span {
  display: block;
  margin-bottom: 3px;
}

.cepn-meta-category::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 9px;
  margin-right: 7px;
  vertical-align: middle;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 0, 0 4px, 0 8px;
  background-size: 12px 1px, 12px 1px, 12px 1px;
  opacity: 0.95;
}

.cepn-meta-publication::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 7px;
  vertical-align: -1px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 50% 25%, 62% 50%;
  background-size: 1px 3px, 3px 1px;
}

.cepn-post-excerpt {
  line-height: 1.7;
}

.cepn-excerpt-line {
  margin: 0;
}

.cepn-excerpt-line + .cepn-excerpt-line {
  margin-top: 4px;
}

.cepn-excerpt-line-secondary {
  margin-top: 8px;
}

.cepn-post-readmore {
  color: #ffffff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid #132a73;
  background-color: #18348d;
  background-image: linear-gradient(#1d3fac, #193796 50%, #12276a);
  background-repeat: no-repeat;
  display: inline-block;
  padding: 7px 10px 7px 10px;
  line-height: 1.3em;
  font-size: 0.9em;
  border-radius: 4px;
  position: relative;
  margin: 15px 0 0 0;
}

.cepn-post-readmore a {
  color: #ffffff;
}


.navigation.pagination {
  width: 1200px;
  max-width: calc(100% - 30px);
  margin: 8px auto 24px;
}

.navigation.pagination .nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  padding: 4px 10px;
  color: #193796;
}

.navigation.pagination .page-numbers.current {
  background: #193796;
  color: #fff;
  border-color: #193796;
}


/* Titres */
h1 {
  border-top: 1px solid #C7C7C7;
  border-bottom: 1px solid #C7C7C7;
  padding: 8px 0;
  margin: 0 0 15px;
  font-size: 28px;
  line-height: 30px;
  font-weight: 400;
  color: #193796;
}


a {
  color: #193796;
  text-decoration: none;
  transition: color 0.2s ease-out;
}
a:hover {
  color: #6e6e6e;
}

ul {
  padding: 0;
  margin: 0 0 10px 25px;
}

li {
  line-height: 20px;
  font-size: 14px;
}

h3 {
  color: #303030;
  font-weight: normal;
  font-size: 175%;
  line-height: 40px;
  margin: 10px 0;
}

p {
  margin: 0 0 15px 0;
  font-size: 14px;
  line-height: 1.7em;
}














































/* Footer custom global */


#rt-footer-overlay {
  background-image: url('../img/page-divider.png');
  background-repeat: no-repeat;
  background-position: 50% 0;
  position: relative;
}

#rt-footer {
  
  background-image: url('../img/footer-bg.png');
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: 100%;
  position: relative;
  z-index: 0;
  color: #5f5f5f;
  padding: 30px 0;
}

#rt-footer .rt-container,
#rt-copyright .rt-container {
  width: 1200px;
  max-width: calc(100% - 30px);
  margin: 0 auto;
}

#rt-footer .rt-container {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: 24px;
}

#rt-footer address {
  margin: 0;
  font-style: normal;
  line-height: 1.7;
  font-size: 14px;
}

#rt-footer strong {
  color: #193796;
  font-size: 16px;
}

#rt-footer a {
  color: #193796;
}

#rt-footer a:hover {
  color: #6e6e6e;
}

#rt-footer .rt-report-thumb {
  margin: 10px 0 0;
  text-align: center;
}

#rt-footer .rt-report-thumb img {
  display: inline-block;
  border: 4px solid #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  height: auto;
}

#rt-copyright {
  background: #193796;
  color: #fff;
  padding: 12px 0;
}

#rt-copyright .rt-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

#rt-copyright a {
  color: #fff;
}

#rt-copyright .rt-rss-btn {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 14px;
  letter-spacing: 0.03em;
}

#gantry-totop {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 14px;
  text-transform: uppercase;
}

.cepn-home-introduction {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  padding: 15px;
  margin: 12px 10px 20px;
}

@media (max-width: 1024px) {
  #rt-header .rt-container {
    width: auto;
    max-width: calc(100% - 20px);
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }

  .menu-block .gf-menu {
    flex-direction: column;
    gap: 0;
  }

  .menu-block .gf-menu.l1 > li + li::before,
  .menu-block .gf-menu > li::after,
  .menu-block .gf-menu > li > a::before {
    display: none;
  }

  .menu-block .gf-menu > li > a {
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.4;
  }

  .menu-block .gf-menu li ul {
    position: static;
    min-width: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    padding: 0 0 0 14px;
    background: transparent;
  }

  .hidden-phone {
    display: none;
  }

  .visible-phone {
    display: block;
  }

  .cepn-header-search {
    margin-top: 4px;
  }

  .cepn-header-search .search-form {
    max-width: 420px;
  }

  article,
  #rt-footer .rt-container,
  #rt-copyright .rt-container {
    width: auto;
    max-width: calc(100% - 20px);
  }

  .navigation.pagination {
    width: auto;
    max-width: calc(100% - 20px);
  }

  #rt-footer .rt-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #rt-copyright .rt-container {
    flex-direction: column;
    align-items: flex-start;
  }
}