
.apsg-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.apsg-item {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.apsg-item:hover {
    transform: translateY(-5px);
}

.pdf-thumbnail {
    width: 100%;
    height: 280px;
    border-radius: 10px;
}

.apsg-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
}

.apsg-modal-content {
    position: relative;
    width: 85%;
    height: 85%;
    margin: 3% auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.apsg-modal-content iframe {
    width: 100%;
    height: 100%;
}

.apsg-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 30px;
    cursor: pointer;
}
