.dropdown_link {
    background-color: transparent;
    border: none;
    color: #951414;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: .2em;
    line-height: 2;
    padding: 1rem 1rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Barlow Semi Condensed,sans-serif;
    font-weight: 400;
}
.dropdown_link.active {
    font-weight: 700; /* Makes text bolder when the link is active */
}


.link-wrapper {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  flex-wrap: nowrap;
}
.dropdown {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #951414;
  margin-bottom: 2rem;
}


.icon-embed-custom {
  margin-left: 2rem;
  display: flex;
  width: 0.875rem;
  height: 0.75rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.dropdown_button {
  display: flex;
  padding-top: 1.375rem;
  padding-right: 3.5rem;
  padding-bottom: 1.375rem;
  padding-left: 3.5rem;
  justify-content: center;
  align-items: center;
  color: hsla(0, 76.33%, 33.14%, 1.00);
  font-family: Barlow Condensed,sans-serif;
  font-weight: 700;
  letter-spacing: 0.3rem;
  font-size: 0.985rem;
  text-transform: uppercase;
  cursor: pointer;
}

.dropdown_button:small {
  padding-top: 1rem;
  padding-bottom: 1rem;
  }
  
/* Styles for the dropdown and rotation transitions */
.dropdown_button {
    cursor: pointer; /* Indicates this is clickable */
}

.link-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* Smooth transition for dropdown */
}

.icon-embed-custom {
    transition: transform 0.3s ease; /* Smooth transition for rotation */
}

/* State when dropdown is active */
.dropdown.active .link-wrapper {
    max-height: 500px; /* Adjust max-height as needed based on content */
}

.dropdown.active .icon-embed-custom {
    transform: rotate(180deg); /* Rotate the icon */
}

/* hide desktop buttons screens smaller than 768px */
@media (max-width: 767px) {
    .blogs-2023__buttons {
        display: none;
    }

  /* Show .dropdown on screens smaller than 768px */
@media (max-width: 767px) {
    .dropdown {
        display: flex;
    }