/* Ways to Give Page Styles */

/* Read More Toggle */
.read-more-toggle {
    cursor: pointer;
}
.read-more-toggle i {
    transition: transform 0.3s ease;
}
.read-more-toggle.expanded i {
    transform: rotate(180deg);
}
.read-more-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: all 0.5s ease-in-out;
}
.read-more-content.expanded {
    opacity: 1;
    margin-top: 15px;
}
.ways-to-give-cards .thg-card-button {
    align-self: flex-start;
    padding: 6px 40px;
}
.thg-card-link {
    padding-top: 50px;
}
/* Why Your Gift Matters Stats */
.wtg {
    text-align: center;
}
.thg-theme p.wtg-number {
    font-size: 64px;
    color: #C4D600;
    font-weight: 900;
    margin-bottom: 0;
}

/* Posts/Career Styles */
a.btn-posts-career {
    text-transform: capitalize;
    font-size: 16px;
    color: var(--lmh-primary-info);
    font-weight: 600;
    padding: 0 !important;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: start;
}
h2.post-title {
    font-size: 25px;
    font-weight: 900;
}
.post-excerpt.mb-3 p {
    font-size: 16px;
    color: #707372;
}

/* Campaign Cards Styles */
.campaign-card {
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.campaign-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #00426A;
}
.campaign-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.campaign-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.thg-theme .thg-global-posts p {
    font-size: 16px;
}
.thg-theme .post-details {
    padding: 25px;
    margin-bottom: 0;
}
.campaign-card-content h3 {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}
a.btn.btn-lmh-transparent {
    margin-bottom: 0;
}
.thg-theme .campaign-card-content p {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
    flex-grow: 1;
    color: #707372;
}
.campaign-progress {
    margin-bottom: 20px;
}
.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 5px;
    color: #707372;
}
.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: #707372;
    border-radius: 4px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    background-color: #c4d600;
    border-radius: 4px;
    transition: width 0.3s ease;
}
.campaign-card .btn {
    text-align: center;
}

/* Card Grid Styles */
h3.thg-card-title {
    font-weight: 900;
    letter-spacing: 0.8px;
}
.thg-theme .thg-card-description {
    margin-bottom: 25px;
    font-weight: 400;
    color: #707372 !important;
}
div#campaigns-container {
    display: flex;
    justify-content: center;
}
.row.global-post {
    display: flex;
    justify-content: center;
}
.thg-card-icon {
    margin-bottom: 10px;
}
.thg-card-icon i {
    font-size: 55px;
}

/* Board & Staff Section */
.board-staff {
    background-color: #00426A;
}
.board-staff h2 {
    color: #fff;
    font-weight: 900;
}
.board-accordion {
    background: #fff;
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    cursor: pointer;
    border-bottom: 3px solid #C4D600;
    transition: all 0.3s ease;
}
.accordion-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: #00426A;
    letter-spacing: 0.8px;
}
.accordion-header i {
    color: #00426A;
    font-size: 18px;
    transition: transform 0.3s ease;
}
.accordion-header.active i {
    transform: rotate(180deg);
}
.accordion-header:not(.active) {
    border-bottom: none;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.accordion-content.active {
    max-height: 2000px;
}

/* Board Members Grid */
.board-members-grid {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 15px;
    padding: 35px 70px;
}
.board-member .member-name {
    font-size: 17px;
    font-weight: 400;
    color: #000;
    margin-bottom: 0;
}
.board-member .member-role {
    font-size: 16px;
    color: #707372;
    margin-bottom: 0;
    font-weight: 600;
}

/* Foundation Staff */
.staff-card {
    display: grid;
    grid-template-columns: 100px 1fr 150px 180px;
    align-items: center;
    gap: 25px;
    padding: 35px;
    border-bottom: 2px solid var(--lmh-primary-success);
}
.staff-card:last-child {
    border-bottom: none;
}
.staff-photo {
    width: 100px;
    height: 100px;
}
.staff-photo img,
.staff-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.staff-photo img[alt="Earl Reineman"]{
    object-position: top;
}
.staff-photo-placeholder {
    background-color: #00426A;
}
.staff-info .staff-name {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: 0;
}
.staff-info .staff-title {
    font-size: 14px;
    color: #707372;
    margin-bottom: 0;
    font-weight: 600;
}
.staff-contact .staff-phone, .staff-contact .staff-phone a {
    font-size: 16px;
    color: #000;
    margin-bottom: 0;
}
.staff-email a {
    font-size: 16px;
    color: #000;
    text-decoration: none;
}
.staff-email a:hover {
    text-decoration: underline;
}

.thg-card-item:last-child .thg-card-button{
    display: none;
}

/* Responsive */
@media (max-width: 991px) {
    .board-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .staff-card {
        grid-template-columns: 100px 1fr;
        gap: 15px;
    }
    .staff-contact,
    .staff-email {
        grid-column: 2;
    }
}
@media (max-width: 576px) {
    .board-members-grid {
        grid-template-columns: 1fr;
    }
    .staff-card {
        grid-template-columns: 100px 1fr;
    }
    .staff-photo,
    .staff-photo img,
    .staff-photo-placeholder {
        width: 85px;
        height: 85px;
    }
}
