.wp-pca-community-page {
	max-width: 1080px;
	margin: 0 auto;
	padding: 34px 20px 64px;
	color: #172033;
}

.wp-pca-community-page * {
	box-sizing: border-box;
}

.wp-pca-community-hero,
.wp-pca-board-head,
.wp-pca-panel,
.wp-pca-post-list,
.wp-pca-board-card {
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	background: #fff;
}

.wp-pca-community-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 18px;
	padding: 30px;
}

.wp-pca-community-hero p,
.wp-pca-board-head > div > a,
.wp-pca-back-link {
	display: inline-block;
	margin: 0 0 7px;
	color: #0f766e;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.wp-pca-community-hero h1,
.wp-pca-board-head h1,
.wp-pca-panel h1,
.wp-pca-mypage-head h1 {
	margin: 0;
	font-size: 31px;
	line-height: 1.22;
	letter-spacing: 0;
}

.wp-pca-community-hero span,
.wp-pca-board-head p,
.wp-pca-mypage-head p {
	display: block;
	margin-top: 8px;
	color: #697586;
}

.wp-pca-button,
.wp-pca-login-form button,
.wp-pca-community-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border: 0;
	border-radius: 6px;
	background: #0f766e;
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.wp-pca-button-subtle {
	background: #e6fffb;
	color: #0f766e;
}

.wp-pca-account-box {
	min-width: 260px;
	padding: 16px;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	background: #f8fafc;
}

.wp-pca-account-box span {
	display: block;
	margin-bottom: 6px;
	color: #697586;
	font-size: 13px;
	font-weight: 800;
}

.wp-pca-account-box strong {
	display: block;
	margin-bottom: 12px;
	line-height: 1.45;
}

.wp-pca-account-actions {
	display: flex;
	gap: 8px;
}

.wp-pca-board-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}

.wp-pca-board-card {
	display: flex;
	flex-direction: column;
	min-height: 152px;
	padding: 20px;
	color: #172033;
	text-decoration: none;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.wp-pca-board-card:hover {
	border-color: #0f766e;
	box-shadow: 0 10px 24px rgba(15, 118, 110, 0.08);
	transform: translateY(-2px);
}

.wp-pca-board-card-market {
	background: #f0fdfa;
}

.wp-pca-board-card h2,
.wp-pca-panel h2 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.32;
}

.wp-pca-board-card p,
.wp-pca-empty {
	margin: 0;
	color: #697586;
	font-size: 14px;
	line-height: 1.55;
}

.wp-pca-board-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
	padding: 24px;
}

.wp-pca-post-list {
	overflow: hidden;
}

.wp-pca-post-row {
	padding: 18px 22px;
	border-bottom: 1px solid #edf1f6;
}

.wp-pca-post-row:last-child {
	border-bottom: 0;
}

.wp-pca-post-row h2 {
	margin: 0 0 7px;
	font-size: 18px;
	line-height: 1.35;
}

.wp-pca-post-row a {
	color: #101828;
	text-decoration: none;
}

.wp-pca-post-row p {
	margin: 0 0 8px;
	color: #4b5563;
	line-height: 1.58;
}

.wp-pca-post-row span,
.wp-pca-table-row small {
	color: #697586;
	font-size: 13px;
}

.wp-pca-panel {
	margin-bottom: 18px;
	padding: 26px;
}

.wp-pca-login-panel,
.wp-pca-write-panel {
	max-width: 720px;
	margin: 0 auto;
}

.wp-pca-login-form,
.wp-pca-community-form {
	display: grid;
	gap: 15px;
	margin-top: 22px;
}

.wp-pca-login-form label,
.wp-pca-community-form label {
	display: grid;
	gap: 7px;
	font-weight: 800;
}

.wp-pca-login-form input[type="text"],
.wp-pca-login-form input[type="password"],
.wp-pca-community-form input,
.wp-pca-community-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 11px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	color: #172033;
}

.wp-pca-community-form textarea {
	min-height: 220px;
	resize: vertical;
}

.wp-pca-login-form .wp-pca-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.wp-pca-error {
	padding: 12px 14px;
	border-radius: 6px;
	background: #fef3f2;
	color: #b42318;
}

.wp-pca-success {
	padding: 12px 14px;
	border-radius: 6px;
	background: #ecfdf3;
	color: #027a48;
	font-weight: 800;
}

.wp-pca-mypage-head {
	margin-bottom: 18px;
}

.wp-pca-table {
	border: 1px solid #edf1f6;
	border-radius: 8px;
	overflow: hidden;
}

.wp-pca-table-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	border-bottom: 1px solid #edf1f6;
	color: #101828;
	text-decoration: none;
}

.wp-pca-table-row:last-child {
	border-bottom: 0;
}

.wp-pca-table-row > div:first-child {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.wp-pca-table-title,
.wp-pca-table-row span {
	color: #101828;
	font-weight: 800;
	text-decoration: none;
}

.wp-pca-row-actions,
.wp-pca-post-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.wp-pca-mini-button,
.wp-pca-inline-delete button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 11px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	color: #344054;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.wp-pca-inline-delete {
	margin: 0;
}

.wp-pca-inline-delete button {
	border-color: #fecaca;
	background: #fff5f5;
	color: #b42318;
}

.wp-pca-random-post-image {
	margin: 0 0 24px;
	border-radius: 8px;
	background: #f1f5f9;
	text-align: center;
}

.wp-pca-community-page .wp-pca-random-post-image img,
.wp-pca-random-post-image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	border-radius: 8px;
	object-fit: contain;
}

.wp-pca-form-actions {
	margin: 4px 0 0;
}

.wp-pca-pagination {
	margin-top: 26px;
	text-align: center;
}

.wp-pca-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	margin: 0 3px;
	border: 1px solid #d7dde6;
	border-radius: 6px;
	color: #344054;
	text-decoration: none;
}

.wp-pca-pagination .current {
	border-color: #0f766e;
	background: #0f766e;
	color: #fff;
}

@media (max-width: 980px) {
	.wp-pca-board-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.wp-pca-community-page {
		padding: 22px 14px 48px;
	}

	.wp-pca-community-hero,
	.wp-pca-board-head {
		align-items: stretch;
		flex-direction: column;
		padding: 22px;
	}

	.wp-pca-community-hero h1,
	.wp-pca-board-head h1,
	.wp-pca-panel h1,
	.wp-pca-mypage-head h1 {
		font-size: 27px;
	}

	.wp-pca-board-grid {
		grid-template-columns: 1fr;
	}

	.wp-pca-board-card {
		min-height: auto;
	}

	.wp-pca-button,
	.wp-pca-login-form button,
	.wp-pca-community-form button {
		width: 100%;
	}

	.wp-pca-account-box {
		width: 100%;
	}

	.wp-pca-account-actions {
		flex-direction: column;
	}

	.wp-pca-table-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.wp-pca-row-actions {
		width: 100%;
	}

	.wp-pca-mini-button,
	.wp-pca-inline-delete,
	.wp-pca-inline-delete button {
		width: 100%;
	}
}
