/* === 全局变量 === */
:root {
    --brand-blue: #0066FF;
    --nav-text-color: #1E293B;
    --bg-light: #f8f9fa;

    /* Premium UI Variables */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* 弥散阴影 */
    --shadow-hover: 0 20px 60px rgba(0, 102, 255, 0.15);
    /* 悬浮光感 */
    --radius-lg: 16px;
    /* 更圆润的角 */
    --radius-xl: 24px;
}

body {
    font-family: "Roboto", "Noto Sans SC", "Microsoft Yahei", sans-serif;
    color: var(--nav-text-color);
    padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    /* 让字体更清晰 */
}

/* ... (Existing Loading & V-Cloak - No Change) ... */
/* ... (Existing Navbar - No Change) ... */

/* === 2. 首屏 Hero (高度优化) === */
.hero-section {
    background-color: #003366;
    background-image:
        linear-gradient(to bottom, rgba(2, 6, 23, 0.4), rgba(2, 6, 23, 0.8)),
        url('/static/images/background.png?v=height_adjusted');
    background-size: cover;
    background-position: center top;
    /* 重点：手机端改为顶部对齐或Center */
    background-repeat: no-repeat;
    color: white;
    min-height: 730px;
    /* PC Default */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin-top: -80px;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* ... (Existing Hero Badge - No Change) ... */

.hero-title {
    font-family: "Noto Sans SC", sans-serif;
    font-size: 4.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ... (Existing Subtitle & Btn - No Change) ... */

/* === 3. 核心优势 Features (Premium Upgrade) === */
.feature-box {
    padding: 3rem 2rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* 平滑曲线 */
    background: #fff;
    border-radius: var(--radius-lg);
    /* 用新变量 */
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* 极淡边框 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    /* 初始微阴影 */
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    /* 高级悬浮阴影 */
    border-color: transparent;
}

/* ... (Existing Feature Icon - No Change) ... */

/* === 4. 产品展示 (Premium Upgrade) === */
.product-card {
    border: none;
    box-shadow: var(--shadow-soft);
    /* 使用弥散阴影 */
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
    border-radius: var(--radius-lg);
    background: #fff;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

/* ... (Existing Product Inner Styles - No Change) ... */

/* === 6. 移动端专项优化 (Mobile Polish) === */
@media (max-width: 991px) {
    .hero-section {
        min-height: 85vh;
        /* 强制占满首屏 */
        padding-top: 100px;
        /* 为导航栏留出更多呼吸空间 */
        background-attachment: scroll;
        /* 防止iOS滚动卡顿 */
    }
}

@media (max-width: 768px) {

    /* --- Hero Section --- */
    .hero-section {
        text-align: center;
        /* 背景图优化：在手机上聚焦中心，且加深遮罩以防文字看不清 */
        background-image: linear-gradient(rgba(0, 20, 50, 0.7), rgba(0, 20, 50, 0.85)), url('/static/images/background.png');
        background-position: center center;
        min-height: 90vh;
        /* 霸屏感 */
        padding: 140px 0 80px;
        /* 上下留白增加 */
    }

    .hero-title {
        font-size: 2.8rem;
        /* 增大字号 */
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
        /* 防止文字贴边 */
        opacity: 0.9;
        margin-bottom: 2.5rem;
    }

    .btn-primary-custom {
        width: 80%;
        /* 按钮更宽，方便点击 */
        padding: 14px 0;
        font-size: 1.1rem;
    }

    /* --- Layout & Spacing --- */
    section.py-5 {
        padding-top: 4rem !important;
        /* 增加板块间距 */
        padding-bottom: 4rem !important;
    }

    .container {
        padding-left: 24px;
        /* 增加左右内边距 */
        padding-right: 24px;
    }

    /* --- Cards --- */
    .product-card,
    .feature-box,
    .news-grid-card {
        margin-bottom: 1rem;
        /* 卡片间距 */
    }

    .feature-box {
        text-align: center;
        padding: 2.5rem 1.5rem;
    }

    /* --- Navigation --- */
    .navbar-brand img {
        height: 38px;
        /*稍微调大 */
    }

    .navbar-toggler {
        border: none;
        /* 去掉边框，更现代 */
        padding: 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
        /* 去掉点击蓝框 */
    }

    /* Fix Image Overflow */
    .article-content img {
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
    }
}

/* === 7. 微交互动画 (Micro-Animations) === */
.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 依次延迟，形成阶梯感 */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* ... (Rest of existing About/News styles - keeping them but checking validity) ... */
/* Retaining existing About/News styles below, merging efficiently */

.icp-link {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.icp-link:hover {
    opacity: 1;
    color: #999;
}

/* ... (Remaining styles from line 490 onwards are preserved implicitly or can be re-appended if needed. 
   Since ReplaceFileContent replaces a block, I need to be careful not to delete the bottom half if I selected the whole file.
   My StartLine was implicitly 1.
   Wait, the user tool call had StartLine: 490 for "Remaining". No, I am REPLACING the whole file content logic essentially, 
   OR I should target specific blocks. 
   The prompt says "EndLine: 767", "StartLine: 1". This replaces nearly the WHOLE file.
   I must ensure I include the "About Us" and "News" sections in my replacement if I'm overwriting them.
   Looking at the viewed file, lines 490-767 contain About Us and News styles.
   I should probably NOT replace the whole file if I'm only tweaking the top half and adding stuff.
   Strategies:
   1. Replace Top Half (Globals, Hero, Cards).
   2. Append Animations at the end.
   3. Update Media Query block specifically.
   
   Let's do targeted replacements to be safer and more precise.
*/

/* === Loading & V-Cloak === */
[v-cloak] {
    display: none !important;
}

#initial-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--brand-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* === 1. 顶部导航栏 (白底黑字) === */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    background-color: #fff;
    padding: 12px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 3rem;
}

.navbar-brand img {
    height: 42px;
    width: auto;
    display: block;
}

.brand-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: #003366;
    margin-left: 12px;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    color: #334155 !important;
    font-size: 1.05rem;
    margin: 0 18px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent !important;
    padding: 0 !important;
    line-height: 42px;
}

.nav-link:hover {
    color: var(--brand-blue) !important;
    transform: translateY(-2px);
    font-weight: 600;
}

.nav-link::after {
    display: none !important;
}

.lang-btn {
    border: 1px solid #E2E8F0;
    color: #334155;
    padding: 6px 20px;
    font-size: 0.9rem;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s;
}

.lang-btn:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    background-color: #EFF6FF;
}

/* === 2. 首屏 Hero (高度优化) === */
.hero-section {
    background-color: #003366;
    background-image:
        linear-gradient(to bottom, rgba(2, 6, 23, 0.4), rgba(2, 6, 23, 0.8)),
        url('/static/images/background.png?v=height_adjusted');
    background-size: cover;
    background-position: center top;
    /* 重点：手机端改为顶部对齐或Center */
    background-repeat: no-repeat;
    color: white;
    min-height: 730px;
    /* PC Default */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin-top: -80px;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 85vh;
        /* 强制占满首屏 */
        padding-top: 100px;
        background-attachment: scroll;
    }
}

