.associated-media-events .section-header {
  margin-bottom: 32px;
}
.associated-media-events .section-header .section-title {
  font-family: "roobert_regular";
  color: #385413;
  font-size: 4.375rem;
  font-weight: 500;
  margin-bottom: 0;
}
.associated-media-events .tab-navigation {
  margin-bottom: 32px;
}
.associated-media-events .tab-navigation .tab-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.associated-media-events .tab-navigation .tab-button {
  background: transparent;
  cursor: pointer;
  padding: 12px 20px;
  font-size: 2.125rem;
  font-weight: 650;
  line-height: 36px;
  background-color: #fff;
  color: #243508;
  border: 1px solid #243508;
}
.associated-media-events .tab-navigation .tab-button:hover {
  background-color: #bff355;
  border: 1px solid #bff355;
}
.associated-media-events .tab-navigation .tab-button:focus-visible, .associated-media-events .tab-navigation .tab-button:focus {
  outline: none;
  border-radius: 0;
}
.associated-media-events .tab-navigation .tab-button.active {
  background-color: #bff355;
  color: #243508;
  border: none;
}
.associated-media-events .tab-navigation .tab-button:last-child {
  margin-right: 0;
}
.associated-media-events .tab-content-wrapper .tab-content {
  display: none;
}
.associated-media-events .tab-content-wrapper .tab-content.active {
  display: block;
}
.associated-media-events .cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.associated-media-events .cards-grid .card:nth-child(n+7) {
  display: none;
}
.associated-media-events .cards-grid .card:nth-child(n+7).show-more {
  display: block;
}
.associated-media-events .card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: none;
  padding: 0;
  height: auto;
}
.associated-media-events .card .card-image {
  width: 100%;
  height: 387px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0px;
}
.associated-media-events .card .card-image:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  width: 100%;
  height: 100%;
}
.associated-media-events .card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.associated-media-events .card .card-content {
  padding: 0;
}
.associated-media-events .card .card-content .card-label {
  background-color: #bff355;
  display: inline-block;
  padding: 8px 16px;
  color: #243508;
  font-family: "roobert_medium";
  font-size: 1.8rem;
  line-height: 3.66rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.associated-media-events .card .card-content .card-title {
  font-family: "roobert_medium";
  font-weight: 500;
  font-size: 2.4375rem;
  line-height: 29.28px;
  color: #243508;
  margin: 0 0 20px 0;
  overflow: hidden;
}
.associated-media-events .card .card-content .card-title a {
  font-family: "roobert_medium";
  font-weight: 500;
  font-size: 2.4375rem;
  line-height: 1.3;
  color: #243508;
  margin: 0 0 20px 0;
  overflow: hidden;
  text-decoration: none;
}
.associated-media-events .card .card-content .card-date {
  font-family: "roobert_light";
  font-size: 1.25rem;
  line-height: 130%;
  font-weight: 400;
  color: #243508;
  margin-bottom: 8px;
}
.associated-media-events .card .card-content .card-event-details {
  margin-bottom: 20px;
}
.associated-media-events .card .card-content .card-event-details .card-date {
  font-family: "roobert_regular";
  font-size: 2.4375rem;
  font-weight: 500;
  line-height: 130%;
  color: #243508;
  margin-bottom: 4px;
}
.associated-media-events .card .card-content .card-location {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: "roobert_regular";
  font-size: 2.4375rem;
  color: #fff;
}
.associated-media-events .card .card-content .card-location .location-icon {
  width: 16px;
  height: 16px;
  color: #bff355;
}
.associated-media-events .card.featured .card-label {
  padding: 0;
  background-color: transparent;
  color: #fff;
  margin-bottom: 40px;
}
.associated-media-events .card.featured .card-event-details .card-date {
  color: #fff;
  padding-left: 5px;
  font-family: "roobert_medium";
  font-weight: 500;
  font-size: 2.4375rem;
  line-height: 130%;
  margin: 0 0 20px 0;
  overflow: hidden;
}
.associated-media-events .card.featured .card-content {
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 20px;
  color: #fff;
}
.associated-media-events .card.featured .card-content .card-title {
  line-height: 130%;
  color: #fff;
  margin-bottom: 40px;
}
.associated-media-events .card.featured .card-content .card-date {
  font-family: "roobert_medium";
  font-weight: 500;
  font-size: 2.4375rem;
  line-height: 130%;
  margin-bottom: 20px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.associated-media-events .card.news-card .card-content .card-label {
  background-color: #bff355;
  color: #243508;
}
.associated-media-events .card a {
  color: #fff;
}
.associated-media-events .card a.as-streched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  background: transparent;
  border: 0;
}
.associated-media-events .view-more-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-top: 48px;
}
@media only screen and (width: 820px) and (height: 1180px) and (orientation: portrait) {
  .associated-media-events .tab-navigation .tab-wrapper {
    flex-direction: row !important;
  }
  .associated-media-events.portrait .tab-navigation .tab-wrapper .tab-button {
    width: auto !important;
    padding: 20px 30px !important;
  }
}
@media screen and (max-width: 1023px) and (min-width: 769px) {
  .associated-media-events {
    padding: 60px 0;
  }
  .associated-media-events .container {
    padding: 0 20px;
  }
  .associated-media-events.landscape .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .associated-media-events.portrait .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .associated-media-events.portrait .tab-navigation .tab-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .associated-media-events.portrait .tab-navigation .tab-wrapper .tab-button {
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
    margin-right: 0;
    padding: 16px 0;
  }
}
@media screen and (max-width: 768px) {
  .associated-media-events {
    padding: 40px 0;
  }
  .associated-media-events .container {
    padding: 0 16px;
  }
  .associated-media-events .section-header {
    margin-bottom: 32px;
  }
  .associated-media-events .tab-navigation {
    margin-bottom: 32px;
  }
  .associated-media-events .tab-navigation .tab-wrapper {
    flex-direction: row;
    gap: 20px;
    border-bottom: none;
  }
  .associated-media-events .tab-navigation .tab-wrapper .tab-button {
    width: max-content;
    text-align: left;
    padding: 16px 20px !important;
    margin-right: 0;
    margin-bottom: 0;
    background-color: transparent;
  }
  .associated-media-events .tab-navigation .tab-wrapper .tab-button.active {
    background-color: #bff355;
    color: #243508;
  }
  .associated-media-events .tab-navigation .tab-wrapper .tab-button:focus-visible, .associated-media-events .tab-navigation .tab-wrapper .tab-button:focus {
    outline: none;
  }
  .associated-media-events .tab-navigation .tab-wrapper .tab-button:hover.active {
    background-color: #bff355;
  }
  .associated-media-events .cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }
  .associated-media-events .cards-grid .card:nth-child(n+7) {
    display: block;
  }
  .associated-media-events .card .card-image {
    height: 200px;
    margin-bottom: 8px;
  }
  .associated-media-events .card.featured .card-image {
    height: 220px;
  }
  .associated-media-events .view-more-wrapper {
    margin-top: 32px;
  }
}
@media screen and (max-width: 480px) {
  .associated-media-events .tab-navigation .tab-wrapper .tab-button {
    padding: 14px 16px;
  }
}
.associated-media-events .card.fade-in {
  animation: fadeInUp 0.5s ease forwards;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.associated-media-events .loading .cards-grid {
  opacity: 0.6;
  pointer-events: none;
}
.associated-media-events .loading .view-more-btn {
  opacity: 0.6;
  pointer-events: none;
}
.associated-media-events .tab-button.hidden,
.associated-media-events .tab-content.hidden {
  display: none !important;
}
.associated-media-events.news-only .cards-grid {
  gap: 32px;
}
.associated-media-events.news-only .cards-grid .card {
  margin-bottom: 0;
}
.associated-media-events.events-only .cards-grid {
  gap: 32px;
}

@media screen and (max-width: 768px) {
  .show-desktop {
    display: none !important;
  }
}

.show-mobile {
  display: none !important;
}
@media screen and (max-width: 768px) {
  .show-mobile {
    display: block !important;
  }
}

.show-tablet {
  display: none !important;
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .show-tablet {
    display: block !important;
  }
}

.associated-media-events .loadMore-data-officenewscard,
.associated-media-events .loadMore-data-newscard {
  padding-left: 0;
  padding-right: 0;
  position: relative;
}
.associated-media-events .loadMore-data-officenewscard.flip-to-top,
.associated-media-events .loadMore-data-newscard.flip-to-top {
  height: auto;
}
.associated-media-events .loadMore-data-officenewscard.flip-to-top:hover,
.associated-media-events .loadMore-data-newscard.flip-to-top:hover {
  text-decoration: none;
}
.associated-media-events .loadMore-data-officenewscard .default-state,
.associated-media-events .loadMore-data-newscard .default-state {
  font-family: "roobert_regular";
  font-size: 20px;
  line-height: 36px;
  color: #243508;
}
.associated-media-events .loadMore-data-officenewscard .default-state:after,
.associated-media-events .loadMore-data-newscard .default-state:after {
  content: "";
  background: rgba(0, 0, 0, 0.1);
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  transition: 0.35s all;
  width: 0;
}
.associated-media-events .loadMore-data-officenewscard .default-state:hover:after,
.associated-media-events .loadMore-data-newscard .default-state:hover:after {
  width: 100%;
}
.associated-media-events .loadMore-data-officenewscard .default-state .expand-icons,
.associated-media-events .loadMore-data-newscard .default-state .expand-icons {
  height: 36px;
}
.associated-media-events a.loadMore-data-officenewscard,
.associated-media-events a.loadMore-data-newscard {
  text-decoration: none;
}

.view-more-wrapper .loadMore-data-newscard.media-link-ext {
  position: relative;
}
.view-more-wrapper .loadMore-data-newscard.media-link-ext:after {
  content: "";
  position: absolute;
  background-color: transparent;
  left: calc(100% - 40px);
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.4s ease;
  width: 32px;
  height: 32px;
  background-size: contain;
  background-image: url("/-/media/themes/hoganlovells/site-theme-name/images/Common/cta-transform-arrow.svg");
  background-repeat: no-repeat;
}
.view-more-wrapper .loadMore-data-newscard.media-link-ext:hover:after {
  transform: translateY(-50%) rotate(45deg);
  left: calc(100% - 40px);
  transition: transform 0.3s ease;
}
.view-more-wrapper .loadMore-data-newscard.media-link-ext .expand-icons:after, .view-more-wrapper .loadMore-data-newscard.media-link-ext .expand-icons:before {
  display: none;
}