/* 通用样式 */  
header {  
    background-color: #e04f4c;  
    color: #fff;  
    justify-content: space-between;  
    align-items: center;
}  

/* 响应式设计 */  
@media (max-width: 768px) {  

    .menu-toggle {  
        cursor: pointer;  
        display: block;  
    }  
  
    .menu-toggle span {  
        display: block;  
        width: 30px;  
        height: 4px;  
        margin: 6px 0;  
        background-color: #fff;  
    }  
}  

@media only screen and (min-width: 498.0001px){

.gear {
    display: none;
}

}



/*右侧黄历 宽 k*/

.calGrid .tbodyBox {
    padding: 0 0.37037rem 0.2074rem;
}
section.calendar {
    margin-top: 0.55rem;
}

.rlhl {
    float: left;
    width: 65%;
    box-sizing: border-box;
    padding-right: 15px;
}

.btitle {
    background: linear-gradient(180deg, #ffede3, #fff);
}


.hlright {
    float: right;
    width: 35%;
    box-sizing: border-box;
    border: #ccc 0px solid;
    padding: 0px 15px 22px 15px;
    text-align: center;
    background: #fff;
    /*background: linear-gradient(180deg, #fff3eb 21%, #fff);*/
}
.date-b {
	clear: both;
    font-weight: bold;
    margin: 0px -15px 0px -15px;
    height: 3.11111rem;
    border-bottom: 1px solid #e3e3e3;
    background: linear-gradient(180deg, #fff3eb 21%, #fff);
}

.date-b h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    font-family: oftencal-songti;
    height: 3.11111rem;
    line-height: 3.11111rem;
    color: #008000;
}
.date-day {
    padding: 5px 0;
    font-weight: bold;
    display: flex;
    width: 100%;
}
.column {
    line-height: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.column:first-child, .column:last-child {
    width: 20%;
}
.column a {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    text-decoration: none;
}
.column img {
    max-height: 100%;
    display: inline-block;
    border: none;
    vertical-align: middle;
}
.column:nth-child(2) {
    width: 60%;
}
.date-day .dayr {
    text-align: right;
    z-index: 1;
    top: 0;
    height: 140px;
    background-repeat: no-repeat;
    background-size: 42px auto;
    left: 0;
    background-image: url(../images2/lunar_pre_day@2x.png);
    background-position: 100%;
}
.date-day .dayc {
    clear: both;
    position: relative;
    text-align: center;
    color: #dd3123;
    font-family: jxcal-num-font;
    font-size: 88px;
    font-weight: 700;
}
.date-day .dayl {
    text-align: left;
        text-align: left;
    z-index: 1;
    top: 0;
    height: 140px;
    /* width: 60px; */
    background-repeat: no-repeat;
    background-size: 42px auto;
    right: 0;
    background-image: url(../images2/lunar_next_day@2x.png);
    background-position: 0;
}
.date-nl-t {
    font-weight: bold;
}
.date-nl-t h2 {
    margin: 0; 
    clear: both;
    position: relative;
    text-align: center;
    color: #008000;
    font-family: oftencal-songti;
    font-size: 26px;
}
.date-nl-w {
   /* border: #d2514c 1px solid;*/
    padding: 5px 10px 5px 10px;
    margin: 15px 10px 0 10px;
    font-size: 14px;
    border-radius: 8px;
}
.date-nl-w h2 {
    margin: 0;
    font-size: 16px;
    font-weight: normal;
    padding: 6px 0;
    color: #008000;
}

.yjr{
    border-top: solid 1px #fff;
    clear: both;
    overflow: hidden;
    margin: 0 20px;
    margin-bottom: 0px;
   /* padding: 20px 0;
    padding-top: 0px;*/
    list-style: none;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    text-align: left;
}
.yjr i {
    display: block;
    float: left;
    text-align: center;
    margin-right: 12px;
    width: 40px;
    line-height: 40px;
    font-size: 18px;
    overflow: hidden;
    height: 40px;
    color: #FFF;
    border-radius: 3px;
    font-style: normal;
    font-weight: 400;
}

.yjr span {
    display: block;
    max-height: 80px;
    overflow: hidden;
    line-height: 20px;
    text-align: left;
    font-family: "Microsoft YaHei", "微软雅黑";
    font-size: 16px;
    color: #008000;
}
.yjr span a {
    margin-right: 6px;
    text-decoration: none;
    color: #008000;
}

.riyi i {
  background: #417505;
}

.riji i {
  background: #e54545;
}

.riyi {
    border-top: solid 1px #00800029;
    padding-top: 20px;
}
.riji {
    border-bottom: solid 1px #00800029;
    border-top: solid 1px #00800029;
    padding-top: 20px;
    padding-bottom: 20px;
}



.date-nl-jq {
    font-size: 14px;
    margin: 15px 10px 0 10px;
        color: #008000;
}
.date-nl-jq span {
    margin: 0 2px 0 2px;
    line-height: 1.5;
}
.tbjieqi {
    font-weight: bold;
    color: #d2514c;
}
.column.dayr a {
    height: 140px;
}
.column.dayl a {
    height: 140px;
}


a.tag-link:hover {
    background: #fff;
    color: #007bff;
    border-radius: 5px;
}



/*右侧黄历 宽 j*/





/*右侧黄历 窄 K*/

.rlhl {
    width: 67%;
    padding-right: 12px;
}

.hlright {
    width: 33%;
    padding: 0px 12px 22px 12px;
}

.tbodyBox .lbtr-day {
    height: 3.5037rem;
    border: 0.13rem solid #ffffff;
}
.date-b {
    margin: 0px -12px 0px -12px;
}
.date-b h1 {
    font-size: 19px;
}
.date-day {
    padding: 0;
}

.date-nl-w {
    margin: 10px 10px 0 10px;
}

.yiji {
    margin-top: -5px;
}
.riji {
    margin-bottom: 20px;
}
.date-nl-jq {
    margin: 15px 2px 0 2px;
}
/*右侧黄历 窄 j*/




/*固定6行样式CSS  K*/

@media only screen and (min-width: 1000px) {

.tbodyBox .lbtr-day {
    height: 3.3037rem;
    padding: 0.35rem 0;
}

.yjr span {height: 80px;}

.yjr {
margin-block-start: 0.666em;
margin-block-end: 0.666em;
}
}



/*固定6行样式CSS  J*/





@media only screen and (max-width: 1000px){
.hlright {
    display: none;
}
.rlhl {
    float: none;
    width: 100%;
    box-sizing: content-box;
    padding-right: 0px;
}

}

@media only screen and (min-width: 1000.1px){
.dayViewHeaderContainer {
    display: none;
}
.dayViewYiJiContainer {
    display: none;
}



.hlContent {
	margin: 0px 0 0 0;
    border-top: 0px solid #ffe2e2;
}
.shenWeiBox {
    border-top: 0px solid #ffe2e2;
}
.calGrid .tbodyBox strong.solar {
    font-size: 1.42963rem;
}
.calGrid .tbodyBox span.lunar {
    font-size: 0.6rem;
}
/*
.lbtr-day i {
    right: 0.01rem;
    top: 0.01rem;
    font-size: 12px;
    padding: 1px 2px;
}
*/
}





/*假期选择CSS j*/

:root {
  --primary: #dc3545;
  --secondary: #17a2b8;
  --easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --text-primary: #212529;
  --bg-primary: #ffffff;
}

.holiday-picker {
  position: relative;
  font-family: system-ui, -apple-system, sans-serif;
    margin-left: 12px;
    width: 82px;
    float: left;
}

@media only screen and (max-width: 768px){.holiday-picker {width: 80px;}}
@media only screen and (max-width: 498px){.holiday-picker {width: 74px;}}


.picker-header:hover {
    border-color: #165DFF;
    color: #165DFF;
}
.picker-header.active {
    border-color: #165DFF;
    color: #165DFF;
}
.picker-header:hover::after {
    border-color: #165DFF;
    color: #165DFF;
}
.picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--bg-primary);
  cursor: pointer;
  transition: border-color 0.15s ease;
  position: relative;
  height: 1.85185rem;
    line-height: 1.85185rem;
    padding: 0 0.74074rem 0 0.54074rem;
    font-size: 16px;
    color: #1f2329;
    border: 1.5px solid #ebedf0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.picker-header::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.35259rem;
  height: 0.35259rem;
  border: 2px solid #86909c;
  border-top: 0;
  border-right: 0;
  transform: translateY(-65%) rotate(-45deg);
  transition: transform 0.3s var(--easing);
  right: 13px;
    top: 50%;
    width: 8px;
    height: 8px;
    transition: all 0.2s ease;
}

