/* main_home.css */
.nopadding {
    padding:0 !important;
  }
  
  .mt-n3 {
      margin-top: -2rem !important;
  }
  
  .t-n3{
      position: relative;
      top: -3rem;
  }
  
  .t-n2{
      position: relative;
      top: -2rem;
  }
  
  .t-n1{
      position: relative;
      top: -1rem;
  }
  
  .t-0{
      position: relative;
      top: 0;
  }
  
  .t-1{
      position: relative;
      top: 1rem;
  }
  
  .t-2{
      position: relative;
      top: 2rem;
  }
  
  .t-3{
      position: relative;
      top: 3rem;
  }
  
  .mb-n3{
      margin-bottom: -3rem !important;
  }
  
  .nomargin{
    margin: 0 !important;
  }
  
  .bigger-text{
      font-size: 4rem;
  }
  
  .big-text{
      font-size: 2.6rem;
  }
  
  .margin-bt-big{
      margin-bottom: 3rem;
  }
  
  .component-flex{
      display: flex;
      flex-direction: column;
      justify-content: space-around;
  }
  
  .component-height{
      height: 720px;
  }
  
  .component-title{
      position: relative;
      top: 30px;
  }
  
  @media (max-width: 576px) {
      .header .container {
          padding: 0 1rem;
      }
      .timetable-box, .review-box {
          font-size: 0.875rem;
      }
      .way-info-title h2 {
          font-size: 1.5rem;
      }
  
      .timetable-box, .review-box {
          font-size: 0.875rem;
      }
      .way-info-title h2 {
          font-size: 1.5rem;
      }
  }
  
  /* ======================================================================== */
  /* ================================ HEADER ================================ */
  /* ======================================================================== */
  
  /* 배경 */
  .backSky {
      width: 100vw;
      height: 100vh;
      position: relative;
      background-color: rgb(0, 0, 0);
      overflow: hidden;
  }
    
  /* 별을 감싼 부모 */
  .sky {
      width: 100vw;
      height: 200vh;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      animation: moveStar 240s linear infinite;
  }
    
  /* 별 */
  .sky .star {
      fill: #ffffff;
      stroke: none;
      stroke-width: 0;
  }
    
  /* 별 이동효과 */
  @keyframes moveStar {
      from {
        transform: translate(-50%, -50%) rotate(0);
      }
      to {
        transform: translate(-50%, -50%) rotate(360deg);
      }
  }
  
  .header-height{
      height: 95vh;
  }
  
  .header{
      display: flex;
      justify-content: flex-start;
      align-items: center;
      background-color: rgba(0, 0, 0, 0.406);
  }
  
  /* ======================================================================== */
  /* =============================== TIMETABLE ============================== */
  /* ======================================================================== */
  
  .timetable-title{
      margin-bottom: 3rem;
  }
  
  /* .timetable-container{
      display: flex;
      width: 100%;
      justify-content: space-between;
      height: auto;
  } */

  .timetable-container, .review-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-around;
}
  
  .timetable-box{
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.5rem;

      height: 250px;
      width: 20%;
      max-width: 100%;

      border-radius: 50px;

      background-color: #212529;
      color: white;
      
      margin-bottom: 0.5rem;
      animation: slideUp 0.5s ease-out forwards;
      opacity: 0;
  }

  /* .timetable-box, .review-box {
    flex: 1 1 30%;
    max-width: 100%;
    cursor: pointer;
    text-align: center;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
} */
    
  .timetable-box:hover{
      transition-duration: 0.3s;
      background-color: rgb(1, 28, 164);
      color: #eceaea;
      outline: none;
  }
  
  .timetable-box.animate {
      animation: slideUp 0.5s ease-out forwards;
  }
  
  @keyframes slideUp{
      from {
          transform: translateY((100%));
          opacity: 0;
      }
      to {
          transform: translateY(0);;
          opacity: 1;
      }
  }
  
  .modal-body-custom{
      min-width: 70%;
      height: auto;
      margin: auto;
  }
  
  /* ======================================================================== */
  /* ================================ NOTICE ================================ */
  /* ======================================================================== */
  
  .table{
    margin-bottom: 50px;
    border: 1px solid black;
  }
  
  .article-container{
    min-height: 600px;
    /* margin: 0px 20px 40px 20px; */
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .article-header{
    border-bottom: 1px solid rgba(33, 33, 33, 0.419)!important;
  }
  
  .article-header__title{
    border-bottom: 1px solid rgba(33, 33, 33, 0.419)!important;
    padding: 10px 5px;
  }
  
  .article-header__info{
    padding: 10px 5px;
  }

  .article-header__info p{
    font-size: 1rem;
  }
  
  .article-body {
      overflow-wrap: break-word;
      word-break: break-word;
      min-height: 500px;
      padding-top: -50px;
  }
  
  .col-no {
      width: 5%;
  }
  
  .col-title {
      width: 65%;
  }
  
  .col-author {
      width: 15%;
  }
  
  .col-date {
      width: 15%;
  }
  
  .pagination {
      display: flex;
      justify-content: center;
      margin-top: 20px;
  }
  
  .pagination .step-links {
      font-size: 1.2rem;
  }
  
  .pagination .step-links a {
      margin: 0 5px;
      padding: 5px 10px;
      border: 1px solid #ccc;
      color: #333;
  }
  
  .pagination .step-links .current {
      margin: 0 5px;
      padding: 5px 10px;
      background: #eee;
  }
  
  .pagination .step-links a.current {
      font-weight: bold;
      background-color: gray;
      color: white;
      border-radius: 50%;
  }

  .notice-detail-container{
      width: 100%;
      padding: 2rem;
      background: white;
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      display: flex;
      flex-direction: column;
      min-height: calc(100vh - 4rem);
      overflow-x: hidden; /* 가로 스크롤 방지 */
  }

.notice-detail-header {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.notice-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.notice-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    color: #718096;
}

.notice-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-info-label {
    font-weight: 600;
    color: #4a5568;
}

.notice-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    flex: 1;
    word-wrap: break-word;      
    overflow-wrap: break-word;  
    word-break: break-all;      
    max-width: 100%;        
}

