@charset "utf-8";
@import "style_font.css";
@import "bootstrap-icons.css";
@import "/fonts/icomoon/style.css";
@import "/fonts/flaticon/font/flaticon.css";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');

:root {
  --bs-blue: #263D9D;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #263D9D;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 48, 110, 232;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-font-sans-serif: "Work Sans", sans-serif;
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-font-noto-sans-thai: "Noto Sans Thai", "Open Sans", sans-serif;
  --bs-font-cs-chat-thai-ui: "CSChatThaiUI", "Open Sans", sans-serif;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-cs-chat-thai-ui);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-link-color: #0d6efd;
  --bs-link-color-rgb: 13, 110, 253;
  --bs-link-decoration: none;
  --bs-link-hover-color: #263D9D;
  --bs-link-hover-color-rgb: 38, 61, 157;
  --bs-alt-red: rgb(158, 54, 61);
  --bs-alt-red-rgb: 158, 54, 61;}

.btn-primary,
.btn.btn-outline-primary {
  --bs-btn-hover-bg: #263D9D;
  --bs-btn-hover-border-color: #263D9D;
}
.btn.btn-outline-primary {
  --bs-btn-border-color: #bbb;
}
.btn-orange {
  --bs-btn-color: #000;
  --bs-btn-bg: #fd7e14;
  --bs-btn-border-color: #fd7e14;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #ffca2c;
  --bs-btn-hover-border-color: #ffc720;
  --bs-btn-focus-shadow-rgb: 217, 164, 6;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #ffcd39;
  --bs-btn-active-border-color: #ffc720;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #fd7e14;
  --bs-btn-disabled-border-color: #fd7e14;
}

