/* ============================================================================
   ReMA Schedule — Final UI CSS (Mockup Style)
   Tabs + Search + Filters + Summary + Cards + Speakers + Modal
   Colors:
     Gradient: #602990 → #D31094
     Primary:  #592b8a
     Accent:   #df1aa0
   ========================================================================== */

.rema-schedule-wrapper {
    max-width: 1120px;
    margin: 0px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f1536;
    padding: 1rem 1rem 1rem 1rem;
    box-sizing: border-box;
}

/* ============================================================================
   TABS HEADER (between Filters and Tabs)
   ========================================================================== */
.rema-tabs-header {
    margin: 0px 0px 0px 0px;
}
.rema-tabs-header-title {
    margin: 0px;
    font-size: 24px;
    font-weight: 700;
    color: #2d2252;
}
.rema-tabs-header-description {
    margin: 0;
    font-size: 0.9rem;
    color: #6d658c;
    line-height: 1.4;
}
.rema-tabs-header-description a {
    color: #602990;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================================================
   SUMMARY TEXT
   ========================================================================== */

.rema-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-bottom: 0px;
    padding: 20px 20px;
    border: 1px solid rgba(96, 41, 144, 0.18);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    background-color: #fff;
    border-radius: 1rem;
}

.rema-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px 4px 22px;
    border-radius: 999px;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    font-weight: 700;
    
    /*! transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease,
                border-color 0.18s ease, transform 0.12s ease; */
    flex: 0 0 auto; /* prevent shrinking; keep single-row scroll */
    background-color: rgba(0, 0, 0, 0);
    background-position-x: 0%, 0%;
    background-position-y: 0%, 0%;
    background-repeat: repeat, repeat;
    /*! background-image: linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255)), linear-gradient(90deg, rgb(96, 41, 144), rgb(211, 16, 148)); */
    /*! background-clip: padding-box, border-box; */
    /*! border: 2px solid #e1daff00; */
}

.rema-tab:hover {
    
    /*! 
    background: #f0e9ff;
    transform: translateY(-1px); 
    */
    /*! background-image: linear-gradient(to right, #602990, #D31094); */
    /*! box-shadow: 0 10px 20px rgba(96, 41, 144, 0.35); */
    /*! color: #2C0B4F; */
    color: #333;
    background-color: rgb(234, 225, 253); 
}

.rema-tab.active {
    /*! background-image: linear-gradient(to right, #602990, #D31094); */
    /*! box-shadow: 0 10px 20px rgba(96, 41, 144, 0.35); */
    /*! color: #2C0B4F; */
    color: #333;
    background-color: rgb(234, 225, 253);
    border: 1px solid rgba(89, 22, 143, 0);
}

.rema-tab-label {
    white-space: nowrap;
}

.rema-tab-count {
display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 5px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
background: rgb(247, 246, 251);
  top: -14px;
  position: relative;
color: #d11194;
margin-left: -4px;
width: 24px;
height: 24px;
border: 1px solid rgba(224, 213, 255, 0.44);
}



/* ============================================================================
   CUSTOM CSS FOR gB PRE-MEETINGS SITE
   ========================================================================== */
.gBpremeetings .rema-tabs {
background-color: rgba(255, 255, 255, 0);
border: 0px solid rgba(96, 41, 144, 0.18);
padding: 20px 20px 20px 0px;

}
.gBpremeetings .rema-tab:hover {
background-image: none;
background-color: #FF6900;
color: #fff;
}
.gBpremeetings .rema-tab.active {
background-image: none;
background-color: #FF6900;
color: #fff;
}

.gBpremeetings  .rema-tab-count{
    background: #fff;
}



/* ============================================================================
   SEARCH BAR
   ========================================================================== */

.rema-search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    background: #f9f8ff00;
    padding: 0px 20px 0px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.77);
  border: 2px solid rgb(229, 221, 255);
}

.rema-search-bar::before {
  content: "\f002";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  font-style: normal;
  text-rendering: auto;
  line-height: 1;
  color: #9a92c2;
  font-size: 16px;
  display: inline;
  margin-right: 2px;
  margin-top: 1px;
}


