/* AMIR SUITE — Post Style */

body.single-post { background: #0a0b0d; }

.as-ps-article { background: #0a0b0d; color: #dbe4ee; }

.as-ps-hero {
	position: relative;
	width: 100%;
	max-height: 60vh;
	overflow: hidden;
}
.as-ps-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.as-ps-hero-fade {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10,11,13,0) 40%, #0a0b0d 100%);
}

.as-ps-wrap {
	max-width: 780px;
	margin: 0 auto;
	padding: 32px 20px 80px;
}

.as-ps-title {
	font-size: clamp(26px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.35;
	margin: 0 0 18px;
	color: #f3f6f9;
}

.as-ps-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	font-size: 13.5px; color: #9aa4b2;
	margin-bottom: 22px;
}
.as-ps-meta-label { color: #6e7681; margin-inline-end: 4px; }
.as-ps-meta-sep { color: #3a4048; }

.as-ps-google-source { margin-bottom: 28px; }
.as-ps-google-source-fallback {
	display: none; /* shown only if the real Google button never renders — see JS */
	color: #8ab4f8; text-decoration: none; font-size: 13.5px;
	border: 1px solid rgba(138,180,248,.35); border-radius: 999px;
	padding: 6px 14px;
}
.as-ps-google-source-fallback:hover { background: rgba(138,180,248,.08); }

.as-ps-content {
	font-size: 17.5px;
	line-height: 2;
	color: #ccd6e0;
}
.as-ps-content p { margin: 0 0 22px; }
.as-ps-content h2, .as-ps-content h3 { color: #f3f6f9; margin: 36px 0 16px; }
.as-ps-content img { max-width: 100%; border-radius: 14px; height: auto; }
.as-ps-content a { color: #4ee08a; text-decoration: underline; text-underline-offset: 3px; }
.as-ps-content blockquote {
	margin: 24px 0; padding: 4px 20px;
	border-inline-start: 3px solid #4ee08a;
	color: #aab4c0; font-style: italic;
}

.as-ps-share {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	margin: 40px 0 8px;
	padding-top: 24px;
	border-top: 1px solid rgba(255,255,255,.08);
}
.as-ps-share-label { color: #9aa4b2; font-size: 14px; margin-inline-end: 4px; }
.as-ps-share-btn {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13.5px; color: #dbe4ee; text-decoration: none;
	background: #16181c; border: 1px solid rgba(255,255,255,.08);
	border-radius: 999px; padding: 7px 16px; cursor: pointer;
	transition: transform .15s ease, border-color .15s ease;
}
.as-ps-share-btn:hover { transform: translateY(-1px); border-color: rgba(78,224,138,.4); }

/* ── Comments ── */
.as-ps-comments { margin-top: 56px; }
.as-ps-comments-heading { font-size: 20px; font-weight: 700; color: #f3f6f9; margin-bottom: 22px; }

.as-ps-comment-list, .as-ps-comment-list ul.children {
	list-style: none; margin: 0; padding: 0;
}
.as-ps-comment-list ul.children { padding-inline-start: 32px; margin-top: 16px; }

.as-ps-comment { margin-bottom: 20px; }
.as-ps-comment-row { display: flex; gap: 12px; }
.as-ps-comment-avatar img { border-radius: 50%; display: block; }
.as-ps-comment-body {
	flex: 1; min-width: 0;
	background: #14161a;
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 14px;
	padding: 14px 16px;
}
.as-ps-comment-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.as-ps-comment-author { font-weight: 700; color: #f3f6f9; font-size: 14.5px; }
.as-ps-comment-time { color: #6e7681; font-size: 12.5px; }
.as-ps-comment-pending { color: #e0b94e; font-size: 13px; margin: 4px 0; }
.as-ps-comment-text { color: #ccd6e0; font-size: 14.5px; line-height: 1.9; }
.as-ps-comment-text p:last-child { margin-bottom: 0; }

.as-ps-comment-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.as-ps-vote-btn {
	background: none; border: none; cursor: pointer;
	color: #9aa4b2; font-size: 13px;
	display: inline-flex; align-items: center; gap: 4px;
	padding: 2px 4px;
}
.as-ps-vote-btn:hover { color: #dbe4ee; }
.as-ps-vote-btn.is-voted { color: #4ee08a; }
.as-ps-reply-link a { color: #8ab4f8; font-size: 13px; text-decoration: none; }
.as-ps-reply-link a:hover { text-decoration: underline; }

.as-ps-comment-form { margin-top: 32px; }
.as-ps-comment-form p { margin: 0 0 14px; }
.as-ps-comment-textarea {
	width: 100%; box-sizing: border-box;
	background: #14161a; border: 1px solid rgba(255,255,255,.1);
	border-radius: 12px; color: #dbe4ee; font-size: 14.5px;
	padding: 12px 14px; resize: vertical;
}
.as-ps-comment-form input[type="text"],
.as-ps-comment-form input[type="email"],
.as-ps-comment-form input[type="url"] {
	width: 100%; box-sizing: border-box;
	background: #14161a; border: 1px solid rgba(255,255,255,.1);
	border-radius: 10px; color: #dbe4ee; font-size: 14px;
	padding: 10px 14px;
}
.as-ps-comment-form .form-submit input[type="submit"] {
	background: #4ee08a; color: #0a0b0d; font-weight: 700;
	border: none; border-radius: 999px; padding: 10px 26px;
	cursor: pointer; font-size: 14px;
}

@media (max-width: 600px) {
	.as-ps-wrap { padding: 22px 16px 60px; }
	.as-ps-comment-list ul.children { padding-inline-start: 16px; }
}
