/*
Theme Name: Frontis
Theme URI: https://demo.frontiswp.com/theme
Author: WP Messiah
Author URI: https://wpmessiah.com/
Description: Meet Frontis, the lightweight WordPress block theme built for speed and flexibility. Perfect for any project, Frontis offers unlimited customizability through its simple block editor, empowering you to create stunning, fast-loading websites with no hassle. Whether for a blog, business, or portfolio, Frontis provides a robust foundation that scales with your needs, while maintaining great SEO performance. Make a bold statement with Frontis, where speed meets sophistication. A Fast, Highly Customizable Block Theme for WordPress.
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.1.20
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frontis
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  
    color: #333;
    line-height: 1.6;
}

.container {
    display: flex;
    max-width: 1400px;
    margin: 30px auto;
    border-radius: 10px;
    overflow: hidden;
}
:root {
    --primary-color: #2c3e50;
    --secondary-color: #399cff;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
}

.header {
    color: white;
}
.Pro-Cat{
    background-color: #f6f8fb;
}
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom:1px solid #1212122e;
    
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.search-container {
    display: flex;
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

.search-container input {
    flex: 1;
    padding: 8px 15px;
    border: 1px solid #399cff;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.search-container button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.total-price {
    font-weight: bold;
    white-space: nowrap;
}

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

.nav-menu {
    display: flex;
    list-style: none;
}
.product-item p{
color: #000;
}
.nav-menu li {
    position: relative;
    margin-right: 20px;
}
.section-product{
    padding: 20px 0 80px 0;
}
.nav-menu a {
    color: #555555;
    text-decoration: none;
    padding: 0px 12px;
    font-size:18px;
    font-weight: 500;
    display: block;
    transition: all 0.3s;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.nav-menu .dropdown::after {
    content: " ▼";
    font-size: 0.7rem;
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector select {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 0.9rem;
}

.language-selector select option {
    background-color: var(--dark-color);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column;
        padding-top: 60px;
        transition: 0.3s;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}
.services-section {
    background: #27394a;
    color: #fff;
    padding: 80px 0;
    font-family: 'Inter', sans-serif;
  }
  .services-subtitle {
    color: #399cff;
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 10px;
  }
  .services-title {
    font-size: 54px;
    color: #ffffff;
    margin-bottom: 40px;
  }
  .services-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  /* Left main box */
  .service-main {
    flex: 1;
    min-width: 350px;
    background: #114a97;
    border-radius: 12px;
    padding: 35px;
  }
  .service-main .service-icon {
    background: #0e4083c9;
    display: inline-block;
    padding: 9px 13px;
    border-radius: 8px;
    font-size: 24px;
    color: #399cff;
    margin-bottom: 20px;
  }
  .service-main1 .service-icon {
    background: #0e4083c9;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 24px;
    color: #399cff;
  }
  .service-main h3 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 12px;
  }
  .service-main p {
    color: #fff;
    line-height: 1.6;
    font-size: 20px;
  }
  .btn-learn {
    display: inline-block;
    margin-top: 20px;
    background: #399cff;
    color: #fff;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
  }
  .btn-learn:hover {
    background: #0b3368;
  }
  /* Market Intelligence Hub Section */
