﻿.causes-two--new {
    direction: rtl;
}

    .causes-two--new .causes-work {
        direction: rtl;
        position: relative;
    }

    .causes-two--new .row {
        align-items: stretch;
    }

.work-tabs-card {
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .05);
}

.work-tabs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    background: #08745c;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

    .work-tabs-header i {
        font-size: 18px;
        opacity: .9;
    }

.work-tabs-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

    .work-tabs-list li {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 45px;
        padding: 9px 15px;
        cursor: pointer;
        color: #555;
        background: #fff;
        border-right: 3px solid transparent;
        transition: background-color .25s ease, color .25s ease, border-color .25s ease;
    }

        .work-tabs-list li:hover {
            background: #f5f9f7;
            color: #08745c;
        }

        .work-tabs-list li.active {
            background: #f1f7f4;
            color: #08745c;
            border-right-color: #08745c;
        }

.work-tab-icon {
    width: 27px;
    min-width: 27px;
    text-align: center;
    color: #08745c;
    font-size: 16px;
}

.work-tab-name {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.work-tab-arrow {
    color: #aaa;
    font-size: 13px;
    transition: transform .25s ease, color .25s ease;
}

.work-tabs-list li:hover .work-tab-arrow,
.work-tabs-list li.active .work-tab-arrow {
    color: #08745c;
    transform: translateX(-3px);
}

.work-all-link {
    display: block;
    padding: 14px 15px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #08745c;
    font-size: 14px;
    font-weight: 600;
    transition: background-color .25s ease;
}

    .work-all-link:hover {
        background: #f5f9f7;
        color: #08745c;
    }

.work-content-card {
/*    height: 90%;*/
    padding: 30px;
    background: #fffdf2;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .04);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.work-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.work-main-image {
    display: block;
    width: 78%;
    height: 78%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
    transition: opacity .35s ease, transform .35s ease;
}

.work-image-placeholder {
    width: 78%;
    height: 78%;
    border-radius: 18px;
    background: #a8733a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 45px;
    font-weight: 500;
}

.work-explore-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: fit-content;
    margin: 5px auto 0;
    padding: 10px 22px;
    background: #08745c;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .25s ease, transform .25s ease;
}

    .work-explore-button:hover {
        background: #06634e;
        color: #fff;
        transform: translateY(-2px);
    }

    .work-explore-button i {
        font-size: 14px;
    }

.work-progress-cards {
    display: flex;
    width: 100%;
    margin-top: 10px;
    gap: 8px;
    direction: rtl;
}

.work-progress-card {
    flex: 1;
    min-width: 0;
    padding: 10px 7px 11px;
    background: #c69a43;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    box-sizing: border-box;
}

.work-progress-label {
    display: block;
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
}

.work-progress-card strong {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #08745c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.work-progress-card .currency-symbol {
    color: #08745c;
    font-size: 13px;
    font-weight: 600;
}

.work-video-card {
    position: relative;
    width: 100%;
    min-height: 448px;
    overflow: hidden;
    border-radius: 18px;
    color: #fff;
    background: #08745c;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .06);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.work-video-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

.work-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 67, 52, .72);
    z-index: 1;
}

.work-video-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px;
}

.work-video-label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.work-video-content h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
    line-height: 1.4;
    font-weight: 600;
}

.work-video-content p {
    margin: 0 0 22px;
    color: #fff;
    font-size: 15px;
    line-height: 1.7;
}

.work-video-play {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
}

    .work-video-play:hover {
        background: rgba(255, 255, 255, .12);
        transform: scale(1.05);
    }

.work-video-duration {
    display: inline-block;
    margin-bottom: 18px;
    padding: 3px 9px;
    background: rgba(0, 0, 0, .35);
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
}

.work-video-button {
    display: block;
    width: fit-content;
    min-width: 155px;
    margin: 0 auto;
    padding: 9px 25px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background-color .25s ease, border-color .25s ease;
}

    .work-video-button:hover {
        background: rgba(255, 255, 255, .12);
        border-color: #fff;
        color: #fff;
    }

.work-support-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
    padding: 11px 20px;
    background: #c69a43;
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(198, 154, 67, .18);
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

    .work-support-button:hover {
        background: #b48936;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(198, 154, 67, .25);
    }

    .work-support-button i {
        font-size: 14px;
        line-height: 1;
        color: #fff;
    }

.work-controls {
    display: none;
}

@media (max-width: 1199px) {
    .work-content-card {
        padding: 25px;
    }

    .work-tabs-header {
        padding: 15px;
    }

    .work-tabs-list li {
        padding: 8px 12px;
    }

    .work-tab-name {
        font-size: 13px;
    }

    .work-video-card {
        min-height: 390px;
    }

    .work-video-content {
        padding: 25px;
    }

        .work-video-content h3 {
            font-size: 25px;
        }
}

@media (max-width: 991px) {
    .causes-two--new .order-xl-1,
    .causes-two--new .order-xl-2,
    .causes-two--new .order-xl-3 {
        order: unset !important;
    }

    .work-tabs-card,
    .work-content-card {
        height: auto;
    }

    .work-video-card {
        min-height: 400px;
    }
}

@media (max-width: 767px) {
    .causes-two--new {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .work-tabs-header {
        padding: 15px 17px;
        font-size: 17px;
    }

    .work-tabs-list li {
        min-height: 47px;
        padding: 9px 12px;
    }

    .work-tab-name {
        font-size: 14px;
    }

    .work-content-card {
        padding: 20px;
        border-radius: 15px;
    }

    .work-image-wrapper {
        aspect-ratio: 1 / 1;
    }

    .work-main-image,
    .work-image-placeholder {
        width: 82%;
        height: 82%;
        border-radius: 15px;
    }

    .work-explore-button {
        margin-top: 5px;
        padding: 10px 18px;
        font-size: 13px;
    }

    .work-progress-cards {
        gap: 5px;
    }

    .work-progress-card {
        padding: 8px 4px 9px;
    }

    .work-progress-label {
        font-size: 10px;
    }

    .work-progress-card strong {
        font-size: 12px;
    }

    .work-progress-card .currency-symbol {
        font-size: 11px;
    }

    .work-video-card {
        min-height: 380px;
        border-radius: 15px;
    }

    .work-video-content {
        padding: 25px 20px;
    }

        .work-video-content h3 {
            font-size: 24px;
        }

        .work-video-content p {
            font-size: 14px;
        }

    .work-video-play {
        width: 62px;
        height: 62px;
        font-size: 19px;
    }

    .work-support-button {
        margin-top: 15px;
        padding: 11px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .work-main-image,
    .work-image-placeholder {
        width: 85%;
        height: 85%;
    }

    .work-video-card {
        min-height: 350px;
    }
}
