.single-post .ast-container {
	padding: 0 20px !important;
}

.single-post__back {
	margin-top: 20px;
    margin-bottom: 60px;
    background: #FEFBF6;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 30px 0;
}

.single-post-back__content {
    max-width: 1100px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.single-post__back a {
	text-decoration: none;
	font-size: 1.2rem;
    color: var(--e-global-color-text);
}

.post-hero {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.post-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.post-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 25px;
    border: 1px solid rgba(0, 31, 62, 0.2);
    border-radius: 20px;
    background: #FAFCFE;
    color: var(--e-global-color-c06444a);
    font-size: 1.2rem;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
}

.post-badge:hover {
    background: var(--e-global-color-c06444a);
    color: #fff;
}

.post-title {
	margin: 0;
	font-size: 2.5rem;
	line-height: 1.3em;
    font-weight: 700;
}

.post-perex {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.3em;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 1rem;
	color: rgba(65, 65, 65, 0.5);
}

.post-meta > div {
    display: flex;
    gap: 8px;
    align-items: center;
}

.post-thumbnail {
	border-radius: 20px;
	overflow: hidden;
}

.post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 6;
	object-fit: cover;
}

.post-content-section {
	padding: 0 0 50px;
}

.post-content {
	font-size: 1.2rem;
	line-height: 1.3em;
}

.post-content > *:first-child {
	margin-top: 0;
}

.post-content p {
	margin: 0 0 25px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
	line-height: 1.3em;
    font-weight: 700;
}

.post-content h2 {
	margin: 40px 0 15px;
	font-size: 2.2rem;
}

.post-content h3 {
	margin: 30px 0 15px;
	font-size: 1.5rem;
}

.post-content ul,
.post-content ol {
	margin: 0 0 30px 20px;
	padding: 0;
}

.post-content li {
	margin-bottom: 8px;
}

.post-content a {
	color: var(--e-global-color-primary);
	text-decoration: underline;
}

.post-content blockquote,
.post-content .wp-block-quote {
	position: relative;
	margin: 40px 0;
	padding: 40px 30px;
	border-left: 7px solid var(--e-global-color-accent) !important;
	background: #FEFBF6;
	border-radius: 0;
    line-height: 1.3em;
    font-style: normal;
}

.post-content blockquote p,
.post-content .wp-block-quote p {
	margin: 0;
}

.post-tags {
	padding-top: 35px;
	margin-top: 45px;
	border-top: 1px solid rgba(0, 31, 62, 0.2);
}

.post-tags__title {
	margin-bottom: 15px;
	font-size: 1.2rem;
    text-transform: uppercase;
}

.post-tags__items {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.post-tags__items a {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 25px;
    border: 1px solid rgba(0, 31, 62, 0.2);
    border-radius: 20px;
    background: #FAFCFE;
    color: #001F3E;
    font-size: 1.2rem;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
}

.post-tags__items a:hover {
    background: var(--e-global-color-c06444a);
    color: #fff;
}

.post-author-section {
	padding: 60px 0;
	background: #FEFBF6;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.post-author {
	max-width: 1100px;
    padding: 0 20px;
    display: grid;
	grid-template-columns: 30fr 70fr;
	gap: 50px;
	align-items: center;
    margin: 0 auto;
}

.post-author__image {
	border-radius: 20px;
	overflow: hidden;
}

.post-author__image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position:top;
}

.post-author__content h3 {
	margin: 0 0 5px;
	font-size: 2rem;
	line-height: 1.3em;
    font-weight: 700;
}

.post-author__role {
	margin-bottom: 20px;
	font-size: 1.2rem;
}

.post-author__content p {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.3em;
}

.related-section {
	margin:100px 0;
}

.related-section > h2 {
	margin: 0 0 40px;
	font-size: 2.2rem;
	line-height: 1.3em;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
    max-width: 900px;
}

@media (max-width: 768px) {
	.single-post__back {
		margin-bottom: 30px;
	}

    .single-post-back__content {
        padding: 0 30px;
    }

	.post-thumbnail img {
		aspect-ratio: 4 / 3;
	}

    .post-author-section {
        padding: 40px;
    }

	.post-author {
		grid-template-columns: 1fr;
		gap: 30px;
        text-align: center;
	}

	.post-author__image {
		max-width: 180px;
        margin: 0 auto;
	}

	.related-grid {
		grid-template-columns: 1fr;
	}

	.related-section {
		margin: 70px 0;
	}

    .related-section h2 {
        text-align: center;
    }
}