/* ================================================================
   Flavor Developer Theme — Obsidian Violet Design System
   Tech blog theme with glassmorphism, bento grid, scroll animations
   ================================================================ */

/* ── 1. CSS Custom Properties ────────────────────────── */
:root {
    /* Color — Obsidian Violet (Light) */
    --primary: #1a1a2e;
    --primary-light: #2d2b55;
    --accent: #7c3aed;
    --accent-text: #5b21b6;
    --highlight: #06b6d4;
    --highlight-dark: #0891b2;
    --accent-rgb: 124, 58, 237;
    --highlight-rgb: 6, 182, 212;
    --blockquote-label: 'TECH INSIGHT';
    --text-primary: #111827;
    --text-secondary: #1f2937;
    --text-muted: #4b5563;
    --surface-0: #faf9fc;
    --surface-1: #ffffff;
    --surface-2: #f3f0ff;
    --surface-glass: rgba(255, 255, 255, 0.72);
    --border-color: rgba(var(--accent-rgb), 0.12);
    --border-hover: rgba(var(--accent-rgb), 0.3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(var(--accent-rgb), 0.12);
    --shadow-glow: 0 0 20px rgba(var(--accent-rgb), 0.15);

    /* 5-Tier Color Extensions */
    --gradient-brand: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-hero: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 40%, var(--accent) 100%);
    --surface-accent: var(--surface-2);
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    /* Typography — 3-font system */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 애드센스 빈 박스 제거 (2026-09-04) — 자동광고 컨테이너는 광고가 실제 채워졌을 때만 펼침.
 * 미충전·판정불가(status null) 슬롯이 히어로 밑에 280px 공백을 만들던 문제. */
ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}
/* 2026-09-04 수정: 채워지기 전 접기(max-height:0)는 슬롯 크기 0 → TagError·무채움의 원인.
 * 미충전으로 판정된 컨테이너만 숨긴다 (:has 미지원 브라우저는 functions.php 폴링이 fd-ad-unfilled 부여). */
.google-auto-placed:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.google-auto-placed.fd-ad-unfilled {
    display: none;
}
:root {
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --fs-body: 17px;
    --lh-body: 1.8;

    /* Modular Type Scale (1.25 ratio) */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3.5rem;

    /* 4px-based Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* Layout */
    --content-width: 1200px;
    --content-narrow: 720px;
    --gap: 24px;

    /* Radius Scale */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;
    --radius-full: 9999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.3s;

    /* Header */
    --header-height: 64px;
}

/* ── 2. Reset & Base ─────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--text-primary);
    background: var(--surface-0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-text);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

a:hover {
    color: var(--accent);
    text-decoration: underline;
}

::selection {
    background: rgba(var(--accent-rgb), 0.2);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-0);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ── 4. Layout ───────────────────────────────────────── */
.content-wrap {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--gap);
}

.content-wrap--narrow {
    max-width: var(--content-narrow);
}

.site-main {
    min-height: calc(100vh - var(--header-height) - 300px);
    padding-top: var(--header-height);
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 40px var(--gap);
}

.post-layout__content {
    min-width: 0;
}

.post-layout__sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    align-self: start;
}

/* ── 5. Header — Sticky Glassmorphism ────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--surface-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    will-change: backdrop-filter;
    border-bottom: 1px solid var(--border-color);
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.site-header--hidden {
    transform: translateY(-100%);
}

/* When header hides, pull sticky elements to top */
.site-header--hidden ~ .site-main .category-filter {
    top: 0;
}

.site-header--scrolled {
    box-shadow: var(--shadow-md);
}

.site-header__inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-header__brand {
    flex-shrink: 0;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.site-header__logo:hover {
    color: var(--accent);
    text-decoration: none;
}

.site-header__logo-img {
    height: 40px;
    width: auto;
    max-height: 40px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.site-header__logo:hover .site-header__logo-img {
    transform: scale(1.04);
}

.site-header__logo-text {
    font-family: var(--font-display);
    white-space: nowrap;
}

.site-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
    text-decoration: none;
}

/* Dropdown */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: var(--surface-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    will-change: backdrop-filter;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration) var(--ease);
    z-index: 100;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-menu .sub-menu a {
    padding: 8px 12px;
    font-size: 0.85rem;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background var(--duration) var(--ease);
}

.hamburger:hover {
    background: rgba(var(--accent-rgb), 0.1);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
    transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 6px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
}

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ── 6. Reading Progress Bar — Gradient ─────────────── */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-brand);
    z-index: 1001;
    transition: width 0.1s linear;
}

.reading-progress__heading {
    position: fixed;
    top: 3px;
    left: 0;
    right: 0;
    height: 0;
    overflow: hidden;
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text-primary);
    transition: height var(--duration) var(--ease);
}

.reading-progress__heading.visible {
    height: 32px;
}

/* ── 7. Hero Section — Mesh Gradient ─────────────────── */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    text-align: center;
}

.hero-section__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(var(--accent-rgb), 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(var(--highlight-rgb), 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 50% 80%, rgba(var(--accent-rgb), 0.08) 0%, transparent 50%);
    animation: mesh-shift 15s ease-in-out infinite alternate;
    z-index: 0;
}


@keyframes mesh-shift {
    0% { transform: scale(1) translate(0, 0); }
    33% { transform: scale(1.05) translate(2%, -1%); }
    66% { transform: scale(1.02) translate(-1%, 2%); }
    100% { transform: scale(1) translate(1%, -1%); }
}

/* Phase 2: Micro-Interaction Keyframes */
@keyframes fade-up {
    0% { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); }
}

@keyframes count-reveal {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes slide-in-left {
    0% { opacity: 0; transform: translateX(-16px); }
    100% { opacity: 1; transform: translateX(0); }
}

.hero-section__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--gap);
}

.hero-section__badge {
    display: inline-block;
    padding: 6px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--highlight-dark);
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--highlight);
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}

.hero-section__title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section__tagline {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hero-section__desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-section__cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-section__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.hero-section__btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
}

.hero-section__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.4);
    color: #fff;
    text-decoration: none;
}

.hero-section__btn--secondary {
    color: var(--accent-text);
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

.hero-section__btn--secondary:hover {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
    text-decoration: none;
}

/* ── 7b. Masthead — Premium Branding Banner ─────────── */
.masthead {
    position: relative;
    padding: 36px 0 32px;
    overflow: hidden;
    text-align: center;
    max-width: var(--content-width);
    margin: 0 auto var(--space-6);
    padding-left: var(--gap);
    padding-right: var(--gap);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.masthead__bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradient-shift 12s ease-in-out infinite;
    z-index: 0;
}

/* Masthead concept image — subtle behind gradient */
.masthead__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/masthead-bg.webp') center/cover no-repeat;
    opacity: 0.25;
    z-index: -1;
}

.masthead__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(255,255,255,0.06) 0%, transparent 50%);
}


.masthead__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--gap);
}

.masthead__logo {
    flex-shrink: 0;
}

.masthead__logo-img {
    max-height: 64px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.masthead__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.masthead__subtitle {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2px;
}

.masthead__name {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: #fff;
}

.masthead__name-kr {
    font-family: var(--font-body);
    font-size: 0.4em;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}

.masthead__tagline {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.7);
    margin: 6px 0 0;
    line-height: 1.4;
}

.masthead__edition {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
}

