/* Explain: Base reset and typography defaults, with responsive styling for article content images. - */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
}

[x-cloak] { display: none !important; }

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
}

a {
    transition: color 0.3s ease;
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.prose img {
    margin: 0.25rem auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    box-shadow: none !important;
    border-radius: 0 !important;
}

@media (min-width: 768px) {
    .prose img {
        margin: 1.5rem auto !important;
    }
}

@media (min-width: 1024px) {
    .prose img {
        width: 90% !important;
    }
}