.tema-month-nav{margin-top:24px;padding-top:22px;border-top:1px solid #d7c9bd}
body #main-content .tema-month-nav h2{margin:0 0 14px!important;white-space:nowrap}
body #main-content .tema-month-nav .tema-month-year{margin:12px 0 3px!important;color:#686c68;font-size:12px!important;line-height:1.4!important;font-weight:700}
.tema-month-nav ul{list-style:none;margin:0;padding:0;max-height:340px;overflow-y:auto}
.tema-month-nav li{margin:0;border-bottom:1px solid #eee5dc}
.tema-month-nav a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 2px;color:#31564a;text-decoration:none;font-size:14px;line-height:1.5}
.tema-month-nav a:hover,.tema-month-nav a:focus-visible,.tema-month-nav a[aria-current="page"]{color:#bd5b35;text-decoration:underline}
.tema-month-nav a span{flex:none;min-width:26px;border-radius:20px;background:#eee7dc;color:#5d625c;text-align:center;font-size:11px;line-height:22px}
body.page-id-23 #main-content #event-roundup-heading{margin:0 0 19.2px!important;padding:0 0 0 16px!important;border-left:6px solid #db744b!important;color:#242724!important;font-family:"Mochiy Pop One","Hiragino Kaku Gothic ProN",sans-serif!important;font-size:24px!important;font-weight:400!important;line-height:1.5!important;letter-spacing:normal!important}
.tema-month-content{padding-top:44px;padding-bottom:64px}
.tema-month-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:32px;max-width:1180px;margin:0 auto}
.tema-month-main{min-width:0}
.tema-month-count{margin:0 0 20px;color:#686c68;font-size:14px}
.tema-month-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:17px}
.tema-month-card{background:#fff;border:2px solid #63a8b9;box-shadow:7px 7px 0 rgba(99,168,185,.55)}
.tema-month-card.listing-card--permanent{border-color:#7da959;box-shadow:7px 7px 0 rgba(125,169,89,.55)}
.tema-month-card>a{display:flex;min-height:148px;color:#242724;text-decoration:none}
.tema-month-card .listing-card-image{width:220px;flex:0 0 220px;min-height:148px;overflow:hidden;background:#eadfd6}
.tema-month-card .listing-card-image img{display:block;width:100%;height:100%;min-height:148px;object-fit:cover}
.tema-month-card .listing-card-body{min-width:0;flex:1 1 auto;padding:17px 22px 16px;display:flex;flex-direction:column;justify-content:center}
.tema-month-card .listing-meta{display:flex;align-items:center;gap:10px;margin:0 0 7px;font-size:11px}
.tema-month-card .listing-meta .tag{padding:4px 8px;background:#eff5ea;color:#686c68}
.tema-month-card .listing-type-tag{margin-left:auto;padding:4px 9px;border-radius:4px;background:#63a8b9;color:#fff;font-size:10px;font-weight:700;white-space:nowrap}
.tema-month-card.listing-card--permanent .listing-type-tag{background:#7da959}
body #main-content .tema-month-card h2{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0 0 6px!important;color:#242724;font-family:"Mochiy Pop One","Hiragino Maru Gothic ProN",sans-serif;font-size:17px!important;line-height:1.65!important}
body #main-content .tema-month-card .listing-card-body>p{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0!important;color:#686c68;font-size:12px!important;line-height:1.75!important}
.tema-month-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:36px 0}
.tema-month-pagination a{padding:8px 13px;border:1px solid #d7c9bd;background:#fff;color:#242724;text-decoration:none}
.tema-month-pagination a[aria-current="page"]{border-color:#db744b;background:#db744b;color:#fff}
.tema-month-back{margin:30px 0 0}.tema-month-back a{color:#31564a}
body #main-content p.tmaf-rainy-event-intro{font-size:14px!important;line-height:1.7!important}
/* Match the weekly roundup card to the single-event cards in the Events list. */
body.page-id-23 #main-content .event-roundup-section .listing-grid--horizontal .listing-card--horizontal{box-shadow:rgba(99,168,185,.45) 6px 6px 0!important}
body.tema-month-archive-page #main-content .tema-month-hero .page-hero-inner>p:last-child{color:#fff!important}
@media(max-width:900px){.tema-month-layout{grid-template-columns:1fr}.tema-month-aside{grid-row:1;width:100%!important}.tema-month-main{grid-row:2}}
@media(max-width:900px){body.page-id-23 #main-content #event-roundup-heading{font-size:20px!important;line-height:1.45!important}}
@media(min-width:768px) and (max-width:900px){body.page-id-23 #main-content .tmeh-events-listing-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;grid-template-areas:"articles mood" "pagination mood"!important;gap:28px!important;align-items:start}body.page-id-23 #main-content .tmeh-events-listing-layout>.listing-grid--horizontal{grid-area:articles;min-width:0;width:auto!important}body.page-id-23 #main-content .tmeh-events-listing-layout>.tama-purpose-layout-pagination{grid-area:pagination}body.page-id-23 #main-content .tmeh-events-listing-layout>.listing-aside.tema-month-aside--tablet-sidebar{grid-area:mood;width:100%!important;max-width:220px;margin:0!important;padding:20px!important;box-sizing:border-box}}
@media(max-width:640px){body.page-id-23 #main-content .event-roundup-section .listing-grid--horizontal .listing-card--horizontal{box-shadow:rgba(99,168,185,.45) 4px 4px 0!important}.tema-month-content{padding-top:28px}.tema-month-grid{gap:12px}.tema-month-card{box-shadow:4px 4px 0 rgba(99,168,185,.55)}.tema-month-card.listing-card--permanent{box-shadow:4px 4px 0 rgba(125,169,89,.55)}.tema-month-card .listing-card-image{width:104px;flex-basis:104px;min-height:148px}.tema-month-card .listing-card-image img{min-height:148px}.tema-month-card .listing-card-body{padding:10px 12px 9px}body #main-content .tema-month-card h2{font-size:15px!important;line-height:1.5!important}body #main-content .tema-month-card .listing-card-body>p{font-size:11px!important;line-height:1.55!important}.tema-month-card .listing-meta{gap:7px;margin-bottom:4px;font-size:10px}}
/* Keep the mood links and monthly archive together in the mobile sidebar. */
@media(max-width:767px){body.page-id-23 #main-content .tema-month-aside--after-business{box-sizing:border-box;width:calc(100% - 28px);max-width:850px;margin:24px auto 36px;padding:24px;border-top:4px solid #242724;background:#fff}}
