@layer theme-custom {
div.content.nav-logo nav.navbar .navbar-brand img,
nav.navbar .navbar-brand img {
  width: 320px !important;
  max-width: 42vw !important;
  height: auto !important;
  max-height: none !important;
}

div.content.nav-logo nav.navbar .navbar-brand,
nav.navbar .navbar-brand {
  display: inline-flex !important;
  align-items: center !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

@media (max-width: 768px) {
  div.content.nav-logo nav.navbar .navbar-brand img,nav.navbar .navbar-brand img {width:230px!important;max-width:68vw!important}
  div.content.nav-logo nav.navbar .navbar-brand,nav.navbar .navbar-brand {padding-top:12px!important;padding-bottom:12px!important}
}

/* Event 33｜整頁閱讀體驗與動態美編，不改文案 */
body.b_event_detail:has(.alice-life-event-hero) #pjax-container {
  --alice-ink:#302B27;--alice-gold:#A47B3C;--alice-gold-soft:#D7B87C;--alice-cream:#F5F0E8;--alice-paper:#FFFDF9;
  font-family:"Noto Serif TC","Noto Sans TC","PingFang TC","Microsoft JhengHei",serif;
  color:var(--alice-ink);
  background:linear-gradient(180deg,#F7F3EC 0%,#F2ECE3 100%);
  font-size:17px;
  line-height:1.95;
  letter-spacing:.015em;
}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero,
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero~.row {max-width:1120px;margin-left:auto;margin-right:auto}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero~.row:not(.alice-reading-map):not(.alice-takeaway):not(.alice-benefits):not(.alice-audience):not(.alice-final-cta) {padding-top:52px;padding-bottom:52px}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero~.row>.col-md-12:not(:has(.info-card)) {max-width:900px;margin-left:auto;margin-right:auto}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container h1,
body.b_event_detail:has(.alice-life-event-hero) #pjax-container h2,
body.b_event_detail:has(.alice-life-event-hero) #pjax-container h3 {font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;font-weight:600;letter-spacing:.035em}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container h2 {font-size:clamp(28px,2.6vw,38px);line-height:1.55;margin:10px 0 24px}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container h3 {font-size:22px;line-height:1.6}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container p {margin-bottom:16px}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container small {font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;font-size:13px;letter-spacing:.16em}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container strong {font-weight:700}

body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero {position:relative;overflow:hidden;border-radius:0 0 34px 34px;box-shadow:0 22px 55px rgba(43,36,31,.14)}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero::before {content:"";position:absolute;width:330px;height:330px;border:1px solid rgba(231,197,140,.13);border-radius:50%;right:-110px;top:-120px;box-shadow:0 0 0 58px rgba(231,197,140,.025),0 0 0 118px rgba(231,197,140,.018);pointer-events:none;animation:aliceEventOrb 9s ease-in-out infinite}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero::after {content:"";position:absolute;width:150px;height:1px;background:linear-gradient(90deg,transparent,rgba(231,197,140,.7),transparent);left:50%;bottom:34px;transform:translateX(-50%)}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero h1 {font-size:clamp(38px,4.5vw,62px)!important;line-height:1.38!important;max-width:920px;margin:0 auto 24px!important;text-wrap:balance}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero p {font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;font-size:17px;letter-spacing:.05em}
@keyframes aliceEventOrb {0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(-12px,12px,0)}}

body.b_event_detail:has(.alice-life-event-hero) #pjax-container blockquote {position:relative;margin:8px auto 22px;padding:30px 38px 30px 82px;max-width:860px;border:0;border-left:2px solid var(--alice-gold);background:rgba(255,253,249,.72);border-radius:0 18px 18px 0;box-shadow:0 12px 30px rgba(75,57,39,.055)}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container blockquote::before {content:"“";position:absolute;left:24px;top:14px;font-family:Georgia,serif;font-size:52px;line-height:1;color:rgba(164,123,60,.24)}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container blockquote p {font-size:21px;line-height:1.8;margin:0}

body.b_event_detail:has(.alice-life-event-hero) #pjax-container .row>.col-md-6 {display:flex;flex-direction:column;justify-content:center}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .row>.col-md-6 img {box-shadow:0 18px 42px rgba(52,42,33,.12);transition:transform .55s cubic-bezier(.22,1,.36,1),box-shadow .45s ease}
@media (hover:hover) and (pointer:fine){body.b_event_detail:has(.alice-life-event-hero) #pjax-container .row>.col-md-6 img:hover{transform:translateY(-5px) scale(1.012);box-shadow:0 24px 50px rgba(52,42,33,.17)}}

body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-reading-map,
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-takeaway {position:relative;overflow:hidden;box-shadow:0 24px 55px rgba(45,36,29,.14)!important}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-reading-map::after,
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-takeaway::after {content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(231,197,140,.1);border-radius:50%;right:-80px;bottom:-90px;pointer-events:none}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .map-pill {font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;font-size:14px;letter-spacing:.06em;transition:transform .28s ease,background-color .28s ease,border-color .28s ease}
@media (hover:hover) and (pointer:fine){body.b_event_detail:has(.alice-life-event-hero) #pjax-container .map-pill:hover{transform:translateY(-3px);background:rgba(231,197,140,.1);border-color:rgba(231,197,140,.8)}}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .reading-gift {box-shadow:0 15px 34px rgba(20,17,14,.16)}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .gift-item {transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
@media (hover:hover) and (pointer:fine){body.b_event_detail:has(.alice-life-event-hero) #pjax-container .gift-item:hover{transform:translateY(-4px);box-shadow:0 12px 24px rgba(74,55,37,.08);border-color:rgba(164,123,60,.42)}}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .result-highlight {font-size:18px;line-height:1.9;padding:22px 26px}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .closing {font-size:18px;line-height:1.85}

body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-benefits,
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-audience {box-shadow:0 18px 44px rgba(72,55,39,.07)}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .benefit-head>p:first-child,
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .audience-head>p:first-child {font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;font-size:12px;letter-spacing:.18em;color:#9B7844;font-weight:700}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .benefit-card,
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .audience-card {position:relative;border:1px solid rgba(164,123,60,.08);box-shadow:0 8px 22px rgba(66,51,37,.045);transition:transform .34s cubic-bezier(.22,1,.36,1),box-shadow .34s ease,border-color .34s ease}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .benefit-card h3,
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .audience-card h3 {font-size:20px;margin:15px 0 10px;color:#3A312A}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .benefit-card p,
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .audience-card p {font-size:15.5px;line-height:1.85;color:#655B53}
@media (hover:hover) and (pointer:fine){body.b_event_detail:has(.alice-life-event-hero) #pjax-container .benefit-card:hover,body.b_event_detail:has(.alice-life-event-hero) #pjax-container .audience-card:hover{transform:translateY(-6px);box-shadow:0 18px 34px rgba(66,51,37,.1);border-color:rgba(164,123,60,.3)}}

body.b_event_detail:has(.alice-life-event-hero) #pjax-container .info-card {overflow:hidden;border:1px solid rgba(164,123,60,.12);box-shadow:0 16px 38px rgba(68,52,37,.06)}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .info-row {border-bottom:1px solid #EEE4D7;transition:background-color .25s ease}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .info-row:last-child {border-bottom:0}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .info-label {font-weight:700;color:#8A642F;background:#F8F1E7}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .info-content {background:#FFFDF9}
@media (hover:hover) and (pointer:fine){body.b_event_detail:has(.alice-life-event-hero) #pjax-container .info-row:hover .info-label{background:#F1E4D1}body.b_event_detail:has(.alice-life-event-hero) #pjax-container .info-row:hover .info-content{background:#FFF}}

body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-final-cta {position:relative;overflow:hidden;box-shadow:0 26px 58px rgba(24,33,56,.2)}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-final-cta::before {content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(231,197,140,.12);border-radius:50%;left:-100px;top:-120px;box-shadow:0 0 0 48px rgba(231,197,140,.025);pointer-events:none}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-final-cta>.col-md-12 {position:relative;z-index:2;max-width:920px;margin:auto}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-final-cta>div>p:nth-of-type(2) {font-size:18px!important;line-height:1.95;max-width:900px;margin-left:auto;margin-right:auto}
body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-final-cta>div>p:last-child {padding-top:22px;border-top:1px solid rgba(231,197,140,.18);max-width:720px;margin-left:auto;margin-right:auto}

@supports (animation-timeline:view()) {
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero~.row {animation:aliceEventReveal linear both;animation-timeline:view();animation-range:entry 4% cover 24%}
 @keyframes aliceEventReveal {from{opacity:.18;transform:translateY(26px)}to{opacity:1;transform:translateY(0)}}
}

@media (max-width:768px) {
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container {font-size:16px;line-height:1.9}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero {border-radius:0 0 24px 24px}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero>.col-md-12 {padding:58px 20px 52px!important}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero h1 {font-size:clamp(32px,9.5vw,43px)!important;line-height:1.48!important}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero p {font-size:15px}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero~.row:not(.alice-reading-map):not(.alice-takeaway):not(.alice-benefits):not(.alice-audience):not(.alice-final-cta) {padding-top:38px;padding-bottom:38px}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container h2 {font-size:27px;line-height:1.55}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container h3 {font-size:20px}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container blockquote {padding:28px 20px 25px 62px}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container blockquote::before {left:18px;top:14px;font-size:42px}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container blockquote p {font-size:18px}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .row>.col-md-6 {margin-bottom:22px}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-reading-map,
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-takeaway,
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-benefits,
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-audience,
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-final-cta {border-radius:20px!important}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .benefit-card,
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .audience-card {padding:24px 20px}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .info-label,body.b_event_detail:has(.alice-life-event-hero) #pjax-container .info-content {padding:16px 18px}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .info-label {padding-bottom:6px}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .info-content {padding-top:6px}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-final-cta {padding:54px 20px!important}
}

@media (prefers-reduced-motion:reduce) {
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero::before {animation:none!important}
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .alice-life-event-hero~.row,
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container img,
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .map-pill,
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .gift-item,
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .benefit-card,
 body.b_event_detail:has(.alice-life-event-hero) #pjax-container .audience-card {animation:none!important;transition:none!important;transform:none!important}
}

}
