:root {
    --sf-green-900: #123f2d;
    --sf-green-700: #1f5f3a;
    --sf-green-500: #2d8a57;
    --sf-sand-100: #f5f1e8;
    --sf-sand-200: #ebe4d5;
    --sf-ink-900: #112018;
    --sf-ink-700: #304238;
    --sf-white: #ffffff;
}

body.template-homepage-bold {
    margin: 0;
    color: var(--sf-ink-900);
    background: #ffffff;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.sf-shell {
    width: 100%;
    margin: 0;
    padding-inline: clamp(0.75rem, 3vw, 2rem);
    box-sizing: border-box;
}

.sf-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(11, 45, 32, 0.16);
    backdrop-filter: blur(4px);
}

.sf-header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sf-logo {
    color: #123f2d;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.sf-logo-image {
    display: block;
    max-height: 44px;
    width: auto;
}

.sf-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.sf-nav a,
.sf-nav-link {
    color: #1b4c38;
    text-decoration: none;
    font-size: 0.95rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.sf-nav a:hover,
.sf-nav a:focus-visible,
.sf-nav-link:hover,
.sf-nav-link:focus-visible {
    color: #123f2d;
    text-decoration: underline;
}

.sf-dropdown {
    position: relative;
    display: inline-block;
}

.sf-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    border-radius: 4px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.sf-dropdown-menu a {
    color: var(--sf-ink-900);
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: block;
}

.sf-dropdown-menu a:hover {
    background-color: #f1f1f1;
    color: var(--sf-green-700);
    text-decoration: none;
}

.sf-dropdown:hover .sf-dropdown-menu,
.sf-dropdown:focus-within .sf-dropdown-menu {
    display: block;
}

.sf-hero {
    background: transparent;
    padding: 0;
}

.sf-kicker {
    margin: 0 0 0.8rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.sf-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.1;
}

.sf-hero-copy p {
    margin-top: 0.65rem;
    max-width: none;
    color: rgba(255, 255, 255, 0.96);
    font-size: 1rem;
    line-height: 1.35;
}

.sf-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sf-btn {
    text-decoration: none;
    border-radius: 999px;
    padding: 0.7rem 1.1rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.sf-btn-primary {
    background: var(--sf-green-700);
    color: var(--sf-white);
}

.sf-btn-secondary {
    background: var(--sf-white);
    color: var(--sf-green-900);
    border-color: #c8d5cc;
}

.sf-hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 2474 / 600;
    overflow: hidden;
    background: #d6ded8;
}

.sf-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sf-hero-placeholder {
    border: 2px dashed #446654;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #274336;
    font-weight: 600;
}

.sf-hero-copy-wrap {
    position: absolute;
    top: 1rem;
    right: 1rem;
    left: auto;
    width: min(760px, calc(100% - 2rem));
    z-index: 2;
}

.sf-hero-copy-card {
    margin-left: auto;
    margin-right: 0;
    width: 100%;
    background: linear-gradient(160deg, rgba(9, 24, 17, 0.76), rgba(9, 24, 17, 0.46));
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    padding: 0.95rem 1rem;
    box-shadow: 0 12px 28px rgba(6, 14, 10, 0.3);
    color: var(--sf-white);
}

.sf-hero-copy-card h1 {
    color: var(--sf-white);
}

.sf-directory-panel {
    margin-top: 0;
    padding-top: 0 !important;
}

.sf-directory-panel h2,
.sf-map-panel-intro h2 {
    margin: 0;
}

.sf-directory-panel p,
.sf-map-panel-intro p {
    margin: 0.4rem 0 0;
    color: var(--sf-ink-700);
}

.sf-filter-wrap {
    background: #eaf4ff;
    border: 1px solid #c9def4;
    border-radius: 8px;
    padding: 0.85rem;
    overflow: visible;
}

.sf-directory-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin: 0;
    overflow: visible;
}

.sf-directory-form > .sf-form-field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.sf-form-field {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.sf-form-field-inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sf-tags-field {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
}

.sf-search-single-wrap {
    width: 100%;
    border: 1px solid #c8d8cc;
    border-radius: 8px;
    background: #f4f9ff;
    padding: 0.58rem 0.65rem;
    position: relative;
}

.sf-search-combobox-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #cfd6d1;
    border-radius: 8px;
    background: #ffffff;
    padding: 0.34rem 0.42rem;
    position: relative;
    overflow: visible;
}

