@charset "utf-8";


/* 파트너십 */

.partners{
  background:#f5f6f8;      /* 연한 회색 배경 */
  color:#111;
  padding:150px 16px;
}
.partners-wrap{max-width:1400px; margin:0 auto}

/* Title */
.partners-title{
  text-align:center;
  font-size:36px;
  line-height:1.35;
  font-weight:800;
  margin:0 0 48px;
}

/* Logo grid */
.partners-logos{
  list-style:none; margin:0; padding:0;
  display:grid; align-items:center; justify-items:center;
  grid-template-columns:repeat(5, 1fr);   /* 데스크탑: 5열 → 2줄 */
  gap: clamp(15px, 2.5vw, 20px) clamp(15px, 3vw, 20px);
  /* 위: 행/열 간격을 화면에 맞춰 유동 */
}
.partners-logos li{display:flex; align-items:center; justify-content:center}

/* 로고 크기/표준화 */
.partners-logos img{
  display:block;
  width:auto;                 /* 가로는 비율 유지 */
  max-width:220px;            /* 폭 너무 긴 로고 제한 */
  opacity:.9;
  transition:opacity .2s ease, transform .2s ease;
  image-rendering:-webkit-optimize-contrast; /* 축소 선명도 */
}
.partners-logos img:hover{opacity:1; transform:translateY(-1px)}

/* Responsive */
@media (max-width: 1100px){
  .partners-logos{grid-template-columns:repeat(4, 1fr)}
}
@media (max-width: 780px){
	.partners{
	  padding:80px 16px;
	}
  .partners-title{font-size:30px}
  .partners-logos{grid-template-columns:repeat(3, 1fr)}
}
@media (max-width: 520px){
  .partners-title{font-size:26px}
  .partners-logos{grid-template-columns:repeat(2, 1fr)}
  .partners-logos img{height:24px; max-width:140px}
}

/* 파트너사 */
.partners .text-marquee {
  display: grid;
  gap: 12px;            /* 두 줄 간격 */
  overflow: hidden;     /* 튀어나간 로고 가리기 */
  
	/* 좌우 끝이 흐려지는 효과 */
	-webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	mask-repeat: no-repeat;
	mask-size: 100% 100%;
}

.partners .text-single {
  display: flex;        /* .js-text들을 가로로 배치 */
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}

.partners .js-text {
  display: inline-flex; /* 이미지 수직 가운데 */
  align-items: center;
  padding-right: 30px;  /* JS의 paddingRight(60)과 시각적으로 맞추기 */
}

.partners .js-text img {
  height: 100px;         /* 로고 높이 조절 지점 */
  width: auto;
  display: block;
  filter: grayscale(0); /* 필요시 효과 */
}

/* 반응형: 모바일에서 로고 좀 더 작게 */
@media (max-width: 767px) {
  .partners .js-text img { height: 60px; }
  .partners .js-text { padding-right: 10px; }
}


/*********** 그래프 공통 ********************/
/* 그래프 */

