﻿/*
Theme Name: TnF Theme
Theme URI: tnfbio.co.kr
Template: page-builder-framework
Author: David Vongries
Author URI: https://mapsteps.com
Description: Page Builder Framework �?기반?�로??TnF ?�용 Child Theme
Tags: Page Builder Framework �?기반?�로??TnF ?�용 Child Theme
Version: 1.0.0.1768704596
Updated: 2026-01-18 02:49:56

*/

/* ========================================
   Google Fonts - Noto Sans KR
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

/* ========================================
   TnF Theme - 주황??컬러 ?�마
   ?�식?�에 ?�울리는 ?�뜻??주황??계열
   ======================================== */

:root {
	--tnf-primary: #2A6F47;        /* Deep Forest Green - 메인 초록 */
	--tnf-primary-dark: #1C5A37;   /* Darker Forest Green - 호버 */
	--tnf-primary-light: #52B578;  /* Bright Green - 밝은 녹색 */
	--tnf-accent-red: #C42318;     /* Classic Premium Red - 강조 */
	--tnf-accent-red-dark: #A01D14; /* Darker Red - 호버용 */
	--tnf-gold: #8A6F3C;           /* Deep Antique Gold - 포인트 */
	--tnf-dark: #333333;           /* 다크 배경 */
	--tnf-dark-border: #555555;    /* 다크 테두리 */
	--tnf-text-light: #f9f9f9;     /* 밝은 텍스트 */
	--tnf-text-gray: #666666;      /* 회색 텍스트 */
	--tnf-text-muted: #999999;     /* 연한 회색 텍스트 */
	--tnf-bg-light: #FFFCF0;       /* 연한 크림 베이지 배경 */
	--tnf-bg-muted: #FDEDED;       /* 연한 핑크 베이지 배경 */
}

/* ========================================
   ?�역 ?�트 ?�정
   ======================================== */

body,
html,
* {
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	word-break: keep-all;
	word-wrap: break-word;
}

/* ========================================
   공통 버튼 ?��???- 주황???�마
   ======================================== */

button,
.button,
.btn,
input[type="submit"],
input[type="button"],
.tnf-btn-consult {
	background-color: var(--tnf-accent-red);
	color: white;
	border: 2px solid var(--tnf-accent-red);
	border-radius: 5px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s ease;
	cursor: pointer;
}

button:hover,
.button:hover,
.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.tnf-btn-consult:hover {
	background-color: white;
	color: var(--tnf-accent-red);
	border-color: var(--tnf-accent-red);
	box-shadow: 0 4px 12px rgba(196, 35, 24, 0.2);
}

/* ========================================
   CTA Section (?�담 ?�청 ?�션)
   ======================================== */

.tnf-cta-section {
	background-color: var(--tnf-bg-light);
	padding: 30px 20px;
}

.tnf-cta-container {
	max-width: 1600px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 30px;
}

.tnf-cta-content {
	flex: 1;
	min-width: 300px;
}

.tnf-cta-content h2 {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #333;
}

.tnf-cta-content p {
	font-size: 16px;
	color: #666;
	line-height: 1.4;
	margin: 0;
}

.tnf-cta-button {
	flex-shrink: 0;
}

/* ========================================
   Footer Section
   ======================================== */

.tnf-footer {
	background-color: var(--tnf-dark);
	color: var(--tnf-text-light);
	padding: 20px 20px 20px;
}

.tnf-footer-container {
	max-width: 1600px;
	margin: 0 auto;
}

.tnf-footer-content {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 40px;
	margin-bottom: 10px;
}

.tnf-footer-left,
.tnf-footer-right {
	flex: 1;
	min-width: 300px;
}

/* Footer Logo */
.tnf-logo {
	margin-bottom: 20px;
}

.tnf-logo h3 {
	font-size: 24px;
	font-weight: 700;
	color: var(--tnf-primary);
	margin: 0;
}

/* Footer Text */
.tnf-footer-desc {
	font-size: 14px;
	line-height: 1.8;
	margin-bottom: 10px;
	color: var(--tnf-text-gray);
}

.tnf-footer-info {
	font-size: 13px;
	line-height: 1.8;
	color: var(--tnf-text-gray);
	margin: 0;
}

.tnf-footer-desc strong,
.tnf-footer-info strong {
	color: var(--tnf-text-light);
}

/* Footer Bottom (Copyright) */
.tnf-footer-bottom {
	border-top: 1px solid var(--tnf-dark-border);
	padding-top: 10px;
	text-align: center;
}

.tnf-footer-bottom p {
	font-size: 13px;
	color: var(--tnf-text-muted);
	margin: 0;
}

/* ========================================
   반응???�자??   ======================================== */

/* ========================================
   Modern Header Styles
   ======================================== */

.tnf-header {
	background-color: rgb(255, 255, 255, 0.95);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.tnf-header.scrolled {
	/* No changes on scroll - keep same height */
}

.tnf-header-container {
	max-width: 1600px;
	margin: 0 auto;
	padding: 15px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 85px;
}

.tnf-header.scrolled .tnf-header-container {
	/* Keep same padding */
}

/* Logo Styles */
.tnf-header-logo {
	flex-shrink: 0;
	z-index: 1001;
}

.tnf-header-logo img {
	width: auto;
	display: block;
}

.tnf-header.scrolled .tnf-header-logo img {
	/* Keep same height */
}

.tnf-logo-text {
	text-decoration: none;
	color: var(--tnf-primary);
	transition: opacity 0.3s ease;
}

.tnf-logo-text:hover {
	opacity: 0.8;
}

.tnf-logo-text h1 {
	font-size: 28px;
	font-weight: 900;
	margin: 0;
	color: var(--tnf-primary);
}

.tnf-header.scrolled .tnf-logo-text h1 {
	/* Keep same size */
}

/* Mobile Toggle Button */
.tnf-mobile-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	z-index: 1001;
}

.tnf-hamburger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 28px;
}

.tnf-hamburger span {
	display: block;
	height: 3px;
	background-color: var(--tnf-primary);
	border-radius: 2px;
	transition: all 0.3s ease;
}

.tnf-mobile-toggle.active .tnf-hamburger span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.tnf-mobile-toggle.active .tnf-hamburger span:nth-child(2) {
	opacity: 0;
}

.tnf-mobile-toggle.active .tnf-hamburger span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu */
.tnf-header-nav {
	display: flex;
	align-items: center;
	gap: 30px;
}

.tnf-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 30px;
	align-items: center;
}

.tnf-menu li {
	position: relative;
}

.tnf-menu > li > a {
	text-decoration: none;
	color: #333;
	font-size: 18px;
	font-weight: 500;
	padding: 10px 5px;
	display: block;
	transition: color 0.3s ease;
	position: relative;
}

.tnf-menu > li > a:hover,
.tnf-menu > li > a:focus {
	color: var(--tnf-primary);
}

.tnf-menu > li > a::after {
	content: '';
	position: absolute;
	bottom: 5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--tnf-primary);
	transition: width 0.3s ease;
}

.tnf-menu > li > a:hover::after,
.tnf-menu > li.current-menu-item > a::after {
	width: 100%;
}

/* Dropdown Menu */
.tnf-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #fff;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	list-style: none !important;
	margin: 0;
	padding: 10px 0;
	min-width: 200px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	border-radius: 5px;
}

.tnf-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
}

.tnf-menu .sub-menu li {
	list-style: none !important;
}

.tnf-menu .sub-menu li a {
	padding: 12px 20px;
	display: block;
	color: #333;
	text-decoration: none;
	transition: all 0.3s ease;
}

