/**
 * Ruang Bestari — Single Post Share V1
 */

body.single-post .entry-content.single-content > .rb-single-share {
    width: 100%;
    max-width: 760px;
    margin: 16px 0 0;
    padding: 0;
    color: #142428;
    box-sizing: border-box;
}

.rb-single-share__title {
    display: block;
    margin: 0 0 10px;
    color: #536167;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.rb-single-share__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rb-single-share__button,
body.single-post .entry-content.single-content .rb-single-share__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #d9e3e3;
    border-radius: 10px;
    background: #f7faf9;
    color: #0f6261;
    box-shadow: none;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    box-sizing: border-box;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.rb-single-share__button:hover,
body.single-post .entry-content.single-content .rb-single-share__button:hover {
    border-color: #0f6b69;
    background: #eaf5f3;
    color: #0b5654;
    text-decoration: none;
    transform: translateY(-1px);
}

.rb-single-share__button:focus-visible {
    outline: 3px solid rgba(255, 111, 31, .28);
    outline-offset: 2px;
}

.rb-single-share__button.is-copied {
    border-color: #0f6b69;
    background: #0f6b69;
    color: #fff;
}

.rb-single-share__icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.rb-single-share__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.rb-single-share__status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

html[data-rb-theme="dark"] .rb-single-share__title {
    color: #aab9bc;
}

html[data-rb-theme="dark"] .rb-single-share__button,
html[data-rb-theme="dark"] body.single-post .entry-content.single-content .rb-single-share__button {
    border-color: #344a4d;
    background: #1c2a2d;
    color: #8ed6cf;
}

html[data-rb-theme="dark"] .rb-single-share__button:hover,
html[data-rb-theme="dark"] body.single-post .entry-content.single-content .rb-single-share__button:hover {
    border-color: #67bfb8;
    background: #263b3e;
    color: #d6f5f1;
}

html[data-rb-theme="dark"] .rb-single-share__button.is-copied {
    border-color: #67bfb8;
    background: #286c69;
    color: #fff;
}

@media (max-width: 767px) {
    body.single-post #primary .entry-content.single-content > .rb-single-share {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 16px !important;
        padding: 0 !important;
    }

    .rb-single-share__actions {
        gap: 7px;
    }

    .rb-single-share__button,
    body.single-post .entry-content.single-content .rb-single-share__button {
        min-height: 36px;
        padding: 8px 10px;
        border-radius: 9px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rb-single-share__button {
        transition: none;
    }
}

