/* Insights Detail Page Styles */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%); */
    z-index: 2;
}

/* Social Share Icons */
.social-share-icons {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.share-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Breadcrumb Section */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--accent-color);
}

.breadcrumb-separator {
    color: #6c757d;
}

.current-page {
    color: var(--text-color);
    font-weight: 500;
}

/* Article Header */
.article-header {
    padding: 60px 0 40px;
    background: white;
}

.article-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.meta-info {
    flex: 1;
}

.meta-item {
    display: flex;
    margin-bottom: 15px;
}

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

.meta-label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 120px;
    margin-right: 10px;
}

.meta-value {
    color: var(--light-text);
}

.table-of-contents {
    flex: 0 0 250px;
}

.table-of-contents h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: var(--primary-color);
}

/* Article Content */
.article-content {
    padding: 60px 0;
    background: white;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.main-article {
    line-height: 1.7;
}

.article-section {
    margin-bottom: 50px;
}

.article-section:last-child {
    margin-bottom: 0;
}

.article-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.article-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin: 30px 0 20px 0;
}

.article-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 25px 0 15px 0;
}

.article-section p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.article-section ul {
    margin: 20px 0;
    padding-left: 20px;
}

.article-section ul li {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Table Styles */
.table-container {
    margin: 30px 0;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.data-table th {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    line-height: 1.5;
}

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

.data-table tr:hover {
    background: #f8f9fa;
}

/* Callout Box */
.callout-box {
    background: #e8f5e8;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.callout-box h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
    margin-top: 0px;
}

.read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--accent-color);
}

/* Disclaimer */
.disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 40px 0;
}

.disclaimer p {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

/* Tags Section */
.tags-section {
    margin: 40px 0;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.tags-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
}

.tag:hover {
    background: var(--accent-color);
}

/* Related Articles */
.related-articles {
    padding: 70px 0;
}

.related-articles .title-header h2 {
    font-size: 40px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    cursor: pointer;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.article-image {
    height: 260px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1f9968 0%, #408157 100%);
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/pic/video-3.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
}

.cta-content {
    position: relative;
    z-index: 9;
}

.cta-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button .layui-icon {
    font-size: 12px;
}

.cta-button.primary {
    background: #ffffff;
    color: var(--primary-color);
}

.cta-button.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cta-button.secondary:hover {
    background: #ffffff;
    color: #1f9968;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 200px;
        min-height: 200px;
    }

    .social-share-icons {
        left: 15px;
        gap: 10px;
    }

    .share-icon {
        width: 35px;
        height: 35px;
    }

    .article-title {
        font-size: 21px;
    }

    .article-meta {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .table-of-contents {
        flex: none;
        width: 100%;
    }

    .article-section h2 {
        font-size: 24px;
    }

    .article-section h3 {
        font-size: 20px;
    }

    .related-articles h2 {
        font-size: 28px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-btn {
        padding: 12px 25px;
        font-size: 16px;
    }

    .social-share-icons {
        left: 10px;
        gap: 8px;
    }

    .share-icon {
        width: 30px;
        height: 30px;
    }


    .article-meta {
        padding: 15px;
    }

    .meta-item {
        flex-direction: column;
        gap: 5px;
    }

    .meta-label {
        min-width: auto;
        margin-right: 0;
    }

    .article-section h2 {
        font-size: 20px;
    }

    .article-section h3 {
        font-size: 18px;
    }

    .related-articles h2 {
        font-size: 24px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 15px;
    }

    .breadcrumb-nav{
        flex-wrap: wrap;
    }

    .article-header{
        padding: 40px 0;
    }

    .article-content{
        padding: 0;
    }

    .article-section p{
        font-size: 15px;
        margin-bottom: 15px;
    }
    .article-section h2{
        margin-bottom: 15px;
    }
    .data-table td{
        font-size: 13px;
    }
    .table-container{
        margin: 20px 0;
    }
    .article-section ul li{
        font-size: 14px;
    }
    .callout-box{
        margin: 20px 0;
    }
    .article-section{
        margin-bottom: 30px;
    }
    .disclaimer{
        margin: 20px 0;
    }
    .disclaimer p{
        font-size: 13px;
    }
    .related-articles{
        padding: 20px 0 40px 0;
    }

    .articles-grid .article-content{
        padding: 20px;
    }

    .cta-section{
        padding: 50px 0;
     }
     .cta-content h3{
        font-size: 22px;
        margin-bottom: 10px;
     }
     .cta-content p{
        font-size: 14px;
        margin-bottom: 15px;
     }
     .cta-button{
        padding: 5px 20px;
        font-size: 14px;
     }
     .cta-button .layui-icon{
        font-size: 9px;
     }
     .cta-buttons{
        gap: 15px;
     }
}