.picker-header.active::after {
  transform: translateY(-35%) rotate(135deg);
  border-color: #165DFF;
}

/* 新增透明遮罩样式 */
.picker-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  z-index: 800;
  display: none;
}

.holiday-list {
  position: absolute;
  width: 100%;
  margin-top: 1px;
  border: 2px solid #eee;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transform-origin: top center;
  transform: scaleY(0);
  opacity: 0;
  transition: transform 0.3s var(--easing), opacity 0.2s linear;
  z-index: 804;
}

.holiday-list.active {
  transform: scaleY(1);
  opacity: 1;
  z-index: 805;
}

.holiday-item {
  display: block;
  /*padding: 12px 16px;*/
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.1s ease;
  cursor: pointer;
font-size: 0.68889rem;
    width: 100%;
    height: 1.85185rem;
    line-height: 1.85185rem;
}

.holiday-item:hover {
  background: var(--secondary);
  color: white;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #ff6b6b;
    --secondary: #4dabf7;
    --text-primary: #f8f9fa;
    --bg-primary: #343a40;
  }
}
.btitle {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}


.holiday-year {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.1s ease;
    cursor: default;
    font-size: 0.78889rem;
    width: 100%;
    height: 1.85185rem;
    line-height: 2.05185rem;
    font-family: "STXingkai", "LiSu", "KaiTi", "SimSun", sans-serif;
    letter-spacing: 2px;
    /* line-height: 1.8; */
    background: #000;
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2), -1px -1px 0px rgba(255, 255, 255, 0.3);
    text-decoration: underline wavy;
    /* text-decoration: underline dashed; */
    text-decoration-color: #ff0000;
    text-decoration-thickness: 1.5px;
}


