.ast-container:has(.hnp-programs-page) {
    padding: 0;
}
#primary:has(.hnp-programs-page) {
    margin-bottom: 0 !important;
}
.opportunities-content-sec h1 {
    color: #272727;
    margin-bottom: 10px;
}
.opportunities-content-sec .desc-para {
    font-size: 23px;
    line-height: normal;
    max-width: 800px;
    margin-inline: auto;
}
.opportunities-content-sec .desc-para p:last-child {
    margin-bottom: 0;
}
.opportunities-content-sec .desc-para h4 {
    font-weight: 500;
    margin-bottom: 0;
}
.hnp-programs-grid {
    margin: 0 auto;
    max-width: 750px;
}
.hnp-programs-grid.masonry {
    transition: height 0.3s ease-in-out;
}




.hnp-programs-page {
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Intro */
.hnp-programs-page h1 {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}
.hnp-programs-page .intro {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}
.fl-rich-text:has(.hnp-programs-page) > p {
    margin: 0;
}
/* Filters */
.hnp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 20px;
}
.hnp-filters .filter-box {
    position: relative;
}
.hnp-filters .filter-box:after {
    content: "";
    background: url('/wp-content/uploads/2025/09/down-arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}
.hnp-filters select,
.hnp-filters button#filter-clear {
    background-color: #1a8a45;
    border: none;
    border-radius: 100px;
    font-size: 20px;
    font-weight: bold;
    line-height: normal;
    color: #fff;
    padding: 2px 26px;
    outline: none;
    text-align: center;
    text-transform: capitalize;
}
.hnp-filters select {
    padding-right: 30px;
    background-image: unset;
}
.hnp-filters select:hover,
.hnp-filters button#filter-clear:hover {
    background-color: #146f37;
}
.no-found-text {
    text-align: center;
}
.program-card {
    border-radius: 20px;
    padding: 4px;
    background-color: #fff;
    border: 4px solid #E8D0A0;
    margin-bottom: 24px;
    transition: .3s ease-in-out;
    position: relative;
}
.program-card:last-child {
    margin-bottom: 0;
}
.program-card:hover {
    box-shadow: 0 0 10px #0000003d;
}
.program-header {
    display: flex;
    gap: 15px;
    padding: 20px;
    cursor: pointer;
}
.program-thumb {
    width: 25%;
}
.program-content-wrapper {
    width: 75%;
}
.program-thumb img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
    border: 1px solid #dddddd;
}
.program-title-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-right: 50px;
}
.program-title {
    font-family: acumin-pro-extra-condensed, Verdana, Arial, sans-serif;
    font-size: 32px;
    line-height: 30px;
    font-weight: bold;
    color: #333333 !important;
    margin-bottom: 10px !important;
}
.program-meta {
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    color: #333333;
}
.program-meta-program-description {
    color: #262626a3;
    font-size: 16px;
    line-height: 20px;
    margin-block: 6px;
}
.program-like {
    position: absolute;
    top: 30px;
    right: 20px;
    z-index: 2;
}
button.like-button {
    background-color: unset;
    border: none;
    padding: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
}
button.like-button .like-icon {
    display: flex;
}
button.like-button svg {
    width: 30px;
}
button.like-button.active svg path {
    fill: #1A8A45;
}
.like-btn-text {
    position: absolute;
    right: -60px;
    width: 180px;
    font-size: 12px;
    line-height: normal;
    background-color: #000;
    color: #fff;
    padding: 4px;
    text-align: center;
    margin-left: auto;
    border-radius: 5px;
    transition: .3s ease-in-out;
    opacity: 0;
}
.program-like:has(button.like-button:hover) .like-btn-text {
    opacity: 1;
}
.like-btn {
  border: none;
  background: none;
  font-size: 1rem;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
}
.like-btn:hover {
  color: #f44336;
}
.like-count {
    font-size: 18px;
    font-weight: 700;
}
button.like-button.active .like-count {
    color: #1A8A45;
}
/* Expanded content */
.program-content {
    display: none;
    padding: 0px 20px 10px;
    line-height: normal;
}
.program-content p {
    font-weight: 400;
    margin-bottom: 0;
}
.program-card[aria-expanded="true"] .program-content {
  display: block;
}

/* Download button */
.download-btn {
    display: block;
    width: fit-content;
    text-align: center;
    background: #b23e1a;
    color: #fff;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
    margin-top: 6px;
    transition: background 0.2s ease;
}
.download-btn:hover {
    background-color: #a13816;
    color: #fff;
}
#community-program-footer {
    max-width: 750px;
    margin-inline: auto;
}

@media screen and (max-width: 1024px){
.hnp-programs-page {
    padding: 0;
}
.program-title {
    font-size: 28px;
    line-height: 32px;
}
.program-meta {
    font-size: 16px;
}
.like-btn-text {
    right: 0px;
}
}

@media screen and (max-width: 640px){
.opportunities-content-sec .desc-para {
    font-size: 16px;
}
.program-like {
    top: 252px;
    right: 15px;
}
.program-thumb img {    
    height: 220px;
}
.program-header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}
.program-content {    
    padding: 0px 10px 10px;
}
.program-thumb,
.program-content-wrapper {
    width: 100%;
}
.hnp-filters {
    gap: 8px;
}
.hnp-filters .filter-box,
.hnp-filters select,
.hnp-filters button#filter-clear {
    width: 100%;
}
.hnp-filters .filter-box:after {
    right: 16px;
}
.hnp-filters select,
.hnp-filters button#filter-clear {
    font-size: 18px;
}
.download-btn {
    font-size: 14px;
}
.program-meta-program-description {    
    font-size: 14px;
    line-height: 18px;
}
button.like-button svg {
    width: 24px;
}
.like-count {
    font-size: 16px;
}
}

@media screen and (max-width: 360px) {
.program-like {
    top: 212px;
}
.program-thumb img {
    height: 172px;
}
}