/* Shared styling for help templates */

/* Bespoke Queries */
body.bespoke-queries-page .bespoke-hero {
    background-color: #f5f3ff;
    padding: 100px 20px 80px;
    text-align: center;
}
body.bespoke-queries-page .process-step {
    background-color: #ffffff;
    border: 1px solid #ede9fe;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.bespoke-queries-page .process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}
body.bespoke-queries-page .step-icon {
    color: #7c3aed;
}

/* FAQ */
body.faq-page .faq-item {
    border-bottom: 1px solid #e5e7eb;
}
body.faq-page .faq-question {
    cursor: pointer;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1f2937;
    padding-left: 20px;
}
body.faq-page .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    color: #4b5563;
    line-height: 1.7;
    padding-left: 20px;
}
body.faq-page .faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}
body.faq-page .faq-item.active .faq-question {
    color: #2563eb;
}
body.faq-page .faq-item.active svg {
    transform: rotate(180deg);
}
body.faq-page .faq-question svg {
    transition: transform 0.3s ease;
}

/* Guide Page */
body.guide-page {
    --brand-blue-1: #1b8cff;
    --brand-blue-2: #1161ff;
    --brand-blue-3: #0b4ed9;
    --brand-accent: #7cd870;
    --text-900: #111827;
    --text-700: #374151;
    --text-500: #6b7280;
    --border: #e5e7eb;
    --card-bg: #ffffff;
    --page-bg: #f7f9fc;
    --shadow: 0 10px 20px rgba(17, 24, 39, 0.1), 0 6px 6px rgba(17, 24, 39, 0.06);
    --radius: 18px;
    --radius-sm: 12px;
    --maxw: 980px;
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text-900);
    background: var(--page-bg);
    min-height: 100vh;
}
body.guide-page * {
    box-sizing: border-box;
}
body.guide-page .hero {
    background: radial-gradient(1200px 400px at 50% -20%, rgba(255, 255, 255, 0.15), transparent 60%),
                linear-gradient(135deg, var(--brand-blue-1), var(--brand-blue-2) 60%, var(--brand-blue-3));
    color: #ffffff;
    padding: 64px 20px 56px;
    text-align: center;
}
body.guide-page .hero h1 {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1.15;
    font-size: clamp(26px, 4.2vw, 38px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
body.guide-page .hero p.sub {
    margin: 14px auto 0;
    max-width: 820px;
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(14px, 2.2vw, 18px);
    line-height: 1.6;
}
body.guide-page .wrap {
    max-width: var(--maxw);
    margin: -28px auto 48px;
    padding: 0 16px;
}
body.guide-page .card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(18px, 3.2vw, 36px);
}
body.guide-page .prose {
    color: var(--text-700);
    line-height: 1.75;
    font-size: 16px;
}
body.guide-page .prose h1,
body.guide-page .prose h2,
body.guide-page .prose h3 {
    color: var(--text-900);
    line-height: 1.25;
    margin: 1.6em 0 0.6em;
    font-weight: 700;
}
body.guide-page .prose h1 {
    font-size: 28px;
}
body.guide-page .prose h2 {
    font-size: 22px;
}
body.guide-page .prose h3 {
    font-size: 18px;
}
body.guide-page .prose p {
    margin: 0.9em 0;
}
body.guide-page .prose ul,
body.guide-page .prose ol {
    padding-left: 1.2rem;
    margin: 0.8em 0 1.2em;
}
body.guide-page .prose li {
    margin: 0.35em 0;
}
body.guide-page .prose a {
    color: var(--brand-blue-2);
    text-decoration: none;
    border-bottom: 1px solid rgba(17, 97, 255, 0.25);
}
body.guide-page .prose a:hover {
    color: var(--brand-blue-3);
    border-color: rgba(11, 78, 217, 0.5);
}
body.guide-page .prose pre {
    background: #f6f8fa;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    overflow: auto;
}
body.guide-page .prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.1rem 0.35rem;
    font-size: 0.95em;
}
body.guide-page .footer-accent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 18px;
    font-size: 13px;
    color: var(--text-500);
}
body.guide-page .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(124, 216, 112, 0.18);
}

/* Knowledge Base */
body.knowledge-base-page .kb-search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
body.knowledge-base-page .kb-search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid #93c5fd;
    border-radius: 9999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.125rem;
}
body.knowledge-base-page .kb-search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
}
body.knowledge-base-page .kb-category-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.knowledge-base-page .kb-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}
body.knowledge-base-page .kb-category-icon {
    color: #10b981;
}

/* Legal Hub */
body.legal-hub-page .legal-link-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.legal-hub-page .legal-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Policy Pages (Cookie, Privacy, Terms) */
body.policy-page .policy-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}
body.policy-page .policy-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
body.policy-page .policy-content p,
body.policy-page .policy-content ul,
body.policy-page .policy-content ol {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}
body.policy-page .policy-content ul {
    list-style-type: disc;
    margin-left: 20px;
}
body.policy-page .policy-content ol {
    list-style-type: decimal;
    margin-left: 25px;
    margin-bottom: 1rem;
}

/* Testimonials */
body.testimonials-page .testimonial-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
body.testimonials-page .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
body.testimonials-page .quote-icon {
    color: #10b981;
}
body.testimonials-page .logo-placeholder {
    height: 30px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
}
