/* ================================
   Home Page layout
================================ */
.two-column-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
	width: 100%;
}

.left-column,
.right-column {
    flex: 1 1 100%;
	width: 100%;
	padding-right: 0;
	min-width: 0;
}

.content-area {
    width: 100%;
    padding: 0;
}

.home-heading {
    display: inline;
    float: left;
    width: 100%;
    margin: 20px 0 0 0;
	text-align: left;
	font-size: 2em;
	font-weight: bold;
}

.highlights {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:0 0 20px;
}

.elert-signup {
    flex:0 0 auto;
}

.elert-signup img {
    width:220px;
    height:auto;
    display:block;
}

.happy-hour-icon {
    flex:0 0 auto;
}

.happy-hour-icon img {
    width:130px;
    height:auto;
    display:block;
}

#calendar-widget {
    display: block;
}

#weather-widget {
    display: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .two-column-layout {
        flex-direction: column;
        gap: 0;
    }

    .left-column,
    .right-column {
        flex: 1 1 100%;
        width: 100%;
        padding-right: 0;
    }

    .content-area {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
        flex-grow: 1;
    }
}

@media (min-width: 1025px) {
	.two-column-layout {
		flex-direction: row;
	}
	
	.left-column {
		flex: 0 0 65%;
		padding-right: 30px;
	}

	.right-column {
		flex: 0 0 35%;
		margin-top:-107px
	}
	
	.content-area {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
		flex-grow: 1; /* Allow content area to expand */
	}
}

/* ================================
   Tablet ads
================================ */
@media (min-width: 768px) and (max-width: 1024px) {

    #ad-block {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 55px;

        width: 100%;
        max-width: 650px;

        margin: 60px auto 0 !important;
        padding: 0 25px;

        align-items: center;
        justify-items: center;
    }

    #ad-block .box-ad {
        display: block;
        width: 100%;
        max-width: 260px;
        margin: 0;
    }

    #ad-block .box-ad img {
        display: block;
        width: 100%;
        max-width: 260px !important;
        height: auto;
        max-height: none !important;
        margin: 0 !important;
    }
	
	#ad-block .advertise-with-us {
		grid-column: 1 / -1;
		display: block;
		margin-top: 10px;
		text-align: center;
	}

	#ad-block .advertise-with-us img {
		width: auto;
		max-width: 100%;
		height: auto;
	}
}

/* ================================
   Featured Events banner
================================ */
.featured-slider-wrapper {
    position: relative;
    padding: 20px 60px;
    margin: 20px 0 30px 0;
    background: #DFDFDF;
}

@media (min-width: 1025px) {
	.featured-slider-wrapper {
		margin: 20px 0 70px 0;
	}
}

.featuredSwiper {
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Make ALL slides equal height */
.featuredSwiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Make card fill the slide */
.featured-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.featured-card:hover {
    transform: translateY(-3px);
    transition: transform 0.2s ease;
    text-decoration: none;
}

.featured-card * {
    text-decoration: none !important;
}

.featured-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
}

.featured-date {
    position: absolute;
    top: 0;
    left: 0;
    background-color: darkred;
    color: #fff;
    padding: 6px 8px;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    line-height: 1.2;
}

/* Push content to fill remaining space */
.featured-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.featured-title {
    color: #ae0c07;
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 6px;
}

.featured-meta {
    font-size: .9em;
    color: #555;
    font-weight: 600;
}

.meta-separator {
    color: #ccc; /* or whatever color you want */
    font-weight: 600; /* optional */
    margin: 0 3px; /* spacing tweak */
}

@media (max-width: 640px) {
    .featured-title {
        font-size: 1.3em;   /* increase title */
        line-height: 1.3;
    }

    .featured-meta {
        font-size: 1.0em;  /* increase meta */
    }

}		

/* Arrows */
.featured-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--brand-base);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.featured-nav.prev { left: 13px; }
.featured-nav.next { right: 13px; }

/* ================================
   Event listings
================================ */
.home-events-empty {}

.home-date-box {
    width: 100%;
    padding: 1%;
    margin: 15px 0 2px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dateboxText);
    background-color: var(--dateboxBkg);
    border: 1px solid var(--dateboxBrdr);
    border-radius: 3px;
}

.home-shrink-box {
    float: right;
    padding: 0 1% 0 0;
	cursor: pointer;
	font-size: 18px;
	color: var(--dateboxChevron);
}

.home-shrink-box a {
    color: var(--dateboxText);
}

.home-event {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e6e6e6;
    text-decoration: none;
    color: inherit;
}

.day-group .home-event:last-of-type {
    border-bottom: none;
}

.home-event-thumb {
	/* flex: 0 0 80px; */
}

.home-event-thumb img {
    width: 100px;
    height: 100px;
    display: block;
    border-radius: 3px;
    margin-top: 4px;
}

