﻿@charset "utf-8";

/* ==========================================================================
   ANINEWING board list skin
   Scope: all rules are namespaced under .anw-board to avoid leaking
   into other skins/layouts sharing the same page.
   ========================================================================== */

.anw-board {
	font-size: 13px;
	color: #333333;
}

.anw-board a {
	text-decoration: none;
	color: inherit;
}

/* -------------------- Category tabs -------------------- */

.anw-board-category {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	gap: 8px;
	list-style: none;
	margin: 0 0 16px;
	padding: 0 0 2px;
}

.anw-board-category::-webkit-scrollbar {
	height: 4px;
}

.anw-board-category::-webkit-scrollbar-thumb {
	background-color: #dddddd;
	border-radius: 4px;
}

.anw-board-category > li {
	flex: none;
	position: relative;
}

.anw-board-category > li > a {
	display: inline-block;
	white-space: nowrap;
	padding: 9px 16px;
	font-size: 13px;
	font-weight: 500;
	color: #555555;
	background-color: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 5px;
}

.anw-board-category > li.on > a {
	background-color: #336edc;
	border-color: #336edc;
	color: #ffffff;
}

.anw-board-category > li > a:hover {
	border-color: #336edc;
	color: #336edc;
}

.anw-board-category > li.on > a:hover {
	color: #ffffff;
}

.anw-board-category-sub {
	display: none;
}

/* -------------------- List container -------------------- */

.anw-board-list {
	background-color: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 5px;
	overflow: hidden;
}

.anw-board-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.anw-board-table .anw-col-no {
	width: 56px;
}

.anw-board-table .anw-col-author {
	width: 100px;
}

.anw-board-table .anw-col-date {
	width: 90px;
}

.anw-board-table .anw-col-count {
	width: 64px;
}

.anw-board-table .anw-col-check {
	width: 36px;
}

.anw-board-table thead th {
	background-color: #fafafa;
	border-bottom: 1px solid #e8e8e8;
	padding: 12px 6px;
	font-size: 13px;
	font-weight: 600;
	color: #444444;
	text-align: center;
	white-space: nowrap;
}

.anw-board-table thead th.anw-col-title {
	text-align: center;
}

.anw-board-table thead th a {
	color: inherit;
}

.anw-board-table tbody td {
	height: 36px;
	padding: 6px;
	border-bottom: 1px solid #eeeeee;
	font-size: 13px;
	color: #333333;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.anw-board-table tbody tr:last-child td {
	border-bottom: none;
}

.anw-board-table td.anw-col-title {
	text-align: left;
	padding-left: 10px;
	white-space: normal;
}

.anw-board-row:hover {
	background-color: #f8faff;
}

.anw-cate-badge {
	display: inline-block;
	margin-right: 6px;
	padding: 0;
	font-size: 11px;
	font-weight: 600;
	color: #336edc;
	background-color: transparent;
	vertical-align: middle;
}

.anw-title-link {
	font-size: 14px;
	font-weight: 400;
	color: #222222;
}

.anw-board-row:hover .anw-title-link {
	color: #336edc;
}

.anw-comment-count,
.anw-trackback-count {
	margin-left: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #336edc;
}

/* -------------------- Notice row -------------------- */

.anw-board-notice {
	background-color: #f4f8ff;
}

.anw-board-notice:hover {
	background-color: #eef4ff;
}

.anw-board-notice .anw-title-link {
	font-weight: 600;
}

.anw-badge-notice {
	display: inline-block;
	flex: none;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 600;
	color: #ffffff;
	background-color: #336edc;
	border-radius: 4px;
}

/* -------------------- Empty state -------------------- */

.anw-board-empty td {
	height: 120px;
	text-align: center;
	color: #999999;
	font-size: 13px;
	white-space: normal;
}

/* -------------------- Footer: search / pagination / actions -------------------- */

.anw-board-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
}

.anw-board-search {
	display: flex;
	align-items: center;
	gap: 6px;
	order: 1;
}

.anw-search-select {
	height: 38px;
	padding: 0 10px;
	font-size: 13px;
	color: #444444;
	background-color: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
}

