/* SeBy Cerita & Tanya — Fase A+B+C */

.seby-feed-intro {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 1.25rem;
	margin: 0 0 1rem;
	padding: 1.15rem 1.25rem;
	border-radius: 10px;
	background: linear-gradient(135deg, #f8f3ee 0%, #f3ebe3 55%, #faf6f1 100%);
	border: 1px solid rgba(132, 81, 51, 0.22);
}

.seby-feed-intro__title {
	margin: 0 0 0.3rem;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	color: #3a2a1f;
	letter-spacing: -0.01em;
}

.seby-feed-intro__desc {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.45;
	color: #5c4a3d;
	max-width: 36rem;
}

/* Force visible CTA — theme link color matches #845133 button bg */
.seby-feed-intro__cta .ap-btn-ask,
.seby-feed-login-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	float: none !important;
	box-sizing: border-box;
	min-height: 42px;
	padding: 0.65rem 1.15rem !important;
	border-radius: 8px !important;
	background-color: #845133 !important;
	border: 1px solid #6e4329 !important;
	color: #ffffff !important;
	font-size: 0.95rem !important;
	font-weight: 650 !important;
	line-height: 1.2 !important;
	white-space: nowrap;
	text-decoration: none !important;
	box-shadow: 0 1px 2px rgba(58, 42, 31, 0.12);
}

.seby-feed-intro__cta .ap-btn-ask:hover,
.seby-feed-intro__cta .ap-btn-ask:focus,
.seby-feed-intro__cta .ap-btn-ask:visited,
.seby-feed-login-btn:hover,
.seby-feed-login-btn:focus,
.seby-feed-login-btn:visited {
	background-color: #6e4329 !important;
	color: #ffffff !important;
	text-decoration: none !important;
}

/* Type chips */
.seby-feed-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0 0 1rem;
}

.seby-feed-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(132, 81, 51, 0.28);
	background: #fff;
	color: #5c4a3d !important;
	font-size: 0.88rem;
	font-weight: 550;
	line-height: 1.2;
	text-decoration: none !important;
}

.seby-feed-chip:hover {
	border-color: #845133;
	color: #845133 !important;
}

.seby-feed-chip.is-active {
	background: #845133;
	border-color: #845133;
	color: #fff !important;
}

/* Feed card */
.seby-feed-card .seby-feed-type {
	display: inline-block;
	margin: 0 0 0.35rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: rgba(132, 81, 51, 0.1);
	color: #845133;
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.seby-feed-card .seby-feed-excerpt {
	margin: 0.4rem 0 0.55rem;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #4a5548;
}

.seby-feed-card .seby-feed-excerpt a {
	color: inherit;
	text-decoration: none;
}

.seby-feed-card .seby-feed-excerpt a:hover {
	color: #845133;
}

.seby-feed-card .ap-questions-title {
	display: block;
}

.seby-feed-reply {
	margin: 0 0 0.65rem;
	padding: 0.55rem 0.75rem;
	border-radius: 8px;
	background: #f7f5f2;
	border-left: 3px solid #845133;
	font-size: 0.88rem;
	line-height: 1.45;
}

.seby-feed-reply__label {
	display: block;
	margin-bottom: 0.15rem;
	color: #845133;
	font-weight: 650;
	font-size: 0.78rem;
}

.seby-feed-reply__text {
	color: #4a4038 !important;
	text-decoration: none !important;
}

.seby-feed-reply__text:hover {
	color: #845133 !important;
}

/* Hide leftover votes if theme/plugin reintroduces them */
.seby-feed-card .ap-questions-vcount {
	display: none !important;
}

/* Single posting: keep Astra title visible (was hidden by global Additional CSS) */
body.single-question .entry-header .entry-title {
	display: block !important;
	margin: 0 0 0.55rem;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-weight: 700;
	line-height: 1.3;
	color: #3a2a1f;
	letter-spacing: -0.01em;
}

body.single-question .entry-header .entry-meta {
	margin-bottom: 0.75rem;
	color: #8a7b6e;
	font-size: 0.88rem;
}

/* Hide vote column on single Q/A — removes empty right gutter */
#anspress .ap-single-vote,
#anspress .ap-vote {
	display: none !important;
}

#anspress .ap-content,
#anspress #answer-form-c {
	padding-right: 0 !important;
	margin-right: 0 !important;
}

/* Soften activity meta on cards */
.seby-feed-card .ap-display-question-meta,
.seby-feed-card .ap-post-history {
	color: #8a7b6e;
	font-size: 0.82rem;
}

.seby-feed-card .ap-display-question-meta a {
	color: inherit !important;
}

/* Empty state */
.seby-feed-empty {
	margin: 0.5rem 0 1.5rem;
	padding: 1.75rem 1.35rem;
	border-radius: 10px;
	border: 1px dashed rgba(132, 81, 51, 0.28);
	background: #faf7f4;
	text-align: center;
}

.seby-feed-empty__title {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: #3a2a1f;
}

.seby-feed-empty__desc {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #5c4a3d;
}

.seby-feed-empty__cta .ap-btn-ask,
.seby-feed-empty__cta .seby-feed-login-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	float: none !important;
	box-sizing: border-box;
	min-height: 42px;
	padding: 0.65rem 1.15rem !important;
	border-radius: 8px !important;
	background-color: #845133 !important;
	border: 1px solid #6e4329 !important;
	color: #ffffff !important;
	font-size: 0.95rem !important;
	font-weight: 650 !important;
	text-decoration: none !important;
}

/* Ask form helper copy */
#ap-ask-page .ap-field-desc,
#ap-ask-page .ap-form-desc {
	margin-top: 0.35rem;
	font-size: 0.88rem;
	line-height: 1.4;
	color: #6b5a4c;
}

@media (max-width: 600px) {
	.seby-feed-intro {
		padding: 1rem;
	}

	.seby-feed-intro__cta {
		width: 100%;
	}

	.seby-feed-intro__cta .ap-btn-ask,
	.seby-feed-login-btn,
	.seby-feed-empty__cta .ap-btn-ask,
	.seby-feed-empty__cta .seby-feed-login-btn {
		width: 100%;
	}
}
