/* Pagination Styles - WordPress Plugin */
.lc-plugin-wrapper .jet-smart-filters-pagination { 
  display: flex;
  justify-content: center;
  margin: 0; 
  font-family: inherit;
  }
  

  .lc-plugin-wrapper .jet-filters-pagination {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.5em; 
  margin-bottom: 1.5em;
  }
  
.lc-plugin-wrapper .jet-filters-pagination__item {
  background: var(--lc-card-bg);
  border: none;
  border-radius: var(--lc-radius);
  transition: all 0.2s ease;
  cursor: pointer;
  }

  div#lc-topic-term {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  }

  .lc-plugin-wrapper .lc-topics-container .jet-listing.jet-listing-dynamic-field.display-inline, .lc-topics-container .jet-listing.jet-listing-dynamic-field.display-inline  {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid {
    overflow-x: auto;
    overflow-y: visible;
    margin: 0 -1rem;
    padding: 0 1rem 1rem 1rem;
    scrollbar-width: auto !important;
    scrollbar-color: var(--lc-category-scrollbar, #4e154f) rgba(255, 255, 255, 0.2);
  }
  .lc-search-container .jet-ajax-search.jet-ajax-search--mobile-skin {
    width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  @media (max-width: 1023px) {
    .lc-search-container .jet-ajax-search.jet-ajax-search--mobile-skin {
      width: 100% !important;
    }
  }

  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid::-webkit-scrollbar {
    height: 12px;
  }

  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
  }

  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid::-webkit-scrollbar-thumb {
    background-color: var(--lc-category-scrollbar, #4e154f);
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.2);
  }

  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid::-webkit-scrollbar-thumb:hover {
    background-color: var(--lc-category-scrollbar, #4e154f);
  }
  
  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid__items {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0rem;
  }
  
  /* Desktop - disable scroll, allow wrapping */
  @media (min-width: 768px) {
    .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid {
     /* overflow-x: visible; */
      overflow-y: visible;
      margin: 0;
      padding: 0;
    }
  
    .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid__items {
      flex-wrap: nowrap;
      justify-content: center;
    }
  }

  @media (min-width: 768px) and (max-width: 1220px) {
    .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      box-sizing: border-box !important;
      overflow-x: auto !important;
      overflow-y: visible !important;
      margin: 0 !important;
      padding: 0 0 1rem 0 !important;
    }

    .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid__items {
      display: inline-flex !important;
      flex-wrap: nowrap !important;
      justify-content: flex-start !important;
      width: max-content !important;
      min-width: max-content !important;
      margin: 0 !important;
    }
  }

  
  .lc-plugin-wrapper .lc-topic-term-header .lc-topics-container {
    min-width: 120px;
    max-width: 130px;
    height: 130px;
    max-height: 130px;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding-left: 0.7rem !important;
      padding-right: 0.7rem !important;
      background-color: var(--lc-taxonomy-card-bg, rgba(255, 255, 255, 0.1)) !important;
      border-radius: 1rem !important;
      border: 2px solid var(--lc-category-border, #9ad7bc) !important;
      flex-shrink: 0;
      gap: 0.6rem;
  }
  
  .lc-plugin-wrapper .lc-topic-term-header .lc-topic-icon {
    font-size: 2rem;
    color: var(--lc-category-icon-color, var(--lc-primary));
    transition: color 0.2s ease;
    width: 37px !important;
    height: 37px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: var(--lc-category-icon-wrapper-filter, invert(1)) !important;
    /* filter removed - handled by JavaScript for white color */
  }
  
  .lc-plugin-wrapper .lc-topic-term-header .lc-topic-title a {
    color: var(--lc-category-text-color, var(--lc-background)) !important;
  }
  .lc-plugin-wrapper .lc-topic-term-header .lc-topics-container:hover {
  background-color: #6895393b !important;
  }

  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid__items .jet-listing-grid__item.jet-equal-columns:not(.lc-term-active-item) .jet-engine-listing-overlay-wrap:hover .lc-topic-icon:not(img),
  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid__item:not(.lc-term-active-item) .lc-topics-container:not(.lc-term-active-item):hover .lc-topic-icon:not(img) {
    color: var(--lc-category-hover-icon-color, var(--lc-category-icon-color, var(--lc-primary)));
    filter: var(--lc-category-hover-icon-wrapper-filter, var(--lc-category-icon-wrapper-filter, invert(1))) !important;
  }

  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid__items .jet-listing-grid__item.jet-equal-columns:not(.lc-term-active-item) .jet-engine-listing-overlay-wrap:hover img.lc-topic-icon,
  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid__items .jet-listing-grid__item.jet-equal-columns:not(.lc-term-active-item) .jet-engine-listing-overlay-wrap:hover .lc-topic-icon img,
  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid__item:not(.lc-term-active-item) .lc-topics-container:not(.lc-term-active-item):hover img.lc-topic-icon,
  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid__item:not(.lc-term-active-item) .lc-topics-container:not(.lc-term-active-item):hover .lc-topic-icon img {
    filter: var(--lc-category-hover-icon-filter, var(--lc-category-icon-filter, brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%))) !important;
  }
  
  .lc-plugin-wrapper .jet-filters-pagination__item:hover {
  background: var(--lc-taxonomy-card-bg-hover);
  /* border: 1px solid var(--lc-primary); */
  }
  
  .lc-plugin-wrapper .jet-filters-pagination__item.jet-filters-pagination__current {
  background: var(--lc-card-bg);
  border: 1px solid var(--lc-border);
  color: var(--lc-text);
  }
  
  .lc-plugin-wrapper .jet-filters-pagination__item.jet-filters-pagination__current:hover {
  background: var(--lc-taxonomy-card-bg-hover);
  border: 1px solid var(--lc-border);
  color: var(--lc-text);
  }
  
  .lc-plugin-wrapper .jet-filters-pagination__link {
  padding: 0.5rem 1rem;
  color: var(--lc-text);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
  text-align: center;
  }
  .lc-plugin-wrapper .jet-filters-pagination__link:hover {
  color: var(--lc-text);
  border:none;
  }
  
  .lc-plugin-wrapper .jet-filters-pagination__item:hover .jet-filters-pagination__link {
  color: var(--lc-text);
  }
  
  .lc-plugin-wrapper .jet-filters-pagination__item.jet-filters-pagination__current .jet-filters-pagination__link {
  color: var(--lc-text);
  }
  
  .lc-plugin-wrapper .jet-filters-pagination__item.jet-filters-pagination__current:hover .jet-filters-pagination__link {
  color: var(--lc-text);
  }
  
  /* Previous/Next button styling */
  .lc-plugin-wrapper .jet-filters-pagination__item.prev-next {
  background: var(--lc-card-bg);
  }
  
  .lc-plugin-wrapper .jet-filters-pagination__item.prev-next:hover {
  background: var(--lc-taxonomy-card-bg-hover);
  color: var(--lc-text);
  }
  
  .lc-plugin-wrapper .jet-filters-pagination__item.prev-next:hover .jet-filters-pagination__link {
  color: var(--lc-text);
  }
  
  /* Mobile responsive adjustments */
  @media (max-width: 768px) {
  .lc-plugin-wrapper .jet-filters-pagination {
    gap: 0.25rem;
  }
  
  div#lc-topic-term {
    width:100%;
  }
  
  .lc-plugin-wrapper .jet-filters-pagination__link {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }
  
  .lc-plugin-wrapper .jet-filters-pagination__item.prev-next .jet-filters-pagination__link {
    padding: 0.375rem 0.625rem;
  }
  }
  
  /* Disabled state (if needed) */
  .lc-plugin-wrapper .jet-filters-pagination__item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  }
  
  .lc-plugin-wrapper .jet-filters-pagination__item.disabled:hover {
  background: var(--lc-card-bg);
  border: none;
  }
  
  @media (min-width: 1024px) {
  .lc-plugin-wrapper .lc-header-content {
    padding: 3rem 2rem 3rem !important;
  }
  }
  
  /* Term label styling */
  .lc-plugin-wrapper .lc-term-label {
    font-size: 0;
    line-height: 1.0em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0px;
    color: var(--lc-background);
    margin-bottom: 1rem;
    margin-top: 0rem;
  }
  
  /* Header title styling */
  .lc-plugin-wrapper .lc-header-title {
  font-size: 2.5rem;
  line-height: 32px;
  font-weight: 600;
  /* color: white; */
  color:var(--lc-background);
  letter-spacing: -0.025em;
  }
  
  @media (min-width: 768px) {
  .single-lc_author .lc-plugin-wrapper .lc-header-title:not(.lc-article),
  body:not(.single-lc_author) .lc-plugin-wrapper .lc-header-title:not(.lc-article) {
    font-size: 37.5px !important;
    font-weight: 400 !important;
    line-height: 45px !important;
    letter-spacing: 1px !important;
    color: rgb(255, 255, 255) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 37ch !important;
    box-sizing: border-box !important;
  }

  .lc-plugin-wrapper .lc-header-builder-instance .lc-header-builder-block .lc-header-title.lc-header-title,
  .lc-plugin-wrapper .lc-header-builder-instance .lc-header-builder-block .lc-header-title.lc-header-title:not(.lc-article),
  .lc-plugin-wrapper .lc-header-builder-instance .lc-header-builder-block .lc-header-title.lc-header-title.lc-article {
    font-size: 37.5px !important;
    font-weight: 400 !important;
    line-height: 45px !important;
    letter-spacing: 1px !important;
    color: rgb(255, 255, 255) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 37ch !important;
    box-sizing: border-box !important;
  }
  }

  /* Header subtitle styling */
  .lc-plugin-wrapper .lc-header-subtitle {
  font-size: 1.125rem ;
  font-weight: 400 ;
  color: var(--lc-background);
  line-height: 1.625 ;
  margin: 0 auto 2rem auto;
  max-width: 42rem;
  font-family: 'Inter', 'Roboto', 'Open Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  }
  
  @media (min-width: 767px) {
  .lc-plugin-wrapper .lc-header-subtitle {
    font-size: 1.125rem !important;
    margin-bottom: 0rem !important;
  }
  }
  
  @media (min-width: 1024px) {
  .lc-plugin-wrapper .lc-header-subtitle {
    font-size: 1.25rem !important;
    margin-bottom: 0rem !important; 
    /*margin-left:0;*/
  }
  }
  
  @media (max-width: 767px) {
    .lc-plugin-wrapper .lc-header-subtitle {
      margin: 0 auto 0.7rem auto !important;
      text-align: center !important;
      width: 100% !important;
      max-width: 100% !important;
    }
    .lc-plugin-wrapper .lc-topic-term-header .lc-topics-container {
      min-width: 110px;
    }
    .jet-ajax-search-block {
      margin-top: 10px;
  }
    .lc-plugin-wrapper .lc-hub-results-count {
      margin: 24px 0 0 0 !important;
      height: fit-content !important;
  }
  .wp-container-core-group-is-layout-c4dd90bf > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    width:100%;
  }
  }
  
  /* Curved bottom section - exact same SVG as React landing page */
  .lc-plugin-wrapper .lc-header-curve {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 120px !important;
  z-index: 20 ;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: none;
  }
  
  /* SVG curve - exact same as React */
  .lc-plugin-wrapper .lc-header-curve svg {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 120px !important;
  fill: white !important;
  }
  
  /* Search filter container in header */
  .lc-plugin-wrapper .lc-header-content .jet-smart-filters-search {
  width: 100% !important;
  max-width: 32rem !important;
  margin: 0 auto !important;
  z-index: 9999999999;
  }
  
  .lc-plugin-wrapper .lc-header-content .jet-search-filter {
  position: relative !important;
  width: 100% !important;
  display: flex;
  gap: 0.5em; 
  }
  
  .lc-plugin-wrapper .lc-header-content .jet-search-filter__input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  }
  
  /*
  .lc-plugin-wrapper .lc-header-content .jet-search-filter__input {
  width: 512px;
  padding: 0.5rem 2rem 0.5rem 1rem;
  background: var(--lc-search-input-bg, rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease;
  outline: none;
  color: #374151;
  } */
  
  .lc-plugin-wrapper .lc-header-content .jet-search-filter__input {
  width: 512px;
  padding: 0.5rem 2rem 0.5rem 2.5rem; /* Added left padding for icon */
  background: var(--lc-search-input-bg, rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease;
  outline: none;
  color: #374151;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236b7280' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='7' stroke-width='2'/%3E%3Cline x1='21' y1='21' x2='14.5' y2='14.5' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.75rem center;
  background-size: 1.2em 1.2em;
  }
  
  .lc-plugin-wrapper .lc-header-content .jet-search-filter__input:focus {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  ring: 2px solid rgba(255, 255, 255, 0.5) !important;
  }
  
  .lc-plugin-wrapper .lc-header-content .jet-search-filter__input::placeholder {
  color: #6b7280 !important;
  }
  
  /* Remove the old icon from the input wrapper */
  .lc-plugin-wrapper .lc-header-content .jet-search-filter__input-wrapper::before {
  display: none !important;
  }
  
  /* Add the search icon to the button using ::before */
  .lc-plugin-wrapper .jet-search-filter__submit.apply-filters__button {
  position: relative;
  padding-right: 13px;
  background: #047857; /* Changed to dark green */
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease;
  outline: none;
  color: #374151;
  margin-top: 0;
  cursor: pointer; /* Added cursor pointer */
  }
  
  .lc-plugin-wrapper .jet-search-filter__submit.apply-filters__button::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0.9em;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2em;
  height: 1.2em;
  /* Updated search icon with longer handle */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23ffffff' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='7' stroke-width='2'/%3E%3Cline x1='21' y1='21' x2='14.5' y2='14.5' stroke-width='2'/%3E%3C/svg%3E") no-repeat center center;
  background-size: 1.2em 1.2em;
  pointer-events: none;
  }
  
  /* Hide the S text if you want only the icon visible */
  .lc-plugin-wrapper .jet-search-filter__submit .jet-search-filter__submit-text {
  font-size: 0;
  color: transparent;
  display: inline-block;
  width: 0;
  height: 0;
  overflow: hidden;
  }
  
  /* Override WordPress default paddings and margins */
  .lc-plugin-wrapper .lc-header-container .has-global-padding {
  padding-left: 0 ;
  padding-right: 0 ;
  }
  
  .lc-plugin-wrapper .lc-header-container .is-layout-constrained {
  max-width: none;
  }
  
  /* Clear All Filters Button */
  .lc-plugin-wrapper .lc-clear-all-filters-btn {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #374151;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: row;
  font-weight: 500;
  padding: 0;
  }
  
  .lc-plugin-wrapper .lc-clear-all-filters-btn:hover {
  color: #111827;
  }
  
  .lc-plugin-wrapper .lc-clear-all-filters-text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #374151;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  flex-direction: row;
  font-weight: 500;
  padding: 0;
  }
  
  /* Remove force display block, reserve space instead */
  .lc-plugin-wrapper .jet-smart-filters-remove-filters-wrapper {
  width: fit-content;
  min-width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  }
  
  .lc-plugin-wrapper .jet-smart-filters-remove-filters-wrapper[style*="display: none"] {
  display: flex !important;
  }
  
  .lc-plugin-wrapper .jet-smart-filters-remove-filters-wrapper[style*="display: none"] > button {
  visibility: hidden !important;
  pointer-events: none;
  }
  
  .lc-plugin-wrapper .lc-resource-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  min-height: 52px;
  }
  
  .lc-plugin-wrapper .lc-toggle-switch {
  display: inline-flex;
  align-items: center;
  background-color: #f3f4f6;
  border-radius: 9999px;
  padding: 8px 4px 8px 4px;
  border: 1px solid #e5e7eb;
  gap: 8px;
  }
  
  .lc-plugin-wrapper .lc-toggle-btn {
  padding: 8px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  background: none;
  color: #6b7280;
  }
  
  .lc-plugin-wrapper .lc-toggle-btn:hover {
  color: #374151;
  }
  
  .lc-plugin-wrapper .lc-toggle-btn.lc-toggle-active {
  background-color: #16a34a;
  color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  }
  
  .lc-plugin-wrapper .lc-toggle-btn[data-filter="recent"].lc-toggle-active {
  background-color: white;
  color: #111827;
  border: 1px solid #e5e7eb;
  }
  
  /* Animation for smooth transitions */
  .lc-plugin-wrapper * {
  transition: all 0.2s ease;
  }
  
  /* Section Separator */
  .lc-plugin-wrapper .lc-section-separator {
  /* display: none; */
  /* border-top: 1px solid #e5e7eb; */
  border-top: none !important;
  padding-bottom: 8rem;
  }
  
  @media (min-width: 768px) {
  .lc-plugin-wrapper .lc-section-separator {
    padding-bottom: 2rem;
  }
  }
  
  .lc-plugin-wrapper .lc-section-separator > * + * {
  margin-top: 1.5rem;
  }
  
  /* Section Heading */
  .lc-plugin-wrapper .lc-section-heading {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #111827;
  text-align: center;
  }
  
  /* JetEngine Listing Overlay - exclude lc-topic-term-header */
  .lc-plugin-wrapper :not(.lc-topic-term-header) > .jet-listing-grid__items > .jet-listing-grid__item.jet-equal-columns .jet-engine-listing-overlay-wrap {
  height: 100%;
  background-color: #f9fafb !important;
  border-radius: 8px !important;
  }
  
  /* Override for topic term header - no background (higher specificity) */
  .lc-plugin-wrapper .lc-topic-term-header .jet-listing-grid__items .jet-listing-grid__item.jet-equal-columns .jet-engine-listing-overlay-wrap {
  background-color: transparent !important;
  border-radius: 0 !important;
  }
  
  /* Active Filters Container */
  .lc-plugin-wrapper .lc-active-filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  }
  
  /* Remove Button */
  .lc-plugin-wrapper .jet-active-filter__remove {
  margin-left: 10px;
  padding-top: 9px;
  line-height: 1;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  }
  
  .lc-plugin-wrapper .jet-active-filter__remove:hover {
  color: var(--lc-secondary);
  }
  
  /* Alternative light theme variant */
  .lc-plugin-wrapper .jet-active-filter.lc-filter-light {
  background-color: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb;
  }
  
  .lc-plugin-wrapper .jet-active-filter.lc-filter-light:hover {
  background-color: #e5e7eb;
  }
  
  .lc-plugin-wrapper .jet-active-filter.lc-filter-light .jet-active-filter__remove {
  background-color: rgba(0, 0, 0, 0.1);
  color: #6b7280;
  border-left-color: rgba(0, 0, 0, 0.1);
  }
  
  .lc-plugin-wrapper .jet-active-filter.lc-filter-light .jet-active-filter__remove:hover {
  background-color: rgba(0, 0, 0, 0.15);
  color: #374151;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
  .lc-plugin-wrapper .lc-active-filters-container {
    gap: 0.375rem;
  }
  
  .lc-plugin-wrapper .jet-active-filter {
    font-size: 0.8125rem;
  }
  /*
  .lc-plugin-wrapper .jet-active-filter__val {
    padding: 0.3125rem 0.625rem;
  }*/
  
  .lc-plugin-wrapper .jet-active-filter__remove {
    padding: 0.3125rem 0.4375rem;
    min-width: 1.5rem;
  }
  .lc-plugin-wrapper .lc-header-content .jet-search-filter__input-wrapper::before {
    left: 2em;
  }
  .lc-plugin-wrapper .lc-plugin-main-content {
  margin-top:0;
  padding-top:0;
  padding-left: 1.5em !important;
  padding-right: 1.5em !important;
  }
  .lc-plugin-wrapper .lc-listing-featured-image img {
  width: 100% !important;
  }
  .lc-plugin-wrapper .lc-listing-featured-image {
  aspect-ratio: auto;
  margin: 0 !important;
  width: 100% !important;
  }
  }
  
  /* Fix the curve container to be full width */
  .lc-plugin-wrapper .lc-header-curve {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(-50vw + 50%) !important;
  }
  .lc-plugin-wrapper .lc-listing-author {
  /*margin-top: 8px; */
  }
  
  .lc-plugin-wrapper .lc-listing-author.display-inline {
  justify-content: flex-start;
  }
  
  .lc-plugin-wrapper .lc-listing-read-time.display-inline {
  justify-content: flex-end;
  }
  
  .lc-plugin-wrapper .lc-listing-read-time .jet-listing-dynamic-field__content, .lc-plugin-wrapper .lc-listing-read-time .jet-listing-dynamic-field__content a {
  font-size: 15px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  /* Remove constrained width */
  .lc-plugin-wrapper .lc-header-curve.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
  }
  
  .lc-no-margin {
  margin: 0 !important;
  }
  
  .lc-plugin-wrapper .lc-header-curve.is-layout-constrained {
  max-width: none !important;
  }
  
  .jet-smart-filters-active.jet-active-filters.jet-filter {
  width: fit-content;
  }
  
  .lc-plugin-wrapper .lc-border-none {
  border: none;
  }
  
  .jet-filters-counter {
  align-self: center;
  padding: 0 0 0 5px;
  font-size: 16px;
  line-height: 24px;
  min-width: 36px;
  color:#212529;
  }
  
  /* Active Filter Badges - Fix for WordPress */
  
  /* Active filters list container */
  .lc-plugin-wrapper .jet-active-filters__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
  flex-direction: column;
  }
  
  .lc-plugin-wrapper .jet-active-filter__remove:hover {
  color: #dc2626;
  }
  
  /* Normal Badge - generic styling */
  .lc-badge-split {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background-color: #f3f4f6;
  color: #374151;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  width: max-content; 
  }
  
  .lc-badge-split:hover {
  background-color: #e5e7eb;
  border-color: #d1d5db;
  }
  
  .lc-plugin-wrapper .lc-no-message-found {
  padding-left: 20px;
  max-width: 500px;
  font-size: 0.8em;
  margin-top: 50px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0; 
  }
  
  .lc-plugin-wrapper .lc-clear-icon {
  height: auto; 
  }
  
  .lc-plugin-wrapper span.lc-back-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  line-height: 1;
  }
  /* Remove button inside normal badge */
  .lc-badge-split .lc-badge-remove {
  color: #374151;
  transition-property: color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  cursor: pointer;
  width: 0.75rem;
  height: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  }
  
  .lc-badge-split .lc-badge-remove:hover {
  color: #dc2626;
  }
  
  .lc-plugin-wrapper .jet-active-filter__val {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  }
  
  .lc-plugin-wrapper .lc-badge-remove:hover {
  color: #b91c1c;
  }
  
  /* Ensure the main container has relative positioning for absolute badge positioning */
  .lc-plugin-wrapper .lc-listing-container {
  position: relative;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  }
  
  /* Essential Resource Card Badge - positioned relative to the card container */
  .lc-plugin-wrapper .lc-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  margin: 0;
  margin-top: 0;
  margin-block-start: 0;
  background-color: #8B278C;
  color: var(--lc-background);
  padding: 4px 8px;
  border-radius: var(--lc-radius);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  font-family: inherit;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
  }
  
  /* Hover effect for the badge when card is hovered */
  /*
  .lc-plugin-wrapper .lc-listing-container:hover .lc-card-badge {
  background-color: #047857;
  } */
  
  /* Responsive adjustments */
  @media (max-width: 600px) {
  .lc-plugin-wrapper .lc-card-badge {
    font-size: 11px;
    padding: 3px 6px;
    top: 6px;
    right: 6px;
  }
  }
  
  
  /* Essential Badge - copying styles from the blue badge */
  .lc-badge-split.lc-essential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background-color: #b1b1b1;
  color: var(--lc-background);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  /* border: 1px solid black; */
  }
  .lc-plugin-wrapper .lc-essential-badge .lc-badge-remove {
  color: black;
  }
  
  /* Remove button inside the badge */
  .lc-badge-remove {
  color: #2563eb;
  transition-property: color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  cursor: pointer;
  width: 0.75rem;
  height: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  }
  
  .lc-badge-remove:hover {
  color: #1e40af;
  }
  
  .lc-plugin-wrapper .dashicons.dashicons-trash {
  font-size: 16px;
  }
  
  .lc-plugin-wrapper .jet-smart-filters-active .jet-active-filter {
  padding-right: 0px;
  }
  
  .lc-plugin-wrapper .lc-listing-results-count {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #4b5563;
  width: fit-content;
  flex-shrink: 0;
  width: 100%;
  margin-bottom: 6px;
  text-align: right;
  }
  
  .lc-plugin-wrapper .lc-filters-group,
  .lc-plugin-wrapper .lc-filters-group > .wp-block-group__inner-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center !important;
  margin: 0;
  padding: 0;
  width: 100%;
  }
  
  .lc-plugin-wrapper .lc-filters-groups,
  .lc-plugin-wrapper .lc-filters-groups > .wp-block-group__inner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  min-height: 34px;
  flex-direction: row;
  padding: 0px;
  width: 100%;
  margin: 0;
  }

  .wp-block-group.lc-filters-groups {
  padding-bottom: 12px;
  }
  
  .lc-plugin-wrapper .lc-filters-groups-mobile {
  display: none;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 0em !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  }
  .lc-plugin-wrapper span#active-filters-display {
  margin-right: 12px;
  }

  @media (min-width: 1025px) {
  .lc-plugin-wrapper .lc-filters-groups > .wp-block-group__inner-container > .lc-filters-group {
  width: auto;
  }

  .lc-plugin-wrapper .lc-filters-groups > .wp-block-group__inner-container > .lc-filters-group:first-child {
  flex: 1 1 auto;
  min-width: 0;
  }

  .lc-plugin-wrapper .lc-filters-groups > .wp-block-group__inner-container > .lc-filters-group:last-child {
  flex: 0 0 auto;
  margin-left: auto;
  }

  .lc-plugin-wrapper .lc-filters-groups > .wp-block-group__inner-container > .lc-filters-group:last-child > .wp-block-group__inner-container {
  justify-content: flex-end;
  width: auto;
  }
  }
  /* Remove the full width from badges container so it starts on the same line */
  .lc-plugin-wrapper .jet-smart-filters-active.jet-active-filters.jet-filter {
  width: auto;
  order: 2;
  flex-shrink: 1;
  margin-right: 12px;
  }
  
  /* Keep the active filters text at the top */
  .lc-plugin-wrapper .lc-clear-all-filters-text {
  order: 1;
  flex-shrink: 0;
  /*  align-self: flex-start;*/
  }
  
  /* Clear button comes after badges */
  .lc-plugin-wrapper .jet-smart-filters-remove-filters-wrapper {
  order: 3;
  flex-shrink: 0;
  /*align-self: flex-start;*/
  }
  
  /* Keep the results count in its own group, top right */
  .lc-plugin-wrapper .lc-listing-results-count {
  flex-shrink: 0;
  align-self: flex-start;
  text-align: right;
  }
  
  /* Ensure the badges list wraps properly */
  .lc-plugin-wrapper .jet-active-filters__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
  flex-direction: row;
  }
  
  .lc-filters-sidebar {
  display: block;
  }
  
  .lc-mobile-filter-trigger {
  display:none;
  align-items: center !important;
  gap: 8px  !important;
  padding: 12px  !important;
  background-color: var(--lc-taxonomy-card-bg) !important;
  color: var(--lc-text) !important;
  border-radius: var(--lc-radius) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border: 1px solid var(--lc-border) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
  }
  
  .lc-mobile-filter-trigger:hover {
  background-color: var(--lc-taxonomy-card-bg-hover);
  border-color: var(--lc-primary);
  }
  
  .lc-mobile-filter-trigger .lc-filter-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  }
  
  
  /* Mobile Filter Drawer - WordPress Plugin Integration */
  /* Mobile Filter Drawer - Fixed at Bottom */
  .lc-plugin-wrapper .lc-mobile-filter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  display: none;
  font-family: inherit;
  }
  
  /* Apply Filters Button Styling */
  .lc-plugin-wrapper .lc-apply-filters-btn {
  /* Typography */
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  
  /* Colors */
  color: #ffffff; /* text-white */
  background-color: #16a34a; /* bg-green-600 */
  border: 1px solid #16a34a; /* border-green-600 */
  
  /* Spacing */
  padding: 0.375rem 0.75rem; /* py-1.5 px-3 */
  
  /* Border radius */
  border-radius: 0.375rem; /* rounded-md */
  
  /* Transitions */
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  
  /* Layout */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  
  /* Remove default button styles */
  border-style: solid;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  }
  
  .lc-plugin-wrapper .lc-apply-filters-btn:hover {
  color: #ffffff; /* hover:text-white */
  background-color: #15803d; /* hover:bg-green-700 */
  border-color: #15803d;
  }
  
  .lc-plugin-wrapper .lc-apply-filters-btn:focus {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
  }
  
  .lc-plugin-wrapper .lc-apply-filters-btn:active {
  background-color: #14532d;
  border-color: #14532d;
  }
  
  /* Drawer Actions Container */
  .lc-plugin-wrapper .lc-drawer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
  }
  
  /* Apply Filters Button in Drawer Actions */
  .lc-plugin-wrapper .lc-drawer-actions .lc-apply-filters-btn {
  /* Typography */
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  
  /* Colors */
  color: white;
  background-color: #16a34a; /* bg-green-600 */
  border: 1px solid #16a34a;
  
  /* Spacing */
  padding: 0.375rem 0.75rem; /* py-1.5 px-3 */
  
  /* Border radius */
  border-radius: 0.375rem; /* rounded-md */
  
  /* Transitions */
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  
  /* Layout */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  
  /* Remove default button styles */
  border-style: solid;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  font-family: inherit;
  }
  
  .lc-plugin-wrapper .lc-drawer-actions .lc-apply-filters-btn:hover {
  background-color: #15803d; /* hover:bg-green-700 */
  border-color: #15803d;
  }
  
  .lc-plugin-wrapper .lc-drawer-actions .lc-apply-filters-btn:focus {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
  }
  
  /* Clear All Filters Button in Drawer Actions */
  .lc-plugin-wrapper .lc-drawer-actions .jet-remove-all-filters.lc-clear-all-filters-btn {
  font-size: 0.875rem;
    font-weight: 500;
    color: #5B8ED5;
    background-color: white;
    border:1px solid #5B8ED5;
    padding: 0.375rem 0.75rem; /* py-1.5 px-3 */
    border-radius: 7px;
    transition: color 0.15s ease-in-out, background-color 0.15s  ease-in-out, border-color 0.15s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-style: solid;
    cursor: pointer;
    text-decoration: none;
    outline: none;
  }
  
  .lc-plugin-wrapper .lc-drawer-actions .jet-remove-all-filters.lc-clear-all-filters-btn:hover {
  color: #1e40af; /* hover:text-blue-800 */
  background-color: #dbeafe; /* hover:bg-blue-100 */
  border-radius: 7px;
  }
  
  .lc-plugin-wrapper .lc-drawer-actions .jet-remove-all-filters.lc-clear-all-filters-btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  }
  
  /* Icon styling in Drawer Actions */
  .lc-plugin-wrapper .lc-drawer-actions .lc-clear-icon {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  }
  
  .lc-plugin-wrapper .lc-drawer-actions .lc-clear-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  }
  
  
  /* Show only on mobile and tablet */
  @media (max-width: 1024px) {
  .lc-filters-sidebar {
    display: none;
  }
  .lc-plugin-wrapper .lc-filters-groups {
    display: none !important;
  }
  .lc-plugin-wrapper .jet-smart-filters-remove-filters-wrapper.desktop-clear-filters {
    display: none !important;
  }
  .lc-plugin-wrapper .lc-header-content.lc-article {
   /* min-height: 0 !important; */ /* Allow expansion on mobile */
    height: auto !important;
  }
  
  .lc-plugin-wrapper.lc-header-container.lc-article {
    min-height: 300px !important; /* Base minimum only */
    height: auto !important;
  }
  .lc-plugin-wrapper .lc-header-content.lc-article {
    min-height: 400px; 
  }
  
  .lc-plugin-wrapper .lc-page-container.lc-article-top-margin {
    margin-bottom: 1.5em !important; 
  }
  
  .lc-plugin-wrapper .wp-block-post-featured-image {
    bottom:0;
  }
  .lc-mobile-filter-trigger {
    display: inline-flex;
    width: auto;
  }
  .lc-plugin-wrapper span#active-filters-display-mobile {
    height: 100%;
    width: fit-content;
  }
  .lc-plugin-wrapper .grid-col-desk-3 {
    grid-template-columns: repeat(var(--lc-card-cols-tablet, 2), 1fr);
  }
  
  .lc-plugin-wrapper .lc-page-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  .lc-plugin-wrapper .lc-listing-internal-container {
    margin: 0 !important;
  }
  /*
  .lc-plugin-wrapper .lc-header-title {
    font-size: 28px;
    line-height: 32px;
  
  }
  */ 
  .lc-plugin-wrapper .lc-header-content {
    padding: 2rem 1rem !important;
  }
  .lc-plugin-wrapper .lc-header-curve svg {
    width: 100% !important;
    height: 60px !important;
  }
  }
  
  /* Backdrop */
  .lc-plugin-wrapper .lc-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1999;
  }
  
  .lc-plugin-wrapper .lc-drawer-backdrop.lc-active {
  opacity: 1;
  visibility: visible;
  }
  
  /* Drawer Container */
  .lc-plugin-wrapper .lc-drawer-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--lc-background);
  border-radius: var(--lc-radius) var(--lc-radius) 0 0;
  box-shadow: var(--lc-shadow-hover);
  border: 1px solid var(--lc-border);
  border-bottom: none;
  height: 90px; /* Increased to ensure handle and header are fully visible */
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2001;
  }
  
  /* When drawer is closed (not open), disable pointer events to allow scroll behind */
  .lc-plugin-wrapper .lc-drawer-container:not(.lc-open) {
  pointer-events: none;
  }
  
  /* But enable pointer events on interactive parts (handle and header) when closed */
  .lc-plugin-wrapper .lc-drawer-container:not(.lc-open) .lc-drawer-handle,
  .lc-plugin-wrapper .lc-drawer-container:not(.lc-open) .lc-drawer-header {
  pointer-events: auto;
  }
  
  .lc-plugin-wrapper .lc-drawer-container.lc-open {
  height: 70vh;
  min-height: 400px;
  /* Enable full pointer events when drawer is open */
  pointer-events: auto;
  }
  
  .lc-plugin-wrapper .lc-drawer-container.lc-preview {
  height: 300px;
  }
  
  /* Handle with Header inside */
  .lc-plugin-wrapper .lc-drawer-handle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 90px; /* Match container height */
  cursor: grab;
  touch-action: none;
  /* padding: 12px 0;  */
  background: #eff5f6;
  flex-shrink: 0;
  gap: 12px;
  position: relative; /* Changed from sticky to avoid clipping */
  z-index: 2002;
  }
  
  .lc-plugin-wrapper .lc-drawer-handle:active {
  cursor: grabbing;
  }
  
  .lc-plugin-wrapper .lc-handle-bar {
  width: 40px;
  height: 4px;
  background-color: #d1d5db;
  border-radius: 2px;
  transition: background-color 0.2s ease;
  order: 1;
  }
  
  .lc-plugin-wrapper .lc-drawer-handle:hover .lc-handle-bar {
  background-color: var(--lc-primary);
  }
  
  .lc-plugin-wrapper .lc-drawer-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  background: transparent;
  height: auto;
  flex-shrink: 0;
  order: 2;
  width: 100%; /* Ensure header takes full width */
  }
  
  .lc-plugin-wrapper .lc-drawer-title {
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 600;
  color: var(--lc-text);
  margin: 0;
  text-align: center;
  }
  
  .lc-plugin-wrapper .lc-drawer-content {
  padding: 20px;
  height: calc(100% - 90px); /* Adjusted for increased handle height */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  }
  
  /* Animation for auto-preview on page load */
  @keyframes lc-show-preview {
  0% {
    height: 100px;
  }
  50% {
    height: 300px;
  }
  100% {
    height: 100px;
  }
  }
  
  .lc-plugin-wrapper .lc-drawer-container.lc-auto-preview {
  animation: lc-show-preview 3s ease forwards;
  }
  
  /* Fade-in animation when drawer appears */
  @keyframes lc-drawer-fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  }
  
  .lc-plugin-wrapper .lc-mobile-filter-drawer.lc-drawer-visible {
  animation: lc-drawer-fade-in 0.4s ease-out forwards;
  }
  
  /* Fade-out animation when drawer disappears */
  @keyframes lc-drawer-fade-out {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
  }
  
  .lc-plugin-wrapper .lc-mobile-filter-drawer.lc-drawer-hiding {
  animation: lc-drawer-fade-out 0.3s ease-in forwards;
  }
  
  /* Filter sections */
  .lc-plugin-wrapper .lc-filter-section {
  margin-bottom: 24px;
  }
  
  .lc-plugin-wrapper .lc-filter-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--lc-text);
  margin: 0 0 12px 0;
  font-family: inherit;
  }
  
  .lc-plugin-wrapper .lc-filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  }
  
  /* Mobile filters container */
  .lc-plugin-wrapper .lc-mobile-filters-container {
  display: flex;
  flex-direction: column;
  /*gap: 20px; */
  margin-bottom: 20px;
  padding-bottom:20px; 
  }
  
  /* Override JetSmartFilters styles for mobile drawer */
  .lc-plugin-wrapper .lc-drawer-content .jet-smart-filters-checkbox {
  margin-bottom: 0;
  }
  
  .lc-plugin-wrapper .lc-drawer-content .jet-filter-label {
  margin-top: 0;
  font-weight: 600;
  color: var(--lc-text);
  font-size: 16px;
  margin-bottom: 12px;
  font-family: inherit;
  }
  
  .lc-plugin-wrapper .lc-drawer-content .jet-checkboxes-list__label {
  font-size: 15px !important;
  line-height: 22px !important;
  color: var(--lc-text) !important;
  font-family: inherit;
  }
  
  .lc-plugin-wrapper .lc-drawer-content .jet-checkboxes-list .jet-checkboxes-list__item .jet-checkboxes-list__input:checked + .jet-checkboxes-list__button .jet-checkboxes-list__decorator {
  background: var(--lc-primary);
  }

  .lc-plugin-wrapper .lc-drawer-content .jet-checkboxes-list__item.lc-checkbox-regular .jet-checkboxes-list__decorator::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  opacity: 0;
  pointer-events: none;
  }

  .lc-plugin-wrapper .lc-drawer-content .jet-checkboxes-list__item.lc-checkbox-regular .jet-checkboxes-list__input:checked + .jet-checkboxes-list__button .jet-checkboxes-list__decorator::after {
  opacity: 1;
  }
  
  .lc-plugin-wrapper .lc-drawer-content .jet-checkboxes-list__item {
  margin-bottom: 8px;
  }
  
  .lc-plugin-wrapper .lc-drawer-content .jet-checkboxes-list-wrapper {
  border: none;
  padding: 0;
  }
  
  /* Hide apply buttons from individual filters since we have global ones */
  .lc-plugin-wrapper .lc-drawer-content .jet-filters-apply-button {
  display: none;
  }
  
  /* Apply/Clear buttons */
  .lc-plugin-wrapper .lc-drawer-actions {
  padding: 16px 20px;
  border-top: 1px solid var(--lc-border);
  display: flex;
  gap: 12px;
  background: var(--lc-background);
  margin: 0 0 -20px 0;
  justify-content: center;
  flex-direction: row-reverse;
  justify-content: space-between;
  }
  
  .lc-plugin-wrapper .lc-btn {
  padding: 12px 24px;
  border-radius: var(--lc-radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  flex: 1;
  font-family: inherit;
  text-align: center;
  }
  
  .lc-plugin-wrapper .lc-btn-primary {
  background-color: var(--lc-primary);
  color: var(--lc-background);
  }
  
  .lc-plugin-wrapper .lc-btn-primary:hover {
  background-color: var(--lc-primary-dark);
  }
  
  .lc-plugin-wrapper .lc-btn-secondary {
  background-color: var(--lc-taxonomy-card-bg);
  color: var(--lc-text);
  border: 1px solid var(--lc-border);
  }
  
  .lc-plugin-wrapper .lc-btn-secondary:hover {
  background-color: var(--lc-taxonomy-card-bg-hover);
  border-color: var(--lc-primary);
  }
  
  /* Prevent body scroll when drawer is open */
  body.lc-drawer-open {
  overflow: hidden;
  /* Remove position: fixed to prevent automatic scroll to top */
  /* position: fixed; */
  /* width: 100%; */
  }
  
  /* Mobile-specific responsive adjustments */
  @media (max-width: 600px) {
  .lc-plugin-wrapper .lc-drawer-container {
    height: 90px; /* Match desktop for consistency */
  }
  .lc-plugin-wrapper .lc-header-title.lc-article {
    font-size: 1.6rem !important;
    line-height: 1.2;
    padding-bottom: 0;
  }
  .lc-plugin-wrapper .lc-drawer-handle {
    height: 90px; /* Match container */
   /* gap: 10px; */
  }
  
  .lc-plugin-wrapper .lc-drawer-container.lc-open {
    height: 80vh;
    min-height: 350px;
  }
  
  .lc-plugin-wrapper .lc-drawer-container.lc-preview {
    height: 280px;
  }
  
  .lc-plugin-wrapper .lc-drawer-content {
    padding: 16px;
    height: calc(100% - 90px);
  }
  
  .lc-plugin-wrapper .lc-drawer-actions {
    padding: 12px 16px;
    margin: 0 0 -16px 0;
  }
  
  .lc-plugin-wrapper .lc-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .lc-plugin-wrapper .lc-filter-section-title {
    font-size: 15px;
  }
  }
  
  /* Tablet adjustments */
  @media (min-width: 601px) and (max-width: 1023px) {
  .lc-plugin-wrapper .lc-drawer-container.lc-open {
    height: 60vh;
    min-height: 450px;
  }
  }
  
  @media (min-width: 600px) and (max-width: 767px) {
  .lc-plugin-wrapper .lc-header-content {
   /* min-height: 320px;*/
  }
  .lc-plugin-wrapper .lc-header-container {
   /* min-height: 320px;*/
  }
  }
  
  /* Ensure drawer doesn't interfere with main content layout */
  .lc-plugin-wrapper .lc-filters-sidebar {
  display: block;
  }
  
  /* Add space for mobile drawer */
  @media (max-width: 1024px) {
  
    .lc-plugin-wrapper .lc-article:not(.lc-header-pattern):not(.lc-header-content):not(.lc-header-builder-content):not(.lc-article-prose) {
      padding: 0.5rem 1rem !important;
    }
  
  .lc-plugin-wrapper .lc-filters-group,
  .lc-plugin-wrapper .lc-filters-group > .wp-block-group__inner-container {
    margin-top:0;
    justify-content: space-between;
  }
  .lc-plugin-wrapper #lc-listing-results-count-mobile {
    width: 100%;
    text-align: center;
  }
  
  .lc-plugin-wrapper .mobile-only {
    display: block;
  }
  /*
  .lc-plugin-wrapper .wp-block-jet-engine-container.lc-page-container.jet-container.jet-container--content-direction-vertical.jet-container--content-justify-flex-start.jet-container--content-align-center.wp-block-jet-engine-container.lc-page-container {
    padding-top: 8.4px;
  }*/
  .lc-plugin-wrapper .lc-no-margin-bottom-mobile {
    margin-bottom: 0;
  }
  .lc-plugin-wrapper .lc-no-margin-top-mobile {
    margin-top: 0;
  }
  .lc-plugin-wrapper .lc-no-padding-top-mobile {
    padding-top: 0;
  }
  .lc-plugin-wrapper .lc-no-padding-mobile {
    padding: 0;
  }
  .lc-plugin-wrapper .lc-plugin-meta {
    flex-wrap: nowrap !important;
  }
  .lc-plugin-wrapper .lc-section-separator {
    padding-bottom: 2rem;
  }
  }
  
  @media (min-width: 1025px) {
  .mobile-only {
      display: none !important;
  }
  .mobile-clear-filters {
    display: none !important;
  }
  }
  /* Force active filters to new line on tablet */
  @media (max-width: 1024px) and (min-width: 601px) {
  .lc-plugin-wrapper .lc-listing-featured-image img {
    width: 100% !important;
    height: 180px !important;
    min-width: 100%;
  }
  .lc-plugin-wrapper .lc-listing-featured-image {
    aspect-ratio: auto;
    height: 180px !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 100%;
  }
  .lc-plugin-wrapper .lc-plugin-main-content {
    padding-left: 1.5em !important;
    padding-right: 1.5em !important;
  }
  
  .lc-plugin-wrapper div#lc-landing-page-articles {
    margin-top: 10px;
  }
  
  .lc-plugin-wrapper .lc-header-content .jet-search-filter__input-wrapper::before {
  left: 0.5em;
  }
  
  .lc-plugin-wrapper .lc-clear-all-filters-text {
    order: 1;
  }
  
  }
  
  
  /* iPhone XR specific adjustments */
  @media only screen and (max-width: 414px) {
  .lc-plugin-wrapper .lc-header-content .jet-search-filter__input-wrapper::before {
    left: 2.0em;
  }
  .lc-plugin-wrapper .lc-header-title.lc-article {
  font-size: 1.4rem !important;
  line-height: 1.2;
  padding-bottom: 0;
  }
  }
  
  /* iPhone 12 Pro - Portrait */
  @media only screen 
  and (device-width: 390px) 
  and (device-height: 844px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: portrait) {
    .lc-plugin-wrapper .lc-header-content .jet-search-filter__input-wrapper::before {
      left: 2.2em;
  }
  }
  @media only screen 
  and (device-width: 320px) 
  and (device-height: 568px) 
  and (-webkit-device-pixel-ratio: 2) 
  and (orientation: portrait) {
    .lc-plugin-wrapper .lc-header-content .jet-search-filter__input-wrapper::before {
      left: 2.0em;
  }
  }
  @media only screen 
  and (device-width: 375px) 
  and (device-height: 667px) 
  and (-webkit-device-pixel-ratio: 2) 
  and (orientation: portrait) {
    .lc-plugin-wrapper .lc-header-content .jet-search-filter__input-wrapper::before {
      left: 2.0em;
  }
  }
  
  /* iPhone 14 Pro Max specific adjustments */
  @media only screen and (max-width: 430px) and (min-width: 415px) {
  .lc-plugin-wrapper .lc-header-content .jet-search-filter__input-wrapper::before {
    left: 1.7em;
  }
  .lc-plugin-wrapper .lc-header-title.lc-article {
  font-size: 1.42rem !important;
  line-height: 1.2;
  padding-bottom: 0;
  }
  }
  
  /* START ARTICLE PAGE */
  
  .lc-plugin-wrapper .lc-article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 24px auto;
  font-size: 0.875rem; 
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  }

  .lc-plugin-wrapper .lc-article a.lc-article-back-link:hover,
  .lc-plugin-wrapper .lc-article a.lc-article-back-link:focus {
  text-decoration: none !important;
  border-bottom: 0 !important;
  }

  .lc-plugin-wrapper .lc-article-back-link:not(.lc-header-builder-back-link) {
  color: #FFFFFF;
  }

  .lc-plugin-wrapper .lc-article-back-link:not(.lc-header-builder-back-link) .lc-back-text,
  .lc-plugin-wrapper .lc-article-back-link:not(.lc-header-builder-back-link) .lc-article-back-icon {
  color: #FFFFFF;
  }

  .lc-plugin-wrapper .lc-article-back-link:not(.lc-header-builder-back-link):hover {
  color: rgba(255, 255, 255, 0.85)
  }
  
  .lc-plugin-wrapper .lc-article-author {
  margin-top: 8px;
  }

  .lc-plugin-wrapper .lc-article-back-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  margin-top: 0;
  stroke: currentColor;
  fill: none;
  }
  .lc-plugin-wrapper .lc-header-title.lc-article {
  margin-top:0;
  margin-bottom:0;
  }
  
  
  .lc-plugin-wrapper .lc-article-meta {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-family: inherit;
  margin-bottom: 1rem;
  }
  
  .lc-article-meta-container {
  gap: 16px;
  }
  
  .lc-plugin-wrapper .lc-article-meta-primary {
  text-align: center;
  color: var(--lc-background);
  font-size: 15px;
  line-height: 1.25rem;
  font-family: inherit;
  margin-bottom: 0.5rem;
  }
  
  .lc-plugin-wrapper .lc-article-meta-secondary {
  align-items: center;
  justify-content: center;
  gap: .25rem;
  color: var(--lc-background);
  font-size: .875rem !important;
  line-height: 1.25rem !important;
  font-family: inherit !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  }
  
  .lc-plugin-wrapper .lc-meta-emphasis {
  font-weight: 500;
  color: var(--lc-background);
  }
  
  .lc-plugin-wrapper .lc-meta-category-link {
  color: var(--lc-background);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
  font-size: 15px;
  line-height: 1.25;
  }
  
  .lc-plugin-wrapper a.lc-meta-author-link {
    text-decoration: underline;
      font-weight: 500;
      transition: color 0.2s ease;
      font-size: 15px;
      line-height: 1.25;
      color: var(--lc-background);
  }
  
  .lc-plugin-wrapper .lc-meta-category-link:hover, .lc-plugin-wrapper a.lc-meta-author-link:hover  {
  /*color: var(--lc-primary);*/
  text-decoration: none;
  }
  
  .lc-plugin-wrapper .lc-meta-separator {
  margin-left: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
  }
  
  .lc-plugin-wrapper .lc-meta-updated-mobile {
  display: block;
  margin-top: 0.25rem;
  }
  
  .lc-plugin-wrapper .lc-meta-icon {
  display: inline;
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
  vertical-align: text-top;
  }
  
  /* Desktop display for updated info */
  @media (min-width: 768px) {
  .lc-plugin-wrapper .lc-article-meta-secondary {
    display: flex;
  }
  
  .lc-plugin-wrapper .lc-meta-updated-mobile {
    display: none;
  }
  }
  @media (max-width: 430px) {
  .lc-plugin-wrapper .lc-filters-groups {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  min-height: 34px;
  flex-direction: column-reverse; 
  }
  .lc-plugin-wrapper .jet-smart-filters-active.jet-active-filters.jet-filter {
  width: 100%;
  order: 3;
  margin-top: 8px;
  flex-direction: row;
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Hide vertical scrolling */
  }
  .lc-plugin-wrapper .jet-smart-filters-active .jet-active-filters__list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: max-content;
  padding-bottom: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  }
  
  .lc-plugin-wrapper .jet-smart-filters-active .jet-active-filters__list::-webkit-scrollbar {
  height: 6px;
  }
  
  .lc-plugin-wrapper .jet-smart-filters-active .jet-active-filters__list::-webkit-scrollbar-track {
  background: transparent;
  }
  
  .lc-plugin-wrapper .jet-smart-filters-active .jet-active-filters__list::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
  }
  
  .lc-plugin-wrapper .lc-filters-groups {
  align-items: flex-start;
  flex-direction: column;
  align-items: stretch;
  /* display: flex; */
  margin-top: 0;
  }
  .lc-plugin-wrapper .jet-smart-filters-active.jet-active-filters.jet-filter {
  width: 100%;
  order: 3;
  margin-top: 8px;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  }
  }
  
  /* Mobile adjustments */
  @media (max-width: 767px) {
  /*
  .lc-plugin-wrapper .wp-block-post-featured-image, figure.wp-block-post-featured-image {
  padding-left: 1.5em !important;
  padding-right:1.5em !important;
  }*/
  .lc-plugin-wrapper iframe {
  height: 100%;
  }
  .lc-plugin-wrapper .jet-smart-filters-search .jet-search-filter__input-clear {
    margin-top: -16px;
    margin-right: 10px;
  }
  iframe[src*="youtube.com"], 
    iframe[src*="youtu.be"] {
        height: 220px; 
    }
  
    iframe[src*="vimeo.com"] {
      height: 100%; 
  }
  .lc-plugin-wrapper .lc-filters-groups {
    display:none !important;
    margin-bottom: 100px;
  }
  .lc-plugin-wrapper .lc-listing-title {
    margin: 2px 0 9px !important;
  }
  .lc-plugin-wrapper .lc-header-curve {
    z-index: initial !important;
  }
  .lc-plugin-wrapper .lc-filters-groups-mobile {
    flex-direction: column;
    align-items: stretch;
    display: flex !important;
    margin-top:0;
  }
  .lc-plugin-wrapper .lc-filters-group,
  .lc-plugin-wrapper .lc-filters-group > .wp-block-group__inner-container {
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .lc-plugin-wrapper .desktop-only {
    display: none;
  }
  .lc-plugin-wrapper .jet-smart-filters-active.jet-active-filters.jet-filter {
    width: 100%;
    order: 3;
    margin-top: 8px;
  }
  
  .lc-plugin-wrapper .jet-smart-filters-remove-filters-wrapper {
    order: 2 !important;
  }
  /*
  .lc-plugin-wrapper .desktop-clear-filters {
    display: none !important;
  }
  */
  .lc-plugin-wrapper .lc-filters-sidebar {
    display: none;
  }
  
  .lc-plugin-wrapper .lc-header-content.lc-article {
    /*min-height: 320px; */
    z-index:10;
  }
  
  .lc-plugin-wrapper .lc-header-content {
  /*  min-height: 320px; */
  }
  
  .lc-plugin-wrapper .lc-article-meta-primary {
    font-size: 15px;
    margin-top: 0.5rem;
  }
  
  .lc-plugin-wrapper .lc-meta-updated-mobile {
    font-size: 0.8125rem;
    font-weight: 600;
  }
  }
  @media (max-width: 820px) {
  .lc-plugin-wrapper .lc-mobile-filter-drawer {
    display: block;
  }
  .lc-plugin-wrapper .lc-no-padding-mobile {
    z-index:10;
  }
  }
  
  /* Small tablet adjustments */
  @media (min-width: 767px) and (max-width: 820px) {
  
  .lc-plugin-wrapper .lc-margin-top-12px-small-tablet {
    margin-top: 12px !important;
  }
  
  .lc-plugin-wrapper .lc-filters-groups {
    display:none;
  /*  margin-bottom: 100px;*/
  }
  .lc-plugin-wrapper .lc-filters-groups-mobile {
    flex-direction: column;
    align-items: stretch;
    display: flex;
    margin-top:0;
  }
  .lc-plugin-wrapper .jet-smart-filters-active.jet-active-filters.jet-filter {
    width: 100%;
    order: 3;
    flex-shrink: 1;
    margin-right: 12px;
  }
  .lc-filters-sidebar {
    display: none !important
  }
  }
  
  /* Smaller tablet adjustments */
  @media (min-width: 820px) and (max-width: 1024px) {
  .lc-plugin-wrapper .lc-filters-groups {
    align-items: flex-start;
  }
  .lc-plugin-wrapper .lc-listing-results-count {
    margin-top: 6px;
  }
  .lc-plugin-wrapper .lc-filters-groups-mobile {
    flex-direction: column;
    align-items: stretch;
    display: flex !important;
    margin-top: 0;
  }
  .lc-plugin-wrapper .lc-filters-groups-mobile .wp-block-group__inner-container {
    width: 100%;
  }
  .lc-plugin-wrapper .lc-filters-group > .wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start !important;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  }

  @media (max-width: 1024px) {
  .lc-plugin-wrapper .lc-filters-groups-mobile .wp-block-group__inner-container {
    width: 100%;
  }
  .lc-plugin-wrapper .lc-filters-group > .wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start !important;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  }
  
  .lc-article-meta-container {
  max-width: 100% !important;
  width: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0px !important;
  gap: 0;
  flex-flow: column;
  }
  
  .lc-plugin-wrapper.lc-header-container.lc-article {
  position: relative !important;
  min-height: 400px;
  width: 100%;
  overflow: visible !important;
  }
  
  
  
  
  /* Imaginea cu stilurile tale EXACTE + doar poziționarea în header */
  .lc-plugin-wrapper .wp-block-post-featured-image {
  margin-bottom: 2rem;
  width: 100% !important; /* Exact ca în stilurile tale */
  z-index: 30 !important;  /* În loc de 1000 */
  max-width: 53rem;
  }
  
  .lc-plugin-wrapper .wp-block-post-featured-image img.wp-post-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--lc-radius);
  box-shadow: var(--lc-shadow-hover);
  transition: all 0.2s ease;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border: 1px solid var(--lc-border);
  position: relative;
  margin-top: -150px;
  }
  
  .lc-plugin-wrapper .wp-block-post-featured-image:hover img.wp-post-image {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }
  
  /* Spațiu pentru conținutul de după header */
  .lc-plugin-wrapper .lc-page-container.lc-no-padding-top.lc-no-margin-top {
  margin-top: 350px;
  }
  
  /* Responsive adjustments - EXACT ca în stilurile tale */
  @media (max-width: 768px) {
  .lc-plugin-wrapper .wp-block-post-featured-image {
    margin-bottom: 1.5rem;
    bottom: -80px;
  }
  
  .lc-plugin-wrapper .wp-block-post-featured-image img.wp-post-image {
    aspect-ratio: 16/9;
  }
  
  .lc-plugin-wrapper .lc-page-container.lc-no-padding-top.lc-no-margin-top {
    margin-top: 150px;
  }
  /*
  .lc-plugin-wrapper .lc-article-back-link {
    margin-bottom: 1.5rem;
  }*/
  }
  
  @media (max-width: 600px) {
  .lc-plugin-wrapper .wp-block-post-featured-image {
    margin-bottom: 1rem;
    bottom: -60px;
  }
  
  .lc-plugin-wrapper .lc-page-container.lc-no-padding-top.lc-no-margin-top {
    margin-top: 120px;
  }
  }
  .lc-plugin-wrapper .lc-header-content.lc-article {
    justify-content: flex-start !important;
  }
  
  /* WordPress Post Content - Plugin Structure */
  .lc-plugin-wrapper .entry-content.wp-block-post-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: inherit;
  }
  
  .lc-plugin-wrapper .entry-content.wp-block-post-content.lc-article {
  max-width: 650px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: inherit;
  }
  
  /* Paragraph styling */
  .lc-plugin-wrapper .entry-content p {
  color: var(--lc-text);
  font-size: 1rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
  opacity: 0.85;
  text-align: left;
  margin-block-start: 1em;
  margin-block-end: 1em;
  }
  .lc-plugin-wrapper ul.wp-block-list {
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
  }
  
  /* Heading styling */
  .lc-plugin-wrapper .entry-content h2.wp-block-heading {
  color: var(--lc-text);
  font-size: 1.5rem !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  margin: 2rem 0 1rem 0; 
  letter-spacing: -0.025em;
  opacity: 1;
  }
  /* First paragraph after heading - reduced top margin */
  .lc-plugin-wrapper .entry-content h2.wp-block-heading + p {
  margin-top: 0;
  }
  
  /* Tablet adjustments */
  @media (min-width: 768px) {
  .lc-plugin-wrapper .entry-content.wp-block-post-content {
    padding: 2.5rem 2rem;
  }
  
  .lc-plugin-wrapper .entry-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
  }
  
  .lc-plugin-wrapper .entry-content h2.wp-block-heading {
    font-size: 1.75rem;
    line-height: 1.35;
    margin: 3rem 0 1.5rem 0;
  }
  }
  
  /* Desktop adjustments */
  @media (min-width: 1024px) {
  
  .lc-plugin-wrapper .entry-content.wp-block-post-content {
    padding: 0rem 2rem 2rem 2rem;
    max-width: 100%;
  }
  .lc-plugin-wrapper .entry-content.wp-block-post-content.lc-article {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: inherit;
  }
  .lc-plugin-wrapper .entry-content p {
    font-size: 1.125rem;
    color: #374151;
    font-weight: 400;
    line-height: 1.625;
  }
  
  .lc-plugin-wrapper .entry-content h2.wp-block-heading {
    font-size: 2rem;
    line-height: 1.3;
    margin: 2rem 0 1rem 0;
    font-weight: 700;
  }
  .lc-plugin-wrapper .lc-article-back-link {
    margin: 0 auto 0px auto;
  }
  }
  
  /* Mobile adjustments */
  @media (max-width: 767px) {
  .lc-plugin-wrapper .entry-content.wp-block-post-content.lc-article {
  padding: 1rem 1rem;
  }
  .lc-plugin-wrapper .entry-content.wp-block-post-content {
    padding: 1.5rem 1rem;
  }
  .lc-plugin-wrapper .lc-header-title {
    font-size: 2em;
    line-height: 1.1em;
  }
  
  .lc-plugin-wrapper .entry-content h2.wp-block-heading {
    font-size: 1.375rem;
    line-height: 1.35;
    margin: 2rem 0 1rem 0;
  }
  .lc-plugin-wrapper .lc-header-subtitle {
    margin: 0 auto 0.7rem auto !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    align-self: center !important;
  }
  .lc-plugin-wrapper .lc-header-content .jet-search-filter__input {
    width: 95% !important;
  }
  }
  
  /* Enhanced readability */
  .lc-plugin-wrapper .entry-content p:last-child {
  margin-bottom: 0;
  }
  
  .lc-plugin-wrapper .lc-last-updated {
    font-size: 1rem !important;
    color: var(--lc-background);
    font-weight: 600 !important;
    line-height: 1.5rem !important;
}
  /* Flow layout adjustments */
  .lc-plugin-wrapper .entry-content.is-layout-flow > * + * {
  margin-top: 0;
  }
  
  @media (max-width: 1024px) {
  .lc-plugin-wrapper .entry-content.wp-block-post-content.lc-article {
    padding: 1rem 0rem;
  }
  
  .lc-plugin-wrapper .lc-header-content {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  .lc-plugin-wrapper.lc-full-width-override {
    padding:0 !important;
  }
  
  .lc-plugin-wrapper .lc-margin-top-2rem-mobile {
    margin-top: 1rem !important;
  }
  .lc-plugin-wrapper .lc-filters-group {
    gap: 12px;
  }
  .lc-plugin-wrapper .lc-margin-top-05rem-mobile {
    margin-top: 0.5rem !important;
  }
  /*
  figure.wp-block-post-featured-image {
    max-width: 90% !important;
  }*/
  .lc-plugin-wrapper.lc-header-container.lc-article {
    position: relative;
    min-height: 400px !important;
  }
  .lc-plugin-wrapper .lc-page-container.lc-no-padding-top.lc-no-margin-top {
    margin-top: 150px;
  }
  }
  
  @media (min-width: 767px) and (max-width: 1024px) {
  .lc-plugin-wrapper .lc-page-container.lc-no-padding-top.lc-no-margin-top {
    margin-top: 300px;
  }
  }
  
  /* WordPress Block Heading with Plugin Styling */
  .lc-plugin-wrapper .wp-block-heading.lc-section-heading.lc-article {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: #111827;
  font-family: inherit;
  letter-spacing: -0.025em;
  }
  
  /* Center alignment */
  .lc-plugin-wrapper .wp-block-heading.has-text-align-center {
  text-align: center;
  }
  
  /* Large font size modifier */
  .lc-plugin-wrapper .wp-block-heading.has-large-font-size {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 600;
  }
  
  /* Combined large size with center alignment */
  .lc-plugin-wrapper .wp-block-heading.has-text-align-center.has-large-font-size.lc-section-heading {
  font-size: 24px !important;
  line-height: 32px;
  font-weight: 600;
  text-align: left;
  letter-spacing: -0.05em;
  }
  h2.wp-block-heading.lc-section-heading.lc-related-article.has-large-font-size.has-text-align-center {
  font-size: 24px !important;
  line-height: 32px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.05em;
  }
  
  h2.wp-block-heading.lc-section-heading.lc-related-article.has-large-font-size.has-text-align-center {
  font-size: 24px !important;
  line-height: 32px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.05em;
  }
  
  /* Dark mode support */
  .lc-plugin-wrapper.dark .wp-block-heading.lc-section-heading {
  color: #f9fafb;
  }
  
  /* Responsive adjustments */
  @media (max-width: 640px) {
  .lc-plugin-wrapper .wp-block-heading.has-large-font-size.lc-section-heading {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }
  }
  
  @media (min-width: 768px) {
  .lc-plugin-wrapper .wp-block-heading.has-large-font-size.lc-section-heading {
    font-size: 2.5rem;
    line-height: 1;
  }
  }
  
  @media (min-width: 1024px) {
  .lc-plugin-wrapper .wp-block-heading.has-large-font-size.lc-section-heading {
    font-size: 3rem;
    line-height: 1;
    margin:0;
  }
  .lc-plugin-wrapper .lc-margin-top-desktop {
    margin-top: 2rem;
    margin-bottom:0;
  }
  .jet-listing-grid.jet-listing {
  margin-bottom: 10px;
  max-width: 900px;
  margin: 0 auto;
  }
  body.lc-route-topic #lc-topic-subcategories > .jet-listing-grid.jet-listing,
  body.lc-route-hub-layout #lc-landing-page-articles > .jet-listing-grid.jet-listing {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  }
  }
  
  /** Article page featured Image styles START **/
  .lc-plugin-wrapper .lc-article-top-margin {
  margin-top: 300px;
  }
  
  /* 0px – 320px */
  @media screen and (max-width: 320px) {
  .lc-plugin-wrapper .lc-article-top-margin {
    margin-top: 90px;
  }
  .lc-plugin-wrapper .lc-header-title.lc-article {
    font-size: 1.16rem !important;
    line-height: 1.2;
    padding-bottom: 0;
  }
  .lc-plugin-wrapper .lc-article-content-container .wp-block-post-featured-image, .lc-plugin-wrapper .lc-article-content-container figure.wp-block-post-featured-image {
  width: 100% !important;
  margin: -90px auto 1.5rem auto !important;
  }
  }
  
  /* 321px – 375px */
  @media screen and (min-width: 321px) and (max-width: 375px) {
  .lc-plugin-wrapper .lc-article-top-margin {
    margin-top: 90px;
  }
  .lc-plugin-wrapper .lc-header-title.lc-article {
    font-size: 1.15rem !important;
    line-height: 1.2;
    padding-bottom: 0;
  }
  }
  
  /* 376px – 425px */
  @media screen and (min-width: 376px) and (max-width: 425px) {
  .lc-plugin-wrapper .lc-article-top-margin {
    margin-top: 130px;
  }
  }
  
  /* 426px – 480px */
  @media screen and (min-width: 426px) and (max-width: 480px) {
  .lc-plugin-wrapper .lc-article-top-margin {
    margin-top: 150px;
  }
  }
  
  /* 481px – 568px */
  @media screen and (min-width: 481px) and (max-width: 568px) {
  .lc-plugin-wrapper .lc-article-top-margin {
    margin-top: 180px;
  }
  }
  
  /* 569px – 640px */
  @media screen and (min-width: 569px) and (max-width: 640px) {
  .lc-plugin-wrapper .lc-article-top-margin {
    margin-top: 220px;
  }
  }
  
  /* 641px – 667px */
  @media screen and (min-width: 641px) and (max-width: 667px) {
  .lc-plugin-wrapper .lc-article-top-margin {
    margin-top: 280px;
  }
  }
  
  /* 668px – 720px */
  @media screen and (min-width: 668px) and (max-width: 720px) {
  .lc-plugin-wrapper .lc-article-top-margin {
    margin-top: 280px;
  }
  } 
  
  /* 721px – 750px */
  @media screen and (min-width: 721px) and (max-width: 750px) {
  /* edge large phones */
  }
  
  /* 751px – 767px */
  @media screen and (min-width: 751px) and (max-width: 767px) {
  /* upper-end mobile devices before tablet breakpoint */
  }
  @media screen and (min-width: 768px) and (max-width: 800px) {
  .lc-plugin-wrapper .lc-article-top-margin {
    margin-top: 250px;
  }
  }
  
  /* 801px – 900px */
  @media screen and (min-width: 801px) and (max-width: 900px) {
  .lc-plugin-wrapper .lc-article-top-margin {
    margin-top: 290px;
  }
  }
  
  /* 901px – 960px */
  @media screen and (min-width: 901px) and (max-width: 960px) {
  .lc-plugin-wrapper .lc-article-top-margin {
    margin-top: 330px;
  }
  }
  
  /* 961px – 1024px */
  @media screen and (min-width: 961px) and (max-width: 1024px) {
  .lc-plugin-wrapper .lc-article-top-margin {
    margin-top: 360px;
  }
  }
  /** Article page featured Image styles END **/
  
  /* Mobile Clear All Filters Button Styling */
  
  .mobile-clear-filters .lc-clear-all-filters-btn {
  font-size: 0.875rem;
  font-weight: 500;
  color: #5B8ED5;
  background-color: white;
  border: 1px solid #5B8ED5;
  padding: 10.5px;
  border-radius: 7px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-style: solid;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  
  }
  
  .mobile-clear-filters .lc-clear-all-filters-btn:hover {
  color: #1e40af; 
  background-color: #dbeafe; 
  border-radius: 7px;
  }
  
  .mobile-clear-filters .lc-clear-all-filters-btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  }
  
  
  .mobile-clear-filters .lc-clear-icon {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  }
  
  .mobile-clear-filters .lc-clear-icon .dashicons {
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
  }
  
  /* IMPROVED FEATURED IMAGE POSITIONING - NATURAL FLOW */
  /* FINAL FEATURED IMAGE SOLUTION - CLEAN VERSION WITHOUT !important */
  
  /* JetEngine container overflow fix */
  .lc-plugin-wrapper .jet-container--content-justify-flex-start {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: visible;
  }
  
  .lc-plugin-wrapper.lc-article-content-container {
  overflow: visible;
  }
  
  /* 1. Header container setup - lower z-index */ 
  .lc-plugin-wrapper.lc-header-container.lc-article {
  position: relative;
  min-height: 400px; 
  width: 100%;
  overflow: visible; 
  margin-bottom: 0;
  z-index: 1; 
  }
  
  /* 2. All header elements stay below featured image */
  .lc-plugin-wrapper .lc-header-background,
  .lc-plugin-wrapper .lc-header-pattern,
  .lc-plugin-wrapper .lc-header-content,
  .lc-plugin-wrapper .lc-header-curve {
  /* z-index: 1 !important; */
  z-index: 1;
  }
  
  /* 3. Content container - pull up to create overlap */
  .lc-plugin-wrapper .lc-page-container.lc-article-top-margin,
  .lc-plugin-wrapper .lc-page-container.lc-no-padding-top.lc-no-margin-top {
  margin-top: -100px !important;
  padding-top: 0 !important;
  position: relative !important;
  z-index: 10 !important;
  }
  
  /* 5. Featured image itself - OVERRIDE ALL EXISTING IMAGE RULES */
  .lc-plugin-wrapper .wp-block-post-featured-image img,
  .lc-plugin-wrapper .wp-block-post-featured-image img.wp-post-image,
  .lc-plugin-wrapper .wp-block-post-featured-image img.attachment-post-thumbnail,
  .lc-plugin-wrapper .wp-block-post-featured-image img.attachment-post-thumbnail.size-post-thumbnail,
  .lc-plugin-wrapper .wp-block-post-featured-image img.wp-post-image.attachment-post-thumbnail,
  figure.wp-block-post-featured-image img,
  figure.wp-block-post-featured-image img.wp-post-image {
  position: relative !important;
  z-index: 1000 !important;
  
  /* Image styling */
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9 !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #e0e6ed !important;
  
  /* CRITICAL: Reset ALL conflicting transforms or margins */
  transform: none !important;
  margin: 0 !important;
  margin-top: 0 !important; /* OVERRIDE the existing -150px rule */
  margin-bottom: 0 !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  }
  
  /* 6. Hover effect */
  .lc-plugin-wrapper .wp-block-post-featured-image:hover img,
  figure.wp-block-post-featured-image:hover img {
  transform: translateY(-2px) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  }
  
  /* 7. Content container holding featured image */
  .lc-plugin-wrapper .wp-block-group.lc-no-padding, .lc-plugin-wrapper .lc-no-padding {
  position: relative !important;
  z-index: 10 !important;
  }
  
  /* 8. Article content */
  .lc-plugin-wrapper .entry-content.wp-block-post-content.lc-article {
  max-width: 700px !important;
  margin: 0 auto !important;
  padding: 2rem 1rem ;
  position: relative !important;
  z-index: 15 !important;
  }
  
  /* 9. Related Articles section */
  .lc-plugin-wrapper .lc-section-separator {
  /* border-top: 1px solid #e5e7eb !important; */
  padding-top: 4rem !important;
  margin-top: 3rem !important;
  }
  
  /* 10. RESPONSIVE ADJUSTMENTS */
  
  /* Mobile devices */
  @media (max-width: 767px) {
  /*.lc-plugin-wrapper .lc-page-container.lc-article-top-margin,
  .lc-plugin-wrapper .lc-page-container.lc-no-padding-top.lc-no-margin-top {
    margin-top: -60px !important;
  } */
  
  
  .lc-plugin-wrapper .entry-content.wp-block-post-content.lc-article {
    padding: 0px 0px !important;
    max-width: 100% !important;
  }
  
  .lc-plugin-wrapper .lc-section-separator {
    padding-top: 0rem !important;
    margin-top: 0rem !important;
  }
  }
  
  /* Tablet devices */
  @media (min-width: 768px) and (max-width: 1023px) {
  .lc-plugin-wrapper .lc-page-container.lc-article-top-margin,
  .lc-plugin-wrapper .lc-page-container.lc-no-padding-top.lc-no-margin-top {
    margin-top: -80px !important;
  }
  
  .lc-plugin-wrapper .entry-content.wp-block-post-content.lc-article {
    padding: 0rem 0rem !important;
  }
  .lc-plugin-wrapper .lc-section-separator {
   /* border-top: 1px solid #e5e7eb !important; */
    padding-top: 0rem !important;
    margin-top: 0rem !important;
  }
  }
  
  /* Desktop and larger screens */
  @media (min-width: 1024px) {
  .lc-plugin-wrapper .lc-page-container.lc-article-top-margin,
  .lc-plugin-wrapper .lc-page-container.lc-no-padding-top.lc-no-margin-top {
    margin-top: -120px !important;
  }
  
  
  .lc-plugin-wrapper .lc-page-container.lc-article-top-margin {
    margin-bottom: 1.5em !important; 
  }
  
  .lc-plugin-wrapper .entry-content.wp-block-post-content.lc-article {
    padding: 0rem 2rem !important;
  }
  
  
  .lc-plugin-wrapper .lc-section-separator {
    padding-top: 0rem !important;
    margin-top: 0rem !important;
  }
  .lc-plugin-wrapper .lc-topics-listing .jet-listing-grid__items {
    width:830px;
  }
  .lc-plugin-wrapper .lc-topics-listing {
    display: flex;
    justify-content: center;
  }
  }
  
  /* Hide the S text if you want only the icon visible */
  .lc-plugin-wrapper .jet-search-filter__submit .jet-search-filter__submit-text {
  font-size: 0;
  color: transparent;
  display: inline-block;
  width: 0;
  height: 0;
  overflow: hidden;
  }
  
  /* Standalone Essential Resources checkbox styling */
  .lc-plugin-wrapper .lc-essential-resources-standalone {
  margin: 0;
  }
@media (max-width: 1024px) {
.lc-plugin-wrapper .lc-filters-group > .wp-block-group__inner-container {
align-items: flex-start !important;
}
}