.anw-search-input {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 12px;
	background-color: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
}

.anw-search-input:focus-within {
	border-color: #336edc;
}

.anw-search-input i {
	color: #999999;
	font-size: 13px;
}

.anw-search-input input {
	border: 0;
	outline: 0;
	font-size: 13px;
	width: 180px;
	color: #333333;
	background: transparent;
}

.anw-board-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	gap: 4px;
	order: 3;
	margin-top: 6px;
}

.anw-page-nav,
.anw-page-num,
.anw-page-current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 6px;
	font-size: 13px;
	border-radius: 4px;
}

.anw-page-nav {
	color: #666666;
	border: 1px solid #e5e7eb;
}

.anw-page-nav:hover {
	border-color: #336edc;
	color: #336edc;
}

.anw-page-nav-disabled,
.anw-page-nav-disabled:hover {
	color: #cccccc;
	border-color: #eeeeee;
	cursor: default;
}

.anw-page-num {
	color: #555555;
}

.anw-page-num:hover {
	color: #336edc;
}

.anw-page-current {
	background-color: transparent;
	color: #336edc;
	font-weight: 700;
}

.anw-board-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	order: 2;
}

.anw-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 36px;
	padding: 0 14px;
	font-size: 13px;
	color: #555555;
	background-color: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	cursor: pointer;
}

.anw-btn:hover {
	border-color: #336edc;
	color: #336edc;
}

.anw-btn-write {
	background-color: #ffffff;
	border-color: #336edc;
	color: #336edc;
}

.anw-btn-write:hover {
	background-color: #f4f8ff;
	border-color: #2a5cc0;
	color: #2a5cc0;
}

.anw-btn-icon {
	width: 36px;
	padding: 0;
	justify-content: center;
}

/* -------------------- Responsive: mobile -------------------- */

/* -------------------- Shared: empty state / thumbnails / badges / item checkbox -------------------- */

.anw-item-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 22px;
	height: 22px;
	cursor: pointer;
}

.anw-item-check .iCheck {
	width: 16px;
	height: 16px;
	margin: 0;
	cursor: pointer;
}

.anw-board-empty-block {
	padding: 60px 16px;
	text-align: center;
	color: #999999;
	font-size: 13px;
	background-color: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 5px;
}

.anw-thumb-ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #eef2fb, #dbe4f5);
	color: #9db0d6;
	font-size: 26px;
}

.anw-thumb-ph.anw-thumb-notice {
	background: linear-gradient(135deg, #dce7fd, #b9cdf7);
	color: #336edc;
}

.anw-cate-badge {
	display: inline-flex;
	align-items: center;
	flex: none;
	height: 20px;
	padding: 0 8px;
	font-size: 11px;
	font-weight: 600;
	color: #336edc;
	background-color: #eef3fd;
	border-radius: 4px;
	vertical-align: middle;
}

.anw-badge-new {
	flex: none;
	display: inline-flex;
	align-items: center;
	height: 18px;
	padding: 0 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .03em;
	color: #ffffff;
	background-color: #e5533d;
	border-radius: 3px;
}

.anw-col-title .anw-badge-new {
	margin-left: 6px;
	vertical-align: middle;
}

.anw-badge-update {
	flex: none;
	display: inline-flex;
	align-items: center;
	height: 18px;
	padding: 0 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .03em;
	color: #ffffff;
	background-color: #2f9e5b;
	border-radius: 3px;
}

.anw-col-title .anw-badge-update {
	margin-left: 6px;
	vertical-align: middle;
}

.anw-icon-secret,
.anw-icon-file {
	flex: none;
	font-size: 13px;
	color: #999999;
}

.anw-icon-secret {
	color: #6b7280;
}

.anw-icon-file {
	color: #336edc;
}

.anw-col-title .anw-icon-secret,
.anw-col-title .anw-icon-file {
	margin-left: 4px;
	vertical-align: middle;
}

/* -------------------- 웹진형 -------------------- */

.anw-zine {
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 5px;
	overflow: hidden;
}

.anw-zine-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px;
	border-bottom: 1px solid #eeeeee;
}

.anw-zine-item:last-child {
	border-bottom: 0;
}

