/* Magazine */
.magazine-cover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border-radius: 5px;
  width: 100%;
  height: auto;
}

/* magazine  */
.magazine-cover:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 8px rgba(253, 38, 38, 0.3);
}

/* Magazine Profile Header */
.magazine-profile-header {
  position: relative;
  width: 100%;
  max-width: 600px;
  /* Adjust as needed */
  height: 400px;
  /* Ensures full height */
  overflow: hidden;
  border-radius: 15px;
  margin: 0 auto;
  /* Centers the section */
}

/* Ensuring Image Fills the Container */
.magazine-profile-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures full coverage */
  border-radius: 15px;
}

/* Magazine Profile Info - Positioned at Bottom */
.magazine-profile-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  /* Full width */
  height: auto;
  padding: 00px;
  background: rgba(0, 0, 0, 0.6);
  /* Black overlay */
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* Title Styling */
.magazine-profile-title {
  font-size: 1rem;
  font-weight: bold;
  color: var(--light-grey);
  text-align: center;
}

/* Meta Information */
.magazine-profile-meta {
  font-size: 0.75rem;
  color: var(--light-grey);
  text-align: center;
}

/* 🔹 Responsive Adjustments */
@media (max-width: 768px) {
  .magazine-profile-header {
    max-width: 90%;
    height: 300px;
    /* Adjust height */
  }

  .magazine-profile-info {
    padding: 15px;
  }

  .magazine-profile-title {
    font-size: 0.9rem;
  }

  .magazine-profile-meta {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .magazine-profile-header {
    max-width: 100%;
    height: 250px;
    /* Smaller height for mobile */
  }

  .magazine-profile-info {
    padding: 10px;
  }

  .magazine-profile-title {
    font-size: 0.8rem;
  }

  .magazine-profile-meta {
    font-size: 0.65rem;
  }
}


.magazine-profile-content {
  margin-top: 30px;
  padding: 20px;
  /* background: var(--light-black); */
  border-radius: 10px;
}

.badge-custome-magzine{
  color: var(--red);
  border: 1px solid var(--red);
  font-size: 1.25rem;
  
}