/**
 * Tripzolo - Blog Detail Page Styles
 */

/* Reading progress bar */
#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #f43f5e, #ff6b81, #ffca28);
    width: 0%;
    z-index: 99999;
    transition: width 0.1s ease-out;
}

/* Breadcrumb bar */
.blog-breadcrumb-wrap {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
}
.blog-breadcrumb {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    font-size: 13.5px;
    font-weight: 500;
}
.blog-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}
.blog-breadcrumb a:hover {
    color: #f43f5e;
}
.blog-breadcrumb .breadcrumb-item.active {
    color: #0f172a;
    font-weight: 600;
}

/* Blog Header */
.blog-header-section {
    padding-top: 36px;
    padding-bottom: 24px;
}
.blog-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 30px;
    color: #ffffff;
}
.blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}
.blog-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 18px 0 16px;
}
@media (max-width: 767.98px) {
    .blog-main-title {
        font-size: 1.75rem;
    }
}
.blog-lead-text {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #475569;
    font-weight: 400;
    margin-bottom: 24px;
}

/* Author & Share Bar */
.blog-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 28px;
}
.blog-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.blog-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.blog-author-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}
.blog-author-role {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0;
}
.blog-share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.blog-share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.blog-share-whatsapp { background: #25D366; }
.blog-share-facebook { background: #1877F2; }
.blog-share-twitter { background: #000000; }
.blog-share-linkedin { background: #0A66C2; }
.blog-share-copy { background: #64748b; cursor: pointer; border: none; }

/* Hero Image */
.blog-hero-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    background: #0f172a;
}
.blog-hero-image-wrap img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Table of Contents */
.blog-toc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #f43f5e;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 36px;
}
.blog-toc-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-toc-list {
    margin-bottom: 0;
    padding-left: 18px;
}
.blog-toc-list li {
    margin-bottom: 8px;
    font-size: 14px;
}
.blog-toc-list li:last-child {
    margin-bottom: 0;
}
.blog-toc-list a {
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
.blog-toc-list a:hover {
    color: #f43f5e;
    text-decoration: underline;
}

/* Article Content Body */
.blog-article-body {
    font-family: 'Manrope', sans-serif;
    font-size: 16.5px;
    line-height: 1.8;
    color: #334155;
}
.blog-article-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.35;
    padding-bottom: 8px;
    border-bottom: 1.5px solid #f1f5f9;
}
.blog-article-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 24px;
    margin-bottom: 12px;
}
.blog-article-body p {
    margin-bottom: 20px;
}

/* Highlight / Pro-Tip Box */
.blog-protip-box {
    background: linear-gradient(135deg, #fff1f2 0%, #fff7ed 100%);
    border: 1px solid #ffe4e6;
    border-radius: 14px;
    padding: 22px;
    margin: 30px 0;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.05);
}
.blog-protip-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #e11d48;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-protip-list {
    margin-bottom: 0;
    padding-left: 18px;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.7;
}

/* FAQ Accordion in Blog */
.blog-faq-section {
    margin: 40px 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
}
.blog-faq-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
}
.blog-faq-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 14px 0;
}
.blog-faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.blog-faq-q {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.blog-faq-a {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
    padding-left: 22px;
}

/* Author Bio Box */
.blog-author-bio-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}
@media (max-width: 575.98px) {
    .blog-author-bio-box {
        flex-direction: column;
        text-align: center;
    }
}
.blog-author-bio-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

/* Sidebar Widgets */
.blog-sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.blog-sidebar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 10px;
}
.blog-sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: #f43f5e;
    border-radius: 2px;
}

/* Sidebar CTA Box */
.blog-cta-widget {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: none;
    border-radius: 18px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
}
.blog-cta-widget::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}
.blog-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f43f5e;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
}
.blog-cta-btn:hover {
    background: #e11d48;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(244, 63, 94, 0.45);
}
.blog-cta-btn-whatsapp {
    background: #25D366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.blog-cta-btn-whatsapp:hover {
    background: #1eb956;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* Sidebar Package Card */
.blog-side-pkg-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    text-decoration: none !important;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}
.blog-side-pkg-card:last-child {
    margin-bottom: 0;
}
.blog-side-pkg-card:hover {
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transform: translateX(4px);
    border-color: #e2e8f0;
}
.blog-side-pkg-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.blog-side-pkg-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-side-pkg-price {
    font-size: 13px;
    font-weight: 700;
    color: #f43f5e;
}
.blog-side-pkg-duration {
    font-size: 11px;
    color: #64748b;
}

/* Sidebar Recent Story Item */
.blog-recent-story-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}
.blog-recent-story-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.blog-recent-story-item:hover {
    opacity: 0.85;
}
.blog-recent-story-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.blog-recent-story-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-recent-story-date {
    font-size: 11.5px;
    color: #94a3b8;
}

/* Copied toast */
#toast-copied {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: none;
    z-index: 999999;
}

