/* Header and Background Styles */
.backdrop {
  height: 12.5em;
  background-color: blue;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.two-column {
  margin-top: 1em;
  display: flex;
  justify-content: space-between; /* Ensures even spacing between columns */   
  gap: 0.5em;
}


.title-header {
  font-weight: 600;
  font-size: 3.4375em;
  font-family: "Poppins", sans-serif;
}

.outter.content {
  position: relative;
  text-align: center;
  margin-top: 2rem;
  margin-left: 8em;
}
.a {
  color: #000;
  text-decoration: none;
  margin-top: 2.5rem;
  margin-left: -27.5em;
}

.ui.fluid.input {
  border: 1px solid #F5F7F2 !important;
  border-radius: 0.25rem;
}

.border {
  border: 1px solid black !important;
  border-radius: 0.25rem;
}
.exclamation-icon {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.7rem;
  margin-left: 0.5rem;
}

.year {
  display: flex;
  justify-content: center;
  padding-bottom: 4em;
}

.pb {
  padding-bottom: 4em;
}


.button-wrap {
  display: flex;
  justify-content: space-around;
  margin-top: 6em;
  margin-bottom: 2em;
}

.article-section {
  background: #c9e0fa;
  padding: 0 0 5em 0;
}

.result-message {
  font-family: "Poppins" !important ;
  display: flex;
  justify-content: center;
  padding-top: 3em;
}

.poppins-font {
  font-family: "Poppins" !important ;
}

.filter-sort {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}

.next,
.prev {
  z-index: 3;
}

.article-page-numbers {
  display: flex;
  gap: 0.625em; /* Space between page numbers */
}

.article-pagination {
  display: flex;
  justify-content: center; /* Center the pagination buttons */
  align-items: center;
  margin-top: 1.25em; /* Add some space between the carousel and pagination */
  padding: 0.625em;
  border-radius: 5px; /* Optional: Rounded corners for pagination */
}

button {
  border: none;
  background-color: transparent;
  color: #666666;
  font-size: 1.2em;
  cursor: pointer;
  padding: 0.3125em .6em;       /* Increased padding to replace the margin effect */
  margin: 0;               /* Remove the margin */
  transition: background-color 0.3s ease; /* Smooth transition for hover */
}

button.active {
  /* font-weight: bold; */
  color: #fff;             /* Change text color to white for contrast */
  background-color: black;   /* Active background color */
  /* padding: 0.625em 1.25em;      Increase padding to create more space around the button */
  border-radius: 5px;      /* Optional: Adds rounded corners */
}

button:hover {
  color: #000;
}

.content-title {
  width: 50% !important;
}

.content-text {
  width: 50% !important;
}

@media (max-width:768px) {
  .ui {
    display: flex !important;
    flex-direction: column;
  }

  .content-title {
    width: 100% !important;
  }

  .content-text {
    width: 100% !important;
  }

  /* .ui.grid>.column:not(.row) {
    width: auto !important;
  } */

  .ui.fluid.input>input {
    width: 100% !important;
  }

  .outter.content {
    margin-top: 0;
    margin-left: 0;
  }

  .title-header {
    font-size: 2.25em;
    margin-left: 2rem;
  }

  .a {
    margin-left: -16.5rem;
  }

  .button-wrap {
    margin-top: 2rem;
  }
  
  .ui.tag.label {
    margin-top: 0.2em;
    width: fit-content;
    max-width: 100%;
    padding-right: 4em;
  }
}

@media (width <= 1000px) {

}

@media (width <= 600px) {
}
@media (width <= 500px) {
  .two-column{
    flex-direction: column;
  }
}

@media (width <=  480px) {

}