
/* legacy-youtube-responsive-2026: keep historical YouTube embeds inside the content column */
.single-post .post-content-wrap iframe.youtube-player {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}
/* legacy-mobile-content-width-2026: keep legacy media and the footer brand inside narrow screens */
.single-post .post-content-wrap iframe.youtube-player {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}

@media (max-width: 767px) {
    .footer_logo.logo {
        width: 220px !important;
        max-width: 100% !important;
        margin-right: 0 !important;
    }

    .footer_logo.logo img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}
/* archive-decision-buttons-2026: visible, keyboard-friendly 48px decision targets */
.chelsea-archive-restoration .wp-block-button__link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

.chelsea-archive-restoration .wp-block-button__link:focus-visible {
    outline: 3px solid #005fcc !important;
    outline-offset: 3px;
}

.chelsea-archive-restoration .wp-block-button__link:active {
    transform: translateY(1px);
}

/* historical-single-post-layout-2026: focused, full-width historical post reading layout */
body.single-post .bt-sidebar-wrap {
    display: none !important;
}

body.single-post .bt-content-wrap {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.single-post #compare-property-panel {
    display: none !important;
}

@media (max-width: 767px) {
    body.single-post .post-title-wrap h1 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere;
    }
}

/* homepage-choice-panel-2026: direct, accessible contact choices without a homepage form */
body:not(.single-property) #compare-property-panel {
    display: none !important;
}

.home-contact-choices {
    padding: clamp(20px, 4vw, 36px);
    border: 1px solid rgba(37, 36, 31, 0.18);
    border-radius: 12px;
    background: #ffffff;
}

.home-contact-choices__intro {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.6;
}

.home-contact-choices__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.home-contact-choice {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 2px solid #25241f;
    border-radius: 4px;
    color: #25241f !important;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
}

.home-contact-choice--primary,
.home-contact-choice:hover,
.home-contact-choice:focus-visible {
    background: #25241f;
    color: #ffffff !important;
}

.home-contact-choice:focus-visible {
    outline: 3px solid #005fcc !important;
    outline-offset: 3px;
}

.home-contact-choice:active {
    transform: translateY(1px);
}

.home-contact-choices__details {
    margin: 20px 0 0;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .home-contact-choices__grid {
        grid-template-columns: 1fr;
    }
}

/* header-logo-target-2026: make the home-logo navigation target easy to tap */
.header-inner-wrap .logo a {
    display: inline-flex !important;
    min-height: 48px;
    align-items: center;
}

/* mobile-header-logo-target-2026: make the visible mobile logo easy to tap */
.header-inner-wrap .logo-mobile a {
    display: inline-flex !important;
    min-height: 48px;
    align-items: center;
}

/* historical-gallery-layout-2026: contained responsive WordPress galleries */
.article-page-wrap .gallery,
.single-post .post-content-wrap .gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    height: auto !important;
    margin: 0 0 32px !important;
}

.article-page-wrap .gallery .gallery-item,
.single-post .post-content-wrap .gallery .gallery-item {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.article-page-wrap .gallery .gallery-icon,
.article-page-wrap .gallery .gallery-icon a,
.single-post .post-content-wrap .gallery .gallery-icon,
.single-post .post-content-wrap .gallery .gallery-icon a {
    display: block;
    width: 100%;
    height: 100%;
}

.article-page-wrap .gallery img,
.single-post .post-content-wrap .gallery img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 150px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 0 !important;
}

@media (max-width: 767px) {
    .article-page-wrap .gallery,
    .single-post .post-content-wrap .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page .post-title-wrap h1 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere;
    }
}

/* historical-page-media-width-2026: keep legacy page videos and galleries within the reading column */
.article-page-wrap iframe.youtube-player,
.page-content-wrap iframe.youtube-player {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}

@media (max-width: 767px) {
    .article-page-wrap .gallery img,
    .single-post .post-content-wrap .gallery img {
        min-height: 100px;
    }
}

