/* =============================================================================
   SALESFORCE ALTERNATIVE BLOG - UNIQUE STYLES
   Prefix: sf-alt- (Salesforce Alternative)
   Purpose: Prevent CSS conflicts with other blog templates
   ============================================================================= */

/* CSS Variables */
:root {
    --sf-alt-primary: #4051B5;
    --sf-alt-primary-dark: #2c3e9f;
    --sf-alt-success: #10b981;
    --sf-alt-danger: #ef4444;
    --sf-alt-warning: #f59e0b;
    --sf-alt-gray-50: #f9fafb;
    --sf-alt-gray-100: #f3f4f6;
    --sf-alt-gray-200: #e5e7eb;
    --sf-alt-gray-300: #d1d5db;
    --sf-alt-gray-600: #4b5563;
    --sf-alt-gray-700: #374151;
    --sf-alt-gray-900: #111827;
    --sf-alt-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --sf-alt-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --sf-alt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Article Container */
.sf-alt-article {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--sf-alt-gray-900);
    line-height: 1.7;
}

/* Hero Section */
.sf-alt-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 64px 24px; /* Updated to 8px base scale */
    text-align: center;
}

.sf-alt-hero__container {
    max-width: 900px;
    margin: 0 auto;
}

/* Breadcrumb */
.sf-alt-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.sf-alt-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.sf-alt-breadcrumb a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.sf-alt-breadcrumb__sep {
    opacity: 0.6;
}

.sf-alt-breadcrumb__current {
    opacity: 0.8;
}

/* Hero Title */
.sf-alt-hero__title {
    font-size: clamp(32px, 5vw, 48px); /* Increased min from 28px → 32px, max from 42px → 48px for better impact */
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

/* Hero Meta */
.sf-alt-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    opacity: 0.95;
    flex-wrap: wrap;
}

.sf-alt-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sf-alt-author__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.sf-alt-author__name {
    font-weight: 500;
}

.sf-alt-meta__sep {
    opacity: 0.6;
}

/* Featured Image */
.sf-alt-featured-image {
    max-width: 900px;
    margin: 0 auto 64px;
    padding: 0 24px;
}

.sf-alt-featured-image__img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--sf-alt-shadow-lg);
}

/* Content Wrapper */
.sf-alt-content-wrapper {
    background: #ffffff;
}

.sf-alt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px;
    display: flex;
    justify-content: center;
}

/* Sidebar */
.sf-alt-sidebar {
    position: relative;
}

.sf-alt-sidebar__sticky {
    position: sticky;
    top: 100px;
}

/* Table of Contents */
.sf-alt-toc {
    background: var(--sf-alt-gray-50);
    border: 1px solid var(--sf-alt-gray-200);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.sf-alt-toc__title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sf-alt-gray-700);
    margin: 0 0 12px 0;
}

.sf-alt-toc nav {
    font-size: 14px;
}

.sf-alt-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sf-alt-toc li {
    margin-bottom: 8px;
}

.sf-alt-toc a {
    color: var(--sf-alt-gray-600);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 4px 0;
}

.sf-alt-toc a:hover {
    color: var(--sf-alt-primary);
}

/* Sidebar CTA */
.sf-alt-sidebar-cta {
    background: var(--sf-alt-primary); /* Solid color instead of gradient - less visually dominant */
    color: #ffffff;
    border: 2px solid var(--sf-alt-primary-dark);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--sf-alt-shadow-sm); /* Subtle elevation */
}

.sf-alt-sidebar-cta__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.sf-alt-sidebar-cta__text {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 16px 0;
}

.sf-alt-sidebar-cta__btn {
    background: #ffffff;
    color: var(--sf-alt-primary);
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    min-height: 48px; /* Touch target accessibility */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sf-alt-sidebar-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sf-alt-sidebar-cta__note {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-top: 8px;
}

/* Main Content */
.sf-alt-main {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.sf-alt-content {
    font-size: 18px;
    line-height: 1.8;
    width: 100%;
}

/* Typography */
.sf-alt-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--sf-alt-gray-900);
    margin: 48px 0 24px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.sf-alt-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--sf-alt-gray-900);
    margin: 40px 0 16px 0;
    line-height: 1.4;
}

.sf-alt-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--sf-alt-gray-900);
    margin: 32px 0 16px 0;
    line-height: 1.5;
}

.sf-alt-content p {
    margin: 0 0 16px 0;
    color: var(--sf-alt-gray-700);
}

.sf-alt-content strong {
    color: var(--sf-alt-gray-900);
    font-weight: 600;
}

