.pgp-filter-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1rem;
  font-family: sans-serif;
  gap: 0.5rem;
}

.pgp-filter-wrap label {
  font-weight: 500;
  font-size: 1rem;
}

.pgp-filter-select-wrapper {
  position: relative;
  display: inline-block;
  width: 180px;
}

.pgp-filter-select-wrapper select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.4rem 2.8rem 0.4rem 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
}

.pgp-clear-filter {
  position: absolute;
  right: 2.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  cursor: pointer;
  display: none;
}

.pgp-divider {
  position: absolute;
  right: 1.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #ccc;
  font-size: 16px;
  pointer-events: none;
  display: none;
}


.pgp-arrow {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-image: url('../arrow.svg'); /* path relative to CSS file */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.pgp-filter-select-wrapper.has-filter .pgp-clear-filter,
.pgp-filter-select-wrapper.has-filter .pgp-divider {
  display: block;
}

.pgp-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0;
}

.pgp-card {
  background: #fff;
  box-shadow: 0px 8px 10px rgba(36, 90, 166, 0.15);
  border: 1px solid #90ACD4;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
	position: relative;
  padding-bottom: 100px;
}

.pgp-card-logo {
 width: 100%;
  height: 140px !important; /* ya jo bhi fixed height chahiye */
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.pgp-logo-sep {
  border: none;
  border-top: 1px solid #90ACD4;
  margin: 1rem 0;
}

.pgp-card-logo img {  
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  height: 100%;
}


.pgp-card-title {
  font-size: 20px;
  margin: 0.5rem 0;
  padding: 10px 0px;
  text-align: left;
  color: #000000;
}

.pgp-card-text {
  padding: 20px 0px;
  font-size: 16px;
  text-align: left;
  color: #000000;
  margin: 0.5rem 0;
}
.pgp-card-description{
  text-align: left;
  font-weight: bolder;
}

.pgp-card-button {
  display: block;
  
  box-sizing: border-box;
  padding: 15px 1.2rem;
  border: 1px solid #245AA6;
  border-radius: 10px;
  text-decoration: none;
  color: #245AA6;
  font-weight: 400;
  font-size: 16px;
  transition: 0.2s;
	 position: absolute;
  left: 50%;
  bottom: 40px;              /* distance from card bottom */
  transform: translateX(-50%);
  width: 90%;
  
}
.pgp-card-button:empty {
  visibility: hidden;
}


img.pgp-button-icon {
  height: 14px;
}

@media (max-width: 992px) {
  .pgp-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .pgp-grid-container {
    grid-template-columns: 1fr;
  }
}


#pgp-archive-projects.hide_projects{
  display: none;
}

.pgp-archive-section{
  margin-bottom: 50px;
}

/* Archive toggle button – text + icon same line */
#pgp-archive-toggle br {
  display: none !important;
}

