/* Reponse Studio - Blog, posts and standard archives CSS. */

/* Source lines 32-51 */
body.blog:not(.post-type-archive-ufaq):not(.search):not(.woocommerce) li#menu-item-450 > a,
body.single-post:not(.single-ufaq):not(.woocommerce) li#menu-item-450 > a,
body.archive:not(.post-type-archive-ufaq):not(.tax-ufaq-category):not(.post-type-archive-rs_audio_plugin):not(.tax-categorie_plugin_audio):not(.single-rs_audio_plugin):not(.search):not(.author):not(.woocommerce) li#menu-item-450 > a,
body.category:not(.woocommerce) li#menu-item-450 > a,
body.tag:not(.woocommerce) li#menu-item-450 > a,
body.date:not(.woocommerce) li#menu-item-450 > a,
body.paged:not(.woocommerce) li#menu-item-450 > a {
  background-color: #D6003B !important;
  color: #ffffff !important;
}

/* Single blog post - premium previous/next navigation */
body.single-post .post-navigation .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.single-post .post-navigation .nav-previous,
body.single-post .post-navigation .nav-next {
    min-width: 0;
    position: relative;
    text-align: left;
}

body.single-post .post-navigation .nav-previous::after {
    content: none;
}

body.single-post .post-navigation .nav-previous > a,
body.single-post .post-navigation .nav-next > a {
    position: relative;
    display: block;
    box-sizing: border-box;
    height: 100%;
    min-width: 0;
    padding: 20px 58px;
    overflow-wrap: anywhere;
    word-break: normal;
    border: 1px solid #2A2A2A;
    border-radius: 5px;
    background: #171717;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

body.single-post .post-navigation .nav-next {
    grid-column-start: auto;
    text-align: right;
}

body.single-post .post-navigation-sub {
    margin-bottom: 7px;
}

body.single-post .post-navigation-sub small {
    display: block;
    color: #D6003B;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.single-post .post-navigation .kadence-svg-iconset {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    padding: 0;
    color: #D6003B;
    transform: translateY(-50%);
}

body.single-post .post-navigation .nav-previous .kadence-svg-iconset {
    left: 22px;
}

body.single-post .post-navigation .nav-next .kadence-svg-iconset {
    right: 22px;
}

body.single-post .post-navigation .kadence-svg-iconset svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

body.single-post .post-navigation .nav-previous > a:hover,
body.single-post .post-navigation .nav-next > a:hover {
    border-color: #D6003B;
    background: #171717;
    color: #ffffff;
}

/* Single blog post - related publications carousel */
body.single-post .entry-related-carousel {
    container-type: inline-size;
}

body.single-post .entry-related-carousel .splide__arrow {
    box-sizing: border-box;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #D6003B;
    border-radius: 4px;
    background: rgba(19, 19, 19, 0.92);
    box-shadow: none;
    color: #ffffff;
    opacity: 1;
    top: calc((100cqw - 40px) * 9 / 64);
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

body.single-post .entry-related-carousel .splide__arrow--prev {
    left: 8px;
}

body.single-post .entry-related-carousel .splide__arrow--next {
    right: 8px;
}

body.single-post .entry-related-carousel .splide__arrow svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

body.single-post .entry-related-carousel .splide__arrow--prev:hover {
    background: #D6003B;
    border-color: #D6003B;
    transform: translateY(-50%);
}

body.single-post .entry-related-carousel .splide__arrow--next:hover {
    background: #D6003B;
    border-color: #D6003B;
    transform: translateY(-50%);
}

/* Single blog post - tablet */
@media all and (min-width: 768px) and (max-width: 1024px) {
    body.single-post .post-navigation .nav-previous > a,
    body.single-post .post-navigation .nav-next > a {
        padding: 18px 52px;
        font-size: 14px;
    }
}

/* Single blog post - mobile */
@media all and (max-width: 767px) {
    body.single-post .post-navigation .nav-links {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    body.single-post .post-navigation .nav-previous,
    body.single-post .post-navigation .nav-next {
        grid-column: 1;
        width: 100%;
        text-align: left;
    }

    body.single-post .post-navigation .nav-previous > a,
    body.single-post .post-navigation .nav-next > a {
        height: auto;
        min-width: 0;
        padding: 16px 50px;
        font-size: 14px;
        line-height: 1.45;
        text-align: left;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    body.single-post .post-navigation .nav-previous .kadence-svg-iconset {
        left: 17px;
    }

    body.single-post .post-navigation .nav-next .kadence-svg-iconset {
        right: 17px;
    }

    body.single-post .entry-related-carousel .splide__arrow {
        width: 38px;
        height: 38px;
        top: calc(100cqw * 9 / 32);
    }

    body.single-post .entry-related-carousel .splide__arrow--prev {
        left: 9px;
    }

    body.single-post .entry-related-carousel .splide__arrow--next {
        right: 9px;
    }
}

/* Single blog post - keyboard accessibility */
body.single-post .post-navigation a:focus-visible,
body.single-post .entry-related-carousel .splide__arrow:focus-visible {
    outline: 2px solid #D6003B;
    outline-offset: 3px;
}

body.single-post .post-navigation a:focus-visible {
    border-color: #D6003B;
    background: #1C1C1C;
    color: #ffffff;
}

body.single-post .entry-related-carousel .splide__arrow:focus-visible {
    border-color: #D6003B;
    background: #D6003B;
    color: #ffffff;
}

/* Single blog post - reduced motion */
@media (prefers-reduced-motion: reduce) {
    body.single-post .post-navigation a,
    body.single-post .post-navigation .kadence-svg-iconset,
    body.single-post .entry-related-carousel .splide__arrow {
        transition: background-color 0.01ms, border-color 0.01ms, color 0.01ms;
    }

    body.single-post .post-navigation a:hover,
    body.single-post .post-navigation a:hover .kadence-svg-iconset,
    body.single-post .entry-related-carousel .splide__arrow:hover {
        transform: none;
    }
}
body.blog:not(.post-type-archive-ufaq):not(.search):not(.woocommerce) .mobile-navigation li#menu-item-450 > a,
body.single-post:not(.single-ufaq):not(.woocommerce) .mobile-navigation li#menu-item-450 > a,
body.archive:not(.post-type-archive-ufaq):not(.tax-ufaq-category):not(.post-type-archive-rs_audio_plugin):not(.tax-categorie_plugin_audio):not(.single-rs_audio_plugin):not(.search):not(.author):not(.woocommerce) .mobile-navigation li#menu-item-450 > a,
body.category:not(.woocommerce) .mobile-navigation li#menu-item-450 > a,
body.tag:not(.woocommerce) .mobile-navigation li#menu-item-450 > a,
body.date:not(.woocommerce) .mobile-navigation li#menu-item-450 > a,
body.paged:not(.woocommerce) .mobile-navigation li#menu-item-450 > a {
  background-color: #D6003B !important;
  color: #ffffff !important;
}

/* Source lines 251-298 */
/* Blog + archives mensuelles + catégories d'articles - puces triangle Reponse Studio */
.blog .sidebar-inner-wrap .wp-block-categories,
.blog .sidebar-inner-wrap .wp-block-archives,
.single-post .sidebar-inner-wrap .wp-block-categories,
.single-post .sidebar-inner-wrap .wp-block-archives,
.date .sidebar-inner-wrap .wp-block-categories,
.date .sidebar-inner-wrap .wp-block-archives,
.category .sidebar-inner-wrap .wp-block-categories,
.category .sidebar-inner-wrap .wp-block-archives {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.blog .sidebar-inner-wrap .wp-block-categories li,
.blog .sidebar-inner-wrap .wp-block-archives li,
.single-post .sidebar-inner-wrap .wp-block-categories li,
.single-post .sidebar-inner-wrap .wp-block-archives li,
.date .sidebar-inner-wrap .wp-block-categories li,
.date .sidebar-inner-wrap .wp-block-archives li,
.category .sidebar-inner-wrap .wp-block-categories li,
.category .sidebar-inner-wrap .wp-block-archives li {
  position: relative;
  list-style: none;
  padding-left: 24px;
  margin-bottom: 8px;
  line-height: 1.8;
}

.blog .sidebar-inner-wrap .wp-block-categories li::before,
.blog .sidebar-inner-wrap .wp-block-archives li::before,
.single-post .sidebar-inner-wrap .wp-block-categories li::before,
.single-post .sidebar-inner-wrap .wp-block-archives li::before,
.date .sidebar-inner-wrap .wp-block-categories li::before,
.date .sidebar-inner-wrap .wp-block-archives li::before,
.category .sidebar-inner-wrap .wp-block-categories li::before,
.category .sidebar-inner-wrap .wp-block-archives li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.88em;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 14px solid #D6003B;
  transform: translateY(-50%);
}

/* Source lines 755-786 */
/* Blog - dégradé global centré en ellipse, fin au noir pur, sans masquer le fil d'ariane */
.blog #archive-container,
.archive #archive-container,
.category #archive-container,
.date #archive-container {
  position: relative;
  box-sizing: border-box;
  padding: 24px;
  margin: 0 0 0 -24px;
  width: calc(100% + 48px);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 88% at 50% 50%,
      rgba(214, 0, 59, 0.18) 0%,
      rgba(214, 0, 59, 0.09) 32%,
      rgba(214, 0, 59, 0.035) 44%,
      rgba(0, 0, 0, 0.92) 56%,
      rgba(0, 0, 0, 1) 72%,
      #000000 100%
    );
}

/* Garde les cartes articles propres au-dessus du fond */
.blog #archive-container article,
.archive #archive-container article,
.category #archive-container article,
.date #archive-container article {
  position: relative;
  z-index: 1;
}


