/* Platform 88.2.5 — Single tool guide (SEO / AEO / GEO) */

.fe8825-tool-guide {
    margin-top: 1.5rem;
}

.fe8825-tool-guide__card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--eds-radius-xl, 1rem);
    box-shadow: var(--eds-shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.1));
    overflow: hidden;
}

.fe8825-tool-guide__header {
    padding: 1.35rem 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
}

.fe8825-tool-guide__header h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.fe8825-tool-guide__header p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #475569;
    max-width: 52rem;
}

.fe8825-tool-guide__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.fe8825-tool-guide__section {
    margin-bottom: 1.35rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid #f1f5f9;
}

.fe8825-tool-guide__section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.fe8825-tool-guide__section > .prose h2,
.fe8825-tool-guide__section > .prose h3,
.fe8825-tool-guide__section h2,
.fe8825-tool-guide__section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.65rem;
}

.fe8825-tool-guide__section .prose {
    max-width: none;
    color: #374151;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.fe8825-tool-guide__section .prose p {
    margin-bottom: 0.75rem;
}

.fe8825-tool-guide__section .prose ul,
.fe8825-tool-guide__section .prose ol {
    margin: 0.5rem 0 0.75rem;
    padding-left: 1.25rem;
}

.fe8825-tool-guide__facts {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: var(--eds-radius-lg, 0.75rem);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.fe8825-tool-guide__facts h3 {
    margin: 0 0 0.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}

.fe8825-tool-guide__facts dl {
    display: grid;
    gap: 0.5rem 1rem;
    margin: 0;
}

@media (min-width: 640px) {
    .fe8825-tool-guide__facts dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.fe8825-tool-guide__facts dt {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fe8825-tool-guide__facts dd {
    margin: 0.1rem 0 0;
    font-size: 0.875rem;
    color: #1e293b;
    line-height: 1.45;
}

.fe8825-tool-guide__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.fe8825-tool-guide__step {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--eds-radius-md, 0.5rem);
}

.fe8825-tool-guide__step-num {
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--eds-radius-full, 9999px);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
}

.fe8825-tool-guide__step p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #374151;
}

.fe8825-tool-guide__faq {
    display: grid;
    gap: 0.55rem;
}

.fe8825-tool-guide__faq details {
    border: 1px solid #e2e8f0;
    border-radius: var(--eds-radius-md, 0.5rem);
    background: #fff;
    overflow: hidden;
}

.fe8825-tool-guide__faq summary {
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #111827;
    cursor: pointer;
    list-style: none;
}

.fe8825-tool-guide__faq summary::-webkit-details-marker {
    display: none;
}

.fe8825-tool-guide__faq details[open] summary {
    background: #eff6ff;
    border-bottom: 1px solid #dbeafe;
}

.fe8825-tool-guide__faq .fe8825-tool-guide__faq-a {
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #475569;
}

.fe8825-tool-guide__trust {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--eds-radius-md, 0.5rem);
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #065f46;
}

.fe8825-tool-guide__related {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.fe8825-tool-guide__related h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.fe8825-tool-guide__related-grid {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.fe8825-tool-guide__related a {
    display: block;
    padding: 0.65rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--eds-radius-md, 0.5rem);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1d4ed8;
    background: #f8fafc;
    transition: border-color 0.2s, background 0.2s;
}

.fe8825-tool-guide__related a:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}
