/* =============================================
   FONDOSTECH BLOG DETAIL / DESCRIPTION PAGE STYLES
   ============================================= */

/* ---------------------------------------------
   1. HERO HEADER SECTION
   --------------------------------------------- */
.article-hero-section {
    background: radial-gradient(circle at 50% -20%, #dbeafe 0%, #f5faff 55%, #ffffff 100%);
    padding: 7.5rem 0 3.5rem;
    position: relative;
    border-bottom: 1px solid #cee4fd;
}

.article-breadcrumb {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.article-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
    color: #086ad8;
}

.article-category-badge {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    background: rgba(8, 106, 216, 0.08);
    border: 1px solid rgba(8, 106, 216, 0.2);
    border-radius: 2rem;
    color: #086ad8;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.article-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.22;
    color: #0f172a;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.article-hero-subtitle {
    font-size: 1.1875rem;
    line-height: 1.65;
    color: #475569;
    max-width: 820px;
    margin-bottom: 2rem;
}

/* Author & Meta Row */
.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid #dbeafe;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.author-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #086ad8, #38bdf8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.0625rem;
    box-shadow: 0 4px 14px rgba(8, 106, 216, 0.25);
}

.author-name-title {
    font-size: 0.9875rem;
    font-weight: 700;
    color: #0f172a;
}

.article-meta-date {
    font-size: 0.84375rem;
    color: #64748b;
}

/* Social Share Buttons */
.share-buttons-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #64748b;
    margin-right: 0.35rem;
    text-transform: uppercase;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cee4fd;
    color: #086ad8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.share-btn:hover {
    background: #086ad8;
    color: #ffffff;
    border-color: #086ad8;
    box-shadow: 0 4px 12px rgba(8, 106, 216, 0.3);
    transform: translateY(-2px);
}

/* ---------------------------------------------
   2. COVER IMAGE BANNER
   --------------------------------------------- */
.article-cover-section {
    padding: 3rem 0 2rem;
    background: #ffffff;
}

.article-cover-frame {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(33, 37, 41, 0.08);
    border: 1px solid #cee4fd;
    max-height: 480px;
}

.article-cover-frame img {
    width: 100%;
    /* height: 100%;
    object-fit: cover; */
}

/* ---------------------------------------------
   3. ARTICLE CONTENT & SIDEBAR GRID
   --------------------------------------------- */
.article-main-section {
    padding: 2.5rem 0 6rem;
    background: #ffffff;
}

.article-body-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.article-body-content h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: #0f172a;
    margin: 2.5rem 0 1.25rem;
    line-height: 1.3;
    scroll-margin-top: 6rem;
}

.article-body-content h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2rem 0 1rem;
}

.article-body-content p {
    margin-bottom: 1.5rem;
}

