@import url('https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400;500&display=swap');

/* =====================================================
   x-half-one-day.css
   wrapper: .x-half-one-day
   필름감성 출사클래스 with X half — 원데이 클래스
   ===================================================== */

.x-half-one-day {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;

  --bg: #ffffff;
  --beige: #f3f3f3;
  --ink: #171717;
  --ink-2: #4a4a4a;
  --muted: #909090;
  --line: #d8d8d8;
  --line-soft: #ececec;
  --rust: #9a9a9a;
  --max: 1130px;

  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 60em) {
  .x-half-one-day {
    width: 100vw !important;
    max-width: 1360px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

.x-half-one-day * { box-sizing: border-box; }
.x-half-one-day img { display: block; max-width: 100%; }
.x-half-one-day a { color: inherit; }
.x-half-one-day em { color: inherit; font-style: italic; }

/* ---------- hero ---------- */
.x-half-one-day .hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1a1a1a;
}
.x-half-one-day .hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- wrap ---------- */
.x-half-one-day .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- eyebrow ---------- */
.x-half-one-day .eyebrow {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.x-half-one-day .eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--rust);
  display: inline-block;
}

/* ---------- intro ---------- */
.x-half-one-day .intro {
  padding: 96px 0 72px;
}
.x-half-one-day .intro-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.x-half-one-day .intro h1 {
  margin: 18px 0 0;
  font-family: inherit;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  word-break: keep-all;
}
.x-half-one-day .intro .lead {
  margin: 0 0 28px;
  font-family: inherit;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.x-half-one-day .intro p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.85;
}
.x-half-one-day .intro p:last-child { margin-bottom: 0; }

/* ---------- sample gallery (editorial collage) ---------- */
.x-half-one-day .gallery {
  padding: 8px 0 96px;
}
.x-half-one-day .gallery-collage {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 723 / 442;
}
.x-half-one-day .gallery-collage figure {
  position: absolute !important;
  margin: 0;
  overflow: hidden;
  background: #1a1a1a;
}
.x-half-one-day .gallery-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.x-half-one-day .gallery-collage figure:hover img { transform: scale(1.03); }

.x-half-one-day .gallery-collage .g1 { left: 0 !important;       top: 0 !important;       width: 35.68% !important; height: 38.91% !important; }
.x-half-one-day .gallery-collage .g2 { left: 38.45% !important;  top: 0 !important;       width: 23.10% !important; height: 59.73% !important; }
.x-half-one-day .gallery-collage .g3 { left: 64.31% !important;  top: 0 !important;       width: 35.68% !important; height: 38.91% !important; }
.x-half-one-day .gallery-collage .g4 { left: 11.20% !important;  top: 43.44% !important;  width: 24.48% !important; height: 56.56% !important; }
.x-half-one-day .gallery-collage .g5 { left: 38.45% !important;  top: 62.67% !important;  width: 35.96% !important; height: 37.33% !important; }

