@charset "UTF-8";
body.standalone {
  background: #ccc;
  color: #000;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.standalone .page-header .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
body.standalone #modalContent {
  box-sizing: border-box;
  width: 80dvw;
  max-width: 1400px;
  margin: 0 auto 1.5rem;
}
.standalone-footer {
  box-sizing: border-box;
  width: 80dvw;
  max-width: 1400px;
  margin: auto auto 0;
  padding: 1.1rem 2rem 1.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  font-weight: 200;
}
.standalone-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
}
.standalone-footer a {
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.standalone-footer a:hover,
.standalone-footer a:focus-visible {
  border-bottom-color: currentColor;
  outline: none;
}
.standalone-footer small {
  font-size: 0.7rem;
  font-weight: 200;
}
@media (max-width: 991px) {
  body.standalone #modalContent,
  .standalone-footer { width: 94dvw; }
  .standalone-footer { padding-inline: 1rem; }
}
.standalone-footer .footer-logo {
  display: flex;
  align-items: center;
  padding: 0;
  border-bottom: 0;
}
.standalone-footer .footer-logo img {
  height: 28px;
  width: auto;
  display: block;
}

body.standalone-service {
  background: #333;
  color: #fff;
}
body.standalone-service #modalContent:has(.service-layout) {
  height: calc(100dvh - 5.5rem) !important;
  max-height: none !important;
  margin: 1rem auto 0 !important;
}
body.standalone-service .standalone-footer {
  border-top-color: rgba(255, 255, 255, 0.25);
  margin-top: 1rem;
}
body.standalone-service .standalone-footer small {
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 991px) {
  body.standalone-service #modalContent:has(.service-layout) {
    height: calc(100dvh - 9rem) !important;
  }
}

body.standalone-service #modalContent > #project-content {
  display: contents;
}

@media (max-width: 600px) {
  .standalone-footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 1.25rem 1rem 1.5rem;
    text-align: center;
  }
  .standalone-footer nav {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .standalone-footer nav a {
    padding: 0.5rem 0;
  }
}