.elementor-83899 .elementor-element.elementor-element-5e27dee > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:flex-start;align-items:flex-start;}.elementor-83899 .elementor-element.elementor-element-5e27dee:not(.elementor-motion-effects-element-type-background), .elementor-83899 .elementor-element.elementor-element-5e27dee > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://www.nstda.or.th/home/wp-content/uploads/2026/05/Backdrop_NSTDA_The-National-Research-Engine-logo-NSTDA-scaled.png");background-position:center right;background-repeat:no-repeat;background-size:cover;}.elementor-83899 .elementor-element.elementor-element-5e27dee > .elementor-container{min-height:511px;}.elementor-83899 .elementor-element.elementor-element-5e27dee{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-83899 .elementor-element.elementor-element-5e27dee > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-83899 .elementor-element.elementor-element-3218761{padding:0px 0px 0px 0px;}.elementor-83899 .elementor-element.elementor-element-3a24faf{width:var( --container-widget-width, 97.504% );max-width:97.504%;--container-widget-width:97.504%;--container-widget-flex-grow:0;}@media(min-width:768px){.elementor-83899 .elementor-element.elementor-element-d5b8686{width:43.421%;}.elementor-83899 .elementor-element.elementor-element-934abfd{width:56.579%;}}/* Start custom CSS for text-editor, class: .elementor-element-4c0336aa *//* =========================
   RESET & BASE (-hm)
========================= */
.body-hm {
    font-family: 'Sarabun', Tahoma, sans-serif !important;
    background-color: #ffffff !important; 
    color: #333 !important;
    margin: 0 !important;
    padding: 30px 15px !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
}

.container-hm {
    max-width: 100% !important; 
    width: 100% !important;
    margin: 0 auto !important;
    padding: 40px !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important; 
    border-radius: 16px !important;
    box-sizing: border-box !important; 
}

/* =========================
   MIDDLE SECTION (-hm)
   (VDO & Download)
========================= */
.content-row-hm {
    display: flex !important;
    gap: 25px !important;
    margin-bottom: 40px !important;
    align-items: stretch !important;
}

/* Video Section */
.video-wrapper-hm {
    flex: 2 !important;
    display: flex !important;
    flex-direction: column !important;
}

.video-header-hm {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #1e3a8a !important; 
    margin-bottom: 15px !important;
    text-align: center !important;
}

.video-box-hm {
    background-color: #000 !important; 
    border-radius: 12px !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    padding-bottom: 56.25% !important; 
    height: 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}

.video-box-hm iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* Download Card Section */
.download-box-hm {
    flex: 1.2 !important; 
    background-color: #fffcf5 !important; 
    border: 1px solid #fae8d6 !important;
    border-radius: 12px !important;
    padding: 30px 25px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
}

.download-header-hm {
    color: #ea580c !important; 
    font-weight: bold !important;
    font-size: 20px !important; 
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 15px !important;
}

.download-main-text-hm {
    color: #1e3a8a !important; 
    font-size: 18px !important; 
    font-weight: bold !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
}

