.ed-content .content-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 47px;
}

.ed-content .content-cards .card {
    width: 220px;
    /* height: 240px; */
    height: auto;
    background-color: #fff;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    text-align: center;
    gap: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.ed-content .content-cards .example{
    width: 220px;
    height: 240px;
    /* height: auto; */
    background-color: #fff;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    text-align: center;
    gap: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.ed-content .content-cards .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background-image: url("../../image/Polygon 1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.ed-content .content-cards .card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-image: url("../../image/Polygon 1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: rotate(180deg);
}

.ed-content .content-cards .card .title {
    font-family: var(---outfit-font);
    font-size: 1.5rem;
    font-weight: ;
    color: #333;
    margin-bottom: 5px;
}

.ed-content .content-cards .card .profile-image {
    margin: 5px 0;
    border: 3px solid #4caf50;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    overflow: hidden;
    display: inline-block;
}

.ed-content .content-cards .card .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.profile-info .name {
    font-family: var(---roboto-font);
    font-size: var(---office-time);
    color: var(---accessibilities-color);
    /* margin: 10px; */
    font-weight: 600;
}

.time-duration {
    font-family: var(---roboto-font);
    font-size: var(---menus);
    color: var(---accessibilities-color);
}

/* MOBILE VIEW */
/* @media (max-width: 768px) {
    .ed-content .content-cards {
      flex-direction: column; 
      align-items: center; 
      gap: 20px; 
    }
  
    .ed-content .content-cards .card {
      width: 100%; 
      height: auto; 
      padding: 15px; 
    }
  
    .ed-content .content-cards .card::before,
    .ed-content .content-cards .card::after {
      width: 50px; 
      height: 50px;
    }
  
    .ed-content .content-cards .card .title {
      font-size: 1.2rem; 
    }
  
    .ed-content .content-cards .card .profile-image {
      width: 80px; 
      height: 80px;
    }
  
    .ed-content .content-cards .card .profile-image img {
      width: 100%; 
      height: 100%;
    }
  
    .profile-info .name {
      font-size: calc(var(---office-time) - 2px); 
      text-align: center; 
    }
  
    .time-duration {
      font-size: calc(var(---menus) - 2px);
      text-align: center; 
    }
  } */

@media (max-width: 768px) {
    .ed-content .content-cards {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
    }

    .ed-content .content-cards .card {
        width: calc(50% - 10px);
        height: auto;
        padding: 15px;
    }

    .ed-content .content-cards .card::before,
    .ed-content .content-cards .card::after {
        width: 50px;
        height: 50px;
    }

    .ed-content .content-cards .card .title {
        font-size: 1.2rem;
    }

    .ed-content .content-cards .card .profile-image {
        width: 80px;
        height: 80px;
    }

    .ed-content .content-cards .card .profile-image img {
        width: 100%;
        height: 100%;
    }

    .profile-info .name {
        font-size: calc(var(---office-time) - 2px);
        text-align: center;
    }

    .time-duration {
        font-size: calc(var(---menus) - 2px);
        text-align: center;
    }
}

/* TABLET VIEW */
@media (max-width: 1024px) and (min-width: 768px) {
    .ed-content .content-cards {
        gap: 20px;
    }

    .ed-content .content-cards .card {
        width: calc(33.33% - 20px);
        height: auto;
        padding: 15px;
    }

    .ed-content .content-cards .card .title {
        font-size: 1.2rem;
    }

    .ed-content .content-cards .card .profile-image {
        width: 80px;
        height: 80px;
    }

    .ed-content .content-cards .card .profile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .ed-content .content-cards .card .title,
    .ed-content .content-cards .card .profile-info .name,
    .ed-content .content-cards .card .time-duration {
        font-size: 1rem;
    }

    .profile-info .name {
        font-size: 1rem;
        margin: 3px;
    }

    .time-duration {
        font-size: 0.9rem;
    }
}
