.about-us-history-two {
    position: relative;
    width: 100%;
    padding: 60px 0;
    color: #000;
}
  
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}
  
.history-two-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 40px 60px;
}
  
.grid-two-item {
    position: relative;
}
  
.title-two-item {
    grid-area: 1 / 1 / 2 / 2;
}
  
.period-two-item {
    grid-area: 1 / 2 / 2 / 3;
    text-align: right; 
}
  
.image-two-item {
    grid-area: 2 / 1 / 3 / 3; 
}
  
.body-two-item {
    grid-area: 3 / 1 / 4 / 3; 
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
  
.history-two-grid.is-reversed .title-two-item {
    grid-area: 1 / 2 / 2 / 3;
    text-align: left; 
}
  
.history-two-grid.is-reversed .period-two-item {
    grid-area: 1 / 1 / 2 / 2;
    text-align: left; 
}
  
.history-two-grid.is-reversed .image-two-item {
    grid-area: 2 / 1 / 3 / 3;
}
  
.history-two-grid.is-reversed .body-two-item {
    grid-area: 3 / 1 / 4 / 3;
}
  
.history-two-period {
    font-weight: 400;
    font-size: 88px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #9a9a9a;
    margin: 0;
    display: block;
}
  
.history-two-title {
    font-weight: 600;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -0.04em;
    color: #000;
    margin: 0 0 30px 0;
}
  
.history-two-lead {
    font-weight: 500; 
    font-size: 18px;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: #000;
    margin: 0;
}
  
.history-two-body {
    width: 550px;
    font-weight: 500;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: -0.04em;
    color: #000;
    margin: 0;
    max-width: 70%; 
}
  
.grid-two-item img {
    width: 100%;
    height: auto;
    display: block;
}
  
@media (max-width: 1024px) {
    .history-two-grid {
      gap: 30px;
    }
    
    .history-two-period {
      font-size: 64px;
    }
    
    .history-two-title {
      font-size: 36px;
      margin-bottom: 20px;
    }
    
    .history-two-body {
      max-width: 100%;
      width: auto;
    }
}
  
@media (max-width: 768px) {
    .about-us-history-two {
      padding: 40px 0;
    }
    
    .history-two-grid {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto auto;
    }
    
    .title-two-item {
      grid-area: 1 / 1 / 2 / 2;
      text-align: left;
    }
    
    .period-two-item {
      grid-area: 2 / 1 / 3 / 2;
      text-align: left;
    }
    
    .image-two-item {
      grid-area: 3 / 1 / 4 / 2;
    }
    
    .body-two-item {
      grid-area: 4 / 1 / 5 / 2;
    }
    
    .history-two-grid.is-reversed .title-two-item,
    .history-two-grid.is-reversed .period-two-item,
    .history-two-grid.is-reversed .image-two-item,
    .history-two-grid.is-reversed .body-two-item {
      grid-area: auto;
      text-align: left;
    }
    
    .history-two-grid.is-reversed {
      grid-template-areas:
        "period"
        "title"
        "image"
        "body";
    }
    
    .history-two-period {
      font-size: 48px;
    }
    
    .history-two-title {
      font-size: 28px;
    }
}