/* Texter-only tweaks on top of reference Smart Reading CSS */

.post__content.col-lg-8 {
	min-width: 0;
	max-width: 100%;
}

.post__content,
.post__text,
#postView {
	max-width: 100%;
	min-width: 0;
	overflow-wrap: break-word;
}

.post__text img,
.post__text figure,
.post__text .wp-caption,
.sr-post-figure {
	display: block;
	width: 700px;
	max-width: 100% !important;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.post__text figure img,
.sr-post-figure__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	object-fit: contain;
}

.post__content ul,
.post__text ul,
.post__content ul.trx_addons_list_dot,
.post__text ul.trx_addons_list_dot {
	list-style: none;
	margin: 0 0 1.25em;
	padding: 0;
	text-align: left !important;
}

.post__content ul:not(.texter-comment-list) > li,
.post__text ul:not(.texter-comment-list) > li {
	position: relative;
	padding-left: 1.4em;
	margin-bottom: 0.75em;
}

.post__content ul:not(.texter-comment-list) > li::before,
.post__text ul:not(.texter-comment-list) > li::before {
	content: "";
	position: absolute;
	left: 0.15em;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #00b7cb;
}

.post__content ul:not(.texter-comment-list) > li:last-child,
.post__text ul:not(.texter-comment-list) > li:last-child {
	margin-bottom: 0;
}

.post__content ul ul,
.post__text ul ul {
	margin: 0.75em 0 0;
}

.post__content ul ul > li::before,
.post__text ul ul > li::before {
	width: 5px;
	height: 5px;
	top: 0.68em;
	background: #adafb8;
}

.post__content blockquote,
.post__text blockquote {
	display: block;
	clear: both;
	max-width: 88%;
	margin: 32px 0 32px auto;
	padding: 28px 32px;
	background: #f3f7fb;
	border: 0;
	border-right: 4px solid #00b7cb;
	border-radius: 16px;
	color: #18191a;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.55;
	text-align: right;
	box-sizing: border-box;
}

.post__content blockquote p,
.post__text blockquote p {
	margin: 0;
	padding: 0;
}

.post__content blockquote p + p,
.post__text blockquote p + p {
	margin-top: 12px;
}

.post__head {
	flex-direction: column;
}

.post__head .post__desc {
	justify-content: flex-start;
	align-items: center;
	gap: 16px;
}

.post__head .post__comments {
	color: #adafb8;
	font-weight: 500;
	text-decoration: none;
}

.post__head .post__comments:hover {
	color: #00b7cb;
}

.sr-post-featured {
	width: 100%;
	max-width: 100%;
	margin-top: 24px;
	margin-bottom: 0;
	overflow: hidden;
	border-radius: 8px;
}

.sr-post-featured__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: cover;
	object-position: center;
}

/* Shared thumbnail crop — list cards, related posts, sidebar, banners */
.sr-thumb-frame {
	overflow: hidden;
}

.sr-thumb-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.main_feed_image.sr-thumb-image {
	position: static !important;
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: 100% !important;
	max-height: 100% !important;
}

.sr-page-layout__content,
.sr-post-list {
	min-width: 0;
}

.sr-post-list {
	display: block;
	width: 100%;
}

.sr-related-posts {
	width: 100%;
	margin-top: 48px;
}

.sr-related-posts__title {
	margin: 0 0 24px;
	text-align: left;
}

.sr-related-posts__title.h2 {
	margin-top: 0;
}

.post__content .sr-post-list .post-card--list {
	width: 100%;
	max-width: 100%;
}

.post__content .sr-post-list .post-card--list .post-card__media {
	flex: 0 0 300px;
	width: 300px;
	max-width: 300px;
	height: 300px;
	max-height: 300px;
	overflow: hidden;
}

.post__content .sr-post-list .post-card--list .main_feed_image,
.post__content .sr-post-list .post-card--list .sr-thumb-image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	object-fit: cover;
	object-position: center;
}

.texter-site-form {
	padding: 24px;
}

.texter-site-form--narrow {
	max-width: 720px;
	margin: 0 auto;
}

.texter-site-form .comments_field {
	margin-bottom: 16px;
}

