.role-page .pt-20.pb-20 {
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
}

.role-page .pt-20.pb-20 > .container { max-width: 1120px; }

.role-page .tab {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(47, 35, 28, .08);
}

.role-page .tab button {
  flex: 1 1 0;
  min-height: 58px;
  padding: 12px 18px;
  border-radius: 11px;
  color: #172b4d;
  font-family: "Kanit", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.role-page .tab button:hover,
.role-page .tab button:focus-visible {
  background: #fff1e5;
  color: #d95f0b;
}

.role-page .tab button.active {
  background: linear-gradient(135deg, #f47721, #ff9a45);
  box-shadow: 0 6px 14px rgba(244, 119, 33, .25);
  color: #fff;
}

.role-page .tabcontent {
  margin-top: 18px;
  padding: 28px clamp(16px, 3vw, 38px) 34px;
  border: 1px solid #f0dfd1;
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 32px rgba(47, 35, 28, .06);
}

.role-page .mainDiv {
  padding: 0;
  font-family: "Kanit", sans-serif;
  font-size: 16px;
}

.role-page .mainDiv > h1 {
  margin: 14px 0 12px;
  padding: 10px 16px;
  border-left: 4px solid #f47721;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, #fff3e8, transparent);
  color: #172b4d;
  font-size: 1.35rem !important;
  font-weight: 600;
  line-height: 1.45;
}

/* CMS-rendered role content: keep the legacy markup visually identical to contact.php. */
.role-page.contact-page .role-content { background: #f6f8fb; font-family: "Kanit", sans-serif; }
.role-page.contact-page .role-content > .container { max-width: 1120px; }
.role-page.contact-page .tab { display: flex; gap: 8px; padding: 8px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(47, 35, 28, .08); }
.role-page.contact-page .tab button { flex: 1 1 0; min-height: 64px; padding: 12px 16px; border: 1px solid #e1e8f0; border-radius: 12px; background: #fff; color: #172b4d; cursor: pointer; font: inherit; font-size: 16px; font-weight: 400; line-height: 1.35; transition: .2s ease; }
.role-page.contact-page .tab button:hover, .role-page.contact-page .tab button:focus-visible { border-color: #f27621; background: #fff; box-shadow: 0 8px 22px rgba(242, 118, 33, .13); color: #172b4d; outline: none; transform: translateY(-2px); }
.role-page.contact-page .tab button.active { border-color: #f27621; background: linear-gradient(135deg, #f27621, #ff9a4d); box-shadow: 0 10px 24px rgba(242, 118, 33, .22); color: #fff; }
.role-page.contact-page .tabcontent { margin-top: 18px; padding: 28px clamp(16px, 3vw, 38px) 34px; border: 1px solid #f0dfd1; border-radius: 16px; background: rgba(255, 255, 255, .92); box-shadow: 0 12px 32px rgba(47, 35, 28, .06); }
.role-page.contact-page .tabcontent > h1 { margin: 14px 0 12px; padding: 10px 16px; border-left: 4px solid #f47721; border-radius: 0 10px 10px 0; background: linear-gradient(90deg, #fff3e8, transparent); color: #172b4d; font-size: 1.35rem !important; font-weight: 600; line-height: 1.45; }
.role-page.contact-page .expandableCollapsibleDiv { position: relative; overflow: hidden; margin: 10px 0; border: 1px solid #f0dfd1; border-radius: 12px; background: #fff; box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.role-page.contact-page .expandableCollapsibleDiv:hover { border-color: #f0dfd1; box-shadow: 0 9px 25px rgba(30, 55, 90, .1); transform: none; }
.role-page.contact-page .expandableCollapsibleDiv > h1 { position: relative; margin: 0; padding: 13px 18px 13px 52px; color: #172b4d; font-size: 1.1rem !important; font-weight: 500; line-height: 1.5; cursor: pointer; }
.role-page.contact-page .expandableCollapsibleDiv > h1::before { position: absolute; top: 50%; left: 22px; width: 9px; height: 9px; border-right: 2px solid #f47721; border-bottom: 2px solid #f47721; content: ""; transform: translateY(-65%) rotate(-45deg); transition: transform .2s ease; }
.role-page.contact-page .expandableCollapsibleDiv > h1:hover, .role-page.contact-page .expandableCollapsibleDiv > h1.h1-after { color: #f27621; }
.role-page.contact-page .expandableCollapsibleDiv > h1.h1-after::before { border-color: #f27621; transform: translateY(-35%) rotate(45deg); }
.role-page.contact-page .expandableCollapsibleDiv ul { margin: 0; padding: 0 22px 18px 50px; border-top: 1px solid #f8e7da; }
.role-page.contact-page .expandableCollapsibleDiv p { margin: 16px 0 0; color: #5f6875; font-size: 16px; line-height: 1.9; }
.role-page.contact-page .expandableCollapsibleDiv p u b { color: #d95f0b; }

.role-page .expandableCollapsibleDiv {
  position: relative;
  margin: 10px 0;
  border: 1px solid #f0dfd1;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.role-page .expandableCollapsibleDiv:hover {
  border-color: #f5b685;
  box-shadow: 0 7px 18px rgba(244, 119, 33, .1);
  transform: translateY(-1px);
}

.role-page .expandableCollapsibleDiv img {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 52px;
  height: 54px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
}

.role-page .expandableCollapsibleDiv > h1 {
  position: relative;
  margin: 0;
  padding: 13px 18px 13px 52px;
  color: #172b4d;
  font-size: 1.1rem !important;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}

.role-page .expandableCollapsibleDiv > h1::before {
  position: absolute;
  top: 50%;
  left: 22px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #f47721;
  border-bottom: 2px solid #f47721;
  content: "";
  transform: translateY(-65%) rotate(-45deg);
  transition: transform .2s ease, border-color .2s ease;
}

.role-page .expandableCollapsibleDiv > h1:hover,
.role-page .expandableCollapsibleDiv > h1.h1-after { color: #d95f0b; }

.role-page .expandableCollapsibleDiv > h1.h1-after::before {
  border-color: #d95f0b;
  transform: translateY(-35%) rotate(45deg);
}

.role-page .expandableCollapsibleDiv ul {
  clear: both;
  display: none;
  margin: 0;
  padding: 0 22px 18px 50px;
  border-top: 1px solid #f8e7da;
  border-bottom: 0;
  list-style: none;
}

.role-page .expandableCollapsibleDiv p {
  margin: 16px 0 0;
  color: #5f6875;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
}

.role-page .expandableCollapsibleDiv p u b { color: #d95f0b; }

@media (max-width: 767px) {
  .role-page .tab { flex-direction: column; }
  .role-page .tab button { min-height: 48px; }
  .role-page .tabcontent { padding: 20px 12px 24px; }
  .role-page .mainDiv > h1 { font-size: 1.15rem !important; }
  .role-page .expandableCollapsibleDiv > h1 { font-size: 1rem !important; }
  .role-page .expandableCollapsibleDiv ul {
    padding-left: 24px;
    padding-right: 16px;
  }
  .role-page.contact-page .tab { flex-direction: column; gap: 8px; }
  .role-page.contact-page .tab button { min-height: 48px; }
  .role-page.contact-page .tabcontent { padding: 20px 12px 24px; }
  .role-page.contact-page .expandableCollapsibleDiv > h1 { padding-left: 44px; font-size: 1rem !important; }
}