.cases-sec{padding:80px 16px;background:#fff;color:#111}
.cases-wrap{max-width:1300px;margin:0 auto}

.cases-sec .cases-head{text-align:center; margin-bottom:50px; }
.cases-sec .cases-head h1{margin:0 0 20px;font-size:52px;line-height:1.25;font-weight:700;letter-spacing:-.02em}
.cases-sec .cases-head p{font-size:18px;}

.case-row{display:grid;grid-template-columns:.9fr 1.1fr;gap:100px;align-items:start;margin-bottom:100px}
.case-row + .case-row { border-top:1px dotted #aaa; padding-top:100px; }
@media (max-width: 940px){.case-row{grid-template-columns:1fr;gap:18px}}
.case-chart{background:#fff;border:1px solid #e7e9ef;border-radius:18px;box-shadow:0 8px 24px rgba(0,0,0,.06);padding:16px}
.case-chart canvas{width:100%!important;height:400px}
.case-meta h3{margin:10px 0;font-size:32px;font-weight:900}
.case-meta h3 span { font-weight:400; }
.case-meta .case-desc{margin:0 0 50px;font-size:18px;line-height:1.7;color:#455065; word-break:keep-all; }

/* 래퍼가 외곽 테두리+둥근모서리 담당 */
.case-tbl-wrap{
  border:1px solid #dfe3eb;
  border-radius:12px;
  overflow:hidden;        /* 둥근 모서리로 잘라냄 */
  background:#fff;        /* 외곽 배경 */
}

/* 테이블 자체는 일반 스타일만 */
.case-tbl{
  width:100%;
  border-collapse: collapse; /* 그대로 써도 OK */
  border-spacing:0 5px;
}
.case-tbl thead th{
  background:#2350a6; color:#fff; font-weight:700; padding:10px 12px; text-align:center;font-size:16px;
}
.case-tbl th, .case-tbl td{
  padding:10px 12px; text-align:center; font-size:16px;
  border-top:1px solid #e7e9ef;        /* 내부 구분선 */
  border-left:1px solid #e7e9ef;
}
.case-tbl tbody th{background:#fff; text-align:center; font-weight:500; border-left:0; }
.case-tbl tbody tr:nth-child(1) td{ font-weight:300; color:#929496; }
.case-sum{color:#d62d2d;font-weight:900}

@media (max-width:760px){ 
	  
	.cases-sec .cases-head h1{font-size:30px;}
	.cases-sec{padding:50px 15px;}
	.case-row{margin-bottom:50px}
	.case-row + .case-row { padding-top:50px; }
	.case-chart{padding:10px}
	.case-meta h3{margin:10px 0;font-size:28px;font-weight:900}
	.case-meta h3 span { font-weight:400; }
	.case-meta .case-desc{margin:0 0 50px;font-size:15px;line-height:1.7;color:#455065; word-break:keep-all; }

	/* 테이블 자체는 일반 스타일만 */
	.case-tbl thead th{ padding:10px 5px;font-size:14px; }
	.case-tbl th, .case-tbl td{
	  padding:10px 5px; font-size:14px;
	}

}



/*********************** 법률 마켓팅 **********************/
/* 기본 */
#legal-mkt { padding: 80px 0; }
#legal-mkt .inner { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 15px; overflow:hidden; }

/* 헤더 */
#legal-mkt .hero { text-align: center; margin-bottom: 100px; }
#legal-mkt .hero h1 {
  margin: 0 0 30px;
  font-size: 52px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}
#legal-mkt .hero .accent { color: #34a3c7; }
#legal-mkt .hero .lead { color: #555; font-size:18px; line-height:1.5; word-break:keep-all; }

/* 카드 그리드 */
#legal-mkt .legal-mkt1 { background: #1e4d8f; padding:100px 0; }
#legal-mkt .legal-mkt1 .cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 50px;
  margin: 28px 0 120px;
}

/* 카드 */
#legal-mkt .legal-mkt1 .card {
	position:relative;
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 30px;
	padding:40px 20px;
	border-radius: 14px;
	background: #e3e3e3;
	box-shadow:
	0 1px 2px rgba(0,0,0,0.04),
	0 8px 28px rgba(17,74,140,0.12);
	border: 6px solid rgba(0,41,92,0.08);
}

#legal-mkt .legal-mkt1 .card.active {
  box-shadow: 0 20px 20px -4px rgba(17, 32, 65, 0.02), 0 0 50px 8px rgba(17, 32, 65, 0.05);
  z-index: 2;
  background-color: #fff;
  border:6px solid #00aef0;
  
}

#legal-mkt .legal-mkt1 .card-media img {
  width: 160px; height: 190px; 
  object-fit: cover; display: block;
}
#legal-mkt .legal-mkt1 .card-body { position:relative; }
#legal-mkt .legal-mkt1 .card-title {
  margin: 4px 0 6px;
  font-size: 25px; font-weight: 800; color: #000;
}
#legal-mkt .legal-mkt1 .card-text { opacity: .8; font-size: 18px; color: #000; word-break:keep-all; line-height:1.5; }
#legal-mkt .legal-mkt1 .card-meta { position:absolute; bottom:0; opacity: .8; font-size: 16px; color: #000; }

/* CTA */
#legal-mkt .legal-mkt1 .cta {
  text-align: center;
  color: #fff;
}
#legal-mkt .legal-mkt1 .cta h2 {
  margin: 0 0 10px;
  font-size:52px; line-height: 1.35; font-weight: 900;
  letter-spacing: 0.15rem;
}
#legal-mkt .legal-mkt1 .cta-sub { margin:20px 0 10px; opacity: .95; font-size: 18px; line-height:1.5; word-break:keep-all; }
#legal-mkt .legal-mkt1 .cta-foot { font-size: 22px; font-weight:700;}

/* 반응형 */
@media (max-width: 1024px) {
  #legal-mkt .hero h1 { font-size: 32px; }
}

