.content {
    max-width: 1000px;
    width: 95%;
    /* margin: 120px auto 80px; */
    /* background: none !important; */
    padding: 0px !important;
    /* atas menyesuaikan navbar fixed */
    text-align: left;
}

.blogs-detail {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    color: #fff;
}

.bread {
    margin-bottom: 20px;
}

.bread a {
    color: #FFD54F;
    text-decoration: none;
}

.bread a:hover {
    text-decoration: underline;
}

.detail-head {
    /* text-align: left; */
    margin-bottom: 24px;
}

.detail-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #FFD54F;
}

.detail-cover {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 5px;
}

.detail-sub {
    font-size: 1.1rem;
    opacity: 0.9;
}

.detail-body {
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 32px;
}

.detail-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.detail-footer a {
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: #25D366;
    color: #fff;
}

.btn-primary:hover {
    filter: brightness(0.9);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .detail-title {
        font-size: 1.6rem;
    }

    .detail-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ===== Reveal Animations for Blog Detail ===== */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Breadcrumb: subtle fade-in */
.bread {
    opacity: 0;
    animation: fadeIn .5s ease forwards;
    animation-delay: .05s;
}

/* Header (title + cover + sub) */
.detail-head {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp .6s ease forwards;
    animation-delay: .12s;
}

/* Body text */
.detail-body {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp .6s ease forwards;
    animation-delay: .22s;
}

/* Footer buttons */
.detail-footer {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp .6s ease forwards;
    animation-delay: .32s;
}

/* Optional: gentle pop-in for cover image */
.detail-cover {
    will-change: transform, opacity;
    animation: fadeUp .6s ease forwards;
    animation-delay: .16s;
    /* slightly after title */
}

/* ===== Share Buttons ===== */
.share-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.share-section span {
    margin-right: 6px;
    font-weight: 600;
    color: #fff;
}

.share-section a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, filter 0.2s;
}

.share-section a:hover {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.share-section a[aria-label="Share on Facebook"] {
    background: #1877F2;
}

.share-section a[aria-label="Share on X"] {
    background: #000000;
}

.share-section a[aria-label="Share on Instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.share-section a[aria-label="Share on WhatsApp"] {
    background: #25D366;
}