/* ==========================================================
   ReBeauty Korea — PC Desktop Version
   Target: 40+ Japanese women on desktop — elegant, spacious, easy to read
   ========================================================== */

:root {
    --b-rose: #b76e79;
    --b-rose-light: #d4a0a8;
    --b-rose-dark: #9a5862;
    --b-cream: #fdf6f0;
    --b-pink: #f5e6e0;
    --b-pink-deep: #e8c9c0;
    --b-gold: #c9a96e;
    --b-text: #3d2c2c;
    --b-text-sub: #7a6565;
    --b-text-muted: #a89292;
    --b-white: #ffffff;
    --b-border: #ecdad4;
    --b-shadow: 0 2px 12px rgba(120, 80, 70, 0.08);
    --b-shadow-lg: 0 8px 30px rgba(120, 80, 70, 0.12);
    --b-shadow-card: 0 1px 8px rgba(120, 80, 70, 0.07), 0 4px 20px rgba(120, 80, 70, 0.05);
    --b-radius: 16px;
    --b-radius-sm: 10px;
}

/* -- Reset & Base -- */
*, *::before, *::after { box-sizing: border-box; }

.bpc-body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    background: var(--b-cream);
    color: var(--b-text);
    font-size: 16px;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    margin: 0;
}

.bpc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.bpc-container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

/* -- Header -- */
.bpc-header {
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid var(--b-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

.bpc-logo {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.bpc-logo-re {
    font-size: 24px;
    font-weight: 300;
    color: var(--b-text-sub);
}

.bpc-logo-beauty {
    font-size: 24px;
    font-weight: 600;
    color: var(--b-rose);
}

.bpc-logo-korea {
    font-size: 13px;
    font-weight: 400;
    color: var(--b-text-muted);
    margin-left: 8px;
    letter-spacing: 0.5px;
}

.bpc-header-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bpc-header-link {
    font-size: 14px;
    color: var(--b-text-sub);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 24px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bpc-header-link:hover {
    background: var(--b-pink);
    color: var(--b-rose-dark);
}

.bpc-header-link-mobile {
    font-size: 13px;
    color: var(--b-rose);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid var(--b-rose-light);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bpc-header-link-mobile:hover {
    background: var(--b-rose);
    color: var(--b-white);
    border-color: var(--b-rose);
}

/* -- Theme navigation -- */
.bpc-theme-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bpc-theme-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--b-text-sub);
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.bpc-theme-item::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--b-rose);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.bpc-theme-item:hover {
    color: var(--b-rose-dark);
    background: var(--b-pink);
    transform: translateY(-2px);
}

.bpc-theme-item:hover::after {
    width: 60%;
}

.bpc-theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--b-pink);
    transition: all 0.3s ease;
}

.bpc-theme-item:hover .bpc-theme-icon {
    background: var(--b-rose);
    color: var(--b-white);
    transform: scale(1.12) rotate(-3deg);
    box-shadow: 0 4px 12px rgba(183, 110, 121, 0.3);
}

.bpc-theme-item:hover .bpc-theme-icon svg {
    stroke: var(--b-white);
}

.bpc-theme-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: color 0.3s;
}

.bpc-theme-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 8px;
    font-weight: 600;
    color: var(--b-white);
    background: var(--b-gold);
    padding: 1px 6px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    opacity: 0;
    transform: scale(0.8) translateY(4px);
    transition: all 0.3s ease;
}

.bpc-theme-item:hover .bpc-theme-badge {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* -- Theme dropdown -- */
.bpc-theme-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 6px 0;
    z-index: 100;
    margin-top: 4px;
}

.bpc-theme-dropdown.open .bpc-theme-dropdown-menu {
    display: block;
    animation: bpcDropFade .2s ease;
}

@keyframes bpcDropFade {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.bpc-theme-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    font-size: 12.5px;
    color: #1c1917;
    cursor: default;
    transition: background .15s;
    white-space: nowrap;
}

.bpc-theme-dropdown-item:hover {
    background: #faf5ff;
}

.bpc-theme-sub-badge {
    margin-left: auto;
    font-size: 9px;
    color: #a8a29e;
    background: #f5f5f4;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 500;
}

