/* Architect Detail Styles */
.architect-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Phần trên */
.architect-detail__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.architect-detail__info {
    display: flex;
    gap: 20px;
}

.architect-detail__avatar {
    flex-shrink: 0;
}

.architect-detail__avatar .avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f0;
}

.architect-detail__avatar .avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #6c757d;
    border: 4px solid #f0f0f0;
}

.architect-detail__contact {
    flex: 1;
}

.architect-name {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.personal-name {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 16px;
}

.personal-name i {
    margin-right: 8px;
    width: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
    color: #495057;
}

.contact-item i {
    width: 20px;
    margin-right: 12px;
    color: #007bff;
}

/* Banner */
.architect-detail__banner {
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
}

.architect-detail__banner .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.architect-detail__banner .banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.banner-placeholder i {
    font-size: 40px;
    margin-bottom: 10px;
}

/* Tabs */
.tabs-container {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tabs-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.tab-btn.active {
    background: #fff;
    color: #007bff;
    border-bottom: 3px solid #007bff;
}

.tab-btn i {
    margin-right: 8px;
}

.tab-btn .count {
    font-size: 14px;
    font-weight: normal;
    opacity: 0.8;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.post-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.post-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-item:hover .post-image img {
    transform: scale(1.05);
}

.post-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 40px;
}

.post-info {
    padding: 20px;
}

.post-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #007bff;
}

.post-desc {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #8a8a8a;
}

.post-date i {
    margin-right: 5px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #495057;
}

.empty-state p {
    margin: 0;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .architect-detail {
        padding: 15px;
    }
    
    .architect-detail__top {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .architect-detail__info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .architect-detail__avatar .avatar-img,
    .architect-detail__avatar .avatar-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .architect-name {
        font-size: 24px;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 15px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .architect-detail__top {
        padding: 15px;
    }
    
    .architect-detail__avatar .avatar-img,
    .architect-detail__avatar .avatar-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .architect-name {
        font-size: 20px;
    }
    
    .contact-item {
        font-size: 14px;
    }
}
