﻿.quick-search-bar {
	position: sticky;
	top: 0;
	z-index: 9999;
	background: transparent;
	border-bottom: none;
	color: #fff;
}
.quick-search-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 16px;
	color: #fff;
}
.quick-search-form {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px;
}
.quick-search-input {
	flex: 1 1 auto;
	height: 36px;
	padding: 6px 10px;
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: 4px;
	background: transparent;
	color: #fff;
	box-sizing: border-box;
	font-size: 14px;
}
.quick-search-button {
	height: 36px;
	padding: 0 12px;
	border: 1px solid rgba(255,255,255,0.4);
	background: transparent;
	color: #fff;
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 36px;
	transform: translateY(-4.5px);
}
.quick-search-button:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.quick-search-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
}
.quick-search-tags a {
	display: inline-block;
	padding: 4px 10px;
	background: transparent;
	color: #fff;
	border-radius: 16px;
	border: 1px solid rgba(255,255,255,0.3);
	font-size: 13px;
	line-height: 20px;
	text-decoration: none;
}
.quick-search-tags a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

/* 当搜索栏被移动到头部时的样式调整 */
.quick-search--in-header {
	position: relative !important;
	top: auto !important;
	z-index: auto;
	border-bottom: none;
	background: transparent;
}
.quick-search--in-header .quick-search-inner {
	padding: 6px 12px;
}
.quick-search--in-header .quick-search-input {
	height: 36px;
	border-color: rgba(255,255,255,0.3);
}
.quick-search--in-header .quick-search-button {
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 36px;
	transform: translateY(-4.5px);
}

/* 输入框交互更贴合主题 */
.quick-search-input:focus {
	outline: none;
	border-color: rgba(255,255,255,0.6);
	box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
}
.quick-search-input::placeholder {
	color: rgba(255,255,255,0.65);
}

/* 链接与整体文本白色，确保可读性 */
.quick-search-bar a { color: #fff; }

/* 紧凑首页：移除指定 Elementor 空白容器（更高优先级） */
.elementor-element.elementor-element-c734350,
.elementor-section.elementor-top-section.elementor-element.elementor-element-c734350 {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}
/* 该容器可能有内层 wrap 仍撑开高度，进一步清理 */
.elementor-element.elementor-element-c734350 .elementor-container,
.elementor-element.elementor-element-c734350 .elementor-column,
.elementor-element.elementor-element-c734350 .elementor-widget-wrap {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}

/* 去除无用的分割线/形状分隔（Elementor Shape Divider） */
.elementor-shape,
.elementor-shape-top,
.elementor-shape-bottom,
.elementor-section .elementor-shape {
	display: none !important;
	height: 0 !important;
}
/* 彻底隐藏 shape 的 SVG 与填充路径 */
.elementor-shape svg,
.elementor-shape-top svg,
.elementor-shape-bottom svg,
.elementor-section .elementor-shape svg,
.elementor-shape .elementor-shape-fill,
.elementor-shape-top .elementor-shape-fill,
.elementor-shape-bottom .elementor-shape-fill {
	display: none !important;
	visibility: hidden !important;
}
/* 避免 section 由于 shape 溢出导致出现线条 */
.elementor-section,
.elementor-top-section {
	overflow: visible !important; /* 防止默认 overflow 对 shape 的影响 */
}

/* 隐藏顶部社交栏：site__col float-right top-social */
.site__col.float-right.top-social {
	display: none !important;
	visibility: hidden !important;
}
.site__col.float-right.top-social * {
	display: none !important;
}
/* 移除 section 顶/底部伪元素分隔线（部分主题使用 ::before/::after 绘制） */
.elementor-section.elementor-top-section::before,
.elementor-section.elementor-top-section::after,
.elementor-section::before,
.elementor-section::after {
	content: none !important;
	display: none !important;
}
/* 防止边框作为分隔线出现 */
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget-wrap {
	border: none !important;
}

/* 进一步隐藏指定空白 section：elementor-element-73b1dd4 */
.elementor-element.elementor-element-73b1dd4,
.elementor-section.elementor-top-section.elementor-element.elementor-element-73b1dd4 {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}
.elementor-element.elementor-element-73b1dd4 .elementor-container,
.elementor-element.elementor-element-73b1dd4 .elementor-column,
.elementor-element.elementor-element-73b1dd4 .elementor-widget-wrap {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}
/*
Theme Name: VidoRev Child
Template: vidorev
Theme URI: http://demo.beeteam368.com/vidorev/
Author: BeeTeam368
Author URI: http://themeforest.net/user/beeteam368
Description: Video WordPress Theme
Version: 1.0.4
License: Themeforest Licence
License URI: http://themeforest.net/licenses
Text Domain: vidorev
Tags: translation-ready, one-column, two-columns, three-columns, right-sidebar, custom-menu, editor-style, featured-images, theme-options, rtl-language-support
*/

/* Sidebar search (archive/category): keep input + button inline and visible */
body.archive aside#main-sidebar .widget_search .widget-item-wrap .search-form,
body.category aside#main-sidebar .widget_search .widget-item-wrap .search-form{
	display:flex !important;
	flex-direction:row !important;
	flex-wrap:nowrap !important;
	align-items:stretch !important;
	gap:0 !important;
}

