@charset "utf-8";

/*
 * Magazine / News Style - White + Black
 * Clean, bold, card-based layout
 */

/* Web Font Load */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* Type Selector Reset */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 100%;
}

body {
  font-weight: 400;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111;
  background-color: #eef2f9;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, figure {
  margin: 0;
  padding: 0;
}

header, footer, section, article, aside, nav, hgroup, details, menu, figure, figcaption {
  display: block;
}

button, input[type=submit], input[type=reset], input[type=button] {
  overflow: visible;
  cursor: pointer;
}

input[type=text], input[type=email], input[type=password], input[type=submit], textarea {
  -webkit-appearance: none;
}

input, select, textarea, button {
  font-family: 'Pretendard', sans-serif;
  font-size: 100%;
  border-radius: 0;
}

button {
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

ul li {
  list-style: none;
}

img, fieldset {
  border: none;
  vertical-align: top;
}

hr {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Accessibility Navigation */
#acc-nav {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 0;
}

#acc-nav a {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin-left: -1px;
  margin-bottom: -1px;
  text-align: center;
  font-weight: bold;
  font-size: 0.875em;
  color: #000;
  white-space: nowrap;
}

#acc-nav a:focus, #acc-nav a:hover, #acc-nav a:active {
  width: 100%;
  height: auto;
  padding: 10px 0;
  background: #000;
  color: #fff;
  z-index: 1000;
}

/* ===========================
   HEADER
   =========================== */
#wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #111;
}

#header h1 {
  padding: 20px 0;
  text-align: center;
  font-size: 1.75em;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #000;
  text-transform: uppercase;
}

#header h1 a {
  display: inline-block;
  text-decoration: none;
  vertical-align: top;
  color: #000;
}

#header h1 a:hover {
  opacity: 0.7;
}

/* Mobile Menu Button */
#header .mobile-menu {
  position: absolute;
  top: 14px;
  left: 20px;
  z-index: 500;
  width: 40px;
  height: 40px;
  outline: none;
}

#header .mobile-menu span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  margin: -1px 0 0 -11px;
  background-color: #000;
  text-indent: -999em;
  transition: all 0.3s;
}

#header .mobile-menu:before,
#header .mobile-menu:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  margin-left: -11px;
  background-color: #000;
  transition: all 0.3s;
}

#header .mobile-menu:before { margin-top: -7px; }
#header .mobile-menu:after { margin-top: 5px; }
#header .mobile-menu.on { position: fixed; }
#header .mobile-menu.on span { display: none; }
#header .mobile-menu.on:before,
#header .mobile-menu.on:after { margin-top: -1px; }
#header .mobile-menu.on:before { transform: rotate(-45deg); }
#header .mobile-menu.on:after { transform: rotate(45deg); }

/* Slide Menu */
#header .menu {
  position: fixed;
  top: 0;
  left: -360px;
  z-index: 400;
  width: 360px;
  height: 100%;
  padding: 80px 32px 60px;
  background-color: #fff;
  border-right: 1px solid #e0e0e0;
  box-sizing: border-box;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

#header .menu.on { left: 0; }

#header .menu .social-link {
  position: absolute;
  left: 32px;
  bottom: 100px;
}

#header .menu p {
  position: absolute;
  left: 32px;
  bottom: 60px;
  font-size: 0.7em;
  color: #bbb;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Search */
#header .search {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 0;
  padding-right: 40px;
}

#header .search input {
  display: none;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 0.95em;
  line-height: 40px;
  color: #000;
  border: 0;
  box-sizing: border-box;
  background-color: transparent;
}

#header .search button {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: url(./images/ico_package.png) no-repeat 0 0;
  text-indent: -999em;
  outline: none;
}

#header .search:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  width: 40px;
  height: 40px;
  background: url(./images/ico_package.png) no-repeat 0 0;
  text-indent: -999em;
  cursor: pointer;
}

#header .search:hover:before { background-color: #f0f0f0; border-radius: 4px; }