/* ── 8. Category Filter — Sticky Pills ───────────────── */
.category-filter {
    position: sticky;
    top: var(--header-height);
    z-index: 100;
    background: var(--surface-glass);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transition: top var(--duration) var(--ease);
}

.category-filter::-webkit-scrollbar {
    display: none;
}

.category-filter__inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.cfb-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.cfb-pill:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.06);
    text-decoration: none;
}

.cfb-pill--active {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.cfb-pill--active:hover {
    color: #fff;
    background: var(--accent-text);
}

.cfb-count {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ── 9. Bento Grid ───────────────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--gap);
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 40px var(--gap);
}

.bento-grid--with-featured {
    grid-template-columns: repeat(4, 1fr);
}

/* ── 10. Cards — Glassmorphism ───────────────────────── */
.card {
    position: relative;
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.card:hover .card__image img {
    transform: scale(1.05);
}

.card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface-2), var(--surface-1));
    color: var(--text-muted);
    font-size: 2.5rem;
}

.card__body {
    padding: 20px;
}

.card__category {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--highlight-dark);
    background: rgba(var(--highlight-rgb), 0.1);
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
    text-decoration: none;
}

.card__category:hover {
    background: rgba(var(--highlight-rgb), 0.2);
    text-decoration: none;
}

.card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card__title a {
    color: var(--text-primary);
    text-decoration: none;
}

.card__title a:hover {
    color: var(--accent);
}

.card__excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card__date {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Featured Card — 2x2 Span */
.card--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.card--featured .card__image {
    aspect-ratio: auto;
    height: 60%;
}

.card--featured .card__body {
    padding: 28px;
}

.card--featured .card__title {
    font-size: 1.5rem;
    -webkit-line-clamp: 3;
}

.card--featured .card__excerpt {
    -webkit-line-clamp: 3;
}

/* Compact Card (sidebar) */
.card--compact {
    display: flex;
    gap: 12px;
    border-radius: var(--radius);
    padding: 12px;
}

.card--compact:hover {
    transform: none;
}

.card--compact .card__image {
    width: 80px;
    height: 60px;
    aspect-ratio: auto;
    flex-shrink: 0;
    border-radius: 8px;
}

.card--compact .card__body {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card--compact .card__title {
    font-size: 0.85rem;
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
}

.card--compact .card__meta {
    font-size: 0.75rem;
}

/* ── 11. Single Post Content ─────────────────────────── */

/* Full-bleed Hero (with thumbnail) */
.single-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.single-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-hero__overlay {
    position: absolute;
    inset: 0;
    /* 전면 스크림 — 밝은 실사 표지(흰 배경 제품컷)에서도 흰 타이틀 대비 보장 (2026-09-04) */
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.22) 100%);
}

.single-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--content-narrow);
    margin: 0 auto;
    padding: var(--space-16) var(--gap) var(--space-10);
    text-align: center;
    width: 100%;
}

.single-hero .single-header__breadcrumbs {
    margin-bottom: var(--space-5);
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.6);
}

.single-hero .single-header__breadcrumbs a {
    color: rgba(255,255,255,0.6);
}

.single-hero .single-header__breadcrumbs a:hover {
    color: #fff;
}

.single-hero .rank-math-breadcrumb {
    color: rgba(255,255,255,0.6);
}

.single-hero .rank-math-breadcrumb a {
    color: rgba(255,255,255,0.6);
}

.single-hero .single-header__category {
    display: inline-block;
    padding: 5px 14px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-4);
    text-decoration: none;
}

.single-hero .single-header__title {
    font-family: var(--font-display);
    font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-4);
    color: #fff;
}

.single-hero .single-header__meta {
    display: flex;
    justify-content: center;
    gap: var(--space-5);
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

/* Standard Header (no thumbnail fallback) */
.single-header {
    max-width: var(--content-narrow);
    margin: 0 auto;
    padding: var(--space-10) var(--gap) 0;
    text-align: center;
}

.single-header__breadcrumbs {
    margin-bottom: var(--space-5);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.single-header__breadcrumbs a {
    color: var(--text-muted);
}

.single-header__breadcrumbs a:hover {
    color: var(--accent);
}

.single-header__category {
    display: inline-block;
    padding: 5px 14px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--highlight-dark);
    background: rgba(var(--highlight-rgb), 0.1);
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-4);
    text-decoration: none;
}

.single-header__title {
    font-family: var(--font-display);
    font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.single-header__meta {
    display: flex;
    justify-content: center;
    gap: var(--space-5);
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-8);
}

.single-header__thumbnail {
    max-width: 900px;
    margin: 0 auto var(--space-10);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.single-header__thumbnail img {
    width: 100%;
    height: auto;
}

/* Content Area */
.entry-content {
    max-width: var(--content-narrow);
    margin: 0 auto;
    color: var(--text-secondary);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.entry-content p {
    margin-bottom: 1.6em;
    line-height: 1.85;
}

.entry-content ul,
.entry-content ol {
    margin: 1.2em 0 1.6em;
    padding-left: 1.4em;
}

.entry-content li {
    margin-bottom: 0.5em;
    line-height: 1.8;
}

.entry-content li:last-child {
    margin-bottom: 0;
}

.entry-content li > ul,
.entry-content li > ol {
    margin: 0.4em 0 0.4em;
}

.entry-content .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.6em 0;
    border-radius: var(--radius);
}

.entry-content .table-wrap > table {
    margin: 0;
    min-width: 100%;
}

.entry-content > p:first-of-type::first-letter {
    font-family: var(--font-display);
    float: left;
    font-size: 3.2em;
    font-weight: 800;
    line-height: 0.85;
    padding-right: 8px;
    padding-top: 4px;
    color: var(--accent);
}

.entry-content h2 {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin: 2.5em 0 0.8em;
    padding-bottom: 12px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--accent), transparent) 1;
}

.entry-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 2em 0 0.6em;
    padding-left: 20px;
    position: relative;
}

.entry-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: var(--accent);
}

.entry-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1.8em 0 0.5em;
}

/* Blockquote — Large quote mark + glassmorphism */
.entry-content blockquote {
    position: relative;
    margin: 2em 0;
    padding: 32px 32px 24px 48px;
    background: var(--surface-accent);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.entry-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    opacity: 0.3;
}

.entry-content blockquote::after {
    content: var(--blockquote-label, 'TECH INSIGHT');
    position: absolute;
    top: -12px;
    left: 20px;
    padding: 2px 12px;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: var(--surface-1);
    border: 1px solid var(--accent);
    border-radius: var(--radius-pill);
}

.entry-content blockquote p {
    margin-bottom: 0;
    font-family: var(--font-display);
    font-style: normal;
    font-size: var(--fs-md);
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Table Scroll Wrapper */
.table-scroll-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2em 0;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.table-scroll-wrap table {
    margin: 0;
    border-radius: 0;
    min-width: 500px;
}

/* Tables */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: 0.9rem;
}

.entry-content th,
.entry-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.entry-content th {
    background: var(--surface-2);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.entry-content tbody tr:hover {
    background: rgba(var(--accent-rgb), 0.04);
    box-shadow: inset 4px 0 0 var(--accent);
}

.entry-content tbody tr:nth-child(even) {
    background: rgba(var(--accent-rgb), 0.02);
}

.entry-content td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

/* Code */
.entry-content code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    padding: 2px 8px;
    background: var(--surface-2);
    border-radius: 6px;
    color: var(--accent-text);
}

