.single-post-page-wrapper {
    margin: 20px auto;
    max-width: 1130px;
    padding: 0 15px;
    box-sizing: border-box;
}

.entry-header.single-post-header {
    margin-bottom: 20px;
}

.single-post-body-container {
    display: flex;
    flex-wrap: wrap;
}

.single-post-main-content-column {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
}

.single-post-sidebar-area {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 30px;
}

@media (min-width: 992px) {
    .entry-header.single-post-header {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .single-post-body-container {
        display: flex;
        flex-wrap: nowrap;
        gap: 30px;
        max-width: 100%;
        margin: 20px;
    }

    .single-post-main-content-column {
        flex: 1 1 auto;
        min-width: 0;
    }

    .single-post-sidebar-area {
        flex: 0 0 300px;
        width: 300px;
        margin-top: 0;
    }
}

.woocommerce-breadcrumb,
.leon-breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.75em;
    color: #404040;
}
.leon-breadcrumbs a,
.woocommerce-breadcrumb a {
    color: inherit;
    text-decoration: none;
}
.leon-breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

.single-post-header .entry-title {
    margin-bottom: 20px;
    font-size: 2.2em;
    color: inherit;
    line-height: 1.3; /* Added line-height */
}

@media (max-width: 767px) {
    .single-post-header .entry-title {
        font-size: 1.8em; /* Reduced font size for mobile */
    }
}

.post-meta-container {
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.author-info-top {
    display: flex;
    align-items: center;
}

.author-image {
    width: 40px;
    height: 40px;
    border-radius: 90%;
    margin-right: 10px;
    object-fit: contain;
    padding:2px;
    border:1px solid #EAEAEA;
}

.author-info-top .posted-by {
    font-weight: bold;
    color: inherit;
    font-size: 0.95em;
}

.post-meta-details {
    font-size: 0.85em;
    color: #404040;
    padding-left: 50px;
}

.post-meta-details .post-meta-item {
    display: inline;
    line-height: 1.4;
}

.post-meta-details .time-for-reading:not(:empty)::after {
    content: " \00B7 ";
    margin-left: 5px;
    margin-right: 5px;
}

.share-buttons-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 50px;
}

.share-label {
   display: none;
}

.share-button {
    background: none;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.share-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.share-button:hover {
    border-color: inherit;
    opacity: 0.8;
}

.copy-link-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

.post-thumbnail {
    margin-bottom: 20px;
}
.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.entry-content {
    line-height: 1.7;
    color: inherit;
}
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
    margin-bottom: 1.5em;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: inherit;
}

.single-post-sidebar-area .related-posts-title {
    font-size: 1.3em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: inherit;
}

.related-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-post-item {
    margin-bottom: 15px;
}

.related-post-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 10px;
}

.related-post-link:hover .related-post-title-text {
    text-decoration: underline;
}

.related-post-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.related-post-title-text {
    font-size: 0.95em;
    line-height: 1.3;
    color: inherit;
}

.nav-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}
.nav-links .nav-previous,
.nav-links .nav-next {
    flex-basis: 48%;
}
.nav-links .nav-subtitle {
    display: block;
    font-size: 0.85em;
    color: #404040;
}
.nav-links .nav-title {
    font-weight: bold;
    color: inherit;
    text-decoration: none;
}
.nav-links .nav-title:hover {
    text-decoration: underline;
}

.comments-area {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.comments-area .comments-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: inherit;
}