#single {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    padding: 20px 0;
}

.post-content-wrapper {
    gap: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.post-main {
    flex: 1;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 1px 3px var(--nav-shadow);
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.article-title {
    text-align: left;
    padding-bottom: 20px;
    margin: 0;
    font-size: 2.6rem;
}

.post-info {
    font-size: 1.25em;
    color: var(--text-color-dark);
}

.post-info-calendar,
.post-info-clock {
    margin-left: 5px;
    font-size: 0.9em;
}

.post-info-clock {
    margin-left: 5px;
}

time {
    margin-left: 6px;
    color: var(--text-color-dark);
}

.post-info-reading {
    margin-left: 5px;
    color: var(--text-color-dark);
}

p:not(li p, .see-more, .post-date, .site-footer p, .content404, .entry) {
    font-size: 1.25em;
    margin: 20px 5px;
    max-width: 100%;
}

h2:not(.post-title, .posts-list-title, .home-posts-list-title) {
    margin: 1em 0;
    margin-left: 5px;
    padding-bottom: 10px;
    font-size: 1.7em;
    border-bottom: 1px solid var(--post-link);
    max-width: 100%;
}

h2:not(.post-title, .posts-list-title, .home-posts-list-title)::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 25px;
    background: #ccc;
    margin-right: 8px;
    vertical-align: middle;
}

h3 {
    margin-left: 5px;
    margin-top: 0.8em;
    margin-bottom: 0.5em;
    font-size: 1.3em;
}

code {
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    background: var(--border-color);
    color: var(--text-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

pre code {
    display: block;
    padding: 16px;
    background: var(--border-color);
    color: var(--text-color);
    border-radius: 0;
    overflow-x: auto;
    font-size: 1em;
    max-width: 100%;
    margin: 15px 0;
}

.highlight {
    background: var(--border-color);
    font-size: 1em;
    max-width: 100%;
    margin: 15px 0;
}

.highlight span {
    font-family: 'Fira Mono', 'Consolas', 'Menlo', monospace;
    font-size: 1em;
}

ul:not(.nav-links, .tags-list, .tags-list-ul, .trems, li ul, li p) {
    margin-left: 35px;
    font-size: 1.25em;
    max-width: calc(100% - 35px);
}

ol {
    margin-left: 35px;
    font-size: 1.25em;
    max-width: calc(100% - 20px);
}

li ul {
    margin-left: 35px;
}

li p {
    margin-top: 5px;
    margin-bottom: 5px;
}

li:not(.tags-list li, .trems) {
    margin-bottom: 3px;
}

.post-main img:not(.post-image) {
    max-width: 100%;
    width: auto;
    display: block;
    margin: 20px 0;
}

.sidebar-column {
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
}

.sidebar {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 1px 3px var(--nav-shadow);
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
    padding: 15px;
    margin-bottom: 10px;
}

.sidebar-1 {
    height: 270px;
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}

.avatar-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    border: 3px solid var(--border-color);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 2rem;
    margin: 0;
    margin-bottom: 15px;
}

.profile-email {
    color: var(--text-color);
}

.profile-email:hover {
    background-color: var(--hover-bg);
    border-color: var(--post-link);
}

.profile-email i {
    font-size: 1.3em;
}

.sidebar-tags {
    font-size: 1.5rem;
    margin: 0;
    margin-bottom: 15px;
}

.sidebar h3 i {
    margin-left: 0.4em;
}

.sidebar-tags-fa {
    margin-right: 0.25em;
    font-size: 0.7em;
}

.sidebar-clock {
    font-size: 0.85em;
    margin-right: 0.25em;
}

.lastest-posts {
    gap: 1rem;
    display: grid;
}

.single-article {
    margin-bottom: 0;
}

.single-post-title {
    font-size: 1em;
}

.terms {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: none;
}

.post-navigation {
    margin-top: 3rem;
}

.post-nav-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
}

.post-nav-next {
    order: -1;
    flex: 1;
    max-width: calc(50% - 0.25rem);
}

.post-nav-prev {
    order: 1;
    flex: 1;
    max-width: calc(50% - 0.25rem);
    margin-left: auto;
}

.post-nav-prev a,
.post-nav-next a {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    height: 110px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px var(--nav-shadow);
    gap: 20px;
}

.post-nav-prev a:hover,
.post-nav-next a:hover {
    background-color: var(--hover-bg);
    border-color: var(--post-link);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px var(--nav-shadow);
}

.post-nav-prev a {
    background-color: var(--nav-bg);
    justify-content: space-between;
}

.post-nav-next a {
    background-color: var(--nav-bg);
    justify-content: space-between;
}

.post-nav-text {
    font-weight: 500;
    font-size: 1.1em;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
}

.post-nav-next .post-nav-text {
    align-items: flex-start;
    text-align: left;
    align-self: center;
}

.post-nav-prev .post-nav-text {
    align-items: flex-end;
    text-align: right;
    align-self: center;
}

.post-nav-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
    line-height: 1.4;
    max-height: 2.8em;
}