.entry-content pre {
    background: var(--surface-2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    overflow-x: auto;
    margin: 2em 0;
}

.entry-content pre code {
    padding: 0;
    background: transparent;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Images */
.entry-content img {
    border-radius: var(--radius);
    margin: 1.5em 0;
    transition: transform var(--duration) var(--ease);
}

.entry-content figure {
    margin: 2em 0;
}

.entry-content figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Lists */
.entry-content ul,
.entry-content ol {
    margin: 1.2em 0;
    padding-left: 1.8em;
}

.entry-content li {
    margin-bottom: 0.5em;
}

.entry-content ul li::marker {
    color: var(--highlight);
}

.entry-content ol li::marker {
    color: var(--accent);
    font-weight: 700;
}

/* ── 가독성 위계: 하이라이트 · 강조 · 밑줄 (AEO/GEO 스캔·인용 최적화) ── */
.entry-content mark {
    background: linear-gradient(180deg, transparent 0 52%, rgba(var(--accent-rgb), 0.34) 52% 92%, transparent 92%);
    color: inherit;
    font-weight: 600;
    padding: 0 0.12em;
    border-radius: 2px;
}
.entry-content strong { color: var(--primary); font-weight: 700; }
.entry-content u {
    text-decoration: none;
    background: linear-gradient(var(--accent), var(--accent)) 0 1.05em / 100% 2px no-repeat;
    padding-bottom: 1px;
}
.entry-content dl { margin: 1.6rem 0; }
.entry-content dt { font-weight: 700; color: var(--primary); margin-top: 0.9rem; }
.entry-content dd {
    margin: 0.25rem 0 0;
    padding-left: 1rem;
    border-left: 3px solid rgba(var(--accent-rgb), 0.35);
    color: var(--text-secondary, inherit);
}
.entry-content ul li, .entry-content ol li { margin: 0.45em 0; line-height: 1.75; }

/* Links */
.entry-content a {
    color: var(--accent-text);
    text-decoration: underline;
    text-decoration-color: rgba(var(--accent-rgb), 0.3);
    text-underline-offset: 2px;
    transition: all var(--duration) var(--ease);
}

.entry-content a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

/* HR — gradient line */
.entry-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 2.5em 0;
    opacity: 0.5;
}

/* Hide TOC on pages (About, Terms, Privacy, Contact) */
.page #ez-toc-container {
    display: none !important;
}

/* ── 12. TOC (Easy Table of Contents) — Floating Sidebar ── */
#ez-toc-container {
    background: var(--surface-1) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg) !important;
    padding: var(--space-5) !important;
    margin: 2em 0 !important;
    box-shadow: var(--shadow-sm) !important;
}

/* Desktop: sticky sidebar TOC */
@media (min-width: 1025px) {
    .post-layout__sidebar #ez-toc-container {
        position: sticky;
        top: calc(var(--header-height) + 20px);
    }
}

#ez-toc-container .ez-toc-title {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    font-size: var(--fs-base) !important;
    color: var(--text-primary) !important;
    padding-bottom: var(--space-3) !important;
    border-bottom: 2px solid var(--accent) !important;
    margin-bottom: var(--space-3) !important;
}

#ez-toc-container a {
    color: var(--text-muted) !important;
    text-decoration: none !important;
    font-size: var(--fs-sm) !important;
    transition: all var(--duration) var(--ease) !important;
    padding: 4px 0 !important;
    display: block !important;
    border-left: 2px solid transparent !important;
    padding-left: var(--space-3) !important;
}

#ez-toc-container a:hover,
#ez-toc-container .active a,
#ez-toc-container a.is-active-link {
    color: var(--accent) !important;
    border-left-color: var(--accent) !important;
}

/* ── 13. Sidebar — Glassmorphism Widgets ─────────────── */
.sidebar .widget {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar .widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .widget ul li {
    margin-bottom: 8px;
}

.sidebar .widget ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

.sidebar .widget ul li a:hover {
    color: var(--accent);
}

/* Coupang sidebar widget — no padding, contain ad */
.sidebar .coupang-sidebar-widget {
    padding: 0;
    overflow: hidden;
    text-align: center;
}

.sidebar .coupang-sidebar-widget .coupang-disclaimer {
    padding: 8px 16px 12px;
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Search widget */
.sidebar .search-form {
    display: flex;
}

.sidebar .search-field {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius) 0 0 var(--radius);
    background: var(--surface-1);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.sidebar .search-field:focus {
    border-color: var(--accent);
}

.sidebar .search-submit {
    padding: 10px 16px;
    border: none;
    background: var(--accent);
    color: #fff;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-weight: 600;
    transition: background var(--duration) var(--ease);
}

.sidebar .search-submit:hover {
    background: var(--accent-text);
}

/* ── 14. Author Box — E-E-A-T ────────────────────────── */
.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin: 40px 0;
    max-width: var(--content-narrow);
    margin-left: auto;
    margin-right: auto;
}

.author-box__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--accent);
}

.author-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-box__info {
    flex: 1;
}

.author-box__label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 4px;
}

.author-box__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.author-box__bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── 15. Social Share ────────────────────────────────── */
.social-share {
    max-width: var(--content-narrow);
    margin: 0 auto 40px;
    padding: 0 var(--gap);
}

.social-share__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.social-share__buttons {
    display: flex;
    gap: 10px;
}

.social-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--surface-1);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    font-size: 0;
}

.social-share__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    text-decoration: none;
}

