/* Single Post Template Pro — Styles */

.spt-template-canvas { background-color: #05060a; }

/* ---------------- Breadcrumb ---------------- */
.spt-breadcrumb {
	font-size: 13px;
	color: #a9a6ad;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.spt-breadcrumb a {
	color: #a9a6ad;
	text-decoration: none;
	transition: color 0.3s ease;
}

.spt-breadcrumb a:hover {
	color: #d9a94e;
}

.spt-breadcrumb-sep {
	color: #5c6570;
}

.spt-breadcrumb-current {
	color: #d9a94e;
}

/* ---------------- Hero Banner ---------------- */
.spt-hero {
	position: relative;
	background-color: #0a0c11;
	background-size: cover;
	background-position: center;
	border-radius: 12px;
	overflow: hidden;
}

.spt-hero-overlay {
	position: absolute;
	inset: 0;
	background-color: #0a0c11;
}

.spt-hero-inner {
	position: relative;
	z-index: 1;
	padding: 50px 40px;
	box-sizing: border-box;
	max-width: 760px;
}

.spt-hero-meta-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 18px;
}

.spt-hero-category {
	background-color: #d9a94e;
	color: #1a1508;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 6px 14px;
	border-radius: 999px;
}

.spt-hero-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #c7c4cc;
}

.spt-hero-meta-icon {
	font-size: 12px;
}

.spt-hero-title {
	font-size: 38px;
	font-weight: 800;
	color: #f7f5f0;
	line-height: 1.25;
	margin: 0 0 16px 0;
}

.spt-hero-title-highlight {
	color: #d9a94e;
}

.spt-hero-excerpt {
	font-size: 15px;
	line-height: 1.7;
	color: #c7c4cc;
	margin: 0;
}

/* ---------------- Featured Image ---------------- */
.spt-featured-image-wrap {
	position: relative;
	aspect-ratio: 16/9;
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

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

/* ---------------- Post Content ---------------- */
.spt-content {
	font-size: 15px;
	line-height: 1.75;
	color: #c7c4cc;
}

.spt-content h2,
.spt-content h3,
.spt-content h4 {
	color: #f7f5f0;
	line-height: 1.35;
	margin: 34px 0 14px 0;
}

.spt-content h2 { font-size: 26px; font-weight: 700; }
.spt-content h3 { font-size: 21px; font-weight: 700; }
.spt-content h4 { font-size: 17px; font-weight: 700; }

.spt-content p {
	margin: 0 0 18px 0;
}

.spt-content a {
	color: #d9a94e;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.spt-content strong {
	color: #d9a94e;
	font-weight: 700;
}

.spt-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 10px 0;
}

.spt-content ul {
	margin: 0 0 20px 0;
	padding-left: 20px;
}

.spt-content ul li {
	margin-bottom: 8px;
}

/* Numbered list → gold circle-numbered step boxes, automatically */
.spt-content ol {
	counter-reset: spt-step;
	list-style: none;
	margin: 0 0 24px 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.spt-content ol li {
	counter-increment: spt-step;
	position: relative;
	background-color: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 16px 20px 16px 66px;
	margin: 0;
}

.spt-content ol li::before {
	content: counter(spt-step);
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: #d9a94e;
	color: #1a1508;
	font-weight: 700;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Table */
.spt-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 24px 0;
	font-size: 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	overflow: hidden;
}

.spt-content th,
.spt-content td {
	padding: 12px 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	text-align: left;
}

.spt-content th {
	background-color: rgba(217, 169, 78, 0.12);
	color: #f7f5f0;
	font-weight: 700;
}

.spt-content td {
	color: #c7c4cc;
}

/* Callout box (add "spt-callout" as an Additional CSS Class in the editor) */
.spt-content .spt-callout {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background-color: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 20px 22px;
	margin: 0 0 24px 0;
}

.spt-content .spt-callout::before {
	content: "💡";
	font-size: 20px;
	flex-shrink: 0;
}

/* Quote / final-thoughts box (native blockquote, or "spt-quote-box" class) */
.spt-content blockquote,
.spt-content .spt-quote-box {
	background-color: rgba(217, 169, 78, 0.08);
	border: 1px solid #d9a94e;
	border-radius: 8px;
	padding: 20px 24px;
	margin: 24px 0;
	color: #f7f5f0;
	font-style: italic;
	font-size: 15px;
}

.spt-content blockquote p,
.spt-content .spt-quote-box p {
	margin: 0;
}

/* ---------------- Sidebar boxes (shared) ---------------- */
.spt-sidebar-box {
	background-color: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 22px;
	box-sizing: border-box;
}

.spt-sidebar-title {
	font-size: 16px;
	font-weight: 700;
	color: #f7f5f0;
	margin: 0 0 16px 0;
}

/* Search */
.spt-search-form {
	position: relative;
	display: flex;
	gap: 8px;
}

.spt-search-input {
	flex: 1;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	padding: 11px 14px;
	font-size: 14px;
	color: #f7f5f0;
	outline: none;
	transition: border-color 0.3s ease;
}

.spt-search-input:focus {
	border-color: #d9a94e;
}

.spt-search-btn {
	width: 42px;
	flex-shrink: 0;
	background-color: #d9a94e;
	color: #1a1508;
	border: none;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}

.spt-search-btn:hover {
	background-color: #f0c46f;
}

/* Categories */
.spt-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.spt-cat-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spt-cat-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.spt-cat-link {
	color: #c7c4cc;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.spt-cat-link:hover {
	color: #d9a94e;
}

.spt-cat-count {
	background-color: rgba(217, 169, 78, 0.15);
	color: #d9a94e;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 9px;
	border-radius: 999px;
}

/* Recent posts */
.spt-rp-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.spt-rp-item {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.spt-rp-thumb {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	border-radius: 6px;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.05);
}

.spt-rp-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.spt-rp-item:hover .spt-rp-thumb img {
	transform: scale(1.08);
}

.spt-rp-thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 6px, rgba(255,255,255,0.02) 6px, rgba(255,255,255,0.02) 12px);
}

