.tp-el-content span {
    font-weight: 500;
    color: var(--tp-heading-primary);
}

div.tp-sticky-image {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
}

.tp-event-4-item .tp-event-inner-user img+img,
.tp-event-inner-content .tp-event-inner-user img+img {
    margin-left: -15px;
}

.etn-event-organizers .etn-social a {
    background: transparent;
    font-size: 15px;
    color: #5b5d63;
    width: 0;
    height: 0;
    margin: 0 15px;
    border: none;
}

.etn-event-organizers .etn-social a:hover {
    border: none;
}

.etn-event-search-wrapper .input-group {
    height: 60%;
}

.tp-event-details-breadcrumb-content .alert.alert-danger {
    display: inline-block;
}

.tp-header-user-profile-thumb {
    flex: 0 0 40px;
}

.tp-event-inner-content .tp-event-4-info {
    justify-content: start !important;
    gap: 0;
}

/* new */

.tp-blog-details-thumb img {
    width: 100%;
}

.tp-blog-full-width-thumb img {
    width: 100%;
    height: 800px;
    object-fit: cover;
}


@media only screen and (min-width: 1366px) and (max-width: 1577px) {
    .tp-hero-custom .elementor-element-c2c130a {
        padding-left: 55px;
        padding-right: 115px;
        width: 100%;
        max-width: 100%;
    }

    .tp-hero-custom .tp-course-item {
        position: relative;
        right: 88px;
    }
}

.tp-feature-chef-shape {
    width: 90px;
}

.tutor-lms ul li label::after {
    display: none;
}

.tutor-lms ul.tutor-list li label {
    padding-left: 0;
}

.tp-grid-widget-checkbox ul li label::before {
    left: 4px;
}

.tp-contact-input-remeber.login .tutor-form-check-input {
    display: none;
}

.tutor-login-form-wrapper .tp-login-input button.show-password-input {
    display: none;
}

.tp-courses-chef-shape {
	width: inherit !important;
}

.tp-hero-7-ptb.tp-hero-2-bg.fix.pb-110.tp-el-section {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.tp-classes-yoga-price, .tp-courses-chef-price {
	width: 80px !important;
	height: 80px !important;
	font-size: 14px !important;
	line-height: 1 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

@media only screen and (max-width: 767px) {
    .tp-postbox-comment ul .children {
        margin: 0 !important;
    }
}

figure img,
figure svg {
    width: auto !important;
}

.tp-about-exprience {
    display: inline-block;
    position: absolute;
    right: -40px;
    bottom: 80px;
    padding: 7px 36px 20px 24px;
    border-radius: 6px;
    border: 1px solid rgba(1, 15, 28, 0.1);
    background: rgba(246, 244, 238, 0.6);
    backdrop-filter: blur(10px);
    min-width: 224px;
}

.tp-course-5-price .list-item-price del {
    color: #3d3d3d;
}

.stm_lms_instructor_courses__single--meta .star-rating::before,
.stm-lms-user_rating .star-rating.star-rating__big::before {
    display: none;
}

.tp-breadcrumb__area .tp-breadcrumb__bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* WooCommerce theme class additions */
.tp-woo-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 14px;
    font-weight: 400;
}

.tp-woo-breadcrumb a {
    color: var(--tp-theme-primary);
}

.tp-woo-breadcrumb a:hover {
    color: var(--tp-theme-secondary);
}

.tp-woo-form-login {
    background: var(--tp-common-white);
    border: 1px solid #E6E8F0;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.tp-woo-form-login .woocommerce-form__label {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #303651;
    margin-bottom: 10px;
}

.tp-woo-form-login .woocommerce-form__input {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #E6E8F0;
    background: var(--tp-common-white);
    box-shadow: 0px 1px 1px 0px rgba(48, 54, 81, 0.06);
    transition: all 0.3s 0s ease-out;
}

.tp-woo-form-login .woocommerce-form__input:focus {
    border-color: var(--tp-theme-7);
    box-shadow: 0px 0px 0px 3px rgba(65, 95, 251, 0.2);
    outline: none;
}


/* Remove breadcrumb icon link button across the entire site */
.tp-breadcrumb__list {
    display: none !important;
}


/* ==========================================================================
   Quick Links Floating Sidebar
   ========================================================================== */
.mgm-quick-sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(100%);
  z-index: 99990;
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--tp-ff-heading, 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.mgm-quick-sidebar.is-open {
  transform: translateY(-50%) translateX(0);
}

.mgm-quick-handle {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--tp-theme-primary, #ab0c2f);
  color: #ffffff;
  border: none;
  padding: 14px 10px;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: background 0.25s, transform 0.25s;
  user-select: none;
}

.mgm-quick-handle:hover {
  background: #8b0724;
}

.mgm-quick-handle-icon,
.mgm-quick-close,
.mgm-quick-item-icon,
.mgm-quick-item-arrow {
  display: none !important;
}

.mgm-quick-handle-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
}

.mgm-handle-arrow {
  font-size: 11px;
  transition: transform 0.35s ease;
}