@media (max-width: 860px) {
  #legal-mkt .legal-mkt1 .cards { grid-template-columns: 1fr; }
}

@media (max-width:760px){
	#legal-mkt .legal-mkt1 { padding:40px 0; }
	
	#legal-mkt .legal-mkt1 .cards { margin: 15px 0 50px; }
	#legal-mkt .legal-mkt1 .card-meta { position:relative; font-size: 14px; margin-top:20px; }
	
	#legal-mkt .legal-mkt1 .cta-sub { font-size: 15px; }
}
	
@media (max-width: 560px) {
  #legal-mkt .hero h1 { font-size: 26px; }
  #legal-mkt .legal-mkt1 .card { grid-template-columns: 72px 1fr; padding: 16px; }
  #legal-mkt .legal-mkt1 .card-media img { width: 72px; height: 72px; border-width: 3px; }
  #legal-mkt .legal-mkt1 .card-title { font-size: 16px; }
  #legal-mkt .legal-mkt1 .card-text { font-size: 13px; }
  .cta { padding: 36px 14px; }
  #legal-mkt .legal-mkt1 .cta h2 { font-size: 22px; }
}


#legal-mkt .mk-sec { padding:150px 0 80px; }
/* header */
#legal-mkt .mk-head{text-align:center; margin-bottom:50px; }
#legal-mkt .mk-head h1{margin:0 0 20px;font-size:52px;line-height:1.25;font-weight:700;letter-spacing:-.02em}
#legal-mkt .mk-head p{font-size:18px;}

/* tabs */
#legal-mkt .mk-tabs{display:flex;justify-content:center;gap:12px;margin:0 0 80px; }
#legal-mkt .tab{
  appearance:none;border:1px solid #e5e7eb;background:#f7f7f7;color:#333;
  border-radius:10px;padding:10px 18px;font-weight:700;cursor:pointer;transition:all .2s;
  width:150px;font-size:16px;
}
#legal-mkt .tab:hover{filter:brightness(.98)}
#legal-mkt .tab.is-active{background:#fff;border-color:#e9161f;color:#e9161f;box-shadow:0 6px 18px rgba(255,59,48,.15)}

/* chart card */
#legal-mkt .mk-card{background:#fff;border:1px solid #edf0f5;border-radius:16px;padding:18px;box-shadow:0 4px 24px rgba(0,0,0,.06)}
#legal-mkt .mk-canvas{position:relative}
#legal-mkt .mk-canvas canvas{width:100% !important;height:380px !important;display:block}
#legal-mkt .mk-legend{display:flex;gap:20px;align-items:center;justify-content:center;margin-top:30px;color:#666;font-size:20px}
#legal-mkt .dot{display:inline-block;width:10px;height:10px;margin-right:10px;border-radius:50%;transform:translateY(1px)}
#legal-mkt .dot--pink{background:#ff9aa2}
#legal-mkt .dot--gray{background:#8e8e93}
#legal-mkt .dot--red{background:#e9161f}

/* table */
#legal-mkt .mk-table-wrap{margin:30px 0 0}
#legal-mkt .mk-table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border-radius:16px;border:1px solid #f1f1f1}
#legal-mkt .mk-table thead th{background:#e9161f;color:#fff;padding:25px 15px;font-size:18px;text-align:center}
#legal-mkt .mk-table thead th + th { border-left:1px solid #fff; }
#legal-mkt .mk-table tbody td{padding:25px 15px;border-top:1px solid #f1f1f1;text-align:center;font-size:18px; word-break:keep-all; }
#legal-mkt .mk-table tbody tr:nth-child(2n){background:#fff}
#legal-mkt .mk-table tbody tr:nth-child(2n+1){background:#fcfcfc}
#legal-mkt .mk-table .mk-sum td{font-weight:900; color:#e9161f; }

/* 증감율 색상 */
#legal-mkt .delta--up   { color:#0a7d2a; font-weight:900; }   /* + */
#legal-mkt .delta--down { color:#e9161f; font-weight:900; }  /* - */
#legal-mkt .delta--zero { color:#666;    font-weight:900; }

