html, body { overflow-x: hidden !important; max-width: 100vw !important; }

:root {
  --bd-orange: #FF6B35;
  --bd-orange-dark: #E8531C;
  --bd-orange-light: #FFF4EF;
  --bd-orange-xlight: #FFF9F6;
  --bd-text: #0a0a0a;
  --bd-text-sub: #3f3f46;
  --bd-muted: #71717a;
  --bd-bg: #f4f4f5;
  --bd-card-bg: #FFFFFF;
  --bd-border: #e4e4e7;
  --bd-border-light: #f4f4f5;
  --bd-dark: #09090b;
  --bd-dark-sub: #18181b;
  --bd-dark-surface: #27272a;
  --bd-radius: 14px;
  --bd-radius-sm: 10px;
  --bd-radius-xs: 6px;
  --bd-radius-pill: 20px;
  --bd-radius-cta: 12px;
  --bd-sidebar-width: 280px;
  --bd-content-gap: 40px;
  --bd-container-max: 1100px;
  --bd-progress-height: 3px;
  --bd-spring: cubic-bezier(0.16, 1, 0.3, 1);
}
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif !important;
  background: var(--bd-bg) !important;
  color: var(--bd-text);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  --wp--preset--spacing--50: 0.5rem !important;
  --wp--preset--spacing--60: 0 !important;
}
.wp-site-blocks { gap: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }

/* Hide TT5 archive title + default footer */
body.home .wp-site-blocks > main > h1.wp-block-heading { display: none !important; }
footer.wp-block-template-part { display: none !important; }

/* ── Scroll Progress Bar (single only) ── */
#bd-progress {
  position: fixed; top: 0; left: 0; width: 0; height: var(--bd-progress-height);
  background: linear-gradient(90deg, var(--bd-orange), var(--bd-orange-dark));
  z-index: 99999; transition: width 60ms linear; pointer-events: none;
}

/* ══════ HEADER: Dark ══════ */
header.wp-block-template-part,
header.wp-block-template-part > .wp-block-group,
header.wp-block-template-part .wp-block-group.alignfull,
header.wp-block-template-part .wp-block-group {
  background: var(--bd-dark) !important;
  background-color: var(--bd-dark) !important;
}
header.wp-block-template-part {
  border-bottom: 1px solid rgba(255,107,53,0.06);
  transition: box-shadow 0.3s ease;
}
header.wp-block-template-part.scrolled {
  box-shadow: 0 2px 20px rgba(9,9,11,0.4);
}
header.wp-block-template-part .has-base-background-color { background-color: transparent !important; }
header.wp-block-template-part .has-contrast-color { color: rgba(255,255,255,0.9) !important; }
.wp-block-site-title a {
  font-weight: 700 !important; font-size: 1.25rem !important;
  color: #fff !important; text-decoration: none !important; letter-spacing: -0.02em;
}
.bd-header-title {
  font-weight: 700 !important; font-size: 1.25rem !important;
  color: #fff !important; text-decoration: none !important;
  letter-spacing: -0.02em; margin-left: 8px;
  position: relative;
}
.bd-header-title::before {
  content: ""; display: inline-block; width: 8px; height: 8px;
  background: var(--bd-orange); border-radius: 50%;
  margin-right: 8px; vertical-align: middle;
  position: relative; top: -1px;
}
/* Navigation on dark bg */
header.wp-block-template-part .wp-block-navigation,
header.wp-block-template-part .wp-block-navigation__responsive-container,
header.wp-block-template-part .wp-block-navigation__responsive-container.has-text-color,
header.wp-block-template-part .wp-block-navigation__responsive-container.has-contrast-color {
  color: rgba(255,255,255,0.9) !important;
  background: transparent !important; background-color: transparent !important;
}
header.wp-block-template-part .wp-block-navigation a,
header.wp-block-template-part .wp-block-navigation-item__content,
header.wp-block-template-part .wp-block-navigation-item a {
  color: rgba(255,255,255,0.85) !important; font-size: 0.88rem !important; font-weight: 500 !important;
  transition: color 0.2s ease;
}
header.wp-block-template-part .wp-block-navigation a:hover { color: var(--bd-orange) !important; }
/* Desktop nav visible */
.wp-block-navigation__responsive-container:not(.is-menu-open) {
  display: flex !important; position: static !important; width: auto !important;
  background: transparent !important; background-color: transparent !important;
  padding: 0 !important; overflow: visible !important;
}
.wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content {
  display: flex !important; gap: 4px; align-items: center;
}
.wp-block-navigation__responsive-container-open { display: none !important; }
/* Mobile hamburger: white SVG */
header.wp-block-template-part .wp-block-navigation__responsive-container-open svg { fill: #fff !important; }
header.wp-block-template-part .wp-block-navigation__responsive-container-open { color: #fff !important; }
@media (max-width: 768px) {
  .wp-block-navigation__responsive-container-open { display: flex !important; }
  .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .wp-block-navigation__responsive-container.is-menu-open {
    background: rgba(9,9,11,0.95) !important;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
    font-size: 1.1rem !important; padding: 12px 0 !important;
  }
}

/* ══════ 2-COLUMN LAYOUT WRAPPER ══════ */
.bd-layout-wrapper {
  display: grid; grid-template-columns: 1fr var(--bd-sidebar-width);
  gap: var(--bd-content-gap); max-width: var(--bd-container-max);
  margin: 0 auto; padding: 28px 20px 48px; align-items: start;
}

/* ══════ SIDEBAR ══════ */
.bd-sidebar {
  position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto;
  font-size: 0.88rem;
}
.bd-sidebar::-webkit-scrollbar { width: 3px; }
.bd-sidebar::-webkit-scrollbar-thumb { background: var(--bd-border); border-radius: 3px; }
.bd-sidebar-section {
  background: var(--bd-card-bg); border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius-sm); padding: 20px; margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(9,9,11,0.04);
}
.bd-sidebar-section h3 {
  font-size: 0.92rem; font-weight: 700; margin: 0 0 14px; padding: 0;
  color: var(--bd-text); border-bottom: 2px solid var(--bd-orange);
  padding-bottom: 8px;
}
.bd-sidebar-section h3::before { display: none; }

/* Sidebar: popular/recent post list */
.bd-sidebar-posts { list-style: none; padding: 0; margin: 0; }
.bd-sidebar-posts li {
  display: flex; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--bd-border-light);
  border-radius: var(--bd-radius-xs); transition: background 0.2s ease;
}
.bd-sidebar-posts li:hover { background: var(--bd-orange-xlight); }
.bd-sidebar-posts li:last-child { border-bottom: none; }
.bd-sidebar-posts .bd-sb-thumb {
  width: 60px; height: 45px; border-radius: var(--bd-radius-xs); object-fit: cover; flex-shrink: 0;
  background: var(--bd-bg);
}
.bd-sidebar-posts .bd-sb-title {
  font-size: 0.82rem; line-height: 1.45; color: var(--bd-text-sub); font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-decoration: none; align-self: center;
}
.bd-sidebar-posts .bd-sb-title:hover { color: var(--bd-orange); }