.tnf-menu .sub-menu li a:hover {
	background-color: var(--tnf-bg-light);
	color: var(--tnf-primary);
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
	.tnf-mobile-toggle {
		display: block;
	}
	
	.tnf-header-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		max-width: 350px;
		height: 100vh;
		background-color: #fff;
		flex-direction: column;
		gap: 0;
		padding: 80px 30px 30px;
		box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
		transition: right 0.3s ease;
		overflow-y: auto;
		align-items: flex-start;
	}
	
	.tnf-header-nav.active {
		right: 0;
	}
	
	.tnf-menu {
		flex-direction: column;
		width: 100%;
		gap: 0;
		align-items: flex-start;
	}
	
	.tnf-menu > li {
		width: 100%;
		border-bottom: 1px solid #f0f0f0;
	}
	
	.tnf-menu > li > a {
		padding: 15px 0;
		font-size: 18px;
	}
	
	.tnf-menu > li > a::after {
		display: none;
	}
	
	.tnf-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		padding-left: 20px;
		display: none;
		background-color: var(--tnf-bg-light);
		margin-top: 10px;
		border-radius: 5px;
	}
	
	.tnf-menu li:hover > .sub-menu {
		display: block;
	}
	
	.tnf-header-cta {
		width: 100%;
		margin-top: 20px;
	}
	
	.tnf-btn-header {
		width: 100%;
		text-align: center;
	}
	
	/* Body scroll lock when menu open */
	body.menu-open {
		overflow: hidden;
	}
	
	/* Overlay when menu is open */
	body.menu-open::before {
		content: '';
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 999;
	}
}

/* ========================================
   반응???�자??   ======================================== */

@media (max-width: 768px) {
	.tnf-cta-container {
		flex-direction: column;
		text-align: center;
	}
	
	.tnf-cta-content h2 {
		font-size: 24px;
	}
	
	.tnf-footer-content {
		flex-direction: column;
		gap: 30px;
	}
	
	.tnf-footer-left,
	.tnf-footer-right {
		min-width: 100%;
	}
	
	.tnf-header-nav {
		width: 90%;
	}
}

/* ========================================
   Home Page Template Styles (page-main.php)
   ======================================== */

/* Hero Slider Section */
.tnf-hero-slider {
	position: relative;
	height: 70vh;
	overflow: hidden;
}

.tnf-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.tnf-slide.active {
	opacity: 1 !important;
	z-index: 1;
}

.tnf-slide-content {
	width: 100%;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 80px;
	height: 100%;
	position: relative;
}

.tnf-slide-text {
	flex: 0 0 650px;
	color: #333;
	z-index: 2;
	margin-left: calc((100vw - 1600px) / 2);
}

.tnf-slide-text h2 {
	font-size: 42px;
	font-weight: 900;
	margin-bottom: 20px;
	line-height: 1.3;
	text-shadow: none;
}

.tnf-slide-text .sub-copy {
	font-size: 18px;
	line-height: 1.8;
	margin-bottom: 25px;
	color: #666;
}

.tnf-slide-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.tnf-tag {
	background: var(--tnf-primary);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 14px;
	color: white;
	font-weight: 600;
}

.tnf-slide-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--tnf-accent-red);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid var(--tnf-accent-red);
	transition: all 0.3s ease;
}

.tnf-slide-cta:hover {
	background: white;
	color: var(--tnf-accent-red);
	border-color: var(--tnf-accent-red);
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(196, 35, 24, 0.2);
}

/* Image Wrapper - ?�른�?50% ?�역??차�??�며 ?�각선 처리 */
.tnf-slide-image-wrapper {
	position: absolute;
	top: 0;
	right: 0;
	width: 60%;
	height: 100%;
	overflow: hidden;
	clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
	z-index: 1;
}

/* Image - 고정???�역 ?�에?�만 Ken Burns ?�과 */
.tnf-slide-image {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Slide 1: Zoom In */
.tnf-slide.slide-1.active .tnf-slide-image {
	animation: kenBurnsZoomIn 12s ease-out forwards;
}

@keyframes kenBurnsZoomIn {
	0% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

/* Slide 2: Zoom Out */
.tnf-slide.slide-2.active .tnf-slide-image {
	animation: kenBurnsZoomOut 12s ease-out forwards;
}

@keyframes kenBurnsZoomOut {
	0% {
		transform: scale(1.15);
	}
	100% {
		transform: scale(1);
	}
}

/* Slide 3: Pan Right with Zoom */
.tnf-slide.slide-3.active .tnf-slide-image {
	animation: kenBurnsPanZoom 12s ease-out forwards;
}

@keyframes kenBurnsPanZoom {
	0% {
		transform: scale(1) translateX(0);
	}
	100% {
		transform: scale(1.1) translateX(-5%);
	}
}

/* Slider Navigation */
.tnf-slider-nav {
	position: absolute;
	bottom: 30px;
	left: calc(50% - 32px);
	display: flex;
	gap: 15px;
	z-index: 10;
}

.tnf-slider-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(42, 111, 71, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
}

.tnf-slider-dot.active {
	background-color: var(--tnf-primary);
	width: 30px;
	border-radius: 6px;
}

/* Slider Progress Bar */
.tnf-slider-progress {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: rgba(42, 111, 71, 0.2);
	z-index: 10;
}

.tnf-slider-progress-bar {
	height: 100%;
	background: var(--tnf-primary);
	width: 0;
	transition: width 0.1s linear;
}

.tnf-slider-progress-bar.active {
	animation: progressBar 5s linear;
}

@keyframes progressBar {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}

/* Slider Thumbnails */
.tnf-slider-thumbnails {
	position: absolute;
	bottom: 60px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 15px;
	z-index: 10;
}

.tnf-slider-thumbnail {
	width: 150px;
	height: 100px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
	border: 3px solid #e0e0e0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.tnf-slider-thumbnail:hover {
	border-color: var(--tnf-accent-red);
}

.tnf-slider-thumbnail.active {
	border-color: var(--tnf-primary);
	box-shadow: 0 5px 20px rgba(42, 111, 71, 0.4);
}

.tnf-slider-thumbnail::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	transition: background 0.3s ease;
}

.tnf-slider-thumbnail.active::after {
	background: rgba(42, 111, 71, 0.3);
}

.tnf-slider-thumbnail-content {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	position: relative;
	z-index: 1;
	padding: 10px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.tnf-slider-thumbnail.active .tnf-slider-thumbnail-content {
	color: #ffffff;
}

.tnf-slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(42, 111, 71, 0.1);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
	color: var(--tnf-primary);
	font-size: 24px;
	border: 2px solid var(--tnf-primary);
}

.tnf-slider-arrow:hover {
	background-color: var(--tnf-primary);
	color: white;
	transform: translateY(-50%) scale(1.1);
}

.tnf-slider-arrow.prev {
	left: 30px;
}

.tnf-slider-arrow.next {
	right: 30px;
}

/* ========================================
   Section Common Styles
   ======================================== */

.tnf-section {
	padding: 120px 40px;
}
.tnf-page-banner-content .tnf-container {
	max-width: 1600px;
	margin: 0 auto;
}
.tnf-container {
	max-width: 1600px;
	margin: 0 auto;
}

.tnf-section-title {
	text-align: center;
	margin-bottom: 70px;
}

.tnf-section-title h2 {
	font-size: 40px;
	font-weight: 900;
	color: #333;
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
}

.tnf-section-title h2::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background-color: var(--tnf-primary);
	border-radius: 2px;
}

.tnf-section-title p {
	font-size: 17px;
	color: #666;
	margin-top: 25px;
}

/* ========================================
   7?� ?�심 ?�루??Section
   ======================================== */

.tnf-solutions {
	background-color: var(--tnf-bg-light);
}

.tnf-solution-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}

.tnf-solution-card.title-card {
	background: var(--tnf-primary);
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 300px;
	cursor: default;
	padding: 50px 40px;
}

