/* @import url('/_assets/0ce7022da8c68bf53e03.css'); */

* {
  box-sizing: border-box;
}

a svg{
  vertical-align: middle;
  margin: 0 0 2px 0;
}

html {
  line-height: 150%;
  margin: 0px;
  padding: 0px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: var(--fontprimary);
  overflow-x: hidden;
}

input,
span {
  font-family: var(--fontprimary);
  color: var(--text);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
}

body.no-scroll {
  overflow: hidden;
}

/* 모바일 메뉴 오픈 시 스크롤 완전 차단 */
body.nav-drawer-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

body.nav-drawer-open .nav_bar {
  backdrop-filter: none;
}

:root {
  /* default color */
  --black: #171717;
  --white: #fff;
  --black60: #17171760;
  --black80: #171717a6;
  --white10: #ffffff10;
  --white40: #ffffff40;
  --white60: #fff9;
  --white80: #ffffffcc;
  --gray50040: #737b8540;
  --gray70010: #44484D1c;
  --gray40010: #abafb40f;
  --linkgray: #adadad;

  /* light mode color */
  --gray50: #f9f9fb;
  --gray100: #f5f5f7;
  --gray200: #e5e7eb;
  --gray300: #d1d5db;
  --gray400: #9ca3af;
  --gray500: #6b7280;
  --gray600: #4b5563;
  --gray700: #374151;
  --gray800: #1f2937;
  --gray900: #111827;
  --blue: #2768ff;
  --blue05: #2768ff1a;
  --blue10: #2768ff10;
  --blue20: #2768ff20;
  --bluehover: #004dff;
  --bluefill: #0071e3;
  --bluelink: #0066cc;
  --yellow: #f5a500;
  --yellow10: #f5a50010;
  --yellow20: #f5a50020;
  --red: #eb003b;
  --red10: #eb003b10;
  --red20: #eb003b20;
  --input: var(--white);
  --card: var(--white);
  --code: #1e40af;
  --bg: var(--white);
  --text: #111827;
  --subtext: #4b5563;
  --navbar: #ffffffed;
  --submenu: #f9fafbed;
  --border: #e5e7eb;
  --linktext: var(--text);

  /* dark mode color */
  --darkmodegray50: #1e1e1e;
  --darkmodegray100: #212121;
  --darkmodegray200: #292929;
  --darkmodegray300: #313133;
  --darkmodegray400: #434345;
  --darkmodegray500: #575759;
  --darkmodegray600: #6e6e71;
  --darkmodegray700: #87878a;
  --darkmodegray800: #a3a3a6;
  --darkmodeblue: #468ee5;
  --darkmodeblue05: #468ee51a;
  --darkmodeblue10: #468ee510;
  --darkmodeblue20: #468ee520;
  --darkmodebluehover: #5d9ce8;
  --darkmodebluelink: #73aaeb;
  --darkmodeyellow: #e5af45;
  --darkmodeyellow10: #e5af4510;
  --darkmodeyellow20: #e5af4520;
  --darkmodered: #e05e6b;
  --darkmodered10: #e05e6b10;
  --darkmodered20: #e05e6b20;
  --darkmodetext: #e5e5e5;
  --darkmodesubtext: #ffffffa6;
  --darkmodecard: #ffffff0a;
  --darkmodeinput: var(--white10);
  --darkmodebg: var(--black);
  --darkmodenavbar: #1d1d1fe6;
  --darkmodecode: #95b8d6;
  --darkmodesubmenu: #313133d6;
  --darkmodeborder: #ffffff17;
  --darkmodelinktext: var(--white);

  /* box-shadow */
  --shadow: 0 1px 6px 0 #00000025;
  --imgshadow: 0 2px 10px 0 #00000020;
  --floatingshadow: #00000026 0px 2px 4px, #0000003d 0px 4px 16px, #ffffff33 0px 0px 0px 1px inset;
  --darkmodeshadow: 0 8px 16px #00000045;
  --darkmodeimgshadow: 0 2px 10px 0 #00000040;
  --darkmodefloatingshadow: #00000050 0px 2px 4px, #00000060 0px 4px 16px, #ffffff26 0px 0px 0px 1px inset;

  /* font-size */
  --displayxlarge: 72px;
  --displaylarge: 60px;
  --displaymedium: 48px;
  --displaysmall: 36px;

  --headingxlarge: 40px;
  --headinglarge: 32px;
  --headingmedium: 24px;
  --headingsmall: 19px;

  --bodymedium: 17px;
  --bodysmall: 15px;
  --bodyxsmall: 13px;

  --linkfontweight: 600;
  --darkmodelinkfontweight: 400;

  /* border-radius */
  --radiuspill: 999px;
  --radiusxlarge: 30px;
  --radiuslarge: 24px;
  --radiusmedium: 16px;
  --radiussmall: 12px;
  --radiusxsmall: 8px;
  --radiusxxsmall: 6px;

  /* font-family */
  --fontprimary: "pretendard", Noto Sans SC, Arial, Helvetica, sans-serif, -apple-system,
    BlinkMacSystemFont, Segoe UI, Apple Color Emoji, Segoe UI Emoji;
  --fontcode: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
}

