/* =====================================================
   ALKONIC BLOG LISTING PAGE — blog.css
   All selectors scoped under .bl-page
   Prefix: bl-
===================================================== */

/* ── BASE ── */
.bl-page {
    font-family: 'DM Sans', sans-serif;
    background: #080808; color: #fff; overflow-x: hidden;
    padding-top: 80px;
}
.bl-page *, .bl-page *::before, .bl-page *::after { box-sizing: border-box; }
.bl-page h1, .bl-page h2, .bl-page h3 { font-family: 'Playfair Display', serif; margin: 0; }
.bl-page h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.12; }
.bl-page h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 600; line-height: 1.22; }
.bl-page h3 { font-size: 1rem; font-weight: 700; color: #fff; }
.bl-page p { color: rgba(255,255,255,0.6); line-height: 1.68; margin: 0; }
.bl-page a { text-decoration: none; }

/* ── LAYOUT ── */
.bl-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.bl-section { padding: 80px 0; }

/* ── TOKENS ── */
.bl-gold-text {
    background: linear-gradient(135deg, #E4C97A, #C9A84C, #8B6F32);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bl-section-tag {
    display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: #C9A84C;
    border: 1px solid rgba(201,168,76,0.3); padding: 6px 16px;
    border-radius: 100px; margin-bottom: 18px;
}

/* ── REVEAL ── */
.bl-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.bl-reveal.bl-visible { opacity: 1; transform: translateY(0); }

/* ── BUTTONS ── */
.bl-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 8px;
    font-family: 'DM Sans', sans-serif; font-size: 0.87rem; font-weight: 600;
    cursor: pointer; transition: 0.3s ease; border: none; white-space: nowrap;
}
.bl-btn-primary { background: linear-gradient(135deg, #E4C97A, #C9A84C); color: #000; box-shadow: 0 4px 24px rgba(201,168,76,0.22); }
.bl-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.36); }

/* ══ HERO ══ */
.bl-hero {
    min-height: 52vh; display: flex; align-items: center;
    position: relative; overflow: hidden; background: #080808;
}
.bl-hero-bg {
    position: absolute; inset: 0;
    background-image: url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=1400&q=70&auto=format&fit=crop');
    background-size: cover; background-position: center; opacity: 0.07;
}
.bl-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(8,8,8,0.99) 0%, rgba(8,8,8,0.88) 55%, rgba(8,8,8,0.55) 100%);
}
.bl-hero-inner {
    position: relative; z-index: 2; padding: 80px 0 60px; max-width: 700px;
}
.bl-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.22);
    border-radius: 100px; padding: 7px 18px; margin-bottom: 22px;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #C9A84C;
}
.bl-eyebrow-dot { width: 6px; height: 6px; background: #C9A84C; border-radius: 50%; animation: bl-pulse 2s infinite; }
@keyframes bl-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.75)} }
.bl-hero-sub { font-size: 0.95rem; color: rgba(255,255,255,0.5); margin: 18px 0 28px; line-height: 1.65; max-width: 520px; }

/* Category tabs */
.bl-hero-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.bl-cat-btn {
    padding: 8px 18px; border-radius: 8px; border: 1px solid #1e1e1e;
    background: rgba(255,255,255,0.04); font-size: 0.78rem; font-weight: 500;
    color: rgba(255,255,255,0.5); cursor: pointer; transition: 0.22s ease;
    font-family: 'DM Sans', sans-serif;
}
.bl-cat-btn:hover { border-color: rgba(201,168,76,0.25); color: rgba(255,255,255,0.8); }
.bl-cat-active { background: rgba(201,168,76,0.1) !important; border-color: rgba(201,168,76,0.35) !important; color: #E4C97A !important; }

/* ══ FEATURED POST ══ */
.bl-featured { background: #111; border-top: 1px solid #1e1e1e; border-bottom: 1px solid #1e1e1e; }
.bl-section-label {
    font-size: 0.68rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
    color: rgba(255,255,255,0.25); margin-bottom: 24px;
}
.bl-featured-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border-radius: 20px; overflow: hidden;
    border: 1px solid #1e1e1e; transition: 0.35s ease;
    background: #141414;
}
.bl-featured-card:hover { border-color: rgba(201,168,76,0.25); box-shadow: 0 24px 60px rgba(0,0,0,0.55); }
.bl-fc-img {
    position: relative; height: 380px; overflow: hidden;
}
.bl-fc-img img { width: 100%; height: 100%; object-fit: cover; display: block;  transition: transform 0.5s ease, filter 0.4s ease; }
.bl-featured-card:hover .bl-fc-img img { transform: scale(1.04); filter: brightness(0.7); }
.bl-fc-img-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(20,20,20,0.9) 100%), linear-gradient(180deg, transparent 50%, rgba(8,8,8,0.5)); }
.bl-fc-meta-overlay { position: absolute; top: 18px; left: 18px; display: flex; gap: 10px; align-items: center; }
.bl-fc-cat {
    background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3);
    color: #E4C97A; font-size: 0.62rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; padding: 4px 12px; border-radius: 5px;
}
.bl-fc-read { font-size: 0.68rem; color: rgba(255,255,255,0.4); }

