CHATWANEE EXHAUST FAN - LANDING PAGE DESIGN
================================================== */

/* ---------- BASE ---------- */

body.exhaust-fan-page .ef-landing {
    width: 100%;
    color: #333;
}

body.exhaust-fan-page .ef-landing * {
    box-sizing: border-box;
}

body.exhaust-fan-page .ef-landing p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

body.exhaust-fan-page .ef-landing h1,
body.exhaust-fan-page .ef-landing h2 {
    color: #073b5c;
}


/* ==================================================
   HERO
================================================== */

body.exhaust-fan-page .ef-hero {
    background: linear-gradient(135deg, #f4fbff 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 55px 55px;
    margin-bottom: 55px;
    border-left: 6px solid #08aeea;
}

body.exhaust-fan-page .ef-badge {
    display: inline-block;
    color: #087bbd;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
}

body.exhaust-fan-page .ef-hero h1 {
    font-size: 44px;
    line-height: 1.2;
    margin: 5px 0 15px 0;
    font-weight: 700;
}

body.exhaust-fan-page .ef-hero h1 span {
    color: #08aeea;
}

body.exhaust-fan-page .ef-lead {
    max-width: 900px;
    font-size: 18px !important;
}

body.exhaust-fan-page .ef-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

body.exhaust-fan-page .ef-features span {
    background: #fff;
    border: 1px solid #d9edf7;
    border-radius: 30px;
    padding: 8px 15px;
    color: #087bbd;
    font-weight: 600;
}


/* ==================================================
   BUTTONS
================================================== */

body.exhaust-fan-page .ef-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

body.exhaust-fan-page .ef-btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 6px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 16px;
    transition: all .2s ease;
}

body.exhaust-fan-page .ef-btn:hover {
    transform: translateY(-2px);
    opacity: .9;
}

body.exhaust-fan-page .ef-btn-orange {
    background: #f58220;
}

body.exhaust-fan-page .ef-btn-blue {
    background: #087bbd;
}

body.exhaust-fan-page .ef-btn-green {
    background: #06c755;
}


/* ==================================================
   GENERAL SECTION
================================================== */

body.exhaust-fan-page .ef-section {
    margin: 60px 0;
}

body.exhaust-fan-page .ef-section > h2,
body.exhaust-fan-page .ef-section-heading h2 {
    font-size: 34px;
    margin: 0 0 15px;
    font-weight: 700;
}

body.exhaust-fan-page .ef-section-heading {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 35px;
}

body.exhaust-fan-page .ef-section-heading > span {
    color: #f58220;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* ==================================================
   BENEFITS
================================================== */

body.exhaust-fan-page .ef-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 30px;
}

body.exhaust-fan-page .ef-benefit {
    background: #f7fbfd;
    border: 1px solid #e2edf2;
    padding: 25px;
    border-radius: 10px;
}

body.exhaust-fan-page .ef-benefit strong {
    display: block;
    color: #087bbd;
    font-size: 18px;
    margin-bottom: 8px;
}

body.exhaust-fan-page .ef-benefit span {
    color: #555;
    line-height: 1.6;
}


/* ==================================================
   PRODUCT CARDS
================================================== */

body.exhaust-fan-page .ef-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

body.exhaust-fan-page .ef-product {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8ec;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    transition: all .25s ease;
}

body.exhaust-fan-page .ef-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0,0,0,.10);
}

body.exhaust-fan-page .ef-product-number {
    font-size: 52px;
    line-height: 1;
    font-weight: 700;
    color: #e5f5fc;
    margin-bottom: 15px;
}

