/*--------------------------------------------------------------
#Page
--------------------------------------------------------------*/
.article .bread-crumps__container{
	padding: 61px 0px 60px 0px; 
}
.article .header__title-container{
	padding: 0px 0px 50px 0px; 
}

.meta-post__container{
	padding: 0px 0px 19px 0px;
}
.meta-post__wrapper{
	display: inline-flex;
	flex-wrap: wrap;
}
.meta-post__item{
	font-family: Inter,var(--replacement-fonts) ;
	font-weight: 300;
	font-size: 15px;
	color: #AFAFAF;
}
.meta-post__item:not(:last-child){
	margin-right: 31px;
}

.meta-post__item--cat,
.meta-post__item--cat a{
	position: relative;
	font-family: Inter,var(--replacement-fonts) ;
	font-weight: 400;
	font-size: 15px;
	color: var(--color-light-black);
}
/* Общий стиль для полосы: применяется на hover для всех span и всегда для active */
.meta-post__item--cat a:hover::after{
    content: '';
    position: absolute;
    bottom: -5px; /* Отступ от текста */
    left: 0;
    right: 0;
    height: 1px; /* Толщина полосы */
    background-color: var(--color-light-black); /* Цвет полосы */
}
@media screen and (max-width: 650px) {
	.meta-post__wrapper{
		flex-direction: column;
	}
	.meta-post__item:not(:last-child) {
		margin-right: 0px;
		margin-bottom: 4px;
	}
}


/*--------------------------------------------------------------
# Blog Details Page
--------------------------------------------------------------*/
/* Blog-details Section - Blog Details Page
------------------------------*/
.blog-details .article {
	position: relative;
	background-color: #ffffff;
	padding: 30px 60px 60px 60px;
	margin-bottom: 56px;
}

@media screen and (max-width: 890px) {
	.blog-details .article {
		padding: 0px 25px 57px 25px;
	}
	.blog-details__wrapper {
		flex-direction: column-reverse;
		gap: 0;
	}
}
@media screen and (max-width: 645px) {
	.blog-details__container {
		background-color: #ffffff;
	}
	.blog-details .article {
		padding: 0px 0px 57px 0px;
	}
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}


.blog-details__wrapper {
    display: flex;
    gap: 2%; /* современный способ отступов */
}

.blog-details__content-left {
    width: 10%;
}

.content {
  width: 76%;
}
@media (max-width: 1200px) {
	.content {
		width: 90%;
	}
	.blog-details__content-left {
			width: 4%;
	}
}
@media (max-width: 890px) {
	.content {
		width: 100%;
	}
}
@media screen and (max-width: 590px) {
	.content {
		width: 100%;
	}
}

.recommended-posts__title{
	margin-bottom: 24px;
}
.recommended-posts .posts__container {
  margin-bottom: 110px;
}

.blog-details .content blockquote {
  position: relative;
}

.blog-details .content blockquote p {
    font-family: Inter,var(--replacement-fonts);
		color: var(--color-light-black);
		font-weight: 600;
		font-size: 17px;
		font-style: italic;
		line-height: 145%;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

/* --- Dynamic content blocks --- */
.nb-block {
  margin-bottom: 33px;
}

.nb-block:last-child {
  margin-bottom: 0;
}

.nb-block__text b,
.nb-block__content b{
	font-weight: 700;
}
.nb-block__text a,
.nb-block__content a{
	color: var(--color-light-black);
	text-decoration: underline;
	cursor: pointer;
}

.nb-block__image-text-wrapper {
	display: flex;
	background-color: #f5f5f5;
	padding: 30px;
	gap: 33px; /* Расстояние между картинкой и текстом */
	align-items: flex-start;
}

/* Контейнер для изображения с гибкой шириной */
.nb-block__image-container {
	flex: 0 0 49%;
	min-width: 250px; /* Минимальная ширина */
	max-width: 500px; /* Максимальная ширина */
}

/* Сохраняем пропорцию 453:549 (? 82.5%) */
.nb-block__image-aspect {
	position: relative;
	width: 100%;
	padding-bottom: 121.2%; /* 549 / 453 ? 100% = 121.2% */
	overflow: hidden;
}

@media screen and (max-width: 645px) {
	.nb-block__image-text-wrapper {
		flex-direction: column;
	}
	.nb-block__image-container {
		flex: 0 0 100%;
		min-width: 100%;
	}
}

.nb-block__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover; 
	object-position: center;
}
.nb-block__text-content{
	flex: 1;
	min-width: 0;
}

