/*
 * Main Styles
 * Yanjing Theme
 */

/* 容器 */
.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 30px;
}
.selected-variation-info{
    display: none!important;
}
/* Hero 区域示例样式 */
.hero {
    height: 700px;
    background: linear-gradient(120deg, #3a7bd5, #3a6073);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin: 0 0 20px 0;
    color: #ffffff;
}

.hero p {
    font-size: clamp(16px, 2.5vw, 20px);
    margin: 0;
    color: #ffffff;
}

/* 主内容区域 */
.site-main {
    padding: 60px 0;
    min-height: 60vh;
}

/* 如果页面有 hero 区域，调整主内容的 padding */
.has-hero + .site-main {
    padding-top: 80px;
}

/* 文章样式 */
article {
    margin-bottom: 40px;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 36px;
    color: #333333;
    margin-bottom: 10px;
}

.entry-title a {
    color: #333333;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #ab8e66;
}

.entry-meta {
    font-size: 14px;
    color: #666666;
    margin-top: 10px;
}

.entry-meta span {
    margin-right: 15px;
}

.post-thumbnail {
    margin-bottom: 30px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content {
    line-height: 1.8;
    color: #555555;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content h2 {
    font-size: 28px;
}

.entry-content h3 {
    font-size: 24px;
}

.entry-content h4 {
    font-size: 20px;
}

.entry-content a {
    color: #ab8e66;
    text-decoration: underline;
}

.entry-content a:hover {
    opacity: 0.8;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

.entry-content ul,
.entry-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

 

/* 响应式 */
@media (max-width: 768px) {
    .entry-title {
        font-size: 28px;
    }
    
    .entry-content h2 {
        font-size: 24px;
    }
    
    .entry-content h3 {
        font-size: 20px;
    }
    
    .entry-content h4 {
        font-size: 18px;
    }
    
    .site-main {
        padding: 40px 0;
    }
}

/* 按钮样式 */
.btn,
.wp-block-button__link {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ab8e66;
    color: #ffffff !important;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn:hover,
.wp-block-button__link:hover {
    background-color: #8d7454;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(171, 142, 102, 0.3);
}

/* 表单样式 */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #ab8e66;
}

/* WordPress 对齐类 */
.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

