/* Events: list, calendar, single event. Matches the site (pink #C73B63, #E6E1D8 borders, 20px cards). */

.yimc-events{--pink:#C73B63;--pink-d:#A82F52;--line:#E6E1D8;--ink:#000;--soft:#F5F5F5;
	width:100%;max-width:1140px;margin:0 auto;box-sizing:border-box;
	font-family:'Helvetica Now Display','Helvetica Neue',Helvetica,Arial,sans-serif;color:var(--ink)}
.yimc-events *,.yimc-events *::before,.yimc-events *::after{box-sizing:border-box}
.yimc-events [hidden]{display:none!important}

/* ---- Toolbar ---- */
.yimc-ev-calview{margin-bottom:36px}
.yimc-ev-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin:0 0 28px}
.yimc-ev-tabs,.yimc-ev-views{display:flex;gap:10px;flex-wrap:wrap}
.yimc-events .yimc-ev-pill{appearance:none;-webkit-appearance:none;cursor:pointer;background:#fff;color:var(--ink);
	border:1px solid var(--line);border-radius:50px;padding:10px 24px;font:500 16px/1.2 'Helvetica Now Display','Helvetica Neue',Helvetica,Arial,sans-serif;
	transition:background .2s,color .2s,border-color .2s;box-shadow:none;text-transform:none}
.yimc-events .yimc-ev-pill:hover{border-color:var(--pink);color:var(--pink);background:#fff}
.yimc-events .yimc-ev-pill.is-active,.yimc-events .yimc-ev-pill.is-active:hover{background:var(--pink);border-color:var(--pink);color:#fff}

/* ---- Cards ---- */
.yimc-ev-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.yimc-ev-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px 28px 24px;
	transition:transform .2s,box-shadow .2s}
.yimc-ev-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.07)}
.yimc-ev-card.is-past{opacity:.82}
.yimc-ev-thumb{display:block;margin:0 0 18px;border-radius:16px;overflow:hidden;aspect-ratio:1/1;background:var(--soft);text-decoration:none!important;border:0!important}
.yimc-ev-thumb img{width:100%;height:100%;object-fit:cover;display:block;border-radius:16px;box-shadow:none!important}
.yimc-ev-noimg{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;color:var(--pink);
	font-family:'Baskervville',Georgia,serif}
