.acl #sticky-action-bar {background-color:#312a22!important;}
.ttt #sticky-action-bar {background-color:#625d2a!important;}
.tmn #sticky-action-bar {background-color:#772834!important;}
.spc #sticky-action-bar {background-color:#758272!important;}
.smc #sticky-action-bar {background-color:#aea06b!important;}
.tca #sticky-action-bar {background-color:#a0a269!important;}
.ekm #sticky-action-bar {background-color:#563d28!important;}
.lsc #sticky-action-bar {background-color:#906c4a!important;}
.khl #sticky-action-bar {background-color:#948a2f!important;}
.ltc #sticky-action-bar {background-color:#909497!important;}
.lsb #sticky-action-bar {background-color:#909497!important;}
.lls #sticky-action-bar {background-color:#909497!important;}
.srm #sticky-action-bar {background-color:#a39669!important;}
.epc #sticky-action-bar {background-color:#5b1b14!important;}
.lepc #sticky-action-bar {background-color:#5b1b14!important;}
.sxr #sticky-action-bar {background-color:#54565a!important;}


/* ======================================================
   LODGE ACTION BAR (Synchronized with Elewana Overlay)
   =====================================================*/

/* 1. MASTER WRAPPER */
.ab-master-wrap {
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: 0 !important;
    z-index: 1000000 !important; /* Sits just below Elewana Overlay (2mil) */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s;
    overflow: visible;
}
.ab-master-wrap.is-active { visibility: visible; opacity: 1; }

/* 2. THE STICKY BAR */
#sticky-action-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: 85px;
    z-index: 1000001 !important;
    display: flex;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.action-bar-visible#sticky-action-bar { transform: translateY(0); }

.ab-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 3. OVERLAY NAVIGATION */
.ab-overlay-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000002;
    border-bottom: 1px solid #eeeeee;
    padding: 25px 5%;
}
.ab-nav-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
}
.ab-nav-list::-webkit-scrollbar { display: none; }
.ab-nav-link {
    text-transform: uppercase;
    font-size: 0.75rem; /* Matched to Elewana Text size */
    letter-spacing: 2px;
    color: #585858; /* Matched to Elewana text color */
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s ease;
}
.ab-nav-link:hover, .ab-nav-link.active {
    color: #b29862 !important; /* Elewana Gold */
    border-bottom: 1px solid #b29862;
    padding-bottom: 5px;
}

/* 4. SLIDING OVERLAY PANEL */
#action-overlay {
    position: fixed !important;
    left: 0;
    bottom: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 1000000 !important;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1), visibility 0s 0.6s;
    visibility: hidden;
}
#action-overlay.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1), visibility 0s 0s;
}
.ab-overlay-content {
    padding: 120px 5% 120px 5% !important;
    height: 100%;
    overflow-y: auto;
}

/* 5. SPLIT LAYOUT & TYPOGRAPHY */
.ab-split-section {
    display: flex;
    flex-direction: row;
    padding: 30px 0;
    border-bottom: 1px solid #f2f2f2;
    gap: 5%;
}

.ab-section-header { flex: 0 0 20%; }
.ab-section-body {
    flex: 1;
    font-family: inherit;
    color: #585858;
}

.ab-article-title {
    line-height: 1.1;
    font-weight: normal;
    margin-top: 0;
}

.ab-automated-content h3 {
    font-weight: normal;
    margin-bottom: 1.2rem; font-size: clamp(1.25rem, 1rem + 2vw, 1.75rem);
}

/* 6. UI ELEMENTS */
.ab-trigger-btn {
    background: #ffffff !important;
    padding: 10px 25px !important;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 130px;
    border: none !important;
    transition: background 0.3s ease;
}
.ab-trigger-btn:hover { }
/* BRANDING ALIGNMENT */
.ab-branding {
    display: flex;
    flex-direction: row; /* Forces horizontal alignment */
    align-items: center; /* Vertically centers the logo with the text */
    gap: 20px;           /* Creates space between the logo and the title group */
}

/* Ensure the title group stacks its own text vertically */
.ab-title-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Specific styling for the logo to prevent it from squishing */
.ab-logo {
    height: 45px;
    width: auto;
    flex-shrink: 0; /* Prevents the logo from getting smaller if space is tight */
}

.ab-lodge-name {
    color:#fff;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.2;
    display: block;
}

.ab-lodge-loc {
    font-size: 0.7rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 7. MOBILE RESPONSIVENESS */
@media (max-width: 1024px) {
    .ab-split-section { flex-direction: column; gap: 10px; }
    .ab-section-header { flex: 0 0 100%; }
    .ab-article-title { font-size: 2.5rem !important; }
    #sticky-action-bar { height: 75px; }
}

/* ELEWANA FLUID TABLES */
.ab-fluid-table {
    width: 100%;
    border:none;
    display: table;
    border-collapse: collapse;
    margin-bottom: 40px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #444;
    background: #fff;
}

/* FORCED EQUAL COLUMN WIDTHS */
.ab-equal-cols {
    table-layout: fixed;
}

.ab-fluid-table thead th {
    background-color: #f5f4ed;
    font-size:0.75rem;
    color: #b29862;
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid #b29862;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    vertical-align:top;
}

.ab-fluid-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #b29862;
    vertical-align: top;
    word-wrap: break-word;
}

.ab-fluid-table tr:hover {
    background-color: #fafafa;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 1023px) {
    .ab-trigger-btn { transform: scale(0.85); }
}
@media (max-width: 767px) {
    .ab-fluid-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        table-layout: auto; /* Allow auto-sizing on small screens to prevent cut-off */
    }
    .ab-lodge-loc {
        display:none;
    }
}
