/* fitness */
.fit-wrap [hidden] {display:none !important;}
.fit-wrap button {font-family:inherit; cursor:pointer;}

.fit-intro {font-size:1.1rem; line-height:1.7; color:#555; background:#f7f7f9; border-radius:12px; padding:18px 22px; margin:0 0 24px; word-break:keep-all;}
.fit-intro b {color:#B62B5C;}

.fit-tabs {display:flex; border-bottom:1px solid #e3e3e8; margin:0 0 28px; padding:0; list-style:none;}
.fit-tabs li {flex:1 1 0; margin:0;}
.fit-tabs button {display:flex; align-items:center; justify-content:center; gap:6px; width:100%; height:100%; padding:14px 6px; margin-bottom:-1px; font-size:1.15rem; color:#555; border:0; border-bottom:3px solid transparent; background:none; word-break:keep-all;}
.fit-tabs button:hover {color:#B62B5C;}
.fit-tabs button.on {color:#B62B5C; font-weight:700; border-bottom-color:#B62B5C;}
.fit-tabs button:focus-visible {outline:2px solid #B62B5C; outline-offset:-2px;}
.fit-num {display:inline-flex; align-items:center; justify-content:center; flex:none; width:22px; height:22px; border-radius:50%; background:#c9c9cf; color:#fff; font-size:0.8125rem; font-weight:700;}
.fit-tabs button:hover .fit-num, .fit-tabs button.on .fit-num {background:#B62B5C;}

.fit-pane {text-align:center;}
.fit-pane a {display:inline-block; max-width:100%;}
.fit-pane img {max-width:100%; height:auto; vertical-align:top;}


/* 연령별 기준표 (연령별 기준표 탭) */
.age-standard {max-width:1300px; margin:0 auto; padding:12px 0; color:#111; text-align:left;}
.age-standard * {box-sizing:border-box;}
.age-standard h3 {margin:0 0 22px; color:#333; font-size:2.625rem; font-weight:600; letter-spacing:12px; text-align:center;}
.age-standard section + section {margin-top:32px;}
.age-standard h4 {margin:0 0 10px; color:#2f3337; font-size:1.4375rem; font-weight:600; line-height:1.3;}
.age-standard h4 span {margin-right:4px; color:#B62B5C;}
.age-standard .table-scroll {overflow-x:auto; border:1px solid #dfe3e8; border-radius:10px; background:#fff;}
.age-standard table {width:100%; min-width:630px; border-collapse:separate; border-spacing:0; table-layout:fixed; font-size:1.1rem; text-align:center;}
.age-standard col.age-col {width:74px;}
.age-standard th, .age-standard td {border:0; border-right:1px solid #e1e4e8; border-bottom:1px solid #e1e4e8; padding:8px 4px; vertical-align:middle; line-height:1.45;}
.age-standard tr > :last-child {border-right:0;}
.age-standard tbody tr:last-child > * {border-bottom:0;}
.age-standard thead th {height:38px; font-size:1rem; font-weight:600;}
.age-standard thead .grade {background:#e9ecef; color:#343a40;}
.age-standard thead .age-header, .age-standard thead .sex {background:#f6f7f8; color:#495057;}
.age-standard tbody th {background:#fafbfc; color:#343a40; font-weight:600; white-space:nowrap;}
.age-standard tbody td {height:44px; color:#4b5055; font-weight:500; background:#fff;}
.age-standard tbody tr:nth-child(even) td {background:#fcfcfd;}
.age-standard tbody tr:hover th, .age-standard tbody tr:hover td {background:#fff8fb;}
.age-standard .flexibility tbody td {height:49px;}
.age-standard .endurance tbody td {height:47px; white-space:nowrap;}
@media (max-width:640px) {.age-standard h3 {font-size:2rem; letter-spacing:8px;}}
@media print {.age-standard section {break-inside:avoid;} .age-standard .table-scroll {overflow:visible;} .age-standard table {min-width:0;} .age-standard th {print-color-adjust:exact; -webkit-print-color-adjust:exact;}}

/* 측정 탭 (유연성·근기능·심폐지구력·비만도) */
.fit-guide {text-align:left; color:#333; font-size:0.9375rem; line-height:1.7;}
.fit-guide p {margin:0 0 8px;}
.fit-guide-tit {margin:0 0 16px; font-size:1.5rem; font-weight:700; color:#222;}
.fit-sub {margin:28px 0 12px; padding-left:10px; border-left:4px solid #B62B5C; font-size:1.125rem; font-weight:700; color:#222; line-height:1.2;}

.fit-sum {display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; margin:0;}
.fit-sum div {background:#faebf6; border-radius:12px; padding:14px 18px;}
.fit-sum dt {margin:0 0 2px; font-size:1rem; font-weight:600; color:#B62B5C;}
.fit-sum dd {margin:0; font-size:1.2rem; font-weight:700; color:#222; word-break:keep-all;}

.fit-steps {display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:16px; margin:0; padding:0; list-style:none;}
.fit-steps--wide {grid-template-columns:repeat(4, minmax(320px, 1fr));}
.fit-step {display:flex; flex-direction:column; border:1px solid #e3e3e8; border-radius:12px; overflow:hidden; background:#fff;}
.fit-step-pics {display:flex; justify-content:center; align-items:center; gap:8px; padding:14px; background:#f7f7f9;}
.fit-step-pics img {max-width:100%; height:auto; border-radius:8px;}
.fit-step-pics img + img {max-width:calc(50% - 4px);}
.fit-step-body {padding:14px 16px 16px; word-break:keep-all;}
.fit-step-no {display:block; margin-bottom:4px; font-size:1.1rem; font-weight:700; letter-spacing:1px; color:#B62B5C;}
.fit-step-body p {margin:0; font-size:1.15rem;}
.fit-guide .fit-caution {margin-top:8px; color:#c0392b; font-size:0.875rem;}
.fit-caution b {margin-right:6px;}

.fit-pulse {display:flex; gap:20px; align-items:center; border:1px solid #e3e3e8; border-radius:12px; padding:16px 20px;}
.fit-pulse img {flex:none; max-width:100%; height:auto; border-radius:8px;}
.fit-pulse ol {margin:0 0 8px; padding-left:20px;}
.fit-formula {display:inline-block; padding:8px 14px; background:#f7f7f9; border-radius:8px; font-weight:700; color:#222; word-break:keep-all;}

.fit-bmi {display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:4px; margin:0 0 6px; padding:0; list-style:none; text-align:center; color:#fff;}
.fit-bmi li {border-radius:8px; padding:12px 6px;}
.fit-bmi b {display:block; font-size:1rem;}
.fit-bmi span {font-size:0.875rem;}
.fit-bmi-1 {background:#1e5f99;}
.fit-bmi-2 {background:#237447;}
.fit-bmi-3 {background:#8a5a00;}
.fit-bmi-4 {background:#a8431a;}
.fit-bmi-5 {background:#a61b1b;}
.fit-guide .fit-note {font-size:0.8125rem; color:#777;}

.fit-example {display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 20px; border:2px solid #f0d3e2; border-radius:12px; padding:16px 22px; background:#fffafd; font-size: 1.1rem;  }
.fit-example ul {margin:0; padding:0; list-style:none;}
.fit-example li:before {content:'\25B7'; margin-right:6px; font-size:0.75rem; color:#B62B5C;}
.fit-example strong {color:#1d4ed8;}
.fit-go {flex:none; padding:10px 18px; border:1px solid #B62B5C; border-radius:999px; background:#fff; color:#B62B5C; font-size:0.9375rem; font-weight:600;}
.fit-go:hover, .fit-go:focus-visible {background:#B62B5C; color:#fff; outline:none;}

@media (max-width:767px) {
	.fit-guide-tit {font-size:1.25rem;}
	.fit-sum {grid-template-columns:1fr;}
	.fit-sum div {display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:10px 14px;}
	.fit-sum dd {font-size:0.9375rem; text-align:right;}
	.fit-steps--wide {grid-template-columns:1fr;}
	.fit-pulse {flex-direction:column; align-items:flex-start;}
	.fit-bmi {grid-template-columns:1fr;}
	.fit-bmi li {display:flex; justify-content:space-between; padding:8px 14px;}
	.fit-example {padding:14px 16px;}
	.fit-go {width:100%;}
}

@media (max-width:767px) {
	.fit-intro {font-size:1rem; padding:14px 16px;}
	.fit-tabs {display:grid; grid-template-columns:repeat(2, 1fr); gap:6px; border:0; margin-bottom:20px;}
	.fit-tabs li:last-child {grid-column:1 / -1;}
	.fit-tabs button {font-size:1rem; padding:10px 4px; margin:0; border:1px solid #ddd; border-radius:8px;}
	.fit-tabs button.on {border-color:#B62B5C; background:#faebf6;}
}