#header .search.on {
  width: 280px;
  border-bottom: 2px solid #000;
}
#header .search.on input { display: block; outline: none; }
#header .search.on button { display: block; }
#header .search.on:before { display: none; }

/* GNB */
#gnb {
  overflow: auto;
  height: 100%;
  margin-bottom: 8px;
}

#gnb ul li {
  margin-bottom: 4px;
  font-size: 1em;
  line-height: 1.8;
}

#gnb ul li a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 2px 0;
  transition: color 0.2s;
}

#gnb ul li a:hover {
  color: #000;
  font-weight: 600;
}

#gnb ul li ul { margin: 8px 0 0; }
#gnb ul li ul li { font-size: 0.95em; }
#gnb ul li ul li ul { margin: 4px 0 8px; }
#gnb ul li ul li ul li {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6rem;
}
#gnb ul li ul li ul li a:before {
  content: "\2014";
  margin-right: 6px;
  color: #ccc;
}
#gnb ul li ul li ul li a { padding: 0 12px; }

/* ===========================
   CONTENT AREA
   =========================== */
.container {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

#content .inner {
  max-width: 1200px;
  margin: 0 auto;
}

#content > .inner {
  max-width: 780px;
}

#content .inner:after {
  content: "";
  clear: both;
  display: block;
  height: 0;
  visibility: hidden;
}

/* ===========================
   COVER - THUMBNAIL LIST
   =========================== */
.cover-thumbnail-list {
  margin: 0 auto;
  padding: 40px 0 20px;
  border-bottom: none;
}

.cover-thumbnail-list h2 {
  margin-bottom: 24px;
  font-size: 1.3em;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-bottom: 2px solid #000;
  padding-bottom: 12px;
}

.cover-thumbnail-list ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.cover-thumbnail-list ul li {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

.cover-thumbnail-list ul li a {
  display: block;
  text-decoration: none;
  color: #111;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s, transform 0.25s;
}

.cover-thumbnail-list ul li a:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.cover-thumbnail-list ul li .thum {
  display: block;
  position: relative;
  overflow: hidden;
  height: 0;
  margin-bottom: 0;
  padding-bottom: 60%;
  background-color: #eee;
}

.cover-thumbnail-list ul li .thum:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 0.75em;
  color: #ccc;
}

.cover-thumbnail-list ul li .thum img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.cover-thumbnail-list ul li a:hover .thum img {
  transform: scale(1.05);
}

.cover-thumbnail-list ul li .category {
  display: inline-block;
  margin: 14px 14px 6px;
  padding: 2px 8px;
  background: #111;
  color: #fff;
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 2px;
}

.cover-thumbnail-list ul li .title {
  display: block;
  padding: 0 14px 14px;
  font-weight: 700;
  font-size: 0.95em;
  line-height: 1.4;
  color: #111;
}

.cover-thumbnail-list ul li a:hover .title {
  text-decoration: none;
  color: #000;
}

/* ===========================
   COVER - SLIDER
   =========================== */
.cover-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: #000;
}

.cover-slider ul li {
  display: table;
  width: 100%;
  height: 480px;
  text-align: center;
  background-position: 50% 50%;
  background-size: cover;
}

.cover-slider ul li a {
  display: table-cell;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
  text-decoration: none;
  color: #fff;
  vertical-align: middle;
}

.cover-slider ul li .category {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 14px;
  background: #fff;
  color: #000;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
}

.cover-slider ul li .title {
  display: block;
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 2.4em;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cover-slider ul li .btn {
  border-color: #fff;
  color: #fff;
  font-weight: 600;
}

.cover-slider ul li .btn:hover {
  background-color: #fff;
  color: #000;
}

.cover-slider .prev,
.cover-slider .next {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;
  width: 70px;
  height: 70px;
  margin: -25px 0 0 0;
  background: url(./images/ico_package.png) no-repeat 0 -250px;
  text-indent: -999em;
}

.cover-slider .prev { margin-left: -506px; background-position: 0 -250px; }
.cover-slider .next { margin-left: 436px; background-position: -100px -250px; }
.cover-slider .prev:hover,
.cover-slider .next:hover { background-color: rgba(255,255,255,0.15); }

/* ===========================
   COVER - MASONRY
   =========================== */
.cover-masonry {
  margin-bottom: 0;
  padding: 40px 0 20px;
  border-bottom: none;
}

.cover-masonry h2 {
  margin-bottom: 24px;
  font-size: 1.3em;
  font-weight: 800;
  border-bottom: 2px solid #000;
  padding-bottom: 12px;
}

.cover-masonry ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-left: 0;
}

