/**
 * YUE YUAN Lighting
 * Professional Solution Pages V5.0
 * Rental / Theatre / Outdoor / Entertainment
 */

/* =====================================
   SOLUTION GLOBAL SYSTEM (Light Theme)
===================================== */
.solution-page {
    background: #ffffff;
    color: #111111;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.solution-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.solution-section {
    padding: 40px 0;
}

/* =====================================
   SECTION HEADER
===================================== */
/* 统一重置所有 H 标题和列表的尺寸与对齐（严格遵循用户总结） */
/* =====================================
   APPLICATION EXTENSION
===================================== */
.solution-section h2,
.solution-products h2,
.solution-applications h2,
.solution-video-section h2,
.solution-challenges h2,
.solution-related h2,
.related-solutions-title h2,
.solution-brand h2,
.solution-section solution-faq h2 {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: .5px;
    margin-bottom: 6px;
    text-transform: uppercase;
    color: #111111;
}

.solution-section h3,
.solution-products h3,
.solution-applications h3,
.solution-video-section h3,
.solution-challenges h3,
.solution-brand h3,
.solution-section solution-faq h3 {
    font-size: 1.0rem;
    font-weight: 500;
    letter-spacing: .5px;
    margin-bottom: 6px;
    text-transform: uppercase;
    color: #111111;
}

.solution-section p,
.solution-brand p {
    color: #555555;
    line-height: 1.0;
    font-size: 0.95rem;
}

/* =====================================
   HERO
===================================== */
.solution-hero {
    padding: 45px 0 35px;
}

.solution-hero .solution-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.solution-hero-content {
    max-width:620px;
}

.solution-eyebrow {
    display:block;
    font-size:0.95rem;
    letter-spacing:1px;
    color:#777;
    margin-bottom:18px;
    text-transform:uppercase;
}

.solution-hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 500;
    margin-bottom: 10px;
    color: #111111;
}

.solution-hero-content p {
    font-size:1.15rem;
    line-height:1.45;
    color:#555;
    margin-bottom:6px;
}

.solution-hero-image {
    display:flex;
    justify-content:flex-end;
}

.solution-hero-image img {
    width:100%;
    max-width:720px;
    height:360px;
    object-fit:cover;
    border-radius:12px;
    border:1px solid rgba(0,0,0,0.08);
}

/* =====================================
   BUTTON
===================================== */
.primary-button {
    display: inline-block;
    background: #c9a227;
    color: #000;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 450;
    text-decoration: none;
    transition: .3s;
}

.primary-button:hover {
    opacity: .85;
}

/* =====================================
   CHALLENGES
===================================== */
.challenge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.challenge-card {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 15px;
    border-radius: 8px;
}

.challenge-card h3 {
    color: #111111;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.challenge-card p {
    color: #555555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* =====================================
   SYSTEM GRID
===================================== */
.system-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.system-card {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 20px;
    border-radius: 8px;
}

.system-card h3 {
    color: #111111;
    margin-bottom: 10px;
}

.system-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
}

.system-card ul {
    padding-left: 18px;
    color: #555555;
    margin: 15px 0;
    line-height: 1.6;
}

.system-products {
    margin-top: 10px;
    font-size: 0.9rem;
}

.system-products strong {
    display: block;
    color: #111111;
    margin-bottom: 8px;
}

.system-products a {
    display: inline-block;
    background: #ffffff;
    color: #c9a227;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(201, 162, 39, 0.4);
    margin: 0 4px 6px 0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: .3s;
}

.system-products a:hover {
    background: #c9a227;
    color: #000;
}

/* =====================================
   FEATURED PRODUCTS
===================================== */
.product-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.product-links a {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 18px;
    color: #111111;
    text-decoration: none;
    border-radius: 6px;
    transition: .3s;
}

.product-links a:hover {
    border-color: #c9a227;
    color: #c9a227;
}

/* =====================================
   APPLICATIONS
===================================== */
.application-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.application-card {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 25px;
    border-radius: 8px;
}

.application-card h3 {
    color: #111111;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.application-card p {
    color: #555555;
    line-height: 1.3;
    font-size: 0.95rem;
}

.solution-applications-list ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.solution-applications-list li {
    list-style: none;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 18px;
    border-radius: 6px;
}

/* =====================================
   BRAND SECTION & FEATURES
===================================== */
.solution-brand {
    background: #f4f5f7;
    padding: 20px 0;
}

.brand-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 6px;
}

.brand-feature {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 20px;
    border-radius: 8px;
}

