/* 
 * Region Members CSS
 * File: assets/css/region-members.css
 */

.region-members-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

/* Region Selection Styling */
.region-selection .btn {
    margin-bottom: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.region-selection .btn.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* Member Card Styling */
.member-card {
    transition: all 0.3s ease;
    height: 100%;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.member-img img {
    border: 5px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
}

.member-card:hover .member-img img {
    border-color: rgba(52, 152, 219, 0.3);
}

/* Member Detail Styling */
.member-detail-header {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.member-bio {
    background-color: #fff;
    border-left: 4px solid #3498db;
    padding: 15px 20px;
    border-radius: 0 4px 4px 0;
    margin-top: 20px;
}

/* Package Accordion Styling */
.accordion-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.125);
    margin-bottom: 15px;
}

.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: #e9f0f8;
    color: #3498db;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* Posts Styling */
.post-card {
    transition: all 0.3s ease;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.post-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.post-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.post-meta {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .member-detail-header {
        text-align: center;
        padding: 20px;
    }
    
    .member-detail-header .text-md-start {
        text-align: center !important;
        margin-top: 20px;
    }
}