/* ================= PREMIUM INDUSTRIAL VARIABLES ================= */
:root {
    --dark-base: #030303;
    --dark-surface: #0C0C0C;
    --dark-panel: #141414;
    --light-base: #F7F9FC;
    --light-surface: #FFFFFF;
    
    --brand-red: #D31117;
    --brand-red-hover: #B00E13;
    
    --text-main: #5C636A;
    --text-heading: #0B0E14;
    --text-dark-heading: #FFFFFF;
    --text-dark-main: #9BA1A8;
    
    --border-light: rgba(0, 0, 0, 0.05);
    --border-dark: rgba(255, 255, 255, 0.08);
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.08);
    --shadow-red: 0 12px 24px rgba(211, 17, 23, 0.25);
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
    background: var(--light-base); 
    color: var(--text-main); 
    font-family: var(--font-main); 
    line-height: 1.75; 
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ================= LAYOUT & TYPOGRAPHY ================= */
.container { max-width: 1440px; margin: 0 auto; padding: 0 5%; }
.section { padding: 140px 0; position: relative; }
.bg-dark { background: var(--dark-base); color: var(--text-dark-main); }
.bg-surface { background: var(--light-surface); }

.section-header { margin-bottom: 80px; position: relative; }
.section-header::before { 
    content: ''; position: absolute; left: 0; top: -16px; width: 40px; height: 4px; 
    background: var(--brand-red); border-radius: 2px;
}
.section-header.text-center::before { left: 50%; transform: translateX(-50%); }
.section-header h2 { font-size: 2.8rem; font-weight: 800; color: var(--text-heading); line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.03em; }
.bg-dark .section-header h2 { color: var(--text-dark-heading); }
.section-header p { font-size: 1.15rem; max-width: 700px; color: var(--text-main); font-weight: 400; line-height: 1.6; }
.section-header.text-center p { margin: 0 auto; }
.bg-dark .section-header p { color: var(--text-dark-main); }

