/*
Theme Name: LowEndBox Clone
Theme URI: https://lowendbox.com
Author: Custom Theme Developer
Author URI: https://lowendbox.com
Description: A pixel-perfect replica of the LowEndBox.com website design, featuring a three-column layout with hosting deals and news content.
Version: 1.1.8
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lowendbox-clone
Tags: blog, news, three-columns, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready
*/

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "STHeiti", "WenQuanYi Micro Hei", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: #e8f5e9;
}

a {
    color: #009933;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #007a29;
    text-decoration: underline;
}

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

ul {
    list-style: none;
}

/* ===================================
   Layout Structure
   =================================== */
.site-container {
    width: 100%;
    background-color: #e8f5e9;
    display: block;
    padding: 0;
}

/* Main white container with shadow */
.site-header,
.content-wrapper,
.site-footer {
    background-color: #fff;
}

/* Wrapper for the entire white area */
body .site-container > * {
    width: 1500px;
    margin: 0 auto;
}

/* Add shadow only to the sides of the main container */
.site-header {
    width: 1500px;
    box-shadow: -10px 0 15px -5px rgba(0, 0, 0, 0.1), 10px 0 15px -5px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
    margin: 0 auto;
    padding: 0;
}

.content-wrapper {
    box-shadow: -10px 0 15px -5px rgba(0, 0, 0, 0.1), 10px 0 15px -5px rgba(0, 0, 0, 0.1);
}

.site-footer {
    box-shadow: -10px 0 15px -5px rgba(0, 0, 0, 0.1), 10px 0 15px -5px rgba(0, 0, 0, 0.1);
}

.header-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 30px;
    background-color: #F9F9F9;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.top-bar-left a {
    color: #666;
    font-size: 14px;
}

.top-bar-left a:hover {
    color: #009933;
}

.top-bar-right {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 2px;
    color: #333;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #009933;
    color: #fff;
    text-decoration: none;
}

