.seo-category-page {
    width: min(100%, 80rem);
    min-width: 0;
}

.seo-category-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    color: #64748b;
}

.seo-category-breadcrumb a {
    color: #b91c1c;
    font-weight: 700;
}

.seo-category-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid #fee2e2;
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
}

.dark .seo-category-hero {
    border-color: rgba(239, 68, 68, 0.22);
    background: linear-gradient(135deg, #303030 0%, #342b2b 100%);
}

.seo-category-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.55rem;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 800;
}

.seo-category-hero h1 {
    font-size: clamp(1.35rem, 5vw, 2rem);
    line-height: 1.35;
}

.seo-category-hero p {
    font-size: 0.95rem;
}

.seo-category-card {
    min-width: 0;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.seo-category-card:hover {
    transform: translateY(-2px);
    border-color: #fecaca;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.dark .seo-category-card:hover {
    border-color: rgba(248, 113, 113, 0.45);
}

.seo-category-image {
    min-width: 0;
    overflow: hidden;
}

.seo-category-card h3 {
    min-height: 2.7rem;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.seo-category-card > p:first-of-type {
    font-size: 0.7rem;
}

.seo-category-card > p:nth-last-child(2) {
    font-size: 0.95rem;
}

.seo-category-card > p:last-child {
    width: fit-content;
    border-radius: 999px;
    background: #ecfdf5;
    padding: 0.15rem 0.5rem;
}

.dark .seo-category-card > p:last-child {
    background: rgba(16, 185, 129, 0.12);
}

@media (max-width: 380px) {
    .seo-category-page {
        padding-inline: 0.75rem;
    }

    .seo-category-grid {
        gap: 0.5rem;
    }

    .seo-category-card {
        padding: 0.625rem;
        border-radius: 0.875rem;
    }

    .seo-category-image {
        height: 6.5rem;
    }

    .seo-category-card h3 {
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seo-category-card {
        transition: none;
    }
}
