﻿.foire-page-intro h1 span {
    display: block;
    max-width: 1080px;
    margin-inline: auto;
}

.foire-detail--main {
    padding-top: 72px;
}

.foire-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.94fr);
    gap: 24px;
    align-items: center;
}

.foire-detail__copy {
    display: grid;
    gap: 10px;
}

.foire-detail__block {
    display: grid;
    gap: 15px;
}

.foire-detail__block h2 {
    margin: 0;
    font-weight: 700;
    font-size: 32px;
    color: #154420;
}

.foire-detail__subblock {
    display: grid;
    gap: 12px;
}

.foire-detail__subblock h3 {
    margin: 0;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    color: #000000;
}

.foire-detail__subblock ul,
.foire-panel ul,
.foire-panel ol {
    margin: 0;
    padding-left: 22px;
    display: grid;
    gap: 5px;
}

.foire-detail__subblock ul li,
.foire-panel ul li,
.foire-panel ol li {
    list-style: disc;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 14px;
}

.foire-detail__subblock li strong,
.foire-panel li strong,
.foire-panel__discount strong {
    font-weight: 800;
}

.foire-detail__helmet {
    justify-self: center;
    width: min(78%, 520px);
    margin-top: -8px;
}

.foire-detail__helmet img {
    display: block;
    width: 100%;
    height: auto;
}

.foire-panel {
    display: grid;
    gap: 26px;
    padding: 34px 30px;
    border-radius: 25px;
    color: #ffffff;
    background: linear-gradient(136.73deg, #154420 43.09%, #921913 134.52%);
    height: 100%;
}

.foire-panel__section {
    display: grid;
    gap: 18px;
}

.foire-panel h2 {
    margin: 0;
    font-size: 32px;
    color: #FFFFFF;
    font-weight: 700;
}

.foire-detail p {
    font-size: 14px;
}

.foire-panel h2 span {
    color: #ffcb05;
}

.foire-panel li,
.foire-panel p {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
}

.foire-panel__cta,
.foire-panel__secondary-cta {
    justify-self: center;
    min-width: 250px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    backdrop-filter: blur(8px);
    font-weight: 800;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    transition: background 0.3s, color 0.3s;
}

.foire-panel__secondary-cta {
    text-decoration: underline;
}

.foire-panel__cta:hover,
.foire-panel__secondary-cta:hover {
    background: #ffffff;
    color: #154420;
}

.foire-panel__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.26);
}

.foire-panel__discount {
    color: #ffcb05;
}

@media (max-width: 1180px) {
    .foire-detail__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .foire-detail--main {
        padding-top: 58px;
    }

    .foire-detail__grid,
    .foire-detail__copy,
    .foire-detail__block {
        gap: 24px;
    }

    .foire-detail__block h2,
    .foire-panel h2 {
        font-size: 1.8rem;
    }

    .foire-panel {
        padding: 28px 22px;
        border-radius: 26px;
    }

    .foire-detail__helmet {
        width: min(92%, 420px);
    }

    .foire-panel__cta,
    .foire-panel__secondary-cta {
        width: 100%;
    }

    .foire-panel__cta,
    .foire-panel__secondary-cta {
        padding: 15px 20px;
    }

    .foire-detail__subblock ul,
    .foire-panel ul,
    .foire-panel ol {
        gap: 20px;
    }
}