.charity-page .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.charity-page-template {
    background: #fff;
}

/* ==========================
   HERO
========================== */

.charity-hero {
    margin-top: 32px;
    margin-bottom: 56px;

}

.charity-hero__wrapper {
    background: #08152E;
    border-radius: 12px;
    padding: 56px 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.charity-hero__left {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.charity-hero__logo {
    width: 58px;
    height: auto;
}

.charity-hero__title {
    color: #fff;
    font-size: 56px;
    font-weight: 800;
    line-height: 1;

    margin: 0;
    text-transform: uppercase;
}

.charity-hero__right {
    max-width: 100%;
    width: 100%;
}

.charity-hero__right p {
    color: #fff;
    font-size: 18px;
    line-height: 150%;
    font-weight: 400;
    margin-bottom: 3px;
}

.charity-hero__right p strong {
    color: #fff;
    font-size: 22px;
    line-height: 150%;
    font-weight: 800;
}

.charity-hero__right p:nth-last-of-type(0) {
    margin-bottom: 0px;
}

/* ==========================
   CURRENT CAMPAIGNS
========================== */

.current-campaigns {
    margin-bottom: 56px;
}

.current-campaigns__slider {
    opacity: 0;
    height: 0;
}

.current-campaigns__slider.swiper-initialized {
    opacity: 1;
    height: 100%;
}

.current-campaigns__wrapper {
    padding: 56px 64px;
    background: #F5F5F5;
    border-radius: 12px;
}


.current-campaigns__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 56px;
    position: relative;
}

.current-campaigns__title {
    margin: 0;
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 120%;
}

.current-campaigns__controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.current-campaigns__nav {
    display: flex;
    gap: 12px;
}

.current-campaigns__pagination {
    position: absolute;
    width: auto !important;
    left: 50% !important;
    top: 22px !important;
}

.current-campaigns__pagination_desc {
    display: flex;
}

.current-campaigns__pagination_mob {
    display: none;
}

@media (max-width: 767px) {
    .current-campaigns__pagination_desc {
        display: none;
    }

    .current-campaigns__pagination_mob {
        display: flex;
        justify-content: center;
        position: unset;
        gap: 8px;
        margin-top: 20px;
        flex-wrap: wrap;
    }
}


.current-campaigns__arrow {
    width: 32px;
    height: 32px;
    border: none;
    cursor: pointer;
    background: #08152E;
    color: #fff;
    border-radius: 50%;
    position: static;
}

.current-campaigns__arrow.current-campaigns__arrow--prev:after,
.current-campaigns__arrow.current-campaigns__arrow--next:after {
    font-size: 11px !important;
    font-weight: 900;
    color: #fff;
}

.current-campaigns__arrow.current-campaigns__arrow--next:after {
    content: 'next';
}

.current-campaigns__arrow.current-campaigns__arrow--prev:after {
    content: 'prev';
}

.current-campaigns__arrow.current-campaigns__arrow--next:after,
.current-campaigns__arrow.current-campaigns__arrow--prev:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.current-campaigns__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: #08152E;
}

.current-campaigns__pagination .swiper-pagination-bullet {
    background: #757575;
    opacity: 1;
    width: 11px;
    height: 11px;
}

.current-campaigns__arrow.swiper-button-disabled {
    background: #A2A2A2;
}


.current-campaigns__arrow.swiper-button-disabled.current-campaigns__arrow--prev:after,
.current-campaigns__arrow.swiper-button-disabled.current-campaigns__arrow--next:after {
    color: #757575;
}


.current-campaigns__slider {
    overflow: hidden;
}

.current-campaigns__slider .swiper-slide {
    height: auto;
}













/* ==========================
   CARD
========================== */

.campaign-card {
    background: #08152E;
    overflow: hidden;
    border-radius: 8px;
}

.campaign-card__image {
    height: 250px;
}

.campaign-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.campaign-card__content {
    padding: 16px 24px;
}

.campaign-card__title {
    margin: 0 0 16px;
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
}

