/* Container for the 3 main columns */
.mns-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; /* Adjust ratios as needed */
  gap: 20px;
  width: 95%;
  margin: 20px auto;
}

/* Glassmorphism Effect */
.mns-glass-box {
  background: linear-gradient(
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 16px !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Column Titles */
.mns-column-title {
  font-size: 28px;
  color: #fff; /* Assuming white text for glass background */
  margin: 0 0 10px 0;
  text-align: center;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Column 1 Internal Layout (2 Sub-columns) */
.mns-col-1-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px; /* Reduced gap */
}

.mns-sub-col {
  display: flex;
  flex-direction: column;
  gap: 8px; /* Reduced gap */
}

/* Columns 2 and 3 Internal Layout */
.mns-col-content {
  display: flex;
  flex-direction: column;
  gap: 8px; /* Reduced gap */
}

/* Button Styling */
.mns-btn-link {
  text-decoration: none;
  display: block;
}

.mns-btn {
  width: 100%;
  padding: 10px 15px; /* Reduced padding */
  background: #ff7200;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 114, 0, 0.3);
  opacity: 0.9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.mns-force-orange {
  background-color: #ff7200 !important;
}

.mns-btn-text {
  display: inline-block;
  transition: transform 0.3s ease;
}

.mns-btn::after {
  content: "\2192  Go To Website";
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 600;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  margin-left: 12px;
  transition: max-width 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mns-btn:hover {
  background: #ff7200 !important; /* Ensure orange on hover */
  opacity: 1;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 114, 0, 0.4); /* Orange shadow */
}

.mns-btn:hover::after {
  opacity: 1;
  max-width: 220px;
}

/* Icon Styling */
.mns-icon-wrapper {
  margin-right: 10px;
  vertical-align: middle;
  background-color: #ff7200;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 114, 0, 0.2);
  padding: 0 !important;
}

.mns-title-icon {
  /* font-size is set inline via PHP settings */
  line-height: 1 !important; /* Reset line-height for centering */
  text-decoration: none; /* Remove any underlines */
  display: inline-block;
}

.mns-icon-wrapper:hover {
  box-shadow: 0 6px 20px rgba(255, 114, 0, 0.6); /* Glow effect */
  transform: scale(1.1);
}

.mns-icon-wrapper svg,
.mns-icon-wrapper img {
  width: 100%;
  height: 100%;
  fill: white; /* For SVGs */
  display: block;
  object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .mns-container {
    grid-template-columns: 1fr; /* Stack all main columns on smaller screens */
  }
}

@media (max-width: 768px) {
  .mns-col-1-content {
    grid-template-columns: 1fr; /* Stack sub-columns on mobile */
  }
}
