/* E-E-A-T Booster Pro — Frontend Styles */

/* ── Reading time + dates bar ──────────────────────────────────── */
.eeat-reading-time,
.eeat-dates-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 13px;
    color: #64748b;
    background: #f8fafc;
    border-left: 3px solid #2563eb;
    padding: 8px 14px;
    margin-bottom: 20px;
    border-radius: 0 6px 6px 0;
}

/* ── Author Box ────────────────────────────────────────────────── */
.eeat-author-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 36px;
}

.eeat-avatar {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    object-fit: cover;
}

.eeat-author-info {
    flex: 1;
    min-width: 0;
}

.eeat-author-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #94a3b8;
    display: block;
    margin-bottom: 2px;
}

.eeat-author-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #1e293b;
}

.eeat-credentials,
.eeat-org,
.eeat-education,
.eeat-expertise,
.eeat-years {
    display: block;
    font-size: 12px;
    color: #475569;
    margin-bottom: 2px;
}

.eeat-expertise strong {
    color: #2563eb;
}

.eeat-bio {
    font-size: 13px;
    color: #64748b;
    margin: 8px 0;
    line-height: 1.55;
}

.eeat-verified-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.eeat-reviewed,
.eeat-factcheck {
    font-size: 12px;
    background: #dcfce7;
    color: #166534;
    padding: 3px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── Social links ──────────────────────────────────────────────── */
.eeat-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.eeat-btn {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity .15s;
}
.eeat-btn:hover { opacity: .85; }

.eeat-btn-linkedin { background: #0077b5; color: #fff !important; }
.eeat-btn-twitter  { background: #000;    color: #fff !important; }
.eeat-btn-web      { background: #6366f1; color: #fff !important; }
.eeat-btn-posts    { background: #e2e8f0; color: #334155 !important; }

/* ── Sources box ────────────────────────────────────────────────── */
.eeat-sources-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 28px;
    font-size: 13px;
}

.eeat-sources-box h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #475569;
    margin: 0 0 10px;
}

.eeat-sources-box ol {
    margin: 0;
    padding-left: 20px;
}

.eeat-sources-box li {
    margin-bottom: 4px;
}

.eeat-sources-box a {
    color: #2563eb;
    word-break: break-all;
}

/* ── Stale notice ───────────────────────────────────────────────── */
.eeat-stale-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 10px 16px;
    font-size: 13px;
    color: #856404;
    border-radius: 0 6px 6px 0;
    margin-top: 20px;
}

/* ── Disclaimer ─────────────────────────────────────────────────── */
.eeat-disclaimer {
    background: #f1f5f9;
    border-top: 2px solid #e2e8f0;
    padding: 14px 18px;
    margin-top: 20px;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
}

.eeat-disclaimer p {
    margin: 0;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 540px) {
    .eeat-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .eeat-social-links,
    .eeat-verified-info {
        justify-content: center;
    }
}
