@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/wpcommunity_child/assets/plugins/global/fonts/roboto/Roboto-Bold.woff2') format('woff2') crossorigin,
         url('/wp-content/themes/wpcommunity_child/assets/plugins/global/fonts/roboto/Roboto-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
	font-display: block;
}

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/wpcommunity_child/assets/plugins/global/fonts/roboto/Roboto-Regular.woff2') format('woff2') crossorigin,
         url('/wp-content/themes/wpcommunity_child/assets/plugins/global/fonts/roboto/Roboto-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
	font-display: block;
}

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/wpcommunity_child/assets/plugins/global/fonts/roboto/Roboto-Black.woff2') format('woff2') crossorigin,
         url('/wp-content/themes/wpcommunity_child/assets/plugins/global/fonts/roboto/Roboto-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
	font-display: block;
}

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/wpcommunity_child/assets/plugins/global/fonts/roboto/Roboto-Medium.woff2') format('woff2') crossorigin,
         url('/wp-content/themes/wpcommunity_child/assets/plugins/global/fonts/roboto/Roboto-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
	font-display: block;
}

/* ===== Theme mode variables ===== */
html[theme="light"]{
	--bs-app-sidebar-link-bg-color:#F1EAE2;
	--bs-app-sidebar-link-hover-bg-color:#F1EAE2;
	--bs-app-sidebar-link-active-bg-color:#F1EAE2;

	--bs-app-sidebar-link-color:#3F4254;
	--bs-app-sidebar-link-hover-color:#1E1E2D;
	--bs-app-sidebar-link-active-color:#1E1E2D;

	--bs-app-sidebar-link-icon-color:#7E8299;
	--bs-app-sidebar-link-icon-hover-color:#1E1E2D;
	--bs-app-sidebar-link-icon-active-color:#1E1E2D;

	--bs-app-separator-border:1px solid #DBDFE9;
	--bs-app-content-bg-color:#ffffff;
}

html[theme="dark"]{
	--bs-app-sidebar-link-bg-color:#1B1C22;
	--bs-app-sidebar-link-hover-bg-color:#1B1C22;
	--bs-app-sidebar-link-active-bg-color:#1B1C22;

	--bs-app-sidebar-link-color:#A1A5B7;
	--bs-app-sidebar-link-hover-color:#FFFFFF;
	--bs-app-sidebar-link-active-color:#FFFFFF;

	--bs-app-sidebar-link-icon-color:#A1A5B7;
	--bs-app-sidebar-link-icon-hover-color:#FFFFFF;
	--bs-app-sidebar-link-icon-active-color:#FFFFFF;

	--bs-app-separator-border:1px solid #363843;
	--bs-app-content-bg-color:#15171C;
}

html {
	overflow-y: scroll;
	overflow-x: hidden;
}

body {
	font-family: "Roboto", sans-serif;
	text-rendering: optimizeLegibility;
	height: 100%;
}

p {
	max-width: 100%;
	word-wrap: break-word;
}

::-webkit-scrollbar{
	width:6px;
	height:10px;
}
::-webkit-scrollbar-thumb{
	background:var(--bs-gray-300);
}
::-webkit-scrollbar-track{
	background:var(--bs-gray-100);
}

.btn:focus,.btn:hover,.button:focus,.button:hover,button:focus,button:hover {
	background: transparent;
}

:root {
	--color-primary: #0593ff;
	--color-secondary: #6c757d;
	--color-white-bg: #fff;
	--color-body-bg: #f9f3ed;
	--color-bg-light: #f3f8ff;
	--color-link: #0593ff;
	--color-link-hover: #666;
	--color-link-text-light-hover: #f3374d;
	--color-text: #212529;
	--color-text-light: #4c555e;
	--color-text-lighter: #9fa8b0;
	--color-text-green: #38cc73;
	--color-text-red: #ff3b3b;
	--color-text-warning: #ee6510;
	--color-input-bg: #fff;
	--color-border: #b3bfd6;
	--color-border-focus: #1c6bf8;
	--shadow-box: 0 1px 4px rgba(243, 223, 211, 0.6);
	--color-highlight: #f9f3ed;
	--site-max-width: 1600px;
	--post-card-padding-y: 20px;
	--post-card-padding-x: 20px;
	--post-card-item-indent: 15px;
	--font-roboto: "Roboto", sans-serif;
}

/* Поиск в шапке (форма) */
.header-h {
	display: flex;
	height: 40px;
	border-radius: .75rem;
	background-color: transparent;
	border: 1px solid var(--bs-gray-300);
	background-color: var(--bs-app-sidebar-link-bg-color);
	width: 450px;
	margin-left: 15%;
}
.search-form {
	position: relative;
	display: inline-flex !important;
	width: 100%;
}

.search-form input{
	width: 100%;
	border-radius: 0;
	border: 0;
	background-color: transparent;
	height: 100%;
	margin: 0;
	padding: 0px 10px ;
	font: inherit;
	line-height: 1;
	border: none;
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: 16px;
}
.search-form input:focus{
	background-color: transparent;
}
.search-form input::-webkit-search-cancel-button{
	cursor: pointer;
	filter: grayscale(1);
	transition: 0.2s;
	opacity: 0.4;
}
.search-form input::-webkit-search-cancel-button:hover{
	opacity: 0.8;
}
.search-form__icon {
	vertical-align: middle;
	padding: 0;
	height: 40px;
	margin-right: 30px;
	background: transparent;
	display: flex;
}

/* результат аякс-поиска */
.ajax-search {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	right: 0;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	border-radius: .75rem;
	max-height: 250px;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 100;
	margin: 0;
	padding: 0;
	font-size: 16px;
	margin-top: 5px;
}

.ajax-search a{
	margin: 5px ;
	font-weight: 400;
	padding: 10px 15px;
	border-radius: .75rem;
}
.ajax-search a:hover{
	background-color: var(--bs-menu-link-bg-color-hover);
	color: var(--bs-menu-link-color-hover);
}

.ajax-search__not-found {
	font-size: 14px;
	line-height: 3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex-shrink: 0;
	padding: 6px 10px;
}

/* Поиск в шапке (форма) - на мобильном устройстве */
.header-h-m .search-form input{
	padding: 10px 15px;
}
.header-h-m .search-form .ki-cross{
	padding-right: 10px;
}
.header-h-m .ajax-search{
	max-height: 700px;
}

/* Страница со всеми пользователями */
.users-search{
	position: relative;
	border-radius: .75rem;
	color: var(--bs-gray-700);
}
.users-search input[type=search]{
	height: 44px;
	text-indent: 30px;
	border: 1px solid var(--bs-gray-200);
	border-radius: .75rem;
	background: var(--bs-body-bg);
	line-height: 3;
	font-size: 16px;
	font-weight: 400;
	color: var(--bs-gray-700);
}
.users-search input::placeholder {
	color: var(--bs-gray-500);
	line-height: 1;
}
.users-search input[type=search]:focus{
	box-shadow: none;
	border: 1px solid var(--bs-gray-300);
}
.users-search svg{
	position: absolute;
	top: 12px;
	left: 12px;
	width: 20px;
	color: var(--bs-gray-500);
}
.users-search button{
	position: absolute;
	top: 5px;
	right: 5px;
	height: 34px;
	border-radius: 8px;
	vertical-align: middle;
	line-height: .4;
	font-size: 15px;
	font-weight: 400
}
.wpum-directory-pagination {
	padding: .5em 1em;
	background: transparent;
	border-bottom: none;
	text-align: center;
	font-size: 15px;
	color: var(--bs-text-gray-400);
}
.wpum-directory-pagination .page-numbers{
	padding: 0px 2px;
	font-weight: 500
}
.wpum-directory-pagination a{
	color: var(--bs-text-gray-700);
}
.wpum-directory-pagination a:hover{
	color: var(--bs-text-primary);
}
.wpum-directory-pagination a.next {
	float: right;
	padding: 0;
	font-weight: 400
}
.wpum-directory-pagination a.prev {
	float: left;
	padding: 0;
	font-weight: 400
}

/* --> Страница категорий */
.topic-box .post-card{
	font-family: "Roboto", sans-serif;
	border: 1px solid transparent;
}
.topic-box .post-card:hover{
	box-shadow: none;
	border: 1px solid #ddd;
}
.topic-box img{
	width: 60px;
	height: 60px;
	margin-right: 15px;
	border-radius: 12px;
	background: rgb(5 147 255 / 16%);
}
.topic-box b{
	color: #000;
	font-size: 22px;
	font-weight: 700;
}
.topic-box b:hover{
	opacity: .7;
}
.topic-box p{
	margin: 0;
	font-size: 16px;
	color: #999;
}
.topic-box ::after{
	display: none !important;
}
.topic-box .topic-icon-descript{
	width: 22px;
	color: #999;
	border-radius: 50%;
	padding: 4px;
	background: #f9f9f9;
}
.topic-box .topic-icon-descript:hover{
	background: #f5f5f5;
	color: #000;
}

