*{
    margin: 0;
    padding: 0;
    /* letter-spacing: -1px; */
 }
 
 li{
     list-style-type: none;
 }
 
 input[type="checkbox"] {
     cursor: pointer; 
 } 
 
 body{
     background-image: white;
     
 }
 
a{
  color: black;
}
 a:hover{
     cursor: pointer;
 }
 
 .login_wrap{
     height: 100%;
 }

 .content{
    width: 100%;
    overflow: hidden;
    position: relative; 
    padding-top: 75px;
}
 
 
 /* --------------------------------------------------------topmenu----------------------------------------------------------- */
 


/* 컨테이너 */
.default_container {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: auto;
}

/* =========================
   container1 배경 (기존 오류 수정)
   ========================= */
.container1{
  background-image: url(../../assets/image/18/main1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* 배경 위 오버레이 (가독성) */
.container1_wrap1_background{
  width: 100%;
  position: relative;
}
.container1_wrap1_background::before{
  content:"";
  position:absolute;
  inset:0;
  /* background: linear-gradient(rgba(121, 151, 120, 0.40), rgba(121, 151, 120, 0.4)); */
  pointer-events:none;
}

.container1_wrap1{
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 100px 0 165px 0;
  box-sizing: border-box;
}

/* =========================
   중앙 문구/버튼
   ========================= */
.container1_wrap1 .hero_center{
  text-align: center;
  color: black;
  padding: 0 16px;
  margin: 0 auto 100px auto;
}
.container1_wrap1 .hero_sub{
  margin: 0 0 12px 0;
  font-size: 18px;
  line-height: 1.4;
  opacity: .95;
}
.container1_wrap1 .hero_title{
  margin: 0 0 22px 0;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.container1_wrap1 .hero_btn{
  display: inline-block;
  padding: 14px 22px;
  background-color: #40606E;
  color: white;
  font-size: 12px;
  text-decoration: none;
  margin-top: 10px;
}

.container1_wrap1 .hero_btn_arrow{
  margin-left: 8px;
  font-weight: 900;
}

/* =========================
   ✅ 3박스 정렬 (현재 네 구조 그대로)
   - flex/grid 안 씀
   - .home_cards 직계 자식 div(컬럼 래퍼 또는 card_media)를 3칸으로 배치
   ========================= */
.container1_wrap1 .home_cards{
  padding: 0 16px;
  font-size: 0;              /* inline-block 공백 제거 */
  box-sizing: border-box;
}


.container1_wrap1 .card_box_wrap{
  display: inline-block;
  vertical-align: top;
  width: calc((100% - 36px) / 3); /* 18px * 2 */
  margin-right: 18px;
  font-size: 16px;           /* 복구 */
  box-sizing: border-box;
  height: 200px;
}

/* 3번째 컬럼 margin 제거 */
.container1_wrap1 .home_cards > div:nth-child(3n){
  margin-right: 0;
}

/* 컬럼 아래 여백(줄바꿈 대비) */
.container1_wrap1 .home_cards > div{
  margin-bottom: 18px;
}

/* =========================
   공통 카드 스타일 (.home_card)
   ========================= */
.container1_wrap1 .home_card{
  background-color: #40606E;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  box-sizing: border-box;
  height: 150px;
  color: white;
  margin-top: 100px;
}

.container1_wrap1 .card_head{ margin-bottom: 16px; }
.container1_wrap1 .card_title{
  margin: 10px 0 20px 0;
  font-size: 18px;
  font-weight: 800;
}
.container1_wrap1 .card_desc{
  margin: 0;
  line-height: 1.5;
  font-size: 15px;
  float: left;
}
.with_new{
  width: calc(100% - 30px);
  float: left;
}

/* 공지사항 NEW 뱃지 */
.container1_wrap1 .title_row{
  display: block; /* 내부 수정 쉬우라고 block */
}
.container1_wrap1 .badge_new{
  display: inline-block;
  height: 22px;
  line-height: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  vertical-align: middle;
  float: left;
  margin-top: 10px;
}

/* =========================
   1) 주요서비스 아래 2버튼 (네 구조상 .home_card 밖에 있음)
   ========================= */
.container1_wrap1 .card_actions.two .card_link{
  display: inline-block;
  vertical-align: top;
  width: calc(100% / 2);
  padding: 14px 14px;
  background-color: rgba(64, 96, 110, 0.70);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  box-sizing: border-box;
  text-align: center;
  float: left;
  border-right: 2px solid rgba(255, 255, 255, 0.5); /* 0~1 */
}
.container1_wrap1 .card_actions.two .card_link:last-child{
  border: none;
}

/* =========================
   2) 공지사항 아래 2박스 (긴 텍스트 / 더보기)
   ========================= */
.container1_wrap1 .notice_row{
  font-size: 0;
}
.container1_wrap1 .notice_text{
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 110px); /* 더보기 110 + 간격 10 */
  padding: 14px 14px;
  background-color: rgba(64, 96, 110, 0.70);
  color: white;
  text-decoration: none;
  font-size: 14px;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-sizing: border-box;
  border-right: 2px solid rgba(255, 255, 255, 0.5); /* 0~1 */
}
.container1_wrap1 .notice_more{
  display: inline-block;
  vertical-align: top;
  width: 110px;
  padding: 14px 10px;
  background-color: rgba(64, 96, 110, 0.70);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
  box-sizing: border-box;
}

/* =========================
   3) 미디어 카드 (현재 3번째는 .home_card 자체가 컬럼)
   ========================= */
.container1_wrap1 .card_media{
  position: relative;
  min-height: 260px;
  padding: 0; /* 아래 박스만 보이게 */
  overflow: hidden;

  background-image: url(../../assets/image/18/main2.jpg); /* 원하는 이미지로 변경 */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.container1_wrap1 .media_bottom{
  padding: 14px;
  background: rgba(255,255,255,.92);
  box-sizing: border-box;
  background-color: rgba(64, 96, 110, 0.70);

}

.container1_wrap1 .media_more{
  display: block;
  text-align: center;
  color: white;
  text-decoration: none;
  font-size: 14px;
  box-sizing: border-box;
}

/* ✅ 메인 3박스: 미디어 이미지 박스 */
.media_top{
  width: 100%;
  height: 150px;               /* 네 home_card 높이(150) 안에서 꽉 차게 */
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media_top img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.padding0{
  padding: 0px !important;
}

.media_top_link{
  display: block;
  text-decoration: none;
  color: inherit;
}

.media_top_empty{
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
}


/* =========================
   대회일정 (전체 교체본)
   ========================= */

/* 섹션 래퍼 */
.container2_wrap3 {
  width: 100%;
  overflow: hidden;
  background: #F4F4F4;
}

.container2_wrap3_box1 {
  max-width: 1200px;
  overflow: hidden;
  margin: 0 auto;
  padding-bottom: 150px;
}

/* 헤더 */
.schedule_header {
  display: flex;
  justify-content: space-between;
  align-items: center;   /* ✅ 전체 헤더 수직 가운데 정렬 */
  gap: 16px;
  margin-bottom: 14px;
  padding: 70px 0 50px 0px;
}

.schedule_header .left {
  display: flex;
  align-items: center;   /* ✅ 제목과 설명을 수평 가운데 정렬 */
  gap: 12px;
}

.schedule_header .title {
  font-size: 40px;
  font-weight: 700;
  color: #222;
}

.schedule_header .desc {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}


.state_select{
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  background: #fff;
  margin-top: 15px;
}

/* ===== 검색바 영역 ===== */
.contest-header-bar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.contest-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}

.contest-input {
  border: 1px solid #ccc;
  background: #fff;
  font-size: 14px;
  padding: 6px 8px;
  line-height: 1.4;
  border-radius: 4px;
  height: 100%;
  box-sizing: border-box;
}

.contest-year,
.contest-month {
  min-width: 70px;
}

.contest-keyword {
  min-width: 140px;
}

.contest-btn-search {
  border: 1px solid #4365BA;
  background-color: #4365BA;
  color: #fff;
  font-size: 14px;
  padding: 5px 10px 7px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.contest-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contest-item-box {
  width: 100%;
  background: #fff;
  overflow: hidden;
 box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.08),
    0 6px 12px rgba(0, 0, 0, 0.05);
}

/* 상태 바 */
.contest-status-bar {
  width: 100%;
  color: #fff;
  font-size: 15px;
  padding: 5px 5px 5px 20px;
}
.status-ing    { background-color: #FF7373; } /* 대회진행중 */
.status-closed { background-color: #A3A3A3; } /* 신청마감 */
.status-apply  { background-color: #76C079; } /* 신청진행중 */
.status-soon   { background-color: #7CA9ED; } /* 신청예정 */

/* 제목 + 버튼 */
.contest-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px 20px 40px;
}
.contest-title {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}
.contest-apply-btn {
  background-color: #4365BA;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
}

/* 하단 3열 구조 */
.contest-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 12px 30px 40px;
  font-size: 14px;
}
.contest-info-label {
  color: #6D6D6D;
  padding-bottom: 4px;
}
.contest-info-value {
  color: #000;
}


.month-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin: 40px 0 10px 4px;
  letter-spacing: -0.5px;
  border-left: 4px solid #4365BA;
  padding-left: 8px;
}

/* 첫 블록 상단: 월제목 + 검색 우측정렬 */
.month-header-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin: 30px 0 16px;
  gap: 12px;
}

/* 왼쪽: "10월 경기일정" */
.month-header-left {
  flex: 1 1 auto;
  margin-top: 5px;
}
.month-title-inline {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  letter-spacing: -0.5px;
  border-left: 4px solid #4365BA;
  padding-left: 8px;
  line-height: 1.3;
}

/* 오른쪽: 검색폼 가로 배치 */
.month-header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  height: 34px;
}

.contest-search-form-inline{
  height: 100%;
}
.contest-info-desktop {
  display: grid; /* 너가 원래 .contest-info-grid에 display:grid 줬잖아. 그대로 */
}
.contest-info-mobile {
  display: none;
}



/* =========================
   대회일정 (전체 교체본)
   ========================= */

/* 섹션 래퍼 */
.container2_wrap4 {
  width: 100%;
  overflow: hidden;
  background-color: white;
}



.container2_wrap4_box1 {
  max-width: 1200px;
  overflow: hidden;
  margin: 0 auto;
  margin-top: 0px;
  padding: 18px;
  padding-bottom: 50px;
}

/* 헤더 오른쪽 영역을 확실히 가로 정렬 */
.container2_wrap4 .schedule_header .right{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 버튼 영역도 flex로 */
.media_nav_btns{
  display: flex;
  align-items: center;
  gap: 6px;
}

.media_nav{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E0E0E0;
  padding: 10px 15px;
  border: 1px solid #E0E0E0;
  color: #111;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
  height: 43px;
  background: none;
}

.info_etc{
  border: 1px solid #E0E0E0;
  padding: 10px 20px;
  color: black !important;
}

/* ===== 미디어 스와이퍼 영역 ===== */
.media_swiper_wrap{
  margin-top: 18px;
}

#mediaBoardSwiper{
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.media_slide{
  display: block;
  text-decoration: none;
  color: #111;
  overflow: hidden;
  background: #fff;
}

.media_slide .thumb{
  width: 100%;
  height: 400px;
  background: #eee;
  overflow: hidden;
}
.media_slide .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .2s ease;
}
.media_slide:hover .thumb img{
  transform: scale(1.03);
}

.media_slide .meta{
  padding: 12px 14px 14px;
}
.media_slide .meta .t{
  font-weight: 800;
  line-height: 1.3;
  font-size: 15px;
  margin-bottom: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.media_slide .meta .d{
  font-size: 13px;
  opacity: .7;
}

/* 비어있을 때 */
.media_empty{
  padding: 40px 10px;
  text-align: center;
  background: #fff;
  border-radius: 14px;
}
.mobile_nav_wrap{
  display: none;
}

  /*
*
* ==========================================
* PC
* ==========================================
*
*/

@media screen and (min-width:911px){


}



  /*
*
* ==========================================
* 모바일 
* ==========================================
*
*/
   
@media screen and (min-width:0px) and (max-width:910px){

    .rank-tabs { display: none; }
  .rank-filter-m { display: block; }

  .content{
    padding-top: 0px;
  }
  .container1_wrap1{
padding: 85px 0 50px 0px;
  }
  .container1{
    background-size: auto;
  }

.container1_wrap1_box1{
  width: 100%;
}
.container1_wrap1_box2{
  width: 100%;
}

.media_header{
  margin-bottom: 20px;
}

.media_header .title{
 font-size: 30px;
 letter-spacing: -1px;
}
.media_header .desc{
 font-size: 14px;
 letter-spacing: -1px;
}

.container2_wrap1{
  padding: 0px 18px 0px 18px;
  box-sizing: border-box;
}
.container2_wrap2{
  padding: 0px 18px 0px 18px;
  box-sizing: border-box;
  margin-top: 50px;
  margin-bottom: 50px;
}

.schedule_header{
  padding: 50px 18px 0px 18px;
  box-sizing: border-box;
}

.schedule_header .title{
  font-size: 30px;
}
.schedule_header .desc{
  display: none;
}
.schedule-swiper{
  padding: 0px 18px 0px 18px;
  box-sizing: border-box;
}

.container2_wrap3_box1{
  padding: 18px;
  margin-bottom: 50px;
  padding-bottom: 0px;
}
.info_etc{
  padding: 8px 15px;
}

.gw-stats-and-subs{
  padding: 0px 18px;
  box-sizing: border-box;

}

.gw-stats{
  grid-template-columns: auto;
}

.board_preview_item{
  padding: 10px 20px;
}

.board_title{
  font-size: 15px;
}
 /* 월 헤더 줄을 세로 스택으로 */
  .month-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin: 20px 0 12px;
    margin-bottom: 30px;
  }

  .month-header-left {
    flex: 0 0 auto;
  }

  .month-title-inline {
    font-size: 16px;
    line-height: 1.4;
    border-left-width: 3px;
    padding-left: 6px;
  }

  .month-header-right {
    flex: 0 0 auto;
    width: 100%;
  }

  /* 검색폼: 모바일에서는 블록형 */
  .contest-search-form-inline {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 연도/월 한 줄 */
    gap: 8px 8px;
  }

  /* 년, 월 select 둘은 첫 줄에 1/2씩 */
  #searchYear,
  #searchMonth {
    width: 100%;
  }

  /* 검색어는 100% 한 줄 차지하게 2칸 span */
  #searchKeyword {
    grid-column: 1 / span 2;
    width: 100%;
  }

  /* 검색 버튼도 100% 한 줄 전체 */
  #btnSearch {
    grid-column: 1 / span 2;
    width: 100%;
    text-align: center;
    font-size: 14px;
    padding: 10px 0;
  }

  .contest-input {
    font-size: 14px;
    padding: 8px 10px;
  }

  .contest-btn-search {
    padding: 10px 10px;
    font-size: 14px;
  }

  /* 두 번째 이후 월제목 */
  .month-title {
    font-size: 16px;
    margin: 28px 0 12px 0;
    border-left-width: 3px;
    padding-left: 6px;
  }

  /* 카드 여백 조금 줄임 */
  .contest-item-box {
    /* border-radius: 4px; */
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.08),
      0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .contest-item-head {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px 8px 14px;
  }

  .contest-title a {
    font-size: 15px;
    line-height: 1.4;
  }

  .contest-apply-btn {
    font-size: 13px;
    padding: 7px 12px;
    margin-top: 8px;
  }

  /* info grid: 모바일에서는 세로형 2컬럼 구조로 바꾸기
     형태:
     대회기간   2025.10.01 ~ 10.02
     장소       춘천CC
     신청기간   2025.09.10 ~ 09.25
  */
  .contest-info-grid {
    grid-template-columns: auto 1fr;
    text-align: left;
    row-gap: 8px;
    column-gap: 10px;
    font-size: 13px;
    padding: 10px 14px 14px;
  }

  .contest-info-label {
    border-bottom: none;
    padding-bottom: 0;
    font-size: 13px;
    line-height: 1.4;
    min-width: 70px;
    white-space: nowrap;
  }

  .contest-info-value {
    padding-top: 0;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
  }

  .no-result {
    font-size: 13px;
    padding: 32px 0;
  }

    /* PC 버전 테이블은 모바일에서 숨김 */
  .contest-info-desktop {
    display: none;
  }

  /* 모바일 버전만 보이게 */
  .contest-info-mobile {
    display: block;
    padding: 10px 12px 30px 20px; /* PC랑 비슷하게 맞춰도 되고, 모바일용으로 줄이고 싶으면 조절 */
    font-size: 12px;
    box-sizing: border-box;
  }

  .contest-info-mobile-row {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 4px;
    margin-bottom: 5px;
  }

  .contest-info-mobile-label {
    color: #6D6D6D;
    min-width: 70px;
    white-space: nowrap;
  }

  .contest-info-mobile-value {
    color: #000;
    word-break: break-word;
  }

  /* 모바일에서 카드 패딩도 약간 줄이고 싶으면 여기서 override 가능 */
  .contest-item-head {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 16px 20px;
    gap: 8px;
    font-size: 14px;
  }

  .contest-title {
    font-size: 14px;
    line-height: 1.4;
  }
