/* ========================================
   Lifting Tempo — Content Page Styles
   Extends styles.css for article/guide pages
   ======================================== */

/* ---- Breadcrumbs ---- */
.breadcrumbs {
    padding: 100px 0 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: .82rem;
    color: var(--text-dim);
    flex-wrap: wrap;
}

.breadcrumb-list a {
    color: var(--text-muted);
    transition: color .2s;
}

.breadcrumb-list a:hover {
    color: var(--text);
}

.breadcrumb-sep {
    color: var(--text-dim);
    font-size: .7rem;
}

/* ---- Article Layout ---- */
.article-header {
    padding: 40px 0 32px;
    text-align: center;
}

.article-header h1 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.article-meta {
    font-size: .85rem;
    color: var(--text-muted);
}

.article-content {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.article-content h2 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 48px 0 16px;
}

.article-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 32px 0 12px;
}

.article-content p {
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.article-content strong {
    color: var(--text);
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.75;
    margin: 0 0 16px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 6px;
}

/* ---- TLDR / Key Takeaways Box ---- */
.tldr-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 32px;
}

.tldr-box h3 {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ecc);
    margin: 0 0 12px 0;
}

.tldr-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tldr-box li {
    color: var(--text);
    font-size: .9rem;
    line-height: 1.65;
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
}

.tldr-box li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ecc);
}

/* ---- Tempo Recommendation Table ---- */
.tempo-table-wrap {
    overflow-x: auto;
    margin: 16px 0 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.tempo-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: .88rem;
}

.tempo-table th,
.tempo-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.tempo-table td:first-child,
.tempo-table th:first-child {
    white-space: nowrap;
}

.tempo-table th {
    background: var(--bg-card);
    font-weight: 700;
    color: var(--text);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tempo-table td {
    color: var(--text-muted);
}

.tempo-table tr:last-child td {
    border-bottom: none;
}

.tempo-table .tempo-value {
    font-weight: 700;
    color: var(--ecc);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ---- Inline CTA ---- */
.inline-cta {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
}

.inline-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 255, 26, .03), rgba(0, 153, 255, .03));
    pointer-events: none;
}

.inline-cta h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 8px;
    position: relative;
    color: var(--text);
}

.inline-cta p {
    color: var(--text-muted) !important;
    font-size: .9rem !important;
    margin-bottom: 20px !important;
    position: relative;
}

.inline-cta .btn {
    position: relative;
}

/* ---- Related Pages Grid ---- */
.related-section {
    border-top: 1px solid var(--border);
    padding: 48px 0;
}

.related-section h2 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 20px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
}

.related-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.related-card:hover {
    border-color: var(--text-dim);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.related-card h3 {
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.related-card p {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---- Hub Page Grid ---- */
.hub-header {
    padding: 120px 0 40px;
    text-align: center;
}

.hub-header h1 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -.03em;
    margin-bottom: 12px;
}

.hub-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.hub-section {
    padding-bottom: 48px;
}

.hub-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: 16px;
    color: var(--ecc);
    text-transform: uppercase;
    font-size: .85rem;
    letter-spacing: .06em;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

.hub-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.hub-card:hover {
    border-color: var(--text-dim);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.hub-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.hub-card p {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ---- Content Page FAQ ---- */
.content-faq {
    margin: 48px 0;
}

.content-faq h2 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}

/* ---- Responsive: Content Pages ---- */
@media (max-width: 768px) {
    .breadcrumbs {
        padding-top: 80px;
    }

    .article-header {
        padding: 24px 0;
    }

    .article-content {
        padding-bottom: 40px;
    }

    .hub-header {
        padding: 90px 0 32px;
    }

    .inline-cta {
        padding: 32px 20px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .hub-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-header h1 {
        font-size: 1.6rem;
    }

    .hub-header h1 {
        font-size: 1.6rem;
    }

    .tempo-table th,
    .tempo-table td {
        padding: 10px 12px;
        font-size: .82rem;
    }
}
