/* ═══════════════════════════════════════════════════════════
   DMNT Single Post — v1.2.0
   ═══════════════════════════════════════════════════════════ */

.dmnt-sp-wrap *,
.dmnt-sp-wrap *::before,
.dmnt-sp-wrap *::after { box-sizing: border-box; }

.dmnt-sp-wrap {
	width: 100%;
	overflow-x: hidden;
	background: #fff;
}

.dmnt-sp-container,
.dmnt-sp-inner {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 1 — Two columns
   ═══════════════════════════════════════════════════════════ */
.dmnt-sp-main-section { padding: 36px 0 32px; }

.dmnt-sp-inner {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

/* Left — 50% */
.dmnt-sp-left {
	flex: 0 0 50%;
	max-width: 50%;
}

/* Right — remaining */
.dmnt-sp-right {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
/* Description stays left-aligned even when column is centered */
.dmnt-sp-description {
	width: 100%;
	text-align: left;
}

/* ── Slider ──────────────────────────────────────────────── */
.dmnt-sp-slider {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	background: #f2f2f2;
	aspect-ratio: 4 / 3;
	width: 100%;
}
.dmnt-sp-track {
	display: flex;
	height: 100%;
	transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}
.dmnt-sp-slide { flex: 0 0 100%; height: 100%; overflow: hidden; }
.dmnt-sp-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

body .dmnt-sp-arrow,
.dmnt-sp-wrap .dmnt-sp-arrow {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	background: #ffffff !important;
	color: #111111 !important;
	border: 2px solid #111111 !important;
	border-radius: 50% !important;
	width: 38px !important;
	height: 38px !important;
	font-size: 24px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 10 !important;
	padding: 0 !important;
	transition: background 0.2s, color 0.2s !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
body .dmnt-sp-arrow:hover,
.dmnt-sp-wrap .dmnt-sp-arrow:hover {
	background: #111111 !important;
	color: #ffffff !important;
}
.dmnt-sp-prev { left: 8px; }
.dmnt-sp-next { right: 8px; }

.dmnt-sp-dots {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	z-index: 10;
}
.dmnt-sp-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,0.55);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s, transform 0.2s;
}
.dmnt-sp-dot.active, .dmnt-sp-dot:hover { background: #fff; transform: scale(1.3); }

.dmnt-sp-single-img {
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #f2f2f2;
	width: 100%;
}
.dmnt-sp-single-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dmnt-sp-no-img {
	border-radius: 10px;
	aspect-ratio: 4 / 3;
	background: #f2f2f2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #bbb;
	font-size: 13px;
	width: 100%;
}

/* ── Logo — centered, bigger size ───────────────────────── */
.dmnt-sp-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}
.dmnt-sp-logo img {
	max-height: 220px;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

/* ── Social links — centered row ────────────────────────── */
.dmnt-sp-social {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: center;
	width: 100%;
}
.dmnt-sp-social-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none !important;
	transition: opacity 0.2s;
	line-height: 1;
}
.dmnt-sp-social-link svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}
.dmnt-sp-social-link:hover { opacity: 0.7; }
.dmnt-sp-fb  { color: #1877f2; }
.dmnt-sp-ig  { color: #c13584; }

/* ── Short Description ───────────────────────────────────── */
.dmnt-sp-description {
	font-size: 15px;
	line-height: 1.7;
	color: #333;
}
.dmnt-sp-description p { margin: 0 0 12px; }
.dmnt-sp-description p:last-child { margin-bottom: 0; }
/* Block any social plugin output that leaked through */
.dmnt-sp-description .sharedaddy,
.dmnt-sp-description [class*="social-share"],
.dmnt-sp-description [class*="sassy"],
.dmnt-sp-description [class*="addtoany"],
.dmnt-sp-description [id*="sharing"] { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   SECTION 2 — Long Description
   ═══════════════════════════════════════════════════════════ */
.dmnt-sp-long-desc-section {
	border-top: 1px solid #ebebeb;
	padding: 32px 0;
}

.dmnt-sp-long-description {
	font-size: 15px;
	line-height: 1.8;
	color: #333;
}
.dmnt-sp-long-description p { margin: 0 0 16px; }
.dmnt-sp-long-description p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════
   SECTION 3 — Comments list
   ═══════════════════════════════════════════════════════════ */
.dmnt-sp-comments-section {
	border-top: 1px solid #ebebeb;
	padding: 32px 0 8px;
}

.dmnt-sp-comments-heading {
	font-size: 17px;
	font-weight: 700;
	color: #111;
	margin: 0 0 20px;
	text-align: center;
}

/* No comments notice */
.dmnt-sp-no-comments-notice {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fffbef;
	border-left: 4px solid #d4af37;
	padding: 12px 16px;
	color: #666;
	font-size: 14px;
	border-radius: 0 6px 6px 0;
	margin-bottom: 12px;
}
.dmnt-sp-no-comments-notice svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Comment list */
.dmnt-sp-comments-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 20px;
}

/* Single comment — bordered card */
.dmnt-sp-comment {
	display: flex;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid #e4e4e4;
	border-radius: 6px;
	background: #fff;
	position: relative;
}

/* Hidden comments (> 5) */
.dmnt-sp-comment.dmnt-sp-hidden { display: none; }

/* Avatar */
.dmnt-sp-comment-avatar { flex-shrink: 0; }
.dmnt-sp-comment-avatar img,
.dmnt-avatar-img {
	width: 44px !important;
	height: 44px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	display: block !important;
}

/* Comment body */
.dmnt-sp-comment-body { flex: 1; min-width: 0; }

.dmnt-sp-comment-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 6px;
	font-size: 13px;
}
.dmnt-sp-comment-author { font-weight: 700; color: #111; }
.dmnt-sp-comment-date   { color: #999; }
.dmnt-edit-link a,
.dmnt-edit-link         { color: #999; font-size: 12px; text-decoration: none; }
.dmnt-edit-link a:hover { text-decoration: underline; }

.dmnt-sp-comment-text {
	font-size: 14px;
	color: #333;
	line-height: 1.6;
}
.dmnt-sp-comment-text p { margin: 0 0 4px; }
.dmnt-sp-comment-text p:last-child { margin-bottom: 0; }

/* Reply link — bottom right */
.dmnt-sp-comment-footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 8px;
}
.dmnt-reply-link a,
.dmnt-sp-comment-footer .comment-reply-link {
	font-size: 12px;
	color: #5b8dee;
	text-decoration: none;
}
.dmnt-reply-link a:hover,
.dmnt-sp-comment-footer .comment-reply-link:hover { text-decoration: underline; }

/* Show more */
.dmnt-sp-more-wrap { text-align: center; margin-bottom: 20px; }
.dmnt-sp-show-more-btn {
	display: inline-block;
	padding: 10px 28px;
	background: transparent;
	color: #d4af37;
	border: 2px solid #d4af37;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.2s, color 0.2s;
}
.dmnt-sp-show-more-btn:hover { background: #d4af37; color: #fff; }

/* ═══════════════════════════════════════════════════════════
   SECTION 4 — Comment form
   ═══════════════════════════════════════════════════════════ */
.dmnt-sp-form-section {
	padding: 0 0 48px;
}

/* Kill WordPress default form wrapper styles */
#respond,
.comment-respond {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: none !important;
}
/* Hide WP default headings / logged-in bar inside form */
#respond h3,
.comment-respond h3,
#respond .logged-in-as,
#respond .comment-notes { display: none !important; }

/* Our fields */
.dmnt-sp-field,
#commentform p.dmnt-sp-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0 0 14px !important;
	padding: 0 !important;
}
.dmnt-sp-field label { font-size: 13px; font-weight: 600; color: #222; }
.dmnt-sp-field .required { color: #d00; }

#comment  { border-style: solid; }
#author   { border-style: solid; }
#email    { border-style: solid; }

.elementor-kit-6 #commentform input:not([type="button"]):not([type="submit"]),
.elementor-kit-6 #commentform textarea,
body #commentform input[type="text"],
body #commentform input[type="email"],
body #commentform textarea,
.dmnt-sp-wrap #commentform input[type="text"],
.dmnt-sp-wrap #commentform input[type="email"],
.dmnt-sp-wrap #commentform textarea {
	width: 100% !important;
	padding: 9px 12px !important;
	border: 2px solid #111111 !important;
	border-radius: 5px !important;
	font-size: 14px !important;
	color: #333 !important;
	background: #fff !important;
	font-family: inherit !important;
	outline: none !important;
	box-shadow: none !important;
	transition: border-color 0.2s !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
body #commentform input[type="text"]:focus,
body #commentform input[type="email"]:focus,
body #commentform textarea:focus {
	border-color: #5b8dee !important;
	box-shadow: 0 0 0 2px rgba(91,141,238,0.15) !important;
}

body #commentform textarea,
.dmnt-sp-wrap #commentform textarea {
	resize: vertical !important;
	min-height: 130px !important;
}

/* Submit */
.dmnt-sp-submit-row,
#commentform .dmnt-sp-submit-row {
	margin: 4px 0 0 !important;
	padding: 0 !important;
}
.dmnt-sp-submit-btn,
#commentform input[type="submit"] {
	display: inline-block !important;
	padding: 10px 28px !important;
	background: #5b8dee !important;
	color: #fff !important;
	border: none !important;
	border-radius: 5px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	font-family: inherit !important;
	transition: background 0.2s !important;
	letter-spacing: 0.01em !important;
}
.dmnt-sp-submit-btn:hover,
#commentform input[type="submit"]:hover { background: #3d72d0 !important; }

.dmnt-sp-closed-notice { color: #999; font-style: italic; font-size: 14px; padding: 20px 0; }

/* ═══════════════════════════════════════════════════════════
   TABLET ≤ 900px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
	.dmnt-sp-inner { gap: 28px; }
	.dmnt-sp-left  { flex: 0 0 46%; max-width: 46%; }
	.dmnt-sp-main-section { padding: 24px 0 20px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE ≤ 767px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
	.dmnt-sp-container,
	.dmnt-sp-inner { padding-left: 16px; padding-right: 16px; }

	.dmnt-sp-inner { flex-direction: column; gap: 20px; }
	.dmnt-sp-left  { flex: none; max-width: 100%; width: 100%; }
	.dmnt-sp-right { gap: 14px; }

	.dmnt-sp-main-section      { padding: 16px 0 16px; }
	.dmnt-sp-long-desc-section { padding: 20px 0; }
	.dmnt-sp-comments-section  { padding: 24px 0 8px; }
	.dmnt-sp-form-section      { padding: 0 0 32px; }

	.dmnt-sp-comments-heading  { font-size: 16px; }

	.dmnt-sp-comment { padding: 12px 14px; gap: 10px; }

	.dmnt-sp-logo img {
		width: 100% !important;
		max-width: 100% !important;
		max-height: none !important;
		height: auto !important;
	}

	.dmnt-sp-arrow { width: 32px; height: 32px; font-size: 18px; }

	.dmnt-sp-social { gap: 12px; }
	.dmnt-sp-social-link { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════
   SMALL MOBILE ≤ 480px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
	.dmnt-sp-comment { gap: 8px; }
	.dmnt-sp-comment-avatar img,
	.dmnt-avatar-img { width: 36px !important; height: 36px !important; }
}