body.darkmode {
  --black80: var(--white80);
  --gray50: var(--darkmodegray50);
  --gray100: var(--darkmodegray100);
  --gray200: var(--darkmodegray200);
  --gray300: var(--darkmodegray300);
  --gray400: var(--darkmodegray400);
  --gray500: var(--darkmodegray500);
  --gray600: var(--darkmodegray600);
  --gray700: var(--darkmodegray700);
  --gray800: var(--darkmodegray800);
  --blue: var(--darkmodeblue);
  --blue05: var(--darkmodeblue05);
  --blue10: var(--darkmodeblue10);
  --blue20: var(--darkmodeblue20);
  --bluelink: var(--darkmodebluelink);
  --red: var(--darkmodered);
  --red10: var(--darkmodered10);
  --red20: var(--darkmodered20);
  --yellow: var(--darkmodeyellow);
  --yellow10: var(--darkmodeyellow10);
  --yellow20: var(--darkmodeyellow20);
  --code: var(--darkmodecode);
  --bg: var(--darkmodebg);
  --text: var(--darkmodetext);
  --subtext: var(--darkmodesubtext);
  --navbar: var(--darkmodenavbar);
  --input: var(--darkmodeinput);
  --submenu: var(--darkmodesubmenu);
  --card: var(--darkmodecard);
  --shadow: var(--darkmodeshadow);
  --imgshadow: var(--darkmodeimgshadow);
  --bluehover: var(--darkmodebluehover);
  --border: var(--darkmodeborder);
  --linkfontweight: var(--darkmodelinkfontweight);
  --linktext: var(--darkmodelinktext);
}

body.darkmode .dropdownarrow {
  filter: invert(1);
}

body.darkmode #logo_dark {
  display: block;
}

body.darkmode #logo_light {
  display: none;
}

body.darkmode .linkic {
  filter: hue-rotate(337deg);
}

body.darkmode a.textcolor>img {
  filter: brightness(10);
}

body.darkmode a.textcolor:hover>img {
  filter: brightness(1.4) !important;
}

body:not(.darkmode) a.textcolor>img {
  filter: brightness(1) grayscale(1);
}


ul,
ol {
  padding-inline-start: 20px;
  margin-block-start: 20px;
  margin-block-end: 30px;
}

ol>li {
  padding-left: 2px;
}

ol {
  padding-inline-start: 24px;
}

li {
  font-size: var(--bodymedium);
  color: var(--text);
}

li:not(:last-child) {
  margin-bottom: 8px;
}

.lidbox>ol>li {
  font-size: 0.7em;
}

li::marker {
  font-weight: 700;
  padding-right: 20px;
}

li>a {
  display: inline !important;
  word-break: break-all;
}

.codebox li::marker {
  font-weight: 300;
}

.codebox ol {
  counter-reset: item;
  list-style-type: none;
}

.codebox ol>li {
  display: block;
  padding: 0 0 0 24px;
  position: relative;
}

.codebox li:before {
  content: counter(item) "  ";
  counter-increment: item;
  color: var(--white40);
  margin-right: 10px;
  left: 0;
  position: absolute;
  display: inline-block;
}

/* 강조 텍스트 */
strong {
  font-weight: 700;
  color: var(--red);
}

.highlight {
  font-weight: 700;
  background-color: var(--blue20);
}

/*  링크  */
a:link,
a:visited,
a:active {
  color: var(--bluelink);
  text-decoration: none;
  display: inline-block;
}

a:hover {
  text-decoration: underline;
}

/* 흐린 링크 */
a.dimcolor {
  color: var(--code);
}

.linkic {
  margin: 0 0 2px 4px;
}

.form {
  margin: 4px 0 24px 0;
  display: flex;
  gap: 8px;
}

.inputsingle {
  width: 100%;
  padding: 14px;
  font-size: inherit;
  border-radius: var(--radiusxsmall);
  border: solid 1px var(--gray300);
  box-sizing: border-box;
  background-color: var(--white10);
}

.inputsingle:active,
.inputsingle:focus-visible {
  outline: 2px solid var(--blue);
}

.inputsingle::placeholder {
  color: var(--gray400);
}

.inputsingle:disabled {
  background-color: var(--gray70010);
}

.inputsingle:disabled::placeholder {
  color: var(--gray400);
  font-weight: 700;
}

.inputsingle:disabled:active,
.inputsingle:disabled:focus-visible {
  outline: 0;
}

.labelc {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
}

.inputchoice {
  display: none;
}

.inputchoice+.choicelabel svg .rect {
  fill: none;
  transition: fill 0.2s ease-in-out;
}

.inputchoice:checked+.choicelabel svg .rect {
  fill: var(--blue);
  stroke: var(--blue);
}

.inputchoice+.choicelabel svg .checkicon {
  stroke: none;
}

.inputchoice:checked+.choicelabel svg .checkicon {
  stroke: var(--white);
}

.choicelabel {
  cursor: pointer;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 12px 0;
  width: fit-content;
}

.choicelabel>svg {
  width: 18px;
  height: 18px;
  padding: 2px 0;
  overflow: unset;
}

.inputchoice:disabled+.choicelabel svg .rect {
  fill: var(--gray70010);
  stroke: var(--gray300);
}

.inputchoice:disabled+.choicelabel svg polyline {
  display: none;
}

.inputchoice:disabled+.choicelabel {
  cursor: auto;
  color: var(--gray400);
}

.inputselect {
  position: relative;
  display: inline-block;
  width: 100%;
  font-size: var(--bodysmall);
}

.inputselect .inputselected {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray300);
  border-radius: var(--radiusxsmall);
  background-color: var(--input);
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
}
.inputselect .selectedtext{
  font-size: var(--bodymedium);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0px;
  flex: 1 1 0%;
}

.inputselect .options {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 5;
  background-color: var(--bg);
  border: 1px solid var(--gray300);
  border-radius: var(--radiusxsmall);
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: var(--shadow);
  list-style: none;
  padding: 2px;
  margin: 0;
}

.inputselect .options.active {
  display: block;
}

.inputselect .option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: var(--bodymedium);
  border-radius: 5px;
  margin: 0 0 2px 0;
}
li.option:last-child{
  margin: 0;
}
.selectoptionline {
  height: 1px;
  margin: 4px;
  background-color: var(--gray100);
  box-sizing: border-box;
}

