@media (max-width: 1800px){
  .inner.main-1800 {width:94%;}
}

/* Tablet (<=1024px) */
@media (max-width: 1024px){
  .sub-inner{
    width: calc(100% - 3.2rem);
    padding: 4.8rem 0 8.0rem;
  }

  .sub-head{
    padding-bottom: 1.6rem;
  }


/* ----랭킹---- */
  .rank-page .sub-head.rank-head{
    flex-direction:column;
    align-items:flex-start;
    gap: 1.2rem;
  }

  .rank-page .rank-bar{
    padding: 1.6rem 0 1.2rem;
  }

  .rank-page .rank-table{
    min-width: 72rem;
  }

  .rank-page .rank-table thead th,
  .rank-page .rank-table tbody td{
    padding: 0 1.2rem;
  }


/* ----코스---- */

.course-page .course-search{
    width:100%;
  }
  .course-page .course-search-input{
    width:100%;
  }

  .course-page .course-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .course-page .course-grid.is-new{
    padding: 1.2rem;
  }

.course-detail-page .course-summary{
    grid-template-columns: 1fr;
    padding: 2.0rem;
  }

  .course-detail-page .info-table th{
    width: 12rem;
  }

  .course-detail-page .course-map{
    padding: 1.6rem;
  }

  /* 공지사항 */
  .board-top{
    align-items:flex-start;
  }

  .board-search{
    width:100%;
  }

  .board-search-input{
    width:100%;
  }

  .board-card{
    margin-top: 1.2rem;
  }

  .board-table{
    min-width: 72rem;
  }

  .board-table thead th,
  .board-table tbody td{
    padding: 0 1.2rem;
  }

  .post-head{
    padding: 1.6rem 1.6rem;
  }
  .post-body{
    padding: 2.0rem 1.6rem 2.4rem;
  }
  .post-files{
    margin: 0 1.6rem 1.6rem;
  }
  .post-actions{
    padding: 1.4rem 1.6rem;
    flex-wrap:wrap;
  }


	.round-page .round-dashboard{
		grid-template-columns: 1fr;
	}

	.round-page .dash-stats{
		grid-template-columns: repeat(2, 1fr);
	}

	.round-page .stat-item{
		min-height: 8.8rem;
		border-left: 0;
		border-top: 0.1rem solid #eee;
	}
	.round-page .stat-item:nth-child(1),
	.round-page .stat-item:nth-child(2){
		border-top: 0;
	}

	.round-page .round-row{
		grid-template-columns: 1fr;
		gap: 1.2rem;
	}

	.round-page .row-right{
		justify-content:flex-start;
	}

	.round-page .round-search-btn{
		width:100%;
	}

	.tournament-page .ctrl-left{
    min-width: 0;
    flex: 1 1 100%;
  }
  .tournament-page .ctrl-right{
    width: 100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }

  .tournament-page .search-field{
    flex-wrap:wrap;
  }

  .tournament-page .search-input{
    min-width: 0;
  }
  .tournament-page .search-apply{
    width: 100%;
  }

   .tournament-page .tourn-list{
    grid-template-columns: 1fr;
  }

  .tournament-page .tc-head{
    grid-template-columns: auto 1fr;
    gap: 0.8rem 1.0rem;
  }
  .tournament-page .tc-meta{
    grid-column: 1 / -1;
  }

  .tournament-page .tc-grid{
    grid-template-columns: 1fr;
  }
  

  .tournament-detail-page .td-info-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .tournament-detail-page .td-sections{
    grid-template-columns: 1fr;
  }
  .tournament-detail-page .td-rank{
    padding: 1.6rem;
  }


  .store-page .store-search{
    min-width: 0;
    flex: 1 1 100%;
  }
  .store-page .store-controls{
    width: 100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  .store-page .store-controls .btn{
    width: 100%;
  }

  .store-detail-page .sd-top{
    grid-template-columns: 1fr;
  }
  .store-detail-page .sd-map-meta{
    grid-template-columns: 1fr;
  }
  .store-detail-page .sd-actions{
    flex-direction: column;
  }

  .my-page .my-top{
    grid-template-columns: 1fr;
  }
  .my-page .my-profile-actions{
    flex-direction: column;
  }

  .join-page .join-summary{
    grid-template-columns: 1fr;
  }
  .join-page .join-kpis{
    grid-template-columns: repeat(3, 1fr);
  }

  .join-page .join-item-body{
    grid-template-columns: 1fr;
  }
  .join-page .join-search{
    margin-left: 0;
    width: 100%;
  }
  .join-page .join-date .input{
    width: 100%;
    min-width: 0;
  }


  .policy-page .policy-hero{
    flex-direction: column;
  }

  /* 로그인 */
  .auth-page .auth-card{
    max-width: 100%;
    padding: 2.0rem;
  }

  /* 프로필 수정 */
  .profile-page .profile-card{ padding: 2.0rem; }

  .profile-page .frow{
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .profile-page .flabel{ padding-top: 0; }

  .profile-page .email-grid{
    grid-template-columns: 1fr;
  }
  .profile-page .email-at{ display: none; }
  .profile-page .email-select{ width: 100%; }

  .profile-page .phone-grid{
    grid-template-columns: 1fr 1fr;
  }
  .profile-page .phone-auth{
    grid-column: 1 / -1;
    width: 100%;
  }

  .profile-page .addr-grid{
    grid-template-columns: 1fr;
  }
  .profile-page .addr-btn{ width: 100%; }

  .ms-quick-grid{ grid-template-columns: 1fr; }
  .quick-thumb{ width: 10.8rem; height: 7.2rem; }
  .tour-wrap{ grid-template-columns: 1fr; gap: 2.8rem; padding: 3.2rem; }
  .course-head{ grid-template-columns: 1fr; }
  .course-right-copy{ justify-self: start; text-align:left; }
  .course-grid{ grid-template-columns: 1fr; }
  .course-main-card{ grid-template-columns: 1fr; }
  .course-main-photo{ min-height: 26rem; }

  .notice-wrap{
    grid-template-columns: 1fr;
  }
  .cs-card-link{
    height: 20.0rem;
  }
  .cs-tel{
    font-size: 3.2rem;
  }


  .footer-inner {
    padding: 2.0rem 1.6rem 2.4rem;
  }

  .footer-top {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.4rem;
  }

  .footer-logo img {
    height: 3.2rem;
  }


  .web-header {
    background-color: #f7f8fc;
  }

  .header-inner {
    padding-top: 1.6rem;
    padding-bottom: 2rem;
  }

  .header-main {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
  }

  .header-logo {
    position: static;
    flex: 0 0 auto;
    margin-bottom: 1.2rem;
  }

  .header-logo img {
    height: 4.8rem;
  }

  .header-gnb {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
  }

  .gnb-list {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 1rem;
    column-gap: 3rem;
  }

  .gnb-link {
    font-size: 1.7rem;
  }
  

  .visual-copy {
	bottom:8rem;
  }

  .visual-title {
	font-size:5rem;  
	}

	.course-main-photo {
	width:100%;
	}

  .course-side-swiper {
	height:25vh;  
	}

}


@media (max-width: 768px){
  .header-inner {
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
  }

  /* 메인 라인: 로고 + 햄버거 한 줄, GNB는 dropdown */
  .header-main {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
  }

  /* 로고: absolute 해제해서 자연스럽게 */
  .header-logo {
    position: static;
  }

  .header-logo img {
    height: 4.4rem;
  }

  /* 햄버거는 이 구간부터 보이게 */
  .header-ham {
    display: inline-flex;
  }

  /* 상단 유틸 약간 줄이기 */
  .header-utils {
    padding: 1.2rem 0;
  }

  .header-auth-item a,
  .header-auth-item button {
    font-size: 1.4rem;
  }

  /* GNB를 dropdown 패널로 전환 */
  .header-gnb {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-bottom: 0;
    padding: 1.2rem 2rem 1.6rem;
    background-color: #ffffff;
    box-shadow: 0 0.4rem 1.4rem rgba(15, 23, 42, 0.16);
    display: none; /* 기본 숨김 */
    z-index: 40;
    justify-content: center;
  }

  /* 열렸을 때만 표시 */
  .web-header.is-nav-open .header-gnb {
    display: flex;
  }

  /* 메뉴 세로 정렬 */
  .gnb-list {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .gnb-link {
    font-size: 1.7rem;
  }

  /* 2차 메뉴(dropdown)는 모바일에선 그냥 block 로 우선 */
  .header-gnb .gnb-list > .gnb-item > .gnb-depth2 {
    position: static;
    transform: none;
    margin-top: 0.4rem;
    box-shadow: none;
    border-radius: 0.4rem;
  }

  .score-card-head { padding: 1.4rem 1.6rem; }
  .score-table-wrap { padding: 0 1.6rem 1.4rem; }
  .score-main { padding: 1.2rem 1.6rem 0; }
}

