/* Wrap post header meta (date/author/tags) on small screens */
@media (max-width: 720px) {
  .post-template .post-full-meta {
    flex-wrap: wrap;
    gap: 4px 10px;
    justify-content: center
  }

  .post-template .post-full-meta a[rel="tag"] {
    display: inline-block;
    max-width: 100%;
    white-space: normal
  }
}

.pagination {
  position: relative;
  width: 80%;
  max-width: 800px;
  margin: 4rem auto;
  font-family: Open Sans, sans-serif;
  font-size: 1.3rem;
  color: #9eabb3;
  text-align: center
}

.pagination a {
  color: #3eb0ef;
  transition: all .2s ease
}

.newer-posts,
.older-posts {
  position: absolute;
  display: inline-block;
  padding: 0 15px;
  border: 1px solid #bfc8cd;
  text-decoration: none;
  border-radius: 4px;
  transition: border .3s ease
}

.older-posts {
  right: 0
}

.page-number {
  display: inline-block;
  padding: 2px 0;
  min-width: 100px
}

.newer-posts {
  left: 0
}

.newer-posts:hover,
.older-posts:hover {
  color: #3eb0ef;
  border-color: #98a0a4
}

.extra-pagination {
  display: none;
  border-bottom: 1px solid #ebf2f6
}

.extra-pagination:after {
  display: block;
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid #e7eef2;
  position: absolute;
  bottom: -5px;
  left: 50%;
  margin-left: -5px;
  background: #fff;
  border-radius: 100%;
  box-shadow: 0 0 0 5px #fff
}

.extra-pagination .pagination {
  width: auto
}

.paged .main-header {
  max-height: 30vh
}

.paged .extra-pagination {
  display: block
}

.pagination {
  padding-top: 4rem;
  border-top: 1px solid #bfc8cd;
  word-wrap: break-word
}

.pagination:before {
  display: block;
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid #bfc8cd;
  position: absolute;
  top: -5px;
  left: 50%;
  margin-left: -5px;
  background: #f4f8fb;
  border-radius: 100%;
  box-shadow: 0 0 0 5px #f4f8fb
}

.highlighter-rouge {
  overflow-x: auto;
  max-width: 100%;
  min-width: 100%
}

.highlight code,
.highlight pre,
.highlight table,
.highlight tbody,
.highlight tr,
figure.highlight,
td.code {
  border: none;
  min-width: 100%;
  max-width: 100%
}

.highlight table,
.highlight td pre {
  padding: 0;
  margin: 0
}

.highlight table td {
  border: none;
  margin: none;
  padding: none
}

.highlight table td:first-child,
.highlight table td:last-child {
  background: none
}

/*# sourceMappingURL=screen.edited.css.map */

/* Home Header (top bar) */
.home-header {
  position: relative;
  z-index: 500;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .06)
}

html,
body {
  background: #fff !important;
  color: #000 !important
}

.site-header {
  background-color: #fff !important;
  color: #7F0C6F !important
}

.site-header-content {
  align-items: flex-start;
  text-align: left;
  padding-left: 20px
}

.home-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 4vw;
  max-width: 1040px;
  margin: 0 auto
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit
}

.home-brand-logo {
  width: 28px;
  height: 28px
}

.home-brand-name {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -.2px
}

.home-nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0
}

.home-nav-list a {
  color: #15171A;
  opacity: .9;
  text-decoration: none;
  font-size: 1.4rem
}

.home-nav-list a:hover {
  opacity: 1
}

.home-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: #D08BC6;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem
}

.home-cta-btn:hover {
  background: #C176B5
}

/* Force Pretendard on home template */
.home-template,
.home-template * {
  font-family: 'Pretendard Variable', Pretendard, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important
}

/* Responsive banner text */
@media (max-width:768px) {
  .home-template .site-title span {
    font-size: 40px !important
  }

  .home-template .site-title img {
    height: 40px !important
  }

  .home-template .site-title {
    gap: 12px !important
  }

  .home-template .site-description {
    font-size: 1.6rem !important
  }
}

@media (max-width:500px) {
  .home-template .site-title span {
    font-size: 32px !important
  }

  .home-template .site-title img {
    height: 32px !important
  }

  .home-template .site-title {
    gap: 8px !important
  }

  .home-template .site-description {
    font-size: 1.4rem !important
  }
}

/* Force Pretendard on tag template */
.tag-template,
.tag-template * {
  font-family: 'Pretendard Variable', Pretendard, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important
}

