/* ============================================
   article.css — Article Prose, TOC, Reading Progress,
   Lightbox, Code Blocks, Sponsor CTA
   "Editorial Blueprint" theme
   ============================================ */

/* ============================================
   Reading Progress Bar
   ============================================ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-500), var(--accent-300));
    z-index: 1100;
    width: 0%;
    transition: width 80ms linear;
}

/* ============================================
   Back Link
   ============================================ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: var(--space-6);
    padding: var(--space-2) 0;
    transition: color var(--duration-fast);
}

.back-link:hover {
    color: var(--accent-600);
}

.back-link .material-symbols-outlined {
    font-size: 18px;
    transition: transform var(--duration-fast);
}

.back-link:hover .material-symbols-outlined {
    transform: translateX(-3px);
}

/* ============================================
   Article Header
   ============================================ */
.article-header {
    margin-bottom: var(--space-8);
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.article-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 400;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    color: var(--text-tertiary);
    font-size: var(--text-sm);
}

.article-meta time {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.article-meta .material-symbols-outlined {
    font-size: 16px;
}

.article-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}

.article-meta-separator {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--stone-400);
    flex-shrink: 0;
}

/* ============================================
   Featured Image
   ============================================ */
.featured-image {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: var(--space-10);
}

/* ============================================
   Article Content — Prose Styles
   ============================================ */
.article-content {
    font-size: var(--text-lg);
    line-height: var(--leading-loose);
    color: var(--stone-800);
}

/* Headings */
.article-content h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 400;
    line-height: var(--leading-snug);
    color: var(--text-primary);
    margin-top: var(--space-12);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--border);
    position: relative;
}

/* Orange accent under h2 (partial underline) */
.article-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--accent-500);
}

.article-content h3 {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: var(--leading-snug);
    color: var(--text-primary);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

.article-content h4 {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--space-6);
    margin-bottom: var(--space-2);
}

/* Paragraphs */
.article-content p {
    margin-bottom: var(--space-5);
}

/* Links */
.article-content a {
    color: var(--link);
    text-decoration: underline;
    text-decoration-color: var(--blue-400);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--duration-fast);
}

.article-content a:hover {
    text-decoration-color: var(--link-hover);
}

/* Bold */
.article-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* Italic */
.article-content em {
    color: var(--stone-700);
}

/* Lists */
.article-content ul,
.article-content ol {
    margin-bottom: var(--space-5);
    padding-left: var(--space-6);
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: var(--space-2);
    padding-left: var(--space-2);
}

.article-content li::marker {
    color: var(--accent-500);
}

/* Blockquotes */
.article-content blockquote {
    margin: var(--space-6) 0;
    padding: var(--space-4) var(--space-6);
    border-left: 4px solid var(--accent-500);
    background: var(--accent-50);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--stone-700);
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Horizontal Rule */
.article-content hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: var(--space-10) 0;
}

/* Inline code */
.article-content code:not(pre code) {
    font-family: var(--font-mono);
    font-size: 0.875em;
    padding: 2px 6px;
    background: var(--stone-100);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--accent-700);
    font-weight: 500;
    word-break: break-word;
}

/* ============================================
   Code Blocks — Premium Treatment
   ============================================ */
.article-content pre {
    position: relative;
    margin: var(--space-6) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--stone-800);
}

/* Language label */
.article-content pre::before {
    content: attr(data-language);
    position: absolute;
    top: 0;
    right: 0;
    padding: var(--space-1) var(--space-3);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    color: var(--stone-500);
    background: rgba(30, 30, 46, 0.95);
    border-bottom-left-radius: var(--radius-md);
    z-index: 2;
}

.article-content pre code {
    display: block;
    padding: var(--space-6);
    padding-top: var(--space-8);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    overflow-x: auto;
    tab-size: 4;
    background: var(--bg-code);
    color: #cdd6f4;
    -webkit-overflow-scrolling: touch;
}