.campaign-card__progress {
    height: 8px;
    background: #fff;
    margin-bottom: 16px;
    border-radius: 4px;
    overflow: hidden;
}

.campaign-card__progress-bar {
    height: 100%;
    background: #4B744D;
    border-radius: 4px;
}

.campaign-card__amounts {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.campaign-card__amount {
    display: flex;
    flex-direction: column;
}

.campaign-card__label {
    color: #8099BF;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 2px;
}

.campaign-card__value {
    color: #fff;
    font-weight: 800;
    font-size: 26px;
    line-height: 105%;
}

.campaign-card__value.campaign-card__value_goal {
    color: #A6B8D1;
}

.campaign-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #4B744D;
    color: #fff;
    text-decoration: none;
    transition: .3s;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    height: 42px;
    padding: 9px 32px;
    border-radius: 4px;
}

.campaign-card__button:hover {
    background: #6c9060;
}

.campaign-card__button img {
    width: 24px;
    height: 21px;
    margin-left: 6px;
}

/* ====================================
   STATS
==================================== */

.charity-stats {
    margin-bottom: 56px;
}

.charity-stats__wrapper {
    padding: 56px 64px;
}

.charity-stats__title {
    margin: 0 0 24px;
    font-size: 48px;
    text-transform: uppercase;
    color: #08152E;
    font-weight: 800;
    line-height: 120%;
}

.charity-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-columns: repeat(auto-fill, minmax(416px, 1fr)); */
    /* grid-template-columns: repeat(auto-fit, minmax(358px, 1fr));*/
    gap: 16px;
}

.stat-card {
    background: #EFEFEF;
    min-height: 263px;
    display: flex;
    flex-direction: column;
    max-width: 416px;
    height: 100%;
    gap: 12px;
    border-radius: 12px;
    padding: 40px;
}

.stat-card__icon {
    width: 64px;
    height: 64px;
}

.stat-card__icon img {
    width: 100%;
    display: block;
}

.stat-card__value {
    color: #151C2B;

    font-weight: 800;
    font-size: 56px;
    line-height: 100%;
}

.stat-card__divider {
    height: 1px;
    background: #08152E1A;
}

.stat-card__label {
    color: #08152EB3;
    font-weight: 800;
    font-size: 24px;
    line-height: 105%;
}

/* ====================================
   COMPLETED PROJECTS
==================================== */

.completed-projects {
    margin-bottom: 56px;
}

.completed-projects__wrapper {
    background: #f5f5f5;
    padding: 56px 64px;
    border-radius: 12px;
}

.completed-projects__title {
    margin: 0 0 56px;
    color: #08152E;
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 120%;
}

.completed-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #08152E;
}

.project-card__status {
    position: absolute;
    z-index: 3;
    background: #4B744D;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    top: 12px;
    left: 11px;
    font-weight: 400;
    font-size: 11px;
    line-height: 150%;
}



.project-card__image {
    height: 250px;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.project-card__content {
    padding: 16px;
}

.project-card__title {
    margin: 0px 0 16px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
}

.project-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #2A3A56;
    margin-bottom: 24px;
}

.project-card__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card__label {
    color: #8099BF;
    margin-bottom: 2px;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
}

.project-card__label.project-card__label_date {
    text-align: right;
}

.project-card__value {
    color: #fff;
    font-weight: 800;
    font-size: 26px;
    line-height: 105%;
    letter-spacing: 0%;
}

.project-card__value_date.project-card__value {
    color: #A6B8D1;
    font-weight: 800;
    font-size: 18px;
    line-height: 110%;
    letter-spacing: 0%;
    text-align: right;
}

.project-card__link {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    transition: .3s;
    padding-top: 10px;
    padding-right: 16px;
    padding-bottom: 10px;
    padding-left: 16px;
    border: 1px solid #FFFFFF;
    font-weight: 800;
    font-size: 14px;
    line-height: 150%;
    position: relative;
    gap: 8px;
}

.project-card__link:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

.project-card__link:after {
    content: 'next';
}

.project-card__link:after {
    font-size: 11px !important;
    font-weight: 900;
    color: #fff;
}