/* Force Pretendard on category template */
.category-template,
.category-template * {
  font-family: 'Pretendard Variable', Pretendard, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important
}

/* Category page spacing (same as tag pages) */
.category-template .site-main .inner {
  margin-top: 80px !important
}

.category-template .category-page-title {
  margin: 12px 0 56px 0 !important;
  padding: 0 !important;
  font-size: 2.8rem !important;
  font-weight: 700 !important;
  color: #212121 !important;
  text-align: left !important
}

.category-template .post-feed {
  margin-top: 0 !important;
  padding-top: 0 !important
}

.category-template .breadcrumb-nav {
  margin-top: 80px
}

/* Category breadcrumb styles */
.category-template .breadcrumb-nav {
  background: transparent
}

.category-template .breadcrumb-nav {
  position: relative;
  z-index: 2
}

.category-template .breadcrumb-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  color: #212121
}

.category-template .breadcrumb-link {
  color: #212121;
  text-decoration: none
}

.category-template .breadcrumb-link:hover {
  text-decoration: underline
}

.category-template .breadcrumb-sep {
  color: #212121
}

.category-template .breadcrumb-current {
  color: #212121;
  font-weight: 600
}

/* Category chip on post cards */
.post-card-category {
  margin-bottom: 8px;
  padding: 25px 25px 0 25px
}

.category-chip {
  display: inline-block;
  padding: 4px 12px;
  background: transparent;
  color: #212121;
  border: 1px solid #d9d9d9;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s ease
}

.category-chip:hover {
  background: #f5f5f5;
  border-color: #212121;
  text-decoration: none
}

/* Flatten nested bullets under numbered lists in post content */
.post-template .post-full-content ol li>ul {
  margin: 0 !important;
  padding-left: 0 !important;
  list-style: none !important
}

.post-template .post-full-content ol li>ul>li {
  margin: 0 !important;
  padding: 0 !important
}

/* Match date color to author (MATE) gray on post header */
.post-template .post-full-meta-date {
  color: inherit !important
}

/* Ensure inline images stay within text column */
.post-template .post-full-content img:not([src$="#full"]) {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width:720px) {
  .home-nav {
    display: none
  }

  .home-header-inner {
    height: 56px
  }
}

/* Sticky home header */
.home-header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  -webkit-backdrop-filter: saturate(180%) blur(6px);
  backdrop-filter: saturate(180%) blur(6px)
}

/* Fixed home header + offsets */
.home-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  -webkit-backdrop-filter: saturate(180%) blur(6px);
  backdrop-filter: saturate(180%) blur(6px)
}

.home-header-inner {
  height: 72px;
  padding: 0 5vw;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit
}

.home-brand-logo {
  width: 32px;
  height: 32px
}

.home-brand-name {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -.2px
}

.home-nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0
}

.home-nav-list a {
  color: #15171A;
  opacity: .9;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 600
}

.home-nav-list a:hover {
  opacity: 1
}

.home-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: #D08BC6;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.4rem
}

.home-cta-btn:hover {
  background: #C176B5
}

.home-template .custom-banner-header {
  padding-top: 72px !important
}

@media (max-width:768px) {
  .home-nav {
    display: none
  }

  .home-header-inner {
    height: 60px
  }

  .home-template .custom-banner-header {
    padding-top: 60px !important
  }
}

/* Left-align brand + nav, push CTA right */
.home-header-inner {
  justify-content: flex-start;
  gap: 24px
}

.home-cta {
  margin-left: auto
}

/* Make site-nav readable inside white home header */
.home-header .nav li a {
  color: #15171A;
  opacity: .9
}

.home-header .nav li a:hover {
  opacity: 1
}

.home-header .site-nav-left {
  padding-bottom: 0
}

.nav-post-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px
}

.nav-post-icon {
  width: 16px;
  height: 16px;
  display: inline-block
}

.home-nav-list .nav-post-toggle {
  color: #15171A;
  opacity: .9;
  font-size: 1.6rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px
}

.home-nav-list .nav-post-toggle:hover {
  opacity: 1
}

.nav-post.has-dropdown {
  position: relative
}

.nav-post-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer
}

.nav-post-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  list-style: none;
  padding: 8px 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 8px;
  min-width: 160px;
  display: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08)
}

.nav-post-dropdown li {
  margin: 0;
  padding: 0
}

.nav-post-dropdown a {
  display: block;
  padding: 8px 12px;
  color: #15171A;
  text-decoration: none;
  font-size: 1.4rem
}

