:root {
    --navy: #0b3f56;
    --navy-deep: #082c3d;
    --teal: #138b8e;
    --aqua: #d9f1ef;
    --coral: #ef7759;
    --gold: #f4c667;
    --sand: #f8f3e9;
    --paper: #fffdf9;
    --white: #ffffff;
    --ink: #16303c;
    --muted: #637884;
    --line: rgba(11, 63, 86, .13);
    --shadow: 0 14px 36px rgba(8, 44, 61, .10);
    --shadow-soft: 0 8px 24px rgba(8, 44, 61, .07);
    --radius: 18px;
    --shell: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #f7f8f6;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }

.shell {
    width: min(calc(100% - 36px), var(--shell));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 10000;
    padding: 10px 14px;
    border-radius: 9px;
    background: var(--white);
    color: var(--navy);
    font-weight: 800;
}
.skip-link:focus { left: 12px; }

a:focus-visible {
    outline: 3px solid rgba(239, 119, 89, .45);
    outline-offset: 3px;
}

.site-header {
    position: relative;
    z-index: 50;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 7px 24px rgba(8, 44, 61, .05);
}
.site-identity-bar {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
}
.identity-bar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.identity-bar-inner strong { color: #fff; }

.masthead {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    min-width: 260px;
    display: grid;
    text-decoration: none;
    line-height: 1;
}
.brand-small {
    color: var(--coral);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .24em;
}
.brand strong {
    margin-top: 3px;
    color: var(--navy-deep);
    font-size: 27px;
    font-weight: 950;
    letter-spacing: .045em;
}
.brand-tag {
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}
.top-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}
.top-nav a {
    padding: 10px 11px;
    border-radius: 10px;
    color: #355665;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.top-nav a:hover { background: #eef6f5; color: var(--navy); }
.top-nav .nav-contact {
    margin-left: 4px;
    padding-inline: 15px;
    background: var(--coral);
    color: #fff;
}
.top-nav .nav-contact:hover { background: #dc664a; color: #fff; }

.home-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 20%, rgba(244, 198, 103, .22), transparent 27%),
        radial-gradient(circle at 18% 15%, rgba(19, 139, 142, .17), transparent 30%),
        linear-gradient(135deg, #eff9f7 0%, #fbf8ef 58%, #fff 100%);
    border-bottom: 1px solid var(--line);
}
.home-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border: 44px solid rgba(239, 119, 89, .08);
    border-radius: 50%;
}
.home-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 245px;
    padding: 45px 0 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 56px;
}
.hero-kicker,
.results-kicker,
.sidebar-eyebrow {
    display: block;
    color: var(--coral);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hero-copy h1 {
    max-width: 780px;
    margin: 7px 0 10px;
    color: var(--navy-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 64px);
    line-height: .98;
    letter-spacing: -.035em;
}
.hero-copy p {
    max-width: 700px;
    margin: 0;
    color: #496874;
    font-size: 17px;
}
.hero-date-line {
    margin-top: 17px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.hero-fun-note {
    padding: 21px 22px;
    border: 1px solid rgba(11, 63, 86, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    box-shadow: var(--shadow-soft);
    transform: rotate(1deg);
}
.hero-fun-note span {
    display: block;
    color: var(--teal);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .16em;
}
.hero-fun-note strong {
    display: block;
    margin-top: 6px;
    color: var(--navy-deep);
    font-size: 20px;
}
.hero-fun-note p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.tour-controls-section {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.tour-controls-section .shell { padding: 16px 0; }
.period-tabs,
.tour-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}
.period-tabs a,
.tour-chips a {
    flex: 0 0 auto;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
}
.period-tabs a {
    padding: 9px 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: #42606e;
    font-size: 13px;
    font-weight: 850;
}
.period-tabs a.is-active {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}
.tour-chips {
    margin-top: 10px;
    gap: 6px;
}
.tour-chips a {
    padding: 7px 11px;
    background: #eff6f4;
    color: #46616d;
    font-size: 11px;
    font-weight: 800;
}
.tour-chips a.is-active {
    background: #fde9e3;
    color: #b84f36;
}

.content-with-sidebar {
    padding: 34px 0 70px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 30px;
}
.openhouse-content,
.property-content { min-width: 0; }
.results-heading {
    min-height: 74px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}
.results-heading h2 {
    margin: 4px 0 2px;
    color: var(--navy-deep);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.1;
}
.results-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}
.feed-note {
    max-width: 270px;
    padding: 7px 10px;
    border-radius: 9px;
    background: #fff4d8;
    color: #765719;
    font-size: 11px;
    font-weight: 700;
}

.tour-day-group { margin: 0 0 34px; }
.tour-day-heading {
    margin-bottom: 11px;
    padding-bottom: 9px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 2px solid rgba(11, 63, 86, .10);
}
.tour-day-heading h3 {
    margin: 0;
    color: var(--navy);
    font-size: 16px;
    font-weight: 900;
}
.tour-day-heading span { color: #82929a; font-size: 11px; font-weight: 750; }

.tour-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.tour-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform .16s ease, box-shadow .16s ease;
}
.tour-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.tour-card-photo {
    position: relative;
    height: 150px;
    display: block;
    overflow: hidden;
    background: #dfe9e8;
}
.tour-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.tour-card:hover .tour-card-photo img { transform: scale(1.025); }
.tour-photo-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: #68808a;
    font-size: 12px;
    font-weight: 800;
}
.photo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(8, 44, 61, .88);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.tour-card-body { padding: 13px 14px 14px; }
.open-time {
    margin: 0 0 8px;
    color: #42606c;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.35;
}
.open-time > span {
    margin-right: 6px;
    padding: 3px 5px;
    border-radius: 5px;
    background: var(--coral);
    color: #fff;
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .1em;
}
.open-time small {
    color: #8b6260;
    font-size: 9px;
    font-weight: 800;
}
.tour-price {
    color: var(--navy-deep);
    font-size: 21px;
    font-weight: 950;
    letter-spacing: -.02em;
}
.tour-card h3 {
    margin: 1px 0 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #254655;
    font-size: 13px;
    line-height: 1.3;
}
.tour-card h3 a { text-decoration: none; }
.tour-card h3 a:hover { color: var(--teal); }
.tour-location {
    margin: 0;
    color: #7a8b93;
    font-size: 10px;
}
.tour-facts {
    margin: 10px 0 9px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
}
.tour-facts li {
    padding: 4px 6px;
    border-radius: 6px;
    background: #f1f6f5;
    color: #49616c;
    font-size: 9px;
    font-weight: 750;
}
.tour-detail-link {
    color: var(--teal);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
}
.tour-detail-link:hover { color: var(--coral); }

.pagination {
    margin: 26px 0 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}
.pagination a,
.pagination span {
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 850;
}
.pagination a {
    background: var(--navy);
    color: #fff;
    text-decoration: none;
}
.pagination span { background: #eaf1f0; color: #5d717a; }

.feed-message {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}
.feed-message strong {
    color: var(--navy-deep);
    font-size: 22px;
}
.feed-message p { margin: 8px 0 15px; color: var(--muted); }
.feed-message a { color: var(--teal); font-weight: 900; }

.oogler-strip {
    margin-top: 34px;
    padding: 26px 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0b3f56, #126a75);
    color: #fff;
    box-shadow: var(--shadow);
}
.oogler-strip .results-kicker { color: #ffd79f; }
.oogler-strip h2 { margin: 4px 0 5px; font-size: 28px; }
.oogler-strip p { max-width: 690px; margin: 0; color: rgba(255, 255, 255, .80); font-size: 13px; }
.oogler-links { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 8px; }
.oogler-links a {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none;
}
.oogler-links a:hover { background: rgba(255, 255, 255, .16); }

.site-sidebar {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 15px;
}
.sidebar-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}
.sidebar-card:not(.wiley-card) { padding: 18px; }
.sidebar-card h3 {
    margin: 4px 0 12px;
    color: var(--navy-deep);
    font-size: 18px;
}
.sidebar-card-head { margin-bottom: 7px; }
.wiley-card-top {
    padding: 20px 20px 18px;
    background: linear-gradient(135deg, var(--navy-deep), #0c6472);
    color: #fff;
}
.wiley-card-top .sidebar-eyebrow { color: #a9eeeb; }
.wiley-card-top h2 {
    margin: 5px 0 2px;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -.02em;
}
.wiley-card-top p { margin: 0; color: rgba(255, 255, 255, .77); font-size: 11px; }
.wiley-card-body { padding: 17px 20px 19px; }
.broker-name { display: block; color: var(--navy); font-size: 15px; }
.wiley-card-body p { margin: 8px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.sidebar-primary-button,
.sidebar-secondary-button {
    width: 100%;
    min-height: 38px;
    margin-top: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}
.sidebar-primary-button { background: var(--coral); color: #fff; }
.sidebar-secondary-button { background: #eef6f5; color: var(--navy); }
.wiley-legal-name { margin-top: 12px; color: #8a9aa1; font-size: 9px; }

.weekend-total {
    margin-top: 7px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.weekend-total strong { color: var(--navy-deep); font-size: 36px; line-height: 1; }
.weekend-total span { color: var(--muted); font-size: 11px; }
.weekend-days {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.weekend-days div {
    padding: 10px;
    border-radius: 10px;
    background: #f1f7f6;
}
.weekend-days strong { display: block; color: var(--teal); font-size: 20px; }
.weekend-days span { color: var(--muted); font-size: 9px; font-weight: 800; }

.area-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.area-links a {
    min-height: 34px;
    padding: 7px 8px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    background: #f4f7f6;
    color: #4f6873;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}
.area-links a:hover,
.area-links a.is-active { background: var(--aqua); color: #08666d; }
.quick-tour-links { display: grid; gap: 4px; }
.quick-tour-links a {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf0ee;
    color: #4c6570;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}
.quick-tour-links a:last-child { border-bottom: 0; }
.quick-tour-links a:hover,
.quick-tour-links a.is-active { color: var(--coral); }
.network-card p { margin: 0 0 11px; color: var(--muted); font-size: 11px; }
.network-card > a { color: var(--teal); font-size: 11px; font-weight: 900; text-decoration: none; }

.property-hero {
    padding: 30px 0 27px;
    background: linear-gradient(135deg, #edf8f6, #fff8ea);
    border-bottom: 1px solid var(--line);
}
.back-to-tours { color: var(--teal); font-size: 11px; font-weight: 850; text-decoration: none; }
.property-hero-heading {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}
.property-hero h1 {
    margin: 5px 0 2px;
    color: var(--navy-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.05;
}
.property-hero-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.property-price { color: var(--navy-deep); font-size: clamp(27px, 3vw, 40px); font-weight: 950; white-space: nowrap; }
.property-layout { padding-top: 26px; }
.property-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.property-gallery figure { margin: 0; overflow: hidden; border-radius: 10px; background: #e5ecea; }
.property-gallery img { width: 100%; height: 100%; object-fit: cover; }
.property-main-photo { grid-column: span 4; height: min(52vw, 490px); }
.property-thumb { height: 120px; }
.property-section {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}
.property-section h2 { margin: 4px 0 15px; color: var(--navy-deep); font-size: 25px; }
.schedule-list { display: grid; gap: 8px; }
.schedule-item {
    padding: 11px 12px;
    border-radius: 10px;
    background: #fff3ec;
}
.schedule-item strong { display: block; color: #b34f36; font-size: 13px; }
.schedule-item span { display: block; margin-top: 2px; color: #7c6b65; font-size: 11px; }
.property-facts-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.property-facts-grid div { padding: 11px; border-radius: 10px; background: #f2f7f6; }
.property-facts-grid dt { color: #7a8e96; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.property-facts-grid dd { margin: 3px 0 0; color: var(--navy-deep); font-size: 13px; font-weight: 850; }
.property-remarks { margin: 0; color: #4e6570; font-size: 14px; line-height: 1.75; }
.listing-attribution {
    margin-top: 24px;
    padding: 18px;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    border: 1px solid rgba(11, 63, 86, .17);
    border-radius: 14px;
    background: #f7faf9;
}
.listing-source-mark {
    padding: 10px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e3e8e6;
}
.listing-source-mark img { max-width: 125px; max-height: 54px; object-fit: contain; }
.listing-source-copy > strong { color: var(--navy-deep); font-size: 14px; }
.listing-source-copy p { margin: 5px 0 0; color: #50656f; font-size: 11px; line-height: 1.5; }
.listing-source-copy .listing-disclaimer { color: #73858d; font-size: 9px; }

.simple-page { min-height: 55vh; padding: 60px 0; }

.site-footer {
    padding: 36px 0 20px;
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .72);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr minmax(350px, 620px);
    gap: 36px;
    align-items: start;
}
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-brand p { margin: 4px 0 10px; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 13px; }
.footer-links a { color: #a8e8e5; font-size: 10px; font-weight: 850; text-decoration: none; }
.footer-broker { display: grid; gap: 3px; text-align: right; font-size: 10px; }
.footer-broker strong { color: #fff; font-size: 13px; }
.footer-mls {
    margin-top: 24px;
    padding-top: 18px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, .13);
}
.footer-mls img { max-width: 115px; max-height: 42px; padding: 6px; border-radius: 5px; background: #fff; object-fit: contain; }
.footer-mls p { max-width: 650px; margin: 0; text-align: right; font-size: 9px; line-height: 1.5; }
.footer-bottom {
    margin-top: 19px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    text-align: center;
    font-size: 9px;
}

@media (max-width: 1120px) {
    .masthead { align-items: flex-start; padding: 16px 0; }
    .top-nav { max-width: 630px; }
    .content-with-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
    .area-links { grid-template-columns: 1fr; }
    .property-facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
    .identity-bar-inner { align-items: flex-start; flex-direction: column; gap: 2px; padding: 7px 0; }
    .masthead { flex-direction: column; gap: 12px; }
    .top-nav { justify-content: flex-start; max-width: none; }
    .home-hero-inner { grid-template-columns: 1fr; gap: 22px; }
    .hero-fun-note { max-width: 620px; transform: none; }
    .content-with-sidebar { grid-template-columns: 1fr; }
    .site-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wiley-card { grid-column: span 2; }
    .area-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-broker, .footer-mls p { text-align: left; }
    .footer-mls { justify-content: flex-start; }
}

@media (max-width: 700px) {
    .shell { width: min(calc(100% - 24px), var(--shell)); }
    .brand strong { font-size: 23px; }
    .brand-tag { display: none; }
    .top-nav { gap: 3px; }
    .top-nav a { padding: 8px 7px; font-size: 11px; }
    .top-nav a:nth-child(4) { display: none; }
    .home-hero-inner { min-height: auto; padding: 34px 0; }
    .hero-copy h1 { font-size: 42px; }
    .hero-copy p { font-size: 15px; }
    .hero-fun-note { display: none; }
    .tour-grid { grid-template-columns: 1fr; }
    .tour-card-photo { height: 170px; }
    .results-heading { align-items: flex-start; flex-direction: column; }
    .site-sidebar { grid-template-columns: 1fr; }
    .wiley-card { grid-column: auto; }
    .area-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .property-hero-heading { align-items: flex-start; flex-direction: column; }
    .property-main-photo { height: 58vw; }
    .property-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .property-main-photo { grid-column: span 2; }
    .property-thumb { height: 100px; }
    .property-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .listing-attribution { grid-template-columns: 1fr; }
    .listing-source-mark { justify-content: start; }
    .footer-mls { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 440px) {
    .site-identity-bar { font-size: 10px; }
    .masthead { min-height: auto; }
    .brand { min-width: 0; }
    .brand strong { font-size: 21px; }
    .top-nav .nav-contact { margin-left: 0; }
    .hero-copy h1 { font-size: 36px; }
    .tour-controls-section .shell { padding-top: 12px; padding-bottom: 12px; }
    .content-with-sidebar { padding-top: 25px; }
    .tour-card-photo { height: 155px; }
    .property-section { padding: 18px; }
    .property-facts-grid { grid-template-columns: 1fr 1fr; }
}

/* South Florida Home Tours v2: publication style */
:root {
    --navy: #163f5b;
    --navy-deep: #0b2d45;
    --teal: #2f717b;
    --aqua: #e9f2f3;
    --coral: #b9854c;
    --gold: #caa56f;
    --sand: #f4f2ed;
    --paper: #ffffff;
    --ink: #243846;
    --muted: #687b87;
    --line: rgba(11, 45, 69, .14);
    --shadow: 0 12px 28px rgba(11, 45, 69, .10);
    --shadow-soft: 0 5px 16px rgba(11, 45, 69, .065);
    --radius: 10px;
}

body { background: #f4f5f4; }

.site-header {
    background: #ffffff;
    box-shadow: none;
    border-bottom: 1px solid #dce2e5;
}
.site-identity-bar { background: #0b2d45; }
.identity-bar-inner { min-height: 31px; }
.masthead { min-height: 82px; }
.brand-small { color: #607987; letter-spacing: .20em; }
.brand strong {
    color: #0b2d45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 700;
    letter-spacing: .015em;
}
.brand-tag { color: #73838c; font-size: 10px; letter-spacing: .055em; text-transform: uppercase; }
.top-nav a { border-radius: 4px; color: #405c6d; font-size: 12px; }
.top-nav a:hover { background: #f1f4f5; color: #0b2d45; }
.top-nav .nav-contact {
    background: #163f5b;
    border-radius: 4px;
    color: #fff;
}
.top-nav .nav-contact:hover { background: #0b2d45; }

.home-hero {
    background: #0f3853;
    border-bottom: 0;
}
.home-hero::after { display: none; }
.home-hero-inner {
    min-height: 205px;
    padding: 34px 0 35px;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 50px;
}
.hero-kicker { color: #bfd0d9; font-size: 9px; letter-spacing: .18em; }
.hero-copy h1 {
    margin: 6px 0 9px;
    color: #fff;
    font-size: clamp(35px, 4.4vw, 56px);
    font-weight: 700;
    letter-spacing: -.025em;
}
.hero-copy p { max-width: 760px; color: rgba(255,255,255,.78); font-size: 15px; }
.hero-date-line { margin-top: 15px; color: #dbe6eb; font-size: 10px; letter-spacing: .07em; }
.hero-summary {
    padding: 18px 20px;
    border-left: 3px solid #caa56f;
    background: rgba(255,255,255,.07);
    color: #fff;
}
.hero-summary-label { display: block; color: #c7d4db; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.hero-summary strong { display: block; margin-top: 6px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 700; }
.hero-summary p { margin: 4px 0 0; color: rgba(255,255,255,.70); font-size: 11px; }

.tour-controls-section { background: #fff; border-bottom: 1px solid #dce2e5; }
.tour-controls-section .shell { padding: 13px 0; }
.period-tabs a {
    padding: 8px 13px;
    border-radius: 4px;
    background: #fff;
    color: #4d6472;
    font-size: 12px;
}
.period-tabs a.is-active { border-color: #163f5b; background: #163f5b; }
.tour-chips { margin-top: 8px; }
.tour-chips a {
    padding: 6px 10px;
    border: 1px solid #e2e7e9;
    border-radius: 4px;
    background: #f8f9f9;
    color: #546a76;
    font-size: 10px;
}
.tour-chips a.is-active { border-color: #a8bdc5; background: #eaf0f2; color: #163f5b; }

.content-with-sidebar {
    padding: 30px 0 70px;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
}
.results-kicker, .sidebar-eyebrow { color: #8b683f; }
.results-heading { min-height: 68px; margin-bottom: 16px; }
.results-heading h2 { color: #0b2d45; font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px, 3vw, 32px); font-weight: 700; }
.results-heading p { font-size: 12px; }
.tour-day-heading { border-bottom: 1px solid #cfd9de; }
.tour-day-heading h3 { color: #163f5b; font-size: 14px; letter-spacing: .02em; }

.tour-grid { gap: 14px; }
.tour-card {
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(11,45,69,.055);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.tour-card:hover { transform: none; border-color: rgba(11,45,69,.27); box-shadow: 0 6px 18px rgba(11,45,69,.09); }
.tour-card-photo { height: 138px; }
.tour-card:hover .tour-card-photo img { transform: none; }
.photo-badge {
    top: 8px;
    right: 8px;
    padding: 4px 7px;
    border-radius: 3px;
    background: rgba(11,45,69,.90);
    font-size: 8px;
}
.tour-card-body { padding: 12px 13px 13px; }
.open-time { margin-bottom: 7px; color: #455d6b; }
.open-time > span { border-radius: 3px; background: #8b683f; }
.tour-price { color: #0b2d45; font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 700; }
.tour-card h3 { color: #284b60; font-size: 12px; }
.tour-facts li { border-radius: 3px; background: #f1f4f5; }
.tour-detail-link { color: #2f6574; }
.tour-detail-link:hover { color: #0b2d45; }

.site-sidebar {
    top: 16px;
    gap: 13px;
    padding-left: 2px;
}
.sidebar-card {
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(11,45,69,.05);
}
.sidebar-card:not(.wiley-card) { padding: 18px 19px; }
.sidebar-card h3 { color: #0b2d45; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 700; }
.wiley-card { border-top: 4px solid #0b2d45; }
.wiley-card-top {
    padding: 18px 20px 14px;
    background: #fff;
    color: #0b2d45;
    border-bottom: 1px solid #e0e6e8;
}
.wiley-card-top .sidebar-eyebrow { color: #8b683f; }
.wiley-card-top h2 { margin-top: 5px; color: #0b2d45; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 700; }
.wiley-card-top p { color: #6b7d87; font-size: 10px; }
.wiley-card-body { padding: 16px 20px 18px; }
.broker-name { color: #294e63; font-size: 13px; }
.wiley-card-body p { font-size: 11px; }
.sidebar-primary-button, .sidebar-secondary-button { border-radius: 4px; }
.sidebar-primary-button { background: #163f5b; }
.sidebar-primary-button:hover { background: #0b2d45; }
.sidebar-secondary-button { background: #eef2f3; color: #163f5b; }
.wiley-legal-name { padding-top: 10px; border-top: 1px solid #edf0f1; color: #84939b; line-height: 1.45; }
.weekend-total strong { color: #0b2d45; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 700; }
.weekend-days div { border-radius: 4px; background: #f1f4f5; }
.weekend-days strong { color: #2f6574; }
.area-links { gap: 5px; }
.area-links a { border: 1px solid #e3e7e9; border-radius: 4px; background: #fafafa; font-size: 9px; }
.area-links a:hover, .area-links a.is-active { border-color: #aec0c8; background: #eaf0f2; color: #163f5b; }
.quick-tour-links a:hover, .quick-tour-links a.is-active { color: #163f5b; }
.network-card { background: #f9faf9; }
.network-card > a { color: #2f6574; }

.collection-strip {
    margin-top: 34px;
    padding: 23px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    border: 1px solid #d9e0e3;
    border-radius: 7px;
    background: #fff;
}
.collection-strip h2 { margin: 4px 0 4px; color: #0b2d45; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 700; }
.collection-strip p { max-width: 650px; margin: 0; color: #687b87; font-size: 12px; }
.collection-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 360px; }
.collection-links a {
    padding: 7px 9px;
    border: 1px solid #d9e0e3;
    border-radius: 4px;
    background: #f8f9f9;
    color: #294e63;
    font-size: 9px;
    font-weight: 850;
    text-decoration: none;
}
.collection-links a:hover { border-color: #9fb4bd; background: #edf2f3; }

.site-footer { background: #0b2d45; }
.footer-links a { color: #c3d2da; }

@media (max-width: 1120px) {
    .content-with-sidebar { grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; }
}
@media (max-width: 940px) {
    .home-hero-inner { grid-template-columns: 1fr; gap: 18px; }
    .hero-summary { max-width: 500px; }
    .content-with-sidebar { grid-template-columns: 1fr; }
    .site-sidebar { padding-left: 0; }
    .collection-strip { grid-template-columns: 1fr; }
    .collection-links { justify-content: flex-start; max-width: none; }
}
@media (max-width: 700px) {
    .hero-summary { display: none; }
    .tour-card-photo { height: 160px; }
}
@media (max-width: 440px) {
    .tour-card-photo { height: 150px; }
}

/* South Florida Home Tours v3: first time visitor clarity */
.masthead {
    min-height: 86px;
    padding: 12px 0;
}
.masthead-explainer {
    margin-left: auto;
    display: grid;
    gap: 3px;
    text-align: right;
}
.masthead-explainer strong {
    color: #0b2d45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 700;
}
.masthead-explainer span {
    color: #72828b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.primary-nav-bar {
    background: #163f5b;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 3px solid #caa56f;
}
.primary-nav-bar .shell {
    min-height: 48px;
    display: flex;
    align-items: stretch;
}
.primary-nav-bar .top-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}
.primary-nav-bar .top-nav a {
    min-height: 48px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    border-left: 1px solid rgba(255,255,255,.10);
    border-radius: 0;
    color: rgba(255,255,255,.92);
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}
.primary-nav-bar .top-nav a:hover {
    background: rgba(255,255,255,.10);
    color: #fff;
}
.primary-nav-bar .top-nav .nav-start {
    background: #caa56f;
    border-left: 0;
    color: #0b2d45;
    font-weight: 950;
}
.primary-nav-bar .top-nav .nav-start:hover {
    background: #d5b57f;
    color: #0b2d45;
}
.primary-nav-bar .top-nav .nav-contact {
    margin-left: auto;
    padding-inline: 18px;
    background: #0b2d45;
    border-left: 1px solid rgba(255,255,255,.14);
    color: #fff;
}
.primary-nav-bar .top-nav .nav-contact:hover {
    background: #08243a;
}

.home-hero-inner {
    min-height: 190px;
    padding: 30px 0 31px;
}
.hero-copy h1 {
    max-width: 850px;
    font-size: clamp(34px, 4.2vw, 52px);
}
.hero-copy p {
    max-width: 820px;
    font-size: 15px;
    line-height: 1.6;
}

.data-status {
    background: #f6f1e8;
    border-bottom: 1px solid #ded8cc;
}
.data-status-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #596a74;
    font-size: 10px;
    line-height: 1.4;
}
.data-status-inner strong {
    color: #0b2d45;
    font-size: 10px;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.data-status-time {
    margin-left: auto;
    color: #6e5c43;
    font-weight: 800;
    white-space: nowrap;
}

.start-here-section {
    padding: 28px 0 24px;
    background: #fff;
    border-bottom: 1px solid #dce2e5;
    scroll-margin-top: 20px;
}
.section-intro h2 {
    margin: 4px 0 5px;
    color: #0b2d45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.15;
}
.section-intro p {
    margin: 0;
    color: #687b87;
    font-size: 12px;
    line-height: 1.6;
}
.compact-intro {
    max-width: 900px;
}
.start-steps {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.start-step {
    position: relative;
    min-height: 105px;
    padding: 15px 16px 14px 53px;
    border: 1px solid #dfe5e8;
    background: #f9faf9;
}
.start-step > span {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #163f5b;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}
.start-step strong {
    display: block;
    color: #153d58;
    font-size: 13px;
}
.start-step p {
    margin: 5px 0 0;
    color: #6d7e87;
    font-size: 10px;
    line-height: 1.55;
}

.area-selector-section {
    padding: 24px 0 22px;
    background: #edf2f4;
    border-bottom: 1px solid #d5dee2;
    scroll-margin-top: 20px;
}
.inline-intro {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
}
.inline-intro p {
    max-width: 360px;
    text-align: right;
}
.main-area-links {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.main-area-links a {
    padding: 8px 10px;
    border: 1px solid #ccd7dc;
    background: #fff;
    color: #36586b;
    font-size: 10px;
    font-weight: 850;
    text-decoration: none;
}
.main-area-links a:hover,
.main-area-links a.is-active {
    border-color: #163f5b;
    background: #163f5b;
    color: #fff;
}

.tour-controls-section .shell.filter-groups {
    padding: 14px 0 15px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 28px;
    align-items: start;
}
.filter-label {
    display: block;
    margin-bottom: 7px;
    color: #5f717c;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .12em;
}
.tour-chips {
    margin-top: 0;
}
.additional-features-group {
    padding-left: 26px;
    border-left: 1px solid #dde4e7;
}

.content-with-sidebar {
    padding-top: 28px;
}

.wiley-card {
    border: 1px solid #cfd9de;
}
.wiley-photo-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #dce4e8;
    border-bottom: 1px solid #cfd9de;
}
.wiley-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
}
.wiley-card-top {
    padding: 17px 20px 15px;
    background: #0f3853;
}
.wiley-card-top h2 {
    margin-top: 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0;
}
.wiley-card-top p {
    margin-top: 4px;
    color: rgba(255,255,255,.78);
    font-size: 11px;
    font-weight: 700;
}
.wiley-card-body {
    padding: 18px 20px 19px;
}
.wiley-card-body p {
    margin: 0 0 11px;
    color: #586d79;
    font-size: 12px;
    line-height: 1.62;
}
.wiley-card-body .wiley-intro {
    color: #344f5f;
    font-size: 12px;
}
.sidebar-primary-button {
    background: #163f5b;
}
.sidebar-primary-button:hover {
    background: #0b2d45;
}
.sidebar-secondary-button {
    border: 1px solid #d9e2e5;
    background: #f5f7f7;
}
.sidebar-help-copy {
    margin: -3px 0 12px;
    color: #73838c;
    font-size: 10px;
    line-height: 1.5;
}

.collection-strip .results-kicker {
    color: #8b683f;
}

@media (max-width: 1120px) {
    .primary-nav-bar .top-nav a { padding-inline: 12px; }
    .primary-nav-bar .top-nav .nav-contact { margin-left: 0; }
}

@media (max-width: 940px) {
    .masthead-explainer {
        margin-left: 0;
        text-align: left;
    }
    .primary-nav-bar .top-nav { justify-content: flex-start; }
    .primary-nav-bar .top-nav .nav-contact { margin-left: 0; }
    .data-status-inner {
        padding: 9px 0;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 5px 10px;
    }
    .data-status-time {
        width: 100%;
        margin-left: 0;
    }
    .start-steps { grid-template-columns: 1fr; }
    .start-step { min-height: auto; }
    .tour-controls-section .shell.filter-groups {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .additional-features-group {
        padding-left: 0;
        padding-top: 14px;
        border-left: 0;
        border-top: 1px solid #dde4e7;
    }
    .wiley-photo-wrap { height: 260px; }
}

@media (max-width: 700px) {
    .masthead { gap: 7px; }
    .masthead-explainer strong { font-size: 15px; }
    .masthead-explainer span { font-size: 9px; }
    .primary-nav-bar .shell { width: 100%; }
    .primary-nav-bar .top-nav a { padding-inline: 13px; }
    .home-hero-inner { padding: 27px 0 28px; }
    .hero-copy h1 { font-size: 38px; }
    .start-here-section { padding: 24px 0 21px; }
    .inline-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
    .inline-intro p { text-align: left; }
    .main-area-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .main-area-links a { text-align: center; }
    .wiley-photo-wrap { height: 235px; }
}

@media (max-width: 440px) {
    .masthead-explainer span { display: none; }
    .hero-copy h1 { font-size: 34px; }
    .data-status-inner strong { width: 100%; }
    .section-intro h2 { font-size: 22px; }
    .main-area-links { grid-template-columns: 1fr 1fr; }
}

/* South Florida Home Tours v4: compact first screen */
.site-identity-bar {
    font-size: 11px;
}
.identity-bar-inner {
    min-height: 28px;
}
.masthead {
    min-height: 66px;
    padding: 8px 0;
}
.brand strong {
    font-size: 25px;
}
.brand-tag {
    margin-top: 4px;
    font-size: 10px;
}
.masthead-explainer strong {
    font-size: 14px;
}
.masthead-explainer span {
    font-size: 9px;
}
.primary-nav-bar .shell,
.primary-nav-bar .top-nav a {
    min-height: 43px;
}
.primary-nav-bar .top-nav a {
    padding-inline: 14px;
}
.primary-nav-bar .top-nav .nav-start {
    box-shadow: inset 0 -4px 0 rgba(11,45,69,.26);
}

.start-guide-section {
    padding: 15px 0 0;
    background: #f7f8f6;
    scroll-margin-top: 12px;
}
.start-guide-box {
    overflow: hidden;
    border: 1px solid #d7c6a9;
    border-top: 5px solid #c59a58;
    background: #f8f1e5;
    box-shadow: 0 7px 20px rgba(11,45,69,.06);
}
.start-guide-intro {
    padding: 13px 17px 12px;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #dfd0b8;
}
.start-guide-intro .results-kicker {
    margin-bottom: 2px;
    color: #7e5b2d;
}
.start-guide-intro h1 {
    margin: 0;
    color: #0b2d45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2.5vw, 34px);
    line-height: 1.08;
}
.start-guide-intro p {
    max-width: 830px;
    margin: 5px 0 0;
    color: #536a77;
    font-size: 11px;
    line-height: 1.5;
}
.start-guide-status {
    min-width: 225px;
    display: grid;
    gap: 1px;
    text-align: right;
}
.start-guide-status strong {
    color: #0b2d45;
    font-size: 16px;
}
.start-guide-status span {
    color: #596e79;
    font-size: 10px;
    font-weight: 750;
}
.start-guide-status small {
    margin-top: 3px;
    color: #7a684f;
    font-size: 9px;
    line-height: 1.35;
}
.start-guide-controls {
    padding: 11px 17px 12px;
    display: grid;
    grid-template-columns: minmax(390px,1.25fr) minmax(210px,.55fr) minmax(350px,1fr);
    gap: 16px;
    align-items: end;
    background: rgba(255,255,255,.54);
}
.guide-control {
    min-width: 0;
}
.guide-control + .guide-control {
    padding-left: 16px;
    border-left: 1px solid #ded2bf;
}
.guide-control-label {
    display: block;
    margin-bottom: 6px;
    color: #0b2d45;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
}
.start-guide-controls .period-tabs,
.feature-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
}
.start-guide-controls .period-tabs a,
.feature-shortcuts a {
    min-height: 32px;
    padding: 7px 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c8d3d8;
    background: #fff;
    color: #2d5267;
    font-size: 9px;
    font-weight: 900;
    text-decoration: none;
}
.start-guide-controls .period-tabs a:hover,
.start-guide-controls .period-tabs a.is-active,
.feature-shortcuts a:hover,
.feature-shortcuts a.is-active {
    border-color: #163f5b;
    background: #163f5b;
    color: #fff;
}
.area-jump {
    width: 100%;
    min-height: 34px;
    padding: 6px 32px 6px 10px;
    border: 1px solid #aebfc7;
    border-radius: 0;
    background: #fff;
    color: #153d58;
    font-size: 11px;
    font-weight: 800;
}
.content-with-sidebar {
    padding-top: 17px;
}
.results-heading {
    margin-bottom: 13px;
}
.results-heading h2 {
    margin-top: 2px;
}

.wiley-photo-wrap {
    height: 225px;
}
.wiley-photo-wrap img {
    object-position: center 28%;
}

@media (max-width: 1080px) {
    .start-guide-controls {
        grid-template-columns: 1fr 260px;
    }
    .guide-control-features {
        grid-column: 1 / -1;
        padding-left: 0 !important;
        padding-top: 9px;
        border-left: 0 !important;
        border-top: 1px solid #ded2bf;
    }
}

@media (max-width: 800px) {
    .masthead-explainer { display: none; }
    .start-guide-intro {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .start-guide-status {
        min-width: 0;
        text-align: left;
    }
    .start-guide-controls {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .guide-control + .guide-control,
    .guide-control-features {
        grid-column: auto;
        padding-left: 0 !important;
        padding-top: 9px;
        border-left: 0 !important;
        border-top: 1px solid #ded2bf;
    }
}

@media (max-width: 520px) {
    .identity-bar-inner {
        padding: 5px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
    }
    .masthead {
        min-height: 60px;
    }
    .brand-tag { display: none; }
    .start-guide-section { padding-top: 9px; }
    .start-guide-intro,
    .start-guide-controls {
        padding-left: 12px;
        padding-right: 12px;
    }
    .start-guide-intro h1 { font-size: 26px; }
    .start-guide-controls .period-tabs a,
    .feature-shortcuts a {
        flex: 1 1 auto;
    }
}

/* South Florida Home Tours v5: compact navigation, stronger start panel, denser results */
.masthead-v5 {
    min-height: 68px;
    padding: 8px 0 9px;
    align-items: center;
}
.masthead-v5 .brand {
    min-width: 225px;
}
.masthead-v5 .brand strong {
    font-size: 26px;
}
.masthead-link-area {
    min-width: 0;
    display: grid;
    justify-items: end;
    gap: 4px;
}
.coverage-title {
    color: #0b2d45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
}
.simple-top-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0;
}
.simple-top-nav a {
    position: relative;
    padding: 0 9px;
    color: #536b79;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.6;
    text-decoration: none;
}
.simple-top-nav a:first-child { padding-left: 0; }
.simple-top-nav a:last-child { padding-right: 0; }
.simple-top-nav a + a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: #cfd9de;
}
.simple-top-nav a:hover,
.simple-top-nav .nav-start {
    color: #0b2d45;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.start-guide-section {
    padding-top: 12px;
}
.start-guide-box-v5 {
    border: 2px solid #163f5b;
    border-top: 2px solid #163f5b;
    background: #fffaf1;
    box-shadow: 0 5px 16px rgba(11,45,69,.055);
}
.start-guide-intro-v5 {
    padding: 11px 14px 10px;
    gap: 16px;
    border-bottom: 1px solid #d8c9ae;
}
.start-guide-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.start-here-badge {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid #0b2d45;
    background: #0b2d45;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .11em;
    line-height: 1;
}
.start-guide-intro-v5 h1 {
    margin: 0;
    font-size: clamp(22px, 2.25vw, 30px);
}
.start-guide-intro-v5 p {
    max-width: 760px;
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.4;
}
.start-guide-intro-v5 .start-guide-status {
    min-width: 215px;
}
.start-guide-intro-v5 .start-guide-status strong {
    font-size: 15px;
}
.start-guide-controls-v5 {
    padding: 9px 14px 10px;
    grid-template-columns: minmax(355px,1.15fr) minmax(190px,.58fr) minmax(190px,.62fr);
    gap: 13px;
}
.start-guide-controls-v5 .guide-control + .guide-control {
    padding-left: 13px;
}
.start-guide-controls-v5 .guide-control-label {
    margin-bottom: 4px;
}
.start-guide-controls-v5 .period-tabs a,
.start-guide-controls-v5 .feature-shortcuts a {
    min-height: 29px;
    padding: 5px 8px;
}
.start-guide-controls-v5 .area-jump {
    min-height: 31px;
}

.content-with-sidebar {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 22px;
    padding-top: 14px;
}
.results-heading {
    min-height: 56px;
    margin-bottom: 11px;
}
.results-heading h2 {
    font-size: clamp(23px, 2.4vw, 29px);
}
.tour-day-group { margin-bottom: 27px; }
.tour-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}
.tour-card-photo { height: 128px; }
.tour-card-body { padding: 10px 10px 11px; }
.open-time { font-size: 9px; }
.tour-price { font-size: 19px; }
.tour-card h3 { font-size: 11px; line-height: 1.28; }
.tour-location { font-size: 9px; }
.tour-facts { gap: 4px; }
.tour-facts li { padding: 4px 5px; font-size: 8px; }
.tour-detail-link { font-size: 9px; }

.site-sidebar {
    gap: 11px;
}
.sidebar-card:not(.wiley-card) {
    padding: 14px 14px;
}
.sidebar-card h3 {
    font-size: 16px;
}
.wiley-photo-wrap {
    height: 185px;
}
.wiley-photo-wrap img {
    object-position: center 6%;
}
.wiley-card-top {
    padding: 14px 15px 12px;
    background: #0b2d45 !important;
    color: #fff !important;
}
.wiley-card-top .sidebar-eyebrow {
    color: #d8c29b !important;
    font-size: 8px;
}
.wiley-card-top h2 {
    margin: 4px 0 2px;
    color: #fff !important;
    font-size: 22px;
}
.wiley-card-top p {
    color: rgba(255,255,255,.82) !important;
}
.wiley-card-body {
    padding: 14px 15px 15px;
}
.wiley-card-body p,
.wiley-card-body .wiley-intro {
    font-size: 10px;
    line-height: 1.52;
}
.area-links a { font-size: 8px; }
.weekend-total strong { font-size: 29px; }
.weekend-total span { font-size: 9px; }

@media (max-width: 1120px) {
    .content-with-sidebar {
        grid-template-columns: minmax(0, 1fr) 240px;
        gap: 18px;
    }
    .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .start-guide-controls-v5 {
        grid-template-columns: minmax(330px,1fr) 215px;
    }
    .start-guide-controls-v5 .guide-control-features {
        grid-column: 1 / -1;
        padding-left: 0 !important;
        padding-top: 7px;
        border-left: 0 !important;
        border-top: 1px solid #ded2bf;
    }
}

@media (max-width: 940px) {
    .masthead-v5 {
        align-items: flex-start;
    }
    .masthead-link-area {
        justify-items: start;
    }
    .simple-top-nav {
        justify-content: flex-start;
    }
    .content-with-sidebar { grid-template-columns: 1fr; }
    .site-sidebar { position: static; }
    .tour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wiley-card { max-width: 520px; }
}

@media (max-width: 800px) {
    .masthead-v5 {
        flex-direction: column;
        gap: 5px;
    }
    .coverage-title { font-size: 13px; }
    .simple-top-nav a { padding-inline: 7px; }
    .start-guide-intro-v5 {
        grid-template-columns: 1fr;
    }
    .start-guide-copy { align-items: flex-start; }
    .start-guide-intro-v5 .start-guide-status {
        min-width: 0;
        text-align: left;
    }
    .start-guide-controls-v5 {
        grid-template-columns: 1fr;
    }
    .start-guide-controls-v5 .guide-control + .guide-control,
    .start-guide-controls-v5 .guide-control-features {
        grid-column: auto;
        padding-left: 0 !important;
        padding-top: 7px;
        border-left: 0 !important;
        border-top: 1px solid #ded2bf;
    }
    .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .coverage-title { font-size: 12px; }
    .simple-top-nav { gap: 3px 0; }
    .simple-top-nav a { font-size: 9px; }
    .start-guide-copy {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
    }
    .start-here-badge { width: fit-content; }
    .start-guide-intro-v5 h1 { font-size: 23px; }
    .tour-grid { grid-template-columns: 1fr; }
    .tour-card-photo { height: 155px; }
    .wiley-photo-wrap { height: 220px; }
}


/* South Florida Home Tours v6: compact purpose copy and stronger Wiley conversion */
.site-purpose {
    max-width: 760px;
    margin: 0;
    color: #667b87;
    font-size: 10px;
    line-height: 1.35;
    text-align: right;
}
.masthead-link-area {
    gap: 3px;
}
.realtor-mark {
    font-weight: 900;
    letter-spacing: .03em;
}
.wiley-phone-link {
    display: block;
    margin-top: 9px;
    color: #163f5b;
    font-size: 10px;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
}
.wiley-phone-link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.showing-help-strip {
    border: 1px solid #cfd9de;
    border-left: 4px solid #163f5b;
    background: #f7f9f9;
}
.showing-help-strip h2 {
    color: #0b2d45;
}
.showing-help-strip p {
    max-width: 720px;
}
.showing-help-links a:first-child {
    border-color: #163f5b;
    background: #163f5b;
    color: #fff;
}
.showing-help-links a:first-child:hover {
    background: #0b2d45;
}
@media (max-width: 940px) {
    .site-purpose {
        max-width: 680px;
        text-align: left;
    }
    .masthead-link-area {
        justify-items: start;
    }
    .simple-top-nav {
        justify-content: flex-start;
    }
}
@media (max-width: 700px) {
    .site-purpose {
        font-size: 10px;
        line-height: 1.4;
    }
}


/* South Florida Home Tours v7: simplified masthead, branded mark, centered Start Here controls */
.brand-v7 {
    min-width: 250px !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
}
.brand-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
}
.brand-words {
    min-width: 0;
    display: grid;
    line-height: 1;
}
.masthead-link-area-v7 {
    max-width: 770px;
    gap: 4px;
}
.masthead-link-area-v7 .coverage-title,
.masthead-link-area-v7 .site-purpose {
    text-align: right;
}
.start-guide-box-v5 {
    border-radius: 16px;
}
.start-here-badge {
    border-radius: 7px;
    box-shadow: 0 2px 5px rgba(11,45,69,.12);
}
.start-guide-controls-v7 {
    grid-template-columns: minmax(360px,1.15fr) minmax(205px,.72fr) minmax(245px,.82fr);
    align-items: start;
}
.start-guide-controls-v7 .guide-control {
    text-align: center;
}
.start-guide-controls-v7 .guide-control-label {
    text-align: center;
}
.start-guide-controls-v7 .period-tabs,
.start-guide-controls-v7 .feature-shortcuts {
    justify-content: center;
}
.start-guide-controls-v7 .area-jump {
    width: min(100%, 250px);
    margin-inline: auto;
    display: block;
}
.sidebar-showing-card {
    border-left: 4px solid #163f5b;
    background: #f8fafb;
}
.sidebar-showing-card h3 {
    margin-bottom: 7px;
    line-height: 1.25;
}
.sidebar-showing-card p {
    margin: 0 0 11px;
    color: #5b717d;
    font-size: 10px;
    line-height: 1.5;
}
.sidebar-showing-card .sidebar-primary-button {
    margin-top: 0;
}
@media (max-width: 1120px) {
    .start-guide-controls-v7 {
        grid-template-columns: minmax(330px,1fr) minmax(205px,.68fr);
    }
}
@media (max-width: 940px) {
    .masthead-link-area-v7 .coverage-title,
    .masthead-link-area-v7 .site-purpose {
        text-align: left;
    }
}
@media (max-width: 800px) {
    .brand-v7 { min-width: 0 !important; }
    .masthead-link-area-v7 { max-width: none; }
    .start-guide-controls-v7 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .brand-mark { width: 41px; height: 41px; flex-basis: 41px; }
    .brand-v7 .brand strong { font-size: 23px; }
}

/* South Florida Home Tours v8: interactive property gallery */
.property-gallery {
    display: block;
    margin-bottom: 24px;
}
.property-main-photo {
    position: relative;
    width: 100%;
    height: min(52vw, 510px);
    overflow: hidden;
    border-radius: 10px;
    background: #e5ecea;
    scroll-margin-top: 18px;
}
.property-main-image-button {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.property-main-image-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.property-gallery-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 9px;
    border-radius: 4px;
    background: rgba(11, 45, 69, .86);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .03em;
    pointer-events: none;
}
.property-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 38px;
    height: 48px;
    transform: translateY(-50%);
    border: 0;
    background: rgba(11, 45, 69, .82);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.property-gallery-prev { left: 10px; border-radius: 5px; }
.property-gallery-next { right: 10px; border-radius: 5px; }
.property-gallery-arrow:hover { background: rgba(11, 45, 69, .96); }
.property-gallery-counter {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 3;
    padding: 6px 9px;
    border-radius: 4px;
    background: rgba(11, 45, 69, .86);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}
.property-thumbnails {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}
.property-thumb-button {
    height: 92px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 7px;
    background: #e5ecea;
    cursor: pointer;
    opacity: .82;
}
.property-thumb-button:hover,
.property-thumb-button.is-active {
    border-color: #163f5b;
    opacity: 1;
}
.property-thumb-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.property-showing-help {
    margin-top: 28px;
    margin-bottom: 4px;
}
@media (max-width: 900px) {
    .property-thumbnails { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .property-thumb-button { height: 88px; }
}
@media (max-width: 600px) {
    .property-main-photo { height: 64vw; min-height: 270px; }
    .property-thumbnails { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .property-thumb-button { height: 78px; }
    .property-gallery-hint { display: none; }
    .property-gallery-arrow { width: 34px; height: 44px; }
}

/* South Florida Home Tours v9: OG sharing and expanded showing help */
.guide-control-label small {
    font-size: .82em;
    font-weight: 650;
    color: #71838d;
    letter-spacing: 0;
    text-transform: none;
}
.showing-help-expanded {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    row-gap: 18px;
}
.showing-help-copy {
    min-width: 0;
}
.more-homes-block {
    grid-column: 1 / -1;
    padding-top: 17px;
    border-top: 1px solid #d5dee2;
}
.more-homes-heading {
    margin-bottom: 11px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}
.more-homes-heading h3 {
    margin: 3px 0 0;
    color: #0b2d45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.25;
}
.more-homes-link {
    flex: 0 0 auto;
    color: #163f5b;
    font-size: 10px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.for-sale-teasers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.for-sale-teaser-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d3dde1;
    border-radius: 8px;
    background: #fff;
}
.for-sale-teaser-photo {
    position: relative;
    display: block;
    height: 102px;
    overflow: hidden;
    background: #e5ecea;
}
.for-sale-teaser-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.for-sale-teaser-photo span {
    position: absolute;
    left: 7px;
    bottom: 7px;
    padding: 4px 6px;
    border-radius: 4px;
    background: rgba(11,45,69,.9);
    color: #fff;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.for-sale-teaser-body {
    padding: 9px 10px 10px;
    display: grid;
    gap: 3px;
}
.for-sale-teaser-body > strong {
    color: #0b2d45;
    font-size: 14px;
}
.for-sale-teaser-body > a {
    overflow: hidden;
    color: #284b60;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.for-sale-teaser-body > a:hover {
    color: #0b2d45;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.for-sale-teaser-body small {
    overflow: hidden;
    color: #71838d;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.for-sale-teaser-facts {
    display: flex;
    gap: 8px;
    color: #5d727d;
    font-size: 8px;
    font-weight: 750;
}
@media (max-width: 760px) {
    .showing-help-expanded {
        grid-template-columns: 1fr;
    }
    .more-homes-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
    .for-sale-teasers {
        grid-template-columns: 1fr;
    }
    .for-sale-teaser-card {
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr);
    }
    .for-sale-teaser-photo {
        height: 100%;
        min-height: 96px;
    }
}
