/* === OVERVIEW (행사개요) 전용 스타일 === */

/* 섹션 전체 배경 (Glassmorphism + Background) */
.section-overview.about {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10, 15, 35, 0.20), rgba(10, 15, 25, 0.35)),
    url('./img/overview_back.jpg') center/cover no-repeat !important;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 60px rgba(0,0,0,0.35);
  z-index: 0;
}

/* Glass 패널 (행사 정보 카드) */
.glass-panel {
  position: relative;
  margin: 0 auto;
  width: 90%;
  max-width: 940px;
  background-color: rgba(20, 25, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  padding: 40px 48px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

/* 정보 행 */
.info-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
}
.info-row:last-child { border-bottom: none; }
.info-label {
  width: 140px;
  min-width: 120px;
  color: #64dfdf;
  font-weight: 600;
  text-align: left;
}
.info-value {
  flex: 1;
  color: #fff;
  font-weight: 400;
  line-height: 1.45;
}
.info-value img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.35));
  opacity: 0.95;
}

/* 컨테이너 및 내부 여백 조정 */
.event-container {
  width: 100%;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
}
.section-overview.about .wrap {
  padding-top: 32px;
  padding-bottom: 32px;
}

/* === 반응형 === */
@media (min-width: 1400px) {
  .glass-panel { max-width: 1080px; padding: 48px 56px; }
  .section-overview.about {
    background:
      linear-gradient(180deg, rgba(10,15,35,0.15), rgba(10,15,25,0.25)),
      url('./img/overview_back.jpg') center top/cover no-repeat !important;
  }
}
@media (max-width: 980px) {
  .glass-panel { width: 95%; max-width: 640px; padding: 28px 24px; }
  .section-overview.about .wrap { padding-top: 20px; padding-bottom: 20px; }
}
@media (max-width: 560px) {
  .info-row { flex-wrap: wrap; }
  .info-label { width: 100%; margin-bottom: 6px; }
  .info-value img { height: 32px; }
  .glass-panel { width: 100%; padding: 22px 16px; border-radius: 16px; }
  .section-overview.about .wrap { padding-top: 16px; padding-bottom: 12px; }
}


 .sponsors .wrap{display:flex; gap:36px; justify-content:center; align-items:center;  flex-wrap:wrap; padding-bottom:50px;}

/* 로고 크기 및 줄바꿈 보정 */
.sponsors img {
  height: 38px;
  max-width: 150px;             /* ✅ 폭 제한 */
  width: auto;
}

/* 모바일 (좁은 폭일 때) */
@media (max-width: 560px) {
  .sponsors .wrap {
    gap: -18px;                  /* 간격 줄이기 */
  }
  .sponsors img {
    height: 28px;
    max-width: 100px;
  }
}


/* 섹션 타이틀 – 기존 톤 */
.section-title{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:28px}
.section-title__icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;
  background:radial-gradient(120% 120% at 50% 30%,rgba(127,233,255,.35),rgba(127,233,255,.12));
  box-shadow:0 6px 16px rgba(0,0,0,.25), inset 0 0 10px rgba(127,233,255,.25)}