.social-share__btn--x:hover { color: #1da1f2; border-color: #1da1f2; }
.social-share__btn--fb:hover { color: #1877f2; border-color: #1877f2; }
.social-share__btn--line:hover { color: #00b900; border-color: #00b900; }

.social-share__btn--copy.copied {
    color: var(--highlight);
    border-color: var(--highlight);
}

/* ── 16. Related Posts ───────────────────────────────── */
.related-posts {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 60px var(--gap);
}

.related-posts__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 28px;
    text-align: center;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

/* ── 17. Footer ──────────────────────────────────────── */
.site-footer {
    background: var(--surface-1);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.site-footer__inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 48px var(--gap) 24px;
}

.site-footer__widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer__col .widget {
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 0;
    margin-bottom: 0;
}

.site-footer__col .widget-title,
.site-footer__col .widget h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: -0.01em;
    text-transform: none;
}

.site-footer__col .widget p,
.site-footer__col .widget strong {
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.site-footer__col .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__col .widget li {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 6px;
}

.site-footer__col .widget a {
    color: var(--text-muted);
    font-size: inherit;
}

.site-footer__col .widget a:hover {
    color: var(--accent);
}

.site-footer__nav {
    border-top: 1px solid var(--border-color);
    padding: 20px 0 8px;
    margin-bottom: 16px;
}

.site-footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
}

.site-footer__nav-list a {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

.site-footer__nav-list a:hover {
    color: var(--accent);
}

.site-footer__nav + .site-footer__bottom {
    border-top: 0;
    padding-top: 0;
}

.site-footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
}

.site-footer__copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.site-footer__disclaimer {
    font-size: 0.78rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ── 18. Coupang Banners — Native Design Integration ─── */
.coupang-banner-top,
.coupang-banner-middle,
.coupang-banner-bottom {
    text-align: center;
    margin: 24px auto;
    padding: 16px;
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: border-color var(--duration) var(--ease);
}

.coupang-banner-top:hover,
.coupang-banner-middle:hover,
.coupang-banner-bottom:hover {
    border-color: var(--border-hover);
}

.coupang-disclaimer {
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 8px;
    margin-bottom: 0;
}

.coupang-strip {
    border-color: var(--border-color) !important;
    border-radius: var(--radius) !important;
}

.coupang-strip a {
    color: var(--accent-text) !important;
}

.coupang-goldbox-grid {
    border-color: var(--border-color) !important;
    border-radius: var(--radius) !important;
}

@media (max-width: 1024px) {
    .coupang-sidebar-widget { display: none !important; }
}

/* ── 19. AdSense — CLS Prevention ────────────────────── */
.ad-container {
    min-height: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2em 0;
    contain: layout style;
}

.ad-container--infeed {
    min-height: 120px;
}

.ad-container--incontent {
    min-height: 280px;
}

.ad-container--rectangle {
    min-height: 250px;
    max-height: 300px;
}

.ad-container--leaderboard {
    min-height: 90px;
}

.ad-container--sidebar {
    min-height: 250px;
}

/* ── 20. Back to Top ─────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--duration) var(--ease);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

/* ── 21. Scroll Animations ───────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for grid items */
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ── 22. Pagination ──────────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 40px var(--gap);
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--duration) var(--ease);
}

.pagination .page-numbers:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.pagination .page-numbers.current {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

/* ── 23. Archive / Search Header ─────────────────────── */
.archive-header {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 40px var(--gap) 20px;
}

.archive-header__title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.archive-header__desc {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ── 24. 404 Page ────────────────────────────────────── */
.error-404 {
    text-align: center;
    padding: 80px var(--gap);
    max-width: 600px;
    margin: 0 auto;
}

.error-404__code {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.error-404__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.error-404__desc {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.error-404__search {
    max-width: 400px;
    margin: 0 auto 24px;
}

.error-404__search .search-form {
    display: flex;
}

.error-404__search .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius) 0 0 var(--radius);
    background: var(--surface-1);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
}

.error-404__search .search-field:focus {
    border-color: var(--accent);
}

.error-404__search .search-submit {
    padding: 12px 20px;
    border: none;
    background: var(--accent);
    color: #fff;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-weight: 600;
}

.error-404__home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--duration) var(--ease);
}

.error-404__home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.3);
    color: #fff;
    text-decoration: none;
}

/* ── 25. Page Template ───────────────────────────────── */
.page-content {
    max-width: var(--content-narrow);
    margin: 0 auto;
    padding: 40px var(--gap) 60px;
}

.page-content__title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}

/* ── 26. Rank Math Breadcrumbs ───────────────────────── */
.rank-math-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rank-math-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.rank-math-breadcrumb a:hover {
    color: var(--accent);
}

.rank-math-breadcrumb .separator {
    margin: 0 6px;
    opacity: 0.5;
}

/* ── 27. Skip Link ───────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 9999;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* ── 28. No Results ──────────────────────────────────── */
.no-results {
    text-align: center;
    padding: 80px var(--gap);
    max-width: 600px;
    margin: 0 auto;
}

.no-results__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.no-results__desc {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ── 29. Mobile (≤768px) ─────────────────────────────── */
@media (max-width: 768px) {
    :root {
        --gap: 16px;
        --header-height: 56px;
    }

    .hamburger {
        display: flex;
    }

    .site-header__nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--surface-1);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 24px 24px;
        z-index: 999;
        transition: right var(--duration) var(--ease);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .site-header__nav.open {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .nav-menu a {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-menu .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        background: transparent;
        backdrop-filter: none;
    }

    /* Hero */
    .hero-section {
        padding: 60px 0 50px;
    }

    .hero-section__title {
        font-size: 2.2rem;
    }

    .hero-section__desc {
        font-size: 0.9rem;
    }

    /* Grid */
    .bento-grid,
    .bento-grid--with-featured {
        grid-template-columns: 1fr;
    }

    .card--featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .card--featured .card__image {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .card--featured .card__title {
        font-size: 1.2rem;
    }

    /* Post layout */
    .post-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px var(--gap);
    }

    .post-layout__sidebar {
        position: static;
        max-height: none;
    }

    .single-header__title {
        font-size: 1.8rem;
    }

    /* Related */
    .related-posts__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Footer */
    .site-footer__widgets {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Author */
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Masthead mobile: vertical stack */
    .masthead { padding: 20px var(--gap); border-radius: var(--radius-md); }
    .masthead__inner { flex-direction: column; gap: 10px; }
    .masthead__logo-img { max-height: 48px; }
    .masthead__text { align-items: center; }
    .masthead__name { font-size: var(--fs-xl); }
    .masthead__tagline { font-size: var(--fs-xs); }
    .masthead__edition { font-size: 0.65rem; }
    .masthead__bg { animation: none; }

    /* Single Hero mobile */
    .single-hero { min-height: 300px; }
    .single-hero .single-header__title { font-size: var(--fs-xl); }
    .single-hero__content { padding: var(--space-10) var(--gap) var(--space-6); }

    /* Drop cap smaller on mobile */
    .entry-content > p:first-of-type::first-letter { font-size: 2.5em; }

    /* Mobile readability — keep 17px body so Korean reads comfortably. */
    :root { --fs-body: 17px; }

    .entry-content { padding: 0 4px; }

    .entry-content p {
        margin-bottom: 1.75em;
        line-height: 1.9;
    }

    .entry-content li {
        margin-bottom: 0.6em;
        line-height: 1.85;
    }

    .entry-content h2 { font-size: 1.5rem; margin-top: 2.2em; }
    .entry-content h3 { font-size: 1.2rem; margin-top: 2em; }
    .entry-content h4 { font-size: 1.08rem; }

    .entry-content th,
    .entry-content td {
        padding: 10px 12px;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .entry-content blockquote { padding: 18px 16px; line-height: 1.8; }

    .entry-content figure figcaption {
        font-size: 0.85rem;
        line-height: 1.55;
        padding: 8px 4px 0;
    }

    /* Disable GPU-heavy glassmorphism on mobile */
    .site-header,
    .category-filter,
    .hero-section__badge,
    .hero-section__btn--secondary,
    .sidebar .widget,
    .author-box,
    #ez-toc-container,
    .back-to-top,
    .nav-menu .sub-menu {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ── 30. Tablet (≤1024px) ────────────────────────────── */
@media (max-width: 1024px) and (min-width: 769px) {
    .bento-grid--with-featured {
        grid-template-columns: repeat(2, 1fr);
    }

    .card--featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .card--featured .card__image {
        aspect-ratio: 21 / 9;
        height: auto;
    }

    .post-layout {
        grid-template-columns: 1fr 260px;
        gap: 28px;
    }

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

    .site-footer__widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── 31. Print ───────────────────────────────────────── */
@media print {
    .site-header,
    .reading-progress,
    .category-filter,
    .social-share,
    .related-posts,
    .sidebar,
    .site-footer,
    .back-to-top,
    .hero-section,
    .masthead,
    .ad-container,
    .coupang-strip,
    .coupang-goldbox-grid,
    #ez-toc-container {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    .entry-content a {
        color: #000;
        text-decoration: underline;
    }

    .entry-content a[href]::after {
        content: ' (' attr(href) ')';
        font-size: 0.8em;
        color: #666;
    }

    .site-main {
        padding-top: 0;
    }

    .post-layout {
        display: block;
    }
}

/* ── 32. Accessibility ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal;
}

.screen-reader-text:focus {
    clip: auto;
    display: block;
    height: auto;
    width: auto;
    position: static;
}

/* ================================================================
   Magazine Layout
   Cover story + category-based section grid
   ================================================================ */

/* ── Cover Story — Full-width Hero Overlay ────────────── */
.cover-story {
    margin-bottom: var(--space-8);
}

.cover-story__hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
}

.cover-story__hero-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    text-decoration: none;
}

.cover-story__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.cover-story__hero:hover .cover-story__image {
    transform: scale(1.03);
}

.cover-story__image--placeholder {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradient-shift 12s ease-in-out infinite;
}

.cover-story__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 40%, transparent 70%);
    z-index: 1;
}

.cover-story__hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-10) var(--space-8) var(--space-8);
    max-width: 680px;
}

