/* ==========================================================
   VALORESSENCE — SINGLE RECOMMANDATION
========================================================== */

.recommendation-single {
    background: #f7f3ee;

    color: #21130e;
}


/* ==========================================================
   HERO
========================================================== */

.recommendation-single__hero {
    padding: 28px 0 32px;

    background: #fff;
}


.recommendation-single__hero-inner {
    width: min(1180px, 100%);

    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(280px, .45fr);

    gap: 65px;

    align-items: stretch;

    margin: 0 auto;

    padding: 46px 46px 42px;

    overflow: hidden;

    border-top: 3px solid #df792a;
    border-radius: 12px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(223,121,42,.12),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #2a190f,
            #1b100b
        );

    color: #fff;
}


/* ==========================================================
   BADGES
========================================================== */

.recommendation-single__badges {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 25px;
}


.recommendation-single__badges > span {
    min-height: 28px;

    display: inline-flex;
    align-items: center;

    padding: 0 12px;

    border-radius: 30px;

    font-size: 8px;
    font-weight: 700;

    text-transform: uppercase;
}


.recommendation-single__type {
    background: #df792a;

    color: #21130e;
}


.recommendation-single__domain {
    border: 1px solid rgba(223,121,42,.42);

    background: rgba(223,121,42,.10);

    color: #ec9843;
}


.recommendation-single__urgency {
    border: 1px solid rgba(255,255,255,.16);

    color: #d9c9bf;
}


/* ==========================================================
   TITRE HERO
========================================================== */

.recommendation-single__hero h1 {
    max-width: 760px;

    margin: 0;

    color: #fff;

    font-size: clamp(38px, 4.2vw, 62px);
    line-height: 1.05;

    font-weight: 500;

    letter-spacing: -2.3px;
}


.recommendation-single__lead {
    max-width: 720px;

    margin: 25px 0 0;

    color: #cbbab0;

    font-size: 13px;
    line-height: 1.8;
}


.recommendation-single__date {
    margin-top: 30px;

    color: #88766b;

    font-size: 9px;

    text-transform: uppercase;
}


.recommendation-single__date strong {
    margin-left: 5px;

    color: #d8c7bb;

    font-weight: 500;
}


/* ==========================================================
   AUTEUR HERO
========================================================== */

.recommendation-single__author {
    display: flex;
    flex-direction: column;

    justify-content: center;

    padding-left: 32px;

    border-left:
        1px solid
        rgba(255,255,255,.10);
}


.recommendation-single__author-label {
    margin-bottom: 17px;

    color: #a9968a;

    font-size: 8px;
    font-weight: 600;

    text-transform: uppercase;
}


.recommendation-single__author-profile {
    display: flex;
    align-items: center;

    gap: 14px;

    color: #fff;
}


.recommendation-single__author-avatar {
    width: 54px;
    height: 54px;

    flex: 0 0 54px;

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

    border-radius: 50%;

    background: #df792a;

    color: #21130e;

    font-size: 16px;
    font-weight: 700;
}


.recommendation-single__author-profile strong,
.recommendation-single__author-profile small {
    display: block;
}


.recommendation-single__author-profile strong {
    margin-bottom: 4px;

    font-size: 13px;
}


.recommendation-single__author-profile small {
    color: #a9978c;

    font-size: 9px;
    line-height: 1.5;
}


.recommendation-single__author-link {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 25px;
    padding-top: 16px;

    border-top:
        1px solid
        rgba(255,255,255,.09);

    color: #df792a;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}


/* ==========================================================
   CONTENT
========================================================== */

.recommendation-single__content {
    padding: 0 0 35px;

    background: #f7f3ee;
}


.recommendation-single__layout {
    width: min(1180px, 100%);

    display: grid;

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

    gap: 28px;

    align-items: start;

    margin: 0 auto;
}


.recommendation-single__main {
    display: flex;
    flex-direction: column;

    gap: 25px;
}


/* ==========================================================
   BOXES
========================================================== */

.reco-single-box {
    overflow: hidden;

    border:
        1px solid
        rgba(42,25,15,.08);

    border-radius: 11px;

    background: #fff;

    box-shadow:
        0 14px 38px
        rgba(42,25,15,.055);
}


.reco-single-box__header {
    min-height: 78px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 19px 25px;

    border-top: 3px solid #df792a;

    background: #28170f;
}


.reco-single-box__header > span {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #df792a;

    color: #28170f;

    font-size: 9px;
    font-weight: 700;
}


.reco-single-box__header small,
.reco-single-box__header h2 {
    display: block;
}


.reco-single-box__header small {
    margin-bottom: 2px;

    color: #bc9f8d;

    font-size: 8px;

    text-transform: uppercase;
}


.reco-single-box__header h2 {
    margin: 0;

    color: #fff;

    font-size: 16px;
    font-weight: 600;
}


.reco-single-box__body {
    padding: 30px 27px;
}


/* ==========================================================
   CONTACT
========================================================== */

.reco-single-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}


