@charset "utf-8";

/* 메인 컨텐츠 스타일 */
.content-wrapper {
  margin: 0 auto;
  line-height: 1.8;
  font-size: 18px;
}

.content-wrapper p {
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 1.8;
  word-break: keep-all;
}

.content-wrapper h2 {
  font-size: 28px;
  font-weight: bold;
  margin: 50px 0 5px 0;
  color: #333;
}

.content-wrapper strong {
  font-weight: 600;
}

.flags-container {
  margin: 50px 0;
  width: 100%;
}

.flags-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 50px;
  width: 100%;
  padding: 0;
}

.flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flag-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 8px;
}

.flag-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}
.flag-note {
  font-size: 16px;
  margin-top: 15px;
  line-height: 1.4;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .flags-grid {
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
  }
  .content-wrapper, .flags-container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .flags-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
  }
  
  .flag-note {
      font-size: 11px;
  }
}

/* 대학 로고 슬라이더 스타일 */
.university-slider {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  overflow: hidden;
  padding: 30px 0;
  margin-top: 50px;
  border-top: 1px solid #e9ecef;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  animation: slideLeft 60s linear infinite;
  width: calc(200% + 20px);
}

.slider-track:hover {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  margin: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-height: 80px;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.logo-item:hover img {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes slideLeft {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}

/* 모바일에서 로고 크기 조정 */
@media (max-width: 768px) {
  .logo-item {
      height: 60px;
  }
  
  .logo-item img {
      max-height: 60px;
      max-width: 100px;
  }
}

@media (max-width: 480px) {
  .logo-item {
      height: 50px;
      margin: 0 15px;
  }
  
  .logo-item img {
      max-height: 50px;
      max-width: 80px;
  }
}