@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;800&display=swap");

:root {
  --how-gold: #b69e84;
  --how-gold-dk: #92785f;
  --how-black: #000;
  --how-bg: #fff;
  --how-muted: #999;
  --how-line: #ddd;
  --how-wash: #f7f7f7;
  --how-header: 68px;
}
html, body.how-body {
  background: var(--how-bg);
  color: var(--how-black);
  font-family: "Noto Sans KR", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
a { color: #000; text-decoration: none; }
a:hover { color: var(--how-gold); }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }

#hd_login_msg, #tnb, #hd_pop, #popular, .popular_inner,
#ol_before, #ol_after, #mb_login, a[href*="login.php"], a[href*="register.php"],
a[href*="write.php"], a[title="글쓰기"] { display: none !important; }
.how-admin { display: inline-block !important; }

.how-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

#hd { width: 100%; }
#header_top {
  background: #000; min-height: var(--how-header);
  position: sticky; top: 0; z-index: 200;
}
#header_top .how-inner {
  display: flex; align-items: center; justify-content: space-between; min-height: var(--how-header);
}
.how-logo { color: #fff !important; display: flex; align-items: baseline; gap: 14px; }
.how-logo .mark {
  font-size: 28px; font-weight: 300; letter-spacing: .04em; line-height: var(--how-header);
}
.how-logo .desc { color: #ccc; font-size: 13px; font-weight: 400; }
.how-logo:hover { color: #fff !important; opacity: .85; }

#global_menu { position: relative; }
#global_menu > ul { display: flex; align-items: center; margin: 0; }
#global_menu > ul > li { position: relative; }
#global_menu > ul > li > a {
  display: block; color: #fff; padding: 0 18px; height: var(--how-header); line-height: var(--how-header);
  font-size: 14px; white-space: nowrap;
}
#global_menu > ul > li:hover > a { opacity: .55; color: #fff; }
#global_menu ul ul {
  display: none; position: absolute; top: var(--how-header); left: 0; min-width: 200px;
  background: var(--how-gold); z-index: 30;
}
#global_menu ul ul a {
  display: block; color: #fff; padding: 10px 22px; font-size: 14px; line-height: 1.6;
}
#global_menu ul ul a:hover { background: var(--how-gold-dk); color: #fff; }
#global_menu > ul > li:hover > ul { display: block; }

.how-menu-btn {
  display: none; background: none; border: 0; color: #fff; font-size: 15px; padding: 0 8px;
}

#header_search {
  background: #222; padding: 22px 0;
}
#header_search form {
  display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap;
}
.how-search-in { width: 22%; min-width: 160px; }
.how-search-in input, .how-search-in select {
  width: 100%; height: 50px; border: 0; border-radius: 3px; padding: 0 16px; font-size: 14px;
}
#header_search_submit {
  min-width: 160px; height: 50px; border-radius: 25px; border: 1px solid #fff;
  background: transparent; color: #fff; font-weight: 700; cursor: pointer;
}
#header_search_submit:hover { background: var(--how-gold-dk); }

#header_slider { position: relative; overflow: hidden; background: #000; }
#header_slider .item { position: relative; min-height: 420px; }
#header_slider .item img, #header_slider .item video {
  width: 100%; height: 520px; object-fit: cover; display: block; filter: brightness(.72);
}
#header_slider .caption {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: #fff; padding: 24px;
}
#header_slider .caption .headline { font-size: clamp(28px, 4vw, 44px); font-weight: 500; line-height: 1.3; margin: 0; }
#header_slider .caption .catchphrase { margin: 8px 0 0; font-size: 16px; opacity: .95; }
#header_slider .caption .button {
  display: inline-block; margin-top: 18px; padding: 0 48px; min-width: 240px; height: 48px;
  line-height: 46px; border: 1px solid #fff; border-radius: 25px; color: #fff; font-size: 14px;
}
#header_slider .caption .button:hover { background: var(--how-gold); border-color: var(--how-gold); color: #fff; }
.how-slick-prev, .how-slick-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; background: transparent; border: 0; color: #fff; font-size: 28px; cursor: pointer;
}
.how-slick-prev { left: 12px; } .how-slick-next { right: 12px; }
.how-slick-prev:hover, .how-slick-next:hover { color: var(--how-gold); }

