.hero-container {
    width: 100%;
    height: 100vh;
}

.hero-image img {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 700px;
}


.hero-text {
    position: sticky;
    bottom: 30%;
    transform: translateY(-50%);
    color: white;
    text-align: center;
    z-index: 2;
    font-size: 1.3rem;
    padding-bottom: 100px;
    pointer-events: none;
}

.hero-text h1 {
    line-height: 0;
    font-size: 24px;
}

.article-container {
    text-align: center;
    margin-top: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.article-container p {
    font-size: 13px;
}
.article-image {
    max-width: 900px;
}
.article-image img {
    width: 100%;
    height: auto;
}

.article-image-grid{
    max-width: 900px;
  display: grid;
  gap: 5px;
  /* 2열 / 2행 그리드, 오른쪽 열이 세로로 2칸을 차지하도록 영역 정의 */
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "left-top right"
    "left-bottom right";
  align-items: stretch;
}

/* DOM 순서: 1번 이미지 = left-top, 2번 = left-bottom, 3번 = right */
.article-image-grid img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;      /* 중요한 속성: 비율 유지하며 잘림 처리 */
}

/* 각 이미지에 그리드 영역 할당 (HTML 순서 그대로 유지 가능) */
.article-image-grid img:nth-child(1){ grid-area: left-top; }
.article-image-grid img:nth-child(2){ grid-area: left-bottom; }
.article-image-grid img:nth-child(3){ grid-area: right; }

.article-image-grid2 {
        max-width: 900px;
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "left right-top"
    "left right-bottom";
  align-items: stretch;
}

.article-image-grid2 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* DOM 순서: 1 = big(10-2), 2 = small-top(3), 3 = small-bottom(4) */
.article-image-grid2 img:nth-child(1) { grid-area: left; }
.article-image-grid2 img:nth-child(2) { grid-area: right-top; }
.article-image-grid2 img:nth-child(3) { grid-area: right-bottom; }

.journal-more-button {
    text-align: center;
    margin: 40px 0 60px;
}

.journal-more-button button {
    font-family: 'Newsreader', sans-serif;
    color: 000;
    font-weight: 500;
    padding: 12px 28px;
    font-size: 14px;
    border: 1px solid #000;
    background: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.journal-more-button button:hover {
    background: #000;
    color: #fff;
}
.paragraph-1 {
    margin: 140px 0 200px;
}
.paragraph-2 {
    margin: 100px 0;
}
.paragraph-2 h2 {
    font-size: 18px;
    margin-bottom: 50px;
}
@media (max-width:768px) {
    .hero-container {
        width: 100%;
        height: auto;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 150px;
    }


    .hero-text {
        position: absolute;
        bottom: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 50px 0 0 0;
    white-space: nowrap;
    }

    .hero-text h1 {
        line-height: 1.3;
        font-size: 13px;
    }
    .article-container {
        margin-top: 100px;
    }
    .article-container p {
        font-size: 11px;
        padding: 0 2rem;
    }
      .article-image-grid{
        width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "right"
      "left-top"
      "left-bottom";
    gap: 5px;
  }

  /* 모바일에서 높이 조정(원하면 고치기) */
  .article-image-grid img{ height: 350px; }
  .article-image-grid img:nth-child(1),
  .article-image-grid img:nth-child(2){
    height: 220px;
  }
  .article-container p {
    font-size: 11px;
}
  .article-image-grid2 {
            width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "right-top"
      "right-bottom"
    "left";
    gap: 5px;
  }

  .article-image-grid2 img{ height: 100%; }
  .article-image-grid2 img:nth-child(2),
  .article-image-grid2 img:nth-child(3){
    height: 220px;
  }
  .paragraph-1 {
    margin: 60px 0 100px;
}
  .paragraph-2 {
    margin: 100px 0 100px;
}
.paragraph-2 h2 {
    font-size: 13px;
    margin-bottom: 50px;
}
}