/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.3.1749389962
Updated: 2025-06-08 15:39:22

*/

body {
  background-color: var(--e-global-color-cad7ef2) !important;
  overflow-x: clip !important;
}

.page-content {
  overflow: hidden;
}

strong {
  color: #6A00F4;
}

a {
  color: #6A00F4;
  text-decoration: underline;
}

/* Souligner chaque H2 d’un trait dégradé orange → accentué */
h2 {
  position: relative;           /* Pour que l’after se place par rapport au h2 */
  display: inline-block;        /* Ajuste la largeur au contenu (optionnel) */
  margin-bottom: 42px !important;
  font-size: 42px !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
}

h2::after {
  content: "";                   
  position: absolute;
  left: 0;                       
  bottom: -20px;                     /* Colle juste sous la ligne de texte */
  width: 30%;                    /* Longueur du trait : ajustez selon vos goûts */
  min-width: 80px;
  height: 8px;                   /* Épaisseur du trait */
  border-radius: 2px;            /* Bords légèrement arrondis */
  background: linear-gradient(
    to right,
    var(--e-global-color-secondary),                     /* Votre orange thème */
    var(--e-global-color-primary)                     
  );
}

/* Change the style of text selection */
::selection {
  background-color: var(--e-global-color-secondary);
  color: white;
}

/* Pour compatibilité avec Firefox */
::-moz-selection {
  background-color: var(--e-global-color-secondary);
  color: white;
}

.wpforms-form {
  background-color: #fff !important;
  border-radius: 46px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2) !important;
  padding: 42px !important;
}

/************************************************************
 * CATEGORY ARCHIVE – FULL CSS
 * - Full-width layout
 * - Left filters (categories, tags checkboxes, sorting)
 * - Grid pattern: 3 cards then 2 cards, repeat (3/2/3/2...)
 * - First view: 11 posts, load more: +9
 * - Cards with square borders and refined shadow
 ************************************************************/

/** Force full width on category archives (override Hello/Elementor) */
body.category .site-main {
    max-width: 100% !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

/** Offset for fixed header and overall background */
.archive.archive--category.archive--fullwidth {
    padding-top: 7.5rem;
    scroll-margin-top: 7.5rem;
    background: #f5f5f7;
}

/* ------------------------- HERO ------------------------- */

.archive-hero--fullwidth {
    padding: 1.2rem 0 0.9rem;
}

.archive-hero__inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4vw;
    display: block;
}

.archive-hero__meta {
    max-width: 840px;
}

.archive-hero__title {
    margin: 0 0 0.3rem;
    font-size: clamp(2rem, 2.8vw, 2.4rem);
    line-height: 1.1;
    color: var(--e-global-color-text, #0f172a);
}

.archive-hero__description {
    margin: 0.1rem 0 0;
    font-size: 0.98rem;
    color: rgba(15, 23, 42, 0.8);
}

/* ------------------------- LAYOUT ------------------------- */

.archive-layout {
    padding: 0 0 2.2rem;
}

.archive-layout__inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4vw;
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 1.8rem;
    align-items: flex-start;
}

/* ------------------------- SIDEBAR ------------------------- */

.archive-sidebar {
    position: sticky;
    top: 7.8rem;
    align-self: flex-start;
    z-index: 5;
}

.archive-sidebar__panel {
    border-radius: 0;
    background: #ffffff;
    color: var(--e-global-color-text, #0f172a);
    padding: 1.6rem 1.4rem 1.3rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 1);
}

.archive-sidebar__title {
    margin: 0 0 0.1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--e-global-color-secondary, #4f46e5);
}

.archive-sidebar__subtitle {
    margin: 0 0 0.9rem;
    font-size: 0.86rem;
    color: rgba(100, 116, 139, 1);
}

.archive-sidebar__group {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(226, 232, 240, 1);
}

.archive-sidebar__group:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0.8rem;
}

.archive-sidebar__group-label {
    margin: 0 0 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(148, 163, 184, 1);
}

.archive-sidebar__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.archive-sidebar__links--categories {
    margin-bottom: 0.2rem;
}

.archive-sidebar__empty {
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
    color: rgba(148, 163, 184, 1);
}

/* ------------------------- FILTERS – TEXT LINKS ------------------------- */

.archive-filter-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.12rem 0;
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    background: transparent;
    color: rgba(75, 85, 99, 1);
    transition:
        color 0.18s ease-out,
        transform 0.18s ease-out;
}

.archive-filter-link::before {
    content: none;
}

.archive-filter-link:hover {
    color: rgba(55, 65, 81, 1);
    transform: translateY(-1px);
}