.holiday-item:last-of-type {
    margin-bottom: 12px;
}


@media only screen and (max-width: 768px){
.holiday-item:last-of-type {
    margin-bottom: 10px;
}
}

@media only screen and (max-width: 498px){
.holiday-item {font-size: 0.78889rem; height: 2.05185rem; line-height: 2.05185rem;}
}

/**假期选择CSS j */





/*休班今 k*/
.lbtr-day i {
    font-size: 14px;
}

.lbtr-day i.ban {
    position: absolute;
    color: #FFF;
    background: #999;
    z-index: 111;
}


.lbtr-day i.xiu {
    position: absolute;
    color: #FFF;
    background: #f43;
    z-index: 111;
}

.lbtr-day i.jt {
    position: absolute;
    color: #FFF;
    background: #4c5eed;
    z-index: 111;
}


.lbtr-day.td_xiu {
    /* background: #f1e9e9; */
    background: rgba(235, 51, 51, .05);
}
.lbtr-day.td_ban {
    /* background: #f1e9e9; */
    background: rgba(235, 51, 51, .05);
}

.lbtr-day.td_t_xiu {
    /* background: #f1e9e9; */
    background: rgba(235, 51, 51, .05);
}
.lbtr-day.td_t_ban {
    /* background: #f1e9e9; */
    background: rgba(235, 51, 51, .05);
}
.lbtr-day.weekend.td_t_ban strong.solar {
    color: #333;
}
.lbtr-day.td_xiu strong.solar {
    color: #f23220;
}


.lbtr-day.td_sx_xiu {
    /* background: #f1e9e9; */
    background: rgba(235, 51, 51, .05);
}
.lbtr-day.td_sx_ban {
    /* background: #f1e9e9; */
    background: rgba(235, 51, 51, .05);
}

.lbtr-day.td_t_sx_xiu {
    /* background: #f1e9e9; */
    background: rgba(235, 51, 51, .05);
}
.lbtr-day.td_t_sx_ban {
    /* background: #f1e9e9; */
    background: rgba(235, 51, 51, .05);
}

.lbtr-day.weekend.td_t_sx_ban strong.solar {
    color: #333;
}
.lbtr-day.td_sx_xiu strong.solar {
    color: #f23220;
}




@media only screen and (min-width: 1000.1px){
.calGrid .tbodyBox strong.solar {
    font-size: 1.42963rem;
}
.calGrid .tbodyBox span.lunar {
    font-size: 0.6rem;
}

.lbtr-day i.ban {
    right: 0.01rem;
    top: 0.01rem;
    font-size: 12px;
    padding: 1px 2px;
}
.lbtr-day i.xiu {
    right: 0.01rem;
    top: 0.01rem;
    font-size: 12px;
    padding: 1px 2px;
}

.lbtr-day i.jt {
    left: 0.01rem;
    top: 0.01rem;
    font-size: 12px;
    padding: 1px 2px;
}
}