.rema-search-bar .rema-search-input {
    flex: 1;
    outline: none;
    font-size: 0.9rem;
    color: #31284f;
padding: 0px;
  border-radius: 0px;
  background: rgba(255, 255, 255, 0.0);
  border: 0px solid rgb(229, 221, 255);
}

.rema-search-input::placeholder {
    color: #9a92c2;
}

.rema-search-clear {
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #e3dafc;
    color: #4a2a78;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0;
}

.rema-search-clear:hover {
    background: #d7c9ff;
}

/* ============================================================================
   FILTER BAR
   ========================================================================== */

.rema-filter-wrapper {
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 1rem;
    padding: 20px;
    border: 1px solid #e2d8eb;
}

.rema-filter-heading {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    font-weight: 700;
    color: #2d2252;
}

.rema-filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 14px;
}

.rema-filter-category-btn {
    border-radius: 999px;
    /*! border: 1px solid #deceff; */
    background: rgba(255, 255, 255, 0.77);
    padding: 0.25rem 0.8rem;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease,
                box-shadow 0.18s ease, border-color 0.18s ease;
    font-weight: 700;
    color: #2d2252;
}

.rema-filter-category-btn:hover {
    background: #f3edff;
    color: #D31094;
}

.rema-filter-category-btn.active {
    /*! background-image: linear-gradient(to right, #602990, #D31094); */
    border-color: transparent;
    /*! box-shadow: 0 10px 20px rgba(96, 41, 144, 0.35); */
    color: #D31094;
    background: #eae1fd;
}

.rema-filter-panels {
    position: relative;
}

.rema-filter-panel {
    display: none;
    /*! margin-top: 0.45rem; */
    /*! padding: 0.55rem 0.6rem; */
    /*! border-radius: 1rem; */
    /*! background: #ffffffc4; */
    /*! border: 1px solid #e5ddff; */
    /*! box-shadow: 0 12px 26px rgba(37, 0, 80, 0.04); */
}

.rema-filter-panel.open {
    display: block;
}

.rema-filter-panel-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #592b8a;
    margin-bottom: 0.3rem;
    display: none;  /*! gB disabled for now till I mire it to the Admin */
}

.rema-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.rema-filter-pill {
    border-radius: 999px;
    padding: 6px 10px;
    border: 1px solid #e4dcff;
    background: #f6f3ff96;
    font-size: 0.78rem;
    color: #5a4b88;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease,
                border-color 0.18s ease, box-shadow 0.18s ease;
    line-height: 0.78rem;
    min-height: auto;
    font-weight: 400;
    /*! font-family: graphie; */
}

.rema-filter-pill:hover {
    background: #eee7ff;
    border-color: #d2c5ff;
}

.rema-filter-pill.active {
    background-image: linear-gradient(to right, #602990, #D31094);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(96, 41, 144, 0.35);
}

.rema-filter-clear-btn {
    margin-top: 0.5rem;
    border-radius: 999px;
    border: none;
    padding: 0.32rem 0.9rem;
    font-size: 0.76rem;
    background: #f2ebff;
    color: #5a2d84;
    cursor: pointer;
    display: inline-block;
    transition: background 0.18s ease, color 0.18s ease;
}

.rema-filter-clear-btn:hover {
    background: #e6dbff;
}

/* ============================================================================
   SUMMARY TEXT + NO RESULTS
   ========================================================================== */

.rema-summary,
.rema-result-summary,
.rema-no-results {
/*! box-shadow: 0 6px 14px rgba(96, 41, 144, 0.0); */
  /*! padding: 0.9rem 1rem; */
  /*! border-radius: 0.8rem; */
  /*! background: #f8f5ff; */
  /*! border: 1px dashed #e1d7ff; */
  font-size: 0.9rem;
  color: #FF6900;
  font-weight: 400;
  margin: 0px 0px 10px 0px;
}

/* Day heading above list */
.rema-day-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #5a2d84;
    margin: 0px;
}

.gBsideBar .rema-day-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #5a2d84;
    margin: 0px 0px 16px 0px;
}

/* ============================================================================
   SESSION LIST & CARDS
   ========================================================================== */