/* -- Hero -- */
.bpc-hero {
    text-align: center;
    padding: 56px 40px 48px;
    position: relative;
    background: linear-gradient(160deg, #fdf6f0 0%, #f5e6e0 40%, #ecdad4 70%, #f5e6e0 100%);
    overflow: hidden;
}

.bpc-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(201,169,110,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(183,110,121,0.06) 0%, transparent 50%);
    animation: heroShimmer 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroShimmer {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(3%, 2%) rotate(1deg); }
}

.bpc-hero-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.bpc-hero-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--b-gold), transparent);
}

.bpc-hero-icon {
    width: 24px;
    height: 24px;
    color: var(--b-gold);
}

.bpc-hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--b-gold);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.bpc-hero-title {
    font-size: 34px;
    font-weight: 600;
    color: var(--b-text);
    letter-spacing: 1px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    margin: 0;
}

.bpc-hero-sub {
    font-size: 16px;
    color: var(--b-text-sub);
    margin-top: 12px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.bpc-hero-trust {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.bpc-hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--b-text-sub);
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
    padding: 10px 20px;
    border-radius: 24px;
    border: 1px solid rgba(236,218,212,0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

.bpc-hero-trust-item:hover {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 6px 24px rgba(183, 110, 121, 0.18);
    transform: translateY(-4px) scale(1.04);
    border-color: var(--b-rose-light);
    color: var(--b-rose-dark);
}

.bpc-hero-trust-item:hover svg {
    animation: trustIconPulse 0.5s ease;
}

@keyframes trustIconPulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.3) rotate(-8deg); }
    70% { transform: scale(0.95) rotate(4deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.bpc-hero-trust-item svg {
    color: var(--b-rose);
    flex-shrink: 0;
    transition: color 0.3s;
}

.bpc-hero-trust-item:hover svg {
    color: var(--b-rose-dark);
}

/* -- Breadcrumb -- */
.bpc-breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--b-text-muted);
}

.bpc-breadcrumb-link {
    color: var(--b-text-sub);
    text-decoration: none;
    transition: color 0.2s;
}

.bpc-breadcrumb-link:hover {
    color: var(--b-rose);
}

.bpc-breadcrumb-sep {
    margin: 0 6px;
    color: var(--b-border);
}

.bpc-breadcrumb-current {
    color: var(--b-text);
    font-weight: 500;
}

/* -- Main layout with sidebar -- */
.bpc-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    padding: 32px 0 60px;
}

/* -- Sidebar -- */
.bpc-sidebar {
    position: sticky;
    top: 104px;
    align-self: start;
}

.bpc-sidebar-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--b-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--b-border);
}

.bpc-sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bpc-sidebar-nav li {
    margin-bottom: 4px;
}

.bpc-sidebar-link {
    display: block;
    padding: 12px 18px;
    font-size: 15px;
    color: var(--b-text-sub);
    text-decoration: none;
    border-radius: var(--b-radius-sm);
    transition: all 0.2s;
}

.bpc-sidebar-link:hover {
    background: var(--b-pink);
    color: var(--b-rose-dark);
}

.bpc-sidebar-link.active {
    background: var(--b-rose);
    color: var(--b-white);
    font-weight: 600;
}

/* Sidebar parent with arrow */
.bpc-sidebar-parent {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bpc-sidebar-arrow {
    font-size: 14px;
    color: var(--b-text-muted);
    transition: transform 0.25s ease;
    display: inline-block;
}

.bpc-sidebar-group.open > .bpc-sidebar-parent .bpc-sidebar-arrow {
    transform: rotate(90deg);
    color: var(--b-rose);
}

/* Sub-category list */
.bpc-sidebar-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.bpc-sidebar-group.open > .bpc-sidebar-sub {
    max-height: 300px;
    opacity: 1;
}

.bpc-sidebar-child {
    padding-left: 32px !important;
    font-size: 14px !important;
    color: var(--b-text-muted);
    position: relative;
}

.bpc-sidebar-child::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--b-border);
}

.bpc-sidebar-child:hover {
    color: var(--b-rose);
}

.bpc-sidebar-child.active {
    background: var(--b-pink);
    color: var(--b-rose-dark);
    font-weight: 600;
}

.bpc-sidebar-child.active::before {
    background: var(--b-rose);
}

