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

.campaign-header {

    position: relative;

    z-index: 20;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    width: 100%;

    min-height: 78px;

    padding: 8px 22px;

    box-sizing: border-box;

    background:
        linear-gradient(
            180deg,
            rgba(20, 18, 15, .98),
            rgba(13, 12, 10, .98)
        );

    border-bottom:
        1px solid rgba(190, 160, 95, .30);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .38);

}


/* ==========================================================
   GAUCHE
   ========================================================== */

.campaign-header-left {

    display: flex;

    align-items: center;

    gap: 20px;

    flex-shrink: 0;

}


/* ==========================================================
   LOGO
   ========================================================== */

.campaign-header-logo {

    display: flex;

    align-items: center;

    width: 175px;

    flex-shrink: 0;

    text-decoration: none;

}

.campaign-header-logo img {

    display: block;

    width: 100%;

    height: auto;

    max-height: 58px;

    object-fit: contain;

    object-position: left center;

}


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

.campaign-header-back {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    height: 38px;

    padding: 0 13px;

    box-sizing: border-box;

    border:
        1px solid rgba(190, 160, 95, .22);

    border-radius: 7px;

    background:
        rgba(190, 160, 95, .04);

    color: #a69d8e;

    font-family: "Cinzel", serif;

    font-size: .65rem;

    text-decoration: none;

    white-space: nowrap;

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

}

.campaign-header-back:hover {

    background:
        rgba(190, 160, 95, .10);

    border-color:
        rgba(190, 160, 95, .45);

    color: #d8c28f;

    transform: translateX(-1px);

}

.campaign-header-back-icon {

    color: #bea05f;

    font-size: 1rem;

}


/* ==========================================================
   CAMPAGNE
   ========================================================== */

.campaign-header-campaign {

    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 220px;

    margin-left: 25px;

    padding: 0 25px;

}

.campaign-header-campaign-kicker {

    margin-bottom: 3px;

    color: #bea05f;

    font-size: .58rem;

    font-weight: 600;

    letter-spacing: .18em;

}

.campaign-header-campaign-name {

    overflow: hidden;

    color: #eee6d8;

    font-family: "Cinzel", serif;

    font-size: 1.35rem;

    font-weight: 400;

    line-height: 1.2;

    text-overflow: ellipsis;

    white-space: nowrap;

}


/* ==========================================================
   TOUR
   ========================================================== */

.campaign-header-turn {

    position: relative;

    display: flex;

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

    width: 82px;
    height: 68px;

    flex-shrink: 0;

}

.campaign-header-turn img {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;

    opacity: .95;

}

.campaign-header-turn-content {

    position: relative;

    z-index: 1;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    margin-top: 1px;

}

.campaign-header-turn-label {

    color: #d8b36a;

    font-size: .47rem;

    letter-spacing: .20em;

    line-height: 1;

}

.campaign-header-turn-number {

    margin-top: 2px;

    color: #f4ead7;

    font-family: "Cinzel", serif;

    font-size: 1.55rem;

    font-weight: 400;

    line-height: 1;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, .80);

}


/* ==========================================================
   STATISTIQUES
   ========================================================== */

.campaign-header-stats {

    display: flex;

    align-items: stretch;

    margin-left: 20px;

    border-left:
        1px solid rgba(190, 160, 95, .18);

}


.campaign-header-stat {

    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 95px;

    padding: 0 15px;

    border-right:
        1px solid rgba(190, 160, 95, .12);

}


.campaign-header-stat-icon {

    color: #bea05f;

    font-size: 1.05rem;

    line-height: 1;

}


.campaign-header-stat-content {

    display: flex;

    flex-direction: column;

    gap: 2px;

}


.campaign-header-stat-content strong {

    color: #eee6d8;

    font-family: "Cinzel", serif;

    font-size: 1.05rem;

    font-weight: 400;

    line-height: 1;

}


.campaign-header-stat-content strong small {

    color: #777167;

    font-family: inherit;

    font-size: .72rem;

}


.campaign-header-stat-content span {

    color: #817a70;

    font-size: .57rem;

    text-transform: uppercase;

    letter-spacing: .08em;

}


/* ==========================================================
   ACTION
   ========================================================== */

.campaign-header-actions {
    margin-left: auto;
    flex-shrink: 0;
}


.campaign-header-finish {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 42px;

    padding: 0 18px;

    border:
        1px solid rgba(190, 160, 95, .65);

    border-radius: 7px;

    background:
        linear-gradient(
            180deg,
            #8f6b32,
            #6e4e20
        );

    color: #f4e7cc;

    font-family: "Cinzel", serif;

    font-size: .65rem;

    letter-spacing: .04em;

    cursor: pointer;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .25);

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

}


.campaign-header-finish:hover {

    background:
        linear-gradient(
            180deg,
            #a98240,
            #805e29
        );

    border-color:
        #d8b36a;

    box-shadow:
        0 7px 20px rgba(0, 0, 0, .35);

    transform:
        translateY(-1px);

}


.campaign-header-finish-icon {

    font-size: .9rem;

}


/* ==========================================================
   RESPONSIVE — 1100 PX
   ========================================================== */

@media (max-width: 1100px) {

    .campaign-header {

        padding: 8px 15px;

    }

    .campaign-header-logo {

        width: 145px;

    }

    .campaign-header-left {

        gap: 10px;

    }

    .campaign-header-back span:last-child {

        display: none;

    }

    .campaign-header-back {

        width: 38px;

        padding: 0;

        justify-content: center;

    }

    .campaign-header-campaign {

        padding: 0 15px;

    }

    .campaign-header-stat {

        min-width: 75px;

        padding: 0 10px;

    }

    .campaign-header-stat-icon {

        display: none;

    }

    .campaign-header-finish {

        padding: 0 12px;

    }

}


/* ==========================================================
   RESPONSIVE — 800 PX
   ========================================================== */

@media (max-width: 800px) {

    .campaign-header-campaign-kicker {

        display: none;

    }

    .campaign-header-campaign-name {

        font-size: 1.05rem;

    }

    .campaign-header-stat:nth-child(3) {

        display: none;

    }

    .campaign-header-stat {

        min-width: 70px;

    }

}


/* ==========================================================
   RESPONSIVE — MOBILE
   ========================================================== */

@media (max-width: 600px) {

    .campaign-header {

        min-height: 62px;

        padding: 6px 10px;

    }

    .campaign-header-logo {

        width: 115px;

    }

    .campaign-header-left {

        gap: 6px;

    }

    .campaign-header-campaign {

        min-width: 0;

        padding: 0 8px;

    }

    .campaign-header-campaign-name {

        max-width: 130px;

        font-size: .85rem;

    }

    .campaign-header-turn {

        width: 60px;
        height: 55px;

    }

    .campaign-header-turn-number {

        font-size: 1.25rem;

    }

    .campaign-header-stats {

        display: none;

    }

    .campaign-header-actions {

        margin-left: auto;

    }

    .campaign-header-finish {

        width: 40px;

        min-height: 40px;

        padding: 0;

    }

    .campaign-header-finish span:last-child {

        display: none;

    }

}