.rema-day-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.gBsideBar .rema-day-list {
    display: flex;
    flex-direction: column;
    gap: 0.0rem;
    background-color: rgba(0, 0, 0, 0);
    background-position-x: 0%, 0%;
    background-position-y: 0%, 0%;
    background-repeat: repeat, repeat;
    background-image: linear-gradient(rgb(248, 250, 252), rgb(248, 250, 252)), linear-gradient(90deg, rgb(96, 41, 144), rgb(211, 16, 148));
    background-clip: padding-box, border-box;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(96, 41, 144, 0);
    transition: box-shadow 0.18s ease, transform 0.18s ease,
                border-color 0.18s ease;
    box-shadow: 0 16px 36px rgba(25, 10, 60, 0.05);
    transform: translateY(-1px);
}



.rema-session-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(96, 41, 144, 0.18);
    box-shadow: 0 12px 28px rgba(25, 10, 60, 0.0);
    transition: box-shadow 0.18s ease, transform 0.18s ease,
                border-color 0.18s ease;
}

.gBsideBar  .rema-session-card {
  border-radius: 0px;
  border: 1px solid rgba(96, 41, 144, 0.18);
  box-shadow: 0 12px 28px rgba(25, 10, 60, 0.0);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  border-bottom: 0px solid transparent;
  border-left: 0px;
  border-right: 0px;
}

.rema-session-card.open {
    box-shadow: 0 16px 36px rgba(25, 10, 60, 0.14);
    transform: translateY(-1px);
}

.rema-session-card:hover {
    box-shadow: 0 16px 36px rgba(25, 10, 60, 0.14);
    transform: translateY(-1px);
}

/* HEADER */

.rema-session-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
}

/* If a session has no expandable body, make it look non-interactive */
.rema-session-card.rema-no-toggle .rema-session-header {
    cursor: default;
}

.rema-session-header-left {
    flex: 1;
    min-width: 0;
}

.rema-header-time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #592b8a;
    margin-bottom: 0.1rem;
}

.rema-header-time::before {
    /* 
    content: "⏰";
    font-size: 0.9rem;
    opacity: 0.85;
     */
    content: "\f017";
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  font-style: normal;
  text-rendering: auto;
  line-height: 1;
  color: #df1aa0;
  font-size: 16px;
  display: inline;
  margin-right: 2px;
  margin-top: 1px;
}

.rema-header-title {
    font-size: 1.0rem;
    font-weight: 600;
    color: #1f1536;
    margin-bottom: 0.12rem;
}

.rema-header-location {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #6d658c;
    margin-bottom: 0.2rem;
}

.rema-header-location::before {
    /* 
    content: "📍";
    font-size: 0.9rem;
     */
    content: "\f3c5";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    text-rendering: auto;
    line-height: 1;
    color: rgba(223, 26, 160, 0.77);
    font-size: 16px;
    display: inline;
    margin-right: 2px;
    margin-top: 1px;
}

/* TAG PILLS ON CARD */

.rema-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.15rem;
}

.rema-tag-pill {
    border-radius: 999px;
    padding: 0.18rem 0.6rem;
    font-size: 0.72rem;
    background: #f3ecff;
    color: #5a2d84;
    border: 1px solid #e0d5ff;
}

/* TOGGLE ICON (+ / ×) */

.rema-session-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #e2d8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #592b8a;
    flex-shrink: 0;
    transition: background 0.18s ease, color 0.18s ease,
                border-color 0.18s ease, transform 0.18s ease;

    background-color: #f7f6fe;
    font-weight: 700;
}

.rema-session-toggle-icon::before {
    content: "+";
}

.rema-session-card.open .rema-session-toggle-icon {
    /*! background-image: linear-gradient(to right, #602990, #D31094); */
    color: #ffffff;
    border-color: transparent;
    background: #c01493;
}

.rema-session-card.open .rema-session-toggle-icon::before {
    content: "×";
}

/* BODY + ACCORDION CONTENT */

.rema-session-body {
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #ece5ff;
    display: none;
}

.rema-session-card.open .rema-session-body {
    display: block;
}

.rema-body-description {
    font-size: 0.9rem;
    color: #31284f;
    line-height: 1.55;
}

.rema-body-description p {
    margin: 0 0 0.45rem;
}


/* ============================================================================
   SPEAKERS (1 COLUMN — Clean Layout)
   ========================================================================== */