.bpc-sidebar-divider {
    height: 1px;
    background: var(--b-border);
    margin: 16px 0;
}

/* -- Tabs (Type filter) -- */
.bpc-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
}

.bpc-tab {
    font-size: 15px;
    font-weight: 500;
    color: var(--b-text-muted);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 28px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.bpc-tab:hover {
    color: var(--b-text-sub);
    background: var(--b-pink);
    border-color: var(--b-border);
}

.bpc-tab.active {
    background: var(--b-rose);
    color: var(--b-white);
    font-weight: 600;
    border-color: var(--b-rose);
}

/* -- Card Grid -- */
.bpc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bpc-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--b-white);
    border-radius: var(--b-radius);
    overflow: hidden;
    box-shadow: var(--b-shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bpc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--b-shadow-lg);
}

.bpc-card-img {
    position: relative;
    padding-top: 120%;
    background: var(--b-pink);
    overflow: hidden;
}

.bpc-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.bpc-card-noimg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--b-text-muted);
    font-size: 14px;
}

/* Badge */
.bpc-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 8px;
    letter-spacing: 0.3px;
}

.bpc-card-img .bpc-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    backdrop-filter: blur(4px);
}

.bpc-badge-event {
    background: rgba(59, 130, 246, 0.88);
    color: var(--b-white);
}

.bpc-badge-review {
    background: rgba(183, 110, 121, 0.88);
    color: var(--b-white);
}

.bpc-card-cat {
    position: absolute;
    bottom: 14px;
    left: 14px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(4px);
    color: var(--b-white);
    padding: 4px 14px;
    border-radius: 14px;
    font-weight: 500;
}

/* Card body */
.bpc-card-body {
    padding: 18px 20px 22px;
}

.bpc-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--b-text);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.bpc-card-sub {
    font-size: 14px;
    color: var(--b-text-muted);
    margin-top: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bpc-card-meta {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
}

.bpc-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--b-rose);
    font-family: 'Inter', sans-serif;
}

.bpc-card-clinic {
    font-size: 13px;
    color: var(--b-text-muted);
}

.bpc-card-cat-inline {
    font-size: 13px;
    color: var(--b-text-muted);
}

/* -- Stars -- */
.bpc-stars {
    display: inline-flex;
    gap: 2px;
}

.bpc-star {
    color: var(--b-border);
    font-size: 16px;
    line-height: 1;
}

.bpc-star.filled {
    color: var(--b-gold);
}

.bpc-stars-lg .bpc-star {
    font-size: 26px;
}

/* -- Empty state -- */
.bpc-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--b-text-muted);
    font-size: 16px;
    grid-column: 1 / -1;
}

/* -- Back link -- */
.bpc-back {
    padding: 20px 0 14px;
}

.bpc-back-link {
    font-size: 15px;
    color: var(--b-text-sub);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    transition: color 0.2s;
}

.bpc-back-link:hover {
    color: var(--b-rose);
}

/* -- Slideshow (show page) -- */
.bpc-slideshow {
    position: relative;
    border-radius: var(--b-radius);
    overflow: hidden;
    background: var(--b-pink);
    margin-bottom: 28px;
    box-shadow: var(--b-shadow);
    max-height: 560px;
}

.bpc-slideshow-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.bpc-slideshow-track::-webkit-scrollbar {
    display: none;
}

.bpc-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    max-height: 560px;
}

.bpc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 560px;
}

.bpc-slideshow-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.2);
    border-radius: 24px;
    backdrop-filter: blur(8px);
}

.bpc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s;
}

.bpc-dot.active {
    background: var(--b-white);
    width: 24px;
    border-radius: 5px;
}

.bpc-slide-count {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--b-white);
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 14px;
}

/* Slideshow nav arrows (PC) */
.bpc-slideshow-prev,
.bpc-slideshow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
    backdrop-filter: blur(8px);
    opacity: 0;
}

.bpc-slideshow:hover .bpc-slideshow-prev,
.bpc-slideshow:hover .bpc-slideshow-next {
    opacity: 1;
}

.bpc-slideshow-prev { left: 16px; }
.bpc-slideshow-next { right: 16px; }

.bpc-slideshow-prev:hover,
.bpc-slideshow-next:hover {
    background: rgba(255,255,255,0.4);
}