.archive-filter-link.is-active {
    font-weight: 600;
    background: linear-gradient(
        135deg,
        rgba(79, 70, 229, 1),
        rgba(129, 140, 248, 1)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.archive-filter-link--all {
    font-weight: 600;
}

/* ------------------------- TAGS CHECKBOXES ------------------------- */

.archive-tags-form {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: flex-start;
}

.archive-tag-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.86rem;
    cursor: pointer;
    color: rgba(75, 85, 99, 1);
}

.archive-tag-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.archive-tag-checkbox__box {
    width: 16px;
    height: 16px;
    border-radius: 0;
    border: 1px solid rgba(148, 163, 184, 1);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    position: relative;
    flex-shrink: 0;
    transition:
        border-color 0.18s ease-out,
        background 0.18s ease-out,
        box-shadow 0.18s ease-out;
}

.archive-tag-checkbox__box::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 0;
    background: linear-gradient(
        135deg,
        var(--e-global-color-secondary, #4f46e5),
        rgba(79, 70, 229, 0.85)
    );
    opacity: 0;
    transition: opacity 0.18s ease-out;
}

.archive-tag-checkbox input[type="checkbox"]:checked + .archive-tag-checkbox__box {
    border-color: var(--e-global-color-secondary, #4f46e5);
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35);
}

.archive-tag-checkbox input[type="checkbox"]:checked + .archive-tag-checkbox__box::after {
    opacity: 1;
}

.archive-tag-checkbox__label {
    font-size: 0.86rem;
    font-weight: 500;
    color: rgba(75, 85, 99, 1);
}

/* ------------------------- GRID (3 puis 2 colonnes alternées) ------------------------- */

.archive-main {
    min-width: 0;
}

.archive-grids-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.archive-grid--main {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.3rem;
}

.archive-card--span-2 {
    grid-column: span 2; /* 3 cartes par ligne */
}

.archive-card--span-3 {
    grid-column: span 3; /* 2 cartes par ligne */
}

/* ------------------------- CARDS ------------------------- */

.archive-card {
    position: relative;
    background: #ffffff;
    border-radius: 0;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow:
        0 10px 20px rgba(15, 23, 42, 0.06),
        0 25px 55px rgba(15, 23, 42, 0.10);
    overflow: hidden;
    min-height: 320px;
    transition:
        transform 0.25s ease-out,
        box-shadow 0.25s ease-out,
        border-color 0.25s ease-out;
}

.archive-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(79, 70, 229, 0.15),
        rgba(236, 72, 153, 0.12)
    );
    opacity: 0;
    transition: opacity 0.25s ease-out;
    pointer-events: none;
}

.archive-card__link {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.archive-card:hover {
    transform: translate3d(0, -6px, 0);
    border-color: rgba(209, 213, 219, 1);
    box-shadow:
        0 16px 28px rgba(15, 23, 42, 0.08),
        0 30px 60px rgba(15, 23, 42, 0.18);
}

.archive-card:hover::after {
    opacity: 1;
}

/* ------------------------- IMAGES ------------------------- */

.archive-card__thumb-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
}

.archive-card__thumb {
    width: 100%;
    height: 100%;
}

.archive-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.5s ease-out;
}

.archive-card:hover .archive-card__thumb img {
    transform: scale(1.06);
}

.archive-card__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(226, 232, 240, 1),
            rgba(226, 232, 240, 1) 10px,
            rgba(241, 245, 249, 1) 10px,
            rgba(241, 245, 249, 1) 20px
        );
    color: rgba(100, 116, 139, 1);
    font-size: 0.85rem;
}

/* ------------------------- CARD BODY ------------------------- */

.archive-card__body {
    padding: 0.9rem 1.0rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.archive-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 1);
}

.archive-card__bullet {
    opacity: 0.7;
}

.archive-card__title {
    margin: 0.05rem 0 0.1rem;
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--e-global-color-text, #0f172a);
}

.archive-card:hover .archive-card__title {
    color: var(--e-global-color-secondary, #4f46e5);
}

.archive-card__excerpt {
    margin: 0.1rem 0 0.4rem;
    font-size: 0.9rem;
    color: rgba(75, 85, 99, 1);
}

/* ------------------------- CARD FOOTER ------------------------- */

.archive-card__footer {
    margin-top: 0.35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.archive-card__readmore {
    font-size: 0.84rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--e-global-color-secondary, #4f46e5);
}

.archive-card__arrow {
    font-size: 0.95rem;
    transform: translateY(1px);
}

.archive-card__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem;
}

.archive-card__tag {
    font-size: 0.75rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(209, 213, 219, 1);
    color: rgba(100, 116, 139, 1);
    background: #f8fafc;
}

/* ------------------------- LOAD MORE BUTTON ------------------------- */

.archive-load-more-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.archive-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    background: linear-gradient(
        135deg,
        var(--e-global-color-secondary, #4f46e5),
        rgba(79, 70, 229, 0.9)
    );
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(79, 70, 229, 0.55);
    transition:
        background 0.18s ease-out,
        box-shadow 0.18s ease-out,
        transform 0.18s ease-out,
        opacity 0.18s ease-out;
}

.archive-load-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 48px rgba(79, 70, 229, 0.7);
}

.archive-load-more-btn.is-loading {
    opacity: 0.7;
    cursor: default;
}

/* ------------------------- EMPTY STATE ------------------------- */

.archive-empty {
    margin-top: 2rem;
    text-align: center;
    color: rgba(148, 163, 184, 1);
    font-size: 0.95rem;
}

/* ------------------------- RESPONSIVE ------------------------- */

@media (max-width: 1024px) {
    .archive-layout__inner {
        padding: 0 3vw;
        grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    }

    .archive-sidebar {
        top: 7.2rem;
    }
}

@media (max-width: 1200px) {
    .archive-grid--main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .archive-card--span-2,
    .archive-card--span-3 {
        grid-column: span 1;
    }
}

@media (max-width: 880px) {
    .archive-layout__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .archive-sidebar {
        position: static;
    }

    .archive-sidebar__panel {
        margin-bottom: 1.2rem;
    }

    .archive-grid--main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .archive-hero__inner,
    .archive-layout__inner {
        padding: 0 1.1rem;
    }

    .archive-grid--main {
        grid-template-columns: minmax(0, 1fr);
    }

    .archive-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .archive-card__tags {
        justify-content: flex-start;
    }
}