/* Sidebar: category list */
.bd-sidebar-cats { list-style: none; padding: 0; margin: 0; }
.bd-sidebar-cats li {
  padding: 7px 8px; border-bottom: 1px solid var(--bd-border-light);
  border-radius: var(--bd-radius-xs); transition: background 0.2s ease;
  border-left: 3px solid transparent;
}
.bd-sidebar-cats li:hover { background: var(--bd-orange-xlight); border-left-color: var(--bd-orange); }
.bd-sidebar-cats li:last-child { border-bottom: none; }
.bd-sidebar-cats a {
  color: var(--bd-text-sub); text-decoration: none; font-size: 0.84rem; font-weight: 500;
  display: flex; justify-content: space-between; transition: color 0.2s ease;
}
.bd-sidebar-cats li:hover a { color: var(--bd-orange); }
.bd-sidebar-cats .count { color: var(--bd-muted); font-size: 0.78rem; }

/* Sidebar: TOC */
#bd-toc { display: none; }
#bd-toc.has-items { display: block; }
#bd-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
#bd-toc ol li { counter-increment: toc; }
#bd-toc ol li a {
  display: block; padding: 5px 0 5px 10px; color: var(--bd-text-sub); text-decoration: none;
  font-size: 0.82rem; line-height: 1.5; border-left: 2px solid transparent;
  transition: all 0.15s ease;
}
#bd-toc ol li a:hover { color: var(--bd-orange); }
#bd-toc ol li a.active {
  color: var(--bd-orange); border-left-color: var(--bd-orange); font-weight: 600;
  background: rgba(255,107,53,0.04); border-radius: 0 var(--bd-radius-xs) var(--bd-radius-xs) 0;
}
#bd-toc ol li.toc-h3 a { padding-left: 22px; font-size: 0.78rem; }

