@charset "utf-8";

/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #0d0e0a;
  --bg-secondary: #1a1810;
  --bg-hero: #251C0D;
  --gold: #b8962e;
  --gold-light: #a58649;
  --gold-pale: #f0dea0;
  --text-primary: #f5f0e8;
  --text-secondary: #a89e84;
  --text-disabled: #5a5448;
  --border-gold: rgba(184, 150, 46, 0.2);
  --border-gold-faint: rgba(184, 150, 46, 0.15);
  --sponsor-bg: rgba(184, 150, 46, 0.04);
  --award-bg: rgba(184, 150, 46, 0.08);
  --radius: 8px;

  /* Layout */
  --side-pad: 168px;
  --content-width: 1104px;
  --max-width: 1440px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ===== FONT HELPERS ===== */
.font-serif {
  font-family: 'Arita buri', serif;
  font-weight: 600;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--side-pad);
  box-sizing: border-box;
}

.section-inner {
  max-width: var(--content-width);
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-family: 'Arita buri', serif;
  font-size: 38px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 0;
}

/* ============================================================
  HEADER — LNB sticky 진입 시 위로 사라짐
============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 86px;
  background: rgba(13, 14, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

#site-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--side-pad);
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-wkf {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.header-divider {
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.2);
}

.logo-galien {
  height: 27px;
  width: auto;
  object-fit: contain;
}

.header-right {
  margin-left: auto;
}

.header-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  font-weight: 300;
}

.a_gf {
  margin-left: auto;
}


/* ============================================================
  LNB — Hero 아래 자연 배치 → 스크롤 시 header 바로 아래 sticky
============================================================ */
#lnb {
  position: relative;
  /* JS로 fixed 전환 */
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--bg-primary);
  height: 86px;
  display: flex;
  align-items: center;
}

#lnb.is-sticky {
  position: fixed;
  top: 0;
  /* header가 사라지므로 화면 최상단에 고정 */
}

 /* sticky일 때 레이아웃 붕괴 방지용 플레이스홀더 */
#lnb-placeholder {
  display: none;
  height: 86px;
}

#lnb-placeholder.active {
  display: block;
}

.lnb-inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.lnb-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 3px 20px;
  height: 35px;
  line-height: 29px;
  border-radius: 34px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.5px;
  text-align: center;
  touch-action: manipulation;
}

.lnb-link.active {
  background: var(--gold-light);
  color: var(--bg-primary);
}

/* ============================================================
HERO SECTION
============================================================ */
#hero {
  margin-top: 86px;
  height: 575px;
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* 스크린 사이즈 1440px(이미지 원본 가로) 이상 */
.hero-bg-img {
  position: absolute;
  inset: 0;
  /*width: 100%;*/
  height: 100%;
  max-width: 100%;
  /*object-fit: cover;
  object-position: center;*/
  opacity: 0;
  animation: heroFadeIn 1.2s ease forwards;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes heroFadeIn {
  to {
    opacity: 0.85;
  }
}

.hero-bg-img-m {
  display: none;
}

.hero-content {
  display: none;
  /* Hero는 배경 이미지만 — 피그마 시안에 텍스트 오버레이 없음 */
}

@media (max-width: 1440px) {
  .hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    animation: heroFadeIn 1.2s ease forwards;
    transform: none !important;
  }
}


/* ============================================================
   SECTION OVERVIEW (공모전 개요)
============================================================ */
#overview {
  background: var(--bg-primary);
  padding: 60px 0;
  width: 100%;
  overflow: hidden;
}

.overview-intro-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 32px 40px;
  margin-bottom: 56px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.overview-intro-img {
  width: 140px;
  height: 122px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.overview-intro-text {
  flex: 1;
}

.overview-intro-text-m {
  display: none;
}

.overview-quote {
  font-family: 'Arita buri', serif;
  font-size: 17px;
  color: var(--gold-light);
  line-height: 1.7;
  margin-bottom: 12px;
  font-weight: 500;
}

.overview-desc {
  font-family: 'Arita buri', serif;
  font-size: 15px;
  color: var(--gold-light);
  line-height: 1.75;
  opacity: 0.85;
  font-weight: 500;
}

/* Table rows */
.info-table {
  width: 100%;
}

.info-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 40px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-gold-faint);
  align-items: start;
}