.sf-search-combobox-wrap input[type="text"] {
    flex: 1 1 220px;
    min-width: 140px;
    border: 0;
    background: transparent;
    box-sizing: border-box;
    padding: 0.35rem 0.25rem;
    color: #1e2a21;
}

.sf-search-combobox-wrap input[type="text"]:focus {
    outline: none;
}

.sf-tag-drawer-toggle {
    border: 1px solid #9cb29e;
    border-radius: 999px;
    background: #ffffff;
    color: #244933;
    width: 1.8rem;
    height: 1.8rem;
    line-height: 1;
    font-size: 0.95rem;
    cursor: pointer;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#homepage-tag-drawer-toggle {
    background: #ffffff !important;
}

.sf-tag-toggle-image {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}

.sf-search-combobox-wrap .sf-search-trigger {
    border: 1px solid #1f5ea8;
    border-radius: 999px;
    background: #ffffff;
    color: #1f78d1;
    width: 1.9rem;
    height: 1.9rem;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sf-search-combobox-wrap .sf-search-trigger-glyph {
    color: #1f78d1;
    font-size: 0.95rem;
    line-height: 1;
    display: inline-block;
    transform: translateY(-0.02rem);
}

.sf-tag-sayt-list {
    margin: 0;
    padding: 0.22rem;
    list-style: none;
    border: 1px solid #c8d8cc;
    border-radius: 8px;
    background: #ffffff;
    max-height: 220px;
    overflow-y: auto;
    position: absolute;
    left: 0.4rem;
    right: 4.9rem;
    top: calc(100% - 0.1rem);
    z-index: 35;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.sf-tag-sayt-list li {
    margin: 0;
}

.sf-search-single-wrap .sf-tag-sayt-list button {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    border-radius: 6px;
    padding: 0.38rem 0.5rem;
    cursor: pointer;
    color: #1e2a21 !important;
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.25;
}

.sf-search-single-wrap .sf-tag-sayt-list button:hover,
.sf-search-single-wrap .sf-tag-sayt-list button:focus-visible,
.sf-search-single-wrap .sf-tag-sayt-list button.is-active {
    background: #eaf4ff;
    outline: none;
}

.sf-tag-hint-text {
    margin: 0.25rem 0 0;
    font-size: 0.78rem;
    color: #4a6456;
}

.sf-selected-tags-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    flex: 0 1 auto;
    align-items: center;
}

.sf-selected-tag-chip {
    border: 1px solid #2d8a57;
    border-radius: 999px;
    background: #e6f5ec;
    color: #1f4d35;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.56rem;
    font-size: 0.8rem;
}

.sf-selected-tag-chip button {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 999px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sf-tag-drawer {
    margin-top: 0.45rem;
    border: 1px solid #c8d8cc;
    border-radius: 8px;
    background: #f2fbf5;
    padding: 0.5rem;
}

.sf-tag-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.sf-tag-drawer-close {
    border: 1px solid #9cb29e;
    border-radius: 999px;
    background: #ffffff;
    color: #244933;
    line-height: 1;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sf-directory-form label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #234234;
    margin: 0;
}

.sf-directory-form input {
    margin-top: 0;
    min-width: 220px;
    padding: 0.65rem 0.75rem;
    border: 1px solid #cfd6d1;
    border-radius: 8px;
}

.sf-tag-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    max-width: none;
}

.sf-tag-filter-chip {
    border: 1px solid #101010;
    border-radius: 999px;
    background: #d4d4d4;
    color: #101010;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.42rem 0.62rem;
    cursor: pointer;
}

.sf-tag-filter-chip:hover,
.sf-tag-filter-chip:focus-visible {
    border-color: #2d8a57;
    outline: none;
    box-shadow: 0 0 0 2px rgba(45, 138, 87, 0.25);
}

.sf-tag-filter-chip.is-selected {
    background: #2d8a57;
    color: #ffffff;
    border-color: #2d8a57;
}

.sf-tag-filter-chip.is-selected::before {
    content: "";
    width: 0.78rem;
    height: 0.78rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23ffffff' d='M8 13.17 4.83 10 3.41 11.41 8 16l9-9-1.41-1.41z'/%3E%3C/svg%3E");
}

.sf-tag-filter-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sf-tag-filter-action-btn {
    border: 1px solid #1d4fd2;
    border-radius: 999px;
    background: #1f5ee0;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.33rem 0.6rem;
    cursor: pointer;
}

.sf-tag-filter-action-btn:hover,
.sf-tag-filter-action-btn:focus-visible {
    background: #0b4fd1;
    border-color: #0b4fd1;
    color: #ffffff;
    outline: none;
}

.sf-directory-form .sf-tag-filter-action-btn {
    background: #1f5ee0;
    border-color: #1d4fd2;
    color: #ffffff;
}

.sf-directory-form .sf-tag-filter-action-btn:hover,
.sf-directory-form .sf-tag-filter-action-btn:focus-visible {
    background: #0b4fd1;
    border-color: #0b4fd1;
    color: #ffffff;
}

.sf-location-suggestions {
    position: absolute;
    top: calc(100% + 0.28rem);
    left: 0;
    right: 0;
    z-index: 1200;
    margin: 0;
    padding: 0.3rem;
    list-style: none;
    border: 1px solid #b9d2c7;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(7, 31, 21, 0.18);
    max-height: 220px;
    overflow-y: auto;
}

.sf-location-suggestion-btn {
    width: 100%;
    border: 0;
    background: #ffffff;
    color: #163d2b;
    text-align: left;
    padding: 0.42rem 0.5rem;
    border-radius: 6px;
    font-size: 0.84rem;
    cursor: pointer;
}

.sf-location-suggestion-btn:hover,
.sf-location-suggestion-btn:focus-visible,
.sf-location-suggestion-btn.is-active {
    background: #e8f3ee;
}

.sf-directory-form select {
    margin-top: 0.3rem;
    min-width: 170px;
    padding: 0.65rem 0.75rem;
    border: 1px solid #cfd6d1;
    border-radius: 8px;
    background: #fff;
}

.sf-directory-form button {
    padding: 0.67rem 0.95rem;
    border-radius: 8px;
    border: 1px solid var(--sf-green-700);
    background: var(--sf-green-700);
    color: var(--sf-white);
    cursor: pointer;
}

.sf-directory-form .sf-tag-filter-chip {
    padding: 0.42rem 0.62rem;
    border-radius: 999px;
}

.sf-directory-form .sf-secondary-action {
    background: #ffffff;
    color: var(--sf-green-700);
    border: 1px solid var(--sf-green-700);
}

.sf-status-row {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.7rem;
}

/* Directory panel sets margin on all p; reset so status line stays vertically centered in the row */
#directory-map-search .sf-status-row p,
#directory-map-search .sf-status-row .sf-location-status,
#directory-map-search .sf-status-row .sf-radius-note {
    margin: 0;
    align-self: center;
}

