#header .logo h1 a,
#header .logo h1 a:hover {
    color: #413e66;
    text-decoration: none;
}

.nav-menu a {
    padding: 15px 12px;
}

.header-container {
    align-items: center;
}

#header .logo h1 {
    font-size: 2rem;
    font-weight: 500;
}

#header .logo img {
    max-height: 50px;
}

.about h3.title {
    color: #139682;
}

.gallery-image,
.committee-image {
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    height: 260px;
    width: 100%;
}

.committee-image {
    height: 360px !important;
}

.services .icon-box {
    padding: 10px 20px;
    border-radius: 0px;
    width: 100%;
    box-shadow: none;
}

.custom-title {
    color: #139682 !important;
}

.services .title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 20px;
}

.content-image {
    height: auto;
    min-height: 500px;
    max-height: 720px;
    width: 100%;
    background-size: cover !important;
}

.event-image {
    height: 275px;
    width: 100%;
    background-size: cover !important;
}


#map {
    width: inherit;
}

.php-email-form .contact-response {
    width: 100%;
    padding: 0px 5px;
}

.contact .php-email-form input, .contact .php-email-form textarea, .contact .php-email-form button {
    border-radius: 4px;
}

/* ========== HERO FULLSCREEN OVERHAUL ========== */
#hero.hero-fullscreen {
    min-height: 540px !important;
    max-height: 720px !important;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
#hero.hero-fullscreen .carousel,
#hero.hero-fullscreen .carousel-inner,
#hero.hero-fullscreen .carousel-item {
    height: 72vh !important;
    min-height: 540px !important;
    max-height: 720px !important;
}
#hero.hero-fullscreen .carousel-item::before {
    display: none;
}
#hero.hero-fullscreen .carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 72vh !important;
    min-height: 540px !important;
    max-height: 720px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
#hero.hero-fullscreen .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
#hero.hero-fullscreen .carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 72vh;
    max-height: 720px;
    min-height: 540px;
    display: flex;
    align-items: center;
    z-index: 2;
    padding-top: 0; /* offset for header */
}
#hero.hero-fullscreen .hero-content-row { padding-top: 140px;
    width: 100%;
    min-height: calc(72vh - 140px);
}

/* Hero Slider Text */
#hero.hero-fullscreen .hero-text-col {
    padding-right: 20px;
}
.hero-slide-title {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero-slide-desc {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

/* Hero Booking Widget Card */
#hero.hero-fullscreen .hero-booking-col {
    display: flex;
    justify-content: flex-end;
}
.hero-booking-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    padding: 1rem 1.25rem;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}
/* Hero Booking Widget Overlay — rendered ONCE above the hero carousel so it never
   fades away with the slides (single-instance "widget on top" hero design) */
