/**
 * seo.css — SEO komponentlərinin stili (breadcrumb və s.)
 * Brendin tema CSS dəyişənlərini istifadə edir, gündüz/gecə rejimi avtomatik.
 */

.breadcrumb {
    /* Sabit navbar (.navbar__inner 80px) altında — mətn logonun/mentunun üstünə çıxmır */
    padding: calc(80px + 10px) 0 12px;
    font-size: 0.82rem;
    color: var(--white-50);
    border: none;
}

.breadcrumb__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 4px;
    line-height: 1.6;
}

.breadcrumb__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white-50);
    transition: color 0.18s ease;
}

.breadcrumb__item + .breadcrumb__item::before {
    content: "/";
    color: var(--white-30);
    margin-right: 4px;
    user-select: none;
}

.breadcrumb__item a {
    color: var(--white-70);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.breadcrumb__item a:hover {
    color: var(--red-neon);
    border-bottom-color: var(--red-neon);
}

.breadcrumb__item--current {
    color: var(--white-90);
    font-weight: 600;
    max-width: 60ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Breadcrumb navbar altına düşdüyü üçün page-hero köhnə 120px üst boşluğu artıq lazım deyil */
.main-content > .breadcrumb + .page-hero {
    padding-top: 3.25rem;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding-top: calc(76px + 10px);
    }
    .main-content > .breadcrumb + .page-hero {
        padding-top: 2.5rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding-top: calc(72px + 8px);
    }
}

@media (max-width: 640px) {
    .breadcrumb {
        font-size: 0.78rem;
    }
    .breadcrumb__item--current {
        max-width: 30ch;
    }
}

/* Gündüz rejimində daha qabarıq olsun */
html[data-theme="light"] .breadcrumb__item a:hover {
    color: var(--red-neon);
}
