body {
  font-family: 'Noto Sans', sans-serif;
  background: #fafafa;
  color: #1d1d1f;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.navbar {
  border-bottom: 1px solid #e7e7e7;
}

.gm3-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border-bottom: 1px solid #ececec;
}

.publication-title,
.publication-authors,
.publication-subtitle {
  font-family: 'Google Sans', sans-serif;
}

.publication-subtitle {
  color: #4a4a4a;
  max-width: 760px;
  margin: 0 auto 1rem;
}

.author-block {
  display: inline-block;
  margin: 0 0.2rem;
}

.publication-links {
  margin-top: 1rem;
}

.link-block a {
  margin: 0.25rem;
}

.is-disabled {
  opacity: 0.7;
  pointer-events: none;
}

.media-section {
  background: #ffffff;
}

.media-section .container {
  max-width: 1200px;
}

.youtube-embed-wrap {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto 1.5rem;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d9d9d9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.youtube-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-grid video {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid #d9d9d9;
  background: #000;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  object-fit: cover;
}

.media-card {
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  padding: 1.35rem;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.video-grid .column {
  display: flex;
}

.video-grid .media-card {
  width: 100%;
}

.long-form-copy {
  max-width: 860px;
  margin: 0 auto;
}

.long-form-copy p {
  line-height: 1.8;
}

.method-text-block {
  max-width: 860px;
  margin: 0 auto 1rem;
}

.integration-steps {
  margin: 0 0 1rem 0;
  padding-left: 0;
  list-style-position: inside;
}

.integration-steps li {
  margin-bottom: 0.25rem;
}

.figure-block {
  margin: 1.5rem auto 2rem;
  max-width: 940px;
}

.figure-block img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d7d7d7;
  display: block;
  background: #fff;
}

.caption {
  text-align: center;
  color: #5f5f5f;
  margin-top: 0.65rem;
  font-size: 0.95rem;
}

.method-cards .box {
  height: 100%;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.inline-figure {
  margin-top: 1rem;
}

.inline-figure img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #dedede;
  background: #fff;
}

.section-intro {
  color: #5a5a5a;
  margin-bottom: 1.25rem;
}

.platform-group {
  margin-top: 1.5rem;
}

.platform-subheading {
  margin-bottom: 0.75rem;
}

.result-figures .figure-card img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d9d9d9;
  background: #fff;
  display: block;
}

.platform-grid .column img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.platform-grid .column {
  display: flex;
}

.platform-item {
  width: 100%;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 0.5rem;
}

.platform-grid .column img {
  object-fit: contain;
  padding: 0.35rem;
  background: #fff;
}

.platform-item p {
  margin-top: 0.35rem;
  margin-bottom: 0;
  text-align: center;
  color: #575757;
  font-size: 0.95rem;
}

.figure-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  padding: 0.75rem;
  height: 100%;
}

.figure-card p {
  margin-top: 0.6rem;
  color: #575757;
  font-size: 0.95rem;
}

.figure-card.wide img {
  max-height: 420px;
  object-fit: contain;
}

.footer {
  border-top: 1px solid #e7e7e7;
  background: #fff;
}

.smallprint {
  color: #6f6f6f;
  font-size: 0.92rem;
}

@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 2rem !important;
  }

  .publication-subtitle {
    font-size: 1rem;
  }

  .media-card,
  .figure-card,
  .method-cards .box {
    padding: 0.85rem;
  }

  .video-grid video {
    min-height: 220px;
  }
}
