@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap');

html, body, main {
  overflow-x: hidden;
}

.event-detail {
    font-family: 'Roboto', sans-serif;
    margin-left: 0.5rem;
}

.event-detail i {
    margin-right: 1rem; /* adjust value */
}

.event-location-text {
    font-family: 'Roboto', sans-serif;
    margin-left: 2.5rem;
}

.location-main {
  font-weight: 500;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;

}

.location-sub {
  font-size: 0.875rem;
  color: #666; /* subtle subtext */
}

#event-details {
  overflow-x: hidden;
  word-wrap: break-word;
  max-width: 100%;
}

#event-details .event-detail div {
  overflow-x: auto; /* fallback for wide elements like <table> */
  word-wrap: break-word;
  max-width: 100%;
}

#event-details .event-detail div * {
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

.event-description {
  overflow-x: auto;
  word-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.btn-custom-blue {
    background-color: #007bff; /* Bootstrap primary blue */
    color: white;
    border: none;
}

.btn-custom-blue:hover {
    background-color: #0056b3; /* darker blue on hover */
    color: white;
}

.carousel-item {
    min-height: 400px;
    background-color: #f8f7fa;
}

.no-rounded-card {
    border-radius: 4px !important;
}

/* Optional: Reduce vertical padding for a more compact card */
.carousel-card-body {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Make title black instead of Bootstrap blue */
.carousel-card-title {
    color: #212529; /* Bootstrap's default text-dark */
}

/* Optional: Reduce overall height slightly by limiting min height */
.carousel-event-card .card {
    min-height: 180px;
    min-width: 300px; /* Ensure cards are not too wide */
}

.event-carousel-inner {
    display: flex;
    gap: 4rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px;
    padding-bottom: 1rem;
     scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.event-carousel-inner::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.event-badge {
    font-weight: 500;
    max-width: 200px !important;
}

.event-section-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 24px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.carousel-scroll-btn {
    background-color: #e0e0e0;
    border: none;
    font-size: 1.5rem;
    color: #444;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
}

.carousel-scroll-btn:hover {
    background-color: #ccc;
}

.event-banner-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 30px;
}

.event-banner-blur {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    z-index: 1;
}

.event-banner-img {
    position: relative;
    z-index: 2;
    height: 100%;
    width: calc(100% - 300px); /* 75px left and right margin */
    object-fit: cover;
    margin: 0 150px;
    border-radius: 5px;
}

.eventDate {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
}

.eventTitle {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: 3rem;
}

.grey-section {
    background-color: rgb(248, 247, 250);
    padding: 2rem 0;
}

.event-description ul {
    list-style-position: outside !important;
    padding-left: 20px !important;
    margin: 16px 0 !important;
}

.event-description ol {
    list-style-position: outside !important;
    padding-left: 20px !important;
    margin: 16px 0 !important;
}

/* Fix paragraph spacing inside list items */
.event-description ul li p,
.event-description ol li p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

/* Ensure proper list item spacing */
.event-description ul li,
.event-description ol li {
    margin-bottom: 8px !important;
    line-height: 1.5 !important;
}

/* Remove extra spacing from last list item */
.event-description ul li:last-child,
.event-description ol li:last-child {
    margin-bottom: 0 !important;
}

/* Ensure spans inside lists inherit proper styling */
.event-description ul li span,
.event-description ol li span {
    line-height: inherit !important;
}

/* Fix nested lists if they exist */
.event-description ul ul,
.event-description ol ol,
.event-description ul ol,
.event-description ol ul {
    margin: 8px 0 !important;
    padding-left: 16px !important;
}

@media (max-width: 768px) {
    .carousel-scroll-btn {
        display: none;
    }
    .event-banner-container {
        height: 180px;
    }
    .event-banner-img {
        width: calc(100% - 100px);
        margin: 0 50px;
    }
    .eventDate {
        font-family: 'Roboto', sans-serif;
        font-weight: 400;
        font-size: 16px;
    }

    .eventTitle {
        font-family: 'Roboto', sans-serif;
        font-weight: 800;
        font-size: 24px;
    }
    .event-section-title {
        font-family: 'Roboto', sans-serif;
        font-weight: 700;
        font-size: 20px;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

}

