/* Source : view_product-cat__exemple-2.css */

/**
 * Bloc des médias
 */

.product-cat__media-photos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-cat__media-photos figure {
    margin: 0;
    aspect-ratio: 1 / 1;
    /* overflow: hidden; */
}

.product-cat__media-photos figcaption {
    word-break: break-word;
    color: initial;
}

.product-cat__media-photos img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    border: 1px solid #d3d3d3;
}

.product-cat__media-videos iframe {
    display: block;
    aspect-ratio: 16/9;
    margin-top: 40px;
    width: 100%;
    overflow: hidden;
}

.product-cat__media-videos iframe {
    aspect-ratio: 16/9;
    width: 100%;
    border: 0;
    overflow: hidden;
}



/**
 * Bloc main (le texte)
 */

.product-cat__main {
    flex: 0.8;
    display: flex;
    flex-direction: column;
}

.product-cat__main h2 {
    margin-top: 80px;
    font-size: 1.8em;
    /* font-size h3 des autres pages */
    width: fit-content;
}

.product-cat__main-footer-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 80px;
    margin-bottom: 35px;
}

.product-cat__main-footer-title::after {
    flex-grow: 1;
    content: '';
    display: block;
    height: 1px;
    background-color: #005ba8;
    opacity: 0.3;
}



/**
 * Footer de la vue
 */

.product-cat__main footer {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 80px;
}

.product-cat__main footer h2 {
    margin-top: 0;
}

.product-cat__main-links-pdf {
    align-self: stretch;
}

.product-cat__main-links-pdf h3 {
    margin-top: 0;
}

.product-cat__main-links-pdf ul {
    font-size: 0.9em;
}



/**
 * =============================================================================
 * Media queries : break point large screen
 * =============================================================================
 */

@media (min-width: 600px) {
    .product-cat__media-photos {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1280px) {
    .product-cat {
        display: flex;
        gap: 80px;
    }

    .product-cat__media {
        flex: 1.1;
        margin-top: 20px;
    }

    .product-cat__media-photos {
        gap: 40px;
    }

    .product-cat__main h2 {
        margin-top: 0;
    }

    .product-cat__main footer {
        align-items: flex-end;
        padding: 40px 40px 80px;
        background-color: #f4f5f7;
    }
}