.sf-alt-content a {
    color: var(--sf-alt-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.sf-alt-content a:hover {
    color: var(--sf-alt-primary-dark);
}

/* Lists */
.sf-alt-content ul,
.sf-alt-content ol {
    margin: 0 0 24px 0;
    padding-left: 24px;
}

.sf-alt-content li {
    margin-bottom: 8px;
    color: var(--sf-alt-gray-700);
}

/* Tables */
.sf-alt-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 16px;
    background: #ffffff;
    border: 1px solid var(--sf-alt-gray-200);
    border-radius: 8px;
    overflow: hidden;
}

.sf-alt-content thead {
    background: var(--sf-alt-gray-50);
}

.sf-alt-content th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--sf-alt-gray-900);
    border-bottom: 2px solid var(--sf-alt-gray-200);
}

.sf-alt-content td {
    padding: 16px;
    border-bottom: 1px solid var(--sf-alt-gray-200);
    color: var(--sf-alt-gray-700);
}

.sf-alt-content tbody tr:last-child td {
    border-bottom: none;
}

.sf-alt-content tbody tr:hover {
    background: var(--sf-alt-gray-50);
}

/* Blockquotes */
.sf-alt-content blockquote {
    border-left: 4px solid var(--sf-alt-primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--sf-alt-gray-50);
    border-radius: 6px;
}

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

/* Code */
.sf-alt-content code {
    background: var(--sf-alt-gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', monospace;
}

.sf-alt-content pre {
    background: var(--sf-alt-gray-900);
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 24px 0;
}

.sf-alt-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Images */
.sf-alt-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    box-shadow: var(--sf-alt-shadow-md);
}

/* Inline CTA (appears mid-article) - CONFIDENT DESIGN */
.sf-alt-inline-cta {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-left: 5px solid var(--sf-alt-primary);
    border-radius: 8px;
    padding: 40px 48px;
    margin: 64px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.sf-alt-inline-cta__title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.sf-alt-inline-cta__text {
    font-size: 17px;
    color: #334155;
    margin: 0 auto 28px auto;
    line-height: 1.6;
    max-width: 560px;
    font-weight: 400;
    text-align: center !important;
}

.sf-alt-inline-cta__text strong {
    font-weight: 600;
    color: #1e293b;
}

.sf-alt-inline-cta__btn {
    background: var(--sf-alt-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(64, 81, 181, 0.25);
    letter-spacing: 0.01em;
}

.sf-alt-inline-cta__btn:hover {
    background: var(--sf-alt-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(64, 81, 181, 0.35);
}

.sf-alt-inline-cta__note {
    display: block;
    font-size: 14px;
    color: #64748b;
    margin-top: 16px;
    font-weight: 500;
}

/* Final CTA Banner */
.sf-alt-final-cta {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: var(--sf-alt-text-dark);
    border-radius: 12px;
    padding: 48px 40px;
    text-align: center;
    margin-top: 80px;
}

.sf-alt-final-cta__title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
    color: var(--sf-alt-text-dark);
}

.sf-alt-final-cta__text {
    font-size: 17px;
    margin: 0 0 28px 0;
    color: var(--sf-alt-text-medium);
}

.sf-alt-final-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.sf-alt-btn {
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    min-height: 48px; /* Touch target accessibility */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sf-alt-btn--primary {
    background: var(--sf-alt-primary);
    color: #ffffff;
}

.sf-alt-btn--primary:hover {
    background: var(--sf-alt-primary-dark);
    transform: translateY(-1px);
}

.sf-alt-btn--secondary {
    background: transparent;
    color: var(--sf-alt-primary);
    border: 2px solid var(--sf-alt-primary);
}

.sf-alt-btn--secondary:hover {
    background: var(--sf-alt-primary);
    color: #ffffff;
}

.sf-alt-final-cta__features {
    font-size: 14px;
    color: var(--sf-alt-text-medium);
    margin: 0;
}

/* Article Metadata Card */
.sf-alt-article-meta {
    background: var(--sf-alt-gray-50);
    border: 1px solid var(--sf-alt-gray-200);
    border-radius: 8px;
    padding: 24px;
    margin: 64px 0 0 0;
    font-size: 14px;
    line-height: 1.7;
}

.sf-alt-article-meta__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sf-alt-gray-900);
    margin-bottom: 12px;
}

.sf-alt-article-meta__text {
    color: var(--sf-alt-gray-600);
    margin: 0;
    line-height: 1.8;
}

.sf-alt-article-meta__text strong {
    color: var(--sf-alt-gray-700);
    font-weight: 600;
}

/* Author Bio */
.sf-alt-author-bio {
    background: #ffffff;
    border-top: 2px solid var(--sf-alt-gray-200);
    border-bottom: 2px solid var(--sf-alt-gray-200);
    padding: 64px 24px;
    margin: 80px 0 0 0;
}

.sf-alt-author-bio__container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: center;
}