#directory-map-search .sf-status-row {
    align-items: center;
}

.sf-location-status {
    margin: 0;
    font-size: 0.92rem;
    color: var(--sf-ink-700);
    min-height: 1rem;
}

.sf-map-panel {
    margin-top: 0;
    background: #ffffff;
    border: 1px solid #d6e4da;
    border-radius: 0;
    padding: 1.2rem;
    margin-left: 0;
}

.sf-map-panel .sf-radius-note,
.sf-map-panel .sf-location-status {
    color: var(--sf-ink-700);
}

.sf-map-panel .sf-filter-wrap .sf-map-panel-intro h2,
.sf-map-panel .sf-filter-wrap .sf-map-panel-intro p {
    color: #1b3f31;
}

.sf-map-panel-intro-title,
.sf-map-panel-intro-copy {
    color: #0f2f22 !important;
}

.sf-map-panel-intro {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid #c4d9cc !important;
    border-radius: 4px;
    padding: 0.6rem 0.7rem;
    margin-bottom: 0.55rem;
}

.sf-hero,
.sf-hero-media {
    margin-bottom: 0 !important;
}

#directory-map-search,
#directory-map-search > .sf-map-panel {
    margin-top: 0 !important;
}

.sf-radius-note {
    margin: 0;
    color: var(--sf-ink-700);
}

.sf-taxonomy-compat-note {
    margin: 0.6rem 0 0;
    font-size: 0.85rem;
    color: #355745;
}

