/* ==========================================================================
   iPressly v2 — Single Post (Crypto News Platform)
   ========================================================================== */

.single-article{max-width:100%}

/* Entry header */
.entry-header{margin-bottom:1.25rem}
.post-categories{margin-bottom:.625rem;display:flex;gap:.4rem;flex-wrap:wrap;align-items:center}
.post-title{margin-bottom:.75rem;line-height:1.2}

/* Post meta bar */
.post-meta{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:.625rem;padding:.875rem 1rem;background:var(--stf-surface);border-radius:var(--stf-radius);border:1px solid var(--stf-border)}
.post-meta-author{display:flex;align-items:center;gap:.625rem}
.post-meta-author img{border-radius:50%;width:38px;height:38px}
.author-name{font-weight:700;color:var(--stf-body-text);display:block;font-size:.875rem}
.post-date-info{font-size:.75rem;color:var(--stf-muted)}
.updated-date{font-style:italic}
.post-meta-stats{display:flex;gap:.75rem;font-size:.75rem;color:var(--stf-muted);align-items:center}

/* Featured image */
.post-featured-image{margin:1.25rem 0;border-radius:var(--stf-radius);overflow:hidden}
.post-featured-image img{width:100%}
.post-featured-image figcaption{font-size:.75rem;color:var(--stf-muted);padding:.375rem .5rem;font-style:italic}