.contest-title a{
  font-size: 14px;
}
  .contest-apply-btn {
    font-size: 12px;
    padding: 6px 10px;
  }

   /* 검색바 영역: 모바일에선 전체 꽉 차게 */
  .contest-header-bar {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    margin-bottom: 12px;
  }

  .contest-search-form {
    width: 100%;
    overflow: hidden; /* float 해제용 */
  }
  #searchKeyword{
    grid-column: none;
  }
  #btnSearch{
    grid-column: none;
  }
  .contest-search-form-inline{
    display: block;
  }
  .month-header-right{
    display: block;
  }
  /* 공통 */
  .contest-input,
  .contest-btn-search {
    height: 36px;
    font-size: 13px;
    box-sizing: border-box;
  }

  /* 연도 */
  .contest-year {
    float: left;
    width: 49% !important;
    margin-right: 2%;
  }

  /* 월 */
  .contest-month {
    float: left;
    width: 49% !important;
    margin-right: 0%;
  }

  /* 검색어 입력 */
  .contest-keyword {
    float: left;
    width: 85% !important;
    margin-right: 2%;
    margin-top: 5px;
  }

  /* 검색 버튼 */
  .contest-btn-search {
    float: left;
    width: 13% !important;
    border: 1px solid #4365BA;
    background-color: #4365BA;
    color: #fff;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    padding: 0px !important;
    margin-top: 5px;
    box-sizing: border-box;
    font-size: 12px !important;
  }
}


