/*
 Theme Name:   Twenty Seventeen Child
 Template:     twentyseventeen
 Version:      1.0.0
*/
.jj-lang-bar {
	position: relative;
	z-index: 999999;
	background: #191e23;
	text-align: right;
	padding: 6px 20px;
	font-size: 13px;
	line-height: 1.4;
}
.jj-lang-bar a {
	color: #fff;
	text-decoration: none;
	margin-left: 14px;
	opacity: 0.75;
}
.jj-lang-bar a:hover,
.jj-lang-bar a.jj-lang-current {
	opacity: 1;
	text-decoration: underline;
}
.jj-lang-bar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline;
}
.jj-lang-bar li {
	display: inline;
}

.jj-services .wp-block-columns {
	align-items: stretch;
}
.jj-service-card {
	background: #f7f8fa;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 28px 22px !important;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}
.jj-service-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #2a5b8c;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px !important;
	margin-bottom: 14px;
	line-height: 1 !important;
}
.jj-service-card h3 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 19px;
}
.jj-service-card p.jj-service-desc {
	color: #4b5563;
	font-size: 14.5px;
	margin: 0;
}

.jj-contact-card {
	background: #f7f8fa;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 24px !important;
}
.jj-contact-card h3 {
	margin-top: 0;
	margin-bottom: 14px;
}
.jj-contact-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 8px 0 !important;
}
.jj-contact-row .jj-contact-label {
	color: #6b7280;
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	min-width: 92px;
	flex-shrink: 0;
}
.jj-office-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 22px !important;
	display: flex;
	align-items: center;
	gap: 18px;
}
.jj-office-card img {
	border-radius: 8px;
	flex-shrink: 0;
}

.jj-whatsapp-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	width: 56px;
	height: 56px;
	background: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
	z-index: 999999;
	transition: transform 0.15s ease;
}
.jj-whatsapp-float:hover {
	transform: scale(1.08);
}

/* Info cards (01/02/03/04 program detail cards) */
.jj-info-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 22px !important;
	height: 100%;
	box-sizing: border-box;
}
.jj-info-card .jj-info-tag {
	color: #2a5b8c;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.03em;
	margin-bottom: 6px;
}
.jj-info-card h4 {
	margin: 0 0 10px 0;
	font-size: 18px;
}
.jj-info-card ul {
	margin: 10px 0 0 0;
	padding: 0;
	list-style: none;
}
.jj-info-card ul li {
	font-size: 14px;
	color: #4b5563;
	margin-bottom: 6px;
	padding-left: 1.2em;
	text-indent: -1.2em;
}

/* Course duration cards */
.jj-course-card {
	background: #fff;
	border-top: 4px solid #2a5b8c;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
	padding: 22px !important;
	height: 100%;
	box-sizing: border-box;
}
.jj-course-card.jj-course-mid { border-top-color: #d99a2b; }
.jj-course-number {
	font-size: 30px;
	font-weight: 700;
	color: #2a5b8c;
}
.jj-course-number .jj-course-unit {
	font-size: 15px;
	font-weight: 400;
	color: #9ca3af;
}
.jj-course-card h4 { margin: 6px 0 10px 0; font-size: 17px; }
.jj-course-card p.jj-course-desc { color: #4b5563; font-size: 13.5px; margin: 0 0 12px 0; }
.jj-course-badge {
	display: inline-block;
	background: #eef4fa;
	color: #2a5b8c;
	font-size: 12.5px;
	padding: 4px 10px;
	border-radius: 5px;
}
.jj-course-options {
	background: #f4f7fb;
	border-radius: 8px;
	padding: 16px 18px !important;
	font-size: 13.5px;
	color: #374151;
}

/* Stat bar */
.jj-stat-row { display: flex; flex-wrap: wrap; gap: 0; text-align: center; }
.jj-stat-item { flex: 1 1 0; min-width: 130px; padding: 10px; border-left: 1px solid #e5e7eb; }
.jj-stat-item:first-child { border-left: none; }
.jj-stat-number { font-size: 26px; font-weight: 700; color: #2a5b8c; }
.jj-stat-label { font-size: 12.5px; color: #6b7280; margin-top: 4px; }

/* Tag pill grid */
.jj-tag-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.jj-tag-pill {
	background: #f4f7fb;
	color: #2a5b8c;
	border-radius: 6px;
	padding: 10px 12px;
	font-size: 13.5px;
	text-align: center;
}
.jj-tag-pill.jj-tag-highlight {
	background: #fff;
	border: 1.5px solid #2a5b8c;
	font-weight: 600;
}

/* Shenzhen index bars */
.jj-index-card {
	background: #0f1b2d;
	color: #cbd5e1;
	border-radius: 12px;
	padding: 24px !important;
}
.jj-index-title {
	font-size: 12.5px;
	letter-spacing: 0.1em;
	color: #93c5fd;
	margin-bottom: 14px;
}
.jj-index-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13.5px; }
.jj-index-label { width: 110px; flex-shrink: 0; }
.jj-index-track { flex: 1; height: 8px; background: #1e2b3f; border-radius: 4px; overflow: hidden; }
.jj-index-fill { height: 100%; background: #3b82f6; border-radius: 4px; }
.jj-index-fill.jj-index-green { background: #34d399; }
.jj-index-value { width: 55px; text-align: right; flex-shrink: 0; color: #e2e8f0; }

.jj-kakao-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 999999;
}
.jj-kakao-btn {
	width: 56px;
	height: 56px;
	background: #FEE500;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
	cursor: pointer;
	transition: transform 0.15s ease;
}
.jj-kakao-btn:hover {
	transform: scale(1.08);
}
.jj-kakao-tooltip {
	position: absolute;
	bottom: 66px;
	right: 0;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #374151;
	box-shadow: 0 4px 14px rgba(0,0,0,0.15);
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.15s ease;
}
.jj-kakao-tooltip.jj-show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