/* --> Страница архива (топика) */
.community-card .avatar-img {
	width: 100px;
	height: 100px;
	-o-object-fit: cover;
	object-fit: cover;
	border-radius: 12px;
	background: rgb(5 147 255 / 16%);
}
.community-card .community-name{
	font-size: 34px;
}
.community-card .community-count{
	margin: 0;
	font-size: 16px;
	color: #999;
}
.community-card #tabs_community{
	margin-left: 20px;
}

/* --> Страница моей ленты (subs) */
.badge-subs{
	margin-top: -20px !important
}

input:-webkit-autofill{
	box-shadow:inset 0 0 0 1000px var(--bs-gray-100);
	font-weight: 400;
}

.form-control-lg {
	min-height: calc(1.5em + 1.65rem + 2px) !important;
	padding: .825rem 1.5rem !important;
	font-size: 1.15rem !important;
	border-radius: .85rem !important;
}

@media (min-width:992px){
	.mw-user-name{
		max-width: 250px;
	}
}
@media (max-width:990px){
	.mw-user-name{
		max-width: 100px;
	}
}

.ava-card-user img{
	border-radius: .75rem;
	width: 100px;
	height: 100px;
	object-fit: cover;
	object-position: center;
}
.ava-card-user-60 img{
	border-radius: 50%;
	width: 60px !important;
	height: 60px !important;
	display: block;
	object-fit: cover;
	object-position: center;
}

.ava-card-user-60-r{
	border-radius: .75rem;
}

.ava-card-user-60-r img{
	border-radius: .75rem;
	width: 60px !important;
	height: 60px !important;
	display: block;
	object-fit: cover;
	object-position: center;
}

.ava-card-user-40-circle{
	border-radius: 100% !important;
}

.ava-card-user-40-circle img{
	border-radius: 100% !important;
	width: 40px !important;
	height: 40px !important;
	display: block;
	object-fit: cover;
	object-position: center;
}

/* --> Страница добавления поста (add-post) */
.bfe-editor.default_2 .wrapper #fus_post_title, .bfe-editor.default_2 .wrapper .fe_custom_field input, .bfe-editor.default_2 .wrapper select, .bfe-editor.default_2 .wrapper textarea {
	background-color: transparent;
	box-shadow: 0 0 0 0 transparent;
	font-size: 15px;
	min-height: 100%;
	min-width: 100%;
	padding-left: 0;
}
.bfe-editor.default_2 {
	font-family: "Roboto", sans-serif;
}
.bfe-editor.default_2 .wrapper #fus_post_title{
	font-size: 32px;
	border-radius: 0;
	box-shadow: none;
	background-color: transparent;
	border: none;
	width: 100%;
	padding-left: 0;
	padding: 10px;
	font-weight: 700;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	overflow-x: hidden;
	display: block;
	color: var(--bs-gray-900);
}
.bfe-editor.default_2 .wrapper #fus_post_title::placeholder{
	color: var(--bs-gray-300) !important;
}

.fus-form .image_loader{
	background-color: transparent;
}
.fus-form .image_loader #post_thumbnail_image {
	background-position: center center !important;
}
.fus-form span.required {
	color: red;
	font-weight: 700;
	border: 0;
	display: none;
}
.bfe-editor.default_2 .wrapper .column label {
	font-size: 16px;
	margin: 10px 0px;
	color: var(--bs-gray-600);
}
.tax_category{
	margin: 20px 0px 20px 30px;
	width: 33%;
	display: block;
}
.category .ss-content {
	margin: -1px -2px 0;
	border-radius: 8px;
}
@media only screen and (max-width: 900px) {
	.tax_category{
		width: 100%;
		padding: 0px 25px;
		margin: 20px 0px;
	}
	.bfe-editor.default_2 .wrapper #fus_post_title{
		font-size: 26px;
	}
}
.tax_category label{
	display: none;
}
.bfe-editor.default_2 .wrapper .ss-main{
	color: transparent;
	border: 1px dashed var(--bs-gray-300);
	border-radius: 8px;
	background-color: transparent;
}
.bfe-editor.default_2 .wrapper .ss-main .ss-single-selected{
	box-shadow: none;
	cursor: pointer;
	height: 32px;
	padding: 9px;
	border-radius: 8px;
	background-color: var(--bs-gray-200);
	color: var(--bs-gray-900);
	font-weight: 400;
	font-size: 16px
}
.bfe-editor.default_2 .wrapper .ss-main .ss-single-selected .ss-arrow span {
	border: solid var(--bs-gray-500);
	border-width: 0 1px 1px 0;
	display: inline-block;
	padding: 3px;
	transition: transform 0.2s, margin 0.2s;
}

.bfe-editor.default_2 .wrapper .ss-main .ss-single-selected .placeholder {
	cursor: pointer;
	background-color: transparent;
}
.bfe-editor.default_2 .wrapper .ss-main .ss-single-selected .placeholder .ss-disabled {
	color: var(--bs-gray-700)
}
.bfe-editor.default_2 .wrapper .ss-content .ss-search {
	display: none;
}
.bfe-editor.default_2 .sub-header {
	box-shadow: inset 0 0 0 0.1rem #e3e3e3;
	box-shadow: none;
	padding: 10px;
	border-radius: 5px;
}

#fus-message-wrap {
	padding: 15px;
	margin: 0px;
}
#fus-message-wrap.success {
	border: 1px dashed var(--bs-success);
	color: var(--bs-success);
	border-radius: 8px;
	font-size: 17px;
}
#fus-message-wrap.error {
	border: 1px dashed var(--bs-danger);
	color: var(--bs-danger);
	border-radius: 8px;
	font-size: 17px;
}
.fus-info {
	background: var(--bs-warning-light);
	border: 1px dashed var(--bs-warning);
	color: var(--bs-warning);
	margin: 10px 0 20px 0;
	padding: 15px;
	border-radius: 8px;
	font-size: 16px;
	text-align: center;
}
.fus-editor-js-field-wrap label{
	display: none;
}
.bfe-editor.default_2 .wrapper .EditorJS-editor {
	box-shadow: none;
	font-size:  17px !important;
	margin-top: 10px;
}
h4.ce-header{
	font-size:  23px !important;
}
h3.ce-header{
	font-size:  27px !important;
}
h2.ce-header{
	font-size:  32px !important;
}

