.gsgallery-container,.gsgallery-directory-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px;margin:20px auto;padding:10px;max-width:1200px}.gsgallery-item,.gsgallery-directory-item{margin:0;padding:0;text-align:center;background-color:#f8f8f8;border:1px solid #eee;box-shadow:0 2px 4px rgb(0 0 0 / .1);border-radius:5px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;align-items:center;height:100%;transition:transform 0.2s ease-in-out,box-shadow 0.2s ease-in-out;max-width:300px;max-height:300px}.gsgallery-item:hover,.gsgallery-directory-item:hover{transform:translateY(-3px);box-shadow:0 5px 10px rgb(0 0 0 / .2)}.gsgallery-link,.gsgallery-directory-link{display:flex;justify-content:center;align-items:center;width:100%;overflow:hidden;box-sizing:border-box}.gsgallery-item img,.gsgallery-directory-item img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:1 / 1;border-bottom:1px solid #eee;transition:transform 0.2s ease-in-out}.gsgallery-item img:hover,.gsgallery-directory-item img:hover{transform:scale(1.05)}.gsgallery-caption,.gsgallery-directory-caption{font-size:.9em;color:#555;padding:10px 5px;word-break:break-word;width:100%;flex-grow:1;display:flex;align-items:flex-end;justify-content:center}.gsgallery-directory-caption a{text-decoration:none;color:#333;font-weight:700;display:block}.gsgallery-directory-caption a:hover{color:#0073aa;text-decoration:underline}.gsgallery-placeholder{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1 / 1;background-color:#e9e9e9;color:#666;font-size:1.1em;font-weight:700;border-bottom:1px solid #eee;height:auto}.gsgallery-empty-message{text-align:center;margin:40px auto;padding:30px;background-color:#f9f9f9;border:1px dashed #ccc;border-radius:8px;max-width:600px;color:#666;font-size:1.1em;line-height:1.6;box-shadow:0 4px 10px rgb(0 0 0 / .05)}.gsgallery-empty-message p{margin:0;font-weight:700}.gsgallery-empty-message strong{color:#333}.gsgallery-pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:20px auto;padding:5px;clear:both;max-width:1200px;position:relative}.gsgallery-pagination .wp-block-button__link{width:auto;display:inline-block;white-space:nowrap}.gsgallery-pagination-prev-wrapper{flex-shrink:0}.gsgallery-pagination-info{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;font-size:1.1em;font-weight:700;color:#555;white-space:nowrap;padding:0;box-sizing:border-box;width:auto;max-width:200px;z-index:1}.gsgallery-pagination-next-wrapper{flex-shrink:0}.pswp{display:none}.pswp--open{display:block}.gsgallery-pagination-info .gsgallery-base-link{color:inherit;display:inline-flex;align-items:center;padding:5px 8px;border-radius:4px;text-decoration:none;transition:background-color 0.3s ease,color 0.3s ease}.gsgallery-pagination-info .gsgallery-base-link .dashicons{margin-right:5px;font-size:18px;line-height:1}.gsgallery-pagination-info .gsgallery-base-link:hover{background-color:rgb(0 0 0 / .05);color:#202020;cursor:pointer}.gsgallery-pagination-info .gsgallery-base-link:focus{outline:2px solid #e3e3e3;outline-offset:2px}@media (max-width:768px){.gsgallery-pagination{flex-direction:row;align-items:center;position:relative;gap:15px}.gsgallery-pagination-prev-wrapper,.gsgallery-pagination-next-wrapper{width:auto;white-space:nowrap;flex-shrink:0}.gsgallery-pagination-info{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;width:auto;white-space:nowrap;max-width:200px;margin-top:0;order:unset}.gsgallery-pagination .wp-block-button{width:auto;text-align:center}.gsgallery-pagination .wp-block-button__link{width:150px;min-width:120px;max-width:180px;display:inline-block;padding:10px 15px;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}@media (max-width:480px){.gsgallery-pagination{flex-direction:column;align-items:center;gap:10px;position:static}.gsgallery-pagination-prev-wrapper,.gsgallery-pagination-next-wrapper{justify-self:center;width:100%;white-space:normal}.gsgallery-pagination-info{position:static;transform:none;display:block;margin:0 auto;text-align:center;width:100%;white-space:normal;margin-top:0;max-width:none}.gsgallery-pagination-info{order:1}.gsgallery-pagination-prev-wrapper{order:2}.gsgallery-pagination-next-wrapper{order:3}.gsgallery-pagination .wp-block-button__link{width:100%;min-width:unset;max-width:unset;display:block;padding:10px 15px;box-sizing:border-box;white-space:normal;overflow:visible;text-overflow:clip}}.gsgallery-custom-overlay-text{position:fixed;z-index:2147483647;top:38px;left:10px;color:#fff;background-color:rgb(0 0 0 / .7);padding-right:8px;padding-left:8px;font-size:14px;text-align:left;text-transform:uppercase;opacity:1;transition:opacity 0.3s ease-in-out}.gsgallery-copy-link-button{cursor:pointer}