/* =====================================================
   Blog Contents – Dark Background + White Cards (Fixed)
   - FIXED: GeneratePress "separate-containers" white box override
   - Scope: .bh-article
===================================================== */

:root{
  /* Background */
  --bh-bg: #070A10;
  --bh-bg2:#090D18;
  --bh-surface: rgba(255,255,255,.06);
  --bh-border: rgba(255,255,255,.10);

  /* Text on dark */
  --bh-text: rgba(255,255,255,.92);
  --bh-muted: rgba(255,255,255,.68);
  --bh-faint: rgba(255,255,255,.52);

  /* Brand */
  --bh-brand: #7c4dff;
  --bh-brand2:#4f46e5;
  --bh-accent:#ffb24a; /* 포인트 컬러 */

  /* White cards */
  --bh-card: #ffffff;
  --bh-card-text:#101827;
  --bh-card-muted:#475569;
  --bh-card-line: rgba(2,6,23,.10);

  /* Radius / Shadow */
  --bh-radius-xl: 28px;
  --bh-radius-lg: 22px;
  --bh-radius-md: 16px;

  --bh-shadow: 0 28px 80px rgba(0,0,0,.55);
  --bh-shadow2: 0 18px 50px rgba(0,0,0,.45);
}

/* =====================================================
   0) FIX: GP Separate Containers white background override
===================================================== */
.single-post .site,
.single-post .site-content,
.single-post .content-area,
.single-post .site-main{
  background: transparent !important;
}

.single-post .bh-article .inside-article{
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

.single-post .bh-article .entry-header,
.single-post .bh-article .entry-content{
  background: transparent !important;
}

/* =====================================================
   1) Page base (dark background)
===================================================== */
.bh-article{
  background:
    radial-gradient(1200px 700px at 30% -10%, rgba(124,77,255,.22), transparent 60%),
    radial-gradient(900px 520px at 90% 10%, rgba(79,70,229,.18), transparent 55%),
    linear-gradient(180deg, var(--bh-bg), var(--bh-bg2));
  color: var(--bh-text);
}

/* Containers */
.bh-article .entry-header,
.bh-article .entry-content,
.bh-post-footer{
  width: min(980px, 100% - 36px);
  margin: 0 auto;
}

/* =====================================================
   2) Title / Meta (dark)
===================================================== */
.bh-article .entry-header{
  padding: 34px 0 10px !important;
}

.bh-article .entry-title{
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: var(--bh-text) !important;
}

.bh-article .entry-meta{
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--bh-muted) !important;
}

.bh-article .entry-meta a{
  color: rgba(255,255,255,.82) !important;
  text-decoration: none;
}
.bh-article .entry-meta a:hover{
  text-decoration: underline;
}

/* =====================================================
   3) Featured image (rounded + shadow)
===================================================== */
.bh-article .post-image,
.bh-article .featured-image,
.bh-article figure.wp-block-image,
.bh-article .wp-block-image{
  margin: 18px 0 24px;
}

.bh-article .post-image img,
.bh-article .featured-image img,
.bh-article img.wp-post-image,
.bh-article figure.wp-block-image img,
.bh-article .wp-block-image img{
  display:block;
  width: 100%;
  height: auto;
  border-radius: var(--bh-radius-xl);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--bh-shadow);
}

/* =====================================================
   4) Content typography (dark)
===================================================== */
.bh-article .entry-content{
  padding: 10px 0 70px;
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--bh-text);
}

.bh-article .entry-content > *{
  margin: 0 0 18px;
}