.texter-site-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.texter-site-form input[type="text"],
.texter-site-form input[type="email"],
.texter-site-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d1d4de;
	border-radius: 8px;
	font: inherit;
	box-sizing: border-box;
}

.texter-site-form .comments_privacy {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 10px;
}

.texter-site-form .comments_privacy input {
	margin: 0.2em 0 0;
	flex: 0 0 auto;
}

.texter-site-form .comments_privacy label {
	display: inline;
	margin: 0;
	font-weight: 400;
	line-height: 1.45;
}

.texter-site-form .comments_notes {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.45;
	color: #5c5e66;
}

.texter-site-form .form-submit {
	margin: 0;
}

.texter-site-form .submit {
	border: 0;
	background: #00b7cb;
	color: #fff;
	padding: 12px 22px;
	border-radius: 8px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.texter-contact-message.error_field,
.texter-comment-message.error_field {
	color: #f32554;
}

.post__content .comments_wrap,
.post__text .comments_wrap {
	width: 100%;
	margin-top: 8px;
}

.comments_wrap .comments_list_wrap {
	margin-top: 0;
	padding: 0 0 8px;
	border-top: 0;
	overflow: visible;
}

.comments_wrap .comments_list_wrap .comments_form_title,
.comments_wrap .comments_form_wrap .comments_form_title {
	margin: 0 0 24px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
}

.comments_wrap .comments_closed {
	margin: 0 0 24px;
	color: #5c5e66;
	font-size: 15px;
	line-height: 1.5;
}

.comments_wrap .texter-comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comments_wrap .texter-comment-list > li {
	display: block;
	margin: 0 0 16px;
	padding: 0;
	min-height: 0;
}

.comments_wrap .texter-comment-list > li:last-child {
	margin-bottom: 0;
}

.comments_wrap .comment_body {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px;
	background: #fafafa;
	border-radius: 12px;
}

.comments_wrap .comment_author_avatar {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	line-height: 48px;
	text-align: center;
	overflow: hidden;
	border-radius: 50%;
}

.comments_wrap .comment_author_avatar .texter-comment-avatar-letter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	background: #00b7cb;
	border-radius: 50%;
}

.comments_wrap .comment_content {
	flex: 1 1 auto;
	min-width: 0;
}

.comments_wrap .comment_info {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 16px;
	margin: 0 0 10px;
}

.comments_wrap .comment_author {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: #18191a;
}

.comments_wrap .comment_posted {
	margin: 0;
	font-size: 14px;
	line-height: 1.35;
	color: #adafb8;
}

.comments_wrap .comment_text {
	font-size: 15px;
	line-height: 1.55;
	color: #18191a;
}

.comments_wrap .comment_text p {
	margin: 0;
}

.comments_wrap .comments_list_wrap + .comments_form_wrap.texter-site-form {
	margin-top: 32px !important;
	padding-top: 32px;
	border-top: 1px solid #e4e4e4;
}

header .header__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
	overflow-x: auto;
	overflow-y: hidden;
}

header .header__menu-link {
	flex: 0 0 auto;
	color: #18191a;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
}

header .header__menu-link:hover {
	color: #00b7cb;
	text-decoration: none;
}

header .header__content {
	align-items: center;
	gap: 16px 24px;
}

header .header__logo {
	flex: 0 1 auto;
	min-width: 0;
}

header .header__logo-link {
	flex: 0 0 auto;
	width: auto;
	max-width: none;
}

header .header__logo-link img.logo {
	display: block;
	width: auto;
	max-width: 210px;
	height: auto !important;
	max-height: 52px !important;
	object-fit: contain;
}

header .header__search {
	position: relative;
	width: auto;
	height: auto;
	min-width: 0;
	margin: 0 32px 0 auto;
	flex: 0 0 auto;
}