.download-sub-text-hm {
    color: #475569 !important; 
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

/* สไตล์ปุ่มมาตรฐาน (ปุ่มสีน้ำเงิน) */
.download-btn-hm, .action-btn-hm {
    background-color: #213c8f !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 12px 20px !important; 
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 500 !important; 
    font-size: 14px !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.download-btn-hm:hover, .action-btn-hm:hover {
    background-color: #1e40af !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.2) !important;
}

.download-divider-hm {
    border-top: 1px dashed #cbd5e1 !important;
    margin: 25px 0 !important;
}

/* =========================
   EXPLORE SECTION (-hm)
========================= */
.explore-section-hm {
    background-color: #F9FAFB !important; 
    padding: 40px 30px !important;
    border-radius: 16px !important;
}

.section-title-wrap-hm {
    text-align: center !important;
    margin-bottom: 25px !important;
}

.section-title-main-hm {
    font-size: 24px !important;
    font-weight: bold !important;
    color: #1e3a8a !important; 
    margin: 0 0 8px 0 !important;
}

.section-title-sub-hm {
    font-size: 16px !important;
    color: #64748b !important; 
    margin: 0 !important;
}

/* =========================
   MENU CARDS SECTION (-hm)
========================= */
.menu-grid-hm {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
}

.menu-card-hm {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 25px 15px !important;
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important; 
}

.menu-card-hm:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
    border-color: #3498db !important;
}

.menu-icon-hm {
    width: 65px !important;
    height: 65px !important;
    background-color: #e8f3fb !important; 
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    color: #2980b9 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.menu-text-hm {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

/* =========================
   ACTION SECTION (NEW WRAPPER)
========================= */
.action-outer-wrapper-hm {
    background-color: #f1f5f9 !important; 
    padding: 40px 30px !important;
    border-radius: 16px !important;
    margin-top: 30px !important;
}

.action-section-hm {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important; 
    align-items: center !important;
}

.action-btn-hm {
    width: 100% !important;
    max-width: 900px !important;
}

/* =========================
   ปุ่มพิเศษสีฟ้า 
   (เพิ่มความแรงของ CSS เพื่อป้องกันการโดนทับ)
========================= 
*/
.action-section-hm a.action-btn-plus-hm {
    background-color: #58BBF6 !important;
    color: #ffffff !important;
}

.action-section-hm a.action-btn-plus-hm:hover {
    background-color: #3caee9 !important; 
    box-shadow: 0 4px 10px rgba(88, 187, 246, 0.3) !important;
}


/* =========================
   UTILITIES & ADDITIONAL
========================= */
.section-box { margin-bottom: 24px; }
.section-header { background-color: #dae6f1; padding: 10px 16px; font-weight: bold; font-size: 18px; }
.visually-hidden { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.facebook-logo { position: fixed; bottom: 70px; right: 20px; cursor: pointer; }
.facebook-logo img { width: 50px; height: 50px; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .content-row-hm { flex-direction: column !important; }
    .menu-grid-hm { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 768px) {
    .explore-section-hm, .action-outer-wrapper-hm { padding: 30px 15px !important; }
    .action-btn-hm {
        text-align: left !important;
        justify-content: flex-start !important; 
    }
    .facebook-logo { bottom: 20px; right: 15px; }
}

@media (max-width: 480px) {
    .menu-grid-hm { grid-template-columns: 1fr !important; }
    .container-hm { padding: 20px !important; }
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-46ec40b0 *//* =========================
   RESET & BASE (-hm)
========================= */
.body-hm {
    font-family: 'Sarabun', Tahoma, sans-serif !important;
    background-color: #ffffff !important; 
    color: #333 !important;
    margin: 0 !important;
    padding: 30px 15px !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
}

.container-hm {
    max-width: 100% !important; 
    width: 100% !important;
    margin: 0 auto !important;
    padding: 40px !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important; 
    border-radius: 16px !important;
    box-sizing: border-box !important; 
}

/* =========================
   MIDDLE SECTION (-hm)
   (VDO & Download)
========================= */
.content-row-hm {
    display: flex !important;
    gap: 25px !important;
    margin-bottom: 40px !important;
    align-items: stretch !important;
}

/* Video Section */
.video-wrapper-hm {
    flex: 2 !important;
    display: flex !important;
    flex-direction: column !important;
}

.video-header-hm {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #1e3a8a !important; 
    margin-bottom: 15px !important;
    text-align: center !important;
}

.video-box-hm {
    background-color: #000 !important; 
    border-radius: 12px !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    padding-bottom: 56.25% !important; 
    height: 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}

.video-box-hm iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* Download Card Section */
.download-box-hm {
    flex: 1.2 !important; 
    background-color: #fffcf5 !important; 
    border: 1px solid #fae8d6 !important;
    border-radius: 12px !important;
    padding: 30px 25px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
}

.download-header-hm {
    color: #ea580c !important; 
    font-weight: bold !important;
    font-size: 20px !important; 
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 15px !important;
}

.download-main-text-hm {
    color: #1e3a8a !important; 
    font-size: 18px !important; 
    font-weight: bold !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
}

.download-sub-text-hm {
    color: #475569 !important; 
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

/* สไตล์ปุ่มมาตรฐาน (ปุ่มสีน้ำเงิน) */
.download-btn-hm, .action-btn-hm {
    background-color: #213c8f !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 12px 20px !important; 
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 500 !important; 
    font-size: 14px !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.download-btn-hm:hover, .action-btn-hm:hover {
    background-color: #1e40af !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.2) !important;
}

.download-divider-hm {
    border-top: 1px dashed #cbd5e1 !important;
    margin: 25px 0 !important;
}

/* =========================
   EXPLORE SECTION (-hm)
========================= */
.explore-section-hm {
    background-color: #F9FAFB !important; 
    padding: 40px 30px !important;
    border-radius: 16px !important;
}

.section-title-wrap-hm {
    text-align: center !important;
    margin-bottom: 25px !important;
}

.section-title-main-hm {
    font-size: 24px !important;
    font-weight: bold !important;
    color: #1e3a8a !important; 
    margin: 0 0 8px 0 !important;
}

.section-title-sub-hm {
    font-size: 16px !important;
    color: #64748b !important; 
    margin: 0 !important;
}

/* =========================
   MENU CARDS SECTION (-hm)
========================= */
.menu-grid-hm {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

.menu-card-hm {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 25px 15px !important;
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important; 
}

.menu-card-hm:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
    border-color: #3498db !important;
}

.menu-icon-hm {
    width: 65px !important;
    height: 65px !important;
    background-color: #e8f3fb !important; 
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    color: #2980b9 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.menu-text-hm {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

/* =========================
   ACTION SECTION (NEW WRAPPER)
========================= */
.action-outer-wrapper-hm {
    background-color: #f1f5f9 !important; /* สีเทาไม่เข้มไม่อ่อน (Medium Grey) */
    padding: 40px 30px !important;
    border-radius: 16px !important;
    margin-top: 30px !important;
}

.action-section-hm {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important; 
    align-items: center !important;
}

.action-btn-hm {
    width: 100% !important;
    max-width: 900px !important;
}

/* =========================
   UTILITIES & ADDITIONAL
========================= */
.section-box { margin-bottom: 24px; }
.section-header { background-color: #dae6f1; padding: 10px 16px; font-weight: bold; font-size: 18px; }
.visually-hidden { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.facebook-logo { position: fixed; bottom: 70px; right: 20px; cursor: pointer; }
.facebook-logo img { width: 50px; height: 50px; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .content-row-hm { flex-direction: column !important; }
    .menu-grid-hm { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .explore-section-hm, .action-outer-wrapper-hm { padding: 30px 15px !important; }
    .action-btn-hm {
        text-align: left !important;
        justify-content: flex-start !important; 
    }
    .facebook-logo { bottom: 20px; right: 15px; }
}

@media (max-width: 480px) {
    .menu-grid-hm { grid-template-columns: 1fr !important; }
    .container-hm { padding: 20px !important; }
}/* End custom CSS */