/* 头部 样式 */
.header {
    min-height: 440px;
    width: 100%;
    background: url(../images/bg.png) no-repeat top;
    background-size: 100% 100%;
    color: #005293;
}
.logo,
.ipt_div,
.header-sub {
    margin: 0 auto;
    text-align: center;
}
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}
.logo_main {
    width: 650px;
}
.logo .search-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(10, 47, 92, .28);
    background: rgba(255, 255, 255, .55);
    color: #8a1318;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .22s;
    flex: 0 0 auto;
    cursor: pointer;
}
.logo .search-toggle:hover {
    background: #fff;
    border-color: #8a1318;
    transform: scale(1.06);
}
.logo .search-toggle.active {
    background: #8a1318;
}
.logo .search-toggle img {
    width: 20px;
}
.logo .search-toggle .search_on {
    display: none;
}
.logo .search-toggle.active .search_on {
    display: block;
}
.logo .search-toggle.active .search {
    display: none;
}


.ipt_div{
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(10, 47, 92, .12);
    overflow: hidden;
    height: 0;
    transition: height .28s ease, opacity .22s ease, margin .28s ease;
    opacity: 0;
}
.ipt_div #qt {
    flex: 1;
    padding: 14px 20px;
    border: 0;
    outline: 0;
    font-size: 15px;
    min-width: 0;
}
.ipt_div #search_btn{
    padding: 0 36px;
    background: #8a1318;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border: 0;
}
.header-sub {
    display: none;
    width: 1240px;
    color: #374151;
    font-size: 14px;
    letter-spacing: .5px;
    margin-top: 30px;
}
.header-sub .text {
    margin: 0 0 10px;
    text-align: center;
    display: inline-block;
    padding: 2px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: #5f6b7c;
    letter-spacing: .2px;
    line-height: 1.6;
    backdrop-filter: blur(2px);
}
.header-sub span {
    color: #8a1318;
    font-weight: bold;
}

/* 筛选样式 */
.filter-wrap {
    width: 1240px;
    margin: -110px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}