.rema-speakers-wrapper {
    margin-top: 0.8rem;
}

.rema-speakers-heading {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a6bb9;
    margin-bottom: 0.35rem;
}

.rema-speaker-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rema-speaker-card {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.8rem;
    background: #faf8ff;
    border: 1px solid #eee5ff;
}

.rema-speaker-photo-wrap {
    flex-shrink: 0;
}

.rema-speaker-photo {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #e3d9ff;
}

.rema-speaker-text {
    flex: 1;
    min-width: 0;
}

.rema-speaker-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2a1945;
    margin-bottom: 0.1rem;
}

.rema-speaker-title {
    font-size: 0.8rem;
    color: #6f6995;
    margin-bottom: 0.05rem;
}

.rema-speaker-company {
    font-size: 0.78rem;
    color: #9388c0;
    margin-bottom: 0.15rem;
}

.rema-speaker-bio-btn {
    border: none;
    border-radius: 999px;
    padding: 0.22rem 0.8rem;
    font-size: 0.78rem;
    cursor: pointer;
    background-image: linear-gradient(to right, #602990, #D31094);
    color: #ffffff;
    transition: box-shadow 0.18s ease, transform 0.12s ease;
}

.rema-speaker-bio-btn:hover {
    box-shadow: 0 8px 18px rgba(96, 41, 144, 0.35);
    transform: translateY(-1px);
}

/* ============================================================================
   SPEAKER MODAL
   ========================================================================== */

.rema-speaker-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 9999;
}

.rema-speaker-modal.open {
    pointer-events: auto;
    opacity: 1;
}

.rema-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 0, 30, 0.45);
    backdrop-filter: blur(3px);
}

.rema-modal-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 520px;
    max-height: 80vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem 1.4rem;
    box-shadow: 0 22px 60px rgba(8, 0, 30, 0.45);
    animation: rema-modal-pop 0.18s ease-out;
}

