/* ============================================
   Millie Partners v4.0 — Blog Post Styles
   ============================================ */

.page-post {
  background: var(--millie-cream);
  padding-top: var(--header-h-pc);
}

@media (max-width: 1024px) {
  .page-post {
    padding-top: var(--header-h-mobile);
  }
}

/* --- Post Header --- */
.post-header {
  background: var(--millie-cream);
  padding: 48px 0 0;
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-13);
  color: var(--text-400);
  margin-bottom: 24px;
}

.post-breadcrumb a {
  color: var(--text-400);
  text-decoration: none;
}

.post-breadcrumb a:hover { color: var(--millie-orange); }

.post-breadcrumb__sep {
  color: var(--gray-200);
}

.post-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: var(--fs-13);
  font-weight: var(--fw-semibold);
  margin-bottom: 20px;
}

.post-header__badge--guide   { background: var(--millie-yellow); color: #5a3d00; }
.post-header__badge--youtube { background: #ff4444; color: #fff; }
.post-header__badge--tips    { background: var(--millie-orange); color: #fff; }
.post-header__badge--sidejob { background: #22a36a; color: #fff; }
.post-header__badge--interview { background: #7c5cfc; color: #fff; }

.post-header__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: var(--fw-bold);
  line-height: 1.25;
  color: var(--millie-dark);
  margin-bottom: 20px;
  word-break: keep-all;
}

.post-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--fs-14);
  color: var(--text-400);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-100);
}

.post-header__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Post Feature Image --- */
.post-feature-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  margin: 32px 0;
  border-radius: 16px;
}

.post-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* --- Post Layout (article + sidebar) --- */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  padding-bottom: 80px;
}

/* --- Post Body (article content) --- */
.post-body {
  font-size: var(--fs-17);
  line-height: 1.85;
  color: var(--text-600);
}

.post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: var(--fw-bold);
  color: var(--millie-dark);
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--millie-yellow);
}

.post-body h3 {
  font-size: var(--fs-18);
  font-weight: var(--fw-semibold);
  color: var(--millie-dark);
  margin: 32px 0 12px;
}

.post-body p { margin-bottom: 20px; }

.post-body ul,
.post-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.post-body li { margin-bottom: 8px; }

.post-body strong { color: var(--millie-dark); font-weight: var(--fw-semibold); }

.post-body .highlight-box {
  background: rgba(255, 203, 0, 0.12);
  border-left: 4px solid var(--millie-yellow);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
}

.post-body .highlight-box p { margin: 0; }

.post-body .data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: var(--fs-15);
}

.post-body .data-table th {
  background: var(--millie-dark);
  color: var(--millie-yellow);
  padding: 12px 16px;
  text-align: left;
  font-weight: var(--fw-semibold);
}

.post-body .data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
}

.post-body .data-table tr:nth-child(even) td {
  background: var(--millie-warm-gray);
}

/* --- Post CTA Inline Banner --- */
.post-cta-inline {
  background: var(--millie-yellow);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.post-cta-inline__text h3 {
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  color: var(--millie-dark);
  margin-bottom: 4px;
}

.post-cta-inline__text p {
  font-size: var(--fs-14);
  color: var(--millie-dark);
  opacity: 0.7;
  margin: 0;
}

/* --- Post Sidebar --- */
.post-sidebar {
  position: sticky;
  top: calc(var(--header-h-pc) + 32px);
}

.post-sidebar__apply {
  background: var(--millie-dark);
  border-radius: 20px;
  padding: 28px 24px;
  color: #fff;
  margin-bottom: 24px;
}

.post-sidebar__apply-tag {
  font-size: var(--fs-12);
  color: var(--millie-yellow);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.post-sidebar__apply h3 {
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  margin-bottom: 16px;
}

.post-sidebar__apply-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-sidebar__apply-points li {
  font-size: var(--fs-14);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-sidebar__apply-points li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--millie-yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

.post-sidebar__related {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
}

.post-sidebar__related-title {
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  color: var(--text-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.post-related-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  color: inherit;
}

.post-related-item:last-child { border-bottom: none; }

.post-related-item:hover .post-related-item__title {
  color: var(--millie-orange);
}

.post-related-item__img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.post-related-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.post-related-item__title {
  font-size: var(--fs-14);
  font-weight: var(--fw-medium);
  line-height: 1.4;
  color: var(--millie-dark);
  transition: color var(--t-fast);
}

/* --- Post Bottom CTA --- */
.post-bottom-cta {
  background: var(--millie-dark);
  padding: 80px 0;
  text-align: center;
}

.post-bottom-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: var(--fw-bold);
  color: #fff;
  margin-bottom: 12px;
}

.post-bottom-cta p {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-16);
  margin-bottom: 32px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .post-header { padding: 32px 0 0; }

  .post-feature-img {
    aspect-ratio: 16 / 9;
    margin: 20px 0;
    border-radius: 12px;
  }

  .post-layout { gap: 32px; padding-bottom: 60px; }

  .post-sidebar {
    grid-template-columns: 1fr;
  }

  .post-cta-inline {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .post-body h2 { font-size: 20px; margin: 36px 0 12px; }
  .post-body { font-size: var(--fs-16); }
}
