/* ------------------------------------------- */
/* 字体定义 */
/* ------------------------------------------- */
@font-face {
    font-family: 'AlimamaDaoLiTi';
    src: url('../fonts/AlimamaDaoLiTi.woff2') format('woff2'),
         url('../fonts/AlimamaDaoLiTi.woff') format('woff'),
         url('../fonts/AlimamaDaoLiTi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ------------------------------------------- */
/* 全局基础设置 - 京剧国潮风 */
/* ------------------------------------------- */
:root {
    --bg-paper: #F9F7F0; /* 米黄色宣纸背景 */
    --primary-red: #D32F2F; /* 京剧红 */
    --text-dark: #2D3436;
    --text-gray: #636E72;
    --border-color: #E0D6C6;
}

body {
    background-color: #FFF !important; /* 纯白色背景 */
    color: var(--text-dark);
    font-family: "SimHei", "Microsoft YaHei", "STHeiti", sans-serif; /* 黑体字体 */
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-red);
}

/* ------------------------------------------- */
/* 导航栏重构 */
/* ------------------------------------------- */
.navbar {
    background-color: transparent !important; /* 透明背景，依靠body背景 */
    box-shadow: none !important;
    padding-top: 20px;
    padding-bottom: 20px;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 0 !important;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0 20px !important;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-red) !important;
}

/* ------------------------------------------- */
/* 标题装饰 */
/* ------------------------------------------- */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20%; /* 增大间距 */
}

.section-title h2 {
    font-weight: bold;
    color: #000;
    margin: 0;
    font-size: 2.2rem;
    letter-spacing: 2px;
    font-family: "SimHei", "Microsoft YaHei", sans-serif; /* 改为黑体 */
}

.section-title img {
    height: 30px; /* 装饰纹样高度 */
}

/* ------------------------------------------- */
/* 表单样式优化 - 去Bootstrap化 */
/* ------------------------------------------- */
.form-control {
    background-color: #fff !important;
    border: 1px solid #DCDCDC !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    font-size: 1rem;
    color: var(--text-dark);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.form-control:focus {
    border-color: var(--primary-red) !important;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1) !important;
}

/* 移除输入框背景色（针对特定场景） */
.input-group-text {
    background-color: #fff;
    border: 1px solid #DCDCDC;
    border-right: none;
}
.input-group .form-control {
    border-left: none !important;
}

/* ------------------------------------------- */
/* 按钮样式 */
/* ------------------------------------------- */
.btn-image {
    background: none;
    border: none;
    padding: 0;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-image:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.btn-image img {
    display: block;
    width: 100%;
}

/* ------------------------------------------- */
/* 页脚样式 */
/* ------------------------------------------- */
.footer-custom {
    background-color: #FFE082 !important; /* 金黄色背景 */
    color: #333 !important;
    padding-top: 40px;
    padding-bottom: 30px;
}

.qr-code-box {
    text-align: center;
    display: inline-block;
    margin: 0 10px;
}

.qr-code-box img {
    width: 100px;
    height: 100px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.qr-code-box p {
    font-size: 13px;
    margin-top: 8px;
    color: #333; /* 深色文字 */
    font-weight: 500;
}

/* ------------------------------------------- */
/* 页面特定样式 */
/* ------------------------------------------- */

/* 首页 Banner */
.hero-banner {
    width: 100%;
    margin-bottom: 0; /* 紧贴 */
}

/* 活动意义 & 主办方 */
.content-section {
    padding: 60px 0;
}

.text-justify-custom {
    text-align: justify;
    line-height: 2;
    font-size: 1.05rem;
    color: #444;
}

.text-justify-custom p {
    text-indent: 2em; /* 首行缩进两字符 */
}

/* 注册/登录页右侧注意事项 */
.notice-board {
    position: relative;
    width: 100%;
}

.notice-board img.bg-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 覆盖Bootstrap默认卡片 */
.card-custom {
    background: none;
    border: none;
    box-shadow: none;
}

/* 消除默认列表样式 */
ul.clean-list {
    list-style: none;
    padding: 0;
}

/* ------------------------------------------- */
/* 2026视觉升级 - 首页特定区域重构 */
/* ------------------------------------------- */

/* 活动背景意义 - 完全重构版 */
.meaning-wrapper-final {
    position: relative;
    padding-top: 40px; 
    padding-bottom: 80px;
}

.meaning-layout-box {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* 核心内容层 - 使用背景图 */
.meaning-card-layer {
    /* 使用 activity-meaning-bg.png 作为整体背景 */
    background-image: url('../images/home/activity-meaning-bg.png');
    background-size: 100% 100%; /* 强制拉伸填满 */
    background-position: top; /* 顶部对齐 */
    background-repeat: no-repeat;
    background-color: transparent; /* 透明底色 */
    box-shadow: none;
    
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; 
    margin-bottom: -200px;
    
    /* 左侧留白 52% */
    padding: 120px 80px 100px 48%; 
    
    height: 900px; /* 根据背景图尺寸设定固定高度 */
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 标题样式 */
.meaning-title-final {
    font-family: "KaiTi", "楷体", "STKaiti", "华文楷体", serif; /* 暂时使用楷体 */
    font-size: 2.4rem; /* 调小字号 */
    font-weight: bold; /* 楷体通常比较细，加粗一点更清晰 */
    color: #2D2D2D;
    line-height: 1.5;
    text-align: right; 
    margin-top: 0px; /* 往上移，去掉上边距 */
    margin-bottom: 50px;
    letter-spacing: 4px;
    width: 100%;
}

/* 蓝色高亮装饰 */
.meaning-highlight-blue {
    position: relative;
    display: inline-block;
}

.meaning-highlight-blue::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: -2px;
    width: 105%;
    height: 16px;
    background-color: #D4E4F7; /* 淡蓝 */
    z-index: -1;
    opacity: 0.85;
    border-radius: 2px;
}

/* 正文样式 */
.meaning-text-final {
    font-size: 1rem;
    color: #666666;
    line-height: 2.0; 
    text-align: justify;
    padding: 0;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0.5px;
    
    /* 增加高度限制和滚动 */
    max-height: 550px;
    overflow-y: auto;
    padding-right: 15px;
}

/* 左侧图片层 - 隐藏，因为合并到背景里了 */
.meaning-img-layer {
    display: none;
}

/* 主办方介绍 - 左右布局 */
.organizer-banner-img {
    width: 100%;
    margin-bottom: 40px;
    display: block;
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
}

.organizer-logo-box {
    display: flex;
    align-items: center;
    justify-content: center; /* 居中对齐 */
    margin-bottom: 20px;
}

.organizer-stats-item {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}

.organizer-stats-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: #DDD; /* 分割线 */
}

.organizer-stats-num {
    font-size: 2.2rem; /* 大数字 */
    font-weight: bold;
    color: #222; /* 改为深黑色 */
    font-family: "Times New Roman", serif;
    line-height: 1;
    margin-bottom: 15px;
}

.organizer-stats-unit {
    font-size: 1.2rem;
    font-weight: normal;
    margin-left: 2px;
    color: #222;
}

.organizer-stats-label-box {
    background-color: #FFE082; /* 金黄色背景 */
    color: #333;
    padding: 6px 18px;
    font-size: 1rem;
    font-weight: 500;
    /* letter-spacing: 1px; */
}

.organizer-quote-box {
    background-color: #fff;
    border: 1px solid #F0F0F0;
    border-left: 4px solid #E2B967; /* 金色左边框 */
    padding: 25px;
    color: #666;
    font-style: italic;
    line-height: 1.8;
    margin-top: 10px;
    font-size: 0.95rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}