.spt-rp-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.spt-rp-title {
	font-size: 13px;
	font-weight: 600;
	color: #f7f5f0;
	line-height: 1.4;
	transition: color 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.spt-rp-date {
	font-size: 11px;
	color: #8a8794;
	margin-top: 4px;
}

/* ---------------- Help box ---------------- */
.spt-help-box {
	position: relative;
	background-color: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 24px;
	box-sizing: border-box;
}

.spt-help-icon {
	position: absolute;
	top: 20px;
	right: 20px;
	color: #d9a94e;
	font-size: 20px;
}

.spt-help-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.spt-help-title {
	font-size: 16px;
	font-weight: 700;
	color: #f7f5f0;
	margin-bottom: 2px;
}

.spt-help-subtitle {
	font-size: 18px;
	font-weight: 800;
	color: #d9a94e;
	margin-bottom: 12px;
}

.spt-help-desc {
	font-size: 13px;
	line-height: 1.6;
	color: #a9a6ad;
	margin: 0 0 18px 0;
}

.spt-help-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	color: #ffffff;
	text-decoration: none;
	padding: 12px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 10px;
	transition: filter 0.3s ease, transform 0.3s ease;
}

.spt-help-btn:hover {
	filter: brightness(1.1);
	transform: translateY(-2px);
}

.spt-help-btn-1 { background-color: #25d366; }
.spt-help-btn-2 { background-color: #229ed9; }

.spt-trust-list {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.spt-trust-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #c7c4cc;
}

.spt-trust-icon {
	color: #d9a94e;
	font-size: 14px;
	flex-shrink: 0;
}

.spt-trust-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ---------------- Share buttons ---------------- */
.spt-share-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.spt-share-title {
	font-size: 14px;
	font-weight: 600;
	color: #f7f5f0;
}

.spt-share-icons {
	display: flex;
	align-items: center;
	gap: 10px;
}

.spt-share-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.06);
	color: #f7f5f0;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}

.spt-share-icon:hover {
	background-color: #d9a94e;
	color: #1a1508;
	transform: translateY(-3px);
}

.spt-share-icon.spt-copied::after {
	content: "Copied!";
	position: absolute;
	transform: translateY(-38px);
	background: #1a1508;
	color: #d9a94e;
	font-size: 11px;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
}

/* ---------------- Tags ---------------- */
.spt-tags-row {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.spt-tags-title {
	font-size: 14px;
	font-weight: 600;
	color: #f7f5f0;
}

.spt-tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.spt-tag {
	background-color: rgba(255, 255, 255, 0.06);
	color: #c7c4cc;
	text-decoration: none;
	font-size: 12px;
	padding: 6px 14px;
	border-radius: 999px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.spt-tag:hover {
	background-color: #d9a94e;
	color: #1a1508;
}

/* ---------------- Post navigation ---------------- */
.spt-nav-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.spt-nav-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background-color: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 18px 20px;
	text-decoration: none;
	box-sizing: border-box;
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.spt-nav-card:hover {
	border-color: rgba(217, 169, 78, 0.5);
	transform: translateY(-3px);
}

.spt-nav-card.spt-nav-disabled {
	visibility: hidden;
}

.spt-nav-next {
	justify-content: flex-end;
	text-align: right;
}

.spt-nav-arrow {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.06);
	color: #f7f5f0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.spt-nav-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.spt-nav-text-right {
	align-items: flex-end;
}

.spt-nav-label {
	font-size: 11px;
	color: #8a8794;
	margin-bottom: 4px;
}

.spt-nav-title {
	font-size: 14px;
	font-weight: 700;
	color: #f7f5f0;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------------- Comment form ---------------- */
.spt-comment-box {
	background-color: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 26px;
	box-sizing: border-box;
}

.spt-comment-title {
	font-size: 18px;
	font-weight: 700;
	color: #f7f5f0;
	margin: 0 0 20px 0;
}

.spt-comment-form-wrap .comment-form {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.spt-comment-field {
	flex: 1 1 200px;
}

.spt-comment-field-full {
	flex: 1 1 100%;
}

.spt-comment-box input[type="text"],
.spt-comment-box input[type="email"],
.spt-comment-box input[type="url"],
.spt-comment-box textarea {
	width: 100%;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	padding: 12px 14px;
	font-size: 14px;
	color: #f7f5f0;
	font-family: inherit;
	outline: none;
	transition: border-color 0.3s ease;
}

.spt-comment-box textarea {
	resize: vertical;
	min-height: 110px;
}

.spt-comment-box input:focus,
.spt-comment-box textarea:focus {
	border-color: #d9a94e;
}

.spt-comment-box .form-submit {
	flex: 1 1 100%;
	margin: 4px 0 0 0;
}

.spt-comment-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #d9a94e;
	color: #1a1508;
	border: none;
	border-radius: 8px;
	padding: 14px 26px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}

.spt-comment-submit:hover {
	background-color: #f0c46f;
	transform: translateY(-2px);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 767px) {
	.spt-hero-inner { padding: 34px 22px; }
	.spt-hero-title { font-size: 26px; }
	.spt-nav-row { grid-template-columns: 1fr; }
	.spt-nav-next { justify-content: flex-start; text-align: left; }
	.spt-nav-text-right { align-items: flex-start; }
	.spt-comment-form-wrap .comment-form { flex-direction: column; }
}