/* Code block scrollbar */
.article-content pre code::-webkit-scrollbar {
    height: 6px;
}

.article-content pre code::-webkit-scrollbar-track {
    background: transparent;
}

.article-content pre code::-webkit-scrollbar-thumb {
    background: var(--stone-600);
    border-radius: 3px;
}

/* Copy button */
.code-copy-btn {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--stone-400);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--duration-fast);
    z-index: 3;
    opacity: 0;
    transition: opacity var(--duration-fast), background var(--duration-fast);
}

.article-content pre:hover .code-copy-btn {
    opacity: 1;
}

.code-copy-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--stone-200);
}

.code-copy-btn.copied {
    color: #a6e3a1;
    border-color: rgba(166, 227, 161, 0.3);
}

.code-copy-btn .material-symbols-outlined {
    font-size: 14px;
}

/* ============================================
   Images (in article)
   ============================================ */
.article-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin: var(--space-6) 0;
    cursor: zoom-in;
    transition: box-shadow var(--duration-fast), transform var(--duration-fast);
}

.article-content img:hover {
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Table of Contents — Sticky Sidebar
   ============================================ */
.toc-sidebar {
    display: none;
}

@media (min-width: 1280px) {
    .toc-sidebar {
        display: block;
        position: fixed;
        top: calc(var(--nav-height) + var(--space-10));
        right: max(var(--space-4), calc((100vw - var(--article-max)) / 2 - 236px));
        width: 220px;
        max-height: calc(100vh - var(--nav-height) - var(--space-20));
        overflow-y: auto;
        z-index: 10;
    }

    .toc-title {
        font-size: var(--text-xs);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: var(--tracking-wider);
        color: var(--text-tertiary);
        margin-bottom: var(--space-3);
        padding-left: var(--space-3);
    }

    .toc-list {
        display: flex;
        flex-direction: column;
    }

    .toc-link {
        display: block;
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
        line-height: var(--leading-snug);
        color: var(--text-tertiary);
        text-decoration: none;
        border-left: 2px solid transparent;
        transition: all var(--duration-fast);
    }

    .toc-link:hover {
        color: var(--text-primary);
        border-left-color: var(--stone-300);
    }

    .toc-link.active {
        color: var(--accent-600);
        border-left-color: var(--accent-500);
        font-weight: 500;
    }

    .toc-sidebar::-webkit-scrollbar {
        width: 2px;
    }

    .toc-sidebar::-webkit-scrollbar-thumb {
        background: var(--stone-300);
        border-radius: 1px;
    }
}

/* Mobile TOC — collapsible at top */
.toc-mobile {
    display: none;
    margin-bottom: var(--space-6);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.toc-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-alt);
    border: none;
    cursor: pointer;
}

.toc-mobile-toggle .material-symbols-outlined {
    font-size: 20px;
    transition: transform var(--duration-fast);
}

.toc-mobile-toggle.expanded .material-symbols-outlined {
    transform: rotate(180deg);
}

.toc-mobile-content {
    display: none;
    padding: var(--space-2) var(--space-4) var(--space-3);
    background: var(--bg-elevated);
}

.toc-mobile-content.expanded {
    display: block;
}

.toc-mobile-content a {
    display: block;
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
}

.toc-mobile-content a:last-child {
    border-bottom: none;
}

.toc-mobile-content a:hover {
    color: var(--accent-600);
}

@media (max-width: 1279px) {
    .toc-mobile {
        display: block;
    }
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(17, 19, 26, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: var(--space-6);
}

.lightbox-overlay.active {
    display: flex;
    animation: fadeIn 0.2s var(--ease-out);
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--stone-300);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--duration-fast);
    z-index: 5001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.lightbox-close .material-symbols-outlined {
    font-size: 18px;
}

/* ============================================
   Article Tags Section (bottom of article)
   ============================================ */
.article-tags-section {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-10);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}

/* ============================================
   Post Navigation (Prev/Next)
   ============================================ */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-top: var(--space-10);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}