/* responsive */
@media (max-width:760px){
  #legal-mkt .mk-sec { padding:60px 0 40px; }
  #legal-mkt .mk-head h1{font-size:28px}
  #legal-mkt .mk-tabs{gap:10px;margin:0 0 40px; }
  #legal-mkt .tab{padding:9px 14px; font-size:14px; width:130px;}
  #legal-mkt .mk-canvas canvas{height:320px !important}
  
  /* table */
	#legal-mkt .mk-table-wrap{margin:10px 0 0}
	#legal-mkt .mk-table thead th{background:#e9161f;color:#fff;padding:15px 5px;font-size:16px;text-align:center}
	#legal-mkt .mk-table tbody td{padding:15px 5px;border-top:1px solid #f1f1f1;text-align:center;font-size:15px;}
}


/* section header */
#legal-mkt .cs-sec { padding:80px 0; }
#legal-mkt .cs-head{text-align:center; margin-bottom:80px; }
#legal-mkt .cs-head h2{margin:0 0 20px;font-size:52px;line-height:1.25;font-weight:700;letter-spacing:-.02em}
#legal-mkt .cs-head p{font-size:18px; }

/* case card */
#legal-mkt .case{ position:relative; background:#fff;border:1px solid #e9eef6;border-radius:18px;padding:60px 35px 50px;box-shadow:0 8px 28px rgba(0,0,0,.06)}
#legal-mkt .case-header{ position:absolute; left:50%; top:-25px; display:flex;align-items:center;justify-content:flex-start;margin:4px 2px 12px}
#legal-mkt .badge{display:inline-block;background:#2350a6;color:#fff;border-radius:999px;padding:10px 30px;font-weight:800;box-shadow:0 6px 16px rgba(35,80,166,.25); font-size:22px; font-weight:400; transform:translateX(-50%); }

#legal-mkt .case + .case { margin-top:150px; }

/* layout */
#legal-mkt .case-grid{display:grid;grid-template-columns:.8fr 1.1fr;gap:100px;align-items:center}
#legal-mkt .case-chart{border:1px solid #eef1f7;border-radius:14px;padding:14px;background:#fff;box-shadow:0 6px 24px rgba(0,0,0,.04)}
#legal-mkt .case-chart canvas{width:100%;height:400px;display:block}

/* description */
#legal-mkt .case-desc dl{margin:0;display:grid;grid-template-columns:1fr;row-gap:10px;column-gap:16px}
#legal-mkt .case-desc dt{font-weight:700;color:#4080ea; font-size:22px; }
#legal-mkt .case-desc dd{margin:0;color:#333;  font-size:18px; word-break:keep-all; line-height:1.5; }
#legal-mkt .case-desc dd + dt { margin-top:20px; }
#legal-mkt .case-desc .pill {background:#1f2750;color:#fff;padding:25px 20px;border-radius:12px; color:#fff; margin-top:20px; }
#legal-mkt .case-desc .pill h3 { font-size:22px; border-bottom:1px dotted #fff; margin-bottom:15px; padding-bottom:15px;  }
#legal-mkt .case-desc .pill p { font-size:18px; word-break:keep-all; line-height:1.5; }

/* responsive */
@media (max-width:900px){
  #legal-mkt .case-grid{grid-template-columns:1fr;gap:18px}
}
@media (max-width:760px){
  #legal-mkt .cs-sec { padding:40px 0; }
  
  #legal-mkt .cs-head h2 {font-size:28px}
  #legal-mkt .case-chart canvas{height:300px}
  #legal-mkt .case{ padding:40px 15px 30px; }
  #legal-mkt .badge{ padding:10px 20px; width:250px; font-size:18px; text-align:center; }
  
  #legal-mkt .case + .case { margin-top:80px; }

	#legal-mkt .case-desc dt{ font-size:18px; }
	#legal-mkt .case-desc dd{ font-size:14px;  }
	
	#legal-mkt .case-desc .pill {padding:15px 15px;}
	#legal-mkt .case-desc .pill h3 { font-size:18px; }
	#legal-mkt .case-desc .pill p { font-size:14px; }
}


/* 컨테이너 */
#legal-mkt .crm-sec { margin:80px 0; padding:0; }

/* ===== Head ===== */
#legal-mkt .crm-head { text-align: center; margin-bottom: 80px; }
#legal-mkt .crm-kicker {
  margin: 0 0 8px;
  font-size: 52px; line-height: 1.22; font-weight: 700; letter-spacing: -0.02em;
}
#legal-mkt .crm-sub { font-size: 18px; }

/* ===== Grid ===== */
#legal-mkt .crm-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-top: 26px;
}

