/* ==================================================
   GLOBAL RESET & BASE STYLE
================================================== */

/* 基础字体 */
body {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    background-color: #ffffff;
}

/* 标题统一 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 0;
}

/* 段落 */
p {
    margin-bottom: 16px;
}

/* 链接 */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #666666;
}

/* 图片基础 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ==================================================
   NAVIGATION MENU
================================================== */

#navigation ul li a {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    text-transform: uppercase;
    padding: 10px 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

/* hover & active */
#navigation ul li.current-menu-item a,
#navigation ul li.current_page_item a,
#navigation ul li a:hover {
    background-color: #666666;
    color: #ffcc33;
}

/* 去掉默认样式 */
#navigation ul li {
    background: none;
    border: none;
}


/* ==================================================
   BLOG CONTENT (核心优化)
================================================== */

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
}

/* 标题层级 */
.entry-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.entry-content h2 {
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content h3 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
}

/* 段落 */
.entry-content p {
    margin-bottom: 16px;
}

/* 列表 */
.entry-content ul,
.entry-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

/* 图片 */
.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}


/* ==================================================
   ELEMENTOR LAYOUT FIX
================================================== */

/* 统一列间距 */
.elementor-column {
    padding-left: 15px;
    padding-right: 15px;
}

/* 防止图片被压缩 */
.elementor-widget-image img {
    width: 100%;
    height: auto;
}


/* ==================================================
   RESPONSIVE (手机 & 平板优化)
================================================== */

@media (max-width: 1024px) {

    body {
        font-size: 15px;
    }

    .entry-content h1 {
        font-size: 26px;
    }

    .entry-content h2 {
        font-size: 22px;
    }

    .entry-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {

    .entry-content {
        max-width: 100%;
        padding: 0 15px;
    }

    .elementor-column {
        padding-left: 10px;
        padding-right: 10px;
    }
}
