/* ============================================================
   Vanvaew Knowledge Hub — guides.css
   Shared theme for the /guides/ knowledge base.
   Design language follows Vanvaew's vws system (orange/dark, Prompt).
   ============================================================ */

/* Base */
.gd-container {
    font-family: 'Prompt', sans-serif;
    font-size: 19px;
    line-height: 1.85;
    color: #334155;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 60px;
    background: #ffffff;
}

.gd-container h1 {
    font-weight: 700;
    font-size: 2.7rem;
    line-height: 1.25;
    color: #0f172a;
    margin: 0 0 1.2rem;
}

.gd-container h2 {
    font-weight: 700;
    font-size: 2.1rem;
    color: #0f172a;
    margin: 2.2rem 0 1rem;
    line-height: 1.3;
}

.gd-container h3 {
    font-weight: 600;
    font-size: 1.45rem;
    color: #1e293b;
    margin: 1.6rem 0 0.7rem;
    line-height: 1.4;
}

.gd-container h4 {
    font-weight: 600;
    font-size: 1.2rem;
    color: #0f172a;
    margin: 1.4rem 0 0.5rem;
}

.gd-container p {
    margin: 0 0 1.1rem;
}

.gd-container a {
    color: #f97316;
    text-decoration: underline;
}

.gd-container ul, .gd-container ol {
    margin: 0 0 1.2rem 1.4rem;
    padding: 0;
}

.gd-container li {
    margin-bottom: 0.45rem;
}

.gd-container strong { color: #0f172a; }

/* Eyebrow + accent bar */
.gd-eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #f97316;
    display: block;
    margin-bottom: 0.6rem;
}

.gd-eyebrow.center { text-align: center; }
.gd-eyebrow.light { color: #ea580c; }

.gd-accent-bar {
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #fb923c);
    border-radius: 10px;
    margin: 1rem 0 2rem;
}

.gd-accent-bar.center { margin-left: auto; margin-right: auto; }

/* Breadcrumb */
.gd-breadcrumb {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 1.4rem;
}
.gd-breadcrumb a { color: #f97316; text-decoration: none; font-weight: 500; }
.gd-breadcrumb span { color: #64748b; }
.gd-breadcrumb .sep { margin: 0 8px; color: #cbd5e1; }

/* Hero */
.gd-hero {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 45%, #fef4ec 100%);
    border: 1px solid #ffe1c4;
    border-radius: 32px;
    padding: 3.5rem 3rem;
    margin-bottom: 3rem;
    color: #0f172a;
    box-shadow: 0 18px 45px -18px rgba(194, 120, 3, 0.20);
    position: relative;
    overflow: hidden;
}

.gd-hero::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -100px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.08), transparent 60%);
    pointer-events: none;
}

.gd-hero::after {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251,146,60,0.07), transparent 60%);
    pointer-events: none;
}

.gd-hero-content { position: relative; z-index: 2; max-width: 900px; }

