*, *::before, *::after {  box-sizing: border-box;}
.m-content {  padding: 0px;  max-width: 100%;  margin: 0 auto;}
.m-content h3 {font-size:25px; padding:0 0 30px 16px; position:relative; }
.m-content h3::before {content:""; height:24px; width:4px; background-color:#555; position:absolute; top:8px;  left:0px; }
.m-timeline {  position: relative;  list-style: none;  padding: 0;  margin: 0; border-bottom:1px solid #dfdfdf;   color: #333;}
.m-timeline > li {  position: relative;  padding: 0px 0 0px 30px;  transition: all 100ms;}
.m-timeline > li:first-child::after {  top: 15px;}
.m-timeline > li:last-child::after {  height: 15px;}
.m-timeline__date {float:left; width:30%; text-align:center; font-size: 35px; padding-top:20px;  margin: 0 0;  color: #0072bc;}
.m-timeline__date span {display:block; color:#bbb; font-size:28px;}
.m-timeline p {  margin: 0 0 ;}
 .m-timeline > li { clear:both; overflow:hidden;  height:100%;   padding-left: 0;  border-top:1px solid #dfdfdf;  }
ul.detail {list-style:none; padding:0; margin:0; float:left; width:70%}
ul.detail li {font-size:15px; border-bottom:1px solid #dfdfdf;  padding:12px 18px 12px 20px; background:url("../img/bullet_01.gif") no-repeat 5px center }
ul.detail li:last-child {border-bottom:0;}
ul.detail li span.detailD {color:#111; font-weight:500;  padding: 0 20px 0 0; }

/*---------------------------------------
  MOBILE RESPONSIVE              
-----------------------------------------*/
@media (max-width: 1023px) {
.m-timeline__date {float:left; width:100%; }
ul.detail { width:100%}
ul.detail li {font-size:14px; padding:5px 18px 5px 20px;  }
.m-timeline__date {font-size: 28px; padding-bottom:10px;}
.m-timeline__date span { font-size:24px; }
}
@media (max-width: 768px) {
}
@media (max-width: 640px) {
}
@media (max-width: 480px) {
}
@media (max-width: 320px) {
}




/* 행사명 영역 */
.event-info { background: #fff;
  text-align: left;
  padding: 2rem 1rem;
}

.event-info h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: left;

}

/* subtitle 스타일 */

/* 행사명 스타일 */
h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: left; /* 왼쪽 정렬 */
  margin-bottom: 0.5rem;
}

/* subtitle 스타일 */
.subtitle {
  font-size: 1.1rem;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 왼쪽 정렬 */
  gap: 8px; /* 텍스트와 아이콘 사이 간격 */
  margin: 10px 0 30px 10px; /* 여백 */
}

/* subtitle 아이콘 스타일 */
.subtitle-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* 행사 정보 카드 영역 */
.event-details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.event-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  width: 250px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.event-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.event-card p {
  font-size: 0.95rem;
  color: #555;
}

/* 후원기관 */
.sponsors {
  background: #fff;
  text-align: left;
  padding: 2rem 1.5rem;
  margin-top: 2rem;
}

.sponsors h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.sponsors p {
  font-size: 1rem;
  max-width: 800px;
  text-align: left;

  color: #444;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .event-card {
    width: 100%;
    max-width: 300px;
  }

  .event-details {
    flex-direction: column;
    align-items: center;
  }

  .sponsors p {
    font-size: 0.9rem;
  text-align: left;

  }
}


/* 행사 정보 항목 스타일 */
.event-item {
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  width: 18%; /* 카드 크기 조정: 5개가 한 줄에 나란히 배치 */
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease;
  margin-bottom: 1rem; /* 각 항목 간 간격 */
}

.event-item:hover {
  transform: translateY(-5px);
}

.event-item img {
  width: 60px;  /* 아이콘 크기 조정 */
  height: 60px;
  margin-bottom: 1rem;
}

.event-item h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.event-item p {
  font-size: 0.95rem;
  color: #555;
}

/* 행사 리스트 */
.event-list {
  display: flex;
  justify-content: space-between; /* 항목들 간의 간격을 일정하게 */
  flex-wrap: wrap;
  gap: 1rem; /* 항목들 간 간격 */
  margin-top: 2rem;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
  .event-item {
    width: 20%; /* 화면이 좁아지면 너비를 조정 */
  }
}

@media (max-width: 768px) {
  .event-item {
    width: 100%;
    max-width: 300px;
  }

  .event-list {
    flex-direction: column;
    align-items: center;
  }
}
