.blog-detail-hero {
    padding: 30px 0 30px;
    background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.blog-category {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #E15625;
}

.blog-meta {
    display: flex;
    gap: 14px;
    color: #6b7280;
    font-size: 0.92rem;
    margin-top: 14px;
}

.scroll-animate {
    opacity: 0;
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-animate.left-animation { transform: translateX(-60px); }
.scroll-animate.right-animation { transform: translateX(60px); }
.scroll-animate.fade-up { transform: translateY(40px); }
.scroll-animate.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #6b7280;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.blog-breadcrumb a {
    color: #2356A5;
    text-decoration: none;
}

.blog-detail-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.15;
    margin: 12px 0 16px;
}

.blog-detail-featured {
    padding-bottom: 30px;
}

.blog-detail-featured-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(35, 86, 165, 0.12);
}

.blog-detail-content-section {
    padding: 20px 0 90px;
}

.blog-article {
    background: #fff;
    border: 1px solid #e8eef7;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 12px 30px rgba(35, 86, 165, 0.05);
}

.blog-article h2,
.blog-article h3,
.blog-article h4 {
    font-family: 'Playfair Display', serif;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    color: #1f2937;
}

.blog-article p,
.blog-article li {
    color: #374151;
    line-height: 1.8;
    font-size: 1.05rem;
}

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

.blog-article ul,
.blog-article ol {
    padding-left: 1.4rem;
    margin: 1rem 0 1.4rem;
}

.blog-article ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

.blog-article ol li {
    list-style: decimal;
    margin-bottom: 0.5rem;
}

.blog-article table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    border: 1px solid #dbe5f2;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.blog-article table th,
.blog-article table td {
    padding: 12px 14px;
    text-align: left;
    border: 0;
    border-right: 1px solid #dbe5f2;
    border-bottom: 1px solid #dbe5f2;
    vertical-align: top;
}

.blog-article table th:last-child,
.blog-article table td:last-child {
    border-right: 0;
}

.blog-article table tr:last-child th,
.blog-article table tr:last-child td {
    border-bottom: 0;
}

.blog-article table th {
    background: #eef3fa;
    color: #2356A5;
    font-weight: 600;
}

.blog-article table td {
    background: #fff;
}

.blog-article blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 4px solid #E15625;
    background: #fff7f3;
    border-radius: 0 14px 14px 0;
}

.blog-article a {
    color: #2356A5;
    text-decoration: underline;
}

.blog-article iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 16px;
    margin: 24px 0;
}

.blog-sidebar-card {
    background: #fff;
    border: 1px solid #e8eef7;
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(35, 86, 165, 0.05);
}

.blog-sidebar-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 16px;
}

.blog-share-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    background: #eef3fa;
    color: #2356A5;
    text-decoration: none;
    font-weight: 600;
}

.blog-related-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.blog-related-item {
    text-decoration: none;
    color: inherit;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8eef7;
}

.blog-related-item strong {
    display: block;
    margin-bottom: 4px;
}

.blog-related-item span {
    color: #E15625;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-faq-section {
    margin-top: 34px;
}

.blog-faq-section h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 18px;
}

.blog-faq-section h2 span {
    color: #256C91;
}

.blog-faq-accordion .accordion-item {
    border: 1px solid #e8eef7;
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 12px;
}

.blog-faq-accordion .accordion-button {
    font-weight: 600;
    background: #fff;
    box-shadow: none;
}

.blog-faq-accordion .accordion-button:not(.collapsed) {
    color: #2356A5;
    background: #f7faff;
}

@media (max-width: 991px) {
    .blog-article {
        padding: 22px;
    }
}

/* ================= BACK TO TOP ================= */

#backToTopBtn {
    position: fixed;
    bottom: 55px;
    right: 20px;
    z-index: 9999;
    cursor: pointer;
    display: none;
}

#backToTopBtn div {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#backToTopBtn button {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FF794A;
    border: 3px solid #FF794A;
    border-radius: 50%;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(225, 86, 37, 0.28);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

#backToTopBtn button:hover {
    background: #2356A5;
    border-color: #2356A5;
    transform: translateY(-2px);
}

#backToTopBtn p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #FF794A;
    margin-bottom: 0;
    margin-top: 6px;
    white-space: nowrap;
}

#backToTopBtn.scrolled-90 p {
    color: #FF794A;
}

@media (max-width: 767px) {
    #backToTopBtn {
        bottom: 24px;
        right: 16px;
    }

    #backToTopBtn button {
        width: 42px;
        height: 42px;
    }

    #backToTopBtn p {
        font-size: 12px;
    }
}