/* 산하시군 18개 width패치 */

/* (중요) 기존 고정폭 제거: 260px → 100% 로 바꿔 화면폭에 ‘꽉 차게’ */
.subassoc-card{
  display: block;
  width: 100%;            /* ✅ 화면폭 분할값을 100%로 채움 */
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  padding:14px 16px;
  box-shadow:0 1px 2px rgba(0,0,0,.04);
  color: inherit;
  text-decoration: none;
  text-align: center;
}

/* (중요) auto 폭 강제 금지 — 스와이퍼가 칸폭을 계산하게 둠 */
.subassoc-swiper .swiper-slide{
  /* width:auto; ← 이 줄이 있었다면 제거 */
  display: flex;          /* 카드가 높이를 꽉 채우도록 */
}
.subassoc-swiper .swiper-slide > .subassoc-card{
  width: 100%;
}

/* 모바일에서도 여백 포함해 꽉 차도록 컨테이너 패딩만 유지 */
.subassoc-swiper { 
  position: relative; 
  padding: 20px 8px;
}

/* 좌우 버튼은 그대로 사용하되, 필요 없을 땐 비활성화 처리 */
#subPrev.swiper-button-disabled,
#subNext.swiper-button-disabled{
  opacity: 0;
  pointer-events: none;
}
.contest_card {
  position: relative;
  width: 100%;
  height: 100%;
  /* 슬라이드 내부 레이아웃이 세로 스택이라면 flex-direction:column; 써도 됨 */
  display: flex;
  flex-direction: column;
}

