/*--------------------------------------------------------------
# Release Grid & Item Styling
--------------------------------------------------------------*/
.release-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  padding: 20px;
  margin: 0;
  box-sizing: border-box;
}

.release-item {
  background-color: #1a1a1a;
  border: 2px solid #333;
  padding: 15px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.release-item:hover {
  transform: translateY(-5px);
  border-color: #FDD700;
}

.release-cover {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
  cursor: pointer;
  border: 1px solid #444;
}

.release-cover img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.release-cover:hover img {
  transform: scale(1.2);
}

.release-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.release-cover:hover .release-cover-overlay {
  opacity: 1;
}

.overlay-text {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

.release-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 5px 0;
  color: #ffffff;
  line-height: 1.3;
}

.release-artist {
  font-size: 1.3rem;
  color: #cccccc;
  margin: 0 0 10px 0;
}

.release-date {
  font-size: 1.2rem;
  color: #aaaaaa;
  margin: 0;
  margin-top: auto;
}

.release-item:hover .release-title,
.release-item:hover .release-artist,
.release-item:hover .release-date,
.release-item:hover .overlay-text {
  color: #FDD700;
  transition: color 0.2s ease-in-out;
}

.release-buttons-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  margin-top: 15px;
  min-height: 30px;
}

.release-logo-link .release-logo {
  width: 30px; 
  height: auto; 
  opacity: 0.8;
  transition: transform 0.4s ease-in-out, opacity 0.2s ease-in-out, filter 0.4s ease-in-out; 
  transform: rotate(22.5deg); 
}

.release-logo-link:hover .release-logo {
  opacity: 1; 
  transform: scale(1.2) rotate(0deg);
}

.release-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.release-filter-form input[type="text"],
.release-filter-form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.5rem;
    flex-grow: 1;
}

.release-filter-form button {
    padding: 10px 20px;
    background-color: #000000;
    color: #FDD700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.5s;
    transition: border-radius 0.5s;
}

.release-filter-form button:hover {
    background-color: #FDD700;
    color: #000000;
    border-radius: 10px;
    transition: background-color 0.5s;
    transition: border-radius 0.5s;
}

.release-pagination {
    margin: 30px 0;
    text-align: center;
    font-size: 1.5rem;
    text-decoration: none;
}

.release-pagination .page-numbers {
    padding: 8px 15px;
    margin: 0 3px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #e9e9e9;
    transition: background-color 0.2s, color 0.2s;
}

.release-pagination .page-numbers:hover {
    background-color: #FDD700;
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.release-pagination .page-numbers.current {
    background-color: #fdd835;
    color: #1a1a1a;
    border-color: #fdd835;
    font-weight: bold;
    text-decoration: none;
}

.mrp-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s;
}

.mrp-modal-content {
  background-color: #202020;
  margin: 10% auto;
  padding: 30px;
  border: 1px solid #FFD700;
  width: 80%;
  max-width: 700px;
  position: relative;
  animation: slideIn 0.3s;
}

.mrp-modal-close {
  color: #e9e9e9;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.mrp-modal-close:hover,
.mrp-modal-close:focus {
  color: #ff0000;
  text-decoration: none;
}

#modal-content-target {
  color: #000;
}

#modal-content-target h2 {
    margin-top: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}