.navbar .toggle-notify {
	position: relative;
	text-decoration: none;
}
.navbar .toggle-notify.has-unread::after {
	content: "";
	position: absolute;
	top: 3px;
	right: 3px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ff4d4f;
	box-shadow: 0 0 0 2px #fff;
}

body.post-type-archive-ripro_notice:not(.dark-open),
body.tax-notice_cat:not(.dark-open),
body.post-type-archive-ripro_notice:not(.dark-open) .site,
body.tax-notice_cat:not(.dark-open) .site,
body.post-type-archive-ripro_notice:not(.dark-open) .site-content,
body.tax-notice_cat:not(.dark-open) .site-content,
body.post-type-archive-ripro_notice:not(.dark-open) .site-footer,
body.tax-notice_cat:not(.dark-open) .site-footer {
	background: #fff;
}
body.post-type-archive-ripro_notice .site,
body.tax-notice_cat .site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
body.post-type-archive-ripro_notice .site-header,
body.tax-notice_cat .site-header {
	box-shadow: none;
	border-bottom: 1px solid #eef1f4;
}
@media (min-width: 992px) {
	body.post-type-archive-ripro_notice .header-gap,
	body.tax-notice_cat .header-gap {
		height: 80px;
	}
}
body.post-type-archive-ripro_notice .site-content,
body.tax-notice_cat .site-content {
	flex: 1 0 auto;
	padding-top: 20px;
	padding-bottom: 28px;
}
body.post-type-archive-ripro_notice .site-footer,
body.tax-notice_cat .site-footer,
body.post-type-archive-ripro_notice .site-footer .footer-widget,
body.tax-notice_cat .site-footer .footer-widget {
	margin-top: 0;
	background: transparent;
}

.notice-page {
	padding: 0;
}
.notice-panel {
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	padding: 0;
}
.notice-page-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.notice-page-title h1 {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.3;
}
.notice-page-title p {
	margin: 0;
	color: #8b98a5;
	font-size: 13px;
	line-height: 1.6;
}
.notice-ack {
	flex: 0 0 auto;
	margin: 0;
}
.notice-ack button {
	height: 28px;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: #243140;
	color: #fff;
	font-size: 12px;
	cursor: pointer;
	white-space: nowrap;
}
.notice-read {
	flex: 0 0 auto;
	color: #8b98a5;
	font-size: 12px;
}
.notice-ack button:hover {
	background: #111827;
}
.notice-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 18px 0 0;
	padding: 0;
	border-bottom: 1px solid #eef1f4;
}
.notice-cats a {
	position: relative;
	padding: 10px 12px;
	color: #7b8794;
	font-size: 14px;
	text-decoration: none;
}
.notice-cats a.is-active {
	color: #243140;
	font-weight: 700;
}
.notice-cats a.is-active::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: -1px;
	height: 2px;
	border-radius: 2px;
	background: #243140;
}
.notice-list {
	margin: 4px -12px 0;
}
.notice-item {
	padding: 16px 12px;
	border-radius: 10px;
}
.notice-item:hover {
	background: #f6f8fa;
}
.notice-item-top {
	display: flex;
	align-items: center;
	gap: 10px;
}
.notice-cat-tag {
	flex: 0 0 auto;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(59, 118, 246, .1);
	color: #3b76f6;
	font-size: 12px;
	line-height: 20px;
}
.notice-item h2 {
	flex: 1 1 auto;
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}
.notice-item time {
	flex: 0 0 auto;
	color: #8b98a5;
	font-size: 12px;
}
.notice-item-body {
	margin-top: 8px;
	padding-left: 0;
	color: #5c6b7a;
	font-size: 14px;
	line-height: 1.75;
}
.notice-item-body > :last-child {
	margin-bottom: 0;
}
.notice-empty {
	margin: 28px 0 16px;
	color: #8b98a5;
}
.notice-pagination {
	margin: 8px 0 12px;
}
.notice-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.notice-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 10px;
	border-radius: 8px;
	background: #f4f6f8;
	color: #34495e;
	font-size: 13px;
	text-decoration: none;
}
.notice-pagination .page-numbers.current {
	background: #243140;
	color: #fff;
}

body.dark-open.post-type-archive-ripro_notice,
body.dark-open.tax-notice_cat,
body.dark-open.post-type-archive-ripro_notice .site-content,
body.dark-open.tax-notice_cat .site-content,
body.dark-open.post-type-archive-ripro_notice .site-footer,
body.dark-open.tax-notice_cat .site-footer,
body.dark-open.post-type-archive-ripro_notice .site-header,
body.dark-open.tax-notice_cat .site-header {
	background: #202634;
}
body.dark-open.post-type-archive-ripro_notice .site-header,
body.dark-open.tax-notice_cat .site-header {
	border-bottom-color: rgba(255, 255, 255, .08);
}
.dark-open .notice-panel {
	background: transparent;
	box-shadow: none;
}
.dark-open .notice-page-title p,
.dark-open .notice-item time,
.dark-open .notice-empty {
	color: #9aa6b2;
}
.dark-open .notice-cats {
	border-bottom-color: rgba(255, 255, 255, .08);
}
.dark-open .notice-cats a {
	color: #9aa6b2;
}
.dark-open .notice-cats a.is-active {
	color: #e9ecef;
}
.dark-open .notice-cats a.is-active::after {
	background: #e9ecef;
}
.dark-open .notice-item:hover {
	background: rgba(255, 255, 255, .04);
}
.dark-open .notice-item-body {
	color: #c6cfd8;
}
.dark-open .notice-cat-tag {
	background: rgba(59, 118, 246, .18);
	color: #8eb0ff;
}
.dark-open .notice-ack button {
	background: #e9ecef;
	color: #202634;
}
.dark-open .notice-pagination .page-numbers {
	background: rgba(255, 255, 255, .06);
	color: #c6cfd8;
}
.dark-open .notice-pagination .page-numbers.current {
	background: #e9ecef;
	color: #202634;
}
.dark-open .navbar .toggle-notify.has-unread::after {
	box-shadow: 0 0 0 2px #293042;
}

@media (max-width: 767px) {
	.notice-page-head {
		align-items: flex-start;
		flex-direction: column;
	}
	.notice-cats {
		margin-right: 0;
		margin-left: 0;
		padding: 0;
	}
	.notice-item-top {
		flex-wrap: wrap;
	}
	.notice-item h2 {
		flex-basis: calc(100% - 86px);
		order: 2;
	}
	.notice-item time {
		order: 3;
		margin-left: 0;
	}
}
