/* 活动列表容器 */
.xhb_article-list {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 列表基础样式 */
.xhb_list-txt {
    padding: 0;
    margin: 0;
    list-style: none;
}

.xhb_list-txt li {
    position: relative;
    min-height: 120px;
    padding: 20px 120px 20px 220px;
    border-bottom: 1px dashed #eee;
    background-position: 0 center;
    background-repeat: no-repeat;
    background-size: 200px 120px;
}

.xhb_list-txt li:hover {
    background-color: #f8f8f8;
}

.xhb_list-txt li:last-child {
    border-bottom: none;
}

/* 标题链接样式 */
.xhb_list-txt li a {
    display: block;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xhb_list-txt li a:hover {
    color: #0066cc;
}

/* 日期样式 */
.xhb_list-txt li .f_r {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
    white-space: nowrap;
}

/* 无图片的列表样式 */
.xhb_list-txt li.no-thumb {
    min-height: auto;
    padding: 16px 120px 16px 20px;
    background-image: none !important;
}

/* 栏目标题样式 */
.xhb_column-head {
    padding: 15px 0;
    border-bottom: 2px solid #0066cc;
    margin-bottom: 15px;
    background: #fff;
}

.xhb_column-head strong {
    font-size: 18px;
    color: #333;
    position: relative;
    padding-left: 12px;
    font-weight: 500;
}

.xhb_column-head strong:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: #0066cc;
    border-radius: 2px;
}

/* 分页样式 */
.xhb_column {
    margin: 30px 0 20px;
    text-align: center;
    background: #fff;
}

/* 无数据状态 */
.no-data {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 14px;
}

/* 活动详情页样式 */
.xhb_article-show {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 标题样式 */
.xhb_article-show-title h1 {
    font-size: 22px;
    color: #333;
    text-align: left;
    margin: 0 0 20px;
    line-height: 1.5;
    font-weight: 500;
}

/* 基本信息样式 */
.xhb_article-show-info {
    color: #999;
    font-size: 14px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.xhb_article-show-info span {
    margin-right: 20px;
}

/* 活动信息表格样式 */
.activity-info {
    margin-bottom: 30px;
}

.activity-info table {
    width: 100%;
    border-collapse: collapse;
}

.activity-info tr {
    border-bottom: 1px solid #f0f0f0;
}

.activity-info tr:last-child {
    border-bottom: none;
}

.activity-info th,
.activity-info td {
    padding: 15px 0;
    line-height: 24px;
    text-align: left;
    vertical-align: top;
}

.activity-info th {
    width: 100px;
    color: #666;
    font-weight: normal;
    padding-right: 20px;
}

.activity-info td {
    color: #333;
}

/* 活动说明样式 */
.activity-desc h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 20px;
    padding-left: 10px;
    border-left: 4px solid #0066cc;
    line-height: 1;
}

.activity-desc #content {
    line-height: 1.8;
    color: #333;
}

.activity-desc #content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

/* 联系方式区域样式 */
.contact-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.contact-info h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 20px;
    padding-left: 10px;
    border-left: 4px solid #0066cc;
    line-height: 1;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    line-height: 32px;
    color: #333;
}

.contact-info .label {
    display: inline-block;
    width: 80px;
    color: #666;
}

.contact-info .value {
    color: #333;
}
.activity-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-size: 12px;
}

.status-ended {
    border: 1px solid #909399;
    color: #909399;
}

.status-ongoing {
    border: 1px solid #67c23a;
    color: #67c23a;
}

.status-registering {
    border: 1px solid #409eff;
    color: #409eff;
}

.btn-register {
    background-color: #C3272B;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 15px;
}


/* 报名弹窗样式 */
.registration-form {
    padding: 20px 25px;
}

.registration-form .form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.registration-form label {
    width: 85px;
    line-height: 32px;
    text-align: right;
    padding-right: 10px;
    color: #606266;
    font-size: 14px;
    flex-shrink: 0;
}

.registration-form .required {
    color: #f56c6c;
    margin-right: 4px;
}

.registration-form .input-wrap {
    flex: 1;
}

.registration-form .form-control {
    width: 100%;
    height: 32px;
    line-height: 32px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    color: #606266;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.registration-form .form-control:focus {
    border-color: #409eff;
    outline: none;
}

.registration-form .form-control::placeholder {
    color: #c0c4cc;
}

.registration-form .radio-group {
    padding-top: 5px;
}

.registration-form .radio-label {
    margin-right: 20px;
    cursor: pointer;
    font-size: 14px;
    color: #606266;
}

.registration-form .radio-label input[type="radio"] {
    margin-right: 4px;
    vertical-align: -2px;
}

.registration-form .form-footer {
    text-align: center;
    margin-top: 25px;
    padding-bottom: 10px;
}

.registration-form .btn-submit {
    min-width: 100px;
    height: 36px;
    line-height: 36px;
    padding: 0 20px;
    background-color: #409eff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.registration-form .btn-submit:hover {
    background-color: #66b1ff;
}

.registration-form .btn-submit:active {
    background-color: #3a8ee6;
}

/* 修改layer弹窗样式 */
.layui-layer-title {
    background-color: #f5f7fa !important;
    border-bottom: 1px solid #e4e7ed !important;
    color: #303133 !important;
    font-size: 15px !important;
    height: 46px !important;
    line-height: 46px !important;
}