/*======================
   01. Google fonts
========================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
.login-btn {
    background-color: #ffffff !important;
    border: 2px solid #007bff !important;
    color: #007bff !important;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #007bff !important;
    color: #ffffff !important;
}
/*======================
   02. Basic css
========================*/
:root{
	--blue: #3167eb;
}
html{
	font-size: 62.5%;
}
a, button{
	-webkit-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
strong,
i,
ol,
ul,
li,
form,
label,
footer,
header,
menu,
nav,
section {
	margin: 0;
	padding: 0;
}

body {
	line-height: 1.4;
	font-family: 'Poppins', sans-serif;
	background-color: #fafbff;
	color: #4a5a7e;
	font-weight: 400;
	font-size: 1.5rem;
}

ol,
ul {
	list-style: none;
}

a:hover {
	text-decoration: none;
}

button:focus,
a:focus,
input:focus,
textarea:focus{
	outline: none;
}
header {
	background-color: #fff;
	-webkit-box-shadow: 0 0 .1rem .1rem rgba(33, 41, 63, 0.1);
	        box-shadow: 0 0 .1rem .1rem rgba(33, 41, 63, 0.1);
	padding: 0.8rem 0;
}
.logo{
	-ms-flex-negative: 0;
	    flex-shrink: 0;
	width: 14rem;
}
.language{
   background-color: #F5F6FD;
   border: .1rem solid #F5F6FD;
   border-radius: .4rem;
   padding: 0 1.2rem;
   font-weight: 400;
   font-size: 1.3rem;
   line-height: 2.4rem;
   color: #2B3D53;
   height: 3.5rem;
   width: 13rem;
   line-height: 3.3rem;
}
.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
   background-color: #F5F6FD;
}
.button {
	text-align: center;
	display: inline-block;
	text-transform: capitalize;
	transition: 0.3s;
	min-width: 10rem;
	height: 3.5rem;
	color: #FFFFFF;
	font-weight: 500;
	font-size: 1.4rem;
	line-height: 3.5rem;
	letter-spacing: 0.05rem;
	background-color: var(--blue);
	border-radius: .4rem;
	margin-left: 1rem;
}
.button:hover {
	color: #fff;
	background: #0A59CE;
}
.social_icons{
	margin-left: 1rem;
}
.social_icons a {
	margin-right: 0.5rem;
	font-size: 1.6rem;
	color: #5c6c8f;
	-webkit-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
	border: 1px solid rgba(74, 89, 106, 0.2);
	width: 3.5rem;
	height: 3.5rem;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	border-radius: 0.4rem;
}
.social_icons a:last-child{
	margin-right: 0;
}
.social_icons a:hover {
	color: var(--blue);
	border-color: var(--blue);
	-webkit-box-shadow: 0 .4rem 1.2rem rgba(129, 144, 173, 0.1);
	        box-shadow: 0 .4rem 1.2rem rgba(129, 144, 173, 0.1);
}
.news_area{
	padding-bottom: 10rem;
}
.news_area h2 {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--blue);
	border-bottom: 1px solid var(--blue);
	padding-bottom: 1rem;
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
}
.news_area h2 img{
	width: 2.5rem;
	height: 2.5rem;
	object-fit: cover;
	margin-right: 0.8rem;
	border-radius: 0.2rem;
	box-shadow: 1px 1px 2px 1px rgba(161,161,161,.2);
	flex-shrink: 0;
}
.news_area ul li{
	margin-top: 1rem;
}
.news_area ul li a{
	padding: 1.2rem;
	display: block;
	position: relative;
	display: flex;
	align-items: center;
	background-color: #fff;
	border: 0.1rem solid rgba(161,161,161,.2);
	border-radius: 0.8rem;
}
.news_area ul li a>img{
	width: 15rem;
    height: 8rem;
    object-fit: cover;
    margin-right: 1rem;
    border-radius: 0.4rem;
    min-width: 15rem;
    object-position: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* 添加2px外发光效果 */
}
.news_area ul li a:hover{
	background-color: var(--blue);
}
.news_area ul li a h4 {
	color: #32393f;
	font-weight: 600;
	font-size: 1.4rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	overflow: hidden;
	-webkit-box-orient: vertical;
	max-height: 6rem;
	-webkit-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
	line-height: 1.35;
}
.news_area ul li a:hover h4{
	color: #fff;
}
.news_area ul li a .tip_box {
	display: block;
	font-size: 1.4rem;
	position: absolute;
	padding: 1.0rem 1.2rem;
	top: 160%;
	left: 5%;
	width: 90%;
	background: #333;
	box-shadow: 0 0 0.5rem #000;
	color: #FFFFFF;
	text-align: left;
	z-index: 100;
	opacity: 0;
	pointer-events: none;
	z-index: 2;
}
.news_area ul li a .tip_box p {
	display: -webkit-box;
	-webkit-line-clamp: 5;
	overflow: hidden;
	-webkit-box-orient: vertical;
	max-height: 10rem;
}

.news_area ul li a .tip_box img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news_area ul li a:hover .tip_box {
	opacity: 1;
}
.news_area ul li a .tip_box .t{
	display: block;
	color: var(--blue);
	margin-top: 0.4rem;
}
footer{
	padding: 3rem 0;
	background-color: #fff;
	-webkit-box-shadow: 0 0 0.1rem 0.1rem rgba(33, 41, 63, 0.1);
	        box-shadow: 0 0 0.1rem 0.1rem rgba(33, 41, 63, 0.1);
}
.right_content{
	display: flex;
	align-items: center;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    width: 90%;
    max-width: 500px;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: #000;
}