.ce-popover {
	--border-radius: 8px;
	--width: 200px;
	--max-height: 270px;
	--padding: 6px;
	--offset-from-target: 8px;
	--color-border: var(--bs-gray-300);
	--color-shadow: rgba(13,20,33,.13);
	--color-background: var(--bs-body-bg);
	--color-text-primary: var(--bs-gray-800);
	--color-text-secondary: var(--bs-gray-500);
	--color-border-icon:  var(--bs-gray-300);
	--color-border-icon-disabled:  var(--bs-gray-100);
	--color-text-icon-active: var(--bs-primary);
	--color-background-icon-active: var(--bs-primary-light);
	--color-background-item-focus: rgba(34, 186, 255, .08);
	--color-shadow-item-focus: rgba(7, 161, 227, .08);
	--color-background-item-hover: var(--bs-gray-200);
	--color-background-item-confirm: #E24A4A;
	--color-background-item-confirm-hover: #CE4343;
}
.ce-block--selected .ce-block__content {
	background: var(--bs-gray-100);
	border-radius: 8px;
}
.cdx-block {
	padding: 5px;
}
.ce-toolbar__plus, .ce-toolbar__settings-btn {
	color: var(--bs-gray-800);
}
.ce-toolbar__plus:hover,  .ce-toolbar__settings-btn:hover {
	background-color: var(--bs-gray-200);
}
.ce-popover-item__icon {
	background: transparent;
}
.cdx-search-field {
	background:  var(--bs-gray-200);
	border: 1px solid  var(--bs-gray-300);
	border-radius: 8px;
}
.cdx-settings-button {
	padding: 4px;
	color: var(--bs-gray-900);
	border-radius: 6px;
	border: 1px solid var(--bs-gray-300);
	margin: 0px 3px;
}
.cdx-settings-button svg {
	width: 18px;
	height: 18px;
	fill: var(--bs-gray-800);
}
.cdx-settings-button:hover {
	background-color: var(--color-background-icon-active);
}
.cdx-settings-button--active {
	background: var(--color-background-icon-active);
	color: var(--color-text-icon-active);
	border-color: var(--bs-gray-300);
}
.cdx-settings-button--active svg{
	fill: var(--color-text-icon-active);
}
.ce-popover-item--confirmation {
	background: var(--bs-danger);
}
.ce-popover-item--confirmation:not(.ce-popover-item--no-hover):hover {
	background: var(--bs-danger);
}
.ce-popover-item--confirmation .ce-popover-item__icon {
	color: var(--bs-danger-light) !important;
	fill: var(--bs-danger-light) !important;
}
.cdx-button {
	padding: 15px;
	border-radius: 8px;
	border: 1px solid var(--bs-gray-300);
	font-size: 16px;
	background: var(--bs-gray-100);
	-webkit-box-shadow: 0 2px 2px 0 rgba(18, 30, 57, .04);
	box-shadow: 0 2px 2px #121e390a;
	color: var(--bs-gray-500);
	text-align: center;
	cursor: pointer;
}
.cdx-button:hover {
	background: var(--bs-bg-body);
}
.image-tool--withBackground .image-tool__image {
	padding: 15px;
	border-radius: 8px;
	background: var(--bs-primary-light) !important;
	background: linear-gradient(219.57deg, #deebff 12.97%, #f7f1ff 34.26%, #e0e3ff 55.44%, #f0edff 86.69%) !important;
}
.image-tool--withBorder .image-tool__image {
	border: 1px solid var(--bs-gray-300) !important;
	border-radius: 8px;
	padding: 5px;
}
.image-tool__image-picture {
	border-radius: 8px;
	margin-left: auto;
	margin-right: auto;
}
.cdx-input {
	border: 1px solid var(--bs-gray-300);
	border-radius: 8px;
}
.cdx-checklist__item-checkbox-check {
	border: 1px solid var(--bs-gray-300) !important;
	background: var(--bs-gray-100) !important;
}
.cdx-checklist__item--checked .cdx-checklist__item-checkbox-check {
	background: var(--bs-primary) !important;
	border-color: var(--bs-primary) !important;
}
.cdx-quote {
	background: var(--bs-primary-light);
	border-radius: 8px;
}
.bfe-editor.default_2 .wrapper textarea {
	box-shadow: none !important;
	background: var(--bs-gray-200) !important;
	color: var(--bs-gray-700) !important;
	border-radius: 8px !important;
	border: 1px dashed var(--bs-gray-300) !important;
	padding-left: 10px;
}
.ce-inline-toolbar {
	border: 1px solid var(--bs-gray-300);
	background: var(--bs-body-bg);
	border-radius: 8px;
}
.ce-inline-toolbar__dropdown {
	border-right: 1px solid var(--bs-gray-300);
}
.ce-inline-toolbar__dropdown:hover {
	background: var(--bs-gray-200);
	border-radius: 8px 0 0;
}
.ce-inline-tool:hover {
	background-color: var(--bs-gray-200);
}
.ce-inline-tool--active {
	color: var(--bs-primary);
}
.ce-inline-tool-input {
	border-radius: 0 0 8px 8px;
	font-size: 14px;
	font-weight: 400;
	border-top: 1px solid var(--bs-gray-300);
	color: var(--bs-gray-900);
}
.ce-conversion-toolbar {
	position: absolute;
	background-color: var(--bs-body-bg);
	border: 1px solid var(--bs-gray-300);
	border-radius: 8px;
}
.ce-conversion-tool__icon {
	box-shadow: 0 0 0 1px var(--bs-gray-300);
	background: var(--bs-gray-100);
}
.ce-conversion-tool--focused {
	background: var(--bs-primary-light) !important;
}
.ce-conversion-tool:hover {
	background: var(--bs-gray-200);
}
@media (max-width: 650px) {
	.ce-toolbar__plus, .ce-toolbar__settings-btn {
		background-color: var(--bs-body-bg);
		border: 1px solid var(--bs-gray-300);
	}
}

.cdx-attaches--with-file .cdx-attaches__file-icon-background {
	background-color: var(--bs-primary) !important;
	width: 30px !important;
	height: 30px !important;
}
.cdx-attaches--with-file .cdx-attaches__file-icon-label {
	font-size: 9px !important;
}

.bfe-editor.default_2 .EditorJS-editor .cdx-block .tc-wrap {
	--color-background: var(--bs-body-bg);
	--color-text-secondary: var(--bs-gray-500);
	--color-border: var(--bs-gray-300);
	border: 1px solid var(--bs-gray-300);
	border-top: 0;
	border-left: 1px solid var(--bs-gray-300);
}
.bfe-editor.default_2 .EditorJS-editor .cdx-block .tc-table {
	font-size: 16px;
	line-height: 1.4;
}
.tc-table--heading .tc-row:first-child {
	font-weight: 700 !important;
}
.tc-toolbox {
	--toggler-dots-color: var(--bs-gray-500) !important;
	--toggler-dots-color-hovered: var(--bs-gray-800) !important;
}
.tc-popover {
	--color-border: var(--bs-gray-300) !important;
	--color-background: var(--bs-body-bg) !important;
	--color-background-hover: var(--bs-gray-200) !important;
	--color-background-confirm: var(--bs-danger) !important;
	--color-background-confirm-hover: var(--bs-danger) !important;
	--color-text-confirm: var(--bs-danger-light) !important;
}
.cdx-attaches__button {
	color: var(--bs-gray-500) !important;
}
.bfe-editor.default_2 .wrapper ::placeholder{
	color: var(--bs-gray-700) !important;
}
.cdx-warning::before {
	background-image:  url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='5' width='14' height='14' rx='4' stroke='orange' stroke-width='2'/%3E%3Cline x1='12' y1='9' x2='12' y2='12' stroke='orange' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M12 15.02V15.01' stroke='orange' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

.cdx-attaches--with-file {
	border: 1px dashed var(--bs-gray-300) !important;
	border-radius: 8px !important;
	background: var(--bs-gray-100) !important;
}
.cdx-attaches {
	--color-line: var(--bs-gray-300) !important;
	--color-bg:  var(--bs-gray-100) !important;
	--color-bg-secondary: var(--bs-gray-200) !important;
	--color-bg-secondary--hover: var(--bs-gray-300) !important;
	--color-text-secondary:  var(--bs-success) !important;
}
.cdx-attaches--with-file .cdx-attaches__title {
	font-size: 15px !important;
	color: var(--bs-gray-900);
}

.fe_fs_post_list_new table {
	font-family: arial, sans-serif;
	border-collapse: collapse;
	width: 100%;
}
.fe_fs_post_list_new td, .fe_fs_post_list_new th{
	text-align: left;
	padding: 8px;
}
.fe_fs_post_img	{
	width: 80px;
}
.fe_fs_post_title a{
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

/* --> carousel  */
svg.btn-car {
	width: 15px !important;
	stroke-width: 0.1 !important;
	fill: var(--bs-gray-800);
}
.carousel-addImage{
	font-size: 18px;
	height: 200px !important;
	margin: 5px;
}
.carousel-addImage svg{
	width: 30px !important;
	height: 30px !important;
	stroke-width: 0.1 !important;
	fill: var(--bs-primary);
	margin-right: 10px
}
.carousel-item img {
	margin-bottom: 10px !important;
	height: 200px !important;
	border-radius: .75rem !important;
}
.carousel-caption{
	position: static;
	color: var(--bs-gray-800);
	text-align: left;
	padding-top:5px;
	padding-bottom:5px;
}
.carousel-item {
	height: auto !important;
}
.carousel-removeBtn {
	position: absolute;
	padding: 3px;
	right: 10px;
	top: 10px;
	display: inline-flex !important;
	width: 30px !important;
	height: 30px !important;
	line-height: 30px !important;
	justify-content: center;
	align-items: center;
	border-radius: .75rem !important;
	cursor: pointer;
	border: 0;
	outline: none;
	background-color: var(--bs-danger-light) !important;
	color: var(--bs-danger) !important;
	transition: background 200ms;
}
.carousel-removeBtn i{
	font-size: 16px;
	font-style: normal;
	color: var(--bs-danger)
}
.carousel-removeBtn:hover{
	opacity: .9
}
.tns-liveregion {display: none !important}
.tns .tns-nav {
	padding-bottom: 1rem !important
}
.post-carousel.overlay .overlay-layer{
	border-radius: .75rem;
	cursor: pointer;
}
.overlay:hover .overlay-layer {
	cursor: pointer;
}
.car-cap{
	font-size: 16px;
	background: var(--bs-light);
	width: 100%;
	padding: 10px 0;
	border-radius: .75rem;
	cursor: pointer;
	color: var(--bs-gray-900);
	font-weight: 400;
	margin: 10px;
	text-align: center;
}

.post-carousel figure{
	margin: 0 !important;
}

img.car-item-img {
	margin-bottom: 0px !important;
	height: 340px !important;
	width: 100%;
	border-radius: .75rem !important;
	object-fit: cover;
}

.icon-karma-profile {
	width: 20px;
	height: 20px;
	padding: 4px;
	border-radius: 50%;
	background: #f7e35a;
	margin-right: 6px;
	fill: var(--bs-warning);
}

/* --> Страница инструментов (tools) */
.ava-upload img{
	border-radius: 8px;
}
.avatar-cropper-add .cropper-modal {
	background-color: var(--bs-gray-500) !important;
	opacity: .5 !important;
	border-radius: 12px !important;
}

.karma-history__avatar {
	width: 40px !important;
	height: 40px !important;
	border-radius: 8px !important;
}
.karma-history__avatar img{
	width: 40px !important;
	height: 40px !important;
	border-radius: 8px !important;
}

/* --> Post Card */
.ava-feed img{
	border-radius: 50% !important;
}
.ava-feed:hover{
	filter: brightness(90%);
}
.ava-feed-cat {
	margin-left: -16px !important;
	margin-top: 22px;
}

.p-card__title {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 5px;
	margin: 0
}
.p-card__title a {
	-webkit-box-flex: 1;
	-ms-flex: 1 0 0px;
	flex: 1 0 0;
	padding: 6px 0;
	color:  var(--bs-gray-900);
	font-size: 24px;
	font-weight: 500;
	line-height: 30px;
}
.p-card__title a:hover {
	color:  var(--bs-gray-700);
}
.p-card__content {
	font-size: 17px;
	line-height: 26px;
	color:  var(--bs-gray-800);
}
.p-card__content b, .p-card__content strong {
	font-weight: 500;
}
.p-card__content ul br, .p-card__content br br{
	display: none;
}

.p-card__image {
	border-radius: 10px;
	width: 100%;
	background: var(--bs-gray-200);
	margin-right: auto;
	margin-left: auto;
	background-image: linear-gradient(219.57deg, #DEEBFF 12.97%, #F7F1FF 34.26%, #E0E3FF 55.44%, #F0EDFF 86.69%);
	margin-top: 15px
}
.p-card__image img{
	margin: 0;
	width: 100%;
	border-radius: 10px !important;
}
.p-meta-sub .js-subscribe-action{
	height: 28px !important;
	font-size: 13px !important;
	padding: 2px 12px !important;
	border-radius: 7px !important;
	font-weight: 500 !important;
	background: var(--bs-gray-200);
}
.p-meta-sub .js-subscribe-action:hover{
	background: var(--bs-gray-300) !important;
	color: var(--bs-gray-800) !important;
}

.p-meta-my a{
	height: 28px !important;
	width: 28px !important;
	border-radius: 7px !important;
	background: var(--bs-gray-200) !important;
}
.p-meta-my a:hover{
	background: var(--bs-gray-300) !important;
	color: var(--bs-gray-800) !important;
}

.copylink-containter .url-menu-item{
	padding: .60rem 2rem;
	margin: 10px 0px;
	border-radius: .75rem;
	color: var(--bs-gray-800);
	cursor: pointer;
}
.copylink-containter .url-menu-item:hover{
	color: var(--bs-primary);
	background: var(--bs-primary-light);
}
.copylink-containter svg{
	height: 16px;
	width: 16px;
	stroke: var(--bs-gray-700);
	margin-right: 8px;
}
.copylink-containter span{
	vertical-align: middle;
}
.linktooltips-container{
	background-color: var(--bs-success-light);
	color: var(--bs-success);
	padding: .50rem 1rem;
	border-radius: .75rem;
	margin-bottom: 9px;
	font-size: 15px;
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
}

/* --> Страница поста (single post) */
.post-footer-sticky {
	position: sticky;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 10px 0px;
	margin: 10px 0px -10px 0px;
}
.post-footer-sticky .post-card__footer {
	margin: 0;
}
.post_content .bfe-edit-post-button.before_content, .bfe-edit-post-button.after_content {
	display: none;
}
.short .post-meta-edit-btn {
	display: none;
}
.post-meta-edit-btn {
	cursor: pointer;
	border-radius: 50% !important;
	width: 28px !important;
	height: 28px !important
}
.post-meta-edit-btn a i {
	color: var(--bs-gray-600);
	margin: 5px;
}
.post-meta-edit-btn:hover {
	background: var(--bs-gray-200);
}

/* контент поста */
.post-title {
	-webkit-box-flex: 1;
	-ms-flex: 1 0 0px;
	flex: 1 0 0;
	padding: 6px 0;
	color: var(--bs-gray-900);
	font-size: 24px;
	font-weight: 500;
	line-height: 30px;
}
.post-excerpt {
	font-size: 17px;
	line-height: 26px;
	color: var(--bs-gray-800);
	margin-bottom: 15px;
}
.post-image {
	border-radius: 10px;
	width: 100%;
	background: var(--bs-gray-200);
	margin-right: auto;
	margin-left: auto;
	background-image: linear-gradient(219.57deg, #DEEBFF 12.97%, #F7F1FF 34.26%, #E0E3FF 55.44%, #F0EDFF 86.69%);
	margin: 10px auto 10px auto;
}
.post-image img {
	margin: 0;
	width: 100%;
	border-radius: 10px;
}
.post-content {
	font-size: 17px;
	line-height: 26px;
	color: var(--bs-gray-800);
	margin-top: 10px;
}
.embed-tool{
	margin: 10px auto;
}
.embed-tool__content {
	border-radius: 10px;
	background-image: linear-gradient(219.57deg, #DEEBFF 12.97%, #F7F1FF 34.26%, #E0E3FF 55.44%, #F0EDFF 86.69%);
	border: 1px solid var(--bs-gray-300);
}

/* Стиль блоков EditorJS в посте */
h4.wp-block-heading {
	color: var(--bs-gray-800);
	font-size: 18px;
	font-weight: 500;
	line-height: 26px;
}
h3.wp-block-heading {
	color: var(--bs-gray-800);
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
}
h2.wp-block-heading {
	color: var(--bs-gray-800);
	font-size: 24px;
	font-weight: 500;
	line-height: 30px;
}
.post-content a {
	color: var(--bs-primary);
}
.post-content a:hover {
	color: var(--bs-link-hover-color);
}
.post-content b, .post-content strong {
	font-weight: 500;
}
.wp-block-image {
	text-align: center;
}
.wp-block-image figcaption {
	margin-bottom: 1em;
	margin-top: .5em;
	font-size: 15px;
	line-height: 22px;
}
.wp-block-image img {
	box-sizing: border-box;
	height: auto;
	max-width: 100%;
	vertical-align: bottom;
	border-radius: 10px;
}
.bfe-image--stretched {
	width: 100%;
}
.bfe-image--bordered {
	border: 1px solid var(--bs-gray-300) !important;
	border-radius: 10px;
	padding: 5px;
}
.bfe-image--backgrounded {
	padding: 15px;
	border-radius: 10px;
	background: var(--bs-primary-light) !important;
	background: linear-gradient(219.57deg, #deebff 12.97%, #f7f1ff 34.26%, #e0e3ff 55.44%, #f0edff 86.69%) !important;
}

.bfe-embed{
	margin: 20px auto !important;
}
.bfe-embed iframe{
	border-radius: 10px;
	background-image: linear-gradient(219.57deg, #DEEBFF 12.97%, #F7F1FF 34.26%, #E0E3FF 55.44%, #F0EDFF 86.69%);
	border: 1px solid var(--bs-gray-300);
}
.bfe-embed-caption{
	font-size: 15px;
	line-height: 22px;
	text-align: center;
}

.bfe-editor.default_2 .EditorJS-editor .ce-block__content, .bfe-editor.default_2 .EditorJS-editor .ce-toolbar__content {
	max-width: calc(100% - 70px) !important;
}

.ce-delimiter:before {
	display: block;
	content: "***";
	font-size: 36px !important;
	height: 30px !important;
	letter-spacing: 0.2em;
	text-align: center;
	color: var(--bs-gray-800);
	line-height: 65px !important;
}

.ce-delimiter.bz:before {
	display: block;
	content: "***";
	font-size: 36px !important;
	height: 36px !important;
	letter-spacing: 0.2em;
	text-align: center;
	color: var(--bs-gray-800);
	line-height: 32px !important;
}

.bfe-table {
	margin: 10px auto;
}
.bfe-table td, .bfe-table th {
	border: 1px solid var(--bs-gray-300);
}

.bfe-code {
	background: var(--bs-gray-100);
	border-radius: 10px;
	border: 1px solid var(--bs-gray-200);
}
.bfe-code code {
	background: transparent !important;
	color: var(--bs-danger);
}

/* blockquote in post */
blockquote.bfe-quote {
	max-width: 100% !important;
	padding: 15px;
	border-radius: 10px;
	background: var(--bs-primary-light);
}
.bfe-quote>cite {
	text-decoration: none !important;
	font-style: normal;
	font-size: 17px
}
.bfe-quote>p {
	font-weight: 700;
	font-size: 15px
}
.bfe-quote {
	display: grid;
	grid-template-columns: 4px auto;
	grid-column-gap: 20px;
	-moz-column-gap: 20px;
	column-gap: 20px;
	grid-row-gap: 6px;
	row-gap: 6px;
	padding-right: calc(24px + 15px);
}
.bfe-quote--center{
	text-align: center;
}
.bfe-quote>.bfe-quote-line {
	grid-row: span 2;
}
.bfe-quote-line {
	width: 4px;
	border-radius: 10px;
	background: var(--bs-primary);
	margin: 4px 0;
}

/* attachment in post */
@media (min-width:992px){
	.attach-name{
		max-width: 300px;
	}
}
@media (max-width:990px){
	.attach-name{
		max-width: 150px;
	}
}

/* list in post */
ul.block-list {
	list-style: none;
}
.block-list {
	font-size: 17px;
	line-height: 26px;
	padding: 0 10px;
	padding-right: calc(24px + 15px);
}
.block-list li {
	word-wrap: break-word;
	margin: 8px 0 8px 1.4em;
	margin-left: 2em;
}
ul.block-list li:before {
	content: "";
	position: absolute;
	left: 42px;
	width: 6px;
	height: 6px;
	background: var(--bs-gray-800);
	border-radius: 100%;
	margin-top: 10px;
}
@media (min-width: 640px) {
	.block-list li {
		margin-left: 2em;
	}
}

/* Button Load More (pagination) */
.btn.loadMoreBtn {
	color: var(--bs-gray-800) !important;
	text-align: center;
	background: var(--bs-body-bg) !important;
	padding: 12px !important;
	margin: 40px auto 0px auto !important;
	display: block;
	max-width: 200px !important;
	border: 1px solid var(--bs-gray-300) !important;
	font-size: 16px;
	font-weight: 400;
}
.btn.loadMoreBtn:hover{
	color: var(--bs-gray-800) !important;
	background: var(--bs-gray-200) !important;
}

.sidebar{
	max-width: 340px !important;
}

.select2-container .select2-selection--single {
	height: auto !important;
}

.card-page{
	max-width: var(--post-card-width, 900px) !important;
	margin-left: auto;
	margin-right: auto;
	background: var(--bs-body-bg);
	box-shadow: var(--bs-root-card-box-shadow);
	border-radius: .75rem;
}

html[theme="dark"] .card-page{
	--bs-card-border-color: var(--bs-root-card-border-color);
	border: 1px solid var(--bs-card-border-color);
}

@media (max-width: 992px) {
	.card-page{
		border-radius: 0px !important;
	}
	.post-card {
		position: relative;
		max-width: var(--post-card-width, 100%) !important;
		margin: 0px 0px 20px 0px !important;
		padding: var(--post-card-padding-y) var(--post-card-padding-x);
		background: var(--bs-body-bg);
		box-shadow: var(--bs-root-card-box-shadow);
		border: 1px solid transparent;
		border-radius: 10px !important;
	}

	.um-cover-e {
		border-radius: 0 !important;
	}
	.um-608.um .um-profile-meta {
		padding-left: 0px !important
	}
	.um-cover {
		border-radius: 0 !important;
	}
	.um-cover-overlay {
		border-radius: 0 !important;
	}
}

/* Страница обратной связи */
.cf p{
	max-width: 100%
}
.cf .wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 10px 20px;
	border: 1px dashed var(--bs-primary);
	border-radius: .75rem;
	font-size: 16px;
	background: var(--bs-body-bg);
	color: var(--bs-gray-800);
	text-align: center;
}
.cf .wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--bs-success);
}
.cf .wpcf7 form.failed .wpcf7-response-output,
.cf .wpcf7 form.aborted .wpcf7-response-output {
	border-color: var(--bs-danger);
}
.cf .wpcf7-not-valid-tip {
	color: var(--bs-danger);
}

/* Страница результата поиска */
.search_page input[type=text]{
	height: 42px;
	color: var(--bs-gray-800);
	border: 1px solid var(--bs-gray-200) !important;
	background: var(--bs-gray-100);
	border-radius: .75rem;
	padding: 10px 15px !important;
	font-size: 16px !important;
	width: 100%;
	margin-right: 10px;
}
.search_page input[type=text]:focus {
	border: 1px solid var(--bs-primary) !important;
	background: var(--bs-body-bg) !important;
	box-shadow: 0 0 0 3px var(--bs-primary-clarity) !important;
}
.search_page input[type=submit]{
	height: 42px;
	line-height: 1;
}

.ce-toolbar__actions {
	padding-right: 0px !important;
}

/* Внутренние ссылки на свои посты */
.internal-link {
	border-bottom: 1px dashed var(--bs-gray-300);
}
.internal-link:hover{
	border-color: var(--bs-gray-700);
}

.card-title-topic a{
	color: var(--bs-gray-700);
}
.card-title-topic a:hover{
	color: var(--bs-gray-600);
}

/* Blocks Related Posts */
.IRPP_button , .IRPP_button .postImageUrl , .IRPP_button .centered-text-area {
	padding: 5px
}
.IRPP_button {
	background-color: var(--bs-primary-light) !important;
	border-radius: .7rem
}
.IRPP_button .postImageUrl {
	width: 20% !important;
	border-radius: .7rem
}
.IRPP_button .centered-text-area {
	float: left;
	width: 80% !important;
	padding:0px !important;
	margin:0;
}
.IRPP_button .postTitle {
	color: var(--bs-gray-800) !important;
	font-size: 17px !important;
	font-weight: 400 !important;
	margin: 0;
	padding: 0;
	width: 100%;
	font-family: "Roboto" !important;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	padding-right: 5px !important;
}
.IRPP_button:hover .postTitle {
	color: var(--bs-gray-900) !important;
}
.IRPP_button .ctaButton {
	background: var(--bs-primary) !important;
	border: none;
	border-radius: 1.2rem !important;
	box-shadow: none;
	font-size: 21px !important;
	font-weight: bold;
	line-height: 24px;
	margin: 18px 10px 18px 24px !important;
	moz-border-radius: 1.2rem !important;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	webkit-border-radius: 1.2rem !important;
	width: 56px !important;
	position: absolute;
}
.IRPP_button:hover .ctaButton {
	background: var(--bs-primary-active) !important;
}

/* Block Randon Posts (Slider)*/
.rand .tns-nav{
	position: absolute;
	top: 8px;
	right: 15px;
}
.rand .tns-nav button.tns-nav-active{
	background: var(--bs-primary-active);
	width: 1.9rem;
}

.rand-card {
	background: linear-gradient(180deg,transparent,rgba(0,0,0,.07) 25.52%,rgba(0,0,0,.52) 62.5%,rgba(0,0,0,.9) 94.35%), var(--bg-img);
	height: 22em;
	width: 100%;
	border-radius: .85rem;
	padding: 1em;
	display: flex;
	align-items: flex-end;
	background-size: cover;
	background-position: center;
	transition: all 300ms linear 0s;
	position: relative;
	overflow: hidden;
	border: 1px solid var(--bs-body-bg);
	text-decoration: none;
	color: var(--bs-white);
}
.rand-card:hover {
	color: var(--bs-white);
	border-color: var(--bs-primary);
	box-shadow: 0 0 0 3px var(--bs-primary-clarity);
}
.rand-card p {
	font-size: 16px;
	margin-top: 0.5em;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
	text-wrap: balance;
	text-overflow: ellipsis;
	white-space: normal;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 1px;
	-webkit-text-decoration-color: transparent;
	text-decoration-color: transparent;
	transition: text-decoration-color .3s ease-in-out,-webkit-text-decoration-color .3s ease-in-out;
}
.rand-card:hover p{
	-webkit-text-decoration-color: var(--bs-white);
	text-decoration-color: var(--bs-white);
}

.card-page {
	max-width: var(--post-card-width, 900px) !important;
	margin-left: auto;
	margin-right: auto;
	--post-card-width: 100%;
}

[data-item-name="carousel"] svg{
	width: 15px;
	fill: var(--bs-gray-800);
	stroke-width: 0.3;
}

/* ===== RetroMotors final merged layout ===== */
.site,
.site-content,
.content-area,
.content-area-inner,
.site-main,
.rm-layout__left,
.rm-layout__center,
.rm-layout__right {
	min-width: 0;
}

.site-content,
.content-area,
.content-area-inner,
.site-main {
	overflow: visible !important;
}

.navigation {
	display: block !important;
}

/* ===== Сетка страницы ===== */
.site-content.rm-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr) 320px;
	gap: 24px;
	align-items: start;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 24px 32px;
}

.rm-layout__center .post-cards {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ===== Левая колонка ===== */
.rm-layout__left {
	position: relative;
}

.widget-area--one {
	position: sticky;
	top: 24px;
	align-self: start;
}

.widget-area--one .widget-area-inner {
	display: flex;
	flex-direction: column;
	height: calc(100vh - 48px);
	min-height: calc(100vh - 48px);
}

.widget-area--one .widget-area-scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-right: 6px;
}

.widget-area--one .widget-footer {
	flex: 0 0 auto;
	margin-top: auto;
	padding-top: 18px;
}

/* меню */
.widget-area--one .menu,
.widget-area--one ul.menu,
.widget-area--one .widget_nav_menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget-area--one .menu li,
.widget-area--one .widget_nav_menu li {
	margin: 0 0 10px;
}

.widget-area--one .menu li a,
.widget-area--one .widget_nav_menu li a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 12px;
	color: #2f3545;
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.widget-area--one .menu li a:hover,
.widget-area--one .widget_nav_menu li a:hover {
	background: rgba(255,255,255,0.75);
	color: #111827;
}

.widget-area--one .current-menu-item > a,
.widget-area--one .current_page_item > a,
.widget-area--one .menu li.active > a {
	background: #fff;
	color: #111827;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.widget-area--one .menu li a svg,
.widget-area--one .widget_nav_menu li a svg,
.widget-area--one .menu li a i,
.widget-area--one .widget_nav_menu li a i {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	opacity: .85;
}

.widget-area--one .widget {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	margin: 0;
}

/* menu-link / bzig */
.menu-link{
	display:flex;
	align-items:center;
	gap:12px;
	padding:12px 14px;
	border-radius:12px;
	text-decoration:none;
	color:var(--bs-app-sidebar-link-color);
}
.menu-icon{
	color:var(--bs-app-sidebar-link-icon-color);
	display:inline-flex;
	align-items:center;
	justify-content:center;
}
.menu-link:hover{
	background:var(--bs-app-sidebar-link-hover-bg-color);
	color:var(--bs-app-sidebar-link-hover-color);
}
.menu-link:hover .menu-icon{
	color:var(--bs-app-sidebar-link-icon-hover-color);
}
.menu-link.active{
	background:var(--bs-app-sidebar-link-active-bg-color, var(--bs-app-sidebar-link-bg-color));
	color:var(--bs-app-sidebar-link-active-color, var(--bs-app-sidebar-link-color));
}
.menu-link.active .menu-icon{
	color:var(--bs-app-sidebar-link-icon-active-color, var(--bs-app-sidebar-link-icon-color));
}

/* промо */
.rm-sidebar-promo {
	background: transparent;
	border-radius: 18px;
	padding: 0;
	text-align: center;
	margin: 0;
}

.rm-sidebar-promo__title {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 8px;
}

.rm-sidebar-promo__text {
	font-size: 15px;
	line-height: 1.55;
	color: #6b7280;
	margin-bottom: 14px;
}

.rm-sidebar-promo__image {
	display: block;
	max-width: 140px;
	margin: 0 auto 14px;
}

.rm-sidebar-promo__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 18px;
	border-radius: 12px;
	background: #f5b400;
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
}

.rm-sidebar-promo__btn:hover {
	background: #e0a400;
	color: #fff;
}

/* нижние ссылки */
.rm-sidebar-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	font-size: 14px;
	line-height: 1.4;
}

.rm-sidebar-links a {
	color: #6b7280;
	text-decoration: none;
}

.rm-sidebar-links a:hover {
	color: #111827;
}

/* ===== Правая колонка ===== */
.rm-layout__right .widget-area--two,
.rm-layout__right #secondary,
.rm-layout__right .widget-area {
	position: sticky;
	top: 24px;
}

.rm-layout__right .widget-area-inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ===== Post Card: full replace ===== */
.post-card {
	position: relative;
	max-width: var(--post-card-width, 900px) !important;
	margin: 0 auto 20x;
	padding: var(--post-card-padding-y, 20px) var(--post-card-padding-x, 20px) !important;
	background: var(--bs-body-bg);
	box-shadow: var(--bs-root-card-box-shadow);
	border: 1px solid transparent;
	border-radius: .75rem;
}

@media (min-width: 992px) {
	.post-card {
		margin: 0 auto !important;
	}
}

html[theme="dark"] .post-card {
	--bs-card-border-color: var(--bs-root-card-border-color);
	border: 1px solid var(--bs-card-border-color);
}

.short.post-card {
	padding-bottom: 1.5rem !important;
}

.post-cards {
	max-width: 100%;
}

.post-card__header {
	margin-bottom: 0;
}

.rm-card-header,
.post-card__header {
	margin-bottom: 0;
}

.rm-card-header__top {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
}

.rm-card-header__right {
	flex-shrink: 0;
	margin-left: auto;
}

.rm-card-author {
	min-width: 0;
}

.rm-card-author__avatar img,
.rm-card-author__avatar .avatar,
.author-header__avatar {
	width: var(--post-meta-avatar-size, 40px);
	height: var(--post-meta-avatar-size, 40px);
	border-radius: 999px;
	display: block;
	object-fit: cover;
}

.follow-list-tabs__item {
	padding: 0 15px 17px;
}

.follow-list-tabs__item.active {
	border-bottom: 3px solid var(--bs-primary)
}

.toast {
	font-size: 15px;
	font-weight: 400;
	text-align: center;
	min-width: 200px !important;
	max-width: 30vw;
}

.rm-card-author__meta {
	min-width: 0;
}

.rm-card-author__name {
	line-height: 1.2;
}

.rm-card-author__name a {
	font-size: 15px;
	font-weight: 600;
	color: #1e293b;
	text-decoration: none;
}

.rm-card-author__name a:hover {
	color: #475569;
}

.rm-card-author__sub {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: #64748b;
}

.rm-card-category,
.rm-card-date,
.post-meta__category,
.post-meta__date {
	display: inline-flex;
	align-items: center;
}

.post-meta__category a{
	color: var(--bs-gray-800);
}
.post-meta__category a:hover{
	color: var(--bs-gray-600);
}

.rm-card-category a {
	color: var(--bs-primary);
	text-decoration: none;
	font-size: 13px;
	font-weight: 400;
}

.rm-card-category a:hover {
	color: var(--bs-link-hover-color);
}

.rm-card-date {
	font-size: 13px;
	color: #64748b;
}

.post-card__title,
.p-card__title{
	margin: 8px 0 5px;
	font-size: 1.9rem;
	line-height: 1.2;
	font-weight: 500;
}

.post-card__title a{
	color: #071437;
	text-decoration: none;
}

.post-card__title a:hover{
	color:var(--bs-gray-700)
}

.post-card__content {
	margin-top: 10px;
}

.post-card__content,
.post-card__content p,
.p-card__content,
.p-card__content p,
.entry-content p,
ul.wp-block-list li,
.table-of-contents{
	font-size: 17px;
	line-height: 1.65;
	color: var(--bs-gray-800);
}

.post-card__image {
	margin: 10px 0 18px;
	overflow: hidden;
	background: transparent !important;
}

.post-card__image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 10px;
}

.post-card__footer {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
	font-size: 16px;
	color: var(--bs-gray-800);
}


.post-card__footer .post-meta__right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}

