.home-section {
    padding: clamp(30px, 4.2vw, 58px) 0;
    background: #fff;
}

.home-section-tinted {
    background: var(--site-surface);
}

.home-section .property-card-grid {
    margin-bottom: 0;
}

.home-section-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px 16px;
    margin-bottom: 20px;
}

.home-section-heading h2,
.home-publish-panel h2 {
    margin: 0;
    color: var(--site-ink);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.home-section-link {
    color: var(--site-blue);
    font-size: 14px;
    font-weight: 600;
}

.home-section-link .fa {
    margin-left: 4px;
}

.home-section-link:hover {
    color: var(--site-ink);
    text-decoration: underline;
}

.home-section a:focus-visible {
    outline: 2px solid var(--site-focus);
    outline-offset: 3px;
}

.home-agency-grid,
.home-neighborhood-grid,
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-agency-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-agency,
.home-neighborhood,
.home-blog-grid .blog-post {
    min-width: 0;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: #fff;
    color: var(--site-ink);
    box-shadow: 0 4px 12px rgba(20, 40, 62, .06);
}

.home-agency,
.home-neighborhood {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
}

.home-agency:hover,
.home-neighborhood:hover {
    border-color: #adc6dd;
    color: var(--site-blue);
    box-shadow: 0 6px 16px rgba(20, 40, 62, .12);
}

.home-agency img,
.home-neighborhood img {
    flex: none;
    width: 58px;
    height: 58px;
    border: 1px solid var(--site-line);
    border-radius: 9px;
    background: var(--site-surface);
    object-fit: contain;
}

.home-neighborhood img {
    width: 72px;
    object-fit: cover;
}

.home-agency h3,
.home-neighborhood h3 {
    margin: 0;
    color: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.home-neighborhood span {
    color: var(--site-muted);
    font-size: 13px;
}

.home-agency .fa,
.home-neighborhood .fa {
    margin-left: auto;
    color: var(--site-blue);
}

.home-blog-grid .blog-post {
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
}

.home-blog-grid .post-img {
    height: auto;
}

.home-blog-grid .post-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    object-fit: cover;
}

.home-blog-grid .post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    background: #fff;
}

.home-blog-grid .post-content h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.35;
}

.home-blog-grid .post-content h3 a {
    color: var(--site-ink);
}

.home-blog-grid .post-content p {
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.home-blog-grid .article-actions {
    margin-top: auto;
}

.home-publish-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: clamp(18px, 3.2vw, 34px);
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: var(--site-surface);
}

.home-publish-panel p {
    margin: 7px 0 0;
    color: var(--site-muted);
    font-size: 15px;
    line-height: 1.5;
}

.home-publish-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.home-publish-actions a {
    color: var(--site-blue);
    font-size: 14px;
    font-weight: 600;
}

.home-publish-actions a:hover {
    text-decoration: underline;
}

.home-publish-actions .home-publish-primary {
    padding: 9px 14px;
    border-radius: 9px;
    background: var(--site-blue);
    color: #fff;
}

.home-publish-actions .home-publish-primary:hover {
    background: var(--site-ink);
    text-decoration: none;
}

@media (max-width: 991px) {
    .home-agency-grid,
    .home-neighborhood-grid,
    .home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .home-agency-grid,
    .home-neighborhood-grid,
    .home-blog-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .home-section-heading {
        margin-bottom: 14px;
    }
}
