.elementor-44858 .elementor-element.elementor-element-550ci3b:not(.elementor-motion-effects-element-type-background), .elementor-44858 .elementor-element.elementor-element-550ci3b > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;background-image:url("https://www.iccs.ac.th/wp-content/uploads/2026/02/duotone.png");background-size:cover;}.elementor-44858 .elementor-element.elementor-element-550ci3b > .elementor-container{min-height:400px;}.elementor-44858 .elementor-element.elementor-element-550ci3b{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-44858 .elementor-element.elementor-element-550ci3b > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-44858 .elementor-element.elementor-element-701bd97{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:-250px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-44858 .elementor-element.elementor-element-6088e31 > .elementor-widget-container{margin:0px 0px 0px 400px;}.elementor-44858 .elementor-element.elementor-element-6088e31{text-align:left;}.elementor-44858 .elementor-element.elementor-element-6088e31 .elementor-heading-title{font-size:55px;color:#FFFFFF;}.elementor-44858 .elementor-element.elementor-element-40abd08{--spacer-size:30px;}.elementor-44858 .elementor-element.elementor-element-3ac7197 > .elementor-widget-container{margin:0px 0px 0px 400px;}.elementor-44858 .elementor-element.elementor-element-3ac7197{text-align:left;}.elementor-44858 .elementor-element.elementor-element-3ac7197 .elementor-heading-title{font-size:25px;color:#FFFFFF;}.elementor-44858 .elementor-element.elementor-element-f64ae9b{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:10px 10px;--row-gap:10px;--column-gap:10px;--flex-wrap:wrap;--margin-top:3rem;--margin-bottom:3rem;--margin-left:0rem;--margin-right:0rem;--padding-top:52px;--padding-bottom:0px;--padding-left:0px;--padding-right:15px;}.elementor-44858 .elementor-element.elementor-element-0650fd1{--display:flex;}@media(max-width:767px){.elementor-44858 .elementor-element.elementor-element-f64ae9b{--padding-top:110px;--padding-bottom:100px;--padding-left:15px;--padding-right:15px;}}@media(min-width:768px){.elementor-44858 .elementor-element.elementor-element-f64ae9b{--content-width:1140px;}}@media(min-width:1367px){.elementor-44858 .elementor-element.elementor-element-550ci3b:not(.elementor-motion-effects-element-type-background), .elementor-44858 .elementor-element.elementor-element-550ci3b > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-attachment:fixed;}}/* Start custom CSS for html, class: .elementor-element-52fb73f *//* ====== กำหนดฟอนต์หลักให้เหมือนข้อความด้านบน ====== */
.research-readmore {
  max-width: 880px;
  margin: auto;
  position: relative;

  font-family: 'Sarabun','Prompt',sans-serif;
}

/* ====== เนื้อหา ====== */
.research-text {
  font-family: inherit;     /* สำคัญมาก */
  font-size: 1.05rem;       /* เท่ากับข้อความอธิบายด้านบน */
  line-height: 1.8;
  color: #374151;           /* โทนเดียวกับ office-header */

  text-align: justify;
  text-justify: inter-word;

  max-height: 9.2em;
  overflow: hidden;
  position: relative;

  transition: max-height 0.6s ease;
}

/* fade ท้ายข้อความ */
.research-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3em;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    #ffffff
  );
}

/* ตอนเปิด */
.research-readmore.active .research-text {
  max-height: 2000px;
}

.research-readmore.active .research-text::after {
  display: none;
}

/* ====== ปุ่ม ====== */
.research-btn {
  margin-top: 20px;

  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #1f2937;

  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;

  padding: 10px 22px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  cursor: pointer;
  transition: all 0.25s ease;
}

.research-btn:hover {
  border-color: #1e3a8a;
  color: #1e3a8a;
  background: rgba(30,58,138,0.05);
}

.research-btn .btn-arrow {
  font-size: 0.75rem;
}

/* มือถือ: ไม่ justify */
@media (max-width: 768px) {
  .research-text {
    text-align: left;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-e31f461 */.research-office {
  max-width: 1200px;
  margin: 120px auto;
  padding: 0 20px;
  font-family: 'Sarabun','Prompt',sans-serif;
}

/* ================= Header ================= */
.office-header {
  margin-bottom: 64px;
}

.office-eyebrow {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1e3a8a;
  font-weight: 600;
  margin-bottom: 10px;
}

.office-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.office-header p {
  max-width: 780px;
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.8;
}

/* ================= Grid ================= */
.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 32px;
}

/* ================= Card ================= */
.office-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all .35s ease;
}

.office-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,.08);
}

/* Image */
.office-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Body */
.office-body {
  padding: 26px 26px 30px;
}

.office-body h3 {
  font-size: 1.2rem;
  color: #111827;
  margin-bottom: 10px;
}

.office-body p {
  font-size: .95rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 18px;
}

.office-body a {
  font-size: .95rem;
  font-weight: 600;
  color: #1e3a8a;
  text-decoration: none;
}

.office-body a:hover {
  text-decoration: underline;
}

/* ================= Highlight ================= */
.office-card.highlight {
  border: 2px solid #1e3a8a;
  background: linear-gradient(180deg,#ffffff,#f8fafc);
}

.office-card.highlight h3 {
  color: #1e3a8a;
}

.btn-primary {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #1e3a8a;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary:hover {
  background: #172554;
}

/* ป้องกัน header theme เดิม */
.research-office .office-header {
  position: static !important;
}

/* ================= Header ================= */
.office-header {
  margin-bottom: 64px;
  text-align: center;          /* จัดข้อความตรงกลาง */
}

.office-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.office-header p {
  max-width: 780px;
  margin: 0 auto;              /* ทำให้ block อยู่กลางจริง */
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.8;
}/* End custom CSS */