/* =========================================================
   Vendora — article (single post) page styles
   Loaded on single post pages only.
   ========================================================= */

/* ---------- Breadcrumb card + article column ---------- */

/* Breadcrumb styles live in cart.css (site-wide). */

.vd-art-col {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.vd-feed {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 14px;
}

.vd-feed-item {
	display: flex;
	gap: 10px;
}

.vd-feed-ico {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vd-feed-ico svg {
	width: 17px;
	height: 17px;
}

.vd-feed-ico.new {
	background: var(--vd-primary-soft);
	color: var(--vd-primary);
}

.vd-feed-ico.opt {
	background: var(--vd-amber-soft);
	color: var(--vd-amber);
}

.vd-feed-ico.fix {
	background: var(--vd-blue-soft);
	color: var(--vd-blue);
}

.vd-feed-item b {
	font-size: 13.5px;
	font-weight: 700;
	display: block;
}

.vd-feed-item b em {
	font-style: normal;
	font-weight: 500;
	color: var(--vd-text-3);
}

.vd-feed-item p {
	font-size: 12.5px;
	color: var(--vd-text-2);
	line-height: 1.5;
	margin-top: 2px;
}

/* ---------- Article card ---------- */

.vd-article {
	padding: 30px 34px 26px;
}

.vd-art-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
}

.vd-art-kicker-badge {
	font-size: 12px;
	font-weight: 700;
	color: var(--vd-primary);
	background: var(--vd-primary-soft);
	border: 1px solid var(--vd-primary-border);
	padding: 3px 11px;
	border-radius: 999px;
}

.vd-art-kicker-date {
	font-size: 13px;
	color: var(--vd-text-3);
}

.vd-art-title {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.28;
	letter-spacing: -.02em;
	margin-top: 14px;
}

.vd-art-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	font-size: 13.5px;
	color: var(--vd-text-2);
	flex-wrap: wrap;
}

.vd-art-author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--vd-text);
}

.vd-art-author i {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	font-style: normal;
}

.vd-art-meta-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--vd-text-3);
}

.vd-art-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--vd-text-3);
	font-weight: 600;
}

.vd-art-meta-item svg {
	color: var(--vd-text-3);
}

/* ---------- Article body typography ---------- */

.vd-art-body {
	margin-top: 26px;
	font-size: 15.5px;
	line-height: 1.85;
	color: var(--vd-text-2);
}

.vd-art-body > * + * {
	margin-top: 18px;
}

/* margin-bottom 0 keeps the `> * + *` 18px rhythm on top;
   (a full `margin: 0` here would outrank `> * + *` and collapse all gaps). */
.vd-art-body > p {
	margin-bottom: 0;
}

.vd-art-body h2 {
	font-size: 21px;
	font-weight: 800;
	color: var(--vd-text);
	letter-spacing: -.01em;
	line-height: 1.4;
	margin-top: 34px;
	padding-left: 12px;
	border-left: 4px solid var(--vd-primary);
}

.vd-art-body h3 {
	font-size: 17px;
	font-weight: 700;
	color: var(--vd-text);
	line-height: 1.45;
	margin-top: 26px;
}

.vd-art-body a {
	color: var(--vd-primary);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--vd-primary-border);
	transition: text-decoration-color .2s;
}

.vd-art-body a:hover {
	text-decoration-color: var(--vd-primary);
}

.vd-art-body strong {
	color: var(--vd-text);
	font-weight: 700;
}

.vd-art-body ul,
.vd-art-body ol {
	padding-left: 4px;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.vd-art-body ul li {
	position: relative;
	padding-left: 22px;
}

.vd-art-body ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 9px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--vd-primary);
	opacity: .75;
}

.vd-art-body ol {
	counter-reset: vd-ol;
}

.vd-art-body ol li {
	position: relative;
	padding-left: 30px;
	counter-increment: vd-ol;
}

