/* ===================== 二维码模态框样式 ===================== */

/* 二维码模态框的背景 */
.qr-code-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    animation: fadeIn 0.3s;
}

/* 二维码内容容器 */
.qr-code-content {
    background-color: #fff;
    padding: 20px;
    width: 200px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: absolute; /* 动态定位 */
}

/* 二维码图片样式 */
.qr-code-content img {
    width: 100%;
    height: auto;
    max-width: 150px; /* 缩小图标大小 */
}

/* 关闭按钮样式 */
.qr-code-modal .close {
    display: none;
}

.qr-code-modal .close:hover,
.qr-code-modal .close:focus {
    color: #000;
    text-decoration: none;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .qr-code-content {
        /* 居中显示 */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* 调整社交图标的大小 */
.social-icon li a {
    width: 40px; /* 缩小图标大小 */
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px; /* 图标间距 */
}

.social-icon li a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 针对大屏幕的动画 */
@media (min-width: 769px) {
    .qr-code-content.slide-down {
        animation: slideDown 0.3s forwards;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

/* 隐藏类 */
.hidden {
    display: none;
}

.qr-code-img.active {
    display: block;
}

/* ===================== 视频模态框样式 ===================== */

/* 视频模态框的背景 */
.video-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1001; /* 确保视频模态窗口在二维码模态框之上 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* 更深的背景以突出视频 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    animation: fadeIn 0.3s;
}

/* 视频内容容器 */
.video-modal .modal-content {
    position: relative;
    background-color: #000; /* 视频背景颜色 */
    padding: 0;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    animation: slideDown 0.3s forwards;
}

/* 关闭按钮样式 */
.video-modal .close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1002;
}

/* 视频播放器样式 */
.video-modal video {
    width: 100%;
    height: auto;
    display: block;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .video-modal .modal-content {
        width: 95%;
    }
}

/* ===================== 错误提示样式 ===================== */
.error-message {
    color: #ff4747; /* 设置文字颜色为红色 */
    font-size: 12px; /* 调整文字大小 */
    margin-top: 5px; /* 增加与输入框的距离 */
    font-weight: normal;
    display: flex;
    align-items: center;
}

/* ===================== 链接样式 ===================== */
/* 隐藏默认复选框 */
#accepted_terms {
    display: none;
}

/* 自定义复选框 */
#accepted_terms + label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

#accepted_terms + label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #e661a7; /* 外框颜色 */
    border-radius: 4px;
    background-color: #fff;
}

/* 对勾样式 */
#accepted_terms:checked + label::after {
    content: "✔";
    position: absolute;
    top: -2px;
    left: 3px;
    font-size: 16px;
    color: #e661a7; /* 对勾颜色 */
}

/* 链接样式 */
.checkboxs a {
    color: #333; /* 设置链接的颜色 */
    text-decoration: underline; /* 添加下划线 */
    font-weight: bold; /* 加粗字体 */
}

/* 鼠标悬停效果 */
.checkboxs a:hover {
    color: #e661a7; /* 设置悬停时的颜色 */
    text-decoration: underline;
}


/* ===================== news_and_reports ===================== */

/* 新闻与报道区域 */
.news-item-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* 新闻块样式 */
.single-news-item {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    transition: box-shadow 0.3s ease;
    width: 100%;
    height: 420px;
    display: flex;
    flex-direction: column;
}

.single-news-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 图片样式 */
.single-news-item .image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.single-news-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.single-news-item:hover img {
    transform: scale(1.05);
}

/* 内容区域样式 */
.single-news-item .news-item-content {
    padding: 20px;
    background-color: #fff;
    flex-grow: 1;
}

.single-news-item .news-item-content h4 {
    font-size: 20px;
    margin: 10px 0;
    font-weight: bold;
    color: #333;
    text-align: left;
}

.single-news-item .news-item-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: left;
}

/* 作者和评论样式 */
.news-meta {
    display: flex;
    flex-wrap: wrap; /* 允许换行 */
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #777;
}

.news-meta .bx {
    margin-right: 5px;
}

