/* Private visual preview; original geometry, illustration and responsive CSS. */


.rt-preview-menu{position:absolute;top:70px;left:20px;right:20px;z-index:100;background:white;color:#283042;padding:24px;border-radius:18px;box-shadow:0 12px 32px #0002;display:grid;gap:20px;font-family:Arial,sans-serif}
.rt-preview-menu[hidden]{display:none}
.rt-preview-menu a{font-size:16px;font-weight:600}
.rt-preview-card-expanded{box-shadow:0 0 0 3px #3385ff}
html{scroll-behavior:smooth}
button:focus-visible,a:focus-visible{outline:3px solid #ffb800;outline-offset:4px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
.preview-form-note{font-family:Arial,sans-serif;font-size:12px;line-height:1.6;color:#586270;border-left:3px solid #3385ff;padding:8px 12px;margin:0 0 20px;background:#f4f8ff}.preview-status{font-family:Arial,sans-serif;color:#285aa4;font-size:14px;line-height:1.6;padding:14px;margin-top:14px;border-radius:10px;background:#edf5ff}.preview-status[hidden]{display:none}.preview-details{margin-top:14px;padding:16px;background:#f5f8fc;border-radius:10px;font-size:14px;line-height:1.7}.preview-selected{outline:2px solid #3385ff;outline-offset:3px}.preview-accordion-answer{padding:20px 30px;background:#f9f9fa;font-size:15px;line-height:1.7;color:#37383c}.preview-accordion-answer[hidden]{display:none}button:disabled{cursor:not-allowed;opacity:.65}.preview-local-notice{max-width:1300px;margin:0 auto;padding:12px 24px;color:#637080;font-size:12px}
.rt-reveal:not(.is-visible){animation:none!important;opacity:0}.rt-reveal.is-visible{animation:rtRevealUp 760ms cubic-bezier(.22,1,.36,1) both;animation-delay:var(--rt-reveal-delay,0ms)}
.rt-motion-menu{position:fixed;inset:0 0 0 auto;width:min(320px,100vw);height:100dvh;max-height:none;max-width:320px;margin:0;padding:0;border:0;border-left:1px solid #e8e8e8;color:#171717;background:#fff;overflow:auto;font-family:Pretendard,Arial,sans-serif}
.rt-motion-menu[open]{display:flex;flex-direction:column;animation:rtMenuSlide 250ms cubic-bezier(.16,1,.3,1)}.rt-motion-menu::backdrop{background:#000c;animation:rtMenuFade 200ms ease}
.rt-motion-menu-header{padding:16px 20px;border-bottom:1px solid #e8e8e8;display:flex;justify-content:space-between;align-items:center}.rt-motion-menu-header img{height:48px;width:auto;max-width:190px;object-fit:contain}.rt-motion-menu-header button{font-size:26px;padding:5px;background:none;border:0}.rt-motion-menu nav{display:flex;flex-direction:column;gap:4px;padding:16px 12px;flex:1}.rt-motion-menu nav a{padding:12px;font-size:16px;font-weight:500;line-height:24px;border-radius:8px}.rt-motion-menu nav a:hover{background:#f7f7f7}.rt-motion-menu-footer{border-top:1px solid #e8e8e8;padding:20px;display:grid;gap:12px}.rt-motion-menu-footer a{display:block;text-align:center;border:1px solid #69a5ff;border-radius:12px;padding:16px;color:#3385ff;font-size:16px;font-weight:700}.rt-motion-menu-footer a:last-child{background:#3385ff;color:white}
@keyframes rtMenuSlide{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes rtMenuFade{from{opacity:0}to{opacity:1}}
.rt-motion-dot-active{opacity:1}.rt-expanded-desktop{position:relative;height:510px;min-height:510px;background:var(--card-bg);color:var(--card-text);clip-path:polygon(40px 0,calc(100% - 40px) 0,100% 40px,100% calc(100% - 116px),calc(100% - 116px) calc(100% - 116px),calc(100% - 116px) 100%,40px 100%,0 calc(100% - 40px),0 40px)}.rt-expanded-desktop .rt-expanded-copy{position:absolute;left:8.42%;top:16.5%;width:37.9%}.rt-expanded-copy h3{font-size:clamp(22px,1.46vw,28px);font-weight:600;line-height:1.4;letter-spacing:-.025em}.rt-expanded-copy p{margin-top:clamp(18px,1.5625vw,30px);font-size:clamp(14px,.9375vw,18px);line-height:24px;font-weight:500;letter-spacing:-.025em}.rt-expanded-desktop .rt-expanded-image{position:absolute;left:50%;top:19.1%;width:37.9%;aspect-ratio:1;object-fit:contain}.rt-expanded-desktop .rt-expanded-actions{position:absolute;bottom:17.4%;left:8.42%;display:flex;gap:5px}.rt-expanded-actions a{padding:12px 30px;border:1px solid currentColor;border-radius:100px;font-size:clamp(14px,.9375vw,18px);line-height:30px;white-space:nowrap}.rt-expanded-actions a:first-child:not(:last-child){background:white;border-color:white}.rt-expanded-actions a:hover{opacity:.8}.rt-expanded-mobile{position:relative;display:flex;flex-direction:column;align-items:center;gap:30px;padding:40px 30px 60px;border-radius:24px;background:var(--card-bg);color:var(--card-text)}.rt-expanded-mobile .rt-expanded-copy{text-align:center}.rt-expanded-mobile h3{font-size:20px;line-height:30px}.rt-expanded-mobile p{font-size:14px;line-height:22px;margin-top:20px}.rt-expanded-mobile .rt-expanded-image{width:100%;max-width:300px;aspect-ratio:1;object-fit:contain}.rt-expanded-mobile .rt-expanded-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.rt-expanded-mobile .rt-expanded-actions a{padding:10px 24px;font-size:12px;line-height:20px}.rt-expanded-close{position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:50%;background:#ffffff26;font-size:24px;border:0;color:inherit}
@media(prefers-reduced-motion:reduce){.rt-reveal:not(.is-visible),.rt-reveal.is-visible{animation:none!important;opacity:1!important;transform:none}.rt-motion-menu[open],.rt-motion-menu::backdrop{animation:none!important}}
.rt-motion-menu.is-closing::backdrop{opacity:0;transition:opacity 200ms ease}
@font-face{font-family:NotoThai;src:url('/assets/thai.ttf') format('truetype');font-display:swap}
.rt-language{position:fixed;right:16px;bottom:18px;display:flex;align-items:center;gap:5px;background:#fff;border:1px solid #dbe3ed;border-radius:30px;padding:5px 9px;box-shadow:0 3px 18px #17223b20;z-index:80;font:14px Inter,NotoThai,sans-serif}
.rt-language button{border:0;border-radius:20px;padding:7px 10px;background:transparent;color:#526174;cursor:pointer;font:inherit}.rt-language button[aria-pressed=true]{background:#3385ff;color:white}.rt-language button:focus-visible{outline:3px solid #ffc800;outline-offset:2px}
html.rt-th body,html.rt-th button,html.rt-th input,html.rt-th select,html.rt-th textarea{font-family:NotoThai,Inter,sans-serif}html.rt-th h1,html.rt-th h2,html.rt-th h3,html.rt-th h4,html.rt-th [class*="font-"]{font-family:NotoThai,Inter,sans-serif!important;letter-spacing:normal!important;text-transform:none!important;word-break:normal;overflow-wrap:anywhere}html.rt-th h1{line-height:1.3!important}html.rt-th h2,html.rt-th h3{line-height:1.4!important}html.rt-th p{line-height:1.65}html.rt-th header nav a{font-size:14px}html.rt-th .rt-expanded-copy{max-width:58%}html.rt-th .rt-expanded-copy h3{font-size:clamp(24px,2.2vw,38px)}html.rt-th .rt-expanded-copy p{font-size:15px}.rt-global-note{font:12px/1.6 Inter,NotoThai,sans-serif;color:#64748b;max-width:1200px;margin:0 auto;padding:12px 24px}
@media(max-width:767px){.rt-language{right:12px;bottom:12px}.rt-th h1{font-size:clamp(32px,8vw,48px)!important}.rt-th .rt-expanded-copy{max-width:68%}.rt-th .rt-expanded-copy p{font-size:13px}.rt-th .rt-expanded-copy h3{font-size:23px}.rt-th .rt-motion-menu nav a{font-size:20px}}
.rt-service-button{display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;border:0;border-radius:12px;background:#3385ff;color:white;font-weight:600;cursor:pointer;text-decoration:none}.rt-service-status{padding:14px;background:#edf5ff;color:#1b467a;border-radius:10px;margin-top:12px}.rt-signin-panel{display:grid;gap:24px;text-align:center}.rt-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;grid-column:1/-1;width:100%}.rt-catalog article{padding:24px;background:white;border:1px solid #e1e8ef;border-radius:20px}.rt-catalog h3{font-size:24px;font-weight:700}.rt-catalog img{width:100%;height:220px;object-fit:contain}.rt-catalog p{margin:12px 0}.rt-cart-row{display:flex;align-items:center;flex-wrap:wrap;gap:24px;padding:24px;border-bottom:1px solid #dde4ed}.rt-cart-row input{width:70px;border:1px solid #bbc6d4;padding:10px}.rt-cart-row h2{flex:1}body[data-preview-page="/cart"] main{max-width:1000px;margin:auto;padding:120px 24px 80px;min-height:65vh}body[data-preview-page="/cart"] main h1{font-size:40px;font-weight:700;margin-bottom:24px}
#rt-portal{max-width:1100px;margin:auto;padding:130px 24px 80px;min-height:70vh}#rt-portal h1{font-size:36px;font-weight:700;margin:30px 0 20px}#rt-portal h2{font-size:26px;font-weight:700;margin:32px 0 18px}#rt-portal h3{font-size:20px;font-weight:600}#rt-portal nav{display:flex;flex-wrap:wrap;gap:10px}#rt-portal p{margin:12px 0;line-height:1.65}#rt-portal form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}#rt-portal label{display:flex;flex-direction:column;gap:8px;font-weight:500}#rt-portal input,#rt-portal textarea,#rt-portal select{width:100%;border:1px solid #bbcbdc;border-radius:10px;padding:12px;background:white;color:#172a40}#rt-portal input[type=checkbox]{width:22px;height:22px}#rt-portal textarea{min-height:100px}#rt-portal details{padding:20px;border:1px solid #dbe5f0;border-radius:18px;margin:24px 0}#rt-portal summary{font-size:22px;font-weight:600;cursor:pointer}.rt-request-card{border:1px solid #dce6f0;border-radius:16px;padding:24px;margin:18px 0}#rt-portal details>button{display:block;margin:12px 0;padding:12px;text-align:left;background:#eef5ff;width:100%;border-radius:10px}#rt-portal form button{justify-self:start}#rt-portal .rt-service-status{grid-column:1/-1}@media(max-width:650px){#rt-portal form{grid-template-columns:1fr}#rt-portal h1{font-size:30px}}
/* Thai sentences use Thai line breaking, rather than the English word spacing and line breaks. */
html.rt-th main,html.rt-th footer,html.rt-th dialog,html.rt-th a,html.rt-th p,html.rt-th span,html.rt-th label,html.rt-th summary,html.rt-th [style*="font-family"]{font-family:NotoThai,Inter,system-ui,sans-serif!important;letter-spacing:0!important;word-spacing:normal!important}
html.rt-th h1,html.rt-th h2,html.rt-th h3,html.rt-th h4,html.rt-th p,html.rt-th a,html.rt-th span{word-break:normal!important;overflow-wrap:normal!important;line-break:auto}
html.rt-th p{line-height:1.8!important}html.rt-th .rt-translated-copy{white-space:pre-line!important;text-wrap:pretty}
html.rt-th .hero-copy-title{font-size:clamp(36px,3.6vw,66px)!important;line-height:1.5!important;font-weight:700}
html.rt-th .hero-copy-description{font-size:clamp(16px,1.35vw,24px)!important;line-height:1.85!important;max-width:640px}
html.rt-th .rt-expanded-copy{max-width:none}html.rt-th .rt-expanded-mobile .rt-expanded-copy{width:100%;max-width:none}
html.rt-th .rt-expanded-copy p{line-height:1.65!important}html.rt-th .rt-motion-menu nav a{font-size:18px;line-height:1.6}
.rt-language{padding:7px;gap:4px;flex-wrap:wrap;max-width:calc(100vw - 24px);box-shadow:0 4px 20px #152c4825;border-color:#b9cee6;font-family:Inter,NotoThai,sans-serif}
.rt-language-caption{font-size:12px;color:#526174;padding:0 8px;white-space:nowrap}
.rt-language button{min-height:44px;min-width:58px;padding:10px 13px;font-family:Inter,NotoThai,sans-serif;font-size:15px}
.rt-language button[aria-pressed=true]{background:#176de8;color:white;font-weight:700}
@media(max-width:767px){html.rt-th .hero-copy-title{font-size:clamp(28px,7.6vw,40px)!important;line-height:1.55!important}html.rt-th .hero-copy-description{font-size:15px!important;line-height:1.8!important}.rt-language{bottom:12px;right:12px;gap:2px}.rt-language-caption{font-size:11px;padding:0 6px}.rt-language button{font-size:14px;min-height:44px;padding:8px 10px}.rt-th h1:not(.hero-copy-title){font-size:clamp(26px,7vw,38px)!important;line-height:1.5!important}}
html.rt-th [data-rt-statistics]{position:relative;z-index:1}
html.rt-th [data-rt-stat-count],html.rt-th [data-rt-stat-title],html.rt-th [data-rt-stat-country]{position:relative;z-index:30;display:block!important;text-align:center!important;padding:0 16px!important;white-space:normal!important;line-height:1.7!important}
html.rt-th [data-rt-stat-count] span,html.rt-th [data-rt-stat-country] span{white-space:nowrap;font-weight:700}
html.rt-th .rt-inspire-desktop [data-rt-stat-count],html.rt-th .rt-inspire-desktop [data-rt-stat-title],html.rt-th .rt-inspire-desktop [data-rt-stat-country]{font-size:78px!important}
@media(max-width:1023px){html.rt-th .rt-inspire-mo-stage{padding:30px 0 40px!important}html.rt-th .rt-inspire-mo [data-rt-stat-count],html.rt-th .rt-inspire-mo [data-rt-stat-title],html.rt-th .rt-inspire-mo [data-rt-stat-country]{font-size:24px!important}html.rt-th .rt-inspire-mo [data-rt-statistics]>[aria-hidden=true]{position:relative!important;left:auto!important;top:auto!important;width:320px!important;height:86px!important;margin:0 auto 26px;z-index:1!important}}
@media(max-width:1023px){html.rt-th .rt-inspire-mo [data-rt-statistics]>[aria-hidden=true]{height:100px!important;margin-bottom:30px}html.rt-th .rt-inspire-mo [data-rt-statistics]>[aria-hidden=true] img{width:100px!important;height:auto!important}}
html.rt-th [data-rt-statistics]{z-index:30!important}
html.rt-th .rt-stat-decor{position:relative!important;left:auto!important;top:auto!important;width:1200px!important;height:auto!important;margin:0 auto 30px;display:flex;align-items:center;justify-content:center;gap:45px;z-index:1!important}
html.rt-th .rt-stat-decor img{position:static!important;left:auto!important;top:auto!important;width:200px!important;height:auto!important;max-width:none!important}
@media(max-width:1023px){html.rt-th .rt-inspire-mo .rt-stat-decor{width:260px!important;flex-wrap:wrap;gap:14px 24px;margin-bottom:26px}html.rt-th .rt-inspire-mo .rt-stat-decor img{width:100px!important}}
/* Header language buttons follow the EN / TH control used on DREAM Thailand. */
.rt-language.rt-language-header{position:static!important;inset:auto!important;display:inline-flex;flex-wrap:nowrap;flex-shrink:0;align-items:center;border:1px solid #b5c2b8;border-radius:6px;background:#fff;padding:3px;gap:2px;box-shadow:none;max-width:none;z-index:auto}
.rt-language-header button{min-width:44px;min-height:40px;padding:8px 10px;border-radius:3px;font:700 15px/1.3 Inter,NotoThai,sans-serif;color:#526174;background:transparent}
.rt-language-header button[aria-pressed=true]{background:#102f37;color:white}
.rt-language-host{gap:16px!important}.rt-language-host nav:not([aria-label="Footer"]){flex-wrap:wrap;gap:10px 18px!important}.rt-language-host nav a{white-space:nowrap}
.rt-language-host>div:has(>.rt-language){gap:10px!important}
.rt-portal-language-header{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1100px;margin:0 auto;padding:20px 24px;border-bottom:1px solid #dfe7ed}.rt-portal-language-header>a{font-size:20px;font-weight:700;color:#176de8}
html.rt-th{font-size:18px}html.rt-th p{font-size:20px!important;line-height:1.8!important}html.rt-th label,html.rt-th input,html.rt-th select,html.rt-th textarea{font-size:18px!important;line-height:1.7!important}
html.rt-th h1:not(.hero-copy-title){font-size:clamp(38px,4vw,72px)!important;line-height:1.45!important}html.rt-th h2{font-size:clamp(30px,3vw,52px)!important;line-height:1.5!important}html.rt-th h3{font-size:clamp(25px,2.2vw,36px)!important;line-height:1.5!important}html.rt-th h4{font-size:24px!important;line-height:1.5!important}
html.rt-th .hero-copy-title{font-size:clamp(44px,4.25vw,76px)!important;line-height:1.5!important}html.rt-th .hero-copy-description{font-size:22px!important;line-height:1.8!important}
html.rt-th header nav a{font-size:16px!important;line-height:1.6!important}html.rt-th header.rt-language-host{height:auto!important;min-height:120px;padding-top:20px;padding-bottom:20px}html.rt-th footer a{font-size:17px!important;line-height:1.7!important}
html.rt-th a.rt-service-button,html.rt-th .rt-service-button,html.rt-th .rt-expanded-actions a{font-size:18px!important;line-height:1.6!important}
html.rt-th .rt-global-note,html.rt-th .preview-form-note{font-size:16px!important}html.rt-th .rt-expanded-copy p{font-size:18px!important;line-height:1.7!important}
html.rt-th #rt-portal{padding-top:45px}html.rt-th #rt-portal nav a{font-size:17px!important}
@media(max-width:1023px){.rt-language-header button{font-size:14px;min-width:40px;min-height:40px;padding:7px 9px}.rt-has-mobile-language>div{gap:10px!important}.rt-language-host>a img,.rt-language-host>a svg{max-width:100px}.rt-language-host nav a{white-space:normal}
html.rt-th header.rt-language-host{min-height:76px;padding-top:12px;padding-bottom:12px}html.rt-th .rt-motion-menu nav a{font-size:20px!important;line-height:1.7!important}}
@media(max-width:767px){html.rt-th p{font-size:18px!important;line-height:1.85!important}html.rt-th h1:not(.hero-copy-title){font-size:clamp(32px,8vw,42px)!important}html.rt-th h2{font-size:30px!important}html.rt-th h3{font-size:25px!important}html.rt-th h4{font-size:22px!important}html.rt-th .hero-copy-title{font-size:clamp(32px,8.4vw,42px)!important;line-height:1.55!important}html.rt-th .hero-copy-description{font-size:18px!important;line-height:1.85!important}html.rt-th .rt-expanded-copy p{font-size:18px!important}html.rt-th .rt-global-note,html.rt-th .preview-form-note{font-size:15px!important}.rt-portal-language-header{padding:16px 20px}.rt-portal-language-header>a{font-size:18px}.rt-has-mobile-language>a img{max-width:90px}}
/* Compensate for the reference canvas zoom so Thai text stays readable at laptop widths. */
.site-canvas,.about-canvas{--rt-type-zoom:1}
@media(min-width:1024px) and (max-width:1439px){.site-canvas,.about-canvas{--rt-type-zoom:.72}}
@media(min-width:1440px) and (max-width:1679px){.site-canvas,.about-canvas{--rt-type-zoom:.82}}
@media(min-width:1680px) and (max-width:1919px){.site-canvas,.about-canvas{--rt-type-zoom:.92}}
html.rt-th p{font-size:calc(20px / var(--rt-type-zoom,1))!important}
html.rt-th label,html.rt-th input,html.rt-th select,html.rt-th textarea{font-size:calc(18px / var(--rt-type-zoom,1))!important}
html.rt-th h1:not(.hero-copy-title){font-size:calc(clamp(38px,4vw,72px) / var(--rt-type-zoom,1))!important}
html.rt-th h2{font-size:calc(clamp(30px,3vw,52px) / var(--rt-type-zoom,1))!important}html.rt-th h3{font-size:calc(clamp(25px,2.2vw,36px) / var(--rt-type-zoom,1))!important}html.rt-th h4{font-size:calc(24px / var(--rt-type-zoom,1))!important}
html.rt-th .hero-copy-title{font-size:calc(clamp(44px,4.25vw,76px) / var(--rt-type-zoom,1))!important}html.rt-th .hero-copy-description{font-size:calc(22px / var(--rt-type-zoom,1))!important}
html.rt-th header nav a{font-size:calc(16px / var(--rt-type-zoom,1))!important}
.rt-language-header button{font-size:calc(15px / var(--rt-type-zoom,1));min-width:calc(44px / var(--rt-type-zoom,1));min-height:calc(40px / var(--rt-type-zoom,1))}
html.rt-th #programs h3{font-size:calc(24px / var(--rt-type-zoom,1))!important}html.rt-th #programs p{font-size:calc(18px / var(--rt-type-zoom,1))!important}
html.rt-th .rt-expanded-desktop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px;padding:42px 48px 136px;height:510px;min-height:510px;overflow-y:auto}
html.rt-th .rt-expanded-desktop .rt-expanded-copy{position:static;width:auto;max-width:none}html.rt-th .rt-expanded-desktop .rt-expanded-image{position:static;width:100%;max-width:320px;align-self:center}html.rt-th .rt-expanded-desktop .rt-expanded-actions{position:static;grid-column:1/-1;flex-wrap:wrap;gap:10px}
@media(max-width:767px){html.rt-th p{font-size:18px!important}html.rt-th .hero-copy-title{font-size:clamp(32px,8.4vw,42px)!important}html.rt-th .hero-copy-description{font-size:18px!important}html.rt-th h1:not(.hero-copy-title){font-size:clamp(32px,8vw,42px)!important}html.rt-th h2{font-size:30px!important}html.rt-th h3{font-size:25px!important}html.rt-th h4{font-size:22px!important}.rt-language-header button{font-size:14px;min-width:40px;min-height:40px}}
html.rt-th .rt-expanded-desktop{gap:16px;padding:32px 40px 70px}
html.rt-th .rt-expanded-desktop .rt-expanded-image{max-width:240px}
html.rt-th #programs .rt-expanded-desktop h3{font-size:calc(22px / var(--rt-type-zoom,1))!important}
html.rt-th #programs .rt-expanded-desktop p{font-size:calc(16px / var(--rt-type-zoom,1))!important;line-height:1.65!important}