/* Callout Summary Box */
.summary-callout-box {
    background: linear-gradient(135deg, #eff6ff 0%, #f5faff 100%);
    border-left: 4px solid #086ad8;
    border-radius: 0 1.25rem 1.25rem 0;
    padding: 1.75rem 2rem;
    margin: 2rem 0;
}

.summary-callout-title {
    font-size: 0.84375rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #086ad8;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.summary-callout-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #1e293b;
    font-size: 1.025rem;
}

.summary-callout-list li {
    margin-bottom: 0.5rem;
}

/* Quote Block */
.article-quote-block {
    background: #f8fafc;
    border: 1px solid #cee4fd;
    border-radius: 1.5rem;
    padding: 2rem 2.25rem;
    margin: 2.5rem 0;
    position: relative;
}

.quote-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.quote-author {
    font-size: 0.875rem;
    font-weight: 700;
    color: #086ad8;
}

/* Stat Box Inside Article */
.article-stat-banner {
    background: linear-gradient(135deg, #086ad8 0%, #0284c7 100%);
    color: #ffffff;
    border-radius: 1.5rem;
    padding: 2.25rem 2rem;
    text-align: center;
    margin: 2.5rem 0;
    box-shadow: 0 10px 30px rgba(8, 106, 216, 0.25);
}

.article-stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.article-stat-label {
    font-size: 1.0625rem;
    font-weight: 600;
    opacity: 0.95;
}

/* Author Bio Card at bottom of article */
.author-bio-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 2rem;
    margin-top: 3.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.author-bio-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #086ad8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ---------------------------------------------
   4. STICKY SIDEBAR (TOC & WIDGETS)
   --------------------------------------------- */
.article-sidebar {
    position: relative;
}

.toc-sticky-card {
    position: -webkit-sticky;
    position: sticky;
    top: 6.5rem;
    z-index: 90;
}

.sidebar-widget-card {
    background: #ffffff;
    border: 1px solid #cee4fd;
    border-radius: 1.5rem;
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 24px rgba(33, 37, 41, 0.04);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eef0f1;
}

/* Table of Contents Links */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.toc-link {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    padding: 0.35rem 0.6rem;
    border-radius: 0.5rem;
}

.toc-link.sub-link {
    padding-left: 1.5rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: #64748b;
}

.toc-link:hover,
.toc-link.active {
    color: #086ad8;
    background: #eff6ff;
    padding-left: 0.85rem;
}

.toc-link.sub-link:hover,
.toc-link.sub-link.active {
    padding-left: 1.75rem;
}

/* Trending Articles Mini List */
.trending-mini-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    text-decoration: none;
    margin-bottom: 1.125rem;
}

.trending-mini-item:last-child {
    margin-bottom: 0;
}

.trending-mini-img {
    width: 68px;
    height: 54px;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
}

.trending-mini-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.trending-mini-item:hover .trending-mini-title {
    color: #086ad8;
}

/* Sidebar Demo Box */
.sidebar-cta-box {
    background: linear-gradient(135deg, #086ad8, #0284c7);
    color: #ffffff;
    border-radius: 1.5rem;
    padding: 2rem 1.75rem;
    text-align: center;
}

.sidebar-cta-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.sidebar-cta-desc {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* ---------------------------------------------
   5. MARKET DATA TABLE STYLES
   --------------------------------------------- */
.market-table-wrap {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 1.25rem;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(8, 106, 216, 0.04);
}

.market-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}

.market-table thead {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.market-table th {
    padding: 1.1rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    vertical-align: middle;
}

.market-table td {
    padding: 1.15rem 1.25rem;
    font-size: 0.975rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.market-table tbody tr:last-child td {
    border-bottom: none;
}

.market-table tbody tr:hover {
    background-color: #f8fafc;
}

.market-size-pill {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: #eff6ff;
    color: #086ad8;
    border: 1px solid #bfdbfe;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
}

.market-source-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.25rem;
}

/* ---------------------------------------------
   6. PRODUCT FIT CALLOUT BOXES
   --------------------------------------------- */
.product-fit-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
    border: 1px solid #bbf7d0;
    border-left: 5px solid #10b981;
    border-radius: 1rem;
    padding: 1.35rem 1.5rem;
    margin: 1.75rem 0;
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.product-fit-card.blue-variant {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #bfdbfe;
    border-left: 5px solid #086ad8;
}

.product-fit-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #086ad8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.product-fit-card.green-variant .product-fit-icon {
    background: #10b981;
}

.product-fit-content {
    flex: 1;
}

.product-fit-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background: #dbeafe;
    color: #086ad8;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 2rem;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.product-fit-text {
    margin: 0;
    font-size: 1rem;
    color: #1e293b;
    line-height: 1.6;
}

/* ---------------------------------------------
   7. LISTS & SUB-OPPORTUNITIES
   --------------------------------------------- */
.opportunity-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2rem;
    margin: 2rem 0;
    transition: all 0.25s ease;
}

.opportunity-block:hover {
    border-color: #cee4fd;
    box-shadow: 0 8px 30px rgba(8, 106, 216, 0.05);
}

.opportunity-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.opportunity-badge-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #086ad8;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.65rem 1.25rem;
}

.feature-check-list li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.985rem;
    color: #334155;
    line-height: 1.5;
}

.feature-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #086ad8;
    font-weight: 800;
    font-size: 1rem;
}

/* ---------------------------------------------
   8. FAQ ACCORDION SECTION
   --------------------------------------------- */
.faq-section-block {
    margin-top: 3rem;
}

.faq-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.35rem 1.6rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.faq-card-item:hover {
    border-color: #bfdbfe;
    box-shadow: 0 4px 16px rgba(8, 106, 216, 0.05);
}

.faq-q-title {
    font-size: 1.075rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.faq-q-badge {
    color: #086ad8;
    font-weight: 800;
    flex-shrink: 0;
}

.faq-a-desc {
    margin: 0;
    font-size: 0.985rem;
    color: #475569;
    line-height: 1.7;
    padding-left: 2rem;
}

/* ---------------------------------------------
   9. RELATED ARTICLES AT BOTTOM
   --------------------------------------------- */
.related-articles-section {
    padding: 5rem 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .article-hero-title {
        font-size: 2.15rem;
    }

    .article-sidebar {
        position: static;
        margin-top: 3rem;
    }

    .author-bio-card {
        flex-direction: column;
        text-align: center;
    }

    .market-table th, .market-table td {
        padding: 0.85rem 0.9rem;
        font-size: 0.875rem;
    }

    .opportunity-block {
        padding: 1.5rem;
    }

    .feature-check-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .article-hero-title {
        font-size: 1.75rem;
    }

    .article-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-fit-card {
        flex-direction: column;
    }

    .faq-a-desc {
        padding-left: 0;
    }
}