.section.post {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    padding: 20px;
}

.post__date {
    color: var(--color-gray);
}
.post .post__title {
    font-size: 28px;
}

.post__content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
	padding-bottom: 40px;
}

.post__sidebar h3 {
    text-transform: uppercase;
    font-size: 20px;
}

.post__content p, .post__content li, .post__content h3 {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 100;
}

.post__content h3 {
	font-weight: 500;
	margin-top: 20px;
}

.post__content li {
    margin-left: 20px;
    list-style-type:auto;
}

.post__content strong{
    font-weight: 500;
}

.post .post__thumbnail {
    height: 400px;
}

.post__content img {
    max-height: 400px;
    object-fit: cover;
    border-radius: 5px;
}

.post__author {
    width: 100%;
    display: flex;
    justify-content: space-between;

}
.post .author__block {
    display: flex;
    gap: 20px;
}

.post .author__avatar {
    width: 80px;
    height: 80px;
    border-radius: 80px;
    overflow: hidden;
}
.post .author__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post .author__name {
    display: flex;
    flex-direction: column;
}
.post .author__name h3 {
    font-size: 20px;
	line-height: initial;
	margin-top: 0;
}

.post .author__name p {
    font-size: 16px;
}
/* sidebar  */

.post__sidebar {
    padding: 0 20px;
    height: 100%;
    width: 100%;
    border-left: 1px solid #e3e3e3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post__sidebar .other_posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post__sidebar .other_posts li {
    margin-left: 20px;
	list-style-type: disc
}

.post__sidebar .other_posts li a {
    color: var(--color-gray);
    text-decoration: none;
}

.post__sidebar .other_posts li a:hover {
    text-decoration: underline;
    color: var(--color-black);
}

.post__content h2 {
	margin-top: 20px;
}

.post__content ol, .post__content ul {
	display:flex;
	flex-direction: column;
	gap: 10px;

}

.post__content ol li {
	list-style-type: decimal
}

.post__content ul li {
	list-style-type: initial
}


.post__content a {
	color: blue;
	text-decoration: underline
}


@media (max-width: 868px) {
    .section.post {
        grid-template-columns: 1fr;
    }

	 .post .post__thumbnail {
        height: 300px;
    }   
	
    .post__sidebar {
        border: none;
        padding: 0;
    }
}

@media (max-width: 600px) { 
	 .post .post__thumbnail {
        height: 200px;
    }   
	
    .post .author__avatar {
        width: 70px;
        height: 70px;
        border-radius: 70px;
    }
    
    .post .author__name h3 {
        font-size: 18px;
    }
    
    .post .author__name p {
        font-size: 14px;
    }

    .post__date {
        font-size: 14px;
    }

    .post .section__title {
        order: normal;
    }

    .post .post__title {
        font-size:20px;
	}
}

@media (max-width: 390px) {
    .post .author__avatar {
        width: 60px;
        height: 60px;
        border-radius: 60px;
    }
   
    .post .author__name h3 {
        font-size: 16px;
    }
    
    .post .author__name p {
        font-size: 12px;
    }

    .post__date {
        font-size: 12px;
    }
    
    .post .author__block {
        gap: 10px;
    }
    .section.post, .post__content, .post__sidebar {
        gap: 20px;
    }

    .post__content p, .post__content li, .post__content h3{
        font-size: 18px;
    }


    .post .post__thumbnail {
        height: 200px;
    }  

}