.post-meta__right {
	opacity: 0.55;
}

.post-meta__right:hover {
	opacity: 1;
}

.vote {
	color: var(--bs-gray-800);
	font-size: 15px !important;
	font-weight: 500 !important;
}
.vote:not(.disabled) .vote__minus:hover {
	opacity: 1;
	color: var(--bs-danger) !important;
	background: var(--bs-danger-light) !important;
}
.vote:not(.disabled) .vote__plus:hover {
	opacity: 1;
	color: var(--bs-success) !important;
	background: var(--bs-success-light) !important;
}
.vote__minus,.vote__plus {
	padding: 0;
	border-radius: 50% !important;
	opacity: .4;
	transition: opacity .2s;
	width: 28px;
	height: 28px;
	justify-content: center;
	align-items: center;
	display: flex;
}
.vote__minus svg,.vote__plus svg {
	transition: color .2s;
	transform: translateZ(0);
}
.vote .vote__minus.active {
	color: var(--bs-danger) !important;
	background: var(--bs-danger-light) !important;
}
.vote .vote__plus.active {
	color: var(--bs-success) !important;
	background: var(--bs-success-light) !important;
}
.vote__score {
	min-width: 15px;
	margin: 0 6px;
	font-size: 15px;
	text-align: center;
	font-weight: 500;
}
.vote__score.number_zero{color: var(--bs-gray-800);}
.vote__score.number_plus{color: var(--bs-success);}
.vote__score.number_minus{color: var(--bs-danger);}

