/* 코스소개 (club/course) - 2026.11 리뉴얼 (배치 · 홀 위치는 그대로, 모양만) */

/* =========================================================
   상단 골프장 · 항목 탭 (예약안내 · 이용정보 공통 디자인)
   - 하나의 띠 안에 칸을 나누고, 선택한 칸은 금색 + 아래 화살표
   ========================================================= */
.cs_page .it_tabs {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 5px;
    border: 1px solid #e6dfc6;
    background: linear-gradient(180deg, #fff 0%, #fbf9f2 100%);
    box-shadow: 0 10px 28px rgba(110, 92, 20, .07);
}
.cs_page .it_tabs a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 54px;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -.01em;
    color: #666;
    text-align: center;
    white-space: nowrap;
    transform: none;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
/* 칸 사이 구분선 */
.cs_page .it_tabs a + a:before {
    content: "";
    position: absolute;
    left: -2px;
    top: 50%;
    width: 1px;
    height: 18px;
    margin-top: -9px;
    background: #e6dfc6;
    transition: opacity .2s ease;
}
.cs_page .it_tabs a:hover { border: 0; background: rgba(158, 134, 33, .07); color: #9e8621; box-shadow: none; transform: none; }
/* 선택한 칸 */
.cs_page .it_tabs a.cur {
    z-index: 1;
    background: linear-gradient(180deg, #b29a3a 0%, #9e8621 55%, #8c7619 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px rgba(158,134,33,.35);
}
.cs_page .it_tabs a.cur:before,
.cs_page .it_tabs a.cur + a:before { opacity: 0; }
.cs_page .it_tabs a.cur:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: #8c7619;
    transform: rotate(45deg);
    z-index: -1;
}
.cs_page .it_tabs a:focus-visible { outline: 2px solid rgba(158,134,33,.55); outline-offset: -2px; }
/* 번호(01 ...)는 감추고 이름만 */
.cs_page .it_tabs .it_ext { width: 12px; height: 12px; color: #b9a85f; }
.cs_page .it_tabs a.cur .it_ext { color: #fff; }

@media (max-width: 768px) {
    .cs_page .it_tabs { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 4px; }
    .cs_page .it_tabs a { height: 42px; padding: 0 4px; font-size: 13px; white-space: normal; line-height: 1.25; }
    .cs_page .it_tabs a:before { display: none; }
    .cs_page .it_tabs a.cur:after { display: none; }
}

/* 상단 탭: 조금 차분하게 (그림자 · 그라데이션 · 화살표 약하게) */
.cs_page .it_tabs { border-color: #ebe6d4; background: #fff; box-shadow: 0 4px 14px rgba(110, 92, 20, .04); }
.cs_page .it_tabs a:hover { background: rgba(158, 134, 33, .05); }
.cs_page .it_tabs a.cur {
    background: linear-gradient(180deg, #a68e2d 0%, #9e8621 100%);
    font-weight: 500;
    box-shadow: 0 3px 8px rgba(158,134,33,.2);
}
.cs_page .it_tabs a.cur:after { bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: #9e8621; }
.cs_page .it_tabs a + a:before { background: #eeeadb; }

/* ---------- 코스 지도: 홀 번호 · 코스 이름 ---------- */
.cs_page .course_img a {
    box-shadow: 0 3px 8px rgba(0,0,0,.25);
    transition: transform .2s ease, box-shadow .2s ease;
}
.cs_page .course_img a:hover { z-index: 2; transform: scale(1.18); box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.cs_page .course_img a em { font-style: normal; font-weight: 600; }

.cs_page .course_box > .box .name { font-weight: 600; letter-spacing: -.01em; transition: color .2s ease; }
.cs_page .course_box > .box .name:before { width: 36px; height: 2px; background: #9e8621; }
.cs_page .course_box > .box .name:after {
    width: 18px;
    height: 18px;
    margin-left: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e8621' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .2s ease;
}
.cs_page .course_box > .box button:hover .name { color: #9e8621; }
.cs_page .course_box > .box button:hover .name:after { transform: translateX(4px); }
.cs_page .course_box > .box .desc { font-size: 15px; line-height: 1.8; color: #777; }
.cs_page .course_box > .box .hole_info > em { font-style: normal; font-weight: 600; }

/* ---------- 코스 · 홀 선택 바 ---------- */
.cs_page .course_info .course_menu { background: linear-gradient(90deg, #8c7619 0%, #9e8621 50%, #8c7619 100%); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.cs_page .course_info .course_menu .course_select .cur { background: rgba(0,0,0,.18); }
.cs_page .course_info .course_menu .course_select .cur:before {
    width: 14px;
    height: 14px;
    margin-top: -7px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cs_page .course_info .course_menu .course_select .cur button { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.cs_page .course_info .course_menu .select_depth { right: 0; padding: 14px 0; background: #7d6915; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.cs_page .course_info .course_menu .select_depth ul li + li { margin-top: 0; }
.cs_page .course_info .course_menu .select_depth ul li button { padding: 10px 20px; font-size: 16px; font-weight: 500; color: rgba(255,255,255,.65); }
.cs_page .course_info .course_menu .select_depth ul li button:hover { background: rgba(255,255,255,.08); color: #fff; }
.cs_page .course_info .course_menu .select_depth ul li button.active { color: #fff; font-weight: 600; }
.cs_page .course_info .course_menu .hole_select button { position: relative; font-size: 18px; font-weight: 600; color: rgba(255,255,255,.55); }
.cs_page .course_info .course_menu .hole_select button:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transition: transform .25s ease;
}
.cs_page .course_info .course_menu .hole_select button:hover,
.cs_page .course_info .course_menu .hole_select .cur-hole button { color: #fff; }
.cs_page .course_info .course_menu .hole_select .cur-hole button:after { transform: scaleX(1); }

/* ---------- 홀 상세 ---------- */
.cs_page .course_detail .hole_item .info .hole_num strong { font-weight: 700; letter-spacing: -.04em; text-shadow: 0 6px 24px rgba(0,0,0,.25); }
.cs_page .course_detail .hole_item .info .hole_num span { font-weight: 600; letter-spacing: .16em; opacity: .85; }
.cs_page .course_detail .hole_item .info .par {
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(0,0,0,.22);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
}
.cs_page .course_detail .hole_item .info .par > * + * { position: relative; margin-left: 40px; padding-left: 40px; }
.cs_page .course_detail .hole_item .info .par > * + *:before { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: rgba(255,255,255,.25); }
.cs_page .course_detail .hole_item .info .par span { font-size: 18px; font-weight: 600; letter-spacing: .12em; opacity: .8; }
.cs_page .course_detail .hole_item .info .guide strong { position: relative; padding-left: 14px; font-size: 18px; font-weight: 600; }
.cs_page .course_detail .hole_item .info .guide strong:before { content: ""; position: absolute; left: 0; top: 6px; width: 3px; height: 18px; background: #d8bf63; }
.cs_page .course_detail .hole_item .info .guide div { margin-top: 16px; font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.88); }

/* 이전 · 다음 홀: 둥근 버튼 */
.cs_page .course_detail .hole_item .info .swiper-controls { display: flex; gap: 8px; }
.cs_page .course_detail .hole_item .info .swiper-prev,
.cs_page .course_detail .hole_item .info .swiper-next {
    display: block;
    width: 46px;
    height: 46px;
    margin: 0;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    background: rgba(0,0,0,.12) center / 18px no-repeat;
    transition: background-color .2s ease, border-color .2s ease;
}
.cs_page .course_detail .hole_item .info .swiper-prev { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6l-6 6 6 6'/%3E%3C/svg%3E"); }
.cs_page .course_detail .hole_item .info .swiper-next { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 6l6 6-6 6'/%3E%3C/svg%3E"); }
.cs_page .course_detail .hole_item .info .swiper-prev:hover,
.cs_page .course_detail .hole_item .info .swiper-next:hover { border-color: #fff; background-color: rgba(158,134,33,.85); }

/* 그린보기 버튼 */
.cs_page .course_detail .hole_item .thumb .green_wrap .btn_green,
.cs_page .course_detail .hole_item .thumb .green_wrap .btn_video { border-radius: 20px; box-shadow: 0 4px 12px rgba(0,0,0,.2); transition: transform .2s ease; }
.cs_page .course_detail .hole_item .thumb .green_wrap .btn_green:hover,
.cs_page .course_detail .hole_item .thumb .green_wrap .btn_video:hover { transform: translateY(-2px); }

@media (max-width: 768px) {
    .cs_page .course_detail .hole_item .info .swiper-prev,
    .cs_page .course_detail .hole_item .info .swiper-next { width: 36px; height: 36px; background-size: 15px; }
    .cs_page .course_detail .hole_item .info .par > * + * { margin-left: 24px; padding-left: 24px; }
    .cs_page .course_detail .hole_item .info .par span { font-size: 14px; }
    .cs_page .course_detail .hole_item .info .guide strong { font-size: 15px; }
    .cs_page .course_detail .hole_item .info .guide strong:before { top: 4px; height: 14px; }
    .cs_page .course_detail .hole_item .info .guide div { font-size: 13px; }
    .cs_page .course_info .course_menu .hole_select button { font-size: 15px; }
    .cs_page .course_info .course_menu .hole_select button:after { bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .cs_page *, .cs_page *:before, .cs_page *:after { transition: none !important; }
}

/* =========================================================
   코스 정보 표 (홀 아래 거리 · PAR · HANDICAP)
   - 이용안내 등 다른 페이지 표와 같은 톤: 골드 윗선, 연한 골드 머리줄, 가는 테두리
   - 코스마다 표 구조가 달라 특정 줄을 골라 꾸미지 않고 공통 규칙만
   ========================================================= */
.cs_page .course_infoTable .info_box .tit {
    position: relative;
    padding-left: 16px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: #222;
}
.cs_page .course_infoTable .info_box .tit:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 20px;
    margin-top: -10px;
    background: #9e8621;
}
.cs_page .course_infoTable .info_tb table {
    border-collapse: collapse;
    border-top: 2px solid #9e8621;
    font-variant-numeric: tabular-nums;
}
/* 머리줄: HOLE 1 2 3 … */
.cs_page .course_infoTable .info_tb table thead th {
    padding: 14px 4px;
    border-right: 1px solid #ebe5cf;
    border-bottom: 1px solid #ddd3ad;
    background: #f7f5ef;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.3;
    color: #6f5f17;
}
/* 왼쪽 구분 칸: Champion Tee · A GREEN · PAR … */
.cs_page .course_infoTable .info_tb table tbody th {
    padding: 12px 8px;
    border-right: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    background: #fafafa;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #444;
}
/* 숫자 칸 */
.cs_page .course_infoTable .info_tb table tbody td {
    padding: 12px 4px;
    border-right: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    background: #fff;
    font-size: 15px;
    line-height: 1.4;
    color: #555;
}
.cs_page .course_infoTable .info_tb table tr > *:last-child { border-right: 0; }
/* 줄에 마우스를 올리면 옅은 골드로 따라 표시 */
.cs_page .course_infoTable .info_tb table tbody tr:hover td { background: #fdfaf0; color: #333; }
.cs_page .course_infoTable .info_tb table tbody tr:hover th { color: #9e8621; }

@media (max-width: 1220px) {
    .cs_page .course_infoTable .info_tb table thead th { font-size: 14px; }
}
@media (max-width: 768px) {
    .cs_page .course_infoTable .info_box .tit { padding-left: 12px; font-size: 18px; }
    .cs_page .course_infoTable .info_box .tit:before { width: 3px; height: 15px; margin-top: -7px; }
    .cs_page .course_infoTable .info_tb table thead th { padding: 10px 2px; font-size: 12px; letter-spacing: 0; }
    .cs_page .course_infoTable .info_tb table tbody th { padding: 9px 4px; font-size: 12px; }
    .cs_page .course_infoTable .info_tb table tbody td { padding: 9px 2px; font-size: 13px; }
}

/* =========================================================
   글씨 크기 통일 (클럽소개 하위 페이지)
   - 사진과 함께 보이는 큰 제목(섹션 28 · 시설명 28 · 슬라이드 제목 등)은 클럽소개 안에서 이미 같아 유지
   - 본문 · 소제목 · 보조 글씨만 공통 단계에 맞춤
     PC 소제목 18 · 본문 16 · 보조 15 · 안내 14 / 모바일 소제목 16 · 본문 14 · 보조 13 · 안내 12
   ========================================================= */
@media (max-width: 768px) {
    #content .box > button > p.desc { font-size: 13px; }       /* 코스 카드 설명 = 보조 (기존 15, 클럽소개 코스 카드와 같게) */
}

/* 상단 탭 글씨 크기 통일 (이용안내 guide/info 탭과 같게: PC 18px · 모바일 15px) */
.cs_page .it_tabs a { font-size: 18px; }
@media (max-width: 768px) {
    .cs_page .it_tabs a { height: 50px; font-size: 15px; }
}