.reveal { opacity: 0; transform: translateY(40px); transition: all 1s var(--easing); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

/* ================= TOP BAR & HEADER ================= */
.top-bar { background: #000; color: #888; font-size: 0.75rem; padding: 12px 0; border-bottom: 1px solid #1A1A1A; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-links { display: flex; gap: 32px; }
.top-bar a { color: #888; text-decoration: none; transition: color 0.3s; display: flex; align-items: center; gap: 8px;}
.top-bar a:hover { color: #fff; }

.header { 
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: saturate(180%) blur(20px); 
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-light); 
    position: sticky; top: 0; z-index: 1000; 
    transition: all 0.3s var(--easing);
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-text { font-size: 1.8rem; font-weight: 800; color: var(--dark-base); letter-spacing: -1px; }
.logo-text span.red { color: var(--brand-red); }

.hamburger { display: none; background: none; border: none; font-size: 24px; color: var(--dark-base); cursor: pointer; transition: color 0.3s; }
.hamburger:hover { color: var(--brand-red); }

.nav { display: flex; list-style: none; gap: 36px; align-items: center; margin: 0; height: 100%; }
.nav > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav > li > a { 
    color: var(--text-heading); text-decoration: none; font-size: 0.9rem; font-weight: 600; 
    text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 0; 
    display: flex; align-items: center; gap: 6px; transition: color 0.3s; 
}
.nav > li > a i { font-size: 0.7rem; color: #AAA; transition: transform 0.3s; }
.nav > li:hover > a:not(.btn-primary) { color: var(--brand-red); }
.nav > li:hover > a:not(.btn-primary) i { transform: rotate(180deg); color: var(--brand-red); }

.nav > li > a.btn-primary { color: #FFFFFF !important; padding: 14px 32px !important; border-radius: 4px; background: var(--brand-red); transition: all 0.3s; }
.nav > li:hover > a.btn-primary { background: var(--brand-red-hover) !important; transform: translateY(-2px); box-shadow: var(--shadow-red); }

.dropdown {
    position: absolute; top: 90px; left: -20px; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
    min-width: 280px; border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1001; padding: 16px 0;
    border: 1px solid var(--border-light); border-top: 3px solid var(--brand-red);
}
.nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { list-style: none; margin: 0; width: 100%; }
.dropdown a { display: block; padding: 12px 32px; color: var(--text-main); text-decoration: none; font-size: 0.9rem; transition: all 0.3s var(--easing); font-weight: 500; position: relative; overflow: hidden; }
.dropdown a::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--brand-red); transform: scaleY(0); transition: transform 0.3s var(--easing); }
.dropdown a:hover { color: var(--brand-red); background: var(--light-base); padding-left: 38px; }
.dropdown a:hover::before { transform: scaleY(1); }

/* ================= BUTTONS ================= */
.btn { 
    display: inline-flex; align-items: center; justify-content: center; 
    padding: 16px 36px; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; 
    letter-spacing: 1px; text-decoration: none; transition: all 0.4s var(--easing); 
    cursor: pointer; border: 1px solid transparent; border-radius: 4px;
}
.btn-primary { background: var(--brand-red); color: #fff; box-shadow: 0 4px 15px rgba(211, 17, 23, 0.15); }
.btn-primary:hover { background: var(--brand-red-hover); transform: translateY(-3px); box-shadow: var(--shadow-red); }
.btn-dark-outline { border: 1px solid rgba(255,255,255,0.4); color: #fff; backdrop-filter: blur(5px); }
.btn-dark-outline:hover { background: #fff; color: var(--dark-base); border-color: #fff; transform: translateY(-3px); }

/* ================= INDEX CAROUSEL HERO ================= */
.carousel { position: relative; height: 90vh; min-height: 650px; width: 100%; overflow: hidden; background: var(--dark-base); }
.carousel-inner { position: relative; width: 100%; height: 100%; }
.carousel-item { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 1; display: flex; align-items: center; }
.carousel-item.active { opacity: 1; z-index: 2; }
.carousel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 6s linear; z-index: -2; }
.carousel-item.active .carousel-bg { transform: scale(1); }
.carousel-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,2,2,0.95) 0%, rgba(2,2,2,0.6) 45%, rgba(2,2,2,0) 100%), radial-gradient(circle at 80% 50%, rgba(211, 17, 23, 0.25) 0%, transparent 60%); z-index: -1; }
.carousel-content { position: relative; max-width: 900px; padding-top: 60px; }
.carousel-content > * { opacity: 0; transform: translateY(40px); transition: all 1s var(--easing); }
.carousel-item.active .carousel-content > * { opacity: 1; transform: translateY(0); }
.hero-label { display: inline-flex; align-items: center; gap: 12px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; color: var(--brand-red); margin-bottom: 24px; }
.hero-label::before { content: ''; width: 24px; height: 2px; background: var(--brand-red); }
.carousel-content h1 { font-size: clamp(3.5rem, 6vw, 5rem); color: #fff; margin-bottom: 32px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.carousel-content p { font-size: 1.25rem; color: rgba(255,255,255,0.7); margin-bottom: 56px; font-weight: 300; max-width: 650px; line-height: 1.6; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.carousel-controls { position: absolute; bottom: 50px; right: 5%; display: flex; gap: 16px; z-index: 10; }
.carousel-btn { width: 56px; height: 56px; border: 1px solid rgba(255,255,255,0.2); background: transparent; backdrop-filter: blur(8px); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s var(--easing); border-radius: 50%; }
.carousel-btn:hover { background: var(--brand-red); border-color: var(--brand-red); transform: scale(1.1); box-shadow: var(--shadow-red); }
.carousel-indicators { position: absolute; bottom: 70px; left: 5%; display: flex; gap: 12px; z-index: 10; align-items: center; }
.indicator { width: 40px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.4s var(--easing); position: relative; }
.indicator.active { background: var(--brand-red); width: 64px; }

/* ================= INNER PAGES HERO ================= */
.inner-hero { position: relative; height: 45vh; min-height: 350px; display: flex; align-items: center; background: #000; overflow: hidden; }
.inner-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.inner-hero-content { position: relative; z-index: 2; max-width: 800px; text-align: left; }
.inner-hero-content h1 { color: #fff; font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.1; }
.inner-hero-content p { color: #A1A5AB; font-size: 1.15rem; max-width: 600px; line-height: 1.6; }

/* ================= FEATURE BLOCKS (Design, Solutions, Equipment) ================= */
.feature-block { display: flex; align-items: center; gap: 80px; margin-bottom: 120px; }
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reverse { flex-direction: row-reverse; }
.feature-img-wrapper { flex: 1; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); }
.feature-img-wrapper img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 4/3; transition: transform 0.8s var(--easing); }
.feature-img-wrapper:hover img { transform: scale(1.05); }
.feature-content { flex: 1; }
.feature-content h3 { font-size: 2.2rem; font-weight: 800; color: var(--text-heading); margin-bottom: 24px; letter-spacing: -0.02em; }
.feature-content p { font-size: 1.1rem; color: var(--text-main); margin-bottom: 24px; line-height: 1.8; }
.feature-list { list-style: none; margin-bottom: 32px; }
.feature-list li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 1.05rem; color: var(--text-heading); font-weight: 500; }
.feature-list li::before { content: '\f00c'; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; color: var(--brand-red); font-size: 1rem; }

/* ================= CARDS (Services, Equipment, Deliverables, Certs) ================= */
.service-card, .solution-card, .deliverable-card, .cert-card, .equip-card { 
    background: var(--light-surface); padding: 48px 40px; border: 1px solid var(--border-light); 
    position: relative; transition: all 0.5s var(--easing); border-radius: var(--radius-lg); 
    z-index: 1; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; overflow: hidden;
}
/* Solution/Service specific hover */
.solution-card::before, .service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0; background: var(--brand-red); transition: height 0.5s var(--easing); z-index: -1; }
.solution-card:hover::before, .service-card:hover::before { height: 100%; }
.solution-card .icon-wrap, .service-card .icon-wrap { width: 64px; height: 64px; background: var(--light-base); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: all 0.5s var(--easing); }
.solution-card i, .service-card i { font-size: 1.6rem; color: var(--dark-base); transition: color 0.5s var(--easing); }
.solution-card h3, .service-card h3 { font-size: 1.35rem; margin-bottom: 16px; color: var(--text-heading); transition: color 0.5s var(--easing); font-weight: 700; letter-spacing: -0.02em; }
.solution-card p, .service-card p { font-size: 1rem; color: var(--text-main); transition: color 0.5s var(--easing); margin: 0; line-height: 1.7; flex-grow: 1; }
.solution-card:hover, .service-card:hover { transform: translateY(-10px); border-color: transparent; box-shadow: var(--shadow-hover); }
.solution-card:hover .icon-wrap, .service-card:hover .icon-wrap { background: rgba(255,255,255,0.1); transform: scale(1.1); }
.solution-card:hover i, .solution-card:hover h3, .solution-card:hover p,
.service-card:hover i, .service-card:hover h3, .service-card:hover p { color: #fff; }

/* Equip/Deliverable/Cert specific hover */
.equip-card:hover, .deliverable-card:hover, .cert-card:hover { border-color: var(--brand-red); box-shadow: var(--shadow-hover); transform: translateY(-8px); }
.equip-card i, .deliverable-card i, .cert-card i { font-size: 2.5rem; color: var(--brand-red); margin-bottom: 24px; }
.cert-card i { color: var(--dark-base); }
.cert-card:hover i { color: var(--brand-red); }
.equip-card h3, .deliverable-card h3, .cert-card h3 { font-size: 1.3rem; margin-bottom: 16px; color: var(--text-heading); font-weight: 700; letter-spacing: -0.01em; }
.equip-card p, .deliverable-card p, .cert-card p { font-size: 1rem; color: var(--text-main); margin: 0; line-height: 1.7; flex-grow: 1; }

/* ================= ABOUT PAGE SPECIFIC ================= */
.content-image { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); object-fit: cover; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; border-top: 1px solid var(--border-light); padding-top: 40px; }
.stat-item h4 { font-size: 3rem; color: var(--brand-red); font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stat-item p { font-size: 0.95rem; color: var(--text-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ================= PROJECTS LIST PAGE ================= */
.filter-bar { display: flex; gap: 16px; margin-bottom: 56px; flex-wrap: wrap; }
.filter-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-dark); color: var(--text-dark-main); padding: 10px 24px; border-radius: 30px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s var(--easing); font-family: var(--font-main); }
.filter-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.filter-btn.active { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }

.project-card { background: var(--dark-panel); overflow: hidden; position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); transition: all 0.5s var(--easing); border: 1px solid rgba(255,255,255,0.03); }
.project-img { height: 360px; background: #0A0A0A; position: relative; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--easing); z-index: 1; }
.project-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.2) 50%, rgba(10,10,10,0) 100%); opacity: 0.8; transition: opacity 0.5s; z-index: 2; }
.project-card:hover { transform: translateY(-10px); box-shadow: 0 24px 48px rgba(0,0,0,0.8); border-color: rgba(255,255,255,0.1); }
.project-card:hover .project-img img { transform: scale(1.08); }
.project-card:hover .project-img::after { opacity: 0.4; }
.project-body { padding: 48px; flex-grow: 1; position: absolute; bottom: 0; left: 0; width: 100%; z-index: 3; }
.project-category { color: var(--brand-red); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; display: block;}
.project-body h3 { font-size: 1.5rem; color: #fff; margin-bottom: 16px; font-weight: 700; letter-spacing: -0.01em; transition: color 0.3s; line-height: 1.3; }
.project-card:hover .project-body h3 { color: var(--brand-red); }
.project-body p { color: var(--text-dark-main); font-size: 1rem; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ================= PROJECT DETAIL PAGE ================= */
.project-hero { position: relative; height: 70vh; min-height: 500px; display: flex; align-items: flex-end; background: #000; overflow: hidden; padding-bottom: 80px; }
.project-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.project-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,3,3,0.9) 0%, rgba(3,3,3,0) 100%); z-index: 1; }
.project-hero-content { position: relative; z-index: 2; width: 100%; }
.project-hero h1 { color: #fff; font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0; line-height: 1.1;}
.project-layout { display: grid; grid-template-columns: 1fr 350px; gap: 80px; padding: 100px 0; align-items: start; }
.project-article h2 { font-size: 2rem; color: var(--text-heading); font-weight: 800; margin-bottom: 24px; letter-spacing: -0.02em; }
.project-article p { font-size: 1.1rem; color: var(--text-main); margin-bottom: 32px; line-height: 1.8; }
.project-article img { width: 100%; border-radius: var(--radius-lg); margin: 32px 0; box-shadow: var(--shadow-soft); }
.project-sidebar { background: var(--light-surface); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--border-light); position: sticky; top: 120px; }
.project-sidebar h3 { font-size: 1.25rem; color: var(--text-heading); font-weight: 800; margin-bottom: 24px; border-bottom: 2px solid var(--border-light); padding-bottom: 16px; }
.spec-item { margin-bottom: 24px; }
.spec-item:last-child { margin-bottom: 0; }
.spec-label { display: block; font-size: 0.85rem; color: var(--text-main); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 4px; }
.spec-value { display: block; font-size: 1.05rem; color: var(--text-heading); font-weight: 500; }
.gallery-section { padding: 0 0 140px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4/3; background: #000; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--easing); opacity: 0.8; }
.gallery-item:hover img { transform: scale(1.08); opacity: 1; }

/* ================= FAQ & NEWS (Index & List) ================= */
.info-panel { background: var(--light-surface); padding: 56px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--border-light); height: 100%; transition: box-shadow 0.4s var(--easing); }
.info-panel:hover { box-shadow: var(--shadow-hover); }
.panel-heading { font-size: 1.8rem; font-weight: 800; color: var(--text-heading); margin-bottom: 40px; display: flex; align-items: center; gap: 16px; letter-spacing: -0.02em; }
.panel-heading::before { content: ''; display: block; width: 4px; height: 24px; background: var(--brand-red); border-radius: 2px;}
.faq-wrapper { background: var(--light-surface); padding: 64px 80px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 1px solid var(--border-light); max-width: 1000px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:last-child { border-bottom: none; }
.faq-question { padding: 24px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1.15rem; font-weight: 600; color: var(--text-heading); transition: color 0.3s ease; }
.faq-item:first-child .faq-question { padding-top: 0; }
.faq-question .icon-cross { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-question .icon-cross::before, .faq-question .icon-cross::after { content: ''; position: absolute; background: var(--text-heading); transition: all 0.4s var(--easing); border-radius: 1px; }
.faq-question .icon-cross::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-question .icon-cross::after { top: 0; left: 6px; width: 2px; height: 14px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--easing); }
.faq-answer-inner { padding-bottom: 24px; color: var(--text-main); font-size: 1.05rem; line-height: 1.8; }
.faq-item.active .faq-question { color: var(--brand-red); }
.faq-item.active .icon-cross::before, .faq-item.active .icon-cross::after { background: var(--brand-red); }
.faq-item.active .icon-cross::after { transform: rotate(90deg); }

.news-card { background: var(--light-surface); overflow: hidden; position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); transition: all 0.5s var(--easing); border: 1px solid var(--border-light); box-shadow: var(--shadow-soft); }
.news-img { height: 240px; background: #E5E8EB; position: relative; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--easing); }
.news-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: transparent; }
.news-card:hover .news-img img { transform: scale(1.08); }
.news-body { padding: 40px; flex-grow: 1; display: flex; flex-direction: column; }
.news-date { font-size: 0.85rem; color: var(--brand-red); font-weight: 700; letter-spacing: 1px; margin-bottom: 12px; display: block; }
.news-title { font-size: 1.3rem; color: var(--text-heading); font-weight: 700; text-decoration: none; transition: color 0.3s; line-height: 1.4; margin-bottom: 16px; letter-spacing: -0.01em; }
.news-title:hover { color: var(--brand-red); }
.news-desc { font-size: 1rem; color: var(--text-main); line-height: 1.7; margin: 0 0 24px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex-grow: 1; }
.news-link { color: var(--text-heading); font-weight: 600; text-decoration: none; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s; text-transform: uppercase; letter-spacing: 0.5px; }
.news-link i { transition: transform 0.3s; color: var(--brand-red); }
.news-link:hover { color: var(--brand-red); }
.news-link:hover i { transform: translateX(5px); }

/* News item list for index page */
.news-item { padding: 24px 0; border-bottom: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 8px; position: relative; transition: padding 0.3s var(--easing); }
.news-item::before { content: ''; position: absolute; left: -16px; top: 24px; bottom: 24px; width: 3px; background: var(--brand-red); transform: scaleY(0); transition: transform 0.3s var(--easing); }
.news-item:first-child { padding-top: 0; }
.news-item:first-child::before { top: 0; }
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-item:last-child::before { bottom: 0; }
.news-item-content { transition: transform 0.4s var(--easing); display: flex; flex-direction: column; gap: 8px; }
.news-item:hover .news-item-content { transform: translateX(12px); }
.news-item:hover::before { transform: scaleY(1); }





/* ================= FAQ & NEWS  List ================= */

        /* 面包屑导航 */
        .deya-global-breadcrumbs { font-size: 0.95rem; color: var(--text-main, #555555); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light, #eaeaea); }
        .deya-global-breadcrumbs a { color: var(--text-heading, #1a1a1a); text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
        .deya-global-breadcrumbs a:hover { color: var(--brand-red, #d32f2f); }
        .deya-global-breadcrumbs .breadcrumb-separator { color: #ccc; font-size: 0.8rem; }
        .deya-global-breadcrumbs .breadcrumb-current { color: #888888; }

        /* ====== 核心改动：双栏布局栅格 ====== */
        .page-layout-grid {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 60px;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* 垂直新闻列表 */
        .news-vertical-list { display: flex; flex-direction: column; gap: 32px; }
        .news-list-item { display: flex; background: #ffffff; border: 1px solid var(--border-light, #eaeaea); border-radius: 12px; overflow: hidden; transition: all 0.4s ease; }
        .news-list-item:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); border-color: transparent; }
        
        /* 缩略图宽度调整，适应更窄的主内容区 */
        .news-item-thumb { flex: 0 0 320px; position: relative; overflow: hidden; background: #f5f7fa; }
        .news-item-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: transform 0.8s ease; }
        .news-list-item:hover .news-item-thumb img { transform: scale(1.05); }
        .news-badge { position: absolute; top: 16px; left: 16px; background: var(--brand-red, #d32f2f); color: #ffffff; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; z-index: 2; box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3); }
        
        .news-item-body { flex: 1; padding: 32px; display: flex; flex-direction: column; justify-content: center; }
        .news-item-meta { margin-bottom: 12px; font-size: 0.85rem; color: #888888; font-weight: 600; }
        .news-item-meta i { color: var(--brand-red, #d32f2f); margin-right: 4px; }
        .news-item-title { font-size: 1.35rem; font-weight: 800; line-height: 1.35; margin-bottom: 16px; }
        .news-item-title a { color: var(--text-heading, #1a1a1a); text-decoration: none; transition: color 0.3s ease; }
        .news-list-item:hover .news-item-title a { color: var(--brand-red, #d32f2f); }
        .news-item-excerpt { color: var(--text-main, #555555); font-size: 1rem; line-height: 1.6; margin-bottom: 20px; }
        .news-item-excerpt p { margin: 0; }
        .news-item-readmore { margin-top: auto; color: var(--text-heading, #1a1a1a); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s ease; }
        .news-item-readmore i { color: var(--brand-red, #d32f2f); transition: transform 0.3s ease; }
        .news-list-item:hover .news-item-readmore { color: var(--brand-red, #d32f2f); }
        .news-list-item:hover .news-item-readmore i { transform: translateX(6px); }

        /* ====== 右侧边栏样式 ====== */
        .sidebar-sticky { position: sticky; top: 100px; }
        .sidebar-widget { background: #ffffff; border: 1px solid var(--border-light, #eaeaea); padding: 32px; border-radius: 8px; margin-bottom: 32px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
        
        .widget-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 24px; color: var(--text-heading, #1a1a1a); position: relative; padding-bottom: 12px; }
        .widget-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--brand-red, #d32f2f); border-radius: 2px; }
        
        /* WordPress 分类列表原生输出定制 */
 /* ====== 修复后的分类列表侧边栏样式 ====== */
.widget-category-list, .widget-category-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 顶级列表项 */
.widget-category-list li {
    border-bottom: 1px solid #f0f0f0;
    display: block; /* 取消之前的 flex，让子分类正常换行 */
}
.widget-category-list > li:last-child {
    border-bottom: none;
}

/* 链接基础样式 */
.widget-category-list li a {
    display: block;
    padding: 12px 0;
    color: var(--text-heading, #1a1a1a);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.widget-category-list li a:hover {
    color: var(--brand-red, #d32f2f);
}

/* 针对 WordPress 嵌套子分类 (二级分类) 的缩进处理 */
.widget-category-list ul.children {
    padding-left: 20px; /* 子分类整体向右缩进，形成树状结构 */
    margin-bottom: 8px;
}
.widget-category-list ul.children li {
    border-bottom: 1px dashed #eaeaea; /* 子分类使用虚线分割线，视觉更轻量 */
}
.widget-category-list ul.children li:last-child {
    border-bottom: none;
}
.widget-category-list ul.children li a {
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main, #555555); /* 子分类颜色调淡，区分层级 */
}
.widget-category-list ul.children li a::before {
    content: '- '; /* 子分类前面加个小横杠作引导 */
    color: #ccc;
}
        
        .sidebar-cta-btn { display: block; text-align: center; background: var(--text-heading, #1a1a1a); color: #fff; text-decoration: none; padding: 14px; border-radius: 6px; font-weight: 600; font-size: 0.95rem; transition: background 0.3s; }
        .sidebar-cta-btn:hover { background: var(--brand-red, #d32f2f); }

        /* 分页组件 */
        .deya-pagination { margin-top: 56px; text-align: center; }
        .deya-pagination .nav-links { display: inline-flex; gap: 8px; align-items: center; }
        .deya-pagination .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 15px; background: #ffffff; color: var(--text-heading, #1a1a1a); font-weight: 600; text-decoration: none; border-radius: 6px; border: 1px solid var(--border-light, #eaeaea); transition: all 0.3s ease; }
        .deya-pagination .page-numbers:hover { background: #f5f7fa; border-color: #d1d5db; }
        .deya-pagination .page-numbers.current { background: var(--brand-red, #d32f2f); color: #ffffff; border-color: var(--brand-red, #d32f2f); }
        .deya-pagination .dots { border: none; background: transparent; }

        /* 响应式调整 */
        @media (max-width: 991px) {
            .page-layout-grid { grid-template-columns: 1fr; gap: 40px; }
            .sidebar-area { display: none; /* 移动端隐藏侧边栏保持阅读流 */ }
        }
        @media (max-width: 768px) {
            .news-list-item { flex-direction: column; }
            .news-item-thumb { flex: none; height: 220px; }
            .news-item-thumb img { position: relative; }
            .news-item-body { padding: 24px; }
            .inner-hero { min-height: 280px !important; }
            .inner-hero-content h1 { font-size: 2.2rem !important; }
        }



/* ================= NEWS ARTICLE DETAIL ================= */



















/* 面包屑导航全局标准样式 */
.deya-global-breadcrumbs {
    font-size: 0.95rem;
    color: var(--text-main, #555555);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light, #eaeaea);
}
.deya-global-breadcrumbs a { color: var(--text-heading, #1a1a1a); text-decoration: none; font-weight: 600; transition: color 0.3s ease; }
.deya-global-breadcrumbs a:hover { color: var(--brand-red, #d32f2f); }
.deya-global-breadcrumbs .breadcrumb-separator { color: #ccc; font-size: 0.8rem; }
.deya-global-breadcrumbs .breadcrumb-current { color: #888888; }

/* 布局栅格 */
.article-layout-grid { display: grid; grid-template-columns: 1fr 320px; gap: 64px; max-width: 1200px; margin: 0 auto; }

/* 正文头部 */
.article-entry-header { margin-bottom: 32px; }
.article-main-title { font-size: 2.5rem; font-weight: 800; color: var(--text-heading, #1a1a1a); line-height: 1.3; margin: 0 0 20px 0; letter-spacing: -0.01em; }
.article-meta-inline { display: flex; gap: 20px; font-size: 0.9rem; color: #777777; }
.meta-inline-item i { margin-right: 6px; color: var(--brand-red, #d32f2f); }
.meta-inline-item a { color: #777777; }

/* 正文排版 */
.article-main-text { font-size: 1.1rem; line-height: 1.85; color: #333333; }
.article-main-text p { margin-bottom: 24px; }
.article-main-text h2 { font-size: 1.6rem; border-left: 4px solid var(--brand-red, #d32f2f); padding-left: 14px; margin: 40px 0 20px 0; font-weight: 700; }
.article-main-text h3 { font-size: 1.3rem; margin: 32px 0 16px 0; font-weight: 700; }
.article-main-text img { max-width: 100%; height: auto; border-radius: 6px; margin: 24px 0; }

/* 上一篇下一篇导航 */
.article-adjacent-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border-light, #eaeaea); }
.nav-sibling-box { background: #f8f9fa; padding: 24px; border-radius: 8px; border: 1px solid #eaeaea; display: flex; flex-direction: column; gap: 8px; transition: all 0.3s ease; }
.nav-sibling-box:hover { background: #ffffff; border-color: var(--brand-red, #d32f2f); box-shadow: 0 6px 15px rgba(0,0,0,0.04); }
.next-post-box { text-align: right; align-items: flex-end; }
.nav-direction-label { font-size: 0.8rem; text-transform: uppercase; font-weight: 700; color: var(--brand-red, #d32f2f); }
.nav-sibling-title { font-size: 1.05rem; font-weight: 600; color: var(--text-heading, #1a1a1a); text-decoration: none; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nav-sibling-title:hover { color: var(--brand-red, #d32f2f); }
.nav-sibling-none { font-size: 0.95rem; color: #aaaaaa; }

/* 侧边栏及推荐卡片保持稳定 */
.sidebar-sticky-box { position: sticky; top: 100px; background: #ffffff; border: 1px solid #eaeaea; padding: 32px; border-radius: 8px; }
.sidebar-sticky-box h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }
.sidebar-sticky-box p { font-size: 0.95rem; color: #555; line-height: 1.6; margin-bottom: 24px; }
.sidebar-cta-btn { display: block; text-align: center; background: #1a1a1a; color: #fff; text-decoration: none; padding: 14px; border-radius: 6px; font-weight: 600; transition: background 0.3s; }
.sidebar-cta-btn:hover { background: var(--brand-red, #d32f2f); }

.random-read-card { background: #ffffff; border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: all 0.35s ease; }
.random-read-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.06); }
.random-card-img { height: 180px; overflow: hidden; }
.random-card-img img { width: 100%; height: 100%; object-fit: cover; }
.random-card-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.random-card-date { font-size: 0.8rem; color: var(--brand-red, #d32f2f); font-weight: 700; margin-bottom: 8px; }
.random-card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.random-card-title a { color: #1a1a1a; text-decoration: none; }
.random-card-title a:hover { color: var(--brand-red, #d32f2f); }
.random-card-excerpt { font-size: 0.95rem; color: #555; line-height: 1.6; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.random-card-link { font-size: 0.875rem; font-weight: 600; color: #1a1a1a; text-decoration: none; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
.random-read-card:hover .random-card-link { color: var(--brand-red, #d32f2f); }

/* 响应式调整 */
@media (max-width: 991px) {
    .article-layout-grid { grid-template-columns: 1fr; gap: 40px; }
    .article-sidebar { display: none; }
    .article-main-title { font-size: 2rem; }
    .article-adjacent-navigation { grid-template-columns: 1fr; gap: 16px; }
}

/* ================= CONTACT FORM & MAP ================= */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--light-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); border: 1px solid var(--border-light); }
.contact-info { background: var(--dark-panel); padding: 80px 60px; color: #fff; position: relative; }
.contact-info::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 4px; background: var(--brand-red); }
.contact-info h3 { font-size: 2.2rem; color: #fff; margin-bottom: 24px; font-weight: 800; }
.contact-info p { color: var(--text-dark-main); margin-bottom: 56px; font-size: 1.1rem; line-height: 1.6; }
.info-list { list-style: none; }
.info-list li { margin-bottom: 40px; display: flex; gap: 24px; align-items: flex-start; }
.info-list i { font-size: 1.5rem; color: var(--brand-red); padding-top: 4px; }
.info-list h4 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
.info-list span { color: var(--text-dark-main); font-size: 1rem; }

.contact-form { padding: 80px 60px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.form-group { position: relative; }
.form-control { width: 100%; padding: 16px 20px; border: 1px solid var(--border-light); background: #F9FAFC; border-radius: 6px; font-size: 1rem; color: var(--text-heading); font-family: var(--font-main); transition: all 0.3s; border-bottom: 2px solid #E5E8EB; }
.form-control:focus { outline: none; border-bottom-color: var(--brand-red); background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
textarea.form-control { height: 120px; resize: vertical; margin-bottom: 24px; }
.form-control::placeholder { color: #A0A0A0; font-weight: 400; }

select.form-control { cursor: pointer; appearance: none; background-image: url('data:image/svg+xml;utf8,<svg fill="%23A0A0A0" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); background-repeat: no-repeat; background-position: right 16px center; }
select.form-control:required:invalid { color: #A0A0A0; }
option[value=""][disabled] { display: none; }
option { color: var(--text-heading); }

.gdpr-consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 40px; }
.gdpr-consent input[type="checkbox"] { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--brand-red); cursor: pointer; flex-shrink: 0; }
.gdpr-consent label { font-size: 0.9rem; color: var(--text-main); line-height: 1.6; cursor: pointer; }
.gdpr-consent a { color: var(--brand-red); text-decoration: none; font-weight: 600; }
.gdpr-consent a:hover { text-decoration: underline; }

.map-section { position: relative; height: 500px; width: 100%; background: var(--dark-surface); overflow: hidden; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--border-light);}
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; filter: grayscale(100%) contrast(1.2); }
.map-overlay { position: relative; z-index: 2; text-align: center; }
.map-marker { font-size: 3rem; color: var(--brand-red); margin-bottom: 16px; animation: bounce 2s infinite ease-in-out; }
.map-overlay h3 { color: #fff; font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.map-overlay p { color: var(--text-dark-main); font-size: 1.1rem; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* CTA Section */
.cta-section { background: var(--dark-surface); padding: 100px 0; text-align: center; border-top: 1px solid var(--border-dark); }
.cta-section h2 { color: #fff; font-size: 2.5rem; font-weight: 800; margin-bottom: 24px; }
.cta-section p { color: var(--text-dark-main); font-size: 1.15rem; max-width: 600px; margin: 0 auto 40px; }

/* ================= FOOTER ================= */
.footer { background: var(--dark-base); border-top: 1px solid var(--border-dark); padding: 100px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 80px; }
.footer-brand { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 24px; display: block; text-decoration: none; letter-spacing: -1px; }
.footer-brand span { color: var(--brand-red); }
.footer p { color: var(--text-dark-main); font-size: 1rem; max-width: 320px; line-height: 1.8; }
.social-links { display: flex; gap: 16px; margin-top: 24px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); color: #fff; transition: all 0.3s; }
.social-links a:hover { background: var(--brand-red); transform: translateY(-3px); }
.footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 32px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 16px; }
.footer ul a { color: var(--text-dark-main); text-decoration: none; transition: all 0.3s; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; }
.footer ul a::before { content: '›'; color: var(--brand-red); opacity: 0; transform: translateX(-10px); transition: all 0.3s; font-size: 1.2rem; line-height: 1; }
.footer ul a:hover { color: #fff; transform: translateX(5px); }
.footer ul a:hover::before { opacity: 1; transform: translateX(0); }
.footer-bottom { border-top: 1px solid var(--border-dark); padding-top: 32px; display: flex; justify-content: space-between; color: #777; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* ================= BACK TO TOP BUTTON ================= */
.back-to-top {
    position: fixed; bottom: 40px; right: 40px; width: 56px; height: 56px;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    border: 1px solid var(--border-light); border-radius: 50%;
    color: var(--dark-base); display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem; cursor: pointer; z-index: 999;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.4s var(--easing); box-shadow: var(--shadow-soft);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-red); color: #fff; border-color: var(--brand-red); transform: translateY(-5px); box-shadow: var(--shadow-red); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .feature-block { gap: 40px; flex-direction: column !important; }
    .contact-wrap { grid-template-columns: 1fr; margin-top: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .info-panel { padding: 40px; }
    .project-layout { grid-template-columns: 1fr; }
    .project-sidebar { position: static; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-wrapper { padding: 40px; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .hamburger { display: block; }
    
    .nav { 
        display: none; flex-direction: column; position: absolute; top: 90px; left: 0; width: 100%;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(10px);
        padding: 20px 5%; box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-bottom: 3px solid var(--brand-red); align-items: flex-start; gap: 10px; height: auto;
    }
    .nav.active { display: flex; }
    .nav > li { width: 100%; height: auto; display: block; }
    .nav > li > a { width: 100%; justify-content: space-between; border-bottom: 1px solid var(--border-light); padding: 16px 0; }
    .nav > li > a::after { display: none; }
    .nav > li > a.btn-primary { width: max-content; padding: 12px 24px !important; margin-top: 10px;}
    
    .dropdown { position: static; box-shadow: none; border: none; border-left: 2px solid var(--border-light); opacity: 1; visibility: visible; transform: none; display: none; padding: 10px 0 10px 20px; margin-top: 8px; }
    .nav > li.mobile-open .dropdown { display: block; }

    .carousel-content h1 { font-size: 2.8rem; }
    .carousel-controls { display: none; }
    .carousel-indicators { left: 50%; transform: translateX(-50%); bottom: 30px; }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px;}
    .contact-info, .contact-form { padding: 40px 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px;}
    .info-panel { padding: 30px 20px; }
    .back-to-top { bottom: 20px; right: 20px; width: 48px; height: 48px; }
    
    .stat-grid { grid-template-columns: 1fr; gap: 24px; }
    .project-img { height: 320px; }
    .project-hero h1 { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .faq-wrapper { padding: 30px 20px; }
    .article-wrapper { padding: 60px 5% 100px; }
}







 /* ==========================================================================
   分类枢纽模板 (Category Hub: Sidebar + List)
========================================================================== */
.deya-ch-wrapper { background: #f8f9fa; padding: 60px 0 100px 0; width: 100%; box-sizing: border-box; }
.deya-ch-container { max-width: 1200px; margin: 0 auto; display: flex; gap: 40px; align-items: flex-start; padding: 0 20px; box-sizing: border-box; }

/* 侧边栏 */
.deya-ch-sidebar { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 30px; }
.deya-ch-widget { background: #fff; border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.deya-ch-widget-title { background: #d32f2f; color: #fff; margin: 0; padding: 18px 20px; font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }

/* 子分类列表 */
.deya-ch-cat-list { list-style: none; margin: 0; padding: 0; }
.deya-ch-cat-list li { border-bottom: 1px solid #f0f0f0; }
.deya-ch-cat-list li:last-child { border-bottom: none; }
.deya-ch-cat-list li a { display: block; padding: 15px 20px; color: #444; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: all 0.3s ease; border-left: 4px solid transparent; }
.deya-ch-cat-list li a:hover, 
.deya-ch-cat-list li.active a { background: #fafafa; color: #d32f2f; border-left-color: #d32f2f; font-weight: 700; }

/* 侧边栏精选产品 */
.deya-ch-featured-list { padding: 15px 20px; }
.deya-ch-feat-item { display: flex; gap: 15px; margin-bottom: 20px; text-decoration: none; border-bottom: 1px dashed #eaeaea; padding-bottom: 20px; transition: opacity 0.3s; }
.deya-ch-feat-item:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.deya-ch-feat-item:hover { opacity: 0.8; }
.deya-ch-feat-item img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.deya-ch-feat-info h4 { margin: 0 0 8px 0; font-size: 0.9rem; color: #1a1a1a; line-height: 1.4; font-weight: 700; }
.deya-ch-feat-btn { display: inline-block; background: #333; color: #fff; font-size: 0.75rem; padding: 4px 12px; border-radius: 2px; }

/* 右侧主内容区 */
.deya-ch-main { flex-grow: 1; min-width: 0; background: #fff; border: 1px solid #eaeaea; border-radius: 8px; padding: 40px; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.deya-ch-main-header { margin-bottom: 40px; }
.deya-ch-main-header h2 { margin: 0 0 10px 0; font-size: 2.2rem; font-weight: 900; color: #1a1a1a; text-transform: capitalize; }
.deya-ch-divider { width: 60px; height: 4px; background: #d32f2f; border-radius: 2px; }

/* 列表项结构 */
.deya-ch-post-list { display: flex; flex-direction: column; gap: 40px; }
.deya-ch-post-item { display: flex; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid #eaeaea; }
.deya-ch-post-item:last-child { border-bottom: none; padding-bottom: 0; }

.deya-ch-post-media { width: 35%; flex-shrink: 0; position: relative; border-radius: 8px; overflow: hidden; }
.deya-ch-post-media img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.6s ease; }
.deya-ch-post-item:hover .deya-ch-post-media img { transform: scale(1.05); }
.deya-ch-badge { position: absolute; top: 10px; left: 10px; background: #d32f2f; color: #fff; font-size: 0.75rem; font-weight: 800; padding: 4px 10px; z-index: 2; border-radius: 2px; text-transform: uppercase; }

.deya-ch-post-content { width: 65%; display: flex; flex-direction: column; }
.deya-ch-post-content h3 { margin: 0 0 15px 0; font-size: 1.4rem; font-weight: 800; line-height: 1.4; }
.deya-ch-post-content h3 a { color: #1a1a1a; text-decoration: none; transition: color 0.3s; }
.deya-ch-post-content h3 a:hover { color: #d32f2f; }
.deya-ch-post-excerpt { color: #555; font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; flex-grow: 1; }

/* 标签行 */
.deya-ch-post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.deya-ch-post-tags span { background: #f0f0f0; color: #666; font-size: 0.8rem; padding: 4px 12px; border-radius: 4px; }

/* 按钮行 */
.deya-ch-post-actions { display: flex; gap: 15px; }
.deya-btn-primary { background: #d32f2f; color: #fff; font-weight: 700; padding: 10px 24px; text-decoration: none; border-radius: 4px; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.deya-btn-primary:hover { background: #b71c1c; color: #fff; }
.deya-btn-secondary { background: #f4f5f7; color: #333; font-weight: 700; padding: 10px 24px; text-decoration: none; border-radius: 4px; border: 1px solid #ddd; transition: all 0.3s; }
.deya-btn-secondary:hover { background: #e0e0e0; color: #111; }

/* 分页 */
.deya-ch-pagination { margin-top: 50px; text-align: center; }
.deya-ch-pagination ul { list-style: none; padding: 0; display: inline-flex; gap: 8px; }
.deya-ch-pagination li a, .deya-ch-pagination li span { display: inline-block; padding: 10px 18px; border: 1px solid #ddd; background: #fff; color: #333; text-decoration: none; font-weight: 700; border-radius: 4px; transition: all 0.3s; }
.deya-ch-pagination li span.current, .deya-ch-pagination li a:hover { background: #d32f2f; color: #fff; border-color: #d32f2f; }

/* 移动端适配 */
@media (max-width: 991px) {
    .deya-ch-container { flex-direction: column; }
    .deya-ch-sidebar { width: 100%; }
    .deya-ch-post-item { flex-direction: column; }
    .deya-ch-post-media, .deya-ch-post-content { width: 100%; }
    .deya-ch-post-media img { height: 260px; }
}





/* ======== 左侧精选推荐案例 (Featured Products) ======== */
.deya-ch-featured-list { padding: 15px 20px; }
.deya-ch-feat-item { display: flex; gap: 15px; margin-bottom: 20px; text-decoration: none; border-bottom: 1px dashed #eaeaea; padding-bottom: 20px; transition: opacity 0.3s; }
.deya-ch-feat-item:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.deya-ch-feat-item:hover { opacity: 0.8; }
.deya-ch-feat-item img { width: 85px; height: 65px; object-fit: cover; border-radius: 3px; flex-shrink: 0; border: 1px solid #eaeaea; }
.deya-ch-feat-info { display: flex; flex-direction: column; justify-content: space-between; }
.deya-ch-feat-info h4 { margin: 0; font-size: 0.85rem; color: #222; line-height: 1.4; font-weight: 700; transition: color 0.3s; }
.deya-ch-feat-item:hover h4 { color: #3498db; }
.deya-ch-feat-btn { display: inline-block; background: #333; color: #fff; font-size: 0.7rem; padding: 3px 10px; border-radius: 2px; align-self: flex-start; text-transform: uppercase; font-weight: 600; }
.deya-ch-feat-item:hover .deya-ch-feat-btn { background: #3498db; }


/* 限制头部图片 Logo 的最大高度，使其与文字比例协调 */
.site-branding .custom-logo-link img {
    max-height: 45px;
    width: auto;
    display: block;
}


/* ==========================================================================
   页面顶部 Banner (强制排版校正版)
========================================================================== */
.deya-page-banner {
    position: relative !important;
    width: 100% !important;
    height: 400px !important;
    min-height: 400px !important; /* 强制撑开高度 */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.deya-banner-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important; /* 暗黑遮罩透明度 */
    z-index: 1 !important;
}

.deya-banner-content {
    position: relative !important;
    z-index: 2 !important;
    color: #ffffff !important;
    padding: 0 20px !important;
    max-width: 900px !important;
    width: 100% !important;
}

.deya-banner-content h1 {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    margin: 0 0 15px 0 !important;
    text-transform: capitalize !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6) !important;
    color: #ffffff !important; /* 强制标题变白 */
    line-height: 1.2 !important;
}

.deya-banner-content p {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    margin: 0 auto !important;
    opacity: 0.9 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6) !important;
    color: #ffffff !important; /* 强制描述文字变白 */
}

/* 移动端安全降级 */
@media (max-width: 768px) {
    .deya-page-banner { height: 250px !important; min-height: 250px !important; }
    .deya-banner-content h1 { font-size: 2.2rem !important; }
    .deya-banner-content p { font-size: 1rem !important; }
}