/*!
Theme Name: FitX
Theme URI: http://underscores.me/
Author: Baiding
Author URI: https://www.baad.in
Description: Theme for fitgear.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fitx
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

FitX is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


html {
line-height: 1.15;
-webkit-text-size-adjust: 100%;
}

/* Sections
    ========================================================================== */

/**
* Remove the margin in all browsers.
*/
body {
margin: 0;
}

/**
* Render the `main` element consistently in IE.
*/
main {
display: block;
}
.container{
width: 100%;
max-width: 1366px!important;
}
/* Grouping content
    ========================================================================== */

/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/

/**
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent;
}

/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;
text-decoration: underline;
text-decoration: underline dotted;
}

/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder;
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace;
font-size: 1em;
}

/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}

/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}

sub {
bottom: -0.25em;
}

sup {
top: -0.5em;
}

/* Embedded content
    ========================================================================== */

/**
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none;
}

/* Forms
    ========================================================================== */

/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
overflow: visible;
}

/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
text-transform: none;
}

/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}

/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}

/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}

/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}

/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
*		`fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal;
}

/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline;
}

/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
overflow: auto;
}
.bwa{
	overflow-wrap: anywhere;
  	word-break: break-word;
  	hyphens: auto;
}

/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
padding: 0;
}

/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}

/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px;
}

/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}

/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}

/* Interactive
    ========================================================================== */

/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block;
}

/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}

/* Misc
    ========================================================================== */

/**
* Add the correct display in IE 10+.
*/
template {
display: none;
}

/**
* Add the correct display in IE 10.
*/
[hidden] {
display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	width: 100%;
	min-height: 550px;
	border-radius: 12px;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #333;
}

a:visited {
	color: #333;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

.gap::before {
  content: "·";
  display: inline-block;
  margin: 0 3px;
  color: #666;
  font-size: 14px;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

.sidebar-widget {
	position: sticky;
	top: 70px;
}

.sidebar-left{
	position: sticky!important;
	top: 70px;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
/*rtl:ignore*/
	float: left;
/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
/*rtl:ignore*/
	float: right;
/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* ==========================================================================
Header Styles - Flat Design
========================================================================== */

/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Header Container */
.site-header {
	position: relative;
	background: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

/* ==========================================================================
Top Bar (First Row)
========================================================================== */
.topbar {
	background: #2c3e50;
	padding: 0;
	font-size: 14px;
}

.topbar-container {
	max-width: 1366px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
}

/* Top Menu */
.top-menu ul {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
}

.top-menu li {
	margin-right: 20px;
}

.top-menu a {
	color: #ecf0f1;
	text-decoration: none;
	transition: color 0.3s ease;
	font-weight: 400;
}

.top-menu a:hover {
	color: #3498db!important;
}

/* Social Media Icons */
.social-media {
	display: flex;
	align-items: center;
}

.social-icon {
	display: inline-block;
	width: 32px;
	height: 32px;
	margin-left: 10px;
	background: #34495e;
	border-radius: 50%;
	text-align: center;
	line-height: 32px;
	color: #ecf0f1;
	font-size: 16px;
	transition: all 0.3s ease;
	text-decoration: none;
}

.social-icon:hover {
	background: #3498db;
	transform: translateY(-2px);
}

/* ==========================================================================
Main Header (Second Row)
========================================================================== */
.main-header {
	background: #ffffff;
	padding: 15px 0;
	transition: all 0.3s ease;
}

.main-header.sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding: 10px 0;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(0);
	}
}

.header-container {
	max-width: 1366px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
}

/* Logo */
.site-logo img {
	max-height: 50px;
	width: auto;
	transition: all 0.3s ease;
}

.main-header.sticky .site-logo img {
	max-height: 40px;
}

/* Main Navigation */
.main-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-right: 30px;
}

.main-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	
}

.main-menu > li {
	position: relative;
	margin: 0;
}

.main-menu a {
	display: flex;
	align-items: center;
	color: #2c3e50;
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	padding: 10px 15px;
	border-radius: 25px;
	transition: all 0.3s ease;
}

.main-menu a:hover {
	color: #ffffff;
	transform: translateY(0px);
}

/* Menu Icons */
.menu-icon {
	margin-right: 8px;
	font-size: 18px;
}

/* Dropdown Arrow */
.dropdown-arrow {
	margin-left: 8px;
	font-size: 12px;
	transition: transform 0.3s ease;
	display: inline-block;
}

.main-menu li:hover .dropdown-arrow {
	transform: rotate(180deg);
}

.main-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #ffffff;
	white-space: nowrap;
	list-style: none;
	padding: 10px 20px 10px 20px;
	margin: 0;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 1001;
	flex-direction: column;
}

.main-menu li:hover .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-menu .sub-menu li {
	margin: 0;
}

.main-menu .sub-menu a {
	padding: 10px 20px;
	border-radius: 0;
	background: transparent;
	transform: none;
}

.main-menu .sub-menu a:hover {
	background: #ecf0f1;
	color: #2c3e50;
	transform: none;
}

/* Header Actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 15px;
}

/* Search Button */
.search-toggle {
	background: #3498db;
	color: #ffffff;
	border: none;
	padding: 10px 15px;
	border-radius: 25px;
	cursor: pointer;
	font-size: 16px;
	transition: all 0.3s ease;
}

.search-toggle:hover {
	background: #2980b9;
	transform: translateY(0px);
}

/* Language Selector */
.language-selector {
	background: #95a5a6;
	color: #ffffff;
	border: none;
	padding: 10px 15px;
	border-radius: 25px;
	cursor: pointer;
	font-size: 16px;
	transition: all 0.3s ease;
}

.language-selector:hover {
	background: #7f8c8d;
	transform: translateY(0px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	color: #2c3e50;
	cursor: pointer;
	padding: 5px;
}

/* Search Overlay */
/* Search Overlay */
.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(44, 62, 80, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	opacity: 0.5;
	visibility: hidden;
	transition: all 0.3s ease;
}

.search-overlay.active {
	opacity: 1;
	visibility: visible;
}

.search-form {
	background: #ffffff;
	padding: 40px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	max-width: 500px;
	width: 90%;
	position: relative;
}

.search-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.search-input {
	width: 100%;
	padding: 3px 60px 3px 20px!important;
	border: 2px solid #ecf0f1;
	border-radius: 50px!important;
	font-size: 18px;
	outline: none;
	transition: border-color 0.3s ease;
	background: #ffffff;
	height: 40px;
}

.search-input:focus {
	border-color: #3498db;
}

.search-submit {
	position: absolute;
	right: 0px;
	top: 50%;
	transform: translateY(-50%);
	background: #000000;
	color: #ffffff;
	border: none;
	padding: 10px 15px;
	border-radius: 0 50px 50px 0;
	cursor: pointer;
	font-size: 16px;
	transition: background 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
}

.search-submit:hover {
	background: #2980b9;
}

.search-close {
	position: absolute;
	top: 1px;
	right: 10px;
	background: none;
	border: none;
	font-size: 20px;
	color: #95a5a6;
	cursor: pointer;
	padding: 5px;
	transition: color 0.3s ease;
	font-weight: 400!important;
}

.search-close:hover {
	color: #2c3e50;
}

/* ==========================================================================
Mobile Styles
========================================================================== */
@media(min-width: 768px) {
	.mobile-menu {
		display: none;
	}
}

@media (max-width: 768px) {
/* Hide desktop elements */
	.topbar {
		display: none;
	}

	.main-menu,
.search-toggle,
.language-selector {
		display: none;
	}

	.mobile-menu-toggle {
		display: block;
	}

/* Mobile Header */
	.header-container {
		padding: 0 15px;
	}

	.site-logo img {
		max-height: 40px;
	}

/* Mobile Menu Overlay */
	.mobile-menu-overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(44, 62, 80, 0.95);
		z-index: 1500;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
	}

	.mobile-menu-overlay.active {
		opacity: 1;
		visibility: visible;
	}

	.mobile-menu {
		position: absolute;
		top: 0;
		right: 0;
		width: 280px;
		height: 100%;
		background: #ffffff;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		overflow-y: auto;
	}

	.mobile-menu-overlay.active .mobile-menu {
		transform: translateX(0);
	}

	.mobile-menu-header {
		padding: 20px;
		border-bottom: 1px solid #ecf0f1;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.mobile-menu-close {
		background: none;
		border: none;
		font-size: 24px;
		color: #2c3e50;
		cursor: pointer;
		padding: 5px;
	}

	.mobile-menu ul {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.mobile-menu li {
		border-bottom: 1px solid #ecf0f1;
	}

	.mobile-menu a {
		display: flex;
		align-items: center;
		padding: 10px 20px;
		color: #2c3e50;
		text-decoration: none;
		font-weight: 500;
		transition: background 0.3s ease;
	}

	.mobile-menu a:hover {
		background: #ecf0f1;
	}

	.mobile-menu .menu-icon {
		margin-right: 10px;
		font-size: 18px;
		color: #3498db;
	}

/* Mobile Search Form */
	.mobile-search-form {
		padding: 20px;
		border-top: 1px solid #ecf0f1;
	}

	.mobile-search-input {
		width: 100%;
		padding: 12px 15px;
		border: 2px solid #ecf0f1;
		border-radius: 25px;
		font-size: 16px;
		outline: none;
	}

	.mobile-search-input:focus {
		border-color: #3498db;
	}

/* Mobile Language Selector */
	.mobile-language-selector {
		padding: 20px;
		border-top: 1px solid #ecf0f1;
	}

	.mobile-language-selector select {
		width: 100%;
		padding: 12px 15px;
		border: 2px solid #ecf0f1;
		border-radius: 25px;
		font-size: 16px;
		outline: none;
		background: #ffffff;
	}
}

@media (max-width: 480px) {
	.header-container {
		padding: 0 10px;
	}

	.site-logo img {
		max-height: 35px;
	}

	.search-form {
		padding: 30px 20px;
		margin: 0 20px;
	}

	.mobile-menu {
		width: 100%;
	}
}

/* Article - news */

.main-wrap {
	max-width: 100%;
	margin-top: 10px;
}

.position-relative {
	position: relative !important;
	width: 100%;
}

/* Footer styles */
.site-footer {
	background-color: #000000;
	color: #ffffff;
	padding: 40px 0 20px;
	font-family: Arial, sans-serif;
}

.footer-container {
	max-width: 1366px;
	margin: 0 auto;
	padding: 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.footer-column {
	color: #ffffff;
}

.footer-about {
/* First column can take more space */
}

.footer-logo img {
	max-width: 200px;
	height: auto;
	margin-bottom: 15px;
}

.footer-description p {
	color: #cccccc;
	line-height: 1.6;
	margin: 0;
	font-size: 14px;
}

.footer-menu-title {
	color: #ffffff;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 20px;
	margin-top: 0;
}

.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li {
	margin-bottom: 10px;
}

.footer-menu a {
	color: #cccccc;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.footer-menu a:hover {
	color: #ffffff;
}

.footer-copyright {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid #333333;
}

.footer-copyright p {
	color: #999999;
	margin: 0;
	font-size: 14px;
}

/* Responsive design */
@media (max-width: 1366px) {
	.footer-container {
		max-width: 100%;
		padding: 0 20px;
	}
}

@media (max-width: 768px) {
	.footer-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.footer-about {
		text-align: center;
	}

	.footer-logo img {
		max-width: 150px;
	}
}

@media (max-width: 480px) {
	.site-footer {
		padding: 30px 0 15px;
	}

	.footer-container {
		padding: 0 15px;
	}

	.footer-content {
		gap: 25px;
		margin-bottom: 30px;
	}
}

/*  tags archive page */
.tag-container {
	margin: 0 auto;
	max-width: 1366px;
}

.tag-page-header {
	text-align: center;
	padding-bottom: 30px;
	border-bottom: 2px solid #f0f0f0;
}

.tag-page-title {
	font-size: 2.5rem;
	margin-bottom: 15px;
	color: #333;
}

.tag-label {
	color: #666;
	font-weight: normal;
}

.tag-name {
	color: #007cba;
	font-weight: bold;
	text-transform: capitalize;
}

.tag-description {
	margin: 20px 0;
	color: #666;
	font-size: 1.1rem;
}

.tag-posts-count {
	color: #888;
	font-size: 1rem;
}

.tag-posts-count span span {
	color: #666;
	font-size: 1.5rem;
}

.tag-posts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.tag-post-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tag-post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tag-post-thumbnail {
	position: relative;
	height: 200px;
	overflow: hidden;
}

.tag-post-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.tag-post-card:hover .tag-post-image {
	transform: scale(1.05);
}

.tag-no-image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 2rem;
}

.tag-post-content {
	margin: 10px;
}

.tag-post-categories {
	position: absolute;
	top: 15px;
	left: 15px;
}

.tag-category-tag {
	background: #007cba;
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 500;
}

.tag-post-title {
	margin: 0 0 15px 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.5em;
}

@media (max-width: 768px) {
	.tag-post-title {
		font-size: 2rem;
		-webkit-line-clamp: 3;
	}
}

@media (max-width: 480px) {
	.tag-post-title {
		font-size: 1.5rem;
		-webkit-line-clamp: 4;
	}
}

.tag-post-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.tag-post-title a:hover {
	color: #007cba;
}

.tag-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 15px;
	font-size: 0.85rem;
	color: #888;
}

.tag-post-meta span {
	display: flex;
	align-items: center;
	gap: 5px;
}

.tag-post-excerpt {
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
}

.tag-post-tags {
	margin-bottom: 0px;
}

.tag-item {
	display: inline-block;
	background: #f8f9fa;
	color: #6c757d;
	padding: 3px 8px;
	border-radius: 15px;
	font-size: 0.8rem;
	margin-right: 8px;
	margin-bottom: 5px;
}

.tag-no-posts-found {
	grid-column: 1 / -1;
	text-align: center;
	padding: 80px 20px;
}

.tag-no-posts-content {
	color: #666;
}

.tag-no-posts-content i {
	color: #ddd;
	margin-bottom: 20px;
}

.tag-back-home-btn {
	display: inline-block;
	margin-top: 20px;
	padding: 12px 24px;
	background: #e74c3c;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	transition: background 0.3s ease;
}

.tag-back-home-btn:hover {
	background: #c0392b;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.tag-container {
		padding: 20px px;
	}

	.tag-page-title {
		font-size: 2rem;
	}

	.tag-posts-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.tag-post-meta {
		flex-direction: row;
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.tag-container {
		padding: 20px 15px;
	}

	.tag-page-title {
		font-size: 1.8rem!important;
	}

	.tag-post-thumbnail {
		height: 250px;
	}

	.tag-post-meta {
		flex-direction: row;
		gap: 20px;
	}
}

/* categories display style */

.categories-container {
	background: #f9f9f9;
	border: 1px solid #e1e1e1;
	border-radius: 8px;
	padding: 20px;
	margin: 20px 0;
	font-family: Arial, sans-serif;
}

.categories-container h3 {
	margin-top: 0;
	margin-bottom: 15px;
	color: #333;
	font-size: 18px;
	border-bottom: 2px solid #0073aa;
	padding-bottom: 8px;
}

/* parent category */
.parent-category {
	margin-bottom: 15px !important;
	border-left: 4px solid #d63384 !important;
	background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.parent-category-link {
	font-size: 16px;
	font-weight: 700;
	background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
	border-radius: 6px;
}

.parent-category-link:hover {
	background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.parent-category .category-name {
	font-size: 18px;
	color: #d63384;
}

.parent-category .post-count {
	background: #d63384;
	color: white;
	font-weight: 600;
}

/* main category */
.category-list {
	list-style: none;
	padding: 0;
	margin-top: 10px;
}

.category-item {
	margin-bottom: 8px;
	border-left: 3px solid #0073aa;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

display: block;
padding: 12px 15px;
text-decoration: none;
color: #333;
transition: all 0.3s ease;
border-radius: 4px;
}

.category-link:hover {
background-color: #f0f8ff;
color: #0073aa;
text-decoration: none;
}

/* category name */
.category-name {
font-weight: 600;
font-size: 14px;
}

/* sub category */
.sub-category-list {
list-style: none;
padding: 0;
margin: 8px 0 0 0;
background: #fafafa;
border-radius: 0 0 4px 4px;
}

.sub-category-item {
margin-bottom: 0;
border-left: 2px solid #ccc;
background: transparent;
box-shadow: none;
}

/* sub category link */
.sub-category-link {
display: block;
padding: 10px 15px 10px 30px;
text-decoration: none;
color: #555;
font-size: 15px;
transition: all 0.3s ease;
position: relative;
}

.sub-category-link:before {
content: "";
position: absolute;
left: 15px;
color: #999;
font-size: 12px;
}

.sub-category-link:hover {
background-color: #f5f5f5;
color: #0073aa;
text-decoration: none;
}

/* Deeper level of subcategory style */
.sub-category-list.level-2 {
background: #f0f0f0;
}

.sub-category-list.level-2 .sub-category-link {
padding-left: 45px;
 /* More indentation */
font-size: 12px;
}

.sub-category-list.level-2 .sub-category-link:before {
content: "";
left: 20px;
}

/* Empty category prompt style */
.no-categories {
color: #666;
font-style: italic;
text-align: center;
padding: 20px;
margin: 0;
}

/* Responsive design */
@media (max-width: 768px) {
.categories-container {
	padding: 15px;
	margin: 15px 0;
}

.category-link {
	padding: 10px 12px;
}

.sub-category-link {
	padding: 8px 12px 8px 25px;
}

.sub-category-list.level-2 .sub-category-link {
	padding-left: 35px;
}

.category-name {
	font-size: 13px;
}

.post-count {
	font-size: 11px;
}
}

/* animation effects */
.category-item, .sub-category-item {
	transition: transform 0.2s ease;
}

.category-item:hover, .sub-category-item:hover {
	transform: translateX(3px);
}

/* icon */
.category-link:before {
	content: "";
	margin-right: 8px;
	font-size: 14px;
}

.sub-category-link:after {
	content: "";
	margin-right: 5px;
	font-size: 11px;
	position: absolute;
	left: 35px;
}

.sub-category-list.level-2 .sub-category-link:after {
	left: 45px;
}

/* bottom widget */
.bw-row {
	display: flex;
	align-items: stretch;
	gap: 20px;
}

.bw-row > div {
	display: flex;
	flex-direction: column;
}

.bw-container {
	max-width: 100%;
	background: white;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.bw-header {
	padding: 20px 20px 20px;
	color: #666;
	border-bottom: 2px solid #dfdfdf;
}

.bw-header h2 {
	font-size: 1.5rem!important;
	font-weight: 600;
	margin: 0;
}
/* Responsive design*/
@media (max-width: 768px) {
	.bw-row {
		flex-direction: column;
		gap: 10px;
		margin: 0 20px;
	}

	.bw-row > div {
		min-width: unset;
		width: 100%;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.bw-row > div {
		flex: 1 1 calc(50% - 15px);
		min-width: 300px;
	}
}

@media (min-width: 1025px) {
	.bw-row > div {
		flex: 1 1 calc(25% - 15px);
	}
}

@media (max-width: 768px) {
    
	.bw-container {
		margin-top: 10px;
		border-radius: 8px;
	}

	.bw-header {
		padding: 20px;
	}

	.bw-header h2 {
		font-size: 1.25rem;
	}

	.bw-list {
		padding: 0px;
	}
}
/* Top Trending */

.tp-article-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px;
	border-bottom: 1px solid #e9ecef;
	transition: background-color 0.2s ease, transform 0.2s ease;
	cursor: pointer;
	position: relative;
}

.tp-article-item:last-child {
	border-bottom: none;
}

.tp-article-item:hover {
	background-color: #f8f9fa;
	transform: translateX(4px);
}

.tp-article-item:hover .thumbnail img {
	transform: scale(1.05);
}

.tp-thumbnail {
	flex-shrink: 0;
	width: 88px;
	max-height: 120px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.tp-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.tp-article-content {
	flex: 1;
	min-width: 0;
	padding-top: 2px;
}

.tp-article-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #2c3e50;
	line-height: 1.4;
	margin-bottom: 12px;
	text-decoration: none;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.2s ease;
}

.tp-article-title:hover {
	color: #007cba;
}

.tp-article-meta {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 10px;
	color: #6c757d;
}

.tp-article-author {
	color: #495057;
	font-weight: 500;
	letter-spacing: 0.5px;
}

.tp-article-time {
	color: #868e96;
	font-weight: 400;
}

.tp-meta-separator {
	width: 3px;
	height: 3px;
	background-color: #dee2e6;
	border-radius: 50%;
}

@media (max-width: 480px) {

	.tp-article-item {
		padding: 16px;
		gap: 12px;
	}

	.tp-thumbnail {
		width: 70px;
		height: 70px;
	}

	.tp-article-title {
		font-size: 15px;
		line-height: 1.3;
	}

	.tp-article-meta {
		font-size: 11px;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		flex-wrap: wrap;
	}

	.tp-meta-separator {
		display: none;
	}
} 
/* Loading animation */
.tp-article-item {
	opacity: 0;
	animation: fadeInUp 0.3s ease forwards;
}

.tp-article-item:nth-child(1) {
	animation-delay: 0.1s;
}

.tp-article-item:nth-child(2) {
	animation-delay: 0.2s;
}

.tp-article-item:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Add hover effect */
.tp-article-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	background: #007cba;
	transition: width 0.3s ease;
}

.tp-article-item:hover::before {
	width: 4px;
}

.tp-thumbnail img:hovor {
	transform: scale(1.2);
}

/* edtor picked */
.ep-article-item {
	display: flex;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid #e9ecef;
	transition: all 0.2s ease;
	cursor: pointer;
}

.ep-article-item:hover {
	background-color: #f8f9fa;
	transform: translateX(2px);
}

.ep-article-item:last-child {
	border-bottom: none;
}

.ep-thumbnail {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-right: 16px;
	flex-shrink: 0;
	object-fit: cover;
	border: 2px solid #e9ecef;
	transition: transform 0.2s ease;
}

.ep-article-item:hover .ep-thumbnail {
	transform: scale(1.05);
	border-color: #007cba;
}

.ep-article-content {
	flex: 1;
	min-width: 0;
}

.ep-article-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #666;
	line-height: 1.4;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ep-article-title:hover {
	color: #007cba;
}

/* responsive design */ 
@media (max-width: 480px) {
    
	.ep-article-item {
		padding: 12px 16px;
	}

	.ep-thumbnail {
		width: 40px;
		height: 40px;
		margin-right: 10px;
	}

	.ep-article-title {
		font-size: 14px;
	}
}

/* load animotions */
@keyframes ep-fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ep-article-item {
	animation: ep-fadeInUp 0.3s ease forwards;
}

.ep-article-item:nth-child(1) {
	animation-delay: 0.1s;
}

.ep-article-item:nth-child(2) {
	animation-delay: 0.2s;
}

.ep-article-item:nth-child(3) {
	animation-delay: 0.3s;
}

.ep-article-item:nth-child(4) {
	animation-delay: 0.4s;
}

/* last comments */
.lm-articles-list {
	padding: 0;
}

.lm-article-item {
	display: grid;
	grid-template-columns: 20% 80%;
	align-items: flex-start;
	gap: 10px;
	padding: 15px;
	border-bottom: 1px solid #e9ecef;
	transition: background-color 0.2s ease, transform 0.2s ease;
	cursor: pointer;
	position: relative;
}

.lm-article-item:last-child {
	border-bottom: none;
}

.lm-article-item:hover {
	background-color: #f8f9fa;
	transform: translateX(0px);
}

.lm-article-item:hover .thumbnail img {
	transform: scale(1.05);
}

.lm-thumbnail {
	flex-shrink: 0;
	width: 50px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.lm-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.lm-article-content {
	flex: 1;
	min-width: 0;
	padding-top: 2px;
}

.lm-article-title {
	font-size: 16px;
	font-weight: 500;
	color: #2c3e50;
	line-height: 1.4;
	margin-bottom: 12px;
	text-decoration: none;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.2s ease;
}

.lm-article-title:hover {
	color: #667eea;
}

.lm-article-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 10px;
	color: #6c757d;
}

.lm-article-author {
	color: #495057;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.lm-article-time {
	color: #868e96;
	font-weight: 400;
	text-transform: uppercase;
}

.lm-meta-separator {
	width: 3px;
	height: 3px;
	background-color: #dee2e6;
	border-radius: 50%;
}

.lm-post-title {
	grid-column: span 2;
}

    /* Responsive design*/
@media (max-width: 768px) {
	.lm-article-item {
		padding: 20px;
		gap: 14px;
	}

	.lm-thumbnail {
		width: 80px;
		height: 80px;
	}

	.lm-article-title {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.lm-article-meta {
		font-size: 12px;
		gap: 10px;
	}
}

@media (max-width: 480px) {
	.lm-article-item {
		padding: 16px;
		gap: 12px;
	}

	.lm-thumbnail {
		width: 70px;
		height: 70px;
	}

	.lm-article-title {
		font-size: 15px;
		line-height: 1.3;
	}

	.lm-article-meta {
		font-size: 11px;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.lm-meta-separator {
		display: none;
	}
}

        /* Add hover effect */
.lm-article-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	transition: width 0.3s ease;
}

.lm-article-item:hover::before {
	width: 4px;
}

/* Category Articles Container */
.category-articles-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Subcategory Section */
.subcategory-section {
	margin-bottom: 40px;
}

/* Subcategory Header */
.subcategory-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 20px;
	border-bottom: 2px solid #e1e5e9;
}

.subcategory-title {
	color: #333;
	margin: 0;
}

/* View More Link */
.view-more-link {
	background: #007cba;
	color: #ffffff!important;
	border-radius: 10px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	padding: 4px 16px;
	transition: all 0.3s ease;
}

.view-more-link:hover {
	background-color: transparent;
	border: 1px solid #007cba;
	color: #007cba!important;
	text-decoration: none;
}

/* Articles Grid Layout */
.articles-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-bottom: 30px;
}

/* Individual Article Item */
.article-item {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Article Thumbnail */
.article-thumbnail {
	position: relative;
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.article-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.article-item:hover .article-image {
	transform: scale(1.05);
}

/* No Image Placeholder */
.no-image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #888;
	font-size: 14px;
}

.no-image-placeholder::before {
	content: "No Image";
}

/* Article Content */
.d-md-flex{
	display: grid!important;
	grid-template-columns: 30% 70%;
	gap: 20px;
}

.article-content {
	padding: 20px;
}

.article-title {
	margin: 0 0 10px 0;
	font-size: 1.25rem!important;
	font-weight: 600;
	line-height: 1.4;
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical;
}

.article-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.article-title a:hover {
	color: #007cba;
}

/* Article Meta Information */
.article-meta {
	margin-bottom: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.article-date,
.article-author,
.article-views {
	font-size: 12px;
	color: #666;
	font-weight: 400;
}

.article-author,
.article-views {
	position: relative;
}

.article-author::before,
.article-views::before {
	content: "•";
	margin-right: 8px;
	color: #ccc;
}

/* Responsive Design */

/* Large Desktop (1200px - 1400px) */
@media (max-width: 1400px) {
	.category-articles-container {
		max-width: 1200px;
		padding: 15px;
	}

	.articles-grid {
		gap: 25px;
	}
}

/* Medium Desktop (992px - 1199px) */
@media (max-width: 1199px) {
	.category-articles-container {
		max-width: 960px;
	}

	.articles-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}

	.subcategory-title {
		font-size: 22px;
	}

	.view-more-link {
		font-size: 13px;
		padding: 6px 12px;
	}
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
	.category-articles-container {
		max-width: 720px;
		padding: 15px;
	}

	.articles-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.article-thumbnail {
		height: 180px;
	}

	.subcategory-title {
		font-size: 20px;
	}

	.view-more-link {
		font-size: 12px;
		padding: 6px 10px;
	}
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
	.category-articles-container {
		max-width: 540px;
		padding: 10px;
	}

	.articles-grid {
		gap: 15px;
	}

	.article-content {
		padding: 15px;
	}

	.subcategory-title {
		font-size: 18px;
	}

	.subcategory-header {
		margin-bottom: 15px;
	}

	.view-more-link {
		font-size: 11px;
		padding: 5px 8px;
	}
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
	.category-articles-container {
		padding: 10px 5px;
		margin: auto 15px;
	}

	.articles-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.article-thumbnail {
		height: 160px;
	}

	.article-content {
		padding: 15px;
	}

	.subcategory-title {
		font-size: 1.5rem;
	}

	.article-title {
		font-size: 1.5rem;
	}

	.article-excerpt {
		font-size: 13px;
	}

	.view-more-link {
		font-size: 10px;
		padding: 4px 6px;
	}

/* Stack header on very small screens if needed */
	.subcategory-header {
		flex-direction: row;
		align-items: center;
		gap: 10px;
	}
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
	.category-articles-container {
		padding: 8px 3px;
	}

	.subcategory-section {
		margin-bottom: 25px;
	}

	.article-thumbnail {
		height: 140px;
	}

	.article-content {
		padding: 12px;
	}
}

/* Print Styles */
@media print {
	.category-articles-container {
		max-width: none;
		padding: 0;
	}

	.articles-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.article-item {
		box-shadow: none;
		border: 1px solid #ddd;
	}

	.article-item:hover {
		transform: none;
	}
}

.float-right {
	float: right !important;
}

.d-md-block {
	display: block!important
}

.d-flex {
	display: -ms-flexbox!important;
	display: flex!important
}

.d-flex-r {
	display: flex;
}

.widget-tt {
	max-width: 80px;
}

.media-body {
	-ms-flex: 1;
	flex: 1;
}

.list-post {
	background-color: #fff;
}

/* Asynchronous loading button flat style */

.load-more-wrapper {
	text-align: center;
	margin: 0;
	padding: 20px 0;
}

.load-more-btn {
	display: inline-block;
	padding: 14px 32px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	border: none;
	border-radius: 6px;
	transition: all 0.3s ease;
	outline: none;
	user-select: none;
	background-color: #3498db;
	color: #ffffff;
	box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.load-more-btn:hover {
	background-color: #2980b9;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.load-more-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

/* disabled */
.load-more-btn:disabled {
	background-color: #bdc3c7;
	color: #7f8c8d;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.load-more-btn:disabled:hover {
	background-color: #bdc3c7;
	transform: none;
	box-shadow: none;
}

/* Loading status animation */
.load-more-btn[data-loading="true"] {
	position: relative;
	color: transparent;
}

.load-more-btn[data-loading="true"]::after {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	top: 50%;
	left: 50%;
	margin-left: -10px;
	margin-top: -10px;
	border: 2px solid #ffffff;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Responsive design */
@media (max-width: 768px) {
	.load-more-btn {
		padding: 12px 24px;
		font-size: 14px;
		width: 100%;
		max-width: 280px;
	}
}
/* newsletter category page css */
.wp-nl-wrapper {
	max-width: 1366px;
	margin: 0 auto;
	padding: 0 10px;
}

.wp-nl-header {
	margin-bottom: 30px;
	text-align: center;
	border-bottom: 1px solid #dfdfdf;
}

.wp-nl-header h1 {
	color: #333;
	font-size: 32px;
	margin-bottom: 10px;
}

.wp-nl-description {
	color: #666;
	font-size: 16px;
	line-height: 1.6;
}

.wp-subscription-form {
	max-width: 500px;
	margin: 0 auto;
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap;
}

.wp-posts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

.wp-post-item {
	background: white;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
}

.wp-post-thumbnail {
	max-height: 180px;
	overflow: hidden;
}

.wp-post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.wp-post-content {
	margin: 10px 20px 20px 20px;
}

.wp-post-content h3 {
	display: block;
	font-size: 1.2rem!important;
	margin-bottom: 15px;
	font-weight: 600;
}

.wp-post-issue {
	position: relative;
	text-align: center;
	font-size: 1rem;
	color: #007cba;
	margin: 10px 0;
	line-height: 1.4;
}

@media (max-width: 1200px) {
	.wp-posts-grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 900px) {
	.wp-posts-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 600px) {
	.wp-posts-grid {
		grid-template-columns: 1fr !important;
	}

	.wp-subscription-form {
		flex-direction: column !important;
	}

	.wp-subscription-form input {
		min-width: 100% !important;
		margin-bottom: 10px;
	}
}

/* havor */
.wp-post-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.wp-post-item:hover img {
	transform: scale(1.05);
}

.wp-post-item h3 a:hover {
	color: #007cba;
}

.wp-subscription-section {
	background: #fff;
	padding: 40px 20px;
	margin-bottom: 40px;
	border-radius: 10px;
	text-align: center;
}

.wp-subscription-form input:focus {
	border-color: #007cba;
}

.wp-subscription-form button:hover,
#wp-load-more-btn:hover {
	background: #005a87;
}

#wp-load-more-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
}
/* ad display  */
.custom-ad-wrapper {
	background-color: #fff;
	border-radius: 10px!important;
	margin-bottom: 30px!important;
}

.custom-ad-wrapper img {
	border-radius: 10px;
}

.custom-ad-wrapper img:hover {
	filter: brightness(70%);
}

/* author */
.author-info {
	display: block;
	margin: 0 auto;
	text-align: left;
}

.author-info h2 {
	font-size: 2rem;
	text-transform: capitalize;
}

.author-info p {
	color: #888;
	font-size: 1rem;
}

.author-info p span {
	color: #666;
	font-size: 1.5rem;
}

.first-post img {
	width: 100%;
	height: auto;
	transition: filter 0.3s ease;
}

.first-post img:hovor {
	filter: brightness(0.7);
}

/* Floating button back-to-top Theme switch*/
.floating-buttons {
	position: fixed;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 2px;
	background: #dfdfdf;
	border: 1px solid #007cba;
	border-radius: 50px;
	padding: 2px;
	backdrop-filter: blur(10px);
}

/* 按钮基础样式 */
.floating-btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}

/* 主题切换按钮样式 */
.theme-toggle {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.theme-toggle:hover {
	transform: scale(1.1) rotate(180deg);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 回到顶部按钮样式 */
.back-to-top {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	color: white;
	opacity: 0;
	visibility: hidden;
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	transform: scale(1.1) translateY(-3px);
	box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
}

/* 按钮点击效果 */
.floating-btn:active {
	transform: scale(0.95);
}

/* 按钮内的波纹效果 */
.floating-btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.floating-btn:active::before {
	width: 300px;
	height: 300px;
}


/* 页面整体背景和文字 */
body.dark-mode {
	background-color: #1a1a1a !important;
	color: #e0e0e0 !important;
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* 强制覆盖所有段落文字颜色 */
body.dark-mode p,
body.dark-mode .entry-content p,
body.dark-mode .post-content p,
body.dark-mode .content p,
body.dark-mode article p,
body.dark-mode .page-content p {
	color: #e0e0e0 !important;
}

/* 强制覆盖所有标题颜色 */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .entry-title,
body.dark-mode .post-title,
body.dark-mode .page-title {
	color: #ffffff !important;
}

/* 强制覆盖链接颜色 */
body.dark-mode a {
	color: #66b3ff !important;
}

body.dark-mode a:hover {
	color: #4da6ff !important;
}

/* 覆盖主要容器背景 */
body.dark-mode main,
body.dark-mode .main,
body.dark-mode .content,
body.dark-mode .site-content,
body.dark-mode .entry-content,
body.dark-mode .post-content,
body.dark-mode article,
body.dark-mode .page,
body.dark-mode .post {
	background-color: #1a1a1a !important;
	color: #e0e0e0 !important;
}

/* 覆盖侧边栏和小工具 */
body.dark-mode .sidebar,
body.dark-mode .widget,
body.dark-mode .widget-area {
	background-color: #2d2d2d !important;
	color: #e0e0e0 !important;
}

/* 覆盖导航菜单 */
body.dark-mode .nav,
body.dark-mode .menu,
body.dark-mode .navigation,
body.dark-mode main-header {
	background-color: #2d2d2d !important;
}

body.dark-mode .nav a,
body.dark-mode .menu a,
body.dark-mode .navigation a {
	color: #e0e0e0 !important;
}

/* 覆盖页脚 */
body.dark-mode footer,
body.dark-mode .footer,
body.dark-mode .site-footer {
	background-color: #0f0f0f !important;
	color: #e0e0e0 !important;
}

/* 覆盖表格 */
body.dark-mode table {
	background-color: #2d2d2d !important;
	color: #e0e0e0 !important;
}

body.dark-mode th,
body.dark-mode td {
	color: #e0e0e0 !important;
	border-color: #444 !important;
}

/* 覆盖引用块 */
body.dark-mode blockquote {
	background-color: #2d2d2d !important;
	color: #e0e0e0 !important;
	border-left-color: #666 !important;
}

/* 覆盖代码块 */
body.dark-mode code,
body.dark-mode pre {
	background-color: #2d2d2d !important;
	color: #e0e0e0 !important;
}

/* 覆盖表单元素 */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
	background-color: #2d2d2d !important;
	color: #e0e0e0 !important;
	border-color: #444 !important;
}

/* 覆盖按钮 */
body.dark-mode button:not(.floating-btn),
body.dark-mode .button,
body.dark-mode .btn {
	background-color: #444 !important;
	color: #e0e0e0 !important;
}

/* 覆盖常见的WordPress主题类名 */
body.dark-mode .container,
body.dark-mode .wrapper,
body.dark-mode .inner,
body.dark-mode .content-area,
body.dark-mode .kp-widget {
	background-color: #1a1a1a !important;
	color: #e0e0e0 !important;
}

/* 特殊处理一些常见主题 */
body.dark-mode .elementor-section,
body.dark-mode .elementor-widget,
body.dark-mode .wp-block,
body.dark-mode .subscription-section,
body.dark-mode .main-header,
body.dark-mode .bg-white {
	background-color: transparent !important;
}

body.dark-mode .elementor-text-editor,
body.dark-mode .wp-block-paragraph {
	color: #e0e0e0 !important;
}

/* 工具提示 */
.floating-btn[data-tooltip] {
	position: relative;
}

.floating-btn[data-tooltip]::after {
	content: attr(data-tooltip);
	position: absolute;
	right: 70px;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	pointer-events: none;
}

.floating-btn[data-tooltip]:hover::after {
	opacity: 1;
	visibility: visible;
	right: 65px;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.floating-buttons {
		display: none;
		right: 15px;
		gap: 12px;
	}

	.floating-btn {
		width: 25px;
		height: 25px;
		font-size: 10px;
	}

	.floating-btn[data-tooltip]::after {
		display: none;
	}
}

/* 动画关键帧 */
@keyframes bounce {
	0%, 20%, 53%, 80%, 100% {
		transform: translateY(0);
	}

	40%, 43% {
		transform: translateY(-8px);
	}

	70% {
		transform: translateY(-4px);
	}

	90% {
		transform: translateY(-2px);
	}
}

.floating-btn.bounce {
	animation: bounce 1s ease;
}


/* Know industry channel page*/
.first-row {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	border-radius: 8px;
	overflow: hidden;
	width: 100%;
}

/* 幻灯片区域 */
.slideshow-container {
	width: 100%;
	flex: 2;
	position: relative;
	min-height: unset;
}

.slide {
	position: absolute;
	width: 100%;
	height: 100%;
	min-height: 500px;
	transition: opacity 0.5s ease-in-out;
	overflow: hidden;
	display: none;
}

.slide img {
	width: 100%;
	min-height: 500px;
	object-fit: ;
object-position: center;
}

.slide.active {
	display: block;
	position: absolute;
	width: 100%;
	transition: opacity 0.5s ease-in-out;
	overflow: hidden;
}

.slide-content {
	position: absolute;
	bottom: 40px;
	color: white;
	padding: 10px 10px 20px;
	background-color: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: fit-content;
}

.slide-title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 8px;
}

.slide-summary {
	font-size: 14px;
	opacity: 1;
}

/* 导航点 */
.dots-container {
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	gap: 8px;
	background-color: #e1e1e1;
	border: 2px solid #007cba;
	padding: 3px 5px;
	border-radius: 10px;
}

.dot {
	width: 20px;
	height: 10px;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	transition: background 0.3s;
}

.dot.active {
	background: #007cba;
}

/* 右侧列表 */
.news-list {
	flex: 1;
	padding: 0 20px;
	background: white;
}

.news-item {
	display: flex;
	gap: 15px;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
	transition: background 0.3s;
}

.news-item:hover {
	background: #f9f9f9;
	margin: 0 -20px;
	padding: 15px 20px;
}

.news-item:last-child {
	border-bottom: none;
}

.news-item img {
	width: 35%;
	height: auto;
	border-radius: 4px;
	object-fit: cover;
}

.news-item-content {
	flex: 1;
}

.news-item-title {
	font-weight: 500;
	color: #333;
	margin-bottom: 5px;
	line-height: 1.4;
	}

.news-item-title h4{
	font-size: 1.3rem!important;
	font-weight: 500;
}
.news-item-time{
	text-align: end;
	right: 10px;
}
/* subcategory list */
.content-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.module {
	background: white;
	border-radius: 10px;
}

.content-row .module:nth-last-child(1):not(:nth-last-child(2)) {
	flex: 1 1 calc(50% - 10px);
}

.module-header {	
	padding: 5px 10px 3px 20px;
	font-weight: bold;
	border-radius: 10px 10px 0 0;
	border-bottom: 1px solid #e5e5e5;
}
.module-header h3{
	font-weight: 800;
}
.module-header a {
	text-transform: capitalize;
}

.module-header a:hover {
	color: #007cba;
}

.module-content {
	padding: 15px 0 15px 0;
}

/* 特色文章样式 */
.featured-article {
	display: flex;
	width: 100%;
	gap: 15px;
	border-bottom: 1px dotted #eee;
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
}

.featured-article-image {
}

.featured-article img {
	min-width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.featured-content {
	display: grid;
	grid-row: 2;
	gap: 10px;
	-webkit-box-orient: vertical;
	margin-bottom: 8px;
}

.featured-content h4{
	font-size: 1.3rem!important;
	font-weight: 500;
}

.featured-summary {
	line-height: 1.5;
}

/* 文章列表样式 */
.article-list {
	list-style: none;
}

.article-list h4{
	font-size: 1.2rem!important;
	font-weight: 400;
}

.article-list li {
	border-left: 2px solid transparent;
	padding: 8px 0;
	border-bottom: 1px dotted #ddd;
	transition: color 0.3s;
}

.article-list li:hover {
	color: #007cba;
	cursor: pointer;
	border-left: 2px solid #007cba;
}

.article-list li:last-child {
	border-bottom: none;
}

.article-list a {
	display: block;
	padding-left: 20px;
	padding-right: 20px;
	text-decoration: none;
	color: inherit;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.first-row {
		display: grid;
		padding: 0 20px;
	}

	.slideshow-container {
		width: 100%;
		flex: 2;
		position: relative;
		height: 280px;
		margin-bottom: 20px;
	}

	.content-row {
		grid-template-columns: 1fr;
	}

	.slide {
		position: absolute;
		width: 100%;
		height: 100%;
		min-height: 280px;
		transition: opacity 0.5s ease-in-out;
		overflow: hidden;
		display: none;
	}

	.slide img {
		width: 100%;
		min-height: 280px;
		object-fit: ;
    object-position: center;
	}

	.featured-article {
		flex-direction: column;
	}

	.featured-article img {
		width: 100%;
		height: 160px;
	}
}

@media (max-width: 480px) {
	.first-row {
		display: grid;
		flex-direction: column;
		padding: 0;
	}

	.slideshow-container {
		width: 100%;
		flex: 2;
		position: relative;
		height: 280px!important;
		border-radius: 12px;
	}

	.slide {
		position: absolute;
		width: 100%;
		height: 100%;
		min-height: 280px;
		transition: opacity 0.5s ease-in-out;
		overflow: hidden;
		display: none;
		border-radius: 12px;
	}

	.slide img {
		width: 100%;
		min-height: 280px;
		object-fit: ;
        object-position: center;
		border-radius: 12px;
	}

	.content-row {
		grid-template-columns: 1fr;
		margin: 0;
	}

	.featured-article {
		flex-direction: column;
	}

	.featured-article img {
		width: 100%;
		height: auto;
	}
	.news-list{
		border-radius: 12px;
	}
}

/* Knowledge content page */

/* Main Container */
.kp-article-container {
	display: flex;
	max-width: 1366px;
	margin: 0 auto;
	padding: 20px;
	gap: 30px;
}

/* Main Content Area */
.kp-main-content {
	flex: 1;
	min-width: 0;
	max-width: calc(100% - 350px);
}

/* Article Categories */
.kp-article-categories {
	margin-bottom: 15px;
}

.kp-categories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.kp-category-link {
	display: inline-block;
	padding: 4px 12px;
	background: #007cba;
	color: #fff!important;
	text-decoration: none;
	border-radius: 15px;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.kp-category-link:hover {
	background: #d35353!important;
	color: #fff;
}

/* Article Title */
.kp-article-title {
	font-size: 2.5em!important;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	color: #1a1a1a;
}

/* Article Meta */
.kp-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 30px;
	padding: 15px 0;
	border-bottom: 1px solid #dfdfdf;
	color: #666;
	font-size: 14px;
}

.kp-article-meta span {
	display: flex;
	align-items: center;
	gap: 5px;
}

.kp-article-meta a {
	color: #666;
	text-decoration: none;
}

.kp-article-meta a:hover {
	color: #333;
}

/* Icon placeholders */
.kp-article-meta i::before {
	content: "•";
	margin-right: 3px;
}

/* Article Content */
.kp-article-content {
	line-height: 1.7;
	font-size: 16px!important;
	color: #333;
	margin-bottom: 30px;
}

.kp-article-content ul {
	margin-bottom: 20px;
}

.kp-article-content p {
	font-size: 18px;
	margin-bottom: 20px;
}

.kp-article-content h2 {
	display: block;
	margin: 30px 0 15px;
	color: #1a1a1a;
	font-size: 2rem!important;
	padding-bottom: 10px;
	border-bottom: #dfdfdf 1px solid;
	text-transform: capitalize;
}

.kp-article-content h3 {
	display: block;
	margin: 30px 0 15px;
	color: #1a1a1a;
	font-size: 1.8rem!important;
	padding-bottom: 10px;
	border-bottom: #dfdfdf 1px solid;
	text-transform: capitalize;
}

.kp-article-content h4 {
	display: block;
	margin: 30px 0 15px;
	color: #1a1a1a;
	font-size: 1.5rem!important;
	padding-bottom: 10px;
	border-bottom: #dfdfdf 1px solid;
	text-transform: capitalize;
}

.kp-article-content li {
	color: #506172;
	list-style-position: inside;
	padding-left: 2em;
	line-height: 2rem;
	font-size: 1rem!important;
}

.kp-article-content li::before {
	content: "▪";
}

.kp-article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

/* Last Updated */
.kp-last-updated {
	margin-bottom: 25px;
	color: #888;
	font-style: italic;
}

/* Tags Section */
.kp-tags-section {
	display: flex;
	margin-bottom: 30px;
	padding: 20px 0;
	border-top: 1px solid #eee;
	align-items: center;
}

.kp-tags-title {
	display: flex;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 12px;
	color: #333;
	margin-right: 20px;
	align-items: center;
}

.kp-tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.kp-tag-link {
	display: inline-block;
	padding: 6px 14px;
	background: #fff;
	color: #555;
	text-decoration: none;
	border-radius: 20px;
	font-size: 13px;
	border: 1px solid #eee;
	transition: all 0.3s ease;
}

.kp-tag-link:hover {
	background: #e8e8e8;
	color: #333;
	border-color: #d0d0d0;
}

/* Comments Section */
.kp-comments-section {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 2px solid #eee;
}

/* Sidebar */
.kp-sidebar {
	width: 30%;
	flex-shrink: 0;
}

.kp-sidebar-sticky {
	position: sticky;
	top: 70px;
}

/* Widget Styles */
.kp-widget {
	background: #fff;
	border-radius: 10px;
	margin-bottom: 25px;
	overflow: hidden;
}

.kp-widget-title {
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	padding: 20px 20px 15px;
	color: #1a1a1a;
	border-bottom: 1px solid #f0f0f0;
}

.kp-widget-content {
	padding: 15px 20px 20px;
}

/* Subcategories Widget */
.kp-subcategories-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.kp-subcategories-list li {
	margin-bottom: 8px;
	padding: 8px 0;
	border-bottom: 1px solid #f5f5f5;
}

.kp-subcategories-list li:last-child {
	border-bottom: none;
}

.kp-subcategories-list a {
	color: #333;
	text-decoration: none;
	font-size: 1.1rem;
	font-weight: 500;
	transition: color 0.3s ease;
}

.kp-subcategories-list a:hover {
	color: #007cba;
}

.kp-category-count {
	color: #999;
	font-size: 12px;
	font-weight: normal;
}

/* Random Articles Widget */
.kp-random-posts-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.kp-random-post-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 10px;
}

.kp-random-post-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.kp-random-post-image {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 50%;
}

.kp-random-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.kp-random-placeholder {
	width: 100%;
	height: 100%;
	background: #f0f0f0;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	color: #999;
}

.kp-random-post-content {
	flex: 1;
	min-width: 0;
}

.kp-random-post-title {
	font-size: 1rem!important;
	font-weight: 600;
	margin: 0;
	line-height: 1.4;
}

.kp-random-post-title a {
	color: #333;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.kp-random-post-title a:hover {
	color: #0066cc;
}

/* Latest Articles Widget */
.kp-latest-posts-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.kp-latest-post-item {
	padding-bottom: 15px;
	border-bottom: 1px solid #f0f0f0;
}

.kp-latest-post-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.kp-latest-post-title {
	font-size: 1.2rem!important;
	font-weight: 600!important;
	margin: 0 0 8px;
	line-height: 1.4;
}

.kp-latest-post-title a {
	color: #333;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.kp-latest-post-title a:hover {
	color: #0066cc;
}

.kp-latest-post-meta {
	display: flex;
	gap: 4px;
	font-size: 12px;
	color: #666;
}

.kp-latest-post-meta span {
	display: block;
}

.kp-latest-category a {
	color: #0066cc;
	text-decoration: none;
	font-weight: 500;
}

.kp-latest-category a:hover {
	text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
	.kp-article-container {
		flex-direction: column;
		padding: 15px;
		gap: 20px;
	}

	.kp-main-content {
		max-width: 100%;
	}

	.kp-sidebar {
		width: 100%;
	}

	.kp-sidebar-sticky {
		position: static;
		max-height: none;
		overflow-y: visible;
	}

	.kp-article-title {
		font-size: 2em;
	}

	.kp-article-meta {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start;
	}

	.kp-tags-list {
		gap: 6px;
	}

	.kp-tag-link {
		font-size: 12px;
		padding: 5px 10px;
	}
}

@media (max-width: 480px) {
	.kp-article-container {
		padding: 10px 20px;
	}

	.kp-article-title {
		font-size: 1.8em;
	}

	.kp-widget-title {
		font-size: 16px;
		padding: 15px 15px 12px;
	}

	.kp-widget-content {
		padding: 12px 15px 15px;
	}
}

/***** kp sub *****/
.kp-sub-category-container {
	display: flex;
	max-width: 1366px;
	margin: 0 auto;
	padding: 20px;
	gap: 30px;
}

.kp-sub-main-content {
	width: 70%;
	background-color: #fff;
	border-radius: 10PX;
}

.kp-sub-post-item {
	margin-bottom: 20px;
	padding: 20px;
	border-left: 2px solid #fff;
	border-bottom: 1px dotted #ddd;
	transition: opacity 0.5s ease;
}

.kp-sub-post-item:last-child {
	border-bottom: none;
}

.kp-sub-post-item:hover {
	background-color: #f4f4f4;
	border-left: 2px solid #007cba;
	transition: opacity 0.5s ease;
}

.kp-sub-post-content {
	display: flex;
	gap: 20px;
}

.kp-sub-post-thumbnail {
	flex-shrink: 0;
	width: 200px;
}

.kp-sub-post-thumbnail img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 5px;
}

.kp-sub-post-info {
	flex: 1;
}

.kp-sub-post-title {
	margin: 0 0 15px 0;
	font-size: 1.5rem!important;
	font-weight: 400;
}

.kp-sub-post-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.kp-sub-post-title a:hover {
	color: #007cba;
}

.kp-sub-post-meta {
	display: flex;
	gap: 20px;
	margin-bottom: 15px;
	font-size: 0.9em;
	color: #666;
}

.kp-sub-post-meta span {
	display: flex;
	align-items: center;
	gap: 5px;
}

.kp-sub-post-excerpt {
	color: #666;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.kp-sub-load-more-container {
	text-align: center;
	margin-top: 30px;
}

#kp-sub-load-more-btn {
	background: #007cba;
	color: white;
	border: none;
	padding: 12px 30px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 1em;
	transition: background 0.3s ease;
}

#kp-sub-load-more-btn:hover {
	background: #005a87;
}

#kp-sub-load-more-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
}

#kp-sub-loading {
	margin-top: 15px;
	color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.kp-sub-category-container {
		flex-direction: column;
		padding: 15px;
	}

	.kp-sub-main-content,
.kp-sub-sidebar {
		width: 100%;
	}

	.kp-sub-post-content {
		flex-direction: column;
	}

	.kp-sub-post-thumbnail {
		width: 100%;
	}

	.kp-sub-post-meta {
		flex-wrap: wrap;
		gap: 10px;
	}
}
/***post card***/
.post-link-card {
	display: flex;
	max-width: 600px;
	width: 100%;
	margin: 20px auto;
 /* 居中对齐卡片 */
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.post-link-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	text-decoration: none;
	color: inherit;
}

.post-card-image {
	flex: 0 0 35%;
 /* 左侧列占卡片宽度的30% */
	background-color: #f0f0f0;
 /* 背景色 */
}

.post-card-image img {
	width: 100%;
 /* 让图片宽度充满左侧列 */
	height: 100%;
	object-fit: cover;
 /* 图片裁剪保持比例 */
}

.post-card-content {
	flex: 1;
 /* 右侧列占剩余宽度 */
	padding: 10px 20px;
}

.post-card-title {
	font-size: 18px!important;
	font-weight: 600;
	line-height: 1.4!important;
	margin: 0 0 8px 0;
	color: #2c3e50;
}

.post-card-excerpt {
	font-size: 14px!important;
	line-height: 1.4;
	color: #6c757d;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card-meta {
	font-size: 12px;
	color: #9ca3af;
	margin-top: 8px;
	padding-top: 6px;
	border-top: 1px dotted #d0d0d0;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.post-link-card {
		flex-direction: column;
		width: 100%;
	}

	.post-card-image {
		width: 100%;
		height: 200px;
	}

	.post-card-content {
		padding: 16px;
	}
}

/* 加载状态 */
.post-card-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: #f8f9fa;
	border-radius: 8px;
	margin: 20px 0;
}

.post-card-error {
	padding: 20px;
	background: #fee;
	border: 1px solid #fcc;
	border-radius: 8px;
	color: #c33;
	margin: 20px 0;
}

/* 搜索页面样式 */
.search-page-container {
	margin-top: 30px;
	padding: 20px 0;
}

.search-container {
	max-width: 1366px;
	margin: 0 auto;
}

.search-bar-section {
	padding: 30px 0;
	max-width: 1366px;
	margin: 20px auto;
	border-radius: 10px;
}

.search-form-wrapper {
	max-width: 800px;
	margin: 0 auto;
}

.advanced-search-form {
	display: flex;
	justify-content: center;
}

.search-controls {
	display: flex;
	align-items: center;
	background: white;
	border: 2px solid #007cba;
	border-radius: 50px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,124,186,0.1);
}

.search-type-select {
	padding: 15px 20px;
	border: none;
	background: #f8f9fa;
	font-size: 16px;
	color: #333;
	cursor: pointer;
	outline: none;
	border-right: 1px solid #dee2e6;
	min-width: 120px;
}

.search-type-select:focus {
	background: #e9ecef;
}

.fitx-search-field {
	flex: 1;
	padding: 15px 20px;
	border: none;
	font-size: 16px;
	outline: none;
	background: transparent;
	min-width: 300px;
}

.fitx-search-field::placeholder {
	color: #6c757d;
}

.fitx-search-submit {
	padding: 15px 30px;
	background: #007cba;
	color: white;
	border: none;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.fitx-search-submit:hover {
	background: #005a87;
}

.search-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

/* 左侧边栏样式 */
.search-sidebar-left {
	flex: 0 0 30%;
	text-align: left;
}

.search-widget {
	background: white;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-widget-title {
	font-size: 2rem!important;
	font-weight: 600;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #007cba;
	color: #333;
	text-transform: capitalize;
}

.search-categories-widget li {
	margin-bottom: 8px;
}

.search-categories-widget li::before {
	content: '';
}

.search-categories-widget ul {
	list-style: none;
	margin-top: 5px;
	padding: 0;
}

.search-categories-widget a {
	color: #555;
	text-decoration: none;
	display: block;
	padding: 5px 0;
	border-bottom: 1px dotted #ddd;
}

.search-categories-widget a:hover {
	color: #007cba;
}

.search-categories-widget .search-cat-item {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.search-categories-widget li a {
	color: #666;
	padding: 2px;
	font-size: 1.4rem;
	font-weight: 400;
	margin-left: 10px;
}

.search-categories-widget ul li a {
	color: #506172;
	padding: 2px;
	font-size: 1rem;
	font-weight: 400;
	margin-left: 10px;
}

.search-categories-widget span {
	padding: 2px 8px;
	font-size: 0.8rem;
	font-weight: normal;
}

.search-recent-posts-list {
	list-style: none;
	padding: 0;
}

.search-recent-post-item {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px dotted #eee;
}

.search-recent-post-item:last-child {
	border-bottom: none;
}

.search-recent-post-link {
	text-decoration: none;
	color: #333;
}

.search-recent-post-title {
	font-size: 1rem;
	font-weight: 500;
	margin-bottom: 5px;
	line-height: 1.4;
}

.search-recent-post-date {
	font-size: 12px;
	color: #888;
}

.search-recent-post-link:hover .search-recent-post-title {
	color: #007cba;
}

/* 右侧搜索结果样式 */
.search-results-area {
	flex: 1;
	min-width: 0;
}

.search-header {
	text-align: center;
	background: white;
	padding: 40px 20px;
	border-radius: 8px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-title {
	font-size: 24px;
	color: #333;
	margin-bottom: 10px;
}

.search-title span {
	color: #007cba;
	font-weight: 600;
	font-style: italic;
}

.search-count {
	color: #666;
	font-size: 1.2rem;
}

.search-count span {
	color: #007cba;
	font-weight: 600;
}

.search-result-item {
	background: white;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-result-title a {
	color: #007cba;
	text-decoration: none;
	font-size: 1.4rem!important;
	font-weight: 400;
}

.search-result-title a:hover {
	color: #666;
}

.search-result-meta {
	margin: 10px 0;
	color: #666;
	font-size: 14px;
}

.search-result-meta span {
	margin-right: 15px;
}

.search-result-tags a {
	margin-right: 5px;
}

.search-result-meta span a:hover {
	color: #007cba;
}

.search-result-content {
	margin: 15px 0;
	line-height: 1.6;
	color: #555;
}

.search-no-results {
	background: white;
	padding: 0px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-suggestions {
	padding: 30px 30px;
	text-align: left;
}

.search-no-results p {
	padding: 30px 30px;
	text-align: center;
	font-size: 2rem;
}

.search-suggestions ul {
	list-style-type: disc;
	padding-left: 20px;
}

/* 分页样式 */
.pagination-wrap {
	width: 100%;
	margin: 10px auto;
	padding: 20px 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.pagination {
	display: flex;
}

.page-numbers {
	display: flex;
	margin: 0 auto;
	padding: 8px 15px;
	color: #007cba;
	text-decoration: none;
	justify-content: center;
}

.page-numbers li {
	margin-right: 10px;
	background: white;
	border: 1px solid #ddd;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

.page-numbers li i {
	line-height: inherit!important;
}

.page-numbers li:hover {
	background: #007cba;
	border-radius: 5px;
	color: #fff!important;
}

.page-numbers li a:hover {
	color: #fff!important;
}

.page-numbers li .current {
	background: #007cba;
	color: white;
	border-radius: 5px;
}


/* 响应式设计 */
@media (max-width: 768px) {
	.search-bar-section {
		padding: 20px 0;
	}

	.search-container {
		margin: 20px;
	}

	.search-controls {
		flex-direction: column;
		border-radius: 10px;
	}

	.search-type-select {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #dee2e6;
		border-radius: 0;
	}

	.search-field {
		min-width: auto;
		width: 100%;
	}

	.search-submit {
		width: 100%;
		border-radius: 0;
	}

	.search-row {
		flex-direction: column;
	}

	.search-sidebar-left {
		flex: none;
		order: 2;
	}

	.search-results-area {
		order: 1;
	}

	.search-title {
		font-size: 20px;
	}

	.search-result-title a {
		font-size: 18px;
	}
}

/* index page slider */

.index-slideshow-container {
	position: relative;
	width: 100%;
	max-height: 650px;
	height: 650px;
	overflow: hidden;
	font-family: 'Arial', sans-serif;
}

.index-slide {
	position: absolute;
	padding-top: 100px;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
	background-blend-mode: overlay;
}

.index-slide.active {
	opacity: 1;
}

/* Background overlay for text readability */
.index-slide::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.3) 100%);
	z-index: 1;
}

.index-slide-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: white;
	max-width: 1200px;
	padding: 0 40px;
	text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.index-slide-title {
	font-size: 3.5rem;
	font-weight: bold;
	margin-bottom: 30px;
	line-height: 1.2;
	letter-spacing: -1px;
	text-transform: capitalize;
}

.index-slide-description {
	font-size: 1.4rem;
	line-height: 1.6;
	max-width: 1000px;
	margin: 0 auto;
	font-weight: 300;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.index-thumbnails {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 20px;
	z-index: 3;
	padding-top: 40px;
}

.index-thumbnail {
	width: 250px;
	height: 160px;
	border-radius: 12px;
	// overflow: hidden;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
	border: 3px solid rgba(255,255,255,0.3);
	backdrop-filter: blur(5px);
}

.index-thumbnail:hover {
	transform: translateY(-10px) scale(1.1);
	border-color: rgba(255,255,255,0.8);
	box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.index-thumbnail.active {
	border-color: #ff6347;
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.index-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	border-radius: 12px;
}

.index-thumbnail:hover img {
	transform: scale(1.1);
}

.index-thumbnail-label {
	boder: 1px solid #fff;
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	background: white;
	color: #333;
	font-size: 0.9rem;
	font-weight: 600;
	text-align: center;
	padding: 8px 16px;
	border-radius: 20px;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Progress indicator */
.index-progress-bar {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 200px;
	height: 3px;
	background: rgba(255,255,255,0.3);
	border-radius: 2px;
	z-index: 3;
}

.index-progress {
	height: 100%;
	background: linear-gradient(90deg, #4facfe, #00f2fe);
	border-radius: 2px;
	width: 0;
	transition: width 0.1s linear;
}

.index-slide-link {
	margin: 20px auto;
}

.index-slide-link a {
	background: #ff6347;
	padding: 10px 20px;
	color: #fff;
	font-size: 1.3rem;
	border-radius: 50px;
	transition: background-color 0.3s ease;
	text-shadow: none;
	font-weight: 500;
}

.index-slide-link a:hover {
	background-color: #007cba;
	color: #fff;
}

@media (max-width: 768px) {
	.index-slide-title {
		font-size: 2.5rem;
	}

	.index-slide-description {
		font-size: 1.2rem;
	}

	.index-thumbnails {
		gap: 15px;
		bottom: 40px;
	}

	.index-thumbnail {
		width: 100px;
		height: 80px;
	}

	.index-slide-content {
		padding: 0 20px;
	}
}

@media (max-width: 480px) {
	.index-slideshow-container {
		max-height: 350px
	}

	.index-slide-title {
		font-size: 2rem;
	}

	.index-slide-description {
		font-size: 1rem;
	}

	.index-thumbnails {
		display: none;
		gap: 10px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.index-thumbnail {
		width: 90px;
		height: 70px;
	}
}
/* related post*/
.related-posts {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.related-posts h5 {
	font-size: 1.25rem;
	font-weight: 500 !important;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
}

.related-posts img {
	width: 100%!important;
	min-height: 182px;
	object-fit: cover;
}
/*custom comments*/
#custom-comments-module {
	max-width: 100%;
	margin: 2rem auto;
	padding: 0 1rem;
}

.comments-section h3, .comment-form-section h3 {
	color: #333;
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
	font-weight: 600;
}

.comments-list {
	margin-bottom: 3rem;
}

.comment-item {
	display: flex;
	margin-bottom: 2rem;
	padding: 1.5rem;
	background: #fff;
	border-radius: 12px;
	transition: all 0.3s ease;
	border-left: 4px solid transparent;
}

.comment-item:hover {
	background: #f0f2f5;
	border-left-color: #007cba;
	transform: translateX(4px);
}

.comment-avatar {
	flex-shrink: 0;
	margin-right: 1rem;
}

.comment-avatar img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comment-content-wrapper {
	flex: 1;
	min-width: 0;
}

.comment-content {
	margin-bottom: 0.75rem;
	line-height: 1.6;
	color: #444;
	word-wrap: break-word;
}

.comment-content p {
	margin: 0 0 0.5rem 0;
}

.comment-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.875rem;
	color: #666;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.comment-author-info {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.comment-author {
	font-weight: 600;
	color: #007cba;
}

.comment-date {
	color: #888;
}

.comment-reply {
	margin-left: auto;
}

.comment-reply-link {
	background: #007cba;
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 500;
	transition: all 0.3s ease;
}

.comment-reply-link:hover {
	background: #005a87;
	color: white;
	transform: translateY(-1px);
}

.children {
	margin-top: 1rem;
	padding-left: 2rem;
	border-left: 2px solid #e1e5e9;
}

.children .comment-item {
	margin-bottom: 1rem;
	background: #ffffff;
}

.children .comment-item:hover {
	background: #f8f9fa;
}

.comment-form-section {
	background: #fff;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 2px 20px rgba(0,0,0,0.08);
	border: 1px solid #e1e5e9;
}

#commentform {
	display: flex;
	flex-direction: column;
}

.form-group {
	margin-bottom: 1rem;
}

.comment-textarea {
	order: -1;
	margin-bottom: 1.5rem;
}

.form-group input, .form-group textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 2px solid #e1e5e9;
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s ease;
	background: #fafbfc;
}

.form-group input:focus, .form-group textarea:focus {
	outline: none;
	border-color: #007cba;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

.form-group:not(.comment-textarea) {
	width: 48%;
	display: inline-block;
	margin-right: 2%;
}

.form-group:nth-child(even) {
	margin-right: 0;
}

.media-upload-section {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #e1e5e9;
}

#comment-media {
	display: none;
}

.upload-btn {
	display: inline-block;
	background: #f0f2f5;
	color: #555;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px dashed #ccc;
	text-align: center;
	font-size: 0.875rem;
}

.upload-btn:hover {
	background: #e6e9ec;
	border-color: #007cba;
	color: #007cba;
}

#media-preview {
	margin-top: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.media-item {
	position: relative;
	width: 80px;
	height: 80px;
	border-radius: 6px;
	overflow: hidden;
	border: 2px solid #e1e5e9;
}

.media-item img, .media-item video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.media-remove {
	position: absolute;
	top: -5px;
	right: -5px;
	background: #ff4757;
	color: white;
	border: none;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	font-size: 12px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn {
	background: #007cba!important;
	color: white;
	padding: 0.75rem 2rem;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 1rem;
	align-self: flex-start;
}

.btn:hover {
	background: #f5576c!important;
	box-shadow: 0 4px 15px rgba(0,124,186,0.3);
}

.no-comments {
	text-align: center;
	color: #666;
	font-style: italic;
	padding: 2rem;
	background: #f8f9fa;
	border-radius: 8px;
}

@media (max-width: 768px) {
	#custom-comments-module {
		padding: 0 0.5rem;
	}

	.comment-item {
		flex-direction: column;
		padding: 1rem;
	}

	.comment-avatar {
		margin-right: 0;
		margin-bottom: 0.75rem;
		align-self: flex-start;
	}

	.comment-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.comment-reply {
		margin-left: 0;
		align-self: flex-end;
	}

	.form-group:not(.comment-textarea) {
		width: 100%;
		display: block;
		margin-right: 0;
	}

	.children {
		padding-left: 1rem;
	}
}

/*Related SUPPLIES*/
.post-related-supplier {
	margin: 30px 0;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 4px solid #0073aa;
}

.post-related-supplier h4 {
	margin: 0 0 15px 0;
	color: #333;
	font-size: 18px;
}

.post-supplier-card {
	display: flex;
	align-items: center;
	background: white;
	padding: 15px;
	border-radius: 6px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post-supplier-logo {
	margin-right: 15px;
	flex-shrink: 0;
}

.post-supplier-logo img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	border-radius: 4px;
	border: 1px solid #ddd;
}

.placeholder-logo {
	width: 60px;
	height: 60px;
	background: #0073aa;
	color: white;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: bold;
}

.post-supplier-info h5 {
	margin: 0 0 5px 0;
	font-size: 16px;
}

.post-supplier-info h5 a {
	color: #0073aa;
	text-decoration: none;
}

.post-supplier-info h5 a:hover {
	text-decoration: underline;
}

.post-supplier-location {
	margin: 0 0 8px 0;
	color: #666;
	font-size: 14px;
}

.post-supplier-description {
	margin: 0;
	color: #777;
	font-size: 13px;
	line-height: 1.4;
}
/* INDEX MAP BLOCK */
.supplier-map-block {
	background: #f0f0f0;
	position: relative;
}

.supplier-map-block .leaflet-popup-content {
	margin: 10px;
	min-width: 250px!important;
}

.supplier-popup-content {
	display: flex;
	align-items: center;
	gap: 10px;
}

.popup-logo {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: contain;
	border: 1px solid #ddd;
	background: white;
	padding: 2px;
}

.popup-placeholder {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 16px;
}

.popup-info {
	flex: 1;
}

.popup-info h4 {
	margin: 0 0 5px 0;
	font-size: 14px!important;
	color: #333;
}

.popup-info p {
	margin: 0!important;
	;
    font-size: 12px!important;
	color: #666;
}

.popup-link {
	display: inline-block;
	margin-top: 8px;
	padding: 4px 8px;
	background: #667eea;
	color: white!important;
	;
    text-decoration: none;
	border-radius: 4px;
	font-size: 11px;
}

.popup-link:hover {
	background: #5a67d8;
}

.supplier-level-marker {
	font-size: 10px;
	padding: 2px 6px;
	border-radius: 10px;
	color: white;
	margin-top: 2px;
	display: inline-block;
}

.supplier-level-marker.vip {
	background: #1e90ff;
}

.supplier-level-marker.svip {
	background: #ffd700;
	color: #000;
}

/* index news block*/

.index-news-block {
  max-width: 1366px;
  margin: 0 auto;
  padding: 20px 0;
}

.index-news-inner {
  display: flex;
  gap: 20px;
}

.index-news-left {
  flex: 0 0 70%;
}

.index-news-right {
  flex: 0 0 30%;
}

/* 左侧第一篇 */
.index-ep-title {
  display: none;
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
  text-transform: capitalize;
}

.index-news-featured {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: border-bottom: 2px solid #eee;
  background : #fff;
  padding: 10px;
  border-radius: 8px;
}

.index-news-featured-thumb img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 6px;
}

.index-news-featured img {
  width: 100%;
  border-radius: 6px;
  max-height: 480px;
  object-fit: cover;
}

.index-news-featured h2 {
  font-size: 22px!important;
  font-weight: 600;
  margin: 10px 0;
}

.index-news-featured .index-news-meta {
  font-size: 13px;
  color: #666;
}

.index-news-featured .index-news-meta a {
  color: #0073aa;
  margin-right: 8px;
}

.index-news-excerpt {
  font-size: 14px;
  color: #444;
  margin-top: 6px;
  line-height: 1.6;
}

/* 左侧其余三篇 */
.index-news-grid {  
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

/* 每个格子 */
.index-news-grid-item {
  background : #fff;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.index-news-grid-item .index-news-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
}

.index-news-grid-item h3 {
  font-size: 18px!important;
  font-weight: 600;
  margin: 6px 0;
}

.index-news-grid-item .index-news-meta {
  font-size: 12px;
  color: #999;
}

.index-news-grid-item .index-news-excerpt {
  font-size: 13px;
  color: #555;
  margin-top: 6px;
  line-height: 1.5;
}

/* 右侧 */
.index-news-title {
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
  text-transform: capitalize;
}

.index-news-right-item {
  display: flex;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.index-news-right-thumb img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
}

.index-news-right-text {
  flex: 1;
  margin-left: 10px;
}

.index-news-right-text h4 {
  font-size: 16px!important;
  font-weight: 600;
  margin: 0 0 4px;
}

.index-news-right-text .index-news-meta {
  font-size: 12px;
  color: #999;
}

.index-news-right-text .index-news-meta span {
  margin-left: 6px;
}

/* 保证容器不被撑大 */
.index-news-featured-thumb,
.index-news-thumb,
.index-news-right-thumb {
  display: block;
  overflow: hidden;
  border-radius: 6px; /* 让图片圆角和容器一致 */
}

/* 图片 hover 动画 */
.index-news-featured-thumb img,
.index-news-thumb img,
.index-news-right-thumb img {
  transition: transform 0.3s ease;
  display: block;
}

.index-news-featured-thumb img:hover,
.index-news-thumb img:hover,
.index-news-right-thumb img:hover {
  transform: scale(1.05);
}

/* ========= 响应式 ========= */

/* 992px 以下：左右改为上下 */
@media (max-width: 992px) {
  .index-news-inner {
    flex-direction: column;
  }
  .index-news-left,
  .index-news-right {
    flex: 0 0 100%;
  }
}

/* 768px 以下：缩小图片，文字字号调小 */
@media (max-width: 768px) {
  .index-ep-title{
    display: block;
    text-align: center;
  }
  .index-news-title {
  text-align:center;
  }
  .index-news-featured h2 {
    font-size: 18px;
  }
  .index-news-text h3 {
    font-size: 14px;
  }
  .index-news-right-text h4 {
    font-size: 13px;
  }
  .index-news-thumb img {
    width: 120px;
    height: 80px;
  }
  .index-news-right-thumb img {
    width: 90px;
    height: 60px;
  }
  .index-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 576px 以下：左右列表改为上下 */
@media (max-width: 576px) {
  .index-ep-title{
    display: block;
    text-align: center;
  }
  .index-news-title {
  text-align:center;
  }
  .index-news-item {
    flex-direction: column;
  }
  .index-news-thumb img {
    width: 100%;
    height: auto;
  }
  .index-news-text {
    margin-left: 0;
    margin-top: 8px;
  }

  .index-news-right-item {
    flex-direction: column;
  }
  .index-news-right-thumb img {
    width: 100%;
    height: auto;
  }
  .index-news-right-text {
    margin-left: 0;
    margin-top: 6px;
  }
  .index-news-grid {
    grid-template-columns: 1fr;
  }
}

/* 480px 以下：更小字号，内边距压缩 */
@media (max-width: 480px) {
  .index-ep-title{
    display: block;
    text-align: center;
  }
  .index-news-title {
  text-align:center;
  }
  .index-news-block {
    padding: 10px;
  }
  .index-news-featured h2 {
    font-size: 16px;
  }
  .index-news-text h3 {
    font-size: 13px;
  }
  .index-news-right-text h4 {
    font-size: 12px;
  }
  .index-news-right-item {
  display: grid;
  grid-template-columns: 30% 70%;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
  }
  .index-news-right-thumb img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  }
.index-news-right-text {
  flex: 1;
  margin-left: 10px;
  }

.index-news-right-text h4 {
  font-size: 16px!important;
  font-weight: 600;
  margin: 0 0 4px;
  }

.index-news-right-text .index-news-meta {
  font-size: 12px;
  color: #999;
  }

.index-news-right-text .index-news-meta span {
  margin-left: 6px;
  }
  .index-news-meta {
    font-size: 11px;
  }
}

/*index map block*/

.supplier-map-block-wrapper{
	max-width: 1366;
	padding: 10px;
	border-radius: 12px;
	background: #fff;
}

/*video post list*/
.video-posts-container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 20px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    grid-auto-rows: masonry; /* CSS Grid Level 3 - 瀑布流 */
}

/* 兼容性回退 - 使用Masonry布局 */
@supports not (grid-auto-rows: masonry) {
    .video-grid {
        display: block;
        columns: auto;
        column-width: 300px;
        column-gap: 20px;
    }
    
    .video-card {
        display: inline-block;
        width: 100%;
        margin-bottom: 20px;
        break-inside: avoid;
    }
}

.video-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(255,255,255,1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid #f03;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 3px;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.video-content {
    padding: 20px;
}

.video-list-title {
    font-size: 16px!important;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-title a {
    color: inherit;
    text-decoration: none;
}

.video-title a:hover {
    color: #007cba;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

.video-author {
    font-weight: 500;
}

.video-date {
    color: #999;
}

.video-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.single-video-tag {
    background: #f0f0f0;
    color: #666;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.video-tag:hover {
    background: #007cba;
    color: white;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

#load-more {
    background: linear-gradient(135deg, #007cba, #005a8b);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,124,186,0.3);
}

#load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,124,186,0.4);
}

#load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-posts-container {
        padding: 15px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    @supports not (grid-auto-rows: masonry) {
        .video-grid {
            column-width: 250px;
        }
    }
    
    .video-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    @supports not (grid-auto-rows: masonry) {
        .video-grid {
            columns: 1;
        }
    }
}

/* video play page*/
.video-single-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.video-article {
	display: grid;
	grid-template-columns: 70% 30%;
	gap: 10px;
    border-radius: 12px;
    overflow: hidden;
}

/* 视频播放区域 */
.video-player-section {
    background: #000;
    position: relative;
}
.video-single-left{
	background: #fff;
	border-radius: 10px;
}
.video-player-wrapper {
    position: relative;
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player,
.video-embed-container iframe,
.video-content-embed iframe,
.video-content-embed video {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 80vh;
}

.video-embed-container,
.video-content-embed {
    width: 100%;
    position: relative;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-video-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

/* 视频信息栏 */
.video-info-bar {
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-duration-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.video-actions {
    display: flex;
    gap: 15px;
}

/* 文章头部 */
.video-header {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.video-title {
    font-size: 28px!important;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.video-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-author-info img {
    border-radius: 50%;
}

.video-author-details {
    display: flex;
    flex-direction: column;
}

.video-author-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.video-publish-date {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}

.video-video-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.video-view-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

/* 分类和标签 */
.video-taxonomy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-categories,
.video-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.video-categories svg,
.video-tags svg {
    color: #666;
}

.category-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.category-tag:hover {
    transform: translateY(-1px);
}

.video-tag {
    background: #f0f0f0;
    color: #666;
    padding: 4px 10px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease;
}

.video-tag:hover {
    background: #007cba;
    color: white;
}

/* 文章内容 */
.video-content {
    padding: 5px 10px;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.content-text p {
    margin-bottom: 1em;
}

.content-text h2,
.content-text h3,
.content-text h4 {
    margin: 1.5em 0 0.5em 0;
    color: #333;
}

.content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1em 0;
}

/* 相关视频 */
.related-videos {
    padding: 30px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.related-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.related-video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.related-video-card:hover {
    transform: translateY(-3px);
}

.related-video-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-thumbnail {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: #000;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-video-card:hover .related-thumbnail img {
    transform: scale(1.05);
}

.no-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-video-card:hover .play-overlay {
    opacity: 1;
}

.duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.related-info {
    padding: 15px;
}

.related-info .related-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

.no-related {
    text-align: center;
    color: #666;
    font-style: italic;
    grid-column: 1 / -1;
}

/* 评论区域 */
.video-comments {
    padding: 30px;
    border-top: 1px solid #eee;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-single-container {
        padding: 10px;
        margin: 0;
    }
    
    .video-article {
        border-radius: 0;
    }
    
    .video-header {
        padding: 20px;
    }
    
    .video-title {
        font-size: 24px;
    }
    
    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .video-stats {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .video-content {
        padding: 20px;
    }
    
    .related-videos {
        padding: 20px;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .video-info-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .video-actions {
        align-self: stretch;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .video-header {
        padding: 15px;
    }
    
    .video-title {
        font-size: 20px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .author-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}