/* Home upcoming event card v2 — cache-safe, accessible contrast */
body .content:has(.welcome) section.home-event{
  margin:0 0 18px!important;
  padding:12px 13px!important;
  min-height:94px;
  border:1px solid #dce3ea!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,#ffffff 0%,#fffaf5 100%)!important;
  color:#071a33!important;
  box-shadow:0 14px 30px rgba(7,26,51,.10)!important;
}
body .content:has(.welcome) .home-event>.home-event-detail{
  min-width:0;
  min-height:70px;
  padding:4px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#071a33!important;
  box-shadow:none!important;
}
body .content:has(.welcome) .home-event .event-date-box{
  width:54px!important;
  height:62px!important;
  border:1px solid #ffd6bd!important;
  border-radius:14px!important;
  background:#fff1e8!important;
  color:#f26522!important;
  box-shadow:0 6px 14px rgba(242,101,34,.10)!important;
}
body .content:has(.welcome) .home-event-copy{
  min-width:0;
  gap:4px;
  color:#071a33!important;
}
body .content:has(.welcome) .home-event-copy .eyebrow{
  color:#df5b1f!important;
  font-size:11px!important;
  letter-spacing:.08em;
}
body .content:has(.welcome) .home-event-copy strong{
  display:-webkit-box;
  max-width:100%;
  overflow:hidden;
  color:#071a33!important;
  font-size:15px!important;
  font-weight:900;
  line-height:1.32;
  white-space:normal!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
body .content:has(.welcome) .home-event-copy small{
  max-width:100%;
  overflow:hidden;
  color:#66788c!important;
  font-size:10px!important;
  line-height:1.4;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body .content:has(.welcome) .home-event-copy em{
  background:#fff0e7!important;
  color:#b84c18!important;
}
body .content:has(.welcome) .home-event>.home-event-all{
  display:flex!important;
  width:70px!important;
  max-width:70px!important;
  min-height:44px;
  align-items:center!important;
  justify-content:center!important;
  padding:6px 7px!important;
  text-align:center!important;
  white-space:nowrap!important;
  border:0!important;
  border-radius:12px!important;
  background:#092f55!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(7,42,77,.18)!important;
  font-size:10px!important;
  line-height:1.35;
}
body .content:has(.welcome) .home-event>.home-event-all:active{transform:scale(.97)}
body .content:has(.welcome) .home-event-loading{grid-template-columns:48px minmax(0,1fr) 72px!important}
@media(max-width:400px){
  body .content:has(.welcome) section.home-event{padding:10px!important}
  body .content:has(.welcome) .home-event .event-date-box{width:48px!important;height:58px!important}
  body .content:has(.welcome) .home-event-copy strong{font-size:14px!important}
  body .content:has(.welcome) .home-event>.home-event-all{width:64px!important;max-width:64px!important;min-height:42px;padding:6px 4px!important;font-size:9px!important}
}

/* Precise alignment for home event date and recommendation calendar icons */
body .content:has(.welcome) .home-event>.home-event-detail{
  align-items:center!important;
}
body .content:has(.welcome) .home-event .event-date-box{
  display:flex!important;
  flex:0 0 auto!important;
  align-self:center!important;
  justify-self:center!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  text-align:center!important;
}
body .content:has(.welcome) .home-event .event-date-box b{
  display:block;
  width:100%;
  margin:0!important;
  line-height:1!important;
  text-align:center!important;
}
body .content:has(.welcome) .home-event .event-date-box span{
  display:block;
  width:100%;
  margin:4px 0 0!important;
  line-height:1!important;
  text-align:center!important;
}
body .content:has(.welcome) .next-card .next-icon{
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  padding:0!important;
}
body .content:has(.welcome) .next-card .next-icon .premium-icon{
  display:block;
  margin:0!important;
}
