.asterisque-title:before {
    position: absolute;
    margin-left: -35px;
    margin-top: 15px;
    content: "*";
    font-size: 80px;
    font-weight: 500;
    /*color: #191919;*/
}
#asterisque {
    font-size: 70px;
    font-weight: bold;
    text-align: center;
    transform-origin: center center;
    line-height: 105px;
    margin-bottom: -40px;
    margin-left: -50px;
    color: #323237;
}

.rotating {
    width: 1em;
    height: 1em;
    font-size: 11vmin;
    position: relative;
    animation: spin 2s linear;
    animation-fill-mode: forwards;
}

.social-icons a{
    padding: 5px;
}


.title-link{
    color: #000000;
}
.title-link a:hover{
    color: white !important;
    transition: background 500ms, color 500ms ease;
}

.mentions-credit{
    padding-bottom: 10px;
    padding-top: 10px;
    margin: 0;
    background-color: #151515;
    text-align: center;
}

.mentions-credit p {
    color: #c5c5c5;
    margin: 1em 0;
    font-weight: 800;
    font-size: 20px;
}

.mentions-credit .footer-small-text {
    line-height: 17px;
    font-size: 10px;
    font-weight: 600;
}

.headline-collapse {
    text-align: center;
    color: #191919;
}

.headline-collapse:hover {
    color: #ffffff;
}

h2.sow-recent-posts-title{
    font-size: var(--h2-size)!important;
}


.afr-pagination {
    margin-top: 40px;
    text-align: center;
}

.afr-pagination ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 10px;
}

.afr-pagination li {
    display: inline-block;
}

.afr-pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f4f4f4;
    color: #213559;
    font-weight: 500;
    text-decoration: none;
    font-size: 20px;
    transition: background 0.3s, color 0.3s;
}

.afr-pagination .page-numbers.current {
    background-color: #213559;
    color: #fff;
}

.afr-pagination .page-numbers:hover {
    background-color: #213559;
    color: white;
}


.afr-read-more {
    display: inline-block;
    margin-top: 15px;
    border: 1px solid #000;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.afr-read-more:hover {
    background-color: #213559;
    color: white;
}

@media only screen and (max-width: 1022px) {
    .top-button {
        bottom: 95px;
    }
}



/*----------------------------------------------------------------
Site Origin Widget
----------------------------------------------------------------*/


.sow-recent-posts-title a {
	line-height: 22px!important;
}

#footer a:hover {
	font-weight:600;
}

.sow-carousel-item .sow-carousel-thumbnail a , .sow-carousel-item .sow-carousel-thumbnail a span.overlay {
    border-radius: 15px;
}

/*----------------------------------------------------------------
Site Origin Widget Carousel
----------------------------------------------------------------*/
/* === Flèches génériques pour tous les carrousels SiteOrigin === */
.so-panel.widget_sow-post-carousel .sow-post-carousel-wrapper {
  position: relative;
  overflow: visible !important; /* permet aux flèches de mordre dehors */
}

/* Boutons flèches */
.so-panel.widget_sow-post-carousel .sow-carousel-previous,
.so-panel.widget_sow-post-carousel .sow-carousel-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  background: rgba(30, 30, 30, 0.55);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.35) inset;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999 !important;
  pointer-events: auto !important;
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}

/* Position gauche/droite */
.so-panel.widget_sow-post-carousel .sow-carousel-previous { left: 8px !important; }
.so-panel.widget_sow-post-carousel .sow-carousel-next     { right: 8px !important; }

/* Icônes chevrons en SVG (aucune dépendance externe) */
.so-panel.widget_sow-post-carousel .sow-carousel-previous::before,
.so-panel.widget_sow-post-carousel .sow-carousel-next::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.25));
}

.so-panel.widget_sow-post-carousel .sow-carousel-previous::before {
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'>\
  <path d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/></svg>");
}
.so-panel.widget_sow-post-carousel .sow-carousel-next::before {
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'>\
  <path d='M8.59 16.59L10 18l6-6-6-6-1.41 1.41L13.17 12z'/></svg>");
}

/* Hover / focus */
.so-panel.widget_sow-post-carousel .sow-carousel-previous:hover,
.so-panel.widget_sow-post-carousel .sow-carousel-next:hover {
  background: rgba(30, 30, 30, 0.8);
  transform: translateY(-50%) scale(1.05) !important;
}
.so-panel.widget_sow-post-carousel .sow-carousel-previous:focus-visible,
.so-panel.widget_sow-post-carousel .sow-carousel-next:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 0 6px rgba(56, 189, 248, .45);
}

/* Désactivées */
.so-panel.widget_sow-post-carousel .sow-carousel-previous[aria-disabled="true"],
.so-panel.widget_sow-post-carousel .sow-carousel-next[aria-disabled="true"],
.so-panel.widget_sow-post-carousel .sow-carousel-previous.sow-carousel-disabled,
.so-panel.widget_sow-post-carousel .sow-carousel-next.sow-carousel-disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none !important;
  transform: translateY(-50%) !important;
}

/* Apparition au survol du carousel (desktop uniquement) */
@media (hover:hover) and (pointer:fine) {
  .so-panel.widget_sow-post-carousel .sow-carousel-previous,
  .so-panel.widget_sow-post-carousel .sow-carousel-next {
    opacity: 0;
    transform: translateY(-50%) scale(.95) !important;
  }
  .so-panel.widget_sow-post-carousel .sow-post-carousel-wrapper:hover .sow-carousel-previous,
  .so-panel.widget_sow-post-carousel .sow-post-carousel-wrapper:hover .sow-carousel-next {
    opacity: 1;
    transform: translateY(-50%) scale(1) !important;
  }
}

/* Mobile : plus compact */
@media (max-width: 768px) {
  .so-panel.widget_sow-post-carousel .sow-carousel-previous,
  .so-panel.widget_sow-post-carousel .sow-carousel-next {
    width: 38px;
    height: 38px;
  }
  .so-panel.widget_sow-post-carousel .sow-carousel-previous::before,
  .so-panel.widget_sow-post-carousel .sow-carousel-next::before {
    width: 20px;
    height: 20px;
  }
}

/* Marges inférieures et supérieures du title de l'image  */
.so-widget-sow-image  h3.widget-title {
    margin-top: 15px;
    margin-bottom: 15px;
}


/*----------------------------------------------------------------
Reading Time WP
----------------------------------------------------------------*/

.rt-reading-time {
	color: #b5b5b5;
	font-style: italic;
}


/*----------------------------------------------------------------
wp-block-categories
----------------------------------------------------------------*/

.wp-block-categories-list .list-group-item.active{
	background-color: #213559;
	border-color: #213559;
	font-weight: 800;
}

.wp-block-categories-list .list-group-item{
	font-weight: 600;
}

