:root {
  --myblack:#282828;
  --myblue:#007BFF;  
  --mygrey:#767676;
  --mygrey2:#F5F5F5;
  --mygrey3:#D9D9D9;
  --mygrey33:#858d9e;
  --mygrey4:#BFBFBF;
  --myorg:#EB962E;
  --myred:#FF0000;  
  --mypupl:#5500FF;
  --myborder:#D9D9D9;
  --tboxred:#FBE1E1;
  --tboxblue:#E2E1FE;
  --myyel:#FFDC3A;
  --mypink:#FF00D0;
  --mysky:#3AF5FF;  
  --mypink-lt:#FBCFE8;
  --myblue-lt:#60A5FA;
  --myyel-lt:#FFFEF8;
  --myyel-lt-bd:#D3A76A;
		--primary: #2563eb;						/* 클로드 버전 ▼ */
		--primary-light: #2e77ec;
		--bg: #ffffff;
		--bg-secondary: #f8fafc;
		--surface: #ffffff;
		--border: #e2e8f0;
		--border-light: #f1f5f9;
		--text: #0f172a;
		--text-secondary: #64748b;
		--text-tertiary: #94a3b8;
		--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
		--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
		--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
		--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}


/* BG */
.bg-blue{background-color:var(--myblue) !important}
.bg-blue-lt{background-color:var(--myblue-lt) !important}
.bg-red{background-color:var(--myred) !important}
.bg-org{background-color:var(--myorg) !important}
.bg-green{background-color:var(--mygreen) !important}
.bg-yel{background-color:var(--myyel) !important}
.bg-pupl{background-color:var(--mypupl) !important}
.bg-sky{background-color:var(--mysky) !important}
.bg-pink{background-color:var(--mypink) !important}
.bg-grey{background-color:var(--mygrey) !important}
.bg-grey2{background-color:var(--mygrey3) !important}
.bg-grey3{background-color:var(--mygrey33) !important}
.bg-yel-lt{background-color:var(--myyel-lt) !important}
.bg-bk{background-color: #282828 !important; color:#fff}
.bg-cyan{background-color:#ecfeff80 !important; border-color: #cffafe80 !important;}

.highlight{background:#F5FF6E}  /* 형광펜 강조*/
.underline{text-decoration: underline;}

.position-rel{position:relative}



/* 화면 정중앙 정렬 */
.dead-center {
position: absolute; 
top:50%;  
left:50%;  
transform: translate(-50%, -50%);
} 


.ratio {aspect-ratio: 1 / 1;}   /* 항상 정사각 */


/* 여백 */
.mr-12{margin-right:12px}


/* 폰트관련 속성 */
/*span {white-space: nowrap;} 전역설정 바꾸는거.. 하지말아주세요 */
a:hover{normal !important}
 
.f-wh{color:#fff !important}
.f-bk{color:#282828 !important}
.f-gy{color:var(--mygrey)!important}
.f-gy2{color:var(--mygrey4)!important}
.f-blue{color:var(--myblue)!important}
.f-org{color:#FF7300 !important}
.f-red{color:var(--myred) !important}
.f-pupl{color:var(--mypupl) !important}
.f-gy3{color:#a8a29e !important}
.f-cy{color:#0e7490 !important}


.bold{font-weight:600}
.bolder{font-weight:700}
.heavy{font-weight:800}
.thin{font-weight:300}
.highlight{background:#F5FF6E}			/* 형광펜 강조*/
.no-border{border:none !important}      /* 테두리 없음 */
.no-shadow{box-shadow: none !important;}



.fs-12{font-size:0.75rem !important}
.fs-13{font-size:0.8125rem !important}
.fs-14{font-size:0.875rem !important}
.fs-16{font-size:1rem !important}
.fs-18{font-size:1.125rem !important}
.fs-20{font-size:1.25rem !important}
.fs-22{font-size:1.375rem !important}
.fs-24{font-size:1.5rem !important}
.fs-26{font-size:1.625rem !important}
.fs-28{font-size:1.75rem !important}
.fs-30{font-size:1.875rem !important}
.fs-44{font-size:2.75rem !important}


 /* 타이틀 BOLD */
.title{								  
display: flex;
justify-content: space-between;    
align-items: center; 
color: #282828;
font-size: 16px; 
font-weight: 700; 
word-wrap: break-word;
}

/* 타이틀 Thin */
.title-s{ 
display: flex;    
justify-content: space-between;    
align-items: center;
} 

/* 더보기 (타이틀 속) */
.more{
display: flex;    
justify-content: space-between;   
align-items: center; 
font-size:14px !important;  
margin-left: auto;
font-weight: normal !important;
} 

.pointer{cursor:pointer}

/* 라운드 */
.rd-10{border-radius:0.625rem !important} 
.rd-12{border-radius:0.75rem !important} 
.rd-14{border-radius:0.875rem !important} 


/* 구분선 */
.line-wh{width:2px; height:100%; border-right: 1px solid rgba(255, 255, 255, 0.2);}
.line-wh2{ width:2px; height:90%; border-right: 1px solid rgba(255, 255, 255);}
.line-gy{width:2px; border-left:1px solid #767676; margin:0 .5rem}
.line-gy2{width:2px; height:100%; border-left:1px solid #D5D8DE; }



.my-btn{border-radius:0.6rem;}	/* 모든 버튼 라운드 지정 */				

.btn-line{border:1px solid #D9D9D9; background-color:#fff} /* 버튼 베이스 */
.shadow{box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.09)} 	   /* 버튼 쉐도우 */

.mychk{min-height:100%; margin:0; padding:0}				/* 체크박스 */


.one-line {
  white-space: nowrap !important;      /* 줄바꿈 금지 */
  overflow: hidden;         /* 넘치는 텍스트 숨김 */
  text-overflow: ellipsis;  /* 말줄임표 */
}


.my-nowrap {
  white-space: nowrap !important;      /* 줄바꿈 금지 */
}



.hr-m2{margin:2rem 0}		/*구분자 상하마진*/
.hr-m3{margin:3rem 0}		/*구분자 상하마진*/


.mr-1{margin-right:5px !important} 
.ml-2{margin-left:10px !important}
.ml-3{margin-left:15px !important}
.ml-4{margin-left:20px !important}



/* XS에서만 숨김 (400px 미만) */
@media (max-width: 400px) {
  .d-xs-none {
    display: none !important;
  }
}

/* 블록요소 좌우반전 */
.flip-h {
  transform: scaleX(-1);
  display: inline-block;
}

.d-none{display: none;}



/* ========================= 좌우 스크롤시 버튼 ==========================*/

.my-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px;
  border-radius: 6px;
  cursor: pointer;
  color: inherit;
  transition: background-color 0.15s ease;
}

.my-icon-btn:hover {
  background-color: rgba(0, 0, 0, 0.08);
}

.my-icon-btn:active {
  background-color: rgba(0, 0, 0, 0.15);
}

.my-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.my-icon-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}


/* 전체 컨테이너 */
.my-wrap.position-rel {
  display: flex;
  align-items: center;
  position: relative;
}

/* 스크롤 영역 */
.my-tab-scroll-wrapper {
  position: relative;  /* 그라데이션 기준점 */
  flex: 1;
  overflow: hidden;
}

/* 왼쪽 그라데이션 */
.my-tab-scroll-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
   
  background: linear-gradient(to right, #ffffff, transparent);
  z-index: 1;
  pointer-events: none;
}

/* 오른쪽 그라데이션 */
.my-tab-scroll-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  
  background: linear-gradient(to left, #fff, transparent);
  z-index: 1;
  pointer-events: none;
}



.sticky{position:sticky; top:0; z-index:2000}






/* 공통 탭 좌우버튼 */
.tab-container{ display: flex;  align-items: center;  position: relative; width: 100%;     overflow-y: auto;    scrollbar-width: none; }
.tab-prev, .tab-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
   background: rgba(255, 255, 255, 1) !important; /* 흰색 60% 불투명 */
    cursor: pointer;
    z-index: 9000;
	border-radius:20px;
	border:1px solid #e3e8ef;
	aspect-ratio: 1 / 1;
}

 
.tab-prev {
    left: 0;
    transform: translateY(-50%) scaleX(-1); /* 좌우반전 + 세로중앙정렬 같이 적용 */
}

.tab-next {
    right: 0;
}



/* 공통 썸네일 좌우버튼 */
.thumb-container{ display: flex;  align-items: center;  position: relative; width: 100%;}
.thumb-prev,.thumb-next{  position: fixed;  top: 45%;  transform: translateY(-50%);  cursor: pointer;  z-index: 10; }
.thumb-prev{  left: 10px;  transform: translateY(-50%) scaleX(-1); /* translateY + scaleX 같이 */}
.thumb-next{  right: 10px;}



/* 기본 라디오 숨기기 */
.my-radio input[type="radio"] {
  display: none;
}

.my-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* 커스텀 라디오 버튼 */
.my-radio-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #d6d3d1; /* 기본 보더 색상 */
  display: inline-block;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* 선택되었을 때 */
.my-radio input[type="radio"]:checked + .my-radio-btn {
  border-color: #06b6d4;        /* 선택시 보더 색상 */
  background-color: #06b6d4;    /* 선택시 채우기 색상 */
  box-shadow: inset 0 0 0 3px #ffffff; /* 안쪽 흰 원 */
}

/* 공통 텍스트 박스 */
.tbox{background-color:#fafaf9; border:1px solid #eceef1; border-radius: 8px; padding:10px 12px} 


/* 모바일에서 안보임 */
 @media (max-width: 640px) {
      .m-none {
        display:none !important
      }
    }


 @media (max-width: 1280px) {
  .pc-none {
	display:none !important
  }
}

.d-hidden{visibility: hidden; transition: opacity 0.3s ease;} /*숨김 */

.w-45{width:48%}


/* 공통 라운드 아이콘박스  */

.icon-box{
   width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.icon-box.pink{background-color: #fdf2f8;    color: #ec4899;}
.icon-box.blue{ background-color: #eff6ff;   color: #3b82f6;}
.icon-box.amber{background-color: #fffbeb;   color: #f59e0b;}

/* 게시판 및 모든 텍스트박스  */
.textbox{line-height: 1.5em; color:#636363}
.border-bot{border-bottom:1px solid #ededed}


.under-line{border-bottom:1px solid #dfdfdf !important; padding:5px  0}