.food-events {
  margin: 2em 0;
  position: relative;
  font-family: var(--e-global-typography-text-font-family, inherit);
}

article.food-event-card {
  --fe-event-color: #000000;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 100%;
  padding: 1.75em;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 0.25em;
  color: #000000;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
article.food-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75em 1.75em rgba(0, 0, 0, 0.12);
}
article.food-event-card--live {
  --fe-event-color: #E30613;
}
article.food-event-card--webinar {
  --fe-event-color: #0056b3;
}
article.food-event-card--award {
  --fe-event-color: #C5A643;
}

.food-event-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  min-height: 2.25em;
}

span.food-event-card__label {
  display: inline-flex;
  align-items: center;
  padding: 0.25em 0.9em;
  background: var(--fe-event-color);
  color: #fff;
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0.15em;
}

.food-event-card .food-event-card__logo {
  flex-shrink: 0;
}
.food-event-card .food-event-card__logo img {
  display: block;
  height: 4em;
  width: auto;
  max-width: 6em;
  object-fit: contain;
  object-position: right center;
}

h3.food-event-card__title {
  margin: 1.75em 0 0;
  font-size: 1.25em;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--fe-event-color);
}

.food-event-card__description {
  margin-bottom: 0.5em;
  font-size: 0.95em;
  line-height: 1.5;
  color: #000000;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.food-event-card__description p {
  margin: 0;
  display: inline;
}

ul.food-event-card__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}
ul.food-event-card__meta li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.85em;
  color: #000000;
}
ul.food-event-card__meta i {
  width: 1em;
  font-size: 0.85em;
  color: #666;
  text-align: center;
  flex-shrink: 0;
}

.food-event-card__sponsors {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.food-event-card__sponsors-label {
  font-size: 0.6em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fe-event-color);
  margin: 1em 0 1.5em;
}

.food-event-card .food-event-card__sponsors-banner {
  background: #f5f5f5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  gap: 0.75em;
  padding: 1em;
}
.food-event-card .food-event-card__sponsors-banner:has(img:nth-child(1):last-child) {
  grid-template-columns: 1fr;
}
.food-event-card .food-event-card__sponsors-banner:has(img:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}
.food-event-card .food-event-card__sponsors-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

a.food-event-card__cta {
  position: relative;
  align-self: flex-start;
  margin-top: auto;
  padding: 0 0 0.5em;
  background: none;
  color: #000000 !important;
  font-size: 1em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform 0.25s ease, color 0.25s ease;
}
a.food-event-card__cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2em;
  height: 2px;
  background: currentColor;
  transition: height 0.25s ease;
}
a.food-event-card__cta:hover, a.food-event-card__cta:focus {
  color: var(--fe-event-color) !important;
  transform: translateY(-2px);
  cursor: pointer !important;
}
a.food-event-card__cta:hover::after, a.food-event-card__cta:focus::after {
  height: 4px;
}

article.food-event-card > *:has(+ a.food-event-card__cta) {
  margin-bottom: 0.75em;
}

.food-events--carousel {
  box-sizing: border-box;
}

.food-events-carousel {
  overflow: hidden;
  padding: 0.75em 0 1.5em;
}
.food-events-carousel .swiper-slide {
  width: calc((100% - 3em) / 3);
  height: auto;
  display: flex;
}
@media (max-width: 1199.98px) {
  .food-events-carousel .swiper-slide {
    width: calc((100% - 1.5em) / 2);
  }
}
@media (max-width: 767.98px) {
  .food-events-carousel .swiper-slide {
    width: 100%;
  }
}
.food-events-carousel .swiper-button-prev,
.food-events-carousel .swiper-button-next {
  color: #000000;
  width: 2.5em;
  height: 2.5em;
  padding: 0;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  margin-top: -1.25em;
}
.food-events-carousel .swiper-button-prev:hover,
.food-events-carousel .swiper-button-next:hover {
  background: #000000;
  color: #fff;
}
.food-events-carousel .swiper-button-prev::after,
.food-events-carousel .swiper-button-next::after {
  font-size: 1em;
  font-weight: 700;
}
.food-events-carousel .swiper-pagination {
  position: relative;
  margin-top: 1.5em;
}
.food-events-carousel .swiper-pagination-bullet-active {
  background: #000000;
}

.food-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
}
@media (max-width: 1199.98px) {
  .food-events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767.98px) {
  .food-events-grid {
    grid-template-columns: 1fr;
  }
}

article.food-event-single {
  max-width: 56em;
  margin: 2em auto;
  padding: 0 1.5em;
}

.food-event-single__cover {
  margin-bottom: 2em;
  border-radius: 0.25em;
  overflow: hidden;
}
.food-event-single__cover img {
  width: 100%;
  height: auto;
  display: block;
}

.food-event-single__heading {
  margin-bottom: 2em;
}

span.food-event-single__badge {
  display: inline-block;
  background: #000000;
  color: #fff;
  padding: 0.4em 0.9em;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 1em;
  margin-bottom: 1em;
}

h1.food-event-single__title {
  font-size: calc(1.75em + 0.5vw);
  margin: 0 0 0.75em;
  line-height: 1.2;
}
@media (min-width: 1920px) {
  h1.food-event-single__title {
    font-size: calc(1.75em + 9.6px);
  }
}

img.food-event-single__logo {
  max-width: 10em;
  max-height: 4em;
  object-fit: contain;
}

section.food-event-single__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
  gap: 1em;
  padding: 1.5em;
  background: #f5f5f5;
  border-radius: 0.25em;
  margin-bottom: 2em;
}

.food-event-single__info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}
.food-event-single__info-item strong {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
}

.food-event-single__content {
  line-height: 1.7;
  margin-bottom: 2em;
}

aside.food-event-single__sponsor {
  display: flex;
  align-items: center;
  gap: 1.5em;
  padding: 1.5em;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  margin-bottom: 2em;
}

.food-event-single__sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5em;
}
.food-event-single__sponsor-logos img {
  max-width: 10em;
  max-height: 4em;
  width: auto;
  height: auto;
  object-fit: contain;
}

.food-event-single__sponsor-label {
  font-size: 0.85em;
  color: #666;
}

.food-event-single__cta-wrap {
  text-align: center;
  margin: 2em 0;
}

a.food-event-single__cta {
  display: inline-block;
  padding: 1em 2em;
  background: #000000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.3em;
  transition: background 0.2s ease;
}
a.food-event-single__cta:hover {
  background: #333;
}

.food-event-single__back {
  margin-top: 3em;
  text-align: center;
  font-size: 0.9em;
}
.food-event-single__back a {
  color: #666;
  text-decoration: none;
}
.food-event-single__back a:hover {
  color: #000000;
}
