* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:root {
    --color-primary: #208101;
}
body {
	font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.6;
	color: #333;
	background: #f5f5f5;
	padding: 20px;
	direction: rtl;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	background: white;
	padding: 20px;
}
header {
	border-bottom: 3px solid var(--color-primary);
	padding-bottom: 15px;
	margin-bottom: 20px;

    a {
        color: var(--color-primary);
        text-decoration: none;
    }
}
h1 {
	color: var(--color-primary);
	font-size: 1.8em;
}
h2 {
	color: #333;
	font-size: 1.4em;
	margin: 20px 0 10px;
}
.breadcrumb {
	font-size: 0.9em;
	color: #666;
	margin-bottom: 20px;
}
.breadcrumb a {
	color: var(--color-primary);
	text-decoration: none;
}
.breadcrumb a:hover {
	text-decoration: underline;
}
.pagination {
	margin: 20px 0;
	padding: 10px 0;
	text-align: center;
}
.pagination a,
.pagination span {
	padding: 5px 10px;
	margin: 0 2px;
	text-decoration: none;
	color: var(--color-primary);
	border: 1px solid #ddd;
	background: white;
  display: inline-block;
  margin: 0.2rem;
}
.pagination .current {
	background: var(--color-primary);
	color: white;
	border-color: var(--color-primary);
}
.pagination a:hover {
	background: #f0f0f0;
}
.archive-notice {
	background: #fff9e6;
	border: 1px solid #ffd700;
	padding: 10px;
	margin-bottom: 20px;
	border-radius: 3px;
}

.forum-list {
	list-style: none;
}
.forum-item {
	border: 1px solid #ddd;
	margin-bottom: 10px;
	padding: 15px;
	background: #fafafa;
	border-radius: 3px;
}
.forum-item:hover {
	background: #f0f0f0;
}
.forum-title {
	font-size: 1.2em;
	font-weight: bold;
	color: var(--color-primary);
	text-decoration: none;
	display: block;
	margin-bottom: 5px;
}
.forum-title:hover {
	text-decoration: underline;
}
.forum-desc {
	color: #666;
	font-size: 0.95em;
	margin-bottom: 8px;
}
.forum-stats {
	font-size: 0.85em;
	color: #999;
}

.topic-list {
	list-style: none;
}
.topic-item {
	border: 1px solid #ddd;
	margin-bottom: 8px;
	padding: 12px;
	background: white;
	border-radius: 3px;
}
.topic-item:hover {
	background: #fafafa;
}
.topic-title {
	font-weight: bold;
	color: var(--color-primary);
	text-decoration: none;
	font-size: 1.05em;
}
.topic-title:hover {
	text-decoration: underline;
}
.topic-meta {
	font-size: 0.85em;
	color: #999;
	margin-top: 5px;
}
.topic-type-sticky {
	background: #fffacd;
}
.topic-type-announce {
	background: #e6f2ff;
}
.post-list {
	list-style: none;
}
.post {
	border: 1px solid #ddd;
	margin-bottom: 15px;
	border-radius: 3px;
	background: white;
	display: flex;
}
.post-author {
	width: 180px;
	background: #f5f5f5;
	padding: 15px;
	border-right: 1px solid #ddd;
	text-align: center;
}
.post-author-name {
	font-weight: bold;
	color: var(--color-primary);
	margin-bottom: 10px;
}
.post-date {
  color: #555555;
  font-size: smaller;
}

.post-author-stats {
	font-size: 0.85em;
	color: #666;
	margin-top: 10px;
}
.post-content {
	flex: 1;
	padding: 15px;
}
.post-header {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #eee;
	font-size: 0.85em;
	color: #999;
}
.post-body {
	line-height: 1.6;
	color: #333;
	margin-bottom: 10px;
}
.post-signature {
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #eee;
	font-size: 0.85em;
	color: #666;
}
@media (max-width: 768px) {
	.post {
		flex-direction: column;
	}
	.post-author {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #ddd;
	}
}

.phpbb-red {
	color: #ee0000;
}
.phpbb-green {
	color: #007700;
}
.phpbb-blue {
	color: #0000cc;
}
/* secondary */
.phpbb-purple {
	color: #8800bb;
}
.phpbb-yellow {
	color: #ffcc00;
}
.phpbb-turquoise {
	color: #00cccc;
}

img {
  max-width: 100%;
}

blockquote {
	margin-left: 1rem;
	background-color: #eeeeee;
	padding: 1rem;
}

input {
    height: 2rem;
    border-radius: 0.2rem;
    border: 1px solid #555555;
    padding: 0 0.4rem;
}
button {
    height: 2rem;
    border-radius: 0.2rem;
    padding: 0 1rem;
    background:var(--color-primary);
    color: #ffffff;
    border: 0;

    &:hover {
        background: lch(from var(--color-primary) calc(l + 10) c h);
    }
}
