/* ───────── Outer section ───────── */
.le-events-section {
    padding-top: 24px;
    padding-bottom: 80px;
}

/* ───────── Page header ───────── */
.le-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0 16px;
    flex-wrap: wrap;
}

.le-page-head__title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0d2d52;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}

.le-page-head__sub {
    font-size: 0.92rem;
    color: #6b7a8d;
    margin: 0;
}

.le-page-head__count {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 6px 14px;
    background: #f0faf5;
    border: 1px solid #c8edd6;
    border-radius: 50px;
}

.le-page-head__count-num {
    font-size: 1rem;
    font-weight: 700;
    color: #138b4c;
    line-height: 1;
}

.le-page-head__count-label {
    font-size: 0.78rem;
    color: #138b4c;
    font-weight: 500;
}

@media (max-width: 575px) {
    .le-page-head__title { font-size: 1.4rem; }
    .le-page-head__count { padding: 10px 16px; }
    .le-page-head__count-num { font-size: 1.2rem; }
}

/* ───────── Live Events Listing — Filter Bar + Chips ───────── */

.le-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
    margin-bottom: 18px;
}

.le-filter-bar__search {
    flex: 1 1 280px;
    position: relative;
    min-width: 220px;
}

.le-filter-bar__search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a96a3;
    pointer-events: none;
}

.le-filter-bar__search input {
    width: 100%;
    height: 42px;
    padding: 8px 14px 8px 38px;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    background: #f8f9fb;
    font-size: 0.92rem;
    color: #1a2b40;
    transition: border-color 0.2s, background 0.2s;
}

.le-filter-bar__search input:focus {
    outline: none;
    border-color: #138b4c;
    background: #fff;
}

