/**
 * PPGallery - Container styles.
 *
 * @package     Joomla.Plugin
 * @subpackage  Content.PPGallery
 * @copyright   (C) 2026 Ruslan Ternovyi
 * @license     GNU General Public License version 2 or later
 */

.ppgallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.ppgallery-item {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px;
    height: 210px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ppgallery-item:hover {
    border-color: #999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.ppgallery-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 2px;
    display: block;
}