.gallery-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:15px;margin-bottom:30px}@media (max-width:992px){.gallery-grid{grid-template-columns:repeat(4,1fr)}}@media (max-width:768px){.gallery-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:480px){.gallery-grid{grid-template-columns:1fr}}.gallery-item{position:relative;border-radius:5px;overflow:hidden;box-shadow:0 2px 4px rgba(0,0,0,.1);transition:transform .3s ease,box-shadow .3s ease}.gallery-item:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,.2)}.gallery-thumbnail{width:100%;height:0;padding-bottom:75%;background-position:center;background-size:cover;background-repeat:no-repeat;position:relative}.gallery-item-overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.7));padding:10px;opacity:0;transition:opacity .3s ease}.gallery-item:hover .gallery-item-overlay{opacity:1}.gallery-item-title{color:#fff;font-size:.9em;font-weight:700;display:block;text-shadow:1px 1px 2px rgba(0,0,0,.8);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pagination{margin:20px 0;text-align:center}.pagination .page-numbers{display:inline-block;padding:5px 10px;margin:0 3px;border:1px solid #ddd;border-radius:3px;color:#333;text-decoration:none}.pagination .current{background-color:#f5f5f5;font-weight:700}.pagination .page-numbers:hover{background-color:#f0f0f0}.magpal-tags-links{font-family:inherit;font-style:normal;font-weight:400}.magpal-grid-post-categories a:nth-of-type(6n+1){background:#000}.magpal-grid-post-categories a:nth-of-type(6n+2){background:#000}.magpal-grid-post-categories a:nth-of-type(6n+3){background:#000}.magpal-grid-post-categories a:nth-of-type(6n+4){background:#000}.magpal-grid-post-categories a:nth-of-type(6n+5){background:#000}.magpal-grid-post-categories a:nth-of-type(6n+6){background:#000}.entry-header-title .entry-title .singular-entry-title-inside{background:#000}.gallery-filter{margin-bottom:20px;padding:10px;background-color:#f8f8f8;border-radius:5px;display:flex;align-items:center}.gallery-filter label{margin-right:10px;font-weight:700}.gallery-filter select{padding:5px 10px;border-radius:4px;border:1px solid #ddd;margin-right:10px;background-color:#fff}.random-gallery-button{display:inline-block;padding:6px 12px;background-color:#f0f0f0;border:1px solid #ddd;border-radius:4px;margin-left:10px;text-decoration:none;color:#333;font-size:.9em;transition:background-color .3s ease}.random-gallery-button:hover{background-color:#e0e0e0}.has-medium-font-size a{font-size:.8em}