/* Entry content */
.entry-content{font-size:clamp(.95rem,.88rem + .4vw,1.075rem);color:var(--stf-body-text)}
.entry-content p{margin-bottom:1.2rem}
.entry-content h2{margin:1.875rem 0 .625rem;padding-top:.25rem;border-bottom:2px solid var(--stf-border);padding-bottom:.4rem}
.entry-content h3{margin:1.5rem 0 .5rem;color:var(--stf-body-text)}
.entry-content ul,.entry-content ol{margin:.875rem 0;padding-left:1.375rem}
.entry-content li{margin-bottom:.4rem}
.entry-content blockquote{border-left:3px solid var(--stf-primary);margin:1.5rem 0;padding:.875rem 1.25rem;background:#eff6ff;border-radius:0 var(--stf-radius) var(--stf-radius) 0;font-style:italic;color:#1e40af}
.entry-content table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.875rem;display:block;overflow-x:auto}
.entry-content th,.entry-content td{padding:.5rem .75rem;border:1px solid var(--stf-border);text-align:left}
.entry-content th{background:var(--stf-surface);font-weight:700}
.entry-content pre{background:#0f172a;color:#e2e8f0;padding:1.125rem;border-radius:var(--stf-radius);overflow-x:auto;margin:1.5rem 0;font-size:.82rem}
.entry-content code{background:var(--stf-surface);padding:.1rem .35rem;border-radius:3px;font-size:.875em;border:1px solid var(--stf-border)}
.entry-content pre code{background:none;padding:0;border:none}
.entry-content img{border-radius:var(--stf-radius);margin:.875rem 0}
.entry-content a{text-decoration:underline;text-underline-offset:2px}
.entry-content strong{font-weight:700}

/* Key Takeaways — crypto "TL;DR" box */
.key-takeaways{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #93c5fd;border-left:4px solid var(--stf-primary);border-radius:var(--stf-radius);padding:1.125rem 1.375rem;margin:1.5rem 0}
.key-takeaways h2{font-size:1rem;margin:0 0 .625rem;color:var(--stf-primary);display:flex;align-items:center;gap:.4rem}
.key-takeaways ul{margin:0;padding-left:1.25rem}
.key-takeaways li{margin-bottom:.35rem;font-size:.9rem}

/* Tags */
.post-tags{display:flex;flex-wrap:wrap;gap:.375rem;margin:1.75rem 0}
.post-tag{background:var(--stf-surface);color:var(--stf-muted);padding:.25rem .625rem;border-radius:99px;font-size:.76rem;border:1px solid var(--stf-border)}
.post-tag:hover{background:var(--stf-primary);color:#fff;border-color:var(--stf-primary)}

/* Share buttons */
.share-buttons{display:flex;align-items:center;gap:.625rem;flex-wrap:wrap;margin:1.25rem 0;padding:1rem;background:var(--stf-surface);border-radius:var(--stf-radius);border:1px solid var(--stf-border)}
.share-label{font-weight:700;font-size:.8rem;color:var(--stf-body-text)}
.share-btn{display:inline-flex;align-items:center;gap:.3rem;padding:.35rem .7rem;border-radius:99px;font-size:.75rem;font-weight:600;border:1px solid var(--stf-border);color:var(--stf-body-text);cursor:pointer;background:none;min-height:34px;transition:all .15s}
.share-btn:hover{background:var(--stf-primary);color:#fff;border-color:var(--stf-primary)}

/* Article divider */
.article-divider{display:flex;align-items:center;gap:.875rem;margin:2.5rem 0;color:var(--stf-muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.8px}
.article-divider hr{flex:1;border:none;border-top:1px solid var(--stf-border)}

/* Load more */
#load-more-articles{display:block;margin:1.75rem auto}

/* Related posts */
.related-section{margin-top:2.25rem;padding-top:1.375rem;border-top:2px solid var(--stf-border)}
.related-section-title{font-size:1.05rem;margin-bottom:.875rem}
.related-compact-list{display:flex;flex-direction:column}
.related-compact-card{display:flex;align-items:center;gap:.875rem;padding:.625rem 0;border-bottom:1px solid var(--stf-border);text-decoration:none;color:var(--stf-body-text);transition:background .1s}
.related-compact-card:hover{background:var(--stf-surface);margin:0 -.625rem;padding:.625rem;border-radius:var(--stf-radius)}
.related-compact-thumb{flex-shrink:0;width:76px;height:54px;border-radius:4px;overflow:hidden}
.related-compact-thumb img{width:100%;height:100%;object-fit:cover}
.related-thumb-placeholder{width:100%;height:100%;background:var(--stf-border)}
.related-compact-info{flex:1;min-width:0}
.related-compact-cat{font-size:.62rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--stf-primary)}
.related-compact-title{font-size:.875rem;font-weight:600;margin:.15rem 0;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.related-compact-meta{font-size:.68rem;color:var(--stf-muted)}
.related-compact-arrow{font-size:1rem;color:var(--stf-muted);flex-shrink:0;transition:transform .15s}
.related-compact-card:hover .related-compact-arrow{transform:translateX(3px);color:var(--stf-primary)}
@media(max-width:480px){.related-compact-thumb{width:60px;height:44px}}

/* ── E-E-A-T Author Panel ─────────────────────────────────────────────── */
.eeat-author-panel{margin:2rem 0;padding:1.375rem;border:1px solid var(--stf-border);border-radius:var(--stf-radius);background:linear-gradient(135deg,var(--stf-surface) 0%,#fff 100%)}

/* Fact-check badge */
.eeat-fact-badge{display:inline-flex;align-items:center;gap:.35rem;font-size:.72rem;font-weight:700;color:#059669;background:#d1fae5;border:1px solid #6ee7b7;padding:.25rem .6rem;border-radius:99px;margin-bottom:.875rem}

/* Cards container */
.eeat-author-panel__cards{display:flex;flex-direction:column;gap:.875rem}
.eeat-author-panel__cards--dual{gap:0;border:1px solid var(--stf-border);border-radius:var(--stf-radius);overflow:hidden}
.eeat-author-panel__cards--dual .author-card{border-bottom:1px solid var(--stf-border)}
.eeat-author-panel__cards--dual .author-card:last-child{border-bottom:none}

/* Individual author card */
.author-card{padding:1rem;background:#fff}
.author-card__header{display:flex;gap:.875rem;align-items:flex-start}
.author-card__avatar-wrap{position:relative;flex-shrink:0}
.author-card__avatar{border-radius:50%;width:64px;height:64px;border:2px solid var(--stf-border);object-fit:cover}
.author-card__avatar-fallback{width:64px;height:64px;border-radius:50%;background:var(--stf-primary);color:#fff;font-size:1.5rem;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid var(--stf-border)}
.author-card__verified{position:absolute;bottom:-2px;right:-2px;background:#fff;border-radius:50%;display:flex;width:20px;height:20px;align-items:center;justify-content:center;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.author-card__identity{flex:1}
.author-card__role-label{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--stf-muted);display:block;margin-bottom:.15rem}
.author-card__name{font-size:1rem;margin:0 0 .1rem}
.author-card__name a{color:var(--stf-body-text)}
.author-card__name a:hover{color:var(--stf-primary)}
.author-card__job-title{font-size:.76rem;color:var(--stf-primary);font-weight:600;display:block;margin-bottom:.2rem}
.author-card__credentials{font-size:.7rem;color:#059669;font-weight:600;display:flex;align-items:center;gap:.2rem;margin-bottom:.2rem}
.author-card__stats{font-size:.7rem;color:var(--stf-muted);display:flex;gap:.3rem;flex-wrap:wrap;align-items:center;margin-top:.15rem}
.author-card__stat-sep{opacity:.4}
.author-card__bio{font-size:.82rem;color:#4b5563;margin:.625rem 0;line-height:1.55}
.author-card__expertise{display:flex;gap:.3rem;flex-wrap:wrap;align-items:center;margin:.5rem 0}
.author-card__expertise-label{font-size:.68rem;font-weight:700;color:var(--stf-muted);text-transform:uppercase;letter-spacing:.4px}
.expertise-tag{font-size:.68rem;padding:.15rem .45rem;background:#dbeafe;color:#1e40af;border-radius:99px;font-weight:600}
.author-card__links{display:flex;gap:.625rem;flex-wrap:wrap;margin-top:.5rem;align-items:center}
.author-card__link{font-size:.76rem;font-weight:600;color:var(--stf-muted);display:inline-flex;align-items:center;gap:.2rem;transition:color .15s}
.author-card__link:hover{color:var(--stf-primary)}
.author-card__link--more{color:var(--stf-primary)}
.author-card__link--more:hover{color:var(--stf-primary-dark)}

/* Legacy author box (fallback) */
.author-box{display:flex;gap:1.125rem;padding:1.25rem;margin:1.75rem 0;border:1px solid var(--stf-border);border-radius:var(--stf-radius);background:var(--stf-surface)}
.author-box-avatar img{border-radius:50%;width:72px;height:72px}
.author-box-name{font-size:1rem;margin-bottom:.25rem}
.author-box-name a{color:var(--stf-body-text)}
.author-box-bio{font-size:.82rem;color:var(--stf-muted);margin-bottom:.4rem}
.author-more{font-size:.8rem;font-weight:600}
@media(max-width:480px){.author-card__header,.author-box{flex-direction:column;align-items:center;text-align:center}.author-card__expertise,.author-card__links,.author-card__stats{justify-content:center}}

/* AMP version notice */
.amp-version-notice{font-size:.76rem;color:var(--stf-muted);margin:1.25rem 0 0;display:flex;align-items:center;gap:.4rem}

/* ── Crypto disclaimer box ─────────────────────────────────────────────── */
.crypto-disclaimer{display:flex;align-items:flex-start;gap:.5rem;padding:.75rem 1rem;background:#fffbeb;border:1px solid #fcd34d;border-left:3px solid #f59e0b;border-radius:var(--stf-radius);margin:.875rem 0;font-size:.78rem;color:#92400e;line-height:1.5}
.crypto-disclaimer svg{flex-shrink:0;margin-top:.15rem;color:#f59e0b}
