.tasharuky-theme .programs-slider .swiper-slide {
    height: auto;
}

.tasharuky-theme .our-projects-item,
.tasharuky-theme .program-item {
    height: 100%;
}

.tasharuky-theme .our-projects-image img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.tasharuky-theme .program-item-image img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.tasharuky-theme .our-projects-item-content h2,
.tasharuky-theme .program-content h2,
.tasharuky-theme .program-item-content h2 {
    display: -webkit-box;
    min-height: 3.2em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tasharuky-theme .our-projects-item-content p,
.tasharuky-theme .program-content p,
.tasharuky-theme .program-item-content p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tasharuky-theme .campaign-amounts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tasharuky-theme .campaign-amount-item strong {
    white-space: nowrap;
}

.tasharuky-theme .theme-empty-state {
    padding: 40px;
    text-align: center;
}

.tasharuky-theme .hero-visual-image {
    background-image: url("../new-theme/images/hero-bg-image.jpg");
}

.tasharuky-theme .service-item .icon-box img {
    aspect-ratio: 1;
    object-fit: contain;
}

.tasharuky-theme .projects-page-header {
    background-image: url("../new-theme/images/page-header-bg.jpg");
}

.tasharuky-theme .project-single-page-header {
    background-image: url("../new-theme/images/page-header-bg.jpg");
}

.tasharuky-theme .project-single-heading {
    max-width: 780px;
    margin: 0;
}

.tasharuky-theme .project-sector-label {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 16px;
    margin-bottom: 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white-color);
    font-weight: 700;
}

.tasharuky-theme .project-hero-video {
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.tasharuky-theme .project-hero-video iframe,
.tasharuky-theme .project-hero-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: var(--primary-color);
}

.tasharuky-theme .page-single-video {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 20px;
}

.tasharuky-theme .page-single-video iframe,
.tasharuky-theme .page-single-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: var(--primary-color);
}

.tasharuky-theme .project-content-copy {
    margin-bottom: 20px;
}

.tasharuky-theme .project-content-copy img,
.tasharuky-theme .project-content-copy iframe,
.tasharuky-theme .project-content-copy video {
    max-width: 100%;
    border-radius: 12px;
}

.tasharuky-theme .project-content-copy :last-child {
    margin-bottom: 0;
}

.tasharuky-theme .project-detail-content .page-single-image {
    margin-bottom: 30px;
}

.tasharuky-theme .project-detail-content .page-single-image img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.tasharuky-theme .project-legacy-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 45px;
}

.tasharuky-theme .project-legacy-info-card {
    min-height: 158px;
    padding: 22px 18px;
    border: 1px solid var(--divider-color);
    border-radius: 12px;
    background: var(--white-color);
    text-align: center;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
}

.tasharuky-theme .project-legacy-info-card img {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    object-fit: contain;
}

.tasharuky-theme .project-legacy-info-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
}

.tasharuky-theme .project-legacy-info-card strong {
    display: block;
    color: var(--primary-color);
    font-size: 18px;
    line-height: 1.35;
}

.tasharuky-theme .project-detail-content .program-entry {
    margin-bottom: 45px;
}

.tasharuky-theme .project-detail-content .program-entry h2 {
    margin-bottom: 20px;
}

.tasharuky-theme .project-share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.tasharuky-theme .project-share-row span {
    color: var(--primary-color);
    font-weight: 700;
}

.tasharuky-theme .project-share-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white-color);
}

.tasharuky-theme .project-gallery-section {
    margin-top: 20px;
}

.tasharuky-theme .project-gallery-item {
    display: block;
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 12px;
}

.tasharuky-theme .project-gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 0.72;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.tasharuky-theme .project-gallery-item:hover img {
    transform: scale(1.05);
}

.tasharuky-theme .project-partners-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 24px;
    align-items: center;
    margin-top: 70px;
    padding-top: 34px;
    border-top: 1px solid var(--divider-color);
}

.tasharuky-theme .project-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
}

.tasharuky-theme .project-partner-logo img {
    max-width: 130px;
    max-height: 62px;
    object-fit: contain;
}

.tasharuky-theme .project-donate-box .campaign-progress {
    margin-bottom: 28px;
}

@media only screen and (max-width: 991px) {
    .tasharuky-theme .project-hero-video {
        margin-top: 28px;
    }

    .tasharuky-theme .project-legacy-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 575px) {
    .tasharuky-theme .project-legacy-info-grid {
        grid-template-columns: 1fr;
    }

    .tasharuky-theme .project-partners-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

.tasharuky-theme .page-programs .program-item {
    height: calc(100% - 30px);
    margin-bottom: 30px;
}

.tasharuky-theme .page-programs .program-item-image img {
    aspect-ratio: 1 / 0.66;
}

.tasharuky-theme .page-programs .program-item-content h2 {
    min-height: 81px;
    -webkit-line-clamp: 3;
}

.tasharuky-theme .theme-page-pagination {
    margin-top: 40px;
}

.tasharuky-theme .theme-page-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.tasharuky-theme .theme-page-pagination .page-item {
    margin: 0;
}

.tasharuky-theme .theme-page-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    border: 1px solid var(--divider-color);
    border-radius: 100px;
    background: var(--white-color);
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1;
    box-shadow: none;
}

.tasharuky-theme .theme-page-pagination .page-item.active .page-link,
.tasharuky-theme .theme-page-pagination .page-link:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: var(--white-color);
}

.tasharuky-theme .theme-page-pagination .page-item.disabled .page-link {
    opacity: 0.45;
    pointer-events: none;
}