.sf-join-cta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    color: #1f4f38;
    font-weight: 600;
}

.sf-results-join-cta {
    margin: 0.6rem 0 0;
    padding: 0.5rem 0.55rem;
    border: 1px solid #8fb7c0;
    border-radius: 6px;
    background: #d9ecf2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    color: #214c39;
    font-weight: 600;
}

.sf-results-loading {
    position: absolute;
    inset: 0;
    z-index: 9;
    background: rgba(170, 211, 223, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: #114233;
    font-weight: 700;
    border-radius: 5px;
}

.sf-results-loading[hidden] {
    display: none;
}

.sf-results-spinner {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    border: 2px solid rgba(17, 66, 51, 0.28);
    border-top-color: #114233;
    animation: sf-spin 0.8s linear infinite;
}

@keyframes sf-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.sf-join-now-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #1f5f3a;
    color: #1f5f3a;
    text-decoration: none;
    font-weight: 700;
}

.sf-join-now-btn:hover,
.sf-join-now-btn:focus-visible {
    background: #1f5f3a;
    color: #ffffff;
}

.sf-map-results-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 1rem;
    align-items: start;
}

.sf-map-column,
.sf-results-column {
    min-width: 0;
}

.sf-google-map-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    overflow: hidden;
    background: #f6f6f6;
}

.sf-leaflet-map {
    width: 100%;
    height: 100%;
    display: block;
}

.sf-results-column {
    display: flex;
}

#homepage-results-panel {
    background: #aad3df;
    border: 1px solid #6ea8b8;
    border-radius: 5px;
    padding: 0.75rem;
    position: relative;
}

.sf-listing-preview {
    width: 100%;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sf-map-error {
    background: #ffe8e8;
    border: 1px solid #dc7272;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.sf-listing-preview {
    margin-top: 0;
}

.sf-listing-preview h3 {
    margin: 0 0 0.5rem;
}

.sf-listing-preview ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.2rem;
    align-content: start;
    grid-auto-rows: max-content;
}

.sf-listing-preview li {
    display: grid;
    gap: 0.35rem;
    border-bottom: 1px solid #7fa5ac;
    padding-bottom: 0.35rem;
}

.sf-result-tile {
    border: 2px solid #1f5f3a;
    border-radius: 8px;
    padding: 0.65rem 0.65rem 2.35rem;
    background: #fbfffc;
    cursor: pointer;
    box-shadow: inset 0 -2px 0 #9fc7b0;
    position: relative;
    display: grid;
    gap: 0.35rem;
    max-height: 260px;
    overflow-y: auto;
}

.sf-result-title {
    margin: 0;
    font-weight: 700;
    color: #194d32;
    text-decoration: none;
    font-size: 1.03rem;
}

.sf-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.sf-result-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sf-result-claim-row {
    position: absolute;
    right: 0.65rem;
    bottom: 0.55rem;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

.sf-result-visit-row {
    position: absolute;
    right: 0.65rem;
    bottom: 0.55rem;
    z-index: 2;
}

.sf-visit-farm-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid #0b4fd1;
    border-radius: 999px;
    background: #0b4fd1;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.22rem 0.6rem;
}

.sf-visit-farm-btn:hover,
.sf-visit-farm-btn:focus-visible {
    background: #073a9d;
    border-color: #073a9d;
    color: #ffffff;
}

.sf-callout-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    border: 1px solid #98c6a4;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #1c6240;
    font-weight: 700;
    font-size: 0.9rem;
    flex: 0 0 auto;
}

.sf-premium-shield-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    clip-path: none;
    color: #604100;
}

.sf-premium-shield-icon {
    width: 48px;
    height: 48px;
    fill: #e65a00;
    stroke: #ffffff;
    stroke-width: 1.5;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

.sf-premium-shield-text {
    background: transparent;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sf-claim-listing-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid #1f5f3a;
    border-radius: 999px;
    background: #f2fff5;
    color: #1f5f3a;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
}

.sf-claim-listing-btn:hover,
.sf-claim-listing-btn:focus-visible {
    background: #1f5f3a;
    color: #ffffff;
}

.sf-listing-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.sf-listing-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 23, 16, 0.62);
}

.sf-listing-modal-content {
    position: relative;
    max-width: 720px;
    margin: 7vh auto 0;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #93b9a2;
    padding: 1rem;
    z-index: 1;
}

