@import url(main.css);

/* 小屏幕手机优化 (320px - 480px) */
@media screen and (max-width: 480px) {
    .banner-text-container {
        padding-left: 1rem !important;
        transform: scale(0.9);
        transform-origin: left center;
    }
    .banner-title {
        font-size: 1.25rem !important;
        margin-bottom: 0.5rem !important;
    }
    .banner-subtitle {
        font-size: 0.75rem !important;
    }
    .banner-line {
        width: 2rem !important;
        margin-top: 0.5rem !important;
    }
}

/* 中等屏幕手机 (481px - 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .banner-text-container {
        padding-left: 2rem !important;
    }
    .banner-title {
        font-size: 1.75rem !important;
    }
    .banner-subtitle {
        font-size: 0.875rem !important;
    }
}

/* 横屏模式优化 */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .banner-text-container {
        padding-left: 2rem !important;
        transform: scale(0.85);
        transform-origin: left center;
    }
    .banner-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.25rem !important;
    }
    .banner-subtitle {
        font-size: 0.75rem !important;
    }
}

/* 高分辨率小屏幕设备优化 */
@media screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
    .banner-text-container {
        transform: scale(0.95);
        transform-origin: left center;
    }
}

/* PC端布局优化 - 向右移动以优化视觉平衡 */
@media screen and (min-width: 1024px) {
    .banner-text-container {
        padding-left: 18rem !important;
    }
}

@media screen and (min-width: 1280px) {
    .banner-text-container {
        padding-left: 22rem !important;
    }
}

@media screen and (min-width: 1536px) {
    .banner-text-container {
        padding-left: 26rem !important;
    }
}

/* 防止文字模糊 */
.banner-text-container {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.f18 {
  font-size: 18px;
}
/* 文章正文样式 */
.article-content p {
    margin-bottom: 1.5rem;
    line-height: 2;
    text-indent: 2em;
    color: #333;
    font-size: 16px;
}
.article-content p:last-child {
    margin-bottom: 0;
}
