/* story.css */

.story-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  flex: 1; /* 푸터를 아래로 밀어주는 핵심 */
}
.story-wrapper h1 a {
  text-decoration: none;
  color: inherit; /* 링크 색도 기본 텍스트 색으로 맞추고 싶다면 추가 */
}
  h1 {
  text-align: center;      /* 텍스트 자체 중앙 정렬 */
  margin-top: 80px;
  margin-bottom: 50px;
}
.story-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin-bottom: 40px;
  padding: 30px;
  align-items: center;
}

.story-section img {
  flex: 1 1 300px;
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.story-text {
  flex: 2 1 500px;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.story-text h2 {
  margin-top: 0;
  font-size: 24px;
  color: #006f3c;
  border-bottom: 2px solid #007b42;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.tips-list {
  padding-left: 1em;
}

.tips-list li {
  margin-bottom: 10px;
  list-style-type: disc;
  line-height: 1.6;
}

@media (max-width: 768px) {
h1 {
 text-align: center;
}
  .story-section {
    flex-direction: column;
    text-align: center;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 10px;
    gap: 20px;
}
  .story-text {
    padding-top: 10px;
  }
  .story-section img {
    max-width: 90%;
  }
}