.rl-rec-lab {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 0 70px;
}

.rl-rec-lab-header {
    max-width: 850px;
    margin-bottom: 38px;
}

.rl-rec-lab-kicker {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    color: #69717c;
}

.rl-rec-lab-header h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.04;
}

.rl-rec-lab-header p {
    max-width: 780px;
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
}

.rl-rec-lab-notice {
    display: inline-block;
    margin-top: 20px;
    padding: 9px 13px;
    border-radius: 8px;
    background: #eef1f4;
    font-size: 13px;
    font-weight: 700;
    color: #59616a;
}

.rl-rec-lab-tools {
    padding: 24px;
    margin-bottom: 26px;
    background: #f3f4f5;
    border: 1px solid #e1e3e6;
    border-radius: 16px;
}

.rl-rec-search-wrap label,
.rl-rec-filters label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 800;
}

#rl-rec-search,
.rl-rec-filters select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cfd3d7;
    border-radius: 9px;
    background: #fff;
    padding: 0 14px;
    font: inherit;
}

#rl-rec-search {
    font-size: 16px;
}

.rl-rec-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.rl-rec-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 10px 0 18px;
}

.rl-rec-reset {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline;
}

.rl-rec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.rl-rec-card {
    display: flex;
    flex-direction: column;
    min-height: 285px;
    padding: 25px;
    border: 1px solid #dadde1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .035);
}

.rl-rec-card[hidden] {
    display: none !important;
}

.rl-rec-juridiction {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .045em;
}

.rl-rec-chambre {
    margin-top: 4px;
    color: #737b84;
    font-size: 13px;
}

.rl-rec-card h2 {
    margin: 22px 0 5px;
    font-size: 26px;
    line-height: 1.15;
}

.rl-rec-reference {
    font-weight: 700;
    color: #5d6570;
}

.rl-rec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.rl-rec-tags span {
    padding: 6px 9px;
    border-radius: 999px;
    background: #eef0f2;
    font-size: 12px;
    font-weight: 700;
}

.rl-rec-empty {
    padding: 50px 20px;
    text-align: center;
    border: 1px dashed #cbd0d4;
    border-radius: 14px;
    background: #fafafa;
    font-weight: 700;
}

@media (max-width: 800px) {

    .rl-rec-filters {
        grid-template-columns: 1fr;
    }

    .rl-rec-grid {
        grid-template-columns: 1fr;
    }

    .rl-rec-card {
        min-height: 0;
    }
}

/* ==========================================================
   RL JURISPRUDENCE LAB — AUTOCOMPLETION
   ========================================================== */

.rl-rec-autocomplete-wrap {
    position: relative;
}

.rl-rec-suggestions {
    position: absolute;
    z-index: 50;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    overflow: hidden;
    border: 1px solid #cfd3d7;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.rl-rec-suggestions[hidden] {
    display: none !important;
}

.rl-rec-suggestion {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid #eceef0;
    background: #fff;
    text-align: left;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.rl-rec-suggestion:last-child {
    border-bottom: 0;
}

.rl-rec-suggestion:hover,
.rl-rec-suggestion.is-active {
    background: #f0f2f4;
}

.rl-rec-suggestion:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
}

/* FIN RL JURISPRUDENCE LAB — AUTOCOMPLETION */

/* ==========================================================

/* ==========================================================

/* ==========================================================

/* ==========================================================
   RL — ACCES BASE DE JURISPRUDENCE
   ========================================================== */

.rl-jurisprudence-base-entry {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: center;
    gap: 26px;
    margin: 38px 0;
    padding: 28px 30px;
    border: 1px solid #dadddf;
    border-radius: 18px;
    background: #f4f5f6;
}

.rl-jurisprudence-base-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rl-jurisprudence-base-icon img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.rl-jurisprudence-base-content {
    min-width: 0;
}

.rl-jurisprudence-base-entry h2 {
    margin: 0 0 10px;
}

.rl-jurisprudence-base-entry p {
    max-width: 760px;
}

.rl-jurisprudence-base-entry p:last-child {
    margin-bottom: 0;
}

.rl-jurisprudence-base-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 9px;
    background: #20262d;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.rl-jurisprudence-base-button:hover,
.rl-jurisprudence-base-button:focus {
    color: #fff;
    text-decoration: underline;
}


/* MOBILE */

