﻿.mhg-blog-detail {
    background: #f7f7f7;
    padding-bottom: 80px;
}

.mhg-blog-detail__back-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 24px;
}

.mhg-blog-detail__back {
    color: #111827;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mhg-blog-detail__hero {
    height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
}

    .mhg-blog-detail__hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.35);
    }

.mhg-blog-detail__category {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 2;
    background: #ff2b2b;
    color: #fff;
    padding: 12px 18px;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mhg-blog-detail__card {
    background: #fff;
    max-width: 1280px;
    margin: -120px auto 0;
    position: relative;
    z-index: 5;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.mhg-blog-detail__title {
    max-width: 900px;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 36px;
    color: #111827;
}

.mhg-blog-detail__author-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mhg-blog-detail__author-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mhg-blog-detail__author-image,
.mhg-blog-detail__initials {
    width: 72px;
    height: 72px;
    border-radius: 4px;
}

.mhg-blog-detail__author-image {
    object-fit: cover;
}

.mhg-blog-detail__author-photo {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.mhg-blog-detail__author-photo-link {
    display: inline-flex;
    text-decoration: none;
}

    .mhg-blog-detail__author-photo-link:hover .mhg-blog-detail__author-photo {
        opacity: 0.9;
    }

.mhg-blog-detail__author-name-link {
    color: inherit;
    text-decoration: none;
}

    .mhg-blog-detail__author-name-link:hover {
        text-decoration: underline;
    }

.mhg-blog-detail__initials {
    background: #ff2b2b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.mhg-blog-detail__author-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.mhg-blog-detail__author-name {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.mhg-blog-detail__author-badge {
    background: #ff2b2b;
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.mhg-blog-detail__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #4b5563;
    font-size: 18px;
}

    .mhg-blog-detail__meta i {
        color: #ff2b2b;
        margin-right: 6px;
    }

.mhg-blog-detail__share-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
}

.mhg-blog-detail__share-label {
    font-size: 22px;
    font-weight: 500;
    color: #111827;
}

.mhg-blog-detail__share-icons {
    display: flex;
    gap: 14px;
}

    .mhg-blog-detail__share-icons a {
        width: 48px;
        height: 48px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        color: #111827;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all .2s ease;
    }

        .mhg-blog-detail__share-icons a:hover {
            background: #ff2b2b;
            color: #fff;
            border-color: #ff2b2b;
        }

.mhg-blog-detail__content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 40px 80px;
    width: 100%;
}

.mhg-blog-detail__summary {
    font-size: 32px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 48px;
}

.mhg-blog-detail__content {
    font-size: 22px;
    line-height: 1.9;
    color: #111827;
}

    .mhg-blog-detail__content h2,
    .mhg-blog-detail__content h3 {
        margin-top: 48px;
        margin-bottom: 24px;
        font-weight: 700;
    }

    .mhg-blog-detail__content p {
        margin-bottom: 32px;
    }

    .mhg-blog-detail__content img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 40px 0;
    }

@media (max-width: 991px) {

    .mhg-blog-detail__hero {
        height: 420px;
    }

    .mhg-blog-detail__card {
        margin: -80px 24px 0;
        padding: 32px;
    }

    .mhg-blog-detail__title {
        font-size: 34px;
    }

    .mhg-blog-detail__summary {
        font-size: 24px;
    }
}

@media (max-width: 767px) {

    .mhg-blog-detail__hero {
        height: 320px;
    }

    .mhg-blog-detail__card {
        margin: -50px 16px 0;
        padding: 24px;
    }

    .mhg-blog-detail__title {
        font-size: 28px;
    }

    .mhg-blog-detail__author-row,
    .mhg-blog-detail__share-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .mhg-blog-detail__summary {
        font-size: 22px;
    }

    .mhg-blog-detail__content {
        font-size: 18px;
    }
}