.market-hub {
    background-color: #f6f8fb;
    padding: 70px 0;
    font-family: "Inter", sans-serif;
  }
  
  
  .market-hub .hub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
  }
  
  .market-hub .hub-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #114a97;
    margin: 0;
  }
  
  .market-hub .hub-button {
    background-color: #114a97;
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .market-hub .hub-button:hover {
    background-color: #0b3368;
  }
  
  /* Grid Layout */
  .market-hub .hub-grid {
    display: grid;
    grid-template-columns:  repeat(4, 1fr);
    gap: 24px;
  }
  
  /* Card */
  .market-hub .hub-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .market-hub .hub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  }
  
  /* Image */
  .market-hub .hub-thumb {
    height: 180px;
    overflow: hidden;
  }
  .market-hub .hub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .market-hub .hub-card:hover .hub-thumb img {
    transform: scale(1.05);
  }
  
  /* Content */
  .market-hub .hub-content {
    padding: 20px;
  }
  
  .market-hub .hub-category {
    display: inline-block;
    background-color: #d9e4f7;
    color: #114a97;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
  }
  
  .market-hub .hub-date {
    font-size: 13px;
    color: #888;
    margin-left: 10px;
  }
  
  .market-hub .hub-content h3 {
    font-size: 18px;
    color: #222;
    font-weight: 700;
    margin-top: 10px;
  }
  
  .market-hub .hub-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-top: 8px;
  }

  /* Right list boxes */
  .service-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 350px;
  }
  .service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #114a97;
    border-radius: 10px;
    padding: 18px 24px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 28px;
    transition: 0.3s;
  }
  .service-item:hover {
    background: #0b3368;
  }
  .service-item i:first-child {
    color: #399cff;
  }
  .service-item i:last-child {
    color: #399cff;
    opacity: 0.8;
  }
  
  /* Responsive */
  @media (max-width: 900px) {
    .services-content {
      flex-direction: column;
    }
    .service-list {
      width: 100%;
    }
  }
@media (max-width: 768px) {
    .top-bar {
        flex-wrap: wrap;
    }
    
    .search-container {
        order: 3;
        margin: 10px 0 0;
        max-width: 100%;
    }
    
    .logo {
        margin-right: 15px;
    }
}
@media (max-width: 576px) {
    .top-bar, .nav-bar {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .total-price {
        font-size: 0.9rem;
    }
}
/* 왼쪽 카테고리 영역 */
.category-sidebar {
    position: relative;
    width: 280px;
    background: #114a97c4;
    color: white;
    padding: 0;
}

.category-sidebar h2 {
    padding: 20px 25px;
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
    color: #fff;
    background: #114a97;
}

.category-list {
    list-style: none;
}

.category-item {
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}
.category-item a{
    color:#ffffff;
}
.category-item:hover {
    background: #399cff;
}

.category-item.active {
    background: #399cff;
    font-weight: 600;
}

.category-item::after {
    content: ">";
    opacity: 0.7;
}

/* 서브카테고리 드롭다운 */
.subcategory-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
    width: 700px;
    background: white;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 8px 8px 0;
    display: none;
    z-index: 1000;
    max-height: 80vh; /* 限制最大高度为视口的80% */
    overflow-y: auto; /* 内容过多时显示滚动条 */
}
/* 确保在大屏幕下容器有相对定位 */
@media (min-width: 1201px) {
    .container {
        position: relative;
        overflow: visible; /* 确保子菜单不会被截断 */
    }
    
    .category-sidebar {
        position: relative; /* 确保子菜单相对于侧边栏定位 */
    }
}

.category-item:hover .subcategory-dropdown {
    display: block;
}

.subcategory-content {
    padding: 20px;
    height: auto;
    min-height: auto;
}

.subcategory-title {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #399cff;
}

.subcategory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.subcategory-column h4 {
    color: #399cff;
    margin-bottom: 10px;
    font-size: 1rem;
}

.subcategory-list {
    list-style: none;
}

.subcategory-list li {
    margin-bottom: 8px;
}

.subcategory-list a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: block;
    padding: 5px 0;
}

.subcategory-list a:hover {
    color: #399cff;
}

/* 오른쪽 영역 */
.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 브랜드/서브카테고리 섹션 */
.content-section {
    flex: 1;
    padding: 25px;
}

.section-title {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.6rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* 브랜드 그리드 */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.brand-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    padding: 15px;
    border: 1px solid #eaeaea;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #399cff;
}

.brand-logo {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.brand-logo img {
    max-width: 100%;
    max-height: 70px;
}

.brand-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    margin-top: 5px;
}

.brand-description {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 5px;
    line-height: 1.4;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .container {
        flex-direction: column;
    }
    
    .category-sidebar {
        width: 100%;
    }
    
    .subcategory-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        display: none;
    }
    
    .category-item.active .subcategory-dropdown {
        display: block;
    }
    
    .category-item::after {
        content: "\f107";
    }
    
    .category-item.active::after {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    .subcategory-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 600px) {
    .category-item {
        flex: 1 0 100%;
    }
}