/* -- Article (show page) -- */
.bpc-article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    padding-bottom: 60px;
}

.bpc-article {
    min-width: 0;
}

.bpc-article-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.bpc-article-cat {
    font-size: 14px;
    color: var(--b-text-muted);
}

.bpc-article-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--b-text);
    letter-spacing: -0.01em;
    margin: 0;
}

.bpc-article-sub {
    font-size: 17px;
    color: var(--b-text-sub);
    margin-top: 8px;
    line-height: 1.7;
}

.bpc-article-rating {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding: 18px 24px;
    background: var(--b-pink);
    border-radius: var(--b-radius-sm);
}

.bpc-reviewer {
    font-size: 16px;
    color: var(--b-text-sub);
}

/* -- Info table (sidebar on show page) -- */
.bpc-info-sidebar {
    position: sticky;
    top: 104px;
    align-self: start;
}

.bpc-info-table {
    background: var(--b-white);
    border: 1px solid var(--b-border);
    border-radius: var(--b-radius);
    overflow: hidden;
    box-shadow: var(--b-shadow);
}

.bpc-info-table-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--b-text);
    padding: 18px 24px;
    border-bottom: 1px solid var(--b-border);
    background: var(--b-pink);
}

.bpc-info-row {
    display: flex;
    align-items: baseline;
    padding: 16px 24px;
    border-bottom: 1px solid var(--b-border);
}

.bpc-info-row:last-child {
    border-bottom: none;
}

.bpc-info-label {
    width: 100px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--b-text-muted);
}

.bpc-info-value {
    font-size: 16px;
    color: var(--b-text);
}

.bpc-info-price {
    font-weight: 700;
    color: var(--b-rose);
    font-size: 18px;
}

/* CTA button in sidebar */
.bpc-cta-btn {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background: var(--b-rose);
    color: var(--b-white);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--b-radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.bpc-cta-btn:hover {
    background: var(--b-rose-dark);
    transform: translateY(-2px);
    box-shadow: var(--b-shadow-lg);
}

/* -- Before/After -- */
.bpc-ba {
    margin: 36px 0;
}

.bpc-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--b-text);
    margin-bottom: 18px;
}

.bpc-ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bpc-ba-col {
    position: relative;
    border-radius: var(--b-radius-sm);
    overflow: hidden;
    box-shadow: var(--b-shadow);
    cursor: zoom-in;
}

.bpc-ba-col img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.bpc-ba-col:hover img {
    transform: scale(1.03);
}

.bpc-ba-label {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--b-white);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 5px 16px;
    border-radius: 14px;
    letter-spacing: 0.5px;
}

/* -- Content body -- */
.bpc-content {
    font-size: 16px;
    line-height: 2.1;
    color: var(--b-text);
    padding: 24px 0;
}

/* -- Related posts -- */
.bpc-related {
    border-top: 1px solid var(--b-border);
    padding-top: 36px;
    margin-top: 12px;
    padding-bottom: 60px;
}

.bpc-related .bpc-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* -- FAQ Section -- */
.bpc-faq {
    padding: 48px 0;
}

.bpc-faq-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--b-text);
    text-align: center;
    margin-bottom: 28px;
}

.bpc-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.bpc-faq-grid {
    columns: 2;
    column-gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.bpc-faq-grid .bpc-faq-item {
    break-inside: avoid;
    margin-bottom: 12px;
}

.bpc-faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--b-border);
    border-radius: var(--b-radius-sm);
    overflow: hidden;
    background: var(--b-white);
    transition: box-shadow 0.2s;
}

.bpc-faq-item:hover {
    box-shadow: var(--b-shadow);
}

.bpc-faq-item summary {
    padding: 18px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    background: var(--b-white);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.bpc-faq-item summary:hover {
    background: var(--b-pink);
}

.bpc-faq-item summary::-webkit-details-marker {
    display: none;
}

.bpc-faq-arrow {
    margin-left: 16px;
    flex-shrink: 0;
    transition: transform 0.2s;
    color: var(--b-text-muted);
}

.bpc-faq-item[open] .bpc-faq-arrow {
    transform: rotate(180deg);
}

.bpc-faq-answer {
    padding: 0 24px 20px;
    color: var(--b-text-sub);
    line-height: 1.9;
    font-size: 15px;
}

/* -- Footer -- */
.bpc-footer {
    background: var(--b-white);
    border-top: 1px solid var(--b-border);
    padding: 36px 40px;
}

.bpc-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bpc-footer-text {
    font-size: 14px;
    color: var(--b-text-muted);
    margin: 0;
}

.bpc-footer-sub {
    font-size: 13px;
    color: var(--b-text-muted);
    margin: 0;
}

/* -- Lightbox -- */
.bpc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.bpc-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.bpc-lightbox-img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    user-select: none;
    animation: lbFadeIn 0.25s ease;
}

