/* SVETIT — BLOG DETAIL STYLES (blog_detail.css) */

.article-container {
        max-width: 860px;
        margin: 0 auto;
        width: 100%;
        overflow-x: clip;
    }

    .article-breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--text-muted);
        font-size: 14px;
        margin-bottom: 28px;
        flex-wrap: wrap;
    }

    .article-breadcrumb a:hover {
        color: var(--text-primary);
    }

    .article-header {
        margin-bottom: 32px;
    }

    .article-tag {
        display: inline-block;
        color: var(--accent);
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 12px;
    }

    .article-title {
        font-size: 42px;
        font-weight: 700;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .article-meta-bar {
        display: flex;
        align-items: center;
        gap: 16px;
        color: var(--text-muted);
        font-size: 14px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border);
    }

    .article-cover-wrapper {
        width: 100%;
        height: 420px;
        border-radius: var(--radius-lg);
        overflow: hidden;
        border: 1px solid var(--border);
        margin-bottom: 36px;
        background: #11141a;
    }

    .article-cover-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .article-content {
        font-size: 17px;
        line-height: 1.8;
        color: #e2e8f0;
    }

    .article-content p {
        margin-bottom: 22px;
    }

    .article-content h2 {
        font-size: 26px;
        margin: 36px 0 16px;
        color: #fff;
    }

    .article-content h3 {
        font-size: 20px;
        margin: 28px 0 12px;
        color: #fff;
    }

    .article-content blockquote {
        border-left: 4px solid var(--accent);
        background: rgba(245, 158, 11, 0.05);
        padding: 18px 24px;
        border-radius: 0 var(--radius-md) var(--radius-md) 0;
        margin: 28px 0;
        font-style: italic;
        color: #f1f5f9;
    }

    .article-content a {
        color: var(--accent);
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: color 0.2s;
    }

    .article-content a:hover {
        color: #fbbf24;
    }

    .article-content ul, .article-content ol {
        margin: 0 0 24px 24px;
        padding: 0;
    }

    .article-content li {
        margin-bottom: 8px;
        line-height: 1.7;
    }

    /* Responsive Table Container */
    .table-responsive {
        width: 100%;
        margin: 24px 0 28px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--bg-card);
    }

    .table-responsive table {
        width: 100%;
        min-width: 520px;
        margin: 0 !important;
        border: none !important;
        border-collapse: collapse;
        font-size: 14.5px;
    }

    /* Fallback direct table scroll if no wrapper */
    .article-content table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-collapse: collapse;
        margin: 24px 0 28px;
        font-size: 14.5px;
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--bg-card);
    }

    .table-responsive table {
        display: table;
    }

    .article-content th, .article-content td {
        padding: 12px 16px;
        border: 1px solid var(--border);
        text-align: left;
        line-height: 1.5;
    }

    .article-content th {
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        font-weight: 600;
        white-space: nowrap;
    }

    .article-content tr:nth-child(even) td {
        background: rgba(255, 255, 255, 0.02);
    }

    .article-content tr:hover td {
        background: rgba(245, 158, 11, 0.04);
    }

    /* Custom elegant scrollbar for tables */
    .table-responsive::-webkit-scrollbar,
    .article-content table::-webkit-scrollbar {
        height: 6px;
    }

    .table-responsive::-webkit-scrollbar-track,
    .article-content table::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.02);
        border-radius: 3px;
    }

    .table-responsive::-webkit-scrollbar-thumb,
    .article-content table::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 3px;
    }

    .table-responsive::-webkit-scrollbar-thumb:hover,
    .article-content table::-webkit-scrollbar-thumb:hover {
        background: var(--accent);
    }

    /* Mobile scroll hint above table */
    .table-scroll-hint {
        display: none;
    }

    @media (max-width: 768px) {
        .table-scroll-hint {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: var(--text-muted);
            margin: 20px 0 8px;
        }
        .table-scroll-hint i {
            width: 14px;
            height: 14px;
            color: var(--accent);
        }
    }

    .read-also-box {
        margin: 36px 0;
        padding: 24px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
    }

    .read-also-box h4 {
        font-size: 17px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .read-also-box ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .read-also-box li {
        margin-bottom: 10px;
    }

    .read-also-box li a {
        color: var(--accent);
        text-decoration: none;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .read-also-box li a:hover {
        text-decoration: underline;
    }

    .article-cta {
        margin: 48px 0;
        padding: 32px;
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.05) 100%);
        border: 1px solid rgba(245, 158, 11, 0.25);
        border-radius: var(--radius-lg);
        text-align: center;
    }

    .article-cta h3 {
        font-size: 22px;
        margin-bottom: 10px;
        color: #fff;
    }

    .article-cta p {
        color: var(--text-secondary);
        margin-bottom: 20px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Cross-sell Candles Section */
    .cross-sell-section {
        margin-top: 56px;
        padding-top: 40px;
        border-top: 1px solid var(--border);
    }

    .cross-sell-title {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 24px;
    }

    .cross-sell-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }

    .cross-candle-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: 16px;
        display: flex;
        gap: 14px;
        align-items: center;
        transition: transform 0.2s, border-color 0.2s;
    }

    .cross-candle-card:hover {
        transform: translateY(-2px);
        border-color: var(--accent);
    }

    .cross-candle-thumb {
        width: 70px;
        height: 70px;
        border-radius: var(--radius-sm);
        background: #101217;
        overflow: hidden;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cross-candle-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cross-candle-info h4 {
        font-size: 15px;
        margin-bottom: 4px;
        color: var(--text-primary);
    }

    .cross-candle-price {
        font-size: 14px;
        font-weight: 700;
        color: var(--accent);
    }

    /* Showcase Grid (when grid layout is selected in admin) */
    .cross-sell-showcase-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .showcase-candle-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        overflow: hidden;
        transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
        display: flex;
        flex-direction: column;
    }

    .showcase-candle-card:hover {
        transform: translateY(-4px);
        border-color: var(--accent);
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

    .showcase-thumb {
        width: 100%;
        aspect-ratio: 1;
        background: #101217;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .showcase-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .showcase-candle-card:hover .showcase-thumb img {
        transform: scale(1.04);
    }

    .showcase-body {
        padding: 16px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .showcase-title {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--text-primary);
    }

    .showcase-footer {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .showcase-price {
        font-size: 17px;
        font-weight: 700;
        color: var(--accent);
    }

    @media (max-width: 640px) {
        .article-title {
            font-size: 28px;
        }
        .article-cover-wrapper {
            height: 240px;
        }
    }

    /* Light Theme blog/detail.html refinements */
    [data-theme="light"] h1,
    [data-theme="light"] h2,
    [data-theme="light"] h3,
    [data-theme="light"] h4,
    [data-theme="light"] h5,
    [data-theme="light"] h6,
    [data-theme="light"] .article-title,
    [data-theme="light"] .article-content h1,
    [data-theme="light"] .article-content h2,
    [data-theme="light"] .article-content h3,
    [data-theme="light"] .article-content h4,
    [data-theme="light"] .article-content h5,
    [data-theme="light"] .article-content h6,
    [data-theme="light"] .article-content th,
    [data-theme="light"] .read-also-box h4,
    [data-theme="light"] .article-cta h3,
    [data-theme="light"] .cross-sell-title,
    [data-theme="light"] .cross-candle-info h4,
    [data-theme="light"] .showcase-title {
        color: #26201a !important;
    }
    [data-theme="light"] .article-content {
        color: #382e25;
    }
    [data-theme="light"] .article-content blockquote {
        background: rgba(180, 83, 9, 0.06);
        color: #382e25;
        border-left-color: #b45309;
    }
    [data-theme="light"] .article-content th {
        background: #fbf8f3;
        border-color: #ded2c0;
    }
    [data-theme="light"] .read-also-box {
        background: #fbf8f3;
        border-color: #ded2c0;
    }
    [data-theme="light"] .article-cta {
        background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(253, 248, 243, 0.95) 100%);
        border-color: rgba(180, 83, 9, 0.3);
    }
    [data-theme="light"] .cross-candle-thumb,
    [data-theme="light"] .showcase-thumb {
        background: #e8dccb;
    }

    /* Content Images inside Article Body */
    .article-content img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        display: block;
        margin: 32px auto;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    [data-theme="light"] .article-content img {
        box-shadow: 0 8px 24px rgba(90, 65, 40, 0.12);
        border: 1px solid #ded2c0;
    }

