/* ── HEADER ── */
.bl-header { display: block !important; width: 100% !important; background: linear-gradient(135deg, var(--bl-primary-dark) 0%, var(--bl-primary) 60%, var(--bl-primary-light) 100%) !important; position: sticky; top: 0; z-index: 1050; box-shadow: 0 2px 20px rgba(44,24,16,0.2); margin: 0; padding: 0; float: none !important; }
.bl-header-inner { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; display: flex !important; align-items: center; height: 56px; gap: 8px; }
.bl-logo { display: flex !important; align-items: center; gap: 10px; text-decoration: none !important; color: #fff !important; flex-shrink: 0; margin-right: 8px; }
.bl-logo:hover, .bl-logo:focus { color: #fff !important; text-decoration: none !important; }
.bl-logo-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.15); border-radius: 8px; display: flex !important; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.bl-logo-text { font-family: 'Noto Serif KR', serif !important; font-weight: 900; font-size: 19px; letter-spacing: -0.5px; color: #fff !important; line-height: 1.2; }
.bl-logo-sub { font-size: 10px; font-weight: 400; opacity: 0.6; letter-spacing: 1.5px; color: #fff !important; }

/* ── NAV (한 줄 내 인라인) ── */
.bl-nav { display: flex !important; align-items: center; justify-content: center; flex: 1; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0; padding: 0; background: none !important; float: none !important; }
.bl-nav::-webkit-scrollbar { display: none; }
.bl-nav-item { display: inline-flex; align-items: center; gap: 5px; padding: 0 18px; height: 56px; color: rgba(255,255,255,0.8) !important; text-decoration: none !important; font-size: 1.2rem; font-weight: 500; position: relative; transition: all 0.2s; white-space: nowrap; flex-shrink: 0; float: none !important; }
.bl-nav-item:hover { color: #fff !important; background: rgba(255,255,255,0.1); text-decoration: none !important; }
.bl-nav-item.active { color: #fff !important; font-weight: 700; }
.bl-nav-item.active::after { content: ''; position: absolute; bottom: 0; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px 2px 0 0; }

/* ── SEARCH ── */
.bl-header-search { display: flex !important; align-items: center; background: rgba(255,255,255,0.12); border-radius: 24px; padding: 6px 16px; gap: 8px; border: 1px solid rgba(255,255,255,0.1); transition: border-color 0.2s, background 0.2s; }
.bl-header-search:focus-within { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); }
.bl-header-search input { background: none !important; border: none !important; outline: none !important; color: #fff !important; font-size: 14px; width: 200px; font-family: inherit; box-shadow: none !important; padding: 4px 0 !important; height: auto !important; }
.bl-header-search input::placeholder { color: rgba(255,255,255,0.5); }
.bl-header-search > i { color: rgba(255,255,255,0.6); font-size: 14px; }

/* ── HEADER ACTIONS (admin icons, hamburger) ── */
.bl-header-actions { display: flex !important; align-items: center; gap: 6px; flex-shrink: 0; margin-left: auto; }
.bl-header-actions .bl-icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); display: flex !important; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; transition: all 0.15s; text-decoration: none !important; }
.bl-header-actions .bl-icon-btn:hover { background: rgba(255,255,255,0.25); color: #fff; border-color: rgba(255,255,255,0.3); }
.bl-hamburger { display: none; width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: all 0.15s; }
.bl-hamburger:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* ── OFFCANVAS z-index (헤더 1050보다 위) ── */
.bl-offcanvas { z-index: 1070 !important; }
.offcanvas-backdrop { z-index: 1060 !important; }

/* ── USER DROPDOWN ── */
.bl-user-dropdown { position: relative; }
.bl-user-menu { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: #fff; border-radius: 8px; padding: 8px 0; min-width: 170px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); z-index: 1060; }
.bl-user-dropdown::after { content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 6px; z-index: 1059; }
.bl-nav-item.has-children::after { content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 6px; z-index: 1059; }
.bl-user-dropdown:hover .bl-user-menu { display: block; }
.bl-user-menu__name { padding: 8px 16px 6px; font-size: 13px; font-weight: 700; color: #2C1810; border-bottom: 1px solid #F0EBE5; margin-bottom: 4px; }
.bl-user-menu a { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 13px; color: #6B5B4F !important; text-decoration: none !important; white-space: nowrap; }
.bl-user-menu a:hover { background: #FAF6F1; color: #8B4513 !important; }

/* ── NAV BADGE ── */
.bl-nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #E74C3C !important; color: #fff !important; font-size: 10px; font-weight: 700; line-height: 1; margin-left: 4px; }

/* ── NAV DROPDOWN (2차 메뉴) ── */
.bl-nav-item.has-children { cursor: pointer; }
.bl-nav-dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #E8DDD3; border-radius: 8px; padding: 6px 0; min-width: 160px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); z-index: 1060; }
.bl-nav-item.has-children:hover .bl-nav-dropdown { display: block; }
.bl-nav-dropdown a { display: block; padding: 8px 16px; font-size: 13px; font-weight: 400; color: #6B5B4F !important; text-decoration: none !important; white-space: nowrap; }
.bl-nav-dropdown a:hover { background: #FAF6F1; color: #8B4513 !important; }

/* ── OFFCANVAS (모바일 사이드메뉴) ── */
.bl-offcanvas { max-width: 300px; background: var(--bl-primary-dark, #2C1810); color: #E8DDD3; z-index: 1070 !important; }
.bl-offcanvas .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px 20px; }
.bl-offcanvas .offcanvas-title { color: #fff; font-weight: 700; }
.bl-off-item { display: flex !important; align-items: center; justify-content: space-between; padding: 12px 20px; color: #E8DDD3 !important; text-decoration: none !important; font-size: 15px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.06); transition: background 0.15s; }
.bl-off-item:hover, .bl-off-item:focus { background: rgba(255,255,255,0.05); color: #fff !important; }
.bl-off-item i { font-size: 12px; opacity: 0.5; transition: transform 0.2s; }
.bl-off-item[aria-expanded="true"] i { transform: rotate(90deg); }
.bl-off-sub { color: #B5A89E !important; font-size: 14px; padding: 8px 20px 8px 32px; transition: color 0.15s; }
.bl-off-sub:hover { color: #fff !important; }

/* ── SUB-PAGE HERO ── */
.bl-sub-hero { background: linear-gradient(180deg, #F5EDE3 0%, #FAF6F1 100%); padding: 28px 24px 24px; text-align: center; border-bottom: 1px solid #E8DDD3; }
.bl-sub-hero__inner { max-width: 1200px; margin: 0 auto; }
.bl-sub-hero__title { font-family: 'Noto Serif KR', serif; font-size: 26px; font-weight: 900; color: #5C2E0A; margin: 8px 0 0; letter-spacing: -0.5px; }

/* ── BREADCRUMB ── */
.bl-breadcrumb { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; }
.bl-breadcrumb a { color: #9B8A7E; text-decoration: none; transition: color 0.15s; }
.bl-breadcrumb a:hover { color: #8B4513; }
.bl-breadcrumb a:last-child { color: #5C2E0A; font-weight: 600; }
.bl-breadcrumb__sep { color: #C4B5A5; font-size: 9px; }

/* ── LAYOUT CONTAINERS ── */
.bl-mainpage { width: 100%; }
.bl-subpage { max-width: 1400px; margin: 0 auto; padding: 32px 24px 60px; }
.bl-container { width: 100%; }



/* ── FOOTER ── */
/* FOOTER */
.bl-footer { width: 100%; background: var(--bl-primary-dark, #5C2E0A); color: rgba(255,255,255,0.6); padding: 32px 24px 20px; font-size: 13px; }
.bl-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.bl-footer-logo { font-family: 'Noto Serif KR', serif; font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 6px; }
.bl-footer-info p { line-height: 1.8; margin: 0; }
.bl-footer-contact p { line-height: 2; margin: 0; }
.bl-footer-contact p:first-child { font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 4px; }
.bl-footer-contact a { color: rgba(255,255,255,0.75); text-decoration: none; }
.bl-footer-contact a:hover { color: #fff; }
.bl-footer-contact i { width: 18px; text-align: center; margin-right: 4px; }
.bl-footer-copy { max-width: 1200px; margin: 16px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 12px; color: rgba(255,255,255,0.35); }
@media (max-width: 768px) {
  .bl-footer-inner { flex-direction: column; gap: 20px; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .bl-ad-grid, .bl-card-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 991px) {
  .bl-hamburger { display: flex !important; }
  .bl-header-actions .bl-admin-only { display: none !important; }
}
@media (max-width: 768px) {
  .bl-header-search { display: none !important; }
  .bl-header-inner { padding: 0 16px; }
  .bl-nav { display: none !important; }
  .bl-sub-hero { padding: 20px 16px 18px; }
  .bl-sub-hero__title { font-size: 20px; }
  .bl-breadcrumb { font-size: 12px; }
  .bl-subpage { padding: 20px 16px 40px; }
  .bl-hero h1 { font-size: 24px !important; }
  .bl-hero { padding: 32px 16px 28px; }
  .bl-main { padding: 24px 16px 40px; }
  .bl-ad-grid, .bl-card-grid { grid-template-columns: 1fr !important; }
  .bl-dual { grid-template-columns: 1fr !important; }
  .bl-category-bar { gap: 6px; }
  .bl-cat-btn { padding: 8px 14px; font-size: 13px; }
  .bl-toolbar { flex-direction: column; align-items: flex-start; }
  .bl-footer-inner { flex-direction: column !important; gap: 20px; }
  .bl-footer-links { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 480px) {
  .bl-header-inner { height: 48px; padding: 0 12px; }
  .bl-logo-icon { width: 30px; height: 30px; font-size: 14px; }
  .bl-logo-text { font-size: 16px; }
  .bl-logo-sub { display: none; }
  .bl-hero h1 { font-size: 20px !important; }
  .bl-hero p { font-size: 13px; }
  .bl-ad-photo, .bl-biz-photo { height: 160px; }
}