:root { --c-primary: #652c48; --c-accent: #3e9d7d; --c-bg: #0f0f11; --c-surface: #1e1519; --c-text: #f0f0f0; --c-dim: #a0a0a0; }
* { box-sizing: border-box; }
body { margin: 0; padding: 0; background-color: var(--c-bg); color: var(--c-text); font-family: 'Inter', sans-serif; font-size: 15px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Kanit', sans-serif; font-weight: 700; margin: 0; }
a { text-decoration: none; transition: all 0.3s ease; }
.ejw6-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.ejw6-header { background: var(--c-surface); border-bottom: 2px solid var(--c-primary); padding: 15px 0; }
.ejw6-header-inner { display: flex; flex-direction: column; gap: 15px; align-items: center; }
@media (min-width: 768px) { .ejw6-header-inner { flex-direction: row; justify-content: space-between; } }
.ejw6-logo { font-family: 'Kanit', sans-serif; font-size: 26px; font-weight: 700; color: var(--c-accent); text-transform: uppercase; letter-spacing: 1px; }
.ejw6-nav { display: flex; overflow-x: auto; gap: 10px; width: 100%; padding-bottom: 5px; scrollbar-width: none; }
.ejw6-nav::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .ejw6-nav { width: auto; overflow-x: visible; } }
.ejw6-nav-link { color: var(--c-text); font-family: 'Kanit', sans-serif; font-size: 16px; padding: 8px 15px; border-radius: 4px; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; }
.ejw6-nav-link:hover { background: var(--c-primary); color: #fff; }
.ejw6-hero { position: relative; width: 100%; max-height: 450px; overflow: hidden; background: #000; border-bottom: 2px solid var(--c-accent); }
@media (min-width: 768px) { .ejw6-hero { max-height: 550px; } }
.ejw6-hero-img-wrap { width: 100%; height: 100%; }
.ejw6-hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; display: block; }
.ejw6-hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.ejw6-slogan { font-size: 28px; color: #fff; text-shadow: 2px 2px 5px rgba(0,0,0,0.9); text-transform: uppercase; }
@media (min-width: 480px) { .ejw6-slogan { font-size: 34px; } }
@media (min-width: 768px) { .ejw6-slogan { font-size: 48px; } }
.ejw6-ticker-wrap { background: var(--c-surface); border-bottom: 1px solid var(--c-primary); padding: 10px 0; overflow: hidden; white-space: nowrap; width: 100%; box-sizing: border-box; }
.ejw6-ticker-track { display: inline-block; padding-left: 100%; animation: ejw6-ticker 25s linear infinite; }
@keyframes ejw6-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.ejw6-ticker-item { display: inline-block; margin-right: 30px; font-size: 14px; font-weight: 500; }
.ejw6-ticker-item a { color: var(--c-accent); }
.ejw6-ticker-item a:hover { text-decoration: underline; }
.ejw6-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 30px 0; }
@media (min-width: 768px) { .ejw6-stats { grid-template-columns: repeat(4, 1fr); } }
.ejw6-stat-box { background: var(--c-surface); border: 1px solid var(--c-primary); padding: 20px 10px; text-align: center; border-radius: 4px; color: var(--c-dim); font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.ejw6-stat-box strong { display: block; color: var(--c-accent); font-size: 24px; font-family: 'Kanit', sans-serif; margin-bottom: 8px; }
.ejw6-section-title { font-size: 22px; color: var(--c-accent); border-bottom: 2px solid var(--c-primary); padding-bottom: 12px; margin: 40px 0 20px; text-transform: uppercase; }
@media (min-width: 768px) { .ejw6-section-title { font-size: 26px; } }
.ejw6-tabs { display: flex; overflow-x: auto; gap: 5px; border-bottom: 2px solid rgba(101,44,72,0.3); margin-bottom: 20px; scrollbar-width: none; }
.ejw6-tabs::-webkit-scrollbar { display: none; }
.ejw6-tab { background: transparent; border: none; color: var(--c-dim); font-size: 16px; font-family: 'Kanit', sans-serif; font-weight: 600; padding: 12px 25px; cursor: pointer; text-transform: uppercase; white-space: nowrap; transition: color 0.3s; }
.ejw6-tab:hover { color: var(--c-text); }
.ejw6-tab-active { color: var(--c-accent); border-bottom: 2px solid var(--c-accent); margin-bottom: -2px; }
.ejw6-chips { display: flex; overflow-x: auto; gap: 10px; margin-bottom: 25px; scrollbar-width: none; }
.ejw6-chips::-webkit-scrollbar { display: none; }
.ejw6-chip { display: inline-block; padding: 8px 16px; background: var(--c-surface); color: var(--c-dim); font-size: 13px; font-weight: 500; border-radius: 4px; cursor: pointer; white-space: nowrap; border: 1px solid var(--c-surface); transition: all 0.3s; }
.ejw6-chip:hover { border-color: var(--c-primary); color: var(--c-text); }
.ejw6-chip-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.ejw6-tab-content { display: none; }
.ejw6-active-content { display: block; animation: ejw6-fade 0.4s ease; }
@keyframes ejw6-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.ejw6-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 480px) { .ejw6-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; } }
@media (min-width: 768px) { .ejw6-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .ejw6-grid { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
.ejw6-card { display: block; background: var(--c-surface); border: 1px solid var(--c-primary); border-radius: 4px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ejw6-card:hover { transform: translateY(-4px); box-shadow: 0 4px 15px rgba(62,157,125,0.4); border-color: var(--c-accent); }
.ejw6-card-img-wrap { position: relative; width: 100%; aspect-ratio: 1/1; background: #000; overflow: hidden; }
.ejw6-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.3s, transform 0.5s; }
.ejw6-card:hover .ejw6-card-img-wrap img { opacity: 1; transform: scale(1.05); }
.ejw6-badge { position: absolute; top: 8px; right: 8px; background: var(--c-accent); color: #000; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 2px; text-transform: uppercase; box-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.ejw6-card-body { padding: 12px; text-align: center; }
.ejw6-card-title { font-size: 14px; color: var(--c-text); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ejw6-card-sub { font-size: 12px; color: var(--c-dim); margin: 6px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .ejw6-card-title { font-size: 16px; } .ejw6-card-sub { font-size: 13px; } }
.ejw6-feature-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-top: 20px; }
@media (min-width: 768px) { .ejw6-feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.ejw6-feature-card { background: var(--c-surface); border-left: 4px solid var(--c-accent); padding: 20px; border-radius: 0 4px 4px 0; }
.ejw6-feature-card h3 { margin: 0 0 12px; font-size: 18px; color: var(--c-text); }
.ejw6-feature-card p { margin: 0; font-size: 14px; color: var(--c-dim); line-height: 1.6; }
.ejw6-step-list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 15px; counter-reset: ejw6-step; }
@media (min-width: 768px) { .ejw6-step-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.ejw6-step-list li { background: var(--c-surface); border: 1px solid var(--c-primary); padding: 20px 20px 20px 60px; position: relative; font-size: 14px; color: var(--c-dim); border-radius: 4px; line-height: 1.6; }
.ejw6-step-list li::before { counter-increment: ejw6-step; content: counter(ejw6-step); position: absolute; left: 20px; top: 20px; background: var(--c-accent); color: #000; width: 28px; height: 28px; line-height: 28px; text-align: center; font-weight: 700; border-radius: 50%; font-size: 12px; }
.ejw6-step-list strong { color: var(--c-text); display: block; margin-bottom: 6px; font-size: 15px; }
.ejw6-payment-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.ejw6-pay-badge { border: 1px solid var(--c-primary); color: var(--c-dim); padding: 10px 20px; font-size: 13px; font-weight: 600; border-radius: 4px; letter-spacing: 1px; background: rgba(101,44,72,0.1); }
.ejw6-article-wrap { padding: 25px; background: var(--c-surface); border-radius: 4px; border: 1px solid var(--c-primary); margin-top: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.ejw6-article-wrap h2, .ejw6-article-wrap h3 { color: var(--c-accent); margin: 2rem 0 1rem; text-transform: uppercase; }
.ejw6-article-wrap h2:first-child { margin-top: 0; }
.ejw6-article-wrap p { margin-bottom: 1.2rem; line-height: 1.7; color: var(--c-text); font-size: 15px; }
@media (min-width: 768px) { .ejw6-article-wrap p, .ejw6-article-wrap ul, .ejw6-article-wrap ol { font-size: 16px; } }
.ejw6-article-wrap ul, .ejw6-article-wrap ol { margin-bottom: 1.2rem; padding-left: 20px; color: var(--c-text); line-height: 1.7; }
.ejw6-article-wrap li { margin-bottom: 0.5rem; }
.ejw6-article-wrap a { color: var(--c-accent); text-decoration: underline; }
.ejw6-article-wrap a:hover { color: #fff; }
.ejw6-article-wrap > table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.ejw6-article-wrap th, .ejw6-article-wrap td { border: 1px solid var(--c-primary); padding: 12px; text-align: left; font-size: 14px; white-space: nowrap; }
.ejw6-article-wrap th { background: var(--c-primary); color: #fff; font-family: 'Kanit', sans-serif; text-transform: uppercase; }
.ejw6-article-wrap td { color: var(--c-dim); }
.ejw6-article-wrap hr { border: 0; border-top: 1px solid var(--c-primary); margin: 30px 0; }
.ejw6-article-wrap img, .ejw6-article-wrap figure img { max-width: 100%; height: auto; border-radius: 4px; display: block; margin: 1.5rem auto; }
.ejw6-article-wrap blockquote { border-left: 4px solid var(--c-accent); margin: 1.5rem 0; padding: 10px 20px; background: rgba(62,157,125,0.1); font-style: italic; color: var(--c-dim); }
.ejw6-breadcrumbs { display: flex; overflow-x: auto; padding: 15px 0; margin-bottom: 15px; font-size: 14px; white-space: nowrap; scrollbar-width: none; }
.ejw6-breadcrumbs::-webkit-scrollbar { display: none; }
.ejw6-crumb-link { color: var(--c-dim); margin-right: 8px; }
.ejw6-crumb-link::after { content: '/'; margin-left: 8px; color: var(--c-primary); }
.ejw6-crumb-link:last-child::after { content: ''; }
.ejw6-crumb-link:hover { color: var(--c-accent); }
.ejw6-page-header { margin-bottom: 40px; text-align: center; padding: 20px; background: var(--c-surface); border: 1px solid var(--c-primary); border-radius: 4px; }
.ejw6-page-title { color: var(--c-accent); font-size: 30px; margin: 0 0 12px; text-transform: uppercase; }
@media (min-width: 768px) { .ejw6-page-title { font-size: 40px; } }
.ejw6-meta-desc { color: var(--c-dim); font-size: 16px; margin: 0; line-height: 1.6; }
.ejw6-faq-section { margin-top: 50px; }
.ejw6-faq-list { display: flex; flex-direction: column; gap: 12px; }
.ejw6-faq-item { background: var(--c-surface); border: 1px solid var(--c-primary); border-radius: 4px; }
.ejw6-faq-q { padding: 18px; font-family: 'Kanit', sans-serif; font-size: 16px; color: var(--c-text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s; }
.ejw6-faq-q:hover { background: rgba(101,44,72,0.2); }
.ejw6-faq-q::-webkit-details-marker { display: none; }
.ejw6-faq-q::after { content: '+'; font-size: 22px; color: var(--c-accent); font-weight: 400; }
.ejw6-faq-item[open] .ejw6-faq-q::after { content: '-'; }
.ejw6-faq-a { padding: 0 18px 18px; color: var(--c-dim); font-size: 15px; line-height: 1.7; border-top: 1px solid rgba(101,44,72,0.3); margin-top: 5px; padding-top: 15px; }
.ejw6-pager { display: flex; justify-content: space-between; overflow-x: auto; padding: 30px 0; border-top: 1px solid var(--c-primary); margin-top: 40px; gap: 15px; scrollbar-width: none; }
.ejw6-pager::-webkit-scrollbar { display: none; }
.ejw6-pager-link { background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-primary); padding: 12px 25px; border-radius: 4px; font-family: 'Kanit', sans-serif; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; }
.ejw6-pager-link:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.ejw6-related { margin-top: 50px; }
.ejw6-footer { background: var(--c-surface); border-top: 4px solid var(--c-primary); padding: 40px 0 20px; margin-top: 50px; text-align: center; }
.ejw6-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 25px; }
.ejw6-footer-links a { color: var(--c-accent); font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; font-family: 'Kanit', sans-serif; }
.ejw6-footer-links a:hover { color: #fff; }
.ejw6-legal { color: var(--c-dim); font-size: 13px; line-height: 1.6; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.05); max-width: 800px; margin: 0 auto; }
.ejw6-legal p { margin: 10px 0 0; }
/* v2fix-b3 */
.ejw6-header-inner{flex-wrap:wrap !important}
.ejw6-nav{min-width:0 !important;max-width:100% !important;overflow-x:auto !important}
@media(min-width:768px){.ejw6-nav{width:auto;overflow-x:auto}}