.bl-fc-content { padding: 40px 38px; display: flex; flex-direction: column; justify-content: center; }
.bl-fc-date { font-size: 0.68rem; color: rgba(255,255,255,0.3); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.bl-fc-title { font-family: 'Playfair Display', serif; font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 700; line-height: 1.28; color: #fff; margin-bottom: 16px; }
.bl-fc-excerpt { font-size: 0.84rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 24px; }
.bl-fc-author { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.bl-fc-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; color: #000; flex-shrink: 0; }
.bl-fc-aname { font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.85); }
.bl-fc-arole { font-size: 0.65rem; color: rgba(255,255,255,0.3); }
.bl-read-link { font-size: 0.8rem; font-weight: 700; color: #C9A84C; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s ease; }
.bl-featured-card:hover .bl-read-link { gap: 10px; }

/* ══ POST GRID ══ */
.bl-posts { background: #080808; }
.bl-posts-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.bl-posts-count { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.bl-posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* Individual post card */
.bl-post-card {
    background: #141414; border: 1px solid #1e1e1e; border-radius: 16px;
    overflow: hidden; transition: 0.3s ease; display: flex; flex-direction: column;
}
.bl-post-card:hover { border-color: rgba(201,168,76,0.2); transform: translateY(-3px); box-shadow: 0 18px 45px rgba(0,0,0,0.5); }
.bl-pc-img-link { display: block; }
.bl-pc-img { position: relative; height: 190px; overflow: hidden; }
.bl-pc-img img { width: 100%; height: 100%; object-fit: cover; display: block;  transition: transform 0.45s ease, filter 0.35s ease; }
.bl-post-card:hover .bl-pc-img img { transform: scale(1.05); filter: brightness(0.72); }
.bl-pc-cat-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(201,168,76,0.75); backdrop-filter: blur(6px);
    color: #fff; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.8px;
    text-transform: uppercase; padding: 4px 10px; border-radius: 5px;
}

.bl-pc-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.bl-pc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bl-pc-date { font-size: 0.65rem; color: rgba(255,255,255,0.28); letter-spacing: 0.5px; }
.bl-pc-read { font-size: 0.62rem; color: rgba(255,255,255,0.25); }
.bl-pc-title { font-family: 'Playfair Display', serif; font-size: 0.98rem; font-weight: 700; line-height: 1.38; margin-bottom: 10px; flex: 1; }
.bl-pc-title a { color: #fff; transition: color 0.2s ease; }
.bl-pc-title a:hover { color: #E4C97A; }
.bl-pc-excerpt { font-size: 0.76rem; color: rgba(255,255,255,0.4); line-height: 1.6; margin-bottom: 16px; }
.bl-pc-footer { display: flex; align-items: center; justify-content: space-between; }
.bl-pc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.bl-tag-sm {
    font-size: 0.58rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
    padding: 3px 9px; border-radius: 4px; border: 1px solid #1e1e1e;
    color: rgba(255,255,255,0.35);
}
.bl-arrow-link {
    width: 30px; height: 30px; border-radius: 50%; border: 1px solid #1e1e1e;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.35); font-size: 0.9rem; transition: 0.25s ease; flex-shrink: 0;
}
.bl-post-card:hover .bl-arrow-link { border-color: rgba(201,168,76,0.35); color: #C9A84C; }

/* ── Pagination ── */
.bl-pagination { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 52px; }
.bl-page-btn {
    width: 38px; height: 38px; border-radius: 8px; border: 1px solid #1e1e1e;
    background: #141414; color: rgba(255,255,255,0.5); font-size: 0.82rem;
    display: flex; align-items: center; justify-content: center; transition: 0.22s ease;
    font-family: 'DM Sans', sans-serif;
}
.bl-page-btn:hover { border-color: rgba(201,168,76,0.3); color: #C9A84C; }
.bl-page-active { background: rgba(201,168,76,0.1) !important; border-color: rgba(201,168,76,0.35) !important; color: #E4C97A !important; }
.bl-page-dots { color: rgba(255,255,255,0.2); font-size: 0.9rem; padding: 0 4px; }
.bl-page-next {
    padding: 0 16px; height: 38px; border-radius: 8px; border: 1px solid rgba(201,168,76,0.25);
    color: #C9A84C; font-size: 0.8rem; font-weight: 600; display: flex; align-items: center;
    transition: 0.22s ease; font-family: 'DM Sans', sans-serif;
}
.bl-page-next:hover { background: rgba(201,168,76,0.08); }

/* ══ NEWSLETTER ══ */
.bl-newsletter {
    background: linear-gradient(135deg, #0f0d08 0%, #0d0d0d 50%, #080d14 100%);
    border-top: 1px solid rgba(201,168,76,0.12); padding: 80px 0;
}
.bl-nl-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.bl-nl-left p { font-size: 0.88rem; margin-top: 14px; max-width: 380px; }
.bl-nl-form { display: flex; gap: 12px; margin-bottom: 12px; }
.bl-nl-input {
    flex: 1; background: rgba(255,255,255,0.05); border: 1px solid #1e1e1e;
    border-radius: 8px; padding: 13px 18px;
    font-family: 'DM Sans', sans-serif; font-size: 0.87rem; color: #fff;
    outline: none; transition: border-color 0.25s ease;
}
.bl-nl-input::placeholder { color: rgba(255,255,255,0.25); }
.bl-nl-input:focus { border-color: rgba(201,168,76,0.35); }
.bl-nl-note { font-size: 0.68rem; color: rgba(255,255,255,0.22); margin-top: 0; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
    .bl-posts-grid { grid-template-columns: repeat(2,1fr); }
    .bl-nl-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
    .bl-container { padding: 0 24px; }
    .bl-featured-card { grid-template-columns: 1fr; }
    .bl-fc-img { height: 240px; }
    .bl-fc-content { padding: 24px; }
    .bl-posts-grid { grid-template-columns: 1fr; }
    .bl-hero-inner { padding: 60px 0 40px; }
}
@media (max-width: 480px) {
    .bl-nl-form { flex-direction: column; }
    .bl-bl-btn-primary { width: 100%; justify-content: center; }
}