.vd-art-body ol li::before {
	content: counter(vd-ol);
	position: absolute;
	left: 0;
	top: 1px;
	width: 20px;
	height: 20px;
	border-radius: 7px;
	background: var(--vd-primary-soft);
	color: var(--vd-primary);
	font-size: 11.5px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vd-art-body blockquote {
	background: var(--vd-primary-soft);
	border: 1px solid var(--vd-primary-border);
	border-radius: 12px;
	padding: 14px 18px;
	color: var(--vd-text);
	font-weight: 500;
}

.vd-art-body blockquote p {
	margin: 0;
}

.vd-art-body figure {
	margin: 30px auto 26px;
	width: fit-content;
	max-width: 100%;
	border-radius: 14px;
	overflow: hidden;
	background: var(--vd-inset);
	line-height: 0;
}

.vd-art-body figure img {
	width: auto;
	max-width: 100%;
	height: auto;
	display: block;
}

.vd-art-body > img {
	margin: 30px auto 26px;
	width: auto;
	max-width: 100%;
	height: auto;
}

.vd-art-body img {
	border-radius: 12px;
}

.vd-art-body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: 12px;
	overflow: hidden;
}

.vd-art-body th {
	background: var(--vd-inset);
	font-weight: 700;
	color: var(--vd-text);
	text-align: left;
	padding: 11px 14px;
	border-bottom: 1px solid var(--vd-border);
	font-size: 13.5px;
}

.vd-art-body td {
	padding: 11px 14px;
	border-bottom: 1px solid var(--vd-border);
	vertical-align: top;
}

.vd-art-body tr:last-child td {
	border-bottom: none;
}

.vd-art-body code {
	background: var(--vd-field);
	border-radius: 6px;
	padding: 2px 7px;
	font-size: 13.5px;
	color: var(--vd-text);
}

/* ---------- Article footer (tags + actions) ---------- */

.vd-art-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--vd-border);
}

.vd-art-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.vd-art-tag {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--vd-text-2);
	background: var(--vd-field);
	border-radius: 999px;
	padding: 5px 13px;
	transition: all .2s;
}

.vd-art-tag:hover {
	background: var(--vd-primary-soft);
	color: var(--vd-primary);
}

.vd-art-actions {
	display: flex;
	gap: 8px;
}

.vd-art-act {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
	color: var(--vd-text-2);
	background: var(--vd-field);
	border-radius: 999px;
	padding: 8px 15px;
	transition: all .2s;
	cursor: pointer;
}

.vd-art-act:hover {
	background: var(--vd-primary-soft);
	color: var(--vd-primary);
}

.vd-art-act.on {
	background: var(--vd-primary-soft);
	color: var(--vd-primary);
}

.vd-art-act.on svg {
	fill: var(--vd-primary);
}

/* ---------- Related posts ---------- */

.vd-related {
	padding: 22px 24px 24px;
}

.vd-rel-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 18px;
}

.vd-rel-item {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 14px;
	row-gap: 4px;
	align-items: center;
	padding: 12px;
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: 14px;
	overflow: hidden;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}

.vd-rel-item:hover {
	transform: translateY(-2px);
	box-shadow: var(--vd-shadow);
	border-color: var(--vd-primary-border);
}

.vd-rel-img {
	grid-column: 1;
	grid-row: 1 / 3;
	position: relative;
	width: 78px;
	height: 78px;
	border-radius: 10px;
	overflow: hidden;
	background-color: var(--vd-inset);
	background-size: cover;
	background-position: center;
}

.vd-rel-img::before {
	content: "";
	position: absolute;
	inset: 0;
	background: inherit;
	filter: blur(16px) brightness(1.06);
	transform: scale(1.15);
}

