.general-cpt-alpha-filter .alpha.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: default;
}
.general-cpt-listing {
  max-width: 1000px;
  margin: auto;
}
#general-cpt-search {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}
.general-cpt-alpha-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}
.general-cpt-alpha-filter .alpha,
.alpha-reset {
  cursor: pointer;
  padding: 5px 8px;
  background: #eee;
  border-radius: 4px;
}
.general-cpt-alpha-filter .active {
  background: #0073aa;
  color: white;
}
.cpt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.cpt-excerpt {
  margin: 25px 0;
}
.cpt-card {
  background: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
}
.cpt-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.cpt-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 10px;
}
.general-cpt-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width:100% !important;
}
.general-cpt-popup-content {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    max-width: 950px;
    max-height: 85vh;
    overflow-y: auto;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}
/* Close Button */
#general-cpt-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 26px;
    color: #333;
    cursor: pointer;
    font-weight: bold;
    z-index: 10000;
}
/* Featured Image in Popup */
.general-cpt-popup-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

#general-cpt-popup-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}
.popup-image {
    flex: 0 0 auto;
    max-width: 350px;
}
.popup-image img {
    width: 100%;
    height: auto;
}
.popup-content {
    flex: 1;
}
.filter-group {
    display: inline-block;
    width: 40%;
    margin-right: 10px;
    margin-bottom: 25px;
}
select.tax-filter {
    width: 100%;
}

@media only screen and (max-width:767px){
    
    .filter-group {
        display: block;
        width: 100%;
        margin-right: 0px;
    }
}