/* 附加 CSS（由「外觀 → 自訂 → 附加 CSS」產生，請勿直接修改） */
.onsale, .out-of-stock-badge,
.ct-share-box[data-type="type-2"] span {
	border-radius: 0;
}

.home-grid .elementor-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 35px;
	grid-auto-flow: column;
}

.home-grid .elementor-col-50 {
	width: 100%;
}

/* 爵士標準曲表格 */
.wp-block-table table {
    table-layout: fixed;
    width: 100%;
}

.wp-block-table th:nth-child(1),
.wp-block-table td:nth-child(1) {
    width: 10%;
    text-align: center;
}

.wp-block-table th:nth-child(2),
.wp-block-table td:nth-child(2) {
    width: 28%;
}

.wp-block-table th:nth-child(3),
.wp-block-table td:nth-child(3) {
    width: 22%;
}

.wp-block-table th:nth-child(4),
.wp-block-table td:nth-child(4) {
    width: 40%;
}

/* ChordPaws Location Card */

.cp-contact-card {
  box-sizing: border-box;
  width: 100%;
  padding: 20px;
  background: #FCFBF9;
  border: 1px solid #E7E1D8;
  border-radius: 14px;
  color: #303030;
  font-family: inherit;
}

.cp-contact-card * {
  box-sizing: border-box;
}

.cp-card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.cp-main-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F2ECE1;
  color: #A78E68;
  font-size: 30px;
}

.cp-card-heading h3 {
  margin: 0 0 5px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #252525;
}

.cp-card-heading span {
  color: #A78E68;
  font-size: 11px;
  letter-spacing: 1px;
}

.cp-card-divider {
  height: 1px;
  background: #E7E1D8;
  margin-bottom: 22px;
}

.cp-location-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.cp-small-icon {
  flex-shrink: 0;
  width: 18px;
  font-size: 15px;
  line-height: 1.7;
}

.cp-location-item h4 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  color: #303030;
}

.cp-location-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #68635D;
}

.cp-note-box {
  margin-top: 4px;
  padding: 14px;
  border-radius: 10px;
  background: #F5F1EA;
}

.cp-note-box h4 {
  margin: 0 0 6px;
  color: #927A56;
  font-size: 15px;
  font-weight: 600;
}

.cp-note-box p {
  margin: 0;
  color: #625C54;
  font-size: 13px;
  line-height: 1.9;
}

/* Mobile */
@media (max-width: 767px) {
  .cp-contact-card {
    padding: 16px;
    border-radius: 12px;
  }

  .cp-card-heading h3 {
    font-size: 18px;
  }

  .cp-location-item h4 {
    font-size: 15px;
  }

  .cp-location-item p {
    font-size: 14px;
  }

  .cp-note-box {
    padding: 12px;
  }
}

/* ChordPaws - Consistent Line Icons */

.cp-contact-card svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #A78E68;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.cp-contact-card .cp-main-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-contact-card .cp-main-icon svg {
  width: 23px;
  height: 23px;
}

.cp-contact-card .cp-small-icon {
  display: flex;
  align-items: flex-start;
  padding-top: 3px;
}

.cp-contact-card .cp-note-box h4 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cp-contact-card .cp-note-box h4 svg {
  width: 17px;
  height: 17px;
}

/* ChordPaws Teacher Page */

.cp-teacher-page {
  --teacher-ink: #292722;
  --teacher-gold: #A78E68;
  --teacher-border: #E7E1D8;
  --teacher-cream: #F5F1EA;
  --teacher-muted: #716A60;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--teacher-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.9;
}

.cp-teacher-page *,
.cp-teacher-page *::before,
.cp-teacher-page *::after {
  box-sizing: border-box;
}

.cp-teacher-page h1,
.cp-teacher-page h2,
.cp-teacher-page h3,
.cp-teacher-page p {
  margin-top: 0;
}

.cp-teacher-page h1,
.cp-teacher-page h2,
.cp-teacher-page h3 {
  color: var(--teacher-ink);
  line-height: 1.5;
}

.cp-teacher-page a {
  color: var(--teacher-gold);
  text-decoration: none;
}

.cp-teacher-page a:hover {
  text-decoration: underline;
}

.cp-profile {
  padding: 40px;
  margin-bottom: 28px;
  border: 1px solid var(--teacher-border);
  border-radius: 18px;
  background: #FCFBF9;
}

.cp-eyebrow,
.cp-en {
  color: var(--teacher-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
}

.cp-profile h1 {
  margin: 10px 0 4px;
  font-size: clamp(30px, 4vw, 42px);
}

.cp-lead {
  margin-bottom: 18px;
  color: var(--teacher-muted);
  font-size: 17px;
}

.cp-profile > p:last-child {
  margin-bottom: 0;
}

.cp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.cp-tags span {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--teacher-cream);
  color: #806B4C;
  font-size: 13px;
}

.cp-section {
  margin: 28px 0;
  padding: 30px;
  border: 1px solid var(--teacher-border);
  border-radius: 16px;
  background: #FFFFFF;
}

.cp-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--teacher-border);
}

.cp-section-heading h2 {
  margin: 0 0 2px;
  font-size: 23px;
  font-weight: 700;
}

.cp-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teacher-cream);
  color: var(--teacher-gold);
  font-size: 23px;
}

.cp-contact-grid,
.cp-location-grid,
.cp-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cp-info-card,
.cp-location-card,
.cp-price-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--teacher-border);
  border-radius: 12px;
  background: #FCFBF9;
}

.cp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  margin-bottom: 8px;
  border-radius: 9px;
  background: var(--teacher-cream);
  color: var(--teacher-gold);
  font-size: 15px;
}

.cp-info-card h3,
.cp-location-card h3,
.cp-price-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.cp-info-card p,
.cp-info-card a {
  overflow-wrap: anywhere;
}

.cp-quiz-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 20px;
  padding: 22px;
  border-radius: 12px;
  background: var(--teacher-cream);
}

.cp-quiz-card h3 {
  margin: 5px 0;
  font-size: 18px;
}

.cp-quiz-card p {
  margin: 0;
  color: var(--teacher-muted);
  font-size: 14px;
}

.cp-button {
  display: inline-block;
  flex-shrink: 0;
  padding: 11px 17px;
  border: 1px solid var(--teacher-gold);
  border-radius: 8px;
  background: var(--teacher-gold);
  color: #FFFFFF !important;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.cp-related-link {
  margin: 18px 0 0;
}

.cp-topic-grid,
.cp-syllabus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cp-topic,
.cp-syllabus-grid span {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--teacher-border);
  border-radius: 9px;
  background: #FCFBF9;
  overflow-wrap: anywhere;
}

.cp-topic {
  text-align: center;
  font-size: 14px;
}

.cp-location-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cp-location-card p,
.cp-price-card p {
  margin-bottom: 0;
  color: var(--teacher-muted);
  font-size: 14px;
}

.cp-note {
  margin-top: 18px;
  padding: 20px;
  border-left: 3px solid var(--teacher-gold);
  border-radius: 0 10px 10px 0;
  background: var(--teacher-cream);
}

.cp-note h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

.cp-note p {
  margin-bottom: 0;
  font-size: 14px;
}

.cp-price {
  margin: 12px 0 !important;
  color: var(--teacher-gold) !important;
  font-size: 22px !important;
  font-weight: 700;
}

.cp-price small {
  font-size: 13px;
  font-weight: 400;
}

.cp-detail-list {
  margin: 20px 0 0;
  padding-left: 22px;
}

.cp-detail-list li {
  margin-bottom: 8px;
}

.cp-footnote {
  margin: 15px 0 0;
  color: var(--teacher-muted);
  font-size: 12px;
}

.cp-prose p {
  margin-bottom: 16px;
}

.cp-prose p:last-child {
  margin-bottom: 0;
}

.cp-prose ul {
  padding-left: 24px;
}

.cp-timeline {
  margin-left: 8px;
  padding-left: 22px;
  border-left: 2px solid var(--teacher-border);
}

.cp-timeline > div {
  position: relative;
  margin-bottom: 20px;
}

.cp-timeline > div:last-child {
  margin-bottom: 0;
}

.cp-timeline > div::before {
  position: absolute;
  top: 8px;
  left: -29px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--teacher-gold);
  border-radius: 50%;
  background: #FFFFFF;
  content: "";
}

.cp-timeline span {
  color: var(--teacher-gold);
  font-size: 14px;
  font-weight: 700;
}

.cp-timeline p {
  margin: 3px 0 0;
}

.cp-accordion {
  margin-top: 12px;
  border: 1px solid var(--teacher-border);
  border-radius: 10px;
  overflow: hidden;
  background: #FCFBF9;
}

.cp-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 18px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.cp-accordion summary::-webkit-details-marker {
  display: none;
}

.cp-accordion summary::after {
  content: "+";
  color: var(--teacher-gold);
  font-size: 22px;
}

.cp-accordion[open] summary::after {
  content: "−";
}

.cp-accordion summary span {
  margin-left: auto;
  color: var(--teacher-gold);
  font-size: 12px;
  font-weight: 400;
}

.cp-accordion-body {
  padding: 0 16px 16px;
}

.cp-syllabus-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cp-syllabus-grid span {
  font-size: 14px;
}

@media (max-width: 1024px) {
  .cp-teacher-page {
    max-width: 100%;
  }

  .cp-profile,
  .cp-section {
    padding: 24px;
  }

  .cp-location-grid {
    grid-template-columns: 1fr;
  }

  .cp-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cp-profile,
  .cp-section {
    padding: 18px;
    margin: 18px 0;
    border-radius: 12px;
  }

  .cp-section-heading h2 {
    font-size: 20px;
  }

  .cp-contact-grid,
  .cp-price-grid,
  .cp-topic-grid,
  .cp-syllabus-grid {
    grid-template-columns: 1fr;
  }

  .cp-quiz-card {
    align-items: stretch;
    flex-direction: column;
    padding: 17px;
  }

  .cp-button {
    width: 100%;
  }

  .cp-tags {
    gap: 6px;
  }

  .cp-tags span {
    font-size: 12px;
  }

  .cp-timeline {
    padding-left: 18px;
  }

  .cp-timeline > div::before {
    left: -25px;
  }
}

/* ChordPaws 教師介紹頁：整體置中 */
.cp-teacher-page {
  width: 100%;
  max-width: 1100px;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative;
}


/* LINE 聯絡卡片 */
.cp-line-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.cp-line-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.cp-line-heading h3 {
  margin: 0 0 5px;
}

.cp-line-heading p {
  margin: 0;
  color: #06A94D;
}

.cp-line-qr {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  margin: 16px auto 8px;
}

.cp-line-caption {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin-bottom: 0;
}

.cp-line-card {
  min-width: 0;
}

@media (max-width: 767px) {
  .cp-line-qr {
    width: 135px;
  }
}

/* 教學項目與師事：格子依內容自動排列 */

.cp-teacher-page .cp-topic-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.cp-teacher-page .cp-topic {
  flex: 0 0 180px;
  width: 180px;
  max-width: 180px;
  min-width: 0;
  padding: 7px 8px !important;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  box-sizing: border-box;
}


