.ap-post-engagement {
    box-sizing: border-box;
    margin: 4px 0 18px;
    padding: 0 0 14px;
    background: #fff;
    border-bottom: 1px solid #eceef0;
}

.ap-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #2d2d2d;
    font-size: 14px;
    line-height: 1.35;
}

.ap-post-meta__primary,
.ap-post-meta__stats,
.ap-post-meta__author,
.ap-post-meta__stat {
    display: flex;
    align-items: center;
}

.ap-post-meta__primary {
    min-width: 0;
    gap: 9px;
}

.ap-post-meta__author {
    min-width: 0;
    color: #2d2d2d !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
}

.ap-post-meta__author:hover,
.ap-post-meta__author:focus {
    color: #168de2 !important;
}

.ap-post-meta__author:focus-visible,
.ap-share-button:focus-visible {
    outline: 3px solid #168de2;
    outline-offset: 3px;
}

.ap-post-meta__avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin-right: 8px;
    border-radius: 50%;
    object-fit: cover;
}

.ap-post-meta__name {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ap-post-meta__separator {
    color: #c3c5c8;
    font-size: 14px;
}

.ap-post-meta__date {
    color: #303236;
    white-space: nowrap;
}

.ap-post-meta__stats {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 14px;
}

.ap-post-meta__stat {
    gap: 5px;
    color: #2d2d2d;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

a.ap-post-meta__stat {
    color: #2d2d2d !important;
    text-decoration: none !important;
}

a.ap-post-meta__stat:hover,
a.ap-post-meta__stat:focus {
    color: #168de2 !important;
}

a.ap-post-meta__stat:focus-visible {
    outline: 2px solid #168de2;
    outline-offset: 3px;
}

.ap-post-meta__stat i {
    color: #333;
    font-size: 14px;
}

.ap-post-meta__views {
    color: #555;
}

.ap-post-meta__views i {
    color: #555;
}

.ap-share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
}

.ap-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    border-radius: 3px;
    color: #fff !important;
    font-size: 17px;
    line-height: 1;
    text-decoration: none !important;
    touch-action: manipulation;
    transition: opacity .2s ease, transform .2s ease;
}

.ap-share-button:hover {
    color: #fff !important;
    opacity: .88;
    transform: translateY(-2px);
}

.ap-share-button:active {
    transform: scale(.97);
}

.ap-share-button--facebook { background: #3f7ff1; }
.ap-share-button--x { background: #050505; }
.ap-share-button--linkedin { background: #298fc2; }
.ap-share-button--pinterest { background: #e8323a; }
.ap-share-button--reddit { background: #ff4500; }
.ap-share-button--whatsapp { background: #25d366; }

.ap-share-x {
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
}

.ap-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 1199px) {
    .ap-post-meta {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .ap-post-meta__stats {
        margin-left: auto;
    }
}

@media (max-width: 600px) {
    .ap-post-engagement {
        margin: 0 0 16px;
        padding: 0 0 12px;
    }

    .ap-post-meta {
        align-items: flex-start;
        gap: 8px;
        font-size: 13px;
    }

    .ap-post-meta__primary {
        width: 100%;
        flex-wrap: wrap;
        gap: 6px 8px;
    }

    .ap-post-meta__author {
        width: auto;
        font-size: 15px;
    }

    .ap-post-meta__avatar {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        margin-right: 8px;
    }

    .ap-post-meta__name {
        max-width: calc(100vw - 135px);
    }

    .ap-post-meta__separator {
        display: none;
    }

    .ap-post-meta__date {
        padding-left: 44px;
    }

    .ap-post-meta__stats {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 16px;
        margin-left: 0;
        padding-left: 44px;
    }

    .ap-share-row {
        gap: 8px;
        margin-top: 12px;
    }

    .ap-share-button {
        width: 44px;
        height: 44px;
        border-radius: 3px;
        font-size: 17px;
    }

    .ap-share-x {
        font-size: 17px;
    }
}

@media (max-width: 360px) {
    .ap-post-meta__date,
    .ap-post-meta__stats {
        padding-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ap-share-button {
        transition: none;
    }
}

#comments-wrapper {
    scroll-margin-top: 70px;
}
