/* Event Calendar Search Input */
.tribe-events .tribe-events-c-search__input-control input {
	padding: 10px 5px 5px 40px !important;
/* 	margin-right: 50px !important; */ /* Doesn't work spacing next to the "Find Event" button. */
}
/* Search Button */
.tribe-events .tribe-events-c-search__button {
	margin: 0px 5px 0px 10px /* Fixed it on spacing around the "find event" button. */
}

/* This is temporarily stored for custom design of event lists. If need to be customize, uncomment this and change the css stylles. */
.tribe-compatibility-container {
}
/* This max-width caused an issue with the website's screen, for any device larger than 2000px width will notice empty space to the right. */
.wp-block-group {
    max-width: none;
}
.tribe-events-widget-events-list {
    margin: 0 auto;
}
.tribe-events-widget-events-list__events {
	  flex: 0 0 300px;
    scroll-snap-align: start;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
	
}

.tribe-events-widget-events-list__event-row {
    display: flex;
    flex-direction: row;
	
}

/* Container settings to force horizontal layout */
.horizontal-scroll-cards {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap;
    scroll-snap-type: x mandatory; /* Smooth snapping effect */
    -webkit-overflow-scrolling: touch; /* Smooth mobile momentum */
    gap: 20px; /* Space between cards */
    padding-bottom: 15px; /* Room for scrollbar */
}

/* Individual card behavior */
.scroll-card {
    flex: 0 0 300px; /* Prevents shrinking; sets width to 300px */
    scroll-snap-align: start;
    white-space: normal; /* Allows text wrap inside cards */
		margin-block-start: 50px !important;
}

/* Hide scrollbar for clean look (Optional) */
/* .horizontal-scroll-cards::-webkit-scrollbar {
    display: none;
} */

/* This is for the job list in community bulletin board page */
.bulletin-board-jobs {
    width: 100%;
    max-width: 100%;
}

.bulletin-board-jobs .job_listings,
.bulletin-board-jobs .job_filters,
.bulletin-board-jobs .job-manager-form {
    width: 100%;
    max-width: none;
}

/* This is for the dropdown menu list for all pages */
.faq-dropdown {
		max-width: 100%;
		box-sizing: border-box;
    border: 2px solid #0a6b73;
    border-radius: 10px;
    margin: 20px 0;
    background: #eefbfc;
    overflow: hidden;
}

.faq-dropdown summary {
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    list-style: none;
}

.faq-dropdown summary::-webkit-details-marker {
    display: none;
}

.faq-dropdown summary::after {
    content: "▼";
    float: right;
    transition: transform 0.3s ease;
}

.faq-dropdown[open] summary::after {
    transform: rotate(180deg);
}

.faq-content {
    padding: 20px;
    border-top: 1px solid #0a6b73;
	  font-size: 16px
}

.faq-content ul {
    padding-left: 15px;
}

.faq-content li {
    margin-bottom: 15px;
	  font-size: inherit;
	  line-height: 1.6;
}

.faq-content a {
	  overflow-wrap: anywhere;
	  word-break: break-word;
}

/* Mobile */
@media (max-width: 500px) {
	.wp-block-group {
    max-width: none;
}
    .tribe-events-widget-events-list__event-row {
    }

    .tribe-events-widget-events-list__events {
        padding: 10px;
        gap: 0px;
    }
	.tribe-events-widget-events-list {
		    padding: 15px;
        gap: 0px;
				width: 100px;
	}
	.faq-dropdown ul {
		padding: 12px;
	}
	.faq-content ul {
		  margin: 0;
      padding-left: 10px;
  }
	.faq-content {
		  padding: 12px;
		  font-size: 15px;
	}
	.faq-dropdown summary {
		  font-size: 17px;
	}
	
	/*This is for the event detail image, this is to make the image responsive to mobile device*/
    .tribe-events-event-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}
@media (max-width: 950px) {
	    .tribe-events-event-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
	
    .tribe-events-widget-events-list__event-row {
        flex: 0 10 0;
    }

    .tribe-events-widget-events-list__events {
				padding: 10px;
        gap: 0px;
    }
	.tribe-events-widget-events-list {
		    padding: 20px;
        gap: 0px;
				width: 600px;
	}
}
@media (max-width: 500px) {
	.tribe-events-widget-events-list {
		    padding: 20px;
        gap: 0px;
				width: 280px;
	}
}
}
/* 
Nav
 */
ul
{
	list-style-type: none;
  margin: 0;
  padding: 0;
}
.wp-block-navigation-item.current-menu-item a {
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    border-radius: 8px;
	background-color: white;
}

.wp-block-navigation-item a:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    border-radius: 8px;
	background-color: white;
}
@media (max-width: 1080px) {
	/* Make logo smaller */ 
	.wp-block-site-logo img 
	{ width: 90px !important; height: auto !important; 
	}

    .wp-block-navigation {
        font-size: 16px !important;
    }

    .wp-block-navigation-item__content {
        font-size: 15px !important;
        padding: 2px 2px !important;
    }

    .wp-block-navigation__container {
        gap: 6px !important;
    }

}


}
@media (max-width: 500px) {
    .wp-block-navigation.items-justified-right {
        justify-content: flex-start !important;
    }

    .wp-block-navigation__container {
        width: 100% !important;
        padding: 10px !important;
    }
    .wp-block-navigation-item__content {
        display: block;
        width: 300px;
        text-align: left;
    }
	    .wp-block-navigation {
        font-size: 20px !important;
    }

    .wp-block-navigation-item__content {
        font-size: 20px !important;
        padding: 2px 2px !important;
    }

    .wp-block-navigation__container {
        gap: 10 !important;
    }
}