body.archive aside#main-sidebar .widget_search .widget-item-wrap .search-form:after,
body.category aside#main-sidebar .widget_search .widget-item-wrap .search-form:after{
	content:none !important;
}

body.archive aside#main-sidebar .widget_search .widget-item-wrap .search-form > label,
body.category aside#main-sidebar .widget_search .widget-item-wrap .search-form > label{
	flex:1 1 auto !important;
	min-width:0 !important;
	margin:0 !important;
}

body.archive aside#main-sidebar .widget_search .widget-item-wrap .search-form > label > .search-field,
body.category aside#main-sidebar .widget_search .widget-item-wrap .search-form > label > .search-field{
	width:100% !important;
	min-width:0 !important;
	box-sizing:border-box !important;
	height:36px !important;
	margin:0 !important;
	padding:0 12px !important;
	text-transform:none !important;
	border-top-right-radius:0 !important;
	border-bottom-right-radius:0 !important;
	border-right:none !important;
}

body.archive aside#main-sidebar .widget_search .widget-item-wrap .search-form > .search-submit,
body.category aside#main-sidebar .widget_search .widget-item-wrap .search-form > .search-submit{
	position:static !important;
	flex:0 0 auto !important;
	min-width:0 !important;
	width:auto !important;
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
	white-space:nowrap !important;
	height:36px !important;
	line-height:36px !important;
	padding:0 14px !important;
	background-image:none !important;
	background:rgba(255,255,255,0.08) !important;
	color:rgba(255,255,255,0.92) !important;
	border:1px solid rgba(255,255,255,0.18) !important;
	border-radius:0 !important;
	margin:0 0 0 -1px !important;
	box-shadow:none !important;
	text-indent:0 !important;
}

body.archive aside#main-sidebar .widget_search .widget-item-wrap .search-form > .search-submit:hover,
body.archive aside#main-sidebar .widget_search .widget-item-wrap .search-form > .search-submit:focus,
body.category aside#main-sidebar .widget_search .widget-item-wrap .search-form > .search-submit:hover,
body.category aside#main-sidebar .widget_search .widget-item-wrap .search-form > .search-submit:focus{
	background-image:none !important;
	background:rgba(255,255,255,0.14) !important;
	color:#FFFFFF !important;
	border-color:rgba(255,255,255,0.28) !important;
}

/* Category/archive sidebar: make search widget box match categories widget box */
body.category aside#main-sidebar .widget_search .widget-item-wrap,
body.archive aside#main-sidebar .widget_search .widget-item-wrap{
	border: none !important;
	/* 让搜索表单与父级同宽（不加搜索外框，不留左右内边距） */
	padding: 0 !important;
	box-sizing: border-box !important;
	display: block !important;
}

body.category aside#main-sidebar .widget_search .widget-item-wrap .search-form,
body.archive aside#main-sidebar .widget_search .widget-item-wrap .search-form{
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}