.nav-post-dropdown a:hover {
  background: rgba(0, 0, 0, .04)
}

.nav-post.open>.nav-post-dropdown {
  display: block
}

/* Enforce fixed-width single card on home */
.home-template .post-feed {
  display: flex !important;
  justify-content: center !important
}

.home-template .post-card {
  flex: 0 1 300px !important;
  width: 300px !important;
  max-width: 100% !important;
  min-height: 400px !important;
  display: flex !important;
  flex-direction: column !important
}

.home-template .post-card .post-card-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important
}

.home-template .post-card .post-card-content-link {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important
}

.home-template .post-card .post-card-header {
  flex-shrink: 0 !important
}

.home-template .post-card .post-card-excerpt {
  flex: 1 !important
}

.home-template .post-card .post-card-meta {
  flex-shrink: 0 !important
}

/* Responsive: small screens */
@media (max-width:980px) {
  .home-template .post-card {
    flex: 1 1 calc(50% - 20px) !important;
    width: calc(50% - 20px) !important;
    min-width: 280px !important
  }
}

@media (max-width:680px) {
  .home-template .post-card {
    flex: 1 1 100% !important;
    width: 100% !important
  }
}

/* Home posts container */
.home-template .home-posts-container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center
}

.home-section-title {
  margin: 0 0 32px;
  padding: 0 32px;
  width: 100%;
  font-size: 1.8rem;
  font-weight: 700;
  color: #7f7f7f;
  text-align: left
}

.home-template .home-posts-container .post-feed {
  margin-bottom: 24px;
  width: 100%
}

.home-template .home-posts-container .pagination {
  width: 100%;
  max-width: 1040px
}

.home-template .home-posts-container .home-tags-bar {
  width: 100%;
  max-width: 1040px
}

/* Footer spacing */
.site-footer.outer {
  margin-top: 24px
}

/* Load more button */
.home-template .pagination {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 0 40px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important
}

.load-more-btn {
  display: block;
  padding: 12px 32px;
  background: #212121;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  min-width: 200px
}

.load-more-btn:hover {
  background: #000;
  text-decoration: none;
  transform: translateY(-2px)
}

.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed
}

/* Home tags bar */
.tags-bar-wrapper {
  margin-top: 24px;
  width: 100%
}

.home-tags-bar {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px
}

.tags-bar-title {
  margin: 0 0 16px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #212121
}

.tags-bar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.tags-bar-item {
  display: inline-block;
  padding: 6px 14px;
  background: transparent;
  color: #212121;
  border: 1px solid #d9d9d9;
  text-decoration: none;
  border-radius: 999px;
  font-size: 1.3rem;
  transition: all 0.2s ease
}

.tags-bar-item:hover {
  background: #f5f5f5;
  text-decoration: none
}

.home-template .pagination:before {
  display: none !important;
  content: none !important
}

.home-template .pagination:after {
  display: none !important;
  content: none !important
}

.home-template .extra-pagination {
  display: none !important
}

.home-template .extra-pagination:after {
  display: none !important
}

/* Enforce fixed-width cards on tag pages too */
.tag-template .post-feed {
  display: flex !important;
  justify-content: center !important
}

.tag-template .post-card {
  flex: 0 0 300px !important;
  width: 300px !important;
  max-width: 300px !important
}

/* Remove top shadow bars on post content */
.post-full-content:before,
.post-full-content:after {
  display: none !important
}

/* Force Pretendard for all post page typography */
.post-template .post-full-header,
.post-template .post-full-meta,
.post-template .post-full-content,
.post-template .post-full-content *,
.post-template .kg-card-markdown {
  font-family: 'Pretendard Variable', Pretendard, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important
}

/* Post page category chip */
.post-category-chip-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px
}

.post-category-chip {
  display: inline-block;
  padding: 4px 12px;
  background: transparent;
  color: #212121;
  border: 1px solid #d9d9d9;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s ease
}

.post-category-chip:hover {
  background: #f5f5f5;
  border-color: #212121;
  text-decoration: none
}

/* Post readability enhancements */
.post-template .post-full-content p {
  line-height: 1.8;
  margin: 0 0 1em
}

.post-template .post-full-content ul,
.post-template .post-full-content ol {
  padding-left: 1.4em;
  margin: .6em 0 1em
}

.post-template .post-full-content li {
  margin: .25em 0
}