html{
    scroll-behavior: smooth;
}

.wp-block-image.fbimgfull img {
            width: 100%;
        }
        .fb-banner-hero .fb-hero-banner{
            margin-top: 288px !important;
        }
        .fb-banner-hero .fb-hero-banner img{
            margin-top: -288px !important;
        }
        @media (max-width: 1400px) {
            .fb-banner-hero .fb-hero-banner{
                margin-top: 22% !important;
            }
            .fb-banner-hero .fb-hero-banner img{
                margin-top: -22% !important;
            }
        }
        @media (min-width: 1025px) {
            .fb-hide-desktop {
                display: none !important;
            }
        }

        @media (min-width: 600px) and (max-width: 1024px) {
            .fb-hide-tablet {
                display: none !important;
            }
        }

        @media (max-width: 600px) {
            .fb-hide-mobile {
                display: none !important;
            }
            /* .fb-banner-hero .fb-banner-hero-top{
                padding-bottom: 130px !important;
            } */
            .fb-banner-hero .fb-hero-banner{
                margin-top: 23% !important;
            }
            .fb-banner-hero .fb-hero-banner img{
                margin-top: -23% !important;
            }
        }

/* Alignfull Compatibility */
body {
    overflow-x: hidden;
}

.entry-content > .alignfull {
    margin-left: calc( -50vw + 50%);
    margin-right: calc( -50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

.wp-block-categories.custom-style-1 {
    font-weight: bold;
    color: #0073aa;
}

.wp-block-categories.custom-style-2 {
    font-style: italic;
    color: #d54e21;
}

.fb-sticky-header > .wp-block-group {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    background: transparent;
}
.fb-sticky-header {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: background 0.3s ease, top 0.3s ease-in-out;
}

.fb-sticky-header > div > div > div {
    transition: background-color 0.1s ease-in-out;
}

.fb-sticky-header.scrolled > div > div > div {
    background-color: var(--wp--preset--sticky--bg) !important;
    transition: background-color 0.1s ease-in-out;
}

body .fb-transparent-header > div > div > div{
    background: var(--wp--preset--transparent--bg) !important;
}

#fb-scroll-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    background-color: var(--wp--preset--color--primary-800);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0; 
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#fb-scroll-to-top.visible {
    opacity: 1; 
    visibility: visible; 
}
.wp-block-post-author{
    align-items: center;
}
.wp-block-post-author__avatar img{
    border-radius: 50%;
}
.subscribe-form {
    max-width: 290px;
    width: 100%;
}

.subscribe-form p {
    display: inline-flex;
    align-items: center;
    margin: 0;
}


.footer-bright .subscribe-form button svg path {
    stroke: #001514;
}

.footer-bright .subscribe-form button {
    background: #00F0E4 !important;
}

.footer-conifer .subscribe-form button {
    background: #A9E94B !important;
}

.footer-conifer .subscribe-form button svg path {
    stroke: #121B03 !important;
}

.footer-selective-yellow .subscribe-form button {
    background: #FFBE2E !important;
}

.footer-selective-yellow .subscribe-form button svg path {
    stroke: #1F1500 !important;
}

.footer-selective-blue .subscribe-form button {
    background: #8054FF !important;
}

.footer-selective-blue .subscribe-form button svg path {
    stroke: #fff !important;
}


.subscribe-form button[type="submit"] {
    position: relative;
    background: #399CFF;
    color: #fff;
    padding: 7px !important;
    border-radius: 100%;
    font-size: 18px;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icon {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.footer-social-icon div {
    flex-shrink: 0;
}


.mc4wp-form input[type="email"]{
    position: relative;
}
.mc4wp-form input[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
}
.mc4wp-form input#email {
    width: 100%;
    padding-left: 20px;
    border-radius: 50px;
    border: 1px solid #E1E3E8;
    height: 42px;
    box-sizing: border-box;
    font-size: 16px;
}

.wp-site-blocks footer {
    margin-block-start: auto;
    margin-top: auto;
}

figure {
    line-height: 0;
}

figcaption{
    line-height: 1.3;
}

body .wp-block-navigation__responsive-container.is-menu-open {
    background-color: var(--wp--preset--color--primary) !important;
}

.wp-block-comment-content.has-p-2-font-size p {
    font-size: var(--wp--preset--font-size--p-2);
    margin-left: 56px;
    margin-bottom: 0;
}
.wp-block-comment-reply-link {
    text-align: right;
}


/* Shared styles for comment form inputs and textarea */
.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    border: 1px solid var(--wp--preset--color--primary-100);
    border-radius: var(--wp--preset--spacing--spacing-16);
    outline: none;
    box-shadow: none;
}

/* Focus styles for all inputs and textarea */
.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    border-color: var(--wp--preset--color--primary-100);
    box-shadow: none;
    outline: none;
}
ol.wp-block-latest-comments {
    padding-left: 0;
}

