/* ============================================================
   LyricTribe — Blog index (ltBlog__ namespace)
   ============================================================ */
.page-blog-index { background: #fafafa; color: #0f172a; }

.ltBlog {
    --vermillion: #FF3B5C;
    --ink: #0f172a; --ink-2: #475569; --ink-3: #8a96a3;
    --line: #e6e8ec; --paper: #fff; --paper-2: #f4f5f7;
    --max: 1240px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.ltBlog__wrap { max-width: var(--max); margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }

.ltBlog__hero {
    color: #fff; text-align: center; padding: 3.5rem 1.25rem 3rem;
    background:
        radial-gradient(ellipse 800px 420px at 50% 30%, rgba(140, 50, 80, 0.55), transparent 80%),
        linear-gradient(180deg, #2a0f1f 0%, #1b0a14 100%);
}
.ltBlog__hero-inner { max-width: 720px; margin: 0 auto; }
.ltBlog__hero-kicker { display: inline-block; padding: 0.3rem 0.85rem; border-radius: 9999px; background: rgba(255,59,92,0.18); color: #ffd0d8; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; margin-bottom: 0.85rem; }
.ltBlog__hero-title { margin: 0 0 0.7rem; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; line-height: 1; letter-spacing: -0.025em; text-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.ltBlog__hero-sub { margin: 0; color: rgba(255,255,255,0.80); font-size: 0.98rem; }

.ltBlog__crumbs-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.ltBlog__crumbs { display: flex; gap: 0.45rem; align-items: center; color: var(--ink-3); font-size: 0.82rem; padding: 0.7rem 0; }
.ltBlog__crumbs a { color: var(--ink-2); text-decoration: none; }
.ltBlog__crumbs a:hover { color: var(--vermillion); }
.ltBlog__crumbs span:last-child { color: var(--ink); font-weight: 600; }

/* Category chips */
.ltBlog__cats { background: var(--paper); border-bottom: 1px solid var(--line); }
.ltBlog__cats-inner { display: flex; gap: 0.4rem; padding: 0.85rem 0; flex-wrap: wrap; }
.ltBlog__cat {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.45rem 0.95rem; border-radius: 9999px;
    border: 1px solid hsl(var(--h, 220), 30%, 86%);
    background: hsl(var(--h, 220), 72%, 96%);
    color: hsl(var(--h, 220), 55%, 32%);
    text-decoration: none;
    font-weight: 700; font-size: 0.85rem;
    transition: all 0.15s;
}
.ltBlog__cat:first-child { background: var(--paper); border-color: var(--line); color: var(--ink); }
.ltBlog__cat:hover { transform: translateY(-1px); }
.ltBlog__cat.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ltBlog__cat:first-child.is-on { background: var(--vermillion); border-color: var(--vermillion); color: #fff; }
.ltBlog__cat span { font-size: 0.7rem; opacity: 0.8; font-weight: 700; }

.ltBlog__ad--top { padding-top: 1.5rem; }
.ltBlog__ad--bottom { padding-top: 1.5rem; padding-bottom: 3rem; }

/* Featured hero card */
.ltBlog__featured { padding-top: 2rem; padding-bottom: 1rem; }
.ltBlog__featured-tag { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; color: var(--vermillion); margin-bottom: 0.65rem; }
.ltBlog__featured-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 0.2s, box-shadow 0.2s; }
.ltBlog__featured-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.10); }
.ltBlog__featured-cover { background: linear-gradient(135deg, #1a1a2e, #3d1a2e) center/cover no-repeat; min-height: 320px; }
.ltBlog__featured-body { padding: 2rem 2.25rem; display: flex; flex-direction: column; justify-content: center; }
.ltBlog__featured-cat { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.15em; color: var(--vermillion); margin-bottom: 0.7rem; }
.ltBlog__featured-title { margin: 0 0 0.85rem; font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 900; letter-spacing: -0.018em; line-height: 1.1; }
.ltBlog__featured-excerpt { color: var(--ink-2); line-height: 1.6; margin: 0 0 1.25rem; font-size: 0.98rem; }
.ltBlog__featured-byline { display: flex; align-items: center; gap: 0.85rem; }
.ltBlog__featured-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--vermillion), #7c4dff); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.78rem; }
.ltBlog__featured-author { font-weight: 700; font-size: 0.88rem; }
.ltBlog__featured-date { color: var(--ink-3); font-size: 0.78rem; }
.ltBlog__featured-cta { margin-left: auto; color: var(--vermillion); font-weight: 700; font-size: 0.88rem; }

/* Layout */
.ltBlog__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; padding-top: 1.5rem; }
.ltBlog__main-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.1rem; }
.ltBlog__main-head h2 { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.ltBlog__main-head span { color: var(--ink-3); font-size: 0.85rem; }

/* Grid */
.ltBlog__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.ltBlog__grid-ad { grid-column: 1 / -1; }

.ltBlog__card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.ltBlog__card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.10); }
.ltBlog__card-link { display: block; text-decoration: none; color: var(--ink); }
.ltBlog__card-cover { position: relative; width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, #1a1a2e, #3d1a2e) center/cover no-repeat; }
.ltBlog__card-pill { position: absolute; top: 0.85rem; left: 0.85rem; background: rgba(255,255,255,0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--ink); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; padding: 0.28rem 0.6rem; border-radius: 4px; }
.ltBlog__card-body { padding: 1.25rem 1.4rem; }
.ltBlog__card-title { margin: 0 0 0.55rem; font-size: 1.1rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.ltBlog__card:hover .ltBlog__card-title { color: var(--vermillion); }
.ltBlog__card-excerpt { color: var(--ink-2); font-size: 0.9rem; line-height: 1.55; margin: 0 0 0.85rem; }
.ltBlog__card-meta { display: flex; gap: 0.4rem; color: var(--ink-3); font-size: 0.78rem; flex-wrap: wrap; }

.ltBlog__pages { display: flex; justify-content: center; margin-top: 2rem; }
.ltBlog__empty { text-align: center; padding: 3rem 1rem; color: var(--ink-3); }
.ltBlog__empty a { color: var(--vermillion); font-weight: 700; }

/* Sidebar */
.ltBlog__side { min-width: 0; }
.ltBlog__side-sticky { position: sticky; top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.ltBlog__side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.4rem; }
.ltBlog__side-card--ad { padding: 0.5rem; }
.ltBlog__side-card h3 { margin: 0 0 0.85rem; font-size: 0.95rem; font-weight: 800; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }

.ltBlog__pop-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.ltBlog__pop-list a { display: grid; grid-template-columns: 28px 1fr; gap: 0.7rem; align-items: start; text-decoration: none; color: var(--ink); padding: 0.4rem; border-radius: 8px; transition: background 0.15s; }
.ltBlog__pop-list a:hover { background: var(--paper-2); }
.ltBlog__pop-rank { color: var(--vermillion); font-weight: 900; font-size: 1.1rem; text-align: center; line-height: 1.3; }
.ltBlog__pop-title { font-weight: 700; font-size: 0.88rem; line-height: 1.3; }
.ltBlog__pop-list a:hover .ltBlog__pop-title { color: var(--vermillion); }
.ltBlog__pop-date { color: var(--ink-3); font-size: 0.75rem; margin-top: 0.15rem; }

@media (max-width: 1024px) {
    .ltBlog__layout { grid-template-columns: 1fr; }
    .ltBlog__side-sticky { position: static; }
    .ltBlog__featured-card { grid-template-columns: 1fr; }
    .ltBlog__featured-cover { min-height: 220px; }
    .ltBlog__featured-body { padding: 1.5rem 1.5rem; }
}
@media (max-width: 640px) {
    .ltBlog__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Editorial / SEO content (rendered below the post grid)
   ============================================================ */
.ltBlog__editorial {
    padding-top: 28px;
    padding-bottom: 56px;
    color: var(--ink-2, #475569);
}
.ltBlog__editorial .ltBlog__lead {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--ink, #0f172a);
    max-width: 80ch;
    margin: 0 0 8px;
}
.ltBlog__editorial h2 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ink, #0f172a);
    margin: 34px 0 12px;
}
.ltBlog__editorial p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-2, #475569);
    margin: 0 0 14px;
    max-width: 80ch;
}
.ltBlog__editorial a { color: var(--vermillion); font-weight: 600; text-decoration: none; }
.ltBlog__editorial a:hover { text-decoration: underline; }

/* Post-type table */
.ltBlog__table {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0 18px;
    font-size: 0.94rem;
    background: var(--paper, #fff);
    border: 1px solid var(--line, #e6e8ec);
    border-radius: 12px;
    overflow: hidden;
    max-width: 760px;
}
.ltBlog__table th,
.ltBlog__table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line, #e6e8ec);
    vertical-align: top;
    line-height: 1.55;
}
.ltBlog__table thead th {
    background: var(--paper-2, #f4f5f7);
    color: var(--ink, #0f172a);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.ltBlog__table tbody tr:last-child td { border-bottom: 0; }
.ltBlog__table td:first-child { font-weight: 600; color: var(--ink, #0f172a); white-space: nowrap; }

/* FAQ accordion (uses global details.tribe-faq) */
.ltBlog__editorial-faqh {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ink, #0f172a);
    margin: 38px 0 14px;
}
.ltBlog__faq { max-width: 860px; }
.ltBlog__faq .qa-icon { font-size: 1.25rem; line-height: 1; font-weight: 400; }