.post-nav-date {
    font-size: 0.9em;
    color: var(--text-color-dark);
    font-weight: 400;
}

.post-nav-prev i,
.post-nav-next i {
    font-size: 0.9em;
    color: var(--text-color-dark);
    flex-shrink: 0;
}

.terms ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.terms a:hover {
    background-color: var(--hover-bg);
    border-color: var(--post-link);
}

.terms li a {
    vertical-align: middle;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.2em;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook {
    background-color: #1877f2;
}

.social-icon.reddit {
    background-color: #ff4500;
}

.social-icon.twitter {
    background-color: #000000;
}

.social-icon.bluesky {
    background-color: #1185FE;
}

.social-icon.whatsapp {
    display: none;
    background-color: #28D146;
}

.social-icon.telegram {
    background-color: #27A7E7;
}

.social-icon.copy-link {
    background-color: #6c757d;
    border: none;
    cursor: pointer;
}

.social-icon.copy-link:hover {
    background-color: #5a6268;
}

.social-icon.copy-link.copied {
    background-color: #28a745;
}

.bluesky-icon {
    width: 20px;
    height: 20px;
    fill: white;
}

.mobile-social-share {
    display: none;
}

@media (max-width: 1200px) {
    #single {
        padding: 0 10px;
    }

    .post-content-wrapper {
        display: block;
    }

    .post-main {
        border: none;
        box-shadow: none;
        padding: 7px;
    }

    .article-title {
        font-size: 2.5em;
        margin-top: 0.25em;
        margin-bottom: 0;
        width: 100%;
    }

    .post-info-calendar {
        margin-left: 0;
    }

    time {
        margin-left: 6px;
    }

    p:not(li p, .see-more, .post-date, .site-footer p, .content404) {
        margin: 20px 0;
        width: 100%;
    }

    ul:not(.post-nav-container, .tags-list, .tags-list-ul, .trems, li ul, li p) {
        width: 100%;
        margin-left: 20px;
        max-width: calc(100% - 20px);
    }

    ol {
        width: 100%;
        margin-left: 15px;
        max-width: calc(100% - 15px);
    }

    li:not(.tags-list li, .trems) {
        width: 100%;
    }

    h2:not(.post-title, .posts-list-title, .home-posts-list-title) {
        margin-bottom: 1em;
        margin-left: 0;
        width: 100%;
    }

    h3 {
        margin-left: 0;
    }

    pre code {
        width: 100%;
        font-size: 16px;
        overflow-x: auto;
    }

    .highlight {
        width: 100%;
        font-size: 16px;
    }

    .highlight span {
        width: 100%;
    }

    .post-main img:not(.post-image) {
        width: 100%;
    }

    .sidebar {
        display: none;
    }

    .terms {
        display: block;
    }

    .post-navigation {
        margin-top: 0;
        padding-top: 1.5rem;
        border-top: 0;
    }

    .post-nav-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .post-nav-prev,
    .post-nav-next {
        width: 100%;
        max-width: 100%;
    }

    .mobile-social-share {
        display: block;
        padding-top: 1.5rem;
    }

    .social-icon.whatsapp{
        display: flex;
    }

    .social-icon.telegram{
        display: flex;
    }

    .social-share {
        gap: 15px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }
}