:root {
    /* Layout */
    --max-content-width: 666px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 25px;
    --spacing-xl: 45px;
    --spacing-xs: 5px; /* New spacing variable */
    
    /* Colors */
    --color-primary: #36c;
    --color-primary-hover: #2b5da5;
    --color-error: #721c24;
    --color-success: #155724;
    --color-text: #333;
    --color-text-secondary: #464646;
    
    /* Effects */
    --border-radius: 4px;
    --transition-timing: 0.3s ease;
    --mask-gradient: linear-gradient(to right,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,1) 80%,
        rgba(255,255,255,0) 100%);
    
    /* Grid */
    --grid-gap: var(--spacing-md);
    --container-padding: var(--spacing-md);
}

/* Typography and base elements */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.title-container {
    width: 92%; /* changed from max-width: 92% */
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.site-title, .page-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-align: left;
    white-space: normal; /* changed from nowrap */
    margin: 0;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Container layouts */
.header-container, .content-container{
    max-width: var(--max-content-width);
    margin: 0 auto;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    padding: 0 var(--container-padding); /* Ensure padding is applied */
}

h1 {
    margin: 0;
}

.separator {
    width: var(--max-content-width);
    max-width: 100%;
    margin: var(--spacing-md) auto;
    padding: 0 var(--container-padding);
    box-sizing: border-box;
}

/* Navigation Component */
.navigation {
    text-align: center;
    margin-top:  var(--spacing-xl);
}

.navigation a {
    color: inherit;
    text-decoration: none;
}

.navigation a:hover {
    text-decoration: underline;
}

/* Icons */
.link-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .site-title, .page-title {
        font-size: 13px;
    }

    .header-container, .content-container, .title-container {
        width: 92%;
        margin: 0 auto;
        margin-top: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }

    .navigation {
        margin-top: var(--spacing-lg);
    }

    .separator {
        width: 92%;
    }

}