@charset "utf-8";
/* =========================================================
   BOMBOM MAT JOURNAL — Tistory skin for blog.bombommat.com
   Brand: coral #F56038 · cream #FFF8F2 · ink #262121 · Pretendard
   ========================================================= */

:root {
  --bb-coral: #F56038;
  --bb-coral-dark: #DC4A22;
  --bb-coral-soft: #FFE7DD;
  --bb-peach: #FFD9C2;
  --bb-cream: #FFF8F2;
  --bb-cream-2: #FFF1E6;
  --bb-sage: #CFE3C9;
  --bb-butter: #FFE9A8;
  --bb-sky: #D6E8F5;
  --bb-ink: #262121;
  --bb-ink-2: #4A4240;
  --bb-muted: #8A7F7B;
  --bb-line: #F1E5DC;
  --bb-white: #FFFFFF;
  --bb-radius: 18px;
  --bb-radius-sm: 12px;
  --bb-shadow: 0 1px 2px rgba(38, 33, 33, .04), 0 8px 24px rgba(38, 33, 33, .06);
  --bb-shadow-hover: 0 2px 4px rgba(38, 33, 33, .05), 0 16px 36px rgba(245, 96, 56, .14);
  --bb-max: 1180px;
  --bb-read: 760px;
  --bb-header-h: 68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--bb-ink);
  background: var(--bb-white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
hr { display: none; }

.bb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bb-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--bb-ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.bb-skip:focus { left: 16px; }
:focus-visible { outline: 3px solid rgba(245, 96, 56, .45); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons / pills ---------- */
.bb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 48px; padding: 0 22px;
  border: 1.5px solid var(--bb-coral); border-radius: 999px;
  background: var(--bb-coral); color: #fff !important;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.bb-btn:hover { background: var(--bb-coral-dark); border-color: var(--bb-coral-dark); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(245, 96, 56, .25); }
.bb-btn--ghost { background: #fff; color: var(--bb-ink) !important; border-color: var(--bb-line); }
.bb-btn--ghost:hover { background: var(--bb-cream); border-color: var(--bb-peach); box-shadow: none; }
.bb-btn--sm { height: 36px; padding: 0 16px; font-size: 13px; }
.bb-btn--block { display: flex; width: 100%; }
.bb-btn--store { background: #03C75A; border-color: #03C75A; }
.bb-btn--store:hover { background: #02B351; border-color: #02B351; box-shadow: 0 8px 18px rgba(3, 199, 90, .25); }
.bb-n {
  display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 4px;
  background: #fff; color: #03C75A; font-size: 11px; font-weight: 900; line-height: 1;
}

.bb-pill {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 11px; border-radius: 999px;
  background: var(--bb-coral-soft); color: var(--bb-coral-dark) !important;
  font-size: 12.5px; font-weight: 700; letter-spacing: -.01em;
}
.bb-pill:empty { display: none; }
.bb-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--bb-coral); }

.bb-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--bb-ink);
  transition: background .2s;
}
.bb-icon-btn:hover { background: var(--bb-cream-2); }

/* ---------- Header ---------- */
.bb-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.bb-header.is-scrolled { border-bottom-color: var(--bb-line); box-shadow: 0 4px 20px rgba(38, 33, 33, .04); }
.bb-header__inner {
  display: flex; align-items: center; gap: 28px;
  max-width: var(--bb-max); height: var(--bb-header-h); margin: 0 auto; padding: 0 24px;
}
.bb-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.bb-logo img { width: 112px; height: auto; }
.bb-logo__tag {
  padding: 3px 8px; border-radius: 6px; background: var(--bb-cream-2);
  font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--bb-coral);
}