.cover-masonry ul li {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

.cover-masonry ul li a {
  display: block;
  text-decoration: none;
  color: #111;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s, transform 0.25s;
}

.cover-masonry ul li a:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.cover-masonry ul li .thum {
  display: block;
  margin-bottom: 0;
  overflow: hidden;
}

.cover-masonry ul li .thum img {
  width: 100%;
  height: auto;
  transition: transform 0.4s;
}

.cover-masonry ul li a:hover .thum img {
  transform: scale(1.05);
}

.cover-masonry ul li .category {
  display: inline-block;
  margin: 14px 14px 6px;
  padding: 2px 8px;
  background: #111;
  color: #fff;
  font-size: 0.7em;
  font-weight: 600;
  border: none;
  border-radius: 2px;
}

.cover-masonry ul li .title {
  display: block;
  padding: 0 14px 4px;
  font-weight: 700;
  font-size: 1.05em;
  line-height: 1.4;
}

.cover-masonry ul li a:hover .title {
  text-decoration: none;
  color: #000;
}

.cover-masonry ul li .excerpt {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 4.8em;
  padding: 0 14px 16px;
  font-size: 0.85em;
  line-height: 1.6;
  color: #888;
}

/* ===========================
   COVER - LIST
   =========================== */
.cover-list {
  margin-bottom: 0;
  padding: 40px 0 20px;
  border-bottom: none;
}

.cover-list h2 {
  margin: 0 0 24px;
  font-size: 1.3em;
  font-weight: 800;
  border-bottom: 2px solid #000;
  padding-bottom: 12px;
}

.cover-list ul li {
  border-top: 1px solid #e8e8e8;
}

.cover-list ul li:first-child { border-top: 0; }

.cover-list ul li a {
  display: flex;
  align-items: center;
  min-height: auto;
  padding: 20px 0;
  text-decoration: none;
  color: #111;
  background: #fff;
  border-radius: 6px;
  margin-bottom: 2px;
  padding: 20px;
  transition: box-shadow 0.2s;
}

.cover-list ul li a:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cover-list ul li figure {
  flex-shrink: 0;
  float: none;
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 0 0 24px;
  order: 2;
  background-color: #eee;
  border-radius: 6px;
  overflow: hidden;
}

.cover-list ul li figure:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  font-size: 0.75em;
  color: #ccc;
}

.cover-list ul li figure img {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-list ul li .category {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  background: #111;
  color: #fff;
  font-size: 0.7em;
  font-weight: 600;
  border: none;
  border-radius: 2px;
}

.cover-list ul li .title {
  display: block;
  font-weight: 700;
  font-size: 1.1em;
  line-height: 1.4;
}

.cover-list ul li a:hover .title {
  text-decoration: none;
  color: #000;
}

.cover-list ul li .excerpt {
  display: block;
  margin-top: 6px;
  font-size: 0.875em;
  line-height: 1.6;
  color: #888;
}

/* ===========================
   COVER - GALLERY
   =========================== */
.cover-gallery {
  margin: 0 auto;
  padding: 40px 0 20px;
  border-bottom: none;
}

.cover-gallery h2 {
  margin-bottom: 24px;
  font-size: 1.3em;
  font-weight: 800;
  border-bottom: 2px solid #000;
  padding-bottom: 12px;
}

.cover-gallery ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-left: 0;
}

