.blog-hero {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
    background: #fff;
    text-align: center;
}
.blog-hero-inner {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.blog-hero-title {
    font-family: Matter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.024em;
    line-height: 0.9;
    color: #001f1f;
    margin: 3rem 0 1rem 0;
}
.blog-hero-sub {
    font-family: Matter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.3;
    color: #455252;
    margin: 0;
}
.blog-tabs {
    padding-top: 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}
.blog-tabs-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}
.blog-tab-btn {
    position: relative;
    padding: 1rem 0.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
}
.blog-tab-btn:hover {
    color: #334155;
}
.blog-tab-btn.active {
    color: #059669;
    font-weight: 600;
}
.blog-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #10b981;
    border-radius: 3px 3px 0 0;
}
.blog-under-construction {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    text-align: center;
    padding: 4rem 1.5rem;
}
.blog-under-construction.visible {
    display: flex;
}
.blog-under-construction .uc-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.blog-under-construction .uc-icon i {
    font-size: 2rem;
    color: #059669;
}
.blog-under-construction h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.blog-under-construction p {
    font-size: 1rem;
    color: #64748b;
    max-width: 28rem;
}
.blog-layout {
    display: flex;
    gap: 2.5rem;
    max-width: 82rem;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    align-items: flex-start;
}
.blog-sidebar {
    width: 260px;
    min-width: 260px;
    position: sticky;
    top: 6rem;
    flex-shrink: 0;
}
.blog-search {
    position: relative;
    margin-bottom: 1.75rem;
}
.blog-search input {
    width: 100%;
    padding: 0.625rem 2.5rem 0.625rem 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #0f172a;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.blog-search input::placeholder {
    color: #94a3b8;
}
.blog-search input:focus {
    border-color: #94a3b8;
    outline: none;
}
.blog-search .search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
}
.blog-categories-section {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
}
.blog-categories-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    cursor: pointer;
    user-select: none;
    background: #fff;
}
.blog-categories-header span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}
.blog-categories-header i {
    font-size: 1.125rem;
    color: #64748b;
    transition: transform 0.2s;
}
.blog-categories-header.collapsed i {
    transform: rotate(-90deg);
}
.blog-categories-divider {
    height: 0;
    border-top: 1px dashed #cbd5e1;
    margin: 0 1rem;
}
.blog-categories-list {
    padding: 0.75rem 1rem 1rem;
}
.blog-categories-list.collapsed {
    display: none;
}
.blog-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 0;
    cursor: pointer;
    user-select: none;
}
.blog-category-item label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.8125rem;
    color: #475569;
    flex: 1;
}
.blog-category-item input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #64748b;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 2px;
    border: 1px solid #cbd5e1;
}
.blog-category-count {
    font-size: 0.75rem;
    color: #94a3b8;
    min-width: 1.5rem;
    text-align: right;
}
.blog-sidebar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.75rem;
    color: #64748b;
}
.blog-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.375rem 0.625rem;
    border-radius: 0.5rem;
    transition: background 0.2s, border-color 0.2s;
}
.blog-reset-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #475569;
}
.blog-grid-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-content: start;
}
.blog-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}
.blog-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem 0.625rem 1.5rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.blog-load-more-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #334155;
}
.blog-load-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    color: #475569;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.blog-load-more-btn:hover .blog-load-more-icon {
    background: #fff;
}
.blog-card {
    gap: 0.4rem;
    background: #fff;
    color: #111827;
    text-align: left;
    width: 100%;
    height: 100%;
    padding: 0.4rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.215,.61,.355,1);
}
.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}
.blog-card-image-wrapper {
    position: relative;
    aspect-ratio: 40 / 21;
    overflow: hidden;
    border-radius: 0.8rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: none;
    background: #d1fae5;
    transition: all 0.5s cubic-bezier(.165,.84,.44,1);
}
.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0.8rem;
    transition: all 0.5s cubic-bezier(.23,1,.32,1);
}
.blog-card-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 0.4rem;
    pointer-events: none;
}
.blog-card-content {
    z-index: 1;
    width: 100%;
    padding: 0.4rem 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex: 1;
    position: relative;
}
.blog-card-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-bottom: 0.6rem;
}
.blog-card-title {
    font-family: Matter, sans-serif;
    text-wrap: balance;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.1;
    color: #111827;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-newtag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    max-width: 100%;
    border-radius: 2em;
    font-family: Matter, sans-serif;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
.blog-newtag-small {
    background: #1f2937;
    color: #fff;
    font-size: 0.45rem;
    padding: 0.2rem 0.45rem;
}
.blog-newtag-base {
    background: #d1fae5;
    color: #047857;
    font-size: 0.625rem;
    padding: 0.34rem 0.58rem;
}
.blog-newtag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.blog-newtag-slot {
    width: 0;
    height: 0;
}
.blog-newtag-text {
    display: block;
    line-height: 1;
}
.blog-no-results {
    display: none;
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
}
.blog-no-results.visible {
    display: block;
}
.blog-no-results h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.375rem;
}
.blog-no-results p {
    font-size: 0.875rem;
    color: #64748b;
}
.blog-cta {
    margin: 0;
    margin-top: -2px; /* Slight overlap to cover any sub-pixel gap */
    padding: 6rem 1.5rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    /* Smooth fade from white (top) to transparent */
    background-image: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0) 120px), url('../img/bg-callout.webp');
    background-size: 100% 120px, cover;
    background-position: top center, center;
    background-repeat: no-repeat, no-repeat;
}
.blog-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    margin: 0 auto;
}
.blog-cta-title {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #059669;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}
.blog-cta-sub {
    font-family: Matter, sans-serif;
    font-size: 1.125rem;
    color: #334155;
    margin: 0 0 1.75rem;
    line-height: 1.5;
}
.blog-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.blog-cta-btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #059669;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
    transition: background 0.2s, box-shadow 0.2s;
}
.blog-cta-btn-primary:hover {
    background: #047857;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}
.blog-cta-btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(236, 253, 245, 0.8);
    color: #059669;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 1px solid #6ee7b7;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.blog-cta-btn-secondary:hover {
    background: #d1fae5;
    border-color: #34d399;
}
.bts-page { background: #fff; color: #111827; display: block; }
.bts-container {
    display: block;
    max-width: 64rem;
    margin: 0 auto;
    padding: 6rem 1rem 4rem;
}
.bts-hero {
    display: block;
    position: relative;
    width: auto;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: #f0fdf4;
    margin-bottom: 2.5rem;
}
.bts-hero-back {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #059669;
    text-decoration: none;
}
.bts-hero-back:hover { text-decoration: underline; }
.bts-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 768px) {
    .bts-hero-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}
