/* --- SQUARE IMAGE BUTTON STYLES --- */
.gallery-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 15px;
  padding-bottom: 5px;
}

.gallery-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* FORCE A PERFECT SQUARE */
  width: 120px;
  height: 120px;
  box-sizing: border-box;
  
  /* THE IMAGE BACKGROUND ENGINE */
  background-image: url('/system/button.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%; /* Stretches the image completely edge-to-edge to fill the square */
  
  /* BORDERS & THEMES TO MATCH YOUR SITE */
  text-decoration: none;
  
  transition: all 0.1s ease;
  cursor: pointer;
  padding: 10px;
}

/* STYLING THE TEXT INSIDE THE SQUARE */
.gallery-btn span {
  color: #ffffff; /* Change to #000000 if your background image is light */
  font-weight: bold;
  font-size: 12px;
  text-align: center;
  text-shadow: 2px 2px 0px #000000; /* Adds a clean drop shadow so text is easy to read over the image */
  line-height: 1.2;
}

/* HOVER & ACTIVE CLICK MOTION STATES */
.gallery-btn:hover {
  filter: brightness(0.9); /* Darkens the background image slightly on hover */
}

.gallery-btn:active {
  transform: translate(2px, 2px);
}