@media (min-width: 380px) {
    .cie_container {
        max-width: 360px;
        font-size: 0.85rem;
    }
    .cie_img_grid > a,
    .cie_img_grid > img {
        width: calc(50% - 6px);
    }
    .cie_exposed_img {
        max-width: 220px;
        width: 48%;
    }
}

@media (min-width: 600px) {
    .cie_container,
    .cie_details {
        max-width: 95%;
        font-size: 1rem;
    }

    .cie_img_grid > a {
        width: calc(100% / 8);
    }

    .cie_cat,
    .cie_val,
    .cie_simulateur,
    .cie_correction {
        font-size: 1rem;
        padding: .7rem 1rem;
    }

    .cie_enchere,
    .cie_btn > summary {
        font-size: 1.1rem;
        padding: .7rem 0;
    }
}

.cie_container {
    width: 500px;
    margin: .6rem;
    background: #fff;
    border-radius: 3px;
    box-shadow:
        0 1.2px 3.6px rgba(0,0,0,.10),
        0 4.8px 14.4px 2.4px rgba(0,0,0,.12);
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: .7rem;
}

.correction_tag {
    display: inline-block;
    background: #fff;
    border: 1px solid #cc3000;
    border-radius: 2px;
    padding: .15rem .45rem;
    color: #cc3000;
    font-weight: 600;
}

.cie_enchere {
    background: #2e86c1;
    color: #fff;
    padding: .45rem .6rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid #1B4F72;
}

.cie_cat {
    width: 35%;
    background: #e3f2fd;
    color: #004A8C;
    font-weight: 600;
    padding: .45rem .6rem;
    border-bottom: 1px solid #eaecef;
}

.cie_val {
    width: 65%;
    background: #f8f8f8;
    color: #004A8C;
    padding: .45rem .6rem;
    border-bottom: 1px solid #eaecef;
}

.cie_simulateur {
    text-align: center;
    padding: .45rem .6rem;
    border-bottom: 1px solid #eaecef;
    color: #73aa00;

}

.cie_correction {
    background: #ffbebe;
    text-align: center;
    padding: .45rem .6rem;
    border-bottom: 1px solid #eaecef;
}

.cie_img_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;

    & > a {
        box-sizing: border-box;
        display: block;
    }

    & > a > img {
        border-radius: 3px;
    }
}

.cie_btn {
    display: block;

    & > summary {
        width: 200px;
        margin: .6rem;
        padding: .45rem 0;
        text-align: center;
        cursor: pointer;
        box-shadow: 0 2.4px 3.6px #888;
        border-radius: 3px;
        text-decoration: none;
        font-family: 'Segoe UI', Tahoma, sans-serif;
    }
}

.cie_exposed_img {
    width: 47%;
    margin: 0 .3%;
    border-radius: 3px;
    object-fit: cover;
}

.ciextension_ia > summary {
    background: #87CEEB;
    color: #fff;
}

.ciextension_img > summary {
    background: #2e86c1;
    color: #fff;
}

.ciextension_link > summary {
    background: #2eab67;
    color: #fff;
}

.cie_details {
    width: 100%;
    margin: .6rem;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: .7rem;
}

.auction_cat.cie_old {
    color: #004a8c !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#E5f0ff), color-stop(100%,#E5f0ff)) !important
}

.cie_old_btn > summary {
    text-align: center;
    width: 30%;
    border-radius: 5px;
    margin-top: 10px;
    padding: 5px;
    border: 1px solid black;
    cursor: pointer;
}

.cie_old_btn > summary:hover, .cie_btn > summary:hover {
    filter: brightness(0.95);
}

.ciextension_old_img > summary {
    background: #009944;
    color: #fff;
}

.ciextension_old_link > summary {
    background: #009944;
    color: #fff;
}

.iframe-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iframe-placeholder > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}