.home-event-content {
    flex: 1;
    min-width: 0;
}

.home-event-content a {
	text-decoration: none;
}

.home-event-link {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--link);
    text-decoration: none;
	line-height: 1.2em;

    /* Animated underline */
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.2s ease;
}

.home-event-link:visited {
    color: var(--link);
}

.home-event-link:hover,
.home-event-link:focus-visible {
    color: var(--linkHover);
    background-size: 100% 2px;
}

.home-event-link:active {
    opacity: 0.85; /* subtle tap feedback */
}

.home-event-venue {
    font-weight: bold;
    font-size: .95rem;
	color: var(--venueDescText);
    padding: 5px 0 5px 0;
    overflow: visible;
    white-space: normal;
}

.at {
	color: #ccc;
}

.home-event-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
	
    overflow: hidden;
	
	font-size: .9rem;
	line-height: 1.3em;
	color: var(--venueDescText);
}

.day-group {
    max-height: none;
    overflow: hidden;

    opacity: 1;
    transform: translateY(0);

    transition:
        max-height 0.4s cubic-bezier(.4, 0, .2, 1),
        opacity 0.25s ease,
        transform 0.25s ease;
}

/* COLLAPSED STATE */
.day-group.is-collapsed {
    max-height: 0;

    opacity: 0;
    transform: translateY(-5px);
}

.day-group .home-event {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.2s ease;
}

.day-group.is-collapsed .home-event {
    opacity: 0;
    transform: translateY(-5px);
}

.toggle-button i {
    transition: transform 0.25s ease;
}

/* collapsed state */
.toggle-button.is-collapsed i {
    transform: rotate(180deg);
}

@media (min-width: 768px) {
	.home-date-box {
		padding: 8px 4px 8px 12px;
	}
	
	.home-event {
		gap: 16px;
		padding: 14px 0;
	}

	.home-event-thumb {
		flex: 0 0 120px;
	}
	
	.home-event-thumb img {
		width: 120px;
		height: 120px;
	}
}

@media (min-width: 1025px) {
	.home-date-box {
		padding: 8px 4px 8px 12px;
	}
	
	.home-event {
		gap: 16px;
		padding: 14px 0;
	}

	.home-event-thumb {
		flex: 0 0 120px;
	}
	
	.home-event-thumb img {
		width: 120px;
		height: 120px;
	}
}

/* ================================
   Search
================================ */
#main-search {
    visibility: hidden;
    height: 0;
	margin-top: 8px;
	padding: 0;
}

#main-search input[type="text"] {
    padding: 0;
    margin-bottom: 0;
}

.sString {
    float: left;
    outline: 0;
    padding: 0 2%;
    width: 100%;
    border: 1px solid #ccc;
    height: 40px;
    box-sizing: border-box;
    -webkit-appearance: none;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border-right-width: 0 !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.sString::placeholder {
    color: #333;
	font-size: .95em;
}

#clear-search-btn {
    background: transparent;
    border: none;
    color: var(--brand-base);
    font-size: .9em;
    margin-left: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s ease, transform .15s ease;
}

#clear-search-btn:hover {
    opacity: .7;
}

.dropdown {
    visibility: hidden;
    height: 0;
    padding-bottom: 0;
}

.dropdown a:hover {
    background-color: #ddd;
    text-decoration: none;
}

.dropbtn {
	position: relative;
	background-color: #fff;
    padding: 0 2%;
    width: 100%;
    height: 40px;
    margin-bottom: 0;
    font-size: 0.9em;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #333;
    text-align: left;
}

.dropbtn::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%); /* center vertically */
    width: 38px;
    height: 100%;
    background-color: var(--boxBkg);
    border: solid 1px var(--boxBkg);
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.dropbtn::after {
    position: absolute;
    font: var(--fa-font-solid);
    content: "\f078";
    font-size: 18px;
    top: 50%;
    right: 10px;
    transform: translateY(-50%) rotate(0deg);
    transform-origin: center;
    color: white;
    transition: transform 0.3s ease;
}

.dropbtn:hover, .dropbtn:focus {
    cursor: pointer;
}

.dropbtn.is-open::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-content {
    display: block;

    position: relative; /* mobile-friendly */
    width: 100%;
    margin-top: 5px;

    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;

    /* animation base */
    max-height: 0;
    overflow: hidden;

    opacity: 0;
    transform: translateY(-5px);

    transition:
        max-height 0.35s cubic-bezier(.4, 0, .2, 1),
        opacity 0.25s ease,
        transform 0.25s ease;
}
.dropdown-content.show {
    max-height: 550px; /* adjust if needed */

    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: #333;
    padding: 2%;
    text-decoration: none !important;
    display: block;
    font-size: 0.9em;
}

