﻿.triangle {
    display: inline-block;
    margin: 0 5px;
    vertical-align: middle;
}

.triangle-2 {
    height: 200px;
    border-right: solid 150px #E7C12C;
    border-bottom: solid 150px transparent; /* Transparent bottom part */
    border-top: solid 150px transparent; /* Transparent top part */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.triangle-2 span {
    width: 168px;
    color: #005667;
    text-align: center;
    font-family: Rubik;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    position: absolute;
    left: 0;
    padding: 1.5rem;
}

.card-title {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #07a869;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    height: 23rem;
    padding: 5px 5px 0 5px;
}

.card-desc {
    background-color: #fff;
    border-radius: 12px 0 0 12px;
    text-align: start;
    height: 100%;
    font-size: 16px;
    font-weight: 400;
    color: #15445a;
    /* padding: 15px 0 0 5px; */
    /* display: flex*/
}
.table-card .card-header {
    font-family: Rubik !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 25.3px !important;
    text-align: center !important;
    color: #fff !important;
    background-color: #F47C32 !important;
    border-radius: 12px 12px 0 0 !important;
}

.table-card.card {
    border-radius: 12px !important;
    font-family: Rubik !important;
}


.table-card .card-desc {
    background-color: #fff !important;
    border-radius: 12px 0 0 12px !important;
    text-align: start !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #15445a !important;
    position: relative !important;
}

.table-card .list {
    max-height: 4.01rem !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease !important;
}

.readMore-toggle {
    display: none !important;
}

    .readMore-toggle:checked ~ .list {
        max-height: 20rem !important;
    }

.readMore-btn {
    font-family: Rubik !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    color: #117286 !important;
    cursor: pointer !important;
    display: block !important;
    text-align: end !important;
    margin-top: 0.5rem !important;
}

.readMore-toggle:checked + .readMore-btn::after {
    content: "عرض أقل ..." !important;
}

.readMore-btn::after {
    content: "المزيد ..." !important;
    display: inline-block !important;
    text-decoration: underline !important;
}
@media (max-width: 991px) {
    .triangle-2 {
        height: auto;
        border-right: none;
        border-bottom: none;
        border-top: none;
        width: 100%;
        background-color: #E7C12C;
        padding: 32px 0;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

        .triangle-2 span {
            width: fit-content !important;
            color: #005667;
            text-align: center;
            font-family: Rubik;
            font-size: 24px;
            font-style: normal;
            font-weight: 600;
            position: absolute;
            right: 0 !important;
            padding: 1.5rem;
        }
}
@media (max-width: 767px) {
    .triangle-2 {
        height: auto;
        border-right: none;
        border-bottom: none;
        border-top: none;
        width: 100%;
        background-color: #E7C12C;
        padding: 30px 0;
        border-radius: 12px;
    }
        .triangle-2 span {
            width: fit-content !important;
            color: #005667;
            text-align: center;
            font-family: Rubik;
            font-size: 24px;
            font-style: normal;
            font-weight: 600;
            position: absolute;
            right: 0 !important;
            padding: 1.5rem;
        }
}
