/* 机构介绍页面样式 */
.jgjs-row {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

.jgjs-col {
    width: 100%;
}

.jgjs-col-full {
    width: 100%;
}

.jgjs-title {
    margin-top: 79px;
    margin-bottom: 32px;
    font-weight: 600;
    font-size: 40px;
    color: #302e2e;
    line-height: 70px;
}

.jgjs-content {
    font-size: 20px;
    color: #2f2e2e;
    line-height: 45px;
    text-align: justify;
    /* padding: 0 20px 30px; */
}

/* 下面添加友情链接样式，如果需要 */
.jgjs-link-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

.jgjs-link-box {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.jgjs-link-item {
    width: 20%;
    position: relative;
}

.jgjs-link-header {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jgjs-link-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: none;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.jgjs-link-item:hover .jgjs-link-dropdown {
    display: block;
}

.jgjs-dropdown-header {
    background-color: #2196f3;
    color: #fff;
    font-size: 16px;
    padding: 12px 15px;
    font-weight: 500;
}

.jgjs-dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.jgjs-dropdown-item:last-child {
    border-bottom: none;
}

.jgjs-dropdown-item:hover {
    background-color: #f5f5f5;
}


/* 轮播 */
.jgjs-lc {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* 轮播图时间轴样式 */
.jgjs-lc {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 50px 0;
    position: relative;
    height: 400px;
}

/* 时间轴背景线 */
.jgjs-timeline-bg {
    position: absolute;
    width: 86%;
    height: 4px;
    background-color: #eee;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* 时间点样式 */
.jgjs-timeline-point {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fed4cf;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.jgjs-timeline-point::before {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #bc1906;
    border-radius: 50%;
    /* box-shadow: 0 0 0 4px rgba(188, 25, 6, 0.2); */
}

/* 卡片样式 */
.jgjs-timeline-card {
    width: 220px;
    min-height: 80px;
    background-color: #bc1906;
    padding: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: #bc1906;
    border-radius: 8px;
    color: #fff;
    max-width: 239px;
    overflow: hidden;
}

.jgjs-card-top {
    bottom: calc(50% + 45px);
}

.jgjs-card-bottom {
    top: calc(50% + 45px);
}

.jgjs-card-content {
    color: #fff;
    font-size: 16px;
    font-family: PingFangSC, PingFang SC;
    text-align: center;
    line-height: 1.6;
}

/* 日期样式 */
.jgjs-timeline-date {
    position: absolute;
    color: #bc1906;
    font-size: 16px;
    font-weight: 500;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    max-width: 239px;
    text-align: center;
    color: #bc1906;
    font-size: 16px;
    margin-top: 20px;
}

/* 为奇数索引的轮播项添加底部外边距 */
.jgjs-timeline-date:nth-child(odd) {
    margin-bottom: 20px;
}

/* 为偶数索引的轮播项添加顶部外边距 */
.jgjs-timeline-date:nth-child(even) {
    margin-top: 20px;
}

.jgjs-date-top {
    bottom: calc(50% + 10px);
}

.jgjs-date-bottom {
    top: calc(50% + 10px);
}

/* 自定义箭头导航 */
.jgjs-arrow {
    width: 50px;
    height: 50px;
    background-color: #bc1906;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
}

.jgjs-arrow::before {
    content: '';
    width: 15px;
    height: 15px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
}

.jgjs-prev {
    left: 0;
}

.jgjs-prev::before {
    transform: translate(-25%, -50%) rotate(-135deg);
}

.jgjs-next {
    right: 0;
}

.jgjs-next::before {
    transform: translate(-75%, -50%) rotate(45deg);
}

/* Swiper样式调整 */
.jgjs-lc .swiper {
    height: 100%;
    width: 1000px !important;
    margin: 0 auto;
    /* padding: 0 60px; */
    overflow: hidden;
}

.jgjs-lc .swiper-slide {
    height: 100%;
    position: relative;
}



.jgjs-swiper {
    width: 95% !important;
    margin: 0 auto;
}

/* 市领导展示 */
.jgjs-leader-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
}

.jgjs-leader-main {
    width: 73%;
}

.jgjs-leader-title-box {
    position: relative;
    margin-bottom: 30px;
    border-bottom: 1px solid #918f8f;
    padding-bottom: 13px;
}

.jgjs-leader-title {
    font-weight: 500;
    font-size: 28px;
    color: #2f2e2e;
    line-height: 40px;
    letter-spacing: 2px;
    margin-left: 24px;
    /* margin-bottom: 10px; */
    position: relative;
}

.jgjs-leader-title:after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 171px;
    height: 6px;
    background-color: #bc1906;
    bottom: -13px;
    left: -24px;
}

.jgjs-leader-introduce {
    display: flex;
    margin-bottom: 30px;
}

.jgjs-leader-image-box {
    width: 180px;
    height: 220px;
    margin-right: 50px;
    overflow: hidden;
}

.jgjs-leader-name {
    font-weight: 700;
    font-size: 26px;
    color: #2f2e2e;
    line-height: 48px;
    letter-spacing: 1px;
    text-align: justify;
    margin-top: 68px;
    margin-bottom: 20px;
}

.jgjs-leader-position {
    margin-top: 20px;
    font-size: 20px;
    color: #2f2e2e;
    line-height: 33px;
    letter-spacing: 1px;
}

.jgjs-leader-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.jgjs-leader-item {
    width: 25%;
    padding: 0 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    display: block;
}

.jgjs-leader-item:hover {
    opacity: 0.9;
}

.jgjs-leader-box {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.jgjs-leader-box:hover {
    opacity: 0.9;
}

.jgjs-leader-avatar {
    width: 100%;
    height: 0;
    padding-bottom: 125%;
    overflow: hidden;
    position: relative;
}

.jgjs-leader-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jgjs-leader-item-name {
    font-weight: 600;
    font-size: 26px;
    color: #2f2e2e;
    line-height: 48px;
    letter-spacing: 1px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
}

.jgjs-leader-item-position {
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    max-width: 171px;
    font-size: 20px;
    line-height: 35px;
    color: #2f2e2e;

}

/* 新闻侧边栏 */
.jgjs-news-sidebar {
    width: 25%;
}

.jgjs-news-box {
    padding: 0;
    border-top: 2px solid #bc1906;
}

.jgjs-news-title {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 0;
    position: relative;
    background-color: #bc1906;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    color: #fff;
    padding: 15px 30px;
}

.jgjs-news-more {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 28px;
    cursor: pointer;
    color: #fff;
}

.jgjs-news-list {
    padding: 0 20px;
    margin: 0px 0 15px 0;
    list-style: none;
    margin-bottom: 20px;
    background-color: #f9f9f9;

}

.jgjs-news-item {
    padding: 10px 0;
    border-bottom: 1px dashed #e5e5e5;
    margin-bottom: 15px;
}

.jgjs-news-item:last-child {
    border-bottom: none;
}

.jgjs-news-content {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    padding-left: 20px;
    text-decoration: none;
}

.jgjs-news-content:hover {
    color: #bc1906;
}

.jgjs-news-time {
    padding: 10px 0;
    color: #918f8f;
    font-size: 14px;

}

.jgjs-union-list {
    padding: 0 20px;
    margin: 0px 0 15px 0;

    list-style: none;
    background-color: #f9f9f9;

}

.jgjs-union-item {
    padding: 10px 0;
    /* border-bottom: 1px dashed #e5e5e5; */
}

.jgjs-union-item:last-child {
    border-bottom: none;
}

.jgjs-union-content {
    padding: 0 0 10px 20px;
    color: #2f2e2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    text-decoration: none;
    display: block;
}

.jgjs-union-content:before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    color: #bc1906;
    font-size: 22px;
}

.jgjs-union-content:hover {
    color: #bc1906;
}

.jgjs-news-content:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #bc1906;
    font-size: 20px;
}
.jgjs-leader-container img{
    width: 100%;
}

/* 机构设置样式 */
.jgjs-organization {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 80px;
    background: #fff;

}
.jgjs-organization-tabs-box{
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    
}
.jgjs-organization-title {
    font-size: 40px;
    font-weight: 700;
    color: #2f2e2e;
    margin-bottom: 30px;
}

.jgjs-organization-tabs {
    display: flex;
    /* margin-bottom: 30px; */
}

.jgjs-tab {
    height: 65px;
    line-height: 65px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    background-color: #fff9f9;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-right: 0;
    text-align: center;
    flex: 1;

}

.jgjs-tab-active {
    background-color: #bc1906;
    color: white;
    font-weight: 500;
}

.jgjs-organization-content {
    background: #fff;
    padding: 20px;
    padding-bottom: 60px;
    border: 1px solid #f0f0f0;
    border-top: none;
}

.jgjs-organization-dept-grid {
    display: flex;
    flex-wrap: wrap;
}

.jgjs-department-item {
    padding: 15px 20px;
    font-size: 18px;
    color: #0c0c0c;
    background-color: #f8f8f8;
    margin-right: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jgjs-department-item:hover {
    background: #eaeaea;
    color: #bc1906;
}

.jgjs-tab-content {
    display: none;
}

.jgjs-tab-content.active {
    display: block;
}

/* 工会历史模块 */
.jgjs-history {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    background-color: #fff;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.jgjs-history-header {
    display: flex;
    align-items: center;
    background-color: #bc1906;
    height: 60px;
    padding: 0 50px;
}

.jgjs-history-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.jgjs-history-title {
    padding-left: 13px;
    height: 33px;
    font-weight: 500;
    font-size: 24px;
    line-height: 33px;
    letter-spacing: 2px;
    text-align: left;
    font-style: normal;
    color: #fff;
}

.jgjs-history-list {
    padding: 20px 40px 30px;
}

.jgjs-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px dashed #e5e5e5;
    position: relative;
    padding-left: 15px;
}

.jgjs-history-item::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #bc1906;
    font-size: 20px;
    line-height: 20px;
}

.jgjs-history-item:last-child {
    border-bottom: none;
}

.jgjs-history-content {
    font-family: PingFangSC, PingFang SC;
    font-size: 20px;
    color: #2f2e2e;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    margin-right: 15px;
    text-decoration: none;
}

.jgjs-history-content:hover {
    color: #bc1906;
}

.jgjs-history-date {
    color: #2f2e2e;
    font-size: 18px;
    white-space: nowrap;
}

/* 分页样式 */
.jgjs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding-bottom: 20px;
}

.jgjs-pagination-info {
    font-size: 14px;
    color: #606266;
    margin-right: 10px;
}

.jgjs-pagination-select {
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    padding: 5px 10px;
    margin-right: 15px;
    font-size: 14px;
    color: #606266;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23606266%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    padding-right: 25px;
}

.jgjs-pagination-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 32px;
    height: 32px;
    margin: 0 5px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #606266;
    text-decoration: none;
}