input:focus-visible {
    outline: none;
}
.theme-accordion .theme-accordion-list {
    cursor: pointer;
}
.theme-accordion p {
    font-size:  var(--wp--preset--font-size--p-2) !important;
}
.contact-info-icon {
    flex-shrink: 0;
}
.frontis-contact-from .wpcf7-form p {
    margin: 24px 0;
}
.frontis-contact-from .wpcf7-form p label {
    font-weight: 500;
    color: var(--wp--preset--color--primary-50);
}
.frontis-contact-from .wpcf7-form p input,
.frontis-contact-from .wpcf7-form p textarea {
    border: 1px solid var(--wp--preset--color--primary-600);
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--wp--preset--color--primary-50);
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--wp--preset--color--primary-700);
}
.frontis-contact-from .wpcf7-form p input:focus,
.frontis-contact-from .wpcf7-form p textarea:focus {
    outline: none;
    box-shadow: none;
}
.frontis-contact-from input.wpcf7-form-control.wpcf7-submit {
    background-color:var(--wp--preset--color--base);
    font-size: var(--wp--preset--font-size--p-1);
    color: var(--wp--preset--color--white);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
}
.frontis-contact-from .wpcf7-not-valid-tip {
    font-size: 14px;
}

.is-single-post-meta {
    flex-basis: fit-content !important;
    margin-right: 16px !important;
}

/*插件Ad insert*/
.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #174370; /* 深紫色背景 */
    color: white;
    padding: 40px 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: auto;
}

.cta-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color:#ffffff;
}

.cta-content p {
    font-size: 16px;
    margin: 5px 0 15px;color:#ffffff;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #174370;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: #E5D4FF;
}

.cta-image img {
    max-height: 230px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  .product-item {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    background: #fff;
    border-radius: 6px;
    transition: transform 0.2s;
  }
  .product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  .product-item img {
    max-width: 100%;
    height: auto;
  }
  @media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 600px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
  }
@media (max-width: 600px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
    }
    .cta-image {
        margin-top: 10px;
    }
}
.is-style-FWP_-tag-cloud-pill .tag-cloud-link {
color: #ffffff!important;}


 /* Footer Styles */
 footer {
    background: linear-gradient(135deg, #1a2a3a, #2c3e50);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
    grid-template-columns:repeat(4, 1fr);
    gap: 40px;
}

.footer-section {
    padding: 0 15px;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #ffffff;
}


.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #399cff;
}

.footer-section.about p {
    margin-bottom: 20px;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #399cff;
}

.contact-info {
    margin-top: 20px;
}

.contact-info div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: #399cff;
    margin-top: 5px;
}

.links ul {
    list-style: none;
}

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

.links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    padding: 5px 0;
}

.links ul li a:hover {
    color: #399cff;
    padding-left: 5px;
}

.subscribe form {
    display: flex;
    flex-direction: column;
}

.subscribe input {
    padding: 12px 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
}

.subscribe input::placeholder {
    color: #ccc;
}

