.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

.acf-map img {
   max-width: inherit !important;
}

/* Development Stats Styles */
.hurdle-development-stats {
    margin: 20px 0;
    font-family: var(--global-body-font-family);
}

.hurdle-development-stats-summary {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: center;
    font-size: 18px;
    color: #dbdbdb;
}

.hurdle-development-stats-detailed {
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.hurdle-development-stats-detailed h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 20px;
}

.hurdle-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.hurdle-stats-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 2px solid transparent;
}

.hurdle-stats-count {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.hurdle-stats-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.hurdle-stats-percentage {
    font-size: 12px;
    opacity: 0.7;
}

.hurdle-stats-total {
    text-align: center;
    font-size: 16px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Summary Stats Colors */
.hurdle-stats-sold { color: #dc3545; }
.hurdle-stats-available { color: #28a745; }
.hurdle-stats-hold { color: #6c757d; }
.hurdle-stats-under-contract { color: #007bff; }

/* Farm Table Styles - Expandable Stacked Version */
.hurdle-farm-table-wrapper {
    margin: 20px 0;
    overflow-x: auto;
}

.hurdle-farm-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--global-body-font-family);
    background: #fff;
    border: 0;
    border-radius: 6px;
    overflow: hidden;
}

.hurdle-farm-table thead {
    display: none;
}

.hurdle-farm-table,
.hurdle-farm-table tbody,
.hurdle-farm-table tr,
.hurdle-farm-table td {
    display: block;
}

.hurdle-farm-table tr {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hurdle-farm-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    text-align: left !important;
    width: auto !important;
}

.hurdle-farm-table td:last-child {
    border-bottom: none !important;
}

.hurdle-farm-table td:before {
    content: attr(data-label);
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    min-width: 140px;
    flex-shrink: 0;
}

/* Hide detailed columns by default */
.hurdle-farm-td-detailed {
    display: none !important;
}

/* Show detailed columns when expanded */
.hurdle-farm-row-expanded .hurdle-farm-td-detailed {
    display: flex !important;
    animation: slideDown 0.3s ease;
}

/* Expand/Collapse indicator */
.hurdle-farm-table tr:after {
    content: "▼ Click to expand";
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.hurdle-farm-table tr.hurdle-farm-row-expanded:after {
    content: "▲ Click to collapse";
    color: #007cba;
}

/* Farm number highlighting */
.hurdle-farm-td-number:before,
.hurdle-farm-td-farm_number:before {
    color: #007cba;
    font-weight: bold;
}

/* Status styling */
.hurdle-farm-td-status {
    justify-content: space-between;
}

.hurdle-farm-status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

/* Price highlighting */
.hurdle-farm-td-price,
.hurdle-farm-td-cash_price,
.hurdle-farm-td-down_payment,
.hurdle-farm-td-monthly_payment {
    font-size: 16px;
    font-weight: bold;
    color: #28a745;
}

/* Status badge colors */
.hurdle-farm-status-sold .hurdle-farm-status-badge {
    background: #dc3545;
    color: white;
}

.hurdle-farm-status-available .hurdle-farm-status-badge,
.hurdle-farm-status-for-sale .hurdle-farm-status-badge {
    background: #28a745;
    color: white;
}

.hurdle-farm-status-hold .hurdle-farm-status-badge {
    background: #6c757d;
    color: white;
}

.hurdle-farm-status-under-contract .hurdle-farm-status-badge {
    background: #007bff;
    color: white;
}

/* Animation for expanding rows */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding: 0;
    }
    to {
        opacity: 1;
        max-height: 50px;
        padding: 12px 0;
    }
}

/* Empty state */
.hurdle-farm-table-empty {
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 6px;
    color: #666;
    font-style: italic;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .hurdle-development-stats-summary { font-size: 16px; }
    .hurdle-stats-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hurdle-farm-table tr {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .hurdle-farm-table td {
        padding: 10px 0;
    }
    
    .hurdle-farm-table td:before {
        min-width: 120px;
        font-size: 11px;
    }
    
    .hurdle-farm-table tr:after {
        top: 10px;
        right: 15px;
        font-size: 10px;
    }
}

/* Stock Status Styles */
.hurdle-stock-available {
    color: #006a3e;
    margin: 5px 0 !important;
}

.hurdle-stock-available.small {
    font-size: 20px;
    text-transform: uppercase;
}

.hurdle-stock-unavailable {
    color: #bb0606;
    margin: 5px 0 !important;
}

.hurdle-stock-unavailable.small {
    font-size: 20px;
    text-transform: uppercase;
}