/* Source lines 1308-1350 */
/* Reponse Studio - Bloc descriptif archives blog et boutique */
/* Catégories blog, étiquettes blog, catégories produits et étiquettes produits */

body.category .site-main > p,
body.category .site-main .term-description,
body.category .site-main .archive-description,
body.category .site-main .page-description,
body.tag .site-main > p,
body.tag .site-main .term-description,
body.tag .site-main .archive-description,
body.tag .site-main .page-description,
body.tax-product_cat .site-main > p,
body.tax-product_cat .site-main .term-description,
body.tax-product_cat .site-main .archive-description,
body.tax-product_cat .site-main .page-description,
body.tax-product_tag .site-main > p,
body.tax-product_tag .site-main .term-description,
body.tax-product_tag .site-main .archive-description,
body.tax-product_tag .site-main .page-description {
    background: #131313;
    border: none;
    border-radius: 10px;
    padding: 32px 30px;
    margin: 24px auto 32px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    text-align: left !important;
}

/* Sécurité, alignement gauche du contenu interne */
body.category .site-main .term-description *,
body.category .site-main .archive-description *,
body.category .site-main .page-description *,
body.tag .site-main .term-description *,
body.tag .site-main .archive-description *,
body.tag .site-main .page-description *,
body.tax-product_cat .site-main .term-description *,
body.tax-product_cat .site-main .archive-description *,
body.tax-product_cat .site-main .page-description *,
body.tax-product_tag .site-main .term-description *,
body.tax-product_tag .site-main .archive-description *,
body.tax-product_tag .site-main .page-description * {
    text-align: left !important;
}

