
/* Typograpgy */
body, button, input, select, textarea { color: #444; font-family: 'Pretendard', 'Noto Sans KR', sans-serif; font-size: 16px; line-height: 1.75; }
h1, h2, h3, h4, h5, h6 { clear: both; color: #111; font-family: 'Pretendard', 'Noto Sans KR', sans-serif; line-height: 1.2; font-weight: 400; }

/* Structure */
.container { width: 100%; max-width: 1480px; }
.site-header {width:100%; aspect-ratio:1919 / 345;}
.site-header {background-image: url('/uploads/main/KakaoTalk_20260526_180853299.jpg'); background-repeat: no-repeat; background-size: contain; background-position:center;}

/* HOME */
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {padding: 0 24px; margin-bottom:24px;}
.row{margin: 0 -24px;clear: both;}

/* PHOTO GALLERY */
.fotos-gallery { padding-top: 8px; }
.fotos-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 24px; }
.fotos-tabs a { display: inline-flex; align-items: center; justify-content: center; min-width: 112px; height: 38px; padding: 0 14px; border: 1px solid #d7d7d7; border-radius: 5px; background: #fff; color: #666; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; }
.fotos-tabs a:hover, .fotos-tabs a:focus { border-color: #f75357; color: #f75357; }
.fotos-tabs a.is-active, .fotos-tabs a.is-active:hover, .fotos-tabs a.is-active:focus { border-color: #f75357; background: #f75357; color: #fff; }
.fotos-write-button, .fotos-write-button:visited { display: inline-flex; align-items: center; justify-content: center; min-width: 92px; height: 38px; padding: 0 14px; border: 1px solid #f75357; border-radius: 5px; background: #f75357; color: #fff; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; }
.fotos-write-button:hover, .fotos-write-button:focus { border-color: #333; background: #333; color: #fff; }
.fotos-search { display: flex; gap: 10px; align-items: center; margin: 0 0 24px; }
.fotos-search input { box-sizing: border-box; flex: 1; height: 42px; min-width: 180px; margin: 0; padding: 0 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; color: #444; font: inherit; line-height: 40px; }
.fotos-search button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: auto; min-width: 82px; height: 42px; padding: 0 24px; border: 1px solid #333; border-radius: 6px; background: #333; color: #fff; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; }
.fotos-search button:hover, .fotos-search button:focus { border-color: #f75357; background: #f75357; }
.fotos-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fotos-card { overflow: hidden; border: 1px solid #e5e5e5; border-radius: 8px; background: #fff; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.fotos-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); transform: translateY(-2px); }
.fotos-thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #f4f4f4; }
.fotos-thumb a { display: block; width: 100%; height: 100%; }
.fotos-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fotos-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #bbb; font-size: 32px; }
.fotos-card-body { padding: 13px 14px; }
.fotos-title { overflow: hidden; margin: 0 0 7px; color: #333; font-size: 16px; font-weight: 600; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.fotos-title a { color: inherit; text-decoration: none; }
.fotos-meta { display: flex; justify-content: space-between; gap: 8px; color: #888; font-size: 12px; }
.fotos-empty { padding: 56px 20px; border-top: 2px solid #444; border-bottom: 1px solid #e5e5e5; color: #888; text-align: center; }
.fotos-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 30px 0 48px; }
.fotos-pagination a, .fotos-pagination .is-current { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 9px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; color: #555; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; }
.fotos-pagination a:hover, .fotos-pagination a:focus { border-color: #f75357; background: #fff5f5; color: #f75357; }
.fotos-pagination .is-current { border-color: #f75357; background: #f75357; color: #fff; }
.fotos-pagination .pagination-arrow { font-size: 20px; font-weight: 400; }
.fotos-bottom-bar { position: relative; min-height: 38px; }
.fotos-bottom-bar .fotos-write-button { position: absolute; top: 0; right: 0; }
.fotos-bottom-bar.has-pagination .fotos-write-button { top: 0px; }
.fotos-view-actions { display: flex; justify-content: flex-end; gap: 5px; margin-top: 12px; }
.fotos-view-actions a, .fotos-view-actions button { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 42px; height: 28px; margin: 0; padding: 0 8px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; color: #666; font-size: 12px; font-weight: 600; line-height: 1; text-decoration: none; }
.fotos-view-actions form { display: inline-flex; margin: 0; }
.fotos-view-actions a:hover, .fotos-view-actions a:focus, .fotos-view-actions button:hover, .fotos-view-actions button:focus { border-color: #f75357; background: #fff5f5; color: #f75357; }
.fotos-write { max-width: 920px; }
.fotos-write-gallery { margin: -10px 0 22px; color: #777; font-size: 14px; }
.fotos-write-gallery strong { color: #f75357; font-weight: 700; }
.fotos-write-gallery span { color: #999; font-size: 12px; }
.fotos-write-errors { margin: 0 0 20px; padding: 12px 16px; border: 1px solid #f1c4c4; border-radius: 5px; background: #fff3f3; color: #a52a2a; font-size: 14px; }
.fotos-write-errors p { margin: 0; }
.fotos-write-form { margin-top: 10px; }
.fotos-write-form > p { margin: 0 0 20px; }
.fotos-write-form label { display: block; margin-bottom: 7px; color: #444; font-size: 14px; font-weight: 700; }
.fotos-write-form input[type="text"], .fotos-write-form textarea, .fotos-write-form input[type="file"] { box-sizing: border-box; width: 100%; margin: 0; border: 1px solid #ccc; border-radius: 5px; background: #fff; color: #444; font: inherit; }
.fotos-write-form input[type="text"] { height: 42px; padding: 0 12px; }
.fotos-write-form textarea { min-height: 180px; padding: 10px 12px; line-height: 1.65; }
.fotos-write-form input[type="file"] { padding: 9px 10px; font-size: 14px; }
.fotos-current-file { display: block; margin-top: 6px; color: #888; font-size: 12px; }
.fotos-current-file a { color: #666; }
.fotos-file-delete { display: inline-flex !important; align-items: center; gap: 5px; margin-top: 6px; color: #a55; font-size: 12px !important; font-weight: 400 !important; }
.fotos-file-delete input { width: auto !important; margin: 0 !important; }
.fotos-additional-files { margin: 0 0 20px; padding: 16px; border: 1px solid #e2e2e2; border-radius: 6px; background: #fafafa; }
.fotos-additional-files > strong { display: block; color: #444; font-size: 14px; }
.fotos-additional-files > p { margin: 4px 0 12px; color: #888; font-size: 12px; }
.fotos-additional-files > p label { margin-bottom: 6px; }
.fotos-fn-current-files { margin: 0 0 14px; padding: 0; list-style: none; }
.fotos-fn-current-files li { margin: 4px 0; color: #777; font-size: 12px; }
.fotos-fn-current-files a { color: #666; }
.fotos-fn-current-files label { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 0 8px; color: #a55; font-size: 12px; font-weight: 400; }
.fotos-fn-current-files input { width: auto !important; margin: 0 !important; }
.fotos-write-help { color: #888; font-size: 13px; }
.fotos-write-actions { display: flex; gap: 8px; }
.fotos-write-actions button, .fotos-write-actions a { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 92px; height: 42px; margin: 0; padding: 0 16px; border: 1px solid #f75357; border-radius: 5px; background: #f75357; color: #fff; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; }
.fotos-write-actions a { border-color: #ccc; background: #fff; color: #555; }
.fotos-write-actions button:hover, .fotos-write-actions button:focus { border-color: #333; background: #333; }
.fotos-write-actions a:hover, .fotos-write-actions a:focus { border-color: #999; background: #f5f5f5; color: #333; }
@media (max-width: 991px) { .fotos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .fotos-tabs { gap: 6px; margin-bottom: 20px; } .fotos-tabs a { flex: 1; min-width: 0; height: 36px; padding: 0 8px; font-size: 13px; } .fotos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .fotos-search { flex-wrap: wrap; } .fotos-search input { flex-basis: 100%; } .fotos-card-body { padding: 10px; } .fotos-title { font-size: 15px; } .fotos-pagination { gap: 5px; margin-bottom: 20px; } .fotos-pagination a, .fotos-pagination .is-current { min-width: 32px; height: 32px; padding: 0 7px; font-size: 14px; } .fotos-pagination .pagination-arrow { font-size: 17px; } .fotos-bottom-bar .fotos-write-button, .fotos-bottom-bar.has-pagination .fotos-write-button { position: static; float: right; margin-bottom: 36px; } .fotos-bottom-bar:after { display: block; clear: both; content: ''; } }

h2.title-line, h1.title-line {margin: 0 0 30px;letter-spacing: 2px;position: relative;display: block;text-transform: uppercase;font-weight:bold;}
.elm_line {position: absolute;top: 50%;left: 0;-moz-transform: translate(0%, -50%);-o-transform: translate(0%, -50%);-webkit-transform: translate(0%, -50%);transform: translate(0%, -50%);width: 60px;height: 2px;border-top: 1px solid #000;content: "";}

#content .container {z-index: 999;position: relative;}
#content .home_posts .thumb {display: block;margin: 0 0;background: #fff;padding: 0 0 66%;position: relative;overflow:hidden;border-radius:10px;}
#content .home_posts .thumb img {position:absolute;display: block;width: 100%;height: 100%;max-height: 491px;object-fit: cover;-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-o-transition: all 0.3s ease;transition: all 0.3s ease;opacity: 1;top:50%;transform:translate(0,-50%);}
#content .home_posts .thumb img:hover {-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-o-transition: all 0.3s ease;transition: all 0.3s ease;opacity: 0.8;}
#content .home_posts .post_meta, .thumb_copy {font-size: 16px;color: #777;}
.thumb_copy {display: block;margin: 5px 0 20px;font-size: 14px;}
#content .home_posts h5, .single h3.small_title {font-size: 16px;color: #000;margin: 12px 0 5px;padding: 0;line-height: 1.3;}
.post-comment-count { display: inline-flex; align-items: center; gap: 4px; margin-left: 7px; color: #999; font-size: 12px; font-weight: 600; line-height: 1; vertical-align: middle; white-space: nowrap; }
.post-comment-count .fa { color: #f75357; font-size: 11px; }
#content .home_posts .post_meta img {display: inline-block;vertical-align: middle;margin: 0 0 0 5px;}
#content .home_posts .small_posts_row {margin-bottom: 35px;}
#content .home_posts .small_posts h3 {font-size: 20px;line-height: 26px;margin: 0;}
#content .home_posts .small_posts h4 {font-size: 16px;line-height: 23px;margin: 0;}
#content .home_posts .small_posts .post {margin: 0;}
#content .home_posts .big_posts h3 {font-size: 26px;line-height: 28px;margin: 0 0 5px;}
#content .home_posts .big_posts h4 {font-size: 20px;line-height: 28px;margin: 0; font-weight:700;}
#content .post a:hover{color:#666;text-decoration:none;outline:0;}

#content .container.col-fl {display:flex;}

/* BOOKS */
.books_row{margin-top:40px;}
.book .thumb {display: block;margin: 0 0;background: #fff;padding: 0 0 100%;position: relative;overflow:hidden;border-radius:10px;}
.book .thumb img {position:absolute;display: block;width: 100%;height: 100%;max-height: 491px;object-fit: cover;-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-o-transition: all 0.3s ease;transition: all 0.3s ease;opacity: 1;top:50%;transform:translate(0,-50%);}
.book .thumb img:hover {-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-o-transition: all 0.3s ease;transition: all 0.3s ease;opacity: 0.8;}
#content .books_row .book h4{text-align: center;margin: 20px 0 25px;font-size: 20px;}

/* BOOKS는 표지의 원본 비율을 유지한다. */
.books-section .book .thumb { padding-bottom: 0; overflow: visible; background: transparent; }
.books-section .book .thumb a { display: block; }
.books-section .book .thumb img { position: static; width: 100%; height: auto; max-height: none; object-fit: initial; transform: none; }

/* CATEGORY PAGINATION */
.category-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 48px; }
.category-pagination a, .category-pagination .is-current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 9px;
	border: 1px solid #d5d5d5;
	border-radius: 4px;
	background: #fff;
	color: #555;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}
.category-pagination a:hover, .category-pagination a:focus { border-color: #f75357; background: #fff5f5; color: #f75357; }
.category-pagination .is-current { border-color: #f75357; background: #f75357; color: #fff; }
.category-pagination .pagination-arrow { font-size: 20px; font-weight: 400; }
@media (max-width: 480px) {
	.category-pagination { gap: 6px; }
	.category-pagination a, .category-pagination .is-current { min-width: 36px; height: 36px; padding: 0 8px; font-size: 15px; }
}

/* MEMBER MANAGEMENT */
.rule-page { max-width: 980px; }
.rule-content { color: #555; font-size: 16px; line-height: 1.8; word-break: break-word; }
.rule-content p { margin: 0 0 14px; }
.rule-content .rule-article-title { margin: 26px 0 8px; color: #000080; font-size: 18px; font-weight: 700; line-height: 1.45; }
.rule-content .rule-article-title:first-child { margin-top: 0; }
.rule-content h1, .rule-content h2, .rule-content h3, .rule-content h4 { margin-top: 1.8em; }
.rule-content h1:first-child, .rule-content h2:first-child, .rule-content h3:first-child, .rule-content h4:first-child { margin-top: 0; }
.rule-content img { max-width: 100%; height: auto; }
.rule-empty { padding: 40px 0; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; color: #999; text-align: center; }
.rule-actions { display: flex; justify-content: flex-end; margin-top: 28px; }
.rule-actions a { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; height: 36px; padding: 0 12px; border: 1px solid #ccc; border-radius: 5px; background: #fff; color: #555; font-size: 13px; font-weight: 600; line-height: 1; text-decoration: none; }
.rule-actions a:hover, .rule-actions a:focus { border-color: #f75357; background: #fff5f5; color: #f75357; }

/* CONTACT */
.contact-page { max-width: 980px; }
.contact-content { color: #555; font-size: 16px; line-height: 1.8; }
.contact-content p { margin: 0; }
.contact-intro { margin-bottom: 30px !important; }
.contact-section { margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px solid #e5e5e5; }
.contact-section h3 { margin: 0 0 8px; color: #000080; font-size: 18px; font-weight: 700; line-height: 1.45; }
.contact-section address { margin: 0; font-style: normal; }
.contact-section a { color: #444; text-decoration: none; }
.contact-section a:hover, .contact-section a:focus { color: #f75357; text-decoration: underline; }
.contact-note { margin-top: 30px !important; color: #777; }

/* ABOUT */
.info-page { max-width: 980px; }
.info-content { color: #555; font-size: 16px; line-height: 1.8; word-break: keep-all; }
.info-content p { margin: 0 0 18px; }
.info-content .info-lead { color: #000080; font-size: 18px; font-weight: 700; line-height: 1.55; }
.info-image { margin: 38px 0 0; }
.info-image img { display: block; width: 100%; height: auto; border-radius: 4px; }

/* PERSONAL SPACE */
.pd-page { max-width: 980px; }
.pd-content { color: #555; font-size: 16px; line-height: 1.8; }
.pd-content p { margin: 0; }
.pd-image { margin: 38px 0 0; text-align: center; }
.pd-image img { display: inline-block; max-width: 100%; height: auto; border-radius: 4px; vertical-align: top; }

/* ADMIN DASHBOARD */
.admin-dashboard { max-width: 980px; padding-top: 8px; }
.admin-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 28px; }
.admin-summary > div { padding: 18px 12px; border: 1px solid #e2e2e2; border-radius: 6px; background: #fafafa; text-align: center; }
.admin-summary strong { display: block; color: #000080; font-size: 24px; line-height: 1.25; }
.admin-summary span { display: block; margin-top: 5px; color: #777; font-size: 13px; }
.admin-dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.admin-dashboard-card { padding: 20px; border: 1px solid #e2e2e2; border-radius: 6px; background: #fff; }
.admin-dashboard-card h3, .admin-recent-members h3 { margin: 0 0 9px; color: #000080; font-size: 18px; font-weight: 700; }
.admin-dashboard-card p { min-height: 50px; margin: 0 0 16px; color: #777; font-size: 14px; line-height: 1.6; }
.admin-dashboard-card a { display: inline-flex; align-items: center; justify-content: center; min-width: 112px; height: 34px; padding: 0 11px; border: 1px solid #f75357; border-radius: 4px; background: #f75357; color: #fff; font-size: 13px; font-weight: 600; line-height: 1; text-decoration: none; }
.admin-dashboard-card a:hover, .admin-dashboard-card a:focus { border-color: #444; background: #444; }
.admin-recent-members { margin-top: 28px; padding-top: 24px; border-top: 1px solid #e5e5e5; }
.admin-recent-members ul { margin: 0; padding: 0; list-style: none; border-top: 2px solid #555; }
.admin-recent-members li { display: flex; justify-content: space-between; gap: 20px; padding: 10px 4px; border-bottom: 1px solid #e8e8e8; color: #555; font-size: 14px; }
.admin-recent-members time { color: #999; font-size: 13px; }
@media (max-width: 767px) { .admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-dashboard-grid { grid-template-columns: 1fr; } .admin-dashboard-card p { min-height: 0; } }
.rule-edit-page { max-width: 1060px; }
.rule-edit-errors { margin: 0 0 18px; padding: 12px 16px; border: 1px solid #f1c4c4; border-radius: 5px; background: #fff3f3; color: #a52a2a; font-size: 14px; }
.rule-edit-errors p { margin: 0; }
.rule-edit-form > label { display: block; margin-bottom: 7px; color: #444; font-size: 14px; font-weight: 700; }
.rule-edit-form textarea { box-sizing: border-box; width: 100%; min-height: 420px; margin: 0; padding: 10px 12px; border: 1px solid #ccc; border-radius: 5px; font: inherit; }
.rule-edit-actions { display: flex; gap: 8px; margin-top: 20px; }
.rule-edit-actions button, .rule-edit-actions a { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 100px; height: 42px; margin: 0; padding: 0 16px; border: 1px solid #f75357; border-radius: 5px; background: #f75357; color: #fff; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; }
.rule-edit-actions a { border-color: #ccc; background: #fff; color: #555; }
.rule-edit-actions button:hover, .rule-edit-actions button:focus { border-color: #333; background: #333; }
.rule-edit-actions a:hover, .rule-edit-actions a:focus { border-color: #999; background: #f5f5f5; color: #333; }
.join-page { max-width: 820px; }
.join-description { margin: -10px 0 24px; color: #888; font-size: 14px; }
.join-errors { margin: 0 0 20px; padding: 12px 16px; border: 1px solid #f1c4c4; border-radius: 5px; background: #fff3f3; color: #a52a2a; font-size: 14px; }
.join-errors p { margin: 0; }
.join-form > p { margin: 0 0 20px; }
.join-form label { display: block; margin-bottom: 7px; color: #444; font-size: 14px; font-weight: 700; }
.join-form label em { margin-left: 4px; color: #f75357; font-size: 11px; font-style: normal; }
.join-form input[type="text"], .join-form input[type="password"], .join-form input[type="email"], .join-form input[type="url"], .join-form input[type="file"], .join-form textarea { box-sizing: border-box; width: 100%; margin: 0; border: 1px solid #ccc; border-radius: 5px; background: #fff; color: #444; font: inherit; }
.join-form input[type="text"], .join-form input[type="password"], .join-form input[type="email"], .join-form input[type="url"] { height: 42px; padding: 0 12px; }
.join-form input[type="file"] { padding: 9px 10px; font-size: 14px; }
.join-form textarea { min-height: 130px; padding: 10px 12px; line-height: 1.65; }
.join-row { display: flex; gap: 16px; }
.join-row > p { flex: 1; margin: 0 0 20px; }
.join-hint { display: block; margin-top: 6px; color: #999; font-size: 12px; }
.join-agreement { display: inline-flex !important; align-items: center; gap: 7px; margin: 0 !important; color: #666 !important; font-size: 13px !important; font-weight: 400 !important; }
.join-agreement input { width: auto !important; margin: 0 !important; }
.join-actions { display: flex; gap: 8px; margin-top: 24px; }
.join-actions button, .join-actions a { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 100px; height: 42px; margin: 0; padding: 0 16px; border: 1px solid #f75357; border-radius: 5px; background: #f75357; color: #fff; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; }
.join-actions a { border-color: #ccc; background: #fff; color: #555; }
.join-actions button:hover, .join-actions button:focus { border-color: #333; background: #333; }
.join-actions a:hover, .join-actions a:focus { border-color: #999; background: #f5f5f5; color: #333; }
@media (max-width: 767px) { .join-row { display: block; } }
.member-management { padding-top: 8px; }
.board-management { padding-top: 8px; }
.board-search { display: flex; gap: 10px; align-items: center; margin: 0 0 24px; }
.board-search input { box-sizing: border-box; flex: 1; height: 42px; min-width: 180px; margin: 0; padding: 0 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; color: #444; font: inherit; line-height: 40px; }
.board-search button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: auto; min-width: 82px; height: 42px; padding: 0 24px; border: 1px solid #333; border-radius: 6px; background: #333; color: #fff; font-size: 14px; font-weight: 600; line-height: 1; }
.board-search button:hover, .board-search button:focus { border-color: #f75357; background: #f75357; }
.board-table-wrap { overflow-x: auto; margin-bottom: 28px; }
.board-table { width: 100%; min-width: 840px; border-collapse: collapse; border-top: 2px solid #444; }
.board-table th, .board-table td { padding: 13px 14px; border-bottom: 1px solid #e5e5e5; text-align: center; }
.board-table th { background: #f8f8f8; color: #333; font-size: 14px; font-weight: 700; }
.board-table th small { color: #888; font-size: 11px; font-weight: 400; }
.board-table td { color: #555; font-size: 14px; }
.board-table tbody tr:hover { background: #fff9f9; }
.board-table .board-name, .board-table .board-title { text-align: left; }
.board-table .board-title { min-width: 170px; }
.board-empty { padding: 34px; color: #999; }
.board-open { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 28px; padding: 0 8px; border: 1px solid #d5d5d5; border-radius: 4px; color: #666; font-size: 12px; font-weight: 600; line-height: 1; text-decoration: none; }
.board-open:hover, .board-open:focus { border-color: #f75357; background: #fff5f5; color: #f75357; }
.board-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 48px; }
.board-pagination a, .board-pagination .is-current { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 9px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; color: #555; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; }
.board-pagination a:hover, .board-pagination a:focus { border-color: #f75357; background: #fff5f5; color: #f75357; }
.board-pagination .is-current { border-color: #f75357; background: #f75357; color: #fff; }
.board-pagination .pagination-arrow { font-size: 20px; font-weight: 400; }
.board-action, .board-delete { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 72px; height: 30px; margin: 0; padding: 0 8px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; color: #555; font-size: 12px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; }
.board-action:hover, .board-action:focus { border-color: #555; color: #333; }
.board-delete { border-color: #f1c4c4; color: #c7373c; cursor: pointer; }
.board-delete:hover, .board-delete:focus { border-color: #d53d42; background: #fff0f0; color: #c7373c; }
.board-delete-form { display: inline-flex; width: auto; margin: 0; }
.board-manage { max-width: 920px; padding-top: 8px; }
.board-manage-info { margin: -10px 0 20px; color: #777; font-size: 14px; }
.board-manage-info strong { color: #f75357; }
.board-manage-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.board-manage-tabs a { display: inline-flex; align-items: center; justify-content: center; min-width: 112px; height: 38px; padding: 0 14px; border: 1px solid #d7d7d7; border-radius: 5px; color: #666; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; }
.board-manage-tabs a.is-current, .board-manage-tabs a:hover, .board-manage-tabs a:focus { border-color: #f75357; background: #f75357; color: #fff; }
.board-manage-form > p { margin: 0 0 20px; }
.board-manage-form label { display: block; color: #444; font-size: 14px; font-weight: 700; }
.board-manage-form input[type="text"], .board-manage-form input[type="number"], .board-manage-form textarea, .board-grants select, .board-category-add input, .board-category-edit input { box-sizing: border-box; width: 100%; margin: 7px 0 0; padding: 9px 11px; border: 1px solid #ccc; border-radius: 5px; background: #fff; color: #444; font: inherit; font-size: 14px; line-height: 1.5; }
.board-manage-form input[type="text"], .board-manage-form input[type="number"] { height: 42px; }
.board-form-row { display: flex; gap: 14px; }
.board-form-row p { flex: 1; margin: 0 0 20px; }
.board-checks { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 20px; padding: 14px; border: 1px solid #e3e3e3; border-radius: 5px; background: #fafafa; }
.board-checks label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.board-checks input { width: auto; margin: 0; }
.board-manage-actions { display: flex; gap: 8px; margin-top: 26px !important; }
.board-manage-actions button, .board-manage-actions a, .board-category-add button { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 86px; height: 40px; margin: 0; padding: 0 15px; border: 1px solid #f75357; border-radius: 5px; background: #f75357; color: #fff; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; }
.board-manage-actions a { border-color: #ccc; background: #fff; color: #555; }
.board-grants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 20px; }
.board-grants select { height: 42px; }
.board-category-add { display: flex; gap: 8px; align-items: flex-end; margin: 0 0 22px; }
.board-category-add input { flex: 1; height: 40px; margin: 0; }
.board-category-edit { display: inline; }
.board-category-edit input { min-width: 150px; margin: 0; }
@media (max-width: 767px) { .board-table { min-width: 1020px; } .board-action, .board-delete { min-width: 62px; font-size: 11px; } .board-form-row, .board-grants { display: block; } .board-form-row p, .board-grants label { margin-bottom: 15px; } .board-category-add { align-items: stretch; } }
@media (max-width: 767px) { .board-search { flex-wrap: wrap; } .board-search input { flex-basis: 100%; } .board-pagination { flex-wrap: wrap; gap: 5px; margin-bottom: 36px; } .board-pagination a, .board-pagination .is-current { min-width: 32px; height: 32px; padding: 0 7px; font-size: 14px; } .board-pagination .pagination-arrow { font-size: 17px; } }
.member-search { display: flex; gap: 10px; align-items: center; margin: 0 0 24px; }
.member-search select, .member-search input { box-sizing: border-box; height: 42px; margin: 0; padding: 0 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; color: #444; font: inherit; line-height: 40px; vertical-align: middle; }
.member-search select { min-width: 126px; }
.member-search input { flex: 1; min-width: 180px; }
.member-search button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: auto; min-width: 82px; height: 42px; padding: 0 24px; border: 1px solid #333; border-radius: 6px; background: #333; color: #fff; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; }
.member-search button:hover, .member-search button:focus { border-color: #f75357; background: #f75357; }
.member-table-wrap { overflow-x: auto; margin-bottom: 28px; }
.member-table { width: 100%; min-width: 650px; border-collapse: collapse; border-top: 2px solid #444; }
.member-table th, .member-table td { padding: 13px 16px; border-bottom: 1px solid #e5e5e5; text-align: center; }
.member-table th { background: #f8f8f8; color: #333; font-size: 14px; font-weight: 700; }
.member-table td { color: #555; font-size: 14px; }
.member-table tbody tr:hover { background: #fff9f9; }
.member-table .member-empty { padding: 34px; color: #999; }
.member-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 48px; }
.member-pagination a, .member-pagination .is-current {
	display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 9px;
	border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; color: #555; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none;
}
.member-pagination a:hover, .member-pagination a:focus { border-color: #f75357; background: #fff5f5; color: #f75357; }
.member-pagination .is-current { border-color: #f75357; background: #f75357; color: #fff; }
.member-pagination .pagination-arrow { font-size: 20px; font-weight: 400; }
@media (max-width: 767px) {
	.member-pagination { flex-wrap: wrap; gap: 5px; margin-bottom: 36px; }
	.member-pagination a, .member-pagination .is-current { min-width: 32px; height: 32px; padding: 0 7px; font-size: 14px; }
	.member-pagination .pagination-arrow { font-size: 17px; }
	.member-search { flex-wrap: wrap; }
	.member-search select { flex: 1; min-width: 140px; }
	.member-search input { flex-basis: 100%; }
}

/* DOCUMENT MANAGEMENT */
.document-management { padding-top: 8px; }
.document-management-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.document-management-header .title-line { flex: 1; }
.document-create, .document-create:visited, .document-create:hover, .document-create:focus, .document-create:active { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 92px; height: 38px; margin-top: 2px; padding: 0 14px; border: 1px solid #f75357; border-radius: 5px; background: #f75357; color: #fff !important; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; }
.document-create:hover, .document-create:focus { border-color: #333; background: #333; }
.document-search { display: flex; gap: 10px; align-items: center; margin: 0 0 24px; }
.document-search select, .document-search input { box-sizing: border-box; height: 42px; margin: 0; padding: 0 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; color: #444; font: inherit; line-height: 40px; vertical-align: middle; }
.document-search select { min-width: 142px; }
.document-search input { flex: 1; min-width: 180px; }
.document-search button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: auto; min-width: 82px; height: 42px; padding: 0 24px; border: 1px solid #333; border-radius: 6px; background: #333; color: #fff; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; }
.document-search button:hover, .document-search button:focus { border-color: #f75357; background: #f75357; }
.document-table-wrap { overflow-x: auto; margin-bottom: 28px; }
.document-table { width: 100%; min-width: 780px; border-collapse: collapse; border-top: 2px solid #444; }
.document-table th, .document-table td { padding: 13px 16px; border-bottom: 1px solid #e5e5e5; text-align: center; }
.document-table th { background: #f8f8f8; color: #333; font-size: 15px; font-weight: 700; }
.document-table td { color: #555; font-size: 15px; }
.document-table tbody tr:hover { background: #fff9f9; }
.document-table .document-title { max-width: 360px; text-align: left; }
.document-title a { color: #444; text-decoration: none; }
.document-title a:hover { color: #f75357; }
.document-actions { white-space: nowrap; }
.document-actions form { display: inline-flex; width: auto; margin: 0; }
.document-edit, .document-hide {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 30px;
	padding: 0 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	color: #555;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}
.document-edit:hover, .document-edit:focus { border-color: #555; color: #333; }
.document-hide { margin-left: 4px; border-color: #f1c4c4; color: #c7373c; cursor: pointer; }
.document-actions .document-hide { flex: 0 0 auto; width: auto; }
.document-hide:hover, .document-hide:focus { border-color: #d53d42; background: #fff0f0; color: #c7373c; }
.document-visibility { display: inline-block; min-width: 48px; padding: 3px 7px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.document-visibility.is-public { background: #fff0f0; color: #d53d42; }
.document-visibility.is-private { background: #f0f0f0; color: #777; }
.document-empty { padding: 34px; color: #999; }
.document-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 48px; }
.document-pagination a, .document-pagination .is-current { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 9px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; color: #555; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; }
.document-pagination a:hover, .document-pagination a:focus { border-color: #f75357; background: #fff5f5; color: #f75357; }
.document-pagination .is-current { border-color: #f75357; background: #f75357; color: #fff; }
.document-pagination .pagination-arrow { font-size: 20px; font-weight: 400; }
@media (max-width: 767px) { .document-management-header { align-items: center; } .document-search { flex-wrap: wrap; } .document-search select { flex: 1; min-width: 140px; } .document-search input { flex-basis: 100%; } }
@media (max-width: 767px) { .document-pagination { flex-wrap: wrap; gap: 5px; margin-bottom: 36px; } .document-pagination a, .document-pagination .is-current { min-width: 32px; height: 32px; padding: 0 7px; font-size: 14px; } .document-pagination .pagination-arrow { font-size: 17px; } }

/* WRITE FORM */
.cke_notification_warning { display: none !important; }
.write-form #write-category1, .write-form #write-category2 {
	padding-right: 40px !important;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
}
.write-form #write-category1::-ms-expand, .write-form #write-category2::-ms-expand { display: none; }
.write-actions { display: flex; gap: 10px; align-items: center; }
.write-actions .write-submit, .write-actions .write-cancel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 108px;
	height: 46px;
	box-sizing: border-box;
	padding: 0 24px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}
.write-actions .write-submit { border: 1px solid #333; background: #333; color: #fff; }
.write-actions .write-submit:hover, .write-actions .write-submit:focus { border-color: #f75357; background: #f75357; }
.write-actions .write-cancel { border: 1px solid #ccc; background: #eee; color: #333; }
.write-actions .write-cancel:hover, .write-actions .write-cancel:focus { border-color: #aaa; background: #e2e2e2; color: #333; }

/* CONTENT */
header.entry-header{border:1px solid #f75357;padding:16px 20px 10px;}
.document-entry .entry-header { margin-bottom: 34px; }
.document-entry .entry-content { margin-top: 0; }
.document-entry .entry-content img { display: block; width: auto !important; max-width: 100% !important; height: auto !important; }
.document-post-date { display: block; margin-top: 9px; color: #888; font-size: 13px; line-height: 1.4; }
.document-view-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.document-view-actions a { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 28px; padding: 0 8px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; color: #666; font-size: 12px; font-weight: 600; line-height: 1; text-decoration: none; }
.document-view-actions a:hover, .document-view-actions a:focus { border-color: #f75357; background: #fff5f5; color: #f75357; }
.fotos-view-entry .entry-header { padding-bottom: 14px; }
.fotos-view-meta { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: 10px; color: #888; font-size: 13px; line-height: 1.45; }
.fotos-view-content { color: #555; line-height: 1.8; }
.fotos-view-image { margin: 0 0 24px; text-align: center; }
.fotos-view-image img { display: inline-block; max-width: 100%; height: auto; vertical-align: top; }
.fotos-view-images-after-memo { margin-top: 50px; }
.fotos-view-back { margin-top: 34px; padding-top: 22px; border-top: 1px solid #e5e5e5; }
.fotos-view-back a { color: #666; font-size: 14px; text-decoration: none; }
.fotos-view-back a:hover, .fotos-view-back a:focus { color: #f75357; }
.document-comments { margin-top: 48px; padding-top: 28px; border-top: 1px solid #e5e5e5; }
.comments-title { margin: 0 0 18px; color: #333; font-size: 22px; font-weight: 700; }
.comments-title span { color: #f75357; font-size: 16px; }
.comment-message { margin: 0 0 14px; padding: 10px 12px; border: 1px solid #f5c6cb; border-radius: 5px; background: #fff3f3; color: #a52a2a; font-size: 13px; }
.comment-list { border-top: 2px solid #555; }
.comment-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; column-gap: 14px; padding: 18px 4px; border-bottom: 1px solid #e8e8e8; }
.comment-author-image { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; overflow: hidden; border-radius: 50%; background: #f2f2f2; color: #aaa; font-size: 26px; }
.comment-author-image img { width: 100%; height: 100%; object-fit: cover; }
.comment-main { min-width: 0; }
.comment-author-name { display: block; margin: 1px 0 5px; color: #444; font-size: 14px; }
.comment-memo { color: #555; font-size: 14px; line-height: 1.65; word-break: break-word; }
.comment-memo .legacy-emoticon { display: inline-block; width: auto; max-width: 24px; height: auto; max-height: 24px; margin: 0 2px; vertical-align: -5px; }
.comment-side { min-width: 110px; color: #999; font-size: 12px; text-align: right; }
.comment-side time { display: block; margin: 2px 0 7px; }
.comment-actions { display: flex; justify-content: flex-end; gap: 4px; }
.comment-actions button { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 34px; height: 24px; margin: 0; padding: 0 6px; border: 1px solid #d5d5d5; border-radius: 3px; background: #fff; color: #666; font-size: 11px; line-height: 1; text-transform: none; }
.comment-actions button:hover, .comment-actions button:focus { border-color: #f75357; background: #fff4f4; color: #d63f43; }
.comment-delete-form { display: inline-flex; margin: 0; }
.comment-edit-form { display: none; grid-column: 2 / 4; gap: 8px; margin-top: 12px; }
.comment-edit-form.is-open { display: grid; }
.comment-edit-form textarea, .comment-edit-form input { width: 100%; margin: 0; padding: 9px 10px; border: 1px solid #d5d5d5; border-radius: 4px; font: inherit; font-size: 13px; }
.comment-edit-form input { max-width: 220px; }
.comment-edit-form button, .comment-write-actions button { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 80px; height: 34px; padding: 0 12px; border: 1px solid #444; border-radius: 4px; background: #444; color: #fff; font-size: 13px; font-weight: 600; line-height: 1; text-transform: none; }
.comment-empty { margin: 0; padding: 30px 0; border-bottom: 1px solid #e8e8e8; color: #999; text-align: center; }
.comment-write-form { margin-top: 22px; padding: 18px; border: 1px solid #e2e2e2; border-radius: 6px; background: #fafafa; }
.comment-write-meta { min-height: 28px; margin-bottom: 9px; color: #666; font-size: 13px; }
.comment-write-meta label { display: inline-flex; align-items: center; gap: 8px; margin-right: 12px; }
.comment-write-meta input { width: 190px; height: 30px; margin: 0; padding: 0 8px; border: 1px solid #d5d5d5; border-radius: 4px; font: inherit; font-size: 13px; }
.comment-write-form textarea { width: 100%; margin: 0; padding: 10px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fff; color: #444; font: inherit; font-size: 14px; line-height: 1.6; }
.comment-write-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.comment-write-actions button { min-width: 88px; height: 36px; border-color: #f75357; background: #f75357; }
.comment-write-actions button:hover, .comment-write-actions button:focus { border-color: #d53d42; background: #d53d42; }
@media (max-width: 767px) { .fotos-view-entry .entry-header { margin-bottom: 26px; } .fotos-view-image { margin-bottom: 18px; } .fotos-view-images-after-memo { margin-top: 32px; } .fotos-view-back { margin-top: 24px; } .document-comments { margin-top: 34px; } .comments-title { font-size: 20px; } .comment-item { grid-template-columns: 66px minmax(0, 1fr); column-gap: 10px; padding: 14px 0; } .comment-author-image { width: 64px; height: 64px; font-size: 21px; } .comment-side { grid-column: 2; display: flex; align-items: center; justify-content: space-between; min-width: 0; margin-top: 7px; text-align: left; } .comment-side time { margin: 0; } .comment-actions { justify-content: flex-start; } .comment-edit-form { grid-column: 1 / 3; } .comment-write-form { padding: 14px; } .comment-write-meta label { display: flex; margin: 0 0 7px; } }
@media (min-width: 768px) {
	.document-sidebar { padding-left: 60px; }
}
@media (max-width: 991px) {
	#content .container.document-layout,
	#content .container.fotos-view-layout { display: block; }
	.document-layout > .col-lg-8,
	.document-layout > .col-lg-4,
	.fotos-view-layout > .col-lg-8,
	.fotos-view-layout > .col-lg-4 { float: none; width: 100%; }
	.document-layout .document-sidebar,
	.fotos-view-layout .document-sidebar { margin-top: 28px; }
}
@media (max-width: 767px) {
	.document-layout > .col-lg-8, .document-layout > .col-lg-4 { padding-right: 8px; padding-left: 8px; }
	.fotos-view-layout > .col-lg-8, .fotos-view-layout > .col-lg-4 { padding-right: 0px; padding-left: 0px; }
}
.widget_recent_entries li { position: relative; padding-left: 13px; }
.widget_recent_entries li::before { position: absolute; top: 0; left: 0; color: #f75357; content: '•'; }
.widget_archive ul li { position: relative; padding-left: 13px; }
.widget_archive ul li::before { position: absolute; top: 0; left: 0; color: #f75357; content: '•'; }
.widget_archive .archive-month { color: #555; }
.widget_archive .archive-count { margin-left: 5px; color: #999; font-size: 12px; }
.widget-empty { color: #999; }
/*
@media all and (max-width: 767px) {
    .col-xs-12 {clear: both;float: none;}
	.col-xs-1:nth-child(12n+1) {clear: left;}
	.col-xs-2:nth-child(6n+1) {clear: left;}
	.col-xs-3:nth-child(4n+1) {clear: left;}
	.col-xs-4:nth-child(3n+1) {clear: left;}
	.col-xs-6:nth-child(2n+1) {clear: left;}
}
@media all and (min-width: 768px) {
	.col-sm-1:nth-child(12n+1) {clear: left;}
	.col-sm-2:nth-child(6n+1) {clear: left;}
	.col-sm-3:nth-child(4n+1) {clear: left;}
	.col-sm-4:nth-child(3n+1) {clear: left;}
	.col-sm-6:nth-child(2n+1) {clear: left;}
}
@media all and (min-width: 992px) {
	.col-sm-1:nth-child(12n+1) {clear: none;}
	.col-sm-2:nth-child(6n+1) {clear: none;}
	.col-sm-3:nth-child(4n+1) {clear: none;}
	.col-sm-4:nth-child(3n+1) {clear: none;}
	.col-sm-6:nth-child(2n+1) {clear: none;}
	.col-md-1:nth-child(12n+1) {clear: left;}
	.col-md-2:nth-child(6n+1) {clear: left;}
	.col-md-3:nth-child(4n+1) {clear: left;}
	.col-md-4:nth-child(3n+1) {clear: left;}
	.col-md-6:nth-child(2n+1) {clear: left;}
}
@media all and (min-width: 1200px) {
	.col-md-1:nth-child(12n+1) {clear: none;}
	.col-md-2:nth-child(6n+1) {clear: none;}
	.col-md-3:nth-child(4n+1) {clear: none;}
	.col-md-4:nth-child(3n+1) {clear: none;}
	.col-md-6:nth-child(2n+1) {clear: none;}
	.col-lg-1:nth-child(12n+1) {clear: left;}
	.col-lg-2:nth-child(6n+1) {clear: left;}
	.col-lg-3:nth-child(4n+1) {clear: left;}
	.col-lg-4:nth-child(3n+1) {clear: left;}
	.col-lg-6:nth-child(2n+1) {clear: left;}
}
*/
/* media Tag */
@media (min-width: 768px) {
	.content-area { width: 74%; }	
	.sidebar { width: 25%; }
}
@media (min-width: 1024px) {
	.content-area { width: 69%; }	
	.sidebar { width: 30%; }
	.col-5ths { flex: 0 0 20%; max-width: 20%; }
}

.entry-meta a,
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.widget_tag_cloud a:hover,
a:hover,
.social-links ul a:hover::before
{
	color : #f75357;
}
.wp-block-search .wp-block-search__button,
button, input[type="button"], input[type="reset"], input[type="submit"]
{
	background: #f75357;
	border-color : #f75357;
}
.widget_tag_cloud a:hover { border-color : #f75357;}
.main-navigation a,
h1.entry-title,
.widget-title,
.footer-staff-picks h3,
.navigation .current
{
	color: #444;
}

/* 로그인 상태는 메뉴 링크와 같은 높이로 맞추되, 텍스트를 조금 더 또렷하게 표시한다. */
.main-navigation .menu-login-status {
	display: flex;
	align-items: center;
}
.main-navigation .menu-login-status > span {
	display: flex;
	align-items: center;
	padding: 18px 0;
	color: #555;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.75;
	white-space: nowrap;
}
.main-navigation .menu-logout-form { margin: 0 8px 0 0; }
.main-navigation .menu-logout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid #f75357;
	border-radius: 50%;
	background: transparent;
	color: #f75357;
	font-size: 14px;
	cursor: pointer;
}
.main-navigation .menu-logout-button:hover,
.main-navigation .menu-logout-button:focus {
	border-color: #df3f44;
	background: #f75357;
	color: #fff;
}
@media (max-width: 767px) {
	.main-navigation .menu-login-status > span { padding: 12px 0; }
}
button:hover, input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #444;
	border-color: #444;
}

/* Mobile header and slide-out navigation */
@media (max-width: 767px) {
	h2 { font-size: 26px; }
	.site-header {
		position: relative;
		width: 100%;
		margin-top: 56px;
		padding: 0;
		aspect-ratio: 1919 / 345;
		background-size: cover;
		background-position: center;
	}
	.site-header > .container { height: 100%; padding: 0; }
	.site-header .site-branding {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10001;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 56px;
		margin: 0;
		background: rgba(255, 255, 255, 0.96);
		box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
	}
	.site-header .site-title { margin: 0; font-size: 21px; line-height: 1; letter-spacing: 1px; }
	.site-header .site-title a { color: #333; }
	.site-header .site-description { display: none; }

	.main-navigation {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10002;
		width: 0;
		height: 0;
		border: 0;
	}
	.main-navigation > .container { padding: 0; }
	.main-navigation .menu-toggle {
		position: fixed;
		top: 7px;
		left: 8px;
		z-index: 10004;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: #333;
		font-size: 0;
	}
	.main-navigation .menu-toggle:before {
		margin: 0;
		font-family: "Font Awesome 6 Free";
		font-size: 21px;
		font-weight: 900;
		content: "\f0c9";
	}
	.main-navigation.toggled .menu-toggle:before { content: "\f00d"; }
	.main-navigation .menu-main-menu-container {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10003;
		width: min(82vw, 300px);
		height: 100vh;
		overflow-y: auto;
		background: #fff;
		box-shadow: 4px 0 18px rgba(0, 0, 0, 0.18);
		transform: translateX(-105%);
		transition: transform 0.25s ease;
	}
	.main-navigation.toggled .menu-main-menu-container { transform: translateX(0); }
	.main-navigation .menu-main-menu-container > ul {
		display: block;
		margin: 62px 0 0;
		padding: 0;
	}
	.main-navigation ul { margin-left: 0; margin-right: 0; }
	.main-navigation li { padding: 0 22px; }
	.main-navigation .has-submenu { position: relative; }
	.main-navigation .has-submenu > a { padding-right: 44px; }
	.main-navigation .menu-main-menu-container > ul > li > a { padding: 14px 44px 14px 0; font-size: 17px; }
	.main-navigation a { padding: 14px 0; }
	.main-navigation .menu-main-menu-container > ul > li > ul { display: none; padding: 0 16px 4px; }
	.main-navigation .menu-main-menu-container > ul > li.is-submenu-open > ul { display: block; }
	.main-navigation .mobile-submenu-toggle {
		position: absolute;
		top: 5px;
		right: 12px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 40px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: #555;
		font-size: 0;
	}
	.main-navigation .mobile-submenu-toggle:before {
		font-family: "Font Awesome 6 Free";
		font-size: 14px;
		font-weight: 900;
		content: "\f078";
		transition: transform 0.2s ease;
	}
	.main-navigation .is-submenu-open > .mobile-submenu-toggle:before { transform: rotate(180deg); }
	.main-navigation ul ul a { padding: 6px 0; font-size: 15px; line-height: 1.5; }
	.main-navigation .menu-login-status { display: flex; align-items: center; }
}

@media (min-width: 768px) {
	.main-navigation .mobile-submenu-toggle { display: none; }
}
