/* custom.css */
.select-dropdown,
.chosen-container .chosen-single {
  font-size: 16px;
  height: 40px;
  padding: 10px;
}

.chosen-container .chosen-drop .chosen-results li {
  font-size: 16px;
  padding: 10px;
}

.chosen-container-single .chosen-single {
  line-height: 40px !important;

  height: 40px !important;
}

/****** NEW MSN CODE ****/
/* RSS Feed Source Styles */
.rssfeed-source {
  display: flex;
  align-items: center;
  justify-content: space-between; /* "Read More" aligned to the right */
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0; /* Optional border for separation */
}

/* Source Information */
.rssfeed-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* Adjusts for smaller screens */
  max-width: 70%;
}

.source-logo {
  margin: 0 8px;
  border-radius: 50%; /* Makes the logo circular */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Adds a soft shadow */
}

.source-link {
  text-decoration: none;
  color: var(--link-color);
  font-weight: bold;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 150px; /* Limit width for mobile compatibility */
}

.source-link:hover {
  text-decoration: underline;
  color: #e64a19; /* Hover color */
}

/* Clean Button Styles */
/* Button Hover Animation */
.btn-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #555;
  background-color: transparent;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover Effect */
.btn-read-more:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Icon Animation */
.btn-read-more i {
  margin-right: 6px;
  transition: transform 0.3s ease;
}

.btn-read-more:hover i {
  transform: translateX(4px); /* Moves the icon slightly to the right */
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
  .rssfeed-source {
    flex-wrap: wrap;
  }

  .rssfeed-info {
    max-width: 100%; /* Allow source information to span the full width */
    margin-bottom: 10px; /* Add spacing between the source and button */
  }

  .btn-read-more {
    width: 100%; /* Full-width button for mobile */
    text-align: center;
  }
}

/* MSN Category Menu Styling */
.msn-categories {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.msn-categories .nav-link {
  background-color: #f9f9f9; /* Soft white background */
  color: #555; /* Dark gray text */
  padding: 10px 15px;
  border: 1px solid #e6e6e6; /* Light border for a subtle card effect */
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow for a clean card look */
}

.msn-categories .nav-link:hover {
  background-color: #f0f5ff; /* Light blue background on hover */
  color: #0078d4; /* Blue text on hover */
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Deeper shadow on hover */
}

.msn-categories .nav-link.active {
  background-color: #0078d4; /* MSN Blue for active state */
  color: #fff; /* White text */
  border-color: #0078d4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.home-button i,
.category-button i {
  margin-right: 5px;
  color: inherit; /* Icons inherit text color */
}

/* Default styles for large screens */
/* Default styles for large screens */
.logo-text-large {
  display: inline-block;
  font-size: 1.8rem;
  font-family: Poppins, Helvetica, "sans-serif";
  font-weight: 500;
  color: #623c0e;
  letter-spacing: 0.1rem;
  padding: 4px 10px;
  position: relative;
  text-shadow: 0 0 5px #fff, 0 0 10px rgba(203, 99, 8, 0.9);
}

/* White outline for better visibility */
.logo-text-large::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  color: white;
  font-size: 1.8rem;
  font-weight: 500;
  font-family: Poppins, Helvetica, "sans-serif";
  -webkit-text-stroke: 2px white; /* Strong white outline */
  opacity: 0.8;
}

/* Bubble Container */
.bubble-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 50px;
  pointer-events: none;
}

/* Bubble Animation */
@keyframes bubble-float {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  40% {
    opacity: 1;
    transform: translateY(-15px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-40px) scale(1.3);
  }
}

/* General bubble styling */
.bubble {
  position: absolute;
  bottom: 0;
  background: rgba(255, 200, 50, 0.5);
  border-radius: 50%;
  opacity: 0;
  animation: bubble-float 2s infinite ease-in-out;
}

/* Different bubble sizes and random placements */
.bubble:nth-child(1) {
  width: 6px;
  height: 6px;
  left: 5%;
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  width: 10px;
  height: 10px;
  left: 30%;
  animation-delay: 0.4s;
}

.bubble:nth-child(3) {
  width: 8px;
  height: 8px;
  left: 50%;
  animation-delay: 0.7s;
}

.bubble:nth-child(4) {
  width: 12px;
  height: 12px;
  left: 75%;
  animation-delay: 1s;
}

.bubble:nth-child(5) {
  width: 57px;
  height: 57px;
  left: 60%;
  animation-delay: 1.3s;
}


.logo-text-small {
  display: none;
}

/* Responsive styling for small screens */
@media (max-width: 768px) {
  .logo-text-large {
    display: none;
    /* Hide full logo text on small screens */
  }

  .logo-text-small {
    display: inline;
    /* Show abbreviated logo text */
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    color: #333;
    /* Adjust color as needed */
  }

  .logo-light,
  .logo-dark {
    width: auto;
    /* Adjust logo width for smaller screens */
    max-height: 30px;
    /* Ensure the logo fits well */
  }
}

/* Featured Post Slider */

.ebook-card {
  border: none;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.ebook-card:hover {
  transform: translateY(-5px);
}

.ebook-cover img {
  height: 200px;
  object-fit: cover;
}

.format-badge {
  font-size: 0.85rem;
  padding: 0.4rem 0.6rem;
}

.ebook-title {
  text-decoration: none;
  transition: color 0.3s ease;
}
.ebook-title:hover {
  color: #0056b3;
}

.genres-list .badge {
  font-size: 0.8rem;
}

.price-tag {
  font-size: 1.5rem;
}

.thumbnail-container img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.google-auto-placed {
  display: inline-block !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
}