.tags-filter-container {
    width: 100%;
    background-color: #fff;
    padding: 20px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative; /* 相对定位，使其不占用上方的空间 */
    top: 20px; /* 向下偏移 */
}

.page-title-area {
    padding-bottom: 15px;
}

.tags-filter {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    background-color: #fff;
}

.tags-filter .tag {
    font-weight: bold;
    padding: 8px 12px;
    color: #4d3a4d;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.tags-filter .tag:hover {
    background-color: #eee;
}

.tags-filter .tag.active {
    color: #f353ab;
    background-color: #ffe3ef;
}

.dropdown-placeholder {
    font-style: italic;
    color: #aaa; /* 灰色 */
    pointer-events: none; /* 禁止点击 */
    padding: 5px 10px; /* 调整内边距与其他项对齐 */
    text-align: center; /* 居中显示 */
}

/* 下拉样式 */
.dropdown-container {
    display: none;
    position: relative;
    width: 300px;
    margin: 20px auto;
    font-family: 'NotoSansHans-Regular', sans-serif;
}

.dropdown-header {
    background-color: #ffffff;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    color: #4d3a4d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 2px solid #e18ec2;
}

.dropdown-icon {
    color: #e18ec2;
    font-size: 14px;
}

.dropdown-list {
    display: none;
    background-color: #ffffff;
    position: absolute;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e18ec2;
    border-top: none;
}

.dropdown-list li {
    padding: 8px 12px;
    font-size: 12px;
    color: #4d3a4d;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.dropdown-list li:hover {
    background-color: #ffe3ef;
    color: #ffffff;
}

/* 下拉列表选中项样式 */
.dropdown-list li.selected {
    background-color: #fff3fd;
    color: #f353ab;
    font-weight: bold;
}

.load-more {
    text-align: center; /* 使内部内容居中 */
    margin-top: 20px; /* 可选：给按钮容器添加顶部间距 */
}

/* News Section */
.news-section{
	position:relative;
	padding:40px 0px 90px;
}

.auto-container{
	position:static;
	max-width:1200px;
	padding:15px 15px;
	margin:0 auto;
}

.news-block-two{
	position:relative;
	margin-bottom:30px;
}

.news-block-two .inner-box{
	position:relative;
}

.news-block-two .inner-box .image{
	position:relative;
	overflow:hidden;
	background-color:#ff799e;
}

.news-block-two .inner-box .image img{
	position:relative;
	width:100%;
	display:block;
	transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
}

.news-block-two .inner-box:hover .image img{
	opacity:0.5;
	transform:scale(1.02,1.02);
}

.news-block-two .inner-box .lower-content{
	position:relative;
	padding:32px 35px 30px;
	box-shadow:0px 0px 20px rgba(0,0,0,0.10);
}

.news-block-two .inner-box .lower-content .post-date{
	position:relative;
	color:#15192b;
	font-size:14px;
	font-weight:400;
	opacity:0.90;
	margin-bottom:12px;
}

.news-block-two .inner-box .lower-content h5{
	position:relative;
	line-height:1.3em;
	color:#15192b;
	font-weight:500;
	margin-bottom:12px;
}

.news-block-two .inner-box .lower-content h5 a{
	position:relative;
	color:#15192b;
	transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
}

.news-block-two .inner-box .lower-content h5 a:hover{
	color:#ff799e;
}

.news-block-two .inner-box .lower-content .more{
	position:relative;
	color:#181818;
	font-size:14px;
	padding-left:25px;
	transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
}

.news-block-two .inner-box .lower-content .more:before{
	position:absolute;
	content:'';
	left:0px;
	top:1px;
	width:18px;
	height:18px;
	border:2px solid #ff7ca0;
	border-radius:50px;
	transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
}

.news-block-two .inner-box .lower-content .more:hover{
	color:#ff799e;
}

.news-block-two .inner-box .lower-content .more:hover::before{
	background-color:#ff799e;
}



/* 响应式处理 */
@media (max-width: 768px) {
    .tags-filter {
        display: none;
    }

    .dropdown-container {
        display: block;
    }
}

