/* -------------------------------
   건강똑똑 공통 페이지 common.css
-------------------------------- */

@charset "utf-8";
/* Color Palette -------------------------------------------------------- */ 
:root {
  --primary-120: #A51A1F;
  --primary: #CE2127; /* Default */
  --primary-75: #DA585D;
  --primary-50: #E79093; 
  --primary-35: #EEB1B4;
  --primary-10: #F8DEDF;
  --primary-5: #FDF4F4;	
  
  --black: #222222;
  --text: #222222;
  --grey-39: #393939;
  --grey-59: #595959;
  --grey-91: #919191;
  --grey-bd: #BDBDBD;
  --grey-d5: #D5D5D5;
  --grey-e9: #E9E9E9;
  --grey-f4: #F4F4F4;
  --white: #FFFFFF;
  --black-10: #111111;
	
  --ultramarine: #222F59;
  --ultramarine-80: #4E597A;
  --ultramarine-10: #E9EBEF;
	
  --focus: #CE2127;
  --positive: #2163C5;
  --negative: #21C531;
  --bg-red: #FCF4F4;
  --bg-f4: #F4F4F4;
  --bg-fa: #FAFAFA;
  --footer: #222222;
  --ff-base: "Pretendard", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Helvetica Neue", Arial, sans-serif;
  --ff-sans-suit: "SUIT", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Helvetica Neue", Arial, sans-serif;
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --line: rgba(17, 17, 17, 0.1);
  --line-d5: #D5D5D5;	
}
/* Font-face ------------------------------- */
/* Pretendard Variable (300–700) */
@font-face {
  font-family: 'Pretendard';
  src: url('https://health.chosun.com/ddok/fonts/PretendardVariable.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
/* SUIT Variable (300–700) */
@font-face {
  font-family: 'SUIT';
  src: url('https://health.chosun.com/ddok/fonts/SUIT-Variable.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
/* Reset --------------------------------------------- */
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
  overflow-x: clip;
}
@supports not (overflow: clip) {
  html, body {
    overflow-x: hidden;
  }
}
html:focus-within {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--ff-base);
  font-weight: var(--fw-400);
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.container {
    max-width: var(--container);
    margin: 0 auto;
	width: 1200px;
  position: relative;
}
.section {
  padding: 0px 0;
  margin: 60px 0;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
iframe {
  border: 0;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol, dl, dd, li, button, figure {
	position: relative;
  margin: 0;
  padding: 0;
  padding-inline-start: 0px;
  list-style: none; 
	padding-left: 0;
	box-sizing: border-box;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* Typography ------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0;
  color: var(--text-strong);
  font-weight: var(--fw-700);
  line-height: 1.25;
}
h1 {
  font-size: clamp(28px, 4vw, 40px);
}
h2 {
  font-size: clamp(22px, 3vw, 28px);
}
h3 { 
  font-size: clamp(18px, 2.5vw, 22px);
}
p {
  margin: 0 0 0rem;
  padding: 0;
}
section, div {
	position: relative;
}
/* 2줄 말줄임 */
.clamp-2{
  display: -webkit-box;
  -webkit-line-clamp: 2;    /* 줄 수 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.clamp-2{
  line-clamp: 2;            /* 실험적 표준 속성 */
}
/* Containers & Utilities ---------------------------------------------- */
.hr, hr {
  border: 0;
  border-top: 1px dashed var(--primary);
  margin: 24px 0;
}
button {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--text);
  border-radius: 4px;
  border: 0;
  box-shadow: 0;
  transition: transform .12s ease, box-shadow .2s ease, background .2s;
}
.btn {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 0;
  box-shadow: 0;
  transition: transform .12s ease, box-shadow .2s ease, background .2s;
}
.btn:hover {
  transform: translateY(0px);
}
.btn:active {
  transform: translateY(0);
}
.btn--ghost {
  background:var(--white);
  color: var(--primary);  
}
.btn--line {
  background:var(--white);
  color: var(--grey-39);  
  border:1px solid var(--grey-39);
}
.btn--d5line {
  background:var(--white);
  color: var(--test);  
  border:1px solid var(--grey-d5);
}
.btn--primary-75{
  background:var(--primary-75);
  color: var(--white);  
  border:0px;
}
.badge {
  display: inline-block;
  padding: .25rem .5rem;
  border-radius: 999px;
  font-weight: 600;
}
.badge--positive {
  background: color-mix(in srgb, var(--positive) 12%, #fff);
  color: var(--positive);
}
.badge--negative {
  background: color-mix(in srgb, var(--negative) 12%, #fff);
  color: var(--negative);
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: var(--fw-700);
  font-size: 16px;
  line-height: 140%;
}
.link {
  color: var(--ultramarine-80);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link:hover {
  color: var(--ultramarine);
}
/* Form & Focus --------------------------------------------------------- */
.input, .select, .textarea {
  width: 100%;
  padding: 0rem 0rem;
  border: 1px solid var(--grey-d5);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
}
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  border-color: var(--primary);
  outline: 3px solid color-mix(in srgb, var(--primary) 30%, transparent);
}
/* Footer & Background helpers ----------------------------------------- */
.bg-red {
  background: var(--bg-red);
}
.bg-f4 {
  background: var(--bg-f4);
}
.bg-fa {
  background: var(--bg-fa);
}
.footer {
  background: var(--footer);
  color: var(--white);
}
/* Helper utilities ----------------------------------------------------- */
.hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  padding: 0;
}
.mt-0 {
  margin-top: 0 !important
}
.mb-0 {
  margin-bottom: 0 !important
}
.mt-8 {
  margin-top: 8px
}
.mb-8 {
  margin-bottom: 8px
}
.mt-16 {
  margin-top: 16px
}
.mt-56 {
  margin-top: 56px
}
.mb-16 {
  margin-bottom: 16px
}
.mt-24 {
  margin-top: 24px
}
.mb-24 {
  margin-bottom: 24px
}
.pad-16 {
  padding: 16px
}
.pad-24 {
  padding: 24px
}
.round {
  border-radius: var(--radius-lg);
}