.page-wrapper {
  max-width: 100%;
}
.page-header {
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
  background-position: center;
  margin: 0 15px;
  border-radius: 30px;
  margin-top: 80px;
  display: flex;
  align-items: end;
  padding-top: 30px;
  text-align: start;
  border-radius: 0 0 70px 70px;
  width: 90%;
  margin-inline: auto;
}

.page-header .page-header-title {
  width: 100%;
  border-radius: 20px;
  padding: 30px;
  background: var(--prime1);
  background: linear-gradient(
    270deg,
    rgba(var(--prime1RGB), 87%) 0%,
    rgba(var(--prime1RGB), 87%) 100%
  );
  color: #fff;
  border-radius: 0 0 70px 70px;
}

.page-header .page-header-title h1 {
  margin: 0;
  font-weight: bold;
  font-size: 3.5rem;
}

@media (max-width: 991px) {
  .page-header .page-header-title h1 {
    font-size: 2rem;
  }
  .page-header {
    aspect-ratio: inherit;
    padding: 0;
    aspect-ratio: inherit;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }
  .page-header .page-header-title {
    padding: 35px 15px;
    border-radius: 0;
  }
}

.page-header .page-header-title a {
  color: inherit;
}

/* Page Content */

.page-content {
  background: #fff;
  margin-bottom: 3rem;
}

@media (max-width: 991px) {
  .page-content {
    margin: 0 -15px;
  }
}

.page-content-head {
  background: #08baae;
  background: #2f8f78;
  color: #fff;
  padding: 1.5rem;
  position: relative;
}

@media (max-width: 991px) {
  .page-content-head {
    padding: 1rem;
  }
}

.page-content-head h1 {
  margin: 0;
}

.page-content-head a {
  color: rgba(255, 255, 255, 0.8);
}

.page-content-head button {
  display: none;
}

@media (max-width: 991px) {
  .page-content-head button {
    display: block;
    background: none;
    border: 0;
    padding: 0;
    position: absolute;
    left: 15px;
    bottom: 1rem;
    color: #fff;
    font-size: 2rem;
  }

  .page-content-head button em:before {
    content: "\f13a";
  }

  .page-content-head button.opened em:before {
    content: "\f139";
  }
}

.page-content-body {
  padding: 1.5rem;
  min-height: 20rem;
}

@media (max-width: 991px) {
  .page-content-body {
    padding: 1rem;
  }
}

.page-content-nav {
  display: none;
}

.page-content-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-content-nav ul > li {
  border-bottom: 1px solid #ddd;
}

.page-content-nav ul > li a {
  padding: 1rem;
  display: block;
}

aside {
  border: 1px solid #ddd;
  border-top: 0;
  border-radius: 0 0 30px 30px;
  padding: 30px 1rem;
  @media (max-width: 1199px) {
    border-radius: 30px;
  }
}
aside h2 {
  color: #2e8f78;
  font-weight: bold;
}

.department-side {
  border: 1px solid #ddd;

  padding-top: 50px;

  @media (max-width: 1199px) {
    border-color: transparent;
  }
}

.department-box {
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  position: relative;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow-wrap: break-word;
  word-wrap: break-word;

  @media (max-width: 1199px) {
    border-radius: 20px;
  }
}

.department-box h2 {
  color: var(--prime1);
  position: relative;
  padding-right: 5px;
  margin-bottom: 20px;
  font-size: 1.75rem;
  font-weight: bold;
}

.department-box h2 .icon {
  position: absolute;
  top: 0;
  right: -39px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.department-box h2 .icon .fa-envelope-o {
  font-size: 24px;
}

.department-box .box-content {
  padding-right: 8px;
}

.department-contact-man {
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  padding: 20px 30px;
  position: relative;
}
.department-contact-man:before {
  display: block;
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 10px;
  height: calc(100% - 10px);
  border-radius: 0 8px 8px 0;
  background: var(--phonebookPrimaryColor);
}
.department-contact-man .contact-name {
  font-size: 1.75rem;
  font-weight: bold;
}

.department-contact-man hr {
  display: block;
  width: 100%;
  height: 0;
  background: var(--prime2);
  margin: 10px 0;
}

.department-side a {
  font-size: 1rem;
  color: var(--prime1);
}

.department-contact-man em {
  color: var(--prime1);
  min-width: 22px;
}

.department-contact-man a {
  color: #000;
}

h2.department-section-title {
  font-size: calc(2.2vw + 16px);
  font-weight: bold;
  color: var(--prime1);
  margin-bottom: 30px;
}

h2.department-section-title:after {
  content: "";
  display: block;
  width: 10%;
  height: 1px;
  background: var(--prime2);
  margin-top: 5px;
}

h3.department-section-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--prime2);
  margin-bottom: 30px;
}

h3.department-section-title:after {
  content: "";
  display: block;
  width: 10%;
  height: 1px;
  background: #c7d64e;
  margin-top: 5px;
}

.box > div:first-child {
  display: flex;
  gap: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.box .tit {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}
.box > div:first-child h2 {
  font-size: 2.2rem;
  margin-bottom: 0;
}
.box .pic img {
  width: 100%;
  max-width: 120px;
}
.contact-info .mobile {
  display: flex;
}
.divider {
  height: 2px;
  background-color: var(--prime1);
  width: 70%;
  margin-bottom: 1rem;
}
.page-content-body-side {
  padding-inline: 2.5rem;
  border-right: #acb9bf 1px solid;
}
.page-content-body-side > div {
  position: relative;
}
.page-content-body-side > div:not(:first-of-type) {
  border-top: 1px solid #acb9bf;
  padding-block: 2rem;
}

.page-content-body-side > div:not(.box) h2 {
  color: var(--prime1);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.page-content-body-side .box + div p {
  font-size: 1.2rem;
}
.page-content-body-side .box + div p span {
  font-weight: bold;
  margin-left: 1rem;
  width: 47px;
  display: inline-flex;
}
.rich-content {
  width: 96%;
}
.rich-content .btn-primary,
.rich-content a.btn-primary .rich-content .btn.btn-primary {
  background-color: var(--prime1);
  border-color: var(--prime1);
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 500;
  font-size: 1.2rem;
  margin: 1.5rem;
}

.page-content-body-side .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -70px;
  height: 59px;
  width: 59px;
  z-index: 1;
  background-color: #fff;
}

h2:has(img) img {
  width: 50px;
}

.sub-pages-nav a .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sub-pages-nav a img {
  max-width: 100%;
  max-height: 70px;
  position: relative;
  margin-bottom: 1rem;
}

.sub-pages-nav a .icon img {
  width: 52px;
  position: relative;
  opacity: 0.7;
}
.img-fluid.contact {
  display: block;
  max-width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991px) {
  .page-wrapper > .row:first-of-type {
    flex-direction: column-reverse;
  }
  aside {
    display: block;
  }
}
