@font-face{font-family:CSHWThai;src:url(fonts/NotoSansThai.ttf) format('truetype');font-weight:100 900;font-display:swap}
.cshw{--cshw-accent:#8b6224;--cshw-ink:#242424;--cshw-line:#e5ddd0;--cshw-soft:#faf7f0;font-family:CSHWThai,system-ui,sans-serif;color:var(--cshw-ink);font-size:16px;line-height:1.8;max-width:1240px;margin:32px auto;overflow-wrap:anywhere;box-sizing:border-box}.cshw *{box-sizing:border-box}.cshw h2,.cshw h3,.cshw p{margin-top:0}.cshw h2{font-size:clamp(26px,3vw,38px);line-height:1.45;font-weight:700;margin-bottom:18px;color:var(--cshw-ink)}.cshw h3{font-size:21px;line-height:1.5;margin-bottom:12px}.cshw a{color:var(--cshw-accent);text-decoration:underline;text-underline-offset:3px}.cshw a:focus-visible,.cshw button:focus-visible,.cshw input:focus-visible,.cshw select:focus-visible{outline:3px solid #1476bb;outline-offset:4px}.cshw-eyebrow{color:var(--cshw-accent);letter-spacing:.13em;font-weight:700;font-size:12px;margin-bottom:12px}.cshw-catalog-heading{padding:32px;background:var(--cshw-soft);border:1px solid var(--cshw-line);border-radius:18px;margin-bottom:26px}.cshw-catalog-heading p:last-child{margin-bottom:0;max-width:820px}.cshw-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;margin:24px 0}.cshw-filters label{display:block;flex:1 1 160px;font-weight:600}.cshw-filters label:first-of-type{flex:2 1 240px}.cshw input,.cshw select{font:inherit;color:var(--cshw-ink);background:#fff;border:1px solid #bcb6ac;border-radius:8px;width:100%;min-height:48px;padding:9px 12px;margin-top:6px;max-width:100%}.cshw .cshw-button{font:inherit;font-size:15px;font-weight:600;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:11px 20px;border:1px solid var(--cshw-accent);border-radius:8px;background:var(--cshw-accent);color:#fff;text-decoration:none;cursor:pointer;line-height:1.6;white-space:normal;text-align:center}.cshw .cshw-button:hover{filter:brightness(.9)}.cshw .cshw-secondary{background:#fff;color:var(--cshw-accent)}.cshw-list-summary{display:flex;justify-content:space-between;gap:18px;color:#5b5b5b;font-size:14px}.cshw-list-summary p{margin-bottom:14px}.cshw-courses{display:grid;grid-template-columns:repeat(var(--cshw-columns,3),minmax(0,1fr));gap:24px}.cshw-card{background:#fff;border:1px solid var(--cshw-line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 7px 22px #29211608;min-width:0}.cshw-image-link{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--cshw-soft)}.cshw-image-link img.cshw-course-image{width:100%;height:100%;object-fit:cover;display:block}.cshw-image-fallback{width:100%;height:100%;min-height:150px;display:flex;align-items:center;justify-content:center;background:var(--cshw-soft);color:var(--cshw-accent)}.cshw .cshw-logo{max-width:65%;max-height:100px;width:auto;height:auto;object-fit:contain}.cshw-card-content{padding:24px;display:flex;flex:1;flex-direction:column}.cshw-card h3 a{color:var(--cshw-ink);text-decoration:none}.cshw-card h3 a:hover{text-decoration:underline}.cshw-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.cshw-badges span{font-size:12px;line-height:1.6;border:1px solid var(--cshw-line);border-radius:999px;padding:4px 10px;color:#655844;background:var(--cshw-soft)}.cshw-badges .cshw-status-open,.cshw-badges .cshw-status-ondemand{background:#edf6f0;color:#28613e;border-color:#d6e8dd}.cshw-badges .cshw-status-full,.cshw-badges .cshw-status-closed{background:#f4f4f4;color:#555}.cshw-card-excerpt{font-size:15px;color:#5d5d5d}.cshw-card-meta{list-style:none;padding:0;margin:0 0 16px;font-size:14px;color:#5d5d5d}.cshw-card-price{font-weight:600;margin-top:auto}.cshw-card .cshw-button{align-self:flex-start}.cshw-layout-list{grid-template-columns:1fr}.cshw-layout-list .cshw-card{display:grid;grid-template-columns:minmax(200px,32%) minmax(0,1fr)}.cshw-layout-list .cshw-image-link{height:100%;aspect-ratio:auto;min-height:200px}.cshw-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:20px;margin:30px 0}.cshw-empty,.cshw-message{padding:26px;background:var(--cshw-soft);border:1px solid var(--cshw-line);border-radius:12px}.cshw-detail-image{aspect-ratio:16/7;overflow:hidden;border-radius:16px;margin-bottom:28px}.cshw-detail-image>.cshw-course-image{display:block;width:100%;height:100%;object-fit:cover}.cshw-detail-summary{border:1px solid var(--cshw-line);border-radius:16px;padding:30px;background:var(--cshw-soft)}.cshw-lead{font-size:19px;color:#4b4b4b}.cshw-course-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.cshw-course-facts div{padding-bottom:14px;border-bottom:1px solid var(--cshw-line)}.cshw-course-facts dt{color:#655844;font-size:13px;margin-bottom:5px}.cshw-course-facts dd{margin:0;font-weight:600}.cshw-actions{display:flex;flex-wrap:wrap;gap:12px}.cshw-admin-note{font-size:13px;color:#714e13;margin:16px 0 0}.cshw-section{padding:36px 0;border-bottom:1px solid var(--cshw-line);scroll-margin-top:100px}.cshw-section h2,.cshw-inquiry-section h2{font-size:28px}.cshw-benefits{padding-left:24px}.cshw-benefits li{margin:8px 0}.cshw-syllabus{list-style:none;padding:0;margin:20px 0}.cshw-syllabus li{display:flex;gap:20px;padding:22px 0;border-bottom:1px solid var(--cshw-line)}.cshw-module-number{font-size:26px;font-weight:700;color:var(--cshw-accent);min-width:42px}.cshw-syllabus h3{margin-bottom:5px}.cshw-syllabus p{margin-bottom:0;color:#555}.cshw-teachers{display:grid;gap:20px}.cshw-teacher{display:flex;gap:24px;padding:24px;border:1px solid var(--cshw-line);border-radius:14px;background:#fff}.cshw-instructor-photo{width:130px;height:130px;object-fit:cover;border-radius:50%;flex-shrink:0}.cshw-role{color:var(--cshw-accent);font-weight:600}.cshw-inquiry-section{background:var(--cshw-soft);padding:32px;border:1px solid var(--cshw-line);border-radius:16px;margin-top:32px;scroll-margin-top:100px}.cshw-body img{max-width:100%;height:auto}.cshw-body iframe{max-width:100%}
@media(max-width:1000px){.cshw-courses{grid-template-columns:repeat(2,minmax(0,1fr))}.cshw-layout-list{grid-template-columns:1fr}}@media(max-width:600px){.cshw{font-size:15px;margin:22px auto}.cshw-catalog-heading,.cshw-detail-summary,.cshw-inquiry-section{padding:22px}.cshw-courses{grid-template-columns:1fr}.cshw-card-content{padding:22px}.cshw-filters{gap:12px}.cshw-filters label,.cshw-filters label:first-of-type{flex:1 1 100%}.cshw-filters>.cshw-button{width:100%}.cshw-list-summary{display:block}.cshw-list-summary span{display:block;margin-bottom:14px}.cshw-layout-list .cshw-card{display:flex}.cshw-layout-list .cshw-image-link{aspect-ratio:16/9;min-height:0}.cshw-course-facts{grid-template-columns:1fr}.cshw-detail-image{aspect-ratio:16/9}.cshw-teacher{display:block;padding:22px}.cshw-instructor-photo{margin-bottom:16px;width:100px;height:100px}.cshw-section{padding:26px 0}.cshw-syllabus li{gap:12px}.cshw-actions>.cshw-button{width:100%}}

.cshw-card-meta div{display:flex;gap:12px;margin-bottom:6px}.cshw-card-meta dt{min-width:62px;font-weight:600}.cshw-card-meta dd{margin:0}.cshw-card-footer{display:flex;flex-wrap:wrap;align-items:center;gap:15px;margin-top:auto;padding-top:14px}.cshw-card-footer strong{flex:1 1 150px;font-size:15px}

/* Respond to the theme's actual content width as well as the viewport. */
.cshw{container-type:inline-size}.cshw-courses.cshw-columns-1{grid-template-columns:1fr}
@container(max-width:900px){.cshw-courses.cshw-columns-3,.cshw-courses.cshw-columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}.cshw-courses.cshw-layout-list{grid-template-columns:1fr}}
@container(max-width:550px){.cshw-courses{grid-template-columns:1fr!important}.cshw-layout-list .cshw-card{display:flex}.cshw-layout-list .cshw-image-link{aspect-ratio:16/9;min-height:0}.cshw-course-facts{grid-template-columns:1fr}.cshw-teacher{display:block}.cshw-instructor-photo{margin-bottom:16px}}
