/* =================================================================
   GPA EVENTS – COMPREHENSIVE ALIGNMENT FIX  v20261113-3
   Targets: Homepage, Events, Event Detail, Services, Contact pages
   Replaces all previous fix iterations with one clean authority file.
   ================================================================= */

/* -----------------------------------------------------------------
   0. BANNER / HERO – Static single image (no carousel)
      Full-width, natural aspect ratio, centered.
      Space below before the featured event card.
   ----------------------------------------------------------------- */

/* Static banner wrapper */
.banner_wrapper.static_banner {
    display: block;
    width: 100%;
    text-align: center;
    background: #f5f5f5;
    margin-bottom: 0 !important;
    overflow: hidden;
    line-height: 0;
}

/* Static banner image – full width, auto height */
.banner_wrapper.static_banner .static_banner_img {
    display: block;
    width: 100% !important;
    max-width: 1200px;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto;
}

/* Space between banner and the featured event section below */
.banner_wrapper.static_banner + .top_rated_wraper.main_event,
.banner_wrapper.static_banner ~ .top_rated_wraper.main_event {
    margin-top: 40px !important;
}

/* Legacy carousel rules (kept for other pages/fallback) */
.banner_wrapper:not(.static_banner) {
    margin-bottom: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: 0 !important;
}

div#myCarousel {
    max-height: none !important;
    overflow: hidden !important;
}

.banner_wrapper:not(.static_banner) img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.banner_wrapper .banner_overlay {
    display: none !important;
}

.banner_wrapper .carousel-control {
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    width: 5%;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
}

/* -----------------------------------------------------------------
   1. GLOBAL RESETS – prevent float-based layout from collapsing
   ----------------------------------------------------------------- */

/* Clearfix for all Bootstrap rows so floated children don't collapse */
.row::after,
.top_header_wrapper::after,
.menu_wrapper .row::after {
    content: "";
    display: table;
    clear: both;
}

/* -----------------------------------------------------------------
   2. TOP HEADER BAR
   Classes: .top_header_wrapper > .container > .row > .col-lg-12
            .header_top_wrapper   (address + contact side by side)
   ----------------------------------------------------------------- */

.header_top_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    padding: 6px 0;
}

