/* Page styles for blog-post.php — loaded after style.css (same cascade position as the former inline <style>). */
/* ── Blog Post — Premium Styles ── */

/* Post hero */
.bp-hero {
  position: relative; color: #fff; padding: 110px 0 70px; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(25,0,0,.94) 0%, rgba(70,5,5,.9) 55%, rgba(15,0,0,.97) 100%),
    url('../../img/about-banner.jpg') center/cover no-repeat fixed;
}
.bp-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% -5%, rgba(212,175,55,.22), transparent 52%);
  pointer-events: none;
}
.bp-hero-inner { position: relative; z-index: 2; max-width: 800px; }
.bp-hero-cat {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold-gradient); color: var(--maroon-dark);
  font-size: .72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 50px; margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(212,175,55,.35);
}
.bp-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem); color: #fff;
  line-height: 1.2; margin-bottom: 20px;
}
.bp-hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  font-size: .83rem; color: rgba(255,255,255,.55);
}
.bp-hero-meta i { color: var(--gold); margin-right: 5px; }
.bp-hero-meta .bp-author {
  display: flex; align-items: center; gap: 8px;
}
.bp-author-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold-gradient); color: var(--maroon-dark);
  display: grid; place-items: center; font-size: .8rem; flex-shrink: 0;
  border: 1.5px solid rgba(212,175,55,.5);
}

/* Breadcrumb strip */
.bp-breadstrip { background: var(--soft-beige); border-bottom: 1px solid rgba(212,175,55,.18); padding: 11px 0; }
.bp-breadstrip .breadcrumb { margin:0; background:transparent; font-size:.83rem; }
.bp-breadstrip .breadcrumb a { color: var(--maroon); }
.bp-breadstrip .breadcrumb-item.active { color: var(--muted); }
.bp-breadstrip .breadcrumb-item + .bp-breadstrip .breadcrumb-item::before { color: var(--gold); }

/* Article layout */
.bp-article-wrap { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 4px 32px rgba(74,14,31,.08); margin-bottom: 32px; }
.bp-feat-image { width:100%; max-height:460px; object-fit:cover; display:block; }
.bp-article-body { padding: 44px 48px; }
@media (max-width: 767px) { .bp-article-body { padding: 28px 22px; } }

/* Article typography */
.bp-content { font-size: 1.03rem; line-height: 1.88; color: #3a2d25; }
.bp-content h2, .bp-content h3 {
  font-family: var(--font-head); color: var(--maroon);
  margin-top: 2.2rem; margin-bottom: .9rem;
}
.bp-content h2 { font-size: 1.65rem; padding-bottom: 10px; border-bottom: 2px solid var(--beige); }
.bp-content h3 { font-size: 1.25rem; }
.bp-content p { margin-bottom: 1.4rem; }
.bp-content strong { color: var(--maroon-dark); }
.bp-content ul, .bp-content ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.bp-content li { margin-bottom: .5rem; }
.bp-content blockquote {
  border-left: 4px solid var(--gold); padding: 16px 22px;
  background: var(--soft-beige); border-radius: 0 10px 10px 0;
  font-style: italic; color: var(--muted); margin: 1.6rem 0;
}
.bp-content a { color: var(--maroon); text-decoration: underline; }

/* Divider ornament */
.bp-divider {
  display: flex; align-items: center; gap: 14px; margin: 36px 0;
}
.bp-div-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(212,175,55,.35), transparent); }
.bp-div-ico { color: var(--gold); font-size: .95rem; }