/* ===== Copy ===== */
#legal-mkt .crm-title { margin: 0 0 10px; font-size: 48px; font-weight: 700; letter-spacing: -0.02em; }
#legal-mkt .crm-lead { margin: 0 0 10px; font-size: 28px; color: #4e8be9; font-weight: 700; }
#legal-mkt .crm-desc { font-size:18px; line-height:1.5; margin-bottom:50px; }

#legal-mkt .crm-bullet {
  border: 1px solid #e7ebf2;
  background: #fafbfe;
  border-radius: 16px;
  padding: 25px 30px;
  box-shadow: 0 10px 28px rgba(0,0,0,.04);
  max-width: 560px;
  line-height:1.5;
  font-size:16px; 
}
#legal-mkt .crm-bullet-title {
  display: inline-block;
  font-weight: 700;
  font-size:22px; 
  margin-bottom:10px;
}

/* ===== Visual ===== */
#legal-mkt .crm-visual {
  position: relative;
  min-height: 360px;
  padding: 18px;
  border-radius: 20px;
}

#legal-mkt .crm-visual img { height:auto; width:100%; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  #legal-mkt .crm-kicker { font-size: 36px; }
  #legal-mkt .crm-title { font-size: 36px; }
}

@media (max-width: 960px) {
  #legal-mkt .crm-grid { grid-template-columns: 1fr; gap: 26px; }
  #legal-mkt .crm-visual { min-height: 320px; }
  #legal-mkt .crm-frame--modal { right: 18px; bottom: -20px; width: 64%; }
}

@media (max-width: 640px) {
  #legal-mkt .crm-kicker { font-size: 30px; }
  #legal-mkt .crm-lead { font-size: 18px; }
  #legal-mkt .crm-frame--modal { right: 12px; bottom: -16px; width: 72%; }
  #legal-mkt .crm-bullet { border-radius: 14px; padding: 20px 15px; }
  
  #legal-mkt .crm-title { font-size:25px; }
  #legal-mkt .crm-desc { font-size:16px; }
}

@media (max-width:760px){
	#legal-mkt .crm-sec { margin:40px 0; padding:0; }
}

/*********************** 법률 마켓팅 **********************/

#media-section { }
#media-section .inner { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 15px; }

/* 섹션 레이아웃 */
#media-section .media-section { padding: clamp(48px, 7vw, 80px) 0; background:#fff; }

/* 헤더 */
#media-section .media-head { text-align:center; margin-bottom: clamp(28px, 4.5vw, 56px); }
#media-section .media-head h2 {
  font-size: clamp(22px, 4vw, 52px);
  font-weight: 700; letter-spacing: -0.02em; margin: 0;
}
#media-section .media-sub {
  margin-top: 12px; color:#666; line-height: 1.7;
  font-size: clamp(14px, 1.6vw, 18px);
}

/* 카드 그리드 */
#media-section .media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.2vw, 28px) clamp(18px, 3vw, 48px);
}
@media (min-width: 960px) {
  #media-section .media-grid { grid-template-columns: 1fr 1fr; }
}

/* 카드 */
#media-section .media-card {
  display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 40px);
  align-items:center;
  padding: clamp(18px, 2.4vw, 28px);
}

/* 아이콘 타일 */
#media-section .media-icon {
  flex: 0 0 auto;
  width: clamp(68px, 8vw, 125px);
  border-radius: 22px;
  display: grid; place-items: center;
}
#media-section .media-icon img { width:100%; height:auto; }


/* 본문 */
#media-section .media-body { min-width: 0; }
#media-section .media-title {
  margin: 2px 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700; color:#111;
}
#media-section .media-text {
  margin: 0; color:#444; line-height: 1.8;
  font-size: clamp(14px, 1.6vw, 16px);
}



/* 작은 화면에서 간격 보정 */
@media (max-width: 420px) {
  #media-section .media-card { padding: 16px; }
  #media-section .media-text { line-height: 1.7; }
}


/* 기본 폰트 */
/* 섹션 */
#media-section .field-section{padding:clamp(48px,7vw,110px) 0;background:#fff;}

/* 헤더 */
#media-section .field-head{text-align:center;margin-bottom:clamp(28px,4.5vw,80px);}
#media-section .field-head h2{
  margin:0;font-size:clamp(22px,4.2vw,52px);font-weight:700;letter-spacing:-.02em;
}
#media-section .field-sub{
  margin-top:12px;color:#666;font-size:clamp(14px,1.6vw,18px);line-height:1.7;
}