/* ===================================
   Header Logo & Navigation
   =================================== */
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo a {
    display: block;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.site-description {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* Main Navigation - Hidden in new layout */
.main-navigation {
    display: none;
}

/* ===================================
   Content Area Layout - Two Column
   =================================== */
.content-wrapper {
    width: 1500px;
    margin: 0 auto;
    padding: 30px 30px;
    display: flex;
    gap: 30px;
    min-height: calc(100vh - 400px);
    align-items: flex-start;
}

/* Left Main Column: Contains Navigation + Posts */
.left-main-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Left Navigation Column */
.left-nav-column {
    background-color: #fff;
    border-radius: 4px;
    padding: 15px 0;
    margin-bottom: 20px;
    width: 100%;
}

.main-navigation-vertical {
    /* Navigation wrapper */
}

.nav-title {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.nav-title a {
    display: block;
}

.nav-logo {
    max-height: 50px;
    width: auto;
    display: block;
}

.nav-menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.main-menu-vertical {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.main-menu-vertical li {
    margin-bottom: 0;
}

.main-menu-vertical a {
    color: #009933;
    font-size: 15px;
    display: block;
    padding: 5px 0;
    white-space: nowrap;
}

.main-menu-vertical a:hover {
    text-decoration: underline;
}

/* Navigation Search Form */
.nav-search-wrapper {
    margin-left: auto;
}

.nav-search-form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-search-input {
    width: 200px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease, width 0.3s ease;
}

.nav-search-input:focus {
    outline: none;
    border-color: #009933;
    width: 250px;
}

.nav-search-submit {
    padding: 8px 12px;
    background-color: #009933;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.nav-search-submit:hover {
    background-color: #007a29;
}

.nav-search-submit svg {
    display: block;
}

/* ===================================
   Search Results Page
   =================================== */
.search-results-section {
    width: 100%;
}

.search-header {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

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

.search-query {
    color: #009933;
}

.search-results-count {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.search-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.search-result-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    gap: 25px;
    transition: box-shadow 0.3s ease;
}

.search-result-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-result-thumbnail {
    flex: 0 0 250px;
    height: 180px;
    overflow: hidden;
    border-radius: 6px;
}

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

.search-result-card:hover .search-result-thumbnail img {
    transform: scale(1.1);
}

.search-result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-result-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.4;
}

.search-result-title a {
    color: #333;
    text-decoration: none;
}

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

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.search-result-meta .post-meta-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.search-result-meta .meta-separator {
    color: #ddd;
}

.search-result-meta a {
    color: #999;
}

.search-result-meta a:hover {
    color: #009933;
}

.search-result-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 15px;
}

.search-result-read-more {
    color: #009933;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
}

.search-result-read-more:hover {
    text-decoration: underline;
}

/* No Results */
.no-search-results {
    background-color: #fff;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
}

.no-results-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.no-results-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.no-results-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.search-suggestions {
    list-style: none;
    margin: 20px 0 40px;
    padding: 0;
}

.search-suggestions li {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.search-suggestions li:before {
    content: "•";
    color: #009933;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 20px;
}

.search-again {
    max-width: 500px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.search-again-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.search-again .search-form {
    display: flex;
    gap: 10px;
}

.search-again .search-form input[type="search"] {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

.search-again .search-form input[type="search"]:focus {
    outline: none;
    border-color: #009933;
    box-shadow: 0 0 0 3px rgba(0, 153, 51, 0.1);
}

.search-again .search-form button[type="submit"] {
    padding: 12px 30px;
    background-color: #009933;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-again .search-form button[type="submit"]:hover {
    background-color: #007a29;
}

/* ===================================
   Explore Deals Module
   =================================== */
.explore-deals-module {
    background-color: #FCFCFC;
    border: 1px solid #ECECEC;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.explore-deals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.explore-deals-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.explore-deals-toggle {
    background-color: #009933;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.explore-deals-toggle:hover {
    background-color: #007a29;
}

.explore-deals-content {
    display: block;
}

.explore-deals-content.hidden {
    display: none;
}

.explore-deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 25px;
}

.deals-column {
    /* Column styling */
}

.deals-column-title {
    font-size: 16px;
    font-weight: bold;
    color: #666;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.deals-section {
    margin-bottom: 20px;
}

.deals-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

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

.deals-list li {
    margin-bottom: 6px;
}

.deals-list a {
    color: #009933;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s ease;
}

.deals-list a:hover {
    color: #007a29;
    text-decoration: underline;
}

.explore-deals-footer {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deals-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.deals-footer-links a {
    color: #009933;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.deals-footer-links a:hover {
    color: #007a29;
    text-decoration: underline;
}

/* Posts Content Section inside left column */
.content-section {
    width: 100%;
}

/* Right Sidebar */
.right-sidebar {
    width: 350px;
    flex-shrink: 0;
    font-size: 15px;
}

.right-sidebar .widget-title,
.right-sidebar h2 {
    font-size: 18px;
}

.right-sidebar ul li,
.right-sidebar p {
    font-size: 15px;
    line-height: 1.7;
}

/* Legacy styles - keep for other pages */
.left-sidebar {
    width: 280px;
    flex-shrink: 0;
}

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

.main-content-full {
    flex: 1;
    min-width: 0;
}

/* ===================================
   Left Sidebar Navigation
   =================================== */
.sidebar-nav {
    background-color: #fff;
    border-radius: 4px;
    padding: 20px 15px;
    margin-bottom: 20px;
}

.sidebar-nav h3 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #009933;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 8px;
}

.sidebar-nav a {
    color: #009933;
    font-size: 12px;
    display: block;
    padding: 3px 0;
}

.sidebar-nav a:hover {
    text-decoration: underline;
}

.sidebar-nav .sub-menu {
    margin-left: 15px;
    margin-top: 5px;
}

/* ===================================
   Main Content Area
   =================================== */
.content-section {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 30px;
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    color: #009933;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.section-title .new-badge {
    background-color: #009933;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Latest Posts & News Featured Post (左文字右图) */
.latest-featured-post {
    display: flex;
    gap: 30px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 25px;
}

.latest-featured-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.latest-featured-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.latest-featured-title a {
    color: #333;
    text-decoration: none;
}

.latest-featured-title a:hover {
    color: #009933;
}

.latest-featured-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.latest-featured-meta img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.latest-featured-excerpt {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.latest-featured-excerpt p {
    margin-bottom: 10px;
}

.latest-featured-thumbnail {
    flex: 0 0 450px;
    height: 300px;
    overflow: hidden;
    border-radius: 6px;
}

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

.latest-featured-post:hover .latest-featured-thumbnail img {
    transform: scale(1.05);
}

/* ===================================
   BWH Stock Checker
   =================================== */
.bwh-stock-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #009933, #00b33c);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 153, 51, 0.2);
}

.bwh-stock-header .section-title {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bwh-stock-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: center;
}

.bwh-stock-description p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

/* 优惠码信息样式 */
.promo-info, .special-promo-info {
    margin: 20px auto 15px;
    padding: 15px 25px;
    background-color: rgba(255, 255, 255, 0.95);
    border-left: 4px solid #ffffff;
    border-radius: 6px;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    color: #333; /* 设置文本颜色为深色 */
}

.promo-info a, .special-promo-info a {
    color: #009933; /* 链接颜色 */
    text-decoration: none;
    font-weight: 600;
    margin-left: 10px;
}

.promo-info a:hover, .special-promo-info a:hover {
    color: #007a29;
    text-decoration: underline;
}

.promo-active {
    color: #dc3545;
    font-weight: 700;
    background-color: #fff3cd;
    padding: 2px 8px;
    border-radius: 4px;
}

.promo-pricing {
    color: #dc3545;
    font-weight: 600;
}

/* BWH Stock Table Buy Button and Status */
.buy-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #009933;
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.buy-button:hover {
    background-color: #007a29;
    color: white !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 153, 51, 0.3);
}

.stock-out-text {
    color: #6c757d;
    font-style: italic;
}

.stock-in {
    color: #009933;
    font-weight: 600;
    background-color: rgba(0, 153, 51, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.stock-out {
    color: #dc3545;
    font-weight: 600;
    background-color: rgba(220, 53, 69, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.bwh-stock-table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bwh-stock-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 14px;
    min-width: 800px; /* 确保表格在小屏幕上保持可读性 */
}

.bwh-stock-table th {
    background-color: #009933;
    color: #fff;
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid #007a29;
    font-size: 13px;
    white-space: nowrap;
}

.bwh-stock-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    font-size: 13px;
}

.bwh-stock-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.bwh-stock-table tr:hover {
    background-color: rgba(0, 153, 51, 0.1);
}

.bwh-stock-table td:first-child {
    text-align: left;
    font-weight: 600;
    min-width: 220px; /* 增加套餐名称列的最小宽度 */
    max-width: 250px; /* 设置最大宽度避免过宽 */
    word-wrap: break-word; /* 允许长单词换行 */
    color: #2c5530;
}
}

.bwh-stock-table a {
    color: #009933;
    text-decoration: none;
    font-weight: 500;
}

.bwh-stock-table a:hover {
    color: #007d2a;
    text-decoration: underline;
}

.stock-in {
    color: #28a745;
    font-weight: 600;
    background-color: #d4edda;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.stock-out {
    color: #6c757d;
    font-weight: 600;
    background-color: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.bwh-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 30px 0;
    font-size: 1.1rem;
    border: 1px solid #f5c6cb;
}

.bwh-stock-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    border-top: 2px solid #009933;
    font-size: 0.9rem;
    color: #666;
    background-color: rgba(0, 153, 51, 0.05);
    border-radius: 6px;
}

.bwh-stock-footer a {
    color: #009933;
    text-decoration: none;
}

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

/* 响应式设计 */
@media (max-width: 1200px) {
    .bwh-stock-table th,
    .bwh-stock-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .bwh-stock-table td:first-child {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .bwh-stock-header .section-title {
        font-size: 1.8rem;
    }

    .bwh-stock-table {
        font-size: 11px;
    }

    .bwh-stock-table th,
    .bwh-stock-table td {
        padding: 8px 6px;
    }

    .bwh-stock-table td:first-child {
        max-width: 120px;
    }

    .promo-info, .special-promo-info {
        padding: 10px 15px;
        font-size: 0.95rem;
    }

    .stock-in, .stock-out {
        font-size: 11px;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .bwh-stock-table {
        font-size: 10px;
        min-width: 700px; /* 保持最小宽度，允许水平滚动 */
    }

    .bwh-stock-table th,
    .bwh-stock-table td {
        padding: 6px 4px;
    }

    .bwh-stock-header .section-title {
        font-size: 1.6rem;
    }

    .bwh-stock-table td:first-child {
        max-width: 100px;
    }
}

/* ===================================
   Archive Pages
   =================================== */
.archive-header {
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid #e0e0e0;
}

.archive-header .section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #2c5530;
    font-weight: 700;
}

.archive-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}

.archive-description p {
    margin: 0;
}

/* ===================================
   Category Sections
   =================================== */
.category-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.category-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.category-title a {
    color: #009933;
    text-decoration: none;
}

.category-title a:hover {
    color: #009933;
}

.category-more {
    color: #009933;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.category-more:hover {
    text-decoration: underline;
}

/* Featured Post (头条展示) */
.featured-post {
    display: flex;
    gap: 25px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    padding: 20px;
}

.featured-post-thumbnail {
    flex: 0 0 450px;
    height: 300px;
    overflow: hidden;
    border-radius: 6px;
}

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

.featured-post:hover .featured-post-thumbnail img {
    transform: scale(1.05);
}

.featured-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post-title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.featured-post-title a {
    color: #333;
    text-decoration: none;
}

.featured-post-title a:hover {
    color: #009933;
}

.featured-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.featured-post-meta img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.featured-post-excerpt {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.featured-post-excerpt p {
    margin-bottom: 10px;
}

/* ===================================
   Post Cards / Articles
   =================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.post-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f5f5f5;
}

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

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 15px;
}

.post-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.post-title a {
    color: #333;
}

.post-title a:hover {
    color: #009933;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.post-meta-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.post-meta a {
    color: #999;
}

.post-meta a:hover {
    color: #009933;
}

.post-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 10px;
}

.read-more {
    color: #009933;
    font-size: 14px;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* ===================================
   Right Sidebar Widgets
   =================================== */
.widget {
    background-color: #fff;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #009933;
}

/* Search Widget */
.search-form {
    display: flex;
    gap: 5px;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
}

.search-submit {
    padding: 8px 15px;
    background-color: #009933;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.search-submit:hover {
    background-color: #007a29;
}

/* Badge/Award Widgets */
.badge-item {
    margin-bottom: 15px;
}

.badge-item img {
    width: 100%;
    border-radius: 4px;
}

/* Recent Comments Widget */
.recent-comments-list {
    list-style: none;
}

.recent-comments-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
}

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

.recent-comments-list a {
    color: #009933;
    font-size: 12px;
}

.recent-comments-list .comment-excerpt {
    color: #666;
    margin-top: 5px;
    line-height: 1.5;
}

/* Advertisement Widgets */
.ad-widget {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.ad-widget img {
    width: 100%;
    display: block;
}

/* ===================================
   Footer
   =================================== */
.site-footer {
    width: 1500px;
    margin: 0 auto;
    padding: 30px 30px;
}

.footer-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

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

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-menu a {
    color: #666;
    font-size: 12px;
}

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

.footer-text {
    font-size: 11px;
    color: #999;
    line-height: 1.6;
}

.footer-text a {
    color: #999;
}

.footer-text a:hover {
    color: #009933;
}

/* ===================================
   Single Post Page
   =================================== */
.single-post-article {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

/* 文章标题区域 */
.single-post-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.single-post-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin-bottom: 20px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #999;
}

.single-post-meta .post-meta-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.single-post-meta .meta-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.single-post-meta .meta-divider {
    color: #ddd;
}

.single-post-meta .post-author a {
    color: #009933;
    font-weight: 500;
}

.single-post-meta .post-author a:hover {
    text-decoration: underline;
}

.single-post-meta .post-comments a {
    color: #999;
}

.single-post-meta .post-comments a:hover {
    color: #009933;
}

/* 特色图片 */
.single-post-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.single-post-thumbnail .featured-image {
    width: 100%;
    height: auto;
}

/* 文章内容 */
.single-post-content {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 30px;
}

.single-post-content h2 {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.single-post-content h3 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 25px 0 15px;
}

.single-post-content h4 {
    font-size: 19px;
    font-weight: bold;
    color: #333;
    margin: 20px 0 12px;
}

.single-post-content p {
    margin-bottom: 18px;
    text-align: justify;
}

.single-post-content ul,
.single-post-content ol {
    margin: 15px 0 15px 25px;
}

.single-post-content li {
    margin-bottom: 8px;
    list-style-position: outside;
}

.single-post-content ul li {
    list-style-type: disc;
}

.single-post-content ol li {
    list-style-type: decimal;
}

.single-post-content blockquote {
    margin: 25px 0;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #009933;
    font-style: italic;
    color: #666;
}

.single-post-content code {
    background-color: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.single-post-content pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

.single-post-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.single-post-content img {
    margin: 25px 0;
    border-radius: 6px;
    max-width: 100%;
    height: auto;
}

.single-post-content a {
    color: #009933;
    text-decoration: underline;
}

.single-post-content a:hover {
    color: #007a29;
}

.page-links {
    margin-top: 30px;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
}

.page-links .page-links-title {
    font-weight: bold;
    margin-right: 10px;
}

.page-links span,
.page-links a {
    display: inline-block;
    margin: 0 5px;
    padding: 5px 12px;
    background: #f5f5f5;
    border-radius: 3px;
}

.page-links a {
    color: #009933;
}

.page-links a:hover {
    background: #009933;
    color: #fff;
    text-decoration: none;
}

/* 文章底部信息 */
.single-post-footer {
    padding: 25px 0;
    margin: 25px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.post-taxonomy {
    margin-bottom: 20px;
}

.post-categories,
.post-tags {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tax-label {
    font-weight: bold;
    color: #666;
    font-size: 14px;
}

.tax-items a {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f0f0f0;
    color: #009933;
    border-radius: 3px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tax-items a:hover {
    background-color: #009933;
    color: #fff;
}

/* 分享按钮 */
.post-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-weight: bold;
    color: #666;
    font-size: 14px;
}

.share-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.share-facebook {
    background-color: #1877f2;
    color: #fff;
}

.share-facebook:hover {
    background-color: #145dbf;
    text-decoration: none;
}

.share-twitter {
    background-color: #1da1f2;
    color: #fff;
}

.share-twitter:hover {
    background-color: #0c85d0;
    text-decoration: none;
}

.share-copy {
    background-color: #666;
    color: #fff;
}

.share-copy:hover {
    background-color: #444;
    text-decoration: none;
}

/* 作者信息卡片 */
.author-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 30px 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.author-name a {
    color: #333;
    text-decoration: none;
}

.author-name a:hover {
    color: #009933;
}

.author-bio {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.author-posts-link {
    color: #009933;
    font-size: 14px;
    font-weight: 500;
}

.author-posts-link:hover {
    text-decoration: underline;
}

/* 上一篇/下一篇导航 */
.post-navigation {
    margin: 30px 0;
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-previous,
.nav-next {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background-color: #f0f0f0;
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
}

.nav-previous a,
.nav-next a {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: block;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #009933;
}

/* 相关文章推荐 */
.related-posts {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.related-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

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

.related-post-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.related-post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-post-thumbnail {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

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

.related-post-card:hover .related-post-thumbnail img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 15px;
}

.related-post-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-post-title a {
    color: #333;
    text-decoration: none;
}

.related-post-title a:hover {
    color: #009933;
}

.related-post-meta {
    font-size: 12px;
    color: #999;
}

/* 评论区域 */
.comments-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.comments-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

/* Comments */
.comments-area {
    background-color: transparent;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.comments-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

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

.comment {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-author {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.comment-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.comment-content {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* 评论表单样式 */
.comment-respond {
    margin-top: 30px;
}

.comment-reply-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.comment-reply-title small {
    font-size: 14px;
    font-weight: normal;
    margin-left: 10px;
}

.comment-reply-title small a {
    color: #999;
    text-decoration: none;
}

.comment-reply-title small a:hover {
    color: #009933;
}

.comment-form {
    margin-top: 20px;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
}

.comment-label .required {
    color: #ff0000;
    margin-left: 3px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: #009933;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 153, 51, 0.1);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.7;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 20px;
}

.submit-comment-btn {
    padding: 12px 30px;
    background-color: #009933;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-comment-btn:hover {
    background-color: #007a29;
}

.logged-in-as {
    background-color: #f9f9f9;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.logged-in-as a {
    color: #009933;
    text-decoration: none;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

.form-allowed-tags {
    font-size: 13px;
    color: #999;
    margin-top: 15px;
    line-height: 1.6;
}

.form-allowed-tags code {
    background-color: #f4f4f4;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
}

/* 隐藏字符计数器（如果不需要） */
.char-counter {
    display: none;
}

/* 评论导航 */
.comment-navigation {
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    display: inline-block;
    margin-right: 15px;
}

.comment-navigation a {
    color: #009933;
    font-size: 14px;
}

.comment-navigation a:hover {
    text-decoration: underline;
}

.no-comments {
    color: #999;
    font-size: 15px;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 4px;
}

/* ===================================
   Pagination
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.page-numbers {
    padding: 8px 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #009933;
    border-radius: 3px;
    font-size: 13px;
}

.page-numbers:hover,
.page-numbers.current {
    background-color: #009933;
    color: #fff;
    text-decoration: none;
}

/* ===================================
   Responsive Design
   =================================== */

/* Large Desktop (1600px - 2200px) */
@media (max-width: 1600px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop (1200px - 1600px) */
@media (max-width: 1200px) {
    .left-sidebar {
        width: 220px;
    }

    .right-sidebar {
        width: 320px;
    }

    .main-content-full {
        max-width: calc(100% - 320px - 30px);
    }

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

/* Tablet (768px - 1200px) */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
        padding: 20px;
    }

    .left-sidebar,
    .right-sidebar {
        width: 100%;
    }

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

    .left-sidebar {
        order: 3;
    }

    .main-content,
    .main-content-full {
        order: 1;
    }

    .right-sidebar {
        order: 2;
    }

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

    .main-menu .sub-menu {
        min-width: 500px;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .main-navigation {
        margin-left: 0;
        width: 100%;
    }

    .main-menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .main-menu > li {
        width: 100%;
    }

    .main-menu .sub-menu {
        position: static;
        min-width: 100%;
        border: none;
        box-shadow: none;
        padding: 10px 0 10px 20px;
    }

    .mega-menu-columns {
        flex-direction: column;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        padding: 15px;
    }

    .site-header {
        padding: 15px;
    }

    .header-wrapper {
        padding: 0;
    }

    .content-section {
        padding: 15px;
    }

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ===================================
   WordPress Core Classes
   =================================== */
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.aligncenter {
    display: block;
    margin: 20px auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 12px;
    color: #999;
    text-align: center;
    padding: 5px 0;
}

.sticky {
    border-left: 3px solid #009933;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ===================================
   Additional Utilities
   =================================== */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

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

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

/* ===================================
   BWH Stock Page Layout - Remove Right Sidebar Only
   =================================== */

/* Hide right sidebar on BWH Stock page only */
.bwh-stock-page .right-sidebar {
    display: none !important;
}

/* Expand left-main-column to use the space from hidden right sidebar */
.bwh-stock-page .left-main-column {
    flex: 1;
    max-width: none;
}

/* Keep the same content wrapper width as header */
.bwh-stock-page .content-wrapper {
    width: 1500px;
    margin: 0 auto;
    padding: 30px 30px;
    display: flex;
    gap: 30px;
    min-height: calc(100vh - 400px);
    align-items: flex-start;
}

/* Enhanced BWH table for wider layout */
.bwh-stock-page .bwh-stock-table-container {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.bwh-stock-page .bwh-stock-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 15px;
    min-width: 1000px; /* 利用更多可用空间 */
}

.bwh-stock-page .bwh-stock-table th {
    background-color: #009933;
    color: #fff;
    padding: 18px 15px;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid #007a29;
    font-size: 14px;
    white-space: nowrap;
}

.bwh-stock-page .bwh-stock-table td {
    padding: 15px 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    font-size: 14px;
}

.bwh-stock-page .bwh-stock-table td:first-child {
    text-align: left;
    font-weight: 600;
    min-width: 280px; /* 更大的套餐名称列宽度 */
    max-width: 350px;
    word-wrap: break-word;
    color: #2c5530;
}

/* 机房位置列样式 */
.bwh-stock-page .bwh-stock-table td:nth-child(2) {
    text-align: center;
    min-width: 180px;
    max-width: 220px;
    word-wrap: break-word;
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    white-space: normal;
}

/* 其他列的适当宽度 */
.bwh-stock-page .bwh-stock-table td:nth-child(3),
.bwh-stock-page .bwh-stock-table td:nth-child(4),
.bwh-stock-page .bwh-stock-table td:nth-child(5),
.bwh-stock-page .bwh-stock-table td:nth-child(6),
.bwh-stock-page .bwh-stock-table td:nth-child(7),
.bwh-stock-page .bwh-stock-table td:nth-child(8) {
    min-width: 80px;
    max-width: 120px;
}

/* 价格列 */
.bwh-stock-page .bwh-stock-table td:nth-child(9) {
    min-width: 120px;
    max-width: 160px;
    font-weight: 600;
    color: #2c5530;
}

/* 库存和购买列 */
.bwh-stock-page .bwh-stock-table td:nth-child(10),
.bwh-stock-page .bwh-stock-table td:nth-child(11) {
    min-width: 100px;
    max-width: 130px;
}

/* Enhanced buy button */
.bwh-stock-page .buy-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #009933;
    color: white !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    outline: none;
    /* 防止选择和拖拽 */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    /* 确保链接显示为按钮样式 */
    line-height: 1;
}

.bwh-stock-page .buy-button:hover {
    background-color: #007a29;
    color: white !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 153, 51, 0.4);
}

.bwh-stock-page .buy-button:focus {
    outline: none;
    background-color: #007a29;
    box-shadow: 0 4px 12px rgba(0, 153, 51, 0.4);
}

.bwh-stock-page .buy-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 153, 51, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1600px) {
    .bwh-stock-page .content-wrapper {
        width: 1400px;
    }
}

@media (max-width: 1400px) {
    .bwh-stock-page .content-wrapper {
        width: 1200px;
    }

    .bwh-stock-page .bwh-stock-table {
        min-width: 900px;
    }
}

@media (max-width: 1200px) {
    .bwh-stock-page .content-wrapper {
        width: 100%;
        padding: 20px;
    }

    .bwh-stock-page .bwh-stock-table {
        min-width: 800px;
    }

    .bwh-stock-page .bwh-stock-table td:first-child {
        min-width: 220px;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .bwh-stock-page .content-wrapper {
        flex-direction: column;
        padding: 15px;
    }

    .bwh-stock-page .bwh-stock-table {
        min-width: 700px;
    }
}

/* ===================================
   Special BWH Menu Item Styles
   =================================== */

/* 搬瓦工特殊菜单项 - 简洁文本链接样式 */
.bwh-menu-item .bwh-link {
    color: #dc3545 !important; /* 红色文字 */
    text-decoration: none;
    font-weight: 600; /* 稍微加粗以突出显示 */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.bwh-menu-item .bwh-link:hover {
    color: #c82333 !important; /* 悬停时的深红色 */
    text-decoration: none;
}

.bwh-menu-item .recommend-icon {
    color: #ffc107; /* 金色星星图标 */
    font-size: 12px;
    font-weight: normal;
    margin-left: 2px;
}

/* 当前页面状态 - BWH页面时显示为绿色 */
.bwh-stock-page .bwh-menu-item .bwh-link {
    color: #28a745 !important; /* 绿色表示当前页面 */
}

.bwh-stock-page .bwh-menu-item .bwh-link:hover {
    color: #218838 !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .bwh-menu-item .recommend-icon {
        font-size: 11px;
    }
}