/* 手機版：依照螢幕寬度自動排列 */
@media (max-width: 767px) {
  .cp-teacher-page .cp-topic-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 6px;
  }

  .cp-teacher-page .cp-topic {
    max-width: none;
    padding: 7px 3px !important;
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
}

/* 最終覆寫：教學項目與師事緊密排列 */
.cp-teacher-page .cp-topic-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: start !important;
  gap: 8px !important;
}

.cp-teacher-page .cp-topic-grid > .cp-topic {
  flex: 0 0 180px !important;
  width: 180px !important;
  max-width: 180px !important;
  margin: 0 !important;
  padding: 7px 8px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .cp-teacher-page .cp-topic-grid > .cp-topic {
    flex: 0 0 calc((100% - 12px) / 3) !important;
    width: calc((100% - 12px) / 3) !important;
    max-width: none !important;
    padding: 7px 3px !important;
    font-size: 12px !important;
  }
}

/* 手機版：讓教學項目與師事改為 2 欄或 3 欄均分，不再擠在左邊 */
@media (max-width: 767px) {
  .cp-teacher-page .cp-topic-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* 如果想排 3 欄可改為 repeat(3, minmax(0, 1fr)) */
    gap: 8px !important;
    justify-content: stretch !important;
  }

  .cp-teacher-page .cp-topic-grid > .cp-topic {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px 6px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
}