/* 카드 그리드 */
#media-section .field-grid{
  display:grid;grid-template-columns:1fr;
  gap:clamp(20px,2.2vw,50px);
  margin-bottom:clamp(24px,5vw,48px);
}
@media (min-width:720px){ #media-section .field-grid{grid-template-columns:1fr 1fr;} }
@media (min-width:1100px){ #media-section .field-grid{grid-template-columns:1fr 1fr 1fr;} }

/* 카드 */
#media-section .field-card{
  position:relative;
  background:#f2f2fa;
  border-radius:20px;
  padding:clamp(20px,2.6vw,45px);
  height:300px;
  overflow:hidden;
}

#media-section .field-title{
  margin:2px 0 10px;
  font-size:clamp(25px,2.2vw,32px);
  font-weight:800;color:#1c2f4d;
}
#media-section .field-title span { font-weight:400; }

#media-section .field-text{
  line-height:1.5;
  font-size:clamp(14px,1.6vw,18px);
}
#media-section .field-text strong{font-weight:700;}

/* 데코 아이콘(우하단) */
#media-section .field-ico{
  position:absolute;right:20px;bottom:20px;
  width:90px;height:90px;
}

/* 하단 노트 */
#media-section .field-note{
  text-align:center;
  margin:clamp(18px,3.5vw,32px) 0 0;
  font-size:clamp(14px,1.6vw,18px);
  color:#222;line-height:1.7;
}
#media-section .field-note .accent{color:#183a74;font-weight:900;}

@media (max-width:760px){
	#media-section .field-card{
		height:200px;
	}
}


/* 섹션 공통 */
#media-section .yt-section{padding:clamp(48px,7vw,80px) 0;background:#fff;}
#media-section .yt-head{ text-align:center; margin-bottom:clamp(26px,4.5vw,80px); }
#media-section .yt-head h2{ margin:0; font-size:clamp(22px,4.2vw,52px); font-weight:700; letter-spacing:-.02em; }

#media-section .shead { margin-bottom:50px; }
#media-section .shead h3{ margin:0 0 10px; font-size:clamp(22px,4.2vw,42px); font-weight:700; }
#media-section .shead p { font-size:clamp(14px,4.2vw,20px); }

/* 행(2열) */
#media-section .yt-grid{display:grid; gap:clamp(26px,4vw,48px);}
#media-section .yt-row{
  display:grid;
  grid-template-columns: 1fr;
  align-items:center;
  gap: clamp(15px,2.4vw,90px);
}
@media (min-width:980px){
  #media-section .yt-row{ grid-template-columns: 1fr 1fr; }
  #media-section .yt-row.flip .yt-text{ order:2; }
  #media-section .yt-row.flip .yt-media{ order:1; text-align:left; }
}

/* 텍스트 */
#media-section .yt-title{margin:0 0 20px; font-size:clamp(22px,2.2vw,32px); font-weight:700; color:#0f172a; letter-spacing:-.01em;}
#media-section .kicker{ font-size:20px; font-weight:700; line-height:1; color:#5fb8d3; margin-bottom:10px;}

#media-section .yt-desc{margin:0; color:#4b5563; font-size:clamp(14px,1.6vw,16px); line-height:1.8;}
#media-section .yt-list{margin:.4rem 0 0 0; padding:0; color:#374151; font-size:clamp(14px,1.6vw,18px); line-height:1.5;}
#media-section .yt-list li{margin:.2rem 0; word-break:keep-all; }
 
/* 미디어 카드 (이미지/일러스트 영역) */
#media-section .yt-media{width:100%;}
#media-section .yt-card{
  position:relative;
  width:100%;
  overflow:hidden;
}
#media-section .yt-card img{display:block; width:100%; height:100%; object-fit:cover;}

/* 작은 화면 여백 보정 */
@media (max-width:420px){
  #media-section .yt-title{margin-bottom:.5rem;}
  #media-section .yt-card{border-radius:16px;}
}



/* section */
#media-section .shoot-section{background:#f2f2fa;padding:clamp(48px,7vw,120px) 0;}

#media-section .shoot-head{margin:0 0 clamp(18px,3.8vw,50px);}
#media-section .shoot-head h2{margin:0;font-weight:900;letter-spacing:-.05em;
  font-size:clamp(22px,4.2vw,52px);color:#0f172a;}
#media-section .shoot-sub{margin:.6rem 0 0;color:#6b7280;line-height:1.8;font-size:clamp(14px,1.6vw,18px);}

