/**
 * Theme Name: JustNews Child
 * Theme URI: https://www.wpcom.cn/themes/justnews.html
 * Description: JustNews 子主题
 * Template: justnews
 * Version: 1.0.0
 * Author: WPCOM
 * Author URI: https://www.wpcom.cn
 * Requires at least: 6.3.0
 * Requires PHP: 7.4
 */
:root{--theme-color: #1A74E8; --theme-hover: #164EA6; --logo-height: 56px; --logo-height-mobile: 24px; --menu-item-gap: 32px; --theme-body-bg-color: #FFFFFF; --theme-body-bg-image-repeat: no-repeat; --theme-body-bg-image-size: cover; --theme-body-bg-image-position: center top; --special-color: #333; --header-bg-color: #FFFFFF; --header-bg-image: none; --theme-border-radius-s: 7px; --theme-border-radius-m: 8px; --theme-border-radius-l: 10px; --theme-border-radius-xl: 12px; --thumb-ratio-default: 480 / 300; --thumb-ratio-post: 480 / 300; --post-video-ratio: 860 / 482;}
/** white theme**/

.member-form-logo img{
	width:100%;
}

a:focus {
	outline:none!important;
}
a:focus-visible {
	outline:5px auto -webkit-focus-ring-color;
}
body>header.header {
	-webkit-backdrop-filter:blur(5px);
	backdrop-filter:blur(5px);
	background:hsla(0,0%,100%,.5);
	box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 5px 0 rgba(0,0,0,.23);
}
body>header.header .logo img {
	}.navbar-action .login,.j-user-wrap {
	display:none!important;
}
body>header.header .wpcom-adv-menu .menu-item-icon {
	font-size:18px;
}
body>header.header .nav>li>a {
	font-size:15px;
	font-weight:600;
}
.navbar-action .publish {
	display:none;
}
.widget-kx-list .kx-title {
	font-weight:500;
}
.post-loop-default .item-excerpt {
	font-size:14px;
	max-height:66px;
	-webkit-line-clamp:3;
	color:#8a8f99;
}
.dropdown-menu .menu-item-icon {
	font-size:16px!important;
}
.footer {
	background:#f8f9fa;
	color:#5f6368;
	padding:50px 0;
}
.footer-sns .sns-icon {
	color:#202124;
}
.page-no-sidebar.member-login .footer a,.page-no-sidebar.member-register .footer a {
	color:#333;
}
.footer a:hover {
	color:#000;
}
.page-no-sidebar.member-login .footer,.page-no-sidebar.member-register .footer {
	background:unset;
	color:#5f6368;
}

.single-post{
	background-color: #fdfdfd;
}
.entry .entry-title {

}
.entry .entry-content {
	font-size: 17px;
}

.entry .entry-content .h2, .entry .entry-content h2 {
    font-family: 'Linux Libertine', 'Georgia', 'Times', 'Source Serif 4', serif;
	font-weight: 400;
}
.entry .entry-content li {
	line-height:inherit;
	margin:8px 0;
}
.entry .entry-content .wp-block-code,.entry .entry-content pre {
	overflow-x:auto;
}
/* fixed */
body>header.header .wpcom-adv-menu>.dropdown:hover>.dropdown-menu {
	transform:scale(1);
}
.kx-list .kx-date.fixed {
	border-radius:20px;
	margin-top:20px;
}
div.ez-toc-widget-sticky-container.is_stuck {
	box-shadow:unset!important;
}
.sidebar .ez-toc-widget-sticky-container {
	opacity:1!important;
}
.sidebar .ez-toc-widget-sticky-container ul.ez-toc-widget-sticky-list ul {
	margin-left:1.5em !important;
}

.comment-form{
	box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .16);
}

/** table **/
.entry .entry-content table {
	width:100%;
	border-collapse:separate;
	border-spacing:0;
	border:1px solid rgba(0,0,0,0.06);
	border-radius:8px;
	overflow:hidden;
	background-color:#fff;
	font-size:14px;
}
.entry .entry-content table th,.entry .entry-content table td {
	padding:15px;
	line-height:1.5;
	text-align:left;
	border:none;
}
.entry .entry-content table thead {
	background-color:#f3f4f6;
}
.entry .entry-content table th {
	font-weight:600;
	color:#111827;
	border-bottom:1px solid rgba(0,0,0,0.1);
}
.entry .entry-content table td {
	color:#374151;
	border-right:1px solid rgba(0,0,0,0.04);
	border-bottom:1px solid rgba(0,0,0,0.04);
}
.entry .entry-content table tbody tr {
	transition:background-color 0.15s ease;
}
/*
.entry .entry-content table tbody tr:last-child td {
	border-bottom:none;
}
*/
 
.entry .entry-content table tbody tr:nth-child(even) {
	background-color:#fafafa;
}
.entry .entry-content table tbody tr:hover {
	background-color:#f3f4f6;
}

/** 响应式横向滚动 **/
@media (max-width: 992px) {
	.entry .entry-content {
		overflow-x: hidden;
	}
	
	.main-content{
		width:100%;
	}

	.entry .entry-content table {
		display: block;
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
	}

	.entry .entry-content table::-webkit-scrollbar {
		height: 6px;
	}

	.entry .entry-content table::-webkit-scrollbar-thumb {
		background: rgba(0,0,0,0.15);
		border-radius: 999px;
	}

	.entry .entry-content table th,
	.entry .entry-content table td {
		min-width: 140px;
	}
}

@media (max-width:767px) {
	body>header.header .logo img {
		height:40px;
	}
}

@media (max-width:991px) {
	body > header.header {
		-webkit-backdrop-filter:none;
		backdrop-filter:none;
		background: #ffffff;
	}
	 body > header.header .navbar-collapse {
        background: #fff !important;
        color: #111827;
        box-shadow: 8px 0 30px rgba(15, 23, 42, 0.12);
        --mobile-menu-bg-color: #fff;
        --mobile-menu-color: #374151;
        --mobile-menu-active-color: #111827;
        --mobile-menu-btn-color: #1a74e8;
        --mobile-menu-btn-bg-color: #f3f6fb;
    }
    body > header.header .navbar-collapse::before {
        background: #fff !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }
    body > header.header .navbar-collapse .nav > li {
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }
    body > header.header .navbar-collapse .nav > li > a,
    body > header.header .navbar-collapse .navbar-action a {
        color: #111827 !important;
    }
    body > header.header .navbar-collapse .nav > li.active > a {
        color: #1a74e8 !important;
        background: #f3f7ff;
    }
    body > header.header .navbar-collapse .m-dropdown {
        color: #64748b;
    }
    body > header.header .navbar-search-input {
        background: #f8fafc !important;
        border: 1px solid #e5e7eb !important;
        color: #111827 !important;
    }
    .navbar-on .icon-bar {
        background: #666 !important;
    }
}