.contest_thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;  /* 썸네일 비율은 너 스타일 맞춰서 */
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  background: #f5f5f5;
  height: 700px;
}
.contest_thumb.is-empty {
  display:flex;
  align-items:center;
  justify-content:center;
  color:#999;
  font-size:14px;
  font-weight:500;
}
.contest_thumb img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.contest_lines {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color:#222;
}
.contest_lines .line.title {
  font-size: 15px;
  font-weight: 700;
  color:#000;
  margin-bottom:4px;
}
.contest_lines .line.title a {
  color: inherit;
  text-decoration: none;
}
.contest_lines .k {
  display:inline-block;
  min-width: 36px;
  font-weight:600;
  color:#555;
}
.contest_lines .v {
  color:#000;
  font-weight:400;
  margin-left:4px;
}

/* 상태 버튼 (라인처럼 아래에 붙지만 디자인은 버튼형) */
.status_btn {
  display: inline-block;
  margin-top: 25px;
  padding: 5px 10px;
  font-size: 13px;
  color: #fff;
  border-radius: 3px;
  text-align: center;
  user-select: none;
  transition: 0.2s;
  width: 50px;
}

/* =========================
   팝업 레이어 전체
   ========================= */

#popup-layer-root {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  pointer-events: none; /* 배경 클릭 막기 */
  font-family: 'Noto Sans KR', sans-serif;

  /* PC 기본: 가운데 배열 / 가로 나란히 */
  display: flex;
  flex-direction: row;
  align-items: center;      /* 수직 중앙 */
  justify-content: center;  /* 수평 중앙 */
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

