.secw-comment-widget-wrap {
	display: flex;
	width: 100%;
}

.secw-comment-widget {
	--secw-section-gap: 26px;
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
}

.secw-comment-widget *,
.secw-comment-widget *::before,
.secw-comment-widget *::after {
	box-sizing: border-box;
}

.secw-article-rating {
	margin-bottom: var(--secw-section-gap);
}

.secw-article-rating-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	position: relative;
	min-width: 330px;
}

.secw-article-rating-inner::before,
.secw-article-rating-inner::after {
	content: "";
	display: block;
	width: 112px;
	height: 1px;
	background: #b7b7b7;
}

.secw-rating-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border: 1px dashed #9ea5ad;
	border-radius: 999px;
	font-size: 25px;
	line-height: 1;
	color: #2b3b4c;
}

.secw-rating-label {
	margin-top: 8px;
	font-size: 13px;
	color: #7e8792;
}

.secw-stars {
	display: inline-flex;
	gap: 2px;
	margin-top: 5px;
}

.secw-stars span {
	font-size: 24px;
	line-height: 1;
	color: #d8dce1;
}

.secw-stars .is-active {
	color: #f2b01e;
}

.secw-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid #cfcfcf;
	padding: 0 0 14px;
	margin-bottom: 25px;
	font-size: 14px;
	color: #30363d;
}

.secw-topbar button,
.secw-topbar a {
	font: inherit;
}

.secw-subscribe {
	position: relative;
}

.secw-subscribe-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 0;
	padding: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.secw-icon {
	font-size: 15px;
	line-height: 1;
}

.secw-caret {
	font-size: 12px;
	line-height: 1;
}

.secw-subscribe-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 20;
	min-width: 180px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 12px 35px rgba(15, 23, 42, .12);
}

.secw-login-status {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	flex-wrap: wrap;
}

.secw-login-status a,
.secw-subscribe-menu a {
	text-decoration: none;
	color: #2563eb;
}

.secw-form-row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: var(--secw-section-gap);
}

.secw-form-avatar,
.secw-comment-avatar {
	flex: 0 0 auto;
}

.secw-form-avatar img,
.secw-comment-avatar img {
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	object-fit: cover;
	border: 1px solid #d1d5db;
}

.secw-form-main {
	flex: 1 1 auto;
	min-width: 0;
}

.secw-comment-form {
	margin: 0;
}

.secw-comment-form p {
	margin: 0 0 12px;
}

.secw-comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	color: inherit;
}

.secw-comment-form input[type="text"],
.secw-comment-form input[type="email"],
.secw-comment-form input[type="url"] {
	width: 100%;
	border: 1px solid #d1d5db;
	background: #fff;
	padding: 10px 12px;
	outline: none;
}

.secw-editor-wrap {
	border: 1px solid #d1d5db;
	background: #fff;
	overflow: hidden;
}

.secw-comment-form textarea {
	display: block;
	width: 100%;
	min-height: 92px;
	border: 0;
	padding: 14px 16px;
	background: transparent;
	outline: none;
	resize: vertical;
	font: inherit;
	color: #374151;
}

.secw-toolbar {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-wrap: wrap;
	padding: 8px 10px;
	background: #f7f7f8;
	border-top: 1px solid #eceff3;
}

.secw-toolbar button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	border: 0;
	padding: 0 5px;
	background: transparent;
	color: #7a7f87;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.secw-toolbar button:hover,
.secw-toolbar button:focus {
	background: rgba(0, 0, 0, .06);
}

.secw-rating-input {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 14px;
}

.secw-rating-input-stars {
	display: inline-flex;
	gap: 3px;
}

.secw-star-btn {
	border: 0;
	padding: 0;
	background: transparent;
	font-size: 24px;
	line-height: 1;
	color: #d8dce1;
	cursor: pointer;
}

.secw-star-btn.is-active {
	color: #f2b01e;
}

.secw-submit-row {
	display: flex;
	justify-content: flex-end;
	margin-top: 12px;
}

.secw-submit,
.secw-login-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	padding: 11px 20px;
	background: #111827;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	transition: .2s ease;
}

.secw-submit:hover,
.secw-login-button:hover {
	background: #374151;
	color: #fff;
}

.secw-login-required,
.secw-closed-comments {
	margin-bottom: var(--secw-section-gap);
}

.secw-closed-comments,
.secw-empty-comments,
.secw-editor-notice {
	padding: 14px 16px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #6b7280;
}

.secw-tabs {
	display: flex;
	align-items: flex-end;
	gap: 13px;
	border-bottom: 2px solid #cfcfcf;
	margin-top: 3px;
	margin-bottom: 20px;
	color: #344054;
	font-size: 15px;
	letter-spacing: .04em;
}

.secw-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 3px 8px;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
}

.secw-tab.is-active {
	border-bottom-color: #111827;
}

.secw-tab-icon {
	font-size: 18px;
	line-height: 1;
}

.secw-comments-list {
	display: grid;
	gap: 14px;
}

.secw-comment-card {
	display: flex;
	gap: 14px;
	padding: 18px;
	border: 1px solid #e5e7eb;
	background: #fff;
}

.secw-comment-body {
	flex: 1 1 auto;
	min-width: 0;
}

.secw-comment-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.secw-comment-author {
	font-weight: 700;
	color: #111827;
}

.secw-comment-meta {
	margin-top: 2px;
	font-size: 12px;
	color: #6b7280;
}

.secw-comment-content {
	color: #374151;
	line-height: 1.7;
}

.secw-comment-content p {
	margin: 0 0 .8em;
}

.secw-comment-content p:last-child {
	margin-bottom: 0;
}

.secw-comment-stars {
	margin-top: 0;
	white-space: nowrap;
}

.secw-comment-stars span {
	font-size: 16px;
}

.secw-comment-reply {
	margin-top: 10px;
	font-size: 13px;
}

.secw-comment-reply a {
	color: #6b7280;
	text-decoration: none;
}

@media (max-width: 767px) {
	.secw-topbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.secw-login-status {
		justify-content: flex-start;
	}

	.secw-article-rating-inner {
		min-width: 0;
		width: 100%;
	}

	.secw-article-rating-inner::before,
	.secw-article-rating-inner::after {
		width: 30%;
	}

	.secw-form-row,
	.secw-comment-card {
		gap: 12px;
	}

	.secw-comment-header {
		flex-direction: column;
	}
}

.secw-recaptcha-wrap {
	display: flex;
	justify-content: flex-start;
	margin: 14px 0 0;
}

.secw-recaptcha-notice {
	margin: 14px 0 0;
	padding: 12px 14px;
	border: 1px solid #f59e0b;
	background: #fffbeb;
	color: #92400e;
	font-size: 13px;
	line-height: 1.5;
}