/* ---------- details ---------- */
.x-half-one-day .details {
  padding: 88px 0;
  background: var(--beige);
}
.x-half-one-day .section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.x-half-one-day .section-head h2 {
  margin: 14px 0 0;
  font-family: inherit;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.x-half-one-day .info-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.x-half-one-day .info-cell {
  background: var(--beige);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 132px;
}
.x-half-one-day .info-cell .label {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 10.5px;
  color: var(--rust);
}
.x-half-one-day .info-cell .value {
  font-family: inherit;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.x-half-one-day .info-cell .sub {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.x-half-one-day .info-cell.span-3 { grid-column: span 3; }
.x-half-one-day .info-cell.span-4 { grid-column: span 4; }
.x-half-one-day .info-cell.span-6 { grid-column: span 6; }
.x-half-one-day .info-cell.span-12 { grid-column: span 12; }
.x-half-one-day .info-cell.feature { background: #e6e6e6; }
.x-half-one-day .info-cell.feature .value { font-size: 24px; }

/* ---------- program (curriculum) ---------- */
.x-half-one-day .curriculum {
  padding: 96px 0;
}
.x-half-one-day .program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.x-half-one-day .program-cell {
  background: var(--bg);
  padding: 40px 36px 48px;
}
.x-half-one-day .program-cell .kicker {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 10.5px;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.x-half-one-day .program-cell .kicker::before {
  content: ""; width: 20px; height: 1px; background: var(--rust);
  display: inline-block;
}
.x-half-one-day .program-cell h3 {
  margin: 0 0 28px;
  font-family: inherit;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ordered steps */
.x-half-one-day .steps {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  counter-reset: step;
}
.x-half-one-day .steps li {
  list-style: none !important;
  position: relative;
  padding: 20px 0 20px 52px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.x-half-one-day .steps li:last-child {
  border-bottom: 1px solid var(--line-soft);
}
.x-half-one-day .steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero) !important;
  position: absolute;
  left: 0;
  top: 21px;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--rust);
}
.x-half-one-day .steps .s-title {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.x-half-one-day .steps .s-dur {
  flex: none;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* unordered prep list */
.x-half-one-day .prep {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.x-half-one-day .prep li {
  list-style: none !important;
  position: relative;
  padding: 0 0 22px 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.x-half-one-day .prep li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.x-half-one-day .prep li::before {
  content: "" !important;
  position: absolute;
  left: 1px;
  top: 9px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--rust);
  border-radius: 50%;
}
.x-half-one-day .prep .p-title {
  display: block;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: -0.005em;
}
.x-half-one-day .prep .p-desc {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ---------- tutor ---------- */
.x-half-one-day .speaker {
  padding: 96px 0;
  background: var(--beige);
}
.x-half-one-day .speaker-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.x-half-one-day .speaker-figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 24px 48px -28px rgba(0,0,0,0.25);
}
.x-half-one-day .speaker-figure img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.x-half-one-day .speaker h2 {
  margin: 14px 0 6px;
  font-family: inherit;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.x-half-one-day .speaker .role {
  margin: 0 0 28px;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}
.x-half-one-day .speaker p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.9;
}
.x-half-one-day .speaker p:last-child { margin-bottom: 0; }

/* ---------- notice ---------- */
.x-half-one-day .notice-sec {
  padding: 88px 0 96px;
}
.x-half-one-day .notice-body {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.x-half-one-day .notice-sec ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.x-half-one-day .notice-sec li {
  list-style: none !important;
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
.x-half-one-day .notice-sec li::before {
  content: "—" !important;
  position: absolute;
  left: 0;
  color: var(--rust);
}
.x-half-one-day .notice-sec li a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .x-half-one-day .intro-grid,
  .x-half-one-day .notice-body,
  .x-half-one-day .speaker-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .x-half-one-day .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .x-half-one-day .info-cell.span-3,
  .x-half-one-day .info-cell.span-4,
  .x-half-one-day .info-cell.span-6 { grid-column: span 6; }
  .x-half-one-day .speaker-figure { max-width: 420px; }
  .x-half-one-day .program-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .x-half-one-day .gallery { padding: 0 0 56px; }
  .x-half-one-day .gallery-collage {
    position: static !important;
    aspect-ratio: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
  }
  .x-half-one-day .gallery-collage figure { position: static !important; }
  .x-half-one-day .gallery-collage .g1,
  .x-half-one-day .gallery-collage .g2,
  .x-half-one-day .gallery-collage .g3,
  .x-half-one-day .gallery-collage .g4,
  .x-half-one-day .gallery-collage .g5 {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
  }
  .x-half-one-day .gallery-collage img {
    width: 100%;
    height: auto !important;
  }
}

@media (max-width: 560px) {
  .x-half-one-day { font-size: 15px; }
  .x-half-one-day .wrap { padding: 0 18px; }

  .x-half-one-day .intro { padding: 56px 0 48px; }
  .x-half-one-day .intro h1 { font-size: 28px; }
  .x-half-one-day .intro .lead { font-size: 18px; }
  .x-half-one-day .intro p { font-size: 14.5px; }

  .x-half-one-day .details { padding: 56px 0; }
  .x-half-one-day .curriculum { padding: 64px 0; }
  .x-half-one-day .program-cell { padding: 28px 22px 32px; }
  .x-half-one-day .program-cell h3 { font-size: 17px; }
  .x-half-one-day .speaker { padding: 64px 0; }
  .x-half-one-day .speaker h2 { font-size: 26px; }
  .x-half-one-day .notice-sec { padding: 56px 0 72px; }
  .x-half-one-day .section-head h2 { font-size: 24px; }

  .x-half-one-day .info-grid { grid-template-columns: 1fr; }
  .x-half-one-day .info-cell.span-3,
  .x-half-one-day .info-cell.span-4,
  .x-half-one-day .info-cell.span-6,
  .x-half-one-day .info-cell.span-12 { grid-column: span 1; }
  .x-half-one-day .info-cell { padding: 22px 20px 24px; min-height: 0; }
  .x-half-one-day .info-cell .value { font-size: 17px; }
  .x-half-one-day .info-cell.feature .value { font-size: 20px; }

  .x-half-one-day .steps li { padding: 16px 0 16px 44px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .x-half-one-day .steps li::before { top: 17px; }
}