/* ══════ HOMEPAGE CARD GRID (asymmetric: featured first) ══════ */
body.home .wp-block-post-template {
  display: grid !important; grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important; list-style: none !important;
  padding: 0 !important; margin: 0 !important;
}
/* First card spans full width as featured */
body.home .wp-block-post-template > li:first-child {
  grid-column: 1 / -1;
}
body.home .wp-block-post-template > li:first-child .wp-block-post-featured-image {
  aspect-ratio: 2.2/1;
}
body.home .wp-block-post-template > li:first-child .wp-block-post-title {
  font-size: 1.2rem !important;
}
body.home .wp-block-post {
  background: var(--bd-card-bg); border-radius: var(--bd-radius); overflow: hidden;
  border: 1px solid rgba(255,107,53,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 1px 3px rgba(9,9,11,0.05);
  transition: border-color 0.4s var(--bd-spring), box-shadow 0.4s var(--bd-spring), transform 0.4s var(--bd-spring);
}
body.home .wp-block-post:hover {
  border-color: var(--bd-orange);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 28px rgba(255,107,53,0.15);
  transform: translateY(-3px);
}
body.home .wp-block-post > .wp-block-group { padding: 0 !important; }
/* Card Image */
body.home .wp-block-post-featured-image {
  aspect-ratio: 16/9; overflow: hidden; margin: 0 !important; border-radius: 0 !important;
}
body.home .wp-block-post-featured-image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease;
}
body.home .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.05); }
/* Card Title */
body.home .wp-block-post-title {
  font-size: 1.0rem !important; line-height: 1.5 !important; font-weight: 700 !important;
  padding: 14px 16px 0 !important; margin: 0 !important; min-height: 3em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  letter-spacing: -0.01em;
}
body.home .wp-block-post-title a { color: var(--bd-text) !important; text-decoration: none !important; }
body.home .wp-block-post-title a:hover { color: var(--bd-orange) !important; }
/* Card Content — first paragraph only */
body.home .wp-block-post-content {
  padding: 8px 16px 4px !important; max-height: 3.4em; overflow: hidden; position: relative;
}
body.home .wp-block-post-content::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2em; background: linear-gradient(transparent, var(--bd-card-bg)); pointer-events: none;
}
body.home .wp-block-post-content h2,
body.home .wp-block-post-content h3,
body.home .wp-block-post-content h4,
body.home .wp-block-post-content table,
body.home .wp-block-post-content ul,
body.home .wp-block-post-content ol,
body.home .wp-block-post-content blockquote,
body.home .wp-block-post-content figure,
body.home .wp-block-post-content img,
body.home .wp-block-post-content .coupang-cta,
body.home .wp-block-post-content div[style*="border-left"],
body.home .wp-block-post-content div[style*="background"] { display: none !important; }
body.home .wp-block-post-content p {
  font-size: 0.84rem !important; line-height: 1.6 !important; color: var(--bd-text-sub) !important;
  margin: 0 !important; padding: 0 !important;
}
body.home .wp-block-post-content p ~ p { display: none !important; }
body.home .wp-block-post-content p a { color: var(--bd-text-sub) !important; text-decoration: none !important; pointer-events: none; }
/* Card Date */
body.home .wp-block-post-date { padding: 8px 16px 14px !important; font-size: 0.78rem !important; color: var(--bd-muted) !important; }
/* Hide spacers */
body.home .wp-block-spacer { display: none !important; }
/* Pagination */
body.home .wp-block-query-pagination {
  max-width: var(--bd-container-max); margin: 0 auto 40px !important; padding: 0 20px;
  justify-content: center; gap: 8px;
}
body.home .wp-block-query-pagination a,
body.home .wp-block-query-pagination span {
  padding: 8px 16px !important; border-radius: 8px !important;
  font-size: 0.85rem !important; font-weight: 500; transition: all 0.2s ease;
}
body.home .wp-block-query-pagination .current {
  background: var(--bd-orange) !important; color: #fff !important;
  box-shadow: 0 2px 8px rgba(255,107,53,0.25);
}