.info-row:first-child {
  border-top: 1px solid var(--border-gold-faint);
}

.info-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 28px;
  padding-top: 0;
  white-space: nowrap;
}

.info-value {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 28px;
  letter-spacing: -0.5px;
}

.info-value.highlight {
  font-weight: 700;
  color: var(--gold-pale);
}

.info-value a {
  color: var(--gold-pale);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-value ul {
  list-style: disc;
  padding-left: 20px;
}

.info-value ul li {
  margin-bottom: 4px;
}

/* s: 260528 지원자격 내용추가 */
.eligibility-common {
  margin-bottom: 4px;
}

.eligibility-note {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.eligibility-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  list-style: none;
  padding-left: 0;
}

.info-value .eligibility-list {
  padding-left: 0;
}

.eligibility-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-gold-faint);
  list-style: none;
}

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

.eligibility-category {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-pale);
  margin-bottom: 5px;
  letter-spacing: -0.3px;
}

.eligibility-desc {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.7;
  opacity: 0.9;
}

.eligibility-fee-note {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 12px 14px;
  border-left: 2px solid var(--border-gold);
  background: rgba(184, 150, 46, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.eligibility-fee-title {
  font-size: 15px;
  color: var(--gold-pale);
  margin-bottom: 6px;
  font-weight: 600;
}

.eligibility-fee-list {
  list-style: decimal;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eligibility-fee-list li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  letter-spacing: 0px;
}
/* // e: 260528 지원자격 내용추가 */

/* Award cards */
.award-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.award-card {
  background: var(--award-bg);
  border: 1px solid var(--text-disabled);
  border-radius: var(--radius);
  padding: 14px 16px 12px;
  width: 180px;
  min-width: 160px;
  flex: 1;
}

.award-en {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.award-ko {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 24px;
}

/* ============================================================
    FORUM SECTION (프리갈리앵 포럼)
============================================================ */
/* s: 260828 프리갈리앵 포럼 프로그램 테이블 */
#forum {
  background: var(--bg-primary);
  padding: 50px 0;
  --forum-muted: #ad9682;  /* 영문 부제 */
  --forum-desc: #cecfcf;   /* 소속/직함, 시간 텍스트 */
}

.forum-table {
  width: 100%;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  overflow: hidden;
}

/* 시각적으로 숨기되 스크린리더에는 노출 (caption, thead 등) */
.is_blind {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 구분 행 (개막식 / 네트워킹 / 시상식 및 만찬) */
.forum-divider {
  padding: 24px 18px;
  background-image: linear-gradient(
    to right,
    transparent 0,
    transparent 60px,
    var(--text-disabled) 60px,
    var(--text-disabled) calc(100% - 60px),
    transparent calc(100% - 60px),
    transparent 100%
  );
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 1px;
}

.forum-divider-inner {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
}

.forum-divider--last {
  background-image: none;
}

.forum-divider-label {
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
}

.forum-divider-time {
  color: var(--forum-desc);
  font-size: 19px;
  font-weight: 500;
}

/* 세션/키노트 행 */
.forum-content {
  vertical-align: top;
}

.forum-meta {
  padding: 26px 10px 26px 100px;
  vertical-align: middle;
  background-image: linear-gradient(
    to right,
    transparent 0,
    transparent 60px,
    var(--text-disabled) 60px,
    var(--text-disabled) calc(100% - 10px),
    transparent calc(100% - 10px),
    transparent 100%
  );
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 1px;
}

.forum-content {
  padding: 26px 24px 26px 24px;
  background-image: linear-gradient(
    to right,
    transparent 0,
    transparent 10px,
    var(--text-disabled) 10px,
    var(--text-disabled) calc(100% - 60px),
    transparent calc(100% - 60px),
    transparent 100%
  );
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 1px;
}

.forum-tag {
  color: var(--gold-light);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.forum-meta-time {
  color: var(--forum-desc);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.forum-title-ko {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-pale);
  line-height: 1.5;
}

.forum-title-en {
  font-size: 15px;
  font-weight: 300;
  color: var(--forum-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* 발표자 한 명 단위 블록 */
.forum-speaker {
  display: grid;
  grid-template-columns: 92px 1fr;
  column-gap: 12px;
  align-items: start;
  margin-top: 16px;
}

.forum-speaker--plain {
  display: block;
  margin-top: 0;
}

.forum-speaker--cont {
  margin-top: 12px;
}

.forum-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 0 13px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  margin-top: 3px;
  box-sizing: border-box;
}

.forum-badge--spacer {
  visibility: hidden;
}

/* Moderator: 아웃라인 뱃지 (채움 없음) */
.badge-moderator {
  background: transparent;
  border: 1px solid var(--gold-light);
  color: var(--text-primary);
}

/* Speaker: 채워진 골드 뱃지 */
.badge-speaker {
  background: var(--gold-light);
  border: 1px solid var(--gold-light);
  color: var(--bg-primary);
}

.name-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 10px;
  font-size: 18px;
}

.name-ko {
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.org-ko {
  font-size: 17px;
  color: var(--forum-desc);
}

.name-line-en {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 10px;
  font-size: 15px;
  margin-top: 3px;
}

.name-en {
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  font-size: 16px;
}

.org-en {
  color: var(--forum-desc);
  font-weight: 500;
  line-height: 1.55;
  font-size: 14px;
}
/* // e: 260828 프리갈리앵 포럼 프로그램 테이블 */

/* ============================================================
    HOST SECTION (주최)
============================================================ */
#host {
  background: var(--bg-primary);
  padding: 50px 0; /* 260623 패딩 수정 */
}

.host-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 30px 36px 0 36px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.host-portrait {
  width: 274px;
  height: 285px;
  object-fit: cover;
  /*border-radius: var(--radius);*/
}

.host-text-wrap {
  flex: 1;
}

.host-speech {
  font-family: 'Arita buri', serif;
  font-size: 16px;
  color: var(--text-primary);
  line-height: 30px;
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.host-divider {
  height: 1px;
  background: var(--gold);
  opacity: 0.2;
  margin-bottom: 20px;
}

.host-title {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 24px;
}

.host-title-m {
  display: none;
}

.host-sig {
  display: block;
  margin-top: 6px;
  height: 34px;
  object-fit: contain;
  object-position: left;
}

/* ============================================================
    SPONSOR SECTION
============================================================ */
#sponsor {
  background: var(--bg-primary);
  padding: 50px 0 100px 0;/* 260623 패딩 수정 */
}


.sponsor-tier-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-disabled);
  margin-bottom: 16px;
  margin-top: 32px;
  font-weight: 500;
}

.sponsor-tier-label:first-child {
  margin-top: 0;
}

.sponsor-all {
  display: none;
}

/* sponsor-grid 클래스는 더 이상 사용하지 않음 */
/*
.sponsor-all {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
}*/

.sponsor-card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 16px;
}

.sponsor-card img {
  max-height: 36px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.sponsor-card.empty {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.sponsor-blank {
  background: var(--sponsor-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 80px;
  text-align: center;
}

.sponsor-blank .sponsor-blank-txt {
  color: var(--text-secondary);
}

/* ============================================================
    CONTACT SECTION (공모전 문의)
============================================================ */
#contact {
  background: var(--bg-secondary);
  padding: 80px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  width: 100%;
}

.contact-card {
  background: var(--sponsor-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-org {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 24px;
  margin-bottom: 4px;
}

.contact-name {
  font-family: 'Arita buri', serif;
  font-size: 22px;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 500;
}

.contact-sub-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--text-secondary);
  padding-bottom: 1px;
  margin-bottom: 10px;
  display: inline-block;
}

.contact-person {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 22px;
}

/* ============================================================
    FOOTER
============================================================ */
#footer {
  background: var(--bg-primary);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  text-align: center;
}

.footer-copy {
  font-size: 14px;
  color: var(--text-disabled);
  opacity: 0.7;
}



/* ============================================================
    RESPONSIVE — TABLET (≤1100px)
============================================================ */
@media (max-width: 1100px) {
  :root {
    --side-pad: 40px;
  }

  .section-label {
    font-size: 30px;
  }

  .sponsor-all {
    grid-template-columns: repeat(4, 1fr);
  }

  .lnb-link {
    font-size: 16px;
  }
}

/* ============================================================
    RESPONSIVE — MOBILE (≤933px)
============================================================ */
@media (max-width: 933px) {

  /* ── 전역 ── */
  :root {
    --side-pad: 20px;
  }

  body {
    overflow-x: hidden;
  }

  /* 모든 요소 width 오버플로 방지 */
  *,
  *::before,
  *::after {
    max-width: 100%;
  }

  /* ── Header (모바일: WKF 로고 + Galien 로고만) ── */

  .header-logo-wrap {
    width: 100%;
  }

  .header-logo-wrap .header-divider {
    display: none;
  }

  .header-right {
    display: none;
  }

  .logo-wkf {
    height: 60px;
  }

  /* 시안: 84×60 */
  .logo-galien {
    height: 27px;
    margin-left: auto;
  }

  .header-divider {
    display: block;
  }

  /* 유지 */

  /* ── LNB 모바일: 탭 4개 가로 스크롤, 폰트 축소 ── */
  #lnb {
    height: 67px;
  }

  #lnb.is-sticky {
    top: 0;
  }

  #lnb-placeholder {
    height: 67px;
  }

  .lnb-inner {
    padding: 0 20px;
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .lnb-inner::-webkit-scrollbar {
    display: none;
  }

  .lnb-link {
    font-size: 15px;
    padding: 3px 18px;
    height: 35px;
    line-height: 29px;
    flex-shrink: 0;
  }

  /* ── Hero: 시안 기준 417px ── */
  #hero {
    height: 417px;
    margin-top: 86px;
  }

  /* ── Overview (공모전 개요) ──
     시안: 좌우 20px 패딩, 섹션 제목 28px, 내용 14px
     intro-card 이미지 없음, 텍스트만 표시
     info-row: label 위 / value 아래 세로 배치 */
  #overview {
    padding: 0 0 40px;
  }

  .info-row:first-child {
    border-top: 0 !important;
  }

  .overview-intro-text {
    display: none;
  }

  .overview-intro-text-m {
    display: block;
  }

  .overview-intro-card {
    flex-direction: column;
    gap: 0;
    padding: 16px 16px;
    border-radius: var(--radius);
    margin-bottom: 0;
  }

  .overview-intro-img {
    display: none;
  }

  /* 시안에 없음 */
  .overview-quote {
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 10px;
  }

  .overview-desc {
    font-size: 15px;
    line-height: 25px;
  }

  .section-label {
    font-size: 28px;
  }

  .section-header {
    margin-bottom: 0 !important;
    padding: 20px 0; /* 260623 패딩 수정 */
  }

  /* info-table: 좌우 패딩 20px, label 위/value 아래 */
  /*.info-table {
    padding: 0 20px;
  }*/

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }

  .info-row:first-child {
    border-top: 1px solid var(--border-gold-faint);
  }

  .info-label {
    font-size: 16px;
  }

  .info-value {
    font-size: 15px;
    line-height: 26px;
  }

  /* s: 260528 지원자격 내용추가 */
  .eligibility-item {
    padding: 12px 16px;
    list-style: none;
  }

  .eligibility-category {
    font-size: 14px;
  }

  .eligibility-desc {
    font-size: 14px;
  }

  .eligibility-fee-note {
    font-size: 14px;
  }
  /* // e: 260528 지원자격 내용추가 */

  /* award 카드: 2열 그리드, 시안 기준 162px */
  .award-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
    width: 100%;
  }

  .award-card {
    width: 100%;
    min-width: 0;
    flex: none;
    padding: 14px 14px 10px;
    border-radius: var(--radius);
  }

  .award-en {
    font-size: 13px;
  }

  .award-ko {
    font-size: 15px;
  }

  /* ── 프리갈리앵 포럼 ── */
  /* s: 260828 프리갈리앵 포럼 프로그램 테이블 모바일 대응 */
  #forum {
    padding: 20px 0 40px;
  }

  /* table 레이아웃을 벗어나 세로 스택으로 전환 */
  .forum-table {
    table-layout: auto;
  }

  .forum-table tbody,
  .forum-row,
  .forum-divider-row {
    display: block;
    width: 100%;
  }

  .forum-divider {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 14px;
    background-image: none;
    border-bottom: 1px solid var(--text-disabled);
  }

  .forum-divider-inner {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .forum-divider-label {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .forum-divider-time {
    font-size: 15px;
  }

  .forum-meta,
  .forum-content {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .forum-meta {
    padding: 18px 16px 8px;
    background-image: none;
  }

  .forum-content {
    padding: 0 16px 22px;
    background-image: none;
    border-bottom: 1px solid var(--text-disabled);
  }

  .forum-divider--last {
    background-image: none;
    border-bottom: none;
  }

  .forum-tag {
    font-size: 18px;
  }

  .forum-meta-time {
    font-size: 15px;
  }

  .forum-title-ko {
    font-size: 17px;
    line-height: 1.45;
    margin-bottom: 6px;
  }

  .forum-title-en {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .forum-speaker {
    grid-template-columns: 76px 1fr;
    column-gap: 8px;
    margin-top: 22px;
  }

  .forum-content > div:first-of-type {
    margin-top: 0;
  }

  .forum-badge {
    font-size: 12px;
    height: 22px;
    padding: 0 8px;
  }

  .name-line {
    font-size: 18px;
    line-height: 1.4;
    column-gap: 6px;
    margin-bottom: 4px;
  }

  .org-ko {
    font-size: 14px;
    line-height: 1.4;
  }

  .name-line-en {
    font-size: 13px;
    line-height: 1.5;
    column-gap: 6px;
    margin-top: 8px;
  }

  .name-en {
    font-size: 14px;
  }

  .org-en {
    font-size: 12px;
  }
  /* // e: 260828 프리갈리앵 포럼 프로그램 테이블 모바일 대응 */

  /* ── Host (주최) ──
     시안: bg-secondary, 패딩 20px, portrait 이미지 우상단 배치 */
  

  .host-card {
    flex-direction: column;
    padding: 20px 20px;
    gap: 20px;
    /* border-left: none; */
    /* border-right: none; */
    border-radius: var(--radius);
    margin: 20px 20px;
    width: auto;
  }

  .host-portrait-wr {
    text-align: center;
    width: 100%;
    display: flex;
    border-bottom: 1px solid var(--border-gold);
  }

  .host-portrait-wr img {
    display: inline-block;
    width: auto;
    margin: 0 auto;
  }

  .host-portrait {
    /*width: 100%;
    max-width: 100%;*/
    height: 220px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius);
  }

  .host-speech {
    font-size: 15px;
    line-height: 26px;
    font-weight: 500;
  }

  .host-title {
    display: none;
  }

  .host-title-m {
    display: block;
    font-size: 13px;
    line-height: 20px;
    text-align: right;
    color: var(--text-secondary);
  }

  .host-text-wrap .host-divider {
    display: none;
  }

  .host-sig {
    float: right;
  }

  /* ── Sponsor ──
     시안: 2열 그리드, 카드 164×61 */
  #sponsor {
    padding: 30px 0 50px;
  }

  #sponsor .section-label {
    margin-bottom: 20px;
  }

  .sponsor-all {
    display: none;
  }

  /*.sponsor-all {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }*/

  .sponsor-all .sponsor-card {
    height: 61px;
    padding: 8px 12px;
  }

  .sponsor-card img {
    max-height: 36px;
  }

  /* ── Contact (공모전 문의) ──
     시안: 1열, 카드 세로 스택, 좌우 20px */
  #contact {
    padding: 30px 0 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
    gap: 16px;
    padding: 0 20px;
  }

  /* contact card 내부 스폰서/공모전 문의 세로 배치 */
  .contact-card {
    padding: 20px;
  }

  .contact-card>div[style] {
    flex-direction: column !important;
    gap: 16px !important;
  }

  .contact-name {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .contact-person {
    font-size: 15px;
  }

  .contact-sub-label {
    padding-bottom: 0px;
    font-size: 15px;
  }

  /* ── Footer ── */
  #footer {
    padding: 16px 20px;
    margin-top: 50px !important;
  }

  .footer-inner {
    padding: 0;
  }

  /* Sponsor 섹션 컨테이너 패딩 모바일 */
  #sponsor .container {
    padding: 0 20px;
  }

  .sponsor-all {
    gap: 8px;
  }

  #sponsor .section-header {
    padding: 30px 0 0;
    margin-bottom: 24px;
  }

  /* Host 섹션 컨테이너 패딩 모바일 */
  #host {
    padding: 20px 0 0px; /* 260623 패딩 수정 */
  }

  #host .container {
    padding: 0;
  }

  #host .section-header {
    padding: 30px 20px 0;
    margin-bottom: 24px;
  }

  /* Contact 섹션 헤더 패딩 */
  #contact {
    padding: 0;
  }

  #contact .container {
    padding: 0;
  }

  #contact .section-header {
    padding: 50px 20px 0;
    margin-bottom: 0;
  }

  /* mt-16 유틸: 모바일에서도 유지 */
  /* sponsor-all: 단일 그리드로 통합, mt 불필요 */
}