.vd-rel-img img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vd-rel-title {
	grid-column: 2;
	grid-row: 1;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--vd-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vd-rel-ex {
	grid-column: 2;
	grid-row: 2;
	font-size: 13px;
	color: var(--vd-text-3);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vd-rel-empty {
	color: var(--vd-text-3);
	font-size: 14px;
	margin-top: 16px;
}

/* ---------- Comments ---------- */

.vd-comments {
	padding: 22px 24px 26px;
}

/* Light list: no cards, just hairline dividers between top-level threads.
   Note: wp_list_comments emits top-level <li> directly (no <ul> wrapper);
   only nested levels are wrapped in <ul class="children">. */
.vd-c-list {
	margin-top: 18px;
}

.vd-c-list .comment {
	list-style: none;
	margin: 0;
	padding: 16px 0;
}

.vd-c-list > .comment {
	border-top: 1px solid var(--vd-border);
}

.vd-c-list > .comment:first-child {
	border-top: none;
	padding-top: 4px;
}

.vd-c-list .children {
	list-style: none;
	margin: 10px 0 0;
	padding: 0 0 0 14px;
	border-left: 2px solid var(--vd-border);
}

.vd-c-list .children .comment {
	padding: 12px 0;
}

/* Collapsed long threads: hide top-level comments beyond the first five. */
.vd-c-list.is-collapsed .vd-c-extra {
	display: none;
}

.vd-c-viewall {
	display: block;
	margin: 14px auto 0;
	padding: 9px 22px;
	font-size: 13px;
	font-weight: 700;
	color: var(--vd-primary);
	background: var(--vd-primary-soft);
	border: none;
	border-radius: 999px;
	cursor: pointer;
	transition: filter .2s;
}

.vd-c-viewall:hover {
	filter: brightness(0.97);
}

.vd-c-viewall[hidden] {
	display: none;
}

.vd-c-list .comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--vd-text);
}

.vd-c-list .comment-author .avatar {
	border-radius: 50%;
	flex: none;
}

.vd-c-list .comment-author .fn {
	font-style: normal;
}

.vd-c-list .comment-author .says {
	display: none;
}

.vd-c-list .commentmetadata {
	font-size: 12.5px;
	color: var(--vd-text-3);
	margin-top: 6px;
}

.vd-c-list .commentmetadata a {
	color: var(--vd-text-3);
}

.vd-c-list .commentmetadata a:hover {
	color: var(--vd-primary);
}

.vd-c-list .comment-body p {
	margin-top: 10px;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--vd-text-2);
}

.vd-c-list .reply {
	font-size: 12.5px;
}

.vd-c-list .reply a {
	color: var(--vd-primary);
	font-weight: 600;
	cursor: pointer;
}

/* Inline reply box (form inside each comment card) */
.vd-c-reply {
	margin-top: 10px;
}

.vd-c-reply-hint {
	display: inline-block;
	margin-bottom: 8px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	color: var(--vd-primary);
	background: var(--vd-primary-soft);
	border-radius: 999px;
}

.vd-c-reply-form {
	display: none;
	margin-top: 10px;
	padding: 12px;
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: 12px;
}

.vd-c-list .children .vd-c-reply-form {
	background: var(--vd-inset);
}

.vd-c-reply.open .vd-c-reply-form {
	display: block;
}

.vd-c-reply-form textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 74px;
	resize: vertical;
	padding: 10px 12px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.6;
	color: var(--vd-text);
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: 10px;
	outline: none;
	transition: all .2s;
}

.vd-c-list .children .vd-c-reply-form textarea {
	background: var(--vd-card);
}

.vd-c-reply-form textarea:focus {
	border-color: var(--vd-primary-border);
	background: var(--vd-inset);
	box-shadow: 0 0 0 3px var(--vd-primary-soft);
}

.vd-c-reply-fields {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

.vd-c-reply-fields input {
	flex: 1;
	min-width: 0;
	padding: 9px 12px;
	font-size: 13.5px;
	color: var(--vd-text);
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: 10px;
	outline: none;
	transition: all .2s;
}

.vd-c-list .children .vd-c-reply-fields input {
	background: var(--vd-card);
}

.vd-c-reply-fields input:focus {
	border-color: var(--vd-primary-border);
	box-shadow: 0 0 0 3px var(--vd-primary-soft);
}

.vd-c-reply-actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	margin: 10px 0 0;
}

.vd-c-reply-cancel {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: var(--vd-text-3);
	transition: color .2s;
}

.vd-c-reply-cancel:hover {
	color: var(--vd-text);
}

.vd-c-reply-submit {
	padding: 9px 22px;
	font-size: 13.5px;
}

/* Logged-in notice (only present when the visitor is signed in) */
.vd-c-form .logged-in-as {
	font-size: 13.5px;
	color: var(--vd-text-2);
	margin: 0 0 14px;
}

.vd-c-form .logged-in-as a {
	color: var(--vd-primary);
	font-weight: 600;
}

/* Star rating picker (mirrors product.css) */
.vd-rating-pick-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin: 0 0 12px;
}