/* ══════ SINGLE POST ══════ */
body.single .wp-block-post-author-name,
body.single .wp-block-post-terms { font-size: 0.82rem !important; color: var(--bd-muted) !important; }
body.single .wp-block-group.alignfull.has-global-padding { max-width: 760px; margin: 0 auto; padding: 32px 20px !important; }
body.single .wp-block-post-title { font-size: 1.7rem !important; font-weight: 700 !important; line-height: 1.4 !important; color: var(--bd-text) !important; margin-bottom: 12px !important; letter-spacing: -0.02em; text-wrap: balance; }
body.single .wp-block-post-featured-image { border-radius: var(--bd-radius); overflow: hidden; margin-bottom: 24px !important; }
body.single .wp-block-post-content { max-height: none; overflow: visible; padding: 0 !important; max-width: 65ch; }
body.single .wp-block-post-content::after { display: none; }
body.single .wp-block-post-content h2,
body.single .wp-block-post-content h3,
body.single .wp-block-post-content h4,
body.single .wp-block-post-content table,
body.single .wp-block-post-content ul,
body.single .wp-block-post-content ol,
body.single .wp-block-post-content blockquote,
body.single .wp-block-post-content figure,
body.single .wp-block-post-content img,
body.single .wp-block-post-content div[style*="border-left"],
body.single .wp-block-post-content div[style*="background"],
body.single .wp-block-post-content .coupang-cta { display: revert !important; }
body.single .wp-block-post-content p ~ p { display: revert !important; }
body.single .wp-block-post-content p a:not([style*="background"]) {
  color: var(--bd-orange) !important; text-decoration: none !important; pointer-events: revert !important;
  background-image: linear-gradient(var(--bd-orange-light), var(--bd-orange-light));
  background-size: 100% 0; background-position: bottom; background-repeat: no-repeat;
  transition: background-size 0.2s ease;
}
body.single .wp-block-post-content p a:not([style*="background"]):hover {
  background-size: 100% 40%;
}
body.single .wp-block-post-content p { font-size: 1.05rem !important; line-height: 1.85 !important; color: var(--bd-text) !important; margin-bottom: 1.2em !important; }
/* H2: left accent bar + light bg */
body.single .wp-block-post-content h2 {
  font-size: 1.35rem !important; font-weight: 700 !important; margin: 2em 0 0.8em !important;
  padding: 12px 16px; border-top: none; border-bottom: none;
  border-left: 4px solid var(--bd-orange);
  background: var(--bd-orange-xlight);
  border-radius: 0 var(--bd-radius-sm) var(--bd-radius-sm) 0;
  color: var(--bd-text) !important;
  max-width: none;
  text-wrap: balance;
}
/* H3: orange dot */
body.single .wp-block-post-content h3 {
  font-size: 1.1rem !important; font-weight: 600 !important; margin: 1.5em 0 0.6em !important;
  color: var(--bd-text) !important; position: relative; padding-left: 1.2rem;
}
body.single .wp-block-post-content h3::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 8px; height: 8px; background: var(--bd-orange); border-radius: 50%;
}
/* strong: orange underline highlight */
body.single .wp-block-post-content strong {
  background-image: linear-gradient(transparent 60%, rgba(255,107,53,0.2) 60%);
}
body.single .wp-block-post-content a { color: var(--bd-orange) !important; }
body.single .wp-block-post-content a[style*="background"] { color: #fff !important; }
body.single .wp-block-post-content a[style*="background"]:hover { opacity: 0.9; }
body.single .wp-block-post-content .coupang-cta a,
body.single .wp-block-post-content a[href*="link.coupang.com"],
body.single .wp-block-post-content a[href*="coupa.ng"] { color: #fff !important; }
/* Tables: orange header + border-separate + radius */
body.single .wp-block-post-content table {
  display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%;
  border-collapse: separate; border-spacing: 0; margin: 1.5em 0; font-size: 0.95rem;
  border-radius: var(--bd-radius-sm); border: 1px solid var(--bd-border);
  overflow: hidden; max-width: none;
  font-variant-numeric: tabular-nums;
}
body.single .wp-block-post-content table th {
  background: var(--bd-orange-xlight) !important; color: var(--bd-text) !important;
  font-weight: 700; padding: 12px 16px; text-align: center;
  border-bottom: 2px solid var(--bd-orange);
}
body.single .wp-block-post-content table td {
  padding: 10px 16px; border-bottom: 1px solid var(--bd-border); text-align: center;
}
body.single .wp-block-post-content table tr:last-child td { border-bottom: none; }
body.single .wp-block-post-content table tr:nth-child(even) { background: var(--bd-orange-xlight); }
/* Lists */
body.single .wp-block-post-content ul,
body.single .wp-block-post-content ol {
  font-size: 1.05rem; line-height: 1.85; color: var(--bd-text); margin-bottom: 1.2em;
  padding-left: 1.5em;
}
body.single .wp-block-post-content li { margin-bottom: 0.3em; }
body.single .wp-block-post-content li::marker { color: var(--bd-orange); }
/* Blockquote: orange left bar + light bg */
body.single .wp-block-post-content blockquote {
  border-left: 4px solid var(--bd-orange); background: var(--bd-orange-xlight);
  padding: 1rem 1.5rem; margin: 1.5rem 0;
  border-radius: 0 var(--bd-radius-sm) var(--bd-radius-sm) 0; font-style: normal;
}
/* Pillar CTA Link Box */
.pillar-link-box { background: linear-gradient(135deg, var(--bd-orange-xlight), var(--bd-orange-light)); border: 2px solid var(--bd-orange); border-radius: var(--bd-radius-sm); }
.pillar-link-box strong { color: var(--bd-text); }
.pillar-link-box a { color: var(--bd-orange); }
.pillar-link-box a:hover { color: var(--bd-orange-dark); text-decoration: underline; }
/* Category badge */
.wp-block-post-terms a {
  background: var(--bd-orange); color: #fff !important; padding: 4px 12px;
  border-radius: 20px; font-size: 0.8rem; font-weight: 500;
  text-decoration: none !important; display: inline-block; margin: 2px;
  transition: background 0.2s ease;
}
.wp-block-post-terms a:hover { background: var(--bd-orange-dark); }

/* ══════ Coupang Disclosure — force unified style ══════ */
body.single .wp-block-post-content div[style*="쿠팡"],
body.single .wp-block-post-content div[style*="border-left"][style*="3182ce"],
body.single .wp-block-post-content div[style*="border-left"][style*="bee3f8"],
body.single .wp-block-post-content div[style*="ebf8ff"],
body.single .wp-block-post-content div[style*="제휴 안내"] {
  background: var(--bd-orange-xlight) !important;
  border-left: 4px solid var(--bd-orange) !important;
  border-radius: var(--bd-radius-sm) !important;
  padding: 12px 16px !important;
  font-size: 0.85rem !important;
  color: var(--bd-text-sub) !important;
  line-height: 1.6 !important;
  margin: 1.5em 0 1em !important;
  max-width: none;
}
body.single .wp-block-post-content div[style*="ebf8ff"] *,
body.single .wp-block-post-content div[style*="3182ce"] * {
  font-size: 0.85rem !important;
  color: var(--bd-text-sub) !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.single .wp-block-post-content div[style*="ebf8ff"] strong,
body.single .wp-block-post-content div[style*="3182ce"] strong {
  font-weight: 600 !important;
  color: var(--bd-text) !important;
  background-image: none !important;
}

/* ══════ CTA BUTTON ══════ */
.coupang-cta a {
  display: inline-block; padding: 16px 36px;
  background: linear-gradient(135deg, var(--bd-orange), var(--bd-orange-dark));
  border-radius: var(--bd-radius-cta); font-size: 1.02rem; font-weight: 700; color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(255,107,53,0.3);
  transition: box-shadow 0.4s var(--bd-spring), transform 0.4s var(--bd-spring);
  animation: ctaPulse 3s ease-in-out infinite;
}
.coupang-cta a:hover {
  box-shadow: 0 6px 24px rgba(255,107,53,0.4);
  transform: translateY(-1px);
}
.coupang-cta a:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255,107,53,0.3);
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,107,53,0.3); }
  50% { box-shadow: 0 4px 24px rgba(255,107,53,0.5); }
}
/* ══════ POST NAVIGATION (tokenized) ══════ */
.bd-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 40px 0 24px; }
.bd-post-nav a {
  padding: 16px; background: var(--bd-card-bg); border-radius: var(--bd-radius-sm);
  text-decoration: none; border: 1px solid var(--bd-border);
  transition: border-color 0.4s var(--bd-spring), transform 0.4s var(--bd-spring), box-shadow 0.4s var(--bd-spring);
}
.bd-post-nav a:hover {
  border-color: var(--bd-orange); transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,107,53,0.1);
}
.bd-post-nav .bd-nav-label { font-size: 0.75rem; color: var(--bd-muted); display: block; margin-bottom: 4px; }
.bd-post-nav .bd-nav-title { font-size: 0.88rem; font-weight: 600; color: var(--bd-text-sub); }
.bd-post-nav a:hover .bd-nav-title { color: var(--bd-orange); }
.bd-post-nav a.bd-nav-next { text-align: right; }

