body {
  background-color: #fff;
}
.mobile-navigation .content {
  height: auto;
}
div[class^="root-page"] > .container-fluid {
  width: 82%;
}
video#vid {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: top;
}
#toggle-vid {
  position: absolute;
  top: 105px;
  left: 35px;
  background: none;
  border: 0;
  color: #fff;
  z-index: 20;
  width: 40px;
  height: 40px;
  z-index: 1;
}
.top-alert {
  display: none;
}
.with-strip-ad .header {
  top: 0;
}
.page-header {
  display: block;
  height: 700px;
  position: relative;

  @media (max-width: 991px) {
    height: 450px;
  }
}
.page-content {
  margin-top: 7rem;
  box-shadow: none;
}
.page-content-head {
  padding-top: 0;
  margin-top: 100px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}
.page-content-head .container {
  text-align: center;
}
.page-content-head h1 {
  font-size: calc(3.52vw + 16px);
  font-weight: 900;
  color: #fff;
  margin: auto;
  line-height: 1;
}

.page-content-head h1 + span {
  color: #ff5281;
  font-size: calc(2.52vw + 16px);
  font-weight: 600;
  margin: auto;
  line-height: 1;
}

.inclick {
  margin-top: 3rem;
  padding: 2rem;
}
.inclick .row {
  justify-content: space-between;

  @media (max-width: 991px) {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
.inclick .row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;

  @media (max-width: 991px) {
    flex: 1 0 30%;
  }
}
.inclick .row > div:hover img {
  transform: scale(1.1);
}
.inclick p {
  font-size: calc(0.5vw + 16px);
  font-weight: 700;
  text-align: center;
  line-height: 1.1;

  @media (max-width: 600px) {
    width: min-content;
    font-weight: 500;
  }
}
.inclick img {
  margin-bottom: 0.75rem;
  width: 90px;
  object-fit: cover;
  transition: all 0.2s ease;

  @media (max-width: 991px) {
    width: 65px;
  }
}
.rich-content {
  font-size: 1.25rem;
}
.rich-content h2 {
  color: #1a9aa4;
  font-weight: 700;
  font-size: calc(2.52vw + 16px);
  margin-bottom: 0;
  line-height: 1;
}
.rich-content > p[style*="text-align: center"] {
  font-size: calc(0.65vw + 16px);
}
.sub-pages-nav.with-pic ul {
  margin-block: 5rem;
}
.mayor {
  display: flex;
  align-items: flex-start;
  margin-block: 5rem;

  @media (max-width: 991px) {
    flex-wrap: wrap;
    padding-inline: 2rem;
    margin-block: 0.5rem;
  }
}
.mayor div[class^="col"] {
  border-radius: 50px 0px 0px 50px;
  border: 1px solid #dbdbdb;
  font-size: 1rem;
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;

  @media (max-width: 991px) {
    border-radius: 30px;
    padding: 2rem 2rem 4rem;
  }
}
.mayor div:first-child .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: right;
  align-items: center;
  padding: 2rem 8.2rem 2rem 2rem;

  @media (max-width: 1600px) {
    padding: 2rem 4rem 2rem 2rem;
  }
  @media (max-width: 1400px) {
    padding: 2rem 2rem 2rem 2rem;
  }
  @media (max-width: 1199px) {
    padding: 2rem 0rem 2rem 2rem;
  }
}
.mayor div:first-child .inner > * {
  width: 82%;
  display: block;
}
.mayor .col:last-child {
  border-radius: 0 50px 50px 0;
  background-color: #fff;
  font-size: calc(0.65vw + 16px);
  margin-top: 9rem;
  margin-right: -18rem;
  padding: 5rem 7rem 3rem 7.5rem;

  @media (max-width: 1600px) {
    margin-right: -17rem;
    padding: 5rem 5rem 3rem 10.5rem;
  }
  @media (max-width: 1400px) {
    margin-right: -15rem;
  }

  @media (max-width: 991px) {
    margin-top: -3.2rem;
    margin-right: auto;
    padding: 2.3rem 1.75rem;
    border-radius: 30px;
  }
}