header .header__search-form {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

header .header__search-form input[type="search"] {
	width: 220px;
	max-width: 42vw;
	padding: 8px 12px;
	border: 1px solid #d1d4de;
	border-radius: 8px;
	font: inherit;
	background: #fff;
}

header .header__search-button {
	border: 0;
	background: transparent;
	color: #18191a;
	font-size: 18px;
	line-height: 1;
	padding: 6px 8px;
	cursor: pointer;
}

header .header__search-button:hover {
	color: #00b7cb;
}

header .header__menu {
	flex: 1 1 100%;
	width: 100%;
	margin-top: 0;
}

@media (max-width: 767px) {
	header .header__content {
		align-items: flex-start;
	}

	header .header__logo {
		flex: 1 1 100%;
		width: 100%;
		max-width: 100%;
		gap: 12px;
		order: 1;
	}

	header .header__logo-link {
		width: auto !important;
		max-width: none;
		flex: 0 0 auto;
	}

	header .header__logo-link img.logo {
		display: block !important;
		width: auto;
		max-width: 170px !important;
		height: auto !important;
		max-height: 44px !important;
		object-fit: contain;
	}

	header .header__search {
		order: 3;
		width: 100%;
		margin: 0;
	}

	header .header__search-form {
		justify-content: stretch;
	}

	header .header__search-form input[type="search"] {
		flex: 1 1 auto;
		width: auto;
		max-width: none;
	}

	header .header__menu {
		display: flex;
		flex-wrap: wrap;
		overflow: visible;
		gap: 6px 14px;
		margin-top: 8px;
		order: 4;
	}

	header .header__menu-link {
		font-size: 14px;
		line-height: 1.4;
	}
}

.sr-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sr-footer__menu li + li {
	margin-top: 12px;
}

.sr-footer__menu a {
	color: #18191a;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
}

.sr-footer__menu a:hover {
	color: #00b7cb;
}

.sr-footer__logo-link {
	display: inline-block;
}

.sr-footer__mobile .sr-footer__menu {
	margin-top: 24px;
}

.footer_main_link_block p {
	margin: 0;
	color: #adafb8;
	font-size: 14px;
}

.footer_main_link_block a {
	color: #18191a;
	text-decoration: none;
}

.footer_main_link_block a:hover {
	color: #00b7cb;
}

.sr-page-layout {
	align-items: flex-start;
}

.sr-sidebar {
	margin-top: 0;
}

.sr-sidebar-block {
	margin-top: 0;
	margin-bottom: 60px;
	padding: 24px 20px;
	background: #fafafa;
	border-radius: 16px;
	box-sizing: border-box;
	overflow: hidden;
}

.sr-sidebar-block__title {
	margin: 0 0 20px;
	text-align: center;
}

.sr-sidebar-block__title.h2 {
	margin-top: 0;
}

@media screen and (max-width: 640px) {
	.sr-sidebar-block {
		padding: 20px 16px;
	}
}

.sr-sidebar-item {
	margin-bottom: 20px;
}

.sr-sidebar-item:last-child {
	margin-bottom: 0;
}

.sr-sidebar-item--thumb {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.sr-sidebar-item__thumb {
	display: block;
	flex: 0 0 100px;
	width: 100px;
	height: 100px;
	overflow: hidden;
	border-radius: 8px;
}

.sr-sidebar-item__thumb .sr-thumb-image {
	border-radius: 8px;
}

.sr-sidebar-item__title {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.sr-sidebar-item__title a {
	color: #18191a;
	text-decoration: none;
}

.sr-sidebar-item__title a:hover {
	color: #00b7cb;
}

.sr-sidebar-item__text {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.45;
	color: #5c5e66;
}

.sr-sidebar-item__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	font-size: 13px;
	color: #adafb8;
}

.sr-sidebar-item__meta a {
	color: inherit;
	text-decoration: none;
}

.sr-sidebar-item--big .sr-sidebar-item__image {
	display: block;
	margin-bottom: 12px;
	overflow: hidden;
	border-radius: 8px;
}

.sr-sidebar-item--big .sr-sidebar-item__image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.sr-sidebar-block .sr-sidebar-banners__stack.sidebar-banner {
	background: transparent !important;
	border-radius: 0;
	overflow: visible;
}

.sr-sidebar-banners__stack {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.sr-sidebar-banners__stack .sr-sidebar-banner-item:not(:first-child) {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed #c5c5c5;
}

.sr-sidebar-banners__stack .sidebar-banner-text {
	padding: 0;
}

.sr-sidebar-banner-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	color: inherit;
	text-decoration: none;
}

.sr-sidebar-banner-item:hover {
	color: inherit;
	text-decoration: none;
}

.sr-sidebar-banners .sidebar-banner-img {
	width: 320px;
	height: 180px;
	min-height: 180px;
	max-height: 180px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.sr-sidebar-banners .sidebar-banner-img > img,
.sr-sidebar-banners .sidebar-banner-img .sr-thumb-image {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	border-radius: 8px;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 991px) {
	.sr-sidebar {
		margin-top: 40px;
	}
}

.sr-post-nav {
	margin-top: 32px;
}

.sr-post-nav__links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.sr-post-nav__slot {
	min-width: 0;
}

.sr-post-nav__slot--next {
	text-align: right;
}

.sr-post-nav__link {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 16px;
	border: 1px solid #e4e4e4;
	border-radius: 8px;
	text-decoration: none;
	color: #18191a;
}

.sr-post-nav__link--next {
	text-align: right;
}

.sr-post-nav__link:hover {
	border-color: #00b7cb;
	color: #00b7cb;
}

.sr-post-nav__label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	color: #adafb8;
}

.sr-post-nav__title {
	display: block;
	font-weight: 600;
}

.page-section--list-title {
	margin: 0 !important;
	padding: 36px 0;
}

.page-section--list-title + .page-section {
	margin-top: 0 !important;
}

.page-section--list-title .h1 {
	margin: 0;
	text-align: center;
	font-family: Montserrat, arial, sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 34px;
	letter-spacing: 1.23px;
	color: #18191a;
}

@media (max-width: 1025px) {
	.page-section--list-title .h1 {
		font-size: 1.25rem;
		line-height: 1.3em;
	}
}

.list-pagination {
	margin: 32px 0 8px;
}

.list-pagination__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.list-pagination__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #d1d4de;
	border-radius: 8px;
	color: #18191a;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	background: #fff;
}

.list-pagination__link:hover {
	border-color: #00b7cb;
	color: #00b7cb;
}

.list-pagination__link--current {
	background: #00b7cb;
	border-color: #00b7cb;
	color: #fff;
}

.list-pagination__link--prev,
.list-pagination__link--next {
	padding: 0 16px;
}

.post-card--list {
	display: flex !important;
	flex-direction: row;
	align-items: flex-start;
	gap: 32px;
	width: 100%;
	max-width: 100%;
	margin-bottom: 48px;
	padding: 32px;
	clear: both;
	overflow: hidden;
	box-sizing: border-box;
}

.post-card--list .post-card__media {
	flex: 0 0 300px;
	width: 300px;
	max-width: 300px;
	height: 300px;
	max-height: 300px;
	overflow: hidden;
	border-radius: 8px;
	background: #f8f8f8;
	display: flex;
	align-items: center;
	justify-content: center;
}

.post-card--list .post-card__image-link {
	position: static;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 8px;
}

.post-card--list .sr-thumb-image {
	border-radius: 8px;
}

.post-card--list .post-card__body {
	flex: 1 1 auto;
	min-width: 0;
	float: none !important;
	padding: 0 !important;
}

.post-card--list .post-card__tags {
	float: none !important;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	order: 0;
	margin: 0 0 16px !important;
	padding: 0 !important;
	overflow: visible;
}

.post-card--list .post-card__title,
.post-card--list .post-card__text,
.post-card--list .post-card__date {
	float: none !important;
}

.post-card--list .post-card__title {
	margin: 0 0 16px;
}

.post-card--list .post-card__text {
	margin: 0 0 16px;
}

.post-card--list .post-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0;
}

.post-card--list .post-card__date {
	margin: 0;
}

.post-card--list .post-card__comments {
	color: #adafb8;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.post-card--list .post-card__comments:hover {
	color: #00b7cb;
}

@media (max-width: 767px) {
	.post-card--list {
		flex-direction: column;
		gap: 16px;
		padding: 16px 12px;
	}

	.post-card--list .post-card__media {
		flex: 0 0 auto;
		width: 100%;
		max-width: 300px;
		height: 300px;
		max-height: 300px;
		margin: 0 auto;
	}
}