.tnf-solution-card.title-card:hover {
	transform: none;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.tnf-solution-card.title-card h2 {
	font-size: 32px;
	font-weight: 900;
	margin: 0 0 15px 0;
	color: white;
	padding: 0;
}

.tnf-solution-card.title-card p {
	font-size: 16px;
	color: rgba(255,255,255,0.9);
	margin: 0;
	padding: 0;
}

.tnf-solution-card {
	background-color: white;
	padding: 0;
	border-radius: 15px;
	text-align: center;
	transition: all 0.3s ease;
	cursor: pointer;
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
}

.tnf-solution-card:hover {
	box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

.tnf-solution-image {
	width: 100%;
	height: 180px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: 25px;
}

.tnf-solution-card h3,
.tnf-solution-card p {
	padding: 0 30px;
}

.tnf-solution-card h3 {
	font-size: 20px;
	font-weight: 700;
	color: #333;
	margin-bottom: 15px;
}

.tnf-solution-card p {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	padding-bottom: 30px;
}

/* ========================================
   배너 Section
   ======================================== */

.tnf-banner {
	padding: 0px !important;
	margin: 0;
}

.tnf-banner-image {
	width: 100%;
	min-height: 200px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--tnf-bg-light);
}

@media (max-width: 768px) {
	.tnf-banner-image {
		min-height: 150px;
	}
}

/* ========================================
   T&F STORY Section
   ======================================== */

.tnf-story {
	background-color: white;
}

.tnf-story-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.tnf-story-card {
	background-color: var(--tnf-bg-muted);
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.3s ease;
	cursor: pointer;
}

.tnf-story-card:hover {
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.tnf-story-image {
	width: 100%;
	height: 250px;
	background-color: #ddd;
	position: relative;
	overflow: hidden;
}

.tnf-story-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.tnf-story-card:hover .tnf-story-image img {
	/* transform removed */
}

.tnf-story-content {
	padding: 30px;
}

.tnf-story-date {
	font-size: 13px;
	color: var(--tnf-primary);
	font-weight: 600;
	margin-bottom: 10px;
}

.tnf-story-content h3 {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin-bottom: 12px;
	line-height: 1.4;
}

.tnf-story-content p {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
}

/* ========================================
   VISUAL GALLERY Section
   ======================================== */

.tnf-gallery {
	background-color: var(--tnf-bg-light);
}

.tnf-gallery-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 30px;
}

@media (max-width: 1200px) {
	.tnf-gallery-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 992px) {
	.tnf-gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.tnf-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.tnf-gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 15px;
	aspect-ratio: 1;
	cursor: pointer;
}

.tnf-gallery-image {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.tnf-gallery-item img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.tnf-gallery-item:hover img {
	/* transform removed */
}
.tnf-gallery-overlay h4{
	color: white;
}
.tnf-gallery-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
	padding: 25px;
	color: white;
	transform: translateY(100%);
	transition: transform 0.2s ease;
}

.tnf-gallery-item:hover .tnf-gallery-overlay {
	transform: translateY(0);
}

.tnf-gallery-tag {
	display: inline-block;
	background: rgba(255, 107, 53, 0.9);
	color: white;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.tnf-gallery-overlay h4 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 5px;
}

.tnf-gallery-overlay p {
	font-size: 13px;
	opacity: 0.9;
}

/* Gallery Modal */
.tnf-gallery-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 10000;
	align-items: center;
	justify-content: center;
	animation: tnfFadeIn 0.3s ease;
}

@keyframes tnfFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.tnf-gallery-modal-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	width: auto;
	background: transparent;
	border-radius: 0;
	overflow: visible;
	display: flex;
	flex-direction: column;
	animation: tnfSlideUp 0.3s ease;
}

@keyframes tnfSlideUp {
	from {
		transform: translateY(50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.tnf-gallery-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(0, 0, 0, 0.6);
	color: white;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 28px;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: all 0.3s;
}

.tnf-gallery-modal-close:hover {
	background: rgba(0, 0, 0, 0.8);
	transform: rotate(90deg);
}

.tnf-gallery-modal-image-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	overflow: visible;
}

.tnf-gallery-modal-image-wrapper img {
	max-width: 90vw;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.tnf-gallery-modal-info {
	display: none;
}

/* Gallery Navigation Arrows */
.tnf-gallery-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 32px;
	cursor: pointer;
	z-index: 10001;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
	line-height: 1;
}

.tnf-gallery-nav:hover {
	background: rgba(0, 0, 0, 0.8);
	transform: translateY(-50%) scale(1.1);
}

.tnf-gallery-nav-prev {
	left: 40px;
}

.tnf-gallery-nav-next {
	right: 40px;
}

.tnf-gallery-nav span {
	display: block;
	line-height: 1;
	margin-top: -2px;
}

/* Gallery Navigation - Mobile */
@media (max-width: 768px) {
	.tnf-gallery-nav {
		width: 40px;
		height: 40px;
		font-size: 24px;
	}
	
	.tnf-gallery-nav-prev {
		left: 20px;
	}
	
	.tnf-gallery-nav-next {
		right: 20px;
	}
}

@media (max-width: 768px) {
	.tnf-gallery-modal-content {
		max-width: 95vw;
		max-height: 95vh;
	}
	
	.tnf-gallery-modal-close {
		top: 10px;
		right: 10px;
		width: 36px;
		height: 36px;
		font-size: 24px;
	}
	
	.tnf-gallery-modal-image-wrapper img {
		max-width: 95vw;
		max-height: 95vh;
	}
}

/* ========================================
   ?�문가 매칭 Section
   ======================================== */

.tnf-experts {
	background-color: white;
	overflow: hidden;
}

.tnf-expert-view-all {
	text-align: center;
	margin-top: 70px;
}

.tnf-btn-view-all {
	display: inline-block;
	background-color: var(--tnf-accent-red);
	color: white;
	padding: 14px 40px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	transition: all 0.3s ease;
	border: 2px solid var(--tnf-accent-red);
}

.tnf-btn-view-all:hover {
	background-color: white;
	color: var(--tnf-accent-red);
	border-color: var(--tnf-accent-red);
	box-shadow: 0 4px 12px rgba(196, 35, 24, 0.2);
}

/* 카테고리 ??*/
.tnf-expert-tabs {
	display: flex;
	gap: 20px;
	margin-bottom: 60px;
	justify-content: center;
	flex-wrap: wrap;
}

.tnf-expert-tab {
	background-color: white;
	border: 2px solid #e0e0e0;
	padding: 12px 28px;
	border-radius: 25px;
	font-size: 15px;
	font-weight: 600;
	color: #666;
	cursor: pointer;
	transition: all 0.3s ease;
}
.tnf-expert-tab:hover {
	color: white;
}

.tnf-expert-tab.active {
	background-color: #666;
	border-color: #666;
	color: white;
}

.tnf-expert-tab.active:hover {
	background-color: #666;
	border-color: #666: #333;
	color: white;
}

/* ?�문가 ?�라?�더 */
.tnf-expert-slider-wrapper {
	position: relative;
	padding: 0 80px;
	max-width: 1600px;
	margin: 0 auto;
}

.tnf-expert-slider {
	overflow: visible;
	padding: 80px 0;
	min-height: 550px;
}

.tnf-expert-track {
	display: flex;
	gap: 30px;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: grab;
	user-select: none;
	backface-visibility: hidden;
	-webkit-font-smoothing: antialiased;
}

.tnf-expert-slide {
	flex: 0 0 265px;
	text-align: center;
	background: white;
	padding: 30px 20px;
	border-radius: 15px;
	transition: opacity 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
	opacity: 0.6;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	cursor: pointer;
}
a.tnf-btn-consult{
	padding: 10px 20px;
}
.tnf-expert-slide.active {
	opacity: 1;
	transform: scale(1.3);
	box-shadow: 0 0px 15px rgba(42, 111, 71, 0.2);
	z-index: 10;
}

.tnf-expert-photo {
	width: 150px;
	height: 150px;
	margin: 0 auto 20px;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid var(--tnf-primary);
	box-shadow: 0 8px 20px rgba(42, 111, 71, 0.2);
	transition: width 0.3s ease, height 0.3s ease, border-width 0.3s ease;
}

.tnf-expert-slide.active .tnf-expert-photo {
	width: 200px;
	height: 200px;
	border-width: 5px;
}

.tnf-expert-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 0px;
}