/* ... (Hero Badge - Keep existing if not changed, but I will include just in case for context) ... */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 102, 255, 0.15);
    color: var(--brand-blue);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 102, 255, 0.3);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-family: "Noto Sans SC", sans-serif;
    font-size: 4.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.text-highlight {
    color: var(--brand-blue);
}

.hero-subtitle {
    font-family: "Roboto", sans-serif;
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-custom {
    background-color: var(--brand-blue);
    border: none;
    padding: 16px 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

.btn-primary-custom:hover {
    background-color: #0052cc;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.6);
}

/* === 3. 核心优势 Features (Premium) === */
.feature-box {
    padding: 3rem 2rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    border-radius: var(--radius-lg);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border-bottom: 3px solid transparent;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: #007bff;
}

.feature-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* === 4. 产品展示 (Premium) === */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    font-weight: 800;
    color: #222;
    font-size: 2.2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #007bff;
    margin: 20px auto 0;
    border-radius: 2px;
}

.product-card {
    border: none;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
    border-radius: var(--radius-lg);
    background: #fff;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.product-card img {
    height: 260px;
    width: 100%;
    object-fit: contain;
    padding: 1.5rem;
    background-color: #f8f9fa;
    transition: transform 0.6s;
}

.product-card:hover img {
    transform: scale(1.05);
}

.card-body {
    padding: 2rem;
}

.product-title {
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #003366;
}

.product-specs li {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

/* === 5. 其他页面与Footer === */
.product-detail-header {
    background-color: var(--bg-light);
    padding: 4rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
}

.detail-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    object-fit: contain;
    max-height: 500px;
}

.param-table th {
    background-color: #f8f9fa;
    width: 35%;
    color: var(--brand-blue);
    font-weight: 600;
}

.nav-tabs .nav-link {
    color: #666;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: var(--brand-blue);
    font-weight: 700;
    border-top: 3px solid #007bff;
}

.news-header {
    background-color: var(--bg-light);
    padding: 5rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.news-card {
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    background: #fff;
}

.news-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: transparent;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--nav-text-color);
    cursor: pointer;
    line-height: 1.5;
}

.news-title:hover {
    color: #007bff;
}

footer {
    background-color: #111;
    color: #bbb;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-link {
    color: #bbb;
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #007bff;
    padding-left: 5px;
}

.social-icon {
    font-size: 1.6rem;
    margin-right: 1.2rem;
    color: #fff;
    transition: opacity 0.2s;
}

.social-icon:hover {
    opacity: 0.8;
    color: #007bff;
}