#index_news {
  border-bottom: 1px solid var(--how-line); height: 56px; overflow: hidden; position: relative;
}
#index_news ol { margin: 0; }
#index_news li { height: 56px; line-height: 56px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#index_news .entry-date { color: var(--how-gold); font-size: 12px; margin-right: 16px; }

.how-filter {
  padding: 36px 0 8px;
}
.how-filter h2 {
  font-size: 15px; font-weight: 700; margin: 0 0 14px; letter-spacing: .04em;
}
.how-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 22px; }
.how-chips a, .how-chips button {
  display: inline-block; padding: 7px 16px; border: 1px solid var(--how-line); background: #fff;
  border-radius: 2px; font-size: 13px; cursor: pointer; color: #000;
}
.how-chips a.active, .how-chips button.active,
.how-chips a:hover, .how-chips button:hover {
  background: #000; color: #fff; border-color: #000;
}

.how-plan-c {
  margin: 0 0 48px; padding-bottom: 28px; border-bottom: 1px solid var(--how-line);
}
.how-plan-c .main {
  display: block; margin: 0 0 10px;
}
.how-plan-c .main img, .how-plan-c .main video {
  width: 100%; height: 420px; object-fit: cover; display: block;
}
.how-plan-c .thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.how-plan-c .thumbs img { width: 100%; height: 220px; object-fit: cover; display: block; }
.how-plan-c h3 { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.how-plan-c h3 small { display: block; font-size: 13px; font-weight: 400; color: var(--how-muted); letter-spacing: .08em; }
.how-plan-c .meta { font-size: 13px; color: #444; margin: 0 0 8px; }
.how-plan-c .meta span {
  display: inline-block; background: #000; color: #fff; border-radius: 13px;
  padding: 0 12px; line-height: 24px; margin-right: 8px; font-size: 12px;
}
.how-plan-c .desc { line-height: 2; margin: 0 0 12px; max-width: 860px; }
.how-plan-c .go {
  display: inline-block; padding: 0 28px; height: 40px; line-height: 38px;
  border: 1px solid #000; border-radius: 20px; font-size: 13px;
}
.how-plan-c .go:hover { background: var(--how-gold); border-color: var(--how-gold); color: #fff; }

.how-plan-b {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 56px;
}
.how-plan-b a { display: block; }
.how-plan-b img { width: 100%; height: 180px; object-fit: cover; display: block; }
.how-plan-b strong { display: block; margin: 8px 0 2px; font-size: 15px; }
.how-plan-b em { font-style: normal; color: var(--how-muted); font-size: 12px; }

.cb_headline {
  font-size: clamp(26px, 3vw, 40px); font-weight: 500; text-align: center; margin: 0 0 8px; line-height: 1.2;
}
.cb_desc { text-align: center; color: #444; margin: 0 0 28px; font-weight: 300; }

.how-update { margin: 0 0 56px; }
.how-update ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-update a { display: flex; gap: 14px; text-decoration: none; color: #000; }
.how-update img { width: 110px; height: 110px; object-fit: cover; flex-shrink: 0; }
.how-update h3 { font-size: 15px; margin: 0 0 6px; font-weight: 700; line-height: 1.4; }
.how-update .tags { font-size: 12px; color: var(--how-gold-dk); margin-bottom: 4px; }
.how-update .when { font-size: 12px; color: var(--how-muted); }

.how-girls { margin: 0 0 56px; }
.how-girls .grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.how-girls a { display: block; position: relative; overflow: hidden; }
.how-girls img { width: 100%; height: 240px; object-fit: cover; display: block; }
.how-girls .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 8px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; font-size: 12px;
}
.how-girls .cap strong { display: block; font-size: 13px; }

.how-vids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 56px; }
.how-vids a { display: block; position: relative; background: #000; }
.how-vids video, .how-vids img { width: 100%; height: 180px; object-fit: cover; display: block; }
.how-vids .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; text-shadow: 0 2px 8px #000;
}
.how-vids strong {
  display: block; padding: 8px 4px 0; font-size: 13px; font-weight: 500;
}

#post_list, .how-blog {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; margin: 0 0 48px;
}
.how-blog .article, #post_list .article { display: block; }
.how-blog .image, #post_list .image {
  display: block; width: 100%; height: 0; padding-top: 64%; overflow: hidden; position: relative; margin-bottom: 10px;
}
.how-blog .image img, #post_list .image img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.how-blog .title, #post_list .title { font-size: 18px; font-weight: 700; line-height: 1.45; margin: 0 0 8px; }
.how-blog .excerpt, #post_list .excerpt { line-height: 1.9; color: #333; margin: 0 0 8px; }
ul.meta { margin: 0 0 8px; padding: 0; }
ul.meta li { display: inline-block; margin: 0 6px 4px 0; font-size: 12px; }
ul.meta li.cat a, ul.meta li.cat span {
  display: inline-block; padding: 0 12px; min-width: 50px; line-height: 26px; text-align: center;
  border-radius: 13px; color: #fff; background: #000;
}
ul.meta li.date { display: block; margin-top: 8px; color: var(--how-muted); }

.how-more {
  display: inline-block; padding: 0 42px; min-width: 140px; line-height: 50px; color: #fff !important;
  background: #aaa; position: relative;
}
.how-more:hover { background: var(--how-gold-dk); color: #fff !important; }

#wrapper { background: #fff; }
#container_wr.how-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 16px 80px; }
body.how-home #container_wr.how-wrap { max-width: none; padding: 0 0 80px; }
body.how-home #aside { display: none; }
body.how-home #container_wr > .row {
  display: block; margin: 0; --bs-gutter-x: 0;
}
body.how-home #container { width: 100% !important; max-width: 100%; padding: 0; }

#breadcrumb a + a:before,
#breadcrumb span:before { content: "›"; color: #ccc; margin: 0 8px 0 4px; }

.bo_sch_wrap { position: fixed; inset: 0; z-index: 400; }
.bo_sch_bg { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.bo_sch {
  position: relative; z-index: 1; max-width: 420px; margin: 12vh auto; background: #fff;
  padding: 24px; border: 1px solid #ddd;
}
.nt-toolbar a { margin-right: 12px; color: var(--how-gold-dk); font-weight: 700; font-size: 13px; }
.nt-thumb-ph {
  display: flex; align-items: center; justify-content: center; height: 180px;
  background: #111; color: #fff; font-weight: 700; letter-spacing: .2em;
}
#post_list2 { margin: 0 0 24px; }

#left_col { width: 100%; }
@media (min-width: 992px) {
  body:not(.how-home) #container_wr.how-wrap > .row { display: flex; gap: 40px; }
  body:not(.how-home) #container { width: 860px; max-width: 72%; flex: 1 1 auto; }
  body:not(.how-home) #aside { width: 300px; flex: 0 0 300px; }
}

#breadcrumb { border-bottom: 1px solid var(--how-line); height: 56px; line-height: 56px; overflow: hidden; margin-bottom: 20px; }
#breadcrumb a { color: #000; }
#breadcrumb span { color: var(--how-gold); }

#article_header {
  margin: 0 0 0; padding: 28px 32px 22px; background: var(--how-wash); border: 1px solid var(--how-line);
}
#post_title { font-size: 28px; font-weight: 700; line-height: 1.3; margin: 8px 0 0; }
#post_date { font-size: 12px; color: var(--how-muted); margin-top: 10px; }
#post_image { margin: 0 0 36px; }
#post_image img { width: 100%; display: block; }
.post_content { font-size: 15px; line-height: 2.3; }
.post_content a { color: var(--how-gold-dk); }
.post_content h2 {
  font-size: 1.28rem; font-weight: 800; color: var(--how-gold-dk);
  margin: 1.8em 0 .5em; padding-bottom: .3em; border-bottom: 1px solid var(--how-line);
}
.post_content h3 { font-size: 1.05rem; font-weight: 800; margin: 1.2em 0 .4em; }
.post_content p { margin: 0 0 1em; }
.post_content ul, .post_content ol { margin: 0 0 1em 1.2em; list-style: disc; }
.nt-toc {
  background: var(--how-wash); border: 1px solid var(--how-line); padding: 16px 18px; margin: 0 0 1.4em;
}
.nt-toc strong { display: block; color: var(--how-gold-dk); margin-bottom: 8px; font-size: 13px; }
.nt-cta {
  margin: 28px 0; padding: 18px; border: 1px solid var(--how-line); background: var(--how-wash);
}
.nt-cta a { color: var(--how-gold-dk); font-weight: 800; }

#previous_next_post { display: flex; margin: 36px 0; border: 1px solid var(--how-line); }
#previous_next_post a { flex: 1; display: block; padding: 22px 18px; min-height: 88px; }
#previous_next_post a + a { border-left: 1px solid var(--how-line); }
#previous_next_post a:hover { background: var(--how-wash); color: #000; }
#previous_next_post span { display: block; font-size: 12px; color: var(--how-gold); margin-bottom: 6px; }

.side_widget { margin: 0 0 36px; }
.side_headline { font-size: 20px; font-weight: 400; color: var(--how-gold); margin: 0 0 12px; }
.side_widget li { margin: 0 0 8px; line-height: 1.6; }
.styled_post_list1 { border: 1px solid var(--how-line); border-bottom: 0; }
.styled_post_list1 li { border-bottom: 1px solid var(--how-line); padding: 10px; }
.styled_post_list1 li a { display: flex; gap: 12px; }
.styled_post_list1 .image { width: 80px; height: 80px; overflow: hidden; flex-shrink: 0; }
.styled_post_list1 .image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.styled_post_list1 .title { font-weight: 500; line-height: 1.45; }
.styled_post_list1 .date { font-size: 12px; color: var(--how-muted); }

.how-pagehead { text-align: center; margin: 12px 0 28px; }
#archive_headline { font-size: clamp(28px, 4vw, 40px); color: var(--how-gold); font-weight: 500; margin: 0; }
#archive_desc { margin: 10px 0 0; color: #444; }

.how-feed-item {
  display: flex; gap: 22px; padding: 24px; border: 1px solid var(--how-line); border-top: 0; background: #fff;
}
.how-feed-item:first-child { border-top: 1px solid var(--how-line); }
.how-feed-item .image { width: 35%; flex-shrink: 0; }
.how-feed-item .image img { width: 100%; height: 180px; object-fit: cover; display: block; }
.how-feed-item .info { flex: 1; }
.how-feed-item .title { font-size: 18px; font-weight: 700; margin: 0 0 8px; line-height: 1.4; }
.how-feed-item .excerpt { line-height: 1.9; margin: 0; }

.page_navi { text-align: center; margin: 28px 0; }
.page_navi a, .page_navi strong {
  display: inline-block; min-width: 40px; line-height: 40px; text-align: center; color: #fff; background: #bbb; margin: 0 2px;
}
.page_navi strong, .page_navi a:hover { background: #000; color: #fff; }

#ft {
  background: #111; color: #bbb; padding: 48px 0 28px; margin-top: 20px; font-size: 13px;
}
#ft a { color: #ddd; }
#ft a:hover { color: var(--how-gold); }
#ft h3 { color: var(--how-gold); font-size: 14px; font-weight: 700; margin: 0 0 12px; }
#ft .how-logo .mark { color: #fff; line-height: 1.2; }
.how-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  width: 44px; height: 44px; background: #000; color: #fff; border: 0; cursor: pointer;
}
.how-top:hover { background: var(--how-gold-dk); color: #fff; }

@media (max-width: 991px) {
  .how-logo .desc, .how-search-in { display: none; }
  .how-search-in.show-m { display: block; width: 100%; }
  #header_search form { justify-content: stretch; }
  #header_search_submit { width: 100%; }
  .how-menu-btn { display: block; }
  #global_menu { display: none; position: absolute; top: var(--how-header); left: 0; right: 0; background: #000; }
  #global_menu.open { display: block; }
  #global_menu > ul { flex-direction: column; align-items: stretch; }
  #global_menu > ul > li > a { height: auto; line-height: 2.4; }
  #global_menu ul ul { position: static; display: block; background: #222; }
  #header_slider .item img, #header_slider .item video { height: 280px; }
  .how-plan-c .main img, .how-plan-c .main video { height: 220px; }
  .how-plan-c .thumbs img { height: 120px; }
  .how-plan-b, .how-update ul, .how-girls .grid, .how-vids, #post_list, .how-blog {
    grid-template-columns: 1fr 1fr;
  }
  .how-feed-item { flex-direction: column; }
  .how-feed-item .image { width: 100%; }
  body:not(.how-home) #container, body:not(.how-home) #aside { width: 100% !important; max-width: 100%; }
}
@media (max-width: 575px) {
  .how-plan-b, .how-update ul, .how-girls .grid, .how-vids, #post_list, .how-blog {
    grid-template-columns: 1fr;
  }
}
