/* Single article page */
.single-page {
	position: relative;
	padding: 60px 0 90px;
	background: radial-gradient(circle at 12% 10%, rgba(198, 164, 59, 0.12), transparent 28%), radial-gradient(circle at 85% 22%, rgba(67, 83, 255, 0.14), transparent 30%);
}

.single-shell {
	position: relative;
	z-index: 1;
}

.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.82fr);
	gap: 28px;
	align-items: start;
}

.single-content,
.toc-box,
.article-section,
.share-box,
.post-navigation a,
.related-posts,
.comments-area {
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
	box-shadow: var(--shadow);
	backdrop-filter: blur(14px);
}

.single-content {
	padding: 34px;
	border-radius: 30px;
}

.article-header {
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.single-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: 24px;
	align-items: stretch;
	margin-bottom: 26px;
}

.single-intro-side {
	display: grid;
	gap: 18px;
}

.single-media-header {
	display: grid;
	gap: 22px;
}

.single-intro-grid > .toc-box {
	align-self: start;
	position: sticky;
	top: 110px;
}

.article-badge {
	display: inline-grid;
	place-items: center;
	margin-bottom: 16px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(198, 164, 59, 0.1);
	color: #f6d875;
	font-size: 13px;
	font-weight: 900;
}

.article-header h1 {
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 900;
	line-height: 1.45;
}

.article-summary,
.article-section p,
.comments-area p,
.related-card p {
	color: rgba(255, 255, 255, 0.65);
	line-height: 2.1;
}

.article-meta {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.article-meta span {
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.055);
	color: rgba(255, 255, 255, 0.68);
	font-size: 13px;
}

.featured-placeholder {
	aspect-ratio: 16 / 9;
	min-height: 0;
	margin: 0;
	display: grid;
	place-items: center;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 28px;
	background: radial-gradient(circle at 20% 20%, rgba(198, 164, 59, 0.35), transparent 35%), linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
	text-align: center;
}

.featured-placeholder img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	border-radius: 28px;
	object-fit: cover;
}

.featured-placeholder strong {
	display: block;
	margin-bottom: 10px;
	color: #fff;
	font-size: clamp(34px, 6vw, 58px);
	font-weight: 900;
}

.featured-placeholder span {
	color: rgba(255, 255, 255, 0.65);
}

.toc-box,
.article-section,
.share-box,
.related-posts,
.comments-area {
	margin-bottom: 22px;
	padding: 24px;
	border-radius: 22px;
}

.comments-area {
	overflow: hidden;
}

.single-intro-grid .toc-box {
	margin-bottom: 0;
}

.article-body-section {
	display: grid;
	gap: 26px;
}

.article-block {
	scroll-margin-top: 120px;
}

.toc-box {
	border-color: rgba(198, 164, 59, 0.22);
}

.toc-box h2,
.article-section h2,
.share-box h3,
.related-posts h3,
.comments-area h3 {
	margin: 0 0 16px;
	color: #fff;
	font-weight: 900;
}

.toc-box ol,
.article-section ul,
.article-section ol {
	margin: 0;
	padding-right: 22px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 2;
}

.toc-box a,
.article-section a {
	color: #f6d875;
}

.article-section h3 {
	margin: 22px 0 10px;
	color: #f6d875;
}

.article-section blockquote {
	margin: 22px 0;
	padding: 18px 22px;
	border-right: 3px solid #C6A43B;
	border-radius: 16px;
	background: rgba(198, 164, 59, 0.08);
	color: rgba(255, 255, 255, 0.76);
	line-height: 2;
}

.info-box,
.warning-box {
	margin: 22px 0;
	padding: 18px;
	border-radius: 18px;
}

.info-box {
	border: 1px solid rgba(67, 233, 134, 0.24);
	background: rgba(67, 233, 134, 0.08);
}

.warning-box {
	border: 1px solid rgba(255, 196, 20, 0.28);
	background: rgba(255, 196, 20, 0.09);
}

.article-table {
	width: 100%;
	margin: 22px 0;
	border-collapse: collapse;
	overflow: hidden;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
}

.article-table th,
.article-table td {
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.72);
	text-align: right;
}

.article-table th {
	color: #f6d875;
	background: rgba(255, 255, 255, 0.06);
}

.middle-placeholder {
	min-height: 210px;
	margin: 26px 0;
	display: grid;
	place-items: center;
	border: 1px dashed rgba(198, 164, 59, 0.45);
	border-radius: 22px;
	background: rgba(198, 164, 59, 0.06);
	color: rgba(255, 255, 255, 0.65);
}

.share-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.share-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.share-actions a,
.share-actions button,
.comments-area button,
.comments-area .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	padding: 11px 16px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(145deg, #ffe56b, #C6A43B);
	color: #1d1604;
	font-weight: 900;
	cursor: pointer;
	transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.share-actions a:hover,
.share-actions button:hover,
.comments-area button:hover,
.comments-area .submit:hover,
.share-actions a:focus-visible,
.share-actions button:focus-visible,
.comments-area button:focus-visible,
.comments-area .submit:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(198, 164, 59, 0.26);
	filter: brightness(1.05);
}

