@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

body {
  font-family: "DM Sans", sans-serif;
}

.rtm-thm-navbar-nav {
  gap: 24px;
}

.site-header {
  overflow-x: clip;
}

.rtm-thm-navbar-brand h1 {
  font-size: 32px;
}

.rtm-thm-navbar-brand h1 a {
  text-decoration: none;
}

.rtm-thm-btn {
  padding: 16px 32px 16px 32px;
  border-radius: 50px;
  line-height: 1.2em;
  border: none;
  font-weight: 500;
}

.rtm-thm-btn.menu-notitle {
  border: 1px solid var(--rtm-theme-secondary);
  padding-left: 16px;
  padding-right: 16px;
}

.rtm-thm-navbar-nav .rtm-thm-nav-link:hover .rtm-thm-dropdown-menu {
  display: block;
}

.rtm-thm-navbar-nav .rtm-thm-nav-link:focus-within > .rtm-thm-dropdown-menu,
.rtm-thm-navbar-nav .rtm-thm-nav-link.focus > .rtm-thm-dropdown-menu {
  display: block;
}

.rtm-thm-dropdown-menu {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  --rtm-theme-bg-opacity: 1;
  background-color: rgba(
    var(--rtm-theme-light-rgb),
    var(--rtm-theme-bg-opacity)
  ) !important;
  border: none;
}

.rtm-thm-dropdown-menu .rtm-thm-nav-link {
  padding: 0 !important;
}

.rtm-thm-dropdown-menu .rtm-thm-nav-link:hover {
  background: var(--rtm-theme-primary);
}

.rtm-thm-dropdown-menu .dropdown-item {
  display: block;
  padding: 15px 35px;
  text-decoration: none;
  width: 100%;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2em;
  color: var(--rtm-theme-primary);
}

.rtm-thm-dropdown-menu .rtm-thm-nav-link:hover a {
  color: var(--rtm-theme-white);
}

.rtm-thm-navbar-nav a.rtm-thm-nav-link {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2em;
  color: var(--rtm-theme-secondary);
}

.entry-title,
.page-title,
.site-title,
.rtm-thm-footer-inner h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

main,
.site-main,
.entry-header,
.page-header {
  min-width: 0;
}

@media (max-width: 991.98px) {
  .rtm-thm-navbar-collapse {
    display: none;
    width: 100%;
  }

  .rtm-thm-navbar.toggled .rtm-thm-navbar-collapse {
    display: block;
  }

  .rtm-thm-navbar-nav {
    flex-direction: column;
    gap: 0;
  }

  .rtm-thm-navbar-nav .rtm-thm-nav-link {
    display: block;
  }
}

.rtm-thm-dropdown-toggle::after {
  display: inline-block;
  transition: transform 0.15s ease-in-out;
  border: none !important; /* Hide default */
  content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAdgAAAHYBTnsmCAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABVSURBVDiN7dCxDkBAFETRo9j4RJ3/sxIavk5BoxBhV1DubefOvORR+JUWESHhBPS7exkOmFC/yJPSo/JZnnc5YLwrV4mR7pCvaLDkrp9HovxjC1/ZAN3qDxFwDHgDAAAAAElFTkSuQmCC");
  vertical-align: -3px;
  transform: scale(0.8);
}

.show > .dropdown-toggle::after {
  transform: rotate(180deg);
}

.rtm-thm-footer-wrap {
  padding: 1%;
  position: relative;
  overflow: hidden;
}

.rtm-thm-footer-inner {
  background-color: transparent;
  background-image: linear-gradient(-90deg, #02a49e 0%, #003233 100%);
  border-radius: 16px;
  padding: 3em 5em;
}

.rtm-thm-footer-inner > * {
  position: relative;
  z-index: 2;
}

.rtm-thm-footer-wrap::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-image: url("../images/Footer.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.rtm-thm-footer-inner h3 {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.2em;
  color: var(--rtm-theme-white);
}

.rtm-thm-btn-light {
  background-color: var(--rtm-theme-light);
  color: var(--rtm-theme-secondary);
}

.rtm-custom-links {
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--rtm-theme-white);
}

.rtm-custom-links h5 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2em;
  margin-bottom: 24px;
}

.rtm-custom-links .menu {
  padding-left: 0;
}

.rtm-custom-links .menu li {
  list-style: none;
  padding-block-end: calc(15px / 2);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2em;
  color: var(--rtm-theme-white);
  margin-top: calc(15px / 2);
}

.rtm-custom-links .menu li:first-child {
  margin-top: 0;
}

.rtm-custom-links .menu li:last-child {
  padding-block-end: 0;
}

.rtm-custom-links .menu li a {
  color: inherit;
  text-decoration: none;
}

.rtm-custom-links .footer-contact * {
  font-size: 1rem;
  font-weight: 500;
  color: var(--rtm-theme-white);
}

.rtm-custom-links .footer-contact ul {
  padding-left: 0;
}

.rtm-custom-links .footer-contact ul li {
  list-style: none;
  padding-block-end: calc(15px / 2);
}

.rtm-custom-links .footer-contact li:first-child {
  margin-top: 0;
}

.rtm-custom-links .footer-contact li:last-child {
  padding-block-end: 0;
}

.rtm-custom-links .social-links {
  display: flex;
  align-items: center;
  gap: 0.54rem;
}

.rtm-custom-links .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 42px;
  background: var(--rtm-theme-white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rtm-custom-links .social-links a:hover {
  background: transparent;
  outline: 1px solid var(--rtm-theme-white);
  outline-offset: -1px;
  color: var(--rtm-theme-white);
}

.rtm-thm-footer-inner .lower-footer {
  margin-top: 5rem;
}

.rtm-thm-card {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
  border-radius: 24px 24px 24px 24px;
  border: none;
}

.rtm-thm-card-img,
.rtm-thm-card-img-top {
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  overflow: hidden;
}

.rtm-thm-card-img-top img {
  width: 100%;
  height: 261px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.rtm-thm-card-title a {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2em;
  text-decoration: none;
  color: var(--rtm-theme-secondary);
  transition: all 0.3s ease;
}

.rtm-thm-card-title a:hover {
  color: var(--rtm-theme-primary);
}

.rtm-thm-card-body {
  position: relative;
  padding: 45px 24px 24px 24px;
}

.rtm-thm-card:hover img {
  transform: scale(1.1);
}

.rtm-post-date {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--rtm-theme-primary);
  top: -32px;
  border: 3px solid var(--rtm-theme-white);
  border-radius: 50%;
  line-height: 1;
  font-weight: 500;
}

.rtm-post-date .date-number {
  font-size: 18px;
  font-weight: 600;
  color: var(--rtm-theme-white);
}

.rtm-post-date .date-month {
  font-size: 12px;
  color: var(--rtm-theme-white);
}

.rtm-post-metadata {
  font-size: 14px;
  display: flex;
  gap: 10px;
  color: #7a7e81;
  margin-bottom: 10px;
}
.rtm-post-metadata span {
  align-self: center;
}

.rtm-thm-card-text {
  color: #7a7e81;
}

@media(max-width: 480px) {
  .contact-us-btn {
    display: none;
  }
}