/* Tags */
.bp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.bp-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--soft-beige); border: 1px solid var(--beige);
  color: var(--ink); padding: 5px 14px; border-radius: 50px;
  font-size: .78rem; font-weight: 600; text-decoration: none;
  transition: all .2s;
}
.bp-tag:hover { background: var(--maroon-gradient); color: #fff; border-color: var(--maroon); }
.bp-tag i { color: var(--gold); font-size: .65rem; }
.bp-tag:hover i { color: var(--gold-light); }

/* Share bar */
.bp-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 22px 0; border-top: 1px dashed var(--beige); border-bottom: 1px dashed var(--beige); margin-bottom: 32px; }
.bp-share-lbl { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.bp-share-btn {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .88rem; text-decoration: none; color: #fff; transition: transform .25s, box-shadow .25s;
}
.bp-share-btn:hover { transform: translateY(-3px) scale(1.1); color: #fff; }
.bp-share-btn.fb { background: #1877f2; }
.bp-share-btn.tw { background: #000; }
.bp-share-btn.wa { background: #25d366; }
.bp-share-btn.li { background: #0077b5; }
.bp-share-btn.fb:hover { box-shadow: 0 6px 18px rgba(24,119,242,.4); }
.bp-share-btn.tw:hover { box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.bp-share-btn.wa:hover { box-shadow: 0 6px 18px rgba(37,211,102,.4); }
.bp-share-btn.li:hover { box-shadow: 0 6px 18px rgba(0,119,181,.4); }

/* Author card */
.bp-author-card {
  background: linear-gradient(135deg, var(--soft-beige) 0%, #fef3d5 100%);
  border: 1.5px solid rgba(212,175,55,.2); border-radius: 20px;
  padding: 30px 32px; display: flex; gap: 22px; align-items: center;
  margin-bottom: 32px;
}
.bp-author-card-avatar {
  width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-gradient); color: var(--maroon-dark);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  box-shadow: 0 0 0 5px rgba(212,175,55,.2), 0 6px 22px rgba(212,175,55,.3);
}
.bp-author-card h5 { color: var(--maroon); margin-bottom: 4px; font-size: 1.1rem; }
.bp-author-card p { color: var(--muted); font-size: .88rem; margin: 0; }

/* Nav between posts */
.bp-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.bp-nav-btn {
  background: #fff; border: 1.5px solid var(--beige); border-radius: 16px;
  padding: 18px 20px; text-decoration: none; color: var(--ink);
  transition: all .25s; box-shadow: 0 2px 10px rgba(74,14,31,.05);
}
.bp-nav-btn:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(74,14,31,.1); }
.bp-nav-btn.next { text-align: right; }
.bp-nav-dir { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 5px; display: flex; align-items: center; gap: 5px; }
.bp-nav-btn.next .bp-nav-dir { justify-content: flex-end; }
.bp-nav-dir i { color: var(--gold); }
.bp-nav-title { font-family: var(--font-head); font-size: .95rem; color: var(--maroon); line-height: 1.3; font-weight: 700; }

/* Sidebar */
.bl-sidebar-card {
  background: #fff; border-radius: 20px;
  box-shadow: 0 4px 24px rgba(74,14,31,.07);
  border: 1.5px solid rgba(212,175,55,.1); overflow: hidden; margin-bottom: 24px;
}
.bl-sidebar-hd {
  background: var(--maroon-gradient); padding: 16px 22px;
  display: flex; align-items: center; gap: 10px; position: relative;
}
.bl-sidebar-hd::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 90% 0%, rgba(212,175,55,.18), transparent 55%);
  pointer-events: none;
}
.bl-sidebar-hd i { color: var(--gold); font-size: 1rem; position: relative; z-index: 1; }
.bl-sidebar-hd h5 { color: #fff; margin: 0; font-size: 1rem; position: relative; z-index: 1; }
.bl-sidebar-body { padding: 20px 22px; }
.bl-recent-item { display: flex; gap: 13px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--beige); }
.bl-recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.bl-recent-thumb { width: 64px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; border: 1.5px solid var(--beige); }
.bl-recent-title { font-size: .83rem; font-weight: 700; color: var(--maroon); line-height: 1.35; margin-bottom: 4px; text-decoration: none; display: block; }
.bl-recent-title:hover { color: var(--maroon-dark); }
.bl-recent-date { font-size: .71rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.bl-recent-date i { color: var(--gold-dark); }

/* Related posts */
.bp-related-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(74,14,31,.07);
  border: 1.5px solid rgba(212,175,55,.1);
  transition: transform .35s ease, box-shadow .35s ease; height: 100%;
}
.bp-related-card:hover { transform: translateY(-8px); box-shadow: 0 22px 54px rgba(74,14,31,.15); }
.bp-related-photo { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.bp-related-photo img { width:100%; height:100%; object-fit:cover; transition: transform .6s ease; display:block; }
.bp-related-card:hover .bp-related-photo img { transform: scale(1.07); }
.bp-related-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--maroon-gradient); color: #fff;
  font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 15px;
}
.bp-related-body { padding: 18px 20px 22px; }
.bp-related-body h6 { font-size: .98rem; line-height: 1.4; margin-bottom: 8px; }
.bp-related-body h6 a { color: var(--maroon); text-decoration: none; }
.bp-related-body h6 a:hover { color: var(--maroon-dark); }
.bp-related-date { font-size: .74rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.bp-related-date i { color: var(--gold-dark); }

/* Animations */
[data-animate] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
[data-animate].visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }

@media (max-width: 575px) {
  .bp-post-nav { grid-template-columns: 1fr; }
  .bp-author-card { flex-direction: column; text-align: center; }
}

/* Admin controls */
.bl-admin-bar {
  background: #1a0000; border-bottom: 2px solid var(--gold);
  padding: 10px 0;
}
.bl-admin-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bl-admin-label { color: rgba(212,175,55,.8); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.bl-admin-label i { color: var(--gold); margin-right: 6px; }
.bl-admin-btns { display: flex; gap: 8px; }
.bl-adm-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 6px; font-size: .78rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; transition: all .2s;
}
.bl-adm-btn-gold { background: var(--gold-gradient); color: var(--maroon-dark); }
.bl-adm-btn-gold:hover { opacity: .88; color: var(--maroon-dark); }
.bl-adm-btn-edit { background: rgba(212,175,55,.15); border: 1px solid rgba(212,175,55,.4); color: #c9a227; }
.bl-adm-btn-edit:hover { background: rgba(212,175,55,.28); color: var(--maroon-dark); }
.bl-adm-btn-del { background: rgba(220,38,38,.15); border: 1px solid rgba(220,38,38,.4); color: #dc2626; }
.bl-adm-btn-del:hover { background: rgba(220,38,38,.3); color: #fff; }