.subscribe button {
    padding: 12px 15px;
    background: #399cff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.subscribe button:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: #fff;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #399cff;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/*RFQ*/
  .electro-hero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    
    
}
.electro-left {
    flex: 1;
    background-image: url('https://ichome.co.kr/wp-content/uploads/2025/11/Electronic.jpg'); /* 左图链接 */
    background-size: cover;
    background-position: center;
    height: 450px;
}

.electro-right {
    flex: 1;
    background-image: url('https://ichome.co.kr/wp-content/uploads/2025/11/Electronic-test.jpg'); /* 右图链接 */
    background-size: cover;
    background-position: center;
    height: 450px;
}


.electro-content {
    position: absolute;
    background: #ffffff;
    padding: 50px;
    max-width: 550px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.electro-content h2 {
    font-size: 36px;
    line-height: 48px;
    font-weight: 800;
    color: #1d1d1d;
    margin-bottom: 20px;
}

.electro-content h2 span {
    color: #114a97;
}

.electro-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.electro-buttons {
    display: flex;
    gap: 15px;
}

.btn-call,
.btn-estimate {
    padding: 14px 22px;
    font-size: 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
}

.btn-call {
    background: #114a97;
    color: #fff;
}

.btn-estimate {
    background: #2e3a59;
    color: #fff;
}

.btn-call:hover,
.btn-estimate:hover {
    opacity: 0.85;
}
/*Ad Insert*/
 .cta-banner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: #174370; /* 深紫色背景 */
            color: white;
            padding: 40px 40px;
            border-radius: 10px;
            max-width: 800px;
            margin: auto;
        }
        
        .cta-content h2 {
            font-size: 24px;
            font-weight: bold;
            margin: 0;
            color:#ffffff;
        }
        
        .cta-content p {
            font-size: 16px;
            margin: 5px 0 15px;color:#ffffff;
        }
        
        .cta-button {
            display: inline-block;
            background-color: white;
            color: #174370;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: bold;
            transition: 0.3s;
        }
        
        .cta-button:hover {
            background-color: #E5D4FF;
        }
        
        .cta-image img {
            max-height: 230px;
        }

        @media (max-width: 600px) {
            .cta-banner {
                flex-direction: column;
                text-align: center;
            }
            .cta-image {
                margin-top: 10px;
            }
        }
        .is-style-FWP_-tag-cloud-pill .tag-cloud-link {
    color: #ffffff!important;}
    
    .product-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 一行5个 */
    gap: 16px;
    align-items: start;
  }
  .product-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    padding: 12px;
    background: #fff;
  }
  .product-media {
    aspect-ratio: 1 / 1;        /* 正方形占位 */
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    background: #f6f6f6;
  }
  .product-title {
    margin: 10px 2px 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* 标题过长两行省略 */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 简单响应式：在窄屏下自动换行 */
  @media (max-width: 1200px) {
    .product-row { grid-template-columns: repeat(4, 1fr); }
  }
  @media (max-width: 900px) {
    .product-row { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 600px) {
    .product-row { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 380px) {
    .product-row { grid-template-columns: 1fr; }
  }
  
/*About*/
.about-electro-section {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    padding: 100px 0 60px 0;
}

.about-images {
    position: relative;
    width: 48%;
}

.about-images .img-main {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.about-images .img-overlay {
    width: 70%;
    position: absolute;
    bottom: -40px;
    left: 40px;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.20);
}

.about-content {
    width: 48%;
}

.about-label {
    color: #114a97;
    font-weight: 600;
    font-size: 16px;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 10px 0 20px;
    line-height: 48px;
}

.about-content p {
    color: #555;
    font-size: 16px;
    margin-bottom: 25px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.about-list li {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    position: relative;
    padding-left: 22px;
}

.about-list li::before {
    content: "✔";
    color: #114a97;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-author {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.about-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.about-author .signature {
    width: 120px;
    height: auto;
    border-radius: 0;
}

.about-author h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.about-author span {
    color: #777;
    font-size: 14px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        padding: 0;
    }
    
    .logo {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 0 15px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .subscribe input, .subscribe button {
        padding: 10px 12px;
    }
}