.anw-zine-item:hover {
	background-color: #f8faff;
}

.anw-zine-link {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 18px;
	min-width: 0;
	flex: 1 1 auto;
}

.anw-zine-notice-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	background-color: #f4f8ff;
	border-bottom: 1px solid #eeeeee;
}

.anw-zine-notice-row:hover {
	background-color: #eef4ff;
}

.anw-zine-notice-link {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1 1 auto;
}

.anw-zine-notice-title {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	color: #222222;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.anw-zine-notice-row:hover .anw-zine-notice-title {
	color: #336edc;
}

.anw-zine-notice-meta {
	flex: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
	font-size: 12px;
	color: #999999;
}

.anw-zine-notice-meta .author {
	color: #666666;
	font-weight: 500;
}

.anw-zine-thumb {
	position: relative;
	width: 100%;
	height: 112px;
	border-radius: 4px;
	background-color: #eef2fb;
	overflow: hidden;
}

.anw-zine-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.anw-zine-body {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	justify-content: center;
}

.anw-zine-tags {
	display: flex;
	align-items: center;
	gap: 6px;
}

.anw-zine-title {
	font-size: 16px;
	font-weight: 600;
	color: #222222;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.anw-zine-item:hover .anw-zine-title {
	color: #336edc;
}

.anw-zine-excerpt {
	font-size: 13px;
	color: #777777;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.anw-zine-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 12px;
	color: #999999;
	margin-top: 2px;
}

.anw-zine-meta .author {
	color: #666666;
	font-weight: 500;
}

/* -------------------- 갤러리형 -------------------- */

.anw-gallery {
	display: grid;
	gap: 16px;
}

.anw-gallery-cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.anw-gallery-cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

.anw-gallery-cols-4 {
	grid-template-columns: repeat(4, 1fr);
}

.anw-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 5px;
	overflow: hidden;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}

.anw-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(15, 15, 20, .08);
	border-color: #336edc;
}

.anw-card-link {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1 1 auto;
}

.anw-card > .anw-item-check {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	background-color: rgba(255, 255, 255, .9);
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(15, 15, 20, .15);
}

.anw-card-thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	background-color: #eef2fb;
	overflow: hidden;
}

.anw-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.anw-card-ribbon {
	position: absolute;
	top: 10px;
	right: 10px;
}

.anw-card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 16px;
	flex: 1;
}

.anw-card-title {
	font-size: 14.5px;
	font-weight: 600;
	color: #222222;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.anw-card:hover .anw-card-title {
	color: #336edc;
}

.anw-card-desc {
	font-size: 12.5px;
	color: #999999;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.anw-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 10px;
	font-size: 11.5px;
	color: #999999;
}