.sf-alt-author-bio__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sf-alt-author-bio__name {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--sf-alt-gray-900);
}

.sf-alt-author-bio__role {
    font-size: 14px;
    color: var(--sf-alt-primary);
    font-weight: 500;
    margin: 0 0 12px 0;
}

.sf-alt-author-bio__description {
    font-size: 16px;
    color: var(--sf-alt-gray-700);
    line-height: 1.6;
    margin: 0;
}

/* Related Articles */
.sf-alt-related {
    padding: 80px 24px; /* Updated to 8px base scale */
    background: #ffffff;
}

.sf-alt-related__container {
    max-width: 1200px;
    margin: 0 auto;
}

.sf-alt-related__title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 48px 0;
    color: var(--sf-alt-gray-900);
}

.sf-alt-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* Related Article Card */
.sf-alt-card {
    background: #ffffff;
    border: 1px solid var(--sf-alt-gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sf-alt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sf-alt-shadow-lg);
}

.sf-alt-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sf-alt-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--sf-alt-gray-100);
}

.sf-alt-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sf-alt-card:hover .sf-alt-card__image img {
    transform: scale(1.05);
}

.sf-alt-card__content {
    padding: 24px;
}

.sf-alt-card__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--sf-alt-gray-900);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.sf-alt-card__excerpt {
    font-size: 14px;
    color: var(--sf-alt-gray-600);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.sf-alt-card__cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--sf-alt-primary);
    display: inline-block;
}