/* Source lines 1767-1801 */
/* Reponse Studio - Mise en avant discrète des articles mis en avant dans le blog */
body.blog article.rs-featured-post {
    position: relative;
    background: #131313;
    border: 1px solid rgba(214, 0, 59, 0.35);
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(214, 0, 59, 0.10);
    overflow: hidden;
}

/* Marque-page rouge en haut à droite */
body.blog article.rs-featured-post::before {
    content: "";
    position: absolute;
    top: 0;
    right: 18px;
    z-index: 5;
    width: 22px;
    height: 41px;
    background: #D6003B;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}

/* Trait rouge discret en haut */
body.blog article.rs-featured-post::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #D6003B;
    z-index: 4;
}


/* Source lines 2058-2250 */
/* Base neutre des liens "En savoir plus" Kadence */
a.post-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

a.post-more-link .kadence-svg-iconset,
a.post-more-link .kadence-arrow-right-alt-svg,
a.post-more-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
/* Blog + FAQ - cartes avec lien toujours en bas */
body.blog #archive-container article.loop-entry,
body.category #archive-container article.loop-entry,
body.tag #archive-container article.loop-entry,
body.date #archive-container article.loop-entry,
body.post-type-archive-ufaq #archive-container article.loop-entry,
body.tax-ufaq-category #archive-container article.loop-entry {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.blog #archive-container article.loop-entry .entry-content-wrap,
body.category #archive-container article.loop-entry .entry-content-wrap,
body.tag #archive-container article.loop-entry .entry-content-wrap,
body.date #archive-container article.loop-entry .entry-content-wrap,
body.post-type-archive-ufaq #archive-container article.loop-entry .entry-content-wrap,
body.tax-ufaq-category #archive-container article.loop-entry .entry-content-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
}