/* category list (desktop gnb) */
.bb-gnb { flex: 1; min-width: 0; }
.bb-gnb .tt_category > li > .link_tit { display: none; }
.bb-gnb .category_list { display: flex; align-items: center; gap: 2px; }
.bb-gnb .category_list > li { position: relative; }
.bb-gnb .link_item {
  display: block; padding: 8px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--bb-ink-2); white-space: nowrap;
  transition: color .2s, background .2s;
}
.bb-gnb .link_item:hover, .bb-gnb .category_list > li:hover > .link_item { color: var(--bb-coral); background: var(--bb-cream); }
.bb-gnb .c_cnt, .bb-gnb img, .bb-drawer .c_cnt, .bb-drawer img[alt="N"] { display: none !important; }
.bb-gnb .sub_category_list {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px;
  padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--bb-line);
  box-shadow: var(--bb-shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.bb-gnb .category_list > li:hover .sub_category_list,
.bb-gnb .category_list > li:focus-within .sub_category_list { opacity: 1; visibility: visible; transform: none; }
.bb-gnb .link_sub_item { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--bb-ink-2); white-space: nowrap; }
.bb-gnb .link_sub_item:hover { background: var(--bb-cream); color: var(--bb-coral); }
/* keep the top bar tidy: hide small housekeeping categories */
.bb-gnb .category_list > li:nth-child(n+6) { display: none; }
.bb-gnb .link_item { font-size: 15.5px; padding: 8px 14px; }

.bb-header__util { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.bb-menu-toggle { display: none; flex-direction: column; gap: 4px; }
.bb-menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* search */
.bb-search { display: none; border-top: 1px solid var(--bb-line); background: #fff; }
.bb-search-open .bb-search { display: block; }
.bb-search__inner { display: flex; gap: 10px; max-width: var(--bb-max); margin: 0 auto; padding: 14px 24px; }
.bb-search input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px;
  border: 1.5px solid var(--bb-line); border-radius: 999px; background: var(--bb-cream);
  font: inherit; font-size: 15px; color: var(--bb-ink); outline: none;
  transition: border-color .2s, background .2s;
}
.bb-search input:focus { border-color: var(--bb-coral); background: #fff; }

/* ---------- Mobile drawer ---------- */
.bb-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.bb-drawer__dim { position: absolute; inset: 0; background: rgba(38, 33, 33, .4); opacity: 0; transition: opacity .25s; }
.bb-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column;
  width: min(86vw, 360px); background: #fff;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.bb-nav-open { overflow: hidden; }
.bb-nav-open .bb-drawer { visibility: visible; }
.bb-nav-open .bb-drawer__dim { opacity: 1; }
.bb-nav-open .bb-drawer__panel { transform: none; }
.bb-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px 22px; }
.bb-drawer__head strong { font-size: 17px; }
.bb-drawer__nav { flex: 1; overflow-y: auto; padding: 0 14px 16px; }
.bb-drawer__nav .link_tit { display: block; padding: 12px 10px; font-weight: 700; color: var(--bb-coral); }
.bb-drawer__nav .link_item { display: block; padding: 13px 10px 8px; font-size: 16px; font-weight: 700; border-top: 1px solid var(--bb-line); }
.bb-drawer__nav .category_list > li:first-child > .link_item { border-top: 0; }
.bb-drawer__nav .sub_category_list { padding: 0 0 8px 10px; }
.bb-drawer__nav .link_sub_item { display: block; padding: 7px 10px; font-size: 14.5px; color: var(--bb-muted); border-radius: 8px; }
.bb-drawer__nav .link_sub_item:hover { background: var(--bb-cream); color: var(--bb-coral); }
.bb-drawer__foot { display: grid; gap: 8px; padding: 16px; border-top: 1px solid var(--bb-line); }

/* ---------- Hero (home) ---------- */
.bb-hero { display: none; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bb-cream) 0%, #fff 100%); }
#tt-body-index .bb-hero { display: block; }
.bb-hero::before {
  content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 217, 194, .7), rgba(255, 217, 194, 0) 70%);
}
.bb-hero__inner {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px;
  max-width: var(--bb-max); margin: 0 auto; padding: 72px 24px 40px;
}
.bb-hero__title {
  margin-top: 14px; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.22; font-weight: 800; letter-spacing: -.035em;
}
.bb-hero__title em { font-style: normal; color: var(--bb-coral); position: relative; }
.bb-hero__title em::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .32em; z-index: -1;
  border-radius: 6px; background: var(--bb-peach); opacity: .7;
}
.bb-hero__award {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 13px; font-weight: 600; color: var(--bb-muted); letter-spacing: -.01em;
}
.bb-hero__award::before { content: ""; width: 14px; height: 1.5px; background: var(--bb-coral); }
.bb-hero__desc { max-width: 560px; margin-top: 18px; font-size: 16px; line-height: 1.75; color: var(--bb-ink-2); }
@media (min-width: 1181px) {
  .bb-hero__inner { grid-template-columns: 1.25fr .75fr; }
  .bb-hero__desc { max-width: none; white-space: nowrap; }
}
.bb-hero__desc strong { display: block; margin-bottom: 6px; font-size: 1.08em; font-weight: 700; color: var(--bb-ink); }
.bb-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* hero photo */
.bb-hero__art { position: relative; width: 100%; max-width: 430px; justify-self: end; margin: 0; }
.bb-hero__blob {
  position: absolute; inset: 7% -7% -5% 12%; border-radius: 44px;
  background: linear-gradient(140deg, var(--bb-peach), var(--bb-cream-2)); opacity: .8; transform: rotate(5deg);
}
.bb-hero__photo {
  position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 34px; box-shadow: 0 34px 70px rgba(140, 90, 60, .20), 0 2px 8px rgba(38, 33, 33, .06);
}
.bb-badge {
  position: absolute; left: -8%; bottom: 10%;
  display: flex; flex-direction: column; padding: 14px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: var(--bb-shadow); animation: bb-float 7s ease-in-out infinite;
}
.bb-badge strong { font-size: 13px; color: var(--bb-coral); }
.bb-badge span { font-size: 16px; font-weight: 800; }
@keyframes bb-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .bb-badge { animation: none; } }