.project-card__link:hover {
    background: rgba(255, 255, 255, .08);
}

.projects-pagination.pagination {
    background-color: transparent;
    padding-bottom: 0;
    margin-top: 0;
    padding-top: 0;
}


/* .projects-pagination.pagination .page-numbers.current {
    opacity: .5 !important;
    border: 1px solid transparent !important;
} */

/* .projects-pagination.pagination .page-numbers {
    color: #08152e;
    font-size: .875rem;
    opacity: .5;
    border: 1px solid transparent;
    padding: 5px 9px 4px;
    text-align: center;
}

.projects-pagination.pagination .page-numbers.current {
    opacity: 1;
    font-weight: 700;
    border: 1px solid #c6bea9;
} */

/* .projects-pagination.pagination .page-numbers.current.active{
    opacity: 1;
    font-weight: 700;
    border: 1px solid #c6bea9;
} */

/* ====================================
   ABOUT FUND
==================================== */

.about-fund {
    margin-bottom: 10px;
}

.about-fund__wrapper {
    background: #08152E;
    padding: 56px 64px;
    display: flex;
    justify-content: space-between;
    border-radius: 12px;
    gap: 32px;
}

.about-fund__content {
    flex: 1;
    max-width: 100%;
}

.about-fund__title {
    margin: 0 0 32px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 56px;
    line-height: 110%;
}

.about-fund__text {
    max-width: 100%;
    width: 100%;
}

.about-fund__text p,
.about-fund__text li {
    margin: 0 0 16px;
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
}

.about-fund__text p strong {
    font-weight: 700;
    color: #fff;
    font-size: 18px;
    line-height: 150%;
}

.about-fund__text p:last-child {
    margin-bottom: 0;
}

/* ====================================
   TEAM
==================================== */

.about-fund__team {
    /* max-width: 286px;
    width: 100%; */
    flex-shrink: 0;
}

.about-fund__team-title {
    margin-bottom: 8px;
    color: #8FA3BC;
    text-transform: uppercase;
    font-family: Akrobat;
    font-weight: 800;
    font-size: 14px;
    line-height: 115%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}


.team-card {
    padding: 12px 16px;
    min-height: 63px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .3s ease;
    background: #FFFFFF0F;
    border-radius: 8px;
    gap: 4px;
}


.team-card__position {
    color: #8099BF;
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
}

.team-card__name {
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    line-height: 110%;
}

.donate-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: .3s ease;
}

.donate-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.donate-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
}

.donate-popup__content {
    position: relative;

    max-width: 900px;
    width: calc(100% - 30px);

    max-height: calc(100vh - 40px);

    overflow-y: auto;

    background: #fff;

    border-radius: 24px;

    padding: 40px;

    margin: 20px auto;
    top: 7%;
    z-index: 2;
}

.donate-popup__close {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 40px;
    height: 40px;

    border: none;
    background: none;

    cursor: pointer;

    font-size: 30px;
    line-height: 1;
}

body.donate-popup-open {
    overflow: hidden;
}

@media (max-width: 767px) {

    .donate-popup__content {
        padding: 20px;
        width: calc(100% - 20px);
        margin: 10px auto;
        border-radius: 16px;
    }

}

@media (max-width: 991px) {

    .about-fund__wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .about-fund__team {
        width: 100%;
    }

    .about-fund__title {
        font-size: 42px;
    }

    .about-fund__text p {
        font-size: 18px;
    }

    .charity-hero__wrapper {
        padding: 36px 34px;
    }

    .current-campaigns__wrapper {
        padding: 36px 34px;
    }

    .current-campaigns__pagination {
        left: 55% !important;
    }

    .stat-card__value {
        font-size: 46px;
    }

    .stat-card {
        min-height: 228px;
        padding: 32px;
    }

    .charity-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .charity-stats__wrapper {
        padding: 24px 16px;
    }

    .completed-projects__wrapper {
        padding: 36px 34px;
    }
}