.yimc-ev-noimg b{font-size:64px;line-height:1;font-weight:600}
.yimc-ev-noimg i{font-style:normal;font-size:20px;letter-spacing:.14em;margin-top:6px}
.yimc-ev-body{display:flex;flex-direction:column;flex:1}
.yimc-ev-badge{align-self:flex-start;background:var(--pink);color:#fff;border-radius:50px;padding:5px 14px;font-size:14px;font-weight:600;letter-spacing:.06em;margin:0 0 12px}
.yimc-ev-card.is-past .yimc-ev-badge{background:#8a8a8a}
.yimc-ev-when{font-size:15px;color:#555;margin:0 0 8px}
.yimc-events .yimc-ev-title{font-family:'Baskervville',Georgia,serif!important;font-size:25px!important;font-weight:600!important;line-height:1.25;margin:0 0 10px;color:#000}
.yimc-events .yimc-ev-title a{color:#000!important;text-decoration:none!important;border-bottom:0!important;box-shadow:none!important}
.yimc-events .yimc-ev-title a:hover{color:var(--pink)!important;text-decoration:none!important;border-bottom:0!important}
.yimc-ev-loc{display:flex;align-items:flex-start;gap:6px;font-size:15px;color:#333;margin:0 0 10px}
.yimc-ev-loc svg{flex:0 0 auto;margin-top:3px;color:var(--pink)}
.yimc-ev-excerpt{font-size:16px;line-height:1.7;margin:0 0 18px;color:#222}
.yimc-events a.yimc-ev-btn,.yimc-ev-back a.yimc-ev-btn,a.yimc-ev-btn{display:inline-block;align-self:flex-start;margin-top:auto;background:var(--pink,#C73B63);color:#fff!important;
	border-radius:50px;padding:12px 28px;font:500 16px/1.2 'Helvetica Now Display','Helvetica Neue',Helvetica,Arial,sans-serif;text-decoration:none!important;border:0!important;transition:background .2s}
.yimc-events a.yimc-ev-btn:hover,a.yimc-ev-btn:hover{background:#A82F52}

/* ---- Empty state ---- */
.yimc-ev-empty{border:1px solid var(--line);border-radius:20px;background:#fff;text-align:center;padding:56px 28px}
.yimc-ev-empty p{margin:0 0 12px;font-size:20px}
.yimc-ev-empty-links{font-size:16px!important;color:#555}
.yimc-ev-empty-links a{color:var(--pink);margin:0 8px;text-decoration:none}
.yimc-ev-empty-links a:hover{text-decoration:underline}

/* ---- Calendar ---- */
.yimc-ev-cal{border:1px solid var(--line);border-radius:20px;background:#fff;overflow:hidden}
.yimc-ev-calhead{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line)}
.yimc-ev-calhead h3{margin:0;font-family:'Baskervville',Georgia,serif;font-weight:600;font-size:28px;color:#000}
.yimc-events .yimc-ev-nav{appearance:none;-webkit-appearance:none;cursor:pointer;width:52px;height:52px;border-radius:50%;border:0;background:var(--pink);color:#fff;
	line-height:0;display:flex;align-items:center;justify-content:center;padding:0;margin:0;transition:background .2s}
.yimc-events .yimc-ev-nav svg{display:block;width:26px;height:26px;flex:0 0 auto}
.yimc-events .yimc-ev-nav:hover{background:var(--pink-d)}
.yimc-ev-dow,.yimc-ev-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.yimc-ev-dow div{padding:10px 6px;text-align:center;font-size:14px;font-weight:600;color:#555;background:var(--soft);border-bottom:1px solid var(--line)}
.yimc-ev-day{min-height:104px;padding:8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;text-align:left;
	display:flex;flex-direction:column;gap:4px;font:inherit;color:inherit;cursor:default;border-radius:0;appearance:none;-webkit-appearance:none}
.yimc-ev-day:nth-child(7n){border-right:0}
.yimc-ev-day.is-empty{background:#fcfcfc}
.yimc-ev-day .n{font-size:15px;font-weight:600;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.yimc-ev-day.is-today .n{background:#000;color:#fff}
.yimc-ev-day.has-ev{cursor:pointer}
.yimc-ev-day.has-ev:hover{background:#fbf3f5}
.yimc-ev-day.is-selected{outline:2px solid var(--pink);outline-offset:-2px;background:#fbf3f5}
.yimc-ev-chip{display:block;background:var(--pink);color:#fff;border-radius:8px;padding:3px 8px;font-size:13px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yimc-ev-chip.is-past{background:#c9c5bd;color:#333}
.yimc-ev-more{font-size:12px;color:#555}
.yimc-ev-caldetail{margin-top:28px}
.yimc-ev-caldetail h4{font-family:'Baskervville',Georgia,serif;font-weight:600;font-size:26px;margin:0 0 18px;color:#000}

/* ---- Single event page ---- */
body.single-yimc_event{background:#fff!important}
body.single-yimc_event .site-content>.ast-container{max-width:1140px!important;width:100%;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;box-sizing:border-box}
body.single-yimc_event #primary{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
body.single-yimc_event #secondary{display:none}
body.single-yimc_event article.ast-article-single,body.single-yimc_event .ast-article-single{background:#fff!important;border:1px solid #E6E1D8;border-radius:20px;padding:32px 40px!important;margin:30px 0 60px!important;box-shadow:none}
body.single-yimc_event .entry-title{font-family:'Baskervville',Georgia,serif!important;font-weight:600!important;font-size:38px!important;line-height:1.2!important;color:#000!important;margin-bottom:20px}
body.single-yimc_event .entry-content{font-family:'Helvetica Now Display','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:18px;line-height:1.8;color:#000}
body.single-yimc_event .post-navigation,body.single-yimc_event .entry-meta,body.single-yimc_event .ast-single-post-order .entry-meta{display:none!important}
.yimc-ev-hero{margin:0 0 24px;border-radius:16px;overflow:hidden;background:#F5F5F5;text-align:center}
.yimc-ev-hero img{display:block;width:auto;max-width:100%;height:auto;max-height:560px;margin:0 auto;object-fit:contain;border-radius:16px;box-shadow:none!important}
.yimc-ev-detail{display:flex;flex-wrap:wrap;gap:20px 40px;background:#F5F5F5;border-radius:16px;padding:20px 24px;margin:0 0 28px}
.yimc-ev-detail span{display:block;font-size:14px;color:#555;margin-bottom:2px}
.yimc-ev-detail strong{font-size:18px;font-weight:600}
.yimc-ev-back{margin:32px 0 0}

/* ---- Responsive ---- */
@media (max-width:1024px){.yimc-ev-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){
	.yimc-ev-grid{grid-template-columns:1fr}
	.yimc-ev-card{padding:22px 22px 20px}
	.yimc-ev-calhead{padding:14px 16px}
	.yimc-ev-calhead h3{font-size:22px}
	.yimc-events .yimc-ev-nav{width:44px;height:44px}
	.yimc-events .yimc-ev-nav svg{width:22px;height:22px}
	.yimc-ev-day{min-height:54px;padding:4px;align-items:center}
	.yimc-ev-day .n{font-size:14px;width:26px;height:26px}
	.yimc-ev-chip{width:8px;height:8px;padding:0;font-size:0;border-radius:50%}
	.yimc-ev-more{display:none}
	.yimc-ev-dow div{font-size:12px;padding:8px 2px}
	body.single-yimc_event article.ast-article-single,body.single-yimc_event .ast-article-single{padding:22px!important}
	body.single-yimc_event .entry-title{font-size:28px!important}
}

/* ---- Next-event feature card ---- */
.yimc-ev-feature{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:36px;align-items:center;background:#fff;border:1px solid var(--line,#E6E1D8);border-radius:20px;padding:28px;margin:0 0 28px}
.yimc-ev-fthumb{display:block;aspect-ratio:1/1;border-radius:16px;overflow:hidden;background:#F5F5F5;text-decoration:none!important;border:0!important}
.yimc-ev-fthumb img{width:100%;height:100%;object-fit:cover;display:block;border-radius:16px;box-shadow:none!important}
.yimc-ev-fthumb .yimc-ev-noimg b{font-size:84px}
.yimc-ev-fbody{display:flex;flex-direction:column;align-items:flex-start}
.yimc-ev-flabel{font-size:14px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#C73B63;margin:0 0 10px}
.yimc-events .yimc-ev-ftitle{font-family:'Baskervville',Georgia,serif!important;font-size:38px!important;font-weight:600!important;line-height:1.2;margin:4px 0 12px;color:#000}
.yimc-events .yimc-ev-ftitle a{color:#000!important;text-decoration:none!important;border-bottom:0!important;box-shadow:none!important}
.yimc-events .yimc-ev-ftitle a:hover{color:#C73B63!important}
.yimc-ev-feature .yimc-ev-when{font-size:17px}
.yimc-ev-feature .yimc-ev-excerpt{font-size:17px;margin-bottom:22px}

/* ---- Buttons row, outline buttons, map link ---- */
.yimc-ev-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 4px}
.yimc-ev-detail+.yimc-ev-actions{margin:0 0 26px}
.yimc-events a.yimc-ev-btn.is-outline,a.yimc-ev-btn.is-outline{background:#fff;color:#C73B63!important;border:1px solid #C73B63!important}
.yimc-events a.yimc-ev-btn.is-outline:hover,a.yimc-ev-btn.is-outline:hover{background:#C73B63;color:#fff!important}
.yimc-ev-actions .yimc-ev-btn{margin-top:0}
.yimc-ev-loc a{color:#333!important;text-decoration:none!important;border-bottom:0!important}
.yimc-ev-loc a:hover{color:#C73B63!important;text-decoration:underline!important}

@media (max-width:1024px){.yimc-ev-feature{gap:26px}.yimc-events .yimc-ev-ftitle{font-size:32px!important}}
@media (max-width:767px){
	.yimc-ev-feature{grid-template-columns:1fr;gap:20px;padding:22px}
	.yimc-events .yimc-ev-ftitle{font-size:28px!important}
	.yimc-ev-actions .yimc-ev-btn{flex:1 1 100%;text-align:center}
}

/* ---- Calendar day cells: keep text dark on hover/focus (theme buttons turn text white) ---- */
.yimc-events .yimc-ev-day,.yimc-events .yimc-ev-day:hover,.yimc-events .yimc-ev-day:focus,.yimc-events .yimc-ev-day:active{color:#000!important;box-shadow:none}
.yimc-events .yimc-ev-day{background-color:#fff}
.yimc-events .yimc-ev-day.is-empty{background-color:#fcfcfc}
.yimc-events .yimc-ev-day.has-ev:hover,.yimc-events .yimc-ev-day.has-ev:focus,.yimc-events .yimc-ev-day.is-selected{background-color:#fbf3f5}
.yimc-events .yimc-ev-day .n{color:#000!important}
.yimc-events .yimc-ev-day.is-today .n{color:#fff!important;background:#000}
.yimc-events .yimc-ev-day .yimc-ev-chip{color:#fff!important}
.yimc-events .yimc-ev-day .yimc-ev-chip.is-past{color:#333!important}
.yimc-events .yimc-ev-day .yimc-ev-more{color:#555!important}


/* ---- Modern calendar polish + motion ---- */
.yimc-events{--ease:cubic-bezier(.22,.8,.3,1)}
.yimc-events .yimc-ev-cal{border:0;border-radius:24px;box-shadow:0 18px 50px -20px rgba(199,59,99,.28),0 2px 8px rgba(0,0,0,.05);background:#fff}
.yimc-events .yimc-ev-calhead{background:linear-gradient(135deg,#C73B63 0%,#e2658a 100%);border-bottom:0;padding:22px 26px}
.yimc-events .yimc-ev-calhead h3{color:#fff;font-size:30px;letter-spacing:.2px}
.yimc-ev-calmid{display:flex;flex-direction:column;align-items:center;gap:8px}
.yimc-events .yimc-ev-todaybtn{appearance:none;-webkit-appearance:none;cursor:pointer;border:1px solid rgba(255,255,255,.65);background:rgba(255,255,255,.16);color:#fff;border-radius:999px;padding:3px 16px;font-size:13px;line-height:1.5;transition:background .25s var(--ease),transform .25s var(--ease)}
.yimc-events .yimc-ev-todaybtn:hover{background:#fff;color:#C73B63;transform:translateY(-1px)}
.yimc-events .yimc-ev-calhead .yimc-ev-nav{background:rgba(255,255,255,.2);color:#fff;transition:background .25s var(--ease),transform .25s var(--ease),color .25s}
.yimc-events .yimc-ev-calhead .yimc-ev-nav:hover{background:#fff;color:#C73B63;transform:scale(1.08)}
.yimc-events .yimc-ev-calhead .yimc-ev-nav:active{transform:scale(.94)}
.yimc-events .yimc-ev-dow div{background:#fff;border-bottom:1px solid var(--line);color:#8a8378;font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.yimc-events .yimc-ev-day{border-color:#f0ece5;transition:background-color .25s var(--ease),transform .25s var(--ease),box-shadow .25s var(--ease)}
.yimc-events .yimc-ev-day.has-ev:hover{transform:translateY(-3px);z-index:2;position:relative;box-shadow:0 12px 26px -10px rgba(199,59,99,.4)!important;border-radius:14px}
.yimc-events .yimc-ev-day.is-selected{outline:0;background-color:#fbe9ef;box-shadow:inset 0 0 0 2px #C73B63!important;border-radius:14px}
.yimc-events .yimc-ev-day.is-today .n{background:#C73B63;animation:yimc-pulse 2.4s ease-out infinite}
.yimc-events .yimc-ev-chip{background:linear-gradient(135deg,#C73B63,#df5f84);border-radius:999px;padding:3px 10px;margin-top:3px;box-shadow:0 3px 8px -3px rgba(199,59,99,.55);transition:transform .25s var(--ease)}
.yimc-events .yimc-ev-day.has-ev:hover .yimc-ev-chip{transform:scale(1.03)}
.yimc-events .yimc-ev-chip.is-past{background:#d9d5cd;box-shadow:none}
@keyframes yimc-pulse{0%{box-shadow:0 0 0 0 rgba(199,59,99,.5)}70%,100%{box-shadow:0 0 0 9px rgba(199,59,99,0)}}
@keyframes yimc-rise{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}
@keyframes yimc-slide-n{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}
@keyframes yimc-slide-p{from{opacity:0;transform:translateX(-28px)}to{opacity:1;transform:none}}
.yimc-ev-days.go-next .yimc-ev-day{animation:yimc-slide-n .5s var(--ease) both;animation-delay:calc(var(--i,0) * 9ms)}
.yimc-ev-days.go-prev .yimc-ev-day{animation:yimc-slide-p .5s var(--ease) both;animation-delay:calc(var(--i,0) * 9ms)}
.yimc-events .yimc-ev-calview{animation:yimc-rise .7s var(--ease) both}
.yimc-events .yimc-ev-panel:not([hidden]) .yimc-ev-card,.yimc-events .yimc-ev-panel:not([hidden]) .yimc-ev-feature,.yimc-events .yimc-ev-caldetail .yimc-ev-card{animation:yimc-rise .6s var(--ease) both}
.yimc-events .yimc-ev-grid > :nth-child(2){animation-delay:.07s!important}
.yimc-events .yimc-ev-grid > :nth-child(3){animation-delay:.14s!important}
.yimc-events .yimc-ev-grid > :nth-child(n+4){animation-delay:.2s!important}
.yimc-events .yimc-ev-card{transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
.yimc-events .yimc-ev-card:hover{transform:translateY(-6px);box-shadow:0 22px 40px -22px rgba(199,59,99,.45)}
.yimc-events .yimc-ev-pill{transition:background-color .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease),transform .25s var(--ease)}
.yimc-events .yimc-ev-pill:active{transform:scale(.95)}
.yimc-ev-detailbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;animation:yimc-rise .5s var(--ease) both}
.yimc-ev-detailbar h4{margin:0!important}
.yimc-events .yimc-ev-back{appearance:none;-webkit-appearance:none;cursor:pointer;border:1px solid var(--line);background:#fff;color:#000;border-radius:999px;padding:8px 20px;font-size:15px;transition:all .25s var(--ease)}
.yimc-events .yimc-ev-back:hover{border-color:#C73B63;color:#C73B63;background:#fff}
.yimc-events .yimc-ev-toolbar{margin-top:8px}
@media (max-width:767px){
	.yimc-events .yimc-ev-calhead h3{font-size:22px}
	.yimc-events .yimc-ev-chip{background:#C73B63;box-shadow:none}
	.yimc-events .yimc-ev-day.has-ev:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){
	.yimc-events *,.yimc-ev-days .yimc-ev-day{animation:none!important;transition:none!important}
}


/* ---- Sticky day slider ---- */
.yimc-events .yimc-ev-day.is-selected{position:relative;z-index:3}
.yimc-events .yimc-ev-day{position:relative}
.yimc-events .yimc-ev-day.has-ev:hover{z-index:3}
.yimc-ev-strip{position:fixed;top:12px;z-index:999;box-sizing:border-box;background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
	border-radius:22px;box-shadow:0 18px 40px -16px rgba(199,59,99,.45),0 2px 8px rgba(0,0,0,.08);border:1px solid #f0e3e8;padding:10px 12px 12px;
	opacity:0;visibility:hidden;transform:translateY(-130%) scale(.98);pointer-events:none;transition:transform .55s cubic-bezier(.22,.8,.3,1),opacity .35s ease,visibility 0s linear .55s}
.yimc-ev-strip.is-on{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition:transform .55s cubic-bezier(.22,.8,.3,1),opacity .35s ease}
body.admin-bar .yimc-ev-strip{top:44px}
.yimc-ev-strip-top{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:8px}
.yimc-ev-smonth{font-family:'Baskervville',Georgia,serif;font-weight:600;font-size:20px;color:#000;min-width:150px;text-align:center}
.yimc-events .yimc-ev-snav{appearance:none;-webkit-appearance:none;cursor:pointer;width:32px;height:32px;border-radius:50%;border:0;padding:0;background:#C73B63;color:#fff;display:flex;align-items:center;justify-content:center;transition:transform .25s ease,background .25s ease}
.yimc-events .yimc-ev-snav svg{width:16px;height:16px;display:block}
.yimc-events .yimc-ev-snav:hover{background:#a82f50;transform:scale(1.1)}
.yimc-ev-sdays{display:flex;gap:8px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x proximity;padding:4px 2px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.yimc-ev-sdays::-webkit-scrollbar{display:none}
.yimc-events .yimc-ev-sd{appearance:none;-webkit-appearance:none;flex:0 0 auto;scroll-snap-align:center;width:54px;border:1px solid #eee7e0;background:#fff;color:#000;border-radius:16px;padding:7px 0 8px;display:flex;flex-direction:column;align-items:center;gap:1px;cursor:pointer;
	animation:yimc-rise .45s cubic-bezier(.22,.8,.3,1) both;animation-delay:calc(var(--i,0) * 14ms);transition:transform .25s ease,background-color .25s ease,box-shadow .25s ease,border-color .25s ease}
.yimc-events .yimc-ev-sd .w{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#8a8378}
.yimc-events .yimc-ev-sd .d{font-size:18px;font-weight:700;line-height:1.2;color:#000}
.yimc-events .yimc-ev-sd .dot{width:6px;height:6px;border-radius:50%;background:transparent;margin-top:2px}
.yimc-events .yimc-ev-sd.has-ev .dot{background:#C73B63}
.yimc-events .yimc-ev-sd:disabled{cursor:default;opacity:.45}
.yimc-events .yimc-ev-sd.has-ev:hover{transform:translateY(-3px);box-shadow:0 10px 20px -10px rgba(199,59,99,.5);border-color:#C73B63}
.yimc-events .yimc-ev-sd.is-today{border-color:#000}
.yimc-events .yimc-ev-sd.is-selected{background:#C73B63;border-color:#C73B63}
.yimc-events .yimc-ev-sd.is-selected .w,.yimc-events .yimc-ev-sd.is-selected .d{color:#fff}
.yimc-events .yimc-ev-sd.is-selected .dot{background:#fff}
.yimc-ev-caldetail{scroll-margin-top:150px}
@media (max-width:767px){
	.yimc-ev-strip{top:8px;border-radius:18px;padding:8px 8px 10px}
	body.admin-bar .yimc-ev-strip{top:54px}
	.yimc-ev-smonth{font-size:17px;min-width:120px}
	.yimc-events .yimc-ev-sd{width:48px}
}
.yimc-events .yimc-ev-cal{overflow:visible;padding-bottom:10px}
.yimc-events .yimc-ev-calhead{border-radius:24px 24px 0 0}
.yimc-events .yimc-ev-days{padding:0 8px}
.yimc-events .yimc-ev-dow{padding:0 8px}


.yimc-events .yimc-ev-calview{animation-fill-mode:backwards}


/* ---- Sticky day slider ---- */
.yimc-events .yimc-ev-day.is-selected{position:relative;z-index:3}
.yimc-events .yimc-ev-day{position:relative}
.yimc-events .yimc-ev-day.has-ev:hover{z-index:3}
.yimc-ev-strip{position:fixed;top:12px;z-index:999;box-sizing:border-box;background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
	border-radius:22px;box-shadow:0 18px 40px -16px rgba(199,59,99,.45),0 2px 8px rgba(0,0,0,.08);border:1px solid #f0e3e8;padding:10px 12px 12px;
	opacity:0;visibility:hidden;transform:translateY(-130%) scale(.98);pointer-events:none;transition:transform .55s cubic-bezier(.22,.8,.3,1),opacity .35s ease,visibility 0s linear .55s}
.yimc-ev-strip.is-on{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition:transform .55s cubic-bezier(.22,.8,.3,1),opacity .35s ease}
body.admin-bar .yimc-ev-strip{top:44px}
.yimc-ev-strip-top{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:8px}
.yimc-ev-smonth{font-family:'Baskervville',Georgia,serif;font-weight:600;font-size:20px;color:#000;min-width:150px;text-align:center}
.yimc-events .yimc-ev-snav{appearance:none;-webkit-appearance:none;cursor:pointer;width:32px;height:32px;border-radius:50%;border:0;padding:0;background:#C73B63;color:#fff;display:flex;align-items:center;justify-content:center;transition:transform .25s ease,background .25s ease}
.yimc-events .yimc-ev-snav svg{width:16px;height:16px;display:block}
.yimc-events .yimc-ev-snav:hover{background:#a82f50;transform:scale(1.1)}
.yimc-ev-sdays{display:flex;gap:8px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x proximity;padding:4px 2px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.yimc-ev-sdays::-webkit-scrollbar{display:none}
.yimc-events .yimc-ev-sd{appearance:none;-webkit-appearance:none;flex:0 0 auto;scroll-snap-align:center;width:54px;border:1px solid #eee7e0;background:#fff;color:#000;border-radius:16px;padding:7px 0 8px;display:flex;flex-direction:column;align-items:center;gap:1px;cursor:pointer;
	animation:yimc-rise .45s cubic-bezier(.22,.8,.3,1) both;animation-delay:calc(var(--i,0) * 14ms);transition:transform .25s ease,background-color .25s ease,box-shadow .25s ease,border-color .25s ease}
.yimc-events .yimc-ev-sd .w{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#8a8378}
.yimc-events .yimc-ev-sd .d{font-size:18px;font-weight:700;line-height:1.2;color:#000}
.yimc-events .yimc-ev-sd .dot{width:6px;height:6px;border-radius:50%;background:transparent;margin-top:2px}
.yimc-events .yimc-ev-sd.has-ev .dot{background:#C73B63}
.yimc-events .yimc-ev-sd:disabled{cursor:default;opacity:.45}
.yimc-events .yimc-ev-sd.has-ev:hover{transform:translateY(-3px);box-shadow:0 10px 20px -10px rgba(199,59,99,.5);border-color:#C73B63}
.yimc-events .yimc-ev-sd.is-today{border-color:#000}
.yimc-events .yimc-ev-sd.is-selected{background:#C73B63;border-color:#C73B63}
.yimc-events .yimc-ev-sd.is-selected .w,.yimc-events .yimc-ev-sd.is-selected .d{color:#fff}
.yimc-events .yimc-ev-sd.is-selected .dot{background:#fff}
.yimc-ev-caldetail{scroll-margin-top:150px}
@media (max-width:767px){
	.yimc-ev-strip{top:8px;border-radius:18px;padding:8px 8px 10px}
	body.admin-bar .yimc-ev-strip{top:54px}
	.yimc-ev-smonth{font-size:17px;min-width:120px}
	.yimc-events .yimc-ev-sd{width:48px}
}

/* ---- every date is clickable ---- */
.yimc-events .yimc-ev-day{cursor:pointer;appearance:none;-webkit-appearance:none;font:inherit}
.yimc-events .yimc-ev-day:not(.has-ev):hover{background-color:#faf7f5}
.yimc-events .yimc-ev-sd:disabled{opacity:1;cursor:pointer}
.yimc-events .yimc-ev-sd:not(.has-ev){opacity:.7}
.yimc-ev-none{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:34px 20px;border:1px dashed #E6E1D8;border-radius:20px;background:#fff;animation:yimc-rise .5s cubic-bezier(.22,.8,.3,1) both}
.yimc-ev-none strong{font-family:'Baskervville',Georgia,serif;font-size:24px;font-weight:600;color:#000}
.yimc-ev-none span{color:#555;font-size:16px}

/* ---- Countdown (single event page) ---- */
.yimc-ev-count{margin:0 0 28px;padding:26px 24px;border-radius:24px;background:linear-gradient(135deg,#C73B63 0%,#e2658a 100%);color:#fff;text-align:center;
	box-shadow:0 18px 40px -22px rgba(199,59,99,.7);animation:yimc-rise .6s cubic-bezier(.22,.8,.3,1) both}
.yimc-ev-count-label{font-size:13px;letter-spacing:.18em;text-transform:uppercase;opacity:.9;margin-bottom:14px}
.yimc-ev-count-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:520px;margin:0 auto}
.yimc-ev-count-box{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);border-radius:18px;padding:14px 6px 12px}
.yimc-ev-count-box b{display:block;font-family:'Baskervville',Georgia,serif;font-size:40px;line-height:1.1;font-weight:600;color:#fff}
.yimc-ev-count-box span{display:block;margin-top:4px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;opacity:.9}
.yimc-ev-count-box b.tick{animation:yimc-tick .35s cubic-bezier(.22,.8,.3,1)}
@keyframes yimc-tick{from{opacity:.2;transform:translateY(-8px)}to{opacity:1;transform:none}}
.yimc-ev-count.is-live,.yimc-ev-count.is-done{padding:18px 24px}
.yimc-ev-count.is-done{background:#efebe4;color:#444;box-shadow:none}
.yimc-ev-count-msg{font-family:'Baskervville',Georgia,serif;font-size:26px;font-weight:600;display:inline-flex;align-items:center;gap:10px}
.yimc-ev-count-msg i{width:12px;height:12px;border-radius:50%;background:#fff;animation:yimc-live 1.4s ease-out infinite}
@keyframes yimc-live{0%{box-shadow:0 0 0 0 rgba(255,255,255,.7)}100%{box-shadow:0 0 0 12px rgba(255,255,255,0)}}
@media (max-width:600px){
	.yimc-ev-count{padding:20px 14px}
	.yimc-ev-count-grid{gap:8px}
	.yimc-ev-count-box b{font-size:30px}
	.yimc-ev-count-box span{font-size:10px;letter-spacing:.06em}
}
@media (prefers-reduced-motion:reduce){.yimc-ev-count,.yimc-ev-count-box b.tick,.yimc-ev-count-msg i{animation:none!important}}

/* ---- Modern single event page ---- */
body.single-yimc_event article.ast-article-single,body.single-yimc_event .ast-article-single{border:0;border-radius:28px;padding:40px 44px 44px!important;
	box-shadow:0 30px 70px -40px rgba(199,59,99,.45),0 2px 10px rgba(0,0,0,.05);animation:yimc-rise .7s cubic-bezier(.22,.8,.3,1) both}
body.single-yimc_event .entry-header{margin-bottom:18px}
body.single-yimc_event .entry-title{position:relative;font-size:44px!important;line-height:1.15!important;margin-bottom:6px;padding-top:34px}
body.single-yimc_event .entry-title::before{content:"EVENT";position:absolute;left:0;top:0;display:inline-block;background:#fbe9ef;color:#C73B63;font-family:'Helvetica Now Display','Helvetica Neue',Helvetica,Arial,sans-serif;
	font-size:12px;font-weight:700;letter-spacing:.18em;line-height:1;padding:8px 14px;border-radius:999px}
.yimc-ev-hero{position:relative;margin:0 0 26px;border-radius:24px;background:linear-gradient(160deg,#fbf3f5 0%,#f3eee8 100%);padding:18px;box-shadow:inset 0 0 0 1px #f0e3e8;animation:yimc-rise .7s cubic-bezier(.22,.8,.3,1) .05s both}
.yimc-ev-hero img{border-radius:18px;max-height:520px;box-shadow:0 24px 50px -26px rgba(0,0,0,.5)!important;transition:transform .8s cubic-bezier(.22,.8,.3,1)}
.yimc-ev-hero:hover img{transform:scale(1.015)}
.yimc-ev-detail{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;background:none;padding:0;margin:0 0 24px}
.yimc-ev-tile{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #efe7e2;border-radius:20px;padding:18px 20px;
	transition:transform .35s cubic-bezier(.22,.8,.3,1),box-shadow .35s cubic-bezier(.22,.8,.3,1),border-color .3s;animation:yimc-rise .6s cubic-bezier(.22,.8,.3,1) both}
.yimc-ev-tile:nth-child(2){animation-delay:.08s}
.yimc-ev-tile:nth-child(3){animation-delay:.16s}
.yimc-ev-tile:hover{transform:translateY(-4px);box-shadow:0 18px 34px -22px rgba(199,59,99,.55);border-color:#C73B63}
.yimc-ev-tile i{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#C73B63,#e2658a);color:#fff;font-style:normal;box-shadow:0 8px 18px -8px rgba(199,59,99,.7)}
.yimc-ev-tile i svg{display:block}
.yimc-ev-detail .yimc-ev-tile span{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#8a8378;margin:0 0 3px}
.yimc-ev-detail .yimc-ev-tile strong{font-size:17px;line-height:1.35;font-weight:600;color:#000;word-break:break-word}
.yimc-ev-actions{gap:12px;margin:0 0 30px!important}
.yimc-ev-actions a.yimc-ev-btn{padding:14px 26px;border-radius:999px;font-weight:600;transition:transform .3s cubic-bezier(.22,.8,.3,1),box-shadow .3s,background-color .25s,color .25s}
.yimc-ev-actions a.yimc-ev-btn:hover{transform:translateY(-3px);box-shadow:0 14px 26px -14px rgba(199,59,99,.8)}
body.single-yimc_event .entry-content p{color:#222}
body.single-yimc_event .yimc-ev-back{margin:34px 0 0;padding-top:24px;border-top:1px solid #f0e8e3}
body.single-yimc_event .yimc-ev-back a.yimc-ev-btn{background:#fff;color:#C73B63!important;border:1px solid #C73B63!important;transition:all .3s}
body.single-yimc_event .yimc-ev-back a.yimc-ev-btn:hover{background:#C73B63;color:#fff!important;transform:translateX(-4px)}
@media (max-width:767px){
	body.single-yimc_event article.ast-article-single,body.single-yimc_event .ast-article-single{padding:24px 18px 28px!important;border-radius:22px}
	body.single-yimc_event .entry-title{font-size:30px!important;padding-top:32px}
	.yimc-ev-hero{padding:10px;border-radius:18px}
	.yimc-ev-hero img{max-height:380px}
	.yimc-ev-tile{padding:14px 16px}
}
@media (prefers-reduced-motion:reduce){body.single-yimc_event article,.yimc-ev-hero,.yimc-ev-tile{animation:none!important;transition:none!important}}
