/*
Theme Name: E1 Converter
Theme URI: https://e1-converter.cn/
Author: Baudcom
Author URI: https://e1-converter.cn/
Description: E1 Converter 企业展示主题
Version: 1.0.0
Text Domain: e1-converter
*/

/* -----------------------------------------
   1. Variables & Reset
   ----------------------------------------- */
:root {
    --primary-color: #0056b3; /* Deep Blue */
    --secondary-color: #333333; /* Dark Gray */
    --accent-color: #e92f0a; /* Red Accent */
    --text-color: #555555;
    --light-gray: #f8f9fa;
    --border-color: #eeeeee;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    background-color: #fff;
    overflow-x: hidden;
    /* 确保页面不会横向滚动 */
    width: 100%;
    max-width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

strong, b {
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 允许表格包装器内部滚动 */
.table-wrapper,
.table-wrapper * {
    max-width: none;
}

/* 允许表格本身超出容器宽度（但容器本身不超过100%） */
.table-wrapper table {
    max-width: none;
    width: auto;
    min-width: 100%;
}

/* 只对可能导致页面横向滚动的容器添加防溢出，但不改变原有宽度设计 */
section {
    overflow-x: hidden;
    box-sizing: border-box;
}

.section {
    overflow-x: hidden;
    box-sizing: border-box;
}

header,
footer {
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    box-sizing: border-box;
}

/* 内容区域防溢出，但保持原有宽度设计 */
.content-area,
.detail-block,
.post-body {
    overflow-x: hidden;
    box-sizing: border-box;
    max-width: 100%;
}

/* -----------------------------------------
   2. Utilities
   ----------------------------------------- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
  
    box-sizing: border-box;
}

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

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-white { color: #fff !important; }

.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.bg-gray-light { background-color: var(--light-gray); }
.bg-dark { background-color: #1a1a1a; }

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* -----------------------------------------
   3. Buttons
   ----------------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,86,179,0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #000;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-lg {
    padding: 15px 35px;
    font-size: 16px;
}

/* -----------------------------------------
   4. Top Bar & Header
   ----------------------------------------- */
.top-bar {
    background-color: #f0f0f0;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact a {
    margin-right: 20px;
    color: #666;
}

.top-contact a i {
    margin-right: 6px;
    color: var(--primary-color);
}

.top-social a {
    margin-left: 15px;
    color: #888;
}

.top-social a:hover {
    color: var(--primary-color);
}

header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo span {
    font-size: 13px;
    color: #666;
    letter-spacing: 1px;
    margin-top: 2px;
}

.logo img {
    height: 44px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
}

.nav-links .menu {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links .menu > li {
    position: relative;
}

.submenu-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    line-height: 1;
    color: inherit;
    border-radius: 0;
}

.nav-links .menu > li > a {
    font-weight: 500;
    font-size: 15px;
    color: var(--secondary-color);
    text-transform: uppercase;
    padding: 10px 5px;
    position: relative;
}

.nav-links .menu > li > a:hover, .nav-links .menu > li > a.active {
    color: var(--primary-color);
}

.nav-links .menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links .menu > li > a:hover::after, .nav-links .menu > li > a.active::after {
    width: 100%;
}

.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 0;
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
}

.nav-links .menu > li:hover > .sub-menu,
.nav-links .menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .sub-menu li {
    width: 100%;
}

.nav-links .sub-menu a {
    display: block;
    padding: 0 22px;
    font-size: 16px;
    line-height: 48px;
    color: var(--secondary-color);
    text-transform: none;
}

.nav-links .sub-menu a:hover,
.nav-links .sub-menu a.active {
    color: var(--primary-color);
    background: rgba(0, 86, 179, 0.08);
}

.mobile-menu-extra {
    display: none;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-trigger {
    cursor: pointer;
    font-size: 18px;
    color: #666;
}

.header-search-panel {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.08);
    display: none;
    z-index: 1001;
    padding: 14px 0;
}

header.search-open .header-search-panel {
    display: block;
}

.header-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 10px 12px;
}

.header-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: var(--secondary-color);
    background: transparent;
}

.header-search-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* -----------------------------------------
   5. Hero Section (Home)
   ----------------------------------------- */
.home-hero {
    background-color: #0b2440;
    background-image: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 51, 102, 0.9)), var(--home-hero-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-hero.has-hero-video {
    background-image: none;
}

.home-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 51, 102, 0.9));
    z-index: 1;
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

.home-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 500;
}

.home-hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 500;
    color: #fff;
}

.stat-label {
    font-size: 15px;
    opacity: 0.8;
}