@keyframes rema-modal-pop {
    from {
        transform: translateY(12px) scale(0.97);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.rema-modal-close {
    position: absolute;
    top: 0.6rem;
    right: 0.7rem;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #f2ebff;
    color: #4d2a7b;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    padding: 0;
}

.rema-modal-close:hover {
    background: #e5dbff;
}

.rema-modal-photo {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid #e3d9ff;
    display: block;
    margin-bottom: 0.7rem;
}

.rema-modal-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #241937;
    margin-bottom: 0.15rem;
}

.rema-modal-title {
    font-size: 0.9rem;
    color: #6b668f;
    margin-bottom: 0.1rem;
}

.rema-modal-company {
    font-size: 0.85rem;
    color: #9388c0;
    margin-bottom: 0.6rem;
}

.rema-modal-bio {
    font-size: 0.9rem;
    color: #332a4f;
    line-height: 1.6;
}

.rema-modal-bio p {
    margin: 0 0 0.55rem;
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */

@media (min-width: 768px) {
    .rema-schedule-wrapper {
        padding: 1rem 0 3rem;
    }

    .rema-session-card {
        padding: 1rem 1.2rem 1.05rem;
    }
}

/* ============================================================================
   TOP CONTROLS (layout selector + search on right)
   ========================================================================== */
.rema-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.25rem 0 0.5rem;
    flex-wrap: wrap;
}

.rema-layout-toggle {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Compact, text-only layout buttons */
.rema-layout-btn {
    border: none;
    background: transparent;
    color: #6a5899;
    border-radius: 0;
    padding: 0;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}
.rema-layout-btn:hover { color: #4d3b84; }
.rema-layout-btn.active {
    color: #602990;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rema-controls-right { margin-left: auto; }

/* Filter header with inline search */
.rema-filter-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}
.rema-filter-top .rema-filter-heading { margin: 0; }
.rema-filter-search.rema-search-bar {
    margin: 0;
    min-width: 260px;
    margin-bottom: -29px;
}

/* ============================================================================
   TAB LAYOUT VARIANTS
   ========================================================================== */
/* Floating: keep default pill tabs (already styled) */
.layout-floating .rema-tabs { overflow-x: auto; }
.layout-floating .rema-tab { flex: 0 0 auto; }

/* Segments: equal-width segments across row */
.layout-segments .rema-tabs {
    overflow-x: visible;
    gap: 0; /* segments touch */
}
.layout-segments .rema-tab {
    flex: 1 1 0;
    border-radius: 0;
    justify-content: center;
}
.layout-segments .rema-tab:first-child { border-top-left-radius: 12px; border-bottom-left-radius: 12px; }
.layout-segments .rema-tab:last-child  { border-top-right-radius: 12px; border-bottom-right-radius: 12px; }

/* Scrollable: explicit single row scroll */
.layout-scrollable .rema-tabs { overflow-x: auto; }
.layout-scrollable .rema-tab { flex: 0 0 auto; }

/* ============================================================================
   SIDEBAR LAYOUT (desktop grid, mobile stacked)
   ========================================================================== */
.rema-schedule-wrapper.with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    column-gap: 1rem;
    align-items: start;
}
.rema-schedule-wrapper.with-sidebar > .rema-sidebar {
    grid-column: 2;
    grid-row: 1; /* pin sidebar to the top row */
    position: sticky;
    top: 80px;
    align-self: start;
    max-width: 100%;
}

/* Force all main children to the left column when sidebar is present */
.rema-schedule-wrapper.with-sidebar > :not(.rema-sidebar) {
    grid-column: 1;
}

/* Sidebar shows its own full UI; no hiding needed */

/* Contain a nested schedule instance inside the sidebar */
.rema-schedule-wrapper.with-sidebar > .rema-sidebar .rema-schedule-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0.25rem 0 0.5rem;
}
.rema-schedule-wrapper.with-sidebar > .rema-sidebar .rema-tabs { margin-bottom: 0.6rem; }
.rema-schedule-wrapper.with-sidebar > .rema-sidebar .rema-day-list { gap: 0.6rem; }
.rema-schedule-wrapper.with-sidebar > .rema-sidebar .rema-session-card { padding: 0.7rem 0.8rem; }

@media (max-width: 840px) {
    .rema-schedule-wrapper.with-sidebar { display: block; }
    .rema-schedule-wrapper.with-sidebar > .rema-sidebar { position: static; margin-top: 0.75rem; }
}

/* ============================================================================
   CUSTOM TAB CONTENT HOLDER (basic)
   ========================================================================== */
.rema-custom-content > *:first-child { margin-top: 0; }
.rema-custom-content > *:last-child  { margin-bottom: 0; }

/* ============================================================================
   HOST GRID (main + sidebar) — static wrapper
   ========================================================================== */
.rema-grid-host.with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 14fr) minmax(0, 6fr);
    column-gap: 1rem;
    align-items: start;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}
.rema-grid-host.with-sidebar > .rema-schedule-output { grid-column: 1; }
/* Sticky sidebar is controlled per schedule instance via classes added to the host wrapper:
   - .rema-sidebar-sticky-on
   - .rema-sidebar-sticky-off
*/
.rema-grid-host.with-sidebar.rema-sidebar-sticky-on > .rema-sidebar {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 100px;
    align-self: start;
    max-width: 100%;
}
.rema-grid-host.with-sidebar.rema-sidebar-sticky-off > .rema-sidebar {
    grid-column: 2;
    grid-row: 1;
    position: static;
    top: auto;
    align-self: start;
    max-width: 100%;
}

/* JS fallback: when the plugin detects that CSS sticky cannot work, it will apply inline
   positioning. This class just ensures we don't fight inline styles. */
.rema-grid-host.with-sidebar > .rema-sidebar.rema-sticky-fallback-active {
    position: relative;
}

/* Sidebar header (optional) */
.rema-sidebar-header {
    margin: 0 0 0.75rem;
}
.rema-sidebar-title {
    margin: 0px;
    font-size: 24px;
    font-weight: 700;
    color: #2d2252;
}
.rema-sidebar-description {
    margin: 0;
    font-size: 0.9rem;
    color: #6d658c;
    line-height: 1.35;
}
@media (max-width: 840px) {
    .rema-grid-host.with-sidebar { display: block; }
}



@media screen and (max-width: 767.98px) {
.rema-filter-search.rema-search-bar {
    margin: 0;
    min-width: 200px;
    margin-bottom: 0px;
}
	
}