.cover-gallery ul li {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

.cover-gallery ul li a {
  display: block;
  position: relative;
  width: 100%;
  background-color: #eee;
  border-radius: 6px;
  overflow: hidden;
}

.cover-gallery ul li .title {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 30;
  overflow: hidden;
  width: 100%;
  max-height: 4.2em;
  text-align: center;
  line-height: 1.4;
  padding: 0 16px;
  color: #fff;
  font-weight: 600;
  box-sizing: border-box;
  transform: translateY(-50%);
  visibility: hidden;
}

.cover-gallery ul li a:hover .title { visibility: visible; }

.cover-gallery ul li a:hover:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.cover-gallery ul li a:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.75em;
  color: #ccc;
}

.cover-gallery ul li figure {
  height: 0;
  padding-bottom: 100%;
}

.cover-gallery ul li figure img {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 10;
}

/* ===========================
   COVER - FOOTER
   =========================== */
.cover-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  background: #fff;
  margin-top: 40px;
  padding: 40px 0;
  border-top: 2px solid #111;
}

.cover-footer .image {
  height: 300px;
  margin-bottom: 40px;
  background-position: 50% 50%;
  background-size: cover;
}

.cover-footer p {
  margin: 0 0 16px;
  text-align: center;
  font-weight: 700;
  font-size: 1.1em;
  color: #000;
}

.cover-footer .menu ul {
  text-align: center;
}

.cover-footer .menu ul li {
  display: inline-block;
  margin: 20px 0;
  padding: 0 14px;
  font-size: 0.85em;
}

.cover-footer .menu ul li a {
  display: block;
  text-decoration: none;
  color: #555;
  transition: color 0.2s;
}

.cover-footer .menu ul li a:hover {
  color: #000;
}

.cover-footer p:first-child { margin-top: 0; }
.cover-footer .social-link:first-child a { margin-top: 0; }

/* ===========================
   POST LIST (Index)
   =========================== */
.post-header {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 40px 0 14px;
  border-bottom: 2px solid #111;
}

.post-header h1 {
  float: left;
  font-size: 1.3em;
  font-weight: 800;
}

.post-header .list-type {
  float: right;
}

.post-header .list-type button {
  float: left;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  background-image: url(./images/ico_package.png);
  background-repeat: no-repeat;
  text-indent: -999em;
  outline: none;
  border-radius: 3px;
}

.post-header .list-type button:hover { background-color: #eee; }
.post-header .list-type .list { background-position: 0 -200px; }
.post-header .list-type .thum { background-position: -100px -200px; }
.post-header .list-type .list.current { background-position: -50px -200px; }
.post-header .list-type .thum.current { background-position: -150px -200px; }

/* Post Items - Card Style */
.post-item {
  overflow: hidden;
  width: 100%;
  border-bottom: none;
  margin-bottom: 12px;
}

.post-item a {
  display: block;
  padding: 24px 28px;
  text-decoration: none;
  color: #111;
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid #4a7fd4;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s;
}

.post-item a:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  transform: translateY(-3px);
  border-left-color: #2d5db8;
}

.post-item:first-child a { padding-top: 24px; }

.post-item a:hover .title {
  text-decoration: none;
  color: #000;
}

.post-item .thum {
  display: none;
}

.post-item .category {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  background: #111;
  color: #fff;
  font-size: 0.7em;
  font-weight: 600;
  border: none;
  border-radius: 2px;
}

.post-item .title {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 1.25em;
  line-height: 1.4;
  color: #111;
}

.post-item .excerpt {
  display: block;
  font-size: 0.9em;
  line-height: 1.7;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-item .excerpt.protected:before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 13px;
  margin-right: 10px;
  background: url(./images/ico_package.png) no-repeat 0 -100px;
  vertical-align: baseline;
}

/* ===========================
   PAGINATION
   =========================== */
.pagination {
  max-width: 1200px;
  margin: 48px auto 100px;
  text-align: center;
}

.pagination .current { display: none; }

.pagination .view-more {
  display: inline-block;
  width: 180px;
  height: 48px;
  border: 2px solid #111;
  font-size: 0.875em;
  font-weight: 600;
  line-height: 48px;
  color: #111;
  transition: all 0.2s;
}