/* ===== ChordPaws 選單與頁尾版權（全站） ===== */
header [data-id="menu"] .sub-menu{--dropdown-background-color:#121110;background:#121110!important;border:1px solid rgba(215,183,126,.22);border-radius:14px!important;padding:8px!important;min-width:210px;box-shadow:0 24px 48px -18px rgba(0,0,0,.55);z-index:999!important}
header [data-id="menu"] .sub-menu::before{content:"";position:absolute;left:18px;right:18px;top:-1px;height:1px;background:linear-gradient(90deg,transparent,#d7b77e,transparent)}
header [data-id="menu"] .sub-menu li{border:0!important}
header [data-id="menu"] .sub-menu a.ct-menu-link{display:flex;align-items:center;color:#e9e3d8!important;font-size:14px!important;font-weight:500;letter-spacing:.04em;padding:11px 14px!important;border-radius:9px;transition:background .25s,color .25s}
header [data-id="menu"] .sub-menu a.ct-menu-link::before{content:"";width:0;height:1px;background:#d7b77e;transition:width .3s cubic-bezier(.22,1,.36,1),margin .3s cubic-bezier(.22,1,.36,1)}
header [data-id="menu"] .sub-menu a.ct-menu-link:hover,header [data-id="menu"] .sub-menu .current-menu-item>a.ct-menu-link{background:rgba(215,183,126,.10);color:#d7b77e!important}
header [data-id="menu"] .sub-menu a.ct-menu-link:hover::before{width:12px;margin-right:8px}
#offcanvas .ct-panel-inner{background:#0b0b0b!important;background-image:radial-gradient(120% 40% at 50% 0%,rgba(215,183,126,.10),transparent 70%)!important}
#offcanvas .ct-panel-actions{padding-top:22px}
#offcanvas .ct-toggle-close{width:38px;height:38px;border:1px solid rgba(215,183,126,.32)!important;border-radius:50%!important;background:transparent!important;--theme-icon-color:#d7b77e;color:#d7b77e}
#offcanvas .ct-toggle-close svg{fill:#d7b77e!important}
#offcanvas .mobile-menu{width:100%}
#offcanvas .mobile-menu>ul>li{border-bottom:1px solid rgba(215,183,126,.14)!important}
#offcanvas .mobile-menu>ul>li:first-child{border-top:1px solid rgba(215,183,126,.14)!important}
#offcanvas .mobile-menu>ul>li::after,#offcanvas .mobile-menu>ul>li::before{display:none!important}
#offcanvas .mobile-menu a.ct-menu-link{color:#f3eee6!important;font-size:18px!important;font-weight:600!important;letter-spacing:.08em;padding:16px 0!important;transition:color .25s}
#offcanvas .mobile-menu a.ct-menu-link:hover,#offcanvas .mobile-menu .current-menu-item>a.ct-menu-link,#offcanvas .mobile-menu .current-menu-item>.ct-sub-menu-parent>a.ct-menu-link,#offcanvas .mobile-menu .current-menu-ancestor>.ct-sub-menu-parent>a.ct-menu-link{color:#d7b77e!important}
#offcanvas .mobile-menu .sub-menu{margin:0 0 14px 2px!important;padding-left:16px!important;border-left:1px solid rgba(215,183,126,.32)}
#offcanvas .mobile-menu .sub-menu li{border:0!important}
#offcanvas .mobile-menu .sub-menu a.ct-menu-link{font-size:15px!important;font-weight:500!important;color:#a59d91!important;padding:9px 0!important}
#offcanvas .mobile-menu .sub-menu a.ct-menu-link:hover,#offcanvas .mobile-menu .sub-menu .current-menu-item>a.ct-menu-link{color:#d7b77e!important}
#offcanvas .ct-toggle-dropdown-mobile{width:32px;height:32px;border:1px solid rgba(215,183,126,.32)!important;border-radius:50%!important;background:transparent!important;transition:transform .35s cubic-bezier(.22,1,.36,1)}
#offcanvas .ct-toggle-dropdown-mobile svg{fill:#d7b77e!important;width:10px;height:10px}
.ct-footer-copyright .cp-credit{margin-top:4px!important;font-size:11.5px;opacity:.8}
.ct-footer-copyright .cp-credit a{color:inherit!important;text-decoration:underline;text-underline-offset:2px}
#offcanvas .ct-header-text{color:#a59d91!important;font-size:14px;line-height:1.8}
#offcanvas .ct-header-text p{margin:0 0 16px}
#offcanvas .ct-header-text strong,#offcanvas .ct-header-text span[style]{color:#d7b77e!important;font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase}
#offcanvas .ct-header-socials a{width:38px;height:38px;border:1px solid rgba(215,183,126,.32)!important;border-radius:50%!important;background:transparent!important;transition:background .3s,border-color .3s}
#offcanvas .ct-header-socials a svg{fill:#d7b77e!important}
#offcanvas .ct-header-socials a:hover{background:rgba(215,183,126,.1)!important;border-color:#d7b77e!important}
/* --- 頁尾（全站） --- */
footer#footer.ct-footer{position:relative;background:#0b0b0b!important;color:#a59d91;isolation:isolate}
footer#footer.ct-footer::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(215,183,126,.45),transparent)}
footer#footer.ct-footer::after{content:"";position:absolute;z-index:-1;left:50%;top:0;width:900px;max-width:100%;height:320px;transform:translateX(-50%);background:radial-gradient(ellipse at top,rgba(215,183,126,.08),transparent 70%);pointer-events:none}
.ct-footer [data-row="middle"]>.ct-container{padding-top:72px!important;padding-bottom:56px!important}
.ct-footer [data-row="middle"] [data-column]{border-color:rgba(215,183,126,.12)!important}
.ct-footer .widget-title,.ct-footer #block-33 p{position:relative;display:flex;align-items:center;gap:10px;margin:0 0 20px!important;color:#fff!important;font-size:16px!important;font-weight:600!important;letter-spacing:.08em}
.ct-footer .widget-title::before,.ct-footer #block-33 p::before{content:"";width:18px;height:1px;background:#d7b77e}
.ct-footer #block-33 mark{color:#fff!important;background:none!important}
.ct-footer .textwidget p{color:#a59d91;font-size:14.5px;line-height:2;margin:0 0 12px}
.ct-footer [data-column="widget-area-1"] .textwidget p:nth-of-type(3){display:none}
.ct-footer a{color:#cfc8bc!important;transition:color .3s}
.ct-footer a:hover{color:#d7b77e!important}
.ct-footer [data-column="widget-area-1"] .textwidget p:nth-of-type(2) a{display:inline-flex;align-items:center;gap:8px;margin-top:6px;padding:8px 16px;border:1px solid rgba(215,183,126,.32);border-radius:999px;color:#d7b77e!important;font-size:13px;font-weight:600;line-height:1.4}
.ct-footer [data-column="widget-area-1"] .textwidget p:nth-of-type(2) a::after{content:"→";transition:transform .4s cubic-bezier(.22,1,.36,1)}
.ct-footer [data-column="widget-area-1"] .textwidget p:nth-of-type(2) a:hover{background:#d7b77e;color:#0b0b0b!important}
.ct-footer [data-column="widget-area-1"] .textwidget p:nth-of-type(2) a:hover::after{transform:translateX(3px)}
.ct-footer .textwidget ul,.ct-footer .wp-block-latest-posts{list-style:none!important;margin:0!important;padding:0!important}
.ct-footer .textwidget ul li{margin:0 0 4px}
.ct-footer .textwidget ul li a{display:inline-flex;align-items:center;padding:4px 0;font-size:14.5px}
.ct-footer .textwidget ul li a::before{content:"";width:0;height:1px;background:#d7b77e;transition:width .35s cubic-bezier(.22,1,.36,1),margin .35s}
.ct-footer .textwidget ul li a:hover::before{width:12px;margin-right:8px}
.ct-footer .wp-block-latest-posts{counter-reset:cpPost}
.ct-footer .wp-block-latest-posts li{counter-increment:cpPost;display:flex;gap:14px;align-items:baseline;margin:0!important;padding:12px 0;border-bottom:1px solid rgba(215,183,126,.10)}
.ct-footer .wp-block-latest-posts li:first-child{padding-top:0}
.ct-footer .wp-block-latest-posts li::before{content:counter(cpPost,decimal-leading-zero);flex:0 0 auto;color:#d7b77e;font-size:11px;font-weight:600;letter-spacing:1px;opacity:.8}
.ct-footer .wp-block-latest-posts__post-title{font-size:14px;line-height:1.7}
.ct-footer [data-column="widget-area-3"] img{border-radius:8px;opacity:.82;transition:opacity .3s,transform .4s cubic-bezier(.22,1,.36,1)}
.ct-footer [data-column="widget-area-3"] a:hover img{opacity:1;transform:translateY(-3px)}
.ct-footer [data-row="bottom"]{border-top:1px solid rgba(215,183,126,.12)}
.ct-footer [data-row="bottom"]>.ct-container{padding-top:22px!important;padding-bottom:22px!important}
.ct-footer [data-row="bottom"],.ct-footer .ct-footer-copyright{color:#7d766c!important;font-size:13px}
.ct-footer .ct-social-box a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid rgba(215,183,126,.22);border-radius:50%;transition:border-color .3s,background .3s,transform .4s cubic-bezier(.22,1,.36,1)}
.ct-footer .ct-social-box a svg{fill:#cfc8bc!important;transition:fill .3s}
.ct-footer .ct-social-box a:hover{border-color:#d7b77e;background:rgba(215,183,126,.08);transform:translateY(-2px)}
.ct-footer .ct-social-box a:hover svg{fill:#d7b77e!important}
@media (max-width:999px){.ct-footer [data-row="middle"]>.ct-container{padding-top:56px!important;row-gap:36px}}
.ct-footer [data-column="widget-area-1"] .textwidget p{line-height:39px!important;margin:0!important}
.ct-footer [data-column="widget-area-1"] .textwidget p:nth-of-type(2){margin-top:12px!important;line-height:1.4!important}
.ct-footer [data-column="widget-area-2"] .textwidget ul li{margin:0!important}
.ct-footer [data-column="widget-area-2"] .textwidget ul li a{padding:0!important;line-height:39px}
.ct-footer [data-column="widget-area-4"] .ct-widget{margin-top:0!important;margin-bottom:0!important}
.ct-footer .wp-block-latest-posts li,.ct-footer .wp-block-latest-posts li:first-child{padding:8px 0!important;line-height:22px}
.ct-footer .wp-block-latest-posts__post-title{line-height:22px}

#offcanvas .ct-toggle-dropdown-mobile{flex:0 0 32px!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;max-height:32px!important;padding:0!important;aspect-ratio:1/1;display:inline-flex!important;align-items:center;justify-content:center;line-height:1!important;box-sizing:border-box!important}
/* ===== /ChordPaws 選單 ===== */

/* ===== ChordPaws 深色頁面（品牌由來／部落格／商品） ===== */
body:is(.single-post,.page-id-2140,.page-id-1039,.page-id-1290,.page-id-2081,.postid-1614,.post-type-archive-courses,.single-courses,.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product,.page-id-3,.page-id-2009,.page-id-2835,.page-id-25,.page-id-2966,.page-id-2999,.page-id-3005,.page-id-3019){background:#0b0b0b!important;color:#cfc8bc;--theme-text-color:#cfc8bc;--theme-headings-color:#fff;--theme-heading-color:#fff;--theme-link-initial-color:#d7b77e;--theme-link-hover-color:#f6e2b8;--theme-border-color:rgba(215,183,126,.16);--theme-form-field-border-initial-color:rgba(215,183,126,.25);--theme-form-field-border-focus-color:#d7b77e;--theme-form-field-background-initial-color:#151311;--theme-form-field-background-focus-color:#151311;--theme-form-text-initial-color:#f3eee6;--theme-form-text-focus-color:#f3eee6}
body:is(.single-post,.page-id-2140,.page-id-1039,.page-id-1290,.page-id-2081,.postid-1614,.post-type-archive-courses,.single-courses,.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product,.page-id-3,.page-id-2009,.page-id-2835,.page-id-25,.page-id-2966,.page-id-2999,.page-id-3005,.page-id-3019) :is(#main-container,#main,.site-main){background:#0b0b0b!important}
body:is(.single-post,.page-id-2140,.page-id-1039,.page-id-1290,.page-id-2081,.postid-1614,.post-type-archive-courses,.single-courses,.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product,.page-id-3,.page-id-2009,.page-id-2835,.page-id-25,.page-id-2966,.page-id-2999,.page-id-3005,.page-id-3019) #header [data-row]{background:#0b0b0b!important;border-bottom-color:rgba(215,183,126,.12)!important}
body:is(.single-post,.page-id-2140,.page-id-1039,.page-id-1290,.page-id-2081,.postid-1614,.post-type-archive-courses,.single-courses,.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product,.page-id-3,.page-id-2009,.page-id-2835,.page-id-25,.page-id-2966,.page-id-2999,.page-id-3005,.page-id-3019) #header{--theme-icon-color:#e9e3d8;--theme-icon-hover-color:#d7b77e}
body:is(.single-post,.page-id-2140,.page-id-1039,.page-id-1290,.page-id-2081,.postid-1614,.post-type-archive-courses,.single-courses,.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product,.page-id-3,.page-id-2009,.page-id-2835,.page-id-25,.page-id-2966,.page-id-2999,.page-id-3005,.page-id-3019) #header [data-id="menu"]>ul>li>a{color:#e9e3d8!important}
body:is(.single-post,.page-id-2140,.page-id-1039,.page-id-1290,.page-id-2081,.postid-1614,.post-type-archive-courses,.single-courses,.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product,.page-id-3,.page-id-2009,.page-id-2835,.page-id-25,.page-id-2966,.page-id-2999,.page-id-3005,.page-id-3019) #header [data-id="menu"]>ul>li:is(:hover,.current-menu-item,.current-menu-ancestor,.current_page_parent)>a{color:#d7b77e!important}
body:is(.single-post,.page-id-2140,.page-id-1039,.page-id-1290,.page-id-2081,.postid-1614,.post-type-archive-courses,.single-courses,.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product,.page-id-3,.page-id-2009,.page-id-2835,.page-id-25,.page-id-2966,.page-id-2999,.page-id-3005,.page-id-3019) #header :is(.ct-icon,.ct-header-trigger svg,.ct-header-search svg,.ct-header-cart svg,.ct-header-account svg){fill:#e9e3d8!important;color:#e9e3d8}
body:is(.single-post,.page-id-2140,.page-id-1039,.page-id-1290,.page-id-2081,.postid-1614,.post-type-archive-courses,.single-courses,.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product,.page-id-3,.page-id-2009,.page-id-2835,.page-id-25,.page-id-2966,.page-id-2999,.page-id-3005,.page-id-3019) #header .ct-header-cta .ct-button-ghost{color:#d7b77e!important;border-color:rgba(215,183,126,.5)!important}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .hero-section{padding-top:24px}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .hero-section .page-title{font-family:"Noto Serif TC",Merriweather,serif!important;color:#fff!important;font-size:clamp(28px,3.2vw,40px)!important;letter-spacing:.08em;font-weight:700}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .hero-section .entry-header::after{content:"";display:block;width:56px;height:1px;margin:22px auto 0;background:linear-gradient(90deg,transparent,#d7b77e,transparent)}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .ct-breadcrumbs{color:#7d766c!important}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .ct-breadcrumbs a{color:#a59d91!important}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .ct-breadcrumbs a:hover{color:#d7b77e!important}
body:is(.blog,.category,.tag,.search-results) .page-description{color:#a59d91}
body:is(.blog,.category,.tag,.search-results) .entries .entry-card{background:linear-gradient(180deg,#171513,#121110)!important;border:1px solid rgba(215,183,126,.16)!important;border-radius:18px!important;overflow:hidden;box-shadow:none!important;transition:transform .5s cubic-bezier(.22,1,.36,1),border-color .4s,box-shadow .5s cubic-bezier(.22,1,.36,1)}
body:is(.blog,.category,.tag,.search-results) .entries .entry-card:hover{transform:translateY(-6px);border-color:rgba(215,183,126,.36)!important;box-shadow:0 30px 60px -30px rgba(0,0,0,.9)!important}
body:is(.blog,.category,.tag,.search-results) .entry-card .ct-media-container{overflow:hidden;background:#1c1a17}
body:is(.blog,.category,.tag,.search-results) .entry-card .ct-media-container img{transition:transform .9s cubic-bezier(.22,1,.36,1),opacity .5s;opacity:.92}
body:is(.blog,.category,.tag,.search-results) .entry-card:hover .ct-media-container img{transform:scale(1.04);opacity:1}
body:is(.blog,.category,.tag,.search-results) .entry-card .entry-title,body:is(.blog,.category,.tag,.search-results) .entry-card .entry-title a{font-family:"Noto Serif TC",Merriweather,serif!important;color:#fff!important;line-height:1.5!important}
body:is(.blog,.category,.tag,.search-results) .entry-card .entry-title a:hover{color:#f6e2b8!important}
body:is(.blog,.category,.tag,.search-results) .entry-card .entry-meta,body:is(.blog,.category,.tag,.search-results) .entry-card .entry-meta a{color:#d7b77e!important;font-size:12px!important;letter-spacing:.06em}
body:is(.blog,.category,.tag,.search-results) .entry-card .entry-excerpt{color:#a59d91!important;font-size:14.5px;line-height:1.85}
body:is(.blog,.category,.tag,.search-results) .entry-card .ct-button,body:is(.blog,.category,.tag,.search-results) .entry-card .entry-button{color:#d7b77e!important;background:transparent!important;border:1px solid rgba(215,183,126,.36)!important;border-radius:999px!important}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #sidebar :is(.ct-sidebar){background:#151311!important;border:1px solid rgba(215,183,126,.16)!important;border-radius:18px!important;box-shadow:none!important}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #sidebar :is(.widget-title,h2,h3){display:flex;align-items:center;gap:10px;color:#fff!important;font-size:16px!important;font-weight:600!important;letter-spacing:.06em}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #sidebar :is(.widget-title,h2,h3)::before{content:"";width:16px;height:1px;background:#d7b77e}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #sidebar a{color:#cfc8bc!important}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #sidebar a:hover{color:#d7b77e!important}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #sidebar :is(p,li,span,.wp-block-latest-comments__comment-excerpt){color:#a59d91}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) :is(.ct-search-form input[type=search],select,.orderby,input.qty,.input-text){background:#151311!important;color:#f3eee6!important;border:1px solid rgba(215,183,126,.25)!important;border-radius:999px!important}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .ct-search-form button svg{fill:#d7b77e!important}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag) :is(.ct-pagination,.woocommerce-pagination) .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 14px;border:1px solid rgba(215,183,126,.25)!important;border-radius:999px!important;color:#cfc8bc!important;background:transparent!important;transition:background .3s,color .3s,border-color .3s}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag) :is(.ct-pagination,.woocommerce-pagination) .page-numbers:is(.current,:hover){background:#d7b77e!important;color:#0b0b0b!important;border-color:#d7b77e!important}
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag) :is(.ct-pagination,.woocommerce-pagination) .page-numbers svg{fill:currentColor}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .woo-listing-top,body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-result-count{color:#7d766c!important}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product{padding:16px 16px 20px!important;background:linear-gradient(180deg,#171513,#121110)!important;border:1px solid rgba(215,183,126,.16);border-radius:18px;transition:transform .5s cubic-bezier(.22,1,.36,1),border-color .4s,box-shadow .5s cubic-bezier(.22,1,.36,1)}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product:hover{transform:translateY(-6px);border-color:rgba(215,183,126,.36);box-shadow:0 30px 60px -30px rgba(0,0,0,.9)}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product figure{position:relative;border-radius:12px;overflow:hidden;background:#1c1a17}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product img{transition:transform .9s cubic-bezier(.22,1,.36,1)}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product:hover img{transform:scale(1.04)}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product :is(.woocommerce-loop-product__title,h2,h6),body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product :is(.woocommerce-loop-product__title,h2,h6) a{font-family:"Noto Serif TC",Merriweather,serif!important;color:#fff!important;font-size:18px!important;line-height:1.5!important}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) :is(ul.products,.summary) .price{color:#d7b77e!important;font-weight:700}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) :is(ul.products,.summary) .price del{color:#7d766c!important;font-weight:400;opacity:1}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) :is(ul.products,.summary) .price ins{text-decoration:none;color:#d7b77e!important}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .onsale{border-radius:999px!important;background:#d7b77e!important;color:#0b0b0b!important;font-weight:700;letter-spacing:.04em}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product .button{border:1px solid rgba(215,183,126,.36)!important;border-radius:999px!important;background:transparent!important;color:#d7b77e!important;font-weight:600;transition:background .3s,color .3s}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product .button:hover{background:#d7b77e!important;color:#0b0b0b!important}
.single-product .product_title{font-family:"Noto Serif TC",Merriweather,serif!important;color:#fff!important;letter-spacing:.04em}
.single-product .summary .price{font-size:26px!important}
.single-product .summary :is(.woocommerce-product-details__short-description,p,li){color:#cfc8bc}
.single-product .single_add_to_cart_button,.single-product .summary .button{background:#d7b77e!important;color:#0b0b0b!important;border:0!important;border-radius:999px!important;font-weight:700!important;letter-spacing:.04em;transition:transform .4s cubic-bezier(.22,1,.36,1),box-shadow .4s}
.single-product .single_add_to_cart_button:hover{transform:translateY(-2px);box-shadow:0 14px 30px -14px rgba(215,183,126,.7)}
.single-product .woocommerce-product-gallery{border-radius:16px;overflow:hidden}
.single-product .woocommerce-product-gallery img{border-radius:16px}
.single-product .product_meta,.single-product .product_meta a{color:#7d766c!important}
.single-product .product_meta a:hover{color:#d7b77e!important}
.single-product .woocommerce-tabs{border-top:1px solid rgba(215,183,126,.16)}
.single-product .woocommerce-tabs ul.tabs{border-color:rgba(215,183,126,.16)!important}
.single-product .woocommerce-tabs ul.tabs li a{color:#a59d91!important}
.single-product .woocommerce-tabs ul.tabs li.active a{color:#d7b77e!important}
.single-product .woocommerce-tabs ul.tabs li.active{border-color:#d7b77e!important}
.single-product .woocommerce-Tabs-panel{color:#cfc8bc}
.single-product .woocommerce-Tabs-panel :is(h1,h2,h3,h4){color:#fff}
.single-product :is(.related,.upsells)>h2{font-family:"Noto Serif TC",Merriweather,serif;color:#fff}
.single-product .woocommerce-message,.single-product .woocommerce-info{background:#151311!important;color:#cfc8bc!important;border-color:#d7b77e!important}
@media (max-width:689.98px){body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-ordering select.orderby{background:transparent!important;border:0!important;color:transparent!important}body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-ordering{width:40px;height:40px;border:1px solid rgba(215,183,126,.3);border-radius:50%;display:flex;align-items:center;justify-content:center}body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-ordering .ct-sort-icon{fill:#d7b77e}}
/* ===== /ChordPaws 深色頁面 ===== */

/* ===== ChordPaws 商品卡片與頁尾合作圖 ===== */
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product{display:flex!important;flex-direction:column}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product figure{width:100%;margin:0 0 16px!important;aspect-ratio:3/4}
:is(body.post-type-archive-product,body.tax-product_cat,body.tax-product_tag,body.single-product,.cp-home-shop) ul.products li.product figure .ct-media-container{display:block;width:100%;height:100%;aspect-ratio:3/4}
:is(body.post-type-archive-product,body.tax-product_cat,body.tax-product_tag,body.single-product,.cp-home-shop) ul.products li.product figure img{width:100%!important;height:100%!important;aspect-ratio:3/4!important;object-fit:cover;object-position:center top}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product .woocommerce-loop-product__title{min-height:3em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 8px!important}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product .price{min-height:1.6em;margin-bottom:14px!important}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) ul.products li.product .ct-woo-card-actions{margin-top:auto!important}
.cp-home-shop ul.products li.product>figure{aspect-ratio:3/4;align-self:start}
.cp-home-shop ul.products li.product .woocommerce-loop-product__title{min-height:3em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:999.98px){
.ct-footer [data-column="widget-area-3"]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-content:start}
.ct-footer [data-column="widget-area-3"] :is(.ct-widget,.wp-block-columns,.wp-block-column){display:contents!important}
.ct-footer [data-column="widget-area-3"] a{display:flex!important;align-items:center;justify-content:center;aspect-ratio:1/1;padding:10px;background:#fff;border:1px solid rgba(215,183,126,.18);border-radius:12px;overflow:hidden}
.ct-footer [data-column="widget-area-3"] img{width:100%!important;height:100%!important;max-width:none!important;object-fit:contain;border-radius:0!important;opacity:1!important;transform:none!important}
}
@media (max-width:420px){.ct-footer [data-column="widget-area-3"]{gap:8px}.ct-footer [data-column="widget-area-3"] a{padding:8px;border-radius:10px}}
/* ===== /ChordPaws 商品卡片 ===== */

/* ===== ChordPaws Tutor 課程 ===== */
:root{--tutor-color-primary:#d7b77e;--tutor-color-primary-rgb:215,183,126;--tutor-color-primary-hover:#c4a46b;--tutor-color-primary-hover-rgb:196,164,107}
:is(.cp-crs-list-sec,body.post-type-archive-courses,body.single-courses) .tutor-course-card{background:linear-gradient(180deg,#171513,#121110)!important;border:1px solid rgba(215,183,126,.16)!important;border-radius:18px!important;overflow:hidden;box-shadow:none!important;transition:transform .5s cubic-bezier(.22,1,.36,1),border-color .4s,box-shadow .5s}
:is(.cp-crs-list-sec,body.post-type-archive-courses,body.single-courses) .tutor-course-card:hover{transform:translateY(-6px);border-color:rgba(215,183,126,.36)!important;box-shadow:0 30px 60px -30px rgba(0,0,0,.9)!important}
:is(.cp-crs-list-sec,body.post-type-archive-courses,body.single-courses) :is(.tutor-course-name,.tutor-course-name a){font-family:"Noto Serif TC",Merriweather,serif!important;color:#fff!important}
:is(.cp-crs-list-sec,body.post-type-archive-courses,body.single-courses) .tutor-course-card :is(.tutor-meta,.tutor-meta-value,.tutor-color-secondary,.tutor-fs-7){color:#a59d91!important}
:is(.cp-crs-list-sec,body.post-type-archive-courses,body.single-courses) .tutor-card-footer{background:transparent!important;border-top:1px solid rgba(215,183,126,.14)!important}
:is(.cp-crs-list-sec,body.post-type-archive-courses,body.single-courses) .tutor-btn-outline-primary,:is(.cp-crs-list-sec,body.post-type-archive-courses,body.single-courses) .tutor-btn-primary{border-radius:999px!important}
body.single-courses :is(.tutor-course-details-title,.tutor-fs-4,.tutor-fs-5,.tutor-course-details-widget-title){color:#fff!important;font-family:"Noto Serif TC",Merriweather,serif}
body.single-courses :is(.tutor-course-details-content,.tutor-color-secondary,.tutor-fs-6,.tutor-fs-7){color:#cfc8bc!important}
body.single-courses .tutor-card,body.single-courses .tutor-accordion-item{background:#151311!important;border-color:rgba(215,183,126,.16)!important;color:#cfc8bc}
.postid-1614 article.post-1614{background:#0b0b0b!important;padding:0!important;max-width:none!important;width:100%!important;box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important}
.postid-1614 :is(.ct-container-full,.ct-container,[class*=ct-container]):has(> article.post-1614),.postid-1614 :is(.ct-container-full,.ct-container):has(article.post-1614){padding:0!important;max-width:none!important;width:100%!important}
.postid-1614 .entry-content{margin:0!important}
/* ===== /ChordPaws Tutor ===== */

/* ===== ChordPaws 文章排版 ===== */
body.single-post:not(.postid-1614){--cp-g:#d7b77e;--cp-g2:#f6e2b8;--cp-paper:#f7f2e9;--cp-ink:#26221e;--cp-ink2:#5d554b;--cp-line:rgba(120,92,40,.16);--cp-hl:rgba(222,184,110,.55);--cp-serif:"Noto Serif TC",Merriweather,serif}
body.single-post:not(.postid-1614) article.post>.hero-section{padding:56px 0 8px!important;text-align:center}
body.single-post:not(.postid-1614) article.post>.hero-section .entry-header{max-width:860px;margin:0 auto}
body.single-post:not(.postid-1614) .hero-section .page-title{font-family:var(--cp-serif)!important;font-weight:700!important;font-size:clamp(26px,3vw,38px)!important;line-height:1.35!important;color:#fff!important;letter-spacing:.03em;text-wrap:balance;margin:14px 0 18px!important}
body.single-post:not(.postid-1614) .hero-section .ct-breadcrumbs{color:#7d766c!important;font-size:13px}
body.single-post:not(.postid-1614) .hero-section .ct-breadcrumbs a{color:#a59d91!important}
body.single-post:not(.postid-1614) .hero-section .ct-breadcrumbs a:hover{color:var(--cp-g)!important}
body.single-post:not(.postid-1614) .hero-section .entry-meta{color:#a59d91!important;--theme-text-color:#a59d91;font-size:13px;letter-spacing:.06em}
body.single-post:not(.postid-1614) .hero-section .entry-meta a{color:var(--cp-g)!important}
body.single-post:not(.postid-1614) .hero-section .entry-header::after{content:"";display:block;width:56px;height:1px;margin:26px auto 0;background:linear-gradient(90deg,transparent,var(--cp-g),transparent)}
body.single-post:not(.postid-1614) article.post>.ct-featured-image{max-width:980px;margin:34px auto 0!important;padding:0 24px}
body.single-post:not(.postid-1614) article.post>.ct-featured-image img{border-radius:22px;box-shadow:0 40px 80px -50px rgba(0,0,0,.9);border:1px solid rgba(215,183,126,.14)}
body.single-post:not(.postid-1614) article.post>.entry-content{position:relative;box-sizing:border-box;width:auto;max-width:860px;margin:44px auto 0!important;padding:72px 72px 64px!important;background:var(--cp-paper);color:var(--cp-ink);border-radius:26px;box-shadow:0 50px 100px -60px rgba(0,0,0,.95),inset 0 0 0 1px rgba(255,255,255,.4);font-size:17px;line-height:2.02;letter-spacing:.02em;--theme-text-color:var(--cp-ink);--theme-headings-color:#16130f;--theme-heading-color:#16130f;--theme-link-initial-color:#8a6420;--theme-link-hover-color:#5e4313;--theme-block-max-width:100%;--theme-block-wide-max-width:100%;--theme-content-spacing:1.35em}
body.single-post:not(.postid-1614) article.post>.hero-section+.entry-content{margin-top:36px!important}
body.single-post:not(.postid-1614) article.post>.entry-content>*{max-width:100%!important;margin-left:0!important;margin-right:0!important}
body.single-post:not(.postid-1614) article .entry-content p{color:var(--cp-ink)}
body.single-post:not(.postid-1614) article .entry-content :is(h2,h3,h4){font-family:var(--cp-serif);color:#16130f;scroll-margin-top:110px;text-wrap:balance}
body.single-post:not(.postid-1614) article .entry-content h2{position:relative;margin-top:2.6em!important;margin-bottom:.9em!important;padding-top:26px;font-size:clamp(23px,2.6vw,29px);line-height:1.45;font-weight:700}
body.single-post:not(.postid-1614) article .entry-content h2::before{content:"";position:absolute;left:0;top:0;width:40px;height:3px;border-radius:3px;background:linear-gradient(90deg,#b8914a,var(--cp-g))}
body.single-post:not(.postid-1614) article .entry-content h3{margin-top:2em!important;margin-bottom:.7em!important;padding-left:18px;font-size:clamp(19px,2vw,22px);line-height:1.5;font-weight:700;border-left:3px solid var(--cp-g)}
body.single-post:not(.postid-1614) article .entry-content h4{margin-top:1.8em!important;font-size:18px;font-weight:700;color:#4a3a20}
body.single-post:not(.postid-1614) article .entry-content :is(p,li) a,body.single-post:not(.postid-1614) article .entry-content>a{color:#8a6420;text-decoration:underline;text-decoration-color:rgba(138,100,32,.35);text-underline-offset:4px;text-decoration-thickness:1px;transition:color .2s,text-decoration-color .2s;word-break:break-word}
body.single-post:not(.postid-1614) article .entry-content :is(p,li) a:hover{color:#5e4313;text-decoration-color:currentColor}
/* 螢光筆重點 */
body.single-post:not(.postid-1614) article .entry-content :is(strong,b){font-weight:700;color:#16130f;padding:0 .12em;margin:0 .04em;background:linear-gradient(transparent 56%,var(--cp-hl) 56%,var(--cp-hl) 92%,transparent 92%) no-repeat 0 0/100% 100%;-webkit-box-decoration-break:clone;box-decoration-break:clone}
body.single-post:not(.postid-1614) article .entry-content.cp-hl-ready :is(strong,b){background-size:0% 100%;transition:background-size 1.1s cubic-bezier(.22,1,.36,1)}
body.single-post:not(.postid-1614) article .entry-content.cp-hl-ready :is(strong,b).is-lit{background-size:100% 100%}
body.single-post:not(.postid-1614) article .entry-content :is(h2,h3,h4,.cp-post-intro,.cp-post-cta) :is(strong,b){background:none;padding:0;margin:0}
body.single-post:not(.postid-1614) article .entry-content mark{background:linear-gradient(transparent 40%,rgba(222,184,110,.75) 40%);color:#16130f;padding:0 .15em}
body.single-post:not(.postid-1614) article .entry-content p.cp-key{margin:1.8em 0!important;padding:18px 24px;border-left:3px solid var(--cp-g);border-radius:0 14px 14px 0;background:linear-gradient(90deg,rgba(215,183,126,.2),rgba(215,183,126,.04));font-family:var(--cp-serif);font-size:1.08em;line-height:1.85;color:#16130f}
body.single-post:not(.postid-1614) article .entry-content p.cp-key :is(strong,b){background:none;padding:0;margin:0}
body.single-post:not(.postid-1614) article .entry-content p.cp-key+p.cp-key{margin-top:-1.2em!important}
/* 清單 */
body.single-post:not(.postid-1614) article .entry-content ul:not(.cp-toc-list){list-style:none;padding-left:0}
body.single-post:not(.postid-1614) article .entry-content ul:not(.cp-toc-list)>li{position:relative;padding-left:1.5em;margin:.35em 0}
body.single-post:not(.postid-1614) article .entry-content ul:not(.cp-toc-list)>li::before{content:"";position:absolute;left:.3em;top:.82em;width:7px;height:7px;border-radius:50%;background:var(--cp-g);box-shadow:0 0 0 3px rgba(215,183,126,.22)}
body.single-post:not(.postid-1614) article .entry-content ol{padding-left:1.6em}
body.single-post:not(.postid-1614) article .entry-content ol>li{margin:.35em 0;padding-left:.3em}
body.single-post:not(.postid-1614) article .entry-content ol>li::marker{color:#a07a35;font-weight:700;font-family:var(--cp-serif)}
/* 引言 */
body.single-post:not(.postid-1614) article .entry-content blockquote{position:relative;margin:2em 0!important;padding:26px 30px 26px 34px!important;border:0!important;border-left:4px solid #b8914a!important;border-radius:0 18px 18px 0;background:#efe6d5;color:#2a241c;font-style:normal}
body.single-post:not(.postid-1614) article .entry-content blockquote p{margin:.4em 0!important;font-family:var(--cp-serif);font-size:1.04em}
body.single-post:not(.postid-1614) article .entry-content blockquote :is(strong,b){background:none;padding:0}
body.single-post:not(.postid-1614) article .entry-content blockquote cite{display:block;margin-top:10px;color:var(--cp-ink2);font-size:14px;font-style:normal}
/* 圖片 */
body.single-post:not(.postid-1614) article .entry-content img{height:auto;max-width:100%;border-radius:14px;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.04),0 20px 40px -28px rgba(60,40,10,.45);border:1px solid var(--cp-line)}
body.single-post:not(.postid-1614) article .entry-content img[width="20"],body.single-post:not(.postid-1614) article .entry-content img[width="43"]{display:inline;border:0;box-shadow:none;background:none;border-radius:0;vertical-align:middle}
body.single-post:not(.postid-1614) article .entry-content :is(figure.wp-block-image,p:has(>img:only-child)){margin:2.2em 0!important;text-align:center}
body.single-post:not(.postid-1614) article .entry-content figcaption{margin-top:12px;color:var(--cp-ink2);font-size:14px;text-align:center}
body.single-post:not(.postid-1614) article .entry-content :is(.wp-block-embed,iframe){border-radius:16px;overflow:hidden}
body.single-post:not(.postid-1614) article .entry-content .wp-block-embed{margin:2.2em 0!important}
body.single-post:not(.postid-1614) article .entry-content iframe{max-width:100%}
/* 表格 */
body.single-post:not(.postid-1614) article .entry-content table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--cp-line);border-radius:14px;overflow:hidden;font-size:15px;line-height:1.7;background:#fbf8f2}
body.single-post:not(.postid-1614) article .entry-content :is(th,td){padding:12px 16px;border:0;border-bottom:1px solid var(--cp-line);text-align:left}
body.single-post:not(.postid-1614) article .entry-content thead th,body.single-post:not(.postid-1614) article .entry-content tr:first-child th{background:#1a1714;color:var(--cp-g2);font-weight:600}
body.single-post:not(.postid-1614) article .entry-content tr:last-child td{border-bottom:0}
body.single-post:not(.postid-1614) article .entry-content tbody tr:nth-child(even) td{background:rgba(215,183,126,.07)}
body.single-post:not(.postid-1614) article .entry-content hr{border:0;height:1px;margin:2.6em auto;background:linear-gradient(90deg,transparent,rgba(160,122,53,.45),transparent)}
body.single-post:not(.postid-1614) article .entry-content :is(.wp-block-button__link,.wp-element-button){border-radius:999px;background:#16130f;color:var(--cp-g2)!important;text-decoration:none!important}
/* 文章導讀卡 */
body.single-post:not(.postid-1614) article .entry-content .cp-post-intro{margin:0 0 2.6em!important;padding:30px 32px;border-radius:20px;background:#14120f;color:#d9d2c6;line-height:1.9;box-shadow:0 30px 60px -40px rgba(0,0,0,.8)}
.cp-post-intro__meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12.5px;letter-spacing:.14em;color:#a59d91;text-transform:uppercase}
.cp-post-intro__meta span{display:inline-flex;align-items:center;gap:8px}
.cp-post-intro__meta span::before{content:"";width:6px;height:6px;border-radius:50%;background:#d7b77e}
.cp-post-intro__lead{margin:14px 0 0!important;color:#f3eee6!important;font-family:"Noto Serif TC",Merriweather,serif;font-size:17.5px;line-height:1.9}
.cp-post-intro__toc{margin-top:22px;padding-top:20px;border-top:1px solid rgba(215,183,126,.2)}
.cp-post-intro__toc summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;color:#d7b77e;font-size:14px;letter-spacing:.12em}
.cp-post-intro__toc summary::-webkit-details-marker{display:none}
.cp-post-intro__toc summary::after{content:"";width:8px;height:8px;margin-right:4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-3px);transition:transform .3s}
.cp-post-intro__toc[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
body.single-post article .entry-content ol.cp-toc-list{margin:14px 0 0!important;padding:0;list-style:none;counter-reset:cptoc;columns:2;column-gap:32px}
body.single-post article .entry-content ol.cp-toc-list>li{break-inside:avoid;counter-increment:cptoc;margin:0;padding:6px 0 6px 2.4em;position:relative;line-height:1.6}
body.single-post article .entry-content ol.cp-toc-list>li::before{content:counter(cptoc,decimal-leading-zero);position:absolute;left:0;top:7px;color:#7d766c;font-size:12px;letter-spacing:.06em;font-variant-numeric:tabular-nums}
body.single-post article .entry-content ol.cp-toc-list a{color:#e9e3d8!important;text-decoration:none!important;font-size:15px;transition:color .2s}
body.single-post article .entry-content ol.cp-toc-list a:hover{color:#d7b77e!important}
/* 文末行動卡 */
body.single-post:not(.postid-1614) article .entry-content .cp-post-cta{margin:3.2em 0 0!important;padding:34px 34px 30px;border-radius:22px;background:radial-gradient(120% 140% at 100% 0,rgba(215,183,126,.22),transparent 55%),#14120f;color:#d9d2c6;line-height:1.85}
.cp-post-cta__eyebrow{font-size:12px;letter-spacing:.24em;color:#d7b77e}
.cp-post-cta p.cp-post-cta__title{margin:8px 0 0!important;padding:0!important;font-family:"Noto Serif TC",Merriweather,serif;font-size:24px!important;line-height:1.45;color:#fff!important;border:0!important}
.cp-post-cta__title::before{display:none!important}
.cp-post-cta p{margin:10px 0 0!important;color:#cfc8bc!important;font-size:15.5px}
.cp-post-cta__links{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
body.single-post article .entry-content .cp-post-cta__links a{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:999px;border:1px solid rgba(215,183,126,.4);color:#f3eee6!important;font-size:14px;text-decoration:none!important;transition:background .3s,color .3s,border-color .3s,transform .3s}
body.single-post article .entry-content .cp-post-cta__links a:first-child{background:#d7b77e;border-color:#d7b77e;color:#0b0b0b!important;font-weight:600}
body.single-post article .entry-content .cp-post-cta__links a:hover{transform:translateY(-2px);border-color:#d7b77e;color:#d7b77e!important}
body.single-post article .entry-content .cp-post-cta__links a:first-child:hover{color:#0b0b0b!important;box-shadow:0 14px 30px -14px rgba(215,183,126,.7)}
/* 閱讀進度條 */
.cp-read-bar{position:fixed;left:0;top:0;z-index:9999;height:2px;width:100%;transform-origin:0 50%;transform:scaleX(0);background:linear-gradient(90deg,#b8914a,#f6e2b8);pointer-events:none}
/* 分享、留言、相關文章 */
body.single-post:not(.postid-1614) .ct-share-box{max-width:860px;margin:40px auto 0!important;--theme-icon-color:#a59d91}
body.single-post:not(.postid-1614) .ct-share-box .ct-module-title{color:#a59d91!important}
body.single-post:not(.postid-1614) :is(.ct-related-posts-container,.ct-comments-container){background:#0b0b0b!important;border-color:rgba(215,183,126,.12)!important}
body.single-post:not(.postid-1614) .ct-related-posts .ct-module-title,body.single-post:not(.postid-1614) .ct-comments :is(.ct-comments-title,.comment-reply-title,h2,h3){font-family:var(--cp-serif)!important;color:#fff!important}
body.single-post:not(.postid-1614) .ct-related-posts article{border-radius:16px}
body.single-post:not(.postid-1614) .ct-related-posts :is(.related-entry-title,.related-entry-title a){color:#f3eee6!important;font-size:16px!important;line-height:1.55}
body.single-post:not(.postid-1614) .ct-related-posts .related-entry-title a:hover{color:#d7b77e!important}
body.single-post:not(.postid-1614) .ct-related-posts :is(.entry-meta,.entry-meta a){color:#7d766c!important}
body.single-post:not(.postid-1614) .ct-related-posts .ct-media-container{border-radius:14px;overflow:hidden}
body.single-post:not(.postid-1614) .ct-comments{color:#cfc8bc}
body.single-post:not(.postid-1614) .ct-comments :is(.ct-comment-author,.ct-comment-author a,.comment-content p){color:#e9e3d8!important}
body.single-post:not(.postid-1614) .ct-comments :is(.ct-comment-meta,.ct-comment-meta a,.comment-notes,label){color:#a59d91!important}
body.single-post:not(.postid-1614) .ct-comments :is(input[type=text],input[type=email],input[type=url],textarea){background:#151311!important;color:#f3eee6!important;border-color:rgba(215,183,126,.25)!important;border-radius:12px!important}
body.single-post:not(.postid-1614) .ct-comments .submit{background:#d7b77e!important;color:#0b0b0b!important;border-radius:999px!important;border:0!important}
body.single-post:not(.postid-1614) .post-navigation{max-width:860px;margin-left:auto;margin-right:auto;--theme-text-color:#cfc8bc}
body.single-post:not(.postid-1614) .post-navigation :is(.item-label,.item-title){color:#e9e3d8!important}
body.single-post:not(.postid-1614) .post-navigation .item-label{color:#d7b77e!important}
@media (max-width:860px){
body.single-post:not(.postid-1614) article.post>.entry-content{margin:28px 12px 0!important;padding:40px 22px 36px!important;border-radius:20px;font-size:16.5px;line-height:1.98}
body.single-post:not(.postid-1614) article.post>.hero-section+.entry-content{margin-top:24px!important}
body.single-post:not(.postid-1614) article.post>.ct-featured-image{padding:0 12px;margin-top:22px!important}
body.single-post:not(.postid-1614) article.post>.ct-featured-image img{border-radius:16px}
body.single-post:not(.postid-1614) article.post>.hero-section{padding-top:28px!important}
body.single-post:not(.postid-1614) article .entry-content .cp-post-intro{margin-left:-6px!important;margin-right:-6px!important;padding:24px 20px}
body.single-post article .entry-content ol.cp-toc-list{columns:1}
body.single-post:not(.postid-1614) article .entry-content .cp-post-cta{margin-left:-6px!important;margin-right:-6px!important;padding:28px 22px 24px}
body.single-post:not(.postid-1614) article .entry-content blockquote{padding:20px 20px 20px 22px!important}

body.single-post:not(.postid-1614) .ct-share-box{padding:0 16px}
}
@media (prefers-reduced-motion:reduce){body.single-post article .entry-content.cp-hl-ready :is(strong,b){background-size:100% 100%;transition:none}}
body.single-post:not(.postid-1614) .ct-container-full>article.post{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;max-width:none!important;--theme-boxed-content-max-width:none}
body.single-post:not(.postid-1614) .ct-container-full{padding-top:0!important}
body.single-post:not(.postid-1614) article .entry-content blockquote p.cp-key{margin:.4em 0!important;padding:0;border:0;border-radius:0;background:none;font-size:1.04em}
body.single-post:not(.postid-1614) .ct-share-box [data-network]{background:#151311!important;border:1px solid rgba(215,183,126,.22);border-radius:999px!important;transition:background .3s,border-color .3s,transform .3s;--theme-icon-color:#d7b77e}
body.single-post:not(.postid-1614) .ct-share-box [data-network] svg{fill:#d7b77e!important}
body.single-post:not(.postid-1614) .ct-share-box [data-network]:hover{background:#d7b77e!important;border-color:#d7b77e;transform:translateY(-2px)}
body.single-post:not(.postid-1614) .ct-share-box [data-network]:hover svg{fill:#0b0b0b!important}
body.single-post:not(.postid-1614) .ct-related-posts-container{padding:72px 0 40px!important;border-top:1px solid rgba(215,183,126,.12)}
body.single-post:not(.postid-1614) .ct-related-posts{max-width:1120px;margin:0 auto}
body.single-post:not(.postid-1614) .ct-related-posts .ct-module-title{text-align:center;font-size:clamp(22px,2.6vw,30px)!important;margin-bottom:36px!important}
body.single-post:not(.postid-1614) .ct-related-posts-items{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px!important}
body.single-post:not(.postid-1614) .ct-related-posts-items>article{width:auto!important;max-width:none!important;margin:0!important;padding:0!important}
body.single-post:not(.postid-1614) .ct-related-posts-items>article>div{height:100%;padding:14px 14px 18px;border:1px solid rgba(215,183,126,.14);border-radius:18px;background:linear-gradient(180deg,#171513,#121110);transition:transform .5s cubic-bezier(.22,1,.36,1),border-color .4s}
body.single-post:not(.postid-1614) .ct-related-posts-items>article>div:hover{transform:translateY(-6px);border-color:rgba(215,183,126,.4)}
body.single-post:not(.postid-1614) .ct-related-posts .ct-media-container{display:block;aspect-ratio:16/10;border-radius:12px;overflow:hidden;margin-bottom:14px}
body.single-post:not(.postid-1614) .ct-related-posts .ct-media-container img{width:100%;height:100%!important;object-fit:cover;aspect-ratio:auto!important}
body.single-post:not(.postid-1614) .ct-related-posts .related-entry-title{margin:0 4px 6px!important}
body.single-post:not(.postid-1614) .ct-related-posts .entry-meta{margin:0 4px!important;font-size:12.5px}
@media (max-width:999px){body.single-post:not(.postid-1614) .ct-related-posts-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){body.single-post:not(.postid-1614) .ct-related-posts-items{grid-template-columns:1fr;gap:18px!important}body.single-post:not(.postid-1614) .ct-related-posts-container{padding:48px 4px 24px!important}}
body.single-post:not(.postid-1614) article.post>.ct-featured-image figcaption{margin-top:14px;color:#7d766c!important;font-size:13px;line-height:1.7;text-align:center;letter-spacing:.04em}
@media (max-width:640px){.cp-post-intro__lead{font-size:16px!important;line-height:1.85!important}body.single-post:not(.postid-1614) article .entry-content p.cp-key{padding:14px 16px;font-size:1.02em}}
@media (max-width:860px){body.single-post:not(.postid-1614) .ct-container-full>article.post{margin-left:0!important;margin-right:0!important;width:100%!important}body.single-post:not(.postid-1614) article.post>.entry-content{margin-left:10px!important;margin-right:10px!important;padding-left:20px!important;padding-right:20px!important}body.single-post:not(.postid-1614) article.post>.hero-section{padding-left:20px!important;padding-right:20px!important}body.single-post:not(.postid-1614) article .entry-content figure.wp-block-table{overflow:visible}body.single-post:not(.postid-1614) article .entry-content table{display:table;table-layout:auto;min-width:0!important;width:100%!important;white-space:normal;font-size:13.5px;line-height:1.6}body.single-post:not(.postid-1614) article .entry-content :is(th,td){padding:9px 8px;word-break:normal;overflow-wrap:break-word}body.single-post:not(.postid-1614) article .entry-content :is(p,li,h2,h3,h4,blockquote){overflow-wrap:anywhere}}
/* ===== /ChordPaws 文章排版 ===== */

/* ===== 延伸閱讀（文章互連） ===== */
body.single-post article .entry-content .cp-related{margin:3em 0 0!important;padding:26px 30px 22px;border:1px solid rgba(160,122,53,.32);border-radius:20px;background:linear-gradient(180deg,rgba(215,183,126,.12),rgba(215,183,126,.04))}
body.single-post article .entry-content .cp-related p.cp-related__title{margin:0 0 8px!important;padding:0!important;border:0!important;font-family:"Noto Serif TC",Merriweather,serif;font-size:21px!important;font-weight:700;line-height:1.5;color:#16130f!important}
body.single-post article .entry-content .cp-related p.cp-related__title::before{display:none!important}
body.single-post article .entry-content .cp-related ul{margin:0!important}
body.single-post article .entry-content .cp-related li{margin:0!important;padding-top:9px!important;padding-bottom:9px!important;border-bottom:1px solid rgba(160,122,53,.18)}
body.single-post article .entry-content .cp-related li:last-child{border-bottom:0}
body.single-post article .entry-content .cp-related li::before{top:1.25em!important}
body.single-post article .entry-content .cp-related a{color:#7a5a24!important;font-weight:600;text-decoration:none!important;background:none!important;line-height:1.7;transition:color .25s}
body.single-post article .entry-content .cp-related a:hover{color:#16130f!important;text-decoration:underline!important;text-underline-offset:4px}
body.postid-1614 article .entry-content .cp-related{max-width:760px;margin:3em auto 0!important;background:#151311;border-color:rgba(215,183,126,.3)}
body.postid-1614 article .entry-content .cp-related p.cp-related__title{color:#fff!important}
body.postid-1614 article .entry-content .cp-related a{color:#f6e2b8!important}
body.postid-1614 article .entry-content .cp-related li{border-bottom-color:rgba(215,183,126,.18)}
@media (max-width:560px){body.single-post article .entry-content .cp-related{padding:20px 18px 16px}body.single-post article .entry-content .cp-related p.cp-related__title{font-size:18px!important}}

/* footer legal links */
.ct-footer-copyright .cp-legal{margin-top:6px!important;font-size:13px;opacity:.85}
.ct-footer-copyright .cp-legal a{color:#d7b77e;text-decoration:none}
.ct-footer-copyright .cp-legal a:hover{color:#f6e2b8;text-decoration:underline}

/* cp-hero glow: transform positioning (avoid CLS) */
.cp-hero__glow{left:0!important;top:0!important;transform:translate(calc(var(--mx,50vw) - 50%),calc(var(--my,41vh) - 50%))!important;transition:transform .6s cubic-bezier(.22,1,.36,1)!important;will-change:transform}
@media (max-width:600px){.cp-hero__glow{transform:translate(calc(var(--mx,50vw) - 50%),calc(var(--my,320px) - 50%))!important}}

/* cp-bs swap baseline: 找/爪 與和弦同一行高對齊 */
.cp-bs-word .cp-bs-swap{height:1em!important;align-items:end;line-height:1}
.cp-bs-word .cp-bs-swap span{line-height:1!important;height:1em}

/* ===== minimal type scale (2026-10) ===== */
.cp-home .cp-h1{font-size:clamp(46px,6.6vw,84px)!important}
.cp-home h2{font-family:"Noto Serif TC",serif!important;font-size:clamp(22px,2.3vw,30px)!important}
.cpx-display{font-size:clamp(34px,5.6vw,72px)!important}
.cpx-h2,.cp-bs-h2,.cp-crs-h2,.cp-qz-h2{font-size:clamp(22px,2.3vw,30px)!important}
.cpx-price__num{font-size:clamp(28px,3vw,38px)!important}
.cp-bs-word{font-size:clamp(60px,9.4vw,120px)!important}
.cp-bs-trio{font-size:clamp(44px,6.6vw,84px)!important}
.page-id-2081 .elementor h1{font-size:clamp(32px,4.4vw,56px)!important}
.page-id-2081 .elementor h2{font-size:clamp(22px,2.3vw,30px)!important}
.single-post .entry-content h2{font-size:clamp(21px,2.1vw,26px)!important}
.single-post .entry-content h3{font-size:clamp(18px,1.7vw,20px)!important}
.postid-1614 .entry-content h1,.postid-1614 .elementor h1{font-size:clamp(28px,3.8vw,48px)!important}
.postid-1614 .elementor h3,.postid-1614 .entry-content h3{font-size:clamp(18px,1.8vw,21px)!important}
.page .hero-section .page-title{font-size:clamp(26px,3vw,38px)}

/* ===== woo account dark ===== */
body.woocommerce-account .entry-content>.woocommerce{max-width:1000px;margin-inline:auto;color:#d9d2c6}
body.woocommerce-account #customer_login>div,body.woocommerce-account .woocommerce-MyAccount-content,body.woocommerce-account .woocommerce-MyAccount-navigation,body.woocommerce-account .ct-account-welcome,body.woocommerce-account .woocommerce-ResetPassword{background:#151311!important;border:1px solid rgba(215,183,126,.18)!important;border-radius:20px!important;box-shadow:none!important;color:#d9d2c6}
body.woocommerce-account #customer_login>div,body.woocommerce-account .woocommerce-MyAccount-content,body.woocommerce-account .woocommerce-ResetPassword{padding:28px!important}
body.woocommerce-account .woocommerce-MyAccount-navigation{padding:8px!important;overflow:hidden}
body.woocommerce-account .woocommerce h2,body.woocommerce-account .woocommerce h3{font-family:"Noto Serif TC",serif;color:#fff;font-size:clamp(19px,2vw,22px);margin-bottom:16px}
body.woocommerce-account .woocommerce label{color:#d9d2c6;font-size:14px}
body.woocommerce-account .woocommerce input.input-text,body.woocommerce-account .woocommerce select,body.woocommerce-account .woocommerce textarea{background:#0f0e0c!important;border:1px solid rgba(215,183,126,.25)!important;color:#f3eee6!important;border-radius:10px!important;min-height:46px}
body.woocommerce-account .woocommerce input.input-text:focus{border-color:#d7b77e!important;box-shadow:0 0 0 3px rgba(215,183,126,.15)!important}
body.woocommerce-account .woocommerce .button,body.woocommerce-account .woocommerce button[type=submit]{background:#d7b77e!important;color:#0b0b0b!important;border:0!important;border-radius:999px!important;font-weight:600;padding:12px 28px!important}
body.woocommerce-account .woocommerce .button:hover{background:#f6e2b8!important}
body.woocommerce-account .woocommerce a:not(.button){color:#d7b77e}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{display:flex;align-items:center;gap:12px;padding:12px 16px!important;color:#d9d2c6!important;border-radius:12px;background:transparent!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{color:#f6e2b8!important;background:rgba(215,183,126,.08)!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{color:#0b0b0b!important;background:#d7b77e!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li a svg{fill:currentColor}
body.woocommerce-account .ct-account-welcome,body.woocommerce-account .ct-account-welcome *{color:#f3eee6}
body.woocommerce-account .woocommerce table{color:#d9d2c6;border-color:rgba(215,183,126,.18)!important}
body.woocommerce-account .woocommerce table th,body.woocommerce-account .woocommerce table td{border-color:rgba(215,183,126,.14)!important}
body.woocommerce-account .woocommerce-info,body.woocommerce-account .woocommerce-message{background:#151311!important;color:#d9d2c6!important;border:1px solid rgba(215,183,126,.25)!important;border-radius:14px}
body.woocommerce-account .ct-acount-nav{background:transparent!important;border:0!important;box-shadow:none!important;display:flex;flex-direction:column;gap:12px}

/* ===== tutor dark course ===== */
body:is(.single-courses,.single-lesson,.page-id-2142) .tutor-accordion-item{border:1px solid rgba(215,183,126,.18)!important;border-radius:16px!important;overflow:hidden;background:#151311!important;margin-bottom:12px}
body:is(.single-courses,.single-lesson) .tutor-accordion-item-header{background:#151311!important;color:#f3eee6!important;font-family:"Noto Serif TC",serif;font-size:17px!important;padding:16px 20px!important;border:0!important}
body:is(.single-courses,.single-lesson) .tutor-accordion-item-header.is-active{color:#f6e2b8!important}
body:is(.single-courses,.single-lesson) .tutor-accordion-item-header:after{color:#d7b77e!important}
body:is(.single-courses,.single-lesson) .tutor-accordion-item-body{background:#0f0e0c!important;border-top:1px solid rgba(215,183,126,.14)!important}
body:is(.single-courses,.single-lesson) .tutor-course-content-list-item{background:transparent!important;border-color:rgba(215,183,126,.1)!important;padding:12px 20px!important}
body:is(.single-courses,.single-lesson) .tutor-course-content-list-item-title,body:is(.single-courses,.single-lesson) .tutor-course-content-list-item-title a{color:#d9d2c6!important;font-size:15px!important}
body:is(.single-courses,.single-lesson) .tutor-course-content-list-item-icon,body:is(.single-courses,.single-lesson) .tutor-course-content-list-item-status{color:#8c8478!important}
body.single-courses :is(.tutor-card,.tutor-card-body,.tutor-card-footer,.tutor-course-details-widget,.tutor-course-details-instructors,.tutor-sidebar-card){background:#151311!important;border-color:rgba(215,183,126,.18)!important;color:#d9d2c6!important;border-radius:18px}
body.single-courses .tutor-card{border:1px solid rgba(215,183,126,.18)!important;overflow:hidden}
body.single-courses .tutor-card-footer{border-top:1px solid rgba(215,183,126,.14)!important;border-radius:0}
body.single-courses :is(.tutor-color-black,.tutor-course-details-widget-title,.tutor-course-content-title,.tutor-course-details-instructors h3,.tutor-course-details-widget h3){color:#f3eee6!important;font-family:"Noto Serif TC",serif}
body.single-courses :is(.tutor-color-secondary,.tutor-color-muted,.tutor-meta,.tutor-meta-value){color:#a59d91!important}
body.single-courses .tutor-course-details-widget-list li,body.single-courses .tutor-course-details-content{color:#d9d2c6!important}
body.single-courses .tutor-course-details-widget-list li:before,body.single-courses .tutor-course-details-widget-list [class*=tutor-icon]{color:#d7b77e!important}
body:is(.single-courses,.single-lesson,.page-id-2142) .tutor-btn-primary{background:#d7b77e!important;border-color:#d7b77e!important;color:#0b0b0b!important;border-radius:999px!important;font-weight:600}
body:is(.single-courses,.single-lesson,.page-id-2142) .tutor-btn-primary:hover{background:#f6e2b8!important;border-color:#f6e2b8!important}
body:is(.single-courses,.single-lesson,.page-id-2142) .tutor-btn-outline-primary{color:#d7b77e!important;border-color:rgba(215,183,126,.4)!important;background:transparent!important;border-radius:999px!important}
body.single-courses .tutor-nav-link{color:#a59d91!important}
body.single-courses .tutor-nav-link.is-active{color:#f6e2b8!important;border-color:#d7b77e!important}
body.single-courses .tutor-course-details-header .tutor-course-details-title{font-size:clamp(26px,3vw,38px)!important;line-height:1.35}
body.single-courses .tutor-avatar{background:#2a2622!important;color:#f6e2b8!important}
/* tutor course h2 size */
body.single-courses :is(.tutor-course-details-content h2,.tutor-course-details-widget-title,.tutor-course-content-title,h2.tutor-fs-5){font-size:clamp(20px,2vw,24px)!important}


/* 線上課程選單項目：只在行動版三條槓選單顯示（電腦版右上角已有「線上課程」按鈕） */
#header [data-device="desktop"] .menu-item.cp-mobile-only{display:none!important}
/* 行動版選單「線上課程」：比照電腦版右上角按鈕（金色線框） */
html body #offcanvas .mobile-menu li.cp-mobile-only{margin-top:16px;border:0!important}
html body #offcanvas .mobile-menu li.cp-mobile-only > a.ct-menu-link{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;padding:8px 20px!important;border:1px solid rgba(215,183,126,.5)!important;border-radius:10px!important;background:transparent!important;color:#d7b77e!important;font-size:14px!important;font-weight:600;letter-spacing:.04em;transition:background .25s,border-color .25s,color .25s}
html body #offcanvas .mobile-menu li.cp-mobile-only > a.ct-menu-link:is(:hover,:focus-visible){background:rgba(215,183,126,.12)!important;border-color:#d7b77e!important;color:#f6e2b8!important}
html body #offcanvas .mobile-menu li.cp-mobile-only > a.ct-menu-link::before,html body #offcanvas .mobile-menu li.cp-mobile-only > a.ct-menu-link::after{display:none!important}

/* ===== 選單：1000–1365px 寬時不與「線上課程」按鈕重疊（2026-10-18） ===== */
@media (min-width:1000px) and (max-width:1365px){header [data-device="desktop"] [data-id="menu"]>ul>li>a{padding-left:11px!important;padding-right:11px!important}}
/* 1000–1199px 空間更窄：隱藏 Youtube 項目（頁尾與行動版仍保留） */
@media (min-width:1000px) and (max-width:1199px){header [data-device="desktop"] [data-id="menu"]>ul>li.menu-item-2120{display:none!important}header [data-device="desktop"] [data-id="menu"]>ul>li>a{padding-left:9px!important;padding-right:9px!important}}

/* ===== 頁首：捲動後固定頁首（及非透明頁首）改深色底，配合黑金色調（2026-10-21） ===== */
#header [data-sticky*="yes"] [data-row="middle"],#header [data-row="middle"][data-transparent-row="no"]{background:rgba(11,11,11,.92)!important;-webkit-backdrop-filter:saturate(140%) blur(10px);backdrop-filter:saturate(140%) blur(10px);border-bottom:1px solid rgba(215,183,126,.14);--theme-icon-color:#d7b77e;--theme-icon-hover-color:#f6e2b8}
#header [data-sticky*="yes"] [data-row="middle"] :is(.ct-header-search,.ct-header-account,.ct-header-cart,.ct-header-trigger){color:#d7b77e}
/* 登入／註冊表單：Cloudflare 驗證只在需要時出現，不預留空白 */
.cf-turnstile-br{display:none}
.woocommerce form .cf-turnstile{margin:0 0 4px}
/* Logo 改為金色透明版（已去白邊），縮小高度留出上下空間 */
#header .site-logo-container{--logo-max-height:58px}
#header [data-sticky*="yes"] .site-logo-container{--logo-max-height:36px}
@media (max-width:999px){#header .site-logo-container{--logo-max-height:42px}#header [data-sticky*="yes"] .site-logo-container{--logo-max-height:38px}}
/* 商品卡片標題改用 h2（標題層級不跳級），外觀維持原本 h6 大小（2026-10-21） */
h2.woocommerce-loop-product__title{font-size:16px!important;line-height:1.5!important;margin-bottom:0}
/* 商品卡片：劃掉的原價提高對比（無障礙） */
ul.products .price del,ul.products .price del *{opacity:1!important;color:#a8a091!important}

/* ===== 全站版面寬度統一（2026-10-22）=====
   標準：內容寬 1072px（外框 1120px、左右各 24px），頁首、內文、頁尾對齊同一條線；
   手機左右邊距 20px。文章內文與測驗頁維持窄欄閱讀。 */
:root{--theme-normal-container-max-width:1072px;--theme-container-edge-spacing:calc(100vw - 48px)}
@media (max-width:689.98px){:root{--theme-container-edge-spacing:calc(100vw - 40px)}}
/* 自訂頁面外框：左右 24px（手機 20px） */
.cp-wrap,.elementor-element-193ec4d{padding-left:24px!important;padding-right:24px!important}
@media (max-width:689.98px){.cp-wrap,.elementor-element-193ec4d,.cpx-wrap,.cp-bs-wrap,.cp-crs-wrap,.cp-qz-wrap{padding-left:20px!important;padding-right:20px!important}}
/* 原本較窄的頁面撐滿標準寬度：學習地圖、會員福利、練功房、暖身室、每日任務、會員帳號 */
html body.page-id-2966 .lm,html body.page-id-2966 .entry-content>*{max-width:var(--theme-normal-container-max-width)!important;width:var(--theme-container-width)!important;margin-left:auto!important;margin-right:auto!important}
body.page-id-3062 .cpm{max-width:var(--theme-normal-container-max-width)!important;width:var(--theme-container-width)!important;margin-inline:auto!important}
body.page-id-3005 :is(.cpm-strip,.cpw-banner,.cpst){max-width:var(--theme-normal-container-max-width)!important;width:var(--theme-container-width)!important;margin-inline:auto!important}
body.page-id-3058 :is(.cpw,.cpm-strip,.cpw-banner){max-width:var(--theme-normal-container-max-width)!important;width:var(--theme-container-width)!important;margin-inline:auto!important}
body.page-id-2999 .cpk{max-width:var(--theme-normal-container-max-width)!important;width:var(--theme-container-width)!important;margin-inline:auto!important}body.page-id-2999 :is(.cpk-top,.cpk-tasks){max-width:100%!important}
body.woocommerce-account .entry-content>.woocommerce{max-width:var(--theme-normal-container-max-width)!important;width:var(--theme-container-width)!important;margin-inline:auto!important}
/* 「我適合學爵士鋼琴嗎？」與其他三個測驗一致：整頁窄欄 780px */
body.postid-1614 .cp-qz-wrap{max-width:780px!important;padding-left:16px;padding-right:16px}
body.postid-1614 :is(.cp-qz-card,.cp-qz-yt){max-width:100%!important}
body.postid-1614 .cp-qz-faq__grid{grid-template-columns:1fr!important}
body.postid-1614 :is(.cp-topic-box,article .entry-content .cp-related){max-width:748px!important;width:var(--theme-container-width)!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
/* 文章頁：封面圖與內文框同寬，延伸閱讀與全站同寬 */
body.single-post:not(.postid-1614) article.post>.ct-featured-image{max-width:860px!important;width:var(--theme-container-width);padding:0!important}
body.single-post:not(.postid-1614) .ct-related-posts{max-width:var(--theme-normal-container-max-width)!important;width:var(--theme-container-width)}
/* 首頁商品區左右留白與其他區塊一致 */
html body .cp-home-shop .elementor-widget-shortcode{padding-left:24px!important;padding-right:24px!important}
@media (max-width:689.98px){html body .cp-home-shop .elementor-widget-shortcode{padding-left:20px!important;padding-right:20px!important}}
/* 學習地圖：手機版課程卡片不超出外框 */
@media (max-width:689.98px){html body.page-id-2966 .lm-course{grid-template-columns:minmax(0,1fr)!important}html body.page-id-2966 .lm-course img{max-width:100%;height:auto}}
/* 選單的「支持爪和弦」愛心圖示會和「線上課程」按鈕重疊，先不放在選單（文章結尾卡片與右下角按鈕仍保留）（2026-10-22） */
#header .cp-support-entry,#offcanvas .cp-support-entry{display:none!important}

/* VIP／VVIP 會員勳章圖片放大 15%（學習地圖勳章牆、會員區塊、升級提示都適用；用 scale 屬性，不影響原本的 transform 動畫） */
img[src*="/cp-badge-v_vip."], img[src*="/cp-badge-v_vvip."] { scale: 1.15; }

/* 頁尾聯盟行銷圖示：電腦版統一大小（2026-10-26）。手機／平板（999px 以下）原本就是三欄白底方塊，這裡只管 1000px 以上：三個小工具 block-30／31／34 的圖示放進同樣大小的白底圓角方塊，每列兩個 */
@media (min-width:1000px){
:is(#block-30,#block-31,#block-34){margin-top:0!important;margin-bottom:10px!important}
:is(#block-30,#block-31,#block-34) .wp-block-columns{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:0!important;padding:0!important}
:is(#block-30,#block-31,#block-34) .wp-block-column{flex:0 0 calc(50% - 5px)!important;max-width:calc(50% - 5px)!important;margin:0!important;padding:0!important}
:is(#block-30,#block-31,#block-34) .wp-block-column > a{display:flex!important;align-items:center;justify-content:center;height:64px;padding:6px 8px;background:#fff;border:1px solid rgba(215,183,126,.18);border-radius:12px;box-sizing:border-box;overflow:hidden}
:is(#block-30,#block-31,#block-34) .wp-block-column img{width:auto!important;height:auto!important;max-width:100%!important;max-height:50px!important;object-fit:contain}
}
/* ===== 主選單「練功」：兩欄下拉與分組標題（2026-11-09） ===== */
header [data-id="menu"] li.cp-menu-practice>.sub-menu{display:grid!important;grid-template-columns:190px 300px;grid-auto-flow:row dense;column-gap:8px;width:516px!important;max-width:calc(100vw - 32px)}
header [data-id="menu"] li.cp-menu-practice>.sub-menu>li{grid-column:1}
header [data-id="menu"] li.cp-menu-practice>.sub-menu>li.cp-col2{grid-column:2}
.cp-mh-a::before,.cp-mh-b::before{display:block;padding:6px 14px 4px;color:#d7b77e;font-size:12px;font-weight:700;letter-spacing:.14em;line-height:1.5}
.cp-mh-a::before{content:"練習"}
.cp-mh-b::before{content:"測驗"}
#offcanvas .mobile-menu .cp-mh-a::before,#offcanvas .mobile-menu .cp-mh-b::before{padding:12px 0 2px;width:100%}
/* ===== 主選單「練功」分組標題獨佔一行（2026-11-09） ===== */
li.cp-mh-a,li.cp-mh-b{flex-wrap:wrap!important}
li.cp-mh-a::before,li.cp-mh-b::before{flex:0 0 100%;width:100%;box-sizing:border-box;writing-mode:horizontal-tb;white-space:nowrap}
/* ===== 手機選單「練功」子項目字級，避免測驗名稱掉字（2026-11-09） ===== */
#offcanvas li.cp-menu-practice .sub-menu>li>a{font-size:15px;letter-spacing:0}
/* ===== 無障礙對比（A21，2026-11-29；11/30 依審查修正）：深色底灰字 #7d766c 改 #8c857b（5.4:1）、淺色底小字加深（1614 那篇深色版面除外）、文字裡的連結加底線、購物車與結帳頁的連結加深、金色按鈕改深色字；還原用 option claude_backup_custom_css_20261129 ===== */
body:is(.blog,.category,.tag,.search-results,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .ct-breadcrumbs,body.single-post:not(.postid-1614) .hero-section .ct-breadcrumbs{color:#8c857b!important}
body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .woo-listing-top,body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-result-count,body:is(.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) :is(ul.products,.summary) .price del,.single-product .product_meta,.cpx .cpx-foot{color:#8c857b!important}
.single-product .product_meta a{color:#a59d91!important;opacity:1!important;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(165,157,145,.55)}
body.single-post .entry-meta .meta-categories a,.ct-footer .widget_text .textwidget a{text-decoration:underline!important;text-underline-offset:3px}
body.single-post:not(.postid-1614) .cph-nav>p{color:#665c4f!important}
body.single-post:not(.postid-1614) .cph-nav-all,body.single-post:not(.postid-1614) .cp-topic-box .cp-topic-box__map{color:#7a5822!important}
body.single-post:not(.postid-1614) .cph-nav-row a small{color:#6b6257!important}
body.single-post:not(.postid-1614) .cpyt-post .cpyt figcaption small{color:#6b645b!important;opacity:1!important}
body:is(.woocommerce-cart,.woocommerce-checkout,.page-id-2251) :is(.ct-breadcrumbs a,.woocommerce-privacy-policy-link,.woocommerce-terms-and-conditions-link){color:#7a6a4f!important}
body.page-id-2251 .entry-content p a{color:#7a6a4f!important}
body:is(.woocommerce-cart,.woocommerce-checkout,.page-id-2251) .ct-header-cta .ct-button-ghost{color:#7a6a4f!important;border-color:#7a6a4f!important}
body:is(.woocommerce-cart,.woocommerce-checkout,.page-id-2251) .ct-header-cta .ct-button-ghost:hover{color:#fff!important;background-color:#7a6a4f!important}
body:is(.woocommerce-cart,.woocommerce-checkout) :is(.return-to-shop .button,.checkout-button,button[name=apply_coupon],#place_order){color:#151311!important}
body:is(.woocommerce-cart,.woocommerce-checkout) :is(.return-to-shop .button,.checkout-button,button[name=apply_coupon],#place_order):hover{color:#fff!important}
