.ih-single-main {
    width: 100%;
    padding: 60px 0;
    box-sizing: border-box;	
	clear:both;
}

.ih-content-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 30px; 
    max-width: 1280px; 
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
	clear:both;
}

.ih-single-card {
    background: #fff;
    padding: 100px 15px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    flex: 1 1 calc(70% - 30px); 
    min-width: 0; 
}
.ih-post-title {
    margin: 0 0 20px 0;
    font-size: 2.2rem;
    line-height: 1.4;
    position: relative;
    padding-bottom: 15px;
}

.ih-post-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;	
    height: 1px;
	width:95%;
    background:#848c89;
}
body.rtl .ih-post-title::after {
    background:#1F4E3D;
}

.ih-post-title a {
    text-decoration: none;
    color: #1b1b1b;
    transition: color 0.3s ease;
}
.ih-post-title a:hover {
    color: #1F4E3D;
}


.ih-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 40px; 
}
.ih-edit-meta a {
    color: #1F4E3D;
    text-decoration: none;
    margin-inline-start: 5px;
}

.ih-post-body {
    line-height: 2;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.ih-post-body * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.ih-post-body img {
    height: auto !important;
    border-radius: 18px;
}


.ih-post-footer {
    border-top: 1px solid #eee;
    padding-top: 30px;
}
.ih-metalinks strong {
    display: block;
    margin-bottom: 15px;
    color: #1b1b1b;
}
.ih-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ih-tags-wrap a {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}
.ih-tags-wrap a:hover {
    border-color: #1F4E3D;
    color: #1F4E3D;
    background-color: rgba(31, 78, 61, 0.05);
}
	
	.ih-single-sidebar {
    flex: 1 1 30%; 
    min-width: 280px; 
		box-sizing: border-box;}


@media (max-width: 768px) {
    .ih-single-main {
        padding: 30px 0;
		margin-top:100px;
    }
    .ih-single-card {
        padding: 25px 20px;
        border-radius: 12px;
    }
	
	@media (max-width: 992px) {
    .ih-single-sidebar {
        flex: 1 1 100%; 
        width: 100% !important;
        position: static; 
        margin-top: 10px; 
    }
}
    .ih-post-title {
        font-size: 1.6rem;
    }
    .ih-post-body {
        font-size: 1rem;
        margin-bottom: 35px;
    }
}
