.blog-detail-hero {
    background:
        radial-gradient(ellipse 80% 60% at 90% 10%, rgba(205, 219, 55, 0.18), transparent 60%),
        radial-gradient(ellipse 70% 60% at 5% 80%, rgba(255, 112, 67, 0.12), transparent 60%),
        #fff;
    padding-top: 50px;
    padding-bottom: 50px;
}

.blog-breadcrumb {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 16px;
}

.blog-breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

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

.blog-breadcrumb .sep {
    margin: 0 8px;
    color: #c2c2c2;
}

.blog-hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: #4a4a4a;
    font-size: 14px;
}

.blog-hero-meta .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.avatar-initials,
.author-avatar-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fde2d6;
    color: #eb5017;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.avatar-initials {
    font-size: 14px;
}

.blog-hero-meta .meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c2c2c2;
    display: inline-block;
}

.blog-hero-title {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.blog-hero-title .text-brand {
    color: #eb5017;
}

.blog-featured-image {
    margin-top: -30px;
}

.featured-image-wrap {
    border-radius: 24px;
    overflow: hidden;
    background: #f4f4f4;
    aspect-ratio: 12 / 4;
    position: relative;
}

.featured-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-image-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(45deg, #fde2d6 0 16px, #fdeee7 16px 32px);
    color: #b6552b;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-article {
    padding: 56px 0;
}

.article-body {
    font-size: 17px;
    line-height: 1.75;
    color: #2c2c2c;
}

.article-intro {
    font-size: 19px;
    color: #3a3a3a;
    font-weight: 500;
}

.article-body h2 {
    font-weight: 600;
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #111;
    letter-spacing: -0.01em;
}

.article-body h3 {
    font-weight: 700;
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #111;
}

.article-body p {
    margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
    padding-left: 22px;
    margin-bottom: 22px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body strong {
    color: #111;
}

.article-body blockquote {
    margin: 32px 0;
    padding: 22px 28px;
    border-left: 4px solid #eb5017;
    background: #fdeee7;
    border-radius: 0 12px 12px 0;
    font-size: 18px;
    font-style: italic;
    color: #3a3a3a;
}

.article-body blockquote::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 48px;
    color: #eb5017;
    line-height: 0;
    vertical-align: -18px;
    margin-right: 6px;
}

.article-figure {
    border-radius: 16px;
    overflow: hidden;
    margin: 28px 0;
    background: #f4f4f4;
    aspect-ratio: 16 / 9;
    position: relative;
}

.article-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-figure-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(45deg, #fde2d6 0 14px, #fdeee7 14px 28px);
    color: #b6552b;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    text-transform: uppercase;
}

.takeaway-card {
    background: #fff7f3;
    border: 1px solid rgba(235, 80, 23, 0.18);
    border-radius: 18px;
    padding: 24px 26px;
    margin: 36px 0;
}

.takeaway-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 14px;
    color: #111;
}

.takeaway-card h4 i {
    color: #eb5017;
}

.takeaway-card ul {
    margin: 0;
    padding-left: 18px;
}

.takeaway-card li {
    font-size: 15px;
    margin-bottom: 8px;
    color: #3a3a3a;
}

.author-card {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 18px;
    background: #fff;
    margin-top: 48px;
}

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-avatar-initials {
    font-size: 24px;
}

.author-card h6 {
    font-weight: 700;
    margin-bottom: 4px;
}

.author-card .author-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-orange, #eb5017);
    margin-bottom: 4px;
}

.author-card p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

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

.side-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 22px;
}

.side-card-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: -0.005em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.side-card-title .bar {
    width: 4px;
    height: 18px;
    background: #eb5017;
    border-radius: 2px;
}

.blog-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.blog-details-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}