.vd-rating-pick-wrap > label {
	font-weight: 700;
	font-size: 14px;
	color: var(--vd-text-2);
}

.vd-c-form .vd-rating-pick-wrap {
	margin: 0 0 14px;
}

/* Reply mode hides the star picker (article.js sets [hidden]); the
   display:flex rule above would otherwise override the attribute. */
.vd-rating-pick-wrap[hidden] {
	display: none;
}

.vd-rating-pick {
	position: relative;
	display: inline-flex;
	direction: rtl;
	gap: 4px;
}

.vd-rating-pick input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.vd-rating-pick label {
	cursor: pointer;
	color: var(--vd-border);
	line-height: 0;
	transition: color .15s;
}

.vd-rating-pick label svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
	stroke: currentColor;
}

.vd-rating-pick label:hover,
.vd-rating-pick label:hover ~ label,
.vd-rating-pick input:checked ~ label {
	color: var(--vd-amber);
}

/* Star rating shown on each review (own line, above the text) */
.vd-c-rate-val {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-bottom: 8px;
	color: var(--vd-amber);
}

.vd-c-rate-val svg {
	width: 16px;
	height: 16px;
}

.vd-c-rate-val b {
	margin-left: 5px;
	font-size: 13px;
	font-weight: 800;
	color: var(--vd-text);
}

/* AJAX submit feedback */
.vd-c-notice {
	margin-bottom: 12px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 600;
}

.vd-c-notice.is-ok {
	background: var(--vd-green-soft);
	border: 1px solid rgba(22, 163, 74, .3);
	color: var(--vd-green);
}

.vd-c-notice.is-err {
	background: var(--vd-red-soft);
	border: 1px solid rgba(220, 38, 38, .3);
	color: var(--vd-red);
}

/* Flash highlight for a freshly submitted comment */
.vd-c-new {
	animation: vd-c-flash 2.4s ease;
}

@keyframes vd-c-flash {
	0%,
	40% {
		border-color: var(--vd-primary);
		box-shadow: 0 0 0 3px var(--vd-primary-soft);
	}
	100% {
		box-shadow: 0 0 0 0 transparent;
	}
}

.vd-c-empty {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 34px 20px;
	border: 1.5px dashed var(--vd-border);
	border-radius: 14px;
	color: var(--vd-text-3);
	text-align: center;
}

.vd-c-empty svg {
	color: var(--vd-text-3);
	opacity: .6;
}

.vd-c-empty b {
	font-size: 15px;
	font-weight: 700;
	color: var(--vd-text-2);
}

.vd-c-empty span {
	font-size: 13px;
}

.vd-c-form-wrap {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--vd-border);
}

.vd-c-form-title {
	font-size: 16px;
	font-weight: 800;
	margin-bottom: 14px;
}

.vd-c-form .comment-form-author,
.vd-c-form .comment-form-email,
.vd-c-form .comment-form-url,
.vd-c-form .comment-form-comment {
	margin-bottom: 12px;
}

.vd-c-form label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--vd-text-2);
	margin-bottom: 6px;
}

.vd-c-form label .required {
	color: var(--vd-red);
}

.vd-c-form input[type="text"],
.vd-c-form input[type="email"],
.vd-c-form input[type="url"],
.vd-c-form textarea {
	width: 100%;
	border: 1px solid var(--vd-border);
	border-radius: 11px;
	background: var(--vd-inset);
	padding: 11px 14px;
	font-size: 14.5px;
	color: var(--vd-text);
	transition: all .2s;
	outline: none;
}

.vd-c-form input:focus,
.vd-c-form textarea:focus {
	border-color: var(--vd-primary-border);
	background: var(--vd-inset);
	box-shadow: 0 0 0 3px var(--vd-primary-soft);
}

.vd-c-form textarea {
	min-height: 110px;
	resize: vertical;
	line-height: 1.6;
}