#hero .hero-booking-widget-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 5;
    width: 100%;
    max-width: none;
}
/* Same fixed width as header/menu/content sections, centered on the hero */
#hero .hero-booking-widget-overlay .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
/* Widget stays right-aligned, but inside the container (not viewport) */
#hero .hero-booking-widget-overlay .hero-booking-card {
    margin-left: auto;
    margin-right: 0;
    max-width: 340px;
}
@media screen and (max-width: 991px) {
    #hero .hero-booking-widget-overlay {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin: -60px auto 0;
        padding: 0 15px 20px;
        max-width: 100%;
        z-index: 5;
    }
    #hero .hero-booking-widget-overlay .hero-booking-card {
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width: 768px) {
    #hero .hero-booking-widget-overlay {
        margin-top: -40px;
    }
}
.hero-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.hero-booking-title {
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    margin: 0;
    padding: 0;
    border: none;
    line-height: 1;
}
.hero-booking-muted {
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
}
.hero-booking-muted .hero-guest-link {
    color: #1bbca3;
    font-weight: 700;
    text-decoration: underline;
}
.hero-booking-muted .hero-guest-link:hover {
    color: #148f7a;
}
.hero-booking-empty-img {
    width: 100%;
}
.btn-new-booking {
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.4;
}
.btn-new-booking:hover {
    background: #218838;
    color: #fff;
    text-decoration: none;
}
#hero-booking-widget-content {
    max-height: 320px;
    overflow-y: auto;
}
.hero-booking-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hero-booking-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}
.hero-booking-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.6rem;
    background: #eaeff5;
}
.hero-booking-facility {
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
}
.hero-booking-cancel {
    font-size: 0.7rem;
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
}
.hero-booking-cancel:hover {
    color: #a71d2a;
    text-decoration: underline;
}
.hero-booking-row-2 {
    padding: 0.4rem 0.6rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
}
.hero-booking-date-badge {
    display: inline-block;
    background: #d4edda;
    border: 1px solid #28a745;
    color: #155724;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}
.hero-booking-slot-badge {
    display: inline-block;
    background: #fff3cd;
    border: 1px solid #ff9800;
    color: #856404;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
    margin: 2px 3px 2px 0;
    white-space: nowrap;
}

/* Hero Header Overlay */
.hero-header-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-header-overlay.header-sticky {
    position: fixed !important;
    top: 0 !important;
    z-index: 2000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: headerSlideDown .3s ease;
}
@keyframes headerSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
.hero-header-overlay .nav-menu a:hover {
    color: #1bbca3 !important;
}
.hero-logo {
    max-height: 45px;
}
.hero-header-overlay .logo img {
    max-height: 45px;
}

/* Hero Carousel Controls */
#hero.hero-fullscreen .carousel-control-prev,
#hero.hero-fullscreen .carousel-control-next {
    z-index: 3;
    width: 5%;
}
#hero.hero-fullscreen .carousel-indicators {
    bottom: 30px;
    z-index: 3;
}
#hero.hero-fullscreen .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    opacity: 0.7;
}
#hero.hero-fullscreen .carousel-indicators li.active {
    background: #fff;
    opacity: 1;
}
.btn-get-started {
    display: inline-block;
    padding: 10px 30px;
    background: #1bbca3;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #1bbca3;
}
.btn-get-started:hover {
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-color: #fff;
}

/* Responsive Hero */
@media screen and (max-width: 991px) {
    #hero.hero-fullscreen,
    #hero.hero-fullscreen .carousel,
    #hero.hero-fullscreen .carousel-inner,
    #hero.hero-fullscreen .carousel-item,
    #hero.hero-fullscreen .carousel-background,
    #hero.hero-fullscreen .carousel-container {
        height: auto !important;
        min-height: auto !important;
    }
    #hero.hero-fullscreen .carousel-container {
        position: relative;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    .hero-content-row { padding-top: 140px;
        flex-direction: column;
    }
    .hero-text-col {
        text-align: center;
        padding: 20px 0;
    }
    .hero-slide-title {
        font-size: 1.8rem;
    }
    .hero-slide-desc {
        font-size: 1rem;
    }
    .hero-booking-col {
        justify-content: center !important;
        padding: 20px 0;
    }
    .hero-booking-card {
        max-width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .hero-slide-title {
        font-size: 1.4rem;
    }
    .hero-slide-desc {
        font-size: 0.9rem;
    }
    .hero-booking-card {
        padding: 1rem;
    }
}
/* ========== END HERO FULLSCREEN ========== */

/* Old hero styles overridden */
#hero {
    height: auto !important;
    min-height: 72vh !important;
}
#hero .carousel-item {
    height: 72vh !important;
}
#hero .carousel-item::before {
    height: 72vh !important;
}
#hero .carousel-container {
    max-height: 72vh;
}

.carousel-indicators {
    bottom: 60px;
}

.event-modal-body img {
    max-height: 350px;
    max-width: 100%;
    padding: 0px 20px;
}

.event-modal-body h4 {
    padding-top: 20px;
}

/* Events Section
--------------------------------*/

#events {
    padding: 60px 0;
}

#events .section-header {
    margin-bottom: 40px;
}

#events .testimonial-item .testimonial-img {
    width: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    float: left;
}