@keyframes lbFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.bpc-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.bpc-lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}

.bpc-lightbox-counter {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 2;
}

.bpc-lightbox-prev,
.bpc-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.bpc-lightbox-prev { left: 20px; }
.bpc-lightbox-next { right: 20px; }

.bpc-lightbox-prev:hover,
.bpc-lightbox-next:hover {
    background: rgba(255,255,255,0.25);
}

/* -- Animations -- */
@keyframes bpcFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.bpc-card {
    animation: bpcFadeUp 0.4s ease both;
}

.bpc-grid .bpc-card:nth-child(1) { animation-delay: 0s; }
.bpc-grid .bpc-card:nth-child(2) { animation-delay: 0.06s; }
.bpc-grid .bpc-card:nth-child(3) { animation-delay: 0.12s; }
.bpc-grid .bpc-card:nth-child(4) { animation-delay: 0.18s; }
.bpc-grid .bpc-card:nth-child(5) { animation-delay: 0.24s; }
.bpc-grid .bpc-card:nth-child(6) { animation-delay: 0.3s; }
.bpc-grid .bpc-card:nth-child(n+7) { animation-delay: 0.35s; }

/* -- Main area -- */
.bpc-main {
    min-height: calc(100vh - 72px - 92px);
}

/* -- Version switcher banner -- */
.bpc-version-banner {
    display: none;
}

/* -- Responsive: tablet -- */
@media (max-width: 1024px) {
    .bpc-theme-item {
        padding: 6px 10px;
    }

    .bpc-theme-icon {
        width: 28px;
        height: 28px;
    }

    .bpc-theme-label {
        font-size: 10px;
    }
    .bpc-layout {
        grid-template-columns: 200px 1fr;
        gap: 28px;
    }

    .bpc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .bpc-article-layout {
        grid-template-columns: 1fr 280px;
        gap: 32px;
    }

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

/* -- Responsive: small desktop -- */
@media (max-width: 768px) {
    .bpc-version-banner {
        display: block;
        text-align: center;
        padding: 12px;
        background: var(--b-rose);
        color: var(--b-white);
        font-size: 14px;
    }

    .bpc-version-banner a {
        color: var(--b-white);
        font-weight: 600;
        text-decoration: underline;
    }

    .bpc-layout {
        grid-template-columns: 1fr;
    }

    .bpc-sidebar {
        position: static;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--b-border);
        margin-bottom: 16px;
    }

    .bpc-sidebar-title {
        width: 100%;
    }

    .bpc-sidebar-nav {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }

    .bpc-sidebar-nav li {
        margin: 0;
    }

    .bpc-sidebar-link {
        padding: 8px 16px;
        font-size: 14px;
        border: 1px solid var(--b-border);
        border-radius: 20px;
    }

    .bpc-sidebar-divider {
        display: none;
    }

    .bpc-sidebar-group {
        width: 100%;
    }

    .bpc-sidebar-sub {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .bpc-sidebar-group.open > .bpc-sidebar-sub {
        max-height: none;
        padding: 6px 0;
    }

    .bpc-sidebar-child {
        padding-left: 16px !important;
        font-size: 13px !important;
    }

    .bpc-sidebar-child::before {
        display: none;
    }

    .bpc-theme-nav {
        display: none;
    }

    .bpc-container {
        padding: 0 20px;
    }

    .bpc-header-inner {
        padding: 0 20px;
    }

    .bpc-article-layout {
        grid-template-columns: 1fr;
    }

    .bpc-info-sidebar {
        position: static;
    }

    .bpc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .bpc-hero-title {
        font-size: 26px;
    }

    .bpc-faq-grid {
        columns: 1;
    }
}
