/* 2026-11-24 서브 페이지 공통 테마 — 메인 리뉴얼(inc/re2_index/26_main.php)의 초록 자연 톤에 맞춤.
 * re_menu/menu_index.php 에서 불러옴. 레이아웃 크기는 건드리지 않고 색·모서리·여백만 바꾼다. */
:root{--g:#2f8f4e;--g2:#57b46a;--gd:#1c3d27;--gl:#eaf6ec;--line:#e3ece4;--tx:#3d5a46}

/* 바탕: 회색 그라데이션 띠 → 연한 하늘/초록 */
body.bg_sub_re{background:#fff !important}

/* 왼쪽 메뉴 */
body .sub_leftmenu_box{border:0 !important;background:transparent !important;padding-top:4px}
body .sub_left{width:176px !important;margin-left:-18px;box-sizing:border-box;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 2px 12px rgba(30,80,45,.06);overflow:hidden;padding-bottom:10px}
body .sub_left .title_img_box{width:auto !important;border-bottom:1px solid #eef3ee !important;background:#fff}
body .sub_left .gnb_major,body .sub_left .gnb_major2{width:158px !important;margin:6px auto 0}
body .sub_left .gnb_major ul,body .sub_left .gnb_major2 ul{height:auto !important;overflow:hidden}
body .sub_left .gnb_major ul li,body .sub_left .gnb_major2 ul li{width:158px !important;height:auto;border-bottom:0 !important;margin-bottom:2px}
body .sub_left .gnb_major ul li a,body .sub_left .gnb_major2 ul li.btn_service1 a,body .sub_left .gnb_major2 ul li.btn_service3 a,body .sub_left .gnb_major2 ul li.btn_service1_on a{display:block;width:auto !important;height:auto !important;line-height:1.35 !important;padding:8px 10px !important;border-radius:9px;color:var(--tx) !important;border-bottom:0 !important;letter-spacing:-.4px;background:none}
body .sub_left .gnb_major ul li a:hover,body .sub_left .gnb_major2 ul li a:hover{background:#f2f8f2 !important;color:var(--g) !important}
body .sub_left .gnb_major ul li a.selected,body .sub_left .gnb_major2 ul li a.selected,
body .sub_left .gnb_major2 ul li.btn_service1_on a,body .sub_left .gnb_major2 ul li.btn_service2_on a{background:var(--g) !important;color:#fff !important;box-shadow:0 3px 8px rgba(47,143,78,.25)}
body .sub_left .gnb_major ul li a.selected:hover{color:#fff !important}
body .sub_left .gnb_major ul li.sub_menu a,body .sub_left .gnb_major2 ul li.btn_service2 a,body .sub_left .gnb_major2 ul li.btn_service2_on a,body .sub_left .gnb_major2 ul li.sub_menu a{display:block;width:auto !important;height:auto !important;line-height:1.35 !important;padding:6px 10px 6px 18px !important;background:none !important;border-bottom:0 !important;font-weight:600 !important;color:#5d7464 !important;text-indent:0 !important;border-radius:8px}

/* 본문: 메인처럼 흰 카드 */
body .sub_right .right_sub{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 2px 14px rgba(30,80,45,.06);padding-bottom:26px;margin-top:4px;min-height:420px}

/* 제목줄 */
body .sub_right .right_sub .sub_stit{width:auto !important;margin:12px 12px 6px !important}
body .sub_stit,body .sub_stit_b,body .sub_stit2{background:linear-gradient(90deg,#eef8f0 0%,#f8fcf8 55%,#fff 100%) !important;border:1px solid var(--line) !important;border-left:4px solid var(--g) !important;border-radius:14px;box-sizing:border-box;height:62px !important;margin-bottom:6px}
body .sub_stit .text_tit,body .sub_stit_b .text_tit,body .sub_stit2 .text_tit{margin-top:22px !important}
body .sub_stit .text_page,body .sub_stit_b .text_page,body .sub_stit2 .text_page{margin-top:24px !important;color:#8a9a8e !important}
body .sub_stit .text_page span,body .sub_stit_b .text_page span,body .sub_stit2 .text_page span{color:var(--g) !important;font-weight:700}
body .sub_stit .text_page img,body .sub_stit_b .text_page img{opacity:.55}
body .sub_stit_b_line{border-bottom:2px solid var(--g) !important}

/* 공통 페이징 (get_paging_modern / stxt_event1 등) */
body .pg_current,body .paging strong,body .pg_page_on{background:var(--g) !important;border-color:var(--g) !important;color:#fff !important}

/* 하단 */
body #footer_container{background:#f6faf6}

/* 게시판 (board/_lib/board_core.php 의 .bd-*) */
body .bd{font-family:'Noto Sans KR','Noto Sans JP','Noto Sans SC','Malgun Gothic',sans-serif;color:#3d4a40}
body .bd-tabs a{border-radius:16px;border-color:#dbe6dd;background:#fff;color:#5d7464;font-weight:700;padding:5px 14px}
body .bd-tabs a:hover{border-color:var(--g2);color:var(--g);text-decoration:none}
body .bd-tabs a.on{background:var(--g);border-color:var(--g);color:#fff}
body .bd-table th{background:#f5faf5;color:#4b6152;border-top:2px solid var(--g);border-bottom:1px solid #e3ece4;font-weight:700}
body .bd-table td{border-bottom-color:#eef3ee}
body .bd-table tbody tr:hover td{background:#f8fcf8}
body .bd-table td.subject a,body .bd-on td.subject a{color:#26352b}body .bd-table td.subject a:hover{color:var(--g)}
body .bd-page a,body .bd-page b,body .bd-page .off{border-radius:8px;border-color:#e3ece4}
body .bd-page b{background:var(--g);border-color:var(--g);color:#fff}body .bd-page a:hover{border-color:var(--g2);color:var(--g);text-decoration:none}
body .bd-search select,body .bd-search input[type=text]{border-color:#dbe6dd;border-radius:8px;height:30px}
body .bd-search button,body .bd-form button{border-radius:8px;border-color:var(--g);background:var(--g);height:30px;font-weight:700}
body .bd-v-title{border-color:#e3ece4;border-left:4px solid var(--g);background:#f5faf5;border-radius:10px}
body .bd-v-files a{color:var(--g)}
body .bd-btn{border-radius:8px;border-color:#dbe6dd;background:#fff;color:#3d5a46}body .bd-btn:hover{border-color:var(--g2);color:var(--g);text-decoration:none}
body .bd-badge{background:#f0623a}

/* 선택된 메뉴 (gnb_major2 의 _on) — 위 들여쓰기 규칙보다 우선 */
body .sub_left .gnb_major2 ul li.btn_service1_on a,body .sub_left .gnb_major2 ul li.btn_service2_on a{background:var(--g) !important;color:#fff !important;border-radius:9px}

/* 공통 페이지 번호 (lib get_paging_modern 의 .udr-pg) */
body .udr-pg a,body .udr-pg b,body .udr-pg .udr-pg-off{border-radius:8px;border-color:#e3ece4}
body .udr-pg b{background:var(--g) !important;border-color:var(--g) !important;color:#fff !important}
body .udr-pg a:hover{border-color:var(--g2) !important;color:var(--g) !important}

/* ===== 상단 메뉴(GNB) 2026-11-24 — 모든 언어 텍스트 메뉴 + 카드형 펼침 메뉴 =====
 * 양 끝 셀(UDR members / UDR Golf system 로고)은 기존 이미지 유지, 가운데 6칸은 이미지 글자 위에 텍스트로 덮음 */
body #header .gnb_group ul li.btn_net a,body #header .gnb_group ul li.btn_event a,body #header .gnb_group ul li.btn_movie a,
body #header .gnb_group ul li.btn_my a,body #header .gnb_group ul li.btn_sites a,body #header .gnb_group ul li.btn_com a{
  display:flex !important;align-items:center;justify-content:center;position:relative;box-sizing:border-box;height:52px !important;margin:1px 0 0 !important;padding:0 6px !important;
  background:#fff !important;color:#26352b !important;text-indent:0 !important;font:700 15px/1.2 'Noto Sans KR','Noto Sans JP','Noto Sans SC','Malgun Gothic',sans-serif !important;letter-spacing:-.3px !important;text-align:center;transition:color .15s}
html[lang="en"] body #header .gnb_group ul li a,html[lang="ja"] body #header .gnb_group ul li a{font-size:13px !important}
body #header .gnb_group ul li a:after{content:"";position:absolute;left:50%;bottom:4px;width:0;height:3px;border-radius:2px;background:#2f8f4e;transform:translateX(-50%);transition:width .2s}
body #header .gnb_group ul li.btn_net a:hover,body #header .gnb_group ul li.btn_event a:hover,body #header .gnb_group ul li.btn_movie a:hover,
body #header .gnb_group ul li.btn_my a:hover,body #header .gnb_group ul li.btn_sites a:hover,body #header .gnb_group ul li.btn_com a:hover{color:#2f8f4e !important}
body #header .gnb_group ul li.btn_net a:hover:after,body #header .gnb_group ul li.btn_event a:hover:after,body #header .gnb_group ul li.btn_movie a:hover:after,
body #header .gnb_group ul li.btn_my a:hover:after,body #header .gnb_group ul li.btn_sites a:hover:after,body #header .gnb_group ul li.btn_com a:hover:after{width:42%}
body #header .gnb_group ul li.btn_cham a:after,body #header .gnb_group ul li.btn_udr a:after{display:none}

/* 펼침 메뉴: 흰 카드 패널 */
body #header .gnb_sub[style*="block"]{display:flex !important}
body #header .gnb_sub{height:auto !important;min-height:0 !important;background:#fff !important;background-image:none !important;border:1px solid #e3ece4;border-top:3px solid #2f8f4e;border-radius:0 0 18px 18px;
  box-shadow:0 14px 30px rgba(30,80,45,.14);padding:10px 0 14px !important;box-sizing:border-box;top:57px !important}
body #header .gnb_sub ul,body #header .gnb_sub ul.gnb_sub_myrecord,body #header .gnb_sub ul.gnb_sub_newsncol{flex:none;width:115px !important;height:auto !important;min-height:0 !important;margin:0 !important;padding:0 5px !important;
  background:none !important;border-left:1px solid #eef3ee;letter-spacing:-.2px;box-sizing:border-box}
body #header .gnb_sub ul.gnb_sub_myrecord{border-left:0}
body #header .gnb_sub ul li{height:auto !important;min-height:0;line-height:1.3 !important;padding:0 !important;margin:1px 0}
body #header .gnb_sub ul li a,body #header .gnb_sub ul.gnb_sub_myrecord li a{display:block;text-align:left;text-indent:0 !important;padding:6px 8px !important;border-radius:8px;color:#4b6152 !important;font:500 12.5px/1.35 'Noto Sans KR','Noto Sans JP','Noto Sans SC','Malgun Gothic',sans-serif;
  text-decoration:none !important;white-space:normal;word-break:keep-all !important;overflow-wrap:break-word !important;letter-spacing:-.2px !important;transition:background .12s,color .12s}
body #header .gnb_sub ul li a:hover{background:#eef7ef;color:#2f8f4e !important;font-weight:700 !important;text-decoration:none !important}
body #header .gnb_sub ul li a{position:relative}body #header .gnb_sub ul li a:has(em.ico_new){padding-right:20px !important}
body #header .gnb_sub ul li em.ico_new{display:block !important;position:absolute !important;right:3px;top:8px;width:14px !important;height:14px !important;border-radius:50%;background:#f0623a !important;
  font-size:0 !important;line-height:0 !important;text-indent:0 !important}
body #header .gnb_sub ul li em.ico_new:after{content:"N";position:absolute;inset:0;font:900 9px/14px Arial,sans-serif;color:#fff;text-align:center}
/* 오른쪽 빈 공간: 메인과 같은 잔디·깃발 일러스트 */
body #header .gnb_sub:after{content:"" !important;display:block !important;visibility:visible !important;clear:none !important;position:absolute;right:18px;bottom:16px;width:190px;height:124px !important;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 130'><defs><linearGradient id='a' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23d6f0ff'/><stop offset='1' stop-color='%23f2fbf2'/></linearGradient><linearGradient id='b' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%238fd49a'/><stop offset='1' stop-color='%235cb46e'/></linearGradient><linearGradient id='c' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%235fb86f'/><stop offset='1' stop-color='%232f8f4e'/></linearGradient></defs><rect width='200' height='130' rx='16' fill='url(%23a)'/><circle cx='160' cy='32' r='16' fill='%23ffe58a' opacity='.8'/><ellipse cx='60' cy='26' rx='16' ry='5' fill='%23fff'/><path d='M0 86C40 70 80 74 120 80C150 68 180 70 200 74V114a16 16 0 0 1-16 16H16A16 16 0 0 1 0 114Z' fill='url(%23b)'/><path d='M0 104C50 92 110 96 200 98V114a16 16 0 0 1-16 16H16A16 16 0 0 1 0 114Z' fill='url(%23c)'/><ellipse cx='118' cy='92' rx='26' ry='5' fill='%23c3efbd'/><path d='M124 92V58' stroke='%23fff' stroke-width='2'/><path d='M125 59l18 6-18 6z' fill='%23f0623a'/><circle cx='70' cy='108' r='3' fill='%23fff'/></svg>") center/contain no-repeat;pointer-events:none}
html[lang="en"] body #header .gnb_sub ul li a{font-size:12px !important;letter-spacing:-.35px !important;padding-left:6px !important;hyphens:auto;-webkit-hyphens:auto}

/* ===== top utility icons (logout/login/support/guide) ===== */
#header .util_area{overflow:visible;position:relative;z-index:60}
#header .util_area ul.util_right li.fn_link{padding-top:5px;padding-left:6px;background:none}
#header .util_area ul.util_right li a.util_ico{position:relative;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#eaf6ec;border:1px solid #d3e8d7;color:#2f8f4e;box-sizing:border-box;transition:background .18s,color .18s,transform .18s,box-shadow .18s}
#header .util_area ul.util_right li a.util_ico svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#header .util_area ul.util_right li a.util_ico:hover,
#header .util_area ul.util_right li a.util_ico:focus-visible{background:#2f8f4e;border-color:#2f8f4e;color:#fff;transform:translateY(-1px);box-shadow:0 4px 10px rgba(47,143,78,.28);outline:none}
#header .util_area ul.util_right li a.ui_logout:hover{background:#e0574a;border-color:#e0574a;box-shadow:0 4px 10px rgba(224,87,74,.28)}
#header .util_area ul.util_right li a.util_ico span{position:absolute;top:calc(100% + 7px);left:50%;transform:translate(-50%,-3px);white-space:nowrap;background:#1c3d27;color:#fff;font:600 11px/1 'Pretendard','Noto Sans KR',sans-serif;letter-spacing:0;padding:6px 8px;border-radius:6px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s,transform .15s}
#header .util_area ul.util_right li a.util_ico span:before{content:"";position:absolute;bottom:100%;left:50%;margin-left:-4px;border:4px solid transparent;border-bottom-color:#1c3d27}
#header .util_area ul.util_right li a.util_ico:hover span,
#header .util_area ul.util_right li a.util_ico:focus-visible span{opacity:1;visibility:visible;transform:translate(-50%,0)}
#header .util_area ul.util_right li.fn_en,#header .util_area ul.util_right li.fn_ja,#header .util_area ul.util_right li.fn_ch{padding-top:8px;padding-left:8px}
#header .util_area ul.util_right li.fn_en{margin-left:6px;border-left:1px solid #e3ece4;padding-left:12px}
#header .util_area ul.util_right li.fn_ko{margin-left:6px;border-left:1px solid #e3ece4;padding-left:12px}
#header .util_area ul.util_right li.fn_ko + li.fn_en{margin-left:0;border-left:0;padding-left:8px}

/* 2026-11-24 쪽지보내기 제거: intra 쪽지(memo_theongc_form.php)가 PHP 8 오류로 동작하지 않아 닉네임 팝업 메뉴 등에서 숨김 */
tr:has(> td > a[href*="win_memo_theongc_re"]),
a[href*="win_memo_theongc_re"]{display:none!important}