.gd-hero h1 { color: #1e293b; }
.gd-hero h1 span {
    color: #f97316;
    background: linear-gradient(90deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gd-hero-sub {
    font-size: 21px;
    color: #475569;
    font-weight: 300;
    margin: 0 0 1.6rem;
}

.gd-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.4rem;
}

.gd-badge {
    background: #ffffff;
    border: 1px solid #ffe3c9;
    color: #c2410c;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
}

/* Quick facts */
.gd-quickfacts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 1.6rem 0 0;
}
.gd-quickfact {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem 1.2rem;
}
.gd-quickfact b { display: block; font-size: 13px; text-transform: uppercase; color: #f97316; margin-bottom: 0.25rem; }
.gd-quickfact span { font-size: 16px; color: #1e293b; font-weight: 500; }

/* Lead paragraph box */
.gd-lead {
    background: #f8fafc;
    border-left: 6px solid #f97316;
    padding: 1.8rem 2rem;
    border-radius: 0 24px 24px 0;
    margin: 0 0 2.5rem;
    font-size: 19px;
    color: #475569;
}

/* Section helpers */
.gd-section { margin: 0 0 3rem; }
.gd-section-title { text-align: center; }
.gd-section-intro { text-align: center; max-width: 780px; margin: 0 auto 2rem; color: #64748b; }
.gd-soft { background:#f8fafc; border-radius: 28px; padding: 2.5rem 2rem; margin-bottom: 3rem; }

/* Category cards (work types) */
.gd-catgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 2rem;
}
.gd-catcard {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 1.8rem;
    transition: all 0.3s ease;
}
.gd-catcard:hover { border-color: #f97316; box-shadow: 0 12px 24px rgba(0,0,0,0.06); }
.gd-catcard h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.gd-catcard > p { font-size: 15px; color: #64748b; margin: 0 0 0.9rem; }
.gd-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #f97316;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 0.8rem;
}
.gd-catlinks { display: flex; flex-direction: column; gap: 1px; font-size: 15px; line-height: 1.9; }
.gd-catlinks a { text-decoration: none; color: #1e40af; }
.gd-catlinks a:hover { color: #f97316; text-decoration: underline; }
.gd-catlinks a .note { font-size: 13px; color: #94a3b8; margin-left: 4px; }

/* Knowledge cards */
.gd-knowgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.gd-knowcard {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #334155 !important;
}
.gd-knowcard:hover { border-color: #f97316; box-shadow: 0 15px 30px rgba(0,0,0,0.06); transform: translateY(-3px); }
.gd-knowcard .k-tag { color: #f97316; font-size: 13px; font-weight: 700; display: block; margin-bottom: 0.5rem; }
.gd-knowcard h2 { font-size: 1.2rem; margin: 0 0 0.6rem; color: #0f172a; line-height: 1.4; }
.gd-knowcard p { font-size: 15px; color: #64748b; line-height: 1.7; margin: 0 0 0.8rem; }
.gd-knowcard b { color: #f97316; font-weight: 600; font-size: 15px; }

/* Tables */
.gd-tablewrap { overflow-x: auto; border-radius: 20px; border: 1px solid #e2e8f0; margin: 1.5rem 0 2.5rem; }
.gd-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 17px; }
.gd-table th { background: #0f172a; color: #fff; padding: 1rem 1.2rem; text-align: left; }
.gd-table td { padding: 0.95rem 1.2rem; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.gd-table tr:last-child td { border-bottom: none; }
.gd-table td:first-child { font-weight: 500; color: #0f172a; }

/* Two-column split */
.gd-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.gd-split ul { list-style: none; margin-left: 0; }
.gd-split ul li { padding-left: 26px; position: relative; margin-bottom: 12px; }
.gd-split ul li::before { content: "✓"; position: absolute; left: 0; color: #22c55e; font-weight: 800; }
.gd-h2 { font-size: 1.35rem; margin: 0 0 0.8rem; color: #0f172a; }

/* Steps */
.gd-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.gd-step { text-align: center; background: #f8fafc; padding: 2rem 1.2rem; border-radius: 22px; }
.gd-step b {
    width: 52px; height: 52px; background: #f97316; color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700; margin: 0 auto 1rem;
}
.gd-step h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.gd-step p { font-size: 14px; color: #64748b; margin: 0; line-height: 1.6; }

/* FAQ */
.gd-faq { margin: 1.5rem 0 2rem; display: grid; gap: 0.9rem; }
.gd-faq details { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 0 1.4rem; }
.gd-faq summary { cursor: pointer; font-weight: 600; color: #0f172a; padding: 1.1rem 0; outline: none; }
.gd-faq details[open] summary { border-bottom: 1px solid #f1f5f9; margin-bottom: 0.8rem; }
.gd-faq p { font-size: 17px; color: #64748b; padding-bottom: 1rem; margin: 0; }

/* CTA */
.gd-cta {
    background: #0f172a;
    border-radius: 40px;
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
    margin: 2rem 0 1rem;
}
.gd-cta h2 { color: #fff; margin: 0 0 0.8rem; }
.gd-cta p { color: #94a3b8; max-width: 680px; margin: 0 auto 2.2rem; }
.gd-cta-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.gd-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: 16px;
    font-weight: 600; font-size: 17px; text-decoration: none !important;
    color: #fff !important;
    transition: all 0.3s;
}
.gd-btn-primary { background: #f97316; color: #fff; }
.gd-btn-secondary { background: #22c55e; color: #fff; }
.gd-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.25); }
.gd-btn-primary:hover { background: #ea6a0c; color: #fff !important; }
.gd-btn-secondary:hover { background: #1fb455; color: #fff !important; }

/* Article prose extras */
.gd-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #f97316;
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    margin: 1.4rem 0;
    font-size: 17px;
}
.gd-box.warn { border-left-color: #ef4444; background: #fef2f2; }
.gd-box.tip  { border-left-color: #22c55e; background: #f0fdf4; }
.gd-box.note { border-left-color: #3b82f6; background: #eff6ff; }

.gd-inline-aff {
    color: #f97316;
    font-weight: 600;
    text-decoration: underline dotted;
    cursor: pointer;
}
.gd-inline-aff:hover { color: #0f172a; }

/* Related / More links */
.gd-related { margin-top: 2.5rem; border-top: 1px solid #e2e8f0; padding-top: 1.8rem; }
.gd-related h4 { margin-bottom: 0.9rem; }
.gd-related a { display: block; text-decoration: none; color: #1e40af; margin-bottom: 6px; }
.gd-related a:hover { color: #f97316; text-decoration: underline; }

/* Hub nav (between hubs) */
.gd-hubnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1rem; margin: 2rem 0; }
.gd-hublink {
    display: block; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412 !important;
    border-radius: 16px; padding: 1.3rem 1.5rem; text-decoration: none !important; font-weight: 600;
}
.gd-hublink:hover { background: #ffedd5; }
.gd-hublink small { display: block; font-weight: 400; color: #c2410c; margin-top: 3px; font-size: 13px; }

/* Responsive */
@media (max-width: 768px) {
    .gd-container { padding: 16px 14px 40px; font-size: 18px; }
    .gd-hero { padding: 2.4rem 1.5rem; }
    .gd-hero h1 { font-size: 2rem; }
    .gd-container h2 { font-size: 1.7rem; }
    .gd-split, .gd-steps { grid-template-columns: 1fr; }
    .gd-quickfacts { grid-template-columns: 1fr; }
    .gd-catgrid, .gd-knowgrid { grid-template-columns: 1fr; }
    .gd-section-title { font-size: 1.7rem; }
}
