/* Home page specific styles */
main.home-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

main.home-page > div {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

main.home-page h1 {
    margin-bottom: 1rem;
}

main.home-page .subtitle {
    margin-bottom: 2rem;
}

main.home-page .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

body:not(.single):not(.list) main:not(.posts):has(> div > h1) {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

body:not(.single):not(.list) main:not(.posts):has(> div > h1) > div {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

body:not(.single):not(.list) main:not(.posts):has(> div > h1) h1 {
    margin-bottom: 1rem;
}

body:not(.single):not(.list) main:not(.posts):has(> div > h1) .subtitle {
    margin-bottom: 2rem;
}

body:not(.single):not(.list) main:not(.posts):has(> div > h1) .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

body:not(.single):not(.list) main:has(> div > h1) {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

body:not(.single):not(.list) main:has(> div > h1) > div {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

body:not(.single):not(.list) main:has(> div > h1) h1 {
    margin-bottom: 1rem;
}

body:not(.single):not(.list) main:has(> div > h1) .subtitle {
    margin-bottom: 2rem;
}

body:not(.single):not(.list) main:has(> div > h1) .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* About page specific styles */
.posts {
    display: block !important;
    flex-direction: unset !important;
}

.posts h1:first-child {
    margin-bottom: 2rem;
    text-align: left;
}

.posts .content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
} 