/* ==========================================
   SHARE BAR
========================================== */

.share-bar{
    margin-top:48px;
    padding:24px;
    border-radius:24px;
    border:1px solid rgba(148,163,184,.22);
    background:linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
    box-shadow:0 18px 45px rgba(15,23,42,.10);
}

.share-bar__title{
    font-size:13px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--muted, rgba(100,116,139,.95));
    margin-bottom:16px;
}

.share-bar__buttons{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.share-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:11px 17px;
    border-radius:999px;
    text-decoration:none;
    font-weight:900;
    font-size:13px;
    line-height:1;
    transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
    border:1px solid rgba(148,163,184,.28);
    background:rgba(255,255,255,.06);
    color:inherit;
    cursor:pointer;
    font-family:inherit;
}

.share-btn:hover{
    transform:translateY(-2px);
    background:rgba(255,255,255,.10);
    border-color:rgba(148,163,184,.42);
    box-shadow:0 12px 28px rgba(15,23,42,.14);
}

.share-btn--copy.is-copied{
    background:rgba(34,197,94,.14);
    border-color:rgba(34,197,94,.34);
}

@media (max-width:768px){
    .share-bar{
        margin-top:34px;
        padding:18px;
        border-radius:20px;
    }

    .share-bar__buttons{
        gap:10px;
    }

    .share-btn{
        flex:1 1 calc(50% - 10px);
        min-width:120px;
    }
}

/* ==========================================
   RELATED POSTS
========================================== */

.single-post__cover-img{
    width:100%;
    height:auto;
    display:block;
}

.related-posts{
    margin-top:54px;
}

.related-posts__head{
    margin-bottom:20px;
}

.related-posts__head h2{
    font-size:28px;
    line-height:1.1;
    margin:0;
}

.related-posts__grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}

.related-card{
    min-width:0;
    overflow:hidden;
    border-radius:22px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.03);
    transition:.25s ease;
}

.related-card__media{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
}

.related-card__media picture{
    display:block;
    width:100%;
    height:100%;
}

.related-card__media img,
.related-card__media picture img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.related-card__body{
    padding:16px;
}

.related-card__title{
    display:block;
    font-size:16px;
    font-weight:700;
    line-height:1.4;
    text-decoration:none;
    color:inherit;
    margin-bottom:10px;
}

.related-card__meta{
    font-size:13px;
    opacity:.7;
}

@media (max-width:980px){
    .related-posts__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:640px){
    .related-posts__grid{
        grid-template-columns:1fr;
    }
}