.more-btn {
    color: #0077B6;
    border: 2px solid #0077B6;
    border-radius: 50px;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.more-btn:hover {
    background-color: #0077B6;
    color: white;
}

.news-card {
    background-color: #F5F5F5;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.featured-news .card-img-wrapper {
    overflow: hidden;
}

.featured-news .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-news:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.news-card .card-body {
    padding: 20px;
}

.category-tag {
    color: #009b4c;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    color: #333333;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 8px 0;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: #009b4c;
}

.news-date {
    color: #999999;
    font-size: 0.85rem;
}

.news-excerpt {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 10px;
}

.small-news-card {
    display: flex;
    background-color:#F5F5F5;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.small-news-card:hover {
    background-color: #ebebeb;
    transform: translateX(5px);
}

.small-news-card .card-img-wrapper {
    overflow: hidden;
}

.small-news-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.small-news-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.small-news-card .card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.small-news-card .news-title {
    font-size: 0.95rem;
    margin: 0 0 5px 0;
}

.small-news-card .news-excerpt {
    font-size: 0.8rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.divider-line {
    border-top: 2px solid #009b4c;
    width: 60px;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .featured-news .card-img-wrapper {
        height: 200px;
    }

    .small-news-card .card-img-wrapper {
        display: none;
    }
}

/**/
.special-topic-section {
    padding: 50px 0 30px;
}

.section-headers {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-more {
    color: #0077B6;
    border: 2px solid #0077B6;
    border-radius: 25px;
    padding: 8px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background-color: #0077B6;
    color: white;
}

.topic-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

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

.card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
}

.topic-card-title {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
}

.topic-card-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #009b4c;
    font-weight: 600;
}

.arrow-icon {
    color: #009b4c;
    font-size: 1.2rem;
}


/**/

.exhibition-section {
    padding: 50px 0 20px;
    background-color: #ffffff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.btn-more {
    padding: 10px 25px;
    border: 2px solid #0077B6;
    color: #0077B6;
    background-color: transparent;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background-color: #0077B6;
    color: #ffffff;
}

.exhibition-card {
    display: flex;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exhibition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
}

.card-content {
    flex: 1;
    padding: 20px;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.equipment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.equipment-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .exhibition-card {
        flex-direction: column;
    }

    .card-poster {
        flex: none;
        min-height: 200px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .card-poster {
        padding: 20px;
    }

    .card-content {
        padding: 20px;
    }
}
/**/
.nav-tabs-custom {
    border-bottom: 1px solid #e0e0e0;
    justify-content: center;
}

.nav-tabs-custom .nav-link {
    color: #666;
    border: none;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 20px;
    transition: color 0.3s ease;
}

.nav-tabs-custom .nav-link:hover {
    color: var(--primary-green);
    border: none;
}

.nav-tabs-custom .nav-link.active {
    color: var(--primary-green);
    border: none;
    border-bottom: 3px solid var(--primary-green);
    background: transparent;
}

.article-card {
    border-bottom: 1px dotted #e0e0e0;
    padding: 30px 0;
}

.article-image {
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.article-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    transition: color 0.3s ease;
    cursor: pointer;
}
.article-title a {
    color: #333;
}
.article-title a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.article-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.article-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.article-category a{
    color: var(--primary-green);
    font-weight: 500;
}

.btn-more {
    background-color: var(--primary-green);
    color: #fff;
    border: none;
    padding: 8px 25px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.btn-more:hover {
    background-color: #007a33;
    color: #fff;
}

@media (max-width: 768px) {
    .article-image {
        height: 200px;
        margin-bottom: 20px;
    }

    .nav-tabs-custom .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Contact CTA Section */
.news-contact-section {
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 40px;
}

.news-contact-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.news-contact-guide {
    flex: 1;
    min-width: 250px;
}

.news-contact-guide p {
    margin: 0;
    font-size: 17px;
    line-height: 2;
}

.news-contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.news-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.news-contact-item i {
    font-size: 18px;
}

.news-text-success {
    color: #28a745 !important;
}

.news-btn-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-btn-message {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.news-btn-message:hover {
    background-color: #218838;
    color: white;
}

.news-btn-chat {
    background-color: #004199;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.news-btn-chat:hover {
    background-color: #0056b3;
    color: white;
}

/* Article Header */
.news-article-header {
    text-align: center;
    margin-bottom: 30px;
}

.news-article-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Article Content */
.news-article-content {
    font-size: 16px;
    color: #444;
}

.news-article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.news-article-image {
    margin: 30px 0;
    text-align: center;
}

.news-article-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Bottom Navigation */
.news-bottom-nav {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.news-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.news-nav-link-item {
    flex: 1;
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-nav-link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-nav-link-item.prev {
    text-align: left;
}

.news-nav-link-item.next {
    text-align: right;
}

.news-nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.news-nav-label i {
    width:30px;
    height: 30px;
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.news-nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .news-contact-info {
        flex-direction: column;
    }

    .news-btn-contact {
        flex-direction: row;
        width: 100%;
    }

    .news-btn-contact .btn {
        flex: 1;
    }

    .news-nav-links {
        flex-direction: column;
    }

    .news-nav-link-item.next {
        text-align: left;
    }

    .news-article-title {
        font-size: 24px;
    }

    .news-contact-details {
        flex-direction: column;
        gap: 10px;
    }
}
/**/
.card-container {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.card-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.card-bottom {
    background: #134a9b;
    color: white;
    text-align: center;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0 0 12px 12px;
}
/**/
.diagram-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px 3px rgba(0,0,0,0.1);
}


.spec-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px 1px rgba(0,0,0,0.1);
    overflow: hidden;
}

.spec-header {
    background: var(--primary-green);
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.spec-body {
    padding: 1.5rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #e0e0e0;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: #666;
    font-weight: 500;
}

.spec-value {
    color: #424242;
    font-weight: 600;
    text-align: right;
}

.machine-table {
    margin-bottom: 0;
}

.machine-table th {
    background: #f8f9fa;
    color: #424242;
    font-weight: 600;
    border: none;
    padding: 0.75rem;
}

.machine-table td {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.75rem;
    vertical-align: middle;
    font-weight: 600;
}
.machine-table td p{margin-bottom:0;}
.machine-table tr:last-child td {
    border-bottom: none;
}
@media (max-width: 992px) {
    .diagram-section{margin-bottom:1.5rem;}
    .flow-container img{
    width: 100%;
}
}