@charset "UTF-8";

/* Notice/News Page */
.notice-news {
	position: relative;
	min-height: 100vh;
	padding: 180px 0 120px;
	overflow: hidden;
}

/* Background Gradient */
.notice-news .bg-gradient {
	position: absolute;
	top: -812px;
	left: 0;
	width: 100%;
	height: 2492px;
	background: radial-gradient(31.69% 92.97% at 130.76% 44.48%, #DF1B2A 0%, #171717 100%);
	z-index: -1;
}

/* Section Header */
.notice-news .section-header {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-bottom: 120px;
}

.notice-news .section-title {
	font-size: 64px;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
}

.notice-news .section-sub {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.notice-news .section-desc {
	font-size: 28px;
	font-weight: 400;
	color: #ABABAB;
}

/* Filter Bar */
.notice-news .filter-area form {
	display: flex;
	align-items: center;
	gap: 32px;
}

.notice-news .filter-dropdown {
	position: relative;
	width: 284px;
}

.notice-news .category-select {
	width: 100%;
	height: 51px;
	padding: 0 48px 0 16px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 10px;
	font-size: 18px;
	color: #fff;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
}

.notice-news .category-select option {
	background: #171717;
	color: #fff;
}

.notice-news .search-box {
	position: relative;
	width: 284px;
}

.notice-news .search-box input {
	width: 100%;
	height: 51px;
	padding: 0 48px 0 16px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 10px;
	color: #fff;
	font-size: 18px;
	outline: none;
}

.notice-news .search-box input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.notice-news .btn-search {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}

/* Notice List */
.notice-news .notice-list {
	border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.notice-news .notice-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 32px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	transition: background 0.3s;
}

.notice-news .notice-item:hover {
	background: rgba(255, 255, 255, 0.03);
}

.notice-news .notice-info {
	display: flex;
	align-items: center;
	gap: 24px;
	flex: 1;
}

.notice-news .notice-category {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 25px;
	font-size: 24px;
	color: #fff;
	white-space: nowrap;
	flex-shrink: 0;
}

.notice-news .notice-title {
	font-size: 28px;
	font-weight: 700;
	color: #fff;
	line-height: 1.4;
}

.notice-news .notice-date {
	font-size: 28px;
	font-weight: 400;
	color: #CACACA;
	white-space: nowrap;
}

/* Empty State */
.notice-news .empty-state {
	padding: 80px 0;
	text-align: center;
}

.notice-news .empty-state p {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.5);
}

/* Pagination */
.notice-news .pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 60px;
}

.notice-news .pagination .page-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
}

.notice-news .pagination .page-num {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	padding: 4px 8px;
	transition: color 0.3s;
}

.notice-news .pagination .page-num.active {
	color: rgba(237, 28, 43, 1);
}

/* ==================== */
/* View Page Styles     */
/* ==================== */
.notice-view .view-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	margin-bottom: 120px;
}

.notice-view .view-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 26px;
	height: 42px;
	border-radius: 25px;
	border: 1px solid #fff;
	color: #fff;
	font-size: 24px;
}

.notice-view .view-title {
	font-size: 64px;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
}

.notice-view .view-date {
	font-size: 20px;
	color: #CACACA;
}

/* View Content */
.notice-view .view-content {
	display: flex;
	flex-direction: column;
	gap: 60px;
	margin-bottom: 80px;
}

.notice-view .view-body {
	font-size: 18px;
	line-height: 1.8;
	color: #fff;
}

.notice-view .view-body img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}

.notice-view .view-body p {
	margin-bottom: 20px;
}

.notice-view .view-body h2,
.notice-view .view-body h3,
.notice-view .view-body h4 {
	margin: 40px 0 20px;
	color: #fff;
}

/* Attachments */
.notice-view .view-files {
	padding: 30px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 16px;
}

.notice-view .view-files h4 {
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 16px;
}

.notice-view .view-files ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.notice-view .view-files li a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.7);
	transition: color 0.3s;
}

.notice-view .view-files li a:hover {
	color: #fff;
}

/* Prev/Next Navigation */
.notice-view .view-pagination {
	display: flex;
	flex-direction: column;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	margin-bottom: 40px;
}

.notice-view .page-link {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: background 0.3s;
}

.notice-view .page-link:last-child {
	border-bottom: none;
}

.notice-view .page-link:hover {
	background: rgba(255, 255, 255, 0.03);
}

.notice-view .page-link .label {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.5);
	min-width: 60px;
}