/* Reusable .sa-dd (mirror of admin component) — frontend scoped within filter bar */
.le-filter-bar .sa-dd { display: inline-block; position: relative; }
.le-filter-bar .sa-dd__btn {
    height: 42px;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a2b40;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
    padding: 0 14px;
    cursor: pointer;
    box-shadow: none;
    transition: border-color 0.2s;
}
.le-filter-bar .sa-dd__btn,
.le-filter-bar .sa-dd__btn:focus,
.le-filter-bar .sa-dd__btn:active,
.le-filter-bar .sa-dd__btn.btn:focus,
.le-filter-bar .sa-dd__btn.btn:active {
    box-shadow: none !important;
    outline: none;
}
.le-filter-bar .sa-dd__btn:hover { border-color: #c5cdd6; background: #fff; }
.le-filter-bar .sa-dd__btn:focus { border-color: #138b4c; }

/* Show menu manually (BS5 .show or frontend toggle) */
.le-filter-bar .sa-dd .sa-dd__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: #fff;
    z-index: 1000;
}
.le-filter-bar .sa-dd.show .sa-dd__menu,
.le-filter-bar .sa-dd .sa-dd__menu.show {
    display: block;
}
.le-filter-bar .sa-dd__label { text-align: left; color: #1a2b40; }
.le-filter-bar .sa-dd__caret { font-size: 11px; color: #8a96a3; margin-left: auto; }

.sa-dd__menu {
    min-width: 180px;
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #e5e9f0;
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
}
.sa-dd__menu .dropdown-item.sa-dd__item {
    position: relative;
    border-radius: 6px;
    padding: 8px 12px 8px 32px !important;
    font-size: 0.88rem;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}
.sa-dd__menu .sa-dd__item:hover,
.sa-dd__menu .sa-dd__item:focus { background: #f3f4f6; color: #111827; }
.sa-dd__menu .sa-dd__item.active,
.sa-dd__menu .sa-dd__item.active:hover {
    background: #111827;
    color: #fff;
}
.sa-dd__menu .sa-dd__item.active::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.le-filter-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.le-filter-bar__btn--primary {
    background: #138b4c;
    color: #fff;
}

.le-filter-bar__btn--primary:hover {
    background: #0f7040;
    color: #fff;
}

.le-filter-bar__btn--ghost {
    background: transparent;
    color: #6b7a8d;
    border-color: #e5e9f0;
}

.le-filter-bar__btn--ghost:hover {
    background: #f8f9fb;
    color: #1a2b40;
    border-color: #c5cdd6;
}

/* ───────── Active filter chips ───────── */

.le-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: #6b7a8d;
}

.le-active-filters__label {
    color: #8a96a3;
    margin-right: 4px;
}

.le-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 12px;
    background: #f0faf5;
    color: #138b4c;
    border: 1px solid #c8edd6;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
}

.le-chip a {
    color: #138b4c;
    text-decoration: none;
    font-size: 1.05rem;
    line-height: 1;
    padding: 0 2px;
    transition: color 0.2s;
}

.le-chip a:hover { color: #0f7040; }

/* ───────── Result count ───────── */

.le-result-count {
    margin-bottom: 18px;
    padding: 10px 0;
    font-size: 0.88rem;
    color: #6b7a8d;
    border-bottom: 1px solid #f0f2f5;
}

.le-result-count strong {
    color: #1a2b40;
    font-weight: 700;
}

/* ───────── Equal-height event cards ───────── */
.event-holder.row {
    display: flex;
    flex-wrap: wrap;
}

.event-holder > .col {
    display: flex;
    margin-bottom: 24px;
}

.event-holder .courses__item {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.event-holder .courses__item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-holder .courses__item-content .title {
    min-height: 2.6em;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-holder .courses__item-bottom {
    margin-top: auto;
}

.event-holder .shine__animate-link {
    height: 240px;
}

.event-holder .courses__item-thumb img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.event-holder .event-placeholder {
    height: 240px;
}

/* ───────── Responsive ───────── */

@media (max-width: 768px) {
    .event-holder .shine__animate-link,
    .event-holder .courses__item-thumb img,
    .event-holder .event-placeholder {
        height: 180px;
    }

    .le-filter-bar {
        padding: 14px;
    }
    .le-filter-bar__search { flex: 1 1 100%; }
    .le-filter-bar .sa-dd { flex: 1 1 calc(50% - 6px); }
    .le-filter-bar .sa-dd__btn { width: 100%; min-width: 0; }
}

/* ───────── Trust band (after hero) ───────── */
.le-trustband {
    background: #fff;
    border-bottom: 1px solid #e5e9ee;
    padding: 14px 0;
}

.le-trustband__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 40px;
    font-size: 13.5px;
    color: #6b7280;
    font-weight: 600;
}

.le-trustband__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.le-trustband__item b {
    color: #161439;
    font-weight: 700;
}

.le-trustband__item > i {
    color: #138b4c;
    font-size: 15px;
}

.le-trustband__stars {
    display: inline-flex;
    gap: 2px;
    color: #f5a623;
    font-size: 12px;
}

/* ───────── Card bottom: price + action buttons ───────── */
.event-holder .le-card-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: auto;
}

.event-holder .le-card-price {
    display: flex;
    align-items: center;
}

.event-holder .le-card-price .price {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #138b4c;
}

.event-holder .le-card-price .price del {
    font-size: 14px;
    font-weight: 600;
    color: #9aa3af;
    margin-left: 6px;
}

.le-card-actions {
    display: flex;
    gap: 10px;
}

.le-card-actions .le-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12.5px;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

/* View Details — outline */
.le-card-actions .le-btn--outline,
.le-card-actions .le-btn--outline:hover,
.le-card-actions .le-btn--outline:focus {
    background: #fff;
    border: 1.5px solid #161439;
    color: #161439;
}

.le-card-actions .le-btn--outline:hover {
    background: #161439;
    color: #fff;
}

/* Add to Cart — solid (restyle only; JS/classes preserved) */
.le-card-actions .le-btn--solid,
.le-card-actions .le-btn--solid:hover,
.le-card-actions .le-btn--solid:focus {
    background: #138b4c;
    border: 1.5px solid #138b4c;
    color: #fff;
}

.le-card-actions .le-btn--solid:hover {
    background: #0f6f3c;
    border-color: #0f6f3c;
}

@media (max-width: 480px) {
    .le-card-actions {
        flex-direction: column;
    }
}

/* soft-conversion link (no underline) */
.le-card__softlink {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    text-decoration: none;
}

.le-card__softlink:hover { color: #138b4c; }

/* ───────── Wireframe card ───────── */
.event-holder .le-card {
    border: 1px solid #e5e9ee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(22, 20, 57, 0.05);
    padding-bottom: 6px;
}

/* header block — gradient scrim over photo, title + seat badge overlaid */
.event-holder .le-card__header {
    position: relative;
    display: block;
    height: 150px;
    padding: 16px;
    background: linear-gradient(135deg, #0f6f3c, #138b4c);
    overflow: hidden;
}

.le-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.le-card__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(15, 111, 60, 0.55) 0%, rgba(15, 111, 60, 0.35) 40%, rgba(22, 20, 57, 0.85) 100%);
}

.le-card__htitle {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    font-family: inherit;
}

/* body */
.event-holder .le-card__body {
    padding: 16px 18px 14px;
}

.le-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.le-card__meta i { color: #138b4c; margin-right: 3px; }

.event-holder .le-card__title {
    min-height: auto;
    margin: 0 0 6px;
    font-size: 16px;
}

.event-holder .le-card__title a { color: #161439; }

.le-card__outcome {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

