:root {
  --page-text: #212529;
  --page-muted: #6c757d;
  --page-primary: #007bff;
  --page-border: #dee2e6;
  --page-surface: #f8f9fa;
  --page-radius: 14px;
}

body {
  background: rgb(255, 255, 255) no-repeat fixed top left;
  color: var(--page-text);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--page-primary);
}

.hero-section {
  margin-bottom: 44px;
}

.jumbotron {
  margin-bottom: 0;
  padding-top: 52px;
  padding-bottom: 38px;
  border-radius: 0;
}

.paper-title {
  font-size: 40px;
  line-height: 1.25;
}

.venue-title {
  color: #5a6268;
  font-size: 30px;
}

.jumbotron hr {
  max-width: 1140px;
  margin-top: 22px;
}

.author-list {
  line-height: 2;
}

.resource-row .column {
  margin: 0 5px;
}

.resource-row .btn {
  min-width: 105px;
  border: 1px solid #d9dee3;
}

.project-container {
  width: 70%;
  max-width: 1040px;
}

.feature-container {
  width: 92%;
  max-width: 1400px;
  padding-right: 15px;
  padding-left: 15px;
}

.feature-section,
.content-section {
  margin-bottom: 72px;
}

.section-rule {
  margin-top: 0;
}

.text-justify {
  text-align: justify;
}

.feature-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid #d5dbe1;
  border-radius: var(--page-radius);
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .12);
}

.feature-card figcaption {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 17px 14px;
  border-top: 1px solid #e1e5e9;
  text-align: left;
}

.caption-copy strong {
  display: block;
  color: var(--page-text);
  font-size: 21px;
  line-height: 1.25;
}

.caption-copy small,
.viewer-actions small {
  display: block;
  margin-top: 2px;
  color: var(--page-muted);
  font-size: 12px;
}

.viewer-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: right;
}

.viewer-actions a {
  font-size: 13px;
  white-space: nowrap;
}

.demo-wrapper {
  overflow: hidden;
  width: 100%;
  height: clamp(480px, 55vw, 650px);
  background: #000;
}

.demo-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.method-figure {
  display: flex;
  width: 90%;
  align-items: center;
  justify-content: center;
  margin: 30px auto 24px;
  padding: 26px;
  border: 1px solid var(--page-border);
  border-radius: 12px;
  background: var(--page-surface);
}

.method-image {
  width: 85%;
}

.result-row {
  margin-top: 28px;
}

.result-surface {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
  padding: 22px 10px 8px;
  border: 1px solid var(--page-border);
  border-radius: 12px;
  background: var(--page-surface);
}

.result-surface p {
  color: var(--page-muted);
}

.page-footer {
  padding-bottom: 32px;
}

.citation-box {
  position: relative;
}

.bibtexsection {
  padding: 58px 24px 18px;
  border: 1px solid var(--page-border);
  background: var(--page-surface);
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.citation-copy {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #ced4da;
  border-radius: 7px;
  background: #fff;
  color: #495057;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.citation-copy:hover {
  border-color: #adb5bd;
  background: #f8f9fa;
  color: var(--page-text);
}

.citation-copy:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, .18);
}

.copy-icon {
  display: inline-flex;
}

.copy-icon svg {
  width: 16px;
  height: 16px;
}

.copy-icon-success {
  display: none;
}

.citation-copy.is-copied {
  border-color: #a9d8b5;
  background: #f0faf3;
  color: #218838;
}

.citation-copy.is-copied .copy-icon-default {
  display: none;
}

.citation-copy.is-copied .copy-icon-success {
  display: inline-flex;
}

.template-credit {
  margin-bottom: 18px;
  color: var(--page-muted);
  font-size: 14px;
}

.page-license {
  margin-top: 28px;
  margin-bottom: 6px;
  color: var(--page-muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.page-license a {
  color: var(--page-primary);
  text-decoration: none;
}

.page-license a:hover {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .project-container {
    width: 88%;
  }

  .feature-container {
    width: 96%;
  }

  .method-figure,
  .result-surface {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    margin-bottom: 36px;
  }

  .jumbotron {
    padding: 38px 15px 28px;
  }

  .paper-title {
    font-size: 29px;
  }

  .venue-title {
    font-size: 23px;
  }

  .author-list {
    font-size: 17px;
  }

  .project-container,
  .feature-container {
    width: 100%;
  }

  .feature-container {
    padding-right: 15px;
    padding-left: 15px;
  }

  .feature-section,
  .content-section {
    margin-bottom: 54px;
  }

  .feature-card {
    border-radius: 10px;
  }

  .feature-card figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .viewer-actions {
    align-items: flex-start;
    text-align: left;
  }

  .method-figure {
    padding: 16px;
  }

  .method-image {
    width: 100%;
  }

  .text-justify {
    text-align: left !important;
  }
}
