.elementor-2465 .elementor-element.elementor-element-fbb06c7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-2465 .elementor-element.elementor-element-88a5873{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:20px;--padding-bottom:24px;--padding-left:24px;--padding-right:24px;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-2465 .elementor-element.elementor-element-38ddce0{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:8px 8px;--row-gap:8px;--column-gap:8px;--padding-top:16px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}#elementor-popup-modal-2465 .dialog-widget-content{animation-duration:0.35s;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}#elementor-popup-modal-2465{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-2465 .dialog-message{width:520px;height:auto;}#elementor-popup-modal-2465 .dialog-close-button{display:flex;background-color:#FFFFFF;font-size:16px;}#elementor-popup-modal-2465 .dialog-close-button i{color:#2D3748;}#elementor-popup-modal-2465 .dialog-close-button svg{fill:#2D3748;}@media(max-width:767px){.elementor-2465 .elementor-element.elementor-element-88a5873{--padding-top:18px;--padding-bottom:22px;--padding-left:20px;--padding-right:20px;}#elementor-popup-modal-2465 .dialog-message{width:100vw;}#elementor-popup-modal-2465{align-items:flex-end;}}/* Start custom CSS *//* 泡泡貓課程頁＋課程彈窗 2.0 — 自訂 CSS（build_courses.php 會存進每支課程頁與每個彈窗的「自訂 CSS」）
   掛勾：課程頁每個頂層區塊有 .ppm-cp、彈窗根容器有 .ppm-pop；:not(#ppm) 拉權重贏過編輯器的全域預設色（同首頁 page.css 的做法）。
   CSS 不能有引號以外的 < > &（Elementor 對範本 CSS 會跳脫）→ 這份只用一般選擇器。
   顏色／字級在這裡改；文字、圖片、連結、版面在各元件設定改。 */
:is(.ppm-cp, .ppm-pop):not(#ppm) {
  --ppm-bg: #FBFBFA; --ppm-bg-warm: #F8F6F2; --ppm-surface: #FFFFFF;
  --ppm-ink: #2D3748; --ppm-ink-soft: #6B7686; --ppm-ink-faint: #A0AAB8; --ppm-line: #EAE8E3;
  --ppm-aqua: #7DB0C8; --ppm-aqua-deep: #5A93AC; --ppm-aqua-tint: #EDF4F8;
  --ppm-peach: #EFC9B4; --ppm-peach-tint: #FBF0E9;
  --ppm-r-sm: 16px; --ppm-r-md: 22px; --ppm-r-lg: 28px;
  --ppm-shadow-1: 0 1px 2px rgba(45,55,72,.03), 0 10px 30px rgba(45,55,72,.05);
  color: var(--ppm-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', 'Segoe UI', sans-serif;
  letter-spacing: .015em;
}
.ppm-cp:not(#ppm) { background: var(--ppm-bg); }
.ppm-cp.ppm-bg-warm:not(#ppm) { background: var(--ppm-bg-warm); }
.ppm-cp-sec:not(#ppm) { scroll-margin-top: 84px; }
:is(.ppm-cp, .ppm-pop):not(#ppm) :is(.elementor-widget-text-editor, .elementor-heading-title, .elementor-button) { font-family: inherit; }
:is(.ppm-cp, .ppm-pop):not(#ppm) .elementor-widget-text-editor { color: var(--ppm-ink); }
:is(.ppm-cp, .ppm-pop):not(#ppm) .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
:is(.ppm-cp, .ppm-pop):not(#ppm) .elementor-widget-text-editor a { color: inherit; text-decoration: none; }

/* 區塊標題 */
.ppm-cp:not(#ppm) .ppm-sec-head { text-align: center; max-width: 42rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.ppm-cp:not(#ppm) .ppm-eyebrow p { font-size: .6875rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ppm-aqua-deep); font-weight: 700; margin: 0 0 .75rem; }
.ppm-cp:not(#ppm) .ppm-h2 .elementor-heading-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.5; color: var(--ppm-ink); }
.ppm-cp:not(#ppm) .ppm-lede p { color: var(--ppm-ink-soft); font-size: clamp(.9375rem, 1.5vw, 1.0625rem); line-height: 1.8; margin: .875rem 0 0; }

/* 按鈕 */
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-btn .elementor-button { border-radius: 999px; padding: .9rem 1.75rem; font-size: .9375rem; font-weight: 700; letter-spacing: .04em; line-height: 1; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-btn-primary .elementor-button { background: var(--ppm-aqua); color: #fff; box-shadow: 0 8px 24px rgba(125,176,200,.34); }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-btn-primary .elementor-button:hover { background: var(--ppm-aqua-deep); transform: translateY(-2px); }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-btn-soft .elementor-button { background: var(--ppm-surface); color: var(--ppm-ink); border: 1px solid var(--ppm-line); }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-btn-soft .elementor-button:hover { border-color: var(--ppm-aqua); color: var(--ppm-aqua-deep); }
.ppm-pop:not(#ppm) .ppm-btn-block, .ppm-pop:not(#ppm) .ppm-btn-block .elementor-button { width: 100%; }
.ppm-pop:not(#ppm) .ppm-btn-link .elementor-button { background: transparent; color: var(--ppm-aqua-deep); padding: .75rem 1rem; box-shadow: none; width: 100%; }
.ppm-pop:not(#ppm) .ppm-btn-link .elementor-button:hover { background: var(--ppm-aqua-tint); }

/* 卡片 */
.ppm-cp:not(#ppm) .ppm-card { background: var(--ppm-surface); border: 1px solid var(--ppm-line); border-radius: var(--ppm-r-md); box-shadow: var(--ppm-shadow-1); }

/* 麵包屑＋捷徑 */
.ppm-cp:not(#ppm) .ppm-crumb p { font-size: .75rem; color: var(--ppm-ink-faint); margin: 0; }
.ppm-cp:not(#ppm) .ppm-crumb a:hover { color: var(--ppm-aqua-deep); }
.ppm-cp:not(#ppm) .ppm-cp-nav p { display: flex; gap: .5rem; overflow-x: auto; margin: 0; padding-bottom: 2px; scrollbar-width: none; }
.ppm-cp:not(#ppm) .ppm-cp-nav p::-webkit-scrollbar { display: none; }
.ppm-cp:not(#ppm) .ppm-cp-nav a { flex: none; font-size: .8125rem; padding: .4rem .9rem; border-radius: 999px; background: var(--ppm-surface); border: 1px solid var(--ppm-line); color: var(--ppm-ink-soft); white-space: nowrap; }
.ppm-cp:not(#ppm) .ppm-cp-nav a:hover { border-color: var(--ppm-aqua); color: var(--ppm-aqua-deep); }

/* 課程頭 */
.ppm-cp:not(#ppm) .ppm-cp-h1 .elementor-heading-title { font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 700; line-height: 1.3; color: var(--ppm-ink); }
.ppm-cp:not(#ppm) .ppm-cp-sub p { color: var(--ppm-aqua-deep); font-weight: 600; font-size: .9375rem; margin: .5rem 0 0; }
.ppm-cp:not(#ppm) .ppm-cp-lede p { color: var(--ppm-ink-soft); font-size: 1rem; line-height: 1.85; margin: 1rem 0 0; }
.ppm-cp:not(#ppm) .ppm-price-box { margin: 1.5rem 0 1.25rem; }
.ppm-cp:not(#ppm) .ppm-cp-note p { font-size: .75rem; color: var(--ppm-ink-faint); line-height: 1.7; margin: 1rem 0 0; }
.ppm-cp:not(#ppm) .ppm-cp-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ppm-r-lg); box-shadow: var(--ppm-shadow-1); display: block; }
.ppm-cp:not(#ppm) .ppm-cp-photo a { display: block; }
@media (max-width: 1024px) { .ppm-cp:not(#ppm) .ppm-cp-photo img { aspect-ratio: 16 / 10; } }

/* 價格框（課程頁＋彈窗共用） */
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-price-box .elementor-widget-container,
:is(.ppm-cp, .ppm-pop):not(#ppm) .elementor-widget-text-editor.ppm-price-box { background: var(--ppm-surface); border: 1px solid var(--ppm-line); border-radius: var(--ppm-r-sm); padding: .25rem 1.125rem; }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-price-box p { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; padding: .8rem 0; margin: 0; border-bottom: 1px solid var(--ppm-line); }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-price-box p:last-child { border-bottom: 0; }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-price-box span { font-size: .8125rem; color: var(--ppm-ink-soft); margin-right: auto; }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-price-box strong { font-size: 1.25rem; color: var(--ppm-aqua-deep); font-weight: 700; }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-price-box small { font-size: .6875rem; color: var(--ppm-ink-faint); }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-price-box s { font-size: .8125rem; color: var(--ppm-ink-faint); margin-left: .25rem; }
@media (max-width: 480px) { :is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-price-box span { flex-basis: 100%; margin-bottom: .125rem; } }

/* 規格 */
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-spec h3 { font-size: .8125rem; color: var(--ppm-ink-soft); font-weight: 600; margin: 0 0 .25rem; }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-spec p { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; margin: 0; border-bottom: 1px solid var(--ppm-line); font-size: .8125rem; }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-spec p:last-child { border-bottom: 0; }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-spec span { color: var(--ppm-ink-soft); flex: none; }
:is(.ppm-cp, .ppm-pop):not(#ppm) .ppm-spec strong { text-align: right; font-weight: 600; }
.ppm-cp:not(#ppm) .ppm-spec { background: var(--ppm-surface); border: 1px solid var(--ppm-line); border-radius: var(--ppm-r-md); padding: 1.25rem 1.375rem; box-shadow: var(--ppm-shadow-1); }

/* 課程內容 */
.ppm-cp:not(#ppm) .ppm-feat h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .5rem; color: var(--ppm-ink); }
.ppm-cp:not(#ppm) .ppm-feat p { font-size: .875rem; color: var(--ppm-ink-soft); line-height: 1.75; margin: 0; }

/* 完整流程 */
.ppm-cp:not(#ppm) .ppm-steps { max-width: 48rem; margin: 0 auto; }
.ppm-cp:not(#ppm) .ppm-step { background: var(--ppm-surface); border: 1px solid var(--ppm-line); border-radius: var(--ppm-r-sm); padding: 1rem 1.25rem; }
.ppm-cp:not(#ppm) .ppm-step p { margin: 0; font-size: .875rem; color: var(--ppm-ink-soft); line-height: 1.75; }
.ppm-cp:not(#ppm) .ppm-step p:first-child { font-size: .9375rem; color: var(--ppm-ink); }
.ppm-cp:not(#ppm) .ppm-step p + p { margin-top: .375rem; padding-left: 2.25rem; }
.ppm-cp:not(#ppm) .ppm-step em { font-style: normal; font-weight: 700; color: var(--ppm-aqua-deep); display: inline-block; width: 2.25rem; }

/* 其他課程 */
.ppm-cp:not(#ppm) .ppm-sub-head h3 { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 .875rem; }
.ppm-cp:not(#ppm) .ppm-mini { position: relative; background: var(--ppm-surface); border: 1px solid var(--ppm-line); border-radius: var(--ppm-r-sm); padding: 1rem 1.125rem; width: calc((100% - 60px) / 6); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ppm-cp:not(#ppm) .ppm-mini:hover { transform: translateY(-3px); border-color: var(--ppm-aqua); box-shadow: var(--ppm-shadow-1); }
.ppm-cp:not(#ppm) .ppm-mini h4 { font-size: .9375rem; font-weight: 700; margin: 0 0 .375rem; }
.ppm-cp:not(#ppm) .ppm-mini h4 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.ppm-cp:not(#ppm) .ppm-mini p { font-size: .75rem; color: var(--ppm-ink-soft); line-height: 1.65; margin: 0; }
.ppm-cp:not(#ppm) .ppm-mini-adv { width: calc((100% - 48px) / 5); }
.ppm-cp:not(#ppm) .ppm-mini-adv p:first-child em { font-style: normal; font-size: .6875rem; padding: .15rem .6rem; border-radius: 999px; background: var(--ppm-peach-tint); color: #B8805F; }
.ppm-cp:not(#ppm) .ppm-mini-adv p:first-child { margin-bottom: .5rem; }
.ppm-cp:not(#ppm) .ppm-mini-adv p:last-child { margin-top: .75rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .125rem .375rem; }
.ppm-cp:not(#ppm) .ppm-mini-adv strong { color: var(--ppm-aqua-deep); font-size: .9375rem; }
.ppm-cp:not(#ppm) .ppm-mini-adv s { color: var(--ppm-ink-faint); font-size: .6875rem; }
.ppm-cp:not(#ppm) .ppm-mini-adv span { margin-left: auto; color: var(--ppm-aqua-deep); font-weight: 600; white-space: nowrap; }
@media (min-width: 1025px) { .ppm-cp:not(#ppm) .ppm-mini-grid .ppm-mini { flex: 1 1 0; min-width: 0; width: auto; } .ppm-cp:not(#ppm) .ppm-mini-grid .ppm-mini-adv { max-width: calc((100% - 36px) / 4); } }
@media (max-width: 1024px) {
  .ppm-cp:not(#ppm) .ppm-mini { width: calc((100% - 24px) / 3); }
  .ppm-cp:not(#ppm) .ppm-mini-adv { width: calc((100% - 12px) / 2); }
}
@media (max-width: 767px) {
  .ppm-cp:not(#ppm) .ppm-mini-grid { flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .ppm-cp:not(#ppm) .ppm-mini-grid::-webkit-scrollbar { display: none; }
  .ppm-cp:not(#ppm) .ppm-mini { width: 44% !important; flex: none; scroll-snap-align: start; }
  .ppm-cp:not(#ppm) .ppm-mini-adv { width: 72% !important; }
}

/* ── 彈窗 ── */
.elementor-popup-modal .dialog-widget-content:has(.ppm-pop) { border-radius: 24px; overflow: hidden; box-shadow: 0 24px 64px rgba(45,55,72,.22); }
.elementor-popup-modal .dialog-message:has(.ppm-pop) { max-height: 88vh; overflow-y: auto; overscroll-behavior: contain; }
.ppm-pop:not(#ppm) { background: var(--ppm-surface); }
.ppm-pop:not(#ppm) .ppm-pop-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ppm-pop:not(#ppm) .ppm-pop-title p { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin: 0; }
.ppm-pop:not(#ppm) .ppm-pop-title strong { font-size: 1.375rem; font-weight: 700; }
.ppm-pop:not(#ppm) .ppm-pop-title em { font-style: normal; font-size: .75rem; color: var(--ppm-aqua-deep); background: var(--ppm-aqua-tint); padding: .15rem .6rem; border-radius: 999px; }
.ppm-pop:not(#ppm) .ppm-pop-lede p { font-size: .875rem; color: var(--ppm-ink-soft); line-height: 1.75; margin: .5rem 0 0; }
.ppm-pop:not(#ppm) .ppm-price-box { margin-top: 1rem; }
.ppm-pop:not(#ppm) .ppm-price-box strong { font-size: 1.125rem; }
.ppm-pop:not(#ppm) .ppm-spec { margin-top: .5rem; }
.ppm-pop:not(#ppm) :is(.ppm-pop-feats, .ppm-pop-steps) h4 { font-size: .875rem; font-weight: 700; margin: 1.25rem 0 .5rem; color: var(--ppm-ink); }
.ppm-pop:not(#ppm) .ppm-pop-feats p { font-size: .8125rem; color: var(--ppm-ink-soft); line-height: 1.7; margin: 0 0 .5rem; padding: .625rem .875rem; background: var(--ppm-bg-warm); border-radius: 12px; }
.ppm-pop:not(#ppm) .ppm-pop-feats strong { display: block; color: var(--ppm-ink); font-size: .875rem; margin-bottom: .125rem; }
.ppm-pop:not(#ppm) .ppm-pop-steps p { display: grid; grid-template-columns: 2rem 1fr; font-size: .875rem; margin: 0; padding: .5rem 0; border-bottom: 1px dashed var(--ppm-line); }
.ppm-pop:not(#ppm) .ppm-pop-steps p:last-child { border-bottom: 0; }
.ppm-pop:not(#ppm) .ppm-pop-steps em { font-style: normal; font-weight: 700; color: var(--ppm-aqua-deep); grid-row: span 2; }
.ppm-pop:not(#ppm) .ppm-pop-steps small { grid-column: 2; font-size: .75rem; color: var(--ppm-ink-soft); line-height: 1.65; margin-top: .125rem; }
.ppm-pop:not(#ppm) .ppm-pop-foot { position: sticky; bottom: 0; z-index: 2; background: #fff; margin: 16px -24px -24px; padding: 14px 24px 16px; width: auto !important; max-width: none !important; align-self: stretch; box-shadow: 0 -10px 18px -14px rgba(45,55,72,.28); }
@media (max-width: 767px) { .ppm-pop:not(#ppm) .ppm-pop-foot { margin: 16px -20px -22px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); } }/* End custom CSS */