/* grid (no slider) */
#media-section .shoot-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(20px,2.4vw,50px);
}
@media (min-width:780px){ #media-section .shoot-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:1140px){ #media-section .shoot-grid{ grid-template-columns:1fr 1fr 1fr; } }

/* card */
#media-section .step-card{
  position:relative; /* ⬅️ 화살표 포지셔닝용 */
  background:#fff;border-radius:22px;overflow: visible;
  box-shadow:0 12px 28px rgba(15,23,42,.07);
  padding:24px 0 0;
  display:flex;flex-direction:column;min-height:420px;
  z-index:0; 
}
#media-section .step-head{margin-bottom:10px; padding:0 24px; }

#media-section .step-no{ display:block;font-size:28px; color:#1298be; font-weight:900; margin-bottom:0px; }
#media-section .step-title{margin:0;font-size:clamp(17px,2vw,28px);font-weight:700;color:#111827;letter-spacing:-.01em;}
#media-section .step-desc{margin:0;line-height:1.5;font-size:clamp(14px,1.6vw,16px); padding:0 24px; }
#media-section .step-divide{border:0;height:1px;background:#eceff3;margin:clamp(12px,1.8vw,16px) 0;}

/* media */
#media-section .step-media{margin-top:auto;width:100%;aspect-ratio:16/9;border-radius:0 0 14px 14px; background:radial-gradient(120% 120% at 15% 10%,#eef3ff 0,#f7f9ff 60%,#f0f3ff 100%);overflow:hidden;}
#media-section .step-media img{width:100%;height:100%;object-fit:cover;display:block;}

/* 아이콘 기본 스타일 (동그란 배경 속 xi 아이콘) */
#media-section .arrow{
  position:absolute; z-index:3; pointer-events:none;
  width:36px; height:36px; border-radius:50%;
  display:grid; place-items:center;
  background:#fff; color:#000; font-size:22px; /* 아이콘 크기 */
  box-shadow:0 10px 20px rgba(15,23,42,.15);
  line-height:36px;
	text-align:center;
  /* 기본은 안 보이게, 미디어쿼리에서 필요한 것만 보이게 함 */
  display:none;
}

/* 마지막 카드는 어떤 화살표도 표시하지 않음 */
#media-section .step-card:last-child .arrow{ display:none !important; }

/* ===== ① 모바일(1열) : 아래 ↓ ===== */
@media (max-width: 779.98px){
  #media-section .step-card:not(:last-child) .arrow-down{
    display:block;
    left:50%; bottom:-58px; transform:translate(-50%, -50%);
  }
  
  #media-section .shoot-grid{
	gap:50px 0;
  }
  
  #media-section .step-card{
	  min-height:380px;
	}
}

/* ===== ② 태블릿(2열) : 홀수 →, 짝수(마지막 제외) ↓ ===== */
@media (min-width:780px) and (max-width:1139.98px){
  /* 왼쪽 카드(홀수)는 오른쪽 화살표 */
  #media-section .step-card:nth-child(odd):not(:last-child) .arrow-right{
    display:block;
    right:-18px; top:50%; transform:translate(50%, -50%);
  }
  /* 오른쪽 카드(짝수)는 다음 줄로 내려가는 ↓ (단, 마지막 카드는 제외) */
  #media-section .step-card:nth-child(even):not(:last-child) .arrow-down{
    display:block;
    left:50%; bottom:-18px; transform:translate(-50%, -50%);
  }
}

/* ===== ③ 데스크탑(3열) : 각 행의 1→2, 2→3만 → 표시 ===== */
@media (min-width:1140px){
  /* 3n번째(3,6,9...)는 행 마지막이므로 화살표 없음 */
  #media-section .step-card:not(:last-child):not(:nth-child(3n)) .arrow-right{
    display:block;
    right:-23px; top:50%; transform:translate(50%, -50%);
	
  }
}


/* small tweaks */
@media (max-width:420px){
  #media-section .step-no{width:38px;height:38px;font-size:16px;}
  #media-section .step-card{border-radius:20px;}
}



/* Section */
#media-section .lv-section{padding:clamp(48px,7vw,110px) 0;background:#fff;}
#media-section .lv-head{margin:0 0 clamp(22px,4vw,50px);}
#media-section .lv-head--sub{margin-top:clamp(36px,7vw,80px);}
#media-section .lv-head h2{
  margin:0; font-weight:700; letter-spacing:-.02em;
  font-size:clamp(22px,4vw,42px); color:#0f172a;
}
#media-section .lv-lead{margin:.6rem 0 0; color:#6b7280; line-height:1.9;
  font-size:clamp(14px,1.6vw,18px);}