.blog-details-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.blog-details-list .label {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-details-list .label i {
    color: #eb5017;
}

.blog-details-list .value {
    font-weight: 600;
    color: #111;
    text-align: right;
}

.topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-chips span {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #333;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}

.toc-list li {
    counter-increment: toc;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.toc-list li:last-child {
    border-bottom: 0;
}

.toc-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #3a3a3a;
    text-decoration: none;
    transition: color 0.15s;
}

.toc-list a::before {
    content: counter(toc, decimal-leading-zero);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 700;
    color: #eb5017;
}

.toc-list a:hover,
.toc-list a.active {
    color: #eb5017;
}

/* Admin-authored HTML table of contents: keep it visually identical to .toc-list */
.toc-html ul,
.toc-html ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}

.toc-html li {
    counter-increment: toc;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
    color: #3a3a3a;
}

.toc-html li:last-child {
    border-bottom: 0;
}

.toc-html a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #3a3a3a;
    text-decoration: none;
    transition: color 0.15s;
}

.toc-html li > a::before {
    content: counter(toc, decimal-leading-zero);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 700;
    color: #eb5017;
}

.toc-html a:hover,
.toc-html a.active {
    color: #eb5017;
}

.toc-html p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #3a3a3a;
}

.toc-html p:last-child {
    margin-bottom: 0;
}

.related-blog {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s;
}

.related-blog:last-child {
    border-bottom: 0;
}

.related-blog:hover {
    transform: translateX(2px);
    color: inherit;
}

