@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap');

:root {
    --bg: #f6f7fb;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    background: radial-gradient(1200px 600px at 10% 0%, #eaf2ff 0%, transparent 60%),
                radial-gradient(900px 500px at 90% 10%, #e8fbf7 0%, transparent 55%),
                var(--bg);
    color: #0f172a;
    font-family: 'Source Serif 4', serif;
    line-height: 1.7;
}

/* Content area basics */
.content-area {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 2rem;
}

/* Headings (typography handled by Tailwind prose) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

.content-area > h1::after,
.content-area > h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, transparent);
    margin: 0.6em 0 0;
    border-radius: 999px;
}

/* Images */
.content-area img {
    max-width: 720px;
    width: 100%;
    height: auto;
    display: block;
    margin: 1.25rem auto;
}

.content-area img.banner-image {
    max-width: 100%;
    margin: 0 auto;
}

.content-area img.full-width {
    max-width: 100%;
}

.portrait {
    width: 400px !important;
    height: auto;
}

.portefolio {
    width: 35%;
    align-items: center;
}

.avatar {
    width: 30px !important;
    height: auto;
}

td img {
    width: 35% !important;
}

.music {
    width: 50%;
    height: auto;
    border-radius: 12px;
}

/* Blockquote */
blockquote {
    background-color: #f1f5f9;
    border-left: 4px solid #2563eb;
    border-radius: 12px;
    padding: 1.2rem 1.6rem;
    margin: 2rem 0;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    text-align: right;
    font-style: normal;
    color: #64748b;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

/* Tags */
.badge {
    font-family: 'Space Grotesk', sans-serif;
    border-radius: 999px;
}

/* Buttons */
.medieval-button {
    font-family: 'Space Grotesk', sans-serif;
}