.vd-c-form .form-submit {
	margin-top: 4px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.vd-c-closed {
	margin-top: 16px;
	font-size: 14px;
	color: var(--vd-text-3);
}

/* ---------- Comment submit button: empty-gate + posting spinner ---------- */

button.vd-btn {
	font-family: inherit;
}

.vd-c-form .form-submit button.vd-btn[disabled] {
	opacity: .45;
	cursor: not-allowed;
	box-shadow: none;
}

.vd-c-form .form-submit button.vd-btn[disabled]:hover {
	transform: none;
	box-shadow: none;
}

.vd-c-form .form-submit .vd-c-spin {
	width: 15px;
	height: 15px;
	border: 2px solid rgba(255, 255, 255, .4);
	border-top-color: #fff;
	border-radius: 50%;
	display: none;
	flex: none;
	animation: vd-c-spin .7s linear infinite;
}

.vd-c-form .form-submit button.vd-btn.is-loading .vd-c-spin {
	display: inline-block;
}

@keyframes vd-c-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vd-c-form .form-submit .vd-c-spin {
		animation-duration: 1.6s;
	}
}

/* ---------- Compact comment bar (input pill + like + count + rating) ---------- */

.vd-c-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	padding: 6px;
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: 999px;
}

.vd-c-bar-input {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 10px 16px;
	background: var(--vd-card);
	border: 1px solid var(--vd-border);
	border-radius: 999px;
	font-size: 13.5px;
	color: var(--vd-text-3);
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
}

.vd-c-bar-input:hover {
	border-color: var(--vd-primary-border);
	box-shadow: 0 0 0 3px var(--vd-primary-soft);
}

.vd-c-bar-input svg {
	flex: none;
}

.vd-c-bar-input span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vd-c-bar-stat {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 9px 12px;
	border: none;
	border-radius: 999px;
	background: transparent;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	color: var(--vd-text-2);
	cursor: pointer;
	transition: background .2s, color .2s;
}

.vd-c-bar-stat:hover {
	background: var(--vd-card);
	color: var(--vd-text);
}

/* The like button keeps its .vd-like-btn behaviour; fit it to the bar. */
.vd-c-bar .vd-like-btn {
	padding: 9px 12px;
	border: none;
	background: transparent;
}

.vd-c-bar .vd-like-btn:hover,
.vd-c-bar .vd-like-btn.is-liked {
	background: var(--vd-card);
	border: none;
}

/* ---------- Review / reply bottom sheet ---------- */

.vd-c-sheet {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.vd-c-sheet[hidden] {
	display: none;
}

.vd-c-sheet-ovl {
	position: absolute;
	inset: 0;
	background: rgba(16, 24, 40, .45);
	opacity: 0;
	transition: opacity .24s;
}

.vd-c-sheet.open .vd-c-sheet-ovl {
	opacity: 1;
}

.vd-c-sheet-panel {
	position: relative;
	width: 100%;
	max-width: 620px;
	max-height: 86vh;
	overflow-y: auto;
	background: var(--vd-card);
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -12px 40px rgba(16, 24, 40, .2);
	transform: translateY(100%);
	transition: transform .26s cubic-bezier(.22, .8, .36, 1);
}

.vd-c-sheet.open .vd-c-sheet-panel {
	transform: translateY(0);
}

.vd-c-sheet-head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px 12px;
	background: var(--vd-card);
	border-bottom: 1px solid var(--vd-border);
}

.vd-c-sheet-title {
	font-size: 16px;
	font-weight: 800;
}

.vd-c-sheet-x {
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 999px;
	font-size: 22px;
	line-height: 1;
	color: var(--vd-text-3);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all .2s;
}

.vd-c-sheet-x:hover {
	background: var(--vd-field);
	color: var(--vd-text);
}

.vd-c-sheet-body {
	padding: 16px 20px 20px;
}

.vd-c-sheet-hint {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 700;
	color: var(--vd-primary);
	background: var(--vd-primary-soft);
	border-radius: 999px;
}

.vd-c-sheet-hint[hidden] {
	display: none;
}

/* Keep the compact sheet clean: drop the cookie-consent row. */
.vd-c-sheet .comment-form-cookies-consent {
	display: none;
}

/* Lock page scroll while the sheet is open. */
body.vd-sheet-open {
	overflow: hidden;
}

/* ---------- Share & invite reviews ---------- */

/* Share button in the reviews card head (pushed to the right). */
.vd-c-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 700;
	font-family: inherit;
	color: var(--vd-text-2);
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: 999px;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.vd-c-share-btn:hover {
	color: var(--vd-primary);
	border-color: var(--vd-primary);
	background: var(--vd-primary-soft);
}
.vd-c-share-btn svg {
	flex: none;
}