.reco-single-contact__identity {
    display: flex;
    align-items: center;

    gap: 17px;
}


.reco-single-contact__avatar {
    width: 66px;
    height: 66px;

    flex: 0 0 66px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(223,121,42,.12);

    color: #df792a;

    font-size: 18px;
    font-weight: 700;
}


.reco-single-contact__identity h3 {
    margin: 0 0 5px;

    color: #21130e;

    font-size: 21px;
    font-weight: 700;
}


.reco-single-contact__identity strong {
    display: block;

    color: #df792a;

    font-size: 11px;
    font-weight: 700;
}


.reco-single-contact__identity span {
    display: block;

    margin-top: 5px;

    color: #817168;

    font-size: 11px;
}


.reco-single-contact__location {
    min-width: 160px;

    padding-left: 25px;

    border-left:
        1px solid
        #eee3db;
}


.reco-single-contact__location small,
.reco-single-contact__location strong {
    display: block;
}


.reco-single-contact__location small {
    margin-bottom: 6px;

    color: #a28f84;

    font-size: 8px;

    text-transform: uppercase;
}


.reco-single-contact__location strong {
    color: #21130e;

    font-size: 12px;
}


/* ==========================================================
   QUOTE
========================================================== */

.reco-single-quote {
    position: relative;

    margin: 0;

    padding: 7px 0 7px 48px;
}


.reco-single-quote > span {
    position: absolute;

    top: -13px;
    left: 0;

    color:
        rgba(223,121,42,.25);

    font-family: Georgia, serif;

    font-size: 70px;
    line-height: 1;
}


.reco-single-quote p {
    max-width: 730px;

    margin: 0;

    color: #574a42;

    font-size: 15px;
    line-height: 1.9;
}


/* ==========================================================
   TEXTE RECHERCHE
========================================================== */

.reco-single-search-text {
    max-width: 760px;

    color: #574a42;

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


/* ==========================================================
   SIDEBAR
========================================================== */

.recommendation-single__sidebar {
    position: sticky;

    top: 25px;

    display: flex;
    flex-direction: column;

    gap: 20px;
}


/* ==========================================================
   SUMMARY
========================================================== */

.reco-single-summary {
    overflow: hidden;

    border-top: 3px solid #df792a;
    border-radius: 10px;

    background: #28170f;

    color: #fff;
}


.reco-single-summary__title {
    padding: 22px 23px;

    border-bottom:
        1px solid
        rgba(255,255,255,.09);

    color: #fff;

    font-size: 14px;
    font-weight: 700;
}


.reco-single-summary__row {
    margin: 0 23px;
    padding: 18px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.075);
}


.reco-single-summary__row small {
    display: block;

    margin-bottom: 6px;

    color: #9d887c;

    font-size: 8px;
    font-weight: 600;

    text-transform: uppercase;
}


.reco-single-summary__row strong,
.reco-single-summary__row a {
    color: #fff;

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

    font-weight: 500;

    word-break: break-word;
}


.reco-single-summary__row a:hover {
    color: #df792a;
}


.reco-single-summary__accent {
    color: #df792a !important;
}


.reco-single-summary__footer {
    padding: 20px 23px;

    background:
        rgba(255,255,255,.025);
}


.reco-single-summary__footer span {
    color: #99877c;

    font-size: 9px;
    line-height: 1.6;
}


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

.reco-single-cta {
    padding: 25px 23px;

    border: 1px solid #dfd1c5;
    border-radius: 10px;

    background: #fff;
}


.reco-single-cta > span {
    display: block;

    margin-bottom: 8px;

    color: #df792a;

    font-size: 8px;
    font-weight: 700;

    text-transform: uppercase;
}


.reco-single-cta > strong {
    display: block;

    color: #21130e;

    font-size: 13px;
    line-height: 1.55;
}