#myDropdown a.active {
    background-color: var(--brand-base);
    color: #fff;
}

@media (min-width: 768px) and (max-width: 1024px) {

    #main-search {
        display: none;
    }

}

@media (min-width: 1025px) {
	#main-search {
		display: block;
		visibility: visible;
		width: 100%;
		margin: 16px 0 20px 0;
		padding: 0;
		background: #fff;
	}
	
	#searchFormDesktop {
		display: flex;
		align-items: stretch;
		width: 100%;
		margin: 0;
		padding: 0;
		background: #fff;
	}

	#searchFormDesktop .search-input-wrap {
		flex: 1;
		overflow: visible;
		background: #fff;
	}

	#searchFormDesktop input[type="text"],
	#searchFormDesktop .sString {
		width: 100%;
		height: 40px;
		box-sizing: border-box;
		margin: 0;
		padding: 0 10px;
		background: #fff;
		border: 1px solid #ccc;
		border-right: 0;
		border-radius: 3px 0 0 3px;
		font-size: 0.9em;
		color: #333;
	}
	
	.sButton {
		flex: 0 0 40px;
		width: 40px;
		height: 40px;
		margin: 0;
		padding: 0;

		display: flex;
		align-items: center;
		justify-content: center;

		background-color: var(--boxBkg);
		border: 1px solid var(--boxBkg);
		border-radius: 0 3px 3px 0;
		cursor: pointer;
	}

	.sButton::before {
		position: static;
		font: var(--fa-font-solid);
		content: "\f002";
		font-size: 16px;
		color: white;
	}

    .dropdown {
		visibility: visible;
        position: relative;
        display: inline-block;
        float: left;
        width: 100%;
        height: auto;
		margin-top: 40px;
    }
	
    .dropdown-content {
        position: absolute;
        width: 90%;
        margin-top: -20px;
		z-index: 99999;
    }

	.dropbtn {
		margin-bottom: 20px;
	}

}

/* ================================
   Calendar widget
================================ */
#calendar {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    display: table;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
}

.cal-nav-wrap {
    width: 100%;
    height: 32px;
    border-radius: 3px;
    text-align: center;
    background: linear-gradient(
        to bottom,
        var(--brand-light) 0%,
        var(--brand-light) 50%,
        var(--brand-base) 50%,
        var(--brand-base) 100%
    );
}

.cal-prev {
    display: inline-block;
    float: left;
    margin: 6px 0 0 6px;
    width: 10%;
    text-align: left;
}

.cal-next {
    display: inline-block;
    float: right;
    margin: 6px 6px 0 0;
    width: 10%;
    text-align: right;
}

.cal-month {
    display: inline-block;
    height: 22px;
    width: 60%;
    color: #fff;
    margin: 5px auto 0 auto;
}

.cal-day-heading {
    display: block;
    float: left;
    width: 13.3%;
    padding: 5px 1% 5px 1%;
    font-weight: bold;
    font-size: .9em;
    color: #333;
}

.cal-day-event {
    display: block;
    float: left;
    width: 13.42%;
    height: 32px;
    padding: .5% 1.5% 0 .5%;
    font-weight: 300;
    font-size: .8em;
    text-align: right;
    vertical-align: top;
    background-color: #ccc;
    color: #000;
	position: relative;
}

.cal-day-event::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;

  width: 0;
  height: 0;

  border-left: 10px solid var(--boxBkg);
  border-top: 10px solid transparent;
}

.cal-day-event:hover {
    background-color: var(--boxBkg);
    background-image: none;
    color: #FFF;
    background-repeat: none;
    text-decoration: none;
}

.cal-day-event.selected {
    background-color: var(--brand-base);
    color: #fff;
    border-radius: 0;
}

.cal-day-noevent {
    display: block;
    float: left;
    width: 13.42%;
    height: 32px;
    padding: .5% 1.5% 0 .5%;
    font-weight: 300;
    font-size: .8em;
    text-align: right;
    vertical-align: top;
    background-color: #EEE;
}

.cal-day-blank {
    display: block;
    float: left;
    width: 13.42%;
    height: 32px;
    padding: .5% 1.5% 0 .5%;
}

#cal-row {
    width: 100%;
    overflow: hidden;
    text-align: center;
    margin: 3px 0 3px 0;
}

.cal-day-spacer {
    display: block;
    float: left;
    width: 1%;
    height: 4px;
}

/* ================================
   View Event page
================================ */
.event-detail-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4%;
}

.event-main,
.event-sidebar {
    min-width: 0;
}

/* Shared boxes */
.event-section {
    margin-bottom: 15px;
}

.event-section__header {
    display: flex;
    align-items: center;
    padding: 3px 8px;
    width: 100%;
    border-radius: 3px;
    background: #e4e4e4;
    color: #333;
    font-size: 1.15em;
    font-weight: 700;
}