.post-meta__comments a,
.post-bookmark,
.post-meta__views,
.post-meta__tags {
	font-size: 14px;
	color: #475569 !important;
}

.post-bookmark, .post-meta__comments a{
	font-size: 15px;
	text-align: center;
	font-weight: 400;
	color: var(--bs-gray-800);
}
.post-bookmark:hover, .post-meta__comments a:hover{
	color: var(--bs-primary);
	cursor: pointer;
}
.post-bookmark svg, .post-meta__comments svg{
	margin-right:0;
	stroke: var(--bs-gray-500);
	padding: 4px;
	border-radius: 50% !important;
	width: 28px !important;
	height: 28px !important;
	justify-content: center;
	align-items: center;
}
.post-meta__views svg{
	color: var(--bs-gray-500) !important;
}
.post-bookmark svg:hover, .post-meta__comments svg:hover{
	stroke: var(--bs-primary) !important;
	background: var(--bs-primary-light) !important;
}
.post-bookmark:not(.disabled) .post-bookmark__btn.active svg {
	stroke: var(--bs-warning) !important;
	background: var(--bs-warning-light) !important;
}
.post-bookmark__count, .post-meta__comments span{
	vertical-align: middle;
}

.share-post svg{
	stroke: var(--bs-gray-500);
	padding: 4px;
	border-radius: 50% !important;
	width: 28px !important;
	height: 28px !important;
}
.share-post svg:hover{
	cursor: pointer;
	stroke: var(--bs-primary) !important;
	background: var(--bs-primary-light) !important;
}