.jgjs-pagination-btn:hover {
    color: #bc1906;
    border-color: #bc1906;
}

.jgjs-pagination-btn.active {
    background-color: #bc1906;
    color: #fff;
    border-color: #bc1906;
}

/* 面包屑导航样式 */
.breadcrumb {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 15px 0;
    display: flex;
    align-items: center;
    font-family: PingFangSC, PingFang SC;
}

.breadcrumb-item {
    font-size: 16px;
    color: #303133;
    text-decoration: none;
    padding: 0 5px;
    transition: color 0.3s;
}

.breadcrumb-item:first-child {
    padding-left: 0;
	font-weight: 700;
}

.breadcrumb-item:hover {
    color: #bc1906;
}

.breadcrumb-item.active {
    color: #606266;
    cursor: default;
}

.breadcrumb-separator {
    margin: 0 5px;
    color: #606266;
    font-weight: bold;
}




@media screen and (max-width: 768px) {
    .jgjs-title{
        margin-top: 10px;
        font-size: 24px;
        margin-bottom: 16px;
    }
    .jgjs-row{
        width: 95%;
        margin: 0 auto;
    }
    .jgjs-content{
        font-size: 16px;
        line-height: 30px;
    }
    .jgjs-lc .swiper{
        width: 95% !important;
    }
    .jgjs-leader-container{
        width: 95%;
        margin: 0 auto;
        flex-direction:column;
    }
    .jgjs-leader-main{
        width: 100%;
    }
    .jgjs-leader-box{
        flex-direction: column;
    }
    .jgjs-leader-image-box{
        width: auto;
        height: auto;
        margin-right: 0;
    }
    .jgjs-leader-name{
        margin-top: 0;
        font-size: 20px;
        margin-bottom: 0;
    }
    .jgjs-leader-position{
        font-size: 16px;
        margin-top: 0;
    }
    .jgjs-leader-item{
        width: 50%;
    }
    .jgjs-leader-item-name{
        font-size: 19px;
        
    }
    .jgjs-leader-item-position{
        font-size: 16px;
    }
    .jgjs-news-sidebar{
        width: 100%;
    }
    .jgjs-union-content{
        font-size: 20px;
    }
    .jgjs-organization-title{
        font-size: 22px;
    }
    /* 机构设置标签栏左右滑动 */
    .jgjs-organization-tabs-box {
        width: 100%;
        overflow: hidden;
    }
    
    .jgjs-organization-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch; /* 增强iOS的滚动体验 */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding-bottom: 5px; /* 为可能的滚动条预留空间 */
    }
    
    .jgjs-organization-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .jgjs-tab {
        flex: 0 0 auto;
        padding: 0px 15px;
        font-size: 14px;
    }
    .jgjs-department-item{
        font-size: 14px;
    }
    .breadcrumb-separator{
        font-size: 14px;
    }
    .breadcrumb{
        width: 95%;
        margin: 0 auto;
    }
    .jgjs-history-list{
        padding: 0;
        width: 95%;
        margin: 0 auto;
    }
    .jgjs-history-item::before{
        display: none;
    }
    .jgjs-history-item{
        padding: 10px 0;
    }
    .jgjs-history-header{
        padding: 0 20px;
    }
    .jgjs-history-content{
        font-size: 18px;
    }
    .jgjs-history-date{
        font-size: 16px;
    }
}