body.blog #archive-container article.loop-entry .entry-summary,
body.category #archive-container article.loop-entry .entry-summary,
body.tag #archive-container article.loop-entry .entry-summary,
body.date #archive-container article.loop-entry .entry-summary,
body.post-type-archive-ufaq #archive-container article.loop-entry .entry-summary,
body.tax-ufaq-category #archive-container article.loop-entry .entry-summary {
    margin-bottom: 1.2rem;
}

body.blog #archive-container article.loop-entry .entry-footer,
body.category #archive-container article.loop-entry .entry-footer,
body.tag #archive-container article.loop-entry .entry-footer,
body.date #archive-container article.loop-entry .entry-footer,
body.post-type-archive-ufaq #archive-container article.loop-entry .entry-footer,
body.tax-ufaq-category #archive-container article.loop-entry .entry-footer {
    margin-top: auto;
}

body.blog #archive-container article.loop-entry .more-link-wrap,
body.category #archive-container article.loop-entry .more-link-wrap,
body.tag #archive-container article.loop-entry .more-link-wrap,
body.date #archive-container article.loop-entry .more-link-wrap,
body.post-type-archive-ufaq #archive-container article.loop-entry .more-link-wrap,
body.tax-ufaq-category #archive-container article.loop-entry .more-link-wrap {
    margin-top: 1.2rem;
    margin-bottom: 0;
}

/* Blog + FAQ - bouton En savoir plus */
body.blog #archive-container article.loop-entry a.post-more-link,
body.category #archive-container article.loop-entry a.post-more-link,
body.tag #archive-container article.loop-entry a.post-more-link,
body.date #archive-container article.loop-entry a.post-more-link,
body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link,
body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    min-height: 30px;
    padding: 0.38rem 0.65rem;
    border: 1px solid #D6003B;
    border-radius: 5px;
    background: #D6003B;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

/* Blog + FAQ - flèche blanche au repos */
body.blog #archive-container article.loop-entry a.post-more-link .kadence-svg-iconset,
body.blog #archive-container article.loop-entry a.post-more-link .kadence-arrow-right-alt-svg,
body.blog #archive-container article.loop-entry a.post-more-link svg,
body.category #archive-container article.loop-entry a.post-more-link .kadence-svg-iconset,
body.category #archive-container article.loop-entry a.post-more-link .kadence-arrow-right-alt-svg,
body.category #archive-container article.loop-entry a.post-more-link svg,
body.tag #archive-container article.loop-entry a.post-more-link .kadence-svg-iconset,
body.tag #archive-container article.loop-entry a.post-more-link .kadence-arrow-right-alt-svg,
body.tag #archive-container article.loop-entry a.post-more-link svg,
body.date #archive-container article.loop-entry a.post-more-link .kadence-svg-iconset,
body.date #archive-container article.loop-entry a.post-more-link .kadence-arrow-right-alt-svg,
body.date #archive-container article.loop-entry a.post-more-link svg,
body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link .kadence-svg-iconset,
body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link .kadence-arrow-right-alt-svg,
body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link svg,
body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link .kadence-svg-iconset,
body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link .kadence-arrow-right-alt-svg,
body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link svg {
    color: #ffffff !important;
    fill: currentColor !important;
    margin-left: 0;
    transition: color 0.18s ease;
}