.nb-block__image-caption .nb-block__figure {
  margin: 0;
}

.nb-block__image-caption .nb-block__caption {
    font-family: Inter,var(--replacement-fonts);
		color: var(--color-light-black);
		font-weight: 500;
		font-size: 17px;
		font-style: italic;
		padding-top: 17px;
}

@media screen and (max-width: 1600px) {
	.nb-block__image-caption .nb-block__caption {
		font-size: 16px;
	}
}
@media screen and (max-width: 1375px) {
	.nb-block__image-caption .nb-block__caption {
		font-size: 15px;
	}
}
@media screen and (max-width: 645px) {
    .nb-block__image-caption .img-fluid {
        width: 100% !important;
    }
}

.nb-block--image-text {
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.nb-block--image-text .nb-block__title {
  margin-top: 0.5rem;
}



.nb-block__quote {
  display: flex;
  align-items: stretch;
  gap: 64px;
}

.nb-block__quote-bar {
  width: 3px;
  background: var(--color-violete);
  border-radius: 999px;
  flex-shrink: 0;
}



.nb-block--quote .nb-block__quote::after {
  content: none !important;
}

.nb-block__cite {
	font-family: Inter,var(--replacement-fonts);
	color: var(--color-light-black);
	font-weight: 600;
	font-size: 17px;
	font-style: italic;
	padding-top: 33px;
	text-align: right;
}
@media screen and (max-width: 645px) {
	.nb-block__quote {
		gap: 30px;
	}
}

.nb-block--table {
  margin: 3rem 0;
}

/* Десктопная версия таблицы */
.nb-table--desktop {
    display: grid;
    grid-template-columns: repeat(var(--nb-table-columns, 1), 1fr);
}

.nb-table--desktop .nb-table__cell {
    padding: 10px 12px;
    border: 1px solid var(--color-violete);
    background: #ffffff;
    font-family: Inter, var(--replacement-fonts);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.nb-table--desktop .nb-table__header-row {
    font-weight: 600;
}

/* Мобильная версия таблицы */
.nb-table--mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.nb-table--mobile .nb-table__mobile-row {
    border: 1px solid var(--color-grey);
    overflow: hidden;
}

.nb-table--mobile .nb-table__mobile-item {
    display: flex;
    flex-direction: column;
}

.nb-table--mobile .nb-table__mobile-item:last-child {
    border-bottom: none;
}

.nb-table--mobile .nb-table__mobile-header {
    font-weight: 700;
    padding: 10px 15px;
    border-left: 2px solid var(--color-violete);
    font-family: Inter, var(--replacement-fonts);
    font-size: 14px;
		background-color: #f8f9fa;
}

.nb-table--mobile .nb-table__mobile-value {
    background-color: #ffffff;
    padding: 12px 15px;
    font-family: Inter, var(--replacement-fonts);
    font-size: 14px;
    line-height: 1.4;
}
.nb-table--mobile .nb-table__mobile-row-value:not(:last-child) {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e0e0;
}


@media screen and (max-width: 736px) {
    .nb-table--desktop {
        display: none;
    }
    
    .nb-table--mobile {
        display: flex;
    }
}


.nb-block--gallery .nb-gallery {
  gap: 1rem;
}

.nb-block--gallery .nb-gallery__item {
  flex: 1 1 220px;
  max-width: 320px;
}

.nb-block--gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* Dynamic heading block */
.nb-block--heading h2,
.nb-block__text h2, 
.nb-block--heading h3,
.nb-block__text h3,
.nb-block--heading h4,
.nb-block__text h4,
.nb-block--heading h5,
.nb-block__text h5,
.nb-block--heading h6,
.nb-block__text h6 {
    font-family: Unbounded, var(--replacement-fonts);
    color: var(--color-light-black);
    font-style: normal;
    font-weight: 600;
    line-height: 136.7%;
}
.nb-block--heading{
	text-transform: uppercase;
	margin-bottom: 22px;
}
.nb-block__text h2, 
.nb-block__text h3,
.nb-block__text h4,
.nb-block__text h5,
.nb-block__text h6 {
	text-transform: unset;
}
.nb-block__author-body{
	font-family: Inter, var(--replacement-fonts);
	font-weight: 700;
	font-size: 15px;
	color: var(--color-light-black);
	text-align: right;
}
.nb-block__author-body-name{
}
.nb-block__author-body-post{
	font-style: italic;
}