/* Inner Page Hero */
.hero {
    background-color: #0b2440;
    background-image: linear-gradient(rgba(0, 86, 179, 0.72), rgba(0, 51, 102, 0.72)), var(--hero-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    text-align: center;
    color: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.hero h1 {
    font-size: 36px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.86);
    max-width: 700px;
    margin: 0 auto;
}

.hero .page-breadcrumb {
    justify-content: center;
    margin-top: 12px;
    color: rgba(255,255,255,0.82);
}

.hero .page-breadcrumb a {
    color: #fff;
}

.hero .page-breadcrumb .sep,
.hero .page-breadcrumb .crumb-icon,
.hero .page-breadcrumb .current {
    color: rgba(255,255,255,0.72);
}

.hero-about {
    --hero-bg: url('https://commons.wikimedia.org/wiki/Special:FilePath/Electronics%20factory%20in%20Shenzhen.jpg?width=1920');
}

.hero-product {
    --hero-bg: url('https://commons.wikimedia.org/wiki/Special:FilePath/Fiber%20Optical%20Cable.jpg?width=1920');
}

.hero-product h1 {
    font-weight: 500;
}

.hero-solution {
    --hero-bg: url('https://commons.wikimedia.org/wiki/Special:FilePath/Network%20cables%20in%20server%20room.jpg?width=1920');
}

.hero-services {
    --hero-bg: url('https://commons.wikimedia.org/wiki/Special:FilePath/Network%20cables.jpg?width=1920');
}

.hero-news {
    --hero-bg: url('https://commons.wikimedia.org/wiki/Special:FilePath/Servers1.jpg?width=1920');
}

.section {
    padding: 60px 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

.breadcrumb {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 14px 0;
    color: #777;
    font-size: 15px;
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb span {
    color: #666;
    font-weight: 500;
}

.product-detail-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.detail-image {
    width: 360px;
    height: 320px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.detail-info {
    flex: 1;
}

.detail-info h1 {
    font-size: 34px;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.2;
}

.detail-description {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 18px 0 18px;
}



.section-title {
    font-size: 26px;
    color: var(--secondary-color);
    margin: 0 0 16px;
}

.products-layout .section-title {
    font-weight: 500;
}

.content-area h2 {
    color: var(--secondary-color);
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 12px;
}

.content-area h3 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-top: 18px;
    margin-bottom: 10px;
}

.post-detail-page .post-body {
    font-size: 16px;
    line-height: 1.85;
    color: #444;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.post-detail-page .post-body p {
    margin: 0 0 16px;
}

.post-detail-page .post-body h2 {
    font-size: 22px;
    margin: 26px 0 12px;
}

.post-detail-page .post-body h3 {
    font-size: 18px;
    margin: 20px 0 10px;
}

.post-detail-page .post-body h4 {
    font-size: 16px;
    margin: 16px 0 8px;
}

.post-detail-page .post-body ul,
.post-detail-page .post-body ol {
    margin: 0 0 16px 20px;
    padding: 0;
}

.post-detail-page .post-body li {
    margin: 6px 0;
}

.post-detail-page .post-body img {
    margin: 16px 0;
    border-radius: 6px;
    display: block;
}

.post-detail-page .post-body figure {
    margin: 18px 0;
}

.post-detail-page .post-body figcaption {
    font-size: 13px;
    color: rgba(0,0,0,0.55);
    margin-top: 6px;
}

.post-detail-page .post-body blockquote {
    margin: 18px 0;
    padding: 12px 16px;
    border-left: 3px solid rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.03);
}

/* 博客详情页表格响应式容器 - 防止页面整体滚动 */
.post-detail-page .post-body .table-wrapper,
.post-detail-page .post-body > table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
    contain: layout;
    /* 防止表格容器超出父容器 */
    box-sizing: border-box;
}

.post-detail-page .post-body .table-wrapper table {
    display: table;
    width: auto;
    min-width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 15px;
    background: #fff;
    /* 表格可以超出容器宽度，但容器本身不会超出 */
    table-layout: auto;
}

.post-detail-page .post-body table {
    display: table;
    width: auto;
    min-width: 100%;
    max-width: none;
    border-collapse: collapse;
    margin: 0;
    font-size: 15px;
    background: #fff;
    table-layout: auto;
}

.post-detail-page .post-body th,
.post-detail-page .post-body td {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 12px 14px;
    vertical-align: top;
    text-align: left;
    word-break: break-word;
    white-space: normal;
}

.post-detail-page .post-body th {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    left: 0;
    z-index: 1;
}

.post-detail-page .post-body tbody tr {
    transition: background-color 0.2s ease;
}

.post-detail-page .post-body tbody tr:hover {
    background-color: rgba(0,86,179,0.03);
}

.post-detail-page .post-body tbody tr:nth-child(even) {
    background-color: rgba(0,0,0,0.01);
}

.post-detail-page .post-body tbody tr:nth-child(even):hover {
    background-color: rgba(0,86,179,0.05);
}

.post-detail-page .post-body hr {
    margin: 22px 0;
    border: none;
    border-top: 1px solid rgba(0,0,0,0.08);
}

/* 通用表格响应式样式 - 适用于所有内容区域 */
.content-area table,
.detail-block table,
.post-body table {
    max-width: 100%;
}

/* 确保所有表格包装器不会超出父容器 */
.content-area .table-wrapper,
.detail-block .table-wrapper,
.post-body .table-wrapper {
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
    contain: layout;
    box-sizing: border-box;
}

.content-area .table-wrapper table,
.detail-block .table-wrapper table,
.post-body .table-wrapper table {
    width: auto;
    min-width: 100%;
    table-layout: auto;
}

/* 表格滚动条美化 */
.content-area .table-wrapper::-webkit-scrollbar,
.detail-block .table-wrapper::-webkit-scrollbar,
.post-body .table-wrapper::-webkit-scrollbar,
.content-area table::-webkit-scrollbar,
.detail-block table::-webkit-scrollbar,
.post-body table::-webkit-scrollbar {
    height: 8px;
}

.content-area .table-wrapper::-webkit-scrollbar-track,
.detail-block .table-wrapper::-webkit-scrollbar-track,
.post-body .table-wrapper::-webkit-scrollbar-track,
.content-area table::-webkit-scrollbar-track,
.detail-block table::-webkit-scrollbar-track,
.post-body table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.content-area .table-wrapper::-webkit-scrollbar-thumb,
.detail-block .table-wrapper::-webkit-scrollbar-thumb,
.post-body .table-wrapper::-webkit-scrollbar-thumb,
.content-area table::-webkit-scrollbar-thumb,
.detail-block table::-webkit-scrollbar-thumb,
.post-body table::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.content-area .table-wrapper::-webkit-scrollbar-thumb:hover,
.detail-block .table-wrapper::-webkit-scrollbar-thumb:hover,
.post-body .table-wrapper::-webkit-scrollbar-thumb:hover,
.content-area table::-webkit-scrollbar-thumb:hover,
.detail-block table::-webkit-scrollbar-thumb:hover,
.post-body table::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 移动端表格优化 */
@media (max-width: 768px) {
    .product-detail-page .detail-block table,
    .post-detail-page .post-body table {
        font-size: 14px;
    }
    
    .product-detail-page .detail-block th,
    .product-detail-page .detail-block td,
    .post-detail-page .post-body th,
    .post-detail-page .post-body td {
        padding: 8px 10px;
    }
    
    .product-detail-page .detail-block .table-wrapper table,
    .post-detail-page .post-body .table-wrapper table,
    .product-detail-page .detail-block > table,
    .post-detail-page .post-body > table {
        min-width: 500px;
    }
}

.product-detail-page .product-detail-layout,
.product-detail-page .detail-image,
.product-detail-page .content-area {
    border-radius: 0;
    box-shadow: none;
}

.product-detail-page .detail-image,
.product-detail-page .content-area {
    border-color: rgba(0,0,0,0.08);
}

.product-detail-page .detail-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 14px;
    margin: 0 0 18px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.product-detail-page .detail-toolbar-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.5);
    white-space: nowrap;
}

.product-detail-page .detail-title {
    margin: 0 0 10px;
    color: var(--secondary-color);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 500;
}

.product-detail-page .detail-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0 0 18px;
}

.product-detail-page .detail-thumb {
    width: 240px;
    height: 160px;
    min-height: 160px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
}

.product-detail-page .detail-thumb img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.product-detail-page .detail-thumb i {
    font-size: 44px;
    color: #b0b7c3;
}
    flex-shrink: 0;
}

.product-detail-page .detail-head-text {
    flex: 1;
    min-width: 0;
}

.product-detail-page .detail-lead {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.product-detail-page .detail-block {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.product-detail-page .detail-block p {
    margin: 0 0 14px;
}

.product-detail-page .detail-block ul,
.product-detail-page .detail-block ol {
    margin: 0 0 14px 20px;
    padding: 0;
}

.product-detail-page .detail-block li {
    margin: 6px 0;
}

.product-detail-page .detail-block img {
    margin: 14px 0;
    border-radius: 6px;
    display: block;
}

.product-detail-page .detail-block figure {
    margin: 16px 0;
}

.product-detail-page .detail-block figcaption {
    font-size: 13px;
    color: rgba(0,0,0,0.55);
    margin-top: 6px;
}

.product-detail-page .detail-block blockquote {
    margin: 16px 0;
    padding: 12px 16px;
    border-left: 3px solid rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.03);
}

/* 产品详情页表格响应式容器 */
.product-detail-page .detail-block {
    position: relative;
}

.product-detail-page .detail-block table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 15px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* 表格响应式包装器 - 防止页面整体滚动 */
.product-detail-page .detail-block .table-wrapper,
.product-detail-page .detail-block > table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    position: relative;
    contain: layout;
    /* 防止表格容器超出父容器 */
    box-sizing: border-box;
}