.related-blog-thumb {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    flex-shrink: 0;
    background: repeating-linear-gradient(45deg, #fde2d6 0 10px, #fdeee7 10px 20px);
    overflow: hidden;
    position: relative;
}

.related-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-blog-body h6 {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 6px;
    color: #111;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-blog:hover .related-blog-body h6 {
    color: #eb5017;
}

.related-blog-body small {
    color: #6c757d;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.related-blog-body small i {
    font-size: 13px;
}

.newsletter-card {
    background: linear-gradient(135deg, #eb5017 0%, #d8430e 100%);
    color: #fff;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -50px;
    right: -40px;
}

.newsletter-card h6 {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 6px;
    position: relative;
}

.newsletter-card p {
    font-size: 13px;
    opacity: 0.92;
    margin-bottom: 14px;
    position: relative;
}

.newsletter-card .form-control {
    border: none;
    height: 42px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.newsletter-card .btn {
    width: 100%;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 10px;
    height: 42px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-card .btn:hover:not(:disabled) {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.newsletter-card .btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: none;
}

.newsletter-card .btn:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

.newsletter-card .newsletter-form {
    position: relative;
}

/* Loading + result feedback for the subscribe box */
.newsletter-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    animation: newsletter-spin 0.6s linear infinite;
}

.newsletter-form.is-loading .newsletter-spinner {
    display: inline-block;
}

.newsletter-form.is-loading .newsletter-btn-label {
    display: none;
}

.newsletter-card .newsletter-message {
    display: none;
    margin: 10px 0 0;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.45;
    position: relative;
    color: #fff;
    opacity: 1;
}

.newsletter-card .newsletter-message.is-visible {
    display: block;
    animation: newsletter-fade 0.25s ease;
}

.newsletter-card .newsletter-message.is-success {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.newsletter-card .newsletter-message.is-error {
    background: rgba(17, 17, 17, 0.28);
    border: 1px solid rgba(17, 17, 17, 0.4);
}

@keyframes newsletter-spin {
    to { transform: rotate(360deg); }
}

@keyframes newsletter-fade {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

.side-share {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.side-share .share-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #eb5017;
    font-size: 16px;
    transition: all 0.15s;
}

.side-share .share-btn:hover {
    background: #fdeee7;
    border-color: #eb5017;
}

.side-share .share-btn.is-copied {
    background: #eb5017;
    border-color: #eb5017;
    color: #fff;
}

.post-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.pager-card {
    display: block;
    padding: 18px 20px;
    border: 1px solid #eee;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.18s;
}

.pager-card:hover {
    border-color: #eb5017;
    background: #fff7f3;
    color: inherit;
}

.pager-card .pager-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.pager-card.next .pager-label {
    justify-content: flex-end;
}

.pager-card.next h6 {
    text-align: right;
}

.pager-card h6 {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .post-pager {
        grid-template-columns: 1fr;
    }

    .blog-detail-hero {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .article-body {
        font-size: 16px;
    }

    .article-body h2 {
        font-size: 24px;
    }

    .author-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   tk- blog detail (database-driven blog detail markup)
   ========================================================================== */

.tk-scroll-section {
    width: 100%;
}

.tk-is-hidden {
    display: none !important;
}

/* ---------- Hero ---------- */
.tk-blog-hero {
    background:
        radial-gradient(ellipse 80% 60% at 90% 10%, rgba(205, 219, 55, 0.18), transparent 60%),
        radial-gradient(ellipse 70% 60% at 5% 80%, rgba(255, 112, 67, 0.12), transparent 60%),
        #fff;
    padding-top: 40px;
    padding-bottom: 60px;
}

.tk-blog-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(235, 80, 23, 0.1);
    color: #eb5017;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.tk-blog-category-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #eb5017;
}

.tk-blog-title {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.tk-blog-title .text-brand {
    color: #eb5017;
}

.tk-blog-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    color: #4a4a4a;
    font-size: 14px;
}

.tk-blog-meta-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #fde2d6;
}

.tk-blog-meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c2c2c2;
    display: inline-block;
}

.tk-blog-meta-author {
    font-weight: 700;
    color: #111;
    font-size: 15px;
}

.tk-blog-meta-role {
    color: #6c757d;
    font-size: 13px;
}

.tk-blog-meta .text-brand {
    color: #eb5017;
}

/* ---------- Featured image ---------- */
.tk-blog-featured-offset {
    margin-top: -30px;
}

.tk-blog-featured {
    border-radius: 24px;
    overflow: hidden;
    background: #f4f4f4;
    aspect-ratio: 16 / 8;
    position: relative;
}

.tk-blog-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tk-blog-featured-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(45deg, #fde2d6 0 16px, #fdeee7 16px 32px);
    color: #b6552b;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---------- Article body ---------- */
.tk-blog-section {
    padding: 56px 0;
}

.tk-blog-content {
    font-size: 17px;
    line-height: 1.75;
    color: #2c2c2c;
}

.tk-blog-content h2 {
    font-weight: 600;
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #111;
    letter-spacing: -0.01em;
    scroll-margin-top: 100px;
}

.tk-blog-content h3 {
    font-weight: 700;
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 12px;
    color: #111;
    scroll-margin-top: 100px;
}

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

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

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

.tk-blog-content strong {
    color: #111;
}

.tk-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.tk-blog-lead {
    font-size: 19px;
    color: #3a3a3a;
    font-weight: 500;
}

.tk-blog-content blockquote {
    margin: 32px 0;
    padding: 22px 28px;
    border-left: 4px solid #eb5017;
    background: #fdeee7;
    border-radius: 0 12px 12px 0;
    font-size: 18px;
    font-style: italic;
    color: #3a3a3a;
}

.tk-blog-content blockquote::before {
    font-family: Georgia, serif;
    content: open-quote;
    font-size: 48px;
    color: #eb5017;
    line-height: 0;
    vertical-align: -18px;
    margin-right: 6px;
}

.tk-blog-figure {
    border-radius: 16px;
    overflow: hidden;
    margin: 28px 0;
    background: #f4f4f4;
    aspect-ratio: 16 / 9;
    position: relative;
}

.tk-blog-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.tk-blog-figure-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(45deg, #fde2d6 0 14px, #fdeee7 14px 28px);
    color: #b6552b;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    text-transform: uppercase;
}

/* ---------- Key takeaways / callout ---------- */
.tk-blog-callout {
    background: #fff7f3;
    border: 1px solid rgba(235, 80, 23, 0.18);
    border-radius: 18px;
    padding: 24px 26px;
    margin: 36px 0;
}

.tk-blog-callout-title,
.tk-blog-callout h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 14px;
    color: #111;
}

.tk-blog-callout-title i,
.tk-blog-callout h4 i {
    color: #eb5017;
}

.tk-blog-callout ul {
    margin: 0;
    padding-left: 18px;
}

.tk-blog-callout li {
    font-size: 15px;
    margin-bottom: 8px;
    color: #3a3a3a;
}

/* ---------- Author card ---------- */
.tk-blog-author {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 18px;
    background: #fff;
    margin-top: 48px;
}

.tk-blog-author img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #fde2d6;
}

.tk-blog-author h6 {
    font-weight: 700;
    margin-bottom: 4px;
}

.tk-blog-author p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* ---------- Prev / next pager ---------- */
.tk-blog-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.tk-blog-pager-card {
    display: block;
    padding: 18px 20px;
    border: 1px solid #eee;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.18s;
}

.tk-blog-pager-card:hover {
    border-color: #eb5017;
    background: #fff7f3;
    color: inherit;
}

.tk-blog-pager-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.tk-blog-pager-card--next .tk-blog-pager-label {
    justify-content: flex-end;
}

.tk-blog-pager-card--next h6 {
    text-align: right;
}

.tk-blog-pager-card h6 {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

/* ---------- Sidebar ---------- */
.tk-blog-sidebar {
    position: sticky;
    top: 24px;
}

.tk-blog-side-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 22px;
}

.tk-blog-side-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: -0.005em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tk-blog-side-title-bar {
    width: 4px;
    height: 18px;
    background: #eb5017;
    border-radius: 2px;
}

/* Details list */
.tk-blog-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.tk-blog-details-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
}

.tk-blog-details-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.tk-blog-details-label {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tk-blog-details-label i {
    color: #eb5017;
}

.tk-blog-details-value {
    font-weight: 600;
    color: #111;
    text-align: right;
}

.tk-blog-topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tk-blog-topic-chips span {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #333;
}

/* Table of contents */
.tk-blog-toc {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
}

.tk-blog-toc li {
    counter-increment: toc;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.tk-blog-toc li:last-child {
    border-bottom: 0;
}

.tk-blog-toc a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #3a3a3a;
    text-decoration: none;
    transition: color 0.15s;
}

.tk-blog-toc a::before {
    content: counter(toc, decimal-leading-zero);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 700;
    color: #eb5017;
}

.tk-blog-toc a:hover,
.tk-blog-toc a.is-active,
.tk-blog-toc a.active {
    color: #eb5017;
}

/* Related blogs */
.tk-blog-related {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s;
}

.tk-blog-related:last-child {
    border-bottom: 0;
}

.tk-blog-related:hover {
    transform: translateX(2px);
    color: inherit;
}

.tk-blog-related-thumb {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    flex-shrink: 0;
    background: repeating-linear-gradient(45deg, #fde2d6 0 10px, #fdeee7 10px 20px);
    overflow: hidden;
    position: relative;
}

.tk-blog-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tk-blog-related-body h6 {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 6px;
    color: #111;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.tk-blog-related:hover .tk-blog-related-body h6 {
    color: #eb5017;
}

.tk-blog-related-body small {
    color: #6c757d;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tk-blog-related-body small i {
    font-size: 13px;
}

/* Newsletter inside sidebar */
.tk-blog-newsletter {
    background: linear-gradient(135deg, #eb5017 0%, #d8430e 100%);
    color: #fff;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}

.tk-blog-newsletter::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -50px;
    right: -40px;
}

.tk-blog-newsletter h6 {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 6px;
    position: relative;
}

.tk-blog-newsletter p {
    font-size: 13px;
    opacity: 0.92;
    margin-bottom: 14px;
    position: relative;
}

.tk-blog-newsletter .form-control {
    border: none;
    height: 42px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    position: relative;
}

.tk-blog-newsletter .btn {
    width: 100%;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 10px;
    height: 42px;
    font-weight: 600;
    font-size: 14px;
    position: relative;
}

.tk-blog-newsletter .btn:hover {
    background: #000;
    color: #fff;
}

/* Share buttons in sidebar */
.tk-blog-share {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tk-blog-share button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #eb5017;
    font-size: 16px;
    transition: all 0.15s;
}

.tk-blog-share button:hover {
    background: #fdeee7;
    border-color: #eb5017;
}

/* ---------- Share post strip (matches blog list) ---------- */
.tk-share-post-label {
    font-weight: 600;
}

.tk-share-post-button {
    color: #ff4f2e;
}

.tk-share-post-button img {
    display: block;
    max-width: 28px;
    max-height: 28px;
}

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

@media (max-width: 768px) {
    .tk-blog-pager {
        grid-template-columns: 1fr;
    }

    .tk-blog-pager-card--next .tk-blog-pager-label {
        justify-content: flex-start;
    }

    .tk-blog-pager-card--next h6 {
        text-align: left;
    }

    .tk-blog-hero {
        padding-top: 70px;
        padding-bottom: 40px;
    }

    .tk-blog-content {
        font-size: 16px;
    }

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

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

    .tk-blog-author {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Share post strip wrapper */
.share-post {
    padding-bottom: 40px;
}

.post-share-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 24px;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
}

.post-share-label {
    font-weight: 600;
    font-size: 15px;
    color: #1d1b1a;
    margin-right: 4px;
}

@media (max-width: 576px) {
    .post-share-bar {
        padding: 16px 18px;
    }

    .post-share-label {
        width: 100%;
        margin-right: 0;
    }
}

/* ---------- CTA application banner (matches blog list) ---------- */
.blog-cta-band {
    padding: 80px 0;
    background: #fff;
}

.blog-cta-card {
    background: linear-gradient(135deg, #1f1610 0%, #2a1d15 60%, #3a2418 100%);
    border-radius: 28px;
    padding: 64px 56px;
    position: relative;
    overflow: hidden;
    color: #fff;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
}

.blog-cta-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #eb5017 0%, transparent 70%);
    opacity: 0.4;
}

.blog-cta-card::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: 20%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, #c9e338 0%, transparent 70%);
    opacity: 0.18;
}

.blog-cta-content {
    position: relative;
    z-index: 1;
}

.blog-cta-content .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 227, 56, 0.15);
    border: 1px solid rgba(201, 227, 56, 0.3);
    color: #c9e338;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.blog-cta-content .pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c9e338;
}

.blog-cta-content h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    text-wrap: balance;
    color: #ffffff;
}

.blog-cta-content h2 .accent {
    color: #c9e338;
}

.blog-cta-content p {
    color: #b0a8a0;
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0 0 28px;
    max-width: 520px;
}

.blog-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-cta-actions .btn-primary-cta {
    background: #eb5017;
    color: #fff;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: all 0.25s ease;
}

.blog-cta-actions .btn-primary-cta:hover {
    background: #d24611;
    transform: translateY(-1px);
    color: #fff;
}

.blog-cta-actions .btn-secondary-cta {
    background: transparent;
    color: #fff;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
}

.blog-cta-actions .btn-secondary-cta:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.blog-cta-visual {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cta-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(6px);
}

.cta-stat .num {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.cta-stat .num .unit {
    color: #c9e338;
}

.cta-stat .lbl {
    font-size: 0.82rem;
    color: #b0a8a0;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .blog-cta-card {
        grid-template-columns: 1fr;
        padding: 44px 32px;
    }
}

@media (max-width: 640px) {
    .blog-cta-band {
        padding: 56px 0;
    }

    .blog-cta-card {
        padding: 36px 24px;
        border-radius: 22px;
    }

    .blog-cta-visual {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Animations are disabled on this page: keep data-aos elements visible even if AOS never runs */
[data-aos],
[data-aos].aos-init,
[data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}