.deputy .col:last-child {
  padding: 4rem 4rem 2rem 5.5rem;

  @media (max-width: 991px) {
    padding: 2.3rem 1.75rem;
  }
}

.deputy .col:last-child {
  font-size: calc(0.45vw + 16px);
}
.mayor h2 {
  font-size: calc(3vw + 16px);
  line-height: 1.2;
  position: relative;
  color: #1a9aa4;
  font-weight: 700;
  padding-bottom: 1.5rem;
}
.deputy h2 {
  font-size: calc(2.25vw + 16px);
  line-height: 1;
}
.mayor h2 span {
  display: block;
}

.mayor h2::after {
  top: 1rem;
  position: relative;
  content: "";
  width: 100px;
  height: 3px;
  border-radius: 5px;
  background-color: #ffbf00;
  display: block;
}
.mayor .name {
  font-weight: 700;
  line-height: 1;
  font-size: calc(1.4vw + 16px);
}
.deputy .name {
  font-size: calc(0.62vw + 16px);
}

.mayor .job {
  font-size: calc(1vw + 16px);
}
.deputy .job {
  font-size: calc(0.75vw + 16px);
}
.mayor p {
  text-align: right;
}

.mayor .inner {
  width: fit-content;
  margin-right: auto;
  padding-left: 2rem;
}
.sub-pages-nav.with-pic li {
  aspect-ratio: 1;
}
.sub-pages-nav.with-pic a {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100%;
}
.sub-pages-nav.with-pic .grade {
  background: linear-gradient(
    180deg,
    rgba(18, 189, 221, 0) 0%,
    rgb(22 115 125) 100%
  );
  position: absolute;
  margin: auto;
  inset: 0;
  filter: drop-shadow();
}
.sub-pages-nav.with-pic a {
  text-align: right;
  display: flex;
  overflow: hidden;
  position: relative;
  background-size: 100% 100%;
  aspect-ratio: 1;
}
.sub-pages-nav.with-pic a .info {
  position: relative;
  margin: auto;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sub-pages-nav.with-pic .name {
  line-height: normal;
  font-size: calc(0.87vw + 16px);
  font-weight: 500;
  position: relative;
  padding-bottom: 2rem;
  position: relative;
  transition: all 0.52s ease;
  line-height: 1;
  overflow-y: hidden;
  bottom: 0;
}

.sub-pages-nav.with-pic .name::after {
  top: 1rem;
  position: relative;
  content: "";
  width: 100px;
  height: 1px;
  border-radius: 5px;
  background-color: #ffbf00;
  display: block;
}
.sub-pages-nav.with-pic p {
  line-height: 1.1;
  transition: all 0.52s ease;
  overflow-y: clip;
  position: absolute;
  font-size: calc(0.1vw + 16px);
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  transform: translateY(180px);
  padding-inline-end: 1.5rem;
}
.sub-pages-nav.with-pic p.hasText {
  max-height: 120px;
}
.signature {
  margin-right: auto;
  width: 250px;
  object-fit: contain;

  @media (max-width: 991px) {
    width: 150px;
  }
}
@media (min-width: 992px) {
  .sub-pages-nav.with-pic a:hover {
    background-size: 120% 120%;
  }
  .sub-pages-nav.with-pic a:hover p {
    opacity: 1;
    transform: translateY(1rem);
  }
  .sub-pages-nav.with-pic a:hover .name {
    bottom: 0;
  }
  .sub-pages-nav.with-pic a:has(.hasText):hover .name {
    bottom: 95px;
  }
}
.sub-pages-nav.with-pic .read-more {
  color: #ffbf00;
}

.footer {
  margin-top: 10rem;
  box-shadow: none;
}
.overlay {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(1, 12, 20, 0.97) 93%
  );
  position: absolute;
  margin: auto;
  inset: 0;
  height: inherit;
}
