﻿/* ========================================= */
/* ================ Tombola ================ */
/* ========================================= */
.tombola-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.tombola-intro p {
    margin: 0.75rem 0;
    color: var(--oc-color-text-light);
}

    .tombola-intro p:first-child {
        max-width: 700px;
        margin: 0 auto 1.5rem;
    }


    /* ========================================= */
    /* ============ Prix du billet ============= */
    /* ========================================= */

    .tombola-intro p:nth-child(2) {
        display: inline-block;
        margin: 0.5rem 0 1rem;
        padding: 0.7rem 1.5rem;
        border: 2px solid var(--oc-color-accent);
        background: var(--oc-color-box-background);
    }

        .tombola-intro p:nth-child(2) strong {
            color: var(--oc-color-accent);
            font-size: 1.3rem;
        }


    /* ========================================= */
    /* =========== Achat des billets =========== */
    /* ========================================= */

    .tombola-intro p:nth-child(3) {
        max-width: 650px;
        margin: 0.75rem auto;
        padding: 0.9rem 1.2rem;
        border: 1px solid var(--oc-color-border);
        background: var(--oc-color-surface-soft);
    }

        .tombola-intro p:nth-child(3) b {
            color: var(--oc-color-title);
            font-weight: 700;
        }


    /* ========================================= */
    /* ============ Participation ============== */
    /* ========================================= */

    .tombola-intro p:nth-child(4) {
        max-width: 650px;
        margin: 1rem auto 1.5rem;
        color: var(--oc-color-text-muted);
    }

        .tombola-intro p:nth-child(4) .color-link {
            font-weight: 700;
        }


    /* ========================================= */
    /* =============== Tirage ================== */
    /* ========================================= */

    .tombola-intro p:nth-child(5) {
        display: inline-block;
        margin: 0.75rem auto 0;
        padding: 0.9rem 1.5rem;
        border: 2px solid var(--oc-color-title);
        background: var(--oc-color-box-background);
    }

        .tombola-intro p:nth-child(5) strong {
            color: var(--oc-color-title);
            font-size: 1.1rem;
        }

        .tombola-intro p:nth-child(5) b {
            color: var(--oc-color-accent);
        }


/* ========================================= */
/* ================== Lots ================= */
/* ========================================= */

.tombola-lot {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    margin-top: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--oc-color-border);
    background: var(--oc-color-box-background);
    transition: border-color 0.2s ease, background 0.2s ease;
}

    .tombola-lot:hover {
        border-color: var(--oc-color-accent);
        background: var(--oc-color-surface-soft);
    }

    .tombola-lot img {
        display: block;
        width: 300px;
        min-height: 230px;
        object-fit: cover;
    }

    .tombola-lot > div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.5rem 1.5rem 1.5rem 0;
    }

    .tombola-lot span {
        display: inline-block;
        margin-bottom: 0.4rem;
        color: var(--oc-color-accent);
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .tombola-lot h2 {
        margin: 0 0 0.75rem;
        color: var(--oc-color-text);
        font-size: 1.4rem;
    }

    .tombola-lot p {
        margin: 0.4rem 0;
        color: var(--oc-color-text-light);
    }

        .tombola-lot p:last-child {
            margin-top: 0.75rem;
        }

        .tombola-lot p strong {
            color: var(--oc-color-accent);
        }


    /* ========================================= */
    /* ============ Premier lot ================ */
    /* ========================================= */

    .tombola-lot:first-of-type {
        border: 2px solid var(--oc-color-accent);
    }

        .tombola-lot:first-of-type span {
            color: var(--oc-color-title);
        }

        .tombola-lot:first-of-type h2 {
            font-size: 1.6rem;
        }


/* ========================================= */
/* ================= Mobile ================ */
/* ========================================= */

@media (max-width: 700px) {
    .tombola-intro {
        margin-bottom: 1.5rem;
    }

        .tombola-intro p:first-child {
            font-size: 0.95rem;
        }

        .tombola-intro p:nth-child(2) {
            padding: 0.6rem 1.2rem;
        }

        .tombola-intro p:nth-child(3) {
            padding: 0.8rem 1rem;
        }

        .tombola-intro p:nth-child(5) {
            padding: 0.8rem 1rem;
        }

    .tombola-lot {
        flex-direction: column;
        gap: 0;
    }

        .tombola-lot img {
            width: 100%;
            height: 220px;
            min-height: 0;
        }

        .tombola-lot > div {
            padding: 1.25rem;
        }

        .tombola-lot h2 {
            font-size: 1.3rem;
        }

        .tombola-lot:first-of-type h2 {
            font-size: 1.4rem;
        }
}
