/* Font Import */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* Container and Grid Layout */
.bkmedia-events-container {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 20px;
  font-family: "Inter", sans-serif;
}

.bkmedia-events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Tabs Styling */
.bkmedia-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.tab-button {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: #EF9C2E;
}

.tab-button.active {
  color: #EF9C2E;
}

.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #EF9C2E 50%, #EF9C2E);
}

/* No Events Message */
.no-events {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: #666;
  background: #f8f8f8;
  border-radius: 15px;
  margin: 20px 0;
}

/* Event Box */
.event-box {
  display: flex;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 15px;
  border: 1px solid #d8d8d8;
  background: #fff;
  font-family: "Inter", sans-serif;
}

/* Left side: Image */
.event-left {
  width: 50%;
  height: 100%;
  border-right: 1px solid #d8d8d8;
  padding: 0 20px 0 0px;
}

.event-image {
  width: 100%;
  height: 210px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Right side: Content */
.event-right {
  width: 50%;
  padding-left: 20px;
}

/* Title */
.event-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 15px 0;
  background: linear-gradient(to right, #EF9C2E 50%, #EF9C2E);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.4;
}

/* Event Info Section */
.event-info {
  display: block;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0;
}

/* Date and Location Labels */

/* Icon Styles */
.event-date .fas,
.event-location .fas {
  color: #EF9C2E;
  font-size: 14px;
  width: 16px;
  text-align: center;
}

/* Input Values */
.input-date,
.input-location {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin: 0;
}
p.event-date {
  margin-bottom: 10px;
}
.event-info {
  font-size: 12px;
}
p.event-description{
  font-size: 10px;
	color: #A6A6A6;
}
/* Position the elements in pairs */
.event-date,
.event-location {
  width: auto;
}

.input-date,
.input-location {
  margin-left: -15px; /* Pull the value closer to the label */
}

/* Container for each date/location pair */
.event-date + .input-date,
.event-location + .input-location {
  margin-right: 20px;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .bkmedia-events-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
	.event-image{
		height: auto;
	}
  .event-left,
  .event-right {
    width: 100%;
  }
  .bkmedia-tabs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .tab-button {
    padding: 8px 15px;
    font-size: 14px;
  }

  .event-box {
    flex-direction: column;
    align-items: stretch;
  }

  .event-info {
    flex-direction: column;
    gap: 10px;
  }
  .event-right {
    padding-left: 0;
  }
  .event-left {
    border-right: 0;
    padding: 10px;
  }
  .input-date,
  .input-location {
    margin-left: 0;
  }
}
