.blog-detail-shell {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(161, 44, 47, 0.08);
    box-shadow: 0 28px 72px rgba(24, 32, 56, 0.08);
    overflow: hidden;
}

.blog-detail-hero {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(24, 32, 56, 0.18), rgba(24, 32, 56, 0.18)), #f8f4f1;
}

.blog-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.88);
}

.blog-detail-hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.35));
}

.blog-detail-hero .hero-label {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #a12c2f;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.blog-detail-body {
    padding: 38px 42px 42px;
}

.blog-detail-body > * {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.blog-detail-title {
    font-size: 2.75rem;
    line-height: 1.05;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 18px;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 26px;
    color: #5e5e5e;
}

.blog-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.2rem;
    border-radius: 999px;
    background: rgba(161, 44, 47, 0.06);
    border: 1px solid rgba(161, 44, 47, 0.11);
    color: #5d2d2f;
    font-size: 0.95rem;
    font-weight: 600;
}

.blog-detail-meta i {
    color: #a12c2f;
}

.blog-detail-excerpt {
    max-width: 860px;
    color: #4f4f4f;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 30px;
}

.blog-detail-content {
    color: #434343;
    line-height: 1.88;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4 {
    color: #1f1f1f;
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.blog-detail-content ul,
.blog-detail-content ol {
    padding-left: 1.3rem;
    margin-bottom: 1.5rem;
}

.blog-detail-content img,
.blog-detail-content figure {
    width: 100%;
    max-width: 100%;
    border-radius: 22px;
    margin: 2rem 0;
}

.blog-detail-content blockquote {
    margin: 2rem 0;
    padding: 24px 26px;
    border-left: 4px solid #a12c2f;
    background: rgba(161, 44, 47, 0.06);
    border-radius: 18px;
    color: #4a4a4a;
    font-style: italic;
}

.blog-detail-action {
    margin-top: 36px;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 32px;
    border-radius: 24px;
    border: 1px solid rgba(161, 44, 47, 0.12);
    background: linear-gradient(135deg, rgba(161, 44, 47, 0.06), rgba(255, 255, 255, 0.95));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.blog-detail-action h5 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f1f1f;
}

.blog-detail-action .btn-cta {
    min-width: 180px;
    background: #a12c2f;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-detail-action .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(161, 44, 47, 0.25);
}

.blog-seo-section {
    margin-top: 38px;
    position: relative;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding: 32px 32px;
    border: 1px solid rgba(161, 44, 47, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(161, 44, 47, 0.08), transparent 28%),
        linear-gradient(180deg, #fffaf7 0%, #ffffff 62%);
    box-shadow: 0 20px 48px rgba(24, 32, 56, 0.06);
    overflow: hidden;
}

.blog-seo-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #a12c2f 0%, #d98b5f 52%, #f3d5b8 100%);
    opacity: 0.9;
}

.blog-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(161, 44, 47, 0.07);
    color: #a12c2f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(161, 44, 47, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.blog-section-badge:before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a12c2f 0%, #d98b5f 100%);
    box-shadow: 0 0 0 4px rgba(161, 44, 47, 0.08);
}

.blog-seo-section h2 {
    position: relative;
    z-index: 1;
    font-size: 1.85rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #1f1f1f;
    letter-spacing: -0.02em;
}

.blog-seo-section h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #1f1f1f;
}

.blog-seo-section p:last-child,
.blog-faq-item p:last-child {
    margin-bottom: 0;
}

.blog-seo-section > p {
    position: relative;
    z-index: 1;
    color: #555555;
    line-height: 1.85;
}

.blog-seo-grid {
    counter-reset: overview-card;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.blog-seo-card {
    counter-increment: overview-card;
    position: relative;
    padding: 22px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f3 100%);
    border: 1px solid rgba(161, 44, 47, 0.08);
    box-shadow: 0 14px 30px rgba(24, 32, 56, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-seo-card:before {
    content: counter(overview-card, decimal-leading-zero);
    position: absolute;
    top: 16px;
    left: 16px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(161, 44, 47, 0.12), rgba(217, 139, 95, 0.16));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9c3534;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.blog-seo-card:hover,
.blog-question-item:hover,
.blog-faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 36px rgba(24, 32, 56, 0.08);
}

.blog-seo-card p {
    margin: 0;
    padding-top: 42px;
    color: #4a4a4a;
}

.blog-seo-list {
    margin: 0;
    padding-left: 1.15rem;
}

.blog-seo-list li {
    margin-bottom: 1rem;
    color: #474747;
    padding-left: 0.2rem;
}

.blog-question-stack,
.blog-faq-list {
    display: grid;
    gap: 16px;
}

.blog-question-item,
.blog-faq-item {
    position: relative;
    padding: 20px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(161, 44, 47, 0.08);
    box-shadow: 0 12px 28px rgba(24, 32, 56, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-question-item {
    font-weight: 600;
    color: #2c2c2c;
    padding-left: 58px;
}

.blog-question-item:before {
    content: '?';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a12c2f 0%, #c76f49 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
}

.blog-faq-item h3 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.blog-faq-item h3:before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a12c2f 0%, #d98b5f 100%);
    flex-shrink: 0;
}

.blog-keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-keyword-cloud span {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.05rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(161, 44, 47, 0.08), rgba(217, 139, 95, 0.12));
    color: #7d1f23;
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid rgba(161, 44, 47, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.blog-seo-note {
    margin-top: 18px;
    padding: 14px 16px;
    color: #666666;
    font-size: 0.95rem;
    border-radius: 16px;
    background: rgba(161, 44, 47, 0.04);
    border: 1px dashed rgba(161, 44, 47, 0.14);
}

@media (max-width: 991.98px) {
    .blog-detail-body {
        padding: 28px 24px 30px;
    }

    .blog-seo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .blog-detail-title {
        font-size: 2.2rem;
    }

    .blog-detail-hero {
        min-height: 260px;
    }

    .blog-detail-action {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-detail-action .btn-cta {
        width: 100%;
        text-align: center;
    }

    .blog-seo-section {
        margin-top: 28px;
        width: calc(100% - 8px);
        max-width: calc(100% - 8px);
        padding: 24px 18px;
        border-radius: 22px;
    }

    .blog-detail-action {
        width: calc(100% - 8px);
        max-width: calc(100% - 8px);
    }

    .blog-seo-section h2 {
        font-size: 1.42rem;
    }

    .blog-seo-card,
    .blog-question-item,
    .blog-faq-item {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .blog-question-item {
        padding-left: 50px;
    }

    .blog-question-item:before {
        left: 16px;
        width: 24px;
        height: 24px;
    }

    .blog-keyword-cloud span {
        font-size: 0.86rem;
        padding: 0.68rem 0.92rem;
    }
}
