body {
  /*ackground-image: url("Tom&Jerry.jpg");*/
  background-color: #f8f9fa; /* Light grey background */
  display: flex; /* Override the flex centering from home page */
  justify-content: center;
  padding: 50px 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #2d3436;
  line-height: 1.6;
}

.story-container {
  max-width: 800px;
  margin: 40px auto;
  background: white;
  padding: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

header {
  text-align: center;
  margin-bottom: 50px;
  border-bottom: 2px solid #e94560;
  padding-bottom: 20px;
}

h1 {
  color: #1a1a2e;
  font-size: 2.5rem;
  margin-bottom: 10px;
  border: none;
  padding-bottom: 10px;
}
h2 {
  color: #1a1a2e;
  margin-top: 40px;
  font-size: 1.8rem;
  border-bottom: 2px solid #e94560;
  padding-bottom: 10px;
}

hr {
  color: #e94560;
}

.intro-text {
  font-size: 1.1rem;
  color: #636e72;
  font-style: italic;
  margin-bottom: 30px;
}

/* Scientific Figure Styling */
.figure-container {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dfe6e9;
  border-radius: 4px;

  width: 750px; /* Or a specific width like 80%, 90% */
  margin: 20px auto; /* Adds space above/below and centers the whole figure */
  box-sizing: border-box; /* Ensures padding doesn't add to the width */
}

.figure-container img {
  max-width: 100%; /* Ensures the image never gets wider than the container */
  height: auto; /* Maintains the aspect ratio so it doesn't look squished */
  display: block; /* Removes the tiny gap often found at the bottom of images */
  margin: 0 auto; /* Centers the image if the container is wider than the image */
}

.plot-placeholder {
  width: 100%;
  height: 400px;
  background: #f1f2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b2bec3;
  border: 2px dashed #dfe6e9;
  margin-bottom: 15px;
}

.figure-caption {
  font-size: 0.9rem;
  color: #2d3436;
  border-left: 3px solid #e94560;
  padding-left: 15px;
  margin-top: 10px;

  line-height: 1.5;
  text-align: justify;
}

.figure-caption strong {
  color: #e94560;
}

.back-link {
  display: inline-block;
  margin-top: 50px;
  color: #e94560;
  text-decoration: none;
  font-weight: bold;
}

/* The Main Container */
.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 60px;
  background: white;
  border-radius: 12px;
  /*color: white;*/
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* The Flexbox layout for your lists */
.list-wrapper {
  display: flex; /* Aligns the three divs horizontally */
  width: 100%; /* Ensures the wrapper fills the whole container */
  gap: 20px; /* Optional: adds space between the columns */
}

.list-wrapper > div {
  flex: 1; /* This forces each div to take up equal width */
  /* padding: 10px; */ /* You can add your 10px padding here! */
}

ul {
  padding-left: 20px; /* Gives bullets room so they don't hit the edge */
  margin: 0;
}

li {
  margin-bottom: 10px;
  padding: 5px 10px;
  border-left: 3px solid transparent;
  transition: 0.3s;
}

/* Highlight items when you hover over them */
li:hover {
  border-left: 3px solid #e94560;
  background: rgba(233, 69, 96, 0.1);
  cursor: pointer;
}

.navigation-section {
  text-align: center;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  background-color: #e94560;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn:hover {
  background-color: #ff5e78;
  transform: translateY(-2px);
}