.post-meta__access-lock svg{
	cursor: pointer;
	stroke: var(--bs-danger);
	background: var(--bs-danger-light) !important;
	padding: 0px 4px 2px 4px;
	border-radius: 50% !important;
	width: 28px !important;
	height: 28px !important;
}
.post-meta__access-unlock svg{
	cursor: pointer;
	stroke:  var(--bs-success);
	background: var(--bs-success-light) !important;
	padding: 0px 4px 2px 4px;
	border-radius: 50% !important;
	width: 28px !important;
	height: 28px !important;
}

.post-meta__tags {
	font-size: 13px;
	color: #64748b;
}

.post-bookmark svg,
.post-meta__comments svg,
.share-post svg {
	width: 30px !important;
	height: 30px !important;
}

.post-card__footer .post-meta,
.post-meta.post-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
}

.post-card__footer .post-meta > div,
.post-card__footer .post-meta > a,
.post-card__footer .post-meta__comments,
.post-card__footer .post-meta__comments a,
.post-card__footer .post-meta__views,
.post-card__footer .post-bookmark,
.post-card__footer .post-bookmark a,
.post-card__footer .post-meta__tags,
.post-card__footer .post-meta__right,
.post-card__footer .post-meta__right a,
.post-card__footer .post-meta__right button,
.post-card__footer .vote {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	line-height: 1;
}

