:root {
  --primary-exercise: #059669;
  --primary-exercise-light: #ecfdf5;
  --primary-exercise-border: #a7f3d0;
  
  --primary-info: #1d4ed8;
  --primary-info-light: #eff6ff;
  --primary-info-border: #bfdbfe;

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-badge {
  background: var(--primary-exercise);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links .yt-link {
  background: #dc2626;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
}

.nav-links .yt-link:hover {
  color: #fff;
  opacity: 0.9;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border);
  padding: 44px 20px 36px;
  text-align: center;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid #cbd5e1;
}

.hero-content h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-author-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-exercise);
}

.hero-author-box strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
}

.hero-author-box span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Category Filter Tabs (Home) */
.filter-container {
  max-width: 1040px;
  margin: 28px auto 8px;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: #ecfdf5;
  color: var(--primary-exercise);
  border-color: var(--primary-exercise-border);
}

.filter-btn.active {
  background: var(--primary-exercise);
  color: #fff;
  border-color: var(--primary-exercise);
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.25);
}

.filter-btn.filter-exercise.active {
  background: var(--primary-exercise);
  border-color: var(--primary-exercise);
  color: #fff;
}

.filter-btn.filter-info.active {
  background: var(--primary-info);
  border-color: var(--primary-info);
  color: #fff;
}

/* Grid & Section Headers */
.grid-container {
  max-width: 1040px;
  margin: 20px auto 60px;
  padding: 0 20px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
  margin-bottom: 32px;
}

/* Article Card */
.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-card.card-exercise:hover {
  border-color: var(--primary-exercise);
}

.article-card.card-info:hover {
  border-color: var(--primary-info);
}

.card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.article-card:hover .card-thumb img {
  transform: scale(1.03);
}

.type-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: -0.3px;
}

.type-pill.pill-exercise {
  background: rgba(5, 150, 105, 0.92);
  color: #fff;
}

.type-pill.pill-info {
  background: rgba(29, 78, 216, 0.92);
  color: #fff;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-exercise .card-tag {
  color: var(--primary-exercise);
}

.card-info .card-tag {
  color: var(--primary-info);
}

.card-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text-main);
  margin-bottom: 8px;
}

.card-summary {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   ARTICLE PAGE STYLES (스트레칭 자세 vs 건강 정보 완전 분리)
   ========================================================================== */
.article-container {
  max-width: 820px;
  margin: 28px auto 60px;
  padding: 0 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 20px;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--text-main);
}

/* Article Header */
.article-header {
  margin-bottom: 24px;
}

.badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.category-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.badge-exercise {
  background: var(--primary-exercise-light);
  color: var(--primary-exercise);
  border: 1px solid var(--primary-exercise-border);
}

.badge-info {
  background: var(--primary-info-light);
  color: var(--primary-info);
  border: 1px solid var(--primary-info-border);
}

.topic-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.article-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.article-meta img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* Key Summary Highlight Box */
.summary-box {
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0 28px;
}

.summary-box.theme-exercise {
  background: var(--primary-exercise-light);
  border-left: 5px solid var(--primary-exercise);
}

.summary-box.theme-info {
  background: var(--primary-info-light);
  border-left: 5px solid var(--primary-info);
}

.summary-box h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.summary-box.theme-exercise h3 {
  color: var(--primary-exercise);
}

.summary-box.theme-info h3 {
  color: var(--primary-info);
}

.summary-box p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* Article Body Typography */
.article-content h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-main);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-content p {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.85;
}

/* ==========================================================================
   1. STRETCHING & EXERCISE SECTION (스트레칭 자세 가이드)
   ========================================================================== */
.exercise-step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.exercise-step-card:hover {
  border-color: var(--primary-exercise-border);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.step-num-pill {
  background: var(--primary-exercise);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
}

.step-title-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
}

.step-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Compact Posture Image Box (스트레칭 시범 자세 이미지 크기 최적화 - 아담하고 깔끔한 규격) */
.step-demo-box,
.posture-image-card {
  max-width: 360px;
  width: 100%;
  margin: 16px auto;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.step-demo-box img,
.posture-image-card img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  background: #ffffff;
}

.step-demo-caption,
.posture-caption {
  display: block;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  line-height: 1.45;
}