/* ══════ NOISE TEXTURE OVERLAY ══════ */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox=%270 0 256 256%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.9%27 numOctaves=%274%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27 opacity=%270.015%27/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .coupang-cta a { animation: none; }
  body.home .wp-block-post { transition: none; }
  body.home .wp-block-post-featured-image img { transition: none; }
  body.single .wp-block-post-content p a { transition: none; }
  .bd-related-card, .bd-post-nav a { transition: none; }
}

/* ══════ RELATED POSTS CARD GRID ══════ */
.bd-related-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px;
}
.bd-related-card {
  display: flex; gap: 12px; padding: 12px; background: var(--bd-card-bg);
  border: 1px solid var(--bd-border); border-radius: var(--bd-radius-sm); text-decoration: none;
  transition: border-color 0.4s var(--bd-spring), transform 0.4s var(--bd-spring), box-shadow 0.4s var(--bd-spring);
}
.bd-related-card:hover {
  border-color: var(--bd-orange); transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,107,53,0.1);
}
.bd-related-card img { width: 80px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--bd-bg); }
.bd-related-card span { font-size: 0.85rem; font-weight: 500; color: var(--bd-text-sub); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; align-self: center; }
.bd-related-card:hover span { color: var(--bd-orange); }

/* ══════ FOOTER: Dark ══════ */
.site-info { display: none !important; }
.custom-footer {
  text-align: center; padding: 48px 20px 36px; background: var(--bd-dark-sub);
  border-top: 1px solid rgba(255,107,53,0.08); margin-top: 0; color: rgba(255,255,255,0.7);
}
.custom-footer .footer-cats { margin-bottom: 16px; }
.custom-footer .footer-cats a {
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.82rem;
  margin: 0 10px; font-weight: 500; transition: color 0.2s ease;
}
.custom-footer .footer-cats a:hover { color: var(--bd-orange); }
.custom-footer .footer-links { margin-bottom: 14px; }
.custom-footer .footer-links a {
  color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.78rem;
  margin: 0 12px; font-weight: 400; transition: color 0.2s ease;
}
.custom-footer .footer-links a:hover { color: var(--bd-orange); }
.custom-footer .footer-copy { color: rgba(255,255,255,0.35); font-size: 0.78rem; }

/* ══════ ARCHIVE / CATEGORY PAGE ══════ */
body.archive .wp-site-blocks,
body.category .wp-site-blocks {
  background: var(--bd-bg) !important;
}
/* 카테고리 제목: "[카테고리:]" 접두사 숨기고 스타일링 */
body.archive .wp-block-query-title,
body.category .wp-block-query-title {
  max-width: var(--bd-container-max);
  margin: 0 auto !important;
  padding: 32px 20px 0 !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--bd-text) !important;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