@media (max-width: 530px) {
  .hero-bg-img {
    display: none;
  }

  .hero-bg-img-m {
    display: block;
    position: relative;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.85;
  }
}

/* ============================================================
  UTILITIES
============================================================ */
.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-48 {
  margin-top: 48px;
}

.mt-56 {
  margin-top: 56px;
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section spacing helper */
.section-header {
  margin-bottom: 28px;
}

.section-header.small-gap {
  margin-bottom: 32px;
}

/* s: 260623 공동주최 추가 */
#cohost {
  background: var(--bg-primary);
  padding: 50px 0;
}

.cohost-wrap {
  margin-bottom: 0;
}

.cohost-label {
  font-family: 'Arita buri', serif;
  font-size: 38px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 0;
}

.cohost-logo-list {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
}

.cohost-logo-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
  border-right: 1px solid var(--border-gold);
}

.cohost-logo-item:last-child {
  border-right: none;
}

.cohost-logo-item img {
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  opacity: 0.85;
}

/* s: 260716 한국바이오협회 로고 비율 보정 */
.cohost-logo-item--kbio img {
  height: 64px;
}
/* // e: 260716 한국바이오협회 로고 비율 보정 */

@media (max-width: 768px) {

  #cohost {
    padding: 20px 0 0px;
  }

  .cohost-wrap {
    margin: 0;
  }
  .cohost-logo-list {
    flex-direction: column;
  }
  .cohost-logo-item {
    border-right: none;
    border-bottom: 1px solid var(--border-gold);
    padding: 20px 24px;
  }
  .cohost-logo-item:last-child {
    border-bottom: none;
  }
  .cohost-logo-item img {
    height: 30px;
  }

  /* s: 260716 한국바이오협회 로고 비율 보정(모바일) */
  .cohost-logo-item--kbio img {
    height: 52px;
  }
  /* // e: 260716 한국바이오협회 로고 비율 보정(모바일) */
}
/* // e: 260623 공동주최 추가 */
