body {
    font-family: 'Inter', system-ui, sans-serif;
}

.article-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.article-content figure.article-body-figure {
    margin: 1.5rem auto;
    max-width: 100%;
}

.article-content .article-body-figcaption {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    display: block;
    overflow-x: auto;
}

.article-content h2,
.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.article-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.article-content a {
    color: #2563eb;
    text-decoration: underline;
}

.article-content blockquote {
    border-left: 4px solid #cbd5e1;
    padding-left: 1rem;
    color: #475569;
    font-style: italic;
    margin: 1rem 0;
}

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

.article-content li {
    margin-bottom: 0.25rem;
    line-height: 1.7;
}

.article-content .article-reference-display {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
    transition: box-shadow 0.2s;
}

.article-content .article-reference-display:hover {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.article-content .article-reference-display a {
    text-decoration: none;
}

.article-content .image-gallery-display {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.article-content .image-gallery-display img {
    margin: 0;
    border-radius: 0.5rem;
}

.watermark-layer {
    position: absolute;
    inset: 0;
    background-color: #fff;
    z-index: 0;
    pointer-events: none;
}

.watermark-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/atcar_lo.jpeg');
    background-repeat: repeat;
    background-size: 200px auto;
    opacity: 0.055;
    pointer-events: none;
}
