.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.feature-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6) 50%, transparent);
    color: white;
}

.feature-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.feature-excerpt {
    margin: 0;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.feature-item:hover .feature-excerpt {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
}

.feature-grid-preview {
    padding: 20px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    margin: 10px 0;
}

.feature-grid-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #e9ecef;
    border-radius: 4px;
    color: #495057;
    font-weight: bold;
}

.feature-grid-header .dashicons {
    margin-right: 0.5rem;
    color: #6c757d;
}

.feature-grid-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-placeholder-item {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.feature-placeholder-image {
    width: 100%;
    height: 150px;
    background: #e9ecef;
}

.feature-placeholder-content {
    padding: 1rem;
}

.feature-placeholder-title {
    height: 24px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.feature-placeholder-excerpt {
    height: 16px;
    background: #e9ecef;
    border-radius: 4px;
    width: 80%;
}