/* topic cards — minimal */
.bb-topics {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr);
  width: calc(100% - 48px); max-width: calc(var(--bb-max) - 48px); margin: 8px auto 0;
  border: 1px solid var(--bb-line); border-radius: 20px; background: #fff; overflow: hidden;
}
.bb-topic {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 20px 22px 22px; transition: background .2s;
}
.bb-topic + .bb-topic { border-left: 1px solid var(--bb-line); }
.bb-topic:hover { background: var(--bb-cream); }
.bb-topic__num { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--bb-coral); font-variant-numeric: tabular-nums; }
.bb-topic__title { font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--bb-ink); }
.bb-topic__desc { font-size: 13px; line-height: 1.5; color: var(--bb-muted); }
.bb-topic__go {
  position: absolute; top: 20px; right: 20px; font-size: 15px; color: #CFC3BC;
  transition: color .2s, transform .2s;
}
.bb-topic:hover .bb-topic__go { color: var(--bb-coral); transform: translateX(3px); }

/* ---------- Main ---------- */
.bb-main { max-width: var(--bb-max); margin: 0 auto; padding: 40px 24px 80px; min-height: 50vh; }
.bb-section-title { font-size: 22px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 20px; }
.bb-latest-title { display: none; }
#tt-body-index .bb-latest-title { display: flex; align-items: center; gap: 10px; }
#tt-body-index .bb-latest-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bb-coral); }
.bb-cover { margin-bottom: 48px; }
#tt-body-index .bb-list-head { display: none; }