.sf-listing-modal-close {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    border: 1px solid #9db9a5;
    border-radius: 999px;
    background: #f4f7f5;
    color: #294f3a;
    width: 1.7rem;
    height: 1.7rem;
    cursor: pointer;
}

.sf-distance-chip {
    color: #1d4e37;
}

.sf-result-tile-active {
    border: 3px solid #1f5ee0;
    background: #f6f9ff;
}

.sf-listing-details {
    margin-top: 0.5rem;
    padding-top: 0.45rem;
    border-top: 1px dashed #cfe1d6;
    display: grid;
    gap: 0.3rem;
    color: #2f473a;
    font-size: 0.92rem;
}

.sf-distance-detail-row {
    display: flex;
    gap: 0.3rem;
}

.sf-results-empty {
    margin-top: 0.65rem;
    color: #355944;
}

.sf-listing-meta {
    display: flex;
    gap: 0.5rem;
}

.sf-listing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.sf-listing-tags-label {
    font-size: 0.84rem;
    color: #2a5441;
    font-weight: 600;
}

.sf-listing-contact-preview {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
}

.sf-social-links-row {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: center;
}

.sf-tag-chip {
    background: #e9f2ec;
    color: #1e4f38;
    border: 1px solid #c8ddcf;
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
    font-size: 0.78rem;
}

[data-listing-protected="true"] {
    -webkit-user-select: none;
    user-select: none;
}

.sf-listing-preview span {
    color: var(--sf-ink-700);
    font-size: 0.9rem;
}

.sf-stories {
    padding: 1rem 0;
    margin-top: 0;
}

.sf-stories .sf-shell {
    border: 0;
    border-radius: 0;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    margin-left: 0;
}

.sf-stories-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.sf-inline-link {
    color: var(--sf-green-700);
    text-decoration: none;
    font-weight: 600;
}

.sf-story-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, 402px);
    justify-content: start;
    gap: 1rem;
}

.sf-story-card {
    width: 402px;
    max-width: 100%;
    box-sizing: border-box;
    background: var(--sf-white);
    border: 1px solid var(--sf-sand-200);
    border-radius: 12px;
    overflow: hidden;
    padding: 0 0 1rem;
}

.sf-story-media {
    min-height: 160px;
    background: linear-gradient(145deg, #dce7df, #cdddcf);
    display: grid;
    place-items: center;
    color: #3c5445;
    font-size: 0.88rem;
}

.sf-story-preview-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #b7d7c0;
}

.sf-story-meta,
.sf-story-card h3,
.sf-story-card p {
    padding: 0 1rem;
}

.sf-story-meta {
    margin: 0.9rem 0 0.2rem;
    color: var(--sf-green-700);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sf-story-card h3 {
    margin: 0;
    font-size: 1.08rem;
}

.sf-story-card p {
    margin: 0.65rem 0 0;
    color: var(--sf-ink-700);
}

.sf-story-grid-single-row {
    grid-template-columns: repeat(auto-fit, minmax(280px, 402px));
}

.sf-curated-card .sf-story-meta {
    color: #1e4f38;
}

.sf-story-pin-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: #e65a00;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.22rem 0.5rem;
    letter-spacing: 0.02em;
}

.sf-story-media {
    position: relative;
}

.sf-news-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.7rem;
    margin: 0.8rem 0 0.4rem;
}

.sf-news-filter-form label {
    font-size: 0.86rem;
    color: #1f4432;
    font-weight: 600;
}

.sf-news-filter-form select,
.sf-news-filter-form input[type="text"] {
    border: 1px solid #c9d8cf;
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    min-width: 180px;
}

.sf-news-filter-form button {
    background: #e65a00;
    border: 1px solid #c84a00;
    color: #ffffff;
    border-radius: 8px;
    padding: 0.52rem 0.85rem;
    cursor: pointer;
}

.sf-news-filter-form button:hover,
.sf-news-filter-form button:focus-visible {
    background: #cf5100;
    border-color: #b94900;
}

.sf-news-region-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sf-news-pagination {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sf-news-empty {
    margin-top: 0.8rem;
    color: #395645;
}

.sf-news-preview-card {
    max-width: 900px;
}

.sf-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    background: #00590a;
}