.mgm-quick-sidebar.is-open .mgm-handle-arrow {
  transform: rotate(180deg);
}

.mgm-quick-panel {
  width: 275px;
  background: #ffffff;
  border-radius: 16px 0 0 16px;
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-right: none;
}

.mgm-quick-header {
  background: linear-gradient(135deg, #ab0c2f 0%, #870823 100%);
  color: #ffffff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mgm-quick-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.mgm-quick-brand-wrap {
  line-height: 1.25;
}

.mgm-quick-school-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.mgm-quick-school-loc {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  letter-spacing: 0.3px;
}

.mgm-quick-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.mgm-quick-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.mgm-quick-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.mgm-quick-list li {
  margin: 0;
}

.mgm-quick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  text-decoration: none;
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.22s ease;
  border-left: 3px solid transparent;
}

.mgm-quick-item:hover {
  background: #FFF5F7;
  color: var(--tp-theme-primary, #ab0c2f);
  border-left-color: var(--tp-theme-primary, #ab0c2f);
  padding-left: 22px;
}

.mgm-quick-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mgm-quick-item:hover .mgm-quick-item-icon {
  transform: scale(1.1);
}

.bg-notice { background: rgba(239, 68, 68, 0.12); color: #EF4444; }
.bg-disclosure { background: rgba(59, 130, 246, 0.12); color: #2563EB; }
.bg-courses { background: rgba(16, 185, 129, 0.12); color: #059669; }
.bg-admission { background: rgba(245, 158, 11, 0.12); color: #D97706; }
.bg-attendance { background: rgba(139, 92, 246, 0.12); color: #7C3AED; }

.mgm-quick-item-text {
  flex-grow: 1;
  white-space: nowrap;
}

.mgm-quick-item-arrow {
  font-size: 11px;
  color: #cbd5e1;
  transition: transform 0.2s, color 0.2s;
}

.mgm-quick-item:hover .mgm-quick-item-arrow {
  color: var(--tp-theme-primary, #ab0c2f);
  transform: translateX(3px);
}

@media (max-width: 576px) {
  .mgm-quick-panel {
    width: 245px;
  }
  .mgm-quick-item {
    padding: 10px 14px;
    font-size: 13px;
  }
  .mgm-quick-handle {
    padding: 10px 8px;
  }
}



/* ==========================================================================
   BVB Manvila Style Gallery & Lightbox Engine (MGM Model School Theme)
   3x3 Grid Layout | Hover Event Dates | Circular Search | Event-Specific Sub-Images
   ========================================================================== */

.gallery-section-wrapper {
  background: #FFFFFF;
  padding: 3.5rem 0 5rem 0;
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-badge {
  display: inline-block;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tp-theme-primary, #ab0c2f);
  background-color: rgba(171, 12, 47, 0.08);
  border: 1px solid rgba(171, 12, 47, 0.22);
  padding: 0.35rem 1.15rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--tp-ff-heading, 'Outfit', sans-serif);
  font-size: 2.25rem;
  font-weight: 800;
  color: #041B3B;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #64748B;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Circular-Style Search Field (No Rectangular Border, Perfectly Centered) */
.gallery-search-outer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.25rem auto;
  width: 100%;
  max-width: 520px;
}

.gallery-circular-search {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.search-circ-input {
  width: 100%;
  height: 52px;
  padding: 0 46px 0 50px;
  border-radius: 50px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  color: #1E293B;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  outline: none;
  transition: all 0.25s ease;
}

.search-circ-input::placeholder {
  color: #94A3B8;
  font-size: 14px;
}

.search-circ-input:focus {
  border-color: var(--tp-theme-primary, #ab0c2f);
  box-shadow: 0 4px 22px rgba(171, 12, 47, 0.16);
  background: #FFFFFF;
}

.search-circ-icon {
  position: absolute;
  left: 18px;
  color: var(--tp-theme-primary, #ab0c2f);
  font-size: 17px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-circ-clear {
  position: absolute;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  color: #64748B;
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-circ-clear:hover {
  background: #FEE2E2;
  color: #B91C1C;
}

.gallery-search-meta {
  margin-top: 10px;
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
  text-align: center;
}

/* Category Filter Pills */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #475569;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.filter-btn:hover {
  border-color: var(--tp-theme-primary, #ab0c2f);
  color: var(--tp-theme-primary, #ab0c2f);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(171, 12, 47, 0.12);
}

.filter-btn.active {
  background-color: var(--tp-theme-primary, #ab0c2f);
  border-color: var(--tp-theme-primary, #ab0c2f);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(171, 12, 47, 0.35);
}

/* No Results Message */
.gallery-no-results {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background-color: #F8FAFC;
  border-radius: 16px;
  border: 1px dashed #CBD5E1;
  margin: 1.5rem 0 3rem 0;
}

.gallery-no-results svg {
  color: #94A3B8;
  margin-bottom: 1rem;
}

.gallery-no-results h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 0.5rem;
}

.gallery-no-results p {
  color: #64748B;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.btn-clear-search {
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  background-color: var(--tp-theme-primary, #ab0c2f);
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  transition: background 0.2s ease;
}

.btn-clear-search:hover {
  background-color: #870823;
}

/* Strict 3x3 Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  aspect-ratio: 16 / 11;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.gallery-item.hidden {
  display: none !important;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(4, 27, 59, 0.16);
  border-color: #CBD5E1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Card Overlay with Exact Event Date on Hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 27, 59, 0.92) 0%, rgba(4, 27, 59, 0.45) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #FFFFFF;
  opacity: 0.92;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(135, 8, 35, 0.94) 0%, rgba(4, 27, 59, 0.65) 60%, rgba(4, 27, 59, 0.2) 100%);
}

.gallery-overlay-top {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  right: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-overlay-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: var(--tp-theme-primary, #ab0c2f);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.gallery-overlay-subcount {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #FFFFFF;
  background-color: rgba(4, 27, 59, 0.75);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.gallery-overlay-title {
  font-family: var(--tp-ff-heading, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.3rem;
  display: block;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.gallery-overlay-subtitle {
  font-size: 0.82rem;
  color: #E2E8F0;
  line-height: 1.4;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

/* Exact Event Date Badge Revealed on Hover */
.gallery-event-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #AB0C2F;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  align-self: flex-start;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-event-date {
  opacity: 1;
  transform: translateY(0);
}

/* 3x3 Pagination Controls */
.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.gallery-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 50px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #334155;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gallery-page-btn:hover {
  border-color: var(--tp-theme-primary, #ab0c2f);
  color: var(--tp-theme-primary, #ab0c2f);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(171, 12, 47, 0.12);
}

.gallery-page-btn.active {
  background: var(--tp-theme-primary, #ab0c2f);
  border-color: var(--tp-theme-primary, #ab0c2f);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(171, 12, 47, 0.35);
}

.gallery-page-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Lightbox Modal (BVB Manvila Structure with Event-Specific Sub-Images) */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: rgba(4, 27, 59, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-dialog {
  position: relative;
  width: 90vw;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: var(--tp-theme-primary, #ab0c2f);
  border-color: var(--tp-theme-primary, #ab0c2f);
  transform: rotate(90deg);
}

.lightbox-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.lightbox-nav:hover {
  background: var(--tp-theme-primary, #ab0c2f);
  border-color: var(--tp-theme-primary, #ab0c2f);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
  left: -24px;
}

.lightbox-next {
  right: -24px;
}

.lightbox-img-wrap {
  width: 100%;
  min-height: 380px;
  max-height: 58vh;
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 54vh;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.25s ease;
}

.lightbox-info {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.lightbox-caption-group {
  text-align: left;
}

.lightbox-caption {
  color: #FFFFFF;
  font-family: var(--tp-ff-heading, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.lightbox-subcaption {
  color: #94A3B8;
  font-size: 0.85rem;
}

.lightbox-event-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(220, 252, 231, 0.15);
  color: #86EFAC;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(134, 239, 172, 0.3);
  margin-bottom: 4px;
}

.lightbox-counter {
  color: #CBD5E1;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

/* Event-Specific Sub-Images Strip Below Main Photo */
.lightbox-thumbs-container {
  width: 100%;
  margin-top: 1rem;
  background: rgba(4, 27, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(8px);
}

.lightbox-thumbs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.lightbox-thumbs-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #E2E8F0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.lightbox-thumbs-counter {
  font-size: 0.75rem;
  color: #94A3B8;
}

.lightbox-thumbs-scroll-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox-thumbs-track {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  flex: 1;
}

.lightbox-thumbs-track::-webkit-scrollbar {
  height: 4px;
}

.lightbox-thumbs-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.lightbox-thumb-item {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.25);
  opacity: 0.55;
  transition: all 0.2s ease;
  background: #000;
}

.lightbox-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-thumb-item:hover {
  opacity: 0.9;
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.8);
}

.lightbox-thumb-item.active {
  opacity: 1;
  border-color: var(--tp-theme-primary, #ab0c2f);
  box-shadow: 0 0 10px rgba(171, 12, 47, 0.7);
  transform: scale(1.08);
}

.lightbox-thumb-scroll-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.lightbox-thumb-scroll-btn:hover {
  background: var(--tp-theme-primary, #ab0c2f);
  border-color: var(--tp-theme-primary, #ab0c2f);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .lightbox-prev { left: -10px; }
  .lightbox-next { right: -10px; }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
  .lightbox-dialog {
    width: 95vw;
  }
  .lightbox-close {
    top: -40px;
    right: 0;
  }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-img-wrap {
    min-height: 260px;
    max-height: 50vh;
    padding: 0.75rem;
  }
  .lightbox-thumb-item {
    width: 60px;
    height: 42px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .gallery-filters {
    gap: 0.35rem;
  }
  .filter-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
  }
  .lightbox-caption {
    font-size: 1rem;
  }
  .lightbox-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .lightbox-counter {
    align-self: flex-start;
  }
  .lightbox-thumb-scroll-btn {
    display: none;
  }
}