/* list header (category / tag / search) */
.bb-list-head {
  position: relative; margin: 0 0 32px; padding: 40px 36px; overflow: hidden;
  border-radius: 24px; background: var(--bb-cream);
}
.bb-list-head::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 40px;
  background: repeating-linear-gradient(45deg, var(--bb-peach) 0 18px, var(--bb-cream-2) 18px 36px); opacity: .55; transform: rotate(12deg);
}
.bb-list-head__kind::before { content: "CATEGORY"; }
#tt-body-search .bb-list-head__kind::before { content: "SEARCH"; }
#tt-body-tag .bb-list-head__kind::before { content: "TAG"; }
#tt-body-archive .bb-list-head__kind::before { content: "ARCHIVE"; }
.bb-list-head__title { position: relative; z-index: 1; margin-top: 8px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
.bb-list-head__count {
  display: inline-flex; align-items: center; height: 28px; padding: 0 10px; margin-left: 6px; vertical-align: middle;
  border-radius: 999px; background: #fff; color: var(--bb-coral); font-size: 14px; font-weight: 800;
}
.bb-list-head__desc { position: relative; z-index: 1; max-width: 640px; margin-top: 10px; color: var(--bb-ink-2); }
.bb-list-head__desc:empty { display: none; }
.bb-empty { padding: 48px 24px; border: 1px dashed var(--bb-line); border-radius: var(--bb-radius); background: var(--bb-cream); text-align: center; color: var(--bb-muted); }

/* ---------- Cards ---------- */
.bb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.bb-cards--sm { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bb-card > a { display: flex; flex-direction: column; height: 100%; }
.bb-card__thumb {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--bb-radius); background: var(--bb-cream-2);
}
.bb-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.bb-card__thumb:not(:has(img))::after {
  content: "bombom"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--bb-coral); opacity: .55;
  background:
    radial-gradient(circle at 18% 22%, var(--bb-peach) 0 11%, transparent 11.5%),
    radial-gradient(circle at 86% 82%, var(--bb-sage) 0 9%, transparent 9.5%),
    var(--bb-cream-2);
}
.bb-card__thumb.is-video::before {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-radius: 50%; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23F56038'/%3E%3C/svg%3E") 58% 50% / 24px no-repeat;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform .2s;
}
.bb-card a:hover .bb-card__thumb.is-video::before { transform: scale(1.08); }
.bb-card__thumb--lock::after { content: "🔒" !important; font-size: 30px; opacity: .7; }
.bb-card a:hover .bb-card__thumb img { transform: scale(1.04); }
.bb-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 4px 0; }
.bb-card__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 18.5px; line-height: 1.42; font-weight: 750; letter-spacing: -.025em;
  transition: color .2s;
}
.bb-card a:hover .bb-card__title { color: var(--bb-coral); }
.bb-card__title img { display: none; }
.bb-card__excerpt {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14.5px; line-height: 1.6; color: var(--bb-muted);
}
.bb-card__date { font-size: 13px; color: #B3A8A3; }
.bb-cards--sm .bb-card__title { font-size: 15.5px; }

/* the permalink article lives inside .bb-post-list — reset grid for it */
#tt-body-page .bb-post-list { display: block; }

/* ---------- Post ---------- */
.bb-post { max-width: var(--bb-read); margin: 0 auto; }
.bb-post__head { padding: 20px 0 28px; border-bottom: 1px solid var(--bb-line); margin-bottom: 36px; }
.bb-post__title { margin-top: 14px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.3; font-weight: 800; letter-spacing: -.035em; }
.bb-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 16px; font-size: 14px; color: var(--bb-muted); }
.bb-post__author { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--bb-ink-2); }
.bb-post__author::before {
  content: "b"; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--bb-coral);
  color: #fff; font-size: 15px; font-weight: 800; line-height: 1;
}
.bb-post__meta a { color: var(--bb-muted); }

