/* Layout Containers */
.rgc-container .rgc-grid {
    display: grid;
    gap: 20px;
}

.rgc-container .rgc-carousel {
    display: none;
    width: 100%;
}

/* Team Member Item */
.team-member {
    text-align: center;
    padding: 15px;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.member-image {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.member-image img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.team-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.team-content {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.team-button {
     background-color:#160066; 
    font-weight: 500;
    display: inline-block;
    padding: 8px 20px !important;
   border-radius:25px;
    color: #fff;
  font-size:15px !important;
  display:block;
  margin:auto;
  width:123px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.post-button:hover {
    opacity: 0.8;
}

/* Responsive Switching */
@media (max-width: 767px) {
    .rgc-container .rgc-grid {
        display: none !important;
    }
    .rgc-container .rgc-carousel {
        display: block !important;
    }
}

/* Swiper Adjustments */
.rgc-carousel .swiper-slide {
    height: auto;
    display: flex;
}
.rgc-carousel .swiper-pagination {
    position: relative;
    margin-top: 20px;
}
