/* CHI TRANG CHU */
.fx *{box-sizing:border-box}
.fx p{color:var(--txt);margin:0 0 15px;font-weight:300;text-align:left!important}
.fx strong,.fx b{font-weight:600}
.fx a{color:var(--b1);text-decoration:none;transition:.22s}
.fx a:hover{color:var(--b0)}
.fx .col{padding-bottom:0}
.fx .row{margin-left:auto!important;margin-right:auto!important}
.fx.section{padding-left:0!important;padding-right:0!important}
.fx .section-content{padding-left:16px;padding-right:16px}
.fx-top .section-content{padding-left:0!important;padding-right:0!important}
@keyframes fx-blob{0%,100%{transform:translate(0,0) scale(1)}
50%{transform:translate(24px,-18px) scale(1.12)}
}
.fx h1,.fx h3{margin:0 0 14px;letter-spacing:-.2px;text-transform:none;font-family:'Kanit',sans-serif}
.fx .section-title{margin-bottom:16px;text-transform:none!important}
.fx .section-title-container{padding:0!important;max-width:100%!important;margin-bottom:0}
.fx .section-title-normal{display:block!important;text-align:left!important;justify-content:flex-start!important;border-bottom:0!important;padding-bottom:0}
.fx .section-title-normal b{display:none!important}
.fx .section-title-main{padding:0!important;width:auto!important;display:inline!important;border-bottom:0!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important}
.fx .fx-h1 h1{font-size:42px;line-height:1.3;font-weight:600;color:var(--ink)}
.fx .fx-h3 h3{font-size:24px;line-height:1.4;font-weight:600;color:var(--ink)}
.fx-top{background:linear-gradient(180deg,#e6f4ff 0%,#f2f9ff 100%)!important;position:relative}
.fx-hero{background:linear-gradient(180deg,#f2f9ff 0%,#fff 100%)!important;position:relative;overflow:hidden}
.fx-hero:before{content:"";position:absolute;left:50%;top:-110px;width:760px;height:420px;transform:translateX(-50%);background:radial-gradient(ellipse at center,rgba(0,166,255,.22),transparent 68%);pointer-events:none;animation:fx-blob 9s ease-in-out infinite}
.fx-hero:after{content:"";position:absolute;right:-90px;bottom:40px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(124,92,255,.16),transparent 70%);pointer-events:none;animation:fx-blob 11s ease-in-out infinite reverse}
.fx-herobanner{border-radius:var(--r2);overflow:hidden;box-shadow:var(--sh3);position:relative;z-index:2}
.fx-herobanner img{border-radius:var(--r2);display:block;width:100%;transition:transform .6s ease}
.fx-herobanner:hover img{transform:scale(1.02)}
.fx-top .fx-herobanner{width:100%!important;max-width:1160px!important;margin-left:auto!important;margin-right:auto!important}
.fx-card{background:var(--white);border:1px solid var(--line);border-radius:var(--r2);overflow:hidden;box-shadow:var(--sh3);position:relative;z-index:2}
.fx-card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:var(--g-bar);background-size:200% 100%;animation:fx-grad 4s linear infinite;z-index:3}
.fx-hero .row.fx-card{align-items:stretch!important}
.fx-lead p{font-size:15.5px;line-height:1.9}
.page-id-1646 #content.content-area{padding-top:0!important;padding-bottom:0!important}
.page-id-1646 #content{background:#fff}
@media (max-width:849px){
  .fx{font-size:15.5px}
  .fx .fx-h1 h1{font-size:32px}
  .fx .fx-h3 h3{font-size:21px}
  .fx-card{border-radius:18px}
  .fx-herobanner{border-radius:18px}
  .fx-hero:before{width:100%;height:300px}
  .fx-hero:after{display:none}
  .fx-top .fx-herobanner{width:calc(100% - 32px)!important}
  .fx-hero .row.fx-card{align-items:flex-start!important}
}
@media (max-width:549px){
  .fx{font-size:15px;line-height:1.75}
  .fx .fx-h1 h1{font-size:25px;line-height:1.4}
  .fx .fx-h3 h3{font-size:18px}
  .fx-card{border-radius:14px}
  .fx-herobanner{border-radius:14px}
  .fx-lead p{font-size:14.5px;line-height:1.8}
  .fx .section-content{padding-left:12px;padding-right:12px}
  .fx-top .fx-herobanner{width:calc(100% - 24px)!important}
}
@media (max-width:360px){
  .fx .fx-h1 h1{font-size:22px}
  .fx .section-content{padding-left:8px;padding-right:8px}
  .fx-top .fx-herobanner{width:calc(100% - 16px)!important}
}
@media (prefers-reduced-motion:reduce){
  .fx *{animation:none!important;transition:none!important}
  .fx *:before{animation:none!important;transition:none!important}
  .fx *:after{animation:none!important;transition:none!important}
}
.fx .row-slider{background:#f1f4f8;border-radius:20px;padding:22px 10px 8px}
.fx .row-slider .post-item{padding:0 9px 16px}
.fx .post-item .col-inner{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 6px 18px rgba(11,36,71,.08);transition:transform .3s,box-shadow .3s}
.fx .post-item .col-inner:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(11,36,71,.14)}
.fx .post-item .box-image{border-radius:16px 16px 0 0;overflow:hidden}
.fx .post-item .box-image img{transition:transform .5s ease}
.fx .post-item .col-inner:hover .box-image img{transform:scale(1.05)}
.fx .post-item .badge.post-date{display:none}
@container (max-width:240px){
  .fx .post-item .from_the_blog_excerpt{min-height:3.4em}
}
.fx .post-item .box-text{padding:16px 18px 18px!important;text-align:left}
.fx .post-item .post-title{min-height:3em;font-family:'Kanit',sans-serif;font-size:17px!important;line-height:1.5;font-weight:600;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fx .post-item .post-title a{color:#0b2447!important;transition:.2s}
.fx .post-item .post-title a:hover{color:#0a86e0!important}
.fx .post-item .is-divider{display:none}
.fx .post-item .post-meta{font-size:13px;color:#8496ad!important;opacity:1;font-weight:300;margin:0 0 8px}
.fx .post-item .from_the_blog_excerpt{min-height:5.1em;font-size:14px;line-height:1.7;color:#42586f!important;font-weight:300;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fx .row-slider .flickity-prev-next-button{top:32%!important;bottom:auto!important;width:52px!important;height:52px!important;margin:-26px 0 0!important;padding:0;border-radius:50%;border:0;background:rgba(30,41,59,.6);color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:1!important;transform:none!important;box-shadow:0 6px 16px rgba(0,0,0,.18);transition:background .25s}
.fx .row-slider .flickity-prev-next-button.previous{left:4px!important}
.fx .row-slider .flickity-prev-next-button.next{right:4px!important}
.fx .row-slider .flickity-prev-next-button:hover{background:#0047c2}
.fx .row-slider .flickity-prev-next-button svg{position:absolute;left:32%;top:32%;width:36%;height:36%;padding:0;fill:#fff}
.fx .row-slider .flickity-prev-next-button:disabled{opacity:.35!important}
@media (max-width:549px){
  .fx .row-slider{padding:16px 4px 6px;border-radius:16px}
  .fx .row-slider .post-item{padding:0 6px 12px}
  .fx .row-slider .flickity-prev-next-button{width:40px!important;height:40px!important;margin-top:-20px!important}
  .fx .post-item .post-title{font-size:15.5px!important}
  .fx .post-item .from_the_blog_excerpt{font-size:13.5px}
}
.fx .fx-pad{padding:30px 32px 28px}
.fx .fx-row{margin-bottom:26px}
.fx .fx-row:last-child{margin-bottom:0}
.fx-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;margin:18px 0 0}
.fx-cards>.fx-item{height:100%}
.fx-cards>p:empty{display:none}
@media (max-width:849px){
  .fx .fx-pad{padding:24px 22px 22px}
}
@media (max-width:549px){
  .fx-cards{grid-template-columns:1fr;gap:14px}
  .fx .fx-pad{padding:20px 16px 18px}
  .fx .fx-row{margin-bottom:16px}
}
