.actnbr-btn,
#actionbar,
.actnbr-hidden,
.actnbr-ellipsis,
.actnbr-popover {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

(function(w,i,s,e) {
}	
}

/* 以上原有网站样式 */
.logo-carousel-container {
	width: 100%;
	height: 100px;
	position: relative;
	overflow: hidden;
	background-color: #ffffff;
	border-radius: 5px;
	margin: 20px 0;
}

.logo-carousel {
	display: flex;
	position: absolute;
	animation: scroll 20s linear infinite;
	width: fit-content;
}

.logo-item {
	flex: 0 0 auto;
	margin: 0 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100px;
	width: 150px;
}

.logo-item img {
	max-width: 100%;
	max-height: 80px;
	object-fit: contain;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	
	100% {
		transform: translateX(calc(-150px * 10 - 40px * 10));
	}
}

.logo-carousel-container:hover .logo-carousel {
	animation-play-state: paused;
}

/* 以上是动态的logo样式 */
/* 整体列表布局 */
.wp-block-query-loop {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	padding: 20px;
}

/* 单个文章卡片样式 */
.wp-block-post {
	border: 1px solid #ddd;
	border-radius: 12px;
	overflow: hidden;
	background-color: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	transition: transform .3s ease, box-shadow .3s ease;
	display: flex;
	flex-direction: column;
}

.wp-block-post:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* 图片样式 */
.wp-block-post-featured-image {
	background: none !important;
}

.wp-block-post-featured-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

/* 内容区块加内边距 */
.post-content-wrapper {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

/* 标题 */
.wp-block-post-title {
	font-size: 20px;
	font-weight: bold;
	color: #222;
	margin-bottom: 20px;
	margin-top: 10px;
}

/* 摘要 */
.wp-block-post-excerpt {
	font-size: 16px;
	color: #555;
	margin-bottom: 20px;
	flex-grow: 1;
}

/* 阅读更多按钮 */
.wp-block-button {
	margin-top: auto;
/* 让按钮永远靠下 */
}

.wp-block-button__link {
	display: inline-block;
	background-color: #28a745;
	color: #fff;
	text-align: center;
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: bold;
	text-decoration: none;
	transition: background-color .3s ease;
}

.wp-block-button__link:hover {
	background-color: #1e7e34;
}

/* 强制给标题和摘要添加左右内边距 */
.wp-block-post-title,
.wp-block-button,
.wp-block-post-excerpt {
	padding-left: 20px;
	padding-right: 20px;
}

/* 强制给标题和标题内的链接都添加左右内边距 */
.wp-block-post-title,
.wp-block-post-title a {
	padding-left: 20px;
	padding-right: 20px;
	display: block;
}

/* ============== 隐藏文章页的冗余缩略图 ============== */
.single .wp-block-post-featured-image {
	display: none !important;
}

/* ============== 图片和标题的间距 ============== */
.wp-block-post .wp-block-group[style*="margin-top"] {
	margin-top: 10px !important;
/* 可以按需调整成 8px、16px 等 */
}

/* ============== 各种间距 ============== */
/* 标题与摘要间距 */
.wp-block-post-title {
	margin-bottom: 12px;
}

/* 摘要与按钮的间距（可调小） */
.wp-block-post-excerpt {
	margin-bottom: 12px;
}

/* 阅读更多按钮与内容的默认位置 */
.wp-block-button {
	margin-top: auto;
	padding-top: 0;
}

/* 进一步调整按钮位置细节 */
.wp-block-button__link {
	margin-top: 8px;
/* 调整按钮与摘要的距离 */
}




/* 强制 BetterDocs 搜索框内的所有标题变白 */
.betterdocs-search-header h1,
.betterdocs-search-header h2,
.betterdocs-search-header h3,
.betterdocs-search-header .heading,
.betterdocs-search-header .subheading {
    color: #ffffff !important;
    text-shadow: 0 1px 5px rgba(0,0,0,0.1); /* 加一点阴影防看不清 */
}

/* 强制副标题变白并加一点透明度 */
.betterdocs-search-header h6,
.betterdocs-search-header .subheading {
    color: #ffffff !important;
    opacity: 0.9;
}





/* 强制隐藏 BetterDocs 面包屑导航 */
#betterdocs-breadcrumb,
nav.betterdocs-breadcrumb {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 手机端搜索框适配修复 */
@media screen and (max-width: 768px) {
    /* 针对 betterdocs 搜索表单 */
    form.betterdocs-searchform {
        width: 90% !important;       /* 强制宽度为屏幕的 90%，留出一点边距 */
        max-width: 100% !important;  /* 防止它超过屏幕 */
        min-width: auto !important;  /*如果原插件设置了最小宽度，把它取消掉 */
        margin-left: auto !important;  /* 确保左边自动居中 */
        margin-right: auto !important; /* 确保右边自动居中 */
        left: 0 !important;            /* 防止定位偏移 */
        right: 0 !important;
    }
    
    /* 这是一个保险措施，确保父级容器也不会撑开 */
    .betterdocs-live-search {
        width: 100% !important;
        padding-left: 10px;
        padding-right: 10px;
    }
}


.betterdocs-entry-title {
display: none;
}