:root {
  color-scheme: light;
}

.blog-page {
  font-family: Pretendard, "Noto Sans KR", ui-sans-serif, system-ui, sans-serif;
}

.site-header {
  border-bottom: 1px solid #eeeae3;
  background: rgba(255, 253, 250, .92);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #292524;
  text-decoration: none;
}

.site-brand__mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: #4d6759;
  color: #fffdfa;
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

.site-brand strong,
.site-brand small {
  display: block;
}

.site-brand strong {
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.site-brand small {
  margin-top: .12rem;
  color: #a8a29e;
  font-size: .61rem;
  letter-spacing: .05em;
}

.category-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.category-nav a {
  color: #78716c;
  font-size: .83rem;
  text-decoration: none;
}

.category-nav a:hover,
.category-nav a.is-active {
  color: #385044;
  font-weight: 700;
}

.category-toggle {
  color: #57534e;
  font-size: .78rem;
}

.home-hero h1,
.article-shell h1,
.section-heading h2 {
  color: #292524;
  font-family: Georgia, "Noto Serif KR", serif;
}

.eyebrow {
  color: #718275;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.home-hero h1 {
  margin-top: 1.15rem;
  font-size: clamp(2.15rem, 5.2vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.22;
}

.home-hero > p:last-child {
  max-width: 34rem;
  margin-top: 1.45rem;
  color: #78716c;
  font-size: .95rem;
  line-height: 1.85;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin-top: .45rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.section-heading--home > span {
  color: #a8a29e;
  font-size: .76rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.post-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
  overflow: hidden;
  border: 1px solid #eeeae3;
  border-radius: 1.15rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: #d8d1c6;
  box-shadow: 0 14px 28px rgba(73, 62, 46, .08);
}

.post-card.is-current {
  border-color: #7f9888;
  background: #f6faf6;
}

.post-card img {
  width: 100%;
  aspect-ratio: 1;
  background: #f5f5f4;
  object-fit: cover;
}

.post-card > div {
  padding: 1.15rem;
}

.post-card__category {
  overflow: hidden;
  color: #718275;
  font-size: .7rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-card__category span {
  color: #c4bdb2;
}

.post-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-top: .45rem;
  color: #292524;
  font-size: .97rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-card > div > p:last-child {
  display: -webkit-box;
  overflow: hidden;
  margin-top: .55rem;
  color: #78716c;
  font-size: .78rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-grid--compact .post-card {
  display: flex;
  min-height: 8.25rem;
}

.post-grid--compact .post-card img {
  width: 8.25rem;
  aspect-ratio: 1;
}

.article-shell h1 {
  margin-top: .85rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.28;
}

.article-category a,
.text-link {
  color: #58725f;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.article-meta {
  display: flex;
  gap: .45rem;
  margin-top: 1rem;
  color: #a8a29e;
  font-size: .76rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #a8a29e;
  font-size: .72rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  max-width: 100%;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: #d6d3d1;
}

.breadcrumb a {
  color: #78716c;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #58725f;
}

.breadcrumb li[aria-current="page"] {
  overflow: hidden;
  color: #a8a29e;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-keyword {
  color: #78716c;
}

.article-lead {
  margin-top: 2rem;
  color: #57534e;
  font-size: 1rem;
  line-height: 1.9;
}

.article-cta {
  margin-top: 2.75rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid #d7e4d9;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, #f7faf7 0%, #f3f7f3 100%);
}

.article-cta__eyebrow {
  margin: 0;
  color: #7f987f;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.article-cta__title {
  margin: .45rem 0 0;
  color: #292524;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}

.article-cta__desc {
  margin: .55rem 0 0;
  color: #78716c;
  font-size: .86rem;
  line-height: 1.7;
}

.article-cta__button {
  display: inline-flex;
  margin-top: 1rem;
  padding: .72rem 1.1rem;
  border-radius: .85rem;
  background: #4d6759;
  color: #fffdfa;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}

.article-cta__button:hover {
  background: #3f6650;
}

.article-gallery {
  margin-top: 2.2rem;
}

.article-gallery--pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.article-gallery--pair img,
.article-gallery--single .article-cover,
.article-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1.15rem;
  background: #f5f5f4;
  object-fit: cover;
}

.article-gallery--single {
  display: flex;
}

.article-gallery--single .article-cover {
  max-width: min(100%, 22rem);
  border-radius: 1.25rem;
}

@media (max-width: 639px) {
  .article-gallery--pair {
    gap: .55rem;
  }

  .article-gallery--pair img {
    border-radius: .9rem;
  }
}

.ad-disclosure {
  display: inline-flex;
  align-items: center;
  margin: 2.25rem 0 0;
  padding: .55rem .95rem;
  border: 1px solid #e4ddd2;
  border-radius: 999px;
  background: #faf7f2;
  color: #78716c;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.4;
}

.article-content {
  margin-top: 1.35rem;
  color: #44403c;
  font-size: 1rem;
  line-height: 2;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content :is(p, ul, ol, blockquote, table, .shopblog-product-card) {
  margin: 1.25rem 0;
}

.article-content h2,
.article-content h3 {
  margin-top: 2.4rem;
  color: #292524;
  font-family: Georgia, "Noto Serif KR", serif;
  font-weight: 700;
  line-height: 1.45;
}

.article-content h2 { font-size: 1.45rem; }
.article-content h3 { font-size: 1.16rem; }
.article-content ul, .article-content ol { padding-left: 1.35rem; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li + li { margin-top: .4rem; }
.article-content a { color: #3f6650; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote { border-left: 3px solid #9bb4a1; padding-left: 1rem; color: #78716c; }
.article-content img { max-width: 100%; height: auto; border-radius: .85rem; }
.article-content table { display: block; width: 100%; overflow-x: auto; border: 1px solid #e7e5e4; border-radius: .8rem; font-size: .86rem; }
.article-content th, .article-content td { min-width: 7rem; border-bottom: 1px solid #e7e5e4; padding: .65rem .8rem; text-align: left; }
.article-content th { color: #3f6650; font-weight: 700; }

.article-content .shopblog-product-card {
  overflow: hidden;
  border: 1px solid #d7e4d9;
  border-radius: 1rem;
  background: #f6faf6;
}

.article-content .shopblog-product-card__link { display: flex; align-items: center; gap: 1rem; padding: 1rem; color: inherit; text-decoration: none; }
.article-content .shopblog-product-card__image { width: 5rem; height: 5rem; flex: 0 0 auto; border-radius: .75rem; object-fit: cover; }
.article-content .shopblog-product-card__content { display: grid; min-width: 0; gap: .3rem; }
.article-content .shopblog-product-card__content strong { color: #292524; font-size: .9rem; }
.article-content .shopblog-product-card__content span { color: #78716c; font-size: .75rem; line-height: 1.45; }
.article-content .shopblog-product-card__source-url { overflow: hidden; color: #58725f; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }

.post-section { border-top: 1px solid #eeeae3; padding-top: 3.5rem; }
.site-footer { border-top: 1px solid #eeeae3; color: #a8a29e; font-size: .72rem; }
.site-footer > div { display: flex; justify-content: space-between; gap: 1rem; }
.site-footer strong { color: #57534e; font-family: Georgia, serif; }
.empty-state { padding: 4rem 0; color: #a8a29e; text-align: center; }

@media (max-width: 767px) {
  .category-nav { display: none; position: absolute; top: 4.8rem; right: 1.25rem; left: 1.25rem; z-index: 10; flex-wrap: wrap; gap: .8rem 1rem; padding: 1rem; border: 1px solid #eeeae3; border-radius: 1rem; background: #fffdfa; box-shadow: 0 16px 30px rgba(73, 62, 46, .08); }
  .category-nav.is-open { display: flex; }
  .post-grid, .post-grid--home { grid-template-columns: 1fr; }
  .post-grid--compact .post-card img { width: 6.5rem; }
  .home-hero h1 { font-size: 2.3rem; }
  .site-footer > div { flex-direction: column; }
}
