﻿.seo-page {
    padding-top: 150px;
    max-width: 960px;
    margin: 0 auto;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.seo-hero {
    margin-bottom: 2rem;
}

.seo-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.seo-hero p {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
}

.breadcrumb {
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.seo-card {
    margin-bottom: 1.4rem;
}

.seo-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.seo-card p,
.seo-card li {
    color: var(--clr-text-light);
    line-height: 1.8;
}

.seo-card ul {
    list-style: disc;
    margin-left: 1.2rem;
}

.related-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.related-links a {
    display: block;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.related-links a:hover {
    border-color: var(--clr-primary);
    transform: translateY(-3px);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 900px) {
    .related-links {
        grid-template-columns: 1fr;
    }

    .seo-hero h1 {
        font-size: 1.9rem;
    }
}

/* Mobile nav override for standalone SEO pages */
@media (max-width: 968px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .nav-links {
        display: flex;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
        border: 0;
        background: transparent;
        gap: 0.9rem;
    }
}

/* Blog hero image */
.blog-hero-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15);
}

/* External link icon */
a.ext-link::after {
    content: " ↗";
    font-size: 0.85em;
    opacity: 0.7;
    display: inline;
}

a.ext-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(168, 85, 247, 0.5);
}

a.ext-link:hover {
    text-decoration-color: var(--clr-primary);
}