.post-card__footer .post-meta svg,
.post-card__footer .post-meta i {
	display: block;
	flex-shrink: 0;
}

.post-card__footer .post-meta span,
.post-card__footer .post-meta a {
	line-height: 1;
}

/* --> Badge subscribe PRO */
#subscribe-badge{display: none;}
.membership-badge {
	margin-left: 5px;
	vertical-align: middle;
}
.membership-badge:before{
	font-family: bootstrap-icons;
	content: "\f589";
	color: var(--bs-success);
}

/* --> Single post comments */
.comments-area {
	max-width: 100%;
	margin: auto;
	padding: 0;
	box-shadow: none;
	border-radius: 14px;
	background: transparent;
}
.comments-title {
	margin-bottom: 30px;
	font-size: 20px;
	line-height: 28px;
	font-weight: 500;
	color: var(--bs-gray-800);
}

.comment-form-comment textarea {
	border-radius: 12px;
	border: 1px solid var(--bs-gray-200);
	font-size: 16px;
	color: var(--bs-gray-900);
	background: var(--bs-gray-100);
}
.comment-form-comment textarea::placeholder {
	color: var(--bs-gray-800);
	opacity: .5;
}
.comment-form-comment textarea:focus{
	border: 1px solid var(--bs-primary);
	background: var(--bs-body);
	box-shadow: 0 0 0 3px var(--bs-primary-clarity);
}
.comment-header__avatar {
	border-radius: .75rem;
}
.comment-header__author-name {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 500;
	font-size: 15px;
	line-height: 22px;
}
.comment-header__author-name a{
	color: var(--bs-gray-800);
}
.comment-header__author-name a:hover{
	color: var(--bs-gray-800);
	opacity: .72;
}
.comment-header__date {
	font-size: 13px;
	line-height: 18px;
	color: var(--bs-gray-600);
	font-weight: 400;
}
.comment-header__by-author {
	margin-left: 5px;
	color: var(--bs-success);
	background: var(--bs-success-light);
	padding: 0px 6px 2px 6px;
	border-radius: .75rem;
	font-size: .9em;
	letter-spacing: 0.03em;
	vertical-align: text-top;
}

.pseudo-link,a {
	color: var(--bs-primary);
}
.pseudo-link:hover,a:hover {
	color: var(--bs-link-hover-color);
}
.comment-content {
	font-size: 17px;
	line-height: 26px;
	color: var(--bs-gray-800);
}
.comment-reply a{
	font-size: 15px;
	line-height: 22px;
	color: var(--bs-gray-800);
	white-space: nowrap;
	opacity: .72;
}
.comment-reply a:hover{
	opacity: .52;
}

.comment-branch {
	border-left: 1px dashed var(--bs-gray-300);
	opacity: .52;
}
.comment-branch:hover {
	opacity: 1;
	border-color: var(--bs-gray-400);
}
.comment-toggle-link {
	font-size: 16px;
	font-weight: 400;
}

.comment .comment-respond:before {
	border-left: 1px dashed var(--bs-gray-300);
	border-bottom: 1px dashed var(--bs-gray-300);
	border-radius: 0 0 0 .75rem;
}

.cancel-comment-reply-link {
	position: absolute;
	top: 47px;
	left: 17px;
	font-size: .95em;
}
.cancel-comment-reply-link a{
	color: var(--bs-gray-800);
	opacity: .72
}
.cancel-comment-reply-link a:hover{
	color: var(--bs-gray-800);
	opacity: .52
}

.comment-body--highlight{
	background-color: transparent;
	border-radius: .75rem;
}
.comment-body--highlight p{
	opacity: .82;
	color: var(--bs-primary);
}
.comment-awaiting-moderation {
	margin: 5px 0px 0px 0px;
	font-size: 15px;
	font-weight: 400;
	color: var(--bs-warning);
	background: var(--bs-warning-light);
	padding: 2px 12px;
	border-radius: 8px;
	display: inline-block;
}

/* --> SIDEBAR -> widget "Comments" */
.comments-widget-list {
	background: var(--bs-body-bg);
	box-shadow: var(--bs-root-card-box-shadow);
	border-radius: .75rem;
}
html[theme="dark"] .comments-widget-list {
	--bs-card-border-color: var(--bs-root-card-border-color);
	border: 1px solid var(--bs-card-border-color);
}

.comm-avatar-author img{
	border-radius: .75rem !important;
	vertical-align: baseline;
}
.comm-avatar-author img:hover{
	opacity: .72;
}
.comm-name-author {
	font-weight: 500;
	font-size: 15px;
	line-height: 1;
	color: var(--bs-gray-800) !important;
}
.comm-name-author:hover{
	color: var(--bs-gray-800) !important;
	opacity: .72;
}

