/* 社会团体详情页特有样式 */
.org-detail-header {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 10px 0;
}

.org-detail-logo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.org-detail-logo:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
}

.org-detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.org-detail-logo:hover img {
    transform: scale(1.05);
}

.org-detail-title {
    flex: 1;
    min-width: 0;
}

.org-detail-title h1 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 500;
}

/* 表格样式 */
.org-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.org-detail-table th,
.org-detail-table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    line-height: 1.6;
}

.org-detail-table th {
    background: var(--bg-light);
    color: var(--text-primary);
    font-weight: 500;
    width: 15%;
    text-align: right;
    white-space: nowrap;
}

.org-detail-table td {
    color: var(--text-secondary);
}

/* 简介样式 */
.org-detail-intro {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.org-detail-intro p {
    margin-bottom: 15px;
}

.org-detail-intro p:last-child {
    margin-bottom: 0;
}

/* 标准列表样式 */
.org-detail-standards .standard-item,
.org-detail-news .news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.org-detail-standards .standard-item:last-child,
.org-detail-news .news-item:last-child {
    border-bottom: none;
}

.org-detail-standards .standard-item:hover,
.org-detail-news .news-item:hover {
    padding-left: 15px;
}

.org-detail-standards .standard-item::before,
.org-detail-news .news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-light) 0%, var(--bg-light) 80%, transparent 100%);
    transition: left 0.3s ease;
    z-index: 0;
}

.org-detail-standards .standard-item:hover::before,
.org-detail-news .news-item:hover::before {
    left: 0;
}

.standard-info,
.news-info {
    flex: 1;
    min-width: 0;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

.standard-info h3,
.news-info h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: normal;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.standard-item:hover .standard-info h3,
.news-item:hover .news-info h3 {
    color: var(--primary);
}

.standard-meta,
.news-meta {
    display: flex;
    gap: 30px;
    color: var(--text-secondary);
    font-size: 14px;
}

.standard-meta span,
.news-meta span {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.standard-meta i,
.news-meta i {
    margin-right: 8px;
    color: var(--primary);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.standard-item:hover .standard-meta i,
.news-item:hover .news-meta i {
    opacity: 1;
}

/* 按钮样式优化 */
.standard-item .btn,
.news-item .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    line-height: 1;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.standard-item .btn i,
.news-item .btn i {
    font-size: 12px;
    margin-top: 1px;
    transition: transform 0.3s ease;
}

.standard-item .btn:hover i,
.news-item .btn:hover i {
    transform: translateX(3px);
}

/* 空数据状态样式 */
.empty-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #fafbfc;
    border: 1px dashed #e4e7ed;
    border-radius: 4px;
    margin: 10px 0;
}

.empty-data i {
    font-size: 36px;
    margin-bottom: 15px;
}

.empty-data p {
    margin: 0;
    color: #909399;
    font-size: 14px;
}

.empty-data .sub-text {
    margin-top: 5px;
    font-size: 12px;
    color: #c0c4cc;
}

/* 为不同类型的空数据添加特定样式 */
.org-detail-standards .empty-data i {
    color: #a0cfff;
}

.org-detail-news .empty-data i {
    color: #95d475;
}

/* 添加简单的动画效果 */
.empty-data {
    animation: fadeInUp 0.3s ease-out;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .org-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .org-detail-logo {
        width: 100px;
        height: 100px;
    }

    .org-detail-table {
        display: block;
        overflow-x: auto;
    }

    .org-detail-table th {
        width: auto;
        min-width: 100px;
    }

    .standard-item,
    .news-item {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
    }

    .standard-info,
    .news-info {
        padding-right: 0;
    }

    .standard-meta,
    .news-meta {
        flex-direction: column;
        gap: 8px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .standard-item .btn,
    .news-item .btn {
        width: 100%;
        justify-content: center;
    }
} 