/* ==========================================================================
   2. HEALTH & MEDICAL INFO SECTION (건강 의학 정보 칼럼)
   ========================================================================== */
.info-point-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.info-point-card:hover {
  border-color: var(--primary-info-border);
}

.info-point-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.info-point-badge {
  background: var(--primary-info);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
}

.info-point-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
}

.info-point-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
}

/* Compact Visual Capture for Information Pages (절대 거대하지 않게 컴팩트 스타일) */
.info-compact-media {
  max-width: 220px;
  margin: 12px auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f8fafc;
  text-align: center;
}

.info-compact-media img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

.info-compact-media span {
  display: block;
  padding: 5px 8px;
  font-size: 11px;
  color: var(--text-muted);
  background: #f1f5f9;
}

/* ==========================================================================
   3. OPTION B: YOUTUBE SHORTS ALGORITHM BOOSTER CTA & HANA MOTION PREVIEW
   ========================================================================== */
.hana-motion-preview {
  max-width: 210px;
  margin: 12px auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.hana-motion-preview video {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  display: block;
}

.preview-caption {
  display: block;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

.youtube-boost-box {
  margin: 36px 0 28px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
  border: 2px solid #fecaca;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08);
  text-align: center;
}

.youtube-boost-box.theme-exercise {
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
  border: 2px solid #a7f3d0;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
}

.youtube-boost-box.theme-exercise .yt-badge {
  background: var(--primary-exercise);
}

.youtube-boost-box.theme-exercise .yt-boost-btn {
  background: var(--primary-exercise);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.youtube-boost-box.theme-exercise .yt-boost-btn:hover {
  background: #047857;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
}

.youtube-boost-box.theme-info {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 2px solid #bfdbfe;
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.08);
}

.yt-badge {
  display: inline-block;
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.youtube-boost-box h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.youtube-boost-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.yt-boost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #dc2626;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.yt-boost-btn:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.45);
}

.play-triangle {
  font-size: 14px;
}

.arrow-icon {
  font-size: 16px;
  font-weight: 900;
}

@media (max-width: 640px) {
  .yt-boost-btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
  }
}

/* Warning & Checkpoint Box */
.warning-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
}

.warning-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 8px;
}

.warning-box p {
  font-size: 14.5px;
  color: #92400e;
  margin-bottom: 6px;
  line-height: 1.65;
}

.warning-box p:last-child {
  margin-bottom: 0;
}

/* FAQ Cards */
.faq-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.faq-q {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.faq-a {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.65;
}

/* AdSense Slot */
.adsense-slot {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  margin: 28px 0;
}

/* Subscribe Banner */
.subscribe-banner {
  margin: 40px 0 20px;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.subscribe-banner.theme-exercise {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid var(--primary-exercise-border);
}

.subscribe-banner.theme-info {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid var(--primary-info-border);
}

.subscribe-banner h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
}

.subscribe-banner.theme-exercise h3 {
  color: #065f46;
}

.subscribe-banner.theme-info h3 {
  color: #1e40af;
}

.subscribe-banner p {
  font-size: 14px;
  color: #475569;
  margin-bottom: 16px;
}

.subscribe-banner.theme-exercise .yt-btn {
  background: var(--primary-exercise);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.subscribe-banner.theme-exercise .yt-btn:hover {
  background: #047857;
}

.subscribe-banner .yt-btn {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 11px 26px;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
  transition: transform 0.2s;
}

.subscribe-banner .yt-btn:hover {
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 32px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer p {
  margin-bottom: 6px;
}

/* Search Bar & Popular Keyword Tags */
.search-section-wrap {
  max-width: 680px;
  margin: -24px auto 28px;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}

.search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 30px;
  padding: 10px 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--primary-exercise);
  box-shadow: 0 6px 24px rgba(5, 150, 105, 0.18);
}

.search-icon {
  font-size: 18px;
  margin-right: 10px;
  opacity: 0.7;
}

#searchInput {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  background: transparent;
  font-family: inherit;
}

#searchInput::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.search-clear-btn {
  display: none;
  background: #e2e8f0;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 11px;
  font-weight: bold;
  color: #475569;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: background 0.15s;
}

.search-clear-btn:hover {
  background: #cbd5e1;
  color: #0f172a;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 0 6px;
  font-size: 12px;
}