/* Row (2-column) */
#media-section .lv-row{
  display:grid; align-items:center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px,3vw,100px);
}
#media-section .lv-row + .lv-head { margin-top:150px; }

#media-section .lv-row.flip .lv-media{order:2;} /* flip 순서 뒤집기 */
#media-section .lv-row.flip .lv-text{order:1;}

@media (max-width: 980px){
  #media-section .lv-row{ grid-template-columns: 1fr; }
  #media-section .lv-row.flip .lv-media{order:1;}
  #media-section .lv-row.flip .lv-text{order:2;}
}

/* Media (image card) */
#media-section .lv-media{
  width:100%;
  aspect-ratio: 16/9;
  border-radius:18px;
  background:#f6f8fe;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  overflow:hidden;
}
#media-section .lv-media img{display:block; width:100%; height:100%; object-fit:cover;}

/* Text block */
#media-section .lv-text{min-width:0;}
#media-section .lv-title{
  margin:.2rem 0 .6rem;
  font-size:clamp(22px,2.2vw,38px);
  font-weight:700; color:#0f172a; letter-spacing:-.01em;
}
#media-section .lv-desc{margin:0 0 50px; line-height:1.5; font-size:clamp(14px,1.6vw,18px);}
#media-section .lv-kicker{
  display:inline-block; margin-bottom:10px; font-size:25px; font-weight:700; color:#48aacb;  }
#media-section .lv-meta{ line-height:1.5; font-size:clamp(14px,1.5vw,18px);}

@media (max-width:760px){
	#media-section .lv-row + .lv-head { margin-top:50px; }
}

/* Section */
#media-section .vr-section{padding:clamp(40px,6.6vw,80px) 0 clamp(42px,6.6vw,120px) 0;background:#fff;}
#media-section .vr-head{margin:0 0 clamp(30px,3.6vw,50px);}
#media-section .vr-head h2{
  margin:0; font-weight:700; letter-spacing:-.02em;
  font-size:clamp(22px,4vw,36px); color:#0f172a; text-align:left;
}

/* Grid */
#media-section .vr-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(14px,2.4vw,24px);
}
@media (min-width:760px){ #media-section .vr-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:1120px){ #media-section .vr-grid{ grid-template-columns:1fr 1fr 1fr; } }

/* Card */
#media-section .vr-card{}
#media-section .vr-link{ display:block; text-decoration:none; color:inherit; }

/* Thumbnail (16:9, 라운드, 그림자, 호버 효과) */
#media-section .vr-thumb{
  position:relative; width:100%; aspect-ratio:16/9; overflow:hidden;
  border-radius:12px; background:#f4f6fa;
  box-shadow:0 12px 28px rgba(15,23,42,.08);
  transition:transform .35s ease, box-shadow .35s ease;
}
#media-section .vr-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
#media-section .vr-link:hover .vr-thumb{ transform:translateY(-2px) scale(1.02); box-shadow:0 16px 36px rgba(15,23,42,.12); }

/* 살짝 어둡게 + 재생 아이콘 */
#media-section .vr-thumb::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,.0), rgba(0,0,0,.08));
  opacity:0; transition:opacity .25s ease;
}
#media-section .vr-link:hover .vr-thumb::after{ opacity:1; }

/* Play icon (원형 안 삼각형) */
#media-section .vr-play{
  position:absolute; inset:auto; left:50%; top:50%;
  width:58px; height:58px; border-radius:50%;
  transform:translate(-50%,-50%) scale(.96);
  background:#ffffff; box-shadow:0 8px 16px rgba(15,23,42,.18);
  transition:transform .25s ease;
}
#media-section .vr-play::before{
  content:""; position:absolute; left:50%; top:50%;
  transform:translate(-40%,-50%); /* 삼각형 시각적으로 중앙 보정 */
  width:0; height:0;
  border-left:16px solid #111827;  /* 삼각형 색 */
  border-top:10px solid transparent;
  border-bottom:10px solid transparent;
}
#media-section .vr-link:hover .vr-play{ transform:translate(-50%,-50%) scale(1.06); }

/* 작은 화면 보정 */
@media (max-width:420px){
  #media-section .vr-thumb{ border-radius:10px; }
}