.pagination .view-more:hover {
  background: #111;
  color: #fff;
}

.pagination a {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin: 0 2px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 36px;
  color: #999;
  border-radius: 4px;
  vertical-align: middle;
  transition: all 0.2s;
}

.pagination a:hover {
  background-color: #111;
  color: #fff;
}

.pagination .selected {
  color: #000;
  font-weight: 700;
}

.pagination .prev,
.pagination .next {
  width: 48px;
  height: 48px;
  background-image: url(./images/ico_package.png);
  background-repeat: no-repeat;
  border: 2px solid #ddd;
  text-indent: -999em;
  vertical-align: middle;
  box-sizing: border-box;
  border-radius: 4px;
  transition: border-color 0.2s;
}

.pagination .prev { background-position: -50px 0; }
.pagination .next { background-position: -100px 0; }
.pagination .prev:hover,
.pagination .next:hover { border-color: #111; background-color: transparent; }
.pagination .no-more-prev,
.pagination .no-more-next { display: none; }

/* ===========================
   ARTICLE DETAIL (hgroup)
   =========================== */
.hgroup {
  max-width: 780px;
  margin: 48px auto 40px;
  padding: 0 0 24px;
  border-bottom: 1px solid #e8e8e8;
}

.hgroup .category {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: #111;
  color: #fff;
  font-size: 0.75em;
  font-weight: 600;
  border: none;
  border-radius: 3px;
}

.hgroup h1 {
  display: block;
  margin-bottom: 12px;
  font-weight: 800;
  font-size: 2em;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hgroup .post-meta {
  display: block;
  font-size: 0.825em;
  color: #999;
}

.hgroup .post-meta a {
  text-decoration: none;
  color: #999;
}

.hgroup .post-meta a:hover { text-decoration: underline; }

.hgroup .post-meta span:before {
  content: "\00b7";
  display: inline-block;
  margin: 0 8px;
  color: #ccc;
}

.hgroup .post-meta span:first-child:before { content: none; }

/* ===========================
   ENTRY CONTENT
   =========================== */
.entry-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05em;
  line-height: 1.85;
  color: #333;
  word-break: keep-all;
}

.entry-content h1 { margin: 56px 0 16px; font-size: 1.6em; font-weight: 800; color: #111; }
.entry-content h2 { margin: 48px 0 16px; font-size: 1.4em; font-weight: 700; color: #111; }
.entry-content h3 { margin: 40px 0 16px; font-weight: 700; font-size: 1.2em; color: #111; }
.entry-content h4 { margin: 36px 0 12px; font-weight: 600; font-size: 1.05em; color: #333; }

.entry-content p { margin-bottom: 20px; }

.entry-content p img {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 6px;
}

.entry-content hr {
  display: block;
  height: 0;
  border: 0;
  border-bottom: 1px solid #e0e0e0;
  margin: 40px 0;
}

.entry-content pre {
  word-break: break-word;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.entry-content pre code.hljs {
  padding: 20px;
  border-radius: 8px;
}

.entry-content ul,
.entry-content ol { margin-bottom: 24px; }

.entry-content ul { list-style: disc inside; }
.entry-content ul li {
  padding-left: 20px;
  position: relative;
  list-style: inherit;
  text-indent: -20px;
  margin-bottom: 4px;
}

.entry-content ol { list-style: inside decimal; }
.entry-content ol li {
  position: relative;
  padding-left: 16px;
  text-indent: -15px;
  list-style: inherit;
  margin-bottom: 4px;
}

.entry-content a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content a:hover { color: #555; }

.entry-content img.alignleft { float: left; margin: 0 22px 22px 0; }
.entry-content img.aligncenter { display: block; margin: 0 auto 22px; }
.entry-content img.alignright { float: right; margin: 0 0 22px 22px; }

.entry-content blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 4px solid #111;
  background: #f5f5f5;
  color: #444;
  font-style: italic;
  border-radius: 0 6px 6px 0;
}

/* ===========================
   TAGS
   =========================== */
.tags {
  position: relative;
  overflow: hidden;
  max-width: 780px;
  margin: 40px auto;
  padding: 20px 0 20px 50px;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  color: #999;
  box-sizing: border-box;
}

.tags h2 {
  float: left;
  width: 50px;
  margin-left: -50px;
  font-weight: 600;
  font-size: 0.9em;
  color: #111;
}

.tags .items a {
  display: inline-block;
  margin: 2px 4px;
  padding: 4px 10px;
  text-decoration: none;
  font-size: 0.8em;
  line-height: 1.5;
  color: #666;
  background: #f0f0f0;
  border-radius: 20px;
  transition: all 0.2s;
}

.tags .items a:hover {
  background: #111;
  color: #fff;
}

.tags .items a:before { content: "#"; }

/* ===========================
   RELATED ARTICLES
   =========================== */
.related-articles {
  overflow: hidden;
  width: 100%;
  margin: 48px 0 60px;
}

.related-articles h2 {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.1em;
}

.related-articles h2 em {
  border-bottom: 2px solid #000;
  font-style: normal;
}

.related-articles ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.related-articles ul li {
  float: none;
  width: auto;
  padding: 0;
}

.related-articles ul li:first-child { padding-left: 0; }

.related-articles ul li a {
  display: block;
  text-decoration: none;
  color: #111;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.related-articles ul li a:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.related-articles ul li a:hover .title {
  text-decoration: none;
  color: #000;
}

.related-articles ul li .thum {
  display: block;
  position: relative;
  overflow: hidden;
  height: 0;
  margin-bottom: 0;
  padding-bottom: 65%;
  background-color: #eee;
}

.related-articles ul li .thum:before {
  content: "NO IMAGE";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 18px;
  margin: -9px 0 0 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.75em;
  color: #ccc;
}

.related-articles ul li .thum img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-articles ul li .title {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.75em;
  padding: 12px;
  font-weight: 700;
  font-size: 0.9em;
  line-height: 1.375;
}

/* ===========================
   COMMENTS
   =========================== */
.comments {
  max-width: 780px;
  margin: 0 auto;
}

/* ===========================
   ANOTHER CATEGORY
   =========================== */
.another_category {
  margin: 48px auto 60px;
  padding: 0 !important;
  border: 0 !important;
}

.another_category h4 {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1em !important;
}

.another_category h4 em {
  border-bottom: 2px solid #000;
  font-style: normal;
}

.another_category table {
  width: 100%;
  border-collapse: collapse;
  border: 0 !important;
  font-size: 0.9em;
  color: #666;
}

.another_category table th {
  padding: 10px 0 6px;
  border: 0 !important;
  text-align: left;
  font-weight: 400;
}

.another_category table th a { text-decoration: none; color: #666; }
.another_category table th a:hover { color: #000; }

.another_category td {
  width: 60px;
  padding: 10px 0 6px;
  border-left: 0 !important;
  border-top: 0 !important;
  font-size: 0.8em;
  line-height: 1;
  color: #bbb;
}

/* ===========================
   SOCIAL LINKS
   =========================== */
.social-link a {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  text-indent: -999em;
  background-image: url(./images/ico_package.png);
  background-repeat: no-repeat;
  vertical-align: top;
}

.social-link a:hover { background-position-y: -68px; }
.social-link .pinterest { background-position: 0 -50px; }
.social-link .facebook { background-position: -50px -50px; }
.social-link .twitter { background-position: -100px -50px; }
.social-link .instagram { background-position: -150px -50px; }

/* ===========================
   BUTTONS
   =========================== */
.btn, a.btn {
  display: inline-block;
  width: 158px;
  height: 48px;
  border: 2px solid #111;
  font-size: 0.875em;
  font-weight: 600;
  line-height: 48px;
  text-align: center;
  color: #111;
  transition: all 0.2s;
}

.btn:hover {
  background: #111;
  color: #fff;
}

/* ===========================
   PROTECTED FORM
   =========================== */
.protected_form {
  text-align: center;
  padding: 60px 0;
}

.protected_form p {
  margin-bottom: 24px;
  color: #666;
}

.protected_form fieldset {
  display: inline-flex;
  gap: 8px;
}

.protected_form input[type="password"] {
  width: 200px;
  height: 44px;
  padding: 0 14px;
  border: 2px solid #ddd;
  font-size: 0.95em;
  border-radius: 4px;
  transition: border-color 0.2s;
}

.protected_form input[type="password"]:focus {
  border-color: #111;
  outline: none;
}

.protected_form .btn {
  width: 80px;
  height: 44px;
  line-height: 44px;
  border-radius: 4px;
}

/* ===========================
   GUEST PAGE
   =========================== */
.guest_inner {
  max-width: 780px;
  margin: 0 auto;
}

/* ===========================
   FOOTER
   =========================== */
#footer {
  position: relative;
  padding: 24px 0;
  background: #111;
  border-top: none;
  margin-top: auto;
}

#footer p {
  text-align: center;
  font-size: 0.75em;
  color: #666;
}

#footer p a {
  text-decoration: none;
  color: #666;
}

#footer .admin {
  color: #888;
}

#footer .admin:before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  margin: 0 8px;
  background-color: #444;
  vertical-align: middle;
}

#tt-body-index #footer { border-top: 0; }

/* ===========================
   POST TYPE - THUMBNAIL GRID
   =========================== */
.post-type-thumbnail .post-item {
  float: left;
  width: 33.333%;
  padding: 0 6px;
  margin-bottom: 12px;
  border: 0;
  box-sizing: border-box;
}

.post-type-thumbnail .post-item a {
  display: block;
  flex-direction: column;
  min-height: auto;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}

.post-type-thumbnail .post-item .thum {
  float: none;
  width: 100%;
  max-width: 100%;
  height: 180px;
  margin: 0 0 0 0;
  order: 0;
  border-radius: 0;
}

.post-type-thumbnail .post-item .title {
  padding: 12px 14px 4px;
}

.post-type-thumbnail .post-item .excerpt {
  padding: 0 14px 14px;
}

/* ===========================
   COLOR TYPES
   =========================== */
.color-type-white { background: #f8f8f8; }

/* ===========================
   MEDIA QUERIES - TABLET
   =========================== */
@media screen and (max-width: 1024px) {
  .cover-thumbnail-list ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .cover-masonry ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .related-articles ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-type-thumbnail .post-item { width: 50%; }
}

/* ===========================
   MEDIA QUERIES - MOBILE
   =========================== */
@media screen and (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  #header h1 {
    font-size: 1.3em;
    padding: 16px 0;
  }

  .cover-thumbnail-list ul {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cover-masonry ul {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .cover-slider ul li {
    height: 320px;
  }

  .cover-slider ul li .title {
    font-size: 1.6em;
  }

  .cover-list ul li a {
    flex-direction: column-reverse;
    padding: 16px;
  }

  .cover-list ul li figure {
    width: 100%;
    height: 180px;
    margin: 0 0 12px 0;
    order: 0;
  }

  .post-item a {
    padding: 16px;
  }

  .post-item .thum {
    width: 100px;
    height: 70px;
    margin-left: 16px;
  }

  .post-type-thumbnail .post-item {
    float: none;
    width: 100%;
    padding: 0;
  }

  .hgroup {
    margin: 32px auto 28px;
    padding: 0 16px 20px;
  }

  .hgroup h1 {
    font-size: 1.5em;
  }

  .entry-content {
    padding: 0 16px;
    font-size: 1em;
  }

  .tags {
    margin: 28px 16px;
  }

  .related-articles {
    padding: 0 16px;
  }

  .related-articles ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .comments {
    padding: 0 16px;
  }

  .pagination {
    margin: 32px auto 60px;
  }
}

/* ===========================
   SCROLLBAR
   =========================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #999;
}