.tnf-expert-slide h3 {
	font-size: 20px;
	font-weight: 700;
	color: #333;
	margin-bottom: 8px;
	transition: font-size 0.2s ease, color 0.2s ease;
}

.tnf-expert-slide.active h3 {
	font-size: 24px;
	color: #000;
}

.tnf-expert-slide .expert-title {
	font-size: 14px;
	color: var(--tnf-primary);
	font-weight: 600;
	margin-bottom: 10px;
}

.tnf-expert-slide .expert-desc {
	font-size: 13px;
	color: #666;
	line-height: 1.6;
}

.tnf-expert-slide.active .expert-desc {
	font-size: 14px;
}

/* ?�비게이??버튼 */
.tnf-expert-nav {
	position: absolute;
	top: 50%;
	margin-top: -22.5px;
	background: rgba(0, 0, 0, 0.2);
	color: rgba(0, 0, 0, 0.2);
	width: 45px;
	height: 45px;
	border-radius: 50%;
	border: none;
	font-size: 40px;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 100;
	box-shadow: none !important;
	padding: 0px 0px 10px 0px;
	display: flex;
	align-items: center;
	justify-content: center;
}
#content{
	min-height: 80vh;
}
.tnf-expert-nav:hover {
	color: rgba(0, 0, 0, 0.7);
	background: rgba(0, 0, 0, 0.3);
	box-shadow: none !important;
}

.tnf-expert-nav.prev {
	left: 0;
}

.tnf-expert-nav.next {
	right: 0;
}

/* ========================================
   ?�트??Section
   ======================================== */

.tnf-partners {
	background-color: white;
}
img.custom-logo {
    height: 70px;
    width: auto;
}
.tnf-partner-message {
	text-align: center;
	font-size: 18px;
	color: var(--tnf-primary);
	font-weight: 600;
	margin-bottom: 50px;
	padding: 20px;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 무한 ?�크�??�퍼 */
.tnf-partner-scroll-wrapper {
	overflow: hidden;
	position: relative;
	width: 100%;
	mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tnf-partner-grid {
	display: flex;
	gap: 40px;
	align-items: center;
	animation: partnerScroll 80s linear infinite;
	width: max-content;
}

/* 무한 ?�크�??�니메이??*/
@keyframes partnerScroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* ?�버 ???�니메이???�시?��? */
.tnf-partner-scroll-wrapper:hover .tnf-partner-grid {
	animation-play-state: paused;
}

.tnf-partner-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 160px;
	height: 100px;
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.tnf-partner-logo:hover {
	transform: scale(1.05);
}

.tnf-partner-logo img {
	max-width: 140px;
	max-height: 80px;
	width: auto;
	height: auto;
	object-fit: contain;
	opacity: 0.85;
	transition: opacity 0.3s ease;
}

.tnf-partner-logo:hover img {
	opacity: 1;
}

/* ========================================
   Home Page 반응???�자??   ======================================== */

@media (max-width: 768px) {
	.tnf-hero-slider {
		height: auto;
		min-height: 600px;
	}
	
	.tnf-slide-content {
		flex-direction: column;
		text-align: center;
		padding: 40px 20px;
	}
	
	.tnf-slide-text {
		flex: 1;
	}
	
	.tnf-slide-text h2 {
		font-size: 28px;
	}
	
	.tnf-slide-text .sub-copy {
		font-size: 16px;
	}
	
	.tnf-slider-thumbnails {
		display: none;
	}
	
	.tnf-slider-arrow {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}
	
	.tnf-slider-arrow.prev {
		left: 15px;
	}
	
	.tnf-slider-arrow.next {
		right: 15px;
	}
	
	.tnf-section {
		padding: 40px 20px;
	}
	
	.tnf-section-title h2 {
		font-size: 28px;
	}
	
	.tnf-solution-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.tnf-story-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.tnf-gallery-grid,
	.tnf-expert-grid {
		grid-template-columns: 1fr;
	}
	
	.tnf-partner-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

/* ========================================
   Page Banner Section (for Solution Pages)
   ======================================== */

.tnf-page-banner {
	position: relative;
	width: 100%;
	height: 400px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.tnf-page-banner-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1;
}

.tnf-page-banner-content {
	position: relative;
	z-index: 2;
	width: 100%;
}

.tnf-page-title {
	font-size: 48px;
	font-weight: 900;
	color: white;
	margin-bottom: 20px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tnf-breadcrumb {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
}

.tnf-breadcrumb a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tnf-breadcrumb a:hover {
	color: var(--tnf-primary);
}

.tnf-breadcrumb .separator {
	color: rgba(255, 255, 255, 0.5);
	font-size: 14px;
}

.tnf-breadcrumb .current {
	color: var(--tnf-primary);
	font-weight: 600;
}




/* 반응???�자??*/
@media (max-width: 768px) {
	.tnf-page-banner {
		height: 300px;
	}
	
	.tnf-page-title {
		font-size: 32px;
		margin-bottom: 15px;
	}
	
	.tnf-breadcrumb {
		font-size: 14px;
	}
	
}

/* ===== Contact Page Styles ===== */

/* Contact Tabs */
.tnf-contact-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 40px;
	border-bottom: 2px solid #ddd;
}

.tnf-contact-tab {
	flex: 1;
	padding: 20px 30px;
	background: #f0f0f0;
	border: none;
	border-bottom: 3px solid transparent;
	font-size: 18px;
	font-weight: 600;
	color: #666;
	cursor: pointer;
	transition: all 0.3s;
}

.tnf-contact-tab:hover {
	background: #e8e8e8;
	color: #333;
}

.tnf-contact-tab.active {
	background: white;
	color: var(--tnf-primary);
	border-bottom-color: var(--tnf-primary);
}

/* Contact Form Container */
.tnf-contact-form-container {
	display: none;
	background: white;
	padding: 50px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.tnf-contact-form-container.active {
	display: block;
}

.tnf-form-intro {
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 2px solid #f0f0f0;
}

.tnf-form-intro h2 {
	font-size: 26px;
	margin-bottom: 8px;
	color: #333;
}

.tnf-form-intro p {
	color: #666;
	font-size: 14px;
}

/* Form Layout */
.tnf-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.tnf-form-row-full {
	margin-bottom: 20px;
}

/* Form Groups */
.tnf-form-group {
	margin-bottom: 20px;
}

.tnf-form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
	font-size: 16px;
}

.required {
	color: var(--tnf-accent-red);
	font-weight: 700;
}

.tnf-form-group input[type="text"],
.tnf-form-group input[type="tel"],
.tnf-form-group input[type="email"],
.tnf-form-group select,
.tnf-form-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.3s;
}

.tnf-form-group input:focus,
.tnf-form-group select:focus,
.tnf-form-group textarea:focus {
	outline: none;
	border-color: var(--tnf-primary);
}

.tnf-form-group textarea {
	resize: vertical;
	font-family: inherit;
}

/* Radio Group */
.tnf-radio-group {
	display: flex;
	gap: 30px;
}

.tnf-radio-group label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	cursor: pointer;
}

.tnf-radio-group input[type="radio"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

/* Address Search */
.tnf-address-search {
	display: flex;
	gap: 10px;
}

.tnf-address-search input {
	flex: 1;
}

.tnf-btn-address-search {
	padding: 14px 24px;
	background: #555;
	color: white;
	border: none;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.3s;
}

.tnf-btn-address-search:hover {
	background: #333;
}

/* Additional Info */
.tnf-form-additional {
	margin-bottom: 20px;
	padding: 18px;
	background: #f8f8f8;
	border-radius: 4px;
}

.tnf-additional-info {
	color: #666;
	font-size: 13px;
	margin-bottom: 12px;
}

.tnf-form-additional textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 13px;
	background: white;
}

/* Agreement Group */
.tnf-agreement-group {
	background: #fff9f5;
	padding: 20px;
	border: 1px solid #ffe0d1;
	border-radius: 4px;
	margin-bottom: 20px;
}

.tnf-checkbox-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-weight: 400;
	font-size: 14px;
	cursor: pointer;
}