.brand-feature h3 {
    color: #111111;
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.brand-feature p {
    color: #555555;
    line-height: 1.2;
}

/* =====================================
   HIGHLIGHT & VIDEO SECTIONS
===================================== */
.solution-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.highlight-box {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 25px;
    border-radius: 8px;
}

.highlight-box h3 {
    color: #111111;
    margin-bottom: 8px;
}

.highlight-box p {
    color: #555555;
    line-height: 1.4;
}

.solution-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 10px;
}

.solution-video-card {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 20px;
    border-radius: 8px;
}

.solution-video-card h3 {
    color: #111111;
    margin: 15px 0 8px;
    font-size: 1.15rem;
}

.solution-video-card p {
    color: #555555;
    line-height: 1.6;
}

/* =====================================
   SOLUTION PRODUCT CARDS
===================================== */
.featured-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.featured-product-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: .3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.featured-product-card:hover {
    transform: translateY(-5px);
    border-color: #c9a227;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.featured-product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.featured-product-content {
    padding: 12px;
}

.product-tag {
    color: #c9a227;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.featured-product-content h3 {
    font-size: 1.25rem;
    margin: 12px 0;
    color: #111111;
}

.featured-product-content p {
    color: #555555;
    line-height: 1.4;
}

.solution-product-features {
    padding-left: 18px;
    color: #444444;
    line-height: 1.8;
    margin: 12px 0;
}

.featured-product-content a {
    display: inline-block;
    margin-top: 15px;
    color: #111111;
    font-weight: 600;
    text-decoration: none;
}

.featured-product-content a:hover {
    color: #c9a227;
}
/* =====================================
  Solution FAQ Section
===================================== */
.solution-faq {
    padding: 20px 0;
    background: #ffffff; /* 改为白色或透明 background: transparent; */
}

.solution-faq h2 {
    margin-bottom: 20px;
    color: #14171c; /* 改为深色标题文字 */
}

.faq-item {
    margin-bottom: 5px;
    padding: 10px;
    background: #f8fafc; /* 改为浅灰色卡片背景，或设为 transparent 去掉卡片底色 */
    border: 1px solid #e5e7eb; /* 增加浅色边框提升质感 */
    border-radius: 8px;
}

.faq-item h3 {
    color: #14171c; /* 改为深色问题文字 */
    font-size: 12px;
    margin-bottom: 5px;
}

.faq-item p {
    color: #475569; /* 改为常规正文灰色 */
    line-height: 1.0;
}

.faq-item a {
    color: #c8a251; /* 保持品牌金黄色 */
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* =====================================
RELATED PRODUCTS & SOLUTIONS
===================================== */
.solution-related {
    padding:20px 0;
    background:#f8f8f8;
}

.related-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    margin-top:10px;
}

.related-card {
    background:#ffffff;
    padding:10px;
    border-radius:8px;
    transition:.3s;
}

.related-card:hover {
    transform:translateY(-5px);
}

.related-card h3 {
    font-size:15px;
    margin-bottom:6px;
}

.related-card p {
    line-height:1.3;
    color:#666;
}

.related-card a {
    display:inline-block;
    margin-top:5px;
    font-weight:450;
    color:#111;
}

.related-solutions-title {
    margin-top:6px;
}

.solution-link-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:10px;
}

.solution-link-grid a {
    background:#fff;
    padding:20px;
    border-radius:8px;
    font-weight:500;
    text-align:center;
}

@media(max-width:900px){
.related-grid{
    grid-template-columns:repeat(2,1fr);
}

.solution-link-grid{
    grid-template-columns:1fr;
}

}

@media(max-width:600px){
.related-grid{
    grid-template-columns:1fr;
}

}

/* =====================================
   HIDE DEBUG / AI TEXT METADATA AT TOP
===================================== */
body > *:not(header):not(.solution-page):not(footer):first-child {
    display: none !important;
}
/* If the raw text is direct text nodes or unformatted items right inside body/container */
.solution-page::before {
    content: "";
    display: block;
}

/* Specific cleanup for any stray text nodes rendered at top */
body {
    /* Ensures absolute safety against top raw metadata bleeding */
    overflow-x: hidden;
}

/* =====================================
   RESPONSIVE
===================================== */
@media(max-width: 1200px) {
    .featured-product-grid,
    .challenge-grid,
    .product-links,
    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 992px) {
    .solution-hero .solution-container {
        grid-template-columns: 1fr;
    }

    .system-grid,
    .solution-highlight-grid,
    .brand-feature-grid,
    .solution-video-grid {
        grid-template-columns: 1fr;
    }

    .product-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .solution-hero-content h1 {
        font-size: 2rem;
    }

    .challenge-grid,
    .product-links,
    .solution-applications-list ul,
    .featured-product-grid,
    .application-grid {
        grid-template-columns: 1fr;
    }
}