.call-us {
  color: #000; }
  @media (max-width: 991.98px) {
    .call-us {
      display: none !important; } }
  .call-us [class^="icon-"] {
    color: #000;
    width: 40px;
    height: 40px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 40px;
    flex: 0 0 40px;
    line-height: 36px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    margin-right: 10px;
    text-align: center;
    border: 2px solid transparent;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
  .call-us:hover {
    color: #000; }
    .call-us:hover [class^="icon-"] {
      background: transparent;
      border: 2px solid #000; }

.logo {
  font-size: 24px;
  /* color: #fff; */
  font-weight: 700; }
  .logo span {
    color: rgba(255, 255, 255, 0.5) !important; }
  .logo:hover {
    color: #263D9D; }

.site-nav {
  /* position: absolute; */
  top: 0;
  padding: 8px 0;
  z-index: 9;
  width: 100%;
  background-color: #fff;
  font-family: var(--bs-font-noto-sans-thai);
  box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.1);
  -webkit-box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.1); }

  .site-nav h1, .site-nav .h1 {
    margin: 0;
    padding: 0;
    font-size: 24px; }
  .site-nav .site-navigation .site-menu {
    display: inline-block;
    margin-bottom: 0; }
    .site-nav .site-navigation .site-menu > li {
      display: inline-block; }
      .site-nav .site-navigation .site-menu > li > a {
        font-size: 16px;
        padding: 10px 10px;
        display: inline-block;
        text-decoration: none !important;
        color: rgba(0, 0, 0, 0.7); }
        .site-nav .site-navigation .site-menu > li > a:hover {
          color: #9E363D; }
      .site-nav .site-navigation .site-menu > li.active > a {
        color: #9E363D; }
    .site-nav .site-navigation .site-menu .has-children {
      position: relative; }
      .site-nav .site-navigation .site-menu .has-children > a {
        position: relative;
        padding-right: 20px; }
        .site-nav .site-navigation .site-menu .has-children > a:before {
          position: absolute;
          content: "\e313";
          font-size: 16px;
          top: 50%;
          right: 0;
          -webkit-transform: translateY(-50%);
          -ms-transform: translateY(-50%);
          transform: translateY(-50%);
          font-family: 'icomoon'; }
      .site-nav .site-navigation .site-menu .has-children .dropdown {
        visibility: hidden;
        opacity: 0;
        top: 100%;
        z-index: 999;
        position: absolute;
        text-align: left;
        -webkit-box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        margin-top: 20px;
        margin-left: 0px;
        background: #fff;
        -webkit-transition: 0.2s 0s;
        -o-transition: 0.2s 0s;
        transition: 0.2s 0s;
        border-radius: 7px; }
        .site-nav .site-navigation .site-menu .has-children .dropdown.arrow-top {
          position: absolute; }
          .site-nav .site-navigation .site-menu .has-children .dropdown.arrow-top:before {
            display: none;
            bottom: 100%;
            left: 20%;
            border: solid transparent;
            content: " ";
            height: 0;
            width: 0;
            position: absolute;
            pointer-events: none; }
          .site-nav .site-navigation .site-menu .has-children .dropdown.arrow-top:before {
            display: none;
            border-color: rgba(136, 183, 213, 0);
            border-bottom-color: #fff;
            border-width: 10px;
            margin-left: -10px; }
        .site-nav .site-navigation .site-menu .has-children .dropdown a {
          font-size: 15px;
          text-transform: none;
          letter-spacing: normal;
          -webkit-transition: 0s all;
          -o-transition: 0s all;
          transition: 0s all;
          color: #000; }
        .site-nav .site-navigation .site-menu .has-children .dropdown .active a {
          color: #9E363D !important; }
        .site-nav .site-navigation .site-menu .has-children .dropdown > li {
          list-style: none;
          padding: 0;
          margin: 0;
          /* min-width: 180px; */
          min-width: max-content;
          position: relative; white-space-collapse: collapse;}
          .site-nav .site-navigation .site-menu .has-children .dropdown > li > a {
            padding: 5px 20px;
            display: block; }
            .site-nav .site-navigation .site-menu .has-children .dropdown > li > a:hover {
              color: #9E363D; }
          .site-nav .site-navigation .site-menu .has-children .dropdown > li.has-children > a:before {
            content: "\e315";
            right: 20px; }
          .site-nav .site-navigation .site-menu .has-children .dropdown > li.has-children > .dropdown, .site-nav .site-navigation .site-menu .has-children .dropdown > li.has-children > ul {
            left: 100%;
            top: 0; }
            .site-nav .site-navigation .site-menu .has-children .dropdown > li.has-children > .dropdown li a:hover, .site-nav .site-navigation .site-menu .has-children .dropdown > li.has-children > ul li a:hover {
              color: #9E363D; }
          .site-nav .site-navigation .site-menu .has-children .dropdown > li.has-children:hover > a, .site-nav .site-navigation .site-menu .has-children .dropdown > li.has-children:active > a, .site-nav .site-navigation .site-menu .has-children .dropdown > li.has-children:focus > a {
            color: #9E363D; }
      .site-nav .site-navigation .site-menu .has-children:hover > a, .site-nav .site-navigation .site-menu .has-children:focus > a, .site-nav .site-navigation .site-menu .has-children:active > a {
        color: #9E363D; }
      .site-nav .site-navigation .site-menu .has-children:hover, .site-nav .site-navigation .site-menu .has-children:focus, .site-nav .site-navigation .site-menu .has-children:active {
        cursor: pointer; }
        .site-nav .site-navigation .site-menu .has-children:hover > .dropdown, .site-nav .site-navigation .site-menu .has-children:focus > .dropdown, .site-nav .site-navigation .site-menu .has-children:active > .dropdown {
          -webkit-transition-delay: 0s;
          -o-transition-delay: 0s;
          transition-delay: 0s;
          margin-top: 0px;
          visibility: visible;
          opacity: 1; }

.site-mobile-menu-close {
  display: block;
  position: relative;
  height: 30px;
  width: 30px;
  z-index: 99;
  cursor: pointer;
  top: -20px; }
  .site-mobile-menu-close > span {
    cursor: pointer;
    display: block;
    position: absolute;
    height: 30px;
    width: 30px; }
    .site-mobile-menu-close > span:before, .site-mobile-menu-close > span:after {
      position: absolute;
      content: "";
      width: 2px;
      height: 30px;
      background: #000; }
    .site-mobile-menu-close > span:before {
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg); }
    .site-mobile-menu-close > span:after {
      -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      transform: rotate(-45deg); }

.site-mobile-menu {
  width: 300px;
  position: fixed;
  right: 0;
  z-index: 2000;
  padding-top: 20px;
  background: #fff;
  height: calc(100vh);
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: 0.8s all cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition: 0.8s all cubic-bezier(0.23, 1, 0.32, 1);
  transition: 0.8s all cubic-bezier(0.23, 1, 0.32, 1); }
  .offcanvas-menu .site-mobile-menu {
    -webkit-box-shadow: -10px 0 20px -10px rgba(0, 0, 0, 0.1);
    box-shadow: -10px 0 20px -10px rgba(0, 0, 0, 0.1);
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%); }
  .site-mobile-menu .site-mobile-menu-header {
    width: 100%;
    float: left;
    padding-left: 20px;
    padding-right: 20px; }
    .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close {
      float: right;
      margin-top: 8px; }
      .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close span {
        font-size: 30px;
        display: inline-block;
        padding-left: 10px;
        padding-right: 0px;
        line-height: 1;
        cursor: pointer;
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease; }
    .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo {
      float: left;
      margin-top: 10px;
      margin-left: 0px; }
      .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a {
        display: inline-block;
        text-transform: uppercase; }
        .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a img {
          max-width: 70px; }
        .site-mobile-menu .site-mobile-menu-header .site-mobile-menu-logo a:hover {
          text-decoration: none; }
  .site-mobile-menu .site-mobile-menu-body {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding: 0 20px 20px 20px;
    height: calc(100vh - 52px);
    padding-bottom: 150px; }
  .site-mobile-menu .site-nav-wrap {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative; }
    .site-mobile-menu .site-nav-wrap a {
      padding: 5px 20px;
      display: block;
      position: relative;
      color: #000; }
      .site-mobile-menu .site-nav-wrap a:hover {
        color: #9E363D; }
    .site-mobile-menu .site-nav-wrap li {
      position: relative;
      display: block; }
      .site-mobile-menu .site-nav-wrap li.active > a {
        color: #9E363D; }
    .site-mobile-menu .site-nav-wrap .arrow-collapse {
      position: absolute;
      right: 0px;
      top: 0px;
      z-index: 20;
      width: 36px;
      height: 36px;
      text-align: center;
      cursor: pointer;
      border-radius: 50%;
      border: 1px solid #f8f9fa; }
      .site-mobile-menu .site-nav-wrap .arrow-collapse:before {
        font-size: 14px;
        z-index: 20;
        font-family: "icomoon";
        content: "\e313";
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%) rotate(-180deg);
        -ms-transform: translate(-50%, -50%) rotate(-180deg);
        transform: translate(-50%, -50%) rotate(-180deg);
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease; }
      .site-mobile-menu .site-nav-wrap .arrow-collapse.collapsed:before {
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%); }
    .site-mobile-menu .site-nav-wrap > li {
      display: block;
      position: relative;
      float: left;
      width: 100%; }
      .site-mobile-menu .site-nav-wrap > li > a {
        padding-left: 20px;
        font-size: 14px; }
      .site-mobile-menu .site-nav-wrap > li > ul {
        padding: 0;
        margin: 0;
        list-style: none; }
        .site-mobile-menu .site-nav-wrap > li > ul > li {
          display: block; }
          .site-mobile-menu .site-nav-wrap > li > ul > li > a {
            padding-left: 40px;
            font-size: 14px; }
          .site-mobile-menu .site-nav-wrap > li > ul > li > ul {
            padding: 0;
            margin: 0; }
            .site-mobile-menu .site-nav-wrap > li > ul > li > ul > li {
              display: block; }
              .site-mobile-menu .site-nav-wrap > li > ul > li > ul > li > a {
                font-size: 14px;
                padding-left: 60px; }

.sticky-wrapper {
  position: absolute;
  z-index: 100;
  width: 100%; }
  .sticky-wrapper .site-navbar {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
  .sticky-wrapper .site-navbar .site-menu-toggle {
    color: #000; }
  .sticky-wrapper .site-navbar .site-logo a {
    color: #000; }
  .sticky-wrapper .site-navbar .site-menu > li > a {
    color: rgba(0, 0, 0, 0.8) !important; }
    .sticky-wrapper .site-navbar .site-menu > li > a:hover, .sticky-wrapper .site-navbar .site-menu > li > a.active {
      color: #000 !important; }
  .sticky-wrapper.is-sticky .burger:before, .sticky-wrapper.is-sticky .burger span, .sticky-wrapper.is-sticky .burger:after {
    background: #000;
    -webkit-transition: .0s all ease;
    -o-transition: .0s all ease;
    transition: .0s all ease; }
  .sticky-wrapper.is-sticky .site-navbar {
    background: #000;
    border-bottom: 1px solid transparent;
    -webkit-box-shadow: 4px 0 20px -5px rgba(0, 0, 0, 0.1);
    box-shadow: 4px 0 20px -5px rgba(0, 0, 0, 0.1); }
    .sticky-wrapper.is-sticky .site-navbar .site-logo a {
      color: #000 !important; }
    .sticky-wrapper.is-sticky .site-navbar .site-menu > li > a {
      color: #000 !important; }
      .sticky-wrapper.is-sticky .site-navbar .site-menu > li > a:hover, .sticky-wrapper.is-sticky .site-navbar .site-menu > li > a.active {
        color: #9E363D !important; }
    .sticky-wrapper.is-sticky .site-navbar .site-menu > li.active a {
      color: #9E363D !important; }
  .sticky-wrapper .shrink {
    padding-top: 0px !important;
    padding-bottom: 0px !important; }

/* Burger */
.burger {
  width: 28px;
  height: 32px;
  cursor: pointer;
  position: relative; }
  .burger.light:before, .burger.light span, .burger.light:after {
    background: #000; }

.burger:before, .burger span, .burger:after {
  width: 100%;
  height: 2px;
  display: block;
  background: #000;
  border-radius: 2px;
  position: absolute;
  opacity: 1; }

.burger:before, .burger:after {
  -webkit-transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  content: ""; }

.burger:before {
  top: 4px; }

.burger span {
  top: 15px; }

.burger:after {
  top: 26px; }

/* Hover */
.burger:hover:before {
  top: 7px; }

.burger:hover:after {
  top: 23px; }

/* Click */
.burger.active span {
  opacity: 0; }

.burger.active:before, .burger.active:after {
  top: 40%; }

.burger.active:before {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=5);
  /*for IE*/ }

.burger.active:after {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=-5);
  /*for IE*/ }

.burger:focus {
  outline: none; }

body {
  /* font-family: "Work Sans", sans-serif; */
  font-family: var(--bs-font-cs-chat-thai-ui);
  font-weight: 400;
  font-size: 15px;
  overflow-x: hidden;
  color: #848d92;
  position: relative; }
  body:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    opacity: 0;
    visibility: hidden; }
  body.offcanvas-menu:before {
    opacity: 1;
    visibility: visible; }

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, .logo {
  font-family: var(--bs-font-noto-sans-thai);
  color: var(--bs-primary);
  /* font-family: "Work Sans", sans-serif; */ }

a, .btn {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  text-decoration: none; }

.btn {
  padding: 15px 20px;
  border-radius: 4px;
  border-color: none;
  font-family: var(--bs-font-noto-sans-thai);
  /* font-size: 12px; */
  font-weight: 500;
  letter-spacing: .1rem;
  text-transform: uppercase; }
  .btn.active, .btn:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none; }
  .btn.btn-primary {
    color: #fff;
    background-color: #263D9D; }
    .btn.btn-primary:hover {
      border-color: #0d6efd;
      background-color: #0d6efd;}
  .btn.btn-outline-primary {
    color: #9E363D; }
    .btn.btn-outline-primary:hover {
      color: #fff; }
  .btn.btn-outline-white {
    border-color: #fff;
    color: #fff; }
    .btn.btn-outline-white:hover {
      background-color: #fff;
      color: #000; }
  .btn.btn-outline-white-reverse {
    background-color: #fff;
    border-color: #fff;
    color: #9E363D; }
    .btn.btn-outline-white-reverse:hover {
      background: transparent;
      border-color: #fff;
      color: #fff; }
  .btn.btn-black {
    background: #000;
    color: #fff;
    border-color: #000; }
    .btn.btn-black:hover {
      border-color: #0d0d0d;
      background: #0d0d0d;
      color: #fff; }
  .btn.has-arrow {
    padding-right: 50px;
    position: relative; }
    .btn.has-arrow [class^="icon-"] {
      position: absolute;
      right: 20px;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%); }

.form-control {
  height: 54px;
  border-color: rgba(0, 0, 0, 0.1);
  background-color: transparent !important;
  margin-bottom: 10px; }
  .form-control:active, .form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.2) !important; }
  .form-control::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.7); }
  .form-control::-moz-placeholder {
    color: rgba(0, 0, 0, 0.7); }
  .form-control:-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.7); }
  .form-control:-moz-placeholder {
    color: rgba(0, 0, 0, 0.7); }

textarea {
  height: auto !important; }

#overlayer {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 7100;
  background: #fff;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0; }

.loader {
  z-index: 7700;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%); }

.relative {
  position: relative; }

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #263D9D;
  /* background: #9E363D;
  background: -webkit-linear-gradient(310deg, #9E363D 0%, #3038e8 100%);
  background: -o-linear-gradient(310deg, #9E363D 0%, #3038e8 100%);
  background: linear-gradient(140deg, #9E363D 0%, #3038e8 100%); */
  overflow: hidden; }
  .hero .blob {
    position: absolute;
    right: -5%;
    top: 75%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 900px; }
  .hero .img-wrap img {
    -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.1); }
  .hero, .hero > .container > .row {
    height: 75vh;
    min-height: 480px; }
    @media (max-width: 991.98px) {
      .hero, .hero > .container > .row {
        height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem; } }
  .hero.inner-page, .hero.inner-page > .container > .row {
    height: 50vh;
    min-height: 450px; }
    @media (max-width: 991.98px) {
      .hero.inner-page, .hero.inner-page > .container > .row {
        height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem; } }
  .hero.overlay {
    position: relative; }
    .hero.overlay:before {
      display: none;
      background-color: rgba(0, 0, 0, 0.4);
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      top: 0;
      z-index: 1; }
  .hero > .container {
    position: relative;
    z-index: 2; }
  .hero .heading {
    color: #000;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600; }
  .hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8) !important; }

.section {
  padding-top: 4rem;
  padding-bottom: 4rem; }
  .section .heading {
    font-size: 30px;
    font-weight: 700; }

.sec-features {
  background-color: #263D9D;
  /* background: #9E363D;
  background: -webkit-linear-gradient(310deg, #9E363D 0%, #3038e8 100%);
  background: -o-linear-gradient(310deg, #9E363D 0%, #3038e8 100%);
  background: linear-gradient(140deg, #9E363D 0%, #3038e8 100%); */
  overflow: hidden; }
  .sec-features .feature [class^="bi-"] {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60px;
    flex: 0 0 60px;
    font-size: 50px;
    position: relative;
    margin-right: 10px; }
    .sec-features .feature [class^="bi-"]:before {
      color: #fff;
      transition: color 0.3s ease;
      z-index: 2;
      position: relative; }
    .sec-features .feature [class^="bi-"]:after {
      content: "";
      position: absolute;
      z-index: 1;
      left: -10px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(108, 117, 125, 0.1); }
  .sec-features .feature h3, .sec-features .feature .h3 {
    font-size: 18px;
    font-weight: 400;
    color: #fff; }
  .sec-features .feature p {
    color: rgba(255, 255, 255, 0.7); }
    .sec-features .feature p:last-child {
      margin-bottom: 0; }

.sec-services {
  background: rgba(0, 0, 0, 0.05); }

.service {
  padding: 40px;
  margin-bottom: 25px;
  border-radius: 4px;
  background: #fff; }
  .service [class^="bi-"] {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60px;
    flex: 0 0 60px;
    font-size: 50px;
    position: relative;
    margin-right: 10px;
    margin-bottom: 20px;
    display: inline-block; }
    .service [class^="bi-"]:before {
      color: #9E363D;
      z-index: 2;
      position: relative; }
    .service [class^="bi-"]:after {
      content: "";
      position: absolute;
      z-index: 1;
      left: -10px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(108, 117, 125, 0.05); }
  .service h3, .service .h3 {
    color: #000;
    font-size: 18px; }

.sec-cta {
  background-size: cover;
  background-position: 100% center;
  background-repeat: no-repeat;
  background-attachment: fixed; }
  .sec-cta.overlay {
    position: relative; }
    .sec-cta.overlay:before {
      background-color: #263D9D;
      /* background: #9E363D;
      background: -webkit-linear-gradient(310deg, #9E363D 0%, #3038e8 100%);
      background: -o-linear-gradient(310deg, #9E363D 0%, #3038e8 100%);
      background: linear-gradient(140deg, #9E363D 0%, #3038e8 100%); */
      opacity: .9;
      overflow: hidden;
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      top: 0;
      z-index: 1; }
  .sec-cta > .container {
    position: relative;
    z-index: 2; }
  .sec-cta .heading {
    color: #fff; }
  .sec-cta p {
    color: #fff; }

.post-slider-wrap, .testimonial-slider-wrap {
  position: relative; }
  .post-slider-wrap .tns-inner, .testimonial-slider-wrap .tns-inner {
    padding-bottom: 15px; }
  .post-slider-wrap .tns-nav, .testimonial-slider-wrap .tns-nav {
    position: absolute;
    left: 50%;
    z-index: 9;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: -15px; }
    .post-slider-wrap .tns-nav button, .testimonial-slider-wrap .tns-nav button {
      background: none;
      border: none;
      margin: 3px;
      height: 7px;
      position: relative; }
      .post-slider-wrap .tns-nav button:active, .post-slider-wrap .tns-nav button:focus, .testimonial-slider-wrap .tns-nav button:active, .testimonial-slider-wrap .tns-nav button:focus {
        outline: none; }
      .post-slider-wrap .tns-nav button:before, .testimonial-slider-wrap .tns-nav button:before {
        position: absolute;
        content: "";
        width: 7px;
        height: 7px;
        display: inline-block;
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.5) !important;
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease; }
      .post-slider-wrap .tns-nav button.tns-nav-active:before, .testimonial-slider-wrap .tns-nav button.tns-nav-active:before {
        background-color: #000 !important;
        height: 7px; }

.card {
  border: none;
  -webkit-box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.05); }
  .card .card-body {
    padding: 20px; }
    .card .card-body h5, .card .card-body .h5 {
      color: #000; }
    .card .card-body p {
      color: #848d92; }

.sec-halfs .half-content > div {
  width: 50%; }
  @media (max-width: 991.98px) {
    .sec-halfs .half-content > div {
      width: 100%; } }

.sec-halfs .half-content .img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center; }
  @media (max-width: 991.98px) {
    .sec-halfs .half-content .img {
      height: 450px; } }

.sec-halfs .half-content .text {
  padding: 90px; }
  @media (max-width: 991.98px) {
    .sec-halfs .half-content .text {
      padding: 30px; } }

.sec-halfs .half-content .heading {
  font-weight: 600; }

.testimonial-half > div {
  width: 50%; }
  @media (max-width: 991.98px) {
    .testimonial-half > div {
      width: 100%; } }

.testimonial-half .img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center; }
  @media (max-width: 991.98px) {
    .testimonial-half .img {
      height: 250px; } }

.testimonial-half .text {
  padding: 90px; }
  @media (max-width: 991.98px) {
    .testimonial-half .text {
      padding: 30px; } }
  .testimonial-half .text blockquote p {
    color: #000;
    font-size: 18px;
    font-family: 'Georgia', serif;
    font-style: italic; }
  .testimonial-half .text .author {
    margin-top: 50px; }
    .testimonial-half .text .author strong {
      color: #000; }

.post-entry {
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.1); }
  .post-entry .date {
    letter-spacing: .05rem;
    margin-bottom: 10px;
    display: block; }
  .post-entry h5, .post-entry .h5 {
    margin-bottom: 15px; }
    .post-entry h5 a:hover, .post-entry .h5 a:hover {
      color: #9E363D; }

.contact-info i {
  font-size: 20px;
  float: left;
  width: 44px;
  height: 44px;
  background: #9E363D;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 50px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  color: #fff; }

.contact-info h4, .contact-info .h4 {
  font-size: 18px;
  padding: 0 0 0 60px; }

.contact-info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px; }

.service-alt [class^="bi-"] {
  color: #9E363D;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 22px;
  margin-bottom: 0;
  background: #fff;
  display: inline-block;
  text-align: center;
  border-radius: 4px;
  -webkit-box-shadow: 0 5px 30px -5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 30px -5px rgba(0, 0, 0, 0.1); }

.service-alt h3, .service-alt .h3 {
  font-size: 20px;
  color: #000; }

.article {
  margin-bottom: 90px; }
  @media (max-width: 767.98px) {
    .article {
      margin-bottom: 50px; } }
  .article h1, .article .h1, .article h2, .article .h2, .article h3, .article .h3, .article h4, .article .h4, .article h5, .article .h5 {
    color: #000;
    margin-top: 30px; }
  .article .share {
    top: 20px; }
    .article .share h3, .article .share .h3 {
      font-size: 12px; }
      @media (max-width: 767.98px) {
        .article .share h3, .article .share .h3 {
          display: inline-block; } }
    .article .share .share-article {
      width: 100%; }
      .article .share .share-article li {
        width: 100%;
        display: block;
        margin-bottom: 10px; }
        @media (max-width: 767.98px) {
          .article .share .share-article li {
            display: inline !important; } }
        .article .share .share-article li a {
          display: block;
          width: 40px;
          height: 40px;
          border-radius: 50%;
          position: relative;
          color: #000;
          border: 1px solid #efefef; }
          @media (max-width: 767.98px) {
            .article .share .share-article li a {
              display: inline-block !important; } }
          .article .share .share-article li a span {
            position: absolute;
            top: 50%;
            left: 50%;
            -webkit-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%); }

.comment-form-wrap {
  clear: both; }

.comment-list {
  padding: 0;
  margin: 0; }
  .comment-list .children {
    padding: 50px 0 0 40px;
    margin: 0;
    float: left;
    width: 100%; }
  .comment-list li {
    padding: 0;
    margin: 0 0 30px 0;
    float: left;
    width: 100%;
    clear: both;
    list-style: none; }
    .comment-list li .vcard {
      width: 80px;
      float: left; }
      .comment-list li .vcard img {
        width: 50px;
        border-radius: 50%; }
    .comment-list li .comment-body {
      float: right;
      width: calc(100% - 80px); }
      .comment-list li .comment-body h3, .comment-list li .comment-body .h3 {
        font-size: 20px; }
      .comment-list li .comment-body .meta {
        text-transform: uppercase;
        font-size: 13px;
        letter-spacing: .1em;
        color: #ccc;
        margin-bottom: 20px; }
      .comment-list li .comment-body .reply {
        padding: 7px 12px;
        background: #cccccc;
        color: #fff;
        text-transform: uppercase;
        border-radius: 30px;
        font-size: 10px;
        font-weight: 900;
        letter-spacing: .1rem; }
        .comment-list li .comment-body .reply:hover {
          color: #fff;
          background: #8c8c8c; }

.meta a {
  color: rgba(255, 255, 255, 0.7); }
  .meta a:hover {
    color: #fff; }

.post-single-navigation a {
  line-height: 1.5;
  border: 1px solid #efefef;
  background-color: transparent;
  padding: 30px;
  width: 48% !important;
  border-radius: 4px;
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: inline-block; }
  .post-single-navigation a span {
    margin-bottom: 10px;
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4); }

.section-latest {
  padding-top: 100px;
  padding-bottom: 100px !important; }

.floating-block {
  background: #fff;
  -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
  width: 100%;
  padding: 20px;
  top: 20px; }
  .floating-block h2, .floating-block .h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0; }
  .floating-block h3, .floating-block .h3 {
    font-size: 13px; }

.video-wrap {
  position: relative; }
  .video-wrap .play-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
    .video-wrap .play-wrap > span {
      position: absolute;
      top: 50%;
      left: 50%;
      color: #fff;
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%); }
  .video-wrap:hover .play-wrap {
    width: 60px;
    height: 60px; }

.custom-navigation a, .custom-navigation span {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center; }

.custom-navigation a {
  border-radius: 50%; }
  .custom-navigation a.active {
    background: #9E363D;
    color: #fff; }

.site-footer {
  background-color: #263D9D;
  /* background: #9E363D;
  background: -webkit-linear-gradient(310deg, #9E363D 0%, #3038e8 100%);
  background: -o-linear-gradient(310deg, #9E363D 0%, #3038e8 100%);
  background: linear-gradient(140deg, #9E363D 0%, #3038e8 100%); */
  font-size: 14px;
  padding: 50px 0 30px;
  color: white; }
  .site-footer a {
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    display: inline-block; }
    .site-footer a:hover {
      color: #fff; }
  .site-footer .footer-cta h2, .site-footer .footer-cta .h2 {
    font-size: 30px;
    color: #fff; }
  .site-footer .btn:before {
    display: none; }
  .site-footer .widget {
    margin-bottom: 40px;
    display: block; }
    .site-footer .widget h3, .site-footer .widget .h3 {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: .1rem;
      text-transform: uppercase;
      margin-bottom: 15px;
      color: #fff; }
    /* .site-footer .widget .links {
      width: 150px; } */
      .site-footer .widget .links li {
        margin-bottom: 10px; }
  .site-footer .social li {
    display: inline-block; }
    .site-footer .social li a {
      display: inline-block;
      width: 40px;
      height: 40px;
      position: relative;
      background: #3b4fa6;
      border-radius: 4px;
      color: #fff; }
      .site-footer .social li a:before {
        display: none; }
      .site-footer .social li a > span {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%); }
      .site-footer .social li a:hover {
        background: #fff;
        color: #263D9D; }

.vdo-entry-item .thumbnail {
  margin-bottom: 20px;
  position: relative;
  display: block;
  overflow: hidden; }
  .vdo-entry-item .thumbnail img {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
  .vdo-entry-item .thumbnail .date {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px 30px;
    border-bottom: 2px solid #5577B4;
    background: #fff; }
    .vdo-entry-item .thumbnail .date span {
      color: #5577B4;
      display: block;
      line-height: 1;
      font-weight: 700; }

.vdo-entry-item:hover .thumbnail img {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05); }

.vdo-entry-item .thumbnail-img {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}
.vdo-entry-item:hover .thumbnail-img {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}
.thumbnail-img {
  background-size: cover;
  min-height: 360px;
}
.thumbnail .bi {
  position: absolute;
  font-size: 6rem;
  color: #ffc107;
  left: 50%;
  top: 25%;
  transform: translate(-50%, 20%);
  /* transition: all 0.3s; */
  opacity: 0.7;
  z-index: 2;
}

.feature span,
.feature h3 {
  color: #fff;
  display: inline-block; /* Required for transform to work on a span */
  transition: transform 0.3s ease, color 0.3s ease; /* Controls the speed and smoothness */
}
.feature p {
  color: #6c757d;
  transition: color 0.3s ease;
}
a:hover .feature span {
  transform: translateX(5px); /* Moves the icon 5 pixels RIGHT */
}
a:hover .feature h3 {
  color: var(--bs-info);
  transform: translateX(-8px);  /* Moves text to the LEFT */
}
a:hover .feature p {
  color: #fff;
}
a:hover .feature [class^="bi-"]::before {
  color: var(--bs-info);
}

.service {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.4s ease;
}
.service [class^="bi-"],
.service [class*=" bi-"] {
  display: inline-block;
  /* transition: transform 0.3s ease; */
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
/* Move icon when the user hovers over the service container */
.service:hover [class^="bi-"],
.service:hover [class*=" bi-"] {
  transform: translateY(-10px);
}

.post-entry {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Clips any stray content */
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.4s ease;
}
/* Make card-body expand to push footer links to the bottom */
.post-entry .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* Hide overflow content in the p tag (Limit to ~3 lines) */
.post-entry .card-body p {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3; /* Show only 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-entry:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.post-entry:hover .news-img-wrap img {
  transform: scale(1.1); /* Zooms in by 10% */
}
.post-entry .card-body p:last-child {
  margin-top: auto !important;
  padding-top: 15px;
}
.post-entry .btn {
  font-size: 14px;
}
.news-img-wrap {
  height: 240px;  /* fixed height */
  overflow: hidden;
  position: relative;
}
.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Keeps aspect ratio while filling the box */
  transition: transform 0.4s ease;
}

.hero.hero-sub, .hero.hero-sub > .container > .row {
  height: auto;
  padding-top: 3rem;
  padding-bottom: 0.5rem;
  min-height: fit-content; }
@media (max-width: 991.98px) {
  .hero.hero-sub, .hero.hero-sub > .container > .row {
    height: auto;
    padding-top: 3rem;
    padding-bottom: 0.75rem; } }

.form-control::placeholder {
  color: #aaaaaa;
  opacity: 1;
}
.form-control::-webkit-input-placeholder {
  color: #aaaaaa;
}
.form-control:-moz-placeholder {
  color: #aaaaaa;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #aaaaaa;
}
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  height: 54px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: transparent !important;
  margin-bottom: 10px;
  box-sizing: border-box;
}

input[type="file"].form-control {
  line-height: 54px;
  padding-top: 0;
  padding-bottom: 0;
}

input[type="file"].form-control::file-selector-button {
  height: 54px;
  padding: 0 1rem;
  margin: 0 0.75rem 0 -0.75rem;
  border: none;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f1f1f1;
  color: #333;
  line-height: 54px;
  vertical-align: middle;
}

.form-select{
  height: 54px;
  /* padding: 0.375rem 0.75rem; */
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: transparent !important;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.comment-list li .vcard span {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: var(--bs-alt-red);
  border-radius: 25px;
  color: #fff;
  font-size: 1.5rem;
  font-family: var(--bs-font-noto-sans-thai);
}

.pagination {
  --bs-pagination-padding-x: 1rem;
  --bs-pagination-padding-y: 0.5rem;
  --bs-pagination-active-bg: #9E363D;
  --bs-pagination-active-border-color: transparent;
}

.text-alt-red {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-alt-red-rgb), var(--bs-text-opacity)) !important;
}

.rounded-circle {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  /* width: 200px; */
}

.news-img-wrap {
  position: relative;
  overflow: hidden;
}

.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;

  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 10px 12px;
  font-size: 14px;
  box-sizing: border-box;

  transition: all 0.4s ease-in-out;

  max-height: 35px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-entry:hover .img-caption {
  max-height: 100%;

  -webkit-line-clamp: unset;
  line-clamp: unset;
  display: block;

  background: rgba(0, 0, 0, 0.85);
}

.committee-container {
  /* font-family: 'Sarabun', 'Prompt', sans-serif;
  max-width: 1000px; */
  margin: 0 auto;
  color: #333;
}

.committee-section {
  position: relative;
  /* padding-top: 40px; */
  margin-bottom: 40px;
}

/* .committee-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 5px;
  background-color: #0056b3;
  border-radius: 10px;
} */

.affiliation-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.logo-wrapper {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  margin-right: 20px;
  flex-shrink: 0;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.dept-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dept-name {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.dept-name::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #dee2e6;
}

.dept-name::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #0056b3;
  z-index: 1;
}

.dept-subtitle {
  display: block;
  font-size: 0.95rem;
  color: #7f8c8d;
  margin-top: 5px;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--bs-font-noto-sans-thai);
  font-size: 18px;
  color: #9E363D;
}

.committee-grid li {
  background: #fdfdfd;
  padding: 12px 20px;
  border-radius: 8px;
  border-left: 4px solid #eee;
  transition: all 0.2s ease;
  display: flex;
  align-items: baseline;
}

.committee-grid li:hover {
  border-left-color: #0056b3;
  background: #f0f7ff;
  transform: translateX(5px);
}

.committee-grid li .order-num {
  font-weight: bold;
  color: #0056b3;
  margin-right: 8px;
  /* min-width: 25px; */
}

.committee-grid li.has-download {
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease;
}

.committee-grid a .committee-info {
  color: #9E363D;
}

.committee-grid a:hover .committee-info {
  color: #0056b3;
}

.committee-info {
  display: flex;
  flex-direction: column;
}

.committee-info .name {
  font-weight: 500;
  color: #333;
}

.committee-info .position {
  font-size: 0.85rem;
  color: #888;
}

.download-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.download-indicator {
  color: #ccc;
  transition: all 0.2s ease;
}

.download-wrapper:hover .download-indicator {
  color: #007bff;
  transform: translateX(2px);
}

@media (max-width: 600px) {
  .affiliation-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo-wrapper {
    margin-bottom: 15px;
  }
  .committee-grid {
    grid-template-columns: 1fr;
  }
}

.icon-label {
  height: 1rem;
  width: auto;
  vertical-align: middle;
}

.col-form-label.required:after,
.form-label.required:after {
  content: "*";
  margin-left: 0.25rem;
  color: #d63939;
}

.form-check-label {
  display: block;
}
.form-check-label.required:after {
  content: "*";
  margin-left: 0.25rem;
  color: #d63939;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.person-card-download {
  text-decoration: none !important;
  display: block;
  color: inherit !important;
}

.card-content {
  padding: 30px 20px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #fff;
  transition: all 0.3s ease-in-out;
}

.person-card-download:hover .card-content {
  border: 1px solid #dc3545;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.name-row h5 {
  margin: 0;
  font-weight: 600;
}

.download-icon-circle {
  width: 28px;
  height: 28px;
  background: #f8f9fa;
  color: #dc3545;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.person-card-download:hover .download-icon-circle {
  background: #dc3545;
  color: #ffffff;
  border-color: #dc3545;
}

.card-content img {
  transition: transform 0.4s ease;
}

.person-card-download:hover img {
  transform: scale(1.03);
}

.description {
  line-height: 1.6;
  font-size: 0.95rem;
}