@media only screen and (max-width: 768px){

    .lbtr-day i.xiu {
        right: 0.01rem;
        top: 0.01rem;
        font-size: 14px;
        padding: 0.5px 1.5px;
    }

    .lbtr-day i.ban {
        position: absolute;
        right: 0.01rem;
        top: 0.01rem;
        font-size: 14px;
        padding: 0.5px 1.5px;
    }

    .lbtr-day i.jt {
        left: 0.01rem;
        top: 0.01rem;
        font-size: 14px;
        padding: 0.5px 1.5px;
    }

}


@media only screen and (max-width: 560px){

    .lbtr-day i.xiu {
        right: 0.01rem;
        top: 0.01rem;
        font-size: 12px;
        padding: 0.5px 1.5px;
    }
    .lbtr-day i.ban {
        right: 0.01rem;
        top: 0.01rem;
        font-size: 12px;
        padding: 0.5px 1.5px;
    }

    .lbtr-day i.jt {
        left: 0.01rem;
        top: 0.01rem;
        font-size: 12px;
        padding: 0.5px 1.5px;
    }

}

@media only screen and (max-width: 460px){

    .lbtr-day i.xiu {
        right: 0.01rem;
        top: 0.01rem;
        font-size: 8px;
        padding: 0.5px 1.5px;
    }
     .lbtr-day i.ban {
        right: 0.01rem;
        top: 0.01rem;
        font-size: 8px;
        padding: 0.5px 1.5px;
    }
    .lbtr-day i.jt {
        left: 0.01rem;
        top: 0.01rem;
        font-size: 8px;
        padding: 0.5px 1.5px;
    }
    }




/*休班今j*/









/* ===== 首页底部 大家在看 K===== */
:root {
  --primary-color: #4361ee;
  --text-color: #2b2d42;
  --light-bg: #f8f9fa;
  --border-color: #e0e0e0;
  --shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* === 年份选择器 === */
.hot-h {
  display: flex;
  justify-content: center;
  margin: 25px 0 20px;
  width: 100%;
  position: relative;
}

.show-h {
  position: relative;
  display: inline-block;
  text-align: center;
  max-width: 100%;
}

.show-h a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 12px 24px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

/* 向下指示箭头（双保险居中方案） */
.show-h::after,
.show-h::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  z-index: 1;
}

.show-h::after {
  border-top: 10px solid #e04f4c;
  filter: drop-shadow(0 2px 1px rgba(0,0,0,0.1));
  z-index: 3;
}

.show-h::before {
  bottom: -11px;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 11px solid var(--border-color);
  z-index: 1;
}

/* 悬停效果 */
.show-h a:hover {
  background: var(--light-bg);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* === 月份选择器 === */
.hot-c {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 800px;
  margin: 0 auto 30px;
  padding: 0 15px;
}

.show-c {
  transition: var(--transition);
}

.show-c a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.show-c a:hover {
  background: var(--light-bg);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.month-now a {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  font-weight: 600;
}

/* === 响应式设计 === */
@media (max-width: 900px) {
  .hot-c {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .show-h a {
    min-width: 90px;
    padding: 10px 20px;
    font-size: 15px;
  }
  
  .hot-c {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  /* 调整箭头大小 */
  .show-h::after {
    bottom: -8px;
    border-left-width: 8px;
    border-right-width: 8px;
    border-top-width: 8px;
  }
  
  .show-h::before {
    bottom: -9px;
    border-left-width: 9px;
    border-right-width: 9px;
    border-top-width: 9px;
  }
}

@media (max-width: 576px) {
  .hot-c {
    grid-template-columns: repeat(2, 1fr);
    //max-width: 400px;
    gap: 10px;
  }
  
  .show-h {
    width: 100%;
    padding: 0 20px;
  }
  
  .show-h a {
    width: 100%;
    box-sizing: border-box;
  }
}


@media (max-width: 500px) {
  .hot-c {
    grid-template-columns: repeat(1, 1fr);
    max-width: 400px;
    //gap: 10px;
  }
 }

@media (max-width: 400px) {
  .hot-c {
    grid-template-columns: repeat(1, 1fr);
    max-width: 320px;
  }
  
  /* 超小屏幕箭头微调 */
  .show-h::after {
    bottom: -7px;
    border-left-width: 7px;
    border-right-width: 7px;
    border-top-width: 7px;
  }
  
  .show-h::before {
    bottom: -8px;
    border-left-width: 8px;
    border-right-width: 8px;
    border-top-width: 8px;
  }
}

.show-h.active-h a {
    color: #ffffff;
    background: #e04f4c;
    font-weight: bold;
}

.show-c.active-h a {
    color: #ffffff;
    background: #e04f4c;
    font-weight: bold;
}

/* ===== 首页底部 大家在看 J===== */