.section-title__icon i{color:#7fe9ff;filter:drop-shadow(0 0 6px rgba(127,233,255,.6))}
.section-title__text{margin:0;font-weight:800;letter-spacing:-.02em;color:#e7ebff;
  font-size:clamp(30px,4vw,42px)}

/* 레이아웃 비율 – 데스크탑 왼쪽 강조(기존과 동일) */
@media (min-width:981px){
  .overview-wrap{display:grid;grid-template-columns:1.3fr .7fr;gap:28px;align-items:start}
}
@media (max-width:980px){ .overview-wrap{display:grid;gap:16px} }




/* 로고 라인 – 기존 크기/그림자 */
.logo-line{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.logo-line img{height:42px;width:auto;filter:drop-shadow(0 3px 8px rgba(0,0,0,.35));opacity:.95;
  transition:transform .2s ease,opacity .2s ease}
.logo-line img:hover{transform:scale(1.05);opacity:1}

 
/* 그룹 컨테이너: 세로 스택 + 간격 */
.agenda-group{
  display: grid;           /* 또는 display:flex; flex-direction:column; */
  grid-auto-flow: row;
  gap: 12px;               /* ← 이게 '사이사이' 간격 */
  padding: 20px 16px;
  margin: 10px 0 36px;
  border: 1px solid rgba(120,160,255,.35);
  border-radius: 16px;
  background: rgba(20,28,50,.55);
  box-shadow: inset 0 0 0 1px rgba(140,180,255,.08), 0 10px 30px rgba(10,20,40,.55);
}

/* 그룹 안 자식 li들의 바깥 여백을 0으로 (gap이 대신함) */
.agenda-group > li{
  margin: 0 !important;
}

/* 그룹 안 카드/섹션의 내부 패딩은 유지 */
.agenda-group .agenda-card,
.agenda-group .agenda-section{
  padding: 14px 16px;
  border: 1px solid rgba(120,160,255,.18);
  border-radius: 14px;
  background: rgba(10,12,22,.55);
}

/* 상단/하단 라운드 강조 (옵션) */
.agenda-group > li:first-child { border-top-left-radius: 14px; border-top-right-radius: 14px; }
.agenda-group > li:last-child  { border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; }
/* 1부 */
.agenda-section.part1{
  background: linear-gradient(180deg,#3226f2,#1f6bff);
  border-color: rgba(110,170,255,.65);
}
.agenda-group.group-1{
  border-color: rgba(120,160,255,.35);
  background: rgba(20,28,50,.55);
}

/* 2부 */
.agenda-section.part2{
  background: linear-gradient(180deg,#7f42ff,#e11e7a);
  border-color: rgba(200,120,255,.65);
}
.agenda-group.group-2{
  border-color: rgba(200,120,255,.35);
  background: rgba(30,18,50,.55);
}


  /* === Fixed header + mobile menu & register visibility === */
header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: saturate(140%) blur(8px);
  background: linear-gradient(#0a0b12cc, #0a0b1200);
  border-bottom: 1px solid #23264a;
}
/* keep content below header */
body { padding-top: 70px; }

/* Desktop keeps register visible */
@media (min-width: 981px){
  header .menu .pill--register { display: inline-flex !important; }
}

/* Mobile shows menu, smaller spacing, hides register */
@media (max-width: 980px){
  header .menu{
    display: flex !important;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  header .menu a{
    font-size: .82rem;
    padding: 6px 10px;
  }
  header .menu .pill--register{
    display: none !important;
  }
  header .brand .title{ font-size: .85rem; }
}

/* 모바일 스폰서 로고 크게 보이게 */
@media (max-width: 980px) {
  .hero-sponsors .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .hero-sponsors img {
    width: clamp(100px, 32vw, 150px); /* 화면 폭에 비례해 자동 조정 */
    height: auto;
  }
}


/* === 독립 스폰서 블록 === */
.sponsors-new {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: clamp(20px, 4vw, 60px);
}

.sponsors-wrap-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 60px);
  flex-wrap: wrap;
  max-width: 1200px;
  padding: 12px 16px;
}

/* 데스크탑 (기본) */
.sponsors-wrap-new img {
  width: clamp(140px, 14vw, 220px);
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(100,200,255,0.25));
}

/* 호버 시 약간 밝아지게 */
.sponsors-wrap-new img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(100,200,255,0.5));
}

/* === 모바일 전용 === */
@media (max-width: 980px) {
  .sponsors-new {
    margin-top: 30px;
  }
  .sponsors-wrap-new {
    gap: 20px;
  }
  .sponsors-wrap-new img {
    width: clamp(120px, 40vw, 190px); /* 기존보다 살짝 확대 */
    filter: drop-shadow(0 0 8px rgba(100,200,255,0.4));
  }
}

/* === 데스크탑: 히어로 하단 중앙 고정 === */
@media (min-width: 981px) {
  .sponsors-new {
    position: absolute;
    left: 50%;
    bottom: 28px;           /* 필요시 20~40px로 조절 */
    transform: translateX(-50%);
    width: 100%;
    z-index: 2;             /* 배경 위, CTA와 겹치면 3~4로 */
    pointer-events: none;   /* 호버가 CTA에 가도록 */
  }
  .sponsors-wrap-new {
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;              /* 데스크탑 간격 */
  }
  .sponsors-wrap-new img {
    width: clamp(140px, 13vw, 220px); /* 데스크탑 크기 유지 */
    height: auto;
    filter: drop-shadow(0 0 6px rgba(100,200,255,.25));
    transition: transform .2s ease, filter .2s ease;
  }
  .sponsors-wrap-new img:hover { transform: scale(1.04); }
}

/* === 모바일: 흐름 내에서 크게, 중앙 정렬 === */
@media (max-width: 980px) {
  .sponsors-new {
    position: static;       /* 고정 해제: 본문 흐름 */
    transform: none;
    width: 100%;
    margin-top: 24px;       /* 타이틀/CTA 아래 여백 */
  }
  .sponsors-wrap-new {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    padding: 0 12px;
  }
  .sponsors-wrap-new img {
    width: clamp(120px, 36vw, 180px); /* 모바일 크게 */
    height: auto;
    filter: drop-shadow(0 0 8px rgba(100,200,255,.35));
  }
}


/* 모바일에서 스폰서 컨테이너 폭 제한 해제 */
@media (max-width: 980px) {
  .hero-sponsors .wrap {
    max-width: none !important; /* ← 핵심: 폭 제한 제거 */
    width: 100% !important;
    justify-content: center !important;
    gap: 24px !important;       /* 간격 살짝 여유 */
    flex-wrap: wrap !important;
  }

  .hero-sponsors img {
    width: clamp(130px, 44vw, 220px) !important; /* 이제 진짜 커짐 */
    height: auto;
  }
}

/* === 행사개요: 주관 로고 간격 보정 (데스크탑 전용) === */
@media (min-width: 981px) {
  .info-row .info-value.flex.items-center.gap-4 img {
    margin-right: 24px;   /* 로고 사이 여백 추가 */
  }
  .info-row .info-value.flex.items-center.gap-4 img:last-child {
    margin-right: 0;      /* 마지막 로고는 여백 제거 */
  }
}