@media (max-width: 768px) {
    .notice-detail-container {
        padding: 1rem;
        margin: 1rem 0;
        min-height: calc(100vh - 2rem);
    }

    .notice-detail-title {
        font-size: 1.8rem;
    }

    .notice-info {
        gap: 1rem;
        flex-direction: row;
    }

    .notice-detail-content {
        font-size: 0.9rem;
    }
}
  
  /* ======================================================================== */
  /* ================================ REVIEW ================================ */
  /* ======================================================================== */
  .review-container {
      display: flex;
      flex-wrap: wrap;
      overflow-y: auto;
      -ms-overflow-style: none;
      scrollbar-width: none;
      margin: 2rem 0 2rem 0;
      height: 50%;
      max-height: 70vh;
  }
  
  .review-container::-webkit-scrollbar{
      display: none;
  }
  
  .review-box {
      flex: 0 0 auto;
      font-size: 1.3rem;
      height: 200px;
      width: 200px;
      background-color: #212529;
      border-radius: 25px;
      color: white;
      margin-right: 0.5rem;
  }
  
  .review-box:hover{
      transition-duration: 0.3s;
      background-color: white;
      color: #212529;
      outline: none;
  }

  .review-detail-container {
      width: 100%;
      padding: 2rem;
      background: white;
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      display: flex;
      flex-direction: column;
      min-height: calc(100vh - 4rem);
      overflow-x: hidden; /* 가로 스크롤 방지 */
  }
  


.review-detail-header {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.review-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.author-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    color: #718096;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-label {
    font-weight: 600;
    color: #4a5568;
}

.review-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.review-image:hover {
    transform: scale(1.02);
}

.review-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
}


@media (max-width: 768px) {
    .review-detail-container {
        padding: 1rem;
        margin: 1rem 0;
        min-height: calc(100vh - 2rem);
    }

    .review-detail-title {
        font-size: 1.8rem;
    }

    .author-info {
        gap: 1rem;
        flex-direction: row;
    }

    .review-detail-content{
        font-size: 0.9rem;
    }
}
  
  /* ======================================================================== */
  /* ================================== WAY ================================= */
  /* ======================================================================== */
  .way{
      height: 100%;
      width: 100%;
      display: flex;
      flex-direction: column;
  }
  
  #map{
    flex: 1 1 45%;
    max-width: 100%;
    min-height: 300px;
    max-height: 1000px;
    width: 90%;
    height: auto;
  }

  .map-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 700px;
  }
  
  .way-container{
    position: relative;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  
  .way-info{
    flex: 1 1 45%;
    max-width: 100%;
    padding: 30px 15px;
    width: 40%;
    height: 100%;
  }
  
  .way-info-title{
      margin-bottom: -2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  
  .way-info-contents{
      display: flex;
      flex-direction: column;
  }
  
  .info-contents-content{
      margin: 1rem 0;
      font-weight: 100;
  }
  
  .iw_inner{
      color: black;
  }

  .w1{
    font-size: 1.3rem;
    font-weight: 110;
  }

  .ratio-169{
    --bs-aspect-ratio: 56.25%;
  }
  
  /* 배너 모달 팝업 스타일 */
  .banner-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    background-color: #fff;
  }

  .banner-modal.show {
    display: block;
  }

  .banner-modal-content {
    width: 100%;
  }

  .banner-modal-image {
    width: 100%;
    height: auto;
    display: block;
  }

  .banner-modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 0;
    background-color: #f8f9fa;
  }

  .banner-modal-button {
    flex: 1;
    padding: 10px 0;
    border: none;
    cursor: pointer;
    font-size: 14px;
    background-color: #E8E8E8;
    color: #333;
    transition: background-color 0.2s;
  }

  .banner-modal-button:hover {
    background-color: #d1d1d1;
  }

  .hide-today-btn {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }

  @media (max-width: 576px) {
    .banner-modal {
      max-width: 90%;
    }
  }
  