/* Palm Springs Golf palette and legacy T012/private-preview compatibility. Shared structural CSS is loaded first. */
.cdx-detail-preview, .cdx-detail-public { margin:0; background:#fffdf7; }
.cdx-detail-preview .cd, .cdx-detail-public .cd { background:#fffdf7; }
.cd-detail { --cd-detail-accent:#4f7518; --cd-detail-rule:#8bbb27; color:#20261c; background:#fffdf7; }
.cd-detail a { color:#0033ff; }
.cd-detail a:visited { color:#0033ff; }
.cd-detail a:focus-visible,.cd-detail summary:focus-visible { outline:3px solid #0033ff; }
.cd-detail h1,.cd-detail h2,.cd-detail h3 { color:#192212; }
.cd-detail .cd-d-preview-note { margin:0; padding:6px 20px; background:#ecf0e3; text-align:center; font-size:12px; color:#354326; }
.cd-detail .cd-d-hero { background:#33482a; }
.cd-detail .cd-d-hero-copy { color:#fff; text-shadow:0 2px 4px #000b; }
.cd-detail .cd-d-hero h1 { color:#fff; }
.cd-detail .cd-d-breadcrumbs li+li::before { color:#fff; }
.cd-detail .cd-d-breadcrumbs a,.cd-detail .cd-d-breadcrumbs a:visited { color:#fff; }
.cd-detail .cd-d-rule { background:var(--cd-detail-rule); }
.cd-detail .cd-d-subtitle { color:#fff; }
.cd-detail .cd-d-actions { background:#fff; border:1px solid #d8dbd1; box-shadow:0 7px 18px #15231026; }
.cd-detail .cd-d-action { color:#1d2518; }
.cd-detail .cd-d-action:visited { color:#1d2518; }
.cd-detail .cd-d-action+.cd-d-action::before { background:#949f89; }
.cd-detail .cd-d-action-primary,.cd-detail .cd-d-action-primary:visited { color:#fff; background:var(--cd-detail-accent); border:1px solid #39550e; }
.cd-detail .cd-d-icon { color:var(--cd-detail-accent); }
.cd-detail .cd-d-action-primary .cd-d-icon { color:#fff; }
.cd-detail .cd-d-shell { background:transparent; }
.cd-detail .cd-d-more { border-top:1px solid #e2e5d9; }
.cd-detail .cd-d-more summary { color:var(--cd-detail-accent); }
.cd-detail .cd-d-facts { border:1px solid #dfe5d5; background:#f1f3e9; }
.cd-detail .cd-d-facts h2::after { background:var(--cd-detail-rule); }
.cd-detail .cd-d-facts dl>div+div { border-top:1px solid #c7cfbb; }
.cd-detail .cd-d-facts .cd-d-icon { color:var(--cd-detail-accent); }
.cd-detail .cd-d-gallery-media { background:#e9eddc; }
.cd-detail .cd-d-gallery-media img { border:0; }
.cd-detail .cd-d-gallery figcaption { color:#4d5941; }
.cd-detail .cd-d-cta { border:1px solid #e4e8dc; background:#f0f2e8; }
.cd-detail .cd-d-cta h2 { color:#2c4716; }
.cd-detail .cd-d-button,.cd-detail .cd-d-button:visited { background:var(--cd-detail-accent); color:#fff; border:1px solid #39550e; }
.cd-detail .cd-d-sr { border:0; }
.cd-detail .cd-d-separator { border:0; border-top:1px solid #e0e4da; }
@media(max-width:600px) {
.cd-detail .cd-d-action+.cd-d-action { border-top:1px solid #e4e8dd; }
}
@media(max-width:600px) {
.cd-detail-copy .cd-d-phone-photo { width:var(--cd-d-photo-width)!important; max-width:var(--cd-d-photo-width)!important; margin-left:var(--cd-d-photo-shift)!important; margin-right:0!important; padding:0!important; border:0!important; border-radius:0!important; float:none!important; }
}
@media(max-width:600px) {
.cd-detail-copy .cd-d-phone-photo img { display:block; width:100%!important; max-width:100%!important; height:auto; border:0; border-radius:0; }
}
@media(max-width:600px) {
.cd-detail-copy .cd-d-phone-photo picture { display:block; width:100%; }
}
@media(max-width:600px) {
.cd-detail-copy .cd-d-phone-photo figcaption,.cd-detail-copy .cd-d-phone-photo .wp-caption-text { padding:12px 20px; }
}
@media(max-width:600px) {
.cd-detail-copy .cd-d-phone-inner { display:block; width:100%!important; max-width:none!important; margin:0!important; padding:0!important; border:0!important; }
}
.cdx-gallery-dialog { border:0; background:#0c100ff5; color:#fff; }
.cdx-gallery-dialog::backdrop { background:#0c100f; }
.cdx-gallery-dialog button { border:1px solid #ffffff70; color:#fff; background:#101814dc; }
.cdx-gallery-dialog button:hover { background:#28372e; border-color:#fff; }
.cdx-gallery-dialog button:focus-visible,.cdx-gallery-dialog a:focus-visible { outline:3px solid #fff; }
.cdx-gallery-image img { border:0; }
.cdx-gallery-status { color:#fff; }
.cd-detail .cdx-gallery-status a,.cd-detail .cdx-gallery-status a:visited,.cdx-gallery-status a { color:#fff; }
.cd-detail .cd-d-page-area { background:#fffdf7; }
.cd-detail .cd-d-background { background:#fffdf7; }
.cd-detail span[data-cdx-detail-section] { border:0; }
@media (max-width:600px), (max-width:1000px) and (max-height:600px) and (hover:none) and (pointer:coarse) {
.cdx-gallery-dialog button { background:transparent; border:0; }
}
@media (max-width:600px), (max-width:1000px) and (max-height:600px) and (hover:none) and (pointer:coarse) {
.cdx-gallery-dialog button:hover { background:transparent; }
}
@media (max-width:600px), (max-width:1000px) and (max-height:600px) and (hover:none) and (pointer:coarse) {
.cdx-gallery-dialog button span { background:#0c100fb0; }
}
@media (max-width:600px), (max-width:1000px) and (max-height:600px) and (hover:none) and (pointer:coarse) {
.cdx-gallery-status { background:#0c100fb0; }
}

/* T-058: Golf Detail action bar only. Shared strip geometry and other category accents stay intact. */
.cd-detail[data-cdx-detail-profile="golf"] .cd-d-actions .cd-d-action-primary,
.cd-detail[data-cdx-detail-profile="golf"] .cd-d-actions .cd-d-action-primary:visited {
 background:var(--cd-detail-action-green,#0C4A25); border-color:var(--cd-detail-action-green,#0C4A25); color:#fff;
 font-size:16px; font-weight:700; line-height:1.25; padding:8px 14px; min-height:48px;
 width:fit-content; max-width:100%; justify-self:center; align-self:center; gap:8px;
}
.cd-detail[data-cdx-detail-profile="golf"] .cd-d-actions .cd-d-action-primary>span {
 min-width:0; white-space:normal; overflow-wrap:anywhere;
}
.cd-detail[data-cdx-detail-profile="golf"] .cd-d-actions .cd-d-action-primary:hover {
 text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:3px;
}
.cd-detail[data-cdx-detail-profile="golf"] .cd-d-actions .cd-d-action-primary:focus-visible {
 outline:3px solid #0033ff; outline-offset:3px;
}
.cd-detail[data-cdx-detail-profile="golf"] .cd-d-actions .cd-d-action-phone {
 font-size:24px; font-weight:700; line-height:1.25; gap:8px; padding:10px 8px;
}
@media(max-width:600px) {
 .cd-detail[data-cdx-detail-profile="golf"] .cd-d-actions .cd-d-action-phone { font-size:22px; }
}