.inputselect .option:hover {
  background-color: var(--gray200);
}

.inputselect .option::before,
.theme-dropdown .mode::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  visibility: hidden;
  -webkit-mask-image: url('/_assets/303f526a07e72778efbc.svg');
  mask-image: url('/_assets/303f526a07e72778efbc.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-color: var(--blue); 
}
.inputselect .option::before{
  width: 20px;
  height: 20px;
}

.inputselect .option.checked::before,
.theme-dropdown .mode.checked::after {
  visibility: visible;
}

.theme-dropdown .mode .modetext {
  flex: 1;
  text-align: left;
}

.theme-dropdown .mode {
  justify-content: flex-start;
}

/* 모바일(<=520px) 테마 토글 UI */
.theme-toggle {
  display: none;
  align-items: center;
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
  background-color: var(--border);

}

.theme-toggle button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  border-radius: 9999px;
  padding: 6px;
  line-height: 0;
  color: var(--text);
  cursor: pointer;
}

.theme-toggle button.is-active {
  background: var(--card);
}
.theme-toggle svg {
  width: 22px;
  height: 22px;
}


/*  이미지  */
img {
  vertical-align: middle;
  border-style: none;
}

img.auto {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

img.autofill {
  max-width: 100%;
  width: 100%;
}

img.img_shadow {
  height: auto;
  width: auto;
  max-width: 80%;
  background-color: var(--bg);
  box-shadow: var(--imgshadow);
  margin-top: 20px;
  margin-bottom: 20px;
}

img.img_no_shadow {
  height: auto;
  width: auto;
  max-width: 80%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.img_shadow_new {
  max-width: 100%;
  width: auto;
  display: block;
  margin: auto;
  outline: 1pt solid var(--gray300);
  outline-offset: -1pt;
  box-shadow: var(--imgshadow);
  object-fit: contain;
  border: 0.1px solid var(--gray100);
  box-sizing: border-box;
  border-radius: var(--radiusxxsmall);
}

.imgwrap {
  flex: 1 1 0;
  display: flex;
}

.imgbg {
  background-color: var(--gray100);
  padding: 24px;
  border-radius: var(--radiusmedium);
  margin: 0 auto;
}

.cropbg {
  background-color: #030303;
  border-radius: var(--radiusmedium);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.cropbg.cropui{
  background-color: var(--gray100);
  overflow: hidden;
}
.cropui img{
  box-shadow: var(--imgshadow);
}
.sub_flexbox {
  display: flex;
  gap: 16px;
  margin: 14px 0 20px 0;
  justify-content: space-evenly;
}

.caption {
  color: var(--gray500);
  font-size: var(--bodyxsmall);
  text-align: center;
  width: fit-content;
  margin: 4px auto !important;
}

.caption_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  justify-content: flex-end;
  gap: 6px;
}

.caption_wrap .caption {
  margin: 0 auto -16px auto !important;
}

.caption_wrap>.auto {
  margin: auto;
}

.caption a {
  cursor: pointer;
  color: var(--gray500);
  padding: 6px 0 0 0;
}

.caption a:hover,
a.textcolor:hover {
  color: var(--bluelink);
  text-decoration: none;
}

.caption a>svg {
  filter: grayscale(1);
  width: 10px;
  margin-left: 2px;
}

.caption a:hover>svg {
  filter: none !important;
}

a.textcolor {
  color: var(--text);
}

a.textcolor>img {
  height: auto;
}

.howtoarrow {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: var(--bodymedium);
  padding: 0 0 20px 0;
  gap: 4px;
}

.link a.black:link,
a.black:visited,
a.black:hover,
a.black:active {
  color: var(--text);
  text-decoration: none;
}

/* 비디오 */
video.auto {
  max-width: 100%;
  width: 100%;
  height: auto;
}

video.video_shadow {
  max-width: 80%;
  width: 100%;
  height: auto;
  background-color: white;
  box-shadow: var(--shadow);
  margin-top: 20px;
  margin-bottom: 20px;
}

/* iFrame 
	https://www.w3schools.com/howto/howto_css_responsive_iframes.asp
*/
.iframe_container {
  position: relative;
  overflow: hidden;
  width: 90%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

div.div_submenu {
  height: 30px;
  text-align: center;
  background-color: var(--submenu);
  backdrop-filter: blur(15px);
  padding: 5px 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--gray200);
  position: sticky;
  top: 64.5px;
  z-index: 8;
  box-sizing: content-box;
}

.subpage_img {
  height: 224px;
  margin-top: 36px;
  width: 100%;
  border-radius: var(--radiusmedium);
  background-position: center;
}

/* 헤딩 */
h1 {
  font-size: var(--headingxlarge);
  font-weight: 700;
  color: var(--text);
  line-height: normal;
  margin: 60px 0 50px 0;
}

h2 {
  font-size: var(--headinglarge);
  color: var(--text);
  margin: 60px 0 16px 0;
  line-height: normal;
  font-weight: 700;
}

h3 {
  font-size: var(--headingsmall);
  margin: 40px 0 12px 0;
  border-bottom: 1px solid var(--gray300);
  font-weight: 700;
  padding: 0 0 12px 0;
  color: var(--text);
  line-height: normal;
}

h4 {
  font-size: var(--headingmedium);
  margin: 40px 0 16px 0;
  font-weight: 700;
  color: var(--text);
  line-height: normal;
}

h5 {
  font-size: var(--headingsmall);
  margin: 40px 0 12px 0;
  font-weight: 700;
  color: var(--gray800);
  line-height: normal;
}

p {
  margin: 12px 0;
  font-size: var(--bodymedium);
  color: var(--subtext);
  font-weight: 400;
  line-height: 155%;
}

code {
  font-family: var(--fontcode);
  background-color: var(--gray50040);
  color: var(--code);
  padding: 2px 4px;
  font-size: var(--bodysmall);
  border-radius: var(--radiusxxsmall);
  line-height: 100%;
  vertical-align: middle;
}

/* anchor 파란 버튼 */
a.button,
.button {
  background-color: var(--bluefill);
  border: none;
  color: var(--white);
  padding: 10px 18px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: var(--bodymedium);
  transition-duration: 0.2s;
  border-radius: var(--radiusxsmall);
  cursor: pointer;
}

a.button:hover,
.button:hover {
  background-color: var(--bluehover);
}

.button.input {
  margin: 0;
  padding: 14px 18px;
}

a.button:link,
a.button:visited,
a.button:hover,
a.button:active {
  text-decoration: none;
}

.button.secondary {
  background-color: var(--card);
  border: 1px solid var(--bluefill);
  color: var(--blue);
}

.button.secondary:hover {
  background-color: var(--blue20);
}

.button.tertiary {
  background-color: var(--white10);
  border: 1px solid var(--gray400);
  color: var(--text);
}

.button.tertiary:hover {
  background-color: var(--gray100);
}

.button.small,
a.button.small {
  margin: 0;
  padding: 4px 10px;
  font-size: var(--bodyxsmall);
  border-radius: var(--radiusxxsmall);
}

.button.icon {
  background-color: unset;
  padding: 4px;
  margin: 0;
  width: max-content;
}

.button.icon:hover {
  background-color: var(--gray200);
}

a.textbutton {
  background-color: transparent;
  border: none;
  color: var(--subtext);
  padding: 4px 6px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: var(--bodyxsmall);
  transition-duration: 0.2s;
  border-radius: var(--radiusxxsmall);
  cursor: pointer;
}

a.textbutton:hover {
  background-color: var(--gray50040);
}

.footer_int a.textbutton {
  margin: 2px 4px;
}

.footer_int span.submenuSplit {
  color: var(--border);
}

.btnwrap {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 회색 text box */
.box {
  background-color: var(--gray100);
  padding: 20px 24px;
  margin: 20px 0 !important;
  border-radius: var(--radiusmedium);
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.box.download p {
  font-size: var(--bodysmall);
  color: var(--gray600);
  text-align: center;
  font-weight: 700;
}
/* 소스코드박스*/
.codebox {
  background-color: #222e40;
  padding: 18px;
  margin-bottom: 30px;
  font-family: var(--fontcode);
  word-wrap: break-word;
  border-radius: var(--radiusmedium);
  display: flex;
  flex-direction: column;
}

.codebox_btn {
  display: flex;
  gap: 4px;
  cursor: pointer;
  width: fit-content;
  align-self: flex-end;
  margin: 0;
  background-color: transparent;
  border: none;
  color: var(--white);
  align-items: center;
  padding: 5px 7px;
  border-radius: var(--radiusxxsmall);
  font-family: var(--fontprimary);
}

.codebox_btn:hover {
  background-color: var(--white10);
}

.codebox_btn p {
  font-family: var(--fontprimary);
}

.codebox_border {
  height: 1px;
  background: var(--gray50040);
  width: 100%;
  margin: 12px 0 !important;
}

/* 강조 박스 - 사용 X */
.box2 {
  border: solid 1px var(--yellow20);
  background-color: var(--yellow10);
  padding: 20px 24px;
  margin: 20px 0;
  border-radius: var(--radiusmedium);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 공지 박스 - 사용 X */
.notice {
  border: solid 2px;
  border-color: var(--yellow20);
  border-radius: var(--radiusmedium);
  background-color: var(--yellow20);
  font-size: 12pt;
  padding: 20px 24px;
  margin: 20px 0;
  flex-direction: column;
  gap: 16px;
  display: flex;
}

/* 알림 */
.box_head {
  display: flex;
  gap: 2px;
  font-size: var(--headingsmall);
  font-weight: 700;
}

.box_body {
  margin-left: 26px !important;
}

.box_body>ul {
  list-style-type: '- ';
  padding-inline-start: 12px;
}

.alert.slim {
  flex-direction: row;
  border-radius: var(--radiusxsmall);
  padding: 8px;
  gap: 4px;
}

.alert.slim img {
  margin-top: 1px;
}

.alert {
  padding: 16px;
  gap: 8px;
  border-radius: var(--radiussmall);
  display: flex;
  flex-direction: column;
  margin: 20px 0;
  align-items: flex-start;
  border: solid 1.5px var(--blue10);
  background-color: var(--blue20);
}

.alert.caution {
  border: solid 1.5px var(--yellow10);
  background-color: var(--yellow20);
}

.alert.danger {
  border: solid 1.5px var(--red10);
  background-color: var(--red20);
}

.box ul,
.box2 ul,
.notice ul,
.codebox ul,
.alert ul,
.alert ol,
.box ol,
.box2 ol,
.notice ol,
.codebox ol {
  margin-block-end: 0;
  margin-block-start: 0;
}

.codebox,
.codebox p,
.codebox h1,
.codebox h2,
.codebox h3,
.codebox h4,
.codebox ol>li,
.codebox ol>li>span {
  color: var(--white);
  font-size: var(--bodysmall);
  font-family: var(--fontcode);
}

.box h4,
.box h3,
.box h2,
.box h1,
.box p,
.box2 h4,
.box2 h3,
.box2 h2,
.box2 h1,
.box2 p,
.notice h4,
.notice h3,
.notice h2,
.notice h1,
.notice p,
.codebox p,
.codebox h1,
.codebox h2,
.codebox h3,
.codebox h4,
.codebox ol>li,
.alert h4,
.alert h3,
.alert h2,
.alert h1,
.alert p {
  margin: 0;
}

/**** 테이블 ****/

/* 상단 가운데 메뉴 */
#logo_dark {
  display: none;
}

.nav_bar {
  margin: 0;
  display: flex;
  justify-content: space-around;
  border-bottom: 1px solid var(--gray200);
  overflow-x: clip;
  position: relative;
}

.nav_bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--navbar);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: -1;
  pointer-events: none;
}

#nav_bar_inner {
  padding: 16px 0;
  display: flex;
  align-items: center;
  max-width: 1320px;
  width: -webkit-fill-available;
  width: -moz-available;
  justify-content: space-between;
  position: relative;
}

.nav_left {
  display: flex;
  align-items: center;
  gap: 8px;
}

#nav_right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  position: relative;
}