/* Links */
.bh-article .entry-content a{
  color: rgba(255,255,255,.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bh-article .entry-content a:hover{
  color: var(--bh-brand);
}

/* Lists */
.bh-article .entry-content ul,
.bh-article .entry-content ol{
  padding-left: 20px;
  margin: 0 0 18px;
}
.bh-article .entry-content li{
  margin: 6px 0;
  color: rgba(255,255,255,.88);
}

/* Blockquote */
.bh-article .entry-content blockquote{
  margin: 28px 0;
  padding: 18px 18px 18px 16px;
  border-left: 3px solid var(--bh-brand);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--bh-radius-md);
  color: rgba(255,255,255,.88);
}

/* Images inside content */
.bh-article .entry-content img{
  max-width: 100%;
  height: auto;
  border-radius: var(--bh-radius-lg);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--bh-shadow2);
  margin: 22px 0;
}

/* =====================================================
   5) Optional blocks (use CSS class in editor)
   - bh-dark-card: dark gradient card
   - bh-white-card: white card
===================================================== */

/* Dark gradient card */
.bh-article .entry-content .bh-dark-card{
  padding: 22px;
  border-radius: var(--bh-radius-xl);
  background: linear-gradient(135deg, rgba(13,18,34,.92), rgba(8,10,16,.92));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--bh-shadow);
  margin: 28px 0;
}

.bh-article .entry-content .bh-dark-card .bh-kicker{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin: 0 0 10px;
}

.bh-article .entry-content .bh-dark-card h2,
.bh-article .entry-content .bh-dark-card h3{
  margin-top: 0;
  color: var(--bh-accent);
}

/* Pills */
.bh-article .entry-content .bh-pills{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 14px;
}
.bh-article .entry-content .bh-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  text-decoration:none;
}

/* White card */
.bh-article .entry-content .bh-white-card{
  background: var(--bh-card);
  color: var(--bh-card-text);
  border-radius: var(--bh-radius-xl);
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  padding: 22px 22px 8px;
  margin: 28px 0;
}

.bh-article .entry-content .bh-white-card p,
.bh-article .entry-content .bh-white-card li{
  color: rgba(2,6,23,.85);
}

.bh-article .entry-content .bh-white-card h2{
  color: #0f172a;
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  padding-left: 12px;
  border-left: 4px solid var(--bh-brand);
}

.bh-article .entry-content .bh-white-card h3{
  color: #111827;
}

.bh-article .entry-content .bh-white-card a{
  color: var(--bh-brand2);
}

/* =====================================================
   6) Footer CTA + Prev/Next
===================================================== */
.bh-post-footer{
  margin: 0 auto 46px;
}

/* CTA */
.bh-post-cta{
  border-radius: var(--bh-radius-xl);
  padding: 22px;
  background: linear-gradient(135deg, rgba(124,77,255,.26), rgba(79,70,229,.18));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--bh-shadow2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
}

.bh-post-cta .bh-post-cta-head{
  display:flex;
  align-items:baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap:wrap;
  margin: 0 0 10px;
}

.bh-post-cta .bh-post-cta-head strong{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.95);
}

.bh-post-cta .bh-post-cta-head span{
  color: rgba(255,255,255,.70);
  font-size: 13px;
}

.bh-post-cta p{
  margin: 0 0 14px;
  color: rgba(255,255,255,.86);
  line-height: 1.7;
}

.bh-post-cta .bh-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #111827;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
}

.bh-post-cta .bh-btn:hover{
  transform: translateY(-1px);
  background: #ffffff;
}

/* Prev / Next */
.bh-post-nav{
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 760px){
  .bh-post-nav{ grid-template-columns: 1fr; }
}

.bh-post-nav a{
  display:grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--bh-radius-lg);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  text-decoration:none;
  color: rgba(255,255,255,.90);
}

.bh-post-nav a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
}

.bh-post-nav img{
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.12);
}

.bh-post-nav span{
  display:block;
  font-size: 12px;
  color: rgba(255,255,255,.62);
  margin-bottom: 4px;
}

.bh-post-nav strong{
  display:block;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =====================================================
   7) Comments (just in case)
===================================================== */
.comments-area,
.comment-respond,
.comment-list,
#comments{
  display:none !important;
}