.tags-label {
  color: #64748b;
  font-weight: 600;
  margin-right: 2px;
}

.tag-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tag-chip:hover {
  background: var(--primary-exercise);
  border-color: var(--primary-exercise);
  color: #ffffff;
}

.search-status-bar {
  display: none;
  margin: 16px auto;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-exercise);
}

.no-results-box {
  display: none;
  text-align: center;
  padding: 48px 20px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  margin: 24px auto;
  max-width: 500px;
}

.no-results-box .no-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.no-results-box h4 {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
}

.no-results-box p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
}

.no-results-box button {
  background: var(--primary-exercise);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.no-results-box button:hover {
  background: #047857;
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 24px;
  }
  .article-header h1 {
    font-size: 22px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
}


/* ========================================================
   Prominent Vertical Shorts Video Player (Exercise Only)
   ======================================================== */
.video-section-card {
  margin: 40px auto;
  max-width: 520px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 24px 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.video-section-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.video-section-header p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
}

.video-player-frame {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
  background: #000000;
  position: relative;
}

.video-player-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-footnote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #64748b;
  margin-top: 18px;
}

.yt-shorts-direct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  background: #dc2626;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transition: all 0.2s ease-in-out;
}

.yt-shorts-direct-btn:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}


/* ========================================================
   Direct YouTube Shorts Boost Card (NO in-page playback)
   ======================================================== */
.youtube-boost-card {
  margin: 40px auto 32px;
  max-width: 620px;
  background: linear-gradient(145deg, #ffffff 0%, #fff1f2 100%);
  border: 2px solid #fecdd3;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 8px 30px rgba(225, 29, 72, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.youtube-boost-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff0000, #f43f5e, #fb7185);
}

.boost-channel-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #ffe4e6;
  color: #e11d48;
  font-size: 12px;
  font-weight: 800;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.boost-title {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.35;
}

.boost-desc {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 22px;
  line-height: 1.5;
}

.yt-shorts-direct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: #e11d48;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  border-radius: 32px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.35);
  transition: all 0.25s ease-in-out;
}

.yt-shorts-direct-btn:hover {
  background: #be123c;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(225, 29, 72, 0.45);
}


/* ========================================================
   Mobile Readability Overhaul (모바일 시니어 가독성 대폭 확대)
   ======================================================== */
@media (max-width: 640px) {
  body {
    font-size: 17px !important;
    line-height: 1.85 !important;
    letter-spacing: -0.3px !important;
  }

  .article-content p,
  .summary-box p,
  .warning-box p,
  .faq-a,
  .step-desc,
  .info-point-desc {
    font-size: 17.5px !important;
    line-height: 1.85 !important;
    color: #1e293b !important;
  }

  .article-header h1 {
    font-size: 24px !important;
    line-height: 1.4 !important;
    letter-spacing: -0.5px !important;
  }

  .article-content h2 {
    font-size: 21px !important;
    margin-top: 36px !important;
    margin-bottom: 16px !important;
  }

  .step-title-text,
  .info-point-title {
    font-size: 19px !important;
    line-height: 1.5 !important;
  }

  .card-title {
    font-size: 18.5px !important;
    line-height: 1.45 !important;
  }

  .card-summary {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
  }

  .card-tag {
    font-size: 13.5px !important;
  }

  .type-pill,
  .video-duration {
    font-size: 13px !important;
    padding: 4px 10px !important;
  }

  .card-footer {
    font-size: 13.5px !important;
  }

  .category-badge,
  .topic-tag,
  .article-meta span {
    font-size: 14px !important;
  }

  .step-num-pill,
  .info-point-badge {
    font-size: 13.5px !important;
    padding: 4px 10px !important;
  }

  .faq-q {
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
  }

  .posture-caption {
    font-size: 14.5px !important;
  }

  .hero-content h1 {
    font-size: 26px !important;
    line-height: 1.35 !important;
  }

  .hero-content p {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  .filter-btn {
    font-size: 15px !important;
    padding: 10px 18px !important;
  }
}

/* Footer Links & AdSense Compliance */
.footer-links {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-links a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  padding: 0 4px;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #059669;
  text-decoration: underline;
}

.site-nav .back-link {
  font-size: 14px;
  font-weight: 600;
  color: #059669;
  margin-right: 16px;
  text-decoration: none;
}