/* Share sheet body content. */
.vd-share-desc {
	margin: 0 0 14px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--vd-text-2);
}
.vd-share-link-row {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}
.vd-share-link {
	flex: 1;
	min-width: 0;
	padding: 11px 12px;
	font-size: 13px;
	font-family: inherit;
	color: var(--vd-text-2);
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: 10px;
}
.vd-share-link:focus {
	outline: none;
	border-color: var(--vd-primary);
}
.vd-share-copy {
	flex: none;
	padding: 0 18px;
}

/* Social share buttons. */
.vd-share-social {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}
.vd-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px;
	font-size: 13.5px;
	font-weight: 700;
	font-family: inherit;
	color: #fff;
	border-radius: 10px;
	cursor: pointer;
	transition: filter .2s;
}
.vd-share-btn:hover {
	filter: brightness(1.08);
}
.vd-share-btn svg {
	flex: none;
}
.vd-share-btn.is-fb {
	background: #1877f2;
}
.vd-share-btn.is-tw {
	background: #0f1419;
}
.vd-share-btn.is-wa {
	background: #25d366;
}
.vd-share-btn.is-li {
	background: #0a66c2;
}

/* Review-invite signal (Trustpilot-style) under the reviews card head. */
.vd-invite-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 24px 0;
	padding: 12px 14px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--vd-text-2);
	background: var(--vd-inset);
	border: 1px solid var(--vd-border);
	border-radius: 10px;
}
.vd-invite-note-ico {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--vd-card);
	color: var(--vd-text-3);
}
.vd-invite-note.is-active .vd-invite-note-ico {
	color: var(--vd-primary);
	background: var(--vd-primary-soft);
}
.vd-invite-note-text {
	flex: 1;
}

/* ---------- Right sidebar: recent popular ---------- */

.vd-hot {
	margin-top: 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.vd-hot-item {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	padding: 9px 10px;
	margin: 0 -10px;
	border-radius: 11px;
	transition: background .2s;
}

.vd-hot-item:hover {
	background: var(--vd-inset);
}

.vd-hot-rank {
	width: 24px;
	height: 24px;
	border-radius: 8px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	background: var(--vd-field);
	color: var(--vd-text-3);
	margin-top: 2px;
}

.vd-hot-rank.top {
	background: var(--vd-primary-soft);
	color: var(--vd-primary);
}

.vd-hot-body {
	min-width: 0;
}

.vd-hot-title {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--vd-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .2s;
}

.vd-hot-item:hover .vd-hot-title {
	color: var(--vd-primary);
}

.vd-hot-body small {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11.5px;
	color: var(--vd-text-3);
	margin-top: 3px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
	.vd-art-title {
		font-size: 26px;
	}
}

@media (max-width: 920px) {
	.vd-article {
		padding: 24px 20px 22px;
	}

	.vd-art-title {
		font-size: 23px;
	}

	.vd-art-body h2 {
		font-size: 19px;
		margin-top: 28px;
	}
}

@media (max-width: 640px) {
	.vd-art-foot {
		flex-direction: column;
		align-items: flex-start;
	}

	/* 2x2 grid: the four pills (like/save/share/discuss) cannot shrink
	   below their min-content width on narrow screens, so a single flex
	   row overflows the card. Two columns always fit. */
	.vd-art-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		width: 100%;
	}

	.vd-art-act {
		justify-content: center;
	}

	/* Deep comment threads: keep a small indent so the hierarchy stays
	   readable on narrow screens (the list is divider-based, no cards). */
	.vd-c-list .comment {
		padding: 12px 0;
	}

	.vd-c-list .children {
		margin: 8px 0 0;
		padding-left: 12px;
	}

	/* Compact bar: let the input pill shrink, keep the stats tappable. */
	.vd-c-bar-stat {
		padding: 9px 10px;
	}

	/* Wide tables (e.g. the price-tier comparison): their min-content
	   width exceeds the card, so let them scroll inside the card instead
	   of overflowing the page and causing a horizontal scrollbar. */
	.vd-art-body table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}