#nav_center {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.theme-dropdown {
  height: 32px;
}

.theme-dropdown .dropdown-btn {
  color: var(--text);
}

.dropdownlabel {
  font-size: var(--bodyxsmall);
  margin: 0 4px 0 0;
}
.nav_home_btn, .nav_close_btn {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.footer_wrap {
  /* background-color: var(--gray200); */
  height: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px;
  border-top: 1px solid var(--border);
}

.footer_int,
.footer_kor {
  margin: 0;
  max-width: 1320px;
  width: 100%;
}

.footer_int {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  gap: 16px;
}

.footer_int .dimcolor {
  /* border-bottom: 1px solid var(--border);
  padding: 0 0 8px 0;
  width: 100%; */

}

.footer_kor,
.footer_kor a,
#copyright a,
#copyright {
  color: var(--subtext);
  font-size: var(--bodyxsmall);
  margin: 0;
}

/* 메인 메뉴 높이 */
.main_menu_height {
  height: 56px;
}

/* 메인 메뉴 글자 */
.main_menu_font {
  font-size: var(--bodysmall);
  padding: 0 5px;
  margin: 0 !important;
  width: max-content;
}

/* 메인 컨텐츠*/

/* 상단 메뉴 홈 */
a.mainmenu_home:link,
a.mainmenu_home:visited,
a.mainmenu_home:active,
a.mainmenu_home:hover {
  color: var(--linktext);
  text-decoration: none;
  font-weight: var(--linkfontweight);
}

