.posted-by-header {
    margin: 0 0 1.5rem;
    padding-top: var(--posted-by-block-padding-top);
    padding-bottom: var(--posted-by-block-padding-bottom);
    color: var(--posted-by-author-color);
}

.posted-by-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.posted-by-avatar {
    width: var(--posted-by-avatar-size);
    height: var(--posted-by-avatar-size);
    flex: 0 0 var(--posted-by-avatar-size);
    overflow: hidden;
    border-radius: 999px;
    background: #f3f4f6;
}

.posted-by-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    object-fit: cover;
    border-radius: inherit;
}

.posted-by-meta {
    min-width: 0;
}

.posted-by-name {
    color: var(--posted-by-author-color);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
}

.posted-by-date {
    display: block;
    margin-top: 0.2rem;
    color: var(--posted-by-date-color);
    font-size: 0.82rem;
    line-height: 1.3;
}

.posted-by-separator {
    width: 100%;
    height: 1px;
    background: var(--posted-by-separator-color);
}

.posted-by-separator-top {
    margin: 0 0 0.85rem;
}

.posted-by-separator-bottom {
    margin: 0.85rem 0 0;
}

.posted-by-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.posted-by-share-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.18rem;
}

.posted-by-share-label {
    margin-right: 0.35rem;
    color: var(--posted-by-date-color);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.posted-by-share-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(var(--posted-by-icon-size) + 18px) !important;
    height: calc(var(--posted-by-icon-size) + 18px) !important;
    color: var(--posted-by-icon-color) !important;
    font-size: var(--posted-by-icon-size) !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    background-image: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.posted-by-share-link:visited {
    color: var(--posted-by-icon-color) !important;
}

.posted-by-share-link:hover,
.posted-by-share-link:focus {
    color: var(--posted-by-icon-hover-color) !important;
    background: rgba(15, 118, 110, 0.08) !important;
    background-image: none !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline-offset: 2px !important;
}

.posted-by-share-link i,
.posted-by-google-button i {
    color: currentColor !important;
    font-style: normal !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

.posted-by-google-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    min-height: 32px !important;
    padding: 0.35rem 0.85rem !important;
    color: #202124 !important;
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #dadce0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.posted-by-google-button:hover,
.posted-by-google-button:focus {
    color: #202124 !important;
    background: #f8fafd !important;
    background-image: none !important;
    border-color: #c6cacf !important;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.14) !important;
    text-decoration: none !important;
    filter: none !important;
}

.posted-by-google-button:visited {
    color: #202124 !important;
}

.posted-by-custom-buttons {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    margin: 0.85rem 0 0 !important;
    width: 100% !important;
}

.posted-by-custom-button {
    display: inline-grid !important;
    grid-template-columns: max-content minmax(0, 1fr) !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 0.5rem !important;
    width: 100% !important;
    min-height: 32px !important;
    padding: 0.35rem 0.65rem !important;
    color: var(--posted-by-custom-button-color) !important;
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #dadce0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease !important;
}

.posted-by-custom-button:visited {
    color: var(--posted-by-custom-button-color) !important;
}

.posted-by-custom-button:hover,
.posted-by-custom-button:focus,
.posted-by-custom-button:hover:visited,
.posted-by-custom-button:focus:visited {
    color: #ffffff !important;
    background: var(--posted-by-custom-button-color) !important;
    background-image: none !important;
    border-color: var(--posted-by-custom-button-color) !important;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.14) !important;
    text-decoration: none !important;
    filter: none !important;
}

.posted-by-custom-button i,
.posted-by-custom-button span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: currentColor !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.posted-by-custom-button span {
    justify-self: center !important;
    min-width: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.posted-by-custom-button i {
    flex: 0 0 auto !important;
    justify-self: start !important;
    width: var(--posted-by-custom-button-icon-size) !important;
    height: var(--posted-by-custom-button-icon-size) !important;
    font-size: var(--posted-by-custom-button-icon-size) !important;
    font-style: normal !important;
    pointer-events: none !important;
}

.posted-by-separator-custom-buttons {
    margin: 0.85rem 0 0;
}

.posted-by-google-mark {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    display: block !important;
}

.posted-by-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.posted-by-copy-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 99999;
    padding: 0.7rem 0.9rem;
    color: #ffffff;
    background: #111827;
    border-radius: 6px;
    font-size: 0.9rem;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

@media (max-width: 600px) {
    .posted-by-share-row {
        align-items: stretch;
        flex-direction: column;
    }

    .posted-by-google-button {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .posted-by-custom-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