/* Focus States for Accessibility */
.sf-alt-breadcrumb a:focus-visible,
.sf-alt-toc a:focus-visible,
.sf-alt-content a:focus-visible,
.sf-alt-mobile-toc__dropdown a:focus-visible {
    outline: 2px solid var(--sf-alt-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.sf-alt-btn:focus-visible,
.sf-alt-sidebar-cta__btn:focus-visible,
.sf-alt-mobile-toc__toggle:focus-visible,
.sf-alt-inline-cta__btn:focus-visible {
    outline: 3px solid var(--sf-alt-primary);
    outline-offset: 3px;
}

.sf-alt-card__link:focus-visible {
    outline: 2px solid var(--sf-alt-primary);
    outline-offset: 4px;
    border-radius: 12px;
}

/* Mobile TOC */
.sf-alt-mobile-toc {
    display: none;
    background: #ffffff;
    border-bottom: 2px solid var(--sf-alt-gray-200);
    position: relative;
    z-index: 10;
    padding: 16px;
    margin-bottom: 32px;
}

.sf-alt-mobile-toc__toggle {
    background: var(--sf-alt-gray-100);
    border: 1px solid var(--sf-alt-gray-300);
    padding: 12px 16px;
    border-radius: 6px;
    width: 100%;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    min-height: 48px; /* Touch target accessibility */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sf-alt-mobile-toc__toggle:hover {
    background: var(--sf-alt-gray-200);
}

.sf-alt-mobile-toc__dropdown {
    display: none;
    background: #ffffff;
    border: 1px solid var(--sf-alt-gray-200);
    border-radius: 6px;
    margin-top: 8px;
    padding: 16px;
    max-height: 400px;
    overflow-y: auto;
}

.sf-alt-mobile-toc__dropdown.active {
    display: block;
}

.sf-alt-mobile-toc__dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.sf-alt-mobile-toc__dropdown li {
    margin-bottom: 8px;
}

.sf-alt-mobile-toc__dropdown a {
    color: var(--sf-alt-gray-700);
    text-decoration: none;
    display: block;
    padding: 4px 0;
}

.sf-alt-mobile-toc__dropdown a:hover {
    color: var(--sf-alt-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sf-alt-container {
        grid-template-columns: 1fr;
        gap: 48px; /* Updated to 8px base scale */
    }

    .sf-alt-sidebar {
        display: none;
    }

    .sf-alt-mobile-toc {
        display: block; /* Show mobile TOC when sidebar hides */
    }

    .sf-alt-hero {
        padding: 48px 24px; /* Updated to 8px base scale */
    }

    .sf-alt-featured-image {
        margin-top: 0;
    }

    .sf-alt-featured-image__img {
        max-height: 200px;
    }
}

@media (max-width: 768px) {
    .sf-alt-hero__title {
        font-size: 28px;
    }

    .sf-alt-container {
        padding: 48px 16px;
    }

    .sf-alt-content {
        font-size: 16px;
    }

    .sf-alt-content h2 {
        font-size: 24px;
        margin: 32px 0 16px 0;
    }

    .sf-alt-content h3 {
        font-size: 20px;
    }

    .sf-alt-inline-cta {
        padding: 32px 24px;
        margin: 40px 0;
    }

    .sf-alt-inline-cta__title {
        font-size: 20px;
    }

    .sf-alt-inline-cta__text {
        font-size: 16px;
        margin-bottom: 24px;
        text-align: center !important;
    }

    .sf-alt-inline-cta__btn {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
        padding: 14px 24px;
    }

    .sf-alt-final-cta {
        padding: 32px 24px;
    }

    .sf-alt-final-cta__title {
        font-size: 24px;
    }

    .sf-alt-final-cta__buttons {
        flex-direction: column;
    }

    .sf-alt-btn {
        width: 100%;
    }

    .sf-alt-author-bio__container {
        flex-direction: column;
        text-align: center;
    }

    .sf-alt-author-bio__avatar {
        width: 64px;
        height: 64px;
    }

    .sf-alt-related__grid {
        grid-template-columns: 1fr;
    }

    .sf-alt-content table {
        font-size: 14px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Smooth iOS scrolling */
    }

    .sf-alt-content th,
    .sf-alt-content td {
        padding: 12px 8px;
        white-space: nowrap; /* Prevent text wrapping in cells */
    }

    /* Subtle scroll hint for mobile tables */
    .sf-alt-content table::after {
        content: '← Swipe to see more →';
        display: block;
        text-align: center;
        font-size: 11px;
        color: var(--sf-alt-gray-600);
        background: var(--sf-alt-gray-50);
        padding: 8px;
        font-style: italic;
        border-top: 1px solid var(--sf-alt-gray-200);
    }
}

@media (max-width: 480px) {
    .sf-alt-hero__meta {
        font-size: 12px;
    }

    .sf-alt-author__avatar {
        width: 32px;
        height: 32px;
    }
}

/* =============================================================================
   CUSTOM VISUAL COMPONENTS FOR MARKDOWN CONTENT
   Makes markdown-rendered content look professionally designed
   ============================================================================= */

/* Highlighted Callout Boxes (for important notes) */
.sf-alt-content > blockquote {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    border-left: 4px solid var(--sf-alt-primary);
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 8px;
    font-size: 17px;
    line-height: 1.7;
    box-shadow: var(--sf-alt-shadow-sm);
}

/* Intro Section Styling (first few paragraphs) */
.sf-alt-content > p:first-of-type {
    font-size: 20px;
    line-height: 1.8;
    color: var(--sf-alt-gray-700);
    margin-bottom: 24px;
}

/* Enhanced Table Styling - Comparison Tables */
.sf-alt-content table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.sf-alt-content thead th:first-child {
    background: var(--sf-alt-primary);
    color: white;
}

.sf-alt-content thead th {
    background: #f8fafc;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.sf-alt-content tbody tr:nth-child(even) {
    background: #fafbfc;
}

/* Product Review Cards (H3 headings with content below) */
.sf-alt-content h3 {
    position: relative;
    padding-left: 0;
}

/* Numbered Lists - Step-by-step Guides */
.sf-alt-content ol {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.sf-alt-content ol li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
}

.sf-alt-content ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    color: var(--sf-alt-text-dark);
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
}

/* Bullet Lists - Feature Lists */
.sf-alt-content ul li {
    position: relative;
    padding-left: 32px;
}

.sf-alt-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
}

/* Code Blocks - For technical content */
.sf-alt-content code {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 14px;
    color: #e11d48;
}

.sf-alt-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 32px 0;
}

.sf-alt-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* HR Dividers */
.sf-alt-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sf-alt-gray-300), transparent);
    margin: 48px 0;
}

/* Product Review Meta Info (replaces emoji-heavy lines) */
/* BUT exclude inline-cta to prevent double decoration */
.sf-alt-content h3 + p:not(.sf-alt-inline-cta__text) {
    background: #f8fafc;
    border-left: 3px solid var(--sf-alt-primary);
    padding: 16px 20px;
    margin: 16px 0 24px 0;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--sf-alt-gray-700);
}

/* Remove emojis from product metadata paragraphs */
.sf-alt-content h3 + p:not(.sf-alt-inline-cta__text) strong::before {
    content: '• ';
    color: var(--sf-alt-primary);
    font-weight: 700;
}

/* Responsive adjustments for custom components */
@media (max-width: 768px) {
    .sf-alt-content > p:first-of-type {
        font-size: 18px;
    }

    .sf-alt-content ol li {
        padding-left: 50px;
    }

    .sf-alt-content ol li::before {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .sf-alt-content blockquote {
        padding: 20px;
        font-size: 16px;
    }

    .sf-alt-content h3 + p {
        font-size: 14px;
        padding: 12px 16px;
    }
}