/* 상단 메뉴 링크 */
a.mainmenu:link,
a.mainmenu:visited,
a.mainmenu:active,
a.mainmenu:hover {
  color: var(--linktext);
  text-decoration: none;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
  font-weight: var(--linkfontweight);
}

a.mainmenu:hover {
  color: var(--blue);
}

a.mainmenubold:link,
a.mainmenubold:visited,
a.mainmenubold:hover,
a.mainmenubold:active {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

/* 서브 메뉴 링크 */
a.submenu:link,
a.submenu:visited,
a.submenu:active,
a.submenu:hover {
  color: var(--linktext);
  text-decoration: none;
  padding: 6px;
  font-size: var(--bodysmall);
}

a.submenu:hover {
  color: var(--blue);
  text-decoration: underline;
}

/* navbar내의 n tag */
#newtagmenu {
  display: flex;
}

.tag_new {
  color: var(--white);
  background-color: var(--blue);
  width: 13px;
  height: 13px;
  font-size: 9px;
  font-weight: 600;
  border-radius: 12px;
  margin-top: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 서브 메뉴 구분 하기 */
span.submenuSplit {
  color: var(--gray50040);
}

/* 메인 테이블 - 사용 X */
.mainTable {
  display: inline-table;
  width: 460px;
  text-align: left;
}

/* === 드롭 메뉴 버튼 === */
/* 스팬 부분 */

/* 메뉴 버튼 */
.dropbtn {
  background-color: transparent;
  color: var(--text);
  border: none;
  cursor: pointer;
}

.dropbtn:focus {
  outline: 0;
}

/* 팝업 스팬 */
.dropdown-content {
  padding: 2px;
  display: none;
  position: absolute;
  background-color: var(--bg);
  min-width: 180px;
  box-shadow: var(--shadow);
  z-index: 1;
  top: 48px;
  border-radius: var(--radiusmedium);
  border: 1px solid var(--gray300);
  max-height: calc(100vh - 60px);
  overflow-y: scroll;
}

.dropdown-content.modeoptions {
  top: 32px;
  min-width: 120px;
  overflow: hidden;
}

.dropdown-content.modeoptions .theme-icon {
  width: 16px;
  height: 16px;
}

.dropdown-content::-webkit-scrollbar,
#nav_right.active::-webkit-scrollbar {
  width: 10px;
}

.dropdown-content::-webkit-scrollbar-button,
#nav_right.active::-webkit-scrollbar-button {
  display: none;
}

.dropdown-content::-webkit-scrollbar-thumb,
#nav_right.active::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.dropdown-content::-webkit-scrollbar-track,
#nav_right.active::-webkit-scrollbar-track {
  background-color: transparent;
}

