body {
  font-family: 'Crimson Text', sans-serif;
  font-size: 22px;
  background: #fff;
  color: #363636;
  max-width: 960px;
  margin: 0 auto;
  padding: 2em;
  line-height: 1.6;
}

h1, h2 {
  text-align: center;
  color: #363636;
}

.section {
  margin-bottom: 3em;
}

.section p {
  text-align: justify;
  color: #4a4a4a;
}


.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}

.example {
  text-align: center;
  max-width: 450px;
}

.example img {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.caption {
  margin-top: 0.5em;
  font-style: italic;
  font-size: 0.95em;
  color: #4a4a4a;
}

footer {
  text-align: center;
  margin-top: 4em;
  font-size: 0.9em;
  color: #777;
}

.paper-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.custom-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 1.2em;
  background-color: #363636;
  color: #fff;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: inherit;
  transition: background-color 0.2s ease;
}

.custom-button:hover {
  background-color: #222;
}

.custom-button i {
  font-size: 1.2em;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 2rem 0;
}

.carousel-window {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%; /* Two slides */
}

.carousel-slide {
  flex: 0 0 100%; /* Ensures one full slide per view */
  display: flex;
  gap: 1rem; /* optional: spacing between .example items */
  justify-content: center;
}

.example {
  width: 45%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #363636;
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


.carousel-btn.left {
  left: 0.5rem;
}

.carousel-btn.right {
  right: 0.5rem;
}

.image-fill {
  width: 160%;
  height: 350px;
  overflow: hidden;
}

.image-fill video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


