:root {
    --bg-primary: #1a1a1a;
    --text-color: #e0e0e0;
    --link-color: #8bbce0;
    --link-hover-color: #acd1f2;
    --heading-color: #f0f0f0;
    --border-color: #444444;
    --section-tag-bg: #404040;
    --section-tag-text: #ffffff
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-color);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh
}

.profile-header {
    text-align: center;
    padding: 60px 20px 40px;
    padding-bottom: 10px;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    margin-bottom: 30px
}

.profile-avatar {
    margin-bottom: 20px
}

.profile-avatar img,
.profile-avatar svg {
    border-radius: 50%;
    background-color: var(--border-color);
    color: var(--text-color);
    padding: 5px;
    display: block;
    margin: 0 auto;
    width: 96px;
    height: 96px;
    object-fit: cover
}

.subtitle,
h1 {
    margin-top: 0;
    color: var(--text-color);
    font-size: 1.1em;
    margin-bottom: 25px
}

h1 {
    color: var(--heading-color);
    font-size: 2.2em;
    margin-bottom: 5px
}

.header-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    width: 100%;
    margin: 0 auto
}

.main-content-wrapper {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
    flex-grow: 1
}

.content-sections-wrapper {
    padding-bottom: 40px
}

.content-section {
    margin-bottom: 30px
}

.section-title {
    display: inline-block;
    background-color: var(--section-tag-bg);
    color: var(--section-tag-text);
    font-size: .9em;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 10px;
    margin-bottom: 20px;
    border-radius: 3px;
    margin-top: 0
}

ul {
    list-style: none;
    padding: 0;
    margin: 0
}

ul li {
    margin-bottom: 10px;
    line-height: 1.5
}

.list-date {
    color: var(--text-color);
    margin-right: 8px;
    font-size: .95em
}

.site-footer a,
ul li a {
    transition: color .3s ease, text-decoration .3s ease
}

.site-footer a:hover,
ul li a:hover {
    color: var(--link-hover-color);
    text-decoration: underline
}

.site-footer {
    text-align: center;
    padding: 30px 20px;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    font-size: .9em;
    color: var(--text-color);
    margin-top: auto
}

.site-footer p {
    margin: 5px 0
}

@media (max-width:768px) {

    .main-content-wrapper,
    .profile-header,
    .site-footer {
        padding-left: 15px;
        padding-right: 15px
    }
}

.post-container {
    padding: 20px 0;
    padding-top: 0;
}

.post-title {
    color: var(--heading-color);
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 10px
}

.post-meta {
    font-size: .9em;
    color: var(--text-color);
    margin-bottom: 25px
}

.post-content {
    line-height: 1.7;
    font-size: 1.05em
}

.post-content p {
    margin-bottom: .4em
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: var(--heading-color);
    margin-top: .7em;
    margin-bottom: .3em;
    line-height: 1.2
}

.post-content a,
.site-footer a,
ul li a {
    color: var(--link-color);
    text-decoration: none
}

.post-content a:hover {
    text-decoration: underline
}

.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 5px
}