.product-detail-page .detail-block .table-wrapper table {
    display: table;
    width: auto;
    min-width: 100%;
    margin: 0;
    /* 表格可以超出容器宽度，但容器本身不会超出 */
    table-layout: auto;
}

.product-detail-page .detail-block th,
.product-detail-page .detail-block td {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 12px 14px;
    vertical-align: top;
    text-align: left;
    word-break: break-word;
    white-space: normal;
}

.product-detail-page .detail-block th {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    left: 0;
    z-index: 1;
}

.product-detail-page .detail-block tbody tr {
    transition: background-color 0.2s ease;
}

.product-detail-page .detail-block tbody tr:hover {
    background-color: rgba(0,86,179,0.03);
}

.product-detail-page .detail-block tbody tr:nth-child(even) {
    background-color: rgba(0,0,0,0.01);
}

.product-detail-page .detail-block tbody tr:nth-child(even):hover {
    background-color: rgba(0,86,179,0.05);
}

.product-detail-page .detail-block hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.product-detail-page .detail-lead {
    margin: 0 0 16px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    max-width: 900px;
}

.product-detail-page .detail-inquiry {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 10px;
}

.product-detail-page .detail-inquiry-btn.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 0;
}

.product-detail-page .detail-inquiry-btn.btn:hover {
    transform: none;
    box-shadow: none;
}

.product-detail-page .detail-inquiry-btn i {
    font-size: 15px;
}

.product-detail-page .detail-block {
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.product-detail-page #inquiry-form {
    scroll-margin-top: 90px;
}

.product-detail-page .detail-rfq {
    margin: 18px 0 0;
    padding: 26px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
    box-shadow: 0 12px 28px rgba(10, 31, 68, 0.08);
}

.product-detail-page .detail-rfq-header {
    margin-bottom: 14px;
}

.product-detail-page .detail-rfq-title {
    margin-top: 0;
    margin-bottom: 6px;
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 500;
}

.product-detail-page .detail-rfq-subtitle {
    margin: 0;
    color: rgba(0, 0, 0, 0.62);
    font-size: 15px;
}

.product-detail-page .detail-block h2 {
    margin: 0 0 10px;
    color: var(--secondary-color);
    font-size: 22px;
    font-weight: 500;
}

.product-detail-page .detail-block h3 {
    margin: 22px 0 10px;
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 500;
}

.product-detail-page .detail-block p {
    margin: 0 0 12px;
    color: #555;
    line-height: 1.7;
}

.product-detail-page .detail-list {
    margin: 0 0 12px;
    padding-left: 18px;
    color: #555;
}

.product-detail-page .detail-list li {
    margin: 6px 0;
    line-height: 1.65;
}

.product-detail-page .rfq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 12px;
}

.product-detail-page .rfq-item {
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.product-detail-page .rfq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-detail-page .rfq-q {
    font-weight: 500;
    color: var(--secondary-color);
    margin: 0 0 6px;
}

.product-detail-page .rfq-a {
    color: #555;
    line-height: 1.65;
}

.product-detail-page .detail-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 12px;
}

.product-detail-page .detail-table th,
.product-detail-page .detail-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    vertical-align: top;
}

.product-detail-page .detail-table th {
    text-align: left;
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 15px;
}

.product-detail-page .related-products {
    margin: 0 0 12px;
    padding-left: 18px;
}

.product-detail-page .related-products a {
    color: var(--secondary-color);
    text-decoration: none;
}

.product-detail-page .related-products a:hover {
    color: var(--primary-color);
}

.product-detail-page .related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 8px 0 18px;
}

.product-detail-page .related-item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--secondary-color);
    background: #fff;
}

.product-detail-page .related-thumb {
    width: 74px;
    height: 50px;
    min-height: 50px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
}

.product-detail-page .related-thumb img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-detail-page .related-title {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
    color: var(--secondary-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-detail-page .related-item:hover {
    border-color: rgba(0, 86, 179, 0.35);
}

.product-detail-page .related-item:hover .related-title {
    color: var(--primary-color);
}

.product-detail-page .detail-pagination {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.08);
    flex-wrap: wrap;
}

.product-detail-page .detail-page-link {
    flex: 1;
    min-width: min(360px, 100%);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 10px 12px;
    text-decoration: none;
    background: #fff;
    color: var(--secondary-color);
    display: grid;
    gap: 6px;
}

.product-detail-page .detail-page-kicker {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.5);
}

.product-detail-page .detail-page-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-detail-page .detail-page-link:hover {
    border-color: rgba(0, 86, 179, 0.35);
}

.product-detail-page .detail-page-link:hover .detail-page-title {
    color: var(--primary-color);
}

.product-detail-page .detail-tags,
.single-post .detail-tags {
    margin: 18px 0 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-detail-page .detail-tags-title,
.single-post .detail-tags-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.02em;
}

.product-detail-page .detail-tags-list,
.single-post .detail-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-detail-page .detail-tag,
.single-post .detail-tag {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 10px;
    background: #fff;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.product-detail-page .detail-tag:hover,
.single-post .detail-tag:hover {
    color: var(--primary-color);
}

/* -----------------------------------------
   6. Sections & Components
   ----------------------------------------- */
.modern-section {
    padding: 80px 0;
}

.modern-title {
    font-size: 32px;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.modern-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.modern-subtitle {
    font-size: 16px;
    color: #777;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-label {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* About Preview */
.about-preview-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-preview-text {
    flex: 1;
}

.about-points li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.about-points li i {
    color: var(--primary-color);
}

.about-team-preview {
    flex: 1;
}

.about-preview-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.about-preview-cover {
    height: 210px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-preview-card-body {
    padding: 22px;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.about-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 179, 0.08);
    border: 1px solid rgba(0, 86, 179, 0.18);
    color: #2b2b2b;
    font-size: 14px;
    font-weight: 500;
}

.about-highlight i {
    color: var(--primary-color);
}

.team-grid-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.team-member-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
}

.member-photo {
    height: 150px;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.member-info h5 {
    margin: 10px 0 5px;
    color: var(--secondary-color);
}

.member-info span {
    font-size: 13px;
    color: #888;
}

/* Values Grid (Features) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 24px;
}

.value-card h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--secondary-color);
}

.value-card p {
    font-size: 15px;
    color: #666;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.solution-strip {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.solution-strip:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.solution-icon {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 5px;
}

.solution-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.solution-content p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Product Cards Enhanced */
.product-card-enhanced {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

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

.product-thumb {
    height: 180px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #ddd;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-details {
    padding: 25px;
}

.product-details h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.product-details p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.video-swiper {
    padding: 30px 0 10px;
}

.video-slide {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
}

.video-placeholder {
    position: relative;
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
}

.placeholder-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
    opacity: 1;
    transition: opacity 0.25s ease, background 0.25s ease;
    pointer-events: none;
}

.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: rgba(255,255,255,0.95);
    z-index: 2;
    transition: transform 0.25s ease, color 0.25s ease;
}

.video-placeholder:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.08);
    color: #fff;
}

.slide-caption {
    padding: 18px 18px 22px;
    text-align: center;
}

.slide-caption h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.slide-caption p {
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    margin: 0;
}