.anw-card-meta .author {
	color: #666666;
	font-weight: 500;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.anw-card-stats {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.anw-card-stats span {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.anw-card-notice-row {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	background-color: #f4f8ff;
	border: 1px solid #d8e4fb;
	border-radius: 5px;
	transition: border-color .15s;
}

.anw-card-notice-row:hover {
	border-color: #336edc;
}

.anw-card-notice-link {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1 1 auto;
}

.anw-card-notice-title {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	color: #222222;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.anw-card-notice-row:hover .anw-card-notice-title {
	color: #336edc;
}

.anw-card-notice-meta {
	flex: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	font-size: 12px;
	color: #999999;
}

.anw-card-notice-meta .author {
	color: #666666;
	font-weight: 500;
}

.anw-card-notice-meta span {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

@media screen and (max-width: 480px) {
	.anw-card-notice-meta {
		display: none;
	}
}

/* -------------------- FAQ형 -------------------- */

.anw-faq {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.anw-faq-item {
	background-color: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 5px;
	overflow: hidden;
	transition: border-color .15s, box-shadow .15s;
}

.anw-faq-item[open] {
	border-color: #336edc;
	box-shadow: 0 4px 16px rgba(51, 110, 220, .08);
}

.anw-faq-notice {
	background-color: #f4f8ff;
}

.anw-faq-q {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 16px;
	cursor: pointer;
	list-style: none;
	font-size: 14px;
	color: #333333;
	user-select: none;
}

.anw-faq-q::-webkit-details-marker {
	display: none;
}

.anw-faq-q:hover {
	background-color: #f8faff;
}

.anw-faq-title-wrap {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.anw-faq-title {
	flex: 0 1 auto;
	min-width: 0;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.anw-faq-item[open] .anw-faq-title-wrap {
	align-items: flex-start;
}

.anw-faq-item[open] .anw-faq-title {
	white-space: normal;
}

.anw-faq-meta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	color: #999999;
}

.anw-faq-meta .author {
	font-weight: 600;
	color: #666666;
}

.anw-faq-chev {
	flex: 0 0 auto;
	color: #999999;
	transition: transform .2s ease;
}

.anw-faq-item[open] .anw-faq-chev {
	transform: rotate(180deg);
	color: #336edc;
}

.anw-faq-a {
	padding: 14px 16px 16px;
	border-top: 1px dashed #e8e8e8;
	background-color: #fafbfd;
}

.anw-faq-answer {
	font-size: 13.5px;
	line-height: 1.7;
	color: #555555;
	word-break: break-word;
}

.anw-faq-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid #eeeeee;
	font-size: 12px;
	color: #999999;
}

.anw-faq-actions span {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.anw-faq-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #336edc;
	font-weight: 700;
}

.anw-faq-link:hover {
	text-decoration: underline;
}

/* -------------------- Responsive: mobile (webzine / gallery / FAQ) -------------------- */

@media screen and (max-width: 720px) {

	.anw-zine-item {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 12px;
		padding: 12px;
	}

	.anw-zine-thumb {
		height: 80px;
	}

	.anw-zine-title {
		font-size: 14px;
	}

	.anw-zine-excerpt {
		display: none;
	}

	.anw-zine-notice-meta {
		display: none;
	}

	.anw-gallery-cols-2,
	.anw-gallery-cols-3,
	.anw-gallery-cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.anw-faq-q {
		padding: 12px 14px;
		flex-wrap: wrap;
		gap: 6px;
	}

	.anw-faq-title {
		flex: 1 1 100%;
		order: 2;
		white-space: normal;
	}

	.anw-faq-meta {
		order: 3;
		flex: 1 1 auto;
	}

	.anw-faq-chev {
		order: 4;
	}

	.anw-faq-a {
		padding: 12px 14px;
	}
}

@media screen and (max-width: 480px) {

	.anw-gallery-cols-2,
	.anw-gallery-cols-3,
	.anw-gallery-cols-4 {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 720px) {

	.anw-board-category > li > a {
		padding: 8px 14px;
		font-size: 13px;
	}

	.anw-board-table thead {
		display: none;
	}

	.anw-board-table,
	.anw-board-table tbody,
	.anw-board-table tr,
	.anw-board-table td {
		display: block;
		width: 100%;
	}

	.anw-board-table tbody tr {
		padding: 12px 14px;
	}

	.anw-board-table td {
		border-bottom: none;
		padding: 0;
		text-align: left;
		white-space: normal;
		height: auto;
	}

	.anw-board-table .anw-col-no,
	.anw-board-table .anw-col-check {
		display: none;
	}

	.anw-board-table td.anw-col-title {
		padding: 0 0 6px;
	}

	.anw-title-link {
		font-size: 14px;
	}

	.anw-board-table td.anw-col-author,
	.anw-board-table td.anw-col-date,
	.anw-board-table td.anw-col-count {
		display: inline-block;
		width: auto;
		font-size: 12px;
		color: #888888;
	}

	.anw-board-table td.anw-col-author::after,
	.anw-board-table td.anw-col-date::after {
		content: '\00b7';
		margin: 0 6px;
		color: #cccccc;
	}

	.anw-board-footer {
		flex-direction: column;
		align-items: stretch;
	}

	.anw-board-search {
		order: 1;
	}

	.anw-search-input input {
		width: auto;
		flex: 1 1 auto;
	}

	.anw-board-actions {
		order: 2;
		justify-content: flex-end;
	}

	.anw-board-pagination {
		order: 3;
	}
}