body.archive .wp-block-query-title::before,
body.category .wp-block-query-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--bd-orange);
  border-radius: 2px;
  flex-shrink: 0;
}
/* "[카테고리:]" 접두사 숨기기 */
body.archive .wp-block-query-title span,
body.category .wp-block-query-title span { display: none; }
/* 쿼리 컨테이너 */
body.archive .wp-block-query,
body.category .wp-block-query {
  max-width: var(--bd-container-max) !important;
  margin: 0 auto !important;
  padding: 20px !important;
}
/* 포스트 그리드: 홈과 동일한 카드 레이아웃 */
body.archive .wp-block-post-template,
body.category .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* 카드 스타일: 홈 카드와 동일 */
body.archive .wp-block-post,
body.category .wp-block-post {
  background: var(--bd-card-bg) !important;
  border-radius: var(--bd-radius) !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,107,53,0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 1px 3px rgba(9,9,11,0.05) !important;
  transition: border-color 0.4s var(--bd-spring), box-shadow 0.4s var(--bd-spring), transform 0.4s var(--bd-spring) !important;
}
body.archive .wp-block-post:hover,
body.category .wp-block-post:hover {
  border-color: var(--bd-orange) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 28px rgba(255,107,53,0.15) !important;
  transform: translateY(-3px) !important;
}
body.archive .wp-block-post > .wp-block-group,
body.category .wp-block-post > .wp-block-group { padding: 0 !important; }
/* 카드 이미지 */
body.archive .wp-block-post-featured-image,
body.category .wp-block-post-featured-image {
  aspect-ratio: 16/9 !important;
  overflow: hidden !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
body.archive .wp-block-post-featured-image img,
body.category .wp-block-post-featured-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}
body.archive .wp-block-post:hover .wp-block-post-featured-image img,
body.category .wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.05) !important;
}
/* 카드 제목 */
body.archive .wp-block-post-title,
body.category .wp-block-post-title {
  font-size: 1.0rem !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
  padding: 14px 16px 0 !important;
  margin: 0 !important;
  min-height: 3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
}
body.archive .wp-block-post-title a,
body.category .wp-block-post-title a {
  color: var(--bd-text) !important;
  text-decoration: none !important;
}
body.archive .wp-block-post-title a:hover,
body.category .wp-block-post-title a:hover {
  color: var(--bd-orange) !important;
}
/* 카드 날짜 */
body.archive .wp-block-post-date,
body.category .wp-block-post-date {
  padding: 8px 16px 14px !important;
  font-size: 0.78rem !important;
  color: var(--bd-muted) !important;
}
/* 카드 발췌 숨기기 (깔끔하게) */
body.archive .wp-block-post-excerpt,
body.category .wp-block-post-excerpt {
  padding: 4px 16px 0 !important;
  font-size: 0.84rem !important;
  color: var(--bd-text-sub) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 카테고리 배지 */
body.archive .wp-block-post-terms a,
body.category .wp-block-post-terms a {
  background: var(--bd-orange) !important;
  color: #fff !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}
/* 페이지네이션 */
body.archive .wp-block-query-pagination,
body.category .wp-block-query-pagination {
  max-width: var(--bd-container-max);
  margin: 24px auto 40px !important;
  padding: 0 20px;
  justify-content: center;
  gap: 8px;
}
body.archive .wp-block-query-pagination a,
body.archive .wp-block-query-pagination span,
body.category .wp-block-query-pagination a,
body.category .wp-block-query-pagination span {
  padding: 8px 16px !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  font-weight: 500;
}
body.archive .wp-block-query-pagination .current,
body.category .wp-block-query-pagination .current {
  background: var(--bd-orange) !important;
  color: #fff !important;
}
/* 아카이브 모바일 */
@media (max-width: 600px) {
  body.archive .wp-block-post-template,
  body.category .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }
  body.archive .wp-block-query-title,
  body.category .wp-block-query-title {
    font-size: 1.2rem !important;
    padding: 20px 16px 0 !important;
  }
  body.archive .wp-block-query,
  body.category .wp-block-query {
    padding: 16px !important;
  }
}

/* ══════ RESPONSIVE ══════ */
@media (max-width: 900px) {
  .bd-layout-wrapper { grid-template-columns: 1fr !important; }
  .bd-sidebar { position: static; max-height: none; }
  body.home .wp-block-post-template { grid-template-columns: repeat(2, 1fr) !important; }
  body.home .wp-block-post-template > li:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  /* ── 모바일 핵심: 패딩은 콘텐츠 영역에서만, 헤더/푸터는 풀너비 ── */
  .wp-site-blocks {
    padding: 0 !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  /* 콘텐츠 영역에만 좌우 패딩 */
  .wp-site-blocks > main,
  .wp-site-blocks > .wp-block-group:not(header):not(footer) {
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }
  /* 헤더/푸터: 풀너비 유지 */
  header.wp-block-template-part,
  .custom-footer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    width: 100% !important;
  }
  /* 하위 컨테이너: 패딩 제거 (중첩 방지) */
  .wp-site-blocks .wp-block-group,
  .wp-site-blocks .wp-block-group.alignfull,
  .wp-site-blocks .wp-block-group.alignfull.has-global-padding,
  .wp-site-blocks main,
  .wp-site-blocks article {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  /* 콘텐츠 영역: 너비 100%, 줄바꿈 강제 */
  body.single .wp-block-post-content {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    padding: 0 !important;
  }
  /* 레이아웃 래퍼: 패딩 제거 (상위에서 관리) */
  .bd-layout-wrapper {
    padding: 0 !important;
    gap: 20px !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  /* 모든 자식 요소 너비 제한 */
  body.single .wp-block-post-content > *,
  body.single .wp-block-post-content div,
  body.single .wp-block-post-content p,
  body.single .wp-block-post-content h2,
  body.single .wp-block-post-content h3,
  body.single .wp-block-post-content ul,
  body.single .wp-block-post-content ol,
  body.single .wp-block-post-content blockquote {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
  }

  /* 홈 */
  body.home .wp-block-post-template { grid-template-columns: 1fr !important; padding: 0 !important; gap: 16px !important; }
  body.home .wp-block-post-template > li:first-child { grid-column: auto; }
  body.home .wp-block-post-template > li:first-child .wp-block-post-featured-image { aspect-ratio: 16/9; }
  body.home .wp-block-post-template > li:first-child .wp-block-post-title { font-size: 1.0rem !important; }
  body.home .wp-block-post-title { font-size: 0.95rem !important; min-height: auto; }

  /* 싱글 포스트 */
  body.single .wp-block-post-title { font-size: 1.4rem !important; word-break: keep-all !important; }
  body.single .wp-block-post-featured-image { margin-left: -16px !important; margin-right: -16px !important; border-radius: 0 !important; }

  /* 이미지 */
  body.single .wp-block-post-content img { max-width: 100% !important; height: auto !important; }

  /* 테이블: min-width 인라인 스타일 강제 해제 */
  body.single .wp-block-post-content table,
  body.single .wp-block-post-content table[style] {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.85rem !important;
  }
  body.single .wp-block-post-content table th,
  body.single .wp-block-post-content table td {
    padding: 8px 10px !important;
    min-width: 0 !important;
    word-break: keep-all !important;
  }

  /* 관련글/내비 */
  .bd-related-grid { grid-template-columns: 1fr; }
  .bd-post-nav { grid-template-columns: 1fr; max-width: 100% !important; }
  .bd-post-nav a.bd-nav-next { text-align: left; }
  #bd-toc { display: none !important; }

  /* CTA 버튼 모바일 */
  .coupang-cta a,
  body.single .wp-block-post-content a[style*="background"] {
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   POST CONTENT STYLE NORMALIZATION — BuzzDaily Brand Unity

   모든 인라인 스타일을 브랜드 오렌지 테마로 강제 통일.
   감사 결과 기반: 4가지 박스 패턴, 6가지 보더 색상, 12가지 폰트 색상
   ══════════════════════════════════════════════════════════════ */

/* ── 1. CTA 버튼: 인라인 background가 있는 모든 링크 → 흰 텍스트 보장 ── */
body.single .wp-block-post-content a[style*="background"] {
  color: #fff !important;
}
body.single .wp-block-post-content a[href*="link.coupang.com"],
body.single .wp-block-post-content a[href*="coupa.ng"] {
  color: #fff !important;
}
/* CTA 호버 */
body.single .wp-block-post-content a[style*="background"]:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ── 2. INFO BOX: border-left 패턴 4종 → 오렌지 통일 ── */
/* #dc3545(빨강), #38a169(초록), #2b6cb0(짙은파랑), #3182ce(파랑), #3498db(연파랑) */
body.single .wp-block-post-content div[style*="border-left"] {
  border-left-color: var(--bd-orange) !important;
  background: var(--bd-orange-xlight) !important;
  border-radius: 0 var(--bd-radius-sm) var(--bd-radius-sm) 0 !important;
  padding: 14px 18px !important;
  margin: 1.5em 0 !important;
}
/* info box 내부 텍스트 색상 통일 */
body.single .wp-block-post-content div[style*="border-left"],
body.single .wp-block-post-content div[style*="border-left"] p,
body.single .wp-block-post-content div[style*="border-left"] span,
body.single .wp-block-post-content div[style*="border-left"] li {
  color: var(--bd-text-sub) !important;
}
body.single .wp-block-post-content div[style*="border-left"] strong {
  color: var(--bd-text) !important;
  background-image: none !important;
}
/* info box 내부 아이콘/라벨 색상 (빨강/초록/파랑 → 오렌지) */
body.single .wp-block-post-content div[style*="border-left"] span[style*="color:#e53e3e"],
body.single .wp-block-post-content div[style*="border-left"] span[style*="color:#dc3545"],
body.single .wp-block-post-content div[style*="border-left"] span[style*="color:#276749"],
body.single .wp-block-post-content div[style*="border-left"] span[style*="color:#38a169"],
body.single .wp-block-post-content div[style*="border-left"] span[style*="color:#3182ce"],
body.single .wp-block-post-content div[style*="border-left"] span[style*="color:#2b6cb0"] {
  color: var(--bd-orange) !important;
}

/* ── 3. 밝은 배경 BOX만 오렌지 계열로 통일 (다크 배경은 유지) ── */
/* 밝은 배경 (#fff5f5, #f0fff4, #ebf8ff, #f7fafc, #f8f9fa 등) → 오렌지 */
body.single .wp-block-post-content div[style*="background:#f"][style*="border-radius"]:not([style*="border-left"]),
body.single .wp-block-post-content div[style*="background:#e"][style*="border-radius"]:not([style*="border-left"]),
body.single .wp-block-post-content div[style*="background: #f"][style*="border-radius"]:not([style*="border-left"]) {
  background: var(--bd-orange-xlight) !important;
  border: 1px solid rgba(255,107,53,0.1) !important;
  border-radius: var(--bd-radius-sm) !important;
}
body.single .wp-block-post-content div[style*="background:#f"][style*="border-radius"]:not([style*="border-left"]) p,
body.single .wp-block-post-content div[style*="background:#f"][style*="border-radius"]:not([style*="border-left"]) span,
body.single .wp-block-post-content div[style*="background:#e"][style*="border-radius"]:not([style*="border-left"]) p,
body.single .wp-block-post-content div[style*="background:#e"][style*="border-radius"]:not([style*="border-left"]) span {
  color: var(--bd-text-sub) !important;
}
body.single .wp-block-post-content div[style*="background:#f"][style*="border-radius"]:not([style*="border-left"]) strong,
body.single .wp-block-post-content div[style*="background:#e"][style*="border-radius"]:not([style*="border-left"]) strong {
  color: var(--bd-text) !important;
  background-image: none !important;
}
/* 다크 배경 박스: 원래 배경 유지 + 흰색 텍스트 보장 */
body.single .wp-block-post-content div[style*="background:#1"],
body.single .wp-block-post-content div[style*="background:#2"],
body.single .wp-block-post-content div[style*="background:#0"],
body.single .wp-block-post-content div[style*="background: #1"],
body.single .wp-block-post-content div[style*="background: #2"] {
  border-radius: var(--bd-radius-sm) !important;
}
body.single .wp-block-post-content div[style*="background:#1"] *,
body.single .wp-block-post-content div[style*="background:#2"] *,
body.single .wp-block-post-content div[style*="background:#0"] * {
  color: inherit !important;
}

/* ── 4. 다크 섹션 (제품 카드, #1a202c 배경) → zinc-950 통일 ── */
body.single .wp-block-post-content div[style*="1a202c"],
body.single .wp-block-post-content div[style*="#1a202c"] {
  background-color: var(--bd-dark) !important;
  border-radius: var(--bd-radius-sm) !important;
}

/* ── 5. 테이블: 모든 인라인 스타일 오버라이드 ── */
body.single .wp-block-post-content table,
body.single .wp-block-post-content table[style] {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: var(--bd-radius-sm) !important;
  border: 1px solid var(--bd-border) !important;
  font-variant-numeric: tabular-nums !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
body.single .wp-block-post-content table th,
body.single .wp-block-post-content table th[style] {
  background: var(--bd-orange-xlight) !important;
  color: var(--bd-text) !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--bd-orange) !important;
  padding: 12px 16px !important;
}
body.single .wp-block-post-content table td,
body.single .wp-block-post-content table td[style] {
  padding: 10px 16px !important;
  border-bottom: 1px solid var(--bd-border) !important;
  color: var(--bd-text) !important;
  background: transparent !important;
}
body.single .wp-block-post-content table tr:nth-child(even) td {
  background: var(--bd-orange-xlight) !important;
}
body.single .wp-block-post-content table tr:last-child td {
  border-bottom: none !important;
}

/* ── 6. 가격/수치 강조 ── */
body.single .wp-block-post-content span[style*="font-size: 2"],
body.single .wp-block-post-content span[style*="font-size:2"],
body.single .wp-block-post-content p[style*="font-size: 2"],
body.single .wp-block-post-content p[style*="font-size:2"],
body.single .wp-block-post-content span[style*="font-size: 3"],
body.single .wp-block-post-content span[style*="font-size:3"] {
  color: var(--bd-orange) !important;
  font-weight: 800 !important;
}

/* ── 7. 인라인 텍스트 색상 정규화 (본문 내) ── */
/* 회색 계열 (#4a5568, #718096, #a0aec0) → design token */
body.single .wp-block-post-content span[style*="color:#4a5568"],
body.single .wp-block-post-content p[style*="color:#4a5568"],
body.single .wp-block-post-content span[style*="color:#718096"],
body.single .wp-block-post-content span[style*="color:#a0aec0"] {
  color: var(--bd-text-sub) !important;
}
/* 어두운 회색 (#2d3748, #1a202c, #333, #222) → 본문 색상 */
body.single .wp-block-post-content span[style*="color:#2d3748"],
body.single .wp-block-post-content p[style*="color:#2d3748"],
body.single .wp-block-post-content span[style*="color:#333"],
body.single .wp-block-post-content span[style*="color:#222"] {
  color: var(--bd-text) !important;
}
/* 빨강/파랑/초록 강조 → 오렌지 */
body.single .wp-block-post-content span[style*="color:#e53e3e"],
body.single .wp-block-post-content span[style*="color:#c53030"],
body.single .wp-block-post-content span[style*="color:#3182ce"],
body.single .wp-block-post-content span[style*="color:#2b6cb0"],
body.single .wp-block-post-content span[style*="color:#276749"] {
  color: var(--bd-orange) !important;
}

/* ── 8. WP 블록 버튼 ── */
body.single .wp-block-post-content .wp-block-button__link,
body.single .wp-block-post-content .wp-block-button__link[style] {
  background: linear-gradient(135deg, var(--bd-orange), var(--bd-orange-dark)) !important;
  color: #fff !important;
  border-radius: var(--bd-radius-cta) !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  box-shadow: 0 4px 16px rgba(255,107,53,0.3) !important;
}

/* ── 9. 인라인 밑줄/배경 장식 통일 ── */
body.single .wp-block-post-content span[style*="background:#fff8f0"],
body.single .wp-block-post-content span[style*="background:#f0faf7"],
body.single .wp-block-post-content span[style*="background:#f0f7ff"],
body.single .wp-block-post-content span[style*="background:#fff9c4"] {
  background: var(--bd-orange-xlight) !important;
}

/* ── 10. 쿠팡 공시 통일 (모든 색상 변형) ── */
body.single .wp-block-post-content div[style*="쿠팡"],
body.single .wp-block-post-content div[style*="border-left"][style*="f9a825"],
body.single .wp-block-post-content div[style*="fff9c4"] {
  background: var(--bd-orange-xlight) !important;
  border-left: 4px solid var(--bd-orange) !important;
  border-color: var(--bd-orange) !important;
  border-radius: 0 var(--bd-radius-sm) var(--bd-radius-sm) 0 !important;
  color: var(--bd-text-sub) !important;
}