.comments-area button:disabled,
.comments-area .submit:disabled {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

.post-navigation {
	margin-bottom: 22px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.post-navigation a {
	padding: 20px;
	border-radius: 20px;
}

.post-navigation span {
	display: block;
	margin-bottom: 6px;
	color: rgba(255, 255, 255, 0.5);
	font-size: 13px;
}

.post-navigation strong {
	color: #fff;
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.related-card a {
	display: block;
	height: 100%;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
}

.related-card h4 {
	margin: 0 0 10px;
	color: #fff;
}

.form-row {
	margin-bottom: 14px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.comments-area input,
.comments-area textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.055);
	color: #fff;
	outline: 0;
}

.comments-area textarea {
	resize: vertical;
}

.comments-area .comment-form {
	margin: 0;
}

.comments-title {
	margin: 22px 0 14px;
	color: #fff;
	font-size: 16px;
	font-weight: 900;
}

.comment-list {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin: 0;
	padding: 0 24px 0 0;
	list-style: none;
}

.comment-list .comment {
	margin-bottom: 14px;
}

.comment-list .comment-body {
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
}

.comment-list .children .comment-body {
	border-color: rgba(198, 164, 59, 0.15);
	background: rgba(198, 164, 59, 0.04);
}

.comment-list .comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.comment-list .comment-author .avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid rgba(198, 164, 59, 0.35);
	flex-shrink: 0;
}

.comment-list .comment-author .fn,
.comment-list .comment-author .fn a {
	color: #fff;
	font-weight: 900;
	font-size: 14px;
	text-decoration: none;
}

.comment-list .comment-author .says {
	display: none;
}

.comment-list .comment-meta {
	margin-bottom: 12px;
}

.comment-list .comment-meta a,
.no-comments-yet {
	color: rgba(255, 255, 255, 0.45);
	font-size: 12px;
	text-decoration: none;
}

.comment-list .comment-edit-link {
	color: #f6d875;
	font-size: 12px;
}

.comment-list .comment-body > p {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	line-height: 2;
	font-size: 14px;
}

.comment-list .reply {
	margin-top: 12px;
}

.comment-list .reply a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border: 1px solid rgba(198, 164, 59, 0.3);
	border-radius: 999px;
	background: transparent;
	color: #f6d875;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.comment-list .reply a:hover {
	background: rgba(198, 164, 59, 0.12);
	border-color: rgba(198, 164, 59, 0.5);
}

.comments-area .comment-form-comment,
.comments-area .comment-form-author,
.comments-area .comment-form-email,
.comments-area .comment-form-url,
.comments-area .comment-form-cookies-consent,
.comments-area .form-submit {
	margin: 0 0 14px;
}

.comments-area .comment-form-author,
.comments-area .comment-form-email,
.comments-area .comment-form-url {
	display: inline-block;
	width: calc(33.333% - 10px);
	vertical-align: top;
}

.comments-area .comment-form-author,
.comments-area .comment-form-email {
	margin-left: 12px;
}

.comments-area label {
	display: block;
	margin-bottom: 8px;
	color: rgba(255, 255, 255, 0.62);
}

.comments-area .comment-form-cookies-consent {
	display: flex;
	gap: 10px;
	align-items: center;
	color: rgba(255, 255, 255, 0.62);
}

.comments-area .comment-form-cookies-consent input {
	width: auto;
}

.comments-area input:focus,
.comments-area textarea:focus {
	border-color: rgba(198, 164, 59, 0.6);
}

.checkbox-row {
	display: flex;
	gap: 10px;
	align-items: center;
	color: rgba(255, 255, 255, 0.62);
}

.checkbox-row input {
	width: auto;
}

.single-sidebar {
	position: sticky;
	top: 90px;
	display: grid;
	gap: 18px;
}

@media (max-width: 980px) {
	.single-layout {
		grid-template-columns: 1fr;
	}

	.single-intro-grid {
		grid-template-columns: 1fr;
	}

	.single-intro-grid > .toc-box {
		position: static;
	}

	.single-sidebar {
		position: static;
	}

	.related-grid,
	.form-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.single-page {
		padding: 34px 0 64px;
	}

	.single-content {
		padding: 22px;
		border-radius: 24px;
	}

	.featured-placeholder {
		min-height: 220px;
	}

	.share-box,
	.post-navigation {
		grid-template-columns: 1fr;
		align-items: flex-start;
		flex-direction: column;
	}

	.article-table {
		display: block;
		overflow-x: auto;
	}
}

.article-body-section,
.article-block,
.entry-content,
.entry-content .wp-block-image {
	min-width: 0;
	max-width: 100%;
}

.entry-content .wp-block-image {
	overflow: hidden;
}

.entry-content .wp-block-image img {
	width: 100%;
	height: auto;
	display: block;
}
