#cfhi-bb{display:none}
@media (max-width:599px){
body.cfhi-m{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
body.cfhi-m .hd .hd-in{min-height:56px}
body.cfhi-m .hd img{height:36px;width:auto}
body.cfhi-m .hd .brand small{display:none}
body.cfhi-m .hd .brand strong{font-size:14px;line-height:1.25}
body.cfhi-m .hd .mtoggle{position:fixed;left:-9999px;top:0;width:1px;height:1px;overflow:hidden;padding:0;border:0}
#cfhi-bb{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9990;box-sizing:border-box;height:calc(68px + env(safe-area-inset-bottom,0px));padding:0 6px env(safe-area-inset-bottom,0px);background:#fff;border-top:1px solid #E6DCD3;align-items:stretch}
#cfhi-bb a,#cfhi-bb button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:44px;border:0;background:transparent;color:#5B4A45;font:400 12px/1.2 'Noto Sans Thai',sans-serif;text-decoration:none;cursor:pointer;padding:0}
#cfhi-bb svg{width:24px;height:24px;fill:none}
#cfhi-bb svg *{fill:none;stroke:currentColor}
#cfhi-bb .on{color:#812D21;font-weight:600}
#cfhi-bb .ap{color:#812D21;font-weight:700}
#cfhi-bb .ap i{width:48px;height:30px;border-radius:15px;background:#812D21;color:#fff;display:flex;align-items:center;justify-content:center}
#cfhi-bb .ap svg{width:22px;height:22px}
#cfhi-bb :focus-visible{outline:2px solid #812D21;outline-offset:-2px}
#cfhi-mm{position:fixed;left:0;right:0;top:0;bottom:calc(68px + env(safe-area-inset-bottom,0px));z-index:9980;background:#fff;display:flex;flex-direction:column;color:#2A1B18;font-family:'Noto Sans Thai',sans-serif}
#cfhi-mm[hidden]{display:none}
#cfhi-mm .mm-h{flex:none;height:56px;box-sizing:border-box;padding:0 8px 0 16px;border-bottom:1px solid #E6DCD3;display:flex;align-items:center;justify-content:space-between}
#cfhi-mm .mm-h h2{margin:0;font:600 20px/1.2 Kanit,sans-serif;color:#2A1B18}
#cfhi-mm .mm-x{width:44px;height:44px;border:0;background:transparent;color:#2A1B18;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
#cfhi-mm .mm-x svg{width:24px;height:24px}
#cfhi-mm .mm-b{flex:1;overflow:auto;padding:8px 16px 16px;-webkit-overflow-scrolling:touch}
#cfhi-mm .mm-l{list-style:none;margin:0;padding:0}
#cfhi-mm .mm-l>li{border-bottom:1px solid #F0E6E1;margin:0}
#cfhi-mm .mm-r{width:100%;min-height:56px;box-sizing:border-box;border:0;background:transparent;padding:0;display:flex;align-items:center;gap:14px;color:#2A1B18;font:600 16px/1.3 'Noto Sans Thai',sans-serif;text-align:left;text-decoration:none;cursor:pointer}
#cfhi-mm .mm-r svg{width:24px;height:24px;flex:none;color:#812D21}
#cfhi-mm .mm-r span{flex:1}
#cfhi-mm .mm-r svg.cv{width:20px;height:20px;color:#8A7A74}
#cfhi-mm .mm-r[aria-expanded=true]{color:#812D21}
#cfhi-mm .mm-r[aria-expanded=true] svg.cv{color:#812D21;transform:rotate(180deg)}
#cfhi-mm .mm-sub{padding:0 0 10px 38px;display:flex;flex-direction:column}
#cfhi-mm .mm-sub[hidden]{display:none}
#cfhi-mm .mm-s{min-height:44px;display:flex;align-items:center;gap:10px;color:#2A1B18;font:400 15px/1.35 'Noto Sans Thai',sans-serif;text-decoration:none;padding:4px 0}
#cfhi-mm .mm-s i{flex:none;width:10px;height:10px;border-radius:5px}
#cfhi-mm .mm-s.all{color:#812D21;font-weight:600}
#cfhi-mm .mm-lang{margin-top:20px;display:flex;align-items:center;gap:12px;font-size:13px;color:#5B4A45}
#cfhi-mm .mm-seg{display:flex;border:1px solid #D9CBC4;border-radius:22px;overflow:hidden}
#cfhi-mm .mm-seg a{min-width:56px;height:40px;display:flex;align-items:center;justify-content:center;color:#2A1B18;font:400 14px 'Noto Sans Thai',sans-serif;text-decoration:none}
#cfhi-mm .mm-seg a[aria-current=true]{background:#812D21;color:#fff;font-weight:600}
#cfhi-mm .mm-staff{margin-top:14px;min-height:44px;display:inline-flex;align-items:center;gap:8px;color:#5B4A45;font-size:13px;text-decoration:none}
#cfhi-mm .mm-staff svg{width:18px;height:18px}
#cfhi-mm .mm-r:focus-visible,#cfhi-mm .mm-s:focus-visible,#cfhi-mm .mm-x:focus-visible,#cfhi-mm .mm-seg a:focus-visible,#cfhi-mm .mm-staff:focus-visible{outline:2px solid #812D21;outline-offset:2px}
#cfhi-mm svg{fill:none}
#cfhi-mm svg *{fill:none;stroke:currentColor}
body.admin-bar #cfhi-mm{top:46px}
/* cfhi-home-compact */
body.cfhi-m .topbar{display:none}
body.cfhi-m .hd .hd-in{min-height:56px;padding-right:8px;display:flex;align-items:center;justify-content:space-between}
body.cfhi-m .cfhi-lg{flex:none;min-width:44px;height:44px;display:flex;align-items:center;justify-content:center;gap:4px;color:#2A1B18;font:600 13px/1 'Noto Sans Thai',sans-serif;text-decoration:none}
body.cfhi-m .cfhi-lg svg{width:22px;height:22px;fill:none}
body.cfhi-m .cfhi-lg svg *{fill:none;stroke:currentColor}
body.cfhi-m .fx-stats{display:none}
body.cfhi-m .hero .split{display:flex;flex-direction:column;gap:0}
body.cfhi-m .hero .herofig{order:-1;margin:0 0 12px}
body.cfhi-m .hero .herofig img{display:block;width:100%;height:168px;object-fit:cover;border-radius:14px}
body.cfhi-m .hero .badge,body.cfhi-m .hero .split>div:first-child>.meta{display:none}
body.cfhi-m .hero h1{font-size:26px;line-height:1.25;margin:0}
body.cfhi-m .hero .lead{font-size:14px;line-height:1.5;margin:6px 0 0}
body.cfhi-m .hero .split>div:first-child>div{display:flex;gap:8px;margin-top:14px;align-items:center}
body.cfhi-m .hero .btn:not(.ghost){display:none}
body.cfhi-m .hero .btn.ghost{flex:1;height:48px;border-radius:24px;background:#812D21;color:#fff;border:0;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;margin:0}
body.cfhi-m .hero .cfhi-callbtn,body.cfhi-m .hero .fx-play{position:static;flex:none;width:48px;height:48px;min-width:0;border-radius:24px;border:1px solid #D9CBC4;background:#fff;color:#812D21;display:flex;align-items:center;justify-content:center;padding:0;margin:0;box-shadow:none;transform:none}
body.cfhi-m .hero .fx-play span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
body.cfhi-m .hero .cfhi-callbtn svg{width:22px;height:22px;fill:none}
body.cfhi-m .hero .cfhi-callbtn svg *{fill:none;stroke:currentColor}
body.cfhi-m #programmes .lead{display:none}
body.cfhi-m #programmes .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.cfhi-m #programmes .pcard{display:flex;flex-direction:column;justify-content:flex-start;min-height:88px;padding:12px;border-radius:14px;background:#fff;border:1px solid #E6DCD3;box-shadow:none;overflow:hidden}
body.cfhi-m #programmes .pcard::before{content:'';display:block;position:static;flex:none;width:34px;height:34px;border-radius:17px;background-repeat:no-repeat;background-position:center;background-size:20px;height:34px;inset:auto;transform:none;opacity:1}
body.cfhi-m #programmes .pcard::after{display:none}
body.cfhi-m #programmes .pcard:nth-of-type(1)::before{background-color:#E3F0F1;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231F6F78" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M3 13l18-7-5 14-4-6z"/%3E%3C/svg%3E')}
body.cfhi-m #programmes .pcard:nth-of-type(2)::before{background-color:#FBEBDD;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23B04E14" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M7 4v7M5 4v4a2 2 0 0 0 4 0V4M7 11v9M17 20V4c-2 1.5-3 4-3 7h3"/%3E%3C/svg%3E')}
body.cfhi-m #programmes .pcard:nth-of-type(3)::before{background-color:#E2F1E6;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232A6E3F" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M5 19C5 10 10 5 19 5c0 9-5 14-14 14z"/%3E%3Cpath d="M5 19c3-4 6-6 9-8"/%3E%3C/svg%3E')}
body.cfhi-m #programmes .pcard:nth-of-type(4)::before{background-color:#F7E3E6;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23A3283D" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M4 5h16v11H11l-4 4v-4H4z"/%3E%3Cpath d="M8 9h8M8 12h5"/%3E%3C/svg%3E')}
body.cfhi-m #programmes .pcard img,body.cfhi-m #programmes .pcard .meta,body.cfhi-m #programmes .pcard .price,body.cfhi-m #programmes .pcard .more{display:none}
body.cfhi-m #programmes .pcard .body{padding:0;min-height:0}
body.cfhi-m #programmes .pcard h3{font-size:13px;line-height:1.35;font-weight:600;margin:8px 0 0;min-height:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
body.cfhi-m #news .grid{display:block;border:1px solid #E6DCD3;border-radius:14px;background:#fff;overflow:hidden}
body.cfhi-m #news .card{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:62px;padding:8px 12px;margin:0;border:0;border-bottom:1px solid #F0E6E1;border-radius:0;box-shadow:none;background:transparent}
body.cfhi-m #news .card:last-child{border-bottom:0}
body.cfhi-m #news .card img{flex:none;width:40px;height:40px;min-height:0;border-radius:8px;object-fit:cover}
body.cfhi-m #news .card .body{flex:1;min-width:0;padding:0;display:flex;flex-direction:column-reverse}
body.cfhi-m #news .card h3{font-size:14px;line-height:1.35;font-weight:600;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.cfhi-m #news .card .meta{font-size:12px;margin:0}
body.cfhi-m #news .card::after{content:'';flex:none;width:18px;height:18px;background:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238A7A74" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M9 6l6 6-6 6"/%3E%3C/svg%3E') center/contain no-repeat;position:static;inset:auto}
body.cfhi-m .cfhi-cc{margin:20px 16px;padding:14px;border-radius:14px;background:#F5E9E4;border:1px solid #E6D9D3;display:flex;align-items:center;justify-content:space-between;gap:12px}
body.cfhi-m .cfhi-cc span{display:block;font-size:13px;color:#5B4A45}
body.cfhi-m .cfhi-cc strong{display:block;font:600 22px/1.3 Kanit,sans-serif;color:#2A1B18}
body.cfhi-m .cfhi-cc .cc-b{display:flex;gap:8px}
body.cfhi-m .cfhi-cc .cc-b a{width:44px;height:44px;border-radius:22px;background:#fff;border:1px solid #D9CBC4;color:#812D21;display:flex;align-items:center;justify-content:center}
body.cfhi-m .cfhi-cc .cc-b a.p{background:#812D21;border-color:#812D21;color:#fff}
body.cfhi-m .cfhi-cc svg{width:20px;height:20px;fill:none}
body.cfhi-m .cfhi-cc svg *{fill:none;stroke:currentColor}
/* cfhi-fix-1 */
body.cfhi-m .hd .hd-in{height:56px!important;min-height:56px!important;padding-top:0!important;padding-bottom:0!important}
body.cfhi-m .hd .brand img{height:36px!important;width:auto!important}
body.cfhi-m .hero .split{align-items:stretch!important}
body.cfhi-m .hero .herofig{width:100%!important;height:auto!important;min-height:0!important;max-width:none!important;aspect-ratio:auto!important}
body.cfhi-m .hero .herofig img{width:100%!important;height:168px!important}
body.cfhi-m .hero a.btn:not(.ghost){display:none!important}
body.cfhi-m #news .card{padding:8px 12px!important;min-height:62px!important}
body.cfhi-m #news .card .body{padding:0!important;margin:0!important;min-height:0!important}
body.cfhi-m #news .card h3{margin:0!important;padding:0!important;min-height:0!important}
body.cfhi-m #news .card .meta{margin:0!important;padding:0!important}
/* cfhi-fix-2 */
body.cfhi-m .hero .split>*{flex:none!important;width:100%!important;max-width:none!important}
body.cfhi-m #news .card h3{line-height:1.3!important}
body.cfhi-m #news .card .meta{line-height:1.3!important}
}
/* cfhi-fix-3 */body.cfhi-m .hero .fx-play span{display:none!important}body.cfhi-m .hero .fx-play{padding:0!important;gap:0!important;align-items:center!important;justify-content:center!important;color:#812D21!important}body.cfhi-m .hero .fx-play i{display:flex!important;align-items:center;justify-content:center;width:auto!important;height:auto!important;background:transparent!important;color:#812D21!important;box-shadow:none!important;animation:none!important}body.cfhi-m .hero .fx-play i::before,body.cfhi-m .hero .fx-play i::after{display:none!important}body.cfhi-m .hero .fx-play svg{display:block!important;width:22px!important;height:22px!important;fill:#812D21!important;stroke:none!important}body.cfhi-m .hero .fx-play svg *{fill:#812D21!important;stroke:none!important}

/* cfhi-v3 */
@media (max-width:599px){
body.cfhi-m .cfhi-gone,body.cfhi-m .cfhi-bc,body.cfhi-m .cfhi-cc{display:none!important}
body.cfhi-m .part,body.cfhi-m .sec,body.cfhi-m .cfhi-acc{scroll-margin-top:64px}
body.cfhi-m footer.ft{background:#2A1B18!important;color:#EADFDA!important;padding:0!important;margin-top:8px!important}
body.cfhi-m footer.ft .ft-in{display:none!important}
body.cfhi-m .cfhi-ft{padding:28px 16px 24px;font-size:13px;line-height:1.7;color:#EADFDA}
body.cfhi-m .cfhi-ft a{color:#fff}
body.cfhi-m .cfhi-ft svg{fill:none!important}body.cfhi-m .cfhi-ft svg *{fill:none!important;stroke:currentColor!important}
body.cfhi-m .cfhi-ft .ft-b{display:flex;align-items:center;gap:12px}
body.cfhi-m .cfhi-ft .ft-mark{width:44px;height:44px;border-radius:12px;background:#812D21;color:#fff;font:600 14px Kanit,sans-serif;display:flex;align-items:center;justify-content:center;flex:none}
body.cfhi-m .cfhi-ft .ft-n{font-family:Kanit,sans-serif;font-weight:600;font-size:16px;color:#fff;line-height:1.35}
body.cfhi-m .cfhi-ft .ft-u{font-size:13px;margin-top:2px}
body.cfhi-m .cfhi-ft .ft-tel{margin-top:20px;display:flex;align-items:center;gap:8px}
body.cfhi-m .cfhi-ft .ft-tel>div{flex:1}
body.cfhi-m .cfhi-ft .ft-tel small{display:block;font-size:12px}
body.cfhi-m .cfhi-ft .ft-tel strong{font-family:Kanit,sans-serif;font-size:22px;font-weight:600;color:#fff}
body.cfhi-m .cfhi-ft .ft-tel a{width:44px;height:44px;border-radius:22px;border:1px solid rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;flex:none}
body.cfhi-m .cfhi-ft .ft-soc{margin-top:16px;display:flex;gap:8px;flex-wrap:wrap}
body.cfhi-m .cfhi-ft .ft-soc a{height:44px;padding:0 16px;border-radius:22px;border:1px solid rgba(255,255,255,.35);display:flex;align-items:center;font-size:13px;font-weight:600}
body.cfhi-m .cfhi-ft .ft-ad{margin-top:16px}
body.cfhi-m .cfhi-ft .ft-lg{margin-top:8px;display:flex;flex-wrap:wrap;gap:0 16px}
body.cfhi-m .cfhi-ft .ft-lg a{min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:3px}
body.cfhi-m .cfhi-ft .ft-c{margin-top:4px;font-size:12px;opacity:.85}
body.cfhi-m.cfhi-home #students~section{display:none!important}
body.cfhi-m.cfhi-home #apply .card:nth-child(3){display:none!important}
body.cfhi-m.cfhi-home #students .split{display:flex!important;flex-direction:column!important;gap:10px!important}
body.cfhi-m.cfhi-home #students .tbl{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;overflow:visible!important}
body.cfhi-m.cfhi-home #students table,body.cfhi-m.cfhi-home #students tbody{display:block!important;width:100%!important;border:0!important}
body.cfhi-m.cfhi-home #students tr{display:none!important;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:14px;background:#812D21!important;color:#fff;font-size:14px;line-height:1.4}
body.cfhi-m.cfhi-home #students tr.cfhi-show{display:flex!important}
body.cfhi-m.cfhi-home #students td,body.cfhi-m.cfhi-home #students th{display:block;padding:0!important;border:0!important;background:transparent!important;color:#fff!important}
body.cfhi-m.cfhi-home #students td:last-child{font-weight:700;text-align:right}
body.cfhi-m:not(.cfhi-home) .hero{background:#F8F7F6!important;padding:12px 16px 4px!important;min-height:0!important}
body.cfhi-m:not(.cfhi-home) .hero .stripe{display:none!important}
body.cfhi-m:not(.cfhi-home) .hero .split{display:flex!important;flex-direction:column!important;gap:12px!important;align-items:stretch!important}
body.cfhi-m:not(.cfhi-home) .hero .split>*{flex:none!important;width:100%!important;max-width:none!important}
body.cfhi-m:not(.cfhi-home) .hero>.split>img{order:-1;height:168px!important;max-height:none!important;object-fit:cover!important;object-position:50% 25%!important;border-radius:14px!important;box-shadow:none!important}
body.cfhi-m:not(.cfhi-home) .hero h1{font-size:24px!important;line-height:1.25!important;margin:0!important}
body.cfhi-m:not(.cfhi-home) .hero .lead{font-size:14px!important;line-height:1.6!important;margin:8px 0 0!important}
body.cfhi-m:not(.cfhi-home) .hero dl{display:grid!important;grid-template-columns:auto 1fr;gap:6px 14px;margin:12px 0 0!important;padding:14px 16px;background:#fff;border:1px solid #E6DCD3;border-radius:14px;font-size:13px}
body.cfhi-m:not(.cfhi-home) .hero dt{margin:0;color:#5B4A45;font-weight:400}
body.cfhi-m:not(.cfhi-home) .hero dd{margin:0;color:#2A1B18;font-weight:600;line-height:1.45}
body.cfhi-m:not(.cfhi-home) .hero .split>div>div:last-child{display:flex!important;gap:8px;margin-top:12px!important}
body.cfhi-m:not(.cfhi-home) .hero a.btn{flex:1;height:48px!important;min-height:0!important;border-radius:24px!important;display:flex!important;align-items:center;justify-content:center;font-size:15px!important;margin:0!important;padding:0 12px!important;white-space:nowrap}
body.cfhi-m:not(.cfhi-home) .hero .cfhi-chips{flex-wrap:nowrap!important;overflow-x:auto;margin:12px -16px 0!important;padding:0 16px;scrollbar-width:none}
body.cfhi-m:not(.cfhi-home) .hero .cfhi-chips::-webkit-scrollbar{display:none}
body.cfhi-m:not(.cfhi-home) .hero .cfhi-chips a.btn{flex:none!important;height:40px!important;padding:0 16px!important;font-size:14px!important;background:#fff!important;color:#2A1B18!important;border:1px solid #D9CBC4!important}
body.cfhi-m:not(.cfhi-home) .hero .cfhi-chips a.btn:first-child{background:#812D21!important;color:#fff!important;border-color:#812D21!important}
body.cfhi-m:not(.cfhi-home) .sec,body.cfhi-m:not(.cfhi-home) .sec.alt{padding:0!important;background:transparent!important;margin:0!important}
body.cfhi-m.cfhi-accpage .sec>.wrap,body.cfhi-m.cfhi-accpage .sec.wrap{padding-left:0!important;padding-right:0!important}
body.cfhi-m:not(.cfhi-home) .sec .split{display:flex!important;flex-direction:column!important;gap:8px!important}
body.cfhi-m:not(.cfhi-home) .sec h2{font-size:18px!important;line-height:1.3!important}
body.cfhi-m:not(.cfhi-home) .cfhi-pad{padding:16px 16px 0!important}
body.cfhi-m:not(.cfhi-home) .part{padding:20px 16px 10px!important;background:transparent!important;margin:0!important}
body.cfhi-m:not(.cfhi-home) .part .meta{display:block!important;font-family:Kanit,sans-serif;font-size:20px!important;font-weight:600;color:#2A1B18!important;margin:0!important;text-transform:none!important;letter-spacing:0!important}
body.cfhi-m:not(.cfhi-home) .part .lead{font-size:13px!important;line-height:1.6!important;margin:4px 0 0!important}
body.cfhi-m .cfhi-acc{background:#fff!important;border:1px solid #E6DCD3;border-radius:14px;margin:0 16px 8px!important;padding:0!important;overflow:hidden;width:auto!important;max-width:none!important;box-shadow:none!important}
body.cfhi-m .cfhi-ah{display:flex!important;align-items:center;gap:12px;min-height:56px;box-sizing:border-box;padding:8px 16px!important;margin:0!important;font-size:16px!important;font-weight:600!important;line-height:1.35!important;color:#2A1B18;cursor:pointer;-webkit-tap-highlight-color:transparent}
body.cfhi-m .cfhi-ah::after{content:"";margin-left:auto;flex:none;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A7A74' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/20px no-repeat}
body.cfhi-m .cfhi-open>.cfhi-ah{color:#812D21}
body.cfhi-m .cfhi-open>.cfhi-ah::after{transform:rotate(180deg)}
body.cfhi-m .cfhi-ah:focus-visible{outline:2px solid #812D21;outline-offset:-2px}
body.cfhi-m .cfhi-ab{padding:0 16px 16px}
body.cfhi-m .cfhi-acc:not(.cfhi-open)>.cfhi-ab{display:none!important}
body.cfhi-m .cfhi-ab>*:first-child{margin-top:0!important}
body.cfhi-m .cfhi-ab .lead{font-size:14px!important}
body.cfhi-m:not(.cfhi-home) .grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
body.cfhi-m #quick .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.cfhi-m .fcg{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body.cfhi-m .fc img,body.cfhi-m .fc .ph{display:block;width:100%!important;height:auto!important;aspect-ratio:4/5;object-fit:cover;object-position:50% 12%;border-radius:12px}
body.cfhi-m:not(.cfhi-home) .card>img{width:100%!important;height:auto!important;aspect-ratio:16/10;object-fit:cover;object-position:50% 35%}
body.cfhi-m main img{max-width:100%}
body.cfhi-m .hero .split>div:first-child .ctv2-row{display:none!important}
body.cfhi-m .ctv2-qc .ctv2-row{display:flex!important;gap:8px;flex-wrap:wrap}
body.cfhi-m .ctv2-qc .ctv2-row a.btn{flex:1 1 90px;height:44px!important;font-size:14px!important}
body.cfhi-m .ctv2-tp .ctv2-row{display:flex;flex-wrap:wrap;gap:8px}
body.cfhi-m .ctv2-tp .ctv2-row a.btn{flex:1 1 140px;height:44px!important;font-size:14px!important;border-radius:22px!important}
body.cfhi-m #faq~section{display:none!important}
body.cfhi-m .cfhi-jack{margin:12px 16px 0;padding:14px 16px;border-radius:14px;background:#F3E4E0;display:flex;align-items:center;gap:12px}
body.cfhi-m .cfhi-jack>div{flex:1;line-height:1.35}
body.cfhi-m .cfhi-jack span{display:block;font-size:12px;color:#5B4A45}
body.cfhi-m .cfhi-jack b{display:block;font-family:Kanit,sans-serif;font-size:16px;color:#2A1B18}
body.cfhi-m .cfhi-jack strong{font-family:Kanit,sans-serif;font-size:22px;color:#812D21;font-weight:600}
body.cfhi-m .cfhi-jack a{width:48px;height:48px;border-radius:24px;background:#812D21;color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
body.cfhi-m .cfhi-jack svg,body.cfhi-m .cfhi-jack svg *{fill:none!important;stroke:currentColor!important}
}

/* cfhi-v3b */
@media (max-width:599px){
body.cfhi-m:not(.cfhi-home) .hero{margin-bottom:12px!important}
body.cfhi-m:not(.cfhi-home) .hero::before,body.cfhi-m:not(.cfhi-home) .hero::after{display:none!important}
body.cfhi-m .cfhi-ah::before{display:none!important}
}

@media (max-width:599px){
body.cfhi-m .cfhi-ft .ft-tel svg{width:22px!important;height:22px!important}
}

/* cfhi-v3c */
@media (max-width:599px){
body.cfhi-m .cfhi-ab .card{border-radius:12px!important;box-shadow:none!important;margin:0!important}
body.cfhi-m .cfhi-ab .card .body{padding:12px!important}
body.cfhi-m .cfhi-ab .card h3{font-size:14px!important;line-height:1.35!important;margin:0 0 4px!important}
body.cfhi-m .cfhi-ab .card p{font-size:13px!important;line-height:1.5!important;margin:4px 0!important}
body.cfhi-m .cfhi-ab .card .btn{height:44px!important}
body.cfhi-m #quick .card p{display:none!important}
body.cfhi-m #quick .sec-h{margin:0 0 10px!important}
}

/* cfhi-v3d */
@media (max-width:599px){
body.cfhi-m .cfhi-jack svg{width:22px!important;height:22px!important}
}

/* cfhi-v3e */
@media (max-width:599px){
body.cfhi-m:not(.cfhi-accpage):not(.cfhi-home) .sec,body.cfhi-m:not(.cfhi-accpage):not(.cfhi-home) .sec.alt{padding:20px 0 4px!important}
body.cfhi-m:not(.cfhi-home) .hero .split>div:first-child .ctv2-row{display:none!important}
body.cfhi-m:not(.cfhi-home) .hero a.btn.ghost{background:#fff!important;color:#812D21!important;border:1px solid #D9CBC4!important}
body.cfhi-m .ctv2-qc{padding:16px!important;border-radius:14px!important}
body.cfhi-m .ctv2-qc .lab{font-size:12px!important;margin:12px 0 0!important}
body.cfhi-m .ctv2-qc .lab:first-child{margin-top:0!important}
body.cfhi-m .ctv2-qc .big{font-size:22px!important;line-height:1.3!important}
body.cfhi-m .ctv2-qc .mail,body.cfhi-m .ctv2-qc address{font-size:14px!important;line-height:1.5!important;margin:2px 0 0!important}
body.cfhi-m .ctv2-qc .ctv2-row{margin-top:14px!important}
body.cfhi-m .ctv2-qc .ctv2-row a.btn.ghost{background:#fff!important;color:#812D21!important;border:1px solid #D9CBC4!important}
}

/* cfhi-v3f */
@media (max-width:599px){
body.cfhi-m .cfhi-nl{display:block!important;margin:0!important;border:1px solid #E6DCD3;border-radius:14px;background:#fff;overflow:hidden}
body.cfhi-m .cfhi-nl>.card{position:relative;display:flex!important;align-items:center;gap:12px;padding:12px 14px!important;border:0!important;border-bottom:1px solid #F0E6E1!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;margin:0!important}
body.cfhi-m .cfhi-nl>.card:last-child{border-bottom:0!important}
body.cfhi-m .cfhi-nl>.card>img{width:40px!important;height:40px!important;aspect-ratio:1/1!important;border-radius:8px!important;object-fit:cover!important;flex:none}
body.cfhi-m .cfhi-nl>.card>.body{flex:1;min-width:0;padding:0!important;display:flex;flex-direction:column-reverse}
body.cfhi-m .cfhi-nl .meta{margin:3px 0 0!important;font-size:12px!important;line-height:1.4!important}
body.cfhi-m .cfhi-nl h3{margin:0!important;font-size:14px!important;line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.cfhi-m .cfhi-nl h3 a::after{content:"";position:absolute;inset:0}
body.cfhi-m .cfhi-nl>.card::after{content:"";flex:none;width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A7A74' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/18px no-repeat}
}

/* cfhi-v3g */
@media (max-width:599px){
body.cfhi-m:not(.cfhi-home) .cfhi-nl.grid{display:block!important}
body.cfhi-m:not(.cfhi-home) .cfhi-nl.grid>.card{flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important}
body.cfhi-m:not(.cfhi-home) .cfhi-nl.grid>.card>img{align-self:center}
}

/* cfhi-v3h */
@media (max-width:599px){
body.cfhi-m .pgrid{display:block!important;margin:0!important;padding:0!important;list-style:none!important}
body.cfhi-m .person{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:12px;padding:12px 0!important;border:0!important;border-bottom:1px solid #F0E6E1!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;margin:0!important}
body.cfhi-m .person:last-child{border-bottom:0!important}
body.cfhi-m .person>img,body.cfhi-m .person>.ph{width:56px!important;height:56px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:50% 12%!important;flex:none;margin:0!important}
body.cfhi-m .person .pb{padding:0!important;flex:1;min-width:0}
body.cfhi-m .person h3{font-size:14px!important;margin:2px 0!important;line-height:1.35!important}
body.cfhi-m .person p{font-size:12px!important;line-height:1.5!important;margin:0!important;color:#5B4A45}
body.cfhi-m .person .pill{font-size:11px!important}
body.cfhi-m .cfhi-ab .sec-h{margin:0 0 8px!important}
}

/* cfhi-v3i */
@media (max-width:599px){
body.cfhi-m .elementor-section.elementor-section-boxed>.elementor-container{max-width:none!important;padding:0!important}
body.cfhi-m .elementor-column,body.cfhi-m .elementor-widget-wrap.elementor-element-populated{padding:0!important}
body.cfhi-m .elementor-widget:not(:last-child){margin-bottom:0!important}
}

/* cfhi-v3j */
@media (max-width:599px){
body.cfhi-m.cfhi-home #students .split>*{flex:none!important;width:100%!important;max-width:100%!important;min-width:0!important}
body.cfhi-m.cfhi-home #students .tbl{width:100%!important}
body.cfhi-m.cfhi-home #students tr{width:100%!important;box-sizing:border-box}
}

/* cfhi-v3k */
@media (max-width:599px){
body.cfhi-m.cfhi-home #students table,body.cfhi-m.cfhi-home #students tbody,body.cfhi-m.cfhi-home #students tr{min-width:0!important;width:100%!important;max-width:100%!important;table-layout:fixed}
}

/* cfhi-v3l */
@media (max-width:599px){
body.cfhi-m.cfhi-home main>section.sec,body.cfhi-m.cfhi-home main>section#news{padding-top:24px!important;padding-bottom:8px!important;margin:0!important}
body.cfhi-m.cfhi-home #apply .grid{display:block!important;border:1px solid #E6DCD3;border-radius:14px;background:#fff;overflow:hidden}
body.cfhi-m.cfhi-home #apply .card{position:relative;border:0!important;border-bottom:1px solid #F0E6E1!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;margin:0!important;padding:0!important}
body.cfhi-m.cfhi-home #apply .card:last-child,body.cfhi-m.cfhi-home #apply .card:nth-child(2){border-bottom:0!important}
body.cfhi-m.cfhi-home #apply .card .body{display:grid!important;grid-template-columns:minmax(0,1fr) 20px;column-gap:12px;align-items:center;padding:12px 14px!important}
body.cfhi-m.cfhi-home #apply .card h3{grid-column:1;grid-row:1;margin:0!important;font-size:15px!important;line-height:1.35!important}
body.cfhi-m.cfhi-home #apply .card p{grid-column:1;grid-row:2;margin:2px 0 0!important;font-size:12px!important;line-height:1.45!important}
body.cfhi-m.cfhi-home #apply .card a.btn{grid-column:2;grid-row:1/3;width:20px!important;height:20px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A7A74' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/20px no-repeat!important;font-size:0!important;color:transparent!important;overflow:hidden;box-shadow:none!important}
body.cfhi-m.cfhi-home #apply .card a.btn::after{content:"";position:absolute;inset:0}
body.cfhi-m.cfhi-home .fx-mq li{width:240px!important;flex:none!important}
body.cfhi-m.cfhi-home .fx-mq figure{margin:0!important}
body.cfhi-m.cfhi-home .fx-mq img{display:block;width:100%!important;height:150px!important;object-fit:cover!important;object-position:50% 30%;border-radius:14px}
body.cfhi-m.cfhi-home .fx-mq figcaption{font-size:12px!important;line-height:1.4!important;margin-top:6px}
}

/* cfhi-v3m */
@media (max-width:599px){
body.cfhi-m .split>.cfhi-acc{flex:none!important;align-self:stretch!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important}
}

/* cfhi-v3n */
@media (max-width:599px){
body.cfhi-m.cfhi-accpage .sec.cfhi-acc,body.cfhi-m.cfhi-accpage .sec.alt.cfhi-acc{margin:0 16px 8px!important;width:auto!important}
}

/* cfhi-v3o */
@media (max-width:599px){
body.cfhi-m.cfhi-home .hero .herofig,body.cfhi-m.cfhi-home .hero .split>img{height:auto!important}
body.cfhi-m.cfhi-home .hero img{height:210px!important;object-fit:cover!important;object-position:50% 0%!important}
}

/* v3q photo tune: bigger news thumbs, heads kept in card crops, light tone lift; students pages excluded via cfhi-stu */
@media (max-width:599px){
body.cfhi-m:not(.cfhi-stu) .cfhi-nl.grid>.card>img{width:72px!important;min-width:72px!important;height:72px!important;border-radius:10px!important;object-position:50% 30%!important}
body.cfhi-m:not(.cfhi-home):not(.cfhi-stu) .card>img:not([src*="portrait"]){object-position:50% 22%}
body.cfhi-m:not(.cfhi-stu) main img:not([src*="portrait"]){filter:contrast(1.04) saturate(1.06)}
}

/* v3r desktop guard: JS-built phone elements stay hidden at 600px and up */
@media (min-width:600px){
.cfhi-ft,.cfhi-jack{display:none!important}
.cfhi-jk{display:none!important}
}

/* v3s desktop guard 2: accordion header alignment on .sec.alt */
@media (min-width:600px){
.sec.cfhi-acc:not(.wrap)>.cfhi-ah{padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
}

/* v3t video button on tablet/desktop: restore label (fix-3 hid it at all widths) */
@media (min-width:600px){
body.cfhi-m .hero .fx-play{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;height:50px!important;padding:0 24px!important;border-radius:25px!important;border:1px solid #D9CBC4!important;background:#fff!important;color:#812D21!important;font-size:16px!important;font-weight:600!important;box-shadow:none!important}
body.cfhi-m .hero .fx-play span{display:inline!important;position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important}
body.cfhi-m .hero .fx-play i{display:inline-flex!important;width:22px;height:22px}
body.cfhi-m .hero .fx-play svg{width:22px;height:22px;fill:#812D21}
}

/* v3u phone-only language button: hidden at 600px and up (topbar has the switch) */
@media (min-width:600px){.cfhi-lg{display:none!important}}

.cfhi-ph,.cfhi-hcta,.cfhi-cur{display:none}

.cfhi-sn{display:none}

.cfhi-n{display:none}

/* v3v flat: every section open, no toggle */
body.cfhi-flat .cfhi-ah{pointer-events:none;cursor:default}
body.cfhi-flat .cfhi-ah::after{display:none!important}

/* v3w clip long sections */
.cfhi-more{display:none}
body.cfhi-flat .cfhi-ab.cfhi-clip{max-height:460px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 75%,transparent);mask-image:linear-gradient(#000 75%,transparent)}
body.cfhi-flat .cfhi-ab.cfhi-clip.cfhi-all{max-height:none;-webkit-mask-image:none;mask-image:none}
body.cfhi-flat .cfhi-more{display:flex;align-items:center;justify-content:center;margin:8px auto 18px;min-height:44px;padding:0 24px;border:1px solid #D9CBC4;border-radius:22px;background:#fff;color:#812D21;font:600 15px/1 'Noto Sans Thai',sans-serif;cursor:pointer}

/* v3x students quick tiles with icons */
.cfhi-ic{display:none}
@media (max-width:599px){
body.cfhi-m #quick .grid.g3:has(.cfhi-tile){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;width:100%!important;max-width:none!important}
body.cfhi-m #quick .cfhi-ab>.wrap:has(.cfhi-tile){padding-left:0!important;padding-right:0!important}
#quick .cfhi-tile{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:84px;box-sizing:border-box;padding:10px 6px!important;text-align:center;border-radius:14px!important}
#quick .cfhi-tile .cfhi-ic{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:18px;flex:none}
#quick .cfhi-tile .cfhi-ic svg{width:20px;height:20px}
#quick .cfhi-tile .body{padding:0!important;display:block;width:100%}
#quick .cfhi-tile h3{margin:0!important;font:600 12px/1.3 'Noto Sans Thai',sans-serif!important}
#quick .cfhi-tile p{display:none!important}
#quick .cfhi-tile .more{position:absolute;inset:0;font-size:0!important;z-index:1}
}

/* v3y accordion sections read as one list card (like the mockup) */
@media (max-width:599px){
html body.cfhi-m.cfhi-flat main>section.sec.cfhi-acc{background:#fff!important;margin:0 16px!important;border:1px solid #E6DCD3!important;border-top-width:0!important;margin-bottom:0!important;border-radius:0!important;box-shadow:none!important}
html body.cfhi-m.cfhi-flat main>section.sec.cfhi-acc:not(.cfhi-acc+.cfhi-acc){border-top-width:1px!important;border-radius:16px 16px 0 0!important;margin-top:16px!important}
html body.cfhi-m.cfhi-flat main>section.sec.cfhi-acc:not(:has(+.cfhi-acc)){border-radius:0 0 16px 16px!important}
html body.cfhi-m.cfhi-flat main>section.sec.cfhi-acc:not(.cfhi-acc+.cfhi-acc):not(:has(+.cfhi-acc)){border-radius:16px!important}
}

/* v3z flat text: no cards inside the list card (phone) */
@media (max-width:599px){
body.cfhi-m.cfhi-flat .cfhi-ab .card:not(.cfhi-tile){border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;border-radius:0!important;margin-bottom:12px}
body.cfhi-m.cfhi-flat .cfhi-ab .card:not(.cfhi-tile) .body{padding:0!important}
}

/* v3aa equal widths: one left edge for every block (phone) */
@media (max-width:599px){
body.cfhi-m.cfhi-flat .cfhi-ab .wrap,body.cfhi-m.cfhi-flat .cfhi-ab .split,body.cfhi-m.cfhi-flat .cfhi-ab .grid{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;width:100%!important;max-width:none!important;box-sizing:border-box}
html body.cfhi-m.cfhi-flat main>section.sec.wrap.cfhi-pad{padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
}

/* v3ab wide tables scroll inside their card, never widen the page */
@media (max-width:599px){
body.cfhi-m.cfhi-flat .cfhi-acc,body.cfhi-m.cfhi-flat .cfhi-ab,body.cfhi-m.cfhi-flat .cfhi-ab .split>*{min-width:0!important;max-width:100%!important}
body.cfhi-m.cfhi-flat .cfhi-ab .tbl{overflow-x:auto!important;max-width:100%!important;-webkit-overflow-scrolling:touch}
}

/* v3ac structure section: single column so the table cannot widen it */
@media (max-width:599px){
html body.cfhi-m.cfhi-flat main>section .split{display:block!important;max-width:100%!important}
html body.cfhi-m.cfhi-flat main>section .split>.cfhi-acc{width:auto!important;max-width:100%!important;box-sizing:border-box}
}

/* v3ad split containers: stack, cards 16px from the edges */
@media (max-width:599px){
html body.cfhi-m.cfhi-flat main>section .split{flex-direction:column!important;grid-template-columns:minmax(0,1fr)!important}
html body.cfhi-m.cfhi-flat main>section .split>.cfhi-acc{width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;align-self:stretch!important;margin-left:16px!important;margin-right:16px!important;flex:none!important}
}

/* v3ae students: calendar block + heading icons */
.cfhi-calsec,.cfhi-hic{display:none}
@media (max-width:599px){
body.cfhi-m .cfhi-calsec{display:block;margin:20px 16px 20px}
body.cfhi-m .cfhi-calsec h2{margin:0 0 12px;font:600 18px/1.3 'Kanit','Noto Sans Thai',sans-serif;color:#2A1B18}
body.cfhi-m .cfhi-cal{border:1px solid #E6DCD3;border-radius:16px;background:#fff;overflow:hidden}
body.cfhi-m .cfhi-cr{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border-top:1px solid #F0E6E1;font-size:14px;color:#2A1B18}
body.cfhi-m .cfhi-cr:first-child{border-top:0}
body.cfhi-m .cfhi-cr b{font-weight:600;white-space:nowrap;color:#812D21}
body.cfhi-m .cfhi-cr.on{background:#812D21;color:#fff;font-weight:600}
body.cfhi-m .cfhi-cr.on b{color:#fff}
body.cfhi-m .cfhi-ah .cfhi-hic{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:18px;margin-right:10px;vertical-align:middle}
body.cfhi-m .cfhi-hic svg{width:20px;height:20px}
}

/* v3af students learning spaces as link rows */
.cfhi-spw{display:none}
@media (max-width:599px){
body.cfhi-m .cfhi-spw{display:block;margin:0 16px 16px;border:1px solid #E6DCD3;border-radius:16px;background:#fff;overflow:hidden}
body.cfhi-m .cfhi-spr{display:flex;align-items:center;gap:14px;padding:14px 16px;border-top:1px solid #F0E6E1}
body.cfhi-m .cfhi-spr:first-child{border-top:0}
body.cfhi-m .cfhi-spi{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:18px;flex:none}
body.cfhi-m .cfhi-spi svg{width:20px;height:20px}
body.cfhi-m .cfhi-spb{flex:1;min-width:0}
body.cfhi-m .cfhi-spa{display:block;font:600 16px/1.4 'Noto Sans Thai',sans-serif;color:#2A1B18;text-decoration:none}
body.cfhi-m .cfhi-sps{display:block;font-size:13px;line-height:1.5;color:#5B4A45;margin-top:2px}
body.cfhi-m .cfhi-spc{display:block;font-size:13px;line-height:1.7;color:#5B4A45;margin-top:2px}
body.cfhi-m .cfhi-spc a{color:#812D21;font-weight:600;text-decoration:none}
body.cfhi-m .cfhi-spg{display:flex;align-items:center;justify-content:center;width:32px;height:44px;color:#8A7A74;flex:none}
body.cfhi-m .cfhi-spg svg{width:18px;height:18px}
body.cfhi-m.cfhi-sp-on #phet-nueng,body.cfhi-m.cfhi-sp-on #heritage{display:none!important}
}

/* v3ag home */
@media(max-width:599px){
body.cfhi-m.cfhi-home #fx-prog{display:none!important}
body.cfhi-m.cfhi-home main h2{font-size:21px!important;line-height:1.3!important}
body.cfhi-m.cfhi-home main p.lead,body.cfhi-m.cfhi-home #students .sec-h~p,body.cfhi-m.cfhi-home #students p{font-size:15px!important;line-height:1.6!important;color:#6b5a55!important;margin-bottom:16px!important}
}

/* v3ah contact */
@media(max-width:599px){
html body.cfhi-m main .ctv2-qc{display:grid!important;grid-template-columns:1fr auto;column-gap:10px;align-items:center;background:#f6e5df!important;border:0!important;box-shadow:none!important;padding:14px!important}
html body.cfhi-m main .ctv2-qc>.lab:first-child{grid-column:1;grid-row:1;margin:0!important;font-size:12px!important}
html body.cfhi-m main .ctv2-qc>a.big{grid-column:1;grid-row:2;font-size:24px!important;margin:0!important}
html body.cfhi-m main .ctv2-qc>.ctv2-row{grid-column:2;grid-row:1/3;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:8px;width:auto!important;margin:0!important}
html body.cfhi-m main .ctv2-qc>.ctv2-row .btn{flex:0 0 44px!important;max-width:44px!important;width:44px!important;height:44px!important;min-width:0!important;padding:0!important;font-size:0!important;border-radius:50%!important;background-repeat:no-repeat!important;background-position:center!important;background-size:20px!important}
html body.cfhi-m main .ctv2-qc>.ctv2-row .btn:nth-child(1){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E")!important}
html body.cfhi-m main .ctv2-qc>.ctv2-row .btn:nth-child(2){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f2a22' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E")!important}
html body.cfhi-m main .ctv2-qc>.ctv2-row .btn:nth-child(3){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237f2a22' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E")!important}
html body.cfhi-m main .ctv2-qc>.lab:not(:first-child),html body.cfhi-m main .ctv2-qc>.mail,html body.cfhi-m main .ctv2-qc>address{grid-column:1/3;font-size:13px!important;margin:10px 0 0!important;line-height:1.5}
html body.cfhi-m main .ctv2-qc>.lab:not(:first-child){margin-top:12px!important;margin-bottom:0!important}
html body.cfhi-m main .ctv2-qc>.mail,html body.cfhi-m main .ctv2-qc>address{margin-top:2px!important}
}

/* v3ai subpage header */
.cfhi-bk,.cfhi-pt{display:none}
@media(max-width:599px){
html body.cfhi-m.cfhi-sub .hd .hd-in{display:grid!important;grid-template-columns:44px 1fr auto!important;align-items:center;gap:4px;min-height:56px;padding:0 8px!important}
html body.cfhi-m.cfhi-sub .hd .hd-in>.brand{display:none!important}
html body.cfhi-m.cfhi-sub .hd .hd-in>nav.main{position:absolute!important;width:1px;height:1px;overflow:hidden}
html body.cfhi-m.cfhi-sub .hd .hd-in>.cfhi-lg{grid-column:3;grid-row:1}
html body.cfhi-m.cfhi-sub .hd .cfhi-bk svg{fill:none!important;stroke:currentColor!important}
html body.cfhi-m.cfhi-sub .hd .cfhi-bk{display:flex!important;width:44px;height:44px;align-items:center;justify-content:center;color:#2A1B18;text-decoration:none;border-radius:50%}
html body.cfhi-m.cfhi-sub .hd .cfhi-pt{display:block!important;text-align:center;font-weight:700;font-size:16px;color:#2A1B18;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
}

/* v3aj subpage hero trims (mockup has no eyebrow/lead/breadcrumb) */
@media(max-width:599px){
html body.cfhi-m.cfhi-sub .cfhi-bc{display:none!important}
html body.cfhi-m.cfhi-sub:not(.page-id-11083):not(.page-id-11117) section.hero p.meta,
html body.cfhi-m.cfhi-sub:not(.page-id-11083):not(.page-id-11117) section.hero p.lead{display:none!important}
html body.cfhi-m.cfhi-sub.page-id-11086 section.hero p.lead~div:has(>a.btn),
html body.cfhi-m.cfhi-sub.page-id-11120 section.hero p.lead~div:has(>a.btn){display:none!important}
html body.cfhi-m.cfhi-sub.page-id-11081 section.hero img,
html body.cfhi-m.cfhi-sub.page-id-11116 section.hero img{display:none!important}
html body.cfhi-m section.cfhi-jack{background:#fff!important;border:1px solid #EADFDA!important;box-shadow:none!important}
}

/* v3ak phet-nueng room photos (heritage TH/EN) */
@media(min-width:900px){#phet-nueng-rooms .cfhi-rg{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}}
#phet-nueng-rooms .cfhi-rg{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
#phet-nueng-rooms .cfhi-rg figure{margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
#phet-nueng-rooms .cfhi-rg img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:3/2;object-fit:cover;border-radius:14px!important;background:#EFE7E3;margin:0!important;max-width:none!important}
#phet-nueng-rooms .cfhi-rg figcaption{font-size:14px!important;color:#5B4A45!important;margin-top:8px!important;line-height:1.5!important}
@media(max-width:599px){
#phet-nueng-rooms .cfhi-rg{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;margin:12px 0 0!important;padding:0 0 6px!important;-webkit-overflow-scrolling:touch}
#phet-nueng-rooms .cfhi-rg figure{flex:0 0 84%!important;scroll-snap-align:start}
#phet-nueng-rooms .cfhi-rg figcaption{font-size:13px!important}
}

/* v3al students: room photo strip under the Phet Nueng row */
.cfhi-spph{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 16px 14px 68px}
.cfhi-spph a{display:block;border-radius:10px;overflow:hidden;background:#EFE7E3}
.cfhi-spph img{display:block;width:100%;height:auto;aspect-ratio:7/5;object-fit:cover;margin:0!important;border-radius:0!important}
@media(max-width:599px){.cfhi-spph{gap:6px;padding:0 14px 12px 14px}}