#events .testimonial-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0 5px 0;
    color: #111;
    margin-left: 140px;
}

#events .testimonial-item h4 {
    font-size: 14px;
    color: #999;
    margin: 0 0 15px 0;
    margin-left: 140px;
}

#events .owl-nav,
#events .owl-dots {
    margin-top: 5px;
    text-align: center;
}

#events .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

#events .owl-dot.active {
    background-color: #1bb1dc;
}

#events .card-title a {
    font-weight: 600;
    font-size: 18px;
    color: #334240;
    transition: ease-in-out 0.3s;
}

#events .card-body {
    -moz-text-align-last: center;
    text-align-last: center;
    height: 200px;
    overflow: hidden;
}

#events .btn {
    border-radius: 50px;
    padding: 4px 15px 6px 15px;
    border: 2px solid #1bbca3;
}

#events .btn:hover,
#events .btn:focus {
    color: #fff;
    background: #1bbca3;
    box-shadow: none;
}

#events .card-body .card-text {
    height: 70px;
    overflow: hidden;
}

#news .news-blog {
    border : 1px solid #ddd;
    border-radius: 10px 10px 0px 0px;
    margin-bottom: 20px;
}
#news .news-content {
    padding: 10px 25px;
    background: #fff;
    box-shadow: inset 0px 2px 5px #eae9e9;
}
#news .news-img {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    height: 250px;
    width: 100%;
    border-radius: 10px 10px 0px 0px;
}
#news .news-title {
    font-weight: 600;
    color: #716B6B;
    font-size: 22px;
    margin-bottom: 12px;
    overflow: hidden;
}
#news .news-description {
    min-height: 220px;
    height: 220px;
    overflow: hidden;
    text-align: justify;
}

#announcement
{
    position: absolute;
    top: 70px;
    width: 100%;
    z-index: 3;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

#announcement .announcement-label {
    display: flex;
    overflow: hidden;
    cursor: pointer;
    border: 0px solid #999999;
    border-radius: 0px;
    font-size: 15px;
}

#announcement .announcement-switch {
    background: #27A1CA;
    white-space: nowrap;
    padding: 5px;
    color: #fff;
    text-transform: uppercase;
}

#announcement .scroll-text{
    color: #131313;
    font-weight: 600;
    
}
#announcement .announcement-active {
    padding-left: 10px;
    background-color: #eeeeee66;
    width: 100%;
    margin-bottom: -7px;
    padding: 5px 10px;
}
#news .owl-nav,
#news .owl-dots {
    margin-top: 5px;
    text-align: center;
}

#news .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

#news .owl-dot.active {
    background-color: #1bb1dc;
}

#news .news-image {
    background-repeat: no-repeat;
    background-position: center !important;
    background-size: cover !important;
    height: 100%;
    width: 100%;
    min-height: 540px;
    max-height: 400px;
}

#news .content {
    text-align: justify;
    height: 250px;
    overflow: hidden;
    margin-bottom: 40px;
}

.main-news-content {
    height: 400px;
    max-height: 400px;
    overflow: hidden;
    background: #252525;
    padding: 25px 30px;
}

.main-news-content .content h3 a {
    color: #efefef;
    font-size: 25px;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
}

.main-news-content .content h3 a:hover {
    color: #2ae0c4;
}

.main-news-content .content p {
    color: #d2d2d2;
}

.btn-outline-primary.custom-white {
    color: #fff;
    border-color: #f9f9f9;
    border-radius: 2px;
}

.btn-outline-primary.custom-white:hover {
    color: #fff;
    border-color: #1CBCA3;
    background-color: #1CBCA3;
    border-radius: 2px;
}

.main-news-content .published_date {
    font-size: 15px;
    color: #a9a9a9 !important;
}

.main-news-content .published_date i {
    font-size: 18px;
}

#news .owl-carousel.news-carousel {
    margin-top: 20px;
    border: 1px solid #ddd;
    padding: 20px;
}

