/* Fragrance knowledge hub — loads after design-system.css */

.guides-hero {
    padding: 2rem 0 1.5rem;
    background:
        radial-gradient(ellipse 60% 50% at 10% 0%, color-mix(in srgb, var(--ss-accent) 10%, transparent), transparent 60%),
        radial-gradient(ellipse 50% 40% at 90% 10%, rgba(212, 168, 75, 0.12), transparent 55%),
        linear-gradient(180deg, var(--ss-plum-50) 0%, var(--ss-bg) 100%);
}

.guides-hero-lead {
    max-width: 40rem;
}

.guides-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.guides-cat {
    display: inline-flex;
    align-items: center;
    min-height: var(--ss-touch);
    padding: 0.4rem 0.95rem;
    border-radius: var(--ss-radius-full);
    border: 1px solid var(--ss-border);
    background: var(--ss-bg-elevated);
    color: var(--ss-gray-700);
    font-size: var(--ss-text-sm);
    font-weight: 600;
    text-decoration: none;
    transition: background var(--ss-dur) var(--ss-ease), border-color var(--ss-dur) var(--ss-ease), color var(--ss-dur) var(--ss-ease);
}

.guides-cat:hover {
    border-color: var(--ss-plum-300);
    background: var(--ss-accent-soft);
    color: var(--ss-accent);
}

.guides-cat.is-active {
    border-color: #5c2a88;
    background: #5c2a88;
    color: #fff;
}

.guides-featured {
    display: block;
    padding: 1.75rem;
    border-radius: 1.5rem;
    background:
        linear-gradient(135deg, rgba(92, 42, 136, 0.06), rgba(255, 255, 255, 0.9) 45%),
        #fff;
    border: 1px solid #eeeaf2;
    text-decoration: none;
    color: inherit;
}

@media (min-width: 768px) {
    .guides-featured {
        padding: 2.25rem 2.5rem;
    }
}

.guides-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5c2a88;
}

.guides-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    font-size: 0.875rem;
    color: #6b6475;
}

.guides-read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: #5c2a88;
}

.guides-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .guides-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .guides-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.guides-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.35rem 1.4rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid #eeeaf2;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.guides-card-title {
    margin-top: 0.65rem;
    font-family: var(--font-serif, Fraunces, Georgia, serif);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
    color: #1d1328;
}

.guides-card-excerpt {
    margin-top: 0.65rem;
    flex: 1;
    font-size: 0.925rem;
    line-height: 1.55;
    color: #6b6475;
}

.guides-card .guides-meta {
    margin-top: 1rem;
}

.guides-article-header {
    padding: 1.75rem 0 0.5rem;
    background:
        radial-gradient(ellipse 55% 45% at 0% 0%, rgba(92, 42, 136, 0.07), transparent 60%),
        #faf8f5;
}

.guides-article-deck {
    color: #3d3748;
}

.guides-layout {
    display: grid;
    gap: 2rem;
    padding: 1.5rem 0 2rem;
}

@media (min-width: 1024px) {
    .guides-layout {
        grid-template-columns: minmax(0, 1fr) 17rem;
        gap: 2.75rem;
        align-items: start;
    }
}

.guides-prose {
    max-width: 42rem;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.guides-prose :where(h2) {
    margin-top: 2.25rem;
    scroll-margin-top: 6rem;
}

.guides-prose :where(h3) {
    margin-top: 1.75rem;
    scroll-margin-top: 6rem;
}

.guides-prose :where(a) {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.guides-aside-card {
    position: sticky;
    top: 5.5rem;
    padding: 1.25rem 1.35rem;
    border-radius: 1.25rem;
    border: 1px solid #eeeaf2;
    background: #fff;
}

.guides-cta {
    background:
        linear-gradient(120deg, rgba(15, 118, 110, 0.06), transparent 40%),
        #fff;
}

/* Homepage latest guides strip */
.home-guides-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .home-guides-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home-guides-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.home-why-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .home-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home-why-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.home-why-card {
    padding: 1.25rem 1.35rem;
    border-radius: 1.25rem;
    border: 1px solid #eeeaf2;
    background: #fff;
}

.home-why-card h3 {
    margin-top: 0.75rem;
    font-size: 1.05rem;
    font-weight: 650;
}

.home-compare-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .home-compare-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .home-compare-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.home-compare-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid #eeeaf2;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.home-compare-card img {
    width: 100%;
    height: 8.5rem;
    object-fit: contain;
    background: #f7f5f9;
    border-radius: 0.85rem;
}

.home-compare-card .home-compare-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 8.5rem;
    background: #f7f5f9;
    border-radius: 0.85rem;
    color: #6b6475;
}

.home-trust-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1.25rem;
}

.prices-method-note {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    border: 1px solid #d9efe8;
    background: #f3faf7;
    color: #0f3d36;
    font-size: 0.9rem;
    line-height: 1.55;
}