@media (max-width: 768px) {

    /* --- Hero Section --- */
    .hero-section {
        text-align: center;
        /* 背景图优化：在手机上聚焦中心，且加深遮罩以防文字看不清 */
        background-image: linear-gradient(rgba(0, 20, 50, 0.7), rgba(0, 20, 50, 0.85)), url('/static/images/background.png');
        background-position: center center;
        min-height: 90vh;
        /* 霸屏感 */
        padding: 140px 0 80px;
        /* 上下留白增加 */
    }

    .hero-title {
        font-size: 2.8rem;
        /* 增大字号 */
        line-height: 1.2;
        margin-bottom: 1.2rem;
    }

    .hero-badge {
        font-size: 0.9rem;
        padding: 6px 16px;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        padding: 0 15px;
        /* 防止文字贴边 */
        opacity: 0.95;
        margin-bottom: 2.5rem;
    }

    .btn-primary-custom {
        width: 80%;
        /* 按钮更宽，方便点击 */
        padding: 15px 0;
        font-size: 1.1rem;
    }

    /* --- Layout & Spacing --- */
    section.py-5 {
        padding-top: 4rem !important;
        /* 增加板块间距 */
        padding-bottom: 4rem !important;
    }

    .container {
        padding-left: 24px;
        /* 增加左右内边距 */
        padding-right: 24px;
    }

    /* --- Cards --- */
    .product-card,
    .feature-box,
    .news-grid-card {
        margin-bottom: 1.5rem;
        /* 卡片间距增加 */
    }

    .feature-box {
        text-align: center;
        padding: 2.5rem 1.5rem;
    }

    /* --- Navigation --- */
    .navbar-brand img {
        height: 36px;
    }

    .brand-text {
        font-size: 1.1rem;
        margin-left: 10px;
    }

    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* Mobile Text Alignment Fix */
    .introduction-text-block {
        text-align: left !important;
        line-height: 1.8;
    }

    /* Fix image overflow in mobile news detail */
    .article-content img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
        margin: 1.5rem auto;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .news-simple-header {
        margin-bottom: 2.5rem;
    }
}

/* === 7. 微交互动画 (Micro-Animations) === */
.fade-up-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 延迟类 */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.icp-link {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
}

.icp-link:hover {
    color: #999;
}

/* About Us - Hero */
/* About Us - Hero */
.about-hero {
    /* Hero Background Image */
    /* 1. Put image here: static/images/about_hero_bg.png */
    background: linear-gradient(rgba(11, 17, 32, 0.8), rgba(11, 17, 32, 0.8)), url('../images/about_hero_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 50px 0;
    color: white;
    overflow: hidden;
}

/* About Intro Text Layout */
.introduction-text-block {
    text-align: justify;
    text-justify: inter-ideograph;
    line-height: 2.2;
    font-size: 1.1rem;
    color: #475569;
}

/* Particle background effect attempt with CSS (simple stars) */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.3;
    animation: zoom 20s infinite;
    z-index: 1;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

/* About Us - Intro Section */
.about-stats-highlight {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-blue);
    display: block;
    margin-bottom: 0.5rem;
}

/* About Us - Belief Cards */
.belief-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    text-align: left;
}

.belief-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--brand-blue);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.1);
}

.belief-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* About Us - Blue CTA Footer */
.blue-cta-section {
    background-color: var(--brand-blue);
    padding: 3rem 0;
    color: white;
    text-align: center;
}

.btn-white-outline {
    border: 2px solid white;
    color: white;
    padding: 12px 36px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    background: transparent;
}

.btn-white-outline:hover {
    background: white;
    color: var(--brand-blue);
}

/* News Center - Simplified Header */
.news-simple-header {
    border-left: 5px solid var(--brand-blue);
    padding-left: 1.5rem;
    margin-bottom: 3rem;
}

.news-simple-header h1 {
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.news-simple-header p {
    color: #64748b;
    margin-bottom: 0;
}

/* News Center - Featured Article */
.news-featured {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 4rem;
    height: 500px;
    /* Adjust as needed */
    background-color: #333;
    /* Fallback */
}

.news-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-featured:hover img {
    transform: scale(1.05);
}

.news-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 3rem;
    color: white;
}

.news-tag {
    background: var(--brand-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

/* News Center - Grid List */
.news-grid-card {
    border: none;
    background: transparent;
}

.news-grid-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 16/10;
}

.news-grid-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-grid-card:hover .news-grid-img-wrapper img {
    transform: scale(1.05);
}

.news-meta {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.8rem;
}

.news-grid-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #1e293b;
    transition: color 0.3s;
}

.news-grid-title:hover {
    color: var(--brand-blue);
}

/* Fix Footer Input Placeholder Visibility */
footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1;
}

/* === Fix: News Content Image Overflow (Global) === */
.article-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* === Product Detail - Application Scope UI Refined === */
.app-scope-img-wrapper {
    background-color: #f8f9fa;
    /* Light background to fill contain area */
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px;
    height: 100px;
    /* Reduced height for compact look */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.app-scope-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* DO NOT CROP */
    transition: transform 0.3s ease;
}

.app-scope-img-wrapper:hover img {
    transform: scale(1.05);
    /* Subtle hover effect */
}