/* content typography */
#article-view.bb-content { font-size: 17.5px; line-height: 1.9; color: #332C2A; }
#article-view.bb-content h2 {
  position: relative; margin: 2.4em 0 .9em; padding-left: 16px;
  font-size: 1.5em; line-height: 1.4; font-weight: 800; letter-spacing: -.03em; color: var(--bb-ink);
}
#article-view.bb-content h2::before { content: ""; position: absolute; left: 0; top: .22em; bottom: .22em; width: 5px; border-radius: 4px; background: var(--bb-coral); }
#article-view.bb-content h3 { margin: 2em 0 .7em; font-size: 1.22em; font-weight: 800; letter-spacing: -.02em; color: var(--bb-ink); }
#article-view.bb-content h4 { margin: 1.6em 0 .6em; font-size: 1.08em; font-weight: 700; }
#article-view.bb-content a { color: var(--bb-coral-dark); text-decoration: underline; text-decoration-color: rgba(245, 96, 56, .35); text-underline-offset: 3px; }
#article-view.bb-content a:hover { text-decoration-color: var(--bb-coral); }
#article-view.bb-content strong, #article-view.bb-content b { font-weight: 750; color: var(--bb-ink); }
#article-view.bb-content ul, #article-view.bb-content ol { margin: 0 0 1.4em; padding-left: 1.4em; }
#article-view.bb-content ul { list-style: none; padding-left: 0; }
#article-view.bb-content ul > li { position: relative; padding-left: 1.1em; margin: .35em 0; }
#article-view.bb-content ul > li::before { content: ""; position: absolute; left: .15em; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--bb-coral); }
#article-view.bb-content ol { list-style: decimal; }
#article-view.bb-content ol > li { margin: .35em 0; padding-left: .2em; }
#article-view.bb-content ol > li::marker { color: var(--bb-coral); font-weight: 800; }
#article-view.bb-content blockquote {
  margin: 1.8em 0; padding: 22px 26px; border: 0; border-radius: var(--bb-radius);
  background: var(--bb-cream); color: var(--bb-ink-2); font-size: .97em;
}
#article-view.bb-content blockquote p:last-child { margin-bottom: 0; }
#article-view.bb-content figure, #article-view.bb-content .imageblock { margin: 1.8em 0; text-align: center; }
#article-view.bb-content img { border-radius: 14px; }
#article-view.bb-content figcaption { margin-top: 10px; font-size: 14px; color: var(--bb-muted); }
#article-view.bb-content hr { display: block; height: 1px; margin: 2.6em 0; border: 0; background: var(--bb-line); }
#article-view.bb-content table { width: 100%; margin: 1.6em 0; border-collapse: separate; border-spacing: 0; font-size: .92em; border: 1px solid var(--bb-line); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
#article-view.bb-content table th, #article-view.bb-content table td { padding: 12px 14px; border-bottom: 1px solid var(--bb-line); text-align: left; vertical-align: top; }
#article-view.bb-content table th { background: var(--bb-cream); font-weight: 700; color: var(--bb-ink); white-space: nowrap; }
#article-view.bb-content table tr:last-child td { border-bottom: 0; }
/* 티스토리 '카테고리 글 더 보기' 플러그인 상자: 본문 표 스타일이 걸리지 않게 따로 지정 */
#article-view.bb-content .another_category { margin: 2.4em 0 0; padding: 18px 20px 10px; border: 1px solid var(--bb-line) !important; border-radius: var(--bb-radius-sm); background: var(--bb-white); }
#article-view.bb-content .another_category h4 { margin: 0 0 8px; padding: 0; font-size: .95em; font-weight: 700; color: var(--bb-ink) !important; }
#article-view.bb-content .another_category h4 a { color: var(--bb-coral) !important; text-decoration: none; }
#article-view.bb-content .another_category table { display: table; table-layout: fixed; width: 100%; margin: 0; border: 0; border-radius: 0; overflow: visible; font-size: .9em; }
#article-view.bb-content .another_category th, #article-view.bb-content .another_category td { padding: 8px 0; border-bottom: 1px dashed var(--bb-line); background: none; font-size: 1em; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#article-view.bb-content .another_category tr:last-child th, #article-view.bb-content .another_category tr:last-child td { border-bottom: 0; }
#article-view.bb-content .another_category th a { color: var(--bb-ink) !important; text-decoration: none; }
#article-view.bb-content .another_category th a:hover { color: var(--bb-coral) !important; }
#article-view.bb-content .another_category th span { color: var(--bb-muted) !important; }
#article-view.bb-content .another_category td { width: 86px; text-align: right; color: var(--bb-muted) !important; }
@media (max-width: 600px) { #article-view.bb-content .another_category { padding: 14px 14px 6px; } #article-view.bb-content .another_category td { width: 74px; } }
#article-view.bb-content code { padding: 2px 6px; border-radius: 6px; background: var(--bb-cream-2); font-size: .9em; }
#article-view.bb-content iframe[src*="youtube"] { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 1.6em 0; border: 0; border-radius: 16px; background: #000; }
#article-view.bb-content img[src*="i.ytimg.com"] { display: none; }
#article-view.bb-content .bb-video-meta { padding: 18px 22px; border-radius: 16px; background: var(--bb-cream); font-size: .92em; }
#article-view.bb-content .bb-video-meta p { margin: 0; }
#article-view.bb-content pre { padding: 18px; border-radius: 14px; background: #2B2524; color: #FBEFE8; overflow-x: auto; }
#article-view.bb-content pre code { padding: 0; background: none; }

/* CTA box */
.bb-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 56px 0 28px; padding: 28px 30px; border-radius: 22px;
  background: linear-gradient(120deg, var(--bb-coral) 0%, #FF8A5C 100%); color: #fff;
  box-shadow: 0 18px 40px rgba(245, 96, 56, .25);
}
.bb-cta .bb-eyebrow { color: rgba(255, 255, 255, .8); }
.bb-cta__text { display: flex; flex-direction: column; gap: 6px; }
.bb-cta__text strong { font-size: 20px; line-height: 1.4; letter-spacing: -.03em; }
.bb-cta__text span { font-size: 14.5px; opacity: .9; }
.bb-cta__btns { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.bb-cta .bb-btn { background: #fff; border-color: #fff; color: var(--bb-coral-dark) !important; }
.bb-cta .bb-btn:hover { background: var(--bb-cream); box-shadow: none; }
.bb-cta .bb-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff !important; }
.bb-cta .bb-btn--ghost:hover { background: rgba(255, 255, 255, .12); }

/* tags */
.bb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.bb-tags a {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--bb-cream); color: var(--bb-ink-2); font-size: 14px; font-weight: 600;
  transition: background .2s, color .2s;
}
.bb-tags a::before { content: "#"; margin-right: 2px; color: var(--bb-coral); }
.bb-tags a:hover { background: var(--bb-coral-soft); color: var(--bb-coral-dark); }
.bb-tags--cloud { padding-top: 8px; }

/* related */
.bb-related { margin: 8px 0 48px; padding-top: 36px; border-top: 1px solid var(--bb-line); }
.bb-related .bb-section-title { font-size: 19px; }

/* comments */
.bb-comments { padding-top: 12px; }
.bb-comments textarea { border-radius: 14px !important; }

/* protected */
.bb-protected { padding: 40px 28px; border-radius: var(--bb-radius); background: var(--bb-cream); text-align: center; }
.bb-protected fieldset { display: flex; gap: 8px; justify-content: center; margin-top: 18px; padding: 0; border: 0; }
.bb-protected input { height: 48px; padding: 0 16px; border: 1.5px solid var(--bb-line); border-radius: 999px; font: inherit; }

/* paging */
.bb-paging { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 56px; }
.bb-paging a, .bb-paging .bb-paging__nums span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--bb-ink-2); transition: background .2s, color .2s;
}
.bb-paging a:hover { background: var(--bb-cream-2); color: var(--bb-coral); }
.bb-paging__nums { display: flex; gap: 4px; }
.bb-paging__nums a:has(.selected) { background: var(--bb-coral); color: #fff; }
.bb-paging .no-more-prev, .bb-paging .no-more-next { opacity: .3; pointer-events: none; }
#tt-body-page .bb-paging { display: none; }

/* ---------- Footer ---------- */
.bb-footer { background: var(--bb-cream); border-top: 1px solid var(--bb-line); }
.bb-footer__inner {
  display: flex; justify-content: space-between; gap: 40px;
  max-width: var(--bb-max); margin: 0 auto; padding: 48px 24px 28px;
}
.bb-footer__brand img { width: 104px; }
.bb-footer__brand p { max-width: 460px; margin-top: 14px; font-size: 14px; color: var(--bb-muted); }
.bb-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.bb-footer__links a:hover { color: var(--bb-coral); }
.bb-footer__cs { flex-shrink: 0; text-align: right; }
.bb-footer__cs > span { font-size: 13px; font-weight: 700; color: var(--bb-muted); }
.bb-footer__tel { display: block; margin-top: 2px; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--bb-ink); }
.bb-footer__cs p { margin-top: 6px; font-size: 13px; color: var(--bb-muted); }
.bb-bizinfo {
  max-width: var(--bb-max); margin: 0 auto; padding: 20px 24px 36px;
  border-top: 1px solid var(--bb-line); font-size: 12.5px; line-height: 1.85; color: #A0948F;
}
.bb-bizinfo strong { color: var(--bb-ink-2); }
.bb-bizinfo a { text-decoration: underline; text-underline-offset: 2px; }
.bb-copy { margin-top: 8px !important; }
.bb-admin { margin-left: 8px; text-decoration: none !important; opacity: .7; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bb-logo__tag { display: none; }
  .bb-gnb .link_item { padding: 8px 10px; font-size: 15px; }
}
@media (max-width: 900px) {
  :root { --bb-header-h: 60px; }
  .bb-gnb { display: none; }
  .bb-header__cta { height: 32px; padding: 0 10px; font-size: 12.5px; gap: 4px; }
  .bb-menu-toggle { display: inline-flex; }
  .bb-hero__inner { grid-template-columns: 1fr; gap: 24px; padding: 40px 20px 24px; }
  .bb-hero__art { max-width: 460px; justify-self: center; }
  .bb-hero__blob { inset: 6% -3% -4% 6%; }
  .bb-badge { left: 4%; }
  .bb-cards { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .bb-topics {
    display: flex; flex-wrap: wrap; gap: 8px; width: auto; margin: 8px 20px 0;
    border: 0; border-radius: 0; background: transparent; overflow: visible;
  }
  .bb-topic {
    flex: 1 1 calc(33.333% - 8px); min-width: 0; align-items: center; justify-content: center; gap: 2px;
    padding: 13px 8px; border: 1px solid var(--bb-line); border-radius: 14px; background: #fff; text-align: center;
  }
  .bb-topic + .bb-topic { border-left: 1px solid var(--bb-line); }
  .bb-topic:active { background: var(--bb-cream); border-color: var(--bb-peach); }
  .bb-topic__num { font-size: 11px; }
  .bb-topic__title { font-size: 14.5px; white-space: nowrap; }
  .bb-topic__go { display: none; }
  .bb-cta { flex-direction: column; align-items: stretch; }
  .bb-cta__btns { flex-direction: row; }
  .bb-cta__btns .bb-btn { flex: 1; }
  .bb-footer__inner { flex-direction: column; gap: 24px; }
  .bb-footer__cs { text-align: left; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .bb-header__inner { padding: 0 16px; gap: 12px; }
  .bb-logo img { width: 88px; }
  .bb-logo__tag { display: none; }
  .bb-header__util { gap: 4px; }
  .bb-header__cta { padding: 0 9px; font-size: 12px; }
  .bb-header__util .bb-icon-btn { width: 36px; height: 36px; }
  .bb-search__inner { padding: 12px 16px; }
  .bb-hero__inner { padding: 28px 16px 16px; }
  .bb-hero__art { max-width: 100%; }
  .bb-hero__photo { aspect-ratio: 4 / 3.6; object-position: 50% 62%; border-radius: 26px; }
  .bb-hero__desc { font-size: 15.5px; }
  .bb-hero__cta .bb-btn { flex: 1; }
  .bb-topics { margin: 8px 16px 0; }
  .bb-main { padding: 28px 16px 64px; }
  .bb-cards, .bb-cards--sm { grid-template-columns: 1fr; gap: 28px; }
  .bb-list-head { padding: 28px 22px; border-radius: 20px; }
  #article-view.bb-content { font-size: 16.5px; }
  .bb-cta { padding: 24px 20px; }
  .bb-cta__btns { flex-direction: column; }
  .bb-footer__inner { padding: 36px 16px 20px; }
  .bb-bizinfo { padding: 18px 16px 32px; }
}