/* historical-caption-image-layout-2026: keep legacy captioned media inside the reading column */
.article-page-wrap .wp-caption,
.single-post .post-content-wrap .wp-caption {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.article-page-wrap .wp-caption > a,
.single-post .post-content-wrap .wp-caption > a {
    display: block;
    max-width: 100%;
}

.article-page-wrap .wp-caption img,
.single-post .post-content-wrap .wp-caption img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

/* historical-origin-post-4-2026: preserve source markup while replacing its broken duplicate image visually */
.postid-4 .chelsea-origin-photo {
    margin: 24px 0;
}
.postid-4 .chelsea-origin-photo img {
    display: block;
    width: 170px !important;
    max-width: 100%;
    height: auto !important;
    border-radius: 8px;
}
.postid-4 .chelsea-origin-photo figcaption {
    max-width: 420px;
    margin-top: 8px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}
.postid-4 a[href*="/files/2007/10/jeffy07.jpg"] {
    display: none !important;
}

/* post-483-legacy-media-display-2026: preserve old source but replace broken duplicate display */
.postid-483 .jetpack-slideshow-window,
.postid-483 .slideshow-window,
.postid-483 .post-content-wrap .wp-caption {
    display: none !important;
}

/* footer-logo-contained-width-2026: keep the footer brand inside every split-screen and device width */
.footer_logo.logo {
    width: 220px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.footer_logo.logo img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}
/* static-page-closed-discussion-hidden-2026: preserve historical comments without presenting stale discussion on business pages */
body.page .post-comment-form-wrap,
body.page .post-comment-wrap {
    display: none !important;
}
/* One typeface across the Buyer and Chelsea City Hub action components. */
.page-id-349464 a.chelsea-action,
.page-id-349451 .chelsea-home a.chelsea-button,
.page-id-349451 .chelsea-hub-qa a.chelsea-button {
  font-family: Roboto, Arial, sans-serif !important;
}


/* Chelsea Real Estate: consistent, accessible decision buttons */
.entry-content a.chelsea-choice-button,
.entry-content a.chelsea-action,
.entry-content .wp-block-button__link {
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:48px!important;
  margin:6px 8px 6px 0!important;
  padding:12px 17px!important;
  border:2px solid #111!important;
  border-radius:8px!important;
  background:#111!important;
  color:#fff!important;
  font:700 14px/1.2 Roboto,Arial,sans-serif!important;
  text-decoration:none!important;
  box-shadow:0 3px 0 #555!important;
  cursor:pointer;
  transition:background .15s ease,transform .15s ease,box-shadow .15s ease;
}
.entry-content a.chelsea-choice-button:hover,
.entry-content a.chelsea-action:hover,
.entry-content .wp-block-button__link:hover {
  background:#333!important;
  color:#fff!important;
  transform:translateY(-1px);
}
.entry-content a.chelsea-choi

/* pastel-buttons-2026: homepage pastel button palette refresh */
.home-contact-choice--primary {
  background-color: #DFEAF6 !important;
  color: #24486F !important;
  border-color: #DFEAF6 !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}
.home-contact-choice--primary:hover,
.home-contact-choice--primary:focus {
  background-color: #DFEAF6 !important;
  color: #24486F !important;
  border-color: #DFEAF6 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(36,72,111,.22) !important;
}
.home-contact-choice[href^="sms:"]:hover {
  background-color: #E0EFED !important;
  color: #24486F !important;
}
.home-contact-choice[href^="mailto:"]:hover {
  background-color: #EAE4F5 !important;
  color: #24486F !important;
}
.home-contact-choice[href="/contact-jeffrey-bowen/"]:hover {
  background-color: #F8EBCD !important;
  color: #24486F !important;
}
#ask-jeffrey-fab .aj-toggle {
  transition: transform .2s ease, box-shadow .2s ease !important;
}
#ask-jeffrey-fab .aj-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(36,72,111,.28) !important;
}
ce-button:focus-vi

/* Fix BUYERS/SELLERS: transparent at rest, pastel on hover */
a.elementor-button[href="/for-buyers/"],
a.elementor-button[href="/for-sellers/"] {
  background-color: transparent !important;
}
a.elementor-button[href="/for-buyers/"]:hover {
  background-color: #DFEAF6 !important;
  color: #24486F !important;
}
a.elementor-button[href="/for-sellers/"]:hover {
  background-color: #F0E5ED !important;
  color: #24486F !important;
}
sible,
.entry-content a.chelsea-action:focus-visible,
.entry-content .wp-block-button__link:focus-visible {
  outline:3px solid #c7791f!important;
  outline-offset:3px;
}
.entry-content a.chelsea-choice-button:active,
.entry-content a.chelsea-action:active,
.entry-content .wp-block-button__link:active {
  background:#000!important;
  box-shadow:0 1px 0 #555!important;
  transform:translateY(2px);
}
@media (max-width:680px) {
  .entry-content a.chelsea-choice-button,
  .entry-content a.chelsea-action,
  .entry-content .wp-block-button__link { width:100%; margin:6px 0!important; }
}

/* Jeffy Rebuild 5.3 - Sitewide Button Hover Effects */ /* Applied: 2026-10-09 | One change, entire site */  a[href*="tel:"], a[href*="sms:"], a[href*="mailto:"], .wp-block-button__link, .elementor-button, button, input[type="submit"], input[type="button"] {   transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, filter .18s ease !important; }  a[href*="tel:"]:hover, a[href*="sms:"]:hover, a[href*="mailto:"]:hover, .wp-block-button__link:hover, .elementor-button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover, a[href*="tel:"]:fo

/* Jeffy 5.3 - Button Color Standardization */
/* Pastel palette enforcement - no black buttons */

/* Primary CTA buttons - Coastal Blue */
.wp-block-button__link:not([style*="background"]),
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background-color: #DFEAF6 !important;
  color: #24486F !important;
  border-color: #DFEAF6 !important;
}

/* Outline buttons - white with navy border */
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: #FFFFFF !important;
  color: #24486F !important;
  border: 2px solid #24486F !important;
}

/* Elementor buttons - apply pastels */
.elementor-button {
  background-color: #DFEAF6 !important;
  color: #24486F !important;
}

/* Never black buttons */
button, input[type="submit"], input[type="button"],
.wp-block-button__link, .elementor-button {
  background-color: #DFEAF6 !important;
}
button[style*="#000"], input[style*="#000"],
.wp-block-button__link[style*="#000"], .elementor-button[style*="#000"] {
  background-color: #DFEAF6 !important;
  color: #24486F !
}cus, a[href*="sms:"]:focus, a[href*="mailto:"]:focus, .wp-block-button__link:focus, .elementor-button:focus, button:focus, input[type="submit"]:focus, input[type="button"]:focus {   transform: translateY(-2px) !important;   box-shadow: 0 6px 16px rgba(36,72,111,.22) !important;   filter: brightness(1.04) !important; }  a[href*="tel:"]:active, a[href*="sms:"]:active, a[href*="mailto:"]:active, .wp-block-button__link:active, .elementor-button:active, button:active, input[type="submit"]:active, input[type="button"]:active {   transform: translateY(0) !important;   box-shadow: 0 2px 6px rgba(36,72,111,.15) !important; }  a:focus-visible, button:focus-visible {   outline: 3px solid #24486F !important;   outline-offset: 2px !important; }