.video-swiper .swiper-pagination {
    position: static;
    margin-top: 18px;
}

.video-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.55);
    opacity: 1;
}

.video-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.video-swiper .swiper-button-next,
.video-swiper .swiper-button-prev {
    color: rgba(255,255,255,0.9);
}

.video-swiper .swiper-button-next:hover,
.video-swiper .swiper-button-prev:hover {
    color: #fff;
}

.video-swiper .swiper-button-next::after,
.video-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 500;
}

.home-info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.home-info-cards .contact-card-modern {
    flex: 1;
    min-width: 240px;
    max-width: 350px;
}

/* Compact News Grid (Requested) */
.news-compact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.news-item-compact {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: box-shadow 0.3s;
    align-items: center;
}

.news-item-compact:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-date {
    background-color: var(--secondary-color);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1.2;
}

.news-date .day {
    font-size: 22px;
    font-weight: 500;
}

.news-date .month {
    font-size: 13px;
    text-transform: uppercase;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    margin-bottom: 5px;
}

.news-content h3 a {
    color: var(--secondary-color);
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
}

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

.news-content p {
    color: #666;
    font-size: 15px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-link {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Call to Action */
.modern-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.modern-cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.modern-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.modern-cta .btn {
    background: #fff;
    color: var(--primary-color);
}

.modern-cta .btn:hover {
    background: #f0f0f0;
}

/* -----------------------------------------
   7. Inner Page Specifics (About, Products)
   ----------------------------------------- */

/* About Intro */
.about-intro {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.detail-features-list {
    list-style: none;
    margin: 20px 0;
}

.detail-features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.detail-features-list li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: 500;
    margin-right: 10px;
}

.cert-strip {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #666;
}

.cert-item i {
    font-size: 32px;
    color: var(--primary-color);
}

.about-subnav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.about-subnav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 86, 179, 0.08);
    border: 1px solid rgba(0, 86, 179, 0.18);
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.2s;
}

.about-subnav-link:hover {
    background: rgba(0, 86, 179, 0.14);
    transform: translateY(-1px);
}

.about-overview-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
    margin-top: 18px;
}

.about-overview-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
}

.about-block-title {
    color: var(--secondary-color);
    font-size: 18px;
    margin: 22px 0 10px;
}

.about-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 22px;
}

.about-bullets li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.about-bullets li i {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.about-overview-media,
.about-culture-gallery {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: none;
}

.about-media-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-media-img-sm {
    height: 220px;
}

.about-gallery {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-rows: 160px 160px 160px;
    gap: 12px;
    padding: 12px;
    background: transparent;
}

.about-gallery-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.about-gallery-main {
    grid-column: 1 / 2;
    grid-row: 1 / span 2;
}

.about-gallery-top {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.about-gallery-mid {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.about-gallery-wide {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
}

.about-beliefs-intro {
    max-width: 900px;
    margin: 0 auto 30px;
    color: #555;
    line-height: 1.7;
}

.about-culture-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
}

.about-culture-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
}

.about-culture-gallery .about-media-img-sm {
    height: 220px;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1050px;
    margin: 0 auto;
}

.credit-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 18px 18px 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.credit-card::before {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 0;
    height: 0;
    border-top: 66px solid var(--primary-color);
    border-left: 66px solid transparent;
    opacity: 0.92;
}

.credit-card::after {
    content: 'CERT';
    position: absolute;
    top: 18px;
    right: 10px;
    transform: rotate(45deg);
    transform-origin: top right;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.6px;
    line-height: 1;
}

.credit-logo {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    margin: 4px auto 12px;
}

.credit-title {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 15px;
}

/* Products Page Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    padding: 10px;
    box-sizing: border-box;
}

.product-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-image i {
    font-size: 64px;
    color: #ddd;
    transition: color 0.3s;
}

.product-card:hover .product-image i {
    color: var(--primary-color);
}

.product-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-weight: 500;
}

.product-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.product-actions .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 8px;
}

.product-actions .btn i {
    font-size: 15px;
}

.products-layout {
    display: flex;
    gap: 34px;
    align-items: flex-start;
    overflow-x: hidden;
    box-sizing: border-box;
}

.products-layout .sidebar {
    width: 320px;
}

.products-layout .main-content {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.product-catalog {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 5px;
    overflow: hidden;
    position: sticky;
    top: 110px;
}

.product-catalog-header {
    padding: 12px 16px;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-catalog-title {
    font-weight: 500;
    letter-spacing: 0.2px;
}

.catalog-mode {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.catalog-mode-btn {
    height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.catalog-mode-btn[aria-pressed="true"] {
    background: rgba(255,255,255,0.9);
    color: #0b3a7a;
    border-color: rgba(255,255,255,0.9);
}

.catalog-mode-btn:hover {
    filter: brightness(1.05);
}

.product-catalog-body {
    padding: 10px 10px 12px;
}

.catalog-group {
    border-top: 1px solid rgba(0,0,0,0.06);
}

.catalog-group:first-child {
    border-top: none;
}

.catalog-group summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 8px;
    font-weight: 500;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.catalog-group summary::-webkit-details-marker {
    display: none;
}

.catalog-group summary i {
    color: var(--primary-color);
    transition: transform 0.2s ease;
    font-size: 14px;
}

.catalog-group[open] summary i {
    transform: rotate(90deg);
}

.catalog-links {
    list-style: none;
    margin: 0 0 10px;
    padding: 0 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalog-links a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.45;
    display: inline-block;
}

.catalog-links a:hover {
    color: var(--primary-color);
}

.catalog-anchor {
    scroll-margin-top: 110px;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-row {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.product-row-thumb {
    width: 150px;
    min-height: 120px;
    border-right: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    flex-shrink: 0;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    padding: 8px;
    box-sizing: border-box;
}

.product-row-thumb img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.product-row-body {
    flex: 1;
    min-width: 0;
    padding: 16px 18px;
    background: transparent;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 18px;
    row-gap: 8px;
    align-items: start;
}

.product-row-title {
    display: block;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: none;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    grid-column: 1;
}

.product-row-title:hover {
    color: var(--primary-color);
}

.product-row-desc {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    grid-column: 1;
}

.product-row-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.product-row-details.btn {
    padding: 10px 16px;
    font-size: 15px;
    border-radius: 8px;
    font-weight: 500;
    white-space: nowrap;
}

.product-row-details.btn:hover {
    transform: none;
    box-shadow: none;
}

.image-preview-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.72);
    padding: 24px;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-preview-overlay.is-open {
    display: flex;
}

.image-preview-dialog {
    position: relative;
    width: min(960px, 100%);
    max-height: 90vh;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.image-preview-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    background: #f8f9fa;
}

.image-preview-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.image-preview-close:hover {
    background: rgba(0,0,0,0.7);
}

.video-preview-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.72);
    padding: 24px;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-preview-overlay.is-open {
    display: flex;
}

.video-preview-dialog {
    position: relative;
    width: min(960px, 100%);
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.video-preview-body {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.video-preview-player,
.video-preview-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-preview-player {
    background: #000;
}

.video-preview-iframe {
    background: #000;
    display: none;
}

.video-preview-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.video-preview-close:hover {
    background: rgba(0,0,0,0.7);
}

.list-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 18px 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 6px;
    box-shadow: none;
    margin-bottom: 18px;
}

.product-search-form {
    flex: 1;
    width: 100%;
}

.list-toolbar-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 220px;
}

.list-toolbar-kicker {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.45);
}

.list-toolbar-headrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.list-toolbar-heading {
    margin: 0;
    font-size: 22px;
    color: var(--secondary-color);
    line-height: 1.2;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.list-toolbar-heading i {
    color: var(--primary-color);
    font-size: 18px;
}

.sidebar-toggle {
    display: none;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(0,0,0,0.14);
    border-radius: 6px;
    background: #fff;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.sidebar-toggle:hover {
    border-color: rgba(0, 86, 179, 0.35);
    color: var(--primary-color);
}

.sidebar-toggle i {
    font-size: 14px;
}

.page-breadcrumb {
    font-size: 15px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.25;
    flex-wrap: wrap;
    margin: 0 0 12px;
}

.page-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 400;
    text-decoration: none;
}

.page-breadcrumb .crumb-icon {
    color: rgba(0,0,0,0.45);
    font-size: 13px;
}

.page-breadcrumb a .crumb-icon {
    color: var(--primary-color);
}

.page-breadcrumb a span {
    color: inherit;
}

.page-breadcrumb .current .crumb-icon {
    color: rgba(0,0,0,0.45);
}

.page-breadcrumb .sep {
    color: rgba(0,0,0,0.35);
    font-size: 13px;
}

.page-breadcrumb .current {
    color: rgba(0,0,0,0.6);
    font-weight: 400;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-search-form {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) 44px;
    align-items: center;
    gap: 12px;
}

.page-search-form .product-search-btn {
    width: 44px;
}

.article-item.is-hidden {
    display: none;
}

.product-list {
    margin-top: 14px;
}

.product-search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.4fr) 44px;
    align-items: center;
    gap: 12px;
    justify-content: stretch;
}

.product-search-input {
    height: 40px;
    min-width: 0;
    padding: 0 12px;
    border: 1px solid rgba(0,0,0,0.16);
    border-radius: 6px;
    outline: none;
    font-size: 15px;
    background: #fff;
    color: var(--secondary-color);
}

.product-search-input:focus {
    border-color: rgba(0, 86, 179, 0.55);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.12);
}

.product-search-select {
    height: 40px;
    min-width: 0;
    padding: 0 10px;
    border: 1px solid rgba(0,0,0,0.16);
    border-radius: 6px;
    outline: none;
    font-size: 15px;
    background: #fff;
    color: var(--secondary-color);
}

.product-search-select:focus {
    border-color: rgba(0, 86, 179, 0.55);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.12);
}

.product-search-btn {
    height: 40px;
    width: 44px;
    border: none;
    border-radius: 6px;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-search-btn:hover {
    filter: brightness(1.06);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.pagination a {
    text-decoration: none;
}

.page-num,
.page-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(0,0,0,0.14);
    border-radius: 10px;
    background: #fff;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 15px;
}

.page-num:hover,
.page-btn:hover {
    border-color: rgba(0, 86, 179, 0.35);
    color: var(--primary-color);
}

.page-num.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.page-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.page-ellipsis {
    color: rgba(0,0,0,0.45);
    font-weight: 500;
    padding: 0 4px;
}

/* Logo Wall */
.logo-wall {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.client-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    height: 44px;
    width: auto;
    display: block;
    opacity: 0.75;
}

/* Case Studies */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background:
        radial-gradient(520px circle at 14% 18%, rgba(0, 86, 179, 0.08) 0%, rgba(0, 86, 179, 0) 52%),
        radial-gradient(620px circle at 86% 78%, rgba(0, 86, 179, 0.06) 0%, rgba(0, 86, 179, 0) 55%),
        linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.06);
}