.header_top_wrapper .address_wrapper {
    float: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header_top_wrapper .contact_wrapper {
    float: none !important;
}

.header_top_wrapper .contact_wrapper ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header_top_wrapper .contact_wrapper ul li {
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 767px) {
    .header_top_wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* -----------------------------------------------------------------
   3. NAVIGATION BAR – notification bell icon alignment & sizing
   Exact match to production (gpaevents.siddhrans.in):
   Large solid blue circle (#337ab7) with crisp white bell icon
   ----------------------------------------------------------------- */

.nav.navbar-nav .fa-stack.fa-3x {
    display: inline-block !important;
    vertical-align: middle !important;
    font-size: 1.5em !important;
    line-height: 2em !important;
    width: 2em !important;
    height: 2em !important;
    margin-left: 15px !important;
    margin-top: 18px !important;
    margin-bottom: 18px !important;
    float: left !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
}

.nav.navbar-nav .fa-stack.fa-3x a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 2em !important;
    color: #337ab7 !important;
}

.nav.navbar-nav .fa-stack.fa-3x .fa-circle {
    color: #337ab7 !important;
    font-size: 2em !important;
    line-height: 1 !important;
}

.nav.navbar-nav .fa-stack.fa-3x .fa-bell {
    color: #ffffff !important;
    font-size: 1em !important;
    line-height: 2em !important;
}

.nav.navbar-nav .fa-stack.fa-3x:hover {
    transform: scale(1.08) !important;
}

/* -----------------------------------------------------------------
   4. FEATURED EVENT CARD  (.main_event)
   Structure inside .ts_single_theme_box:
     – .event-main-title  (h3, spans full width)
     – .col-lg-5          (image side)
     – .col-lg-7          (details side)
     – .rs_tag_box        (absolute FEATURED label)
   ----------------------------------------------------------------- */

.main_event .ts_single_theme_box {
    display: grid !important;
    grid-template-columns: 42% 58% !important;
    grid-template-rows: auto auto;
    align-items: start !important;
    gap: 0 0 !important;
    overflow: visible !important;
    box-sizing: border-box;
    padding: 40px 30px !important;
    float: none !important;
    position: relative;
}

/* Event title spans both columns */
.main_event .event-main-title {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    text-align: center !important;
    color: #d93636;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 24px !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Image column */
.main_event .ts_single_theme_box > .col-lg-5 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 15px 0 0 !important;
    float: none !important;
    box-sizing: border-box;
}

/* Details column */
.main_event .ts_single_theme_box > .col-lg-7 {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 0 0 20px !important;
    float: none !important;
    box-sizing: border-box;
}

/* Image fills its container */
.main_event .ts_single_theme_box_img,
.main_event .ts_single_theme_box_img a {
    display: block;
    width: 100%;
}

.main_event .ts_single_theme_box_img img {
    display: block;
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
}

/* Detail text block */
.main_event .ts_single_theme_box_detail {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    box-sizing: border-box;
}

/* Particulars table inside main event */
.main_event .ts_single_theme_box_detail > table,
.main_event .ts_single_theme_box_detail table:not(.feature_property_wrapper table) {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
    background-color: transparent !important;
    table-layout: fixed !important;
    clear: both !important;
}

.main_event .ts_single_theme_box_detail > table th,
.main_event .ts_single_theme_box_detail table:not(.feature_property_wrapper table) th {
    padding: 8px 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #333 !important;
    border-bottom: 2px solid #eee !important;
    text-align: left !important;
}

.main_event .ts_single_theme_box_detail > table th:first-child,
.main_event .ts_single_theme_box_detail table:not(.feature_property_wrapper table) th:first-child {
    width: 40% !important;
}

.main_event .ts_single_theme_box_detail > table th:last-child,
.main_event .ts_single_theme_box_detail table:not(.feature_property_wrapper table) th:last-child {
    width: 60% !important;
}

.main_event .ts_single_theme_box_detail > table th p,
.main_event .ts_single_theme_box_detail table:not(.feature_property_wrapper table) th p {
    margin: 0 !important;
    font-weight: 700 !important;
}

.main_event .ts_single_theme_box_detail > table td,
.main_event .ts_single_theme_box_detail table:not(.feature_property_wrapper table) td {
    padding: 8px 12px !important;
    font-size: 13px !important;
    color: #666 !important;
    border-bottom: 1px solid #f5f5f5 !important;
    vertical-align: top !important;
}

.main_event .ts_single_theme_box_detail > table td p,
.main_event .ts_single_theme_box_detail table:not(.feature_property_wrapper table) td p {
    margin: 0 !important;
    line-height: 1.4 !important;
}

.main_event .ts_single_theme_box_detail .btn_wrapper {
    display: inline-block !important;
    margin-bottom: 15px !important;
}

.main_event .ts_single_theme_box_detail .btn_wrapper .rs_btn {
    display: inline-block !important;
    padding: 8px 24px !important;
    font-size: 14px !important;
    background: #ed4a43 !important;
    color: #fff !important;
    border-radius: 4px !important;
    text-transform: capitalize !important;
    box-shadow: none !important;
}

.main_event .ts_single_theme_box_detail .pull-right.btn_wrapper {
    float: right !important;
}

.main_event .ts_single_theme_box_detail .pull-right.btn_wrapper h3 {
    margin: 0 !important;
    padding: 0 !important;
}

.main_event .ts_single_theme_box_detail .pull-right.btn_wrapper .label-info {
    background-color: #ed4a43 !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    display: inline-block !important;
}

.main_event .ts_single_theme_box_detail .clearfix {
    clear: both !important;
    margin-bottom: 10px !important;
}

/* Date/Time table (Date - 19 Dec 2026 / Time - 10:00:AM) */
.main_event .feature_property_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin-top: 15px !important;
    clear: both !important;
}

.main_event .feature_property_wrapper table {
    width: 100% !important;
    background: #fbfbfb !important;
    border-radius: 6px !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.main_event .feature_property_wrapper table tbody tr td {
    padding: 10px 15px !important;
    font-size: 13px !important;
    color: #555 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    line-height: 1.5 !important;
}

.main_event .feature_property_wrapper table tbody tr td:first-child {
    width: 25% !important;
    font-weight: 600 !important;
}

.main_event .feature_property_wrapper table tbody tr td:nth-child(2) {
    width: 10% !important;
    text-align: center !important;
}

.main_event .feature_property_wrapper table tbody tr td:last-child {
    width: 65% !important;
    text-align: right !important;
    font-weight: 600 !important;
}

/* Countdown counter boxes - horizontally centered */
.main_event .em_event_date_counter {
    width: 100% !important;
    margin-top: 20px !important;
    display: block !important;
    clear: both !important;
}

.main_event .em_event_date_counter .em_counter {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    width: 100% !important;
    float: none !important;
}

.main_event .em_event_date_counter .em_counter > span {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 65px !important;
    height: 65px !important;
    background-color: #ed4a43 !important;
    border-radius: 6px !important;
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
}

.main_event .em_event_date_counter .em_counter > span p:first-child {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    padding: 0 !important;
}

.main_event .em_event_date_counter .em_counter > span p:last-child {
    font-size: 11px !important;
    color: #fff !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-transform: capitalize !important;
    padding: 0 !important;
}

/* FEATURED ribbon – keep it inside the card */
.main_event .rs_tag_box {
    position: absolute;
    top: 20px;
    right: 10px;
    z-index: 10;
}

/* Mobile: stack columns */
@media (max-width: 767px) {
    .main_event .ts_single_theme_box {
        grid-template-columns: 1fr !important;
        padding: 20px 15px !important;
    }

    .main_event .event-main-title {
        font-size: 20px;
        margin-bottom: 16px !important;
    }

    .main_event .ts_single_theme_box > .col-lg-5 {
        grid-column: 1 !important;
        grid-row: 2 !important;
        padding: 0 !important;
    }

    .main_event .ts_single_theme_box > .col-lg-7 {
        grid-column: 1 !important;
        grid-row: 3 !important;
        padding: 15px 0 0 !important;
    }

    .main_event .ts_single_theme_box_img img {
        height: auto !important;
        max-height: 240px;
    }
}

/* -----------------------------------------------------------------
   5. UPCOMING EVENTS GRID  (.top_rated_wraper:not(.main_event))
   Horizontal 3-column clean modern card layout
   ----------------------------------------------------------------- */

/* Space above upcoming events section */
.top_rated_wraper:not(.main_event) {
    margin-top: 30px !important;
    padding-top: 10px !important;
    margin-bottom: 50px !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
}

/* Heading container – normal block flow */
.top_rated_wraper:not(.main_event) > .container:first-child > .row {
    display: block !important;
    float: none !important;
    width: 100% !important;
}

.top_rated_wraper:not(.main_event) > .container:first-child .rs_heading_wrapper,
.top_rated_wraper:not(.main_event) > .container:first-child .rs_heading {
    width: 100% !important;
    text-align: center !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

.top_rated_wraper:not(.main_event) .rs_heading h3 {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}

.top_rated_wraper:not(.main_event) .rs_heading:after,
.top_rated_wraper:not(.main_event) .rs_heading:before {
    left: 50% !important;
}

.top_rated_wraper:not(.main_event) .rs_heading:after {
    margin-left: -30px !important;
}

.top_rated_wraper:not(.main_event) .rs_heading:before {
    margin-left: -20px !important;
}

/* Space between UPCOMING EVENTS heading and the cards grid */
.top_rated_wraper:not(.main_event) > .container:first-child {
    margin-bottom: 35px !important;
}

/* Row: Flex container aligning 3 cards per row horizontally */
.upcoming_events_grid_row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    align-items: stretch !important;
}

/* Columns: 3 columns per row (33.333333%) */
.upcoming_event_card_col {
    display: flex !important;
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
    padding: 0 15px 30px !important;
    box-sizing: border-box !important;
    float: none !important;
}

/* Card Wrapper: Modern clean rounded card */
.upcoming_grid_card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
    float: none !important;
    border: 1px solid #f0f0f0 !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.upcoming_grid_card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Card Image */
.upcoming_grid_card .rated_property_img {
    margin: 0 !important;
    width: 100% !important;
    height: 200px !important;
    position: relative !important;
    z-index: 1 !important;
    float: none !important;
    overflow: hidden !important;
}

.upcoming_grid_card .img_wrapper {
    width: 100% !important;
    height: 100% !important;
    float: none !important;
    position: relative !important;
}

.upcoming_grid_card .img_wrapper a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.upcoming_grid_card .img_wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.upcoming_grid_card:hover .img_wrapper img {
    transform: scale(1.05) !important;
}

/* Card Body Overlay Content */
.upcoming_grid_card .img_overlay {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    margin: 0 !important;
    float: none !important;
    z-index: 2 !important;
}

.upcoming_grid_card .overlay {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    position: static !important;
    padding: 20px !important;
    width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* Card Title */
.upcoming_grid_card h5 {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 8px 0 !important;
    min-height: 48px !important;
    max-height: 48px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    float: none !important;
    width: 100% !important;
}

.upcoming_grid_card h5 a {
    color: #2b2b2b !important;
    text-decoration: none !important;
}

.upcoming_grid_card h5 a:hover {
    color: #ed4a43 !important;
}

/* Price tag */
.upcoming_grid_card .overlay > span {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ed4a43 !important;
    margin-bottom: 12px !important;
    display: inline-block !important;
}

/* Description */
.upcoming_grid_card .overlay > p,
.upcoming_grid_card .overlay {
    color: #666666 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

/* Date / Time Table inside card */
.upcoming_grid_card table {
    width: 100% !important;
    background-color: #f9f9f9 !important;
    border-radius: 6px !important;
    margin: 15px 0 !important;
    border: none !important;
}

.upcoming_grid_card table tbody tr td {
    padding: 6px 12px !important;
    font-size: 12px !important;
    color: #555555 !important;
    font-weight: 500 !important;
    border: none !important;
}

/* Read more button */
.upcoming_grid_card .btn_wrapper {
    margin-top: auto !important;
    margin-bottom: 15px !important;
    float: none !important;
    width: 100% !important;
}

.upcoming_grid_card .btn_wrapper .rs_btn {
    display: inline-block !important;
    padding: 7px 20px !important;
    font-size: 13px !important;
    background: #ed4a43 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Countdown boxes */
.upcoming_grid_card .em_event_date_counter {
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid #eeeeee !important;
    width: 100% !important;
    float: none !important;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .upcoming_event_card_col {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

@media (max-width: 600px) {
    .upcoming_event_card_col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* -----------------------------------------------------------------
   6. EVENTS LIST PAGE  (.property_view_wrapper .list_view)
   Each event: .property_wrapper > .row > [col-lg-5 img | col-lg-7 detail]
   ----------------------------------------------------------------- */

.list_view .property_wrapper {
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    float: none !important;
    margin-bottom: 30px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
    background-color: #fbfbfb;
    transition: box-shadow 0.3s ease;
}

.list_view .property_wrapper > .row {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch !important;
    margin: 0 !important;
    width: 100%;
    flex: 1;
}

/* Image column */
.list_view .property_wrapper > .row > .col-lg-5 {
    flex: 0 0 41.666667% !important;
    max-width: 41.666667% !important;
    min-width: 0;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box;
}

/* Detail column */
.list_view .property_wrapper > .row > .col-lg-7 {
    flex: 0 0 58.333333% !important;
    max-width: 58.333333% !important;
    min-width: 0;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box;
}

/* Image fills full height of the card row */
.list_view .property_img_wrapper {
    height: 100%;
    min-height: 220px;
}

.list_view .property_img_wrapper img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 220px;
    object-fit: cover !important;
}

/* Detail text */
.list_view .property_detail {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    float: none !important;
    box-sizing: border-box;
}

.list_view .property_content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 24px !important;
    float: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Header: Title and Price */
.list_view .list_card_header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 15px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    float: none !important;
}

.list_view .list_card_header h5 {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 0 10px 0 !important;
    flex: 1 1 auto !important;
    color: #2a2d3c !important;
    position: relative !important;
    width: auto !important;
    float: none !important;
}

.list_view .list_card_header h5:after {
    content: "";
    width: 35px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #ed4a43;
}

.list_view .list_card_header h5 a {
    color: #2a2d3c !important;
    text-decoration: none !important;
}

.list_view .list_card_header h5 a:hover {
    color: #ed4a43 !important;
}

.list_view .list_card_header .list_card_price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ed4a43 !important;
    white-space: nowrap !important;
    float: none !important;
    margin: 0 !important;
    padding-top: 2px !important;
    text-align: right !important;
}

/* Body: Text and Tables */
.list_view .list_card_body {
    flex: 1 1 auto !important;
    margin-bottom: 15px !important;
    width: 100% !important;
}

.list_view .list_card_body p {
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin: 0 0 10px 0 !important;
    float: none !important;
    width: 100% !important;
}

/* Particulars / Details table in list view */
.list_view .property_content table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 10px !important;
    background-color: transparent !important;
    table-layout: fixed !important;
    clear: both !important;
}

.list_view .property_content table th {
    padding: 6px 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #333 !important;
    border-bottom: 2px solid #eee !important;
    text-align: left !important;
}

.list_view .property_content table th:first-child {
    width: 35% !important;
}

.list_view .property_content table th:last-child {
    width: 65% !important;
}

.list_view .property_content table th p {
    margin: 0 !important;
    font-weight: 700 !important;
}

.list_view .property_content table td {
    padding: 6px 10px !important;
    font-size: 13px !important;
    color: #666 !important;
    border-bottom: 1px solid #f5f5f5 !important;
    vertical-align: top !important;
}

.list_view .property_content table td p {
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Footer: Meta & Countdown */
.list_view .list_card_footer {
    margin-top: auto !important;
    width: 100% !important;
    border-top: 1px solid #f0f0f0 !important;
    padding-top: 14px !important;
}

.list_view .list_card_meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
}

.list_view .list_card_meta .pull-left {
    float: none !important;
    margin: 0 !important;
}

.list_view .list_card_meta .pull-left .btn.rs_btn {
    display: inline-block !important;
    padding: 6px 18px !important;
    font-size: 13px !important;
    background: #ed4a43 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.list_view .list_card_meta .pull-right {
    float: none !important;
    margin: 0 !important;
    font-size: 13px !important;
    color: #777 !important;
    font-weight: 600 !important;
}

/* Countdown block inside event list */
.list_view .em_event_date_counter {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 !important;
    border-top: none !important;
}

.list_view .em_event_date_counter .em_counter {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    justify-content: flex-start !important;
    width: auto !important;
    float: none !important;
}

.list_view .em_event_date_counter .em_counter > span {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    height: 54px !important;
    background-color: #ed4a43 !important;
    border-radius: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
}

.list_view .em_event_date_counter .em_counter > span p:first-child {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    padding: 0 !important;
}

.list_view .em_event_date_counter .em_counter > span p:last-child {
    font-size: 10px !important;
    color: #fff !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-transform: capitalize !important;
    padding: 0 !important;
}

@media (max-width: 767px) {
    .list_view .property_wrapper > .row {
        flex-direction: column !important;
    }

    .list_view .property_wrapper > .row > .col-lg-5,
    .list_view .property_wrapper > .row > .col-lg-7 {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .list_view .property_img_wrapper,
    .list_view .property_img_wrapper img {
        min-height: 180px;
        height: 180px !important;
    }

    .list_view .property_content .pull-right {
        float: none !important;
        max-width: 100%;
        display: block;
        margin-top: 8px;
    }
}

/* -----------------------------------------------------------------
   7. EVENT DETAIL PAGE  (.property_view_wrapper – detail layout)
   Structure: .property_detail_wrapper > [.property_image | .property_post_overlay]
   ----------------------------------------------------------------- */

.property_detail_wrapper {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}

.property_detail_wrapper .property_image {
    width: 100% !important;
    float: none !important;
    box-sizing: border-box;
}

.property_detail_wrapper .property_image img {
    display: block;
    width: 100% !important;
    max-height: 480px;
    object-fit: cover !important;
    border-radius: 8px;
}

/* Book Now button under image */
.property_detail_wrapper .event_single_img {
    margin-top: 15px;
    text-align: center;
}

/* Post details section */
.property_detail_wrapper .property_post_overlay {
    width: 100% !important;
    float: none !important;
    box-sizing: border-box;
}

/* Admin / share meta row */
.property_post_detail .event_social_wrapper .row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 !important;
}

.property_post_detail .event_social_wrapper .row > div {
    float: none !important;
    padding: 0 15px 15px !important;
    box-sizing: border-box;
}

/* Heading row on detail page: title left, price right */
.property_view_wrapper .rs_heading_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.property_view_wrapper .rs_heading_wrapper .rs_heading.heading_left {
    flex: 1 1 auto;
    min-width: 0;
}

.property_view_wrapper .rs_heading_wrapper .heading_right {
    flex: 0 0 auto;
    text-align: right;
}

.rs_heading_wrapper .heading_right h2 {
    margin: 0;
    font-size: 22px;
}

/* Location map – full width, no overflow */
.location_map_warpper {
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
}

.location_map_warpper iframe {
    display: block;
    width: 100% !important;
    border: 0;
}

/* Event Details Table styling */
.property_post_detail table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 15px 0 25px !important;
    border-collapse: collapse !important;
    background-color: transparent !important;
}

.property_post_detail table th {
    padding: 10px 15px !important;
    text-align: left !important;
    font-weight: 700 !important;
    color: #333333 !important;
    border-bottom: 2px solid #e0e0e0 !important;
}

.property_post_detail table th p {
    margin: 0 !important;
    font-weight: 700 !important;
    color: #333333 !important;
}

.property_post_detail table td {
    padding: 10px 15px !important;
    color: #666666 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.property_post_detail table td p {
    margin: 0 !important;
    color: #666666 !important;
}

.property_post_detail table tr:hover td {
    background-color: #fafafa !important;
}

.property_post_detail h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #333333 !important;
    margin: 25px 0 15px !important;
}

.property_post_detail ul {
    margin: 10px 0 20px 20px !important;
    padding: 0 !important;
}

.property_post_detail ul li {
    margin-bottom: 6px !important;
    color: #555555 !important;
}

.property_post_detail ul li p {
    margin: 0 !important;
}

/* -----------------------------------------------------------------
   8. NEWSLETTER / SUBSCRIBE SECTION  (.suscribe_wrapper)
   ----------------------------------------------------------------- */

.suscribe_content {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    width: 100% !important;
    float: none !important;
    gap: 20px 0;
}

.suscribe_content > .col-lg-8 {
    float: none !important;
    flex: 0 0 66.666667% !important;
    max-width: 66.666667% !important;
    box-sizing: border-box;
}

.suscribe_content > .col-lg-4 {
    float: none !important;
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    box-sizing: border-box;
}

.suscribe_content_wrapper {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.suscribe_content_wrapper .news_detail {
    flex: 1 1 160px;
    float: none !important;
    min-width: 0;
}

.suscribe_content_wrapper .news_search_wrapper {
    flex: 1 1 240px;
    float: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.suscribe_content_wrapper .news_search_wrapper .search_input {
    flex: 1;
    min-width: 0;
}

.social_wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.social_wrapper ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 767px) {
    .suscribe_content > .col-lg-8,
    .suscribe_content > .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .suscribe_content_wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .suscribe_content_wrapper .news_search_wrapper {
        width: 100%;
        flex: none;
    }

    .social_wrapper {
        justify-content: flex-start;
    }
}

/* -----------------------------------------------------------------
   9. FOOTER + SUBSCRIBE NEWSLETTER – unified dark background
      Subscribe section: rgba(0,0,0,0.7) overlay over image = #2d2d2d feel
      Footer: match same dark charcoal tone (#2d2d2d)
   ----------------------------------------------------------------- */

/* Subscribe / newsletter wrapper – solid dark fallback + overlay */
.suscribe_wrapper {
    background-color: #2d2d2d !important;
    background-attachment: fixed !important;
}

.suscribe_wrapper .banner_overlay {
    position: relative !important;
    background-color: rgba(0, 0, 0, 0.72) !important;
}

/* Footer bottom bar – same dark tone as subscribe overlay */
.bottom_footer_wrapper {
    width: 100%;
    clear: both;
    box-sizing: border-box;
    background-color: #2d2d2d !important;
    padding: 27px 0 !important;
    text-align: center !important;
}

.bottom_footer_wrapper .row {
    display: flex !important;
    align-items: center;
}

.bottom_footer {
    width: 100%;
    text-align: center;
}

/* Footer text color – light on dark */
.bottom_footer_wrapper p,
.bottom_footer_wrapper .bottom_footer p {
    color: #c8c8c8 !important;
    margin: 0 !important;
    font-size: 13px;
}

/* -----------------------------------------------------------------
   10. PAGE BANNER + BREADCRUMB  (inner pages)
   ----------------------------------------------------------------- */

.page_wrapper .banner_overlay .container > .col-lg-12 > .row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page_title {
    text-align: center;
    width: 100%;
}

.breacrumb_wrapper .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
    margin: 0;
    background: transparent;
}

/* -----------------------------------------------------------------
   11. SERVICES PAGE  (.service_wrapper / .ts_service_wrapper)
   ----------------------------------------------------------------- */

/* Services typically use the same .property_wrapper pattern */
.service_property_wrapper,
.ts_service_wrapper {
    width: 100%;
    box-sizing: border-box;
}

/* -----------------------------------------------------------------
   12. CONTACT PAGE
   ----------------------------------------------------------------- */

.contact_map_wrapper iframe,
.location_map_warpper iframe {
    display: block;
    width: 100% !important;
    border: 0;
}

.contact_form_wrapper input,
.contact_form_wrapper textarea,
.contact_form_wrapper select {
    width: 100%;
    box-sizing: border-box;
}

/* -----------------------------------------------------------------
   13. GENERAL UTILITY FIXES
   ----------------------------------------------------------------- */

/* Prevent Bootstrap's img-responsive from causing zero-height */
img.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Countdown widget – don't overflow */
[data-countdown],
.data-countdown {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

/* Modal – ensure proper stacking */
.event_modal .modal-dialog {
    max-width: 600px;
    margin: 30px auto;
}

/* em_person_seats – center the +/- controls */
.em_person_seats_wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.em_person_seats {
    display: flex;
    gap: 6px;
}