.cover-story__editor-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-4);
}

.cover-story__title {
    font-family: var(--font-display);
    font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 var(--space-3);
    color: #fff;
}

.cover-story__title a {
    color: #fff;
    text-decoration: none;
}

.cover-story__excerpt {
    font-size: var(--fs-base);
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin: 0 0 var(--space-4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cover-story__meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.6);
}

.cover-story__cat {
    color: var(--accent);
    font-weight: 600;
}

.cover-story__date {
    font-size: var(--fs-sm);
}

/* Picks header + label */
.cover-story__picks-header {
    margin-top: var(--space-8);
    padding-top: var(--space-5);
    border-top: 2px solid var(--border-color);
}

.cover-story__picks-label {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* Picks row (4-column below main) */
.cover-story__picks-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-4);
}

.cover-story__pick {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    text-decoration: none;
    transition: transform var(--duration) var(--ease);
}

.cover-story__pick:hover {
    transform: translateY(-3px);
}

.cover-story__pick:hover .cover-story__pick-title {
    color: var(--accent-text);
}

.cover-story__pick-image {
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.cover-story__pick-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.cover-story__pick:hover .cover-story__pick-image img {
    transform: scale(1.05);
}

.cover-story__pick-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--surface-2), var(--surface-1));
}

.cover-story__pick-badge {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-text);
    background: rgba(var(--accent-rgb), 0.12);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    width: fit-content;
}

.cover-story__pick-title {
    font-size: var(--fs-sm);
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--duration) var(--ease);
}

.cover-story__pick-meta {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* ── Magazine: Category Filter (anchor) ─────────────── */
.category-filter--magazine {
    scroll-behavior: smooth;
}

.category-filter--magazine .cfb-pill {
    scroll-behavior: smooth;
}

/* ── Magazine Sections Container ────────────────────── */
.mag-sections {
    padding-top: 8px;
}

/* ── Magazine: Section ──────────────────────────────── */
.mag-section {
    margin-bottom: var(--space-16);
    scroll-margin-top: 80px;
}

.mag-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--accent);
    position: relative;
}

.mag-section__title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.mag-section__more {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--accent-text);
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--duration) var(--ease);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-pill);
}

.mag-section__more:hover {
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
    text-decoration: none;
}

/* ── Magazine: Section Grid ─────────────────────────── */
.mag-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    align-items: start;
}

/* ── Magazine: Primary Card (large — image with gradient overlay) ── */
.mag-card-primary {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    transition: all var(--duration) var(--ease);
}

.mag-card-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--border-hover);
}

.mag-card-primary__image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.mag-card-primary__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.mag-card-primary:hover .mag-card-primary__image img {
    transform: scale(1.05);
}

.mag-card-primary__body {
    padding: var(--space-5);
}

.mag-card-primary__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 var(--space-2);
}

.mag-card-primary__title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

.mag-card-primary__title a:hover {
    color: var(--accent-text);
}

