/**
 * 组织架构页面样式
 * Organization Page Styles
 * 
 * @package Astra Child - Physics Competition Styles
 * @since 1.0.0
 */

/* ===== 组织架构页面容器 ===== */
.cphos-organization-container {
    max-width: 1200px;
    margin: 25px auto 0 auto;
    padding: 40px 20px;
}

/* ===== 页面头部 ===== */
.cphos-page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(30, 58, 138, 0.1);
}

.cphos-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 10px;
    line-height: 1.2;
}

.cphos-page-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== 主要内容区域 ===== */
.cphos-organization-content {
    line-height: 1.8;
}

.cphos-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.cphos-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

.cphos-section-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    text-align: center;
}

/* ===== 理事长致辞部分 ===== */
.cphos-chairman-speech {
    margin-bottom: 80px;
}

.cphos-group-photo {
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 40px auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.15);
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.cphos-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #374151;
}

.cphos-content p {
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 2em;
}

.cphos-signature {
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(30, 58, 138, 0.1);
}

.cphos-signature strong {
    color: #1e3a8a;
    font-size: 1.1rem;
}

.cphos-signature em {
    color: #6b7280;
    font-style: normal;
    font-size: 0.95rem;
}

/* ===== 核心宗旨部分 ===== */
.cphos-core-values {
    margin-bottom: 60px;
}

/* ===== 组织架构部分 ===== */
.cphos-organization-structure {
    margin-bottom: 60px;
}

.cphos-organization-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

.cphos-org-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.cphos-org-title {
    color: #1e3a8a;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #e0e7ff;
    padding-bottom: 15px;
}

.cphos-org-content {
    line-height: 1.8;
}

.cphos-org-content p {
    margin-bottom: 15px;
    color: #374151;
    font-size: 0.95rem;
}

.cphos-org-content p:last-child {
    margin-bottom: 0;
}

.cphos-org-suitable {
    color: #059669 !important;
    font-weight: 500;
    background: #f0fdf4;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

.cphos-org-note {
    color: #7c3aed !important;
    font-style: italic;
    font-size: 0.9rem !important;
}

.cphos-structure-photo {
    width: 100%;
    max-width: 600px;
    height: 380px;
    margin: 40px auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.15);
    border: 1px solid rgba(30, 58, 138, 0.1);
    background-color: #ffffff;
}

/* ===== 核心成员部分 ===== */
.cphos-core-members {
    margin-bottom: 60px;
}

.cphos-members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.cphos-member-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.1);
    min-height: 320px;
}

.cphos-member-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f3f4f6;
    border: 4px solid #ffffff;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.15);
    position: relative;
    overflow: hidden;
}

/* 移除原有的占位符样式，已集成到 cphos-member-photo 中 */

.cphos-member-info {
    text-align: center;
}

.cphos-member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 5px;
    line-height: 1.3;
}

.cphos-member-position {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.4;
}

.cphos-member-desc {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 400;
    margin-top: 1rem;
    line-height: 1.4;
}

.desc-line {
    display: block;
    margin-bottom: 8px;
    position: relative;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .cphos-members-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .cphos-organization-container {
        padding: 30px 15px;
    }
    
    .cphos-page-title {
        font-size: 2rem;
    }
    
    .cphos-page-subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .cphos-section-title {
        font-size: 1.6rem;
    }
    
    .cphos-section-subtitle {
        font-size: 1.3rem;
    }
    
    .cphos-content {
        font-size: 1rem;
    }
    
    .cphos-content p {
        text-indent: 1.5em;
    }
    
    .cphos-members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cphos-member-card {
        padding: 20px;
        min-height: 280px;
    }
    
    .cphos-member-photo {
        width: 140px;
        height: 140px;
        margin-bottom: 20px;
    }
    
    .cphos-chairman-speech {
        margin-bottom: 60px;
    }
    
    .cphos-group-photo {
        height: 250px;
        margin: 30px auto;
    }
    
    .cphos-structure-photo {
        height: 280px;
        max-width: 500px;
        margin: 30px auto;
    }
    
    .cphos-organization-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 30px auto 0 auto;
    }
    
    .cphos-org-card {
        padding: 25px;
    }
    
    .cphos-org-title {
        font-size: 1.3rem;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .cphos-organization-container {
        padding: 20px 10px;
    }
    
    .cphos-page-title {
        font-size: 1.8rem;
    }
    
    .cphos-section-title {
        font-size: 1.4rem;
    }
    
    .cphos-section-subtitle {
        font-size: 1.2rem;
    }
    
    .cphos-members-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cphos-member-photo {
        width: 130px !important;
        height: 130px !important;
        margin-bottom: 20px;
    }
    
    .cphos-member-card {
        padding: 25px 20px;
        min-height: 260px;
    }
    
    .cphos-group-photo {
        height: 200px;
        margin: 20px auto;
    }
    
    .cphos-structure-photo {
        height: 200px;
        max-width: 320px;
        margin: 20px auto;
    }
    
    .cphos-organization-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px auto 0 auto;
    }
    
    .cphos-org-card {
        padding: 20px;
    }
    
    .cphos-org-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .cphos-org-content p {
        font-size: 0.9rem;
    }
}
