/* Phase 02X.2: CMS content accents, limited to existing designer page structure. */
.body .qs-cms-message { padding: 20px; border: 1px solid #dbc898; border-radius: 8px; color: #416b82; background: #faf8f1; margin: 18px 0; }
.body .qs-cms-no-image { min-height: 200px; display: flex; align-items: center; justify-content: center; background: #eef1f2; color: #607585; border: 1px solid #e5e8e8; }
.body .qs-cms-source, .body .qs-cms-subtitle { color: #607585; margin: 10px 0; }
.body .qs-cms-richtext { overflow-wrap: anywhere; }
.body .qs-cms-richtext img { max-width: 100%; height: auto; }
.body .qs-cms-back { margin: 24px 0; }
@media (max-width: 576px) { .body .qs-cms-no-image { min-height: 140px; } }

/* CMS detail preserves the Designer's .info-body typography and .info-gallery structure.
   No global font-size overrides: original stylesheet.css remains authoritative. */
.body .qs-cms-gallery-section { margin: 0; padding-top: 20px; padding-bottom: 20px; }
.body .qs-cms-gallery-section .qs-cms-gallery-cell { margin-bottom: 8px; }
.body .qs-cms-gallery-section .image { margin: 0 0 25px; }
.body .qs-cms-gallery-photo { display: block; width: 100%; max-width: 550px; height: 210px; object-fit: cover; }
.body .qs-cms-gallery-section a { display: block; cursor: zoom-in; }
.body .qs-cms-gallery-section a:focus-visible { outline: 2px solid #c79e42; outline-offset: 2px; }
.body .qs-cms-attachments { margin: 26px 0; }
.body .qs-cms-attachments h2 { font-size: 1.45rem; font-weight: 600; color: #b89950; margin: 0 0 14px; }
.body .qs-cms-attachments ul { padding-left: 24px; }
.body .qs-cms-attachments li { padding: 10px 0; border-bottom: 1px solid #e8ddc5; overflow-wrap: anywhere; }
.body .qs-cms-attachments a { color: #416b82; text-decoration: underline; }
.body .qs-cms-attachments small { display: block; color: #6f7e87; margin-top: 3px; }
/* Phase 02X.2A.4: Home CMS news retains the Designer 3D-slider and two-column news layout.
   These rules are intentionally scoped to HOME, with no effects on published detail/FAQ pages. */
.home-section3 .qs-cms-highlight-wrap { display: block; width: 100%; max-width: 1200px; margin: 65px auto 0; }
.home-section3 .qs-cms-highlight-stage { position: relative; width: 100%; aspect-ratio: 1200 / 490; overflow: hidden; isolation: isolate; }
.home-section3 .qs-cms-highlight-slide { display: block; position: absolute; text-decoration: none; overflow: hidden; background: #fff;
  transition: left .42s ease, right .42s ease, width .42s ease, height .42s ease, bottom .42s ease, opacity .42s ease, filter .42s ease;
  box-shadow: 0 3px 12px rgba(55, 55, 55, .12); }
.home-section3 .qs-cms-highlight-slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-section3 .qs-cms-highlight-slide[data-slot="center"] { z-index: 3; left: 16.666667%; bottom: 0; width: 66.666667%; height: 100%; opacity: 1; clip-path: none; }
.home-section3 .qs-cms-highlight-slide[data-slot="prev"] { z-index: 2; left: 0; bottom: 6.12%; width: 41.666667%; height: 87.76%; opacity: .8; filter: contrast(60%); clip-path: polygon(0 0,100% 10%,100% 90%,0 100%); }
.home-section3 .qs-cms-highlight-slide[data-slot="next"] { z-index: 2; right: 0; bottom: 6.12%; width: 41.666667%; height: 87.76%; opacity: .8; filter: contrast(60%); clip-path: polygon(0 10%,100% 0,100% 100%,0 90%); }
.home-section3 .qs-cms-highlight-slide[data-slot="hidden"] { display: none; }
.home-section3 .qs-cms-highlight-caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 11px 18px;
  background: linear-gradient(transparent,rgba(0,0,0,.68)); color: #fff; text-align: center; line-height: 1.45; font-weight: 600;
  font-size: clamp(12px,1vw,17px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-section3 .qs-cms-highlight-slide:not([data-slot="center"]) .qs-cms-highlight-caption { font-size: 12px; }
.home-section3 .qs-cms-highlight-noimage { display:flex; align-items: center;justify-content: center;height:100%; background:#dce5e5; color:#497187; padding:20px; }
.home-section3 .qs-cms-highlight-pager { display:flex; justify-content:center; align-items:center; gap:12px; margin:48px auto 0; }
.home-section3 .qs-cms-highlight-bullet { cursor:pointer; flex:none; border:0; width:31px;height:31px; padding:0; border-radius:50%;
  background:transparent url('/designer/v20261104/images/template/bullet_off.png') center center no-repeat; }
.home-section3 .qs-cms-highlight-bullet.is-active, .home-section3 .qs-cms-highlight-bullet:hover,
.home-section3 .qs-cms-highlight-bullet:focus-visible { background-image:url('/designer/v20261104/images/template/bullet_on.png'); }
.home-section3 .qs-cms-highlight-bullet:focus-visible { outline:2px solid #42718a; outline-offset:3px; }
.home-section3 .qs-cms-home-showall { max-width:1200px; margin:14px auto 0; text-align:right; }
.home-section3 .qs-cms-home-showall a { color:#0e8a92; font-size:14px; }
/* Restore Designer Section4 left slider and right-side item/table layout. */
.home-section4 .qs-cms-home-central-layout { margin-bottom: 30px; }
.home-section4 .qs-cms-home-central-layout .news_center .image { min-height: 275px; display:flex; align-items:center; justify-content:center; }
.home-section4 .qs-cms-home-central-layout .news_center .image img { max-width:100%; width:auto; height:auto; max-height:400px; object-fit:contain; }
.home-section4 .qs-cms-home-central-layout .news_center .title { margin: 10px 10px 0; text-align:center; line-height:1.5; color:#c79e42;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.home-section4 .qs-cms-home-central-layout .news_center_list { margin-top:0; }
.home-section4 .qs-cms-home-central-layout .news_center_list .item { padding:10px 3px; }
.home-section4 .qs-cms-home-central-layout .news_center_list .image img { height:90px; max-width:145px; object-fit:contain; }
.home-section4 .qs-cms-home-central-layout .news_center_list .info-body { vertical-align:middle; }
.home-section4 .qs-cms-home-central-layout .news_center_list .title { line-height:1.55; font-size:clamp(13px,.95vw,16px); margin:0;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.home-section4 .qs-cms-home-central-layout .news_center_list a { text-decoration:none; }
.home-section4 .qs-cms-home-central-layout .news_center_list a:hover .title { color:#42718a; }
.home-section4 .qs-cms-central-noimage { display:flex;align-items:center;justify-content:center;min-height:80px;padding:10px; background:#eef2f2;color:#6b7d88; }
@media (max-width:991px) {
  .home-section3 .qs-cms-highlight-wrap { margin-top:35px; }
  .home-section3 .qs-cms-highlight-pager { margin-top:28px; }
  .home-section4 .qs-cms-home-central-layout .news_center_list { margin-top:25px; }
}
@media (max-width:767px) {
  .home-section3 .qs-cms-highlight-stage { aspect-ratio: 800 / 490; }
  .home-section3 .qs-cms-highlight-slide[data-slot="center"] { left:0; width:100%; }
  .home-section3 .qs-cms-highlight-slide[data-slot="prev"], .home-section3 .qs-cms-highlight-slide[data-slot="next"] { visibility:hidden;pointer-events:none;opacity:0; }
  .home-section3 .qs-cms-highlight-caption { font-size:13px; padding:9px 12px; }
  .home-section3 .qs-cms-highlight-pager { gap:5px; margin-top:20px; flex-wrap:wrap; }
  .home-section4 .qs-cms-home-central-layout .news_center .image { min-height:180px; }
  .home-section4 .qs-cms-home-central-layout .news_center .image img { max-height:320px; }
  .home-section4 .qs-cms-home-central-layout .news_center_list .image img { max-width:105px;max-height:85px; }
}
@media (prefers-reduced-motion:reduce) { .home-section3 .qs-cms-highlight-slide { transition:none; } }
@media print {
  .home-section3 .qs-cms-highlight-stage { max-width:550px; }
  .home-section3 .qs-cms-highlight-pager { display:none; }
  .home-section3 .qs-cms-highlight-slide:not([data-slot="center"]) { display:none; }
  .home-section4 .qs-cms-home-central-layout .news_center_list .item { break-inside:avoid; }
}

/* Phase 02X.2B.1: Designer category filters and data-driven pagination. */
.body .qs-cms-category-wrap { overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch; }
.body .qs-cms-category-wrap .category { display: flex; align-items: center; justify-content: safe center; width: max-content; max-width: none; margin: 0 auto; }
.body .qs-cms-category-wrap .category a { flex: none; text-decoration: none; }
.body .qs-cms-category-wrap .category a:focus-visible { outline: 2px solid #42718a; outline-offset: 2px; }
.body .qs-cms-pagination { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 2px; }
.body .qs-cms-pagination a { box-sizing: border-box; padding: 5px 0 0; text-align: center; text-decoration: none; flex: none; }
.body .qs-cms-pagination .qs-cms-pager-gap { color: #9c844d; padding: 0 4px; }
.body .qs-cms-pagination a:focus-visible { outline: 2px solid #42718a; outline-offset: 2px; }
@media (max-width: 767px) {
    .body .qs-cms-category-wrap .category { margin-left: 0; margin-right: 0; }
    .body .qs-cms-pagination { max-width: 100%; }
}
@media print { .body .qs-cms-category-wrap, .body .qs-cms-pagination { display: none; } }

/* Phase 02X.2B.2: Always show the Designer flower pager for non-empty CMS lists,
   even when the database currently contains only one page of published items. */
.body .qs-cms-pagination .qs-cms-page-disabled {
    box-sizing: border-box;
    display: block;
    width: 31px;
    height: 31px;
    padding: 5px 0 0;
    margin: 0 5px;
    flex: none;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    font-size: .8em;
    line-height: normal;
    background: transparent url('/designer/v20261104/images/template/pagination_off.png') top center no-repeat;
    opacity: .55;
    cursor: default;
    user-select: none;
}