.post-template .post-full-content blockquote {
  border-left: 4px solid #7F0C6F;
  background: #FAF5FB;
  padding: 12px 16px;
  border-radius: 6px
}

.post-template .post-full-content strong {
  color: #1f1f1f;
  font-weight: 700
}

.post-template .post-full-content em {
  color: #333
}

.post-template .post-full-content code {
  background: #F5F5F7;
  border-radius: 4px;
  padding: 0 6px 2px
}

.post-template .post-full-content a {
  text-decoration: underline;
  text-decoration-color: rgba(127, 12, 111, .65);
  box-shadow: none
}

.post-template .post-full-content a:hover {
  color: #7F0C6F;
  text-decoration-color: #7F0C6F
}

.post-template .post-full-content h1,
.post-template .post-full-content h2,
.post-template .post-full-content h3,
.post-template .post-full-content h4,
.post-template .post-full-content h5,
.post-template .post-full-content h6 {
  margin-top: 1.2em
}

/* Force base body text size to 16px on post pages */
.post-template .post-full-content {
  font-size: 16px
}

/* Reduce h3 size on post pages */
.post-template .post-full-content h3 {
  font-size: 20px
}

/* Reduce h2 size on post pages */
.post-template .post-full-content h2 {
  font-size: 24px
}

/* Post page tags color - blue */
.post-template .post-full-header .post-tags-below {
  color: #3eb0ef !important
}

.post-template .post-full-header .post-tags-below a {
  color: #3eb0ef !important;
  text-decoration: none !important
}

.post-template .post-full-header .post-tags-below a:visited {
  color: #3eb0ef !important
}

.post-template .post-full-header .post-tags-below a:hover {
  color: #7F0C6F !important
}

/* Offset fixed header on post pages */
.post-template .site-main {
  padding-top: 72px
}

@media (max-width:768px) {
  .post-template .site-main {
    padding-top: 60px
  }
}

/* Post actions carousel (built) */
.post-actions {
  margin: 32px 0 8px;
  padding: 0 100px
}

.post-actions-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch
}

.post-action-card {
  scroll-snap-align: start;
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit
}

.post-action-thumb {
  width: 56px;
  height: 56px;
  background: #E5EFF5;
  border-radius: 12px;
  flex-shrink: 0
}

.post-action-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700
}

.post-action-desc {
  margin: 2px 0 0;
  font-size: 1.3rem;
  opacity: .8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

/* Offset fixed header on tag pages so content isn't hidden */
body.tag-template .site-main.outer .inner {
  margin-top: 80px !important
}

body.tag-template main.site-main .inner {
  margin-top: 80px !important
}

body.tag-template .outer .inner {
  margin-top: 80px !important
}

body.tag-template #site-main .inner {
  margin-top: 80px !important
}

/* Post page: breadcrumb + tag title above content */
.post-template .post-pre-content {
  padding: 0 100px;
  text-align: left
}

.post-template .post-pre-content .post-breadcrumb {
  font-size: 1.3rem;
  color: var(--midgrey);
  margin-bottom: 16px
}

.post-template .post-pre-content .post-breadcrumb a {
  color: var(--blue);
  text-decoration: none
}

.post-template .post-pre-content .post-breadcrumb .sep {
  margin: 0 6px;
  color: var(--midgrey)
}

.post-template .post-pre-content .post-primary-tag {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px
}

@media (max-width:1170px) {
  .post-template .post-pre-content {
    padding: 0 7vw
  }
}

/* Breadcrumb styles */
.breadcrumb-nav {
  background: transparent
}

.breadcrumb-nav {
  position: relative;
  z-index: 2
}

.tag-template .breadcrumb-nav {
  margin-top: 80px
}

.breadcrumb-inner {
  max-width: 1040px;
  margin: 0 auto 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  color: #212121;
  flex-wrap: wrap
}

.breadcrumb-link {
  color: #212121;
  text-decoration: none
}

.breadcrumb-link:hover {
  text-decoration: underline
}

.breadcrumb-sep {
  color: #212121
}

.breadcrumb-current {
  color: #212121;
  font-weight: 600
}

/* Ensure post list doesn't overlap breadcrumb */
.tag-template .post-feed {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 0 !important;
  padding-top: 0 !important
}

/* Tag page title between breadcrumb and posts */
.tag-template .tag-page-title {
  margin: 12px 0 56px 0 !important;
  padding: 0 !important;
  font-size: 2.8rem !important;
  font-weight: 700 !important;
  color: #212121 !important;
  text-align: left !important
}