/* Blog + FAQ - hover */
body.blog #archive-container article.loop-entry a.post-more-link:hover,
body.blog #archive-container article.loop-entry a.post-more-link:focus-visible,
body.category #archive-container article.loop-entry a.post-more-link:hover,
body.category #archive-container article.loop-entry a.post-more-link:focus-visible,
body.tag #archive-container article.loop-entry a.post-more-link:hover,
body.tag #archive-container article.loop-entry a.post-more-link:focus-visible,
body.date #archive-container article.loop-entry a.post-more-link:hover,
body.date #archive-container article.loop-entry a.post-more-link:focus-visible,
body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link:hover,
body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link:focus-visible,
body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link:hover,
body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link:focus-visible {
    background: #3d3d3d;
    border-color: #3d3d3d;
    color: #D6003B !important;
    transform: none;
}

/* Blog + FAQ - flèche rouge au hover */
body.blog #archive-container article.loop-entry a.post-more-link:hover .kadence-svg-iconset,
body.blog #archive-container article.loop-entry a.post-more-link:focus-visible .kadence-svg-iconset,
body.blog #archive-container article.loop-entry a.post-more-link:hover .kadence-arrow-right-alt-svg,
body.blog #archive-container article.loop-entry a.post-more-link:focus-visible .kadence-arrow-right-alt-svg,
body.blog #archive-container article.loop-entry a.post-more-link:hover svg,
body.blog #archive-container article.loop-entry a.post-more-link:focus-visible svg,
body.category #archive-container article.loop-entry a.post-more-link:hover .kadence-svg-iconset,
body.category #archive-container article.loop-entry a.post-more-link:focus-visible .kadence-svg-iconset,
body.category #archive-container article.loop-entry a.post-more-link:hover .kadence-arrow-right-alt-svg,
body.category #archive-container article.loop-entry a.post-more-link:focus-visible .kadence-arrow-right-alt-svg,
body.category #archive-container article.loop-entry a.post-more-link:hover svg,
body.category #archive-container article.loop-entry a.post-more-link:focus-visible svg,
body.tag #archive-container article.loop-entry a.post-more-link:hover .kadence-svg-iconset,
body.tag #archive-container article.loop-entry a.post-more-link:focus-visible .kadence-svg-iconset,
body.tag #archive-container article.loop-entry a.post-more-link:hover .kadence-arrow-right-alt-svg,
body.tag #archive-container article.loop-entry a.post-more-link:focus-visible .kadence-arrow-right-alt-svg,
body.tag #archive-container article.loop-entry a.post-more-link:hover svg,
body.tag #archive-container article.loop-entry a.post-more-link:focus-visible svg,
body.date #archive-container article.loop-entry a.post-more-link:hover .kadence-svg-iconset,
body.date #archive-container article.loop-entry a.post-more-link:focus-visible .kadence-svg-iconset,
body.date #archive-container article.loop-entry a.post-more-link:hover .kadence-arrow-right-alt-svg,
body.date #archive-container article.loop-entry a.post-more-link:focus-visible .kadence-arrow-right-alt-svg,
body.date #archive-container article.loop-entry a.post-more-link:hover svg,
body.date #archive-container article.loop-entry a.post-more-link:focus-visible svg,
body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link:hover .kadence-svg-iconset,
body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link:focus-visible .kadence-svg-iconset,
body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link:hover .kadence-arrow-right-alt-svg,
body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link:focus-visible .kadence-arrow-right-alt-svg,
body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link:hover svg,
body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link:focus-visible svg,
body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link:hover .kadence-svg-iconset,
body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link:focus-visible .kadence-svg-iconset,
body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link:hover .kadence-arrow-right-alt-svg,
body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link:focus-visible .kadence-arrow-right-alt-svg,
body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link:hover svg,
body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link:focus-visible svg {
    color: #D6003B !important;
    fill: currentColor !important;
    transform: none;
}

/* Mobile */
@media all and (max-width: 767px) {
    body.blog #archive-container article.loop-entry a.post-more-link,
    body.category #archive-container article.loop-entry a.post-more-link,
    body.tag #archive-container article.loop-entry a.post-more-link,
    body.date #archive-container article.loop-entry a.post-more-link,
    body.post-type-archive-ufaq #archive-container article.loop-entry a.post-more-link,
    body.tax-ufaq-category #archive-container article.loop-entry a.post-more-link {
        min-height: 30px;
        padding: 0.36rem 0.62rem;
        font-size: 11px;
    }
}