@media (min-height: 800px) {
  .dropdown-content::-webkit-scrollbar {
    display: none;
  }

  .dropdown-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

@media (min-height: 360px) {
  #nav_right.active::-webkit-scrollbar {
    display: none;
  }

  #nav_right.active {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* 팝업의 링크 */
.dropdown-content a,
.mode {
  color: var(--text);
  padding: 4px 8px;
  text-decoration: none;
  display: block;
  font-size: var(--bodysmall);
  cursor: pointer;
}

.mode {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown hr {
  border: 1px solid #88888830;
  margin: 1px 0;
}

.dropdown-content a:hover,
.mode:hover {
  background-color: var(--gray100);
  border-radius: var(--radiusxsmall);
}

.dropdown-content.active {
  display: block;
  z-index: 1000;
  transform: translateZ(10px);
  pointer-events: auto;
}

@media (min-width: 901px) {
  .dropdown:hover .dropdown-content {
    display: block;
    z-index: 1000;
    transform: translateZ(10px);
  }
}

.burger {
  flex-direction: column;
  cursor: pointer;
  align-items: center;
  gap: 5px;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  display: flex;
}

.line {
  width: 20px;
  height: 1.5px;
  background-color: var(--text);
}

#btnarrow {
  display: none;
}

.visuallyhidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 메인 컨텐트 */
.main_content {
  margin: auto;
  /* max-width: 960px; -> 여기서 지정하지 말것. html 의 main_content 영역에 적혀있음 */
  width: 100%;
}

/* 도움말 */
.howto {
  max-width: 1320px;
  display: flex;
  margin: 62px auto 40px auto !important;
  justify-content: start;
  gap: 40px;
  padding: 0 16px;
}

.howto-left {
  text-align: left;
  width: 25%;
  background-color: var(--gray100);
  padding: 20px !important;
  white-space: nowrap;
  list-style-type: none;
  font-size: var(--bodysmall);
  border-radius: var(--radiusmedium);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.howto-left div {
  color: var(--text);
}

.howto-left a,
.howto-left div {
  text-overflow: ellipsis;
  overflow: hidden;
}

.howto-left a {
  margin-left: 5px;
  color: var(--gray700);
  text-decoration: none;
}

.howto-right {
  text-align: left;
  width: 55%;
  position: relative;
}

.toc {
  position: absolute;
  right: -200px;
  width: 170px;
  font-size: var(--bodyxsmall);
  height: 100%;
}

.toc a {
  width: 100%;
}

.toc p {
  margin: 0 0 8px 0;
  font-weight: 500;
  font-size: var(--bodyxsmall);
}

ul.menu-list {
  padding-left: 0;
  width: 100px;
}

@media (max-width:1320px) {
  .howto-right {
    flex: 1;
  }

  .toc {
    display: none;
  }
}

@media (max-width:830px) {
  .howto-left {
    display: none;
  }

  .howto {
    gap: 0;
    justify-content: center;
  }
}


.forumbtn {
  padding: 24px;
  display: flex !important;
  justify-content: space-between;
  background-color: var(--gray100);
  border: 1px solid var(--gray200);
  border-radius: var(--radiusmedium);
  width: 500px;
  align-items: center;
  color: var(--text) !important;
  text-decoration: none !important;
  transition-duration: 0.2s;
}

.forumbtn:hover {
  box-shadow: var(--shadow);
}

.sub_cards_des h3 {
  border: none;
}

.tags {
  background-color: var(--blue05);
  color: var(--blue);
  width: fit-content;
  padding: 2px 8px !important;
  border-radius: var(--radiusxxsmall);
  font-weight: 700;
  font-size: var(--bodyxsmall);
  text-align: center;
  cursor: pointer;
}

.tags:hover,
.tags_btm:hover {
  background-color: var(--blue);
  color: var(--white);
  transition-duration: 0.3s;
  text-decoration: none;
}

.tags_btm {
  background-color: var(--blue05);
  color: var(--blue);
  width: 100%;
  box-sizing: border-box;
  padding: 4px 10px 4px 10px !important;
  border-radius: var(--radiusxsmall);
  font-weight: 600;
  font-size: var(--bodysmall);
  text-align: center;
}

#tag_holder {
  display: flex;
  gap: 8px;
}

#twotags {
  display: flex;
  gap: 8px;
}

#sub {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 20px;
}

.sub_cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-radius: var(--radiusmedium);
  background-color: var(--card);
  padding: 24px;
  min-width: 420px;
}

.sub_cards p {
  margin: 0;
  padding: 0;
}

.sub_cards:hover {
  box-shadow: var(--shadow);
  transition-duration: 0.3s;
  text-decoration: none;
  cursor: pointer;
}

.sub_lefts {
  display: flex;
  align-items: flex-start;
}

.sub_lefts img {
  width: 50px;
  height: 50px;
}

.sub_cards img {
  margin: 0 20px 0 0 !important;
  padding: 0%;
}

.sub_cards h2 {
  font-weight: 700;
  font-size: var(--headingmedium);
  margin: 0;
  padding: 0;
}

.sub_cards h3 {
  font-weight: 500;
  font-size: var(--bodymedium);
  margin-top: 4px !important;
  margin: 0;
  padding: 0;
}

#sub_wrap {
  background-color: var(--gray100);
  display: flex;
  align-items: center;
  padding: 64px 0 !important;
  justify-content: center;
}

#sub_wrap_wrap {
  max-width: 1320px;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: -webkit-fill-available;
  width: -moz-available;
}

.def-text {
  display: block;
}

.alt-text {
  display: none;
}

/* 기본 테이블 */
.table_wrap {
  width: 100%;
  box-sizing: border-box;
  border-collapse: collapse;
}

.table_wrap th,
.table_wrap td {
  padding: 12px 14px;
  border-bottom: solid 1px var(--gray300);
  font-size: var(--bodysmall);
  line-height: normal;
}

td li {
  font-size: var(--bodysmall);
}

td ol,
td ul {
  margin: 0;
}

.table_wrap thead th {
  border-top: solid 1px var(--gray300);
  background-color: var(--gray100);
}

.table_wrap th:not(:last-child),
.table_wrap td:not(:last-child) {
  border-right: 1px solid var(--gray200);
}