#news .news-carousel-image {
    max-height: 170px;
    height: 170px;
    width: 100%;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
}

#news .news-item .card-body {
    padding: 10px 5px;
}

#news .news-item .card-body .published_date {
    font-size : 15px;
    margin-bottom: 10px;
}

#news .news-item .card-body .card-title {
    margin-bottom: 0px;
    font-size: 19px;
}

#news .news-item .card {
    width: 100%;
    border: none;
}

.news-modal-body .img.news-image {
    max-height: 350px;
    height: auto;
    margin-bottom: 20px;
    width: 100%;
}

.news-modal-body .img-responsive {
    max-height: 350px;
    max-width: 100%;
}

.news-modal-body .content {
    padding: 10px 20px;
    text-align: justify;
}

a {
    color: #1bbca3;
    font-family: "Open Sans", sans-serif;
}

.breakingNews>.bn-title>h2{
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
}

.breakingNews>ul>li>a {
    color: #e6e6e6;
}
.breakingNews {
    background: #ffffff1f;
}

.bn-turquoise>ul>li>a:hover, .bn-turquoise>ul>li>a>span {
    color: #08e2d7;
}

@media (min-width : 991px)
{
    .main-news-content {
        margin-left: -30px;
    }
}

@media screen and (max-width: 768px) {
    #hero {
        height: calc(50vh - 60px) !important;
        min-height: calc(50vh - 60px) !important;
    }
  
    #hero .carousel-item::before {
        max-height: 72vh;
    }

    #hero .carousel-container {
        max-height: 72vh;
    }

    .shuffle-about {
        padding: 0px !important;
    }

    .shuffle-about-container {
        max-width: 100%;
    }

    .shuffle-section-title {
        padding-bottom: 0px;
    }
    
    .shuffle-section-title h2 {
        margin-bottom: 0px;
    }

    .shuffle-header-padding {
        padding: 30px 0px !important;
    }

    .shuffle-section-padding-bottom {
        padding-bottom: 10px;
    }

    .content-block-bottom {
        margin-bottom: 0rem !important;
    }

    .bottom-padding-0 {
        padding-bottom: 0px !important;
    }
}

/* Booking photo verification status colors for hero widget (shuffle theme) */
.hero-booking-row-1.booking-photo-status {
    padding: 0.4rem 0.6rem;
    align-items: center;
    justify-content: space-between;
}

.hero-booking-row-1.booking-photo-status.reminder {
    color: #ff9f43;
    background-color: #ff9f4314;
    border-left: 3px solid #ff9f43;
}

.hero-booking-row-1.booking-photo-status.due-today {
    color: #ea5455;
    background-color: #ea545514;
    border-left: 3px solid #ea5455;
}

.hero-booking-row-1.booking-photo-status.pending-verification {
    color: #28a8e8;
    background-color: #28a8e814;
    border-left: 3px solid #28a8e8;
}

.hero-booking-row-1.booking-photo-status.verification-failed {
    color: #ea5455;
    background-color: #ea545514;
    border-left: 3px solid #ea5455;
}

.hero-booking-row-1.booking-photo-status.all-verified {
    color: #28c76f;
    background-color: #28c76f14;
    border-left: 3px solid #28c76f;
}

/* Nav row: full width + real height, links below row 1 */
.hero-header-nav {
    background: rgba(0, 0, 0, 0.35) !important;
    width: 100% !important;
    min-height: 44px !important;
    margin-top: 8px;
    padding: 0 !important;
    float: none !important;
    display: block !important;
}
.hero-header-nav .nav-menu {
    display: block !important;
    width: 100% !important;
    min-height: 44px !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}
.hero-header-nav .nav-menu ul {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    height: 44px !important;
}
.hero-header-nav .nav-menu li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.hero-header-nav .nav-menu a {
    display: inline-block !important;
    padding: 13px 0 13px 0 !important;
    margin: 0 0 0 0 !important;
    margin-right: 24px !important;
    line-height: 1 !important;
}