.reco-single-cta > a {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 20px;
    padding: 0 15px;

    border-radius: 4px;

    background: #df792a;

    color: #21130e;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}


/* ==========================================================
   RETOUR
========================================================== */

.recommendation-single__back {
    padding: 10px 0 90px;

    background: #f7f3ee;
}


.recommendation-single__back > .container {
    width: min(1180px, 100%);

    margin: 0 auto;
}


.recommendation-single__back a {
    color: #7f7067;

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
}


.recommendation-single__back a:hover {
    color: #df792a;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 950px) {

    .recommendation-single__hero-inner {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .recommendation-single__author {
        padding-top: 27px;
        padding-left: 0;

        border-top:
            1px solid
            rgba(255,255,255,.10);

        border-left: 0;
    }


    .recommendation-single__layout {
        grid-template-columns: 1fr;
    }


    .recommendation-single__sidebar {
        position: static;

        display: grid;

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

}


@media (max-width: 700px) {

    .recommendation-single__hero {
        padding: 0 0 25px;
    }


    .recommendation-single__hero-inner {
        width: 100%;

        padding: 35px 20px;

        border-radius: 0;
    }


    .recommendation-single__hero h1 {
        font-size: 38px;

        letter-spacing: -1.3px;
    }


    .recommendation-single__layout {
        width: 100%;
    }


    .reco-single-contact {
        align-items: flex-start;
        flex-direction: column;
    }


    .reco-single-contact__location {
        width: 100%;

        padding-top: 20px;
        padding-left: 0;

        border-top: 1px solid #eee3db;
        border-left: 0;
    }


    .recommendation-single__sidebar {
        grid-template-columns: 1fr;
    }


    .reco-single-box__body {
        padding: 25px 20px;
    }

}

/* ==========================================================
   RÉPONDRE À UNE RECHERCHE
========================================================== */

.reco-single-box--match {
    border-color:
        rgba(223,121,42,.16);
}


/* INTRO */

.reco-match__intro {
    max-width: 670px;

    margin-bottom: 24px;
}


.reco-match__intro strong {
    display: block;

    margin-bottom: 7px;

    color: #21130e;

    font-size: 15px;
}


.reco-match__intro p {
    margin: 0;

    color: #7d6d64;

    font-size: 11px;
    line-height: 1.7;
}


/* SEARCH */

.reco-match-search {
    position: relative;
}


.reco-match-search__field {
    position: relative;
}


.reco-match-search__icon {
    position: absolute;

    top: 50%;
    left: 16px;

    transform:
        translateY(-50%);

    color: #df792a;

    font-size: 19px;

    pointer-events: none;
}


.reco-match-search__field input {
    width: 100%;
    height: 52px;

    padding:
        0 18px
        0 48px;

    border:
        1px solid
        #d9cbc1;

    border-radius: 5px;

    outline: none;

    background: #fff;

    color: #21130e;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 12px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.reco-match-search__field input:focus {
    border-color: #df792a;

    box-shadow:
        0 0 0 3px
        rgba(223,121,42,.09);
}


/* RESULTS */

.reco-match-search__results {
    display: none;

    margin-top: 8px;

    overflow: hidden;

    border:
        1px solid
        #dfd2c8;

    border-radius: 6px;

    background: #fff;

    box-shadow:
        0 15px 35px
        rgba(33,19,14,.10);
}


.reco-match-search__results.is-open {
    display: block;
}


.reco-match-result {
    width: 100%;

    display: grid;

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

    gap: 14px;

    align-items: center;

    padding: 14px 16px;

    border: 0;
    border-bottom:
        1px solid
        #eee4dc;

    background: #fff;

    color: #21130e;

    text-align: left;

    cursor: pointer;

    transition:
        background .15s ease;
}


.reco-match-result:last-child {
    border-bottom: 0;
}


.reco-match-result:hover {
    background: #fbf6f1;
}


.reco-match-result__avatar {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(223,121,42,.12);

    color: #df792a;

    font-size: 11px;
    font-weight: 700;
}


.reco-match-result__content strong,
.reco-match-result__content span,
.reco-match-result__content small {
    display: block;
}


.reco-match-result__content strong {
    margin-bottom: 3px;

    font-size: 12px;
}


.reco-match-result__content span {
    color: #df792a;

    font-size: 10px;
    font-weight: 600;
}


.reco-match-result__content small {
    margin-top: 3px;

    color: #8b7b72;

    font-size: 9px;
}


.reco-match-result__action {
    color: #df792a;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}


/* CREATE */

.reco-match__create {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 20px;
    padding-top: 20px;

    border-top:
        1px solid
        #eee3db;
}


.reco-match__create > span {
    color: #84756c;

    font-size: 10px;
}


.reco-match__create-button {
    min-height: 40px;

    padding: 0 15px;

    border:
        1px solid
        #df792a;

    border-radius: 4px;

    background: transparent;

    color: #df792a;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;

    cursor: pointer;
}


.reco-match__create-button:hover {
    background: #df792a;

    color: #21130e;
}


/* MOBILE */

@media (max-width: 650px) {

    .reco-match__create {
        align-items: stretch;
        flex-direction: column;
    }

    .reco-match__create-button {
        width: 100%;
    }

}

.reco-match-result.is-added {
    background: rgba(223,121,42,.08);
}

.reco-match-result.is-added
.reco-match-result__action {
    color: #8c4b19;
}

/* ==========================================================
   RECOMMANDATIONS RATTACHÉES
========================================================== */

.reco-match-attached {
    margin-top: 30px;
    padding-top: 27px;

    border-top: 1px solid #eee3db;
}


/* TITRE */

.reco-match-attached__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 17px;
}


.reco-match-attached__eyebrow {
    display: block;

    margin-bottom: 4px;

    color: #df792a;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .7px;
    text-transform: uppercase;
}


.reco-match-attached__heading h3 {
    margin: 0;

    color: #21130e;

    font-size: 16px;
    font-weight: 700;
}


.reco-match-attached__count {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #28170f;

    color: #df792a;

    font-size: 10px;
    font-weight: 700;
}


/* GRID */

.reco-match-attached__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 11px;
}


/* CARTE */

.reco-attached-card {
    position: relative;

    min-width: 0;
    min-height: 126px;

    display: grid;

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

    gap: 13px;

    align-items: center;

    padding: 17px;

    overflow: hidden;

    border: 1px solid #e6d9cf;
    border-radius: 7px;

    background: #fff;

    color: #21130e;

    text-decoration: none;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.reco-attached-card::before {
    content: "";

    position: absolute;

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

    height: 2px;

    background: #df792a;

    transform: scaleX(0);
    transform-origin: left;

    transition: transform .25s ease;
}


.reco-attached-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(223,121,42,.42);

    box-shadow:
        0 12px 30px
        rgba(42,25,15,.08);
}


.reco-attached-card:hover::before {
    transform: scaleX(1);
}


/* AVATAR */

.reco-attached-card__avatar {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(223,121,42,.11);

    color: #df792a;

    font-size: 11px;
    font-weight: 700;
}


/* CONTENU */

.reco-attached-card__content {
    min-width: 0;
}


.reco-attached-card__label {
    display: block;

    margin-bottom: 4px;

    color: #df792a;

    font-size: 7px;
    font-weight: 700;

    letter-spacing: .6px;
    text-transform: uppercase;
}


.reco-attached-card__content > strong {
    display: block;

    overflow: hidden;

    color: #21130e;

    font-size: 12px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.reco-attached-card__job {
    display: block;

    margin-top: 3px;

    overflow: hidden;

    color: #6d5b51;

    font-size: 9px;
    font-weight: 600;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.reco-attached-card__content small {
    display: block;

    margin-top: 2px;

    overflow: hidden;

    color: #9b887d;

    font-size: 8px;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.reco-attached-card__meta {
    display: block;

    margin-top: 7px;

    overflow: hidden;

    color: #aa978c;

    font-size: 7px;

    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}


/* FLÈCHE */

.reco-attached-card__arrow {
    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #f7f0ea;

    color: #df792a;

    font-size: 12px;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.reco-attached-card:hover
.reco-attached-card__arrow {
    transform: translateX(2px);

    background: #df792a;

    color: #21130e;
}


/* VIDE */

.reco-match-attached__empty {
    padding: 18px;

    border: 1px dashed #dfd1c6;
    border-radius: 6px;

    background: #fbf8f5;

    color: #9a887d;

    font-size: 10px;

    text-align: center;
}


/* ANIMATION APRÈS AJOUT */

@keyframes recoCardArrival {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.reco-attached-card.is-new {
    animation:
        recoCardArrival
        .35s ease both;
}


/* MOBILE */

@media (max-width: 650px) {

    .reco-match-attached__grid {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================
   POPUP — CRÉER UNE NOUVELLE RECOMMANDATION
========================================================== */

.reco-create-modal {
    position: fixed;
    inset: 0;

    z-index: 10000;

    display: none;

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

    padding: 35px 20px;

    overflow-y: auto;
}


.reco-create-modal.is-open {
    display: flex;
}


/* ==========================================================
   BACKDROP
========================================================== */

.reco-create-modal__backdrop {
    position: fixed;
    inset: 0;

    z-index: 0;

    background: rgba(28, 16, 11, .86);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}


/* ==========================================================
   FENÊTRE
========================================================== */

.reco-create-modal__dialog {
    position: relative;

    z-index: 1;

    width: min(900px, 100%);

    margin: auto;

    overflow: hidden;

    border-top: 3px solid #df792a;
    border-radius: 10px;

    background: #f8f4f0;

    box-shadow:
        0 35px 100px
        rgba(0, 0, 0, .34);
}


/* ==========================================================
   FERMER
========================================================== */

.reco-create-modal__close {
    position: absolute;

    top: 19px;
    right: 21px;

    z-index: 5;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;

    background: transparent;

    color: #fff;

    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.reco-create-modal__close:hover {
    transform: rotate(5deg);

    border-color: #df792a;

    background: rgba(223, 121, 42, .12);
}


/* ==========================================================
   HEADER
========================================================== */

.reco-create-modal__header {
    padding: 42px 52px 38px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(223, 121, 42, .13),
            transparent 30%
        ),
        #21130e;

    color: #fff;
}


.reco-create-modal__header > span {
    display: block;

    margin-bottom: 11px;

    color: #df792a;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .07em;

    text-transform: uppercase;
}


.reco-create-modal__header h2 {
    margin: 0 0 14px;

    color: #fff;

    font-size: clamp(36px, 4vw, 50px);
    line-height: 1;

    font-weight: 300;

    letter-spacing: -1.5px;
}


.reco-create-modal__header h2 em {
    color: #df792a;

    font-weight: 300;
}


.reco-create-modal__header p {
    max-width: 620px;

    margin: 0;

    color: #c6b7ad;

    font-size: 11px;
    line-height: 1.7;
}


/* ==========================================================
   FORM
========================================================== */

.reco-create-match-form {
    padding: 0 52px;

    background: #f8f4f0;
}


/* ==========================================================
   SECTION
========================================================== */

.reco-create-match-section {
    display: grid;

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

    gap: 21px;

    padding: 31px 0;

    border-bottom: 1px solid #e5d8ce;
}


.reco-create-match-section > div {
    min-width: 0;
}


.reco-create-match-section__number {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(223, 121, 42, .4);
    border-radius: 50%;

    color: #df792a;

    font-size: 9px;
    font-weight: 700;
}


/* ==========================================================
   TITRE DE SECTION
========================================================== */

.reco-create-match-section__title {
    margin-bottom: 21px;
}


.reco-create-match-section__title strong,
.reco-create-match-section__title small {
    display: block;
}


.reco-create-match-section__title strong {
    margin-bottom: 4px;

    color: #21130e;

    font-size: 14px;
    font-weight: 700;
}


.reco-create-match-section__title small {
    color: #8d7b70;

    font-size: 10px;
    line-height: 1.5;
}


/* ==========================================================
   GRID
========================================================== */

.reco-create-match-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.reco-create-match-field {
    display: block;

    min-width: 0;

    margin-top: 17px;
}


.reco-create-match-grid
.reco-create-match-field {
    margin-top: 0;
}


.reco-create-match-field--full {
    grid-column: 1 / -1;
}


/* ==========================================================
   LABEL
========================================================== */

.reco-create-match-field > span {
    display: block;

    margin-bottom: 7px;

    color: #39251c;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .025em;

    text-transform: uppercase;
}


/* ==========================================================
   INPUTS
========================================================== */

.reco-create-match-field input,
.reco-create-match-field select,
.reco-create-match-field textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid #d8cac0;
    border-radius: 4px;

    outline: none;

    background: #fff;

    color: #21130e;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.reco-create-match-field input,
.reco-create-match-field select {
    height: 46px;

    padding: 0 13px;
}


.reco-create-match-field textarea {
    min-height: 108px;

    padding: 13px;

    resize: vertical;

    line-height: 1.6;
}


.reco-create-match-field input:focus,
.reco-create-match-field select:focus,
.reco-create-match-field textarea:focus {
    border-color: #df792a;

    box-shadow:
        0 0 0 3px
        rgba(223, 121, 42, .08);
}


.reco-create-match-field input::placeholder,
.reco-create-match-field textarea::placeholder {
    color: #b4a49a;
}


/* ==========================================================
   TÉLÉPHONE INTERNATIONAL
========================================================== */

.reco-create-match-field--phone .iti {
    width: 100%;
}


.reco-create-match-field--phone input[type="tel"] {
    width: 100%;
    height: 46px;

    box-sizing: border-box;
}


.reco-create-match-field--phone .iti__dropdown-content {
    min-width: 320px;

    border: 1px solid #d9cbc1;
    border-radius: 5px;

    background: #fff;

    box-shadow:
        0 15px 35px
        rgba(33, 19, 14, .14);
}


.reco-create-match-field--phone .iti__search-input {
    width: calc(100% - 20px) !important;
    height: 40px !important;

    margin: 10px !important;

    padding:
        0 12px
        0 32px !important;

    box-sizing: border-box !important;

    border: 1px solid #d9cbc1 !important;
    border-radius: 4px !important;

    background: #fff !important;

    color: #21130e !important;

    font-family: "Montserrat", sans-serif !important;
    font-size: 11px !important;
}


.reco-create-match-field--phone .iti__country {
    min-height: 38px;

    padding: 7px 11px;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
}


.reco-create-match-field--phone .iti__country:hover,
.reco-create-match-field--phone .iti__country.iti__highlight {
    background: rgba(223, 121, 42, .08);
}


.reco-phone-help {
    display: block;

    min-height: 14px;

    margin-top: 6px;

    color: #a64e2d;

    font-size: 9px;
}


/* ==========================================================
   MESSAGE
========================================================== */

.reco-create-match-message {
    display: none;

    margin-top: 24px;
    padding: 13px 15px;

    border-radius: 4px;

    font-size: 10px;
    line-height: 1.5;
}


.reco-create-match-message.is-success {
    display: block;

    border: 1px solid rgba(223, 121, 42, .25);

    background: rgba(223, 121, 42, .09);

    color: #884818;
}


.reco-create-match-message.is-error {
    display: block;

    border: 1px solid rgba(135, 49, 35, .20);

    background: rgba(135, 49, 35, .07);

    color: #813b2e;
}


/* ==========================================================
   FOOTER
========================================================== */

.reco-create-match-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 27px 0 34px;
}


.reco-create-match-footer > span {
    max-width: 330px;

    color: #8d7c72;

    font-size: 9px;
    line-height: 1.5;
}


.reco-create-match-footer button {
    min-width: 225px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 0 18px;

    border: 0;
    border-radius: 4px;

    background: #df792a;

    color: #21130e;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}


.reco-create-match-footer button:hover {
    transform: translateY(-1px);

    background: #e58939;
}


.reco-create-match-footer button:disabled {
    opacity: .6;

    cursor: wait;

    transform: none;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 700px) {

    .reco-create-modal {
        padding: 12px;
    }


    .reco-create-modal__dialog {
        border-radius: 6px;
    }


    .reco-create-modal__header {
        padding:
            36px
            22px
            30px;
    }


    .reco-create-match-form {
        padding:
            0
            22px;
    }


    .reco-create-match-section {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .reco-create-match-grid {
        grid-template-columns: 1fr;
    }


    .reco-create-match-field--full {
        grid-column: auto;
    }


    .reco-create-match-footer {
        align-items: stretch;
        flex-direction: column;
    }


    .reco-create-match-footer button {
        width: 100%;
    }

}

.reco-single-phone {
    font-variant-numeric: tabular-nums;
    letter-spacing: .025em;
    white-space: nowrap;
}

/* ==========================================================
   BOUTON MODIFIER MA PUBLICATION
========================================================== */

.recommendation-single__edit {
    width: 100%;
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-top: 14px;
    padding: 14px 0 0;

    border: 0;
    border-top: 1px solid rgba(255,255,255,.09);
    border-radius: 0;

    background: transparent;

    color: #df792a;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: .03em;
    text-align: left;
    text-transform: uppercase;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        color .2s ease,
        padding-left .2s ease;
}


.recommendation-single__edit span {
    width: 26px;
    height: 26px;

    flex: 0 0 26px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(223,121,42,.28);
    border-radius: 50%;

    color: #df792a;

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

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.recommendation-single__edit:hover {
    padding-left: 4px;

    color: #f19a4f;
}


.recommendation-single__edit:hover span {
    transform: translateX(2px);

    background: #df792a;

    color: #21130e;
}