/**
 * Статья блога (single-post.php): стили, которые раньше были вписаны в шаблон.
 * Подключаются последними (inc/Enqueue.php) — порядок каскада как был.
 */


/* ОБЩИЙ ЛЕЙАУТ */
.blog {
    display: block;
}

.custom-post-breadcrumbs a::before {
	display: none !important;
}

#breadcrumbs .custom-post-breadcrumbs > span,
#breadcrumbs .custom-post-breadcrumbs .sep {
	display: inline !important;
}

#breadcrumbs .custom-post-breadcrumbs {
	display: block !important;
	white-space: nowrap;
}

#breadcrumbs .custom-post-breadcrumbs .breadcrumb_last {
	white-space: normal;
}

#breadcrumbs.breadcrumbs {
	padding-top: 12px;
	padding-bottom: 12px;
}

@media (max-width: 1070px) {
	body.single-post main {
		padding-top: 105px;
	}

	body.single-post section#breadcrumbs.breadcrumbs {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

/* КОНТЕНТ */
.blog__content {
    max-width: 800px;
}

.blog__title {
    margin-bottom: 10px;
}

.blog__image {
    width: 100%;
    border-radius: 12px;
}

	/* text-transform: math-auto плохо поддерживается в Safari iOS — давал «ломаный» регистр vs заголовки в контенте */
.blog__content h2 ,
	.blog__content h3{
    margin-top: 40px;
    margin-bottom: 21px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0;
    text-transform: none;

}

	
	.blog__content p{
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0;
		margin-bottom:21px;
}
	
	
.blog__article ul,
.blog__article ol {
	list-style: none;
	margin: 0 0 21px;
	padding: 0 0 0 16px;
}

.blog__article ul li,
.blog__article ol li {
	position: relative;
	padding-left: 24px;
	font-family: 'Manrope', sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 25px;
	letter-spacing: 0;
	margin-bottom: 20px;
}

.blog__article ul li::before,
.blog__article ol li::before {
	content: "";
	width: 6px;
	height: 6px;
	background: #208D79;
	border-radius: 50%;
	position: absolute;
	left: 0;
	top: 9px;
}

	
	
/* SIDEBAR */
.blog__sidebar {
    position: relative;
}

/* Единый блок под метой: оглавление → автор → поделиться */
.blog__intro {
    margin: 14px 0 28px;
    padding: 18px 0 20px;
    border-top: 1px solid #e6eaea;
    border-bottom: 1px solid #e6eaea;
}

.blog__intro > .article-toc,
.blog__intro > .blog__author,
.blog__intro > .share-buttons {
    margin: 0;
}

.blog__intro > .blog__author,
.blog__intro > .share-buttons {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eef1f0;
}

.blog__intro .article-toc,
.blog__intro .article-toc ol,
.blog__intro .article-toc li {
    list-style: none;
}

.article-toc {
    --at-accent: #1fa67a;
    --at-text: #3d464f;
    --at-fade: #fff;
    --at-max: 112px;
    padding: 0;
    border: 0;
    background: transparent;
}

.article-toc__label {
    margin: 0 0 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: none;
    color: #707a85;
}

.article-toc__body {
    position: relative;
    overflow: hidden;
    max-height: none;
    transition: max-height 0.35s ease;
}

.article-toc.is-clamped:not(.is-open) .article-toc__body {
    max-height: var(--at-max);
}

.article-toc.is-clamped:not(.is-open) .article-toc__body::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--at-fade) 100%);
}

.article-toc__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: atoc;
}

.article-toc__list li {
    margin: 0;
    padding: 0 0 0 11px;
    border-left: 2px solid #e3e7e6;
    transition: border-color 0.2s ease;
}

.article-toc__list li + li {
    margin-top: 0;
}

.article-toc__list li.is-current {
    border-left-color: var(--at-accent);
}