/* ========== UPCOMING EVENTS TICKER (right under hero) ========== */
#upcoming-events-ticker {
    position: relative;
    width: 100%;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}
#upcoming-events-ticker .container {
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.8;
}
#upcoming-events-ticker .breakingNews {
    height: 44px;
    border-radius: 4px;
    border: 2px solid #2096cd;
    position: relative;
    overflow: hidden;
    background: #fff;
}
#upcoming-events-ticker .breakingNews > .bn-title {
    position: relative;
    height: 44px;
    min-width: 190px;
    float: left;
    z-index: 2;
}
#upcoming-events-ticker .breakingNews > .bn-title > h2 {
    font-size: 15px;
}
#upcoming-events-ticker .breakingNews > .bn-title > span {
    top: 12px;
}
#upcoming-events-ticker .breakingNews .ticker-container {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}
#upcoming-events-ticker .breakingNews .ticker-container .ticker-track {
    height: 44px;
    font-size: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow: visible;
    will-change: transform;
    animation: ticker-scroll-left 30s linear infinite;
}
#upcoming-events-ticker .breakingNews:hover .ticker-container .ticker-track {
    animation-play-state: paused;
}
#upcoming-events-ticker .breakingNews .ticker-container .ticker-track > li {
    display: inline-block;
    flex: 0 0 auto;
    position: static;
    white-space: nowrap;
    height: 44px;
    line-height: 44px;
}
#upcoming-events-ticker .breakingNews .ticker-container .ticker-track > li > a {
    cursor: pointer;
    color: #333;
    padding: 0 28px;
    display: inline-block;
    text-decoration: none;
}
#upcoming-events-ticker .breakingNews .ticker-container .ticker-track > li > a:hover,
#upcoming-events-ticker .breakingNews .ticker-container .ticker-track > li > a > span {
    color: #1bbca3;
}
#upcoming-events-ticker .breakingNews .ticker-container .ticker-track > li > a > span {
    font-weight: 600;
    margin-right: 6px;
}
/* Separator between events: | with 20px left/right padding, not after the last */
#upcoming-events-ticker .breakingNews .ticker-container .ticker-track > li:not(:last-child)::after {
    content: '|';
    display: inline-block;
    padding: 0 20px;
    color: #999;
    font-weight: 400;
}
@keyframes ticker-scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== GENERIC HOMEPAGE MODAL ========== */
#genericModal {
    z-index: 3450 !important;
}
#genericModal .modal-lg {
    max-width: 780px;
}
#genericModal .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
    margin: 1.75rem auto;
}
.generic-modal-body {
    padding: 20px 25px;
    max-height: 70vh;
    overflow-y: auto;
}
.generic-event-details .generic-event-name {
    color: #334240;
    font-weight: 600;
    margin-bottom: 12px;
}
.generic-event-details .generic-event-date,
.generic-event-details .generic-event-venue,
.generic-event-details .generic-event-venue-location {
    color: #666;
    font-size: 15px;
    margin-bottom: 7px;
}
.generic-event-details .generic-event-date i,
.generic-event-details .generic-event-venue i,
.generic-event-details .generic-event-venue-location i {
    color: #1bbca3;
    margin-right: 8px;
}
.generic-event-details .generic-event-description {
    color: #334240;
    margin: 15px 0;
    line-height: 1.7;
    text-align: justify;
    white-space: pre-wrap;
}
.generic-event-details .generic-event-images {
    margin-top: 10px;
}
.generic-event-details .generic-event-image {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

/* ========== BOOK A FACILITY MODAL ========== */
/* Sit above the sticky site header/nav and centered vertically on screen */
#bookingFormModal {
    z-index: 3500 !important;
}
/* Bootstrap's backdrop is a body-level sibling, not a child of the modal */
.modal-backdrop.show {
    z-index: 3400 !important;
}
#bookingFormModal .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
    margin: 1.75rem auto;
}
#bookingFormModal .modal-dialog .modal-content {
    max-height: 90vh;
    overflow-y: auto;
}
@media (max-width: 991px) {
    #bookingFormModal .modal-dialog {
        margin: 0.5rem auto;
        max-width: calc(100% - 1rem);
    }
}

