
.blog-detail-page {
    background: #f8fafc;
    color: #172033;
}

.blog-detail-hero {
    padding: 56px 0 32px;
    background:
            radial-gradient(circle at top left, rgba(13, 110, 253, 0.12), transparent 34%),
            linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.blog-breadcrumb {
    justify-content: center;
    margin-bottom: 0;
    font-size: 14px;
}

.blog-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    color: #0d6efd;
}

.blog-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    font-size: 14px;
    font-weight: 600;
}

.blog-detail-title {
    max-width: 920px;
    margin: 0 auto;
    color: #0f172a;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.blog-detail-subtitle {
    max-width: 780px;
    margin: 20px auto 0;
    color: #64748b;
    font-size: 18px;
    line-height: 1.7;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    margin-top: 24px;
    color: #64748b;
    font-size: 14px;
}

.blog-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-cover-section {
    padding: 24px 0 40px;
}

.blog-cover-wrapper {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    background: #e2e8f0;
}

.blog-cover-image {
    width: 100%;
    height: min(540px, 58vw);
    object-fit: cover;
    display: block;
}

.blog-content-section {
    padding: 24px 0 80px;
}

.blog-content-card,
.blog-sidebar-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.blog-content-card {
    padding: clamp(24px, 4vw, 44px);
}

.blog-summary-box {
    margin-bottom: 32px;
    padding: 22px 24px;
    border-left: 4px solid #0d6efd;
    border-radius: 18px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 500;
}

.blog-content {
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    color: #0f172a;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 34px;
    margin-bottom: 16px;
}

.blog-content h2 {
    font-size: 30px;
}

.blog-content h3 {
    font-size: 24px;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content a {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}

.blog-content a:hover {
    text-decoration: underline;
}

.blog-content ul,
.blog-content ol {
    padding-left: 22px;
    margin-bottom: 24px;
}

.blog-content li {
    margin-bottom: 10px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 24px 0;
}

.blog-content blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.7;
    font-weight: 600;
}

.blog-share-box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 24px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.blog-share-box p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 14px;
}

.blog-share-buttons {
    display: flex;
    gap: 10px;
}

.blog-share-buttons a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-share-buttons a:hover {
    background: #0d6efd;
    color: #ffffff;
    transform: translateY(-2px);
}

.blog-sidebar {
    position: sticky;
    top: 96px;
}

.blog-sidebar-card {
    padding: 24px;
    margin-bottom: 24px;
}

.blog-sidebar-card h3 {
    margin-bottom: 18px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
}

.blog-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-info-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid #e2e8f0;
}

.blog-info-list li:last-child {
    border-bottom: none;
}

.blog-info-list span {
    color: #64748b;
}

.blog-info-list strong {
    color: #0f172a;
    text-align: right;
}

.related-post-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-post-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
}

.related-post-item img {
    width: 88px;
    height: 72px;
    flex: 0 0 88px;
    object-fit: cover;
    border-radius: 14px;
    background: #e2e8f0;
}

.related-post-item strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.related-post-item small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    color: #64748b;
    font-size: 13px;
}

.related-post-item:hover strong {
    color: #0d6efd;
}

.blog-cta-card {
    background:
            linear-gradient(135deg, rgba(13, 110, 253, 0.95), rgba(11, 94, 215, 0.95)),
            url("<?= base_url('assets/site/images/patterns/travel-pattern.png') ?>");
    background-size: cover;
    color: #ffffff;
    border: none;
}

.blog-cta-card h3,
.blog-cta-card p {
    color: #ffffff;
}

.blog-cta-card p {
    opacity: 0.9;
}

.blog-cta-card .btn {
    border-radius: 999px;
    background: #ffffff;
    color: #0d6efd;
    border: none;
    font-weight: 700;
}

.blog-cta-card .btn:hover {
    background: #eff6ff;
    color: #0b5ed7;
}

@media (max-width: 991.98px) {
    .blog-sidebar {
        position: static;
    }

    .blog-share-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .blog-detail-hero {
        padding-top: 36px;
    }

    .blog-cover-wrapper {
        border-radius: 20px;
    }

    .blog-cover-image {
        height: 260px;
    }

    .blog-content-card,
    .blog-sidebar-card {
        border-radius: 20px;
    }

    .blog-content h2 {
        font-size: 24px;
    }

    .blog-content h3 {
        font-size: 21px;
    }
}