/* =========================
   개별 팝업 공통 박스
   ========================= */

.site-popup {
  pointer-events: auto; /* 이 박스는 클릭 가능 */
  background: transparent;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.4),
    0 4px 12px rgba(0,0,0,0.2);
  border-radius: 12px;
  overflow: hidden;

  /* 🔁 공통 사이즈: 여기 한 군데에서만 관리 */
  max-width: 400px;
  width: 400px;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
  animation: popupFade .25s ease both;

  display: flex;
  flex-direction: column;
}

/* 팝업 안 내용 래퍼 */
.site-popup-inner {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-width: 260px;

  /* 전체 카드 최대 높이 */
  max-height: 80vh;
  overflow: hidden;
  box-sizing: border-box;
}

/* =========================
   헤더 (제목)
   ========================= */
.popup-header {
  flex-shrink: 0;
  padding: 16px 16px 8px 16px;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.popup-title {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  color: #111;
  word-break: keep-all;
  text-align: center;
  margin: 0;
}

/* =========================
   바디 공통 래퍼
   ========================= */
.popup-body {
  flex: 1 1 auto;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* header+footer 뺀 만큼의 영역 제한 */
  max-height: calc(80vh - 110px);

  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* ---- 타입1: 이미지 ---- */
.popup-body-image {
  flex: 1 1 auto;
  min-height: 200px;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}
.popup-image-main {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.popup-empty-msg {
  font-size: 14px;
  color: #999;
  text-align: center;
  padding: 20px;
}

/* ---- 타입2: 텍스트 ---- */
.popup-body-text {
  flex: 1 1 auto;
  padding: 16px;
  box-sizing: border-box;
  background: #fff;
  color: #222;
  overflow-y: auto;
}
.popup-text-content {
  font-size: 0.95rem;
  line-height: 1.5rem;
  color: #333;
  word-break: keep-all;
}
.popup-text-content a {
  color: #1a237e;
  text-decoration: underline;
}

/* ---- 타입3: 대회 초청 ---- */
.popup-body-invite {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 0;
  overflow: hidden; /* iframe이 꽉 차게 */
}
.popup-invite-frame {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: #fff;
  display: block;
  min-height: 600px; /* 공통 기본 높이. (type=3만 따로 안건드림) */
}

/* =========================
   푸터
   ========================= */
.popup-footer {
  flex-shrink: 0;
  background: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  box-sizing: border-box;
  font-size: 12px;
  line-height: 1.4;
  color: #444;
}

.hide7-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #444;
  user-select: none;
}
.hide7-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #1a237e;
}

.popup-close-btn {
  appearance: none;
  border: 0;
  border-radius: 6px;
  background: #1a237e;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 10px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.popup-close-btn:hover {
  background: #000;
  color: #fff;
}

/* =========================
   애니메이션
   ========================= */
@keyframes popupFade {
  0%   { opacity: 0; transform: translateY(10px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* =========================
   링크 색 보정 (전역 a {color:white} 같은 전역 룰 무시)
   ========================= */
.site-popup a {
  color: #1a237e;
  text-decoration: none;
}
.site-popup a:hover {
  text-decoration: underline;
}

/* =========================
   모바일 (<910px)
   ========================= */
@media (max-width: 910px) {

  #popup-layer-root {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100vw;
    height: 100vh;
    gap: 16px;
    padding: 16px;
    box-sizing: border-box;
  }

  .site-popup {
    width: 90%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    box-shadow:
      0 20px 50px rgba(0,0,0,0.35),
      0 6px 16px rgba(0,0,0,0.28);
  }

  .site-popup-inner {
    max-height: 80vh;
  }

  .popup-body {
    max-height: calc(80vh - 110px);
  }

  .popup-invite-frame {
    min-height: 60vh; /* 모바일에서 너무 길지 않게 */
  }

  .container1_wrap1 .hero_sub{
  font-size: 12px;
}

.container1_wrap1 .hero_title{
  font-size: 26px;
}

.home_cards{
  display: none;
}
.media_nav{
  height: 37px;
  
}
.schedule_header{
padding-bottom: 10px !important;
}

.mobile_nav_wrap{
  display: block !important;
  width: 100%;
  height: 50px;
}
.m_nav1{
  float: left;
  display: flex;
  width: calc(100% / 2);
  height: 100%;
  background-color: rgba(64, 96, 110, 0.70);
  color: white;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
}
.m_nav2{
  float: left;
  display: flex;
  width: calc(100% / 2);
  height: 100%;
    background-color: rgba(64, 96, 110, 0.70);
  color: white;
}
.m_topbar{
  width: 100% !important;
  justify-content: center; /* 가로 중앙 */
}
.m_topbar img{
  width: 12px !important;
  height: 12px !important;
}
}
/* ===== 공지 미리보기 링크 색/레이아웃 복구 (전역 a{color:white} 무시) ===== */
.container2_wrap2 .board_preview_item a.board_link{
  color: inherit;               /* 부모 색(#222/#666) 상속 */
  text-decoration: none;
  display: flex;                /* li 내부 배치 유지 */
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.container2_wrap2 .board_preview_item a.board_link:hover .board_title{
  text-decoration: underline;   /* 호버 시 제목만 밑줄 */
}
.container2_wrap2 .board_title{ color:#222; }
.container2_wrap2 .board_date{  color:#666; }
/* =========================
   상단 타이틀바 (n월 경기일정 / 더보기)
   ========================= */
.contest-topbar{
  width: 100%;
  height: 50px;
  background: #263763;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  box-sizing: border-box;
  margin-bottom: 16px;
}
.topbar-left{
  float: left;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.topbar-right{
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  opacity: .95;
}
.topbar-right img{
  width: 18px;
  height: 18px;
  display: block;
}

/* =========================
   state select → 가로 탭(picker)
   ========================= */
.state_picker{
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}
.state_picker .pick{
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #333;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: .15s;
  white-space: nowrap;
}
.state_picker .pick.active{
  background: #263763;
  border-color: #263763;
  color: #fff;
  font-weight: 600;
}
.state_picker .pick:hover{
  border-color: #263763;
}

/* =========================
   모바일: 필터를 아래줄로 내리기
   ========================= */
@media screen and (max-width:910px){
  .schedule_header{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 50px 0 30px 0;
  }
  .schedule_header .left{
    width: 100%;
  }
  .schedule_header .right{
    width: 100%;
  }
  .state_picker{
    width: 100%;
    flex-wrap: wrap;   /* ✅ 모바일에서 자동 줄바꿈 */
    gap: 8px;
  }
  .state_picker .pick{
    font-size: 12px;
    padding: 7px 10px;
    margin-top: 10px;
  }

  .contest-topbar{
    height: 46px;
    padding: 0 10px;
  }
  .topbar-left{ font-size: 14px; }
  .topbar-right{ font-size: 12px; }
}
/* 랭킹 스트립(남/여) 높이 유지 */
.rank-strip {
  /* 네 카드 높이에 맞춰 숫자만 조절 */
  min-height: 220px;     /* PC 기준 */
  position: relative;
}

/* swiper 자체도 최소 높이 유지 */
.rank-strip .rank-swiper {
  min-height: 220px;
}

/* 빈 결과 슬라이드가 가운데 오게 */
.rank-strip .rank-empty {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
}