@charset "utf-8";

/* ============================================================
   msub38 — 초량 이바구길 여행 가이드
   에디토리얼 아티클 레이아웃
   ============================================================ */

.tg-article {
	padding-top: 120px;
	padding-bottom: 120px;
}

.tg-wrap {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 60px;
}

/* ── 헤더 ─────────────────────────────────────── */
.tg-header {
	padding: 60px 0 48px;
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 60px;
	align-items: center;
}

.tg-header-text {
	display: flex;
	flex-direction: column;
}

.tg-header-img {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 4px;
}

.tg-header-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tg-category {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-weight: 600;
	color: var(--color-accent);
	display: block;
	margin-bottom: 20px;
}

.tg-title {
	font-size: clamp(32px, calc(14px + 2.8vw), 52px);
	font-weight: 900;
	color: var(--color-text-main);
	font-family: var(--font-sub-title);
	margin-bottom: 12px;
}

.tg-subtitle {
	font-size: clamp(16px, calc(5px + 1.6vw), 22px);
	color: var(--color-text-sub);
	margin-bottom: 36px;
}

.tg-info {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
}

.tg-info-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	color: var(--color-text-sub);
}

.tg-info-item svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	opacity: 0.6;
}

/* ── 구분선 ─────────────────────────────────────── */
.tg-rule {
	border: none;
	border-top: 1px solid var(--color-border);
	margin: 0;
}

/* ── 리드 ────────────────────────────────────────── */
.tg-lead {
	padding: 48px 0 64px;
}

.tg-lead-txt {
	font-size: clamp(18px, calc(5px + 1.5vw), 21px);
	color: var(--color-text-sub);
	max-width: 680px;
	opacity: 0;
	transform: translateY(20px);
}

/* ── 스팟 ────────────────────────────────────────── */
.tg-spot {
	padding: 64px 0;
	border-top: 1px solid var(--color-border);
	opacity: 0;
	transform: translateY(28px);
}

.tg-spot-head {
	margin-bottom: 32px;
}

.tg-spot-num {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-weight: 700;
	color: var(--color-accent);
	display: block;
	margin-bottom: 8px;
}

.tg-spot-name {
	font-size: clamp(22px, calc(10px + 2vw), 34px);
	font-weight: 800;
	color: var(--color-text-main);
	font-family: var(--font-sub-title);
	margin-bottom: 8px;
}

.tg-spot-loc {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	color: var(--color-text-sub);
	opacity: 0.6;
}

.tg-spot-body {
}

.tg-text {
	font-size: clamp(16px, calc(5px + 1.5vw), 20px);
	color: var(--color-text-sub);
	margin-bottom: 20px;
}

.tg-text:last-child {
	margin-bottom: 0;
}

/* ── 이미지 ─────────────────────────────────────── */
.tg-img {
}

.tg-img-inner {
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.tg-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tg-img--full {
	margin: 32px 0;
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 60px;
	box-sizing: border-box;
}

.tg-img--full .tg-img-inner {
	aspect-ratio: 16 / 9;
}

/* ── 사이드 레이아웃 (02번) ──────────────────────── */
.tg-spot-side {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

.tg-img--side .tg-img-inner {
	aspect-ratio: 3 / 4;
}

/* ── 풀 쿼트 ─────────────────────────────────────── */
.tg-pullquote {
	padding: 56px 0;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	margin: 0;
}

.tg-pullquote p {
	font-size: clamp(20px, calc(8px + 2vw), 32px);
	font-weight: 700;
	color: var(--color-text-main);
	font-family: var(--font-sub-title);
}

/* ── 이미지 캡션 ──────────────────────────────────── */
.tg-img-cap {
	font-size: clamp(14px, calc(2px + 1vw), 16px);
	color: var(--color-text-sub);
	opacity: 0.5;
	margin-top: 10px;
	display: block;
}

.tg-img-cap--full {
}

/* ── 여행 팁 ─────────────────────────────────────── */
.tg-tips {
	padding: 56px 0 0;
}

.tg-tips-tit {
	font-size: clamp(20px, calc(8px + 1.8vw), 28px);
	font-weight: 800;
	color: var(--color-text-main);
	margin-bottom: 32px;
}

.tg-tips-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.tg-tip {
	padding: 28px 24px 0 0;
	border-top: 2px solid var(--color-text-main);
}

.tg-tip-icon {
	width: 22px;
	height: 22px;
	color: var(--color-accent);
	display: block;
	margin-bottom: 16px;
}

.tg-tip-label {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-weight: 700;
	color: var(--color-text-main);
	display: block;
	margin-bottom: 10px;
}

.tg-tip-text {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	color: var(--color-text-sub);
}

/* ============================================================
   반응형 — 999px
   ============================================================ */
@media all and (max-width: 999px) {
	.tg-article {
		padding-top: 90px;
		padding-bottom: 90px;
	}
	.tg-wrap {
		padding: 0 32px;
	}
	.tg-img--full {
		padding: 0 32px;
	}
}

/* ============================================================
   반응형 — 768px
   ============================================================ */
@media all and (max-width: 768px) {
	.tg-article {
		padding-top: 80px;
		padding-bottom: 80px;
	}
	.tg-wrap {
		padding: 0 20px;
	}
	.tg-img--full {
		padding: 0 20px;
	}

	.tg-header {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.tg-header-img {
		aspect-ratio: 16 / 9;
	}
	.tg-info {
		gap: 16px;
	}
	.tg-spot-side {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.tg-img--side {
		aspect-ratio: 4 / 3;
	}
	.tg-tips-grid {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}
	.tg-tip {
		padding: 20px 0 0;
	}
}

/* ============================================================
   반응형 — 499px
   ============================================================ */
@media all and (max-width: 499px) {
	.tg-header {
		padding: 40px 0 36px;
	}
	.tg-spot {
		padding: 48px 0;
	}
}

/* ============================================================
   다크모드
   ============================================================ */
body.dark .tg-rule {
	border-top-color: var(--color-border-strong);
}
body.dark .tg-spot {
	border-top-color: var(--color-border-strong);
}
body.dark .tg-pullquote {
	border-color: var(--color-border-strong);
}
body.dark .tg-tip {
	border-top-color: var(--color-text-main);
}
