.calendar-section{padding-block:clamp(1.8rem,4vw,2.8rem) clamp(2.2rem,5vw,3.4rem)}.almanac{width:100%;max-width:60rem;margin-inline:auto;color:var(--brown)}.almanac-bar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:.9rem 1.4rem}.almanac-fields{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.8rem 1.1rem}.almanac-fields label{display:flex;flex-direction:column;gap:.32rem;font-size:.82rem;color:var(--brown-soft)}.almanac button,.almanac input,.almanac select{font:inherit;color:var(--brown);background:var(--paper);border:1px solid var(--sand);border-radius:.5rem;min-height:44px;padding:.35rem .7rem}.almanac button{cursor:pointer;white-space:nowrap}.almanac button:hover:not(:disabled){border-color:var(--pink)}.almanac button:disabled{opacity:.5;cursor:default}.almanac-nav{display:flex;gap:.45rem;margin-left:auto}.almanac-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.35rem 1rem;margin:1.9rem 0 .9rem}.almanac-heading h2{margin:0;font-size:clamp(1.4rem,3vw,1.75rem)}.almanac-meta{margin:0;font-size:.78rem;line-height:1.5;color:var(--brown-soft)}.almanac .weeks,.almanac .days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.28rem;text-align:center}.almanac .weeks{font-size:.75rem;color:var(--brown-soft);margin-bottom:.35rem}.almanac .days button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:.06rem;min-width:0;min-height:4.35rem;padding:.42rem .12rem .35rem;line-height:1.15;overflow:hidden}.almanac .days .solar{font-size:1rem;font-weight:600}.almanac .days .lunar{font-size:.7rem;color:var(--brown-soft)}.almanac .days .tag{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.63rem;color:var(--gold)}.almanac .days .marks{display:flex;gap:2px;height:4px;align-items:center;margin-top:1px}.almanac .days .marks i{display:block;width:3px;height:3px;border-radius:50%;background:var(--gold)}.almanac .days .marks .festival{background:var(--pink)}.almanac .days .marks .six{background:var(--gold)}.almanac .days .marks .moon{background:var(--brown-soft)}.almanac .days [aria-current=date]{border:2px solid var(--pink);padding:calc(.42rem - 1px) calc(.12rem - 1px) calc(.35rem - 1px)}.almanac .days [aria-pressed=true]{background:var(--brown);border-color:var(--brown);color:var(--paper)}.almanac .days [aria-pressed=true] .lunar,.almanac .days [aria-pressed=true] .tag{color:#fefdfbc7}.almanac .days [aria-pressed=true] .marks i{background:var(--cream)}.almanac .days [aria-pressed=true] .marks .festival{background:var(--pink-bright)}.almanac-detail{margin-top:2rem;padding:1.15rem 1.25rem 1.2rem;background:var(--paper);border-left:3px solid var(--gold);border-radius:0 12px 12px 0;font-size:.94rem}.almanac-detail p{margin:0 0 .45rem}.almanac-detail p:last-child{margin-bottom:0}.almanac-detail .detail-date{font-weight:600}.almanac-detail .detail-lunar{font-family:var(--serif);font-size:1.08rem}.almanac-detail .detail-years,.almanac-detail .detail-note{font-size:.82rem;color:var(--brown-soft)}.almanac-detail .detail-block{margin-top:.9rem}.almanac-detail h3{margin:0 0 .35rem;font-family:var(--sans);font-size:.72rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--gold)}.almanac-detail .detail-events{list-style:none;margin:0;padding:0}.almanac-detail .detail-events li{padding:.32rem 0;border-top:1px solid var(--brown-faint);font-size:.86rem}.almanac-detail .detail-events li:first-child{border-top:0}.almanac-detail .ev-name{margin-right:.45rem}.almanac-detail .ev-desc{color:var(--brown-soft)}.almanac-detail .ev-link{display:inline-block;margin-left:.55rem;color:var(--pink);font-size:.82rem;text-decoration:none}.almanac-detail .ev-link:hover{text-decoration:underline}.almanac-legend{margin-top:1.8rem;padding-top:1.3rem;border-top:1px solid var(--brown-faint);font-size:.85rem;color:var(--brown-soft)}.almanac-legend h3{margin:0 0 .35rem;font-family:var(--sans);font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--brown)}.almanac-legend p{margin:0 0 .7rem}.almanac-legend ul{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}.almanac-legend li strong{color:var(--brown);margin-right:.4rem}@media(max-width:680px){.almanac-nav{width:100%;justify-content:flex-end}.almanac-fields{width:100%}.almanac-fields label{flex:1 1 12rem}.almanac .days button{min-height:3.55rem;padding-top:.32rem}.almanac .days .tag{display:none}.almanac .days .lunar{font-size:.61rem}.almanac-detail{margin-top:1.6rem;padding:1rem}}.festival-reference[data-astro-cid-j5jhqrhu]{padding-block:clamp(1.2rem,3vw,2rem) clamp(2rem,5vw,3.2rem)}.reference-eyebrow[data-astro-cid-j5jhqrhu]{margin:0 0 .35rem;font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}.festival-table[data-astro-cid-j5jhqrhu]{width:100%;min-width:32rem;border-collapse:collapse;font-size:.88rem}.festival-table[data-astro-cid-j5jhqrhu] caption[data-astro-cid-j5jhqrhu]{text-align:left;font-size:.82rem;color:var(--brown-soft);padding-bottom:.55rem}.festival-table[data-astro-cid-j5jhqrhu] th[data-astro-cid-j5jhqrhu],.festival-table[data-astro-cid-j5jhqrhu] td[data-astro-cid-j5jhqrhu]{text-align:left;padding:.55rem .7rem;border-bottom:1px solid var(--brown-faint);vertical-align:top}.festival-table[data-astro-cid-j5jhqrhu] th[data-astro-cid-j5jhqrhu]{font-size:.76rem;letter-spacing:.04em;color:var(--brown-soft);font-weight:600;white-space:nowrap}.festival-table[data-astro-cid-j5jhqrhu] .lunar-cell[data-astro-cid-j5jhqrhu]{white-space:nowrap;color:var(--brown-soft)}.festival-table[data-astro-cid-j5jhqrhu] .date-cell[data-astro-cid-j5jhqrhu]{font-variant-numeric:tabular-nums;white-space:nowrap}.festival-table[data-astro-cid-j5jhqrhu] a[data-astro-cid-j5jhqrhu]{text-decoration-color:#5c40334d}.festival-note[data-astro-cid-j5jhqrhu]{margin-top:1.4rem}.festival-note[data-astro-cid-j5jhqrhu] p[data-astro-cid-j5jhqrhu]:last-child{margin-bottom:0}@media(max-width:560px){.festival-table[data-astro-cid-j5jhqrhu]{font-size:.82rem}.festival-table[data-astro-cid-j5jhqrhu] th[data-astro-cid-j5jhqrhu],.festival-table[data-astro-cid-j5jhqrhu] td[data-astro-cid-j5jhqrhu]{padding:.45rem .42rem}}