@media (max-width: 700px) {

    .rl-jurisprudence-base-entry {
        display: block;
        margin: 30px 0;
        padding: 24px;
    }

    .rl-jurisprudence-base-icon {
        justify-content: flex-start;
        margin-bottom: 16px;
    }

    .rl-jurisprudence-base-icon img {
        width: 64px;
        height: 64px;
    }

    .rl-jurisprudence-base-entry h2 {
        margin-bottom: 12px;
    }

    .rl-jurisprudence-base-entry p {
        max-width: none;
    }

    .rl-jurisprudence-base-button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* FIN RL — ACCES BASE DE JURISPRUDENCE */

/* =========================================================
   RL ACTIONS JURISPRUDENCE — BLOC CANONIQUE 20260905
   ========================================================= */

.rl-rec-card-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
    margin-top: 18px;
}

/* Chronologie : action principale */
.rl-rec-card-actions .rl-rec-chronology {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 9px 15px;
    margin: 0;
    border: 1px solid #17324d;
    border-radius: 999px;
    background: #17324d;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.rl-rec-card-actions .rl-rec-chronology:hover,
.rl-rec-card-actions .rl-rec-chronology:focus {
    background: #ffffff;
    color: #17324d;
    text-decoration: none;
}

/* Source officielle : action documentaire secondaire */
.rl-rec-card-actions .rl-rec-source:not(.rl-rec-chronology) {
    display: inline-flex;
    align-items: center;
    width: auto;
    gap: 5px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #526579;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.rl-rec-card-actions .rl-rec-source:not(.rl-rec-chronology):hover,
.rl-rec-card-actions .rl-rec-source:not(.rl-rec-chronology):focus {
    color: #17324d;
}

/* FIN RL ACTIONS JURISPRUDENCE — BLOC CANONIQUE 20260905 */


/* RL TABLEAU RECHERCHE JURISPRUDENCE — DEBUT */

.rl-rec-search-results[hidden],
.rl-rec-grid[hidden] {
    display: none !important;
}

.rl-rec-results-table {
    width: 100%;
    overflow: hidden;
    border: 1px solid #dadddf;
    border-radius: 16px;
    background: #ffffff;
}

.rl-rec-results-row {
    display: grid;
    grid-template-columns:
        minmax(180px, 1.1fr)
        minmax(110px, .65fr)
        minmax(320px, 2.2fr)
        minmax(150px, 1fr)
        minmax(155px, .9fr);
    align-items: stretch;
}

.rl-rec-results-row + .rl-rec-results-row {
    border-top: 1px solid #e1e4e7;
}

.rl-rec-results-header {
    background: #f1f3f4;
}

.rl-rec-results-heading {
    padding: 15px 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
    color: #56606b;
}

.rl-rec-result-cell {
    min-width: 0;
    padding: 19px 16px;
    font-size: 14px;
    line-height: 1.55;
}

.rl-rec-result-decision strong,
.rl-rec-result-decision small,
.rl-rec-result-decision span {
    display: block;
}

.rl-rec-result-decision strong {
    font-size: 14px;
    line-height: 1.35;
}

.rl-rec-result-decision small {
    margin-top: 4px;
    color: #727b85;
}

.rl-rec-result-decision span {
    margin-top: 8px;
    font-weight: 700;
    color: #52606d;
}

.rl-rec-result-date {
    font-weight: 700;
}

.rl-rec-result-excerpt {
    font-size: 15px;
    line-height: 1.65;
    color: #27313b;
}

.rl-rec-result-excerpt mark {
    padding: 1px 3px;
    border-radius: 4px;
    background: #fff0a8;
    color: inherit;
    font-weight: 800;
}

.rl-rec-index-match {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 11px 13px;
    border-left: 4px solid #718a91;
    border-radius: 7px;
    background: #f5f7f8;
}

.rl-rec-index-match strong {
    font-size: 13px;
}

.rl-rec-index-match span {
    color: #5d6670;
    font-size: 13px;
}

.rl-rec-result-themes {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 6px;
}

.rl-rec-result-themes span {
    display: inline-flex;
    width: fit-content;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef0f2;
    font-size: 11px;
    font-weight: 700;
}

.rl-rec-result-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.rl-rec-result-chronology {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #17324d;
    border-radius: 999px;
    background: #17324d;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.rl-rec-result-chronology:hover,
.rl-rec-result-chronology:focus {
    background: #ffffff;
    color: #17324d;
    text-decoration: none;
}

.rl-rec-result-source {
    color: #526579;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.rl-rec-result-source:hover,
.rl-rec-result-source:focus {
    color: #17324d;
}


/* MOBILE : une ligne devient une carte */

@media (max-width: 800px) {

    .rl-rec-results-table {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .rl-rec-results-header {
        display: none;
    }

    .rl-rec-results-row {
        display: block;
        margin-bottom: 18px;
        padding: 20px;
        border: 1px solid #dadddf;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 5px 20px rgba(0, 0, 0, .035);
    }

    .rl-rec-results-row + .rl-rec-results-row {
        border-top: 1px solid #dadddf;
    }

    .rl-rec-result-cell {
        padding: 0;
        margin-top: 18px;
    }

    .rl-rec-result-cell:first-child {
        margin-top: 0;
    }

    .rl-rec-result-cell::before {
        display: block;
        margin-bottom: 5px;
        content: attr(data-label);
        color: #6b747d;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .075em;
        text-transform: uppercase;
    }

    .rl-rec-result-excerpt {
        padding: 14px 0;
        border-top: 1px solid #eceef0;
        border-bottom: 1px solid #eceef0;
    }

    .rl-rec-result-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

/* RL TABLEAU RECHERCHE JURISPRUDENCE — FIN */


/* ==========================================================
   RL JURISPRUDENCE REFERENCE CANONIQUE — 20260909
   Namespace autonome : rl-juris-ref
   ========================================================== */

.rl-rec-ref {
    position: relative;

    display: grid;

    grid-template-columns:
        118px
        minmax(0, 1fr);

    align-items: center;

    gap: 32px;

    margin: 48px 0;

    padding: 34px 38px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #F7FAFC 0%,
            #EEF3F7 100%
        );

    border: 1px solid #D4DFE6;
    border-radius: 18px;

    box-shadow:
        0 10px 28px
        rgba(38, 52, 62, .065);
}


/* Trait supérieur */

.rl-rec-ref::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background: #829AA9;
}


/* ==========================================================
   VISUEL
   ========================================================== */

.rl-rec-ref__visual {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 0;
}


.rl-rec-ref__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 104px;
    height: 104px;

    background: rgba(255,255,255,.88);

    border: 1px solid #D8E2E8;
    border-radius: 21px;

    box-shadow:
        0 7px 18px
        rgba(38, 52, 62, .055);
}


.rl-rec-ref__icon img {
    display: block;

    width: 73px;
    height: 73px;

    object-fit: contain;
}


/* ==========================================================
   CONTENU
   ========================================================== */

.rl-rec-ref__content {
    display: block;

    min-width: 0;
    width: 100%;
}


.rl-rec-ref__kicker {
    display: block;

    margin: 0 0 8px;

    color: #718A9A;

    font-size: 11px;
    line-height: 1.2;

    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.rl-rec-ref__title {
    max-width: 940px;

    margin: 0 0 12px !important;

    color: #26343E;

    font-size:
        clamp(
            30px,
            2.8vw,
            40px
        ) !important;

    line-height: 1.12 !important;

    font-weight: 760;

    letter-spacing: -.035em;
}


.rl-rec-ref__lead {
    max-width: 940px !important;

    margin: 0 0 8px !important;

    color: #26343E;

    font-size: 17px;
    line-height: 1.55;

    font-weight: 600;
}


.rl-rec-ref__description {
    max-width: 940px !important;

    margin: 0 !important;

    color: #66737C;

    font-size: 14px;
    line-height: 1.62;
}


/* ==========================================================
   REPERES COMPACTS
   ========================================================== */

.rl-rec-ref__meta {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    margin: 20px 0 18px;
}


.rl-rec-ref__meta-item {
    display: inline-flex;

    align-items: baseline;

    gap: 6px;

    min-width: 0;

    padding: 9px 13px;

    background: rgba(255,255,255,.82);

    border: 1px solid #D7E1E7;
    border-radius: 999px;

    white-space: nowrap;
}


.rl-rec-ref__meta-item strong {
    color: #26343E;

    font-size: 13.5px;
    line-height: 1.2;

    font-weight: 800;
}


.rl-rec-ref__meta-item span {
    color: #71808A;

    font-size: 12px;
    line-height: 1.2;
}


/* ==========================================================
   CTA
   ========================================================== */

.rl-rec-ref__cta {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 14px;

    width: auto !important;
    max-width: 100%;

    min-height: 48px !important;

    box-sizing: border-box;

    margin: 0 !important;

    padding:
        11px
        18px !important;

    background: #26343E !important;

    color: #FFFFFF !important;

    border: 1px solid #26343E;
    border-radius: 9px;

    box-shadow:
        0 5px 14px
        rgba(38, 52, 62, .10);

    text-decoration: none !important;

    text-align: center;

    font-size: 14px;
    line-height: 1.25 !important;

    font-weight: 800;

    transition:
        background .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}


.rl-rec-ref__cta::after {
    content: "→";

    display: inline-block;

    margin-left: 2px;

    color: #FFFFFF;

    font-size: 19px;
    line-height: 1;

    font-weight: 400;
}


.rl-rec-ref__cta:hover,
.rl-rec-ref__cta:focus {
    background: #1D2A33 !important;

    color: #FFFFFF !important;

    text-decoration: none !important;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px
        rgba(38, 52, 62, .14);
}


/* ==========================================================
   TABLETTE
   ========================================================== */

@media (max-width: 900px) {

    .rl-rec-ref {
        grid-template-columns:
            90px
            minmax(0, 1fr);

        gap: 24px;

        padding: 30px;
    }


    .rl-rec-ref__icon {
        width: 82px;
        height: 82px;

        border-radius: 17px;
    }


    .rl-rec-ref__icon img {
        width: 58px;
        height: 58px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

    .rl-rec-ref {
        display: block;

        margin: 36px 0;

        padding: 27px 22px;

        border-radius: 14px;
    }


    .rl-rec-ref__visual {
        justify-content: flex-start;

        margin-bottom: 17px;
    }


    .rl-rec-ref__icon {
        width: 70px;
        height: 70px;

        border-radius: 14px;
    }


    .rl-rec-ref__icon img {
        width: 50px;
        height: 50px;
    }


    .rl-rec-ref__title {
        font-size: 28px !important;
    }


    .rl-rec-ref__lead {
        font-size: 16px;
    }


    .rl-rec-ref__meta {
        align-items: stretch;

        margin: 18px 0;
    }


    .rl-rec-ref__meta-item {
        white-space: normal;
    }


    .rl-rec-ref__cta {
        width: 100% !important;
    }

}

/* FIN RL JURISPRUDENCE REFERENCE CANONIQUE — 20260909 */




/* ==========================================================
   RETRAIT LITIGIEUX — SECOND MOTEUR
   219 DECISIONS RECENSEES
   ========================================================== */

.rl-rec-secondary-engine {
    margin-top: 68px;
    padding-top: 58px;
    border-top: 1px solid #dfe3e6;
}

.rl-rec-secondary-header {
    max-width: 850px;
    margin-bottom: 38px;
}

.rl-rec-secondary-header h2 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.08;
}

.rl-rec-secondary-header p {
    max-width: 780px;
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
}

.rl-rec-summary {
    margin: 16px 0 0;
    padding-top: 15px;
    border-top: 1px solid #e4e6e8;
    font-size: 15px;
    line-height: 1.6;
}

.rl-rec-creditor {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #53656a;
}

.rl-rec-territory {
    margin-top: 3px;
    font-size: 13px;
    color: #737b84;
}

.rl-rec-reference {
    margin-bottom: 10px;
}

.rl-rec-card-actions {
    margin-top: 18px;
}

.rl-rec-card-actions .rl-rec-source {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 760px) {

    .rl-rec-secondary-engine {
        margin-top: 46px;
        padding-top: 42px;
    }

    .rl-rec-secondary-header h2 {
        font-size: 30px;
    }

    .rl-rec-secondary-header p {
        font-size: 16px;
    }
}



/* RL-REC-FILTER-TABLE-V2-START
   Les 219 cartes restent une source documentaire interne.
   Aucun résultat n'est affiché avant recherche ou filtrage.
*/
#decisions-recensees .rl-rec-results-head[hidden],
#decisions-recensees .rl-rec-search-results[hidden],
#decisions-recensees .rl-rec-grid[hidden],
#decisions-recensees .rl-rec-empty[hidden] {
    display: none !important;
}
/* RL-REC-FILTER-TABLE-V2-END */
