/* 
 * 云南震序律师事务所网站基础样式
 * 包含：全局字体设置、基础元素样式、通用容器等
 */

/* 全局字体设置 */
body {
    /* font-family: "HarmonyOS Sans SC", "HarmonyOS Sans", sans-serif; */ /* Removed, defined in style.css */
    /* font-size: 16px; */ /* Removed, defined in style.css */
    /* line-height: 1.5; */ /* Removed, using global 1.6 from style.css */
    /* color: #000000; */ /* Removed, using global #333 from style.css */
    background-color: #fff;
    margin: 0;
    padding: 0;
}

/* 确保所有元素都使用鸿蒙字体 */
/* 
*, 
*::before, 
*::after {
    font-family: "HarmonyOS Sans SC", "HarmonyOS Sans", sans-serif !important; 
} 
*/ /* Removed, handled by body inheritance */

/* H1-H6 margins and line-height are defined globally in style.css */

/* Font weights for H1-H6 are defined globally in style.css */

/* P font-weight and margin-bottom are defined globally in style.css */

a {
    color: #333; /* Keep specific color? Or use global #007bff? Keeping #333 for now. */
    /* text-decoration: none; */ /* Removed, defined in style.css */
    transition: all 0.3s ease; /* 平滑过渡效果 */
}

a:hover {
    color: #f4ad03; /* 悬停时为黄色 */
    /* text-decoration: none; */ /* Keep this? Global uses underline. Keeping none for now. */
}

/* 容器样式 - 设置页面主体内容最大宽度 */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 通用间距类 */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }



/* 轮播图样式 */
.swiper-container {
    width: 100% !important; /* 强制100%宽度 */
    height: 600px;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.swiper-slide {
    width: 100% !important; /* 强制幻灯片100%宽度 */
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.swiper-slide img {
    width: 100% !important; /* 强制图片100%宽度 */
    height: 100%;
}

/* 轮播图文本样式 */
.slide-text {
    position: absolute;
    bottom: 100px;
    left: 100px;
    color: #fff;
    max-width: 600px;
    z-index: 10;
}

.slide-text h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* 文字阴影提高可读性 */
}

.slide-text p {
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 小节标题通用样式 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: #f4ad03; /* 黄色标题 */
}

/* 标题下方的装饰线 */
.section-title h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #002b70; /* 蓝色线条 */
}

.section-title p {
    /* font-size: 16px; */ /* Removed, redundant with global P */
    color: #666;
}

/* 响应式样式已移至template/zhenxulaw/css/responsive/base.css */