.mag-card-primary__excerpt {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 var(--space-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mag-card-primary__date {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* ── Magazine: List Card Wrapper ────────────────────── */
.mag-card-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Magazine: List Card (compact horizontal — accent border slide) ── */
.card-list {
    display: flex;
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-3);
    background: var(--surface-1);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    border-left: 3px solid transparent;
    transition: all var(--duration) var(--ease);
}

.card-list:hover {
    border-left-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.card-list__image {
    flex-shrink: 0;
    width: 100px;
    height: 68px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.card-list__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.card-list:hover .card-list__image img {
    transform: scale(1.05);
}

.card-list__body {
    flex: 1;
    min-width: 0;
}

.card-list__title {
    font-size: var(--fs-base);
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 var(--space-1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-list__title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

.card-list__title a:hover {
    color: var(--accent-text);
}

.card-list__date {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* ── Newsletter CTA — Gradient Glassmorphism ─────────── */
.newsletter-cta {
    position: relative;
    margin: var(--space-16) 0;
    padding: var(--space-12) var(--space-8);
    border-radius: var(--radius-xl);
    background: var(--gradient-brand);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease-in-out infinite;
    text-align: center;
    overflow: hidden;
}

.newsletter-cta::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: calc(var(--radius-xl) - 1px);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.newsletter-cta__content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-cta__title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: #fff;
    margin: 0 0 var(--space-2);
}

.newsletter-cta__desc {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.7);
    margin: 0 0 var(--space-6);
}

.newsletter-cta .wpforms-container {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-cta .wpforms-form input[type="email"] {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-pill);
    color: #fff;
    padding: 12px 20px;
}

.newsletter-cta .wpforms-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-cta .wpforms-form button[type="submit"] {
    background: #fff;
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-weight: 700;
    padding: 12px 28px;
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

.newsletter-cta .wpforms-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ── About Page ────────────────────────────────────── */
.about-hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: var(--space-12) var(--space-6);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: var(--space-8);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

.about-hero > * {
    position: relative;
    z-index: 1;
}

.about-hero__logo {
    max-height: 80px;
    width: auto;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto var(--space-4);
}

.about-hero__name {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: 800;
    margin: 0 0 var(--space-2);
}

.about-hero__tagline {
    font-size: var(--fs-md);
    opacity: 0.9;
    margin: 0;
}

.about-section {
    margin-bottom: var(--space-8);
}

.about-section__title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.about-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.about-principle {
    background: var(--surface-2);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.about-principle strong {
    display: block;
    margin-bottom: var(--space-1);
    color: var(--primary);
}

.about-disclaimer {
    background: var(--surface-2);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-top: var(--space-6);
    border-left: 4px solid var(--highlight-dark);
}

/* ── Magazine: Responsive ───────────────────────────── */
@media (max-width: 1024px) {
    .cover-story__hero {
        min-height: 340px;
    }

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

@media (max-width: 768px) {
    .cover-story__hero {
        min-height: 280px;
        border-radius: var(--radius);
    }

    .cover-story__hero-content {
        padding: var(--space-6) var(--space-4);
    }

    .cover-story__title {
        font-size: var(--fs-xl);
    }

    .cover-story__excerpt {
        display: none;
    }

    .cover-story__picks-row {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .mag-section__grid {
        grid-template-columns: 1fr;
    }

    .mag-section {
        margin-bottom: var(--space-10);
    }

    .card-list__image {
        width: 80px;
        height: 56px;
    }

    .newsletter-cta {
        margin: var(--space-10) 0;
        padding: var(--space-8) var(--space-4);
        border-radius: var(--radius-lg);
    }

    .newsletter-cta__title {
        font-size: var(--fs-lg);
    }
}

/* ── Editorial Elements ──────────────────────────── */
.article-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent-text);
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.editors-note {
    margin: 40px 0;
    padding: 20px 24px;
    background: var(--surface-2);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.editors-note strong {
    color: var(--accent-text);
    font-weight: 700;
}

.credit-line {
    margin: 32px 0 16px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.credit-team { font-weight: 600; }
.credit-role { font-style: italic; }

/* ── 33. Grain Texture Overlay — Print-like Premium ─── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E") repeat;
    opacity: 0.015;
    pointer-events: none;
    z-index: 9999;
}

@media (max-width: 768px) {
    body::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    body::after { display: none; }
}

/* ── 34. View Transitions (Progressive Enhancement) ── */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 0.2s ease-out both fade-up reverse;
}

::view-transition-new(root) {
    animation: 0.3s ease-out both fade-up;
}

/* ── 35. Image Lazy Reveal ──────────────────────────── */
.lazy-reveal {
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.lazy-reveal.loaded {
    opacity: 1;
}

/* ── 36. Magnetic Hover (JS-driven) ─────────────────── */
.mag-card-primary[data-tilt],
.cover-story__pick[data-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.15s var(--ease);
}

/* ══ Tools Strip + Trust Strip (2026-08-17 홈 구조 개선) ══ */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) var(--space-5);
    padding: var(--space-3) var(--space-4);
    margin-top: var(--space-5);
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    background: var(--surface-2, rgba(0,0,0,0.02));
    font-size: var(--fs-sm);
    color: var(--text-secondary, inherit);
}
.trust-strip__item { white-space: nowrap; }
.trust-strip__link {
    margin-left: auto;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
}
.trust-strip__link:hover { text-decoration: underline; }

.tools-strip { margin-top: var(--space-6); }
.tools-strip__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}
.tools-strip__title {
    font-family: var(--font-display);
    font-size: var(--fs-xl);
    margin: 0;
}
.tools-strip__more {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.tools-strip__more:hover { text-decoration: underline; }
/* 도구 카드 스타일은 tools-hub mu-plugin(th-card)이 제공 */
.author-box__policy { margin-top: var(--space-2); font-size: var(--fs-sm); }
.author-box__policy a { color: var(--accent); text-decoration: none; font-weight: 600; }
.author-box__policy a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .trust-strip { gap: var(--space-1) var(--space-3); font-size: var(--fs-xs); }
    .trust-strip__link { margin-left: 0; }
}

/* ══ 홈 레이아웃 개선 (2026-08-17) ══════════════════════
   1) 커버스토리 스플릿: 카드뉴스 이미지(자체 텍스트 포함) 위에 제목을 겹치지 않도록
      이미지 좌 / 텍스트 패널 우 분리 — 텍스트-온-텍스트 겹침 원천 제거 */
.cover-story__hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
    min-height: 380px;
}
.cover-story__image,
.cover-story__image--placeholder {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}
.cover-story__hero-overlay { display: none; }
.cover-story__hero-content {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: none;
    padding: var(--space-8);
    background: linear-gradient(150deg, var(--primary) 0%, var(--primary-light, var(--primary)) 100%);
}
.cover-story__title { font-size: clamp(var(--fs-xl), 2.6vw, var(--fs-2xl)); }

/* 2) 홈 도구 스트립: 3열 고정 (auto-fill 5+1 깨짐 방지) */
.tools-strip .th-grid { grid-template-columns: repeat(3, 1fr); }

/* 3) 광고 지연 로드 공백 제거 — 수동 유닛(.fd-ad)도 auto-placed와 동일하게
 * 접어두고 실채움 시에만 펼침 (미승인·미충전 슬롯이 라벨+여백 공백을 만들던 문제, 2026-09-04) */
.fd-ad ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
/* 2026-09-04 수정: 접어두기(max-height:0)·사이드바 display:none 은 슬롯 폭 0 → TagError. 미충전 판정 시에만 숨김 */
.fd-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.fd-ad.fd-ad-unfilled { display: none; }
.fd-ad-home { margin: var(--space-4) auto; }
.widget.fd-ad-sidebar:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.widget.fd-ad-sidebar.fd-ad-unfilled { display: none; }

/* 4) 필러 종합 가이드 밴드 — 그리드 밖 브랜드 밴드 (pillar-hub.php, 2026-09-04)
 * 판정 숫자가 첫 시선: 우측 대형 글 수 카운터. 색은 도메인별 --primary/--accent 자동. */
.fd-pillar-band {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-6, 24px);
    align-items: center;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: 26px 30px;
    margin: 0 0 28px;
}
.fd-pillar-band__kicker {
    display: block;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.62);
    margin-bottom: 6px;
}
.fd-pillar-band__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    line-height: 1.3;
}
.fd-pillar-band__title a { color: #fff; text-decoration: none; }
.fd-pillar-band__title a:hover { text-decoration: underline; }
.fd-pillar-band__desc {
    margin: 0;
    font-size: .9rem;
    line-height: 1.6;
    color: rgba(255,255,255,.72);
    max-width: 60ch;
}
.fd-pillar-band__side { text-align: right; min-width: 120px; }
.fd-pillar-band__num {
    display: block;
    font-family: var(--font-mono, monospace);
    font-variant-numeric: tabular-nums;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
}
.fd-pillar-band__label {
    display: block;
    font-size: .75rem;
    color: rgba(255,255,255,.62);
    margin: 4px 0 12px;
}
.fd-pillar-band__cta {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .fd-pillar-band { grid-template-columns: 1fr; padding: 20px; }
    .fd-pillar-band__side { text-align: left; display: flex; align-items: center; gap: 12px; }
    .fd-pillar-band__label { margin: 0; }
}

@media (max-width: 768px) {
    .cover-story__hero { grid-template-columns: 1fr; min-height: 0; }
    .cover-story__image,
    .cover-story__image--placeholder { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 16/9; height: auto; }
    .cover-story__hero-content { grid-column: 1; grid-row: 2; padding: var(--space-5) var(--space-4); }
    .tools-strip .th-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════════
   MODERN EDITORIAL SKIN 3.0 (2026-08-18)
   촌스러움 제거: 사진 배너·박스 테두리·각진 신문풍 → 타입 중심
   마스트헤드 + 글래스 네비 + 보더리스 엘리베이션 + 필 칩
   토큰(색·라운드·그림자)은 functions.php 도메인 팔레트에서 주입
   ════════════════════════════════════════════════════════ */

/* ── 0. 베이스 ── */
body { background: var(--surface-0); letter-spacing: -0.011em; }

/* ── 1. 글래스 헤더 ── */
.site-header {
    background: color-mix(in srgb, var(--surface-1) 78%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    backdrop-filter: blur(16px) saturate(1.6);
    border-bottom: 1px solid rgba(16,24,40,0.06);
    box-shadow: none;
}
.site-header--scrolled { box-shadow: 0 1px 0 rgba(16,24,40,0.05), var(--shadow-sm); }
.site-header__nav a {
    border-radius: var(--radius-pill, 999px);
    padding: 7px 14px;
    font-weight: 500;
    transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.site-header__nav a:hover { background: var(--surface-2); }
.site-header__nav .current-menu-item > a,
.site-header__nav .current_page_item > a {
    background: var(--primary);
    color: #fff;
}

/* ── 2. 마스트헤드: 사진 배너 → 타입 중심 히어로 ── */
.masthead {
    max-width: none;
    margin: 0 0 var(--space-4);
    padding: 52px var(--gap) 44px;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}
.masthead__bg {
    animation: none;
    background:
        radial-gradient(720px 340px at 12% -10%, rgba(var(--accent-rgb), 0.16), transparent 62%),
        radial-gradient(560px 300px at 88% 0%, rgba(var(--highlight-rgb), 0.10), transparent 60%),
        var(--surface-0);
}
.masthead__bg::before, .masthead__bg::after { display: none; }
.masthead__logo { display: none; }
.masthead__subtitle {
    color: var(--accent-text);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.22em;
}
.masthead__name {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(44px, 7vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 10px 0 6px;
    text-shadow: none;
}
.masthead__name-kr {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: clamp(14px, 1.6vw, 17px);
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--text-muted);
    margin-top: 12px;
}
.masthead__tagline { color: var(--text-secondary); font-size: var(--fs-md); margin-top: 6px; }
.masthead__edition {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    border: 1px solid rgba(16,24,40,0.10);
    border-radius: 999px;
    padding: 4px 14px;
    background: var(--surface-1);
}
.masthead__subtitle, .masthead__tagline, .masthead__edition { text-shadow: none; }

/* ── 3. 커버스토리 ── */
.cover-story__hero {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.cover-story__hero-content {
    background:
        radial-gradient(420px 260px at 90% -10%, rgba(var(--accent-rgb), 0.35), transparent 65%),
        linear-gradient(150deg, var(--primary) 0%, var(--primary-light) 125%);
    padding: var(--space-9) var(--space-8);
}
.cover-story__editor-badge {
    background: none;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    padding: 0;
    border-radius: 0;
    margin-bottom: var(--space-3);
}
.cover-story__editor-badge::before { content: '● '; color: var(--accent); font-size: 9px; vertical-align: 2px; }
.cover-story__title { letter-spacing: -0.02em; line-height: 1.22; }
.cover-story__excerpt { color: rgba(255,255,255,0.66); }
.cover-story__cat {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
}
.cover-story__date { color: rgba(255,255,255,0.5); font-family: var(--font-mono); font-size: 12px; }

/* LATEST 라벨 → 오버라인 스타일 */
.cover-story__picks-header { border-top: none; margin-top: var(--space-7); padding-top: 0; }
.cover-story__picks-label {
    font-family: var(--font-mono);
    letter-spacing: 0.22em;
    color: var(--accent-text);
}
.cover-story__pick-image { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.cover-story__pick { transition: transform 0.25s var(--ease); }
.cover-story__pick:hover { transform: translateY(-4px); }
.cover-story__pick-title { font-weight: 700; letter-spacing: -0.01em; }

/* ── 4. 카드: 보더리스 엘리베이션 ── */
.card, .mag-card-primary, .cover-story__pick {
    border: none;
}
.card {
    background: var(--surface-1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border: none; }
.card__category, .article-badge {
    background: rgba(var(--accent-rgb), 0.10);
    color: var(--accent-text);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
}
.card__date, .card__meta, .mag-card-primary__date { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.card__title { letter-spacing: -0.015em; }

.mag-card-primary__image, .mag-card-primary__image img { border-radius: var(--radius-md); }
.mag-card-primary__image { overflow: hidden; box-shadow: var(--shadow-sm); }
.mag-card-primary__title { letter-spacing: -0.02em; }

/* ── 5. 섹션 헤더: 오버라인 + 큰 타이틀 ── */
.mag-section__header {
    border-bottom: none;
    align-items: baseline;
    margin-bottom: var(--space-5);
    position: relative;
    padding-top: var(--space-3);
}
.mag-section__header::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 34px; height: 3px;
    border-radius: 2px;
    background: var(--accent);
}
.mag-section__title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(var(--fs-xl), 2.4vw, var(--fs-2xl));
    letter-spacing: -0.02em;
    border: none;
}
.mag-section__more {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--accent-text);
    border-radius: 999px;
    padding: 6px 14px;
    background: rgba(var(--accent-rgb), 0.08);
    text-decoration: none;
    transition: background 0.18s var(--ease);
}
.mag-section__more:hover { background: rgba(var(--accent-rgb), 0.16); }
.mag-section { padding: var(--space-6) 0; border-top: 1px solid rgba(16,24,40,0.06); }
.mag-section:first-child { border-top: none; }

/* ── 6. 카테고리 필터 pill ── */
.cfb-pill, .category-filter a {
    border-radius: 999px;
    border: 1px solid rgba(16,24,40,0.10);
    background: var(--surface-1);
    transition: all 0.18s var(--ease);
}
.cfb-pill:hover, .category-filter a:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
    background: rgba(var(--accent-rgb), 0.06);
    color: var(--accent-text);
}
.cfb-pill.is-active, .cfb-pill[aria-current] {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ── 7. 신뢰 스트립: 보더 박스 → 소프트 글래스 ── */
.trust-strip {
    border: none;
    border-left: none;
    border-radius: 999px;
    background: var(--surface-2);
    padding: 10px 22px;
    color: var(--text-secondary);
}
.trust-strip__item { font-weight: 500; }
.trust-strip__link { color: var(--accent-text); }

/* ── 8. 도구 카드(th-card) 모던화 — mu-plugin 인라인 스타일 오버라이드 ── */
.th-hub .th-card {
    border: none !important;
    background: var(--surface-1);
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm);
    padding: 18px !important;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.th-hub .th-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent !important; }
.th-hub .th-icon {
    display: inline-grid;
    place-items: center;
    width: 46px; height: 46px;
    background: rgba(var(--accent-rgb), 0.10);
    border-radius: 14px;
    font-size: 22px;
    margin-bottom: 10px;
}
.th-hub .th-name { font-weight: 700; letter-spacing: -0.01em; }
.th-hub .th-blurb { color: var(--text-muted); }
.tools-strip__title { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.02em; }
.tools-strip__more {
    border-radius: 999px;
    padding: 6px 14px;
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent-text);
}
.tools-strip__more:hover { background: rgba(var(--accent-rgb), 0.16); text-decoration: none; }

/* ── 9. 다크 푸터 ── */
.site-footer {
    background:
        radial-gradient(640px 280px at 85% -20%, rgba(var(--accent-rgb), 0.18), transparent 60%),
        var(--primary);
    border-top: none;
    color: rgba(255,255,255,0.72);
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer .widget-title { color: #fff; }
.site-footer__copyright, .site-footer__disclaimer { color: rgba(255,255,255,0.45); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.10); }

/* ── 10. 페이지네이션·백투탑 ── */
.pagination .page-numbers {
    border-radius: 999px;
    border: 1px solid rgba(16,24,40,0.10);
}
.pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; }
.back-to-top { border-radius: 999px; box-shadow: var(--shadow-md); }

/* ── 11. 모바일 ── */
@media (max-width: 768px) {
    .masthead { padding: 36px var(--gap) 30px; }
    .masthead__name { font-size: clamp(34px, 11vw, 44px); }
    .masthead__name-kr { letter-spacing: 0.22em; }
}

/* ── 24. 결정 문서 스킨 (2026-08-24 구매 결정 허브 피벗) ─────────
   §7 시그니처 형식: 첫 blockquote = 판정/승자 직답 → '핵심 결정' 카드로 승격.
   비교표의 결론 강조(<strong>)는 브랜드색으로. */
.entry-content > blockquote:first-of-type {
    background: linear-gradient(135deg, var(--surface-accent), var(--surface-1));
    border-left-width: 5px;
    box-shadow: var(--shadow-sm);
}
.entry-content > blockquote:first-of-type::before { content: '✓'; font-size: 2.2rem; top: 16px; opacity: .35; }
.entry-content > blockquote:first-of-type::after { content: '핵심 결정'; }
.entry-content > blockquote:first-of-type p { font-size: 1.05em; font-weight: 600; color: var(--text-primary); }
.entry-content table strong { color: var(--accent-text, var(--accent)); }

/* ── 25. 본문 데이터 컴포넌트 — 바 차트·상황별 추천표 (2026-08-24 콘텐츠 수준 향상) ──
   content-generation §3-2-a-1이 출력하는 표준 마크업의 스타일. 수치로 결정하게 만드는 장치. */
.entry-content .fd-bars { margin: 1.8em 0; padding: 20px 22px; background: var(--surface-1); border: 1px solid var(--border-color); border-radius: var(--radius-lg); }
.fd-bars__title { font-weight: 800; font-size: .95rem; margin: 0 0 14px; }
.fd-bar { display: grid; grid-template-columns: minmax(64px, auto) 1fr minmax(72px, auto); gap: 12px; align-items: center; margin: 8px 0; font-size: .85rem; }
.fd-bar__name { font-weight: 700; white-space: nowrap; }
.fd-bar__track { display: block; height: 18px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.fd-bar__fill { display: block; height: 100%; background: color-mix(in srgb, var(--text-muted) 45%, transparent); }
.fd-bar.is-win .fd-bar__fill { background: var(--accent); }
.fd-bar.is-win .fd-bar__name::after { content: '판정'; font-size: .6rem; background: var(--accent); color: #fff; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 1px; }
.fd-bar__val { font-variant-numeric: tabular-nums; text-align: right; font-weight: 700; }
.fd-bars__src { margin: 10px 0 0; font-size: .72rem; color: var(--text-muted); }
.entry-content table.fd-pick th:first-child { width: 42%; }
.entry-content table.fd-pick td strong { color: var(--accent-text, var(--accent)); }

/* ── 26. 제품 카드 그리드 — 성분 노트 실제 제품 (2026-08-26, enrich.py가 삽입) ──
   쿠팡 파트너스 이미지+딥링크. 시선: 가격 숫자 > 제품명, 색은 CTA에만. */
.entry-content .fd-prod { margin: 2em 0; padding: 20px 22px; background: var(--surface-1); border: 1px solid var(--border-color); border-radius: var(--radius-lg); }
.fd-prod__head { font-weight: 800; font-size: .95rem; margin: 0 0 14px; }
.fd-prod__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fd-prod__card a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text-primary); border: 1px solid var(--border-color); border-radius: var(--radius-md, 8px); padding: 12px; background: var(--surface-0, #fff); transition: border-color .15s; }
.fd-prod__card a:hover { border-color: var(--accent); }
.fd-prod__card img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 4px; margin: 0; }
.fd-prod__name { font-size: .78rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.fd-prod__price { font-size: 1.02rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.fd-prod__cta { font-size: .72rem; font-weight: 700; color: #fff; background: var(--accent); border-radius: 4px; padding: 5px 8px; text-align: center; }
.fd-prod__note { margin: 12px 0 0; font-size: .7rem; color: var(--text-muted); }
@media (max-width: 640px) { .fd-prod__grid { grid-template-columns: 1fr; } .fd-prod__card a { flex-direction: row; align-items: center; } .fd-prod__card img { width: 76px; } .fd-prod__name { flex: 1; min-height: 0; } }
.entry-content .fd-pimg { margin: 1.8em auto; max-width: 430px; text-align: center; }
.entry-content .fd-pimg img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); margin: 0; }
.entry-content .fd-pimg figcaption { font-size: .74rem; color: var(--text-muted); margin-top: 8px; }
.fd-prod__rocket { font-style: normal; font-size: .66rem; font-weight: 800; color: #2f6bff; margin-left: 6px; vertical-align: 1px; }

/* ── 사이드바 승자 상품 위젯 (2026-09-04 커머스 레이어, 무광고 도메인) ── */
.fd-winners__list { display:flex; flex-direction:column; gap:8px; }
.fd-winners .fd-pd { display:flex; align-items:center; gap:10px; padding:8px 10px; border:1px solid var(--border-color); border-radius:12px; background:var(--surface-1); }
.fd-winners .fd-pd img { width:44px; height:44px; object-fit:cover; border-radius:8px; flex:none; }
.fd-winners .fd-pd__t { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.fd-winners .fd-pd__n { font-size:.8rem; font-weight:700; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.fd-winners .fd-pd__m { font-size:.7rem; color:var(--text-muted); }
.fd-winners .fd-pd__b { flex:none; background:#ff5a5f; color:#fff !important; text-decoration:none; font-weight:800; font-size:.74rem; padding:7px 9px; border-radius:8px; white-space:nowrap; }
.fd-winners .fd-pd--alt .fd-pd__b { background:var(--accent); }
.fd-winners__note { font-size:.7rem; color:var(--text-muted); margin:10px 0 0; }

/* ── 라인 허브 (hubs.py, 2026-09-05) — 출시일·가격·스펙 총정리 글 + 브리프→허브 링크 ── */
.hub-lead { font-size:.9rem; color:var(--text-muted); }
.hub-facts th { width:34%; text-align:left; white-space:nowrap; }
.hub-tl { list-style:none; margin:0 0 1.5rem; padding:0; border-left:2px solid var(--border, #e5e7eb); }
.hub-tl li { position:relative; padding:0 0 1rem 1rem; }
.hub-tl li::before { content:""; position:absolute; left:-6px; top:.45em; width:10px; height:10px; border-radius:50%; background:var(--primary); }
.hub-tl time { font-weight:800; font-size:.82rem; margin-right:.4rem; }
.hub-tl .cf { display:inline-block; font-size:.7rem; font-weight:800; padding:1px 7px; border-radius:99px; margin-right:.4rem; background:#eef2f7; color:#4b5563; }
.hub-tl .cf-sure { background:#e6f4ea; color:#1e7e34; }
.hub-tl .cf-likely { background:#e8f0fe; color:#1a56db; }
.hub-tl .s { margin:.25rem 0 .1rem; font-size:.9rem; }
.hub-lead { margin:0 0 1rem; }
.hub-tl small { color:var(--text-muted); font-size:.74rem; }
.hub-related, .wire-hub { padding:.7rem .9rem; border:1px solid var(--border, #e5e7eb); border-left:4px solid var(--primary); background:var(--bg-alt, #f8fafc); font-size:.9rem; }
.hub-src small { color:var(--text-muted); }
.hub-cover { margin:0 0 1.2rem; }
.hub-cover img { width:100%; height:auto; border-radius:10px; display:block; }
.hub-archived { padding:.7rem .9rem; margin:0 0 1rem; border:1px solid var(--border, #e5e7eb); border-left:4px solid #9ca3af; background:var(--bg-alt, #f8fafc); font-size:.9rem; }