.comments-widget-item__content {
	font-size: 15px;
	line-height: 1.4;
	margin: 5px 0px;
	padding: 5px 10px;
	border: 1px dashed var(--bs-gray-300);
	vertical-align: middle;
}
.comments-widget-item a{
	color: var(--bs-gray-800) !important;
	opacity: 1
}
.comments-widget-item a:hover{
	color: var(--bs-gray-800) !important;
	opacity: .72;
}
.comments-widget-item__post-link svg{
	width: 24px;
	margin: 0px 10px;
	color: var(--bs-gray-800);
	opacity: .72;
	stroke-width: 1.5;
}
.comments-widget-item__post-link a:not(:hover){
	color: var(--bs-gray-800) !important;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	opacity: .82;
}
.comments-widget-item__post-link a:hover{
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--bs-gray-800);
	opacity: 1
}
.comments-widget-item__post-link a{
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.comm-delimiter:before {
	display: block;
	content: "***";
	font-size: 17px;
	letter-spacing: 0.2em;
	text-align: center;
	color: var(--bs-primary);
	height: 16px;
	margin-top: 5px;
	font-weight: 800;
	opacity: .5
}
.typed-cursor{
	font-size: 26px;
}

/* --> Форма подписки PRO */
.subscriptions {
	padding: 25px;
	border-radius: 8px;
	color: #212121
}
.subscription-plan {
	position: relative;
	flex: 1 0 0;
	margin: 0;
	padding: 30px 20px;
	border: 1px dashed var(--bs-gray-400);
	text-align: center;
	font-size: 1.3rem;
	cursor: pointer;
	transition: all .2s;
	color: #212121
}
.subscription-plan__name {
	margin-bottom: 10px;
	font-weight: 700;
	font-size: 1.2em
}

.payment-providers-container {
	margin: 30px 0;
	padding: 25px;
	border-radius: 8px
}
.payment-provider {
	position: relative;
	flex: 1 0 0;
	margin: 0;
	padding: 30px 20px;
	border: 1px dashed var(--bs-gray-400);
	text-align: center;
	font-size: clamp(.9rem,3vw,1rem);
	cursor: pointer;
	transition: all .2s;
	display: flex;
	align-items: center;
	justify-content: center
}

/* ===== Адаптив ===== */
@media (max-width: 1399px) {
	.site-content.rm-layout {
		grid-template-columns: 240px minmax(0, 1fr) 290px;
		gap: 20px;
		padding: 20px 24px;
	}
}

@media (max-width: 1199px) {
	.site-content.rm-layout {
		grid-template-columns: 240px minmax(0, 1fr);
	}

	.rm-layout__right {
		display: none;
	}
}

@media (max-width: 991.98px) {
	.site-content.rm-layout {
		grid-template-columns: 1fr;
		padding: 16px;
		gap: 16px;
	}

	.rm-layout__left,
	.rm-layout__right {
		display: none;
	}

	.widget-area--one,
	.rm-layout__right .widget-area--two,
	.rm-layout__right #secondary,
	.rm-layout__right .widget-area {
		position: static;
		top: auto;
	}

	.widget-area--one .widget-area-inner {
		height: auto;
		min-height: 0;
	}

	.widget-area--one .widget-area-scroll {
		overflow: visible;
		padding-right: 0;
	}

	.widget-area--one .widget-footer {
		padding-top: 16px;
	}

	.post-card {
		max-width: 100% !important;
	}
}

@media (max-width: 767.98px) {
	.post-card {
		padding: 18px 16px !important;
		border-radius: 16px !important;
	}

	.rm-card-header__top {
		align-items: flex-start;
	}

	.rm-card-title,
	.post-card__title,
	.p-card__title {
		font-size: 1.6rem;
		line-height: 1.25;
		margin: 6px 0 12px;
	}

	.rm-card-author__name a {
		font-size: 15px;
	}

	.post-card__content,
	.post-card__content p,
	.p-card__content,
	.p-card__content p {
		font-size: 15px;
		line-height: 1.55;
	}

	.post-card__footer .post-meta {
		gap: 12px;
	}

	.post-card__image img {
		height: 320px;
	}
}

/* ===== Header user avatar dropdown ===== */

.rm-header-user-dropdown{
	position: relative;
}

.rm-header-user-toggle{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border-radius: 999px;
}

.rm-header-user-toggle img,
.rm-header-user-toggle .avatar,
.rm-header-user-toggle .um-avatar,
.rm-header-user-toggle .gravatar,
img.avatar.avatar-44,
img.um-avatar.avatar-44 {
	width: 44px !important;
	height: 44px !important;
	border-radius: 8px !important;
	object-fit: cover !important;
	display: block;
}

@media (max-width: 991.98px) {
	.rm-header-user-toggle img,
	.rm-header-user-toggle .avatar,
	.rm-header-user-toggle .um-avatar,
	.rm-header-user-toggle .gravatar,
	img.avatar.avatar-44,
	img.um-avatar.avatar-44 {
		width: 35px !important;
		height: 35px !important;
	}
}

.rm-header-user-toggle:hover .rm-header-avatar-img{
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0,0,0,.12);
	border-color: var(--bs-primary-light);
}

.rm-header-user-menu{
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 270px;
	background: var(--bs-body-bg);
	border: 1px solid var(--bs-gray-200);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0,0,0,.12);
	padding: 12px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
	z-index: 1000;
}

html[theme="dark"] .rm-header-user-menu{
	border-color: var(--bs-root-card-border-color);
}

.rm-header-user-menu__head{
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 8px 14px;
	border-bottom: 1px solid var(--bs-gray-200);
	margin-bottom: 8px;
}

html[theme="dark"] .rm-header-user-menu__head{
	border-bottom-color: var(--bs-root-card-border-color);
}

.rm-header-user-menu__avatar img{
	width: 48px;
	height: 48px;
	border-radius: 999px !important;
	object-fit: cover;
	display: block;
}

.rm-header-user-menu__meta{
	min-width: 0;
}

.rm-header-user-menu__name{
	font-size: 15px;
	line-height: 1.2;
	font-weight: 600;
	color: var(--bs-gray-900);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rm-header-user-menu__login{
	font-size: 13px;
	line-height: 1.2;
	color: var(--bs-gray-600);
	margin-top: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rm-header-user-menu__list{
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rm-header-user-menu__link{
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 10px 12px;
	border-radius: 12px;
	color: var(--bs-gray-800);
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.rm-header-user-menu__link:hover{
	background: var(--bs-gray-100);
	color: var(--bs-gray-900);
}

.rm-header-user-menu__link i{
	color: var(--bs-gray-600);
}

.rm-header-user-menu__link:hover i{
	color: var(--bs-primary);
}

.rm-header-user-menu__link--danger:hover{
	background: var(--bs-danger-light);
	color: var(--bs-danger);
}

.rm-header-user-menu__link--danger:hover i{
	color: var(--bs-danger);
}

.rm-header-user-dropdown{
	position: relative;
	display: inline-block;
}

.rm-header-user-toggle{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	border-radius: 12px;
}

.rm-header-user-toggle:focus,
.rm-header-user-toggle:active{
	outline: none;
	box-shadow: none;
	background: transparent;
}

.rm-header-user-menu{
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 9999;
	min-width: 280px;
	padding: 14px;
	border-radius: 16px;
	background: var(--bs-body-bg);
	box-shadow: var(--bs-root-card-box-shadow);
	border: 1px solid var(--bs-gray-200);

	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.rm-header-user-dropdown.is-open .rm-header-user-menu{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.rm-header-user-menu__head{
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 12px;
	margin-bottom: 10px;
	border-bottom: 1px solid var(--bs-gray-200);
}

.post-card.type-page {
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 0 20px 0 !important;
	--post-card-width: 100%;
}

@media (min-width: 992px) {
	.post-card.type-page {
		margin: 0 !important;
	}
}
.single-post .entry-content {
    margin: 10px 0 0;
}
.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;margin-bottom:1rem
}

.gallery .gallery-item {
	float: none !important;
	margin: 0 !important;
	width: 100% !important;
}

.gallery.gallery-columns-2 .gallery-item {
	width: calc(50% - 8px) !important;
}

.gallery.gallery-columns-3 .gallery-item {
	width: calc(33.333% - 11px) !important;
}

.gallery.gallery-columns-4 .gallery-item {
	width: calc(25% - 12px) !important;
}

.gallery .gallery-icon,
.gallery .gallery-icon a {
	display: block;
	width: 100%;
}

.type-post .entry-content img, .gallery .gallery-item img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border: 0 !important;
	border-radius: 10px;
}
.gallery .gallery-item img{
	margin-bottom: 0 !important
}
.type-post .entry-content img{
	margin-bottom: 1rem
}

@media (max-width: 767px) {
	.gallery.gallery-columns-2 .gallery-item,
	.gallery.gallery-columns-3 .gallery-item,
	.gallery.gallery-columns-4 .gallery-item {
		width: 100% !important;
	}
}
.rm-header-theme-switch{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
	border: 0;
	outline: 0;
	background: transparent;
	border-radius: 10px;
	cursor: pointer;
	line-height: 1;
	flex: 0 0 40px;
	color: var(--bs-primary);
}

.rm-header-theme-switch:hover{
	color: var(--bs-primary);
}

.rm-header-theme-switch:focus,
.rm-header-theme-switch:active{
	outline: none;
	box-shadow: none;
	background: transparent;
}

.rm-header-theme-switch__icon{
	display: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	line-height: 1;
}

.rm-header-theme-switch__icon i{
	font-size: 34px !important;
	line-height: 1;
	color: inherit;
}

html[theme="light"] .rm-header-theme-switch__icon--moon{
	display: inline-flex;
}

html[theme="dark"] .rm-header-theme-switch__icon--sun{
	display: inline-flex;
}

@media (max-width: 991.98px){
	.rm-header-theme-switch{
		width: 34px;
		height: 34px;
		flex-basis: 34px;
		border-radius: 8px;
	}

	.rm-header-theme-switch__icon{
		width: 34px;
		height: 34px;
	}

	.rm-header-theme-switch__icon i{
		font-size: 34px !important;
	}
}

/* ===== Single post comments: same width as post ===== */

.single-post .site-main-inner{
	align-items: stretch;
}

.single-post #comments.comments-area{
	width: 100% !important;
	max-width: var(--post-card-width, 900px) !important;
	align-self: stretch;
	margin: 24px auto 0 !important;
	padding: 20px !important;
	background: var(--bs-app-content-bg-color, #fff) !important;
	box-shadow: var(--bs-root-card-box-shadow) !important;
	border: 1px solid transparent;
	border-radius: .75rem;
}

.single-post #comments.comments-area .comments-title,
.single-post #comments.comments-area .comment-list,
.single-post #comments.comments-area .comment-respond{
	max-width: 100%;
}

@media (max-width: 767.98px){
	.single-post #comments.comments-area{
		padding: 16px !important;
		border-radius: 16px;
	}
}