.table_wrap .highlight{
  background-color: var(--blue);
  color: var(--white);
}
.table_container{
  overflow-x: auto;
}
.table_container::-webkit-scrollbar {
  height: 8px;
}
.table_container::-webkit-scrollbar-thumb {
  background-color:var(--gray200);
  border-radius: 10px;
}
.table_container::-webkit-scrollbar-track {
  background-color: transparent;
  padding: 2px;
}

/* 변경사항 표 */
.trow {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 12px;
  border-bottom: solid 1px var(--gray300);
  border-top: solid 1px var(--gray300);
  background-color: var(--gray100);
}

.row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 12px;
  border-bottom: solid 1px var(--gray300);
}

.row ul {
  margin-block-start: 0;
  margin-block-end: 0;
}

.row ul>li {
  font-size: var(--bodymedium);
  word-break: break-all;
}

.cell1 {
  width: 12%;
}

.cell2 {
  width: 18%;
}

.cell3 {
  width: 70%;
}

.cell3>li {
  word-break: keep-all !important;
}

.r1 {
  font-weight: 700;
}

.apgback {
  background-color: var(--gray100);
  padding: 36px 0;
  margin: 0 auto;
}

.apgcards a {
  text-decoration: none;
}

.apgcardswrap {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
}

.apgcardswrap a {
  /* flex-basis: calc(25% - 14px); */
  display: flex;
  min-width: calc(25% - 16px);
  flex: 1;
  max-width: calc(50% - 8px);
}

.apgcardswrap> :only-child {
  margin-inline: auto;
  max-width: 400px;
}

.apgcardswrap a:hover {
  text-decoration: none;
}

.apg {
  background-color: var(--card);
  border-radius: var(--radiusmedium);
  display: flex;
  flex-direction: column;
  padding: 16px;
  cursor: pointer;
  gap: 12px;
  width: 100%;
}

.apg:hover {
  box-shadow: var(--imgshadow);
  transition-duration: 0.4s;
}

.apg p {
  line-height: 150%;
  min-height: 80px;
  flex: 1;
}

.apgr {
  display: flex;
  align-items: center;
}

.apgr h4 {
  margin: 0;
}

.apg img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.tag_holder {
  display: flex;
  gap: 8px;
}

.nolink:hover {
  text-decoration: none !important;
  cursor: default !important;
}

@media (max-width: 1390px) {
  .apgcardswrap {
    width: 90%;
  }
}

@media (max-width: 1320px) {
  #sub_wrap_wrap {
    flex-direction: column;
    margin: 0 20px;
  }

  #sub_texts {
    text-align: center;
    margin: 0 !important;
    margin-bottom: 24px !important;
  }

  #nav_bar_inner {
    padding: 16px;
  }

  .def-text {
    display: none;
  }

  .alt-text {
    display: block;
  }
}

@media (max-width: 1030px) {
  .apgcardswrap a {
    flex-basis: calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  .apgcardswrap {
    justify-content: flex-start;
  }

  .sub_cards {
    padding: 16px;
    min-width: 300px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 18px;
  }

  h4,
  h4>a {
    font-size: 18px !important;
  }
}

@media (max-width: 960px) {
  .subpage_format {
    margin: 0 auto;
    width: 90%;
  }

  .subpage_img {
    height: 180px !important;
    background-size: cover;
  }

  #nav_center {
    gap: 4px;
  }
}

@media (max-width: 900px) {
  .burger {
    width: auto;
    height: auto;
    clip: unset;
  }
  .burger:hover{
    background-color: var(--gray200);
    border-radius: var(--radiussmall);
  }

  #nav_right {
    display: none;
  }

  #nav_bar_inner {
    justify-content: space-between;
    padding: 10px 10px 10px 7px;
  }

  .theme-dropdown {
    position: absolute;
    right: 78px;
  }

  .dropdown-content.modeoptions {
    display: block;
    position: relative;
    background-color: unset;
    border: none;
    box-shadow: none;
    padding: 0 0 4px 0;
    margin: 0 0 4px 0;
    width: 100%;
    top: unset;
    min-width: unset;
    border-bottom: 1px solid var(--gray200);
    border-radius: 0;
  }

  .dropdown-content.modeoptions .mode {
    justify-content: space-between;
  }

  /* .dropdown-btn.button.icon {
    display: none;
  } */

  .box,
  .box2,
  .codebox,
  .notice {
    padding: 16px;
  }

  .box {
    gap: 12px;
  }

  div.div_submenu {
    top: 52.5px;
  }

  span.submenuSplit {
    display: none;
  }

  .linkic {
    width: 10px;
    height: auto;
  }

  .trow {
    display: none;
  }

  .row {
    padding: 18px 0;
    flex-wrap: wrap;
    border-top: solid 1px #d8d8d8;
  }

  .cell1,
  .cell2 {
    width: auto;
    font-weight: 700;
  }

  .cell3 {
    width: 100%;
  }

  /* 상단햄버거버튼 */
  #nav_right.active {
    display: flex;
    flex-direction: column-reverse;
    padding: 2px;
    height: fit-content;
    position: absolute;
    right: 4px;
    background-color: var(--bg);
    box-shadow: var(--shadow);
    margin: 0;
    border-radius: var(--radiusmedium);
    align-items: flex-start;
    z-index: 12;
    max-height: calc(100vh - 60px);
    overflow-y: scroll;
    border: 1px solid var(--gray300);
    width: auto;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  .dropdown-content.active {
    display: block !important;
    max-height: calc(100vh - 80px);
    box-shadow: var(--shadow);
    background-color: var(--bg);
    pointer-events: auto;
  }

  .dropdown-content.active, #nav_right.active{
    top: 100%;
    pointer-events: auto;
  }
  #nav_right.active::before, .dropdown-content.active::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
    pointer-events: none; /* Safari: 투명 브릿지가 pointer event 흡수 방지 */
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    touch-action: none;
  }

  /* 모바일에서는 드롭다운 대신 토글 UI 표시 */
  #nav_center {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    left: unset;
    transform: unset;
    width: 100%;
  }

  #nav_center a {
    width: 100%;
    text-align: left;
    min-width: 180px;
    border-radius: var(--radiusxsmall);
    padding: 4px 8px;
  }

  #nav_center a:hover {
    background-color: var(--gray100);
    border-radius: var(--radiusxsmall);
  }

  .tag_new {
    margin: 0 0 0 2px;
  }

  .dropbtn {
    display: flex;
    align-items: center;
    padding: 3px 7px 3px 6px;
  }



  #globe {
    height: 24px;
    width: auto;
  }

  .dropdown {
    /* position: absolute;
    right: 10px; */
    gap: 2px;
  }

  .dropdownlabel {
    display: none;
  }

  :root {
    --displayxlarge: 40px;
    --displaylarge: 34px;
    --displaymedium: 30px;
    --displaysmall: 28px;
    --headingxlarge: 28px;
    --headinglarge: 24px;
    --headingmedium: 20px;
    --headingsmall: 16px;
    --bodymedium: 16px;
    --bodysmall: 14px;
    --bodyxsmall: 13px;
    --radiusxlarge: 24px;
    --radiuslarge: 20px;
    --radiusmedium: 12px;
    --radiussmall: 8px;
  }
}

