/* TextZen Pro Article Styles - Version 1.0.1 */

/* Main Article Container */
.textzen-article {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
}

/* Headings */
.textzen-article h2 {
    font-size: 2em;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.3em;
    color: #2c3e50;
    font-weight: 600;
    text-align: left;
}

.textzen-article h3 {
    font-size: 1.5em;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    color: #2c3e50;
    font-weight: 600;
    text-align: left;
}

.textzen-article h4 {
    font-size: 1.2em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #2c3e50;
    font-weight: 600;
    text-align: left;
}

/* Paragraphs */
.textzen-article p {
    margin: 1em 0;
    text-align: left;
}

/* Product Review Content - ensure left alignment */
.textzen-article .product-review {
    text-align: left;
}

.textzen-article .product-review h3 {
    text-align: left;
}

/* Buyer's Guide, FAQ, Final Verdict - left align */
.textzen-article .buyers-guide,
.textzen-article .faq,
.textzen-article .final-verdict {
    text-align: left;
}

/* Highlighted Text */
.textzen-article mark {
    background-color: #fff59d;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

/* Images */
.textzen-article img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.textzen-article figure {
    margin: 1.5em 0;
    text-align: center;
}

.textzen-article figcaption {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-top: 0.5em;
}

/* Product Review Images - smaller like license version */
.textzen-article .product-review figure img {
    max-width: 350px;
    width: 70%;
    height: auto;
    border: none;
    box-shadow: none;
    border-radius: 8px;
    margin: 15px auto;
}

/* My Honest Opinion Blockquote */
.textzen-article .honest-opinion {
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
    padding: 1em 1.5em;
    margin: 1.5em 0;
    font-style: italic;
}

.textzen-article .honest-opinion h4 {
    margin-top: 0;
    color: #92400e;
    font-style: normal;
}

/* Amazon CTA Button */
.textzen-article .amazon-button {
    display: block;
    width: fit-content;
    margin: 1.5em auto;
    background: #f59e0b;
    color: #000 !important;
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9em;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
    text-align: center;
}

.textzen-article .amazon-button:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.4);
    text-decoration: none !important;
}

/* Tables */
.textzen-article table,
.textzen-article .aap-unique-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    overflow: visible;
}

.textzen-article th {
    background: #f8f9fa;
    color: #6b7280;
    padding: 16px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
}

.textzen-article td {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    background: #fff;
    text-align: center;
}

.textzen-article tr:hover td {
    background-color: #fafbfc;
}

.textzen-article tbody tr:last-child td {
    border-bottom: none;
}

/* Product Image Cell */
.textzen-article td.product-image {
    width: 150px;
    padding: 15px;
}

.textzen-article td.product-image img {
    max-width: 120px;
    height: auto;
    border-radius: 4px;
    box-shadow: none;
}

/* Product Name Cell */
.textzen-article td.product-name {
    text-align: center;
}

.textzen-article td.product-name a {
    color: #3b82f6;
    font-weight: 500;
    text-decoration: underline;
    font-size: 0.95em;
}

.textzen-article td.product-name a:hover {
    color: #1d4ed8;
}

/* Best For Cell */
.textzen-article td.best-for {
    color: #374151;
    font-size: 0.95em;
}

/* CTA Button */
.textzen-article .cta-button {
    display: inline-block;
    background: #f59e0b;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85em;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.textzen-article .cta-button:hover {
    background: #d97706;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.4);
    text-decoration: none !important;
}

/* Responsive Table */
@media (max-width: 768px) {
    .textzen-article table,
    .textzen-article .aap-unique-comparison-table {
        display: block;
        overflow-x: auto;
    }

    .textzen-article th,
    .textzen-article td {
        padding: 12px 10px;
        font-size: 0.9em;
    }

    .textzen-article td.product-image img {
        max-width: 80px;
    }

    .textzen-article .cta-button {
        padding: 8px 16px;
        font-size: 0.75em;
    }
}

/* Links */
.textzen-article a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.textzen-article a:hover {
    text-decoration: underline;
}

/* Price Display */
.textzen-article .price {
    font-weight: 700;
    color: #22c55e;
    font-size: 1.15em;
}

/* Lists */
.textzen-article ul {
    list-style: none;
    padding-left: 1em;
    margin: 0.5em 0;
    text-align: left;
}

.textzen-article li {
    margin: 0.4em 0;
    text-align: left;
}

/* Remove bullets for pros/cons lists (emoji variants) */
.textzen-article .pros-list li::before,
.textzen-article .cons-list li::before {
    content: '';
}

/* Color-coded Lists (for red/green emoji variants) */
.textzen-article .pros-list li {
    color: #155724;
}

.textzen-article .cons-list li {
    color: #721c24;
}

