/* ========================================================================== */
/* TopSitesDanke – Base Styles */
/* ========================================================================== */

:root {
    --tsd-blue:        #1a56db;
    --tsd-blue-dark:   #1e3a8a;
    --tsd-blue-mid:    #2563eb;
    --tsd-blue-light:  #dbeafe;
    --tsd-blue-bg:     #eff6ff;
    --tsd-text:        #0f172a;
    --tsd-muted:       #475569;
    --tsd-subtle:      #94a3b8;
    --tsd-border:      #e2e8f0;
    --tsd-surface:     #f8faff;
    --tsd-bg-light:    #f1f5f9;
    --tsd-white:       #ffffff;
    --tsd-radius:      8px;
    --tsd-radius-lg:   14px;
    --tsd-shadow:      0 2px 8px rgba(26, 86, 219, 0.08);
    --tsd-shadow-lg:   0 8px 32px rgba(26, 86, 219, 0.14);
    --tsd-transition:  0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--tsd-text);
    background-color: var(--tsd-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0052a3;
}

/* Lists */
ul, ol {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Forms */
input,
textarea,
select,
button {
    font-family: inherit;
    font-size: inherit;
}

input,
textarea,
select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

button {
    cursor: pointer;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Code */
code,
pre {
    background-color: #f5f5f5;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

code {
    padding: 2px 6px;
    font-size: 14px;
}

pre {
    padding: 12px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

pre code {
    background: none;
    padding: 0;
}

/* Blockquote */
blockquote {
    margin: 0 0 1rem 0;
    padding: 12px 20px;
    border-left: 4px solid #0066cc;
    background-color: #f8f9fa;
}

/* Horizontal Rule */
hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2rem 0;
}

/* Main & Article */
main {
    min-height: calc(100vh - 200px);
}

article {
    margin-bottom: 2rem;
}

/* Section */
section {
    margin-bottom: 2rem;
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: #666;
}

.text-bold {
    font-weight: 700;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Responsive Text */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    body {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    body {
        font-size: 14px;
    }
}