body.exhaust-fan-page .ef-product-type {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #087bbd;
    background: #eaf8fe;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

body.exhaust-fan-page .ef-product h2 {
    font-size: 25px;
    margin: 5px 0 15px;
}

body.exhaust-fan-page .ef-models {
    margin: 20px 0;
    padding: 13px 15px;
    background: #f7f9fa;
    border-radius: 6px;
    line-height: 1.6;
}

body.exhaust-fan-page .ef-product ul {
    margin: 15px 0 0;
    padding-left: 22px;
}

body.exhaust-fan-page .ef-product li {
    margin-bottom: 6px;
}


/* ==================================================
   CTA
================================================== */

body.exhaust-fan-page .ef-cta {
    margin: 70px 0;
    padding: 50px;
    background: #073b5c;
    border-radius: 16px;
    text-align: center;
}

body.exhaust-fan-page .ef-cta-content {
    max-width: 850px;
    margin: auto;
}

body.exhaust-fan-page .ef-cta-label {
    color: #5bd1ff;
    font-weight: 700;
}

body.exhaust-fan-page .ef-cta h2 {
    color: #fff;
    font-size: 36px;
    margin: 8px 0 10px;
}

body.exhaust-fan-page .ef-cta p {
    color: #e5f2f8;
    font-size: 17px;
}

body.exhaust-fan-page .ef-cta .ef-buttons {
    justify-content: center;
}


/* ==================================================
   SEO SECTION
================================================== */

body.exhaust-fan-page .ef-seo {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 991px) {

    body.exhaust-fan-page .ef-hero {
        padding: 35px;
    }

    body.exhaust-fan-page .ef-hero h1 {
        font-size: 36px;
    }

    body.exhaust-fan-page .ef-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    body.exhaust-fan-page .ef-products {
        grid-template-columns: 1fr;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 600px) {

    body.exhaust-fan-page .ef-hero {
        padding: 25px 20px;
        margin-bottom: 35px;
        border-radius: 10px;
    }

    body.exhaust-fan-page .ef-hero h1 {
        font-size: 30px;
    }

    body.exhaust-fan-page .ef-lead {
        font-size: 16px !important;
    }

    body.exhaust-fan-page .ef-features {
        display: block;
    }

    body.exhaust-fan-page .ef-features span {
        display: block;
        margin-bottom: 8px;
    }

    body.exhaust-fan-page .ef-benefits {
        grid-template-columns: 1fr;
    }

    body.exhaust-fan-page .ef-section {
        margin: 40px 0;
    }

    body.exhaust-fan-page .ef-section > h2,
    body.exhaust-fan-page .ef-section-heading h2 {
        font-size: 27px;
    }

    body.exhaust-fan-page .ef-product {
        padding: 22px;
    }

    body.exhaust-fan-page .ef-product h2 {
        font-size: 23px;
    }

    body.exhaust-fan-page .ef-cta {
        padding: 35px 20px;
        margin: 45px 0;
    }

    body.exhaust-fan-page .ef-cta h2 {
        font-size: 28px;
    }

    body.exhaust-fan-page .ef-buttons {
        display: block;
    }

    body.exhaust-fan-page .ef-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}
/* ==================================================
   EXHAUST FAN - MOBILE FINAL TUNING
================================================== */

@media (max-width: 600px) {

    /* ลดช่องว่างหลัง Banner ด้านบน */
    body.exhaust-fan-page #sp-main-body {
        padding-top: 30px !important;
        padding-bottom: 35px !important;
    }

    /* ระยะขอบซ้าย-ขวาของเนื้อหา */
    body.exhaust-fan-page #sp-main-body .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* HERO */
    body.exhaust-fan-page .ef-hero {
        padding: 28px 20px !important;
        margin-bottom: 40px !important;
        border-radius: 10px !important;
        border-left-width: 5px !important;
    }

    body.exhaust-fan-page .ef-badge {
        font-size: 13px !important;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    body.exhaust-fan-page .ef-hero h1 {
        font-size: 28px !important;
        line-height: 1.25 !important;
        margin: 5px 0 15px !important;
    }

    body.exhaust-fan-page .ef-lead {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }

    /* Feature เช่น Direct Drive / Belt Drive */
    body.exhaust-fan-page .ef-features {
        display: flex !important;
        flex-direction: column;
        gap: 7px;
        margin: 20px 0 !important;
    }

    body.exhaust-fan-page .ef-features span {
        display: block;
        width: 100%;
        margin: 0 !important;
        padding: 8px 12px;
        font-size: 14px;
    }

    /* ปุ่ม CTA */
    body.exhaust-fan-page .ef-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    body.exhaust-fan-page .ef-btn {
        display: block !important;
        width: 100% !important;
        text-align: center;
        margin: 0 !important;
        padding: 13px 15px !important;
    }

    /* SECTION */
    body.exhaust-fan-page .ef-section {
        margin: 40px 0 !important;
    }

    body.exhaust-fan-page .ef-section > h2,
    body.exhaust-fan-page .ef-section-heading h2 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }

    /* Benefit Cards */
    body.exhaust-fan-page .ef-benefits {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    body.exhaust-fan-page .ef-benefit {
        padding: 20px !important;
    }

    /* Product Cards */
    body.exhaust-fan-page .ef-products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    body.exhaust-fan-page .ef-product {
        padding: 22px 20px !important;
    }

    body.exhaust-fan-page .ef-product-number {
        font-size: 44px !important;
    }

    body.exhaust-fan-page .ef-product h2 {
        font-size: 23px !important;
        line-height: 1.35 !important;
    }

    /* CTA กล่องสีน้ำเงินด้านล่าง */
    body.exhaust-fan-page .ef-cta {
        margin: 45px 0 !important;
        padding: 32px 20px !important;
        border-radius: 12px !important;
    }

    body.exhaust-fan-page .ef-cta h2 {
        font-size: 27px !important;
        line-height: 1.3 !important;
    }

}/* FIX FEATURE ITEMS ON MOBILE */
@media (max-width: 600px) {

    body.exhaust-fan-page .ef-features {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin: 22px 0 !important;
    }

    body.exhaust-fan-page .ef-features span {
        display: block !important;
        width: 100% !important;
        background: #ffffff !important;
        border: 1px solid #d9edf7 !important;
        border-radius: 8px !important;
        padding: 9px 12px !important;
        margin: 0 !important;
        color: #087bbd !important;
        font-weight: 600 !important;
        line-height: 1.5 !important;
    }
  
  /* ===== MOBILE FEATURE BOXES ===== */
@media (max-width: 600px) {

    body.exhaust-fan-page .ef-features {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin: 22px 0 !important;
    }

    body.exhaust-fan-page .ef-features span {
        display: flex !important;
        align-items: center;
        background: #ffffff;
        border: 1px solid #d9edf7;
        border-radius: 8px;
        padding: 10px;
        margin: 0 !important;
        font-size: 13px;
        line-height: 1.4;
        color: #087bbd;
        font-weight: 600;
    }
}
  /* ===== FIX NEW FEATURE ITEMS ===== */

body.exhaust-fan-page .ef-features {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
    margin: 25px 0 !important;
}

body.exhaust-fan-page .ef-feature-item {
    display: block !important;
    background: #ffffff !important;
    border: 1px solid #d9edf7 !important;
    border-radius: 10px !important;
    padding: 22px !important;
    margin: 0 !important;
    color: #087bbd !important;
    line-height: 1.7 !important;
}

body.exhaust-fan-page .ef-feature-item strong {
    display: block !important;
    margin-bottom: 8px !important;
    color: #087bbd !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}


/* ===== MOBILE FEATURE ITEMS ===== */

@media (max-width: 600px) {

    body.exhaust-fan-page .ef-features {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin: 22px 0 !important;
    }

    body.exhaust-fan-page .ef-feature-item {
        width: 100% !important;
        padding: 14px !important;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    body.exhaust-fan-page .ef-feature-item strong {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }
  /* ===== HIDE JOOMLA EMPTY CATEGORY MESSAGE (FIX) ===== */

body.exhaust-fan-page .blogexhaust-fan-page .category-desc p{
    display:none !important;
}

body.exhaust-fan-page .blogexhaust-fan-page .category-desc{
    margin-bottom:0 !important;
    padding-bottom:0 !important;
}
  /* ===== HIDE JOOMLA EMPTY CATEGORY MESSAGE ===== */

body.exhaust-fan-page .blogexhaust-fan-page > p {
    display: none !important;
}
  
  /* TEST-HIDE-EMPTY-20260918 */