/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author    PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2025 PrestaShop SA
* @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*/

#mega-instagram-exhibitor {
    background: #FFFFFF;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-top: 74px;
    margin-bottom: 0px;
    padding-bottom: 63px;
}

#mega-instagram-exhibitor .title_block {
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 34px;
    text-align: center !important;
    color: #282828;
    margin-bottom: 10px;
}

#mega-instagram-exhibitor .description_block {
    font-weight: 400;
    font-size: 13px;
    line-height: 113%;
    text-align: center;
    letter-spacing: 0.03em;
    color: #000000;
}

#mega-instagram-exhibitor .block_content {
    max-width: 885px;
    gap: 26px 34px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    margin-top: 47px;
    margin-bottom: 21px;
}

.instagram-gallery {
    display: flex;
    flex-wrap: wrap;
}

.instagram-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
}

.instagram-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-hover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transition: opacity .3s;
}

.instagram-item:hover .instagram-hover {
    opacity: 1;
}

.instagram-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.instagram-item a:hover {
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .instagram-image {
        height: 200px;
    }
    
    #mega-instagram-exhibitor .title_block {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .instagram-image {
        height: 180px;
    }
    
    .instagram-gallery {
        gap: 10px;
    }
    
    .instagram-item {
        margin-bottom: 10px;
    }
}