/* 
============================== BLOG DETAIL PAGE ==============================
*/
.blog__detail {
    padding: 1rem;
    background-color: var(--gray-color-50);
}

.blog__detail__content {
    background-color: var(--white-color);
    border: 1px solid var(--gray-color-200);
    padding: 1em;
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.blog__detail__header {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
}

.blog__detail__header__icon {
    padding: 1rem;
    display: flex;
    justify-items: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--primary-color-50);
    color: var(--primary-color-500);
}

.blog__detail__header__icon svg {
    width: 2rem;
    height: 2rem;
}

.blog__detail__header h1 {
    font-size: 1.125rem;
    color: var(--gray-color-900);
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

.blog__detail__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.blog__detail__description {
    font-size: 1rem;
    color: var(--gray-color-700);
    line-height: 1.6;
    text-align: justify;
}

.blog__detail__cta {
    background: linear-gradient(135deg,
            var(--primary-color-500) 0%,
            var(--primary-color-600) 100%);
    color: var(--white-color);
    padding: 0.875rem;
    border-radius: 10px;
    text-align: center;
}

.blog__detail__cta h3 {
    font-size: 1rem;
    font-weight: 700;
}

.blog__detail__cta p {
    font-size: 0.875rem;
}

.blog__detail__cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.blog__detail__button__fill {
    display: inline-block;
    padding: 0.5rem 2rem;
    background-color: var(--white-color);
    color: var(--primary-color-500);
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.blog__detail__button__fill:hover {
    background-color: var(--gray-color-100);
    text-decoration: none;
}

.blog__detail__button__outline {
    display: inline-block;
    padding: 0.5rem 2rem;
    border: 2px solid var(--white-color);
    color: var(--white-color);
    background-color: transparent;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.blog__detail__button__outline:hover {
    background-color: var(--white-color);
    color: var(--primary-color-500);
    text-decoration: none;
}

.blog__detail__share {
    margin-top: 1rem;
}

.blog__detail__share h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-color-900);
}

.blog__detail__share__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.blog__detail__share__btn {
    flex: 1;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog__detail__share__btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.blog__detail__share__btn--facebook {
    background-color: #1877f2;
    color: var(--white-color);
}

.blog__detail__share__btn--facebook:hover {
    background-color: #0c63d4;
    transform: translateY(-2px);
}

.blog__detail__share__btn--instagram {
    background: linear-gradient(45deg,
            #f09433 0%,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%);
    color: var(--white-color);
}

.blog__detail__share__btn--instagram:hover {
    background: linear-gradient(45deg,
            #d67d2b 0%,
            #c75734 25%,
            #c11f3a 50%,
            #b01e5c 75%,
            #a01577 100%);
    transform: translateY(-2px);
}

.blog__detail__share__btn--tiktok {
    background-color: #000000;
    color: var(--white-color);
}

.blog__detail__share__btn--tiktok:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.blog__detail__share__btn--youtube {
    background-color: #ff0000;
    color: var(--white-color);
}

.blog__detail__share__btn--youtube:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
}

/* 
============================================= SM =============================================
*/
@media (min-width: 640px) {
    .blog__detail__hero__title {
        font-size: 2.5rem;
    }

    .blog__detail__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 
============================================= MD =============================================
*/
@media (min-width: 768px) {


    .blog__detail__hero {
        padding: 3rem;
    }

    .blog__detail__hero__image {
        height: 500px;
    }

    .blog__detail__intro {
        font-size: 1.25rem;
    }

    .blog__detail__section p {
        font-size: 1.0625rem;
    }

    .blog__detail__header h1 {
        font-size: 1.5rem;
    }

    .blog__detail__image {
        height: 500px;
    }

    .blog__detail__cta h3 {
        font-size: 1.125rem;
        font-weight: 700;
    }

    .blog__detail__cta p {
        font-size: 1rem;
    }

    .blog__detail__share h4 {
        font-size: 1.125rem;
        font-weight: 500;
        color: var(--gray-color-900);
    }
}

/* 
============================================= LG =============================================
*/
@media (min-width: 1024px) {
    .blog__detail__hero__title {
        font-size: 3rem;
    }

    .blog__detail__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog__detail__cta__buttons {
        flex-wrap: nowrap;
    }

    .blog__detail__share__buttons {
        flex-wrap: nowrap;
    }
}