@media (max-width: 700px) {
  .sub_flexbox {
    flex-direction: column;
  }

  .imgbg {
    background-color: unset;
    padding: 0;
  }

  .img_shadow_new {
    box-shadow: none;
  }

  .caption_wrap {
    margin-bottom: 10px;
  }

  .howtoarrow {
    flex-direction: row;
    padding: 0;
  }

  .howtoarrow b {
    transform: rotate(90deg);
  }

  #sub {
    flex-direction: column;
  }

  .sub_cards {
    min-width: 377px;
  }
  .table_wrap.comparison{
    width: max-content;
  }
  .apgcardswrap a{
    width: 100%;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .tag_new {
    font-size: 7px;
  }

  #sub {
    margin: 0 20px;
    width: 100%;
  }

  .sub_cards {
    width: -webkit-fill-available;
    width: -moz-available;
    min-width: auto;
  }

  .sub_flexbox_imgbg {
    flex-direction: column;
  }

  .form {
    flex-direction: column;
  }

  .apgcardswrap {
    flex-direction: column;
  }

  /* 모바일 #nav_right: 우측 서랍(drawer) 패널
     - display 토글을 하지 않고 transform으로만 애니메이션 */
  #nav_right {
    display: flex;
    /* (max-width:900px)에서 display:none 이라 override 필요 */
    flex-direction: column;
    padding: 24px;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    background-color: var(--bg);
    border-left: none;
    box-shadow: none;
    border-radius: 0;
    max-height: none;
    justify-content: flex-start;
    z-index: 12;
    transform: translateX(100%);
    transition: transform 180ms ease-out;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    /* 패널 자체 스크롤 방지 */
  }

  #nav_right.active {
    position: fixed;
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    height: 100dvh;
    width: 100vw;
    max-height: unset;
    flex-direction: column;
    justify-content: space-between;
  }

  /* 홈 버튼은 520px 이하 + drawer open일 때만 표시 */
  .nav_home_btn, .nav_close_btn{
    clip: unset;
    overflow: unset;
    margin: unset;
  }

  #nav_right.active .nav_home_btn {
    display: inline-flex !important;
    position: absolute;
    top: 12px;
    left: 12px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text);
    z-index: 1;
    border-radius: 8px;
  }

  #nav_right.active .nav_home_btn:hover {
    background-color: var(--gray100);
    text-decoration: none;
  }

  /* 상단 버튼 영역만큼 메뉴 항목 내려주기 */
  #nav_right.active #nav_center {
    margin-top: 56px !important;
    padding: 10px;
  }

  .main_menu_font {
    font-size: var(--headingsmall);
  }

  /* 모바일에서는 서브메뉴를 가로 스와이프(스크롤)로 사용 */
  div.div_submenu {
    justify-content: flex-start;
    padding: 5px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-padding: 8px;
    overflow-y: hidden;
    touch-action: pan-x;
  }

  div.div_submenu::-webkit-scrollbar {
    display: none;
  }

  a.submenu {
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center;
    border-radius: 9999px;
    background: transparent;
    border: 1px solid transparent;
    scroll-snap-align: start;
  }

  span.submenuSplit {
    display: none;
  }

  /* 닫기 버튼은 우측 상단 */
  #nav_right.active .nav_close_btn {
    display: block !important;
    position: absolute;
    top: 20px;
    right: 20px;
    align-self: unset;
    z-index: 1;
    width:auto;
    height: auto;
    pointer-events: auto;
  }

  .theme-dropdown {
    display: none;
  }
  
  .theme-toggle{
    display: inline-flex;
    margin: 10px;
    position: relative;
  }

  .theme-toggle::before{
    content: "";
    position: absolute;
    top: -16px;
    left: -10px;
    width: 100vw;
    height: 1px;
    background-color: var(--border);
  }
  
  .apgcardswrap a,
  .apgcardswrap> :only-child {
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 370px) {

  /* 메인 메뉴 좌우 여백 줄이기 */
  a.mainmenu:link,
  a.mainmenu:visited,
  a.mainmenu:active,
  a.mainmenu:hover {
    margin-right: 3px;
    margin-left: 0px;
  }
}

@media (max-width: 350px) {

  .content {
    width: 330px;
  }
}