/* Ensure the parent elements are properly positioned */
.inner-header-container, .no-featured-image {
  position: relative;
}
/* Alert container positioning */
.alert-container {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 1200px;
  z-index: 10;
  padding: 0 10px;
}
/* Alert message styles */
.alert-message {
  position: relative;
  /* Add this line */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 30px;
  text-align: center;
  height: auto;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  font-size: 1.125rem;
  background-color: #416e8c;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  margin-bottom: 10px;
  /* Add spacing between alerts */
}
/* Paragraph inside alert message */
.alert-message p {
  margin: 0;
  padding: 0 20px;
}
/* Links inside alert message */
.alert-message a {
  text-decoration: underline;
  color: #E3EDF6;
}
.alert-message a:hover {
  color: #640e32;
}
/* Show alert */
.alert-message.show {
  opacity: 1;
}
/* Close button styles */
.close-alert {
  position: absolute;
  top: 0;
  right: 10px;
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: inherit;
  padding: 0;
  line-height: 1;
  /* Ensure proper line height */
}
.close-alert:hover {
  font-weight: bold;
  background: none !important;
  color: inherit !important;
}
