/* Safari News SEO — frontend styles — v1.0.0 */

/* ── Reading Progress Bar ─────────────────────────────── */
#sns-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #2e6b3e;
    z-index: 9999;
    transition: width .1s linear;
    pointer-events: none;
}

/* ── Social Share Bar ─────────────────────────────────── */
.sns-share-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0 24px;
    padding: 16px 0;
    border-top: 1px solid #e0e8e2;
    border-bottom: 1px solid #e0e8e2;
}
.sns-share-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #556b5c;
    margin-right: 4px;
}
.sns-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 4px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: opacity .15s, background .15s;
    line-height: 1;
}
.sns-share-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: currentColor;
}
.sns-share-wa {
    background: #25D366;
    color: #fff !important;
}
.sns-share-wa:hover { background: #1ebe5b; }
.sns-share-fb {
    background: #1877F2;
    color: #fff !important;
}
.sns-share-fb:hover { background: #0f68da; }
.sns-share-copy {
    background: #f0f4f1;
    color: #2a3d2e !important;
}
.sns-share-copy:hover { background: #e0e8e2; }
.sns-copy-label { transition: color .15s; }
.sns-share-copy.sns-copied .sns-copy-label { color: #2e6b3e; }

/* ── Last Updated label ───────────────────────────────── */
.sns-last-updated {
    font-size: .78rem;
    color: #7a9080;
    margin: 0 0 18px;
    font-style: italic;
}

/* ── Post Tags ────────────────────────────────────────── */
.sns-post-tags {
    margin: 20px 0 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.sns-tags-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #556b5c;
    margin-right: 2px;
}
.sns-tag-link {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    background: #e8f0ea;
    color: #2e6b3e !important;
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .15s;
}
.sns-tag-link:hover { background: #d0e3d4; }

/* ── Pagination page count ────────────────────────────── */
.sns-pagination-label {
    font-size: .8rem;
    color: #7a9080;
    text-align: center;
    margin: 0 0 8px;
}

/* ── Newsletter widget ────────────────────────────────── */
.sns-newsletter-wrap {
    background: #1a3020;
    border-radius: 6px;
    padding: 28px 24px 24px;
    margin: 32px 0;
}
.sns-nl-label {
    display: block;
    font-size: .92rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.sns-nl-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.sns-nl-input {
    flex: 1 1 200px;
    padding: 10px 14px;
    border: none;
    border-radius: 4px;
    font-size: .9rem;
    background: #fff;
    color: #1a1a0a;
    min-width: 0;
}
.sns-nl-btn {
    padding: 10px 20px;
    background: #c8a400;
    color: #1a1a0a;
    border: none;
    border-radius: 4px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}
.sns-nl-btn:hover { background: #a88800; }
.sns-nl-note {
    font-size: .72rem;
    color: #9ab0a0;
    margin: 8px 0 0;
}
.sns-nl-success {
    font-size: .88rem;
    color: #6dd88a;
    margin: 0 0 12px;
    font-weight: 600;
}
.sns-nl-error {
    font-size: .88rem;
    color: #ff7070;
    margin: 0 0 12px;
    font-weight: 600;
}
