/*
Theme Name: MyTheme
Theme URI: https://example.com
Author: Enterprise
Author URI: https://example.com
Description: 企业官网WordPress主题，智能解决方案提供商
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytheme
Tags: business, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================
   Base Styles (原有CSS)
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1A3C6E;
    --primary-light: #5B88C5;
    --accent: #D4AF37;
    --white: #FFFFFF;
    --bg-light: #F5F7FA;
    --text-dark: #333333;
    --text-gray: #666666;
    --border: #E5E5E5;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px 15px;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.section-title p {
    color: var(--text-gray);
    font-size: 16px;
}

/* Header */
.header {
    position: relative;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100px;
}

.logo img {
    height: 85px;
}

.logo a {
    display: block;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav .current-menu-item > a,
.nav .current_page_item > a {
    color: var(--accent);
}

.nav .current-menu-item > a::after,
.nav .current_page_item > a::after {
    width: 100%;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-right: 20px;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.lang-switcher-btn:hover {
    background: var(--primary-light);
}

.lang-switcher-btn::after {
    content: '▼';
    font-size: 10px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
    min-width: 120px;
    z-index: 1001;
    margin-top: 5px;
}

.lang-dropdown.active {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 15px;
    margin-left: 15px;
    color: var(--text-dark);
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
}

.lang-dropdown a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Nav Dropdown */
.nav-item {
    position: relative;
    display: inline-block;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item > a::after {
    content: '▼';
    font-size: 10px;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
    min-width: 180px;
    margin-top: 0; 
}

.nav-item:hover .nav-dropdown {
    display: block;
    visibility: visible;
    opacity: 1;
}

.nav-dropdown.active {
    display: block;
}

.nav-dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, color 0.3s;
}

.nav-dropdown a:last-child {
    border-bottom: none;
}

.nav-dropdown a:hover {
    background: var(--primary);
    color: var(--white);
}

.nav a {
    color: #333333;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

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

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333333;
    transition: 0.3s;
    display: block;
}

/* Banner */
.banner {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.banner-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>') repeat;
    background-size: 100px 100px;
}

.banner-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 20px;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.banner-content .btn {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent);
    color: var(--white);
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #c9a227;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
}

.banner-dots span.active {
    background: var(--accent);
    width: 30px;
    border-radius: 6px;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow:hover {
    background: var(--accent);
}

.banner-arrow.prev {
    left: 20px;
}

.banner-arrow.next {
    right: 20px;
}

/* Product Section */
.product {
    padding: 80px 0;
    background: var(--bg-light);
}

.product-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.product-categories button,
.product-categories .btn {
    padding: 10px 25px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.product-categories button:hover,
.product-categories button.active {
    background: var(--primary);
    color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.product-info .btn {
    padding: 8px 20px;
    font-size: 13px;
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background: var(--white);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.solution-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
    background: var(--bg-light);
    transition: all 0.3s;
}

.solution-card:hover {
    background: var(--primary);
    color: var(--white);
}

.solution-card:hover .solution-icon {
    background: var(--white);
    color: var(--primary);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    transition: 0.3s;
}

.solution-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.solution-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.solution-card:hover p {
    color: rgba(255,255,255,0.8);
}

/* Case Section */
.case {
    padding: 80px 0;
    background: var(--bg-light);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.case-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.case-info p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Client Section */
.client {
    padding: 60px 0;
    background: var(--white);
}

.client-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.client-grid span {
    padding: 20px 40px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 18px;
    color: var(--text-gray);
    font-weight: bold;
}

/* News Section */
.news {
    padding: 80px 0;
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-info {
    padding: 20px;
}

.news-info .date {
    font-size: 13px;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.news-info h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-info h3 a:hover {
    color: var(--primary);
}

.news-info p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

/* Product Page */
.product-page {
    padding: 60px 0;
}

.product-page .product-grid {
    margin-top: 40px;
}

/* Solution Page */
.solution-page {
    padding: 60px 0;
}

.solution-list {
    display: grid;
    gap: 40px;
}

.solution-item {
    display: flex;
    gap: 40px;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.solution-item:nth-child(even) {
    flex-direction: row-reverse;
}

.solution-item img {
    width: 500px;
    height: 350px;
    object-fit: cover;
}

.solution-item-content {
    padding: 40px;
    flex: 1;
}

.solution-item-content h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.solution-item-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Case Page */
.case-page {
    padding: 60px 0;
}

.case-page .case-grid {
    margin-top: 40px;
}

/* News Page */
.news-page {
    padding: 60px 0;
}

.news-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.news-list {
    display: grid;
    gap: 30px;
}

.news-list-item {
    display: flex;
    gap: 25px;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.news-list-item img {
    width: 280px;
    height: 200px;
    object-fit: cover;
}

.news-list-item-content {
    padding: 25px;
    flex: 1;
}

.news-list-item-content h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
}

.news-list-item-content .date {
    font-size: 13px;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.news-list-item-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.news-sidebar {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
}

.news-sidebar h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

.news-sidebar ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.news-sidebar ul li:last-child {
    border-bottom: none;
}

.news-sidebar ul li a {
    font-size: 15px;
    color: var(--text-gray);
    transition: 0.3s;
}

.news-sidebar ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* About Page */
.about-page {
    padding: 60px 0;
}

.about-intro {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-intro img {
    width: 500px;
    height: 350px;
    border-radius: 8px;
    object-fit: cover;
}

.about-intro-content h3 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-intro-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-timeline {
    margin-bottom: 80px;
}

.about-timeline h3 {
    font-size: 28px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-light);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-right: 30px;
    max-width: 350px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 30px;
}

.timeline-content h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-gray);
}

.about-team h3 {
    font-size: 28px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.team-member h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 5px;
}

.team-member p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Contact Page */
.contact-page {
    padding: 60px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info p span {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--text-gray);
    transition: 0.3s;
    border-radius: 4px;
}

.pagination a:hover,
.pagination span.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* WordPress Specific */
.wp-pagenavi {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.wp-pagenavi a,
.wp-pagenavi span {
    padding: 10px 15px;
    border: 1px solid var(--border);
    color: var(--text-gray);
    transition: 0.3s;
    border-radius: 4px;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WordPress Required */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    clip: auto;
    width: auto;
    height: auto;
    position: static !important;
    overflow: visible;
}

/* Gallery Support */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.gallery-item {
    margin: 0;
}

.gallery-caption {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 992px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card {
        flex-direction: column;
    }
    
    .product-card img {
        width: 100%;
    }
    
    .solution-item {
        flex-direction: column;
    }
    
    .solution-item:nth-child(even) {
        flex-direction: column;
    }
    
    .solution-item img {
        width: 100%;
    }
    
    .news-layout {
        grid-template-columns: 1fr;
    }
    
    .about-intro {
        flex-direction: column;
    }
    
    .about-intro img {
        width: 100%;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        position: relative;
    }
    
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 60px;
        padding: 10px 20px;
    }
    
    .logo {
        display: flex;
        align-items: center;
    }
    
    .logo img {
        height: 85px;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border);
        color: #333333;
    }
    
    .menu-toggle {
        display: flex;
        cursor: pointer;
        padding: 5px;
    }
    
    .lang-switcher {
        margin: 10px 20px;
    }
    
    .lang-switcher-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .lang-dropdown {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: var(--bg-light);
    }
    
    .lang-dropdown a {
        padding: 12px 20px 12px 30px;
    }
    
    .nav-item {
        position: relative;
    }
    
    .nav-item > a::after {
        position: absolute;
        right: 20px;
    }
    
    .nav-dropdown {
        display: none;
        position: static;
        box-shadow: none;
        background: var(--bg-light);
    }
    
    .nav-dropdown.active {
        display: block;
    }
    
    .nav-dropdown a {
        padding: 12px 20px 12px 40px;
    }
    
    .banner {
        height: 350px;
    }
    
    .banner-content h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .product-grid,
    .case-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-item::before {
        left: 20px;
    }
    
    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }
    
    .news-list-item {
        flex-direction: column;
    }
    
    .news-list-item img {
        width: 100%;
    }
}

/* Dropdown Triangle */
.dropdown-triangle {
    display: inline-block;
    margin-left: 4px;
    font-size: 8px;
    color: #333;
    line-height: 1;
    vertical-align: middle;
}

.nav-item:hover .dropdown-triangle {
    color: var(--accent);
}

/* Product Title Styles */
.product-title {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 8px;
}

.product-subtitle {
    color: #666;
    margin-bottom: 30px;
    display: block;
}

/* Category Tabs */
.nav-pills .nav-link {
    padding: 8px 25px;
    border-radius: 0;
    margin-right: 5px;
    font-size: 14px;
}

.nav-pills .nav-link.active {
    background-color: var(--primary);
    color: #fff;
}

.nav-pills .nav-link:not(.active) {
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
}

/* Product Card */
.product-card {
    border: 1px solid #eee;
    padding: 20px;
    height: 100%;
}

.product-name {
    font-weight: 600;
    font-size: 18px;
    margin: 20px 0 10px;
}

.product-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.btn-detail {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 6px 15px;
    font-size: 13px;
}

.btn-detail:hover {
    background-color: #c9a227;
    color: #fff;
}

/* WordPress Content Styles */
.entry-content {
    padding: 40px 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--primary);
    margin: 30px 0 20px;
}

.entry-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin: 30px 0;
    color: var(--text-gray);
    font-style: italic;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.entry-content table th,
.entry-content table td {
    padding: 12px;
    border: 1px solid var(--border);
    text-align: left;
}

.entry-content table th {
    background: var(--bg-light);
    font-weight: bold;
}
