/* v5.1 -- client-requested visual refresh across the existing frontend templates.
   No uploaded media, thumbnails, post bodies, contact destinations or saved listing data are modified. */
:root{
  --cct-ink:#252525;
  --cct-pale:#faedf2;
  --cct-rule:#ff5276;
  --cct-muted:#6b6b6b;
  --cct-radius:7px;
  --cct-container:1100px;
}
html{scroll-behavior:smooth;}
body{background:#fff;color:var(--cct-ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC","Segoe UI",Arial,sans-serif;line-height:1.55;font-size:15px;}
body a:focus-visible,body button:focus-visible,body input:focus-visible,body summary:focus-visible{outline:2px solid var(--pink);outline-offset:3px;}
.wrap,.hero-directory .wrap,.listing-area .wrap,.notice-bar .wrap,.intro .wrap,.single-page .wrap,.home-copy .wrap{
  width:min(100% - 36px,var(--cct-container));max-width:var(--cct-container);margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;
}
/* Shared two-level masthead, including page, search, listing, and account routes. */
.top-strip{height:auto;min-height:36px;background:#080808;color:#f7f7f7;font-size:13px;}
.top-strip .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:36px;}
.top-strip .user-menu{margin:0;display:flex;align-items:center;gap:17px;flex-wrap:wrap;}
.top-strip .user-menu a{margin:0;color:#fff;font-size:13px;font-weight:500;}
.top-strip .user-menu a:hover{color:#ffb2c4;}
.site-head{border-bottom:1px solid #ededed;background:#fff;width:100%;overflow:visible;position:relative;z-index:20;}
.brand-row{min-height:82px;display:flex;align-items:center;justify-content:space-between;flex-direction:row;gap:26px;padding-top:10px;padding-bottom:10px;}
.brand{display:inline-flex;flex:0 1 auto;align-items:center;gap:10px;min-width:0;line-height:1.18;font-weight:850;font-size:29px;letter-spacing:-.6px;color:#343434;white-space:nowrap;}
.brand:hover{color:#292929;}
/* Keep the exact logo attachment selected in WordPress and the original fallback icon. */
.brand .brand-logo{width:49px;height:49px;object-fit:contain;flex:none;border-radius:0;}
.brand .brand-icon{height:44px;width:44px;font-size:23px;flex:none;background:var(--pink);color:#fff;border-radius:8px;}
.cct-head-actions{display:flex;align-items:center;justify-content:flex-end;min-width:0;gap:13px;}
.cct-reference-nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;}
.cct-reference-nav .region-link{display:inline-flex;justify-content:center;align-items:center;min-height:35px;padding:6px 15px;white-space:nowrap;background:var(--pink);color:#fff;font-weight:750;border-radius:5px;line-height:1.3;transition:background .15s ease;}
.cct-reference-nav .region-link.current,.cct-reference-nav .region-link:hover{background:#252525;color:#fff;}
.cct-search-toggle{position:relative;flex:none;}
.cct-search-toggle summary{list-style:none;cursor:pointer;width:32px;height:35px;display:flex;align-items:center;justify-content:center;border:1px solid #eee;border-radius:5px;color:#666;background:#fff;font-size:24px;line-height:1;}
.cct-search-toggle summary::-webkit-details-marker{display:none;}
.cct-search-toggle[open] summary,.cct-search-toggle summary:hover{background:#fff1f6;color:var(--pink);border-color:#ffd2df;}
.cct-search-toggle .cct-search{position:absolute;top:calc(100% + 11px);right:0;z-index:30;width:315px;max-width:calc(100vw - 36px);box-shadow:0 12px 28px rgba(0,0,0,.12);border-color:#eee;}
.cct-search-toggle .cct-search input{font-size:14px;}
/* Hide the retired full-width magenta navbar but do not remove any WordPress menu data. */
.main-nav{display:none!important;}
/* Reference-style pink directory with multi-column links and subtle dotted texture. */
.hero-directory{background:var(--cct-pale);padding:29px 0 21px;border-bottom:2px solid var(--cct-rule);position:relative;isolation:isolate;}
.hero-directory::before{content:"";position:absolute;inset:25px 14% 9px 27%;pointer-events:none;opacity:.45;z-index:-1;
  background-image:radial-gradient(circle,rgba(255,77,118,.21) .8px,transparent 1.3px);background-size:8px 8px;
  mask-image:radial-gradient(ellipse 62% 34% at 53% 30%,#000 30%,transparent 100%),radial-gradient(ellipse 40% 50% at 30% 76%,#000 38%,transparent 100%);}
.hero-directory .section-title,.city-block .section-title{margin:0 0 8px;color:#292929;font-weight:800;font-size:18px;line-height:1.45;}
.city-block{padding:0 0 19px;margin:0 0 19px;border-bottom:1px solid var(--cct-rule);}
.hero-directory .city-block:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0;}
.city-block .hint{font-size:13px;line-height:1.35;margin:3px 0 8px;color:#777;}
.city-grid,.state-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:start;column-gap:16px;row-gap:4px;background:transparent;padding:0;min-width:0;}
.hero-directory .city-grid a,.hero-directory .state-grid a{display:block;position:relative;min-width:0;font-size:15px;line-height:1.7;padding:2px 0 2px 14px!important;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;color:#3b3b3b;}
.hero-directory .city-grid a::before,.hero-directory .state-grid a::before{content:'›';position:absolute;left:0;top:0;margin:0;font-size:20px;line-height:1.55;font-weight:750;color:var(--pink);vertical-align:baseline;}
.hero-directory .city-grid a:hover,.hero-directory .state-grid a:hover{color:var(--pink);text-decoration:underline;text-underline-offset:2px;}
.region-empty{margin:14px 0 24px;color:#777;}
/* Region and state intro pages share the reference color system. */
.intro{background:#fff;border-bottom:0;padding:22px 0 10px;box-shadow:none;font-size:15px;}
.intro .wrap{padding:0;}
.intro h1{font-weight:800;font-size:23px;margin:0 0 10px;}
.intro-desc{font-size:15px;line-height:1.8;color:#555;max-width:100%;}
.intro-desc p{margin:0 0 9px;}
.state-directory{padding-top:23px;}
.city-tabs{background:#fff;border-bottom:1px solid #eee;overflow-x:auto;}
.city-tabs .wrap{gap:8px!important;min-width:0;overflow-x:auto;padding:9px 0;}
.city-tabs a{padding:6px 13px;border:1px solid #f3d3dd;background:#fff6f8;color:#444;border-radius:5px;font-weight:650;white-space:nowrap;}
.city-tabs a.active,.city-tabs a:hover{background:var(--pink);color:#fff;border-color:var(--pink);}
/* Thin reference-style trust/count strip. Existing count and text stay live, never hardcoded. */
.notice-bar{border-top:1px solid #f2f2f2;border-bottom:1px solid #dedede;background:#f7f7f7;}
.notice-bar .wrap{min-height:53px;padding-top:8px;padding-bottom:8px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-weight:500;font-size:13px;}
.notice-bar .wrap>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:15px;}
.notice-bar .notice-title{font-size:16px;font-weight:800;line-height:1.45;}
.notice-bar .notice-total{font-size:13px;margin-left:0;color:var(--pink);font-weight:700;}
.notice-bar a{color:var(--pink)!important;font-weight:700;text-decoration:none;}
.notice-bar a:hover{text-decoration:underline;}
/* Listing index, search results and individual cards; do not change thumbnail sources. */
.listing-area{background:#fff;padding:29px 0 60px;overflow:visible;}
.listing-area .wrap,.content-layout.no-side{max-width:var(--cct-container);}
.content-layout.no-side{display:block;}
.content-layout.no-side main{min-width:0;}
.cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;align-items:start;}
.card,.pro-card{background:#fff;border:1px solid #e9e9e9;border-radius:7px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.095);text-align:left;transition:box-shadow .15s ease,transform .15s ease;}
.card:hover{box-shadow:0 6px 21px rgba(0,0,0,.13);transform:translateY(-1px);}
.card-img{aspect-ratio:4/5;background:#f2f2f2;}
/* Original WordPress Media Library image URLs are untouched. */
.card-img img{width:100%;height:100%;object-fit:cover;}
.card-area{font-size:12px;line-height:1.35;padding:5px 7px;background:rgba(0,0,0,.67);}
.pro-card .card-meta{gap:6px;padding:7px 9px 0;font-size:12px;color:#666;}
.pro-card .card-title{padding:7px 9px 2px;font-size:14px;line-height:1.45;font-weight:750;color:#292929;}
.pro-card .card-excerpt{padding:3px 9px 11px;color:#666;font-size:12px;line-height:1.55;}
.pro-card .badge-new{background:var(--pink);color:#fff;}
.card-actions{display:none;} /* matches reference cards; existing card markup and links remain */
.empty{border-radius:7px;background:#fcfcfc;color:#777;}
.search-title{font-size:24px;font-weight:850;margin:3px 0 8px;}
.search-summary{font-size:14px;color:#777;margin-bottom:20px;}
/* Detail pages get the same template system, while leaving gallery files intact. */
.single-page{background:#fff;padding:31px 0 64px;}
.single-page .wrap{max-width:var(--cct-container);}
.single-head{padding-bottom:16px;border-bottom:1px solid #f4ced9;margin-bottom:20px;}
.single-title{font-weight:820;font-size:26px;line-height:1.4;}
.single-loc{font-size:14px;color:var(--cct-muted);}
.single-body{grid-template-columns:minmax(0,1fr) 38%;gap:30px;align-items:start;}
.single-text{font-size:16px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;}
.single-meta{font-size:14px;border-top:1px solid #eee;margin-top:20px;padding-top:14px;}
.gallery,.pro-gallery{gap:10px;}
.gallery img,.pro-gallery img{border-radius:6px;}
.call-btn,.form-box button,.button{background:var(--pink);border-radius:5px;}
.view-btn{border-color:#e9e9e9;}
/* Uniform form, login, registration, account and ordinary content pages. */
.page .listing-area,.single .listing-area{background:#fff;}
.form-box{max-width:800px;margin:10px auto;padding:27px 30px;background:#fff;border:1px solid #efdae0;border-radius:8px;box-shadow:0 3px 17px rgba(0,0,0,.065);}
.form-box h1,.form-box h2{font-size:24px;font-weight:800;line-height:1.4;margin-top:0;margin-bottom:16px;}
.form-box input,.form-box select,.form-box textarea{max-width:100%;border:1px solid #ddd;border-radius:5px;min-height:42px;}
.form-box button,.form-box .button{min-height:38px;}
.form-box input:focus,.form-box select:focus,.form-box textarea:focus{outline:2px solid #ffb3c4;border-color:var(--pink);}
.cct-dashboard,.dash-table,.cct-profile-edit-wrap{max-width:100%;}
.cct-member-listing-row{border-color:#efdae0;border-radius:7px;box-shadow:0 3px 14px rgba(0,0,0,.055);}
.cct-member-thumb img,.cct-profile-logo,.cct-upload-preview img{object-fit:cover;}
.cct-form-success,.cct-form-error,.cct-upload-error{border-radius:5px;}
/* Cohesive compact footer and reference-style floating contact/back-to-top. */
.site-footer{padding:26px 0;background:#f7f7f7;color:#777;border-top:1px solid #e5e5e5;text-align:center;font-size:13px;}
.site-footer .wrap{display:flex;justify-content:center;gap:24px;}
.site-footer .wrap a{font-size:13px;margin:0;color:#666;font-weight:650;}
.site-footer .wrap a:hover{color:var(--pink);}
.float-actions{position:fixed;right:16px;bottom:108px;left:auto;z-index:100;display:flex;flex-direction:column;align-items:center;gap:1px;overflow:visible;box-shadow:0 4px 16px rgba(0,0,0,.10);border-radius:7px;background:#fff;padding:4px;}
.float-actions a{flex:none;display:flex;align-items:center;justify-content:center;width:45px;height:45px;font-size:22px;line-height:1;background:#fff;color:#555;border-radius:4px;}
.float-actions a:hover{color:var(--pink);background:#fff4f7;}
/* Responsive styling retains the native assets and original editing/posting behavior. */
@media(max-width:1050px){
  .brand{font-size:25px;}
  .brand-row{gap:16px;}
  .cct-reference-nav{gap:7px;}
  .cct-reference-nav .region-link{padding:6px 10px;}
  .cards{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:760px){
  .brand-row{flex-direction:column;align-items:stretch;gap:12px;min-height:0;padding:12px 0 13px;}
  .brand{font-size:24px;}
  .brand .brand-logo{width:44px;height:44px;}
  .brand .brand-icon{width:42px;height:42px;}
  .cct-head-actions{justify-content:space-between;gap:7px;}
  .cct-reference-nav{flex:1;justify-content:flex-start;flex-wrap:nowrap;gap:6px;min-width:0;overflow-x:auto;padding:2px 0;scrollbar-width:thin;}
  .cct-reference-nav .region-link{font-size:13px;min-height:34px;padding:5px 10px;}
  .top-strip .wrap{display:flex;min-height:36px;}
  .top-strip .wrap>div:first-child{font-size:12px;max-width:none;}
  body .hero-directory .city-grid,body .hero-directory .state-grid,body .city-block .city-grid,body .city-block .state-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px 10px!important;}
  body .hero-directory .city-grid a,body .hero-directory .state-grid a,body .city-block .city-grid a,body .city-block .state-grid a{font-size:13px!important;line-height:1.5!important;padding:3px 0 3px 13px!important;}
  .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
  .single-body{grid-template-columns:1fr;gap:20px;}
  .pro-gallery{max-width:650px;}
  .notice-bar .wrap{flex-wrap:wrap;gap:5px;padding:10px 0;}
  .notice-bar .notice-title{font-size:14px;}
  .notice-bar .wrap>div:first-child{gap:8px;}
  .float-actions{right:10px;bottom:85px;}
}
@media(max-width:520px){
  .wrap,.hero-directory .wrap,.listing-area .wrap,.notice-bar .wrap,.intro .wrap,.single-page .wrap,.home-copy .wrap{width:calc(100% - 28px);}
  .top-strip .wrap{gap:6px;}
  .top-strip .wrap>div:first-child{font-size:11px;line-height:1.3;max-width:65%;}
  .top-strip .user-menu{gap:8px;}
  .top-strip .user-menu a{font-size:11px;}
  .brand{font-size:21px;gap:8px;white-space:normal;}
  .hero-directory{padding:21px 0 17px;}
  .city-block{margin-bottom:15px;padding-bottom:15px;}
  .hero-directory .section-title,.city-block .section-title{font-size:18px!important;}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .card-img{aspect-ratio:4/5;}
  .single-page{padding-top:22px;}
  .single-title{font-size:22px;}
  .form-box{margin:7px auto;padding:18px 15px;}
  .listing-area{padding:20px 0 40px;}
  .cct-upload-slots{grid-template-columns:1fr;}
  .float-actions{padding:2px;}
  .float-actions a{width:39px!important;height:39px!important;}
  .cct-search-toggle .cct-search{right:0;width:270px;}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card{transition:none;}}

/* 2026-10-15: compact category-only listing-card display (all frontend listing grids).
   Keep the existing thumbnail markup, area overlay, URL and detail-page content. */
.cct-card-category-only .card-link{display:block;height:100%;}
.cct-card-category-only .card-area{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;}
.cct-card-category-only .cct-category-only-meta{
  display:flex;align-items:center;justify-content:center;gap:0;
  margin:0;padding:8px 7px 9px;font-size:13px;line-height:1.3;
  min-height:38px;text-align:center;background:#fff;
}
.cct-card-category-only .cct-category-only-meta .tag{
  display:inline-block;padding:3px 12px;border-radius:3px;
  font-size:12px;font-weight:700;line-height:1.35;
}
.cct-card-category-only .cct-category-only-meta .tag.uncategorized{
  background:#f1f1f1;color:#777;
}
@media(max-width:520px){
  .cct-card-category-only .cct-category-only-meta{padding:7px 5px 8px;min-height:35px;}
  .cct-card-category-only .cct-category-only-meta .tag{font-size:11px;padding:3px 9px;}
}


/* Card settings: keep previews short; display saved category and hours only. */
.cct-card-category-only .cct-card-info-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:6px;row-gap:4px;padding:8px 7px 9px;min-height:38px;}
.cct-card-category-only .cct-card-info-row .tag{flex:0 0 auto;max-width:100%;}
.cct-card-category-only .cct-card-info-row .tag.home-service,
.single-page .tag.home-service{background:#f39237;color:#fff;}
.cct-card-category-only .cct-card-info-row .tag.spa{background:#0d9eaa;color:#fff;}
.cct-card-category-only .cct-card-info-row .cct-card-work-hours{min-width:0;max-width:100%;font-size:12px;color:#555;line-height:1.4;overflow-wrap:anywhere;}
@media(max-width:520px){
  .cct-card-category-only .cct-card-info-row{padding:7px 5px 8px;column-gap:5px;}
  .cct-card-category-only .cct-card-info-row .cct-card-work-hours{font-size:11px;}
}


/* 2026-10-15 — Inner pages: live 热门华人城市 links in right column.
   Overrides the old .side{display:none!important} rule only on explicit inner-page layouts. */
.single-page .content-layout.cct-with-city-sidebar,
.listing-area .content-layout.cct-with-city-sidebar{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 214px!important;
  align-items:start;
  gap:26px;
}
.cct-with-city-sidebar > main{min-width:0;}
.single-page .cct-with-city-sidebar .side,
.listing-area .cct-with-city-sidebar .side{
  display:block!important;
  min-width:0;
  border-left:1px solid #ededed;
  padding:0 0 0 15px;
  background:#fff;
  position:relative;
}
.cct-with-city-sidebar .side-title{font-size:15px;line-height:1.4;margin:0 0 9px;font-weight:750;}
.cct-with-city-sidebar .side-list{display:block;max-width:100%;}
.cct-with-city-sidebar .side-list a{display:block;padding:6px 3px;font-size:13px;line-height:1.45;border-bottom:1px solid #f1f1f1;white-space:normal;}
.cct-with-city-sidebar .side-list a:hover,.cct-with-city-sidebar .side-list a.active{color:var(--pink);}
.single-page .cct-with-city-sidebar .single-body{grid-template-columns:minmax(0,1fr) 41%;gap:18px;}
.cct-media-head-links{display:flex;align-items:center;gap:6px;flex:0 0 auto;}
.cct-media-head-links a{display:inline-flex;align-items:center;justify-content:center;padding:6px 11px;min-height:35px;font-size:13px;font-weight:750;color:#fff;background:var(--pink);border-radius:5px;white-space:nowrap;line-height:1.25;}
.cct-media-head-links a:hover,.cct-media-head-links a:focus-visible{background:#252525;color:#fff;}
.cct-inner-page-article{background:#fff;border:1px solid #f0e3e7;padding:18px 22px;border-radius:7px;min-height:170px;}
.cct-inner-page-article h1{margin:0 0 14px;font-size:25px;line-height:1.4;}
.cct-inner-page-text{line-height:1.8;overflow-wrap:anywhere;}
.cct-inner-page-text iframe,.cct-inner-page-text video{max-width:100%;}
@media(max-width:1100px){.cct-head-actions{gap:7px;}.cct-reference-nav{gap:6px;}.cct-reference-nav .region-link{padding:6px 10px;}.brand{font-size:26px;}}
@media(max-width:820px){
  .single-page .content-layout.cct-with-city-sidebar,.listing-area .content-layout.cct-with-city-sidebar{grid-template-columns:minmax(0,1fr)!important;gap:26px;}
  .single-page .cct-with-city-sidebar .side,.listing-area .cct-with-city-sidebar .side{border-left:0;border-top:1px solid #eee;padding:20px 0 0;}
  .cct-with-city-sidebar .side-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 12px;}
  .cct-media-head-links a{min-height:34px;padding:5px 9px;font-size:13px;}
}
@media(max-width:520px){
  .cct-head-actions{flex-wrap:wrap;}
  .cct-media-head-links{flex:none;}
  .single-page .cct-with-city-sidebar .single-body{grid-template-columns:minmax(0,1fr);}
  .cct-with-city-sidebar .side-list{grid-template-columns:repeat(2,minmax(0,1fr));}
  .cct-inner-page-article{padding:15px 13px;}
}

/* 2026-10-15 RC2: Category chips and saved-hours line open the filtered category archive.
 * The photo remains a separate link to the detail page; no nested anchors. */
.cct-card-category-only .card-link{height:auto;display:block;}
.cct-card-category-only .cct-card-category-link{display:flex;color:#555;text-decoration:none;cursor:pointer;}
.cct-card-category-only .cct-card-category-link:hover,
.cct-card-category-only .cct-card-category-link:focus-visible{background:#fff1f5;color:#252525;outline-offset:-2px;}
.cct-card-category-only .cct-card-category-link:hover .tag,
.cct-card-category-only .cct-card-category-link:focus-visible .tag{filter:brightness(.93);}
.cct-card-category-only .cct-card-category-link .cct-card-work-hours{color:inherit;}
.cct-category-landing{background:#fff5f8;border-bottom:1px solid #f6d8e2;padding:19px 0 16px;}
.cct-category-landing h1{font-weight:800;font-size:23px;line-height:1.4;margin:0 0 12px;}
.cct-category-nav{display:flex;gap:8px;flex-wrap:wrap;}
.cct-category-nav a{display:inline-flex;align-items:center;border:1px solid #f0bed0;padding:7px 16px;min-height:36px;background:#fff;color:#444;border-radius:6px;font-weight:700;font-size:14px;text-decoration:none;}
.cct-category-nav a.active,.cct-category-nav a:hover,.cct-category-nav a:focus-visible{background:var(--pink);color:#fff;border-color:var(--pink);}
.single-page .cct-single-category-link{display:inline-block;text-decoration:none;padding:3px 11px;border-radius:3px;color:#fff;background:#999;}
.single-page .cct-single-category-link.private{background:#ff3b6b;}
.single-page .cct-single-category-link.spa{background:#0d9eaa;}
.single-page .cct-single-category-link.home-service{background:#f39237;}
.single-page .cct-single-category-link:hover,.single-page .cct-single-category-link:focus-visible{filter:brightness(.88);color:#fff;}

/* Admin-only listing card quick editor. */
.cct-admin-card-edit{display:block;margin:3px auto 7px;border:1px solid #f26b8d;border-radius:5px;background:#fff4f7;color:#ae3153;font-size:12px;padding:5px 9px;cursor:pointer;}
.cct-admin-card-edit:hover,.cct-admin-card-edit:focus-visible{background:#ffe3ed;}
.cct-admin-quick-dialog{border:1px solid #ddd;border-radius:12px;max-width:min(92vw,420px);width:420px;box-shadow:0 20px 60px rgba(0,0,0,.25);padding:22px;background:#fff;color:#252525;}
.cct-admin-quick-dialog::backdrop{background:rgba(10,10,10,.48);}
.cct-admin-quick-dialog label{display:block;margin:14px 0 5px;font-weight:700;}
.cct-admin-quick-dialog select,.cct-admin-quick-dialog input{width:100%;padding:9px;border:1px solid #ddd;border-radius:5px;}
.cct-admin-quick-dialog .cct-admin-dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:17px;}
.cct-admin-quick-dialog button{border:1px solid #ddd;border-radius:5px;padding:8px 16px;cursor:pointer;}
.cct-admin-quick-dialog button[type=submit]{background:#fa3e6b;border-color:#fa3e6b;color:#fff;}

/* Logged-in admins can click category/time row to open quick edit. */
.cct-card-category-only:has(.cct-admin-card-edit) .cct-card-info-row{cursor:pointer;outline-offset:2px;}

/* Mobile listing pages: one full-width listing card per row. Keep desktop/tablet grids. */
@media screen and (max-width:760px){
  body .listing-area .cards,
  body .cards{grid-template-columns:minmax(0,1fr)!important;gap:16px;}
  body .cards>.card{min-width:0;width:100%;}
}
/* Quick-edit location options and long administrative labels remain usable on phones. */
.cct-admin-quick-dialog{max-height:calc(100dvh - 32px);overflow-y:auto;}
.cct-admin-quick-dialog #cct-quick-status{overflow-wrap:anywhere;}

/* REVIEW 2026-10-18: premium, compact MOBILE cards, preserving one row per listing.
   Replaces oversized full-width portrait photos only in the listing grid. */
.cct-mobile-card-location{display:none;}
@media screen and (max-width:760px){
  body .listing-area .cards,body .cards{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
  body .cards>.card.cct-card-category-only{
    display:grid;grid-template-columns:clamp(116px,34%,145px) minmax(0,1fr);
    grid-auto-rows:auto;min-height:140px;width:100%;min-width:0;
    border:1px solid #f0e7eb;border-radius:13px;overflow:hidden;
    box-shadow:0 5px 22px rgba(40,20,29,.065);
    background:linear-gradient(155deg,#fff 55%,#fffafd);
    align-content:stretch;
  }
  body .cards>.card.cct-card-category-only:focus-within{box-shadow:0 0 0 2px rgba(255,59,107,.15),0 6px 22px rgba(0,0,0,.08);}
  body .cards>.card.cct-card-category-only .card-link{
    grid-column:1;grid-row:1/span 4;position:relative;display:block;
    height:100%;min-height:140px;overflow:hidden;
  }
  body .cards>.card.cct-card-category-only .card-img{
    position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto!important;
    overflow:hidden;background:#f6eff2;
  }
  body .cards>.card.cct-card-category-only .card-img img{
    display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%;
    transition:transform .25s ease;
  }
  body .cards>.card.cct-card-category-only .card-link:hover img{transform:scale(1.04);}
  body .cards>.card.cct-card-category-only .card-img .card-area{
    font-size:10px;line-height:1.4;padding:5px 7px;background:linear-gradient(0deg,rgba(0,0,0,.73),rgba(0,0,0,.32));
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
  body .cards>.card.cct-card-category-only .card-meta.cct-card-info-row{
    grid-column:2;grid-row:auto;justify-content:flex-start;align-items:center;
    align-content:center;margin:0;min-height:55px;padding:14px 12px 4px;
    row-gap:7px;column-gap:7px;border:0;background:transparent;text-align:left;
  }
  body .cards>.card.cct-card-category-only .cct-card-info-row .tag{
    border-radius:6px;padding:5px 10px;font-size:12px;font-weight:750;line-height:1.3;
  }
  body .cards>.card.cct-card-category-only .cct-card-info-row .cct-card-work-hours{
    color:#67616a;font-size:12px;line-height:1.45;overflow-wrap:anywhere;
  }
  body .cards>.card.cct-card-category-only .cct-mobile-card-location{
    grid-column:2;display:block;align-self:start;min-width:0;
    padding:5px 12px 11px;color:#7b6b73;font-size:12px;line-height:1.4;
    overflow-wrap:anywhere;
  }
  body .cards>.card.cct-card-category-only .cct-mobile-card-location>span{color:#cf607d;font-weight:800;}
  body .cards>.card.cct-card-category-only .cct-admin-card-edit{
    grid-column:2;grid-row:auto;justify-self:start;margin:0 12px 11px;
    font-size:11px;line-height:1.25;padding:7px 9px;
    border-radius:7px;max-width:calc(100% - 24px);text-align:center;
  }
  body .listing-area{padding-top:19px;}
}
@media screen and (max-width:380px){
  body .cards>.card.cct-card-category-only{grid-template-columns:112px minmax(0,1fr);min-height:133px;}
  body .cards>.card.cct-card-category-only .card-link{min-height:133px;}
  body .cards>.card.cct-card-category-only .card-meta.cct-card-info-row{padding:11px 9px 4px;}
  body .cards>.card.cct-card-category-only .cct-mobile-card-location{padding:4px 9px 8px;font-size:11px;}
}

/* Top 10-slot paid-ad image carousel; draws only configured Media Library images. */
.cct-ad-slider{width:100%;padding:17px 0 9px;background:linear-gradient(180deg,#fff,#fffafd);}
.cct-ad-slider>.wrap{width:min(100% - 36px,var(--cct-container));max-width:var(--cct-container);margin:0 auto;padding:0;}
.cct-ad-frame{position:relative;height:clamp(160px,22vw,256px);border-radius:15px;overflow:hidden;background:#f7eaf0;box-shadow:0 10px 31px rgba(70,25,47,.10);border:1px solid #f0e1e8;isolation:isolate;}
.cct-ad-slide{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .45s ease,visibility .45s ease;}
.cct-ad-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1;}
.cct-ad-slide-link,.cct-ad-slide-link picture{display:block;width:100%;height:100%;}
.cct-ad-slide-link img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
.cct-ad-disclosure{position:absolute;z-index:2;top:12px;left:13px;border-radius:5px;padding:3px 9px;font-size:11px;font-weight:750;line-height:1.5;letter-spacing:.02em;background:rgba(20,20,20,.67);color:#fff;pointer-events:none;}
.cct-ad-caption{position:absolute;z-index:2;bottom:17px;left:20px;max-width:calc(100% - 90px);border-radius:8px;padding:7px 12px;font-size:16px;line-height:1.45;font-weight:750;letter-spacing:.01em;color:#fff;background:rgba(21,19,22,.65);backdrop-filter:blur(8px);pointer-events:none;}
.cct-ad-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:39px;height:44px;border:0;border-radius:9px;background:rgba(24,20,24,.42);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0;transition:background .15s ease;}
.cct-ad-arrow span{display:block;line-height:1;font-size:37px;font-weight:300;margin-top:-5px;}
.cct-ad-arrow:hover,.cct-ad-arrow:focus-visible{background:rgba(24,20,24,.78);}
.cct-ad-prev{left:10px;}.cct-ad-next{right:10px;}
.cct-ad-count{position:absolute;z-index:4;bottom:12px;right:13px;padding:3px 9px;border-radius:99px;background:rgba(20,20,20,.58);color:#fff;font-weight:500;font-size:11px;line-height:1.6;letter-spacing:.08em;}
.cct-ad-count b{font-weight:800;}
.cct-ad-dots{display:flex;align-items:center;justify-content:center;gap:7px;min-height:30px;padding:10px 8px 0;}
.cct-ad-dot{width:7px;height:7px;border:0;border-radius:99px;padding:0;flex:0 0 auto;background:#d9c7cf;cursor:pointer;transition:width .2s ease,background .2s ease;}
.cct-ad-dot.is-active{width:24px;background:var(--pink);}
.cct-ad-dot:focus-visible{outline:2px solid var(--pink);outline-offset:3px;}
@media(max-width:760px){
  .cct-ad-slider{padding:12px 0 5px;}
  .cct-ad-slider>.wrap{width:calc(100% - 24px);}
  .cct-ad-frame{height:clamp(135px,45vw,205px);border-radius:12px;box-shadow:0 5px 19px rgba(70,25,47,.08);}
  .cct-ad-disclosure{top:8px;left:9px;font-size:10px;padding:2px 7px;}
  .cct-ad-caption{bottom:10px;left:10px;max-width:calc(100% - 78px);font-size:12px;padding:5px 8px;border-radius:6px;}
  .cct-ad-arrow{width:29px;height:34px;border-radius:7px;}
  .cct-ad-arrow span{font-size:30px;margin-top:-3px;}
  .cct-ad-prev{left:6px;}.cct-ad-next{right:6px;}
  .cct-ad-count{bottom:9px;right:8px;font-size:10px;padding:2px 7px;}
  .cct-ad-dots{gap:6px;min-height:27px;padding-top:9px;}
}
@media(prefers-reduced-motion:reduce){.cct-ad-slide,.cct-ad-dot,.cct-ad-arrow{transition:none!important;}}

/* v5.1.0 review02: requested mobile full-width images and visible top slider fallback. */
.cct-ad-overlay{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;gap:0;pointer-events:none;}
.cct-ad-overlay .cct-ad-caption{position:static;display:block;max-width:none;margin:0;padding:10px 16px 6px;border-radius:0;background:linear-gradient(180deg,rgba(19,18,22,0),rgba(19,18,22,.82));font-size:20px;line-height:1.28;font-weight:850;color:#fff;backdrop-filter:none;}
.cct-ad-subcaption{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 16px 10px;background:linear-gradient(90deg,#ff2f74,#ff4f86);color:#fff;font-size:13px;line-height:1.45;font-weight:650;}
.cct-ad-location{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.cct-ad-hours{flex:none;display:inline-flex;align-items:center;justify-content:center;padding:3px 10px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(255,255,255,.12);font-size:12px;font-weight:800;}
@media(max-width:760px){
  .cct-ad-frame{height:clamp(180px,56vw,280px);}
  .cct-ad-overlay .cct-ad-caption{padding:9px 12px 5px;font-size:15px;line-height:1.3;}
  .cct-ad-subcaption{padding:7px 12px 8px;gap:8px;font-size:11px;}
  .cct-ad-hours{font-size:10px;padding:2px 8px;}
}

@media(max-width:560px){
  body .cards{grid-template-columns:minmax(0,1fr)!important;gap:16px;}
  body .cards>.card.cct-card-category-only{
    display:block!important;min-height:0!important;border-radius:12px;overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.09);border-color:#efefef;
  }
  body .cards>.card.cct-card-category-only .card-link{display:block;min-height:0!important;}
  body .cards>.card.cct-card-category-only .card-img{
    position:relative!important;inset:auto!important;width:100%!important;height:auto!important;
    aspect-ratio:16/10!important;min-height:0!important;background:#f6eff2;
  }
  body .cards>.card.cct-card-category-only .card-img img{
    width:100%;height:100%;object-fit:cover;object-position:center 18%;
  }
  body .cards>.card.cct-card-category-only .card-img .card-area{
    font-size:12px;line-height:1.45;padding:7px 10px;
    background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,.22));
  }
  body .cards>.card.cct-card-category-only .card-meta.cct-card-info-row{
    display:flex!important;grid-column:auto!important;justify-content:flex-start;align-items:center;
    margin:0!important;min-height:0!important;padding:10px 12px 5px!important;
    row-gap:8px;column-gap:8px;
  }
  body .cards>.card.cct-card-category-only .cct-mobile-card-location{
    display:block!important;grid-column:auto!important;align-self:auto!important;
    padding:0 12px 10px!important;font-size:13px;line-height:1.45;
  }
  body .cards>.card.cct-card-category-only .cct-admin-card-edit{
    display:inline-block!important;grid-column:auto!important;justify-self:auto!important;
    margin:0 12px 12px!important;padding:7px 10px;font-size:12px;
  }
}


/* 168realty REVIEW04 — mobile mixed listing layout.
 * First 8 directory/search listing cards: keep existing full-width full-view cards unchanged.
 * Card 9 onward: switch from 2-column grid to 1-column descriptive cards.
 * Desktop, top slider, and quick-edit behavior remain unchanged.
 */
body .cards > .card.cct-card-category-only .cct-mobile-card-copy{display:none;}
@media screen and (max-width:760px){
  body .listing-area .cards,
  body .cards{
    display:grid;
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
    align-items:start;
  }
  body .cards > .card.cct-card-category-only:nth-child(-n+8){
    grid-column:1 / -1;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9){
    display:grid!important;
    grid-template-columns:clamp(128px,39%,155px) minmax(0,1fr);
    grid-auto-rows:auto;
    align-items:start;
    width:100%;
    min-width:0!important;
    min-height:0!important;
    border:1px solid #efeaed;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 6px 20px rgba(30,20,30,.08);
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .card-link{
    grid-column:1;
    grid-row:1 / span 5;
    display:block!important;
    position:relative;
    width:100%;
    height:100%;
    min-height:168px!important;
    overflow:hidden;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .card-img{
    position:absolute!important;
    inset:0!important;
    display:block;
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
    aspect-ratio:auto!important;
    overflow:hidden;
    background:#f5eff2;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .card-img img{
    position:absolute;
    inset:0;
    width:100%!important;
    height:100%!important;
    display:block;
    object-fit:cover;
    object-position:center 22%;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .card-img .card-area{
    font-size:10px;
    padding:4px 7px;
    background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.25));
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .badge-new{
    top:6px;left:6px;font-size:10px;padding:1px 6px;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .card-meta.cct-card-info-row{
    grid-column:2;
    grid-row:1;
    display:flex!important;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:5px 6px;
    min-width:0;
    margin:0!important;
    min-height:0!important;
    padding:12px 12px 4px!important;
    text-align:left;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .cct-card-info-row .tag{
    font-size:11px;
    line-height:1.3;
    padding:4px 8px;
    border-radius:6px;
    white-space:nowrap;
    max-width:100%;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .cct-card-work-hours{
    font-size:11px!important;
    line-height:1.4;
    min-width:0;
    max-width:100%;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .cct-mobile-card-copy{
    display:block;
    grid-column:2;
    grid-row:2;
    min-width:0;
    padding:0 12px 4px;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .card-title{
    margin:0;
    padding:0;
    font-size:15px;
    line-height:1.35;
    font-weight:800;
    color:#222;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .card-excerpt{
    margin-top:7px;
    padding:0;
    color:#555;
    font-size:12px;
    line-height:1.55;
    display:-webkit-box;
    -webkit-line-clamp:5;
    -webkit-box-orient:vertical;
    overflow:hidden;
    word-break:break-word;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .cct-mobile-card-location{
    display:block!important;
    grid-column:2;
    grid-row:3;
    min-width:0;
    padding:3px 12px 11px!important;
    font-size:11px!important;
    line-height:1.45;
    color:#7a6b73;
    overflow-wrap:anywhere;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .cct-admin-card-edit{
    display:inline-block!important;
    grid-column:2;
    grid-row:4;
    justify-self:start!important;
    margin:0 12px 11px!important;
    font-size:10px!important;
    line-height:1.35;
    padding:5px 7px;
    max-width:calc(100% - 24px);
  }
}
@media screen and (max-width:380px){
  body .cards > .card.cct-card-category-only:nth-child(n+9){
    grid-template-columns:118px minmax(0,1fr);
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .card-link{
    min-height:155px!important;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .card-meta.cct-card-info-row{
    padding:10px 10px 4px!important;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .cct-mobile-card-copy{
    padding:0 10px 4px;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .card-title{
    font-size:14px;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .card-excerpt{
    font-size:11px;
    margin-top:6px;
    -webkit-line-clamp:4;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .cct-mobile-card-location{
    padding:2px 10px 9px!important;
    font-size:10px!important;
  }
  body .cards > .card.cct-card-category-only:nth-child(n+9) .cct-admin-card-edit{
    margin:0 10px 9px!important;
  }
}


/* REVIEW05 — mobile state → city menu. No desktop navigation or listing changes. */
.cct-mobile-location-menu{display:none;}
@media screen and (max-width:760px){
  .site-head{z-index:60;}
  .site-head .brand-row{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    column-gap:10px;
    row-gap:9px;
    align-items:center;
    padding-top:10px;
    padding-bottom:10px;
  }
  .site-head .brand-row > .brand{
    grid-column:2;
    grid-row:1;
    justify-self:center;
    text-align:center;
    min-width:0;
    max-width:100%;
    margin-right:65px;
    font-size:clamp(18px,5vw,24px);
  }
  .site-head .brand-row > .brand > span:last-child{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .site-head .brand-row > .cct-head-actions{
    grid-column:1 / -1;
    grid-row:2;
    justify-content:space-between;
    min-width:0;
  }
  .cct-mobile-location-menu{
    display:block;
    grid-column:1;
    grid-row:1;
    z-index:90;
  }
  .cct-mobile-menu-trigger{
    display:flex;
    align-items:center;
    gap:7px;
    list-style:none;
    background:#fff3f7;
    color:#ce2854;
    border:1px solid #ffd3e1;
    border-radius:11px;
    padding:8px 10px;
    font-weight:800;
    font-size:13px;
    line-height:1.25;
    min-height:42px;
    cursor:pointer;
    user-select:none;
  }
  .cct-mobile-menu-trigger::-webkit-details-marker{display:none;}
  .cct-mobile-menu-hamburger{width:17px;display:grid;gap:3px;}
  .cct-mobile-menu-hamburger i{display:block;height:2px;width:100%;border-radius:2px;background:currentColor;}
  .cct-mobile-location-menu[open]>.cct-mobile-menu-trigger{background:#ff3b6b;border-color:#ff3b6b;color:#fff;}
  .cct-mobile-menu-panel{
    position:absolute;
    top:calc(100% - 1px);
    left:12px;
    right:12px;
    z-index:95;
    background:#fff;
    border:1px solid #f1dce4;
    border-radius:0 0 16px 16px;
    box-shadow:0 16px 36px rgba(30,18,32,.19);
    max-height:min(72dvh,650px);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding:12px 12px 15px;
  }
  .cct-mobile-menu-header{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:3px 6px 12px;border-bottom:1px solid #f1e6e9;}
  .cct-mobile-menu-header strong{font-size:16px;color:#29232a;}
  .cct-mobile-menu-header span{font-size:11px;color:#8b7a83;}
  .cct-mobile-menu-home{display:flex;justify-content:space-between;align-items:center;color:#40313a;border-radius:9px;background:#fff5f8;padding:12px 14px;font-size:14px;font-weight:750;margin:11px 0 9px;}
  .cct-mobile-menu-home.is-current,.cct-mobile-menu-home:hover{background:#ffe4ed;color:#c92153;}
  .cct-mobile-menu-states{display:grid;gap:7px;}
  .cct-mobile-menu-state{border:1px solid #f1e9ed;border-radius:10px;background:#fff;overflow:hidden;}
  .cct-mobile-menu-state > summary{list-style:none;display:flex;align-items:center;gap:8px;padding:11px 12px;min-height:43px;color:#29232a;font-size:14px;font-weight:750;cursor:pointer;}
  .cct-mobile-menu-state > summary::-webkit-details-marker{display:none;}
  .cct-mobile-menu-state > summary small{margin-left:auto;font-size:11px;color:#999;font-weight:500;}
  .cct-mobile-state-chevron{color:#fb3b70;font-size:21px;line-height:1;transition:transform .2s ease;}
  .cct-mobile-menu-state[open] > summary{background:#fff2f7;color:#cb2853;}
  .cct-mobile-menu-state[open] .cct-mobile-state-chevron{transform:rotate(90deg);}
  .cct-mobile-menu-cities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px;border-top:1px solid #f3e6eb;}
  .cct-mobile-menu-cities a{display:block;min-width:0;padding:9px 7px;border:1px solid #f3e9ed;border-radius:7px;text-align:center;font-size:13px;line-height:1.4;color:#4c4045;overflow-wrap:anywhere;}
  .cct-mobile-menu-cities a:hover,.cct-mobile-menu-cities a.is-current{background:#ffedf3;color:#c92153;border-color:#fbd0df;}
  .cct-mobile-menu-cities .cct-mobile-view-state{grid-column:1 / -1;text-align:left;padding:10px 12px;color:#c92153;background:#fff7fa;font-weight:750;}
}
@media screen and (max-width:370px){
  .site-head .brand-row > .brand{margin-right:0;justify-self:end;font-size:18px;}
  .cct-mobile-menu-trigger{padding:8px;font-size:12px;min-height:40px;}
}
@media(prefers-reduced-motion:reduce){.cct-mobile-state-chevron{transition:none!important;}}


/* REVIEW06 — premium listing contact presentation and responsive fixed bottom navigation. */
.cct-premium-single-head{padding:18px 22px 19px;border:1px solid #f2dce4;border-radius:14px;background:linear-gradient(135deg,#fff,#fff7fa);box-shadow:0 7px 22px rgba(60,22,38,.055);}
.cct-premium-single-head .single-title{margin:0 0 9px;font-size:clamp(21px,2.2vw,28px);line-height:1.4;}
.cct-premium-single-head .single-loc{display:inline-flex;align-items:center;gap:4px;color:#a34c66;font-size:13px;font-weight:650;}
.cct-premium-contact{margin:18px 0 15px;padding:18px;border:1px solid #efdae2;border-radius:15px;background:linear-gradient(145deg,#fffafd,#fff);box-shadow:0 8px 26px rgba(50,14,30,.07);}
.cct-premium-contact-heading{display:flex;align-items:center;gap:11px;margin-bottom:10px;}
.cct-premium-contact-heading>span:first-child{display:grid;place-items:center;width:35px;height:35px;flex:none;border-radius:12px;background:#ffe6ef;color:#cb2455;font-size:23px;}
.cct-premium-contact-heading>span:last-child{display:grid;gap:2px;}
.cct-premium-contact-heading strong{font-weight:850;font-size:15px;color:#2c2430;}
.cct-premium-contact-heading small{font-size:12px;color:#85777f;}
.cct-premium-phone-number{font-size:clamp(17px,3vw,23px);font-weight:850;letter-spacing:.025em;color:#2c2730;overflow-wrap:anywhere;margin:0 0 13px;}
.cct-premium-contact-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.cct-premium-contact-buttons .cct-premium-contact-btn{display:flex;align-items:center;justify-content:center;min-height:44px;gap:5px;padding:10px 8px;border-radius:10px;font-size:14px;font-weight:800;text-decoration:none;line-height:1.4;}
.cct-premium-call{background:#ff3b70;color:#fff;border:1px solid #ff3b70;}
.cct-premium-call:hover{color:#fff;background:#d9275b;}
.cct-premium-sms{background:#fff;color:#bd2851;border:1px solid #f4b4ca;}
.cct-premium-sms:hover{background:#fff0f5;color:#ad1542;}
.cct-mobile-bottom-bar{display:none;}
@media(max-width:760px){
  body{padding-bottom:calc(66px + env(safe-area-inset-bottom,0px));}
  .cct-mobile-bottom-bar{position:fixed;left:0;bottom:0;right:0;z-index:800;display:flex;align-items:stretch;justify-content:space-around;gap:0;min-height:61px;padding:4px 4px calc(4px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.97);border-top:1px solid #efdbe2;box-shadow:0 -7px 25px rgba(42,18,31,.08);backdrop-filter:blur(12px);}
  .cct-mobile-bottom-bar .cct-bottom-nav-link{flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:52px;padding:3px 1px;color:#55434d;background:transparent;border:0;border-radius:9px;text-align:center;font-size:10px;font-weight:750;line-height:1.25;white-space:nowrap;text-decoration:none;cursor:pointer;}
  .cct-mobile-bottom-bar .cct-bottom-nav-link:hover,.cct-mobile-bottom-bar .cct-bottom-nav-link:focus-visible{background:#fff1f6;color:#dc255c;}
  .cct-mobile-bottom-bar .cct-bottom-icon{height:24px;display:grid;place-items:center;color:#e52b62;font-size:23px;font-weight:700;line-height:1;}
  .cct-mobile-bottom-bar .cct-bottom-wechat-icon{color:#18a960;}
  .cct-bottom-wechat{position:relative;flex:1 1 0;min-width:0;}
  .cct-bottom-wechat summary::-webkit-details-marker{display:none;}
  .cct-bottom-wechat>summary{list-style:none;width:100%;}
  .cct-wechat-popover{position:absolute;right:0;bottom:calc(100% + 14px);width:min(276px,calc(100vw - 25px));padding:15px 16px 14px;border:1px solid #cfe9d8;border-radius:13px;background:#fff;box-shadow:0 12px 32px rgba(26,66,43,.17);color:#27392e;text-align:left;}
  .cct-wechat-popover strong{font-weight:850;font-size:16px;}
  .cct-wechat-popover p{font-size:14px;margin:10px 0;overflow-wrap:anywhere;}
  .cct-wechat-popover button{display:block;width:100%;padding:9px 12px;border:0;border-radius:8px;background:#18a960;color:#fff;font-weight:800;cursor:pointer;}
  .cct-wechat-popover small{display:block;margin-top:9px;font-size:11px;color:#718678;}
  .cct-premium-single-head{padding:15px 16px;}
  .cct-premium-contact{padding:14px;}
  .cct-premium-contact-buttons{gap:8px;}
  .cct-premium-contact-buttons .cct-premium-contact-btn{font-size:13px;}
}

/* REVIEW07 — listing-specific social icons immediately below saved address. */
.single-page .cct-listing-social-panel{margin-top:17px;border:1px solid #f3dbe5;border-radius:15px;padding:17px;background:linear-gradient(135deg,#fff,#fff7fa);box-shadow:0 8px 23px rgba(79,25,48,.05);}
.single-page .cct-listing-social-title{font-size:15px;font-weight:850;color:#30272d;display:flex;flex-wrap:wrap;align-items:baseline;gap:7px;margin-bottom:13px;}
.single-page .cct-listing-social-title span{font-size:11px;font-weight:500;color:#8b7e85;}
.single-page .cct-listing-social-row{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;}
.single-page .cct-listing-social-btn{min-width:112px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;border-radius:11px;font-family:inherit;font-size:13px;font-weight:800;line-height:1.3;cursor:pointer;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease;}
.single-page .cct-listing-social-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.10);}
.single-page .cct-listing-social-btn:focus-visible{outline:3px solid #313131;outline-offset:3px;}
.single-page .cct-listing-social-btn .cct-social-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;}
.single-page .cct-social-whatsapp{background:#20b968;color:#fff;border:1px solid #20b968;}
.single-page .cct-social-whatsapp:hover{color:#fff;}
.single-page .cct-social-line{background:#12b93d;color:#fff;border:1px solid #12b93d;}
.single-page .cct-social-line:hover{color:#fff;}
.single-page .cct-icon-line{font-size:7px;font-weight:900;border-radius:4px;padding:2px 3px;background:#fff;color:#12b93d;letter-spacing:-.4px;}
.single-page .cct-social-wechat{background:#fff;color:#16894e;border:1px solid #a7d8bc;}
.single-page .cct-social-wechat:hover{color:#08763e;}
.single-page .cct-social-wechat-id{font-size:12px;color:#3d6350;margin:10px 0 0;overflow-wrap:anywhere;}
.single-page .cct-contact-copy-status{font-weight:750;color:#16894e;}
.single-page .cct-social-none{font-size:12px;color:#888;margin:0 0 10px;}
.single-page .cct-contact-origin{margin:14px 0 0;font-size:13px;color:#6e4757;line-height:1.6;background:#fff0f5;border-left:3px solid #ff3b70;border-radius:5px;padding:9px 11px;}
.single-page .cct-contact-origin a{color:#c71d56;font-weight:850;text-decoration:underline;text-underline-offset:2px;}
.single-page .cct-detail-gallery-single{grid-template-columns:1fr;}
.single-page .cct-detail-gallery-single img:first-child{grid-row:auto;max-height:550px;object-fit:contain;background:#fff5f8;}
@media(max-width:520px){
 .single-page .cct-listing-social-panel{padding:13px;}
 .single-page .cct-listing-social-row{gap:7px;}
 .single-page .cct-listing-social-btn{flex:1 1 27%;min-width:0;padding:9px 5px;gap:4px;font-size:12px;}
}
@media(prefers-reduced-motion:reduce){.single-page .cct-listing-social-btn{transition:none;}}

/* Unconfigured social channels remain visibly identified but cannot be clicked. */
.single-page .cct-social-unavailable{color:#969199;border:1px dashed #dcd7db;background:#f7f6f7;cursor:default;box-shadow:none;}
.single-page .cct-social-unavailable:hover{transform:none;box-shadow:none;}
.single-page .cct-icon-mini{font-size:10px;font-weight:900;letter-spacing:-.4px;}

/* REVIEW11 — desktop reference homepage: one main feed, slim right city column.
   Scoped to the front page; mobile cards, inner pages and 10-ad controls unchanged. */
.cct-home-reference {background:#f7eaf0;}
.cct-home-reference > .cct-home-frame {
  max-width:1120px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 206px;
  gap:0;
  background:#fff;
  align-items:stretch;
  padding:0;
}
.cct-home-reference .cct-home-main {min-width:0;background:#fff;}
.cct-home-reference .cct-home-intro-box {
  padding:32px 40px 27px;
  font-size:16px;
  line-height:1.85;
  color:#343434;
  border-bottom:2px solid #ff466d;
  overflow-wrap:break-word;
}
.cct-home-reference .cct-home-intro-box p {margin:0 0 17px;}
.cct-home-reference .cct-home-intro-box p:last-child{margin-bottom:0;}
.cct-home-reference .cct-home-location-side.side {
  display:block!important;
  min-width:0;
  width:auto;
  border-left:1px solid #ececec;
  padding:13px 13px 30px 18px;
  margin:0;
  background:#fff;
  align-self:stretch;
}
.cct-home-reference .cct-home-location-side .side-title{
  font-size:13px;line-height:1.55;font-weight:800;margin:0 0 8px;
  padding:0 0 8px;border-bottom:1px solid #eee;color:#303030;
}
.cct-home-reference .cct-home-location-side .side-list{display:block;border:0;}
.cct-home-reference .cct-home-location-side .side-list a{
  display:flex;align-items:baseline;gap:4px;
  padding:5px 1px;line-height:1.45;font-size:13px;
  font-weight:500;border-bottom:1px solid #f1f1f1;color:#424242;
  min-width:0;
}
.cct-home-reference .cct-home-location-side .side-list a:hover,
.cct-home-reference .cct-home-location-side .side-list a:focus-visible {color:var(--pink);}
.cct-home-reference .cct-home-location-side .side-list small{
  color:#9b9b9b;font-size:12px;white-space:nowrap;
}
/* Banner remains inside the left feed rather than stretching under the right city column. */
.cct-home-reference .cct-home-main .cct-ad-slider {padding:16px 0 7px;background:#fff;max-width:100%;}
.cct-home-reference .cct-home-main .cct-ad-slider>.wrap {
  width:100%;max-width:none;padding:0 16px;
}
.cct-home-reference .cct-home-main .cct-ad-frame {height:clamp(160px,22vw,250px);}
.cct-home-reference .cct-home-notice{background:#f9f9f9;border-top:1px solid #eee;border-bottom:1px solid #dedede;}
.cct-home-reference .cct-home-notice-inner {
  min-height:52px;display:flex;align-items:center;justify-content:space-between;
  gap:10px;padding:8px 20px;flex-wrap:wrap;
}
.cct-home-reference .cct-notice-left,.cct-home-reference .cct-notice-right {display:flex;align-items:center;gap:14px;min-width:0;}
.cct-home-reference .notice-title {font-size:15px;font-weight:800;line-height:1.4;}
.cct-home-reference .notice-total {margin-left:0;color:#fc3b6a;font-size:13px;white-space:nowrap;}
.cct-home-reference .cct-notice-right {font-size:11px;line-height:1.4;color:#777;}
.cct-home-reference .cct-notice-right a {color:var(--pink);white-space:nowrap;}
.cct-home-reference .cct-home-listing-area {background:#fff;padding:22px 16px 38px;overflow:visible;}
.cct-home-reference .cct-home-listing-area .cards {
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;
}
.cct-home-reference .cct-home-listing-area .card {
  min-width:0;border:1px solid #ededed;border-radius:9px;
  box-shadow:0 3px 13px rgba(0,0,0,.11);background:#fff;overflow:hidden;
}
/* The compact saved title/description already provided by the card helper. */
@media screen and (min-width:821px){
  body .cct-home-reference .cct-home-listing-area .cards > .card.cct-card-category-only .cct-mobile-card-copy {
    display:block!important;padding:4px 7px 9px;
  }
  .cct-home-reference .cct-home-listing-area .card .card-title{
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    overflow:hidden;padding:0;margin:0 0 4px;font-size:12px;line-height:1.4;font-weight:700;
  }
  .cct-home-reference .cct-home-listing-area .card .card-excerpt{
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    overflow:hidden;padding:0;font-size:11px;line-height:1.45;color:#777;
  }
}
@media screen and (min-width:821px) and (max-width:1100px){
  .cct-home-reference .cct-home-frame{grid-template-columns:minmax(0,1fr) 190px;}
  .cct-home-reference .cct-home-listing-area .cards{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media screen and (max-width:820px){
  /* Mobile already has State → City in its menu and bottom bar. */
  .cct-home-reference > .cct-home-frame{display:block;width:100%;}
  .cct-home-reference .cct-home-location-side.side{display:none!important;}
  .cct-home-reference .cct-home-intro-box{padding:18px 16px;font-size:14px;line-height:1.75;}
  .cct-home-reference .cct-home-main .cct-ad-slider{padding:10px 0 6px;}
  .cct-home-reference .cct-home-main .cct-ad-slider>.wrap{width:100%;padding:0 12px;}
  .cct-home-reference .cct-home-main .cct-ad-frame{height:clamp(180px,56vw,280px);}
  .cct-home-reference .cct-home-notice-inner{padding:10px 12px;min-height:0;}
  .cct-home-reference .cct-notice-right{font-size:11px;}
  .cct-home-reference .cct-home-listing-area {padding:16px 12px 40px;}
}
@media screen and (min-width:761px) and (max-width:820px){
  .cct-home-reference .cct-home-listing-area .cards{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media screen and (max-width:760px){
  /* Preserve Review 4/7 mobile rule: first 8 full, later rows descriptive. */
  .cct-home-reference .cct-home-listing-area .cards{
    grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
  }
}


/* REVIEW12 — compact US state → city modal below the new homepage introduction. */
.cct-home-reference .cct-home-about-copy {padding-bottom:22px;border-bottom:0;}
.cct-home-reference .cct-home-about-copy .cct-about-brand {color:#fa3468;font-weight:800;text-decoration:none;}
.cct-home-reference .cct-home-about-copy .cct-about-brand:hover {text-decoration:underline;}
.cct-home-reference .cct-home-country-picker {display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 40px 18px;border-bottom:2px solid #ff466d;}
.cct-home-reference .cct-country-popup-trigger {display:inline-flex;align-items:center;gap:13px;min-height:44px;padding:7px 14px;border:1px solid #ffd5e0;background:#fff4f7;color:#232323;border-radius:9px;cursor:pointer;box-shadow:0 2px 7px rgba(120,31,58,.05);font:inherit;}
.cct-home-reference .cct-country-popup-trigger:hover,.cct-home-reference .cct-country-popup-trigger:focus-visible {border-color:#ff4a78;background:#ffe9f0;outline-offset:2px;}
.cct-country-name {font-size:17px;font-weight:850;white-space:nowrap;}
.cct-country-name span {font-size:16px;color:#f42e64;}
.cct-country-hint {font-size:13px;font-weight:650;color:#c82b58;}
.cct-country-help {color:#888;font-size:12px;}
.cct-country-dialog {box-sizing:border-box;border:1px solid #f3dce4;padding:0;width:min(92vw,680px);max-height:min(80dvh,740px);border-radius:16px;box-shadow:0 25px 90px rgba(18,10,16,.30);background:#fff;color:#242424;overflow:hidden;}
.cct-country-dialog[open] {display:flex;flex-direction:column;}
.cct-country-dialog::backdrop {background:rgba(14,10,17,.63);}
.cct-country-dialog-head {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:19px 22px 14px;border-bottom:1px solid #f0e2e8;}
.cct-country-dialog-head h2 {margin:0;font-size:20px;line-height:1.4;}
.cct-country-dialog-head p {margin:4px 0 0;color:#777;font-size:12px;}
.cct-country-close {flex:none;cursor:pointer;background:#fff2f6;border:0;border-radius:8px;color:#bd315d;width:38px;height:38px;display:grid;place-items:center;font-size:27px;line-height:1;}
.cct-country-dialog-body {padding:17px 22px 23px;overflow-y:auto;min-height:0;overscroll-behavior:contain;}
.cct-country-dialog-body label {display:block;font-weight:700;font-size:13px;margin-bottom:7px;}
#cct-country-search {width:100%;height:43px;border:1px solid #e5d7de;border-radius:8px;padding:0 12px;margin:0 0 15px;font-size:15px;background:#fff;color:#222;}
#cct-country-search:focus-visible {outline:2px solid #ff4776;outline-offset:1px;}
.cct-country-state-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start;}
.cct-country-state {min-width:0;overflow:hidden;border:1px solid #efe3e8;border-radius:10px;background:#fff;}
.cct-country-state > summary {list-style:none;display:flex;align-items:center;gap:6px;padding:12px 11px;cursor:pointer;font-size:14px;line-height:1.35;font-weight:750;}
.cct-country-state > summary::-webkit-details-marker{display:none;}
.cct-country-state > summary small {font-size:10px;font-weight:500;color:#888;margin-left:auto;white-space:nowrap;}
.cct-country-chevron {margin-left:3px;font-size:20px;color:#ff3b6b;transition:transform .15s ease;}
.cct-country-state[open] > summary {background:#fff1f5;color:#b92853;}
.cct-country-state[open] .cct-country-chevron {transform:rotate(90deg);}
.cct-country-city-grid {padding:9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;border-top:1px solid #f1e3e8;}
.cct-country-city-grid a {display:block;padding:7px 5px;border:1px solid #f2e7eb;border-radius:6px;text-align:center;font-size:12px;line-height:1.4;overflow-wrap:anywhere;}
.cct-country-city-grid a:hover,.cct-country-city-grid a:focus-visible{background:#fff2f7;color:#c22a56;}
.cct-country-city-grid .cct-country-all {grid-column:1 / -1;text-align:left;color:#c22a56;background:#fff7fa;padding:8px 10px;font-weight:750;}
.cct-country-empty {color:#777;font-size:13px;padding:14px 0;text-align:center;}
@media screen and (max-width:820px){
  .cct-home-reference .cct-home-country-picker {padding:0 16px 16px;}
}
@media screen and (max-width:480px){
  .cct-home-reference .cct-country-popup-trigger{min-height:42px;gap:9px;padding:7px 12px;}
  .cct-country-name{font-size:15px;}
  .cct-country-hint{font-size:11px;}
  .cct-country-help{display:none;}
  .cct-country-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 58px);border-radius:13px;}
  .cct-country-dialog-head{padding:14px 14px 12px;}
  .cct-country-dialog-head h2{font-size:17px;}
  .cct-country-dialog-body{padding:13px 12px 16px;}
  .cct-country-state-list{grid-template-columns:1fr;gap:7px;}
}
@media(prefers-reduced-motion:reduce){.cct-country-chevron{transition:none;}}
/* Explicitly override authored display rules when filtering popup locations. */
.cct-country-state-list [hidden],.cct-country-city-grid a[hidden]{display:none!important;}


/* REVIEW14 — homepage only. Everything from the slider onward spans the entire
   page content width, below the unchanged introduction + slim city sidebar.
   No changes to desktop header, intro, popup, sidebar links or other page types. */
.cct-home-reference > .cct-home-full-width {
  display:block;
  width:min(100% - 36px,var(--cct-container));
  max-width:var(--cct-container);
  margin:0 auto;
  padding:0;
  background:#fff;
  min-width:0;
}
.cct-home-reference .cct-home-full-width .cct-ad-slider{
  width:100%;
  max-width:100%;
  background:#fff;
  padding:16px 0 8px;
}
.cct-home-reference .cct-home-full-width .cct-ad-slider > .wrap{
  width:100%;
  max-width:none;
  margin:0;
  padding:0 16px;
}
.cct-home-reference .cct-home-full-width .cct-ad-frame{
  height:clamp(190px,25vw,335px);
  max-width:100%;
}
.cct-home-reference .cct-home-full-width .cct-home-notice{
  width:100%;
}
.cct-home-reference .cct-home-full-width .cct-home-listing-area{
  width:100%;
  max-width:100%;
}
@media screen and (max-width:820px){
  /* Keep existing mobile presentation and mobile card rules exactly as before. */
  .cct-home-reference > .cct-home-full-width{
    width:100%;
  }
  .cct-home-reference .cct-home-full-width .cct-ad-slider{padding:10px 0 6px;}
  .cct-home-reference .cct-home-full-width .cct-ad-slider > .wrap{padding:0 12px;}
  .cct-home-reference .cct-home-full-width .cct-ad-frame{height:clamp(180px,56vw,280px);}
}


/* REVIEW15 — mobile-only premium header cleanup and vertical-video hero.
 * Desktop style is untouched. Top menu removed in header since Review13.
 * State → City remains accessible from fixed bottom navigation. */
.cct-mobile-video-hero {display:none;}
.cct-bottom-city-dialog {box-sizing:border-box;width:min(94vw,600px);max-height:min(86dvh,750px);padding:0;color:#242025;background:#fff;border:1px solid #f3dce4;border-radius:18px;box-shadow:0 25px 80px rgba(0,0,0,.25);overflow:hidden;}
.cct-bottom-city-dialog[open] {display:flex;flex-direction:column;}
.cct-bottom-city-dialog::backdrop {background:rgba(17,11,20,.65);}
.cct-bottom-city-heading {display:flex;align-items:start;justify-content:space-between;gap:10px;padding:18px 18px 12px;border-bottom:1px solid #f4e1e8;}
.cct-bottom-city-heading h2{margin:0;font-size:19px;line-height:1.4;}
.cct-bottom-city-heading p{margin:2px 0 0;color:#827780;font-size:12px;}
.cct-bottom-city-close{border:0;flex:none;width:38px;height:38px;border-radius:11px;color:#ba2453;background:#ffedf3;font-size:25px;cursor:pointer;}
.cct-bottom-city-body{padding:15px 18px 24px;overflow-y:auto;overscroll-behavior:contain;min-height:0;}
.cct-bottom-city-body>label{display:block;font-weight:750;font-size:13px;margin-bottom:7px;}
#cct-bottom-city-search{display:block;width:100%;height:44px;border:1px solid #e7d7dd;border-radius:10px;padding:0 12px;margin:0 0 14px;font-size:15px;}
.cct-bottom-city-states{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:start;}
.cct-bottom-city-state{border:1px solid #f0e2e8;border-radius:11px;min-width:0;overflow:hidden;}
.cct-bottom-city-state>summary{display:flex;align-items:center;gap:6px;list-style:none;padding:12px 10px;cursor:pointer;font-size:14px;}
.cct-bottom-city-state>summary::-webkit-details-marker{display:none;}
.cct-bottom-city-state>summary small{margin-left:auto;color:#8b7d86;font-size:10px;white-space:nowrap;}
.cct-bottom-city-state>summary span{font-size:23px;color:#ff3b6b;line-height:1;}
.cct-bottom-city-state[open]>summary{background:#fff2f6;}
.cct-bottom-city-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px;border-top:1px solid #f3e5ec;}
.cct-bottom-city-links a{display:block;padding:9px 6px;border:1px solid #f0e1e8;border-radius:7px;text-align:center;font-size:12px;line-height:1.3;overflow-wrap:anywhere;}
.cct-bottom-city-links a:hover{background:#fff1f5;color:#c32257;}
.cct-bottom-city-links .cct-bottom-city-state-all{grid-column:1/-1;text-align:left;background:#fff6fa;color:#bf2856;font-weight:750;}
.cct-bottom-city-empty{text-align:center;font-size:13px;color:#777;}
.cct-bottom-city-state[hidden],.cct-bottom-city-links a[hidden]{display:none!important;}
@media(max-width:480px){.cct-bottom-city-states{grid-template-columns:1fr}.cct-bottom-city-dialog{width:calc(100vw - 22px);max-height:calc(100dvh - 48px)}.cct-bottom-city-heading{padding:14px}.cct-bottom-city-body{padding:12px 14px 20px}}

@media screen and (max-width:760px){
  body .site-head.cct-template-head{position:relative;min-height:0!important;}
  body .site-head.cct-template-head .site-head-main{min-height:0;}
  body .site-head.cct-template-head .brand-row{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto!important;align-items:center!important;
    column-gap:10px!important;row-gap:0!important;
    padding:14px 14px!important;min-height:0!important;height:auto!important;
    flex-direction:row!important;
  }
  body .site-head.cct-template-head .brand-row>.brand{
    grid-column:1!important;grid-row:1!important;justify-self:start!important;
    text-align:left!important;max-width:100%!important;min-width:0!important;
    margin:0!important;font-size:clamp(21px,6vw,27px)!important;
    display:flex!important;align-items:center!important;gap:11px!important;
  }
  body .site-head.cct-template-head .brand-row>.brand .brand-icon,
  body .site-head.cct-template-head .brand-row>.brand .brand-logo{
    width:50px!important;height:50px!important;flex:none!important;border-radius:13px!important;
  }
  body .site-head.cct-template-head .brand-row>.cct-head-actions{
    display:flex!important;grid-column:2!important;grid-row:1!important;
    justify-self:end!important;align-self:center!important;justify-content:flex-end!important;
    margin:0!important;padding:0!important;min-width:0!important;width:auto!important;
  }
  body .site-head.cct-template-head .cct-search-toggle summary{
    display:grid!important;place-items:center!important;width:44px!important;height:44px!important;
    border:1px solid #eadbe1!important;border-radius:13px!important;background:#fff!important;
    color:#322b32!important;font-size:25px!important;box-shadow:0 6px 18px rgba(0,0,0,.12)!important;
  }
  body .site-head.cct-template-head .cct-mobile-location-menu{display:none!important;}
  body .site-head.cct-template-head .brand-row>.brand>span:last-child{overflow:visible!important;white-space:nowrap;}
  .cct-mobile-video-hero{display:block;padding:14px 12px 5px;background:#fff;}
  .cct-mobile-video-hero-inner{
    width:100%;max-width:600px;margin:0 auto;position:relative;
    display:grid;grid-template-columns:minmax(0,1fr) 46%;min-height:226px;
    overflow:hidden;isolation:isolate;border-radius:18px;
    background:linear-gradient(120deg,#151017 0%,#291220 56%,#4f1730 100%);
    box-shadow:0 14px 30px rgba(69,14,42,.20);
  }
  .cct-mobile-video-hero-inner:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 14% 21%,rgba(255,90,154,.25),transparent 46%);}
  .cct-mobile-video-copy{position:relative;z-index:2;padding:26px 5px 23px 17px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;color:#fff;min-width:0;}
  .cct-mobile-video-eyebrow{font-size:10px;color:#fbb8d0;line-height:1.5;letter-spacing:.03em;font-weight:700;}
  .cct-mobile-video-copy h2{font-weight:900;color:#fff;font-size:clamp(23px,6.7vw,35px);line-height:1.22;letter-spacing:-.02em;margin:12px 0 9px;}
  .cct-mobile-video-copy h2 em{font-style:normal;color:#ff74a9;}
  .cct-mobile-video-copy p{color:#e9d8e0;line-height:1.48;font-size:11px;margin:0 0 16px;}
  .cct-mobile-video-cta{display:inline-flex;align-items:center;gap:7px;justify-content:center;color:#fff!important;
    background:#ff3b70;border-radius:999px;font-size:11px;line-height:1.3;font-weight:850;padding:10px 12px;white-space:nowrap;
    box-shadow:0 6px 14px rgba(255,59,112,.28);
  }
  .cct-mobile-video-frame{position:relative;min-width:0;overflow:hidden;}
  .cct-mobile-hero-video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%;background:#2e2028;}
  .cct-mobile-video-tint{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#291420 0,transparent 24%,rgba(20,9,18,.05) 70%,rgba(20,9,18,.16));}
  .cct-mobile-video-toggle{position:absolute;bottom:10px;right:10px;display:inline-flex;align-items:center;gap:5px;padding:6px 9px;z-index:3;
    background:rgba(5,5,5,.63);color:#fff;border:1px solid rgba(255,255,255,.26);border-radius:99px;font-size:10px;line-height:1.2;font-weight:700;cursor:pointer;
  }
  .cct-mobile-video-toggle:focus-visible,.cct-mobile-video-cta:focus-visible{outline:2px solid #fff;outline-offset:3px;}
}
@media screen and (max-width:370px){
  .cct-mobile-video-hero-inner{grid-template-columns:minmax(0,1fr) 44%;min-height:215px;}
  .cct-mobile-video-copy{padding:22px 2px 20px 13px;}
  .cct-mobile-video-copy h2{font-size:23px;}
  .cct-mobile-video-copy p{font-size:10px;}
  .cct-mobile-video-eyebrow{font-size:9px;}
  .cct-mobile-video-cta{padding:9px 10px;font-size:10px;}
}
@media(prefers-reduced-motion:reduce){.cct-mobile-hero-video{animation:none;}}


/* REVIEW16 — premium video player on /video/ only; no changes to shared layouts. */
.cct-video-library-page .cct-video-page-article{
  padding:26px 28px 30px;
  border-radius:16px;
  border:1px solid #f0e2e7;
  background:#fff;
  box-shadow:0 12px 32px rgba(33,19,25,.055);
}
.cct-video-page-heading{margin-bottom:18px}
.cct-video-page-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:11px;font-weight:850;letter-spacing:.13em;
  color:#d72c5d;margin-bottom:7px;
}
.cct-video-page-eyebrow span{
  width:22px;height:22px;display:inline-grid;place-items:center;
  border-radius:7px;background:#fff0f5;color:#d72c5d;
  font-size:11px;letter-spacing:0;
}
.cct-video-library-page .cct-video-page-heading h1{
  font-size:clamp(24px,2.4vw,30px);line-height:1.3;
  margin:0 0 5px;color:#211c21;letter-spacing:-.02em;
}
.cct-video-page-heading p{margin:0;color:#796e74;font-size:14px;line-height:1.6}
.cct-video-player-panel{
  overflow:hidden;border-radius:15px;
  border:1px solid #f0e6eb;background:#f8f3f5;
  box-shadow:0 10px 34px rgba(23,16,23,.06);
}
.cct-video-player-inner{
  display:flex;align-items:center;justify-content:center;
  padding:22px 20px;
  background:radial-gradient(ellipse at center,#3b3039 0%,#161319 80%);
}
.cct-video-featured-player{
  display:block;width:min(100%,350px);
  height:auto;aspect-ratio:9 / 16;
  object-fit:contain;background:#0d0b0e;
  border-radius:10px;
  box-shadow:0 12px 38px rgba(0,0,0,.35);
}
.cct-video-player-caption{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:10px;
  padding:12px 16px;font-size:12px;color:#786b73;
  background:#fff;
}
.cct-video-play-label{font-weight:800;color:#cf2c5d}
.cct-video-play-label span{color:#f04472;font-size:8px;vertical-align:middle;margin-right:4px}
.cct-video-page-extra{margin-top:24px;overflow-wrap:anywhere}
@media(max-width:760px){
  .cct-video-library-page .cct-video-page-article{padding:17px 15px 20px;border-radius:12px}
  .cct-video-page-heading{margin-bottom:14px}
  .cct-video-player-inner{padding:14px 12px}
  .cct-video-featured-player{width:min(100%,340px);border-radius:9px}
  .cct-video-player-caption{padding:10px 12px}
}
@media(max-width:380px){
  .cct-video-player-inner{padding:10px}
  .cct-video-featured-player{width:100%}
}


/* REVIEW17: Video-page-only responsive 2-up grid; other templates unchanged. */
.cct-video-library-page .cct-video-gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:18px;
}
.cct-video-library-page .cct-video-gallery .cct-video-player-panel{
  min-width:0;
  height:100%;
  display:flex;
  flex-direction:column;
  border-radius:13px;
}
.cct-video-library-page .cct-video-gallery .cct-video-player-inner{
  flex:1;
  min-width:0;
  padding:18px 12px;
}
.cct-video-library-page .cct-video-gallery .cct-video-featured-player{
  width:min(100%,295px);
  aspect-ratio:9/16;
  height:auto;
  max-height:none;
}
.cct-video-library-page .cct-video-gallery .cct-video-player-caption{
  min-height:48px;
  margin-top:auto;
  gap:6px;
  padding:10px 12px;
}
@media(max-width:760px){
  .cct-video-library-page .cct-video-gallery{
    grid-template-columns:minmax(0,1fr);
    gap:18px;
  }
  .cct-video-library-page .cct-video-gallery .cct-video-player-inner{
    padding:14px 12px;
  }
  .cct-video-library-page .cct-video-gallery .cct-video-featured-player{
    width:min(100%,340px);
  }
}
@media(max-width:380px){
  .cct-video-library-page .cct-video-gallery .cct-video-player-inner{padding:10px;}
}


/* REVIEW18 — smaller video players on /video/ only.
 * Keep desktop 2-up / mobile 1-up. Never change video sources or player controls.
 * Limit overall panel width as well as <video> dimensions, avoiding empty dark bands. */
.cct-video-library-page .cct-video-gallery{
  width:min(100%,620px);
  margin-inline:auto;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.cct-video-library-page .cct-video-gallery .cct-video-player-panel{
  width:100%;
  max-width:300px;
  margin-inline:auto;
}
.cct-video-library-page .cct-video-gallery .cct-video-player-inner{
  padding:12px 10px;
}
.cct-video-library-page .cct-video-gallery .cct-video-featured-player{
  width:min(100%,210px);
  aspect-ratio:9/16;
  height:auto;
  max-height:none;
}
@media screen and (max-width:760px){
  .cct-video-library-page .cct-video-gallery{
    width:min(100%,275px);
    grid-template-columns:minmax(0,1fr);
    gap:15px;
  }
  .cct-video-library-page .cct-video-gallery .cct-video-player-panel{
    max-width:275px;
  }
  .cct-video-library-page .cct-video-gallery .cct-video-player-inner{
    padding:10px;
  }
  .cct-video-library-page .cct-video-gallery .cct-video-featured-player{
    width:min(100%,200px);
  }
}