.tnf-checkbox-label:last-child {
	margin-bottom: 0;
}

.tnf-checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.tnf-btn-privacy {
	margin-left: 10px;
	padding: 4px 12px;
	background: none;
	border: 1px solid var(--tnf-primary);
	color: var(--tnf-primary);
	border-radius: 3px;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.3s;
}

.tnf-btn-privacy:hover {
	background: var(--tnf-primary);
	color: white;
}

/* Form Submit */
.tnf-form-submit {
	text-align: center;
	margin-top: 30px;
}

.tnf-btn-submit {
	padding: 18px 60px;
	background: var(--tnf-accent-red);
	color: white;
	border: 2px solid var(--tnf-accent-red);
	border-radius: 4px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.tnf-btn-submit:hover {
	background: white;
	color: var(--tnf-accent-red);
	border-color: var(--tnf-accent-red);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(196, 35, 24, 0.2);
}

.tnf-btn-submit:disabled {
	background: #ccc;
	cursor: not-allowed;
	transform: none;
}

/* Privacy Modal */
.tnf-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10000;
}

.tnf-modal-content {
	background: white;
	width: 90%;
	max-width: 600px;
	max-height: 80vh;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.tnf-modal-header {
	padding: 25px 30px;
	background: #f8f8f8;
	border-bottom: 1px solid #ddd;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.tnf-modal-header h3 {
	margin: 0;
	font-size: 20px;
	color: #333;
}

.tnf-modal-close {
	background: none;
	border: none;
	font-size: 32px;
	color: #999;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 32px;
	height: 32px;
}

.tnf-modal-close:hover {
	color: #333;
}

.tnf-modal-body {
	padding: 30px;
	overflow-y: auto;
	flex: 1;
}

.tnf-modal-body h4 {
	font-size: 16px;
	margin-top: 20px;
	margin-bottom: 10px;
	color: var(--tnf-primary);
}

.tnf-modal-body h4:first-child {
	margin-top: 0;
}

.tnf-modal-body p {
	font-size: 14px;
	line-height: 1.6;
	color: #666;
	margin-bottom: 15px;
}

.tnf-modal-footer {
	padding: 20px 30px;
	background: #f8f8f8;
	border-top: 1px solid #ddd;
	text-align: center;
}

.tnf-btn-confirm {
	padding: 12px 40px;
	background: var(--tnf-accent-red);
	color: white;
	border: 2px solid var(--tnf-accent-red);
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.tnf-btn-confirm:hover {
	background: white;
	color: var(--tnf-accent-red);
	border-color: var(--tnf-accent-red);
}

/* 반응??*/
@media (max-width: 768px) {
	.tnf-contact-tabs {
		flex-direction: column;
	}
	
	.tnf-contact-tab {
		border-bottom: 1px solid #ddd;
	}
	
	.tnf-contact-form-container {
		padding: 30px 20px;
	}
	
	.tnf-form-intro h2 {
		font-size: 22px;
	}
	
	.tnf-form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
	
	.tnf-address-search {
		flex-direction: column;
	}
	
	.tnf-btn-address-search {
		width: 100%;
	}
	
	.tnf-radio-group {
		flex-direction: column;
		gap: 12px;
	}
	
	.tnf-btn-submit {
		width: 100%;
		padding: 14px 30px;
	}
	
	.tnf-modal-content {
		width: 95%;
		max-height: 90vh;
	}
}

/* ========================================
   TnF Story Page Styles
   ======================================== */

/* Blog Section */
.tnf-blog-section {
	background: #fff;
	padding: 60px 0;
}

.tnf-blog-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 50px;
}

.tnf-blog-card {
	background: var(--tnf-bg-light);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.tnf-blog-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.tnf-blog-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.tnf-blog-card-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #e0e0e0;
}

.tnf-blog-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.tnf-blog-card:hover .tnf-blog-card-image img {
	transform: scale(1.1);
}

.tnf-blog-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ddd;
	color: #666;
	font-size: 14px;
	text-align: center;
	padding: 20px;
}

.tnf-blog-card-content {
	padding: 20px;
}

.tnf-blog-card-meta {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 12px;
	font-size: 13px;
}

.tnf-blog-date {
	color: #999;
}

.tnf-blog-category {
	background: var(--tnf-primary);
	color: white;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 11px;
}

.tnf-blog-card-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
	line-height: 1.4;
	color: #333;
}

.tnf-blog-card-excerpt {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
}

/* Video Section */
.tnf-video-section {
	padding: 80px 0;
}

.tnf-video-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-top: 50px;
}

.tnf-video-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tnf-video-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.tnf-video-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
	cursor: pointer;
}

.tnf-video-card-thumbnail {
	width: 100%;
	height: 220px;
	overflow: hidden;
	background: #000;
	position: relative;
}

.tnf-video-card-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.tnf-video-card:hover .tnf-video-card-thumbnail img {
	transform: scale(1.05);
}

.tnf-video-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.3s ease;
	opacity: 0.9;
}

.tnf-video-card:hover .tnf-video-play-icon {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1.1);
}

.tnf-video-platform-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	z-index: 10;
}

.tnf-video-platform-badge::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	margin-right: 5px;
	background: #FF6B35;
}

.tnf-video-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #333;
	color: #fff;
	font-size: 14px;
	text-align: center;
	padding: 20px;
}

/* Video Modal */
.tnf-video-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 10000;
	align-items: center;
	justify-content: center;
	animation: tnfVideoFadeIn 0.3s ease;
}

@keyframes tnfVideoFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.tnf-video-modal-content {
	position: relative;
	width: 90%;
	max-width: 1200px;
	background: transparent;
}

.tnf-video-modal-close {
	position: absolute;
	top: -50px;
	right: 0;
	background: rgba(255, 255, 255, 0.2);
	color: white;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 28px;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: all 0.3s;
}

.tnf-video-modal-close:hover {
	background: rgba(255, 255, 255, 0.4);
	transform: rotate(90deg);
}

.tnf-video-iframe-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	background: #000;
	border-radius: 8px;
}

.tnf-video-iframe-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 8px;
}

/* Pagination */
.tnf-pagination {
	margin-top: 60px;
	display: flex;
	justify-content: center;
}

.tnf-pagination .page-numbers {
	list-style: none;
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 0;
	padding: 0;
}

.tnf-pagination .page-numbers li {
	margin: 0;
}

.tnf-pagination a,
.tnf-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 8px;
	text-decoration: none;
	color: #333;
	background: var(--tnf-bg-light);
	transition: all 0.3s ease;
	font-weight: 500;
}

.tnf-pagination a:hover {
	background: var(--tnf-primary);
	color: white;
	transform: translateY(-2px);
}

.tnf-pagination .current {
	background: var(--tnf-primary);
	color: white;
}

.tnf-pagination .prev,
.tnf-pagination .next {
	font-size: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
	.tnf-blog-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 25px;
	}
	
	.tnf-video-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 25px;
	}
}

@media (max-width: 768px) {
	.tnf-blog-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.tnf-video-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.tnf-blog-section,
	.tnf-video-section {
		padding: 40px 0;
	}
	
	.tnf-video-card-thumbnail {
		height: 180px;
	}
}

@media (max-width: 480px) {
	.tnf-blog-grid,
	.tnf-video-grid {
		grid-template-columns: 1fr;
	}
}




.tnf-business-intro {
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 30px;
  border-radius: 12px;
}

