:root {
  --btg-black: #1a1519;
  --btg-yellow: #fcc129;
  --btg-white: #ffffff;
  --btg-muted: #77727a;
  --btg-border: rgba(255,255,255,.14);
}

.btg-events-section {
  width: 100%;
  color: var(--btg-black);
}

.btg-events-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.btg-events-heading h2 {
  margin: 0;
  color: var(--btg-black);
  font-size: clamp(24px, 3vw, 24px);
  line-height: 1.05;
  font-weight: 600;
}

.btg-events-all {
  color: var(--btg-black);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s ease;
}

.btg-events-all span {
  color: var(--btg-yellow);
  margin-left: 8px;
}

.btg-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.btg-event-card {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  color: #1a1519;
  box-shadow: 0 10px 10px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
}

.btg-event-card__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.594 / 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(252,193,41,.32), transparent 35%),
    linear-gradient(135deg, #282027, #100d10);
}

.btg-event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.btg-event-card:hover .btg-event-card__image img {
  transform: scale(1.04);
}

.btg-event-card__placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 70% 30%, rgba(252,193,41,.35), transparent 30%),
    linear-gradient(135deg, #302831, #111);
}

.btg-event-card__content {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.btg-event-card__body {
  flex: 1;
}

.btg-event-card__content h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.2;
}

.btg-event-card__content h3 a {
  color: #1a1519;
  text-decoration: none;
}

.btg-event-card__content h3 a:hover {
  color: #000;
}

.btg-event-card__excerpt {
  margin: 0 0 14px;
  color: #5f5962;
  font-size: 15px;
  line-height: 1.4;
}

.btg-event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
  color: #3d383f;
  font-size: 15px;
}

.btg-event-card__location {
  color: #5f5962;
  font-size: 13px;
}

.btg-event-card__cta {
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--btg-yellow);
  color: #1a1519;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btg-event-card__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 10px rgba(252,193,41,.25);
  background: #ffd04b;
  color: #1a1519;
}

.btg-events-empty {
  padding: 22px;
  border: 1px solid var(--btg-border);
  border-radius: 10px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.04);
}

.btg-events-section {
  width: 100%;
  color: #fff;
}

.btg-events-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.btg-events-heading__cta {
    padding: 5px 15px;
    line-height: 30px;
    border: 1px solid var(--color-black);
    border-radius: 25px;
    width: 100%;
    max-width: 200px;
    text-align: center;
    margin: 0 auto;
}

.btg-events-heading__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btg-events-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btg-events-control {
    position: absolute;
    top: 50%;
    width: calc(var(--swiper-navigation-size) / 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
}

.btg-events-control--prev{
    left: -50px;
}

.btg-events-control--next{
    right: -50px;
}

.btg-events-control:hover:not(.swiper-button-disabled) {
  background: #fcc129;
  border-color: #fcc129;
  color: #1a1519;
}

.btg-events-control.swiper-button-disabled {
  opacity: .35;
  cursor: not-allowed;
}

.btg-events-swiper {
  overflow: hidden;
  padding-bottom: 34px;
  position: relative;
}

.btg-events-swiper .swiper-slide {
  height: auto;
}

.btg-events-swiper .btg-event-card {
  height: 100%;
}

.btg-events-pagination {
  bottom: 0 !important;
  display: none;
}

.btg-events-pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,.45);
  opacity: 1;
}

.btg-events-pagination .swiper-pagination-bullet-active {
  background: #fcc129;
}

.btg-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 1024px) {
  .btg-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btg-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .btg-events-pagination {
    display: block;
    }
}

@media (max-width: 640px) {
  .btg-events-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .btg-events-grid {
    grid-template-columns: 1fr;
  }

  .btg-event-card__image {
    height: 210px;
  }

  .btg-events-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .btg-events-heading__actions {
    width: 100%;
    justify-content: space-between;
  }

  .btg-events-grid {
    grid-template-columns: 1fr;
  }

  .btg-events-controls {
    display: none;
  }

  .btg-events-swiper {
    overflow: visible;
  }
}