/* Public review and product-question pages. */
.community-page {
	padding-bottom: 88px;
}

.community-layout {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 34px;
	margin-top: 28px;
}

.community-nav {
	display: flex;
	flex-direction: column;
	align-self: start;
	gap: 2px;
	padding: 18px;
	border: 1px solid var(--line);
}

.community-nav strong {
	padding: 0 10px 12px;
	font-size: 17px;
}

.community-nav a {
	padding: 11px 10px;
	color: var(--ink);
	text-decoration: none;
}

.community-nav a:hover,
.community-nav a[aria-current] {
	background: #f0f6f2;
	color: var(--green);
}

.community-main {
	min-width: 0;
}

.community-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 20px;
	border-bottom: 2px solid var(--ink);
}

.community-heading p {
	margin: 0 0 6px;
	color: var(--green);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
}

.community-heading h1 {
	display: inline;
	margin: 0 12px 0 0;
	font-size: 28px;
}

.community-heading span,
.community-post-meta,
.community-product {
	color: var(--muted);
	font-size: 13px;
}

.community-search {
	display: flex;
	align-items: center;
	gap: 6px;
}

.community-search label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.community-search input {
	width: min(230px, 40vw);
	padding: 9px 11px;
	border: 1px solid var(--line);
	font: inherit;
}

.community-search button {
	padding: 10px 14px;
	border: 0;
	background: var(--green);
	color: #fff;
	font: inherit;
	cursor: pointer;
}

.community-empty {
	margin: 26px 0 0;
	padding: 46px 15px;
	border: 1px dashed var(--line);
	color: var(--muted);
	text-align: center;
}

.community-notice,
.community-ask-error {
	margin: 0 0 18px;
	padding: 13px 16px;
	border-left: 3px solid var(--green);
	background: #f0f6f2;
}

.community-ask-error {
	border-color: #bc4949;
	background: #fff4f4;
	color: #983030;
}

.community-filter-name {
	margin: 8px 0 0;
	color: var(--muted) !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
}

.community-question-action {
	display: flex;
	justify-content: flex-end;
	margin: 14px 0 0;
}

.community-question-action a,
.community-ask-actions button {
	padding: 11px 18px;
	border: 1px solid var(--green);
	background: var(--green);
	color: #fff;
	font: inherit;
	text-decoration: none;
	cursor: pointer;
}

.community-posts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.community-posts > li {
	padding: 22px 4px;
	border-bottom: 1px solid var(--line);
}

.community-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.community-rating {
	color: #e6a820;
	font-size: 19px;
	letter-spacing: 2px;
}

.community-answer-state {
	padding: 4px 7px;
	border: 1px solid var(--green);
	color: var(--green);
}

.community-post-detail {
	margin-top: 10px;
}

.community-post-detail summary {
	color: var(--ink);
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
}

.community-post-body,
.community-reply {
	margin-top: 14px;
	padding: 18px;
	background: #f7f8f7;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.community-reply {
	margin-top: 10px;
	padding-left: 26px;
	border-left: 3px solid var(--green);
}

.community-reply time {
	margin-left: 9px;
	color: var(--muted);
	font-size: 12px;
}

.community-reply p {
	margin: 9px 0 0;
}

.community-product {
	margin: 14px 0 0;
}

.community-product a {
	color: var(--green);
}

.community-delete {
	margin-top: 12px;
}

.community-delete button {
	padding: 5px 9px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--muted);
	font: inherit;
	font-size: 12px;
	cursor: pointer;
}

.community-ask {
	width: min(100%, 780px);
	margin: 28px auto 0;
}

.community-ask-eyebrow {
	margin: 0 0 8px;
	color: var(--green);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
}

.community-ask h1 {
	margin: 0 0 18px;
	font-size: 30px;
}

.community-ask-product {
	padding: 16px;
	border-top: 2px solid var(--ink);
	border-bottom: 1px solid var(--line);
}

.community-ask-product a {
	color: var(--green);
}

.community-ask-help,
.community-ask-form p {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
}

.community-ask-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 24px;
}

.community-ask-form label {
	font-weight: 700;
}

.community-ask-form input[type="text"],
.community-ask-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--line);
	font: inherit;
}

.community-ask-actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 20px;
	margin-top: 10px;
}

.community-ask-actions a {
	color: var(--muted);
}

.community-pagination {
	display: flex;
	justify-content: center;
	gap: 22px;
	padding-top: 26px;
}

.community-pagination a {
	color: var(--green);
}

@media (max-width: 760px) {
	.community-layout {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.community-nav {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}

	.community-nav strong {
		padding: 0 10px;
	}

	.community-heading {
		align-items: start;
		flex-direction: column;
	}

	.community-search,
	.community-search input {
		width: 100%;
	}
}
