.header .logo {
    background-image: url(../../images/logo-black.png);
}

.header .nav a {
    color: rgba(0, 0, 0, .5);
}

.header .nav a:hover,
.header .nav a.active {
    color: rgb(0, 0, 0);
}

.section-container {
    margin-bottom: 20px;
    padding-top: 10px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 10px;
}

.section-separator {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 10px 0;
}

.cpn-desc {
    margin: 0 auto 40px
}

.cpn-desc p {
    text-align: left;
    text-indent: 2em;
}

/* --- General Grid Styles --- */
.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-grid .image-item {
    flex: 1 1 calc(25% - 10px);
    /* 4 columns */
    box-sizing: border-box;
}

.image-aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    /* 4:3 aspect ratio */
    overflow: hidden;
}

.image-aspect-ratio-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Complex Layout for "上汽培训中心" --- */
.complex-layout-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-half {
    display: flex;
    gap: 20px;
    align-items: center;
    /* Vertically center align text and circles */
}

.text-description-half {
    flex: 1;
    text-align: left;
    margin-left: 20px;
    margin-right: 20px;
}

.text-description-half p {
    text-indent: 2em;
    line-height: 24px;
    font-size: 14px;
    font-family: "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
}

.circular-images-half {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.circle-img {
    width: 120px;
    /* Increased size slightly */
    height: 120px;
    border-radius: 50%;
    object-fit: scale-down;
}

.bottom-half-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.bottom-half-grid .image-item {
    flex: 1 1 calc(16.666% - 10px);
    /* 6 columns */
    box-sizing: border-box;
}

.bottom-half-grid .image-aspect-ratio-box img {
    object-fit: cover;
}

/* --- Left-Right Layout for "清华大学苏州汽车研究院" --- */
.tsinghua-section-container {
    display: flex;
    gap: 30px;
    padding-left: 20px;
    padding-right: 20px;
    align-items: flex-start;
}

/* Left Part: Logo */
.tsinghua-left-logo {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tsinghua-left-logo img {
    width: 100%;
    height: auto;
    max-width: 300px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Right Part: Text Content */
.tsinghua-right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

/* Introduction Text */
.tsinghua-intro-text {
    margin-bottom: 0;
}

.tsinghua-intro-text p {
    text-align: justify;
    text-indent: 2em;
    line-height: 2;
    font-size: 16px;
    color: #333;
    font-family: "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Talent Information Grid */
.tsinghua-talent-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.tsinghua-talent-info .talent-item {
    flex: 1 1 calc(50% - 10px);
    background-color: #f0f0f0;
    padding: 10px 15px;
    box-sizing: border-box;
    text-align: left;
    border-radius: 4px;
    font-size: 14px;
}

.tsinghua-talent-info .talent-item span {
    color: #333;
}

/* Achievement Blocks */
.tsinghua-achievement-blocks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.achievement-block {
    background-color: #f5f5f5;
    padding: 5px;
    border-radius: 4px;
}

.achievement-title {
    background-color: rgba(0, 0, 0, 0.13);
    color: black;
    padding: 8px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 2px;
}

.achievement-desc {
    font-size: 14px;
    text-align: left;
    padding: 5px 10px;
    line-height: 22px;
    color: #333;
}

/* --- Left-Right Layout for "上汽培训中心" (Same as Tsinghua) --- */
.partner-section-container {
    display: flex;
    gap: 30px;
    padding-left: 20px;
    padding-right: 20px;
    align-items: flex-start;
}

/* Left Part: Logo */
.partner-left-logo {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-image: url(/wp-content/themes/automooc_new/images/partners/partner2.png);
    background-repeat: no-repeat;
    background-size: 200% 190%;
    background-position: right center;
    min-height: 35px
}

/* Right Part: Text Content */
.partner-right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

/* Introduction Text */
.partner-intro-text {
    margin-bottom: 0;
}

.partner-intro-text p {
    text-align: justify;
    text-indent: 2em;
    line-height: 2;
    font-size: 16px;
    color: #333;
    font-family: "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
    letter-spacing: 0.5px;
    margin: 0;
}

/* --- Layout for "校企合作成果-院校" (3 rows x 5 columns) --- */
.school-section-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.school-section-container .image-item {
    flex: 1 1 calc(20% - 10px);
    /* 5 columns: 100% / 5 = 20% */
    box-sizing: border-box;
}

.school-section-container .image-aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    /* 4:3 aspect ratio */
    overflow: hidden;
}

.school-section-container .image-aspect-ratio-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}