.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--duration-fast);
}

.post-nav-link:hover {
    border-color: var(--accent-500);
    background: var(--accent-50);
}

.post-nav-link--next {
    text-align: right;
    align-items: flex-end;
}

.post-nav-label {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--text-tertiary);
}

.post-nav-title {
    font-family: var(--font-display);
    font-size: var(--text-base);
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   Sponsor CTA (end of article)
   ============================================ */
.sponsor-cta {
    margin-top: var(--space-10);
    padding: var(--space-8);
    background: var(--stone-900);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
}

/* Geometric accent line */
.sponsor-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-500), var(--accent-300), var(--accent-500));
}

.sponsor-cta-icon {
    font-size: 32px;
    margin-bottom: var(--space-3);
    color: var(--accent-400);
}

.sponsor-cta h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
    color: var(--stone-50);
}

.sponsor-cta p {
    font-size: var(--text-sm);
    color: var(--stone-400);
    margin-bottom: var(--space-6);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.sponsor-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.sponsor-cta .btn-primary {
    background: var(--accent-500);
    color: white;
}

.sponsor-cta .btn-primary:hover {
    background: var(--accent-400);
}

.sponsor-cta .btn-outline {
    color: var(--stone-300);
    border-color: var(--stone-600);
}

.sponsor-cta .btn-outline:hover {
    border-color: var(--accent-500);
    color: var(--accent-300);
    background: rgba(228, 34, 46, 0.1);
}

/* ============================================
   Article Responsive
   ============================================ */
@media (max-width: 768px) {
    .article-title {
        font-size: var(--text-3xl);
    }

    .article-content {
        font-size: var(--text-base);
    }

    .article-content h2 {
        font-size: var(--text-xl);
        margin-top: var(--space-8);
    }

    .article-content h3 {
        font-size: var(--text-lg);
    }

    .article-content pre code {
        font-size: var(--text-xs);
        padding: var(--space-4);
        padding-top: var(--space-6);
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .post-nav-link--next {
        text-align: left;
        align-items: flex-start;
    }

    .sponsor-cta {
        padding: var(--space-6);
    }

    .sponsor-cta h3 {
        font-size: var(--text-xl);
    }

    .featured-image {
        border-radius: var(--radius-md);
        margin-bottom: var(--space-8);
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: var(--text-2xl);
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .article-meta-separator {
        display: none;
    }

    .sponsor-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .sponsor-cta-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   About Page Styles
   ============================================ */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: var(--space-10) var(--space-6);
}

.about-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.about-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    aspect-ratio: 1;
    object-fit: cover;
}

.about-content h1 {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    margin-bottom: var(--space-2);
}

.about-content .about-role {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.about-content .about-bio {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--stone-700);
    margin-bottom: var(--space-6);
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    background: var(--accent-50);
    color: var(--accent-700);
    border: 1px solid var(--accent-200);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--duration-fast);
}

.about-badge:hover {
    background: var(--accent-100);
    color: var(--accent-700);
}

.about-badge img {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-sm);
}

.about-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--link);
    text-decoration: none;
}

.about-link:hover {
    color: var(--link-hover);
}

.about-link .material-symbols-outlined {
    font-size: 18px;
}

@media (max-width: 768px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        padding: var(--space-8) var(--space-4);
    }

    .about-content h1 {
        font-size: var(--text-3xl);
    }

    .about-photo-grid {
        max-width: 320px;
    }
}

/* ============================================
   Tools Page Styles
   ============================================ */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.tool-card {
    padding: var(--space-8);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    border-top: 3px solid var(--accent-500);
    transition: all var(--duration-base);
}

.tool-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.tool-card-icon {
    font-size: 32px;
    color: var(--accent-500);
    margin-bottom: var(--space-4);
}

.tool-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.tool-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-5);
}

.tool-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-600);
}

.tool-card-link:hover {
    color: var(--accent-700);
}

.tool-card-link .material-symbols-outlined {
    font-size: 18px;
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        padding: 0 var(--space-4);
    }
}