.case-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.case-content p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.case-stat {
    font-size: 15px;
    color: #888;
}

.case-stat span {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 20px;
    margin-right: 5px;
}

/* -----------------------------------------
   8. Footer
   ----------------------------------------- */
footer {
    background-color: #111;
    color: #aaa;
    padding: 70px 0 30px;
    font-size: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-col ul li a {
    color: #aaa;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-col ul li i {
    width: 20px;
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: #666;
}

/* -----------------------------------------
   8b. News, Contact & Layout
   ----------------------------------------- */

/* Page Layout */
.page-layout {
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 16px;
    padding-top: 60px;
    padding-bottom: 60px;
    overflow-x: hidden;
    box-sizing: border-box;
}

.page-layout > .page-breadcrumb {
    width: 100%;
    margin: 0;
}

.page-layout > .main-content > .sidebar-toggle {
    margin: 0 0 14px;
}

.main-content {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* Article List (Standard) */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-item {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.article-item:hover {
    box-shadow: none;
    border-color: rgba(0, 86, 179, 0.18);
}

.article-thumb {
    width: 300px;
    height: 200px !important;
    min-height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-right: 1px solid #eee;
    overflow: hidden;
}

.article-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

.article-content {
    padding: 10px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.article-title a:hover {
    color: var(--primary-color);
}

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

.detail-meta i {
    margin-right: 5px;
}

.article-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.read-more:hover {
    gap: 8px;
}

.post-detail {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.post-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-title {
    font-size: 28px;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #777;
    font-size: 14px;
}

.post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-meta-item i {
    color: var(--primary-color);
    font-size: 13px;
}

.post-cover {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.post-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.post-body {
    margin: 0;
}

.post-footer {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    align-items: center;
}

.post-tags-label,
.post-share-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.post-tag {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 999px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    background: #fff;
}

.post-tags-label::after,
.post-share-label::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 6px;
    background: var(--primary-color);
}

.post-tag:hover {
    border-color: rgba(0, 86, 179, 0.35);
    color: var(--primary-color);
}

.post-share {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.post-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-share-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 999px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    background: #fff;
}

.post-share-link i {
    color: var(--primary-color);
    font-size: 13px;
}

.post-share-link:hover {
    border-color: rgba(0, 86, 179, 0.35);
    color: var(--primary-color);
}

.post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0 0;
}

.post-nav-link {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    text-decoration: none;
    color: var(--secondary-color);
    background: #fff;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.post-nav-kicker {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.5);
    font-weight: 600;
}

.post-nav-title {
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-nav-link:hover {
    border-color: rgba(0, 86, 179, 0.35);
    transform: translateY(-2px);
}

.post-nav-link:hover .post-nav-title {
    color: var(--primary-color);
}

.post-nav-prev {
    align-items: start;
}

.post-nav-next {
    align-items: end;
    text-align: right;
}

.post-related {
    margin-top: 24px;
}

.post-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.post-related-card {
    display: flex;
    flex-direction: row;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    text-decoration: none;
    color: var(--secondary-color);
    background: #fff;
    align-items: center;
}

.post-related-thumb {
    border-radius: 8px;
    overflow: hidden;
    background: #f6f7f9;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.post-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-related-thumb i {
    font-size: 28px;
    color: rgba(0,0,0,0.25);
}

.post-related-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-related-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
}

.post-related-date {
    font-size: 13px;
    color: rgba(0,0,0,0.55);
}

.post-related-card:hover {
    border-color: rgba(0, 86, 179, 0.35);
}


.post-detail-page .content-area,
.post-detail-page .post-cover,
.post-detail-page .post-nav-link,
.post-detail-page .post-related-card,
.post-detail-page .post-tag,
.post-detail-page .post-comments {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.post-detail-page .post-tag {
    padding: 0;
    height: auto;
}

.post-detail-page .post-related-card {
    padding: 12px 0;
}

.post-detail-page .post-header,
.post-detail-page .post-meta,
.post-detail-page .post-meta a {
    background: transparent;
    border: none;
    box-shadow: none;
}

.post-detail-page .post-share-links {
    gap: 12px;
}

.post-detail-page .post-share-link {
    padding: 4px 6px;
    color: #555;
    border-bottom: 1px solid transparent;
}

.post-detail-page .post-share-link i {
    color: var(--primary-color);
}

.post-detail-page .post-share-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Sidebar Widgets */
.widget {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.widget-title {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.page-layout .sidebar .widget {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: none;
}

.page-layout .sidebar .widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.page-layout .sidebar .widget-title i {
    color: var(--primary-color);
    font-size: 15px;
}

.page-layout .sidebar .marketing-widget {
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,0.22) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(110,193,255,0.26) 0%, transparent 55%),
        linear-gradient(135deg, var(--primary-color) 0%, #0b3a7a 100%);
    border: none;
    color: rgba(255,255,255,0.92);
    text-align: left;
}

.page-layout .sidebar .marketing-widget .widget-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.18);
}

.page-layout .sidebar .marketing-widget p {
    color: rgba(255,255,255,0.9);
}

.page-layout .sidebar .marketing-widget a.btn {
    border-color: rgba(255,255,255,0.75);
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.page-layout .sidebar .marketing-widget a.btn:hover {
    background: rgba(255,255,255,0.14);
}

.page-layout .sidebar .marketing-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-layout .sidebar .marketing-highlights li {
    margin: 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(255,255,255,0.92);
}

.page-layout .sidebar .marketing-highlights li i {
    color: rgba(255,255,255,0.95);
    width: 18px;
    text-align: center;
    margin-top: 2px;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--secondary-color);
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(0, 86, 179, 0.03);
}

.sidebar-links a i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

.sidebar-links a:hover {
    border-color: rgba(0, 86, 179, 0.22);
    background: rgba(0, 86, 179, 0.06);
}

.sidebar-search-hint {
    margin: 10px 0 0;
    color: rgba(0,0,0,0.55);
    font-size: 13px;
    line-height: 1.4;
}

.widget ul li {
    margin-bottom: 12px;
    color: #666;
    font-size: 15px;
}

.widget ul li i {
    color: var(--primary-color);
    width: 20px;
}

.marketing-widget {
    background: #fff;
    border-top: 3px solid var(--primary-color);
    text-align: center;
}

.contact-widget ul li {
    display: flex;
    gap: 10px;
}

.inquiry-form .form-group {
    margin-bottom: 15px;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.inquiry-form .btn {
    width: 100%;
}

/* Contact Page Styles */
.modern-section-contact .modern-subtitle {
    margin-bottom: 28px;
}

.form-container {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 26px;
    max-width: 860px;
    margin: 0 auto;
}

.contact-hero-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
}

.contact-card-modern {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    flex: 1;
    max-width: 350px;
}

.contact-icon-lg {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card-modern h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-card-modern p {
    color: #666;
    font-size: 15px;
}

.contact-urgency-panel {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    border-radius: 0;
    padding: 0 0 20px;
    box-shadow: none;
    margin: 0 0 20px;
}

.contact-urgency-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 0 10px;
}

.contact-urgency-title i {
    color: var(--primary-color);
}

.contact-urgency-copy {
    margin: 0 0 14px;
    color: #555;
    line-height: 1.6;
}

.contact-urgency-pills {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-urgency-pills li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0, 86, 179, 0.06);
    border: 1px solid rgba(0, 86, 179, 0.14);
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.contact-urgency-pills i {
    color: var(--primary-color);
}

.contact-urgency-feed-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 8px 0 10px;
}

.contact-urgency-feed {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-urgency-feed li {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-urgency-time {
    flex: 0 0 auto;
    min-width: 44px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(233,47,10,0.08);
    border: 1px solid rgba(233,47,10,0.18);
    color: rgba(233,47,10,0.92);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.contact-urgency-text {
    color: #555;
    font-size: 14px;
    line-height: 1.45;
}

.contact-urgency-hint {
    margin-top: 14px;
    color: rgba(0,0,0,0.58);
    font-size: 13px;
    line-height: 1.45;
}

.contact-hours-map {
    position: relative;
    background: linear-gradient(rgba(0, 86, 179, 0.78), rgba(0, 51, 102, 0.78)), url('https://commons.wikimedia.org/wiki/Special:FilePath/Network%20cables%20in%20server%20room.jpg?width=1920');
    background-size: cover;
    background-position: center;
}

.contact-hours-map-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-hours-panel,
.contact-map-panel {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 28px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.contact-hours-desc {
    margin: 10px 0 22px;
    color: #555;
}

.contact-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-hours-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.contact-hours-day {
    font-weight: 500;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-hours-day i {
    color: var(--primary-color);
}

.contact-hours-time {
    color: var(--text-color);
    font-weight: 500;
}

.contact-hours-time.is-muted {
    color: #888;
}

.contact-social {
    margin-top: auto;
}

.contact-social-title {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 14px;
}

.contact-social-links {
    display: flex;
    gap: 12px;
}

.contact-social-links a {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-social-links .fa-skype { color: #00aff0; }
.contact-social-links .fa-whatsapp { color: #25d366; }
.contact-social-links .fa-linkedin-in { color: #0077b5; }

.contact-map-embed {
    flex: 1;
    width: 100%;
    min-height: 320px;
    border-radius: 15px;
    overflow: hidden;
    background: #e9ecef;
}

.contact-map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-map-canvas,
.contact-map-embed .leaflet-container {
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.contact-map-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #555;
    font-size: 15px;
    text-align: center;
    padding: 20px;
}

.modern-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.modern-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modern-input-group label {
    font-weight: 500;
    font-size: 15px;
    color: var(--secondary-color);
}

.modern-input-group input,
.modern-input-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.form-full-width {
    grid-column: 1 / -1;
}

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

.inquiry-stats {
    background: var(--primary-color);
    color: #fff;
    border-color: rgba(255,255,255,0.15);
    position: relative;
}

.inquiry-stats i {
    font-size: 20px;
}

.stats-popup {
    position: absolute;
    right: 60px;
    bottom: 0;
    width: 210px;
    padding: 12px 14px;
    background: rgba(17,17,17,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    box-shadow: none;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-align: left;
    backdrop-filter: blur(6px);
}

.stats-popup p {
    margin: 0 0 6px;
    font-size: 14px;
    color: rgba(255,255,255,0.78);
    line-height: 1.35;
}

.stats-popup p:last-child {
    margin-bottom: 0;
}

.stats-popup strong {
    color: #fff;
    font-weight: 500;
}

.inquiry-stats:hover .stats-popup {
    opacity: 1;
    transform: translateY(0);
}

.stats-popup::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: 18px;
    width: 14px;
    height: 14px;
    background: rgba(17,17,17,0.96);
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: rotate(-45deg);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 0 0 0 rgba(233,47,10,0.6);
    animation: pulse 1.6s infinite;
}

.sidebar-close-btn {
    display: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(233,47,10,0.6); }
    70% { box-shadow: 0 0 0 10px rgba(233,47,10,0); }
    100% { box-shadow: 0 0 0 0 rgba(233,47,10,0); }
}


/* -----------------------------------------
   9. Responsive
   ----------------------------------------- */
@media (max-width: 992px) {
    .about-preview-grid, .about-intro {
        flex-direction: column;
    }

    .about-overview-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .about-culture-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .credits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .nav-links {
        display: none; /* Mobile menu needed */
    }

    .navbar {
        position: relative;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        left: 0;
        right: 20%;
        top: 0;
        bottom: 0;
        padding: 20px 16px 30px;
        background: #fff;
        border: 1px solid rgba(0,0,0,0.08);
        border-radius: 0;
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
        z-index: 1002;
        margin-top: 0;
        overflow-y: auto;
    }

    .nav-links.active .menu {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        flex: 0 0 auto;
    }

    .nav-links.active .menu > li {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .nav-links.active .menu > li > a {
        padding: 0 8px;
        border-radius: 0;
        line-height: 52px;
        text-align: left;
        flex: 1 1 auto;
        min-width: 0;
    }

    .nav-links.active .menu > li > a::after {
        display: none;
    }

    .nav-links.active .menu > li > a:hover,
    .nav-links.active .menu > li > a.active {
        background: none;
        color: var(--primary-color);
    }

    .nav-links.active .menu > li > a:hover {
        background: rgba(0, 86, 179, 0.08);
    }

    .nav-links.active .submenu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        color: #666;
        background: transparent;
        border: 0;
        border-radius: 0;
        padding: 0;
        margin: 0 0 0 auto;
    }

    .nav-links.active .menu > li.is-open > .submenu-toggle i {
        transform: rotate(180deg);
    }

    .nav-links.active .sub-menu {
        position: static;
        margin: 0;
        padding: 0 0 0 12px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        display: none;
        width: 100%;
        flex: 0 0 100%;
    }

    .nav-links.active .menu > li.is-open > .sub-menu {
        display: block;
    }

    .nav-links.active .sub-menu a {
        padding: 0 12px;
        font-size: 16px;
        line-height: 44px;
        border-radius: 0;
    }

    .nav-links.active .mobile-menu-extra {
        display: block;
        padding-top: 18px;
        margin-top: 18px;
        border-top: 1px solid rgba(0,0,0,0.08);
        color: var(--secondary-color);
    }

    .nav-links.active .mobile-menu-extra-title {
        font-size: 14px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 12px;
        color: #888;
    }

    .nav-links.active .mobile-menu-extra-items {
        display: grid;
        gap: 10px;
        margin-bottom: 12px;
    }

    .nav-links.active .mobile-menu-contact {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        color: var(--secondary-color);
    }

    .nav-links.active .mobile-menu-social {
        display: flex;
        gap: 12px;
    }

    .nav-links.active .mobile-menu-social a {
        font-size: 16px;
        color: var(--secondary-color);
    }
    
    .menu-toggle {
        display: block;
    }

    .home-hero h1 {
        font-size: 36px;
    }

    .hero {
        padding: 10px 0;
    }

    .hero h1,
    .hero h2 {
        font-size: 18px;
    }

    /* Added responsive for new sections */
    .page-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .page-layout > .sidebar {
        display: none;
    }
    .page-layout.sidebar-open > .sidebar {
        display: block;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        max-height: 85vh;
        overflow-y: auto;
        background: #fff;
        z-index: 2000;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.25);
        padding: 0;
        border: 1px solid rgba(0,0,0,0.1);
    }
    
    .page-layout.sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1999;
        backdrop-filter: blur(2px);
    }

    .contact-hero-cards {
        flex-direction: column;
        align-items: center;
        margin-top: -40px;
    }
    .contact-card-modern {
        width: 100%;
    }

    .form-container {
        padding: 18px;
    }

    .contact-hours-map-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        align-items: stretch;
    }

    .product-detail-layout {
        flex-direction: column;
    }

    .detail-image {
        width: 100%;
        height: 280px;
    }

    .products-layout {
        flex-direction: column;
    }

    .products-layout > .sidebar {
        display: none;
    }

    .products-layout.sidebar-open > .sidebar {
        display: block;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        max-height: 85vh;
        overflow-y: auto;
        background: #fff;
        z-index: 2000;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.25);
        padding: 0;
        border: 1px solid rgba(0,0,0,0.1);
    }
    
    .products-layout.sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1999;
        backdrop-filter: blur(2px);
    }
    
    /* Widget adjustments inside popup */
    .page-layout.sidebar-open > .sidebar .widget,
    .products-layout.sidebar-open > .sidebar .widget {
        margin-bottom: 0;
        border: none;
        border-bottom: 1px solid #eee;
        border-radius: 0;
        box-shadow: none;
    }
    
    .page-layout.sidebar-open > .sidebar .widget:last-child,
    .products-layout.sidebar-open > .sidebar .widget:last-child {
        border-bottom: none;
    }

    /* Close Button Style */
    .sidebar-close-btn {
        position: sticky;
        top: 10px;
        margin-left: auto;
        margin-right: 10px;
        width: 32px;
        height: 32px;
        border: none;
        background: rgba(0,0,0,0.05);
        color: #666;
        font-size: 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        z-index: 2002;
        transition: all 0.2s;
        margin-bottom: -32px; /* Float over content */
    }
    .sidebar-close-btn:hover {
        background: #f0f0f0;
        color: #333;
        transform: rotate(90deg);
    }

    .sidebar-toggle {
        display: inline-flex;
        align-self: flex-start;
    }

    .product-catalog {
        position: static;
    }

    .product-catalog {
        margin-bottom: 20px;
    }

    .product-row-thumb {
        width: 140px;
    }

    .post-title {
        font-size: 24px;
    }

    .post-related-grid {
        grid-template-columns: 1fr;
    }

    .list-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .product-search-form {
        grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) 44px;
        justify-content: start;
    }

    .post-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    
    .navbar-actions { display: none; }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    .hero-stats .stat-item {
        width: calc(50% - 10px);
    }
    
    .news-item-compact {
        flex-direction: column;
        text-align: center;
    }
    
    .news-date {
        width: 50px;
        height: 50px;
    }
    
    .news-date .day { font-size: 18px; }

    /* Added responsive for new sections */
    .article-item {
        flex-direction: column;
    }
    .article-thumb {
        width: 100%;
        height: 200px !important;
        min-height: 200px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .modern-form-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-row {
        flex-direction: column;
    }

    .product-row-thumb {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        min-height: 140px;
    }
    
    .product-row-thumb img {
        min-height: 140px;
    }

    .product-row-body {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        row-gap: 10px;
    }

    .product-row-actions {
        grid-column: 1;
        grid-row: auto;
        justify-content: flex-start;
        align-self: start;
    }

    .list-toolbar {
        grid-template-columns: 1fr;
        align-items: flex-start;
        padding: 16px;
    }

    .list-toolbar .sidebar-toggle {
        width: 100%;
        justify-content: center;
    }

    .page-breadcrumb {
        margin: 0 0 10px;
    }

    .product-search-form {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .page-search-form {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .product-search-input,
    .product-search-select {
        width: 100%;
        min-width: 0;
    }

    .product-search-btn {
        width: 100%;
    }

    .product-detail-page .detail-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .product-detail-page .detail-toolbar-label {
        white-space: normal;
    }

    .product-detail-page .detail-toolbar .sidebar-toggle {
        width: 100%;
        justify-content: center;
    }

    .product-detail-page .detail-toolbar .product-search-form {
        width: 100%;
    }

    .product-detail-page .detail-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-detail-page .detail-thumb {
        width: 100%;
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }

    .product-detail-page .detail-head-text {
        width: 100%;
    }

    .product-detail-page .detail-inquiry-btn.btn {
        width: 100%;
        justify-content: center;
    }

    .product-detail-page .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail-page .detail-page-link {
        min-width: 100%;
    }

    .image-preview-overlay {
        padding: 14px;
    }

    .about-preview-cover {
        height: 170px;
    }

    .team-grid-mini {
        grid-template-columns: 1fr;
    }

    .about-bullets {
        grid-template-columns: 1fr;
    }

    .about-media-img-sm {
        height: 190px;
    }

    .about-culture-gallery {
        grid-template-columns: 1fr;
    }

    .credits-grid {
        grid-template-columns: 1fr;
    }

    .about-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 220px 170px 170px 190px;
        padding: 10px;
    }

    .about-gallery-main,
    .about-gallery-wide {
        grid-column: 1 / -1;
    }

    .about-gallery-main {
        grid-row: 1 / 2;
    }

    .about-gallery-top {
        grid-row: 2 / 3;
    }

    .about-gallery-mid {
        grid-row: 3 / 4;
    }

    .about-gallery-wide {
        grid-row: 4 / 5;
    }

    .content-area {
        padding: 22px;
    }

    .video-placeholder {
        height: 220px;
    }

    .play-btn {
        font-size: 54px;
    }
} 


/*评论*/

/* WordPress 评论列表简洁样式 */
/* 重置评论列表默认样式 */
.commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 单条评论样式 - 简洁版 */
.comment-body {
    position: relative;
    margin-bottom: 30px;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* 移除最后一个评论的下边框 */
.commentlist > li:last-child .comment-body {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 回复评论的缩进 */
.commentlist .children {
    margin-left: 50px;
    padding-left: 0;
    padding-top: 20px;
    position: relative;
}

/* 子评论连接线 */
.commentlist .children:before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    bottom: 20px;
    width: 2px;
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .commentlist .children {
        margin-left: 20px;
    }
    .commentlist .children:before {
        left: -15px;
    }
}

/* 作者信息区域 */
.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.comment-author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid #f5f5f5;
    object-fit: cover;
}

.comment-author .fn {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.comment-author .fn a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.comment-author .fn a:hover {
    color: #1890ff;
}

.comment-author .says {
    margin-left: 6px;
    color: #999;
    font-size: 13px;
    font-weight: normal;
}

/* 评论元信息 */
.comment-meta {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #999;
    font-size: 13px;
}

.comment-meta a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.comment-meta a:hover {
    color: #1890ff;
}

.comment-edit-link {
    color: #999;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.comment-edit-link:hover {
    color: #1890ff;
}

/* 评论内容 */
.comment-body p {
    margin: 0 0 15px 0;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.comment-body p:last-child {
    margin-bottom: 0;
}

/* Emoji 表情样式 */
.comment-body img.emoji {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 2px;
    vertical-align: -2px;
}

/* 回复按钮 */
.comment-body .reply {
    margin-top: 12px;
    display: inline-block;
}

.comment-reply-link {
    color: #666;
    font-size: 13px;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 3px;
    transition: all 0.2s;
    border: 1px solid #e8e8e8;
    background: #fafafa;
}

.comment-reply-link:hover {
    color: #1890ff;
    border-color: #1890ff;
    background: #fff;
}

/* 作者评论样式 */
.bypostauthor .comment-author .avatar {
    border-color: #1890ff;
}

/* 评论表单简洁样式 */
#respond {
    margin-top: 40px;
    padding: 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 30px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
    background: #fff;
    font-family: inherit;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* 提交按钮简洁样式 */
.form-submit {
    margin-top: 20px;
    margin-bottom: 0;
}

.form-submit .submit {
    background: #1890ff;
    color: white;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.form-submit .submit:hover {
    background: #096dd9;
}

/* 评论导航简洁样式 */
.comment-navigation {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.comment-navigation .nav-previous a,
.comment-navigation .nav-next a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.comment-navigation .nav-previous a:hover,
.comment-navigation .nav-next a:hover {
    color: #1890ff;
}

/* 无评论时样式 */
.nocomments {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 15px;
    border: 1px dashed #f0f0f0;
    border-radius: 4px;
    background: #fafafa;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .comment-body {
        padding-bottom: 15px;
        margin-bottom: 20px;
    }
    
    .comment-author {
        margin-bottom: 10px;
    }
    
    .comment-author .avatar {
        width: 36px;
        height: 36px;
    }
    
    .comment-author .fn {
        font-size: 14px;
    }
    
    .comment-meta {
        font-size: 12px;
        gap: 8px;
    }
    
    .comment-body p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .comment-reply-link {
        font-size: 12px;
    }
    
    #respond {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .form-submit .submit {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* 评论计数器（可选） */
.comment-body:before {
    display: none; /* 隐藏原来的楼层标识 */
}

/* 简洁的评论动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.comment-body {
    animation: fadeIn 0.3s ease-out;
}

/* 移除所有阴影、背景色和过度装饰 */
.commentlist,
.comment-body,
#respond {
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
}

.support-popup,
.chat-popup {
    bottom: 100%;
    top: auto;
    margin-bottom: 10px;
    transform: translateY(6px);
}

.comment-body:hover {
    transform: none;
    box-shadow: none;
    border-color: #f0f0f0;
}

/* 管理员评论的简洁标识 */
.bypostauthor .comment-body:before {
    content: "";
    display: none; /* 移除作者标识 */
}

/* 子评论样式 */
.depth-2 .comment-body,
.depth-3 .comment-body,
.depth-4 .comment-body {
    background: transparent;
    border: none;
    padding-top: 0;
    border-bottom: 1px solid #f5f5f5;
}

.depth-2 .comment-body:before,
.depth-3 .comment-body:before,
.depth-4 .comment-body:before {
    content: none;
}

/* 评论回复表单的标签文字 */
#reply-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

/* 必填字段星号样式 */
.required {
    color: #ff4d4f;
    margin-left: 2px;
}

/* 表单辅助文字 */
.comment-notes,
.logged-in-as {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* 表单行布局 */
.comment-form-author,
.comment-form-email,
.comment-form-url {
    width: 100%;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .comment-form-author,
    .comment-form-email {
        width: calc(50% - 10px);
        display: inline-block;
        vertical-align: top;
    }
    
    .comment-form-author {
        margin-right: 20px;
    }
    
    .comment-form-url {
        clear: both;
    }
}