.bts-hero-main { flex: 1 1 auto; }
.bts-hero-title {
    margin: 0 0 0.5rem;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}
.bts-hero-thumb {
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 40 / 21;
    max-height: min(50vh, 360px);
    overflow: hidden;
    border-radius: 0.5rem;
    background: #f0fdf4;
}
@media (min-width: 768px) {
    .bts-hero-thumb {
        width: 100%;
        max-width: 20rem;
        max-height: min(40vh, 280px);
        aspect-ratio: 40 / 21;
    }
}
.bts-hero-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 0.5rem;
}
.bts-hero-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.bts-hero-read-time {
    font-size: 0.75rem;
    color: #6b7280;
}
.bts-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 9999px;
    background: #dcfce7;
    color: #059669;
    text-decoration: none;
}
.bts-tag:hover { background: #bbf7d0; }
.bts-hero-byline {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.bts-hero-byline-photo-wrap {
    width: 5rem;
    height: 5rem;
    border-radius: 1.25rem;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: rotate(-4deg);
    overflow: hidden;
    flex-shrink: 0;
}
.bts-hero-byline-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bts-hero-byline-text-block {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.bts-hero-byline-name {
    font-family: Matter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #001f1f;
    line-height: 1.3;
}
.bts-hero-byline-role {
    font-family: Matter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #455252;
    line-height: 1.4;
}
@media (max-width: 640px) {
    .bts-hero-byline {
        flex-wrap: nowrap;
        gap: 1rem;
        margin-top: 1rem;
        padding-top: 0.875rem;
    }
    .bts-hero-byline-photo-wrap {
        width: 4rem;
        height: 4rem;
        border-radius: 1rem;
        flex-shrink: 0;
    }
    .bts-hero-byline-text-block {
        min-width: 0;
    }
    .bts-hero-byline-name {
        font-size: 1.1rem;
    }
    .bts-hero-byline-role {
        font-size: 0.875rem;
    }
}
.bts-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .bts-body {
        flex-direction: row;
        align-items: flex-start;
        gap: 2.5rem;
    }
}
.bts-article {
    flex: 1 1 auto;
    min-width: 0;
    padding: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    font-family: Matter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #001f1f;
    word-break: break-word;
}
.bts-article h1 {
    margin: 2rem 0 1rem;
    font-family: Matter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #001f1f;
}
.bts-article h2 {
    margin: 2rem 0 0.75rem;
    font-family: Matter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.016em;
    color: #001f1f;
}
.bts-article h3 {
    margin: 1.5rem 0 0.5rem;
    font-family: Matter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    color: #001f1f;
}
.bts-article h4 {
    margin: 1.25rem 0 0.5rem;
    font-family: Matter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
    color: #001f1f;
}
.bts-article p {
    margin: 0 0 1.25rem;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
.bts-article ul,
.bts-article ol {
    margin: 0.75rem 0 1.25rem;
    padding-left: 1.75rem;
}
.bts-article ul { list-style-type: disc; }
.bts-article ol { list-style-type: decimal; }
.bts-article li {
    margin-bottom: 0.5rem;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
.bts-article li > ul,
.bts-article li > ol {
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
}
.bts-article blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid #059669;
    background: #f0fdf4;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #374151;
}
.bts-article blockquote p:last-child { margin-bottom: 0; }
.bts-article a {
    color: #059669;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.bts-article a:hover { color: #047857; }
.bts-article img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}
.bts-article pre {
    margin: 1.25rem 0;
    padding: 1rem;
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-family: 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}
.bts-article code {
    font-family: 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.9em;
    background: #f1f5f9;
    padding: 0.15em 0.35em;
    border-radius: 0.25rem;
    color: #0f172a;
}
.bts-article pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}
.bts-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.95rem;
}
.bts-article th,
.bts-article td {
    border: 1px solid #e5e7eb;
    padding: 0.6rem 0.75rem;
    text-align: left;
}
.bts-article th {
    background: #f9fafb;
    font-weight: 600;
}
.bts-article hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}
.bts-article > *:first-child { margin-top: 0; }
.bts-article > *:last-child  { margin-bottom: 0; }
.bts-section + .bts-section { margin-top: 2.5rem; }
.bts-section h2 {
    margin: 0 0 0.75rem;
    font-family: Matter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.016em;
    color: #001f1f;
}
.bts-section p {
    margin: 0 0 1rem;
    font-family: Matter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    color: #001f1f;
}
.bts-section ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.5rem;
}
.bts-section li {
    margin-bottom: 0.5rem;
    font-family: Matter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    color: #001f1f;
}
.bts-sidebar { flex-shrink: 0; }
@media (min-width: 1024px) {
    .bts-sidebar {
        width: 17rem;
        position: sticky;
        top: 6rem;
        max-height: calc(100vh - 7rem);
        overflow-y: auto;
    }
}
.bts-toc-details {
    display: block;
}
.bts-toc-summary {
    padding: 0 1rem;
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    user-select: none;
}
.bts-toc-summary::-webkit-details-marker { display: none; }
.bts-toc-summary::marker { content: none; }
.bts-toc-summary::after {
    content: '';
    width: 0;
    height: 0;
    margin-left: auto;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #374151;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.bts-toc-details[open] .bts-toc-summary::after {
    transform: rotate(180deg);
}
@media (min-width: 1024px) {
    .bts-toc-summary { cursor: default; pointer-events: none; }
    .bts-toc-summary::after { display: none; }
}
.bts-toc-list {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
    position: relative;
}
.bts-toc-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #e5e7eb;
}
.bts-toc-list li { margin-top: 1rem; }
.bts-toc-list li:first-child { margin-top: 0; }
.bts-toc-link {
    display: block;
    position: relative;
    width: 100%;
    padding: 0.125rem 0 0.125rem 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #374151;
    text-decoration: none;
    transition: color 0.15s;
    white-space: normal;
    overflow-wrap: anywhere;
}
.bts-toc-link:hover { color: #111827; }
.bts-toc-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 0 9999px 9999px 0;
    background: #059669;
    opacity: 0;
    transition: opacity 0.15s;
}
.bts-toc-link:hover .bts-toc-bar { opacity: 1; }
.bts-toc-link.is-active { color: #059669; font-weight: 600; }
.bts-toc-link.is-active .bts-toc-bar { opacity: 1; }
.bts-related {
    margin-top: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    left: 0;
    box-sizing: border-box;
}
.bts-related .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
    width: 100%;
}
.bts-related .w-layout-blockcontainer {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    display: block;
    box-sizing: border-box;
}
.bts-related .label {
    font-size: 0.7rem;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, 0.6);
    margin-bottom: 0.6rem;
    position: relative;
}
.bts-related .column-3 {
    grid-column-gap: 0.8rem;
    grid-row-gap: 0.8rem;
    grid-template-rows: auto;
    grid-template-columns: 1fr;
    place-items: stretch stretch;
    width: 100%;
    min-height: 1rem;
    display: grid;
    position: relative;
}
@media (min-width: 640px) {
    .bts-related .column-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .bts-related .column-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.bts-related .w-dyn-item {
    min-width: 0;
}
.bts-related .card {
    grid-column-gap: 0.4rem;
    grid-row-gap: 0.4rem;
    border-radius: 0.75rem;
    background-color: #fff;
    color: #111827;
    text-align: left;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    height: 100%;
    padding: 0.4rem;
    transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
    display: flex;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
}
.bts-related .card:hover { color: #111827; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.bts-related .card-image-wrapper {
    aspect-ratio: 16/9;
    border-radius: 0.5rem;
    flex-direction: column;
    flex: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    position: relative;
    overflow: hidden;
}
.bts-related .card-image-wrapper.is-og { aspect-ratio: 40/21; }
.bts-related .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bts-related .card-content {
    z-index: 1;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding: 0.4rem 0.8rem;
    display: flex;
    position: relative;
}
.bts-related .newtag-wrapper {
    z-index: 5;
    font-size: 0.625rem;
    margin-bottom: 0.8rem;
    position: relative;
}
.bts-related .newtag {
    grid-column-gap: 0.25em;
    grid-row-gap: 0.25em;
    background-color: #dcfce7;
    color: #166534;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 2em;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    padding: 0.2em 0.5em;
    display: flex;
    position: relative;
    overflow: hidden;
}
.bts-related .newtag-text {
    font-size: 0.625rem;
    line-height: 1.2;
}
.bts-related .newtag-icon {
    aspect-ratio: 1;
    color: #059669;
    flex: none;
    width: 1em;
}
.bts-related .newtag-slot { width: 100%; height: 100%; padding: 0; }
.bts-related .card-title {
    text-wrap: balance;
    margin-bottom: 0.4rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bts-related .card-title.is-xxsmall { font-size: 1rem; }
.bts-related .card-title:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .bts-sidebar { width: 100%; position: static; order: -1; }
    .bts-article { order: 0; }
}
@media (max-width: 768px) {
    .blog-layout { flex-direction: column; padding: 1.5rem 1rem 3rem; gap: 1.5rem; }
    .blog-sidebar { width: 100%; min-width: 0; position: static; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-tabs-inner { gap: 1.75rem; }
    .blog-tab-btn { font-size: 0.875rem; }
    .blog-cta { padding: 3rem 1rem 4rem; }
    .blog-cta-buttons { flex-direction: column; }
    .bts-container { padding: 5rem 1rem 3rem; }
    .bts-hero-title { font-size: 1.5rem; }
    .bts-section p, .bts-section li { font-size: 1rem; line-height: 1.7; }
}

.vclar-lightbox-wrap {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.vclar-lightbox-wrap.vclar-lightbox-visible {
    opacity: 1;
    visibility: visible;
}
.vclar-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}
.vclar-lightbox-inner {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vclar-lightbox-img {
    max-width: 100%;
    max-height: calc(100vh - 4rem);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.25rem;
}
.vclar-lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.2s;
}
.vclar-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}
.bts-page .bts-hero-img,
.bts-page .bts-hero-byline-photo,
.bts-page .bts-article img,
.bts-page .bts-related img {
    cursor: pointer;
}

/* Reading progress bar inside header container */
.bts-reading-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #059669, #34d399);
    border-radius: 0 9999px 9999px 0;
    transition: width 60ms linear;
    pointer-events: none;
    z-index: 10;
}

/* Preview banner: show 3s then slide up; collapsed = small icon only */
.bts-preview-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #0f172a;
    border-bottom: 2px solid #f59e0b;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.bts-preview-banner.is-collapsed {
    left: auto;
    right: 1rem;
    top: 1rem;
    width: auto;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.bts-preview-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 1.5rem;
    overflow: hidden;
    max-height: 4rem;
    opacity: 1;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}
.bts-preview-banner.is-collapsed .bts-preview-banner-content {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    pointer-events: none;
}
.bts-preview-banner-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.35rem 1rem;
    background: #0f172a;
    border: none;
    border-top: 1px solid rgba(245, 158, 11, 0.4);
    color: #f59e0b;
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, width 0.35s ease, height 0.35s ease, border-radius 0.35s ease, border 0.35s ease;
}
.bts-preview-banner-tab:hover {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.08);
}
.bts-preview-banner.is-collapsed .bts-preview-banner-tab {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: 0;
    border: none;
    border-top: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    color: #f59e0b;
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.bts-preview-banner.is-collapsed .bts-preview-banner-tab:hover {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}
.bts-preview-badge {
    background: #f59e0b;
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bts-preview-text {
    color: #94a3b8;
    font-size: 0.8rem;
}