/* ========== MOBILE POLISH (override template defaults) ========== */
/* 1) Keep hero slide images visible on small screens.
   .carousel-background is an absolutely-positioned div whose height:auto
   collapses to 0 on mobile - give it an explicit height so the photo shows. */
@media screen and (max-width: 991px) {
    #hero.hero-fullscreen .carousel,
    #hero.hero-fullscreen .carousel-inner,
    #hero.hero-fullscreen .carousel-item {
        height: 46vh !important;
        min-height: 340px !important;
        max-height: 520px !important;
    }
    #hero.hero-fullscreen .carousel-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 46vh !important;
        min-height: 340px !important;
        max-height: 520px !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    #hero.hero-fullscreen .carousel-container {
        position: relative;
        height: 46vh;
        min-height: 340px;
        max-height: 520px;
        padding-top: 70px;
        padding-bottom: 24px;
        display: flex;
        align-items: center;
    }
    .hero-content-row {
        padding-top: 20px !important;
        flex-direction: column;
    }
    /* 3) Booking widget: remove the huge negative-margin gap - sit it snug below the hero */
    #hero .hero-booking-widget-overlay {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin: -50px auto 0 !important;
        padding: 0 15px 20px;
        max-width: 100%;
        z-index: 5;
    }
    #hero .hero-booking-widget-overlay .hero-booking-card {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
}
@media screen and (max-width: 768px) {
    #hero.hero-fullscreen .carousel-item,
    #hero.hero-fullscreen .carousel-background {
        height: 40vh !important;
        min-height: 280px !important;
        max-height: 420px !important;
    }
    #hero.hero-fullscreen .carousel-container {
        height: 40vh;
        min-height: 280px;
        max-height: 420px;
    }
    #hero .hero-booking-widget-overlay {
        margin: -30px auto 0 !important;
    }
}

/* 2) Hamburger menu: template puts it fixed top-right (overlapping login/avatar).
   Move it to the LEFT and keep the logo clear of it. */
.mobile-nav-toggle {
    left: 15px !important;
    right: auto !important;
    top: 18px !important;
}
#header.hero-header-overlay .hero-logo,
#header.hero-header-overlay .logo {
    display: inline-block;
    max-width: calc(100% - 40px);
}
#header.hero-header-overlay .col-6.text-left {
    padding-left: 45px;
}
@media screen and (max-width: 991px) {
    #header.hero-header-overlay .row.align-items-center {
        padding-top: 8px;
        padding-bottom: 4px;
    }
    #header.hero-header-overlay .col-6.text-right {
        padding-right: 10px;
    }
}
/* Mobile drawer/toggle: keep them above page content but below the modals.
   NOTE: do NOT change .mobile-nav left - the template hides it at left:-260px
   and only slides it in when body.mobile-nav-active (opened by the toggle /
   closed by the X icon or a tap outside). */
.mobile-nav-overly {
    z-index: 2990 !important;
}
.mobile-nav-toggle {
    z-index: 3000 !important;
}
.mobile-nav {
    z-index: 3010 !important;
}

/* When the hamburger menu is shown (mobile, <=991px) the horizontal hero-nav
   row is redundant - hide it; the hamburger drawer provides the links. */
@media screen and (max-width: 991px) {
    .hero-header-nav,
    .hero-header-nav .nav-menu {
        display: none !important;
    }
}

/* ========== HERO SLIDER POLISH ========== */
/* Indicators must be visible on the hero carousel (they were in the DOM but
   not rendered on large screens). Give them a clear, styled presence. */
#hero.hero-fullscreen .carousel,
#hero.hero-fullscreen #heroCarousel {
    position: relative;
}
/* Pin every fade-slide to the exact same box inside the hero so the slide
   transition (and the template's slid.bs.carousel animations) can NEVER push
   the hero content/indicators down past the hero's visible area. Without this
   the content "jumps down" from the 2nd slide onward and the indicators get
   clipped under the next section. */
