﻿/* ============================================================
   BLOG PAGE â€” reference layout (dark clone aesthetics)
   Loaded after clone-home.css. Visual only.
   ============================================================ */

.blog-page {
  background: #0a0a0a !important;
  color: #fff;
}

.bx-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Hero band ===== */
.bx-hero {
  padding: 150px 0 64px;
  text-align: center;
  background: linear-gradient(180deg, #101010 0%, #0a0a0a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.bx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #DD2A7B;
  margin-bottom: 16px;
}
.bx-eyebrow::before,
.bx-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(225, 48, 108, 0.5);
}
.bx-title {
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
  font-size: clamp(2rem, 5vw, 3.2rem) !important;
  line-height: 1 !important;
  margin: 0 0 14px !important;
}
.bx-sub {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 560px;
}

/* ===== Featured ===== */
.bx-featured { padding: 56px 0 8px; }
.bx-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 899px) {
  .bx-featured-grid { grid-template-columns: 1fr; }
}
.bx-feat-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(23, 23, 23, 0.72);
}
.bx-feat-link {
  position: relative;
  display: block;
  min-height: 340px;
  text-decoration: none !important;
  color: inherit !important;
}
.bx-feat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
}
.bx-feat-card:hover .bx-feat-img {
  transform: scale(1.05);
  filter: grayscale(0);
}
.bx-feat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.45) 45%, rgba(10, 10, 10, 0.05) 100%);
}
.bx-feat-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
}
.bx-feat-title {
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  font-size: 1.45rem !important;
  line-height: 1.15 !important;
  margin: 0 0 8px !important;
}
.bx-feat-excerpt {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bx-feat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bx-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}
.bx-avatar {
  border-radius: 50%;
  width: 28px;
  height: 28px;
}
.bx-cat-pill {
  background: rgba(255, 255, 255, 0.92);
  color: #0a0a0a;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== All articles ===== */
.bx-all { padding: 48px 0 88px; }
.bx-all-title {
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem) !important;
  text-align: center !important;
  margin: 0 0 22px !important;
}
.bx-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.bx-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 16px;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.bx-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.2);
}
.bx-pill.is-active {
  background: #fff;
  border-color: #fff;
  color: #0a0a0a !important;
  font-weight: 600;
}

.bx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1099px) { .bx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .bx-grid { grid-template-columns: 1fr; } }

.bx-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(23, 23, 23, 0.72);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.bx-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}
.bx-card-link { text-decoration: none !important; color: inherit !important; display: block; }
.bx-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
}
.bx-card:hover .bx-card-img { transform: scale(1.04); filter: grayscale(0); }
.bx-noimg { background: linear-gradient(135deg, #171717, #1f1f1f); }
.bx-card-body { padding: 18px; }
.bx-card-cat {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #DD2A7B;
  margin-bottom: 8px;
}
.bx-card-title {
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  color: #fff !important;
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
  margin: 0 0 10px !important;
}
.bx-card-date { color: rgba(255, 255, 255, 0.4); font-size: 0.8rem; }

/* pagination */
.bx-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.bx-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
}
.bx-pagination .page-numbers.current {
  background: #fff;
  border-color: #fff;
  color: #0a0a0a !important;
  font-weight: 600;
}
.bx-pagination .page-numbers:hover { background: rgba(255, 255, 255, 0.1); color: #fff !important; }

.bx-empty { text-align: center; color: rgba(255, 255, 255, 0.5); }

@media (max-width: 768px) {
  .bx-hero { padding-top: 124px; }
}


/* ============================================================
   SINGLE POST â€” reference layout (dark clone aesthetics)
   Appended to clone-blog.css scope.
   ============================================================ */

.single-blog-post {
  background: #0a0a0a !important;
  padding: 140px 0 80px !important;
}
@media (max-width: 768px) {
  .single-blog-post { padding-top: 118px !important; }
}

.bx-post { max-width: 820px; margin: 0 auto; }

.bx-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}
.bx-crumbs a { color: rgba(255, 255, 255, 0.5) !important; text-decoration: none !important; }
.bx-crumbs a:hover { color: #fff !important; }
.bx-crumb-sep { color: rgba(255, 255, 255, 0.25); }
.bx-crumb-current {
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}

.bx-post-title {
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem) !important;
  line-height: 1.05 !important;
  margin: 0 0 16px !important;
}

.bx-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}
.bx-post-meta .bx-avatar { border-radius: 50%; width: 30px; height: 30px; }
.bx-post-author { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.bx-post-dot { color: rgba(255, 255, 255, 0.3); }

.bx-post-hero {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 32px;
}
.bx-post-img { width: 100%; height: auto; display: block; }

/* article typography */
.bx-post-content {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
}
.bx-post-content h1,
.bx-post-content h2,
.bx-post-content h3,
.bx-post-content h4 {
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  margin: 2rem 0 0.8rem !important;
  line-height: 1.2 !important;
}
.bx-post-content h2 { font-size: 1.5rem !important; }
.bx-post-content h3 { font-size: 1.2rem !important; }
.bx-post-content h4 { font-size: 1.05rem !important; }
.bx-post-content p { margin: 0 0 1.1rem !important; }
.bx-post-content a { color: #DD2A7B !important; text-decoration: none !important; }
.bx-post-content a:hover { color: #fff !important; }
.bx-post-content ul,
.bx-post-content ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 0 1.2rem !important;
}
.bx-post-content li {
  position: relative !important;
  padding-left: 18px !important;
  margin: 7px 0 !important;
}
.bx-post-content li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.62em !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #fad34b, #e1306c 55%, #8a3ab9) !important;
}
.bx-post-content blockquote {
  border-left: 3px solid #E1306C !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 8px !important;
  padding: 1rem 1.4rem !important;
  margin: 1.4rem 0 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-style: italic;
}
.bx-post-content img {
  border-radius: 14px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 1rem 0 !important;
}
.bx-post-content strong { color: #fff !important; font-weight: 600 !important; }
.bx-post-content code {
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 4px !important;
  padding: 1px 6px !important;
  color: #fff !important;
  font-size: 0.88em !important;
}

.bx-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.bx-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.78rem;
  padding: 5px 12px;
  text-decoration: none !important;
}
.bx-tag:hover { color: #fff !important; border-color: rgba(255, 255, 255, 0.25); }

.bx-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
}
.bx-post-nav a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  font-size: 0.9rem;
}
.bx-post-nav a:hover { color: #fff !important; }
.bx-post-nav .bx-next { text-align: right; margin-left: auto; }

/* comments: minimal, on-brand */
.bx-post .comments-section { margin-top: 48px; }
.bx-post .comments-section h2,
.bx-post .comments-section h3,
.bx-post .comment-reply-title {
  font-family: "Bricolage Grotesque", sans-serif !important;
  font-weight: 600 !important;
  color: #fff !important;
  letter-spacing: -0.02em !important;
}
.bx-post .comments-section .comment {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  margin-bottom: 12px !important;
  color: rgba(255, 255, 255, 0.7) !important;
}
.bx-post .comments-section .comment a { color: #DD2A7B !important; }
.bx-post .comments-section .comment-form input,
.bx-post .comments-section .comment-form textarea {
  background: rgba(23, 23, 23, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: #fff !important;
}
.bx-post .comments-section .comment-form .submit {
  background: #fff !important;
  color: #0a0a0a !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
}

