/* Popout animation for blog post */
.popout {
    animation: popout 0.15s cubic-bezier(.17,.67,.83,.67);
}
@keyframes popout {
    0% {
        opacity: 0;
        transform: scale(0.9    );
    }
    /* 80% {
        opacity: 1;
        transform: scale(1.05);
    } */
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
body {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}
.blog-bg {
    position: fixed;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    object-fit: cover;
    filter: blur(32px) brightness(0.5);
}
.blog-main {
    position: relative;
    z-index: 2;
    max-width: 840px;
    margin: 120px auto 48px auto;
    background: rgba(20,20,20,0.85);
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.25);
    padding: 32px 36px;
    overflow-y: auto;
    color: rgba(255, 255, 255, 0.866);
}
.blog-main p{
    font-size: 18px;
    line-height: 150%;
}
.blog-header-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
@media (max-width: 700px) {
    .blog-main {
        margin: 80px 12px 24px 12px;
        padding: 16px 4px;
    }
}
.fading-hr {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent 0%, #ffffff 10%, #ffffff 90%, transparent 100%);
    margin: 24px 0;
    border: none;
}
.credits-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.contributor-section {
    display: inline-flex;
    background: rgba(30, 30, 40, 0.92);
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    padding: 16px 12px 12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 240px;
    max-width: 240px;
}
.contributor-title {
    flex: 0 0 100%;
}
.contributor-img {
    /* object-fit: contain; */
    /* width: 100%;
    height: 100%; */
    width: 130px;
    height: 130px;
    margin: auto;
    object-fit: cover;
    border-radius: 20%;
    border: 2px solid #fff;
    margin-bottom: 18px;
    margin-top: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.contributor-img img {
    width:100%; 
    height:100%; 
    border-radius:20%;
    object-fit: cover;
    object-position: center;
}
.contributor-details {
    justify-content: center;
    text-align: center;
    min-width: 0;
}

.share-section {
    text-align: center;
    margin: 24px 0 40px 0;
}

.share-btn {
    background: rgba(30, 30, 40, 0.92);
    color: white;
    border: none;
    width: 100%;
    height: 50px;
    margin-bottom: 0;
    border-radius: 12px;
    padding: 10px 24px;
    font-size: 16px;
    cursor: pointer;
    align-items: center;
    transition: background-color 0.2s ease, color 0.5s ease;
}

.share-btn:hover {
    background:#d5371b; /* smooth red-pink tone */
    color: #fff;
}

.share-icon {
    /* width: 20px; */
    height: 100%;
    vertical-align: middle;
    margin-right: 8px;
    filter: invert(1);
}

.share-msg {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #ff4b2b;
    opacity: 0;
    transition: opacity 0.3s ease;
}