.article-toc__list a {
    display: block;
    padding: 3px 0;
    color: var(--at-text);
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.article-toc__list li.is-current a {
    color: var(--at-accent);
    font-weight: 600;
}

.article-toc__list a:hover {
    color: var(--at-accent);
}

.article-toc__more {
    display: none;
    align-items: center;
    gap: 4px;
    margin: 4px 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--at-accent);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.article-toc__more[hidden] {
    display: none !important;
}

.article-toc.is-clamped .article-toc__more:not([hidden]) {
    display: inline-flex;
}

.article-toc__more-icon {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.article-toc.is-open .article-toc__more-icon {
    transform: rotate(180deg);
}

.blog__author-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.blog__author-photo {
    flex: 0 0 48px;
}

.blog__author-photo img {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.blog__author-body {
    flex: 1;
    min-width: 0;
}

.blog__intro .blog__author-label {
    margin: 0 0 2px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    color: #8a939c;
}

.blog__intro .blog__author-name {
    margin: 0 0 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

.blog__intro .blog__author-desc {
    margin: 0 0 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: #5f6b76;
}

.blog__intro .blog__author-exp {
    display: inline-block;
    margin: 0;
    padding: 5px 10px;
    border-radius: 6px;
    background: #1fa67a;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.blog__intro .share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

.blog__intro .share-title {
    font-size: 13px;
    color: #707a85;
}

.blog__article.entry-content {
    margin-top: 0;
}

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

/* АВТОР */
.toc__author {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 25px;
}

.toc__author img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.toc__author-label {
    font-size: 13px;
    color: #888;
}

.toc__author-name {
    color: #1fa67a;
    font-weight: 600;
}


.toc__author-exp {
    display: inline-block;
    margin-top: 5px;
    background: #208D79;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
	margin-bottom:23px;
    letter-spacing: -0.01em;
}
	
.share-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    padding: 0;
}
	
	
	
.post-meta__likes {
    cursor: pointer;
    user-select: none;
}

.heart {
    transition: 0.3s;
	display:flex;
}

.post-meta__likes.liked .heart {
    color: red;
}	
	
	
	
	
	.post-meta__likes {
    cursor: pointer;
    user-select: none;
}



.heart {
    font-size: 16px;
}
	
.post-meta__views div{
    display: flex;
}
	.post-meta__likes {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: none;
}

	.toc__author-desc {
		margin-bottom:4px;
	}

.heart path {

}

/* ЛАЙК */
.post-meta__likes.liked .heart path {
  fill: red;
  stroke: red;
}

/* Анимация */
.post-meta__likes.liked .heart {
  transform: scale(1.2);
}
	
	
	
	
	.share-block {
    display: flex;
    align-items: center;
    gap: 20px;

}

.share-title {
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-buttons--after-title {
	display: none !important;
}

.share-btn {
    
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: 0.3s;
}

.share-btn img {
   
}


/* hover эффект */
.share-btn:hover {
    transform: translateY(-3px);
}
	
	
	
	
	
.blog__title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: none;
}
.post-meta, 
	.post-meta__actions{
    display: flex;
    gap: 20px;
}
.post-meta {
	margin-bottom: 20px;
}

.blog__content > .post-meta--top {
	margin: 0 0 12px;
}

.blog__content > .post-meta--top + .post__header .blog__title {
	margin-top: 0;
	margin-bottom: 14px;
}

	.blog__intro {
		margin: 12px 0 22px;
		padding: 14px 0 16px;
	}

	.blog__intro > .blog__author,
	.blog__intro > .share-buttons {
		margin-top: 12px;
		padding-top: 12px;
	}
	
.post-meta__date, 
	.views-count,
	.likes-count{
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #707A85;
}
	
	
/* АДАПТИВ */
@media (max-width: 900px) {
    .blog {
        grid-template-columns: 1fr;
    }

	.post__headermob .post-meta {
		display: none !important;
	}

	.postmetamobsection {
		display: none !important;
	}

	.blog__content > .post-meta--top {
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}

	.blog__content > .post-meta .post-meta__date {
		flex: 1 1 auto;
		min-width: 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		font-size: 14px;
		line-height: 1.4;
	}

	.blog__content > .post-meta .post-meta__actions {
		flex: 0 0 auto;
		gap: 10px;
	}

	.blog__content > .post-meta .post-meta__views svg,
	.blog__content > .post-meta .post-meta__likes svg,
	.blog__content > .post-meta .post-meta__likes .heart svg {
		width: 18px;
		height: 18px;
	}

	.blog__content > .post-meta .views-count,
	.blog__content > .post-meta .likes-count {
		font-size: 14px;
	}

	.share-buttons--after-title {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 12px 14px;
		margin: 16px 0 28px;
		max-width: 100%;
	}

	.blog__sidebar .share-buttons--sidebar {
		display: none !important;
	}
}
	
	
	
	
.blog .post-meta, .blog .post-meta__actions {
    align-items: center;
}
	
	
	
.post-meta__views,
	.post-meta__likes{
    display: flex;
    align-items: center;
    gap: 5px;
}
	
	
.blog__content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 42px;
    display: block;
	margin-top:21px;
}
	
.blog__content blockquote p {
    text-align: left !important;
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a1a;
    margin: 0;
    font-weight: 500;
    flex: 1 1 auto;
    min-width: 0;
}
	
	
.blog__content table {
  width: 100%;
  overflow-x: auto;
}

.blog__content table  {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
	margin-bottom:40px;
}

.blog__content table  th,
.blog__content table  td {
  border: 2px solid #b8b8b8;
     padding: 20px 7px;
  text-align: left;
  vertical-align: top;
}

.blog__content table th {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.blog__content table  td {
font-family: 'Manrope', sans-serif;
font-weight: 500;
font-size: 14px;
line-height: 1.4;
letter-spacing: -0.01em;
}

.blog__content table  tbody tr {
}

@media (max-width: 768px) {
 .blog__content table  th,
.blog__content table  td {
    padding: 16px;
    font-size: 16px;
  }

.blog__content table  th {
    font-size: 18px;
  }
}
	
	
	.testimonial {
  background: #eef3f2;
  padding: 30px 40px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 35px;
  max-width: 900px;
}

.quote-icon {
  font-size: 60px;
  color: #1f9d8b;
  line-height: 1;
  font-weight: bold;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.45;
  color: #1a1a1a;
  margin: 0;
  font-weight: 500;
}
	
	
	
	
	.testimonial p {

    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0;
}
.toc__author-label{
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}
.toc__author-name {
    color: #208D79;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-top: 8px;
}	
.testimonial-text {
    position: relative;
    display: flex;
    gap: 25px;
}
	
.testimonial-text:before {
    content: "";
    background-image: url(/wp-content/uploads/2026/04/quote.svg.png);
    width: 122px;
    height: 50px;
    display: block;
	background-repeat:no-repeat;
}
	
	.post__headermob {
			display:none;
		}
	
	
		.postmetamobsection {
			display:none;
		}

	@media only screen and (max-width: 600px) {
.testimonial {
    background: #eef3f2;
    padding: 30px 40px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 35px;
    max-width: 100%;
    box-sizing: border-box !important;
}
		.blog__content {
    max-width: 100%;
}
		.blog {
        display: flex;
        flex-direction: column;
    }
	
#breadcrumbs .yoast-breadcrumbs .breadcrumb_last{
    font-size: 13px;
}
		#breadcrumbs .custom-post-breadcrumbs {
			display: flex;
			align-items: center;
			flex-wrap: nowrap;
			white-space: nowrap;
			overflow-x: auto;
			overflow-y: visible;
			-webkit-overflow-scrolling: touch;
			gap: 0;
		}
		#breadcrumbs .custom-post-breadcrumbs .breadcrumb_last {
			display: inline-block;
			max-width: 52vw;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			vertical-align: bottom;
		}
		.post__header{
			display:block;
		}
		.post__headermob .blog__title--sidebar {
			display:none;
		}
	.blog__title {

    font-size: 24px;

}
	.post-meta {
    margin-bottom: 20px;
}

	.article-toc {
		--at-max: 100px;
	}

	.article-toc__list a {
		font-size: 14px;
	}

	.blog__intro .blog__author-name {
		font-size: 14px;
	}
		
	.testimonial-text {

    flex-direction: row;
    align-items: flex-start;
}
	
	.testimonial-text:before {
    content: "";
    background-image: url(/wp-content/uploads/2026/04/quote.svg.png);
    flex: 0 0 36px;
    width: 36px;
    height: 32px;
    display: block;
	background-repeat:no-repeat;
    background-size: contain;
}	
	
		.testimonial p {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0;
}
	    .testimonial {
        background: #eef3f2;
        padding: 16px;
		}
		.postmetamobsection {
			display:block
		}
	.postmetamobsection .post-meta {
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid #cccccc7d;
    padding-top: 15px;
}
		.blog__content img {
    border-radius: 20px;
}
		
}
	
	.single-post blockquote {
		margin-bottom: 20px !important;
	}

	/* blockquote style */
.single-post blockquote,
.single-post .blog__article blockquote,
.entry-content blockquote {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	position: relative;
	background: #F1F4F3;
	border-radius: 16px;
	padding: 20px 24px;
	margin: 24px 0;
	border: none;
	font-size: 16px;
	line-height: 1.5;
	color: #1a1a1a;
	font-weight: 500;
}

/* icon before */
.single-post blockquote::before,
.single-post .blog__article blockquote::before,
.entry-content blockquote::before {
	content: "";
	flex: 0 0 48px;
	width: 48px;
	height: 40px;
	position: static;
	background-image: url(/wp-content/uploads/2026/04/quote.svg.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left top;
	display: block;
}

@media (max-width: 768px) {
	.single-post blockquote,
	.single-post .blog__article blockquote,
	.entry-content blockquote {
		flex-direction: row;
		align-items: flex-start;
		gap: 12px;
		padding: 16px;
		margin: 20px 0;
		font-size: 16px;
	}

	.single-post blockquote::before,
	.single-post .blog__article blockquote::before,
	.entry-content blockquote::before {
		flex: 0 0 36px;
		width: 36px;
		height: 32px;
		margin: 0;
	}

	.single-post blockquote p,
	.single-post .blog__article blockquote p,
	.entry-content blockquote p,
	.blog__content blockquote p {
		font-size: 16px;
		line-height: 1.45;
	}

	.blog__content .testimonial {
		flex-direction: row;
		align-items: flex-start;
		gap: 12px;
		padding: 16px;
	}

	.blog__content .testimonial-text {
		flex-direction: row;
		align-items: flex-start;
		gap: 12px;
		flex: 1 1 auto;
		min-width: 0;
	}

	.blog__content .testimonial-text::before {
		flex: 0 0 36px;
		width: 36px;
		height: 32px;
		background-size: contain;
	}

	.blog__content .testimonial p,
	.blog__content .testimonial-text {
		font-size: 16px;
		line-height: 1.45;
	}
}
	
	

.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-wrap table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}
