/* Blog list */
.pbb-blog {
    padding: 40px 0 80px;
}

.pbb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    margin-bottom: 40px;
}

.pbb-breadcrumb a {
    color: #888;
    text-decoration: none;
}

.pbb-breadcrumb a:hover {
    color: var(--green);
    text-decoration: none;
}

.pbb-breadcrumb svg {
    color: #ccc;
}

.pbb-breadcrumb span {
    color: var(--dark);
    font-weight: 500;
}

.pbb-blog-header {
    text-align: center;
    margin-bottom: 56px;
}

.pbb-blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pbb-blog-subtitle {
    color: #888;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

.pbb-blog-empty {
    text-align: center;
    color: #999;
    padding: 80px 0;
    font-size: 1.1rem;
}

.pbb-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

/* Blog card */
.pbb-blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.pbb-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.pbb-blog-card:hover .pbb-blog-card-cta {
    color: var(--green);
}

.pbb-blog-card:hover .pbb-blog-card-cta svg {
    transform: translateX(4px);
}

.pbb-blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #f5f5f5;
}

.pbb-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pbb-blog-card:hover .pbb-blog-card-image img {
    transform: scale(1.04);
}

.pbb-blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #eee 100%);
    color: #ccc;
}

.pbb-blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pbb-blog-card-date {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 10px;
}

.pbb-blog-card-readtime {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #888;
}

.pbb-blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.35;
    color: var(--dark);
}

.pbb-blog-card-excerpt {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.pbb-blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    transition: color 0.2s ease;
}

.pbb-blog-card-cta svg {
    transition: transform 0.2s ease;
}

/* Article detail */
.pbb-article {
    padding: 0 0 80px;
}

/* Hero banner */
.pbb-article-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.pbb-article-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pbb-article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.05) 100%);
}

.pbb-article-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 48px;
    padding-top: 120px;
}

.pbb-article-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 16px;
    max-width: 720px;
}

.pbb-article-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.pbb-article-hero-sep {
    color: rgba(255,255,255,0.4);
}

.pbb-breadcrumb-light a {
    color: rgba(255,255,255,0.7);
}

.pbb-breadcrumb-light a:hover {
    color: #fff;
}

.pbb-breadcrumb-light svg {
    color: rgba(255,255,255,0.4);
}

.pbb-breadcrumb-light span {
    color: rgba(255,255,255,0.9);
}

.pbb-article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark);
    padding-top: 48px;
}

.pbb-article-content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
}

.pbb-article-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
}

.pbb-article-content p {
    margin-bottom: 20px;
}

.pbb-article-content ul,
.pbb-article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

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

.pbb-article-content a {
    color: var(--green);
    text-decoration: underline;
}

.pbb-article-content a:hover {
    color: var(--green-darker);
}

.pbb-article-content blockquote {
    border-left: 4px solid var(--green);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--grey-100);
    border-radius: 0 8px 8px 0;
}

/* Tables in articles */
.pbb-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.pbb-article-content thead {
    background: var(--dark, #1a1a2e);
    color: #fff;
}

.pbb-article-content thead th {
    padding: 14px 16px;
    font-weight: 600;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pbb-article-content tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.pbb-article-content tbody tr:nth-child(even) {
    background: #fafafa;
}

.pbb-article-content tbody tr:hover {
    background: #f5f5f5;
}

.pbb-article-content tbody td {
    padding: 12px 16px;
}

.pbb-article-content tbody td:first-child {
    font-weight: 500;
}

/* Visual comparison bars */
.pbb-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0;
}

.pbb-bar-label {
    min-width: 120px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pbb-bar-track {
    flex: 1;
    height: 28px;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.pbb-bar-fill {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.pbb-bar-fill.green { background: var(--green, #22c55e); }
.pbb-bar-fill.orange { background: #f59e0b; }
.pbb-bar-fill.blue { background: #3b82f6; }
.pbb-bar-fill.red { background: #ef4444; }

/* Highlight box */
.pbb-highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 24px 0;
}

.pbb-highlight strong {
    color: var(--green, #22c55e);
}

/* CTA block */
.pbb-cta {
    background: linear-gradient(135deg, #fef9ee 0%, #fff8e7 100%);
    border: 2px solid var(--bitcoin-orange, #F2A900);
    border-radius: 12px;
    padding: 32px;
    margin: 40px 0;
    text-align: center;
}

.pbb-cta h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.pbb-cta p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pbb-cta p:last-child {
    margin-bottom: 0;
}

.pbb-cta-button {
    display: inline-block;
    background: var(--bitcoin-orange, #F2A900);
    color: var(--white, #fff) !important;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pbb-cta-button:hover {
    background: #d99600;
    transform: translateY(-2px);
    color: var(--white, #fff) !important;
    text-decoration: none !important;
}

.pbb-article-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
    text-align: center;
}

.pbb-article-footer .pbb-button {
    line-height: 48px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .pbb-blog-grid {
        grid-template-columns: 1fr;
    }

    .pbb-blog-title {
        font-size: 1.8rem;
    }

    .pbb-article-hero {
        min-height: 300px;
    }

    .pbb-article-hero-title {
        font-size: 1.6rem;
    }

    .pbb-article-hero-content {
        padding-bottom: 32px;
        padding-top: 80px;
    }

    .pbb-blog-header {
        margin-bottom: 40px;
    }
}
