/* This stylesheet belongs only to Content Block 1045084. Native blocks remain editable. */
#ct-popup-1045084 { --popup-max-width: 480px; }
#ct-popup-1045084 .ct-popup-inner { width: min(480px, calc(100vw - 32px)); max-width: none; }
#ct-popup-1045084 article { background: #faf9f5; border-radius: 2px; box-shadow: 0 8px 32px #28241f24; }
#ct-popup-1045084 .ct-popup-content { padding: 36px 32px 28px; max-height: calc(100dvh - 48px); overscroll-behavior: contain; }
#ct-popup-1045084 .ct-toggle-close { position: absolute; inset: 10px 10px auto auto; width: 44px; height: 44px; min-height: 44px; border: 0; border-radius: 0; color: #514940; background: transparent; z-index: 2; }
#ct-popup-1045084 .ciao-menu { color: #393630; font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "Microsoft JhengHei", sans-serif; text-align: left; }
#ct-popup-1045084 .ciao-menu > * { margin: 0; }
#ct-popup-1045084 .ciao-menu-brand { font-family: Georgia, "Times New Roman", serif; font-size: 15px; letter-spacing: .09em; color: #756556; line-height: 1.5; padding-right: 36px; }
#ct-popup-1045084 .ciao-menu-title { font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif; font-size: 28px; font-weight: 500; letter-spacing: .08em; line-height: 1.5; margin-top: 9px; }
#ct-popup-1045084 .ciao-menu-intro { font-size: 13px; line-height: 1.8; color: #716b61; margin-top: 6px; }
#ct-popup-1045084 .ciao-menu-quick { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 24px 0 27px; border-top: 1px solid #dcd6ca; border-bottom: 1px solid #dcd6ca; }
#ct-popup-1045084 .ciao-menu-quick .wp-block-button { width: 100%; margin: 0; }
#ct-popup-1045084 .ciao-menu-quick .wp-block-button__link { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 4px; border: 0; border-radius: 0; background: transparent; color: #393630; font-size: 15px; font-weight: 500; letter-spacing: .06em; line-height: 1.6; text-decoration: none; box-shadow: none; }
#ct-popup-1045084 .ciao-menu-quick .wp-block-button:nth-child(-n+3) { border-bottom: 1px solid #e9e4db; }
#ct-popup-1045084 .ciao-menu-label { font-size: 12px; letter-spacing: .12em; line-height: 1.7; color: #756556; margin-bottom: 10px; }
#ct-popup-1045084 .ciao-menu-section { border-bottom: 1px solid #e2ddd3; }
#ct-popup-1045084 .ciao-menu-section summary { display: flex; align-items: center; justify-content: space-between; min-height: 49px; padding: 10px 2px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 500; letter-spacing: .05em; line-height: 1.6; }
#ct-popup-1045084 .ciao-menu-section summary::-webkit-details-marker { display: none; }
#ct-popup-1045084 .ciao-menu-section summary::after { content: "+"; font-size: 21px; font-weight: 300; color: #827260; line-height: 1; }
#ct-popup-1045084 .ciao-menu-section[open] summary::after { content: "−"; }
#ct-popup-1045084 .ciao-menu-section[open] summary { color: #765b3d; }
#ct-popup-1045084 .ciao-menu-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; padding: 2px 0 16px; }
#ct-popup-1045084 .ciao-menu-links { margin: 0; font-size: 14px; width: 100%; }
#ct-popup-1045084 .ciao-menu-links .wp-block-navigation__container { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
#ct-popup-1045084 .ciao-menu-links .wp-block-navigation-item { width: 100%; }
#ct-popup-1045084 .ciao-menu-links a { display: flex; align-items: center; min-height: 44px; padding: 8px 2px; color: #625a50; line-height: 1.65; text-decoration: none; overflow-wrap: anywhere; }
#ct-popup-1045084 a:hover, #ct-popup-1045084 summary:hover { color: #78593b; background-color: #f0ece3; }
#ct-popup-1045084 :is(a,button,summary):focus-visible { outline: 2px solid #78593b; outline-offset: 2px; }
@media (max-width: 359px) {
 #ct-popup-1045084 .ct-popup-content { padding: 32px 22px 24px; }
 #ct-popup-1045084 .ciao-menu-title { font-size: 25px; }
 #ct-popup-1045084 .ciao-menu-columns { gap: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
 #ct-popup-1045084, #ct-popup-1045084 .ct-popup-inner { animation: none !important; transition: none !important; }
}

/* Override native popup sizing and generic summary margins within this one menu. */
#ct-popup-1045084 .ct-popup-inner { width: 100%; max-width: 480px; margin: 0; }
#ct-popup-1045084 .ciao-menu-section summary { margin: 0; }
#ct-popup-1045084 .ciao-menu-title { color: #393630; font-weight: 600; }
#ct-popup-1045084 .ct-toggle-close[data-type] { background: transparent; border-radius: 0; --theme-icon-color: #514940; --theme-icon-hover-color: #78593b; }

#ct-popup-1045084 .ct-popup-inner { left: 50%; right: auto; width: calc(100% - 32px); transform: translate(-50%, -50%); }
#ct-popup-1045084 .ct-toggle-close[data-type] { background-color: transparent !important; border-radius: 0 !important; }
/* Keep the page behind the open menu stationary; the panel scrolls internally. */
html:has(#ct-popup-1045084.active), body:has(#ct-popup-1045084.active) { overflow: hidden; }