.sf-footer-inner {
    min-height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 5px;
    margin-left: 0;
    border: 0;
    border-radius: 0;
}

.sf-map-target-overlay {
    position: absolute;
    top: 0.7rem;
    right: 0.8rem;
    z-index: 500;
    cursor: pointer;
}

.sf-map-scroll-enable-btn {
    position: absolute;
    top: 0.7rem;
    left: 3.4rem;
    z-index: 500;
    border: 1px solid #d7e0e6;
    border-radius: 999px;
    background: #ffffff;
    color: #1c3f2e;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.44rem 0.72rem;
    box-shadow: 0 2px 10px rgba(12, 30, 22, 0.14);
}

.sf-map-scroll-enable-btn:hover,
.sf-map-scroll-enable-btn:focus-visible {
    background: #1f5f3a;
    color: #ffffff;
    border-color: #1f5f3a;
}

.sf-find-me-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border: 1px solid #d7e0e6;
    border-radius: 999px;
    background: #ffffff;
    color: #1c3f2e;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.44rem 0.72rem;
    box-shadow: 0 2px 10px rgba(12, 30, 22, 0.14);
}

.sf-find-me-btn:hover,
.sf-find-me-btn:focus-visible {
    background: #1f5f3a;
    color: #ffffff;
    border-color: #1f5f3a;
}

.sf-find-me-btn-icon {
    font-size: 0.95rem;
}

.sf-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
}

.sf-footer nav {
    display: flex;
    gap: 0.8rem;
}

.sf-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.sf-footer a:hover,
.sf-footer a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.sf-map-marker-premium {
    background: transparent;
    border: 0;
}

.sf-map-marker-shield {
    fill: #e65a00;
    stroke: #ffffff;
    stroke-width: 1.5;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
    transition: transform 0.2s ease;
}

.sf-map-marker-premium.is-active .sf-map-marker-shield {
    fill: #0b4fd1;
    transform: scale(1.1);
    z-index: 1000;
}

.sf-map-popup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.sf-map-popup-top-row {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.45rem;
}

.sf-map-popup-top-title {
    min-width: 0;
}

.sf-map-popup-bottom-row {
    width: 100%;
}

.sf-map-popup .sf-map-popup-premium-shield {
    align-self: flex-start;
}

@media (max-width: 980px) {
    .sf-hero-media {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        padding: 0.65rem 0.75rem 0;
        overflow: visible;
    }
    .sf-hero-copy-wrap {
        position: static;
        width: 100%;
    }
    .sf-hero-copy-card {
        border-radius: 8px;
    }
    .sf-hero-image,
    .sf-hero-placeholder {
        width: 100%;
        aspect-ratio: 16 / 7;
        height: auto;
        order: 2;
    }
    .sf-hero-copy-wrap {
        order: 1;
    }
    .sf-directory-form {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        overflow-x: visible;
    }
    .sf-form-field-inline {
        flex-direction: column;
        align-items: stretch;
    }
    .sf-directory-form input {
        min-width: 0;
    }
    .sf-tag-filter-chips {
        max-width: none;
    }
    .sf-search-single-wrap {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .sf-search-combobox-wrap input[type="text"] {
        flex: 1 1 120px;
        min-width: 100px;
    }
    .sf-tag-sayt-list {
        right: 4.9rem;
    }
    .sf-tag-filter-chips {
        width: 100%;
    }
    .sf-tag-sayt-list {
        max-height: 150px;
    }
    .sf-story-grid {
        grid-template-columns: 1fr;
    }
    .sf-story-card {
        width: 100%;
    }
    .sf-map-results-grid {
        grid-template-columns: 1fr;
    }
    .sf-status-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .sf-google-map-wrap,
    .sf-leaflet-map {
        min-height: 360px;
        height: 360px;
        aspect-ratio: auto;
    }
}

@media (max-width: 640px) {
    .sf-logo {
        min-height: 36px;
    }
    .sf-logo-image {
        max-height: 36px;
    }
    .sf-hero-copy-wrap {
        width: 100%;
    }
    .sf-hero-copy-card {
        padding: 0.95rem 0.9rem;
    }
    .sf-hero h1 {
        font-size: clamp(1.4rem, 8vw, 2rem);
    }
    .sf-hero-copy p {
        font-size: 0.95rem;
    }
}
