/**
 * SEO Components CSS
 * Breadcrumbs and FAQ
 */

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.pc-breadcrumbs {
    padding: 16px 0;
    margin-bottom: 16px;
}

.pc-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.pc-breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-breadcrumbs__link {
    color: var(--color-text-muted, #666);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pc-breadcrumbs__link:hover {
    color: var(--color-primary, #2d5a27);
}

.pc-breadcrumbs__separator {
    color: var(--color-text-muted, #999);
    display: flex;
    align-items: center;
}

.pc-breadcrumbs__separator svg {
    width: 14px;
    height: 14px;
}

.pc-breadcrumbs__current {
    color: var(--color-text, #333);
    font-weight: 500;
}

@media (max-width: 600px) {
    .pc-breadcrumbs {
        padding: 12px 0;
    }

    .pc-breadcrumbs__list {
        font-size: 13px;
        gap: 6px;
    }

    .pc-breadcrumbs__item {
        gap: 6px;
    }
}

/* ==========================================================================
   FAQ Component
   ========================================================================== */

.pc-faq {
    max-width: 800px;
    margin: 0 auto;
}

.pc-faq__item {
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: 8px;
    margin-bottom: 12px;
    background: white;
    overflow: hidden;
}

.pc-faq__item[open] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pc-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text, #333);
    cursor: pointer;
    list-style: none;
    transition: background 0.2s ease;
}

.pc-faq__question::-webkit-details-marker {
    display: none;
}

.pc-faq__question::after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.pc-faq__item[open] .pc-faq__question::after {
    transform: rotate(180deg);
}

.pc-faq__question:hover {
    background: var(--color-bg-light, #f8f9f6);
}

.pc-faq__answer {
    padding: 0 20px 20px 20px;
    color: var(--color-text-muted, #555);
    line-height: 1.7;
}

.pc-faq__answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .pc-faq__question {
        padding: 14px 16px;
        font-size: 15px;
    }

    .pc-faq__answer {
        padding: 0 16px 16px 16px;
        font-size: 14px;
    }
}

/* ==========================================================================
   Below Content (SEO)
   ========================================================================== */

.term-below-content {
    max-width: 1200px;
    margin: 48px auto;
    padding: 32px;
    background: linear-gradient(135deg, #f8faf6 0%, #ffffff 100%);
    border: 1px solid #e3e8dc;
    border-radius: 12px;
    color: var(--color-text, #333);
    line-height: 1.8;
}

.term-below-content h2,
.term-below-content h3,
.term-below-content h4 {
    color: var(--color-text-dark, #2d3e1f);
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.term-below-content h2 {
    font-size: 28px;
    font-weight: 700;
    border-bottom: 2px solid var(--pc-primary, #6b8e23);
    padding-bottom: 12px;
    margin-top: 0;
}

.term-below-content h3 {
    font-size: 22px;
    font-weight: 600;
}

.term-below-content h4 {
    font-size: 18px;
    font-weight: 600;
}

.term-below-content p {
    margin-bottom: 1em;
}

.term-below-content p:last-child {
    margin-bottom: 0;
}

.term-below-content ul,
.term-below-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.term-below-content li {
    margin-bottom: 0.5em;
}

.term-below-content a {
    color: var(--pc-primary, #6b8e23);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.term-below-content a:hover {
    color: var(--pc-primary-dark, #89a550);
}

.term-below-content strong {
    color: var(--color-text-dark, #2d3e1f);
    font-weight: 600;
}

.term-below-content blockquote {
    margin: 1.5em 0;
    padding: 16px 24px;
    background: #fff;
    border-left: 4px solid var(--pc-primary, #6b8e23);
    border-radius: 4px;
    font-style: italic;
}

.term-below-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

@media (max-width: 768px) {
    .term-below-content {
        margin: 32px auto;
        padding: 24px 20px;
    }

    .term-below-content h2 {
        font-size: 24px;
    }

    .term-below-content h3 {
        font-size: 20px;
    }

    .term-below-content h4 {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .term-below-content {
        margin: 24px auto;
        padding: 20px 16px;
    }

    .term-below-content h2 {
        font-size: 22px;
    }
}
