/* TextZen Info Article Styles */

/* Main wrapper for info articles */
.textzen-content-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    max-width: 100%;
}

/* Headings */
.textzen-content-wrapper h1 {
    font-size: 2.2em;
    font-weight: 700;
    color: #1a202c;
    margin: 0.8em 0 0.6em;
    line-height: 1.3;
    text-align: left;
}

.textzen-content-wrapper h2 {
    font-size: 1.75em;
    font-weight: 700;
    color: #2d3748;
    margin: 1.5em 0 0.7em;
    padding-bottom: 0.3em;
    border-bottom: 3px solid #667eea;
    line-height: 1.3;
    text-align: left;
}

.textzen-content-wrapper h3 {
    font-size: 1.4em;
    font-weight: 600;
    color: #4a5568;
    margin: 1.2em 0 0.6em;
    line-height: 1.4;
    text-align: left;
}

.textzen-content-wrapper h4 {
    font-size: 1.2em;
    font-weight: 600;
    color: #718096;
    margin: 1em 0 0.5em;
    line-height: 1.4;
    text-align: left;
}

/* Paragraphs */
.textzen-content-wrapper p {
    margin: 1em 0;
    font-size: 1.05em;
    line-height: 1.8;
    text-align: left;
    color: #374151;
}

/* First paragraph (direct answer) - bold styling */
.textzen-content-wrapper p:first-of-type,
.textzen-content-wrapper p strong:first-child {
    font-size: 1.1em;
    line-height: 1.8;
    color: #1a202c;
}

/* Strong/Bold text */
.textzen-content-wrapper strong {
    font-weight: 700;
    color: #1a202c;
}

/* Lists */
.textzen-content-wrapper ul,
.textzen-content-wrapper ol {
    margin: 1em 0 1em 1.5em;
    padding-left: 1em;
    text-align: left;
}

.textzen-content-wrapper li {
    margin: 0.6em 0;
    line-height: 1.7;
    text-align: left;
    color: #4a5568;
}

.textzen-content-wrapper ul li {
    list-style-type: disc;
}

.textzen-content-wrapper ol li {
    list-style-type: decimal;
}

/* Nested lists */
.textzen-content-wrapper ul ul,
.textzen-content-wrapper ol ul {
    margin: 0.5em 0 0.5em 1em;
}

.textzen-content-wrapper ul ul li {
    list-style-type: circle;
}

/* Horizontal Rules */
.textzen-content-wrapper hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 2em 0;
}

/* FAQ Section Specific Styling */
.textzen-content-wrapper h2:contains("FAQ"),
.textzen-content-wrapper h2:contains("Frequently Asked Questions") {
    border-bottom-color: #f59e0b;
}

/* Blockquotes (if used) */
.textzen-content-wrapper blockquote {
    border-left: 4px solid #667eea;
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background: #f7fafc;
    color: #2d3748;
    font-style: italic;
}

/* Code blocks (if used) */
.textzen-content-wrapper code {
    background: #edf2f7;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #d6336c;
}

.textzen-content-wrapper pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.textzen-content-wrapper pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Links */
.textzen-content-wrapper a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.textzen-content-wrapper a:hover {
    color: #5a67d8;
    text-decoration: none;
}

/* Tables (if used in info articles) */
.textzen-content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.textzen-content-wrapper table th {
    background: #f7fafc;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    border-bottom: 2px solid #cbd5e0;
}

.textzen-content-wrapper table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.textzen-content-wrapper table tr:last-child td {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .textzen-content-wrapper h1 {
        font-size: 1.8em;
    }

    .textzen-content-wrapper h2 {
        font-size: 1.5em;
    }

    .textzen-content-wrapper h3 {
        font-size: 1.25em;
    }

    .textzen-content-wrapper p,
    .textzen-content-wrapper li {
        font-size: 1em;
    }

    .textzen-content-wrapper ul,
    .textzen-content-wrapper ol {
        margin-left: 1em;
        padding-left: 0.5em;
    }

    .textzen-content-wrapper table {
        font-size: 0.9em;
    }

    .textzen-content-wrapper table th,
    .textzen-content-wrapper table td {
        padding: 8px 10px;
    }
}

/* Print Styles */
@media print {
    .textzen-content-wrapper {
        color: #000;
    }

    .textzen-content-wrapper a {
        color: #000;
        text-decoration: underline;
    }

    .textzen-content-wrapper h2 {
        border-bottom: 1px solid #000;
    }
}
