/* Unified listing + blog detail — enterprise */
.detail-enterprise-page {
    padding-bottom: 3rem;
}

.blog-comments-fullwidth {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.blog-comments-fullwidth .blog-comments-section {
    width: 100%;
}

.detail-hero {
    border-radius: 20px;
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid transparent;
}

.detail-hero--blog {
    background: linear-gradient(135deg, #fff4e6 0%, #fffaf3 45%, #fff8f0 100%);
    border-color: rgba(247, 103, 7, 0.2);
}

.detail-hero--listing {
    background: linear-gradient(135deg, #e7f5ff 0%, #fff 42%, #f8f9fa 100%);
    border-color: rgba(13, 110, 253, 0.12);
}

.detail-hero--house {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 42%, #fff0f0 100%);
    border-color: rgba(255, 90, 95, 0.18);
}

.detail-hero--friend {
    background: linear-gradient(135deg, #e7f5ff 0%, #fff 42%, #f0f7ff 100%);
    border-color: rgba(13, 110, 253, 0.15);
}

.detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.detail-hero--blog .detail-kicker {
    color: #e8590c;
    background: rgba(247, 103, 7, 0.12);
}

.detail-hero--listing .detail-kicker {
    color: #1864ab;
    background: rgba(13, 110, 253, 0.1);
}

.detail-hero--house .detail-kicker {
    color: #e03131;
    background: rgba(255, 90, 95, 0.12);
}

.detail-hero--friend .detail-kicker {
    color: #1864ab;
    background: rgba(13, 110, 253, 0.1);
}

.detail-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.detail-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
}

.detail-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.detail-hero--blog .detail-author:hover { color: #e8590c; }
.detail-hero--listing .detail-author:hover { color: #1864ab; }
.detail-hero--house .detail-author:hover { color: #e03131; }
.detail-hero--friend .detail-author:hover { color: #1864ab; }

.detail-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #495057;
    background: #fff;
    border: 1px solid #e9ecef;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.detail-meta-bar .blog-action-btn.detail-meta-action {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.detail-meta-bar .blog-action-btn.detail-meta-action em {
    padding: 1px 7px;
    font-size: 0.75rem;
}

.detail-meta-bar .blog-action-btn.detail-meta-action:disabled {
    opacity: 1;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.detail-meta-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.detail-meta-actions .blog-action-btn.detail-meta-action.is-like,
.detail-meta-bar .blog-action-btn.detail-meta-action.is-like {
    border-color: #f58242;
    background: #fff5f0;
    color: #e85d26;
}

.detail-meta-actions .blog-action-btn.detail-meta-action.is-fav,
.detail-meta-bar .blog-action-btn.detail-meta-action.is-fav {
    border-color: #f0ad4e;
    background: #fffbf0;
    color: #c98a00;
}

.listing-preview-shell .blog-action-btn.detail-meta-action.is-like {
    border-color: #f58242;
    background: #fff5f0;
    color: #e85d26;
}

.listing-preview-shell .blog-action-btn.detail-meta-action.is-fav {
    border-color: #f0ad4e;
    background: #fffbf0;
    color: #c98a00;
}

.detail-cover-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
    margin-bottom: 1.5rem;
    background: #f8f9fa;
}

.detail-enterprise-page .detail-cover-wrap .main-image {
    width: 100%;
    max-height: 520px;   
    height: auto;
    min-height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.detail-enterprise-page .main-image-wrapper {
    margin-top: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 16px;
    overflow: hidden;
}

.detail-body-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
    margin-bottom: 1.25rem;
}

.detail-body-card h5 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.detail-body-card .description,
.detail-body-card .blog-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #212529;
}

/*.detail-sidebar {
    position: sticky;
    top: 88px;
}*/

.detail-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detail-stat-tile {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    text-align: center;
}

.detail-stat-tile strong {
    display: block;
    font-size: 1.2rem;
    color: #1a1a2e;
}

.detail-stat-tile span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #868e96;
}

.detail-stat-tile--price strong {
    font-size: 1.35rem;
    color: #ff5a5f;
}

.detail-actions-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
    margin-bottom: 1rem;
}

.detail-price-banner {
    background: linear-gradient(135deg, #fff5f5, #fff);
    border: 1px solid rgba(255, 90, 95, 0.15);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.detail-price-banner .detail-price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #868e96;
    margin-bottom: 0.25rem;
}

.detail-price-banner .detail-price-value {
    font-size: 2rem;
    font-weight: 800;
    color: #ff5a5f;
    line-height: 1.1;
}

.detail-purpose-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.1);
    color: #1864ab;
    margin-bottom: 0.75rem;
}

.detail-enterprise-page .thumbnail-row {
    padding: 0 0 1rem;
}

.detail-enterprise-page .blog-comment-item {
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.detail-enterprise-page .blog-comment-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-enterprise-page .detail-stat-tile strong {
    font-size: clamp(0.85rem, 2vw, 1.2rem);
    word-break: break-word;
}

@media (max-width: 991.98px) {
    .detail-sidebar {
        position: static;
    }

    .detail-hero {
        padding: 1.25rem;
    }
}