#hero.hero-fullscreen #heroCarousel.carousel-fade .carousel-item,
#hero.hero-fullscreen #heroCarousel.carousel-fade .carousel-item.active,
#hero.hero-fullscreen #heroCarousel.carousel-fade .carousel-item-next,
#hero.hero-fullscreen #heroCarousel.carousel-fade .carousel-item-prev,
#hero.hero-fullscreen #heroCarousel.carousel-fade .carousel-item-next.carousel-item-left,
#hero.hero-fullscreen #heroCarousel.carousel-fade .carousel-item-next.carousel-item-right,
#hero.hero-fullscreen #heroCarousel.carousel-fade .carousel-item-prev.carousel-item-left,
#hero.hero-fullscreen #heroCarousel.carousel-fade .carousel-item-prev.carousel-item-right {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    margin: 0 !important;
}
#hero.hero-fullscreen #heroCarousel.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}
#hero.hero-fullscreen #heroCarousel.carousel-fade .carousel-item.active {
    opacity: 1;
}
/* The template adds Animate.css classes (animated fadeInDown/fadeInUp) to hero
   content on every slid.bs.carousel event. Those transforms push the content
   down from the 2nd slide - neutralise them so the hero stays put. */
#hero .hero-slide-title,
#hero .hero-slide-desc,
#hero .hero-content-row h2,
#hero .hero-content-row p,
#hero .btn-get-started {
    animation: none !important;
    -webkit-animation: none !important;
    transform: none !important;
    -webkit-transform: none !important;
}
#hero.hero-fullscreen #hero-carousel-indicators {
    display: flex !important;
    justify-content: center !important;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    z-index: 2100 !important;
    margin: 0 auto !important;
    padding: 0;
    list-style: none;
    width: auto;
}
#hero.hero-fullscreen #hero-carousel-indicators li {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0.9;
    cursor: pointer;
    text-indent: 0;
    box-sizing: border-box;
}
#hero.hero-fullscreen #hero-carousel-indicators li.active {
    background: #fff;
    opacity: 1;
}

/* The old dark overlay is no longer used in the shuffle hero - never show it */
#hero.hero-fullscreen .carousel-overlay {
    display: none !important;
}

/* ========== HERO CAROUSEL CONTROLS ========== */
/* Prev/Next arrows: 60px circular buttons, vertically centered on the hero.
   The chevron glyphs are real text nodes inside .carousel-control-*-icon
   (&#10094; / &#10095; in the Blade markup), so style them directly. */
#hero.hero-fullscreen .carousel-control-prev,
#hero.hero-fullscreen .carousel-control-next {
    z-index: 2100 !important;
    width: 60px !important;
    height: 60px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(0, 0, 0, 0.55) !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    opacity: 1 !important;
}
#hero.hero-fullscreen .carousel-control-prev {
    left: 15px !important;
}
#hero.hero-fullscreen .carousel-control-next {
    right: 15px !important;
}
#hero.hero-fullscreen .carousel-control-prev-icon,
#hero.hero-fullscreen .carousel-control-next-icon {
    background: none !important;
    width: auto !important;
    height: auto !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #fff !important;
}
/* Remove the template's rules that set the icon span as a 8px background
   image: we render the chevron as text. */
#hero.hero-fullscreen .carousel-control-prev-icon,
#hero.hero-fullscreen .carousel-control-next-icon {
    display: inline-block !important;
    background-image: none !important;
}
#hero.hero-fullscreen .carousel-control-prev:hover,
#hero.hero-fullscreen .carousel-control-next:hover,
#hero.hero-fullscreen .carousel-control-prev:focus,
#hero.hero-fullscreen .carousel-control-next:focus,
#hero.hero-fullscreen .carousel-control-prev.active,
#hero.hero-fullscreen .carousel-control-next.active {
    background: rgba(85, 90, 95, 0.85) !important;
}
/* ========== END HERO CAROUSEL CONTROLS ========== */
