:root {
    /* Deep Cosmos Palette - Ported from nm-seo-portfolio */
    --bg-card: rgba(20, 20, 25, 0.6);
    --accent-primary: #7b2cbf;
    --accent-cyan: #00b4d8;
    --text-muted: #94a3b8;
}

/* Scrolly Section - Adjusted for Block Context */
.scrolly-section {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 60px 0;
    position: relative;
    /* Ensure background matches if needed, or inherit */
}

.container {
    max-width: 1200px;
    /* Fallback if not defined by theme */
    margin: 0 auto;
    padding: 0 24px;
    padding: 0 24px;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.expertise-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(123, 44, 191, 0.1);
    border-color: rgba(123, 44, 191, 0.3);
}

.expertise-card h2 {
    font-family: 'Outfit', sans-serif;
    /* Adjusted to likely theme font */
    text-transform: uppercase;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    /* Bolder */
    /* Ensure size */
}

.expertise-card p {
    color: #ffffff;
    /* White text */
    font-size: 1rem;
    line-height: 1.6;
}

/* Animation override - ensure visible without JS */
.animate-on-scroll {
    opacity: 1;
    transform: none;
}