/* Restored 19cha 黄道吉日 layout */
.mod-head{margin:22px 0 16px;padding:18px 24px;background:#fff;border:1px solid #eee}.mod-head h1{margin:0 0 8px;font-size:24px;line-height:1.35;color:#333}.mod-head p{margin:0;color:#777}.mod-panel{background:#fff;border:1px solid #eee;padding:20px 24px;margin-bottom:18px}.mod-panel .item{padding:12px 0;border-bottom:1px dashed #eee}.mod-panel .item:last-child{border-bottom:0}.mod-panel .c-hd{float:left;width:72px;font-weight:700;color:#9a3b20;line-height:28px}.mod-panel .c-bd{margin-left:76px;min-height:28px;line-height:28px}.mod-panel label{display:inline-block;margin:0 12px 8px 0;white-space:nowrap}.mod-panel input{vertical-align:-1px;margin-right:3px}.mod-panel button{padding:7px 24px;border:0;border-radius:3px;background:#b74225;color:#fff;cursor:pointer}.mod-panel .c-ft{clear:both;margin:10px 0 0 76px;color:#555}.mod-panel .result{padding:10px 14px;background:#fff8f2;border:1px solid #f2d5c0}.mod-panel .result p{margin:0}.mod-intro,.mod-recommend{background:#fff;border:1px solid #eee;padding:20px 24px;margin-bottom:18px}.mod-intro .hd,.mod-recommend .hd{font-size:18px;font-weight:700;color:#9a3b20;margin-bottom:12px}.mod-intro p{line-height:1.9;color:#555}.mod-recommend .list{overflow:hidden;margin:0;padding:0;list-style:none}.mod-recommend .list li{float:left;width:50%;box-sizing:border-box;padding:10px 15px;border-top:1px dashed #eee}.mod-recommend .list li:nth-child(odd){border-right:1px dashed #eee}.mod-recommend .name a{font-weight:700;color:#333}.mod-recommend .text{margin:6px 0 0;color:#777;line-height:1.6}.mod-panel .date{overflow:hidden;padding:12px 0;border-bottom:1px solid #eee}.mod-panel .date:last-child{border-bottom:0}.mod-panel .date .hd{float:left;width:170px;font-weight:700}.mod-panel .date .bd{margin-left:180px;line-height:1.7}@media(max-width:760px){.mod-head,.mod-panel,.mod-intro,.mod-recommend{padding:14px}.mod-panel .c-hd{float:none;width:auto}.mod-panel .c-bd,.mod-panel .c-ft{margin-left:0}.mod-recommend .list li{float:none;width:100%;border-right:0!important}.mod-panel .date .hd{float:none;width:auto}.mod-panel .date .bd{margin-left:0}}

/* Match the rendered jiri module structure. */
.mod-panel>.hd{padding:0 0 14px;border-bottom:1px solid #eee}.mod-panel>.hd h1{margin:0 0 6px;font-size:22px;line-height:1.4;color:#333}.mod-panel>.hd p{margin:0;color:#777}.mod-panel .intro{padding:14px 0}.mod-panel .input-wrapper{display:flex;padding:9px 0;border-bottom:1px dashed #eee}.mod-panel .input-title{flex:0 0 72px;color:#9a3b20;font-weight:700;line-height:28px}.mod-panel .input-content{flex:1;line-height:28px}.mod-panel .input-content p{margin:0 0 6px}.mod-panel>.list{list-style:none;margin:0;padding:0}.mod-panel>.list>li{padding:13px 0;border-top:1px solid #eee}.mod-panel>.list .item{overflow:hidden}.mod-panel>.list .c-hd{float:left;width:176px}.mod-panel>.list .c-hd .date{font-weight:700;color:#333}.mod-panel>.list .week{margin-left:8px;color:#888}.mod-panel>.list .c-bd{margin-left:185px;color:#555;line-height:1.8}.mod-panel>.list .c-bd p{margin:0}.mod-panel>.list .c-bd span{margin-right:5px}.mod-panel>.list strong{margin-right:8px;color:#b74225}@media(max-width:760px){.mod-panel .input-wrapper{display:block}.mod-panel .input-title{width:auto}.mod-panel>.list .c-hd{float:none;width:auto}.mod-panel>.list .c-bd{margin:5px 0 0}}
/* Keep every auspicious-day result in a stable two-column row. */
.mod-panel>.list>li>.item{display:flex;align-items:flex-start;overflow:visible}.mod-panel>.list>li>.item>.c-hd{float:none;flex:0 0 176px;width:176px}.mod-panel>.list>li>.item>.c-bd{margin-left:0;flex:1;min-width:0}.mod-panel>.list>li>.item:after{display:none}@media(max-width:760px){.mod-panel>.list>li>.item{display:block}.mod-panel>.list>li>.item>.c-hd{width:auto}.mod-panel>.list>li>.item>.c-bd{margin:5px 0 0}}
/* Legacy float fallback: no result row may wrap around its predecessor. */
.mod-panel .list>li{clear:both;overflow:hidden}.mod-panel .list>li:before,.mod-panel .list>li:after{content:"";display:table;clear:both}.mod-panel .list>li .c-hd{float:left}.mod-panel .list>li .c-bd{overflow:hidden}@media(max-width:760px){.mod-panel .list>li .c-hd{float:none}.mod-panel .list>li .c-bd{overflow:visible}}
/* Jiri-only header contract. Both the directory and every 30-day detail page share this layout. */
.header{background:#fff!important;border:1px solid #eee!important}.header .mod-head{height:116px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}.header .mod-head>.inner{width:960px!important;height:116px!important;margin:0 auto!important;display:flex!important;align-items:center!important}.header .logo{display:inline-flex!important;align-items:center!important;width:auto!important;height:44px!important;line-height:44px!important;margin:0!important;padding:0!important;background:none!important;text-indent:0!important;overflow:visible!important;text-decoration:none!important}.header .logo .site-wordmark{display:inline-block!important;color:#243343!important;font:700 22px/44px Arial,"Microsoft YaHei",sans-serif!important;letter-spacing:1px!important;white-space:nowrap!important}.header .ft{height:40px!important;margin:0!important;background:#cf7b3f!important}.header .ft>.inner{width:960px!important;height:40px!important;margin:0 auto!important}.header .ft ul{display:flex!important;align-items:stretch!important;height:40px!important;margin:0!important;padding:0!important;list-style:none!important}.header .ft li{margin:0!important;padding:0!important}.header .ft a{display:block!important;padding:0 20px!important;color:#fff!important;font-size:15px!important;line-height:40px!important;text-decoration:none!important}.header .ft li.active a{background:#c52d46!important;color:#fff!important}@media(max-width:980px){.header .mod-head>.inner,.header .ft>.inner{width:auto!important;margin:0 18px!important}.header .ft a{padding:0 12px!important}}
/* One shared Jiri wordmark on the directory and every detail page. */
.header .logo:before{content:"19"!important;display:inline-block!important;flex:none!important;width:31px!important;height:31px!important;margin:0 10px 0 0!important;border-radius:8px!important;background:#a13d22!important;color:#fff!important;text-align:center!important;font:700 14px/31px Arial,sans-serif!important;letter-spacing:0!important;text-indent:0!important;vertical-align:middle!important}.header .logo .site-wordmark{vertical-align:middle!important}
