/* 全局样式增强 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 顶部导航栏样式 */
.con_t {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0px 0;
    margin-top: 130px;
    min-height: 120px;
}

.con_t .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.con_t h2 {
    font-size: 28px;
    font-weight: 700;
    color: #228B22;
    margin-bottom: 20px;
    text-align: center;
}

.con_t ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    min-height: 60px;
}

.con_t li {
    margin: 0 15px 10px;
    transition: all 0.3s ease;
}

.con_t li a {
    display: block;
    padding: 8px 16px;
    color: #495057;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.con_t li.active a {
    background: #228B22;
    color: #fff;
    box-shadow: 0 2px 8px rgba(34, 139, 34, 0.3);
}

.con_t li:hover a {
    background: #e8f5e9;
    color: #228B22;
}

/* 主要内容区域 */
.con {
    padding: 60px 0;
    background: #fff;
    position: relative;
}

.con::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(34, 139, 34, 0.05), transparent);
}

.con .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* 机构详情卡片 */
.org-detail {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 60px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(34, 139, 34, 0.1);
    display: flex;
    flex-direction: column;
}

.org-detail:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* 机构信息头部 */
.org-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e8f5e9;
    position: relative;
}

.org-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #228B22, #32CD32);
}

.org-avatar {
    flex-shrink: 0;
}

.org-avatar img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.org-avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.org-info {
    flex: 1;
}

.org-info h1 {
    font-size: 32px;
    font-weight: 700;
    color: #228B22;
    margin-bottom: 20px;
    line-height: 1.2;
}

.org-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.org-meta p {
    font-size: 15px;
    color: #495057;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 5px 0;
}

.org-meta p::before {
    content: attr(data-label);
    font-weight: 600;
    color: #228B22;
    flex-shrink: 0;
    min-width: 100px;
}

.org-meta p::after {
    content: attr(data-value);
    text-align: right;
    flex: 1;
    word-wrap: break-word;
    white-space: normal;
}

/* 机构详情内容 */
.org-content {
    margin-top: 20px;
    padding-top: 0;
}

.org-content p {
    font-size: 16px;
    color: #495057;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.org-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.org-content img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.org-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #228B22;
    margin: 40px 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8f5e9;
    position: relative;
}

.org-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #228B22;
}

.org-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #343a40;
    margin: 30px 0 18px;
    padding-left: 15px;
    border-left: 4px solid #228B22;
}

.org-content ul,
.org-content ol {
    margin: 25px 0;
    padding-left: 30px;
}

.org-content li {
    margin-bottom: 12px;
    position: relative;
}

.org-content ul li {
    list-style-type: none;
    padding-left: 20px;
}

.org-content ul li::before {
    content: '•';
    color: #228B22;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.org-content ol li {
    counter-increment: item;
}

.org-content ol li::before {
    content: counter(item) '.';
    color: #228B22;
    font-weight: bold;
    position: absolute;
    left: -25px;
}

/* 返回按钮 */
.back-link {
    display: inline-flex;
    align-items: center;
    margin-top: 40px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #228B22, #32CD32);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(34, 139, 34, 0.3);
    gap: 8px;
    align-self: flex-end;
}

.back-link::before {
    content: '←';
    font-size: 18px;
}

.back-link:hover {
    background: linear-gradient(135deg, #186F1D, #28A745);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 139, 34, 0.4);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .con {
        padding: 40px 0;
    }
    
    .org-detail {
        padding: 50px;
    }
    
    .org-header {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .org-avatar img {
        width: 180px;
        height: 180px;
    }
    
    .org-info h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .con_t h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .con {
        padding: 30px 0;
    }
    
    .org-detail {
        padding: 40px 25px;
        border-radius: 12px;
    }
    
    .org-header {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .org-avatar img {
        width: 150px;
        height: 150px;
    }
    
    .org-info h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .org-meta {
        gap: 8px;
    }
    
    .org-content h2 {
        font-size: 22px;
        margin: 30px 0 20px;
    }
    
    .org-content h3 {
        font-size: 19px;
        margin: 25px 0 15px;
    }
    
    .org-content p {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .back-link {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .con_t h2 {
        font-size: 24px;
    }
    
    .org-detail {
        padding: 30px 20px;
    }
    
    .org-avatar img {
        width: 120px;
        height: 120px;
    }
    
    .org-info h1 {
        font-size: 22px;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.org-detail {
    animation: fadeInUp 0.8s ease-out;
}

.org-header {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.org-content {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.back-link {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}