.lm2-recherche {
  padding: 48px 24px 96px;
}

.lm2-recherche__container {
  max-width: 1184px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.lm2-recherche__searchbar {
  background: #f6f6f6;
  display: flex;
  flex-direction: column;
  max-width: 1184px;
}

@media (min-width: 768px) {
  .lm2-recherche__searchbar {
    flex-direction: row;
    align-items: stretch;
  }
}

.lm2-recherche__searchbar_inner {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lm2-recherche__search_row {
  display: flex;
  align-items: stretch;
  flex: 1;
}

.lm2-recherche__search_inputwrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 7px 12px;
  gap: 8px;
  background: #f6f6f6;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.lm2-recherche__search_icon {
  flex-shrink: 0;
  color: #003154;
}

.lm2-recherche__search_input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: "futura-pt", "Futura", sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #003154;
}

.lm2-recherche__search_input::placeholder {
  color: #003154;
}

.lm2-recherche__search_input:focus {
  outline: none;
}

.lm2-recherche__clear {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #003154;
  font-size: 24px;
  line-height: 24px;
}

.lm2-recherche__tabs {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  background: white;
  padding: 10px 12px;
  gap: 8px;
}

@media (min-width: 768px) {
  .lm2-recherche__tabs {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }
}

.lm2-recherche__tab {
  padding: 5px 12px;
  border: none;
  background: transparent;
  font-family: "futura-pt", "Futura", sans-serif;
  cursor: pointer;
  color: #003154;
  font-size: 14px;
  line-height: 20px;
  transition: background-color 0.2s, color 0.2s;
}

.lm2-recherche__tab:hover {
  background: #f6f6f6;
}

.lm2-recherche__tab.is-active {
  background: #003154;
  color: white;
}

.lm2-recherche__results {
  max-width: 680px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.lm2-recherche__results_header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .lm2-recherche__results_header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
}

.lm2-recherche__summary {
  font-family: "futura-pt-light", "Futura", sans-serif;
}
.lm2-recherche__summary strong {
  font-family: "futura-pt", "Futura", sans-serif;
  font-weight: 600 !important;
}

.lm2-recherche__sort {
  position: relative;
  flex-shrink: 0;
}

.lm2-recherche__sort_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #003154;
  background: white;
  color: #003154;
  font-family: "futura-pt", "Futura", sans-serif;
  cursor: pointer;
  font-size: 16px;
  height: 44px;
}

.lm2-recherche__sort_btn svg {
  transition: transform 150ms ease;
}

.lm2-recherche__sort_btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.lm2-recherche__sort_panel {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 100%;
  background: white;
  border: 1px solid #003154;
  border-top: none;
  z-index: 10;
}

.lm2-recherche__sort_option {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  font-family: "futura-pt", "Futura", sans-serif;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  color: #003154;
}

.lm2-recherche__sort_option:hover,
.lm2-recherche__sort_option.is-active {
  background: #003154;
  color: white;
}

.lm2-recherche__group {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 16px;
}

.lm2-recherche__group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #003154;
}

.lm2-recherche__group_title {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  margin-bottom: 8px;
}

.lm2-recherche__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.lm2-recherche__item {
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.lm2-recherche__item:last-child {
  border-bottom: none;
}

.lm2-recherche__item_link {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.lm2-recherche__item_link:hover .lm2-recherche__item_title {
  text-decoration: underline;
}

.lm2-recherche__item_img {
  flex-shrink: 0;
  width: 110px;
  height: 70px;
  background: #eee;
  overflow: hidden;
}

.lm2-recherche__item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lm2-recherche__item_content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
  line-height: 24px;
}

.lm2-recherche__item_title {
  font-family: "futura-pt", "Futura", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

.lm2-recherche__item_excerpt {
  font-family: "futura-pt", "Futura", sans-serif;
  opacity: 0.9;
}

.lm2-recherche__item_date {
  font-family: "Crimson Text", serif;
  color: #2f7d4a;
  font-size: 18px;
  line-height: 20px;
  margin-top: 8px;
}

.lm2-recherche__item_arrow {
  margin-left: 16px;
  color: #003154;
}

.lm2-recherche__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  font-family: "futura-pt", "Futura", sans-serif;
}

.lm2-recherche__pager {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lm2-recherche__pager_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  color: #003154;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 18px;
}

.lm2-recherche__pager_btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.lm2-recherche__noresults,
.lm2-recherche__error {
  font-family: "futura-pt", "Futura", sans-serif;
}

.lm2-subscription-bar {
  background: #003154;
  color: #fff;
  width: 100%;
  padding: 64px 24px;
  /* margin-top: 52px; */
}

.lm2-subscription-bar__content {
  max-width: 716px;
  margin: 0 auto;
}

.lm2-subscription-bar__title {
  font-family: "futura-pt-light", "Futura", sans-serif !important;
  font-size: 32px;
  line-height: 40px;
  font-weight: 300 !important;
  margin: 0 0 32px;
  color: #fff;
  text-align: center;
}

.lm2-subscription-bar__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lm2-subscription-bar__paragraph {
  margin: 0;
  font-family: "futura-pt-light", "Futura", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300 !important;
}

.lm2-subscription-bar__paragraph a {
  text-decoration: underline;
  color: #fff;
  &:hover {
    text-decoration: none;
    color: #fff;
  }
}

.lm2-subscription-bar__paragraph b {
  font-weight: 600 !important;
}

.lm2-subscription-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.lm2-subscription-bar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #fff;
  text-decoration: none;
  font-family: "futura-pt", "Futura", sans-serif;
  font-size: 14px;
  line-height: 1.2;
  transition: opacity 0.2s ease;
}

.lm2-subscription-bar__button:hover {
  opacity: 0.9;
}

.lm2-subscription-bar__button--white {
  background: #fff;
  color: #003154;
  &:hover {
    background: #003154;
    color: #fff;
    text-decoration: none;
  }
}

.lm2-subscription-bar__button--blue {
  background: #003154;

  color: #fff;
  border: 1px solid #fff;

  &:hover {
    background: #fff;
    color: #003154;
    text-decoration: none;
  }
}