/* --- Reader Counter --- */

.article-readers {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}
.article-readers .material-symbols-outlined { font-size: 16px; }
.article-readers .counter-since {
    margin-left: var(--space-1);
}

/* --- Sidebar Sponsor CTA (desktop only, blog posts) --- */

.sidebar-sponsor {
    display: none;
}

@media (min-width: 1280px) {
    .sidebar-sponsor {
        display: flex;
        flex-direction: column;
        position: fixed;
        bottom: var(--space-8);
        right: max(var(--space-4), calc((100vw - var(--article-max)) / 2 - 236px));
        width: 220px;
        padding: var(--space-4);
        background: var(--bg-primary);
        border: 1px solid var(--stone-200);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
        z-index: 10;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .sidebar-sponsor.hidden {
        opacity: 0;
        transform: translateY(16px);
        pointer-events: none;
    }

    .sidebar-sponsor-label {
        font-size: var(--text-xs);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: var(--tracking-wider);
        color: var(--text-tertiary);
        margin-bottom: var(--space-2);
    }

    .sidebar-sponsor-text {
        font-size: var(--text-xs);
        color: var(--text-secondary);
        line-height: var(--leading-relaxed);
        margin-bottom: var(--space-3);
    }

    .sidebar-sponsor-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-2);
        padding: var(--space-2) var(--space-3);
        border-radius: var(--radius-md);
        font-size: var(--text-xs);
        font-weight: 500;
        text-decoration: none;
        transition: all var(--duration-fast);
    }

    .sidebar-sponsor-btn .material-symbols-outlined {
        font-size: 16px;
    }

    .sidebar-sponsor-btn--primary {
        background: var(--accent-500);
        color: white;
        margin-bottom: var(--space-2);
    }

    .sidebar-sponsor-btn--primary:hover {
        background: var(--accent-600);
    }

    .sidebar-sponsor-btn--outline {
        color: var(--text-secondary);
        border: 1px solid var(--stone-300);
    }

    .sidebar-sponsor-btn--outline:hover {
        border-color: var(--accent-500);
        color: var(--accent-600);
    }
}

/* --- Sidebar Partner Widget (desktop only, blog posts) --- */

.partner-sidebar {
    display: none;
}

@media (min-width: 1280px) {
    .partner-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        /* Position on the RIGHT, same column as TOC and sponsor widget */
        right: max(var(--space-4), calc((100vw - var(--article-max)) / 2 - 236px));
        /* Sit below where the TOC typically ends, above the sponsor widget */
        bottom: calc(var(--space-8) + 180px);
        width: 220px;
        padding: var(--space-3);
        background: var(--bg-elevated);
        border: 1px solid var(--stone-200);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
        z-index: 10;
        transition: opacity 0.3s ease, transform 0.3s ease;
        text-decoration: none;
        color: inherit;
        max-height: calc(100vh - var(--nav-height) - 300px);
        overflow-y: auto;
    }

    .partner-sidebar:hover {
        border-color: var(--stone-300);
        box-shadow: var(--shadow-card-hover);
    }

    .partner-sidebar.hidden {
        opacity: 0;
        transform: translateY(16px);
        pointer-events: none;
    }

    .partner-sidebar-label {
        font-size: var(--text-xs);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: var(--tracking-wider);
        color: var(--text-tertiary);
        margin-bottom: var(--space-2);
    }

    .partner-sidebar img {
        width: 100%;
        border-radius: var(--radius-md);
        border: 1px solid var(--border);
    }

    .partner-sidebar-qr {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        margin-top: var(--space-3);
        padding-top: var(--space-3);
        border-top: 1px solid var(--border);
    }

    .partner-sidebar-qr img {
        width: 48px;
        height: 48px;
        border: none;
    }

    .partner-sidebar-qr-text {
        font-size: 10px;
        color: var(--text-tertiary);
        line-height: var(--leading-snug);
    }
}
