/* Article-specific styles for Bonding Technologies */

.article-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    padding: 8rem 0 4rem;
    color: var(--text-light);
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--text-light);
}

.article-hero {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: center;
}

.article-category {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.article h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-lead {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-weight: 600;
    color: var(--accent-color);
}

.article-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.article-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Table of Contents */
.table-contents {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.toc-wrapper h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.toc-list a:hover {
    color: var(--accent-color);
    border-left-color: var(--accent-color);
}

/* Article Body */
.article-body {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.content-section h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.content-section h4 {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
}

.content-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(78, 205, 196, 0.05) 100%);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box h3 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.highlight-box p {
    margin-bottom: 0;
    font-weight: 500;
}

/* Technology Showcase */
.technology-showcase {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
}

.tech-content {
    margin: 0;
}

.tech-content p {
    margin: 0;
}

/* SpeedFusion Diagram */
.speedfusion-diagram {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.speedfusion-diagram img {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(78, 205, 196, 0.2);
}

.image-caption {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(78, 205, 196, 0.1);
}

.product-card h4 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.product-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-item h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.advantage-item p {
    text-align: left;
    font-size: 0.95rem;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(78, 205, 196, 0.1);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.use-case-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.use-case-card p {
    color: var(--text-gray);
    text-align: left;
    margin: 0;
    line-height: 1.6;
}

/* Technical Specifications */
.technical-specs {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.technical-specs h3 {
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 2rem;
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.spec-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.spec-item h4 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.spec-item p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Conclusion Highlight */
.conclusion-highlight {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.15) 0%, rgba(78, 205, 196, 0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    margin: 2rem 0;
    text-align: center;
}

.conclusion-highlight p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Related Articles */
.related-articles {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.related-articles h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
}

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 1.5rem;
}

.related-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.related-content h3 a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content h3 a:hover {
    color: var(--accent-color);
}

.related-content p {
    margin: 0;
    font-size: 0.9rem;
}

/* Bibliography */
.bibliography {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bibliography h2 {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.75rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.bibliography-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.bibliography-list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    color: var(--text-gray);
    line-height: 1.6;
    transition: background 0.3s ease;
}

.bibliography-list li:hover {
    background: rgba(255, 255, 255, 0.08);
}

.bibliography-list em {
    color: var(--text-light);
    font-style: italic;
}

.bibliography-list a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.bibliography-list a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.technical-note {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.technical-note h3 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.technical-note p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
}

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .article-image {
        order: -1;
    }
    
    .article h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .technology-showcase {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .tech-image {
        justify-self: center;
        max-width: 200px;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 6rem 0 3rem;
    }
    
    .article h1 {
        font-size: 1.75rem;
    }
    
    .article-lead {
        font-size: 1.1rem;
    }
    
    .content-section h2 {
        font-size: 1.75rem;
    }
    
    .content-section h3 {
        font-size: 1.25rem;
    }
    
    .toc-wrapper,
    .content-wrapper {
        padding: 0 1rem;
    }
}