/* Selpho — Guides / Learn (editorial) */

/* Index */
.gx-hero { padding: 3.5rem 0 2rem; text-align: center; background: radial-gradient(60% 80% at 50% 0%, var(--brand-glow), transparent 65%); }
.gx-hero .h-kicker { text-align: center; }
.gx-hero h1 { font-family: var(--font-head); font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; color: var(--text-1); margin: 0.5rem 0 0.85rem; }
.gx-hero p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; line-height: 1.6; color: var(--text-2); }
.gx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding: 1rem 0 4rem; }
.gx-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s; }
.gx-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.gx-card-cat { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); background: var(--brand-glow); padding: 0.18rem 0.6rem; border-radius: 99px; align-self: flex-start; margin-bottom: 0.9rem; }
.gx-card h2 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--text-1); margin-bottom: 0.5rem; }
.gx-card p { font-size: 0.88rem; line-height: 1.55; color: var(--text-2); flex: 1; margin-bottom: 1rem; }
.gx-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; }
.gx-card-meta .read { color: var(--text-3); }
.gx-card-meta .go { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; }
.gx-card:hover .go i { transform: translateX(3px); }
.gx-card-meta .go i { transition: transform 0.15s; font-size: 0.72rem; }

/* Article */
.ga-header { padding: 3rem 0 1.5rem; }
.ga-breadcrumb { font-size: 0.78rem; color: var(--text-3); margin-bottom: 1.1rem; }
.ga-breadcrumb a { color: var(--brand); font-weight: 500; }
.ga-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); background: var(--brand-glow); padding: 0.2rem 0.6rem; border-radius: 99px; }
.ga-header h1 { font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; color: var(--text-1); margin: 0.9rem 0 0.75rem; max-width: 800px; }
.ga-meta { font-size: 0.85rem; color: var(--text-3); display: flex; gap: 1rem; }
.ga-body { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; padding-bottom: 3rem; }
.ga-toc { position: sticky; top: 80px; font-size: 0.85rem; }
.ga-toc h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.75rem; }
.ga-toc a { display: block; color: var(--text-2); padding: 0.3rem 0; line-height: 1.3; border-left: 2px solid var(--border); padding-left: 0.75rem; transition: color 0.15s, border-color 0.15s; }
.ga-toc a:hover { color: var(--brand); border-color: var(--brand); }
.ga-prose { max-width: 720px; min-width: 0; }
.ga-intro { font-size: 1.1rem; line-height: 1.7; color: var(--text-2); margin-bottom: 2rem; }
.ga-intro strong { color: var(--text-1); }
.ga-prose section { margin-bottom: 2.25rem; scroll-margin-top: 80px; }
.ga-prose h2 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-1); margin-bottom: 0.85rem; line-height: 1.2; }
.ga-prose p { font-size: 1rem; line-height: 1.75; color: var(--text-2); margin-bottom: 1rem; }
.ga-prose strong { color: var(--text-1); }
.ga-prose a { color: var(--brand); font-weight: 500; }
.ga-prose a:hover { text-decoration: underline; }
.ga-prose ul { margin: 0 0 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.ga-prose li { font-size: 1rem; line-height: 1.6; color: var(--text-2); }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 0.5rem 0 0.5rem; }
.guide-table th { text-align: left; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); padding: 0.6rem 0.75rem; border-bottom: 2px solid var(--border-2); }
.guide-table td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: top; }
.guide-table tr:last-child td { border-bottom: none; }

/* Related peptides */
.ga-related { margin: 2.5rem 0; }
.ga-related h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--text-1); margin-bottom: 0.9rem; }
.ga-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.ga-related-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 0.9rem 1.1rem; transition: border-color 0.15s, background 0.15s; }
.ga-related-card:hover { border-color: var(--brand); }
.ga-related-card .n { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--brand); }
.ga-related-card .t { font-size: 0.8rem; color: var(--text-3); }

/* FAQ (reuse pattern) */
.ga-faq { margin-top: 2.5rem; }
.ga-faq > h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--text-1); margin-bottom: 1rem; }
.gfaq-item { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 0.6rem; }
.gfaq-item.open { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.gfaq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.15rem; background: none; border: none; cursor: pointer; font-family: var(--font); font-size: 0.95rem; font-weight: 600; color: var(--text-1); text-align: left; }
.gfaq-q i { color: var(--text-3); font-size: 0.72rem; transition: transform 0.25s var(--ease); }
.gfaq-item.open .gfaq-q i { transform: rotate(180deg); color: var(--brand); }
.gfaq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s var(--ease); }
.gfaq-a > p { overflow: hidden; padding: 0 1.15rem; font-size: 0.9rem; line-height: 1.6; color: var(--text-2); }
.gfaq-item.open .gfaq-a { grid-template-rows: 1fr; }
.gfaq-item.open .gfaq-a > p { padding: 0 1.15rem 1rem; }

/* CTA */
.ga-cta { margin-top: 2.5rem; background: linear-gradient(135deg, #faf8ff, #f1ecfe); border: 1px solid rgba(124,58,237,0.18); border-radius: var(--radius); padding: 1.75rem; text-align: center; }
.ga-cta h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--text-1); margin-bottom: 0.5rem; }
.ga-cta p { font-size: 0.92rem; color: var(--text-2); line-height: 1.55; max-width: 460px; margin: 0 auto 1.2rem; }

@media (max-width: 860px) {
    .gx-grid { grid-template-columns: 1fr; }
    .ga-body { grid-template-columns: 1fr; gap: 1.5rem; }
    .ga-toc { position: static; display: none; }
    .ga-related-grid { grid-template-columns: 1fr; }
}
