/* Content section styles - Documents & Tutorials */

/* Article typography */
.content-article {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--bs-body-color);
}

.content-article h1,
.content-article h2,
.content-article h3,
.content-article h4,
.content-article h5,
.content-article h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content-article h2 {
    font-size: 1.6rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.content-article h3 {
    font-size: 1.3rem;
}

.content-article p {
    margin-bottom: 1.2rem;
}

.content-article blockquote {
    border-left: 4px solid var(--bs-primary);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: rgba(var(--bs-primary-rgb), 0.05);
    border-radius: 0 0.25rem 0.25rem 0;
    font-style: italic;
}

.content-article blockquote p:last-child {
    margin-bottom: 0;
}

.content-article img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.content-article ul,
.content-article ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.content-article li {
    margin-bottom: 0.4rem;
}

.content-article code {
    padding: 0.15rem 0.4rem;
    border-radius: 0.2rem;
    font-size: 0.9em;
}

.content-article pre {
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.content-article pre code {
    padding: 0;
}

.content-article table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.content-article table th,
.content-article table td {
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--bs-border-color);
}

.content-article table th {
    background: rgba(var(--bs-primary-rgb), 0.05);
    font-weight: 600;
}

.content-article hr {
    margin: 2rem 0;
}

/* Card hover effect for listings */
.content-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}
