/* Article table styles — override exported table classes */
.userinput table.t1,
.userinput table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    border-radius: 6px;
    overflow: hidden;
}

.userinput table.t1 tr,
.userinput table tr {
    background: #F5F7F8;
}

.userinput table.t1 tr:nth-child(even),
.userinput table tr:nth-child(even) {
    background: #eef1f3;
}

.userinput table.t1 tr td,
.userinput table.t1 tr th,
.userinput table tr td,
.userinput table tr th {
    padding: 12px 15px !important;
    font-size: 14px !important;
    border-bottom: 2px solid #fff !important;
    border-right: 2px solid #fff;
    vertical-align: middle !important;
    text-align: left;
}

.userinput table.t1 tr:first-child td,
.userinput table.t1 tr:first-child th,
.userinput table tr:first-child td,
.userinput table tr:first-child th {
    background: #008B8B;
    color: #fff;
    font-weight: bold;
    padding-top: 14px !important;
}

/* Strip extra <p> tags inside cells */
.userinput table td p,
.userinput table th p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* Responsive table wrapper */
.userinput table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Nested tables — simplify */
.userinput table table {
    margin: 0 !important;
    border: none !important;
    overflow: visible;
}

.userinput table table td,
.userinput table table th {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    font-weight: normal !important;
    color: inherit !important;
}

/* Paragraph classes from article export */
.userinput .p1,
.userinput .p2,
.userinput .p3,
.userinput .p4,
.userinput .p5 {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 4px 0;
}

.userinput .s1 {
    font-style: italic;
}


/* Alternate categories without cover image */
.alternate-categories .article-box { border-bottom: 1px solid #e8eaed; padding-bottom: 15px; }
.alternate-categories .article-box .header { display: block; margin-bottom: 6px; }
.alternate-categories .article-box p { color: #555; font-size: 14px; margin: 0; }

/* Author box padding fix */
.author_box { border-top: 1px solid #e8eaed; padding-top: 20px; margin-top: 30px; }
.author_box .name { font-weight: 700; font-size: 16px; }

@media (max-width: 480px) {
    .quick-overview-grid { grid-template-columns: 1fr; }
    .product-hero-box { padding: 1.25rem; }
    .contact-table td:first-child { white-space: normal; }
    .key-stat { flex-direction: column; align-items: flex-start; gap: .2rem; }
}