.intro-main {
  font-size: 22px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.intro-main strong {
  color: var(--tnf-primary, #2A6F47);
  font-weight: 700;
}

.intro-sub {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

.tnf-business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 20px 60px;
}

.tnf-business-card {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.tnf-business-card:hover {
  border-color: var(--tnf-primary, #459466);
  box-shadow: 0 8px 30px rgba(42, 111, 71, 0.15);
  transform: translateY(-5px);
}

.business-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.tnf-business-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--tnf-primary, #2A6F47);
  margin-bottom: 15px;
  line-height: 1.4;
}

.tnf-business-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

@media (max-width: 768px) {
  .tnf-business-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .intro-main {
    font-size: 18px;
  }
  
  .tnf-business-intro {
    padding: 40px 20px;
  }
}
/* ========== 회사 소개 메인 ========== */
.tnf-company-intro {
  padding: 0 20px 60px;
}

/* 비전 헤더 */
.tnf-vision-header {
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.company-vision {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.vision-subtitle {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.95;
}

/* 회사 개요 */
.tnf-company-overview {
  margin-bottom: 80px;
  background: var(--tnf-bg-light, #FFFCF0);
}

.overview-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 40px;
  border-radius: 20px;
  max-width: 1600px;
  margin: 0 auto;
}
.tnf-meaning-section{
max-width: 1600px;
margin: 0 auto;
}
.overview-text h3 {
  font-size: 36px;
  font-weight: 700;
  color: var(--tnf-primary, #2A6F47);
  margin-bottom: 25px;
}

.main-desc {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
}

.main-desc strong {
  color: var(--tnf-accent-red, #C42318);
  font-weight: 700;
}

.tnf-meaning {
  color: var(--tnf-primary, #2A6F47);
  font-weight: 700;
  font-size: 20px;
}

.overview-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}


.meaning-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.meaning-card {
  background: #fff;
  border: 3px solid #eee;
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.meaning-card:hover {
  border-color: var(--tnf-primary, #2A6F47);
  box-shadow: 0 15px 50px rgba(42, 111, 71, 0.15);
  transform: translateY(-8px);
}

.meaning-badge {
  display: inline-block;
  background: var(--tnf-primary, #2A6F47);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  padding: 15px 40px;
  border-radius: 50px;
  margin-bottom: 25px;
  letter-spacing: 2px;
}

.meaning-badge.bio {
  background: var(--tnf-accent-red, #C42318);
}

.meaning-card h4 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
}

.meaning-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.meaning-item {
  text-align: center;
}

.meaning-item .icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}

.meaning-item strong {
  display: block;
  font-size: 18px;
  color: var(--tnf-primary, #2A6F47);
  margin-bottom: 8px;
}

.meaning-item p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Bio 카드 */
.bio-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  text-align: left;
}

.bio-list li {
  font-size: 18px;
  padding: 12px 0;
  color: #333;
  border-bottom: 1px solid #eee;
}

.bio-list .check {
  color: var(--tnf-accent-red, #C42318);
  font-weight: 700;
  margin-right: 12px;
  font-size: 20px;
}

.bio-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin-top: 20px;
}

/* ========== 설립 배경 ========== */
.tnf-foundation-story {
  padding: 40px 20px;
}

.foundation-header {
  text-align: center;
  margin-bottom: 50px;
}

.foundation-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--tnf-primary, #2A6F47);
  margin-bottom: 15px;
}

.foundation-subtitle {
  font-size: 20px;
  color: #666;
}

.foundation-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.intro-text {
  font-size: 19px;
  line-height: 1.9;
  color: #333;
}

.intro-text strong {
  color: var(--tnf-accent-red, #C42318);
  font-weight: 700;
}

/* 창립 멤버 */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.founder-card {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.founder-card:hover {
  border-color: var(--tnf-primary, #2A6F47);
  box-shadow: 0 10px 40px rgba(42, 111, 71, 0.15);
  transform: translateY(-8px);
}

.founder-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.founder-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--tnf-primary, #2A6F47);
  margin-bottom: 12px;
  line-height: 1.4;
}

.founder-title {
  font-size: 16px;
  color: var(--tnf-accent-red, #C42318);
  font-weight: 600;
  margin-bottom: 15px;
}

.founder-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* 핵심 가치 */
.foundation-value {
  max-width: 900px;
  margin: 0 auto;
}

.value-box {
  background: linear-gradient(135deg, var(--tnf-primary, #2A6F47) 0%, #1C5A37 100%);
  padding: 50px 60px;
  border-radius: 20px;
  text-align: center;
}

.value-text {
  font-size: 22px;
  line-height: 1.9;
  color: #fff;
  margin: 0;
}

.value-text strong {
  font-weight: 700;
  font-size: 24px;
}

.value-text .highlight {
  display: block;
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
  color: #FFF8DC;
}

/* ========== 반응형 ========== */
@media (max-width: 1024px) {
  .meaning-grid,
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .overview-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .company-vision {
    font-size: 32px;
  }
  
  .vision-subtitle {
    font-size: 16px;
  }
  
  .meaning-items {
    grid-template-columns: 1fr;
  }
  
  .overview-content,
  .value-box {
    padding: 40px 30px;
  }
  
  .foundation-header h2 {
    font-size: 32px;
  }
}
/* ========== 비전 섹션 ========== */

.vision-hero-content-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding: 60px;
  border-radius: 20px;
}
.tnf-vision-hero{
  background: var(--tnf-bg-light, #FFFCF0);
}
.vision-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--tnf-primary, #2A6F47);
  margin-bottom: 30px;
  line-height: 1.4;
}

.vision-description {
  font-size: 17px;
  line-height: 1.9;
  color: #333;
}

.vision-description strong {
  color: var(--tnf-accent-red, #C42318);
  font-weight: 700;
}

.vision-hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* 글로벌 전문인력 */
.tnf-global-experts {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding: 120px 0px;
}

.experts-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.experts-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--tnf-primary, #2A6F47);
  margin-bottom: 20px;
}

.experts-content p {
  font-size: 17px;
  line-height: 1.9;
  color: #333;
}

.experts-content strong {
  color: var(--tnf-accent-red, #C42318);
  font-weight: 700;
}

/* ========== Trust Our Passion ========== */
.tnf-trust-section {
  background: linear-gradient(135deg, #3ea769 0%, #1C5A37 100%);
  padding: 80px 20px 100px 20px;
}

.trust-quote {
  text-align: center;
  margin-bottom: 60px;
}

.trust-quote h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  font-style: italic;
  letter-spacing: 1px;
}

.trust-content-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr;
  gap: 60px;
  margin: 0 auto;
  align-items: center;
}

.trust-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.trust-principles {
  display: grid;
  gap: 30px;
}

.principle-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.principle-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateX(10px);
}

.principle-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.principle-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.principle-card p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.principle-card strong {
  color: #FFF;
  font-weight: 700;
}

.vision-hero-content-wrap, .tnf-global-experts, .trust-content-wrapper {
  max-width: 1600px;
  margin: 0 auto;
}

/* ========== 가치 제안 ========== */
.tnf-value-proposition {
  padding: 80px 20px;
  text-align: center;
}

.value-content {
  max-width: 900px;
  margin: 0 auto 60px;
}

.value-content h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--tnf-primary, #2A6F47);
  margin-bottom: 30px;
}

.value-main {
  font-size: 20px;
  line-height: 1.8;
  color: #333;
}

.value-main strong {
  color: var(--tnf-primary, #2A6F47);
  font-weight: 700;
}

.value-main .highlight {
  background: linear-gradient(transparent 60%, rgba(196, 35, 24, 0.2) 60%);
  font-weight: 700;
  color: var(--tnf-accent-red, #C42318);
}

.value-process {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1600px;
  margin: 0 auto;
}

.process-step {
  background: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  border: 2px solid #eee;
  min-width: 200px;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: var(--tnf-primary, #2A6F47);
  box-shadow: 0 8px 30px rgba(42, 111, 71, 0.15);
  transform: translateY(-5px);
}

.step-number {
  display: inline-block;
  background: var(--tnf-primary, #2A6F47);
  color: #fff;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.process-step h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--tnf-primary, #2A6F47);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.process-arrow {
  font-size: 32px;
  color: var(--tnf-primary, #2A6F47);
  font-weight: 700;
}

/* ========== 반응형 ========== */
@media (max-width: 1024px) {
  .tnf-vision-hero,
  .tnf-global-experts,
  .trust-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .value-process {
    flex-direction: column;
  }
  
  .process-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .vision-title {
    font-size: 28px;
  }
  
  .trust-quote h2 {
    font-size: 32px;
  }
  
  .value-content h2 {
    font-size: 28px;
  }
  
  .value-main {
    font-size: 17px;
  }
  
  .tnf-vision-hero,
  .tnf-trust-section {
    padding: 40px 20px;
  }
}

/* ========================================
   Experts Page Styles
   ======================================== */

/* 전문가 페이지 헤더 */
.tnf-experts-hero {
	background: var(--tnf-primary);
	padding: 80px 20px;
	text-align: center;
	position: relative;
}

.tnf-experts-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(28, 90, 55, 0.15);
}

.experts-hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
}

.experts-hero-content h1 {
	font-size: 48px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 20px;
}

.experts-hero-content p {
	font-size: 18px;
	color: rgba(255,255,255,0.95);
	line-height: 1.8;
}

/* 전문가 섹션 */
.tnf-experts-sections {
	padding: 60px 20px;
}

.experts-category-section {
	margin-bottom: 80px;
}

.experts-category-section:last-child {
	margin-bottom: 0;
}

.category-header {
	margin-bottom: 40px;
	padding-bottom: 20px;
	border-bottom: 3px solid var(--tnf-primary);
}

.category-header h2 {
	font-size: 36px;
	font-weight: 700;
	color: #000;
	margin-bottom: 10px;
}

.category-header p {
	font-size: 16px;
	color: #666;
	line-height: 1.6;
}

/* 전문가 그리드 */
.experts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

/* 전문가 카드 */
.expert-card {
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
	position: relative;
	display: flex;
	flex-direction: column;
}

.expert-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 30px rgba(42, 111, 71, 0.2);
}

.expert-card-photo {
	width: 100%;
	height: 450px;
	overflow: hidden;
	background: var(--tnf-bg-light);
	position: relative;
}

.expert-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.expert-card:hover .expert-card-photo img {
	transform: scale(1.05);
}

.expert-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--tnf-primary) 0%, rgba(42, 111, 71, 0.8) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.expert-placeholder span {
	font-size: 80px;
	font-weight: 700;
	color: #fff;
}

.expert-card-info {
	padding: 25px;
	flex: 1;
}

.expert-card-info h3 {
	font-size: 20px;
	font-weight: 700;
	color: #000;
	margin-bottom: 8px;
}

.expert-card-info .expert-position {
	font-size: 14px;
	color: var(--tnf-primary);
	font-weight: 600;
	margin-bottom: 12px;
}

.expert-card-info .expert-excerpt {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.expert-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--tnf-primary);
	padding: 15px 25px;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.expert-card:hover .expert-card-overlay {
	transform: translateY(0);
}

.expert-card-overlay .view-profile {
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	text-align: center;
	display: block;
}

/* 전문가 없을 때 */
.no-experts {
	text-align: center;
	padding: 100px 20px;
}

.no-experts p {
	font-size: 18px;
	color: #999;
}

/* 반응형 */
@media (max-width: 1200px) {
	.experts-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 1024px) {
	.experts-hero-content h1 {
		font-size: 40px;
	}
	
	.category-header h2 {
		font-size: 32px;
	}
	
	.experts-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}
}

@media (max-width: 768px) {
	.tnf-experts-hero {
		padding: 60px 20px;
	}
	
	.experts-hero-content h1 {
		font-size: 32px;
	}
	
	.experts-hero-content p {
		font-size: 16px;
	}
	
	.tnf-experts-sections {
		padding: 40px 20px;
	}
	
	.experts-category-section {
		margin-bottom: 60px;
	}
	
	.category-header {
		margin-bottom: 30px;
	}
	
	.category-header h2 {
		font-size: 26px;
	}
	
	.experts-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.expert-card-photo {
		height: 320px;
	}
}

/* ========================================
   Expert Profile Page Styles
   ======================================== */

/* 전문가 헤더 */
.tnf-expert-header {
	background: var(--tnf-primary);
	padding: 50px 20px;
	margin-bottom: 50px;
	position: relative;
}

.tnf-expert-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(28, 90, 55, 0.15);
}

.expert-header-content {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 60px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.expert-header-left {
	text-align: center;
}

.expert-photo-large {
	width: 280px;
	height: 280px;
	border-radius: 50%;
	overflow: hidden;
	border: 6px solid #fff;
	box-shadow: 0 15px 50px rgba(0,0,0,0.3);
	margin: 0 auto;
}

.expert-photo-large img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.expert-header-right {
	color: #fff;
}

.expert-category {
	display: inline-block;
	background: rgba(255,255,255,0.2);
	color: #fff;
	padding: 8px 20px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 15px;
	backdrop-filter: blur(10px);
}

.expert-name {
	font-size: 48px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 15px;
	line-height: 1.2;
}

.expert-position {
	font-size: 24px;
	color: rgba(255,255,255,0.95);
	margin-bottom: 25px;
	font-weight: 500;
}

.expert-years {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(255,255,255,0.15);
	padding: 12px 24px;
	border-radius: 30px;
	font-size: 16px;
	color: #fff;
	margin-bottom: 30px;
	backdrop-filter: blur(10px);
}

.expert-years .icon {
	font-size: 20px;
}

.expert-actions {
	margin-top: 30px;
}

/* 전문가 상세 정보 */
.tnf-expert-details {
	padding: 0 20px 50px;
	max-width: 1200px;
	margin: 0 auto;
}

/* 탭 네비게이션 */
.expert-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid #ddd;
	margin-bottom: 30px;
}

.expert-tab {
	background: transparent;
	border: none;
	padding: 15px 30px;
	font-size: 15px;
	font-weight: 600;
	color: #666;
	cursor: pointer;
	transition: all 0.2s ease;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	white-space: nowrap;
}

.expert-tab:hover {
	color: #000;
	background: rgba(0,0,0,0.02);
}

.expert-tab.active {
	color: #000;
	border-bottom-color: var(--tnf-primary);
	background: rgba(42, 111, 71, 0.03);
}

/* 탭 콘텐츠 */
.expert-tab-content {
	margin-bottom: 50px;
}

.tab-panel {
	display: none;
	padding: 30px 0;
	font-size: 16px;
	line-height: 1.9;
	color: #111;
}

.tab-panel.active {
	display: block;
}

.tab-panel p {
	margin-bottom: 15px;
}

.tab-panel ul,
.tab-panel ol {
	margin: 20px 0;
	padding-left: 25px;
}

.tab-panel li {
	margin-bottom: 12px;
	line-height: 1.8;
}

.tab-panel strong {
	color: #000;
	font-weight: 700;
}

.tab-panel h3 {
	font-size: 20px;
	font-weight: 700;
	color: #000;
	margin: 25px 0 12px;
}

.tab-panel h4 {
	font-size: 17px;
	font-weight: 700;
	color: #111;
	margin: 20px 0 10px;
}

/* 추가 정보 섹션 */
.expert-additional-sections {
	margin-top: 50px;
	padding-top: 50px;
	border-top: 2px solid #eee;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.expert-additional-sections .expert-section {
	position: relative;
}

.expert-additional-sections .expert-section .section-header {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 3px solid var(--tnf-primary);
}

.expert-additional-sections .expert-section .section-header h2 {
	font-size: 28px;
	font-weight: 700;
	color: #000;
	margin: 0;
}

.expert-additional-sections .expert-section .section-body {
	padding: 25px 0;
	font-size: 16px;
	line-height: 1.9;
	color: #111;
}

.expert-additional-sections .expert-section:nth-child(even) .section-body {
	background: var(--tnf-bg-light);
	padding: 25px 30px;
	border-radius: 15px;
	border-left: 4px solid var(--tnf-primary);
}

.expert-additional-sections .expert-section:nth-child(odd) .section-body {
	padding-left: 25px;
	border-left: 4px solid var(--tnf-accent-red);
}

.expert-additional-sections .section-body p {
	margin-bottom: 15px;
}

.expert-additional-sections .section-body ul,
.expert-additional-sections .section-body ol {
	margin: 20px 0;
	padding-left: 25px;
}

.expert-additional-sections .section-body li {
	margin-bottom: 12px;
	line-height: 1.8;
}

.expert-additional-sections .section-body strong {
	color: #000;
	font-weight: 700;
}

.expert-additional-sections .section-body h3 {
	font-size: 20px;
	font-weight: 700;
	color: #000;
	margin: 25px 0 12px;
}

.expert-additional-sections .section-body h4 {
	font-size: 17px;
	font-weight: 700;
	color: #111;
	margin: 20px 0 10px;
}

/* 전문가 섹션 */
.expert-sections {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.expert-section {
	position: relative;
}

.expert-section .section-header {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 3px solid var(--tnf-primary);
}

.expert-section .section-header h2 {
	font-size: 28px;
	font-weight: 700;
	color: #000;
	margin: 0;
}

.expert-section .section-body {
	padding: 25px 0;
	font-size: 16px;
	line-height: 1.9;
	color: #111;
}

/* 짝수 섹션 - 배경 스타일 */
.expert-section:nth-child(even) .section-body {
	background: var(--tnf-bg-light);
	padding: 25px 30px;
	border-radius: 15px;
	border-left: 4px solid var(--tnf-primary);
}

/* 홀수 섹션 - 왼쪽 강조선 */
.expert-section:nth-child(odd) .section-body {
	padding-left: 25px;
	border-left: 4px solid var(--tnf-accent-red);
}

.expert-section .section-body p {
	margin-bottom: 15px;
}

.expert-section .section-body ul,
.expert-section .section-body ol {
	margin: 20px 0;
	padding-left: 25px;
}

.expert-section .section-body li {
	margin-bottom: 12px;
	line-height: 1.8;
}

.expert-section .section-body strong {
	color: #000;
	font-weight: 700;
}

.expert-section .section-body h3 {
	font-size: 20px;
	font-weight: 700;
	color: #000;
	margin: 25px 0 12px;
}

.expert-section .section-body h4 {
	font-size: 17px;
	font-weight: 700;
	color: #111;
	margin: 20px 0 10px;
}

/* 관련 전문가 */
.tnf-related-experts {
	background: var(--tnf-bg-light);
	padding: 50px 20px;
	margin-top: 50px;
}

.tnf-related-experts .section-header {
	text-align: center;
	margin-bottom: 50px;
}

.tnf-related-experts .section-header h2 {
	font-size: 36px;
	font-weight: 700;
	color: var(--tnf-primary);
}

.related-experts-grid {
	display: flex;
	justify-content: center;
	gap: 50px;
	max-width: 1200px;
	margin: 0 auto 40px;
	flex-wrap: wrap;
}

.related-expert-item {
	text-decoration: none;
	text-align: center;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.related-expert-item:hover {
	transform: translateY(-5px);
}

.related-expert-circle {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid var(--tnf-primary);
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
	background: var(--tnf-bg-light);
	display: flex;
	align-items: center;
	justify-content: center;
}

.related-expert-item:hover .related-expert-circle {
	border-color: var(--tnf-accent-red);
	box-shadow: 0 8px 30px rgba(196, 35, 24, 0.2);
}

.related-expert-circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-expert-circle span {
	font-size: 50px;
	font-weight: 700;
	color: var(--tnf-primary);
}

.related-expert-name {
	font-size: 16px;
	font-weight: 600;
	color: #000;
	margin: 0;
	transition: color 0.3s ease;
}

.related-expert-item:hover .related-expert-name {
	color: var(--tnf-primary);
}

.expert-view-all {
	text-align: center;
	margin-top: 50px;
}

/* 반응형 */
@media (max-width: 1024px) {
	.expert-header-content {
		grid-template-columns: 1fr;
		gap: 40px;
		text-align: center;
	}
	
	.expert-photo-large {
		margin: 0 auto;
	}
	
	.expert-header-right {
		text-align: center;
	}
	
	.expert-actions {
		display: flex;
		justify-content: center;
	}
	
	.expert-tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	
	.expert-tab {
		padding: 12px 20px;
		font-size: 14px;
	}
	
	.expert-additional-sections .expert-section .section-header h2 {
		font-size: 24px;
	}
	
	.expert-additional-sections .expert-section .section-body {
		padding: 20px 0;
	}
	
	.expert-additional-sections .expert-section:nth-child(even) .section-body {
		padding: 20px 25px;
	}
	
	.expert-additional-sections .expert-section:nth-child(odd) .section-body {
		padding-left: 20px;
	}
	
	.related-experts-grid {
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.tnf-expert-header {
		padding: 40px 20px;
		margin-bottom: 40px;
	}
	
	.expert-photo-large {
		width: 200px;
		height: 200px;
	}
	
	.expert-name {
		font-size: 32px;
	}
	
	.expert-position {
		font-size: 18px;
	}
	
	.expert-tabs {
		gap: 0;
	}
	
	.expert-tab {
		padding: 10px 15px;
		font-size: 13px;
	}
	
	.tab-panel {
		padding: 20px 0;
		font-size: 15px;
	}
	
	.expert-additional-sections {
		margin-top: 40px;
		padding-top: 40px;
		gap: 20px;
	}
	
	.expert-additional-sections .expert-section .section-header h2 {
		font-size: 20px;
	}
	
	.expert-additional-sections .expert-section .section-body {
		padding: 15px 0;
		font-size: 15px;
	}
	
	.expert-additional-sections .expert-section:nth-child(even) .section-body {
		padding: 15px 20px;
	}
	
	.expert-additional-sections .expert-section:nth-child(odd) .section-body {
		padding-left: 15px;
	}
	
	.related-expert-circle {
		width: 120px;
		height: 120px;
	}
	
	.related-expert-circle span {
		font-size: 40px;
	}
	
	.related-experts-grid {
		gap: 30px;
	}
	
	.tnf-expert-details,
	.tnf-related-experts {
		padding: 40px 20px;
	}
}

/* ========================================
   Floating Social Icons
   ======================================== */

.tnf-floating-icons {
	position: fixed;
	right: 30px;
	bottom: 30px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	z-index: 999;
}

.tnf-floating-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #000000;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}

.tnf-floating-icon:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.tnf-floating-icon svg {
	width: 28px;
	height: 28px;
}


.tnf-floating-icon.kakao {
	background: #FEE500;
	color: #3C1E1E;
}

.tnf-floating-icon.kakao:hover {
	background: #F9D700;
	color: #3C1E1E;
}

.tnf-floating-icon.tiktok {
	background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.tnf-floating-icon.tiktok:hover {
	background: linear-gradient(135deg, #FF0050 0%, #00F2EA 100%);
	color: white;
}

/* 반응형 - 모바일에서 크기 조정 */
@media (max-width: 768px) {
	.tnf-floating-icons {
		right: 20px;
		bottom: 20px;
		gap: 12px;
	}
	
	.tnf-floating-icon {
		width: 50px;
		height: 50px;
	}
	
	.tnf-floating-icon svg {
		width: 24px;
		height: 24px;
	}
}

