/*
Theme Name:     NewsPlus Child
Theme URI:      http://labs.saurabh-sharma.net/themes/newsplus/wp/
Description:    Child theme for the NewsPlus theme
Author:         Saurabh Sharma
Author URI:     http://themeforest.net/user/SaurabhSharma
Template:       newsplus
Version:        4.4.0
*/

.gallery {
	align-items: flex-start;
}

@media (max-width: 768px) {
  .gallery {
    gap: 12px;
	  align-items: flex-start;
  }

  .gallery .gallery-item {
    margin: 0;
  }
}

.scroll-to-top {
	bottom:35px !important;
}

/* 在平板 pc上生效 */
@media (min-width: 768px) {
  .single-post #main .main-row {
    margin: 0 120px !important;
  }
}
@media (max-width: 768px) {
  #dpsp-floating-sidebar {
    display: none !important;
  }
	.scroll-to-top {
		bottom: 60px !important;
	}
}
.lwptoc_header {
	margin-bottom: 12px !important;
}
.lwptoc_i {
	padding: 14px 18px 2px !important;
}
.single .entry-header .entry-title{
	color: #FF7B00 !important;
	font-family: Libre Baskerville !important;
}
@media (min-width: 1024px) {
    .single .entry-header .entry-title {
        font-size: 38px !important;
    }
}

.ad-container-1 {
	margin-bottom: 24px;
}

#content h2 {
	font-size: 26px;
	color: #FF7B00 !important;
	font-family: Libre Baskerville !important;
	margin-top: 48px;
}
#content h3 {
	font-size: 22px;
	font-family: Libre Baskerville !important;
}

.entry-content.articlebody p {
	color: #242424;
	font-size: 19px;
	line-height: 32px;
	font-family: Segoe UI !important;
	font-weight:400;
}
.entry-content.articlebody ul li {
	margin-bottom: 0.5rem;
	font-family: Segoe UI !important;
}

.lwptoc_itemWrap .lwptoc_item .lwptoc_item_label {
	display:block;
	margin-bottom:10px;
	font-weight:bold;
}

.page-header .page-title {
	color: #000;
}
ul.nav-menu>li.current-menu-item>a{
	border-bottom-color: #ff7b00;
}
ul.nav-menu>li.current-menu-ancestor>a {
	border-bottom-color: #ff7b00;
}
.grid-row article .post-thumb {
	margin-bottom: 4px !important;
}
.grid-row article h2.entry-title a {
	color: #000 !important;
	font-family: "Inter", Sans-serif !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 28px !important;
	
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	overflow-wrap: break-word;
}
.entry-grid:after {
	display:none !important;
}

/*模版自带面包屑样式*/
/* #main .wrap {
    padding: 0 !important;
}
.breadcrumbs {
    margin-bottom: 0px;
}
.page-header {
    margin-top: 0px !important;
    margin-bottom: 0px;
} */

/*隐藏次要区域*/
#secondary {
	display: none;
}

/*文章页面样式 start*/
#primary:not(.full-width), #container, #sidebar, .two-sidebars #content, .two-sidebars #sidebar-b, .ad-area-above-content {
    padding: 0 14px 0 0 !important;
}
@media (max-width: 768px) {
  #primary:not(.full-width), #container, #sidebar, .two-sidebars #content, .two-sidebars #sidebar-b, .ad-area-above-content {
    padding: 0 0 0 0 !important;
	}
}

#sidebar .entry-content .meta-row {
	display: none !important;
}
#sidebar .entry-list:after {
	display: none !important;
}
#sidebar .entry-title a{
	display: -webkit-box;
	text-decoration: none;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
#sidebar .post-img {
	margin-bottom: 0 !important;
}
@media only screen and (min-width: 840px) {
	#sidebar {
		width: 33.33%;
	}
	#primary {
		width: 66.67%;
	}
}
/*文章页面样式 end*/

#footer .wrap {
	border-top:0 !important;
}

span,p,a,h2 {
	text-shadow:none !important;
}

.site-header {
	padding: 16px 0 !important;
}
.primary-nav li {
	padding:0 2px;
}

#main-nav.fixed {
	position: fixed;
	top: 24px;
	left: 50%; /* 水平方向居中 */
	transform: translate(-50%, -50%); /* 将元素的中心点移动到页面的中心 */
	width: 100%;
}

.elementor-widget-n-accordion .e-n-accordion-item-title{
	justify-content: space-between !important;
}

.site-title {
	width:500px;
}
.site-title a span {
	font-size: 34px;
	font-weight: 700;
	background: linear-gradient(to right, #2196f3 60%, #ff7b00 60%); /* 渐变颜色 */
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.article-recommend-right {
	overflow:hidden;
}
.article-recommend-right .wppm-tile {
	padding-top:2px;
}

/* 分类标题样式 */
.custom-title-wrapper {
	display: flex;
	width:100%;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}
.custom-title-wrapper .see-all {
	font-size: 20px;
	font-weight:500;
	color: #363636;
	text-decoration: underline;
}

/*footer自定义样式*/
#footer {
	margin-top:16px;
}
.notes-left {
	width: 100% !important;
}
.footer-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	gap: 10px;
}
/* 左侧部分 */
.footer-left {
	max-width: 25.1%;
	flex: 1;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: space-around;
	height: 75px;
}
.footer-logo {
	line-height:1.4rem;
	font-size: 1.4rem;
}

.footer-logo .travel {
	color: #FF7D04; /* Travel 颜色 */
}

.footer-logo .china {
	color: #FF7D04; /* China 颜色 */
	font-weight:700
}

.footer-links {
	font-size: 0.9rem;
	color: #555;
}

.footer-links a {
	text-decoration: none;
	color: #555;
}

.footer-links a:hover {
	text-decoration: underline;
}

.footer-links span {
	margin: 0 5px;
	color: #ccc;
}

.footer-copyright {
	font-size: 0.8rem;
	color: #999;
}

/* 右侧部分 */
.footer-right {
	display: flex;
	gap: 20px;
	max-width: 74%;
	flex: 2;
}

.footer-right p {
	font-size: 0.9rem;
	line-height: 20px;
	color: #555;
	margin: 0 auto;
}

.footer-social {
	display: flex;
	align-items: center;
	gap:12px;
}

.footer-social a {
	width: 24px;
	height: 24px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

.footer-social img {
	width: 100%;
	height: auto;
}
.dividing-line {
	width:1px;
	height:75px;
	background-color: #FF8C00;
}
/* 响应式布局 */
@media (max-width: 768px) {
	.footer-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.footer-container div:first-child {
		order: 1;
	}
	.footer-container div:not(:first-child) {
		order: 0;
	}

	.footer-left, .footer-right {
		max-width: 100%;
		flex-direction: column;
		align-items: center;
	}
	.dividing-line {
		display: none;
	}
	.footer-logo {
		display:none;
	}

	.footer-social {
		justify-content: center;
	}
}