.filter-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 18px rgba(10, 47, 92, .10);
    padding: 4px 24px;
}
.page-note {
    margin: 0 0 10px;
    text-align: center;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: #5f6b7c;
    font-size: 14px;
    letter-spacing: .2px;
    line-height: 1.6;
    backdrop-filter: blur(2px);
}
.filter-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
}
.fname {
    flex: 0 0 150px;
    padding-top: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.fname .filter_icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #8a1318, #b01f24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 2px 8px rgba(10, 47, 92, .18);
}
.fname .filter_icon img {
    width: 18px;
}
.fname .title {
    font-weight: 700;
    color: var(--gov-blue);
    font-size: 15px;
    letter-spacing: .5px;
    line-height: 1.2;
}
.ftags {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 5px;
}
/* .region-tags {
    max-height: 40px;
    overflow: hidden;
} */
.region-tags.open {
    max-height: 320px;
}
.ftag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 13px;
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
    border-radius: 999px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e5e9f0;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .02);
    
}
.ftags .ftag.active {
    background: linear-gradient(135deg, #e34234, #e34234, #a01f1a, #8a1318);
    border-color: #a01f1a, #8a1318;
    color: #fff;
    box-shadow: 0 6px 16px rgba(227,66,52,.32), rgba(10, 47, 92, .28);
    font-weight: 600;
    transform: translateY(-1px);
}
.filter-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px dashed #e5e9f0;
}
.filter-row:last-child {
    border-bottom: 0;
}
.fmore {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 6px 4px;
    color: #8a1318;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    display: none;
}
button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: transparent;
}
.chosen-bar {
    width: 1240px;
    margin: 12px auto 0;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
}
.chosen-bar .label {
    color: #5f6b7c;
}
.chosen-bar .chip {
    background: #fff;
    border: 1px solid #fce8e9;
    color: #8a1318;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}
.chosen-bar .reset {
    color: #5f6b7c;
    text-decoration: underline;
    cursor: pointer;
}

/* 中间 */
body>.middle {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 1240px;
    margin: 0 auto;
    margin-top: 30px;
}
.middle-con {
    width: 1200px;
    display: flex;
    margin: 0 auto;
}
.middle-con-left {
    flex: 5;
    background: #fff;
    min-width: 833px;
}
.load-container {
    display: none;
    justify-content: space-around;
    align-items: center;
    width: 600px;
    height: 200px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 200px;
}
.load-container>.loading-box {
    /* background-image: url(../image/loading1.png); */
}

.loading-box {
    width: 134px;
    height: 121px;
    background-size: 100% 100%;
    animation: loading 2slinear infinite;
}
.middle-con-left-top {
    padding: 0;
    border: unset;
}
.total-div {
    margin-bottom: 20px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
}
.tips-info+.search-result {
    margin-top: 12px;
}

.search-result {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 4px solid #9c2740;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    cursor: pointer;
    transition: box-shadow .2s, transform .2s;
}
.search-result:hover {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .10);
    transform: translateY(-2px);
}
.search-result::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(100deg, #9c2740, transparent 40%);
    opacity: .06;
    pointer-events: none;
    transition: opacity .2s;
}
.search-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.search-result-left {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.result_header_date {
    font-size: 11px;
    padding: 2px 9px;
    border-radius: 3px;
    font-weight: 500;
    flex: 0 0 auto;
    margin-top: 3px;
    line-height: 22px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    margin-right: 10px;
    background: linear-gradient(135deg, #46a877, #2a7d51);
    color: #fff;
    box-shadow: 0 2px 6px rgba(42, 125, 81, .30);
}

.result_header_date.no_start {
    background: linear-gradient(135deg, #f8d76e, #e8b32c);
    color: #7b5a06;
    box-shadow: 0 2px 6px rgba(232, 179, 44, .30);
}
.result_header_date.is_end {
    background: #edeff2;
    color: #8a929f;
    box-shadow: none;
}
.result-header-title {
    cursor: pointer;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    line-height: 24px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.search-result-left .result-header-title a {
    color: #1f2937;
    font-size: 15px;
    font-weight: 500;
    flex: 1;
    min-width: 0;
    line-height: 1.6;
    word-break: break-word;
}
.result_header_label {
    background: linear-gradient(135deg, #9c2740, #5c1024);
    color: #fff;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 10px;
    flex: 0 0 auto;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .14);
    height: 25px;
    line-height: 25px;
}
.search-con-right {
    display: flex;
    line-height: 24px;
    gap: 14px;
    flex-wrap: wrap;
}

.search-con {
    display: flex;
    line-height: 24px;
    gap: 14px;
}
.search_con_area, .search_con_place, .search_con_time, .search_con_wx {
    display: flex;
    align-items: center;
    text-wrap: nowrap;
    /* width: 33%; */
    color: #5f6b7c;
    font-size: 12px;
}
.search_con_place .data_span {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search_con_wx .data_span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search_con_wx .data_span {
    color: #0f9d58;
}
.search_con_area_icon {
    background: url(../images/area_little_icon.png) no-repeat center;
}
.search_con_wx_icon {
    background: url(../images/weixin.png) no-repeat center;
    background-size: 100%;
}
.search_con_area_icon, .search_con_place_icon, .search_con_time_icon, .search_con_wx_icon {
    width: 14px;
    height: 16px;
    margin-right: 10px;
}
.search-con .mingcheng_span {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 16px;
    color: #666666;
}
.search_con_area span.data_span {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search_con_place_icon {
    background: url(../images/place_icon.png) no-repeat center;
    background-size: 100%;
}
.search_con_time_icon {
    background: url(../images/time_icon.png) no-repeat center;
    background-size: 100%;
}

#date_sel_component {
    width: 340px;
    position: relative;
}
#date_sel_component .rili_today {
    background: rgba(255, 255, 255, 0.29);
    border-radius: 12px;
    color: #fff;
    width: 50px;
    text-align: center;
    position: absolute;
    top: 15px;
    right: 50px;
    height: 30px;
    line-height: 30px;
    z-index: 1000;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
}
#date_sel_component .rili_today:hover {
    background: rgba(255, 255, 255, .34);
    transform: scale(1.1);
}
#date_sel_part {
    height: 425px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(138, 19, 24, .10);
}
#date_sel_component .cal-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 12px 12px;
    border-top: 1px dashed #e5e9f0;
    font-size: 11px;
    color: #5f6b7c;
    flex-wrap: wrap;
    position: absolute;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}
.cal-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.cal-legend i {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    display: inline-block;
    box-sizing: border-box;
}

.cal-legend .l-today {
    background: rgba(201, 41, 48, .07);
    border: 2px solid #c92930;
}
.cal-legend .l-has {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c92930;
}
.cal-legend .l-sel {
    background: linear-gradient(135deg, #8a1318, #5b0e10);
}

.every_bottom_component {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 12px 4px 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--c1, #c92930), var(--c2, #8a1318));
    box-shadow: 0 2px 8px rgba(138, 19, 24, .22);
    transition: transform .18s ease, box-shadow .18s ease;

}
.date_bottom_component {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}
.every_bottom_component.ksck {
    color: #5f6b7c;
    font-size: 13px;
    cursor: auto;
}
.every_bottom_component img {
    width: 16px;
    height: 16px;
}
.every_bottom_component .component_icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    background: rgba(255, 255, 255, .18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
    transition: transform .2s, background .2s;
}
.every_bottom_component.today{
    --c1: #c92930;
    --c2: #8a1318;
}
.every_bottom_component.tomorrow{
    --c1: #d84315;
    --c2: #9c2a0b;
}
.every_bottom_component.month {
    --c1: #8c2a4a;
    --c2: #57162e;
}
.every_bottom_component .component_title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    letter-spacing: .3px;
    transition: opacity .18s;
}
.every_bottom_component.on,
.every_bottom_component:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(138, 19, 24, .36);
}
.every_bottom_component.ksck:hover {
    background: none;
    color: #5f6b7c;
    padding-left: 18px;
}