@media (max-width: 767px) {

    .about-fund__wrapper {
        padding: 32px 24px;
    }

    .about-fund__title {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .about-fund__text p {
        font-size: 16px;
        line-height: 1.7;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        min-height: auto;
    }

    .charity-hero__wrapper {
        padding: 24px 16px;
        flex-direction: column;
    }

    .charity-hero__title {
        font-size: 36px;
    }

    .current-campaigns__wrapper {
        padding: 24px 16px;
    }

    .current-campaigns__title {
        font-size: 36px;
    }

    .current-campaigns__header {
        margin-bottom: 20px;
    }

    .campaign-card__content {
        padding: 16px;
    }

    .charity-stats__title {
        font-size: 36px;
    }

    .charity-stats__wrapper {
        padding: 24px 16px;
    }

    .stat-card__value {
        font-size: 40px;
    }

    .completed-projects__wrapper {
        padding: 24px 16px;
    }

    .completed-projects__title {
        margin: 0 0 20px;
        font-size: 36px;
    }

    .completed-projects__grid {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 20px;
    }
}



@media (max-width: 600px) {
    .charity-hero {
        margin-top: 28px;
        margin-bottom: 28px;
    }

    .current-campaigns {
        margin-bottom: 0px;
    }

    .charity-stats__wrapper {
        padding: 28px 0px;
    }

    .charity-hero__title {
        font-size: 26px;
        line-height: 105%;
    }

    .charity-stats__title {
        font-size: 26px;
        line-height: 105%;
    }

    .current-campaigns__wrapper {
        padding: 28px 16px;
    }

    .current-campaigns__title {
        font-size: 26px;
        line-height: 105%;
    }

    .charity-stats__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .stat-card {
        max-width: 100%;
        width: 100%;
    }

    .completed-projects__wrapper {
        padding: 28px 16px;
    }

    .completed-projects__title {
        font-size: 26px;
        line-height: 105%;
    }

    .completed-projects__grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .completed-projects {
    margin-bottom: 28px;
}
.charity-stats {
    margin-bottom: 0;
}
}

@media (max-width: 468px) {
    .charity-hero__left {
        align-items: flex-start;
        gap: 24px;
        flex-direction: column;
    }
}


.theme-dark .current-campaigns__wrapper {
    background: #08152E;
}

.theme-dark .stat-card {
    background: #08152E;
}
.theme-dark .completed-projects__wrapper {
    background: #08152E;
}

.theme-dark .charity-page .projects-pagination.pagination {
    background-color: unset;
}
.theme-dark .charity-page .pagination .page-numbers {
    background: unset;
}
.theme-dark .stat-card__value {
    color: #DDE5F4;
}
.theme-dark .stat-card__label {
    color: #DDE5F4;
}
.theme-dark .stat-card__divider {
    background: #1E2D47;
}
.theme-dark .campaign-card {
    border-radius: 0;
}

.theme-dark .campaign-card__content {
    border: 1px solid #1E2D47;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.theme-dark  .project-card__content {
      border: 1px solid #1E2D47;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.theme-dark  .project-card {
    border-radius: 0;
  
}

.theme-dark  .current-campaigns__pagination .swiper-pagination-bullet {
    background: #1A2540;
}
.theme-dark  .current-campaigns__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #DDE5F4;
}
.theme-dark .current-campaigns__arrow {
    background: #DDE5F4;
}
.theme-dark .current-campaigns__arrow.swiper-button-disabled{
      background: #1A2540;
}
.theme-dark .current-campaigns__arrow.current-campaigns__arrow--prev:after, .theme-dark .current-campaigns__arrow.current-campaigns__arrow--next:after {
    color: #1A2540;
}
.theme-dark .current-campaigns__arrow.swiper-button-disabled.current-campaigns__arrow--prev:after, .theme-dark .current-campaigns__arrow.swiper-button-disabled.current-campaigns__arrow--next:after {
    color: #757575;
}
.theme-dark .donate-popup__content {
    background: #08152e;
}
.theme-dark .donate-popup__close {
    color: #DDE5F4;
}