.notice-view .page-link .title {
	font-size: 18px;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* List Button */
.notice-view .view-actions {
	display: flex;
	justify-content: center;
}

.notice-view .btn-list {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	height: 56px;
	border: 1px solid #fff;
	border-radius: 28px;
	font-size: 18px;
	font-weight: 500;
	color: #fff;
	transition: all 0.3s;
}

.notice-view .btn-list:hover {
	background: #fff;
	color: #171717;
}

/* ==================== */
/* Responsive Styles    */
/* ==================== */
@media (max-width: 1024px) {
	.notice-news {
		padding: 140px 0 80px;
	}

	.notice-news .section-header {
		gap: 24px;
		margin-bottom: 40px;
	}

	.notice-news .section-title {
		font-size: 48px;
	}

	.notice-news .section-sub {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}

	.notice-news .section-desc {
		font-size: 20px;
	}

	.notice-news .filter-area form {
		width: 100%;
		gap: 16px;
	}

	.notice-news .filter-dropdown,
	.notice-news .search-box {
		width: auto;
		max-width: 400px;
	}

	.notice-news .search-box {
		flex: 1;
	}

	.notice-news .category-select {
		height: 44px;
		font-size: 16px;
	}

	.notice-news .search-box input {
		height: 44px;
		font-size: 16px;
	}

	.notice-news .notice-title {
		font-size: 20px;
	}

	.notice-news .notice-date {
		font-size: 16px;
	}

	.notice-news .notice-category {
		width: 90px;
		font-size: 16px;
		height: 32px;
	}

	/* View Page */
	.notice-view .view-header {
		gap: 24px;
		margin-bottom: 60px;
	}

	.notice-view .view-tag {
		font-size: 16px;
		padding: 0 16px;
		height: 32px;
	}

	.notice-view .view-title {
		font-size: 32px;
	}

	.notice-view .view-date {
		font-size: 16px;
	}

	.notice-view .view-content {
		gap: 40px;
		margin-bottom: 60px;
	}

	.notice-view .view-body {
		font-size: 16px;
	}
}

@media (max-width: 767px) {
	.notice-news {
		padding: 120px 0 60px;
	}

	.notice-news .section-header {
		gap: 16px;
		margin-bottom: 40px;
	}

	.notice-news .section-title {
		font-size: 32px;
	}

	.notice-news .section-desc {
		font-size: 16px;
	}

	.notice-news .filter-area form {
		width: 100%;
		gap: 10px;
	}

	.notice-news .filter-dropdown {
		width: auto;
	}

	.notice-news .category-select {
		height: 44px;
		font-size: 14px;
		width: auto;
	}

	.notice-news .search-box {
		width: auto;
		flex: 1;
	}

	.notice-news .search-box input {
		height: 44px;
		font-size: 14px;
	}

	.notice-news .notice-item {
		display: grid;
		grid-template-columns: auto 1fr;
		padding: 16px 0;
		gap: 20px;
	}

	.notice-news .notice-info {
		display: contents;
	}

	.notice-news .notice-category {
		grid-column: 1;
		grid-row: 1;
		width: auto;
		height: 24px;
		padding: 0 10px;
		font-size: 14px;
	}

	.notice-news .notice-date {
		grid-column: 2;
		grid-row: 1;
		font-size: 14px;
		text-align: right;
	}

	.notice-news .notice-title {
		grid-column: 1 / -1;
		grid-row: 2;
		font-size: 16px;
		word-break: keep-all;
	}

	.notice-news .pagination {
		margin-top: 40px;
	}

	/* View Page */
	.notice-view .view-header {
		gap: 16px;
		margin-bottom: 40px;
	}

	.notice-view .view-tag {
		font-size: 14px;
		padding: 0 14px;
		height: 28px;
	}

	.notice-view .view-title {
		font-size: 24px;
	}

	.notice-view .view-date {
		font-size: 14px;
	}

	.notice-view .view-content {
		gap: 30px;
		margin-bottom: 40px;
	}

	.notice-view .view-body {
		font-size: 15px;
	}

	.notice-view .view-files {
		padding: 20px;
	}

	.notice-view .page-link {
		padding: 16px 0;
		gap: 16px;
	}

	.notice-view .page-link .label {
		font-size: 13px;
	}

	.notice-view .page-link .title {
		font-size: 14px;
	}

	.notice-view .btn-list {
		width: 100%;
		max-width: 200px;
	}
}