.event-section__body {
    padding: 0 10px;
    text-align: left;
    font-size: 1em;
    line-height: 1.6;
}

/* Desktop/mobile visibility helpers */
.event-detail-layout .mobile-only {
    display: none;
}

.event-detail-layout .desktop-only {
    display: block;
}

.event-mobile-venue {
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 700;
}
			
.event-meta-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 5px 0px;
}

/* Tickets */
.event-tickets {
    margin-bottom: 15px;
}

.event-tickets .event-section__body {
    padding-left: 10px;
}

.box-tickets {
    margin-left: 10px;
}
			
.box-map {
    width: 100%;
    height: clamp(250px, 40vh, 300px);
    aspect-ratio: auto;
    border-radius: 6px;
    overflow: hidden;
}

.iframe-container {
    width: 100%;
    height: clamp(250px, 35vw, 350px);
    overflow: hidden;
    border-radius: 3px;
    margin-top: 20px;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.calendar-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
	margin-bottom: 30px;
}
			
.event-calendar-link {
    font-size: 0.9em;
    margin-top: 5px;
}

@media (max-width: 767px) {
    .event-detail-layout .mobile-only {
        display: block;
    }

    .event-detail-layout .desktop-only {
        display: none;
    }
	
    .event-detail-layout {
        display: flex;
        flex-direction: column;
    }

    .event-main,
    .event-sidebar {
        display: contents;
    }

    .event-date-section {
        order: 1;
    }

    .event-description-section {
        order: 2;
    }

    .event-contact-section {
        order: 3;
    }

    .event-ticket-section {
        order: 4;
    }

    .event-location-full {
        order: 5;
    }
}

/* ================================
   Event management listings
================================ */
.my-event {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #ddd;
    align-items: start;
}

.day-group .my-event:last-of-type {
    border-bottom: none;
}

#event-loader-trigger {
    height: 100px;
}

.my-event-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    white-space: nowrap;
}

.my-event-action {
    border: 0;
    background: transparent;
    color: #9C9C9C;
    cursor: pointer;
    font-size: 1.05em;
    text-decoration: none;
    margin-left: 10px;
}

.my-event-action:hover {
    color: #333;
}

/* Featured event pills */

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 0;
    border-radius: 999px;
    font-size: .8em;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color .2s ease,
        color .2s ease,
        opacity .2s ease;
}

.feature-pill:hover,
.feature-pill:focus {
    color: #fff;
    text-decoration: none;
}

/* Not currently featured */
.feature-pill.not-featured {
    background-color: var(--brand-base);
    color: #fff;
}

.feature-pill.not-featured:hover,
.feature-pill.not-featured:focus {
    background-color: var(--brand-light);
}

/* Currently featured */
.feature-pill.featured {
    background-color: #1DA731;
    color: #fff;
}

.feature-pill.featured:hover,
.feature-pill.featured:focus {
    background-color: #158425;
}

.status-toggle {
    padding: 0;
}

.status-toggle.is-approved {
    color: #1DA731;
}

.status-toggle:not(.is-approved) {
    color: #9C9C9C;
}

.status-toggle:hover {
    color: #333;
}

.status-toggle.is-approved:hover {
    color: #158425;
}

.status-toggle:disabled {
    cursor: wait;
    opacity: .6;
}

.elert-toggle {
    padding: 0;
}

.elert-toggle.is-active {
    color: #1DA731;
}

.elert-toggle:disabled {
    cursor: wait;
    opacity: .6;
}

.manage-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0 25px 0;
}

.manage-filter {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eee;
    color: #444;
    font-size: .9em;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.manage-filter:hover {
    background: #ddd;
    text-decoration: none;
}

.manage-filter.active {
    background: var(--brand-base);
    color: #fff;
}		

@media (max-width: 700px) {
    .my-event {
        grid-template-columns: 90px 1fr;
    }

    .my-event-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-top: 4px;
    }
}

/* ================================
   Manage Events Search
================================ */

.manage-search {
    margin: 15px 0;
}

.manage-search-wrap {
    display: flex;
    align-items: stretch;
    max-width: 500px;
}

.manage-search-wrap input[type="text"] {
    flex: 1;
    min-width: 0;
    height: 40px;
    box-sizing: border-box;
    padding: 0 12px;
	margin: 0;
    border: 1px solid #ccc;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    font: inherit;
}

.manage-search-wrap button {
    width: 42px;
    height: 40px;
    box-sizing: border-box;
    padding: 0;
    border: 1px solid var(--brand-base);
    background: var(--brand-base);
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.manage-search-wrap button:hover {
    background: var(--brand-light);
}

.manage-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    margin-left: 6px;
    color: #999;
    font-size: 1.1rem;
}

.manage-search-clear:hover {
    color: #333;
    text-decoration: none;
}