
.single-post .container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 40px;
}

.single-post .main-content {
    flex: 2;
}

.single-post .sidebar {
    flex: 1;
    padding-left: 20px;
    border-left: 1px solid #e0e0e0;
}

.single-post .article-meta {
    color: #777;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.single-post .article-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
}

.single-post .article-subtitle {
    font-size: 1.2em;
    color: #555;
    font-weight: normal;
    font-style: italic;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.single-post .article-body p {
    line-height: 1.7;
    margin-bottom: 1em;
    font-size: 1.1em;
}

.single-post .article-body p:first-of-type:first-letter {
    float: left;
    font-size: 4em;
    line-height: 1;
    padding-right: 8px;
    font-weight: bold;
    color: #333;
}

.single-post .article-footer {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.single-post .article-footer a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px;
    background: #ff3b3b;
}

.single-post .sidebar h2 {
    font-size: 1.2em;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bold;
}

.single-post .sidebar-item {
    margin-bottom: 30px;
}

.single-post .sidebar-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-post .sidebar-item li {
    margin-bottom: 10px;
}

.single-post .sidebar-item a {
    text-decoration: none;
    color: #333;
}

.single-post .sidebar-item a:hover {
    text-decoration: underline;
}

.single-post .share-bar {
    /*display: flex;*/
    justify-content: flex-start;
    align-items: center;
    border-bottom: 2px solid #ccc;
    padding: 10px 0;
    margin-bottom: 20px;
}

.single-post .article-info {
    font-size: 0.9em;
    color: #333;
    margin-right: 20px;
}

.single-post .article-info span:first-of-type {
    color: #c00;
}

.single-post .social-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-post .social-share span {
    font-weight: bold;
    font-size: 0.9em;
}

.single-post .share-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    text-decoration: none;
    padding: 5px;
    box-sizing: border-box;
}

.single-post .share-btn.facebook { background-color: #3b5998; }
.single-post .share-btn.twitter { background-color: #262626; }
.single-post .share-btn.email { background-color: #7f7f7f; }
.single-post .share-btn.share { background-color: #4CAF50; }
.single-post .share-btn.reddit { background-color: #ff4500; }


.single-post .share-btn svg {
    width: 100%; 
    height: auto;
    /*fill: #ffffff;*/
    display: block; 
}

.single-post .sidebar-item .header-subscribe {
    display: grid; 
    align-items: center;
    gap: 10px;
    background: #111;
    padding: 8px 15px;
    border-radius: 6px;
}

.single-post .related-posts {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /*display: flex;*/
    gap: 40px;
}

.single-post .related-posts h3 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.single-post .post-grid {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.single-post .related-post-item {
    flex: 1;
    text-align: center;
}

.single-post .related-post-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.single-post .related-post-item a {
    text-decoration: none;
    color: #000;
}

.single-post .related-post-item h4 {
    font-size: 1em;
    font-weight: bold;
}

@media (max-width: 768px) {
    .single-post .sidebar{
        display: none;
    }
}

@media (max-width: 426px) {
    .single-post .article-title{
        font-size: 2.0em;
    }
    .single-post .post-grid{
        display: grid;
    }
    .single-post .article-footer a{
        font-size: 9px;
    }
}