@charset "utf-8";
:root{--brand:#8a5a34;--brand-dark:#3d2b1f;--ink:#1c1a17;--muted:#6f6a63;--bg:#ffffff;--bg-alt:#f6f4f1;--line:#e5e1db;--brand-tint:#efe8e3;--radius:10px;--container:1200px;--post-max:860px;--header-h:72px;--font-sans:-apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--font-serif:Georgia, "Times New Roman", serif;--space-1:8px;--space-2:16px;--space-3:24px;--space-4:48px;--space-5:80px;--shadow-sm:0 1px 2px rgba(28, 26, 23, .05);--shadow-md:0 12px 28px rgba(28, 26, 23, .10);}/* custom: home-custom */
/* ============================================
   Home Page Custom Styles - Fairy Lighting
   type: home-custom
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

body { font-family: 'Roboto', -apple-system, sans-serif; color: #220000; }
h1, h2, h3, h4, h5, h6 { font-family: 'Roboto Slab', Georgia, serif; color: #220000; }
a { color: #dd9933; }
a:hover { color: #e3a06c; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #ede8e7; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.site-header .logo span { font-family: 'Roboto Slab', serif; font-size: 1.5rem; font-weight: 700; color: #6e3932; }
.site-nav a { color: #220000; font-weight: 500; text-transform: uppercase; font-size: 0.9rem; }
.site-nav a:hover, .site-nav .active a { color: #dd9933; }
.header-cta .btn { background: #dd9933; color: #fff; border: 2px solid #dd9933; border-radius: 4px; }
.header-cta .btn:hover { background: transparent; color: #dd9933; }

/* Hero Carousel - 4 ad banners (image only) */
.home-hero { position: relative; width: 100%; height: clamp(300px, 56.25vw, 660px); overflow: hidden; background: #3d2b1f; }
.hero-slides { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.hero-slide { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-repeat: no-repeat; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.7s ease; will-change: opacity; }
.hero-slide.active { opacity: 1; }
.hero-slide:nth-child(1) { background-image: url("https://www.fairy-lighting.com/wp-content/uploads/2026/10/flying_mesh_screen_HD_under_1MB.webp"); }
.hero-slide:nth-child(2) { background-image: url("https://www.fairy-lighting.com/wp-content/uploads/2026/10/transparentledscreen.webp"); }
.hero-slide:nth-child(3) { background-image: url("https://www.fairy-lighting.com/wp-content/uploads/2026/10/stadium-perimeter-screen.webp"); }
.hero-slide:nth-child(4) { background-image: url("https://www.fairy-lighting.com/wp-content/uploads/2026/10/backgroundledscreen.webp"); }
.hero-slide:nth-child(1) { background-position: center top; }
.hero-slide:nth-child(2) { background-position: center top; }
.hero-slide:nth-child(3) { background-position: center bottom; }
.hero-slide:nth-child(4) { background-position: center center; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(34,0,0,0.5) 0%, rgba(34,0,0,0) 34%); }

/* Hero Arrows & Dots */
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; padding: 0; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.55); border-radius: 50%; background: rgba(34,0,0,0.32); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; }
.hero-arrow:hover { background: #dd9933; border-color: #dd9933; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.5); cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
.hero-dot:hover { background: rgba(255,255,255,0.85); }
.hero-dot.active { width: 26px; background: #fff; }

/* Home intro line under the hero (keeps the page H1) */
.home-intro { padding: 44px 0 0; text-align: center; }
.home-intro h1 { max-width: 900px; margin: 0 auto 10px; font-size: 30px; line-height: 1.3; color: #220000; }
.home-intro p { max-width: 860px; margin: 0 auto; color: #6f6a63; font-size: 15px; line-height: 1.6; }
@media (max-width: 992px) {
    .home-intro h1 { font-size: 24px; }
}
@media (max-width: 768px) {
    .hero-arrow { width: 36px; height: 36px; font-size: 16px; }
    .hero-prev { left: 10px; }
    .hero-next { right: 10px; }
    .hero-dots { bottom: 14px; gap: 8px; }
    .hero-dot { width: 8px; height: 8px; }
    .hero-dot.active { width: 20px; }
    .home-intro { padding: 32px 0 0; }
    .home-intro h1 { font-size: 20px; }
    .home-intro p { font-size: 14px; }
}

/* Buttons */
.btn-light, .btn-ghost-light, .btn { padding: 10px 24px; border-radius: 4px; font-weight: 500; text-transform: uppercase; font-size: 0.9rem; display: inline-block; text-decoration: none; transition: all 0.3s ease; }
.btn-light { background: #dd9933; color: #fff; border: 2px solid #dd9933; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.8); }
.btn-ghost-light:hover { background: #fff; color: #220000; }
.btn { background: #dd9933; color: #fff; border: 2px solid #dd9933; font-size: 0.85rem; }
.btn:hover { background: transparent; color: #dd9933; }
.btn-ghost { background: transparent; color: #dd9933; border: 2px solid #dd9933; }
.btn-ghost:hover { background: #dd9933; color: #fff; }
.btn-sm { padding: 6px 16px; font-size: 0.8rem; }

/* Section Headings */
.section-head h2 { font-family: 'Roboto Slab', serif; font-size: 2rem; color: #220000; margin-bottom: 12px; position: relative; padding-bottom: 16px; }
.section-head h2::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: #dd9933; }

/* Product Cards - no aspect-ratio */
.home-products-grid { margin-top: 40px; gap: 24px; }
.home-product-card { overflow: hidden; border-radius: 4px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.home-product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(34,0,0,0.15); }
.home-product-card .card-media { overflow: hidden; line-height: 0; }
.home-product-card .card-media img { width: 100%; height: auto; display: block; transition: transform 0.4s; }
.home-product-card:hover .card-media img { transform: scale(1.05); }
.home-product-card .card-body { padding: 16px; text-align: center; }
.home-product-card .card-body h3 { font-size: 0.95rem; margin: 0 0 12px; color: #220000; font-family: 'Roboto Slab', serif; text-transform: uppercase; }
.product-detail-btn { opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.home-product-card:hover .product-detail-btn { opacity: 1; visibility: visible; }

/* About Section */
.home-about { background: #f9f8f8; padding: 0; overflow: hidden; }
.about-container { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.about-content { padding: 80px 40px 80px calc((100vw - 1200px) / 2 + 20px); display: flex; flex-direction: column; justify-content: center; }
.about-content h2 { font-size: 2rem; margin-bottom: 16px; color: #220000; font-family: 'Roboto Slab', serif; }
.about-content p { margin-bottom: 16px; color: #3d2b1f; line-height: 1.7; }
.about-points { list-style: none; padding: 0; margin: 20px 0 28px; }
.about-points li { padding: 8px 0 8px 24px; position: relative; color: #3d2b1f; line-height: 1.6; }
.about-points li::before { content: "✓"; position: absolute; left: 0; color: #dd9933; font-weight: 700; }
.about-image-full { position: relative; overflow: hidden; }
.about-image-full img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

/* Stats Section */
.home-stats { background: url("/wp-content/uploads/2025/09/bcg2.jpg") center/cover no-repeat; padding: 70px 0; position: relative; }
.home-stats::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(34,0,0,0.75); z-index: 0; }
.home-stats .container { position: relative; z-index: 1; }
.stats-grid { gap: 32px; }
.stat-item .stat-icon { width: 48px; height: 48px; margin: 0 auto 16px; opacity: 0.9; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: #dd9933; line-height: 1.2; margin-bottom: 8px; font-family: 'Roboto Slab', serif; }
.stat-label { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* Why Choose Us - WHITE BG */
.home-why { background: #ffffff; padding: 80px 0; }
.home-why .section-head h2 { color: #220000; }
.home-why .section-head h2::after { background: #dd9933; }
.why-layout { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 40px; margin-top: 60px; align-items: center; }
.why-col { display: flex; flex-direction: column; gap: 24px; }
.why-card { padding: 24px; border-radius: 4px; background: #fef9ec; transition: transform 0.3s, box-shadow 0.3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.why-card h3 { font-size: 1.05rem; margin-bottom: 12px; color: #220000; font-family: 'Roboto Slab', serif; line-height: 1.4; }
.why-card p { color: #5a4a3a; font-size: 0.9rem; line-height: 1.7; }
.why-globe { display: flex; align-items: center; justify-content: center; }
.why-globe img { max-width: 100%; height: auto; opacity: 0.8; }

/* News Cards - no aspect-ratio */
.news-grid { margin-top: 40px; gap: 24px; }
.news-card { border-radius: 4px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(34,0,0,0.12); }
.news-card .card-media { overflow: hidden; line-height: 0; }
.news-card .card-media img { width: 100%; height: auto; display: block; }
.news-card .card-body { padding: 20px; }
.news-card .card-meta { color: #dd9933; font-size: 0.85rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.news-card h3 { font-size: 1.05rem; margin: 8px 0 12px; line-height: 1.4; font-family: 'Roboto Slab', serif; color: #220000; }
.news-card .card-excerpt { font-size: 0.9rem; color: #6f6a63; margin-bottom: 16px; line-height: 1.6; }

/* Footer - solid grey background (photo removed) */
.site-footer { background: #4a4a4a; color: rgba(255,255,255,0.75); padding-top: 60px; }
.site-footer h4 { color: #dd9933; margin-bottom: 16px; font-size: 1.1rem; font-family: 'Roboto Slab', serif; text-transform: uppercase; letter-spacing: 0.5px; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #dd9933; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { padding: 5px 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.contact-line { margin-bottom: 10px; font-size: 0.92rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* Responsive */
@media (max-width: 992px) {
    .home-hero .hero-content h1 { font-size: 2rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .about-container { grid-template-columns: 1fr; }
    .about-content { padding: 60px 20px; }
    .about-image-full { min-height: 300px; }
    .why-layout { grid-template-columns: 1fr; gap: 30px; }
    .why-globe { order: -1; }
}
@media (max-width: 768px) {
    .home-hero .hero-content h1 { font-size: 1.6rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .section-head h2 { font-size: 1.5rem; }
    .hero-arrow { width: 36px; height: 36px; font-size: 1rem; }
    .hero-prev { left: 10px; }
    .hero-next { right: 10px; }
}
/* Home factory video: scoped to the homepage center column. */
.page-id-692 .home-why #factory-video { flex-direction: column; min-width: 0; gap: var(--space-2); text-align: center; }
.page-id-692 .home-why #factory-video h3 { margin: 0; }
.page-id-692 .home-why #factory-video iframe { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.page-id-692 .home-why #factory-video a { font-size: 0.9rem; }

/* custom: mega-menu */
/* ============================================
   Header: Top Bar + Navigation
   ============================================ */

/* Top Bar - 白色背景 */
.header-top {
    background: #ffffff;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left, .top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* 左侧联系方式图标 - 统一颜色 */
.top-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6f6a63;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color .2s;
}
.top-contact svg {
    flex-shrink: 0;
}
.top-contact:hover { color: #dd9933; }
.top-contact span {
    white-space: nowrap;
}

/* 右侧社交图标 - 官方品牌色，圆形背景 */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: transform .2s;
}
.social-icon:hover { transform: translateY(-2px); }
.social-facebook { background: #1877f2; color: #fff; }
.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.social-tiktok { background: #000; color: #fff; }
.social-linkedin { background: #0077b5; color: #fff; }
.social-youtube { background: #ff0000; color: #fff; }

/* Header Inner */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
}

/* Logo */
.site-header .logo img {
    height: 48px;
    width: auto;
    display: block;
}

/* Mobile: hide desktop nav, show burger */
.mob-menu { display: none; }

/* ======== DESKTOP (>=901px) ======== */
@media (min-width: 901px) {
    .mob-menu { display: none !important; }

    .hdr-nav { display: block !important; }
    .hdr-nav > ul {
        display: flex !important;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 4px;
    }
    .hdr-nav > ul > li { position: relative; }
    .hdr-nav > ul > li > a {
        display: block;
        padding: 20px 14px;
        color: #220000;
        font-weight: 400;
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
        text-decoration: none;
        transition: color .2s;
    }
    .hdr-nav > ul > li > a:hover,
    .hdr-nav > ul > li.active > a { color: #dd9933; }

    /* Products flyout */
    .hdr-nav .fly-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 240px;
        background: #fff;
        border-radius: 4px;
        box-shadow: 0 12px 34px rgba(0,0,0,.14);
        padding: 10px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity .22s, transform .22s, visibility .22s;
        z-index: 60;
    }
    .hdr-nav li.has-mega:hover > .fly-menu,
    .hdr-nav li.has-mega:focus-within > .fly-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .hdr-nav .fly-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .hdr-nav .fly-item > a {
        display: block;
        padding: 10px 14px;
        color: #220000;
        font-size: 0.88rem;
        text-decoration: none;
        border-radius: 4px;
        transition: all .2s;
    }
    .hdr-nav .fly-item > a:hover {
        background: #fdf6ec;
        color: #dd9933;
    }
}

/* ======== MOBILE (<=900px) ======== */
@media (max-width: 900px) {
    .header-top { display: none; }
    .hdr-nav { display: none !important; }

    .mob-menu {
        display: block;
        position: relative;
    }
    .mob-burger {
        cursor: pointer;
        list-style: none;
        padding: 8px;
    }
    .mob-burger::-webkit-details-marker { display: none; }
    .mob-burger-box {
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
    }
    .mob-burger-box i {
        display: block;
        width: 24px;
        height: 2px;
        background: #220000;
        border-radius: 2px;
    }
    .mob-scrim {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.4);
        z-index: 90;
    }
    .mob-menu[open] .mob-scrim { display: block; }
    .mob-drawer {
        position: fixed;
        top: 0; left: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: 2px 0 12px rgba(0,0,0,0.1);
        z-index: 100;
        transition: left .3s ease;
        overflow-y: auto;
    }
    .mob-menu[open] .mob-drawer { left: 0; }
    .mob-list {
        list-style: none;
        padding: 20px 0;
        margin: 0;
    }
    .mob-item { border-bottom: 1px solid #f0f0f0; }
    .mob-link {
        display: block;
        padding: 14px 20px;
        color: #220000;
        text-decoration: none;
        font-size: 0.95rem;
    }
    .mob-link:hover { color: #dd9933; background: #f9f8f8; }
}
/* custom: archive-layout */
/* products-2-column: archive layout CSS */
.post-type-archive-product .card .card-meta,
.tax-product_series .card .card-meta,
.tax-series .card .card-meta,
.post-type-archive-product .card .card-body p,
.tax-product_series .card .card-body p,
.tax-series .card .card-body p { display: none !important; }

/* 产品卡片图片正方形 */
.post-type-archive-product .card .card-media,
.tax-product_series .card .card-media,
.tax-series .card .card-media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.post-type-archive-product .card .card-media img,
.tax-product_series .card .card-media img,
.tax-series .card .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.arch-wrap { display: flex; gap: 30px; align-items: flex-start; }
.arch-sidebar { flex: 0 0 250px; background: #f7f5f2; border-radius: 4px; padding: 18px; position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; }
.arch-sidebar h4 { margin: 0 0 12px; font-size: 15px; color: #220000; }
.arch-sidebar .acc-group { border-bottom: 1px solid #e5e1db; }
.arch-sidebar .acc-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; cursor: pointer; }
.arch-sidebar .acc-head a { color: #333; font-size: 13px; font-weight: 500; text-decoration: none; }
.arch-sidebar .acc-head .acc-arrow { transition: transform .2s; font-size: 12px; color: #999; }
.arch-sidebar .acc-group.open .acc-arrow { transform: rotate(90deg); }
.arch-sidebar .acc-body { list-style: none; margin: 0; padding: 0 0 8px; display: none; }
.arch-sidebar .acc-group.open .acc-body { display: block; }
.arch-sidebar .acc-body li a { display: block; padding: 5px 10px; color: #666; font-size: 12px; text-decoration: none; border-radius: 4px; }
.arch-sidebar .acc-body li.sub a { padding-left: 22px; font-size: 11px; color: #888; }
.arch-sidebar .acc-body li a:hover, .arch-sidebar .acc-body li a.active { background: #fdf6ec; color: #dd9933; }
.arch-main { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) {
  .arch-wrap { flex-direction: column; }
  .arch-sidebar { flex: none; width: 100%; position: static; max-height: none; }
  .arch-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) { .arch-main { grid-template-columns: 1fr; } }
/* custom: header-search */
/* ============================================
   Header search icon + expand panel
   ============================================ */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hdr-search {
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    padding: 0;
    position: relative;
    z-index: 1001;
}
.hdr-search i {
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid #220000;
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}
.hdr-search i::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 2px;
    background: #220000;
    bottom: -4px;
    right: -5px;
    transform: rotate(45deg);
    border-radius: 1px;
}
.hdr-search:hover i { border-color: #dd9933; }
.hdr-search:hover i::after { background: #dd9933; }

.hdr-search-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 20px 30px;
    z-index: 998;
    border-top: 3px solid #dd9933;
}
.hdr-search-wrap.open { display: block; }
.search-form-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}
.hdr-search-wrap input[type="search"] {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
}
.hdr-search-wrap input[type="search"]:focus { border-color: #dd9933; }
.hdr-search-wrap .search-submit {
    background: #dd9933;
    border: none;
    border-radius: 4px;
    color: #fff;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 14px;
}
.hdr-search-wrap .search-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
}
.hdr-search-wrap .search-close:hover { color: #333; }

/* ============================================
   Search results page
   ============================================ */
.search .post-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.search .post-item {
    background: #fff;
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    border: 1px solid #eee;
    transition: box-shadow .2s;
}
.search .post-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.search .post-item .post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}
.search .post-item h2 { margin: 0 0 10px; font-size: 18px; line-height: 1.4; }
.search .post-item h2 a { color: #222; text-decoration: none; }
.search .post-item h2 a:hover { color: #dd9933; }
.search .post-item p { color: #666; font-size: 14px; line-height: 1.6; margin: 0; }
.search .post-item mark {
    background: #fef9ec;
    padding: 1px 3px;
    border-radius: 2px;
}
.search .no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}
@media (max-width: 700px) {
    .search .post-list { grid-template-columns: 1fr; }
}
/* custom: home-product-aspect */
/* Home page product card: square image ratio */
.home-product-card .card-media {
    aspect-ratio: 4 / 4;
}
.home-product-card .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* News card: 2:1 wide image ratio */
.news-card .card-media {
    aspect-ratio: 6 / 3;
}
.news-card .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Breadcrumb: vertically centered */
.wpb-breadcrumb {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 12px;
    padding-bottom: 12px;
}
/* custom: post-body */
/* type: post-body */
.single-post .mt-24:not(.post-hero) { max-width: 860px; }
.single-post .mt-24:not(.post-hero) p { margin: 0 0 var(--space-2); font-size: 17px; line-height: 1.8; color: var(--ink); }
.single-post .mt-24:not(.post-hero) h2 { margin: var(--space-4) 0 var(--space-2); font-size: 24px; line-height: 1.35; font-weight: 700; color: var(--brand-dark); }
.single-post .mt-24:not(.post-hero) h3 { margin: var(--space-3) 0 var(--space-2); font-size: 20px; line-height: 1.4; font-weight: 700; color: var(--brand-dark); }
.single-post .mt-24:not(.post-hero) h4 { margin: var(--space-3) 0 12px; font-size: 18px; line-height: 1.4; font-weight: 700; }
.single-post .mt-24:not(.post-hero) h2:first-child,
.single-post .mt-24:not(.post-hero) h3:first-child,
.single-post .mt-24:not(.post-hero) h4:first-child { margin-top: 0; }
.single-post .mt-24:not(.post-hero) ul,
.single-post .mt-24:not(.post-hero) ol { margin: 0 0 var(--space-3); padding-left: 22px; }
.single-post .mt-24:not(.post-hero) li { margin: 0 0 10px; font-size: 17px; line-height: 1.75; }
.single-post .mt-24:not(.post-hero) li:last-child { margin-bottom: 0; }
.single-post .mt-24:not(.post-hero) li strong { font-weight: 600; }
.single-post .mt-24:not(.post-hero) .post-lead { margin-bottom: var(--space-3); font-size: 18px; font-weight: 600; line-height: 1.7; color: var(--brand-dark); }
.single-post .mt-24:not(.post-hero) .post-media { margin: var(--space-3) 0; }
.single-post .mt-24:not(.post-hero) img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: var(--radius); }
.single-post .mt-24:not(.post-hero) a { color: var(--brand); }
.single-post .mt-24:not(.post-hero) .post-link { margin: var(--space-3) 0; }
.single-post .mt-24:not(.post-hero) .post-link a { display: inline-block; padding: 11px 20px; border-radius: var(--radius); background: var(--brand); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.single-post .mt-24:not(.post-hero) .post-link a:hover { background: var(--brand-dark); }
.single-post .mt-24:not(.post-hero) .post-video { margin: var(--space-3) 0; }
.single-post .mt-24:not(.post-hero) .post-video a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: var(--radius); background: #16120f; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s ease; }
.single-post .mt-24:not(.post-hero) .post-video a:hover { background: var(--brand); }
.single-post .mt-24:not(.post-hero) table { width: 100%; margin: var(--space-3) 0; border-collapse: collapse; font-size: 15px; }
.single-post .mt-24:not(.post-hero) table th,
.single-post .mt-24:not(.post-hero) table td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.single-post .mt-24:not(.post-hero) table th { background: var(--bg-alt); font-weight: 600; }
.single-post .mt-24:not(.post-hero) table tr:nth-child(even) td { background: #fbfaf9; }
@media (max-width: 768px) {
  .single-post .mt-24:not(.post-hero) p,
  .single-post .mt-24:not(.post-hero) li { font-size: 16px; line-height: 1.75; }
  .single-post .mt-24:not(.post-hero) h2 { margin-top: var(--space-3); font-size: 22px; }
  .single-post .mt-24:not(.post-hero) h3 { font-size: 19px; }
  .single-post .mt-24:not(.post-hero) .post-link a,
  .single-post .mt-24:not(.post-hero) .post-video a { display: flex; justify-content: center; }
}

