/* ==========================================================================
   JAYCEE – CSS giao diện (dùng chung cho web và trình soạn thảo)
   Màu chính: navy #07142b · gradient #1d5cff → #00c2ff
   ========================================================================== */

:root {
	--jc-navy: #07142b;
	--jc-navy2: #0c1f42;
	--jc-bg: #f5f9ff;
	--jc-ink: #0b1b33;
	--jc-muted: #51627d;
	--jc-muted-d: #9fb0cc;
	--jc-blue: #1d5cff;
	--jc-cyan: #00c2ff;
	--jc-grad: linear-gradient(120deg, #1d5cff 0%, #00c2ff 100%);
	--jc-line-d: rgba(255, 255, 255, .12);
	--jc-line-l: #dce6f5;
	--jc-shadow: 0 10px 30px rgba(18, 52, 120, .08);
	--jc-head: "Montserrat", system-ui, sans-serif;
	--jc-ease: cubic-bezier(.2, .8, .2, 1);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[id] { scroll-margin-top: 84px; }
.wp-site-blocks > * { margin-block-start: 0; }
.jc-main > * { margin-block-start: 0; }
.wp-block-post-content > .alignfull { margin-block-start: 0; }

/* Chữ in nghiêng (<em>) trong tiêu đề & các phần trang chủ = chữ gradient */
:where(h1, h2, h3, h4, h5, h6) em,
.is-style-jc-dark em,
.is-style-jc-light em,
.jc-hero em,
.is-style-jc-gradient,
.jc-gradient-text {
	font-style: normal;
	background: var(--jc-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---------- Phần (section) ---------- */
.is-style-jc-dark,
.is-style-jc-light {
	position: relative;
	padding-top: 120px;
	padding-bottom: 120px;
	margin-block: 0;
}
.is-style-jc-dark { background: var(--jc-navy); color: #fff; }
.is-style-jc-dark.jc-alt { background: var(--jc-navy2); }
.is-style-jc-light { background: var(--jc-bg); color: var(--jc-ink); }
.is-style-jc-light a:where(:not(.wp-element-button)) { color: var(--jc-blue); }
.jc-center { text-align: center; }

/* ---------- Kiểu đoạn văn ---------- */
.is-style-jc-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--jc-head);
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--jc-cyan);
	margin-bottom: 0;
}
.is-style-jc-eyebrow::before { content: ""; width: 36px; height: 2px; border-radius: 2px; background: var(--jc-grad); flex: none; }
.is-style-jc-light .is-style-jc-eyebrow { color: var(--jc-blue); }
.jc-center .is-style-jc-eyebrow { justify-content: center; }
.is-style-jc-eyebrow a { color: inherit; }

.is-style-jc-lead { font-size: 18px; color: var(--jc-muted-d); max-width: 580px; }
/* Khối hẹp hơn khung nội dung: canh trái theo mép khung (không bị canh giữa) */
.is-layout-constrained > .is-style-jc-lead,
.is-layout-constrained > .jc-search {
	margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important;
}
.is-style-jc-light .is-style-jc-lead { color: var(--jc-muted); }
.jc-center .is-style-jc-lead, .jc-center.is-layout-constrained > .is-style-jc-lead { margin-left: auto !important; margin-right: auto !important; }

.is-style-jc-accent { font-family: var(--jc-head); font-style: italic; font-weight: 500; color: var(--jc-cyan); }
.is-style-jc-light .is-style-jc-accent { color: var(--jc-blue); }

.is-style-jc-chip {
	display: inline-block;
	font-family: var(--jc-head);
	font-size: 13px;
	font-weight: 600;
	padding: 7px 15px;
	border-radius: 999px;
	background: rgba(0, 194, 255, .1);
	color: #8fe3ff;
	border: 1px solid rgba(0, 194, 255, .25);
}
.is-style-jc-light .is-style-jc-chip { color: var(--jc-blue); background: rgba(29, 92, 255, .07); border-color: rgba(29, 92, 255, .2); }

.is-style-jc-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .14);
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 14px;
}
.is-style-jc-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jc-cyan); box-shadow: 0 0 0 4px rgba(0, 194, 255, .2); flex: none; }

/* Tiêu đề siêu to */
.is-style-jc-huge { font-size: clamp(40px, 7vw, 96px) !important; font-weight: 900; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; }

/* Ảnh bo góc */
.is-style-jc-rounded img { border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 40, 120, .25); }

/* ---------- Nút ---------- */
.wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; transition: transform .2s, box-shadow .2s, background .2s; }
.wp-block-button__link:hover { transform: translateY(-2px); text-decoration: none; }
.is-style-jc-chat .wp-block-button__link:hover { box-shadow: 0 12px 30px rgba(0, 140, 255, .5); }
.is-style-jc-ghost .wp-block-button__link {
	background: rgba(255, 255, 255, .08);
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, .3);
	box-shadow: none;
}
.is-style-jc-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .18); }
.is-style-jc-light .is-style-jc-ghost .wp-block-button__link { background: transparent; color: var(--jc-ink); border-color: rgba(11, 27, 51, .25); }
.is-style-jc-zalo .wp-block-button__link { background: #0068ff; color: #fff; box-shadow: 0 8px 24px rgba(0, 104, 255, .4); }
.is-style-jc-white .wp-block-button__link { background: #fff; color: var(--jc-navy); box-shadow: none; }

.is-style-jc-chat .wp-block-button__link::before,
.is-style-jc-zalo .wp-block-button__link::before,
.is-style-jc-white .wp-block-button__link::before,
.is-style-jc-ghost .wp-block-button__link::after {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--jc-ico) center / contain no-repeat;
	mask: var(--jc-ico) center / contain no-repeat;
}
.is-style-jc-chat, .is-style-jc-zalo {
	--jc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E");
}
.is-style-jc-white {
	--jc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.4 2 2 6.1 2 11.6c0 2.9 1.2 5.4 3.1 7.1V22l2.9-1.6c1.2.3 2.5.5 4 .5 5.6 0 10-4.1 10-9.6S17.6 2 12 2zm1 12.9l-2.5-2.7-5 2.7 5.5-5.8 2.6 2.7 4.9-2.7-5.5 5.8z'/%3E%3C/svg%3E");
}
.is-style-jc-ghost {
	--jc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.jc-center .wp-block-buttons { justify-content: center; }
.jc-more { margin-top: 44px !important; }

/* ---------- Icon ---------- */
.wp-block-jaycee-icon { display: inline-flex; line-height: 0; }
.wp-block-jaycee-icon a { display: inline-flex; color: inherit; }
.wp-block-jaycee-icon svg { width: var(--jc-icon-size, 24px); height: var(--jc-icon-size, 24px); }

/* ---------- Thanh menu ---------- */
.jc-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	transition: background .3s, box-shadow .3s;
}
body.admin-bar .jc-nav { top: 32px; }
.jc-nav.is-scrolled { background: rgba(7, 20, 43, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(0, 0, 0, .18); }
.jc-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.jc-nav-inner > * { margin: 0 !important; }

.jc-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--jc-head); font-weight: 800; font-size: 18px; color: #fff !important; text-decoration: none !important; }
.jc-logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--jc-grad); display: grid; place-items: center; font-weight: 900; font-size: 16px; letter-spacing: -.02em; color: #fff; }
.jc-logo-name:empty { display: none; }

.jc-menu { display: flex; align-items: center; margin-left: auto; }
.jc-menu-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; font-weight: 500; }
.jc-menu-list a { color: rgba(255, 255, 255, .75); transition: color .2s; text-decoration: none; }
.jc-menu-list a:hover, .jc-menu-list .current-menu-item > a:not([href*="#"]) { color: #fff; text-decoration: none; }
.jc-burger { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; line-height: 0; }
.jc-burger svg { width: 28px; height: 28px; }

.jc-lang { display: flex; align-items: center; gap: 6px; font-family: var(--jc-head); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.jc-lang a { color: #fff; opacity: .45; padding: 4px 2px; text-decoration: none; }
.jc-lang a:hover { opacity: .8; text-decoration: none; }
.jc-lang a.is-active { opacity: 1; color: var(--jc-cyan); }
.jc-lang i { opacity: .3; font-style: normal; color: #fff; }

/* ---------- Hero ---------- */
.jc-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 130px;
	padding-bottom: 90px;
	overflow: hidden;
	background: var(--jc-navy);
	margin-block: 0;
}
.jc-hero::before, .jc-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: .5;
	animation: jc-float-blob 12s ease-in-out infinite;
	pointer-events: none;
}
.jc-hero::before { width: 540px; height: 540px; background: #1d5cff; top: -180px; right: -140px; }
.jc-hero::after { width: 440px; height: 440px; background: #00c2ff; bottom: -220px; left: -140px; animation-delay: -6s; }
@keyframes jc-float-blob { 50% { transform: translate(40px, 30px); } }

.jc-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: center; width: 100%; }
.jc-hero-grid > * { margin: 0 !important; }
.jc-hero-text > * { margin-block: 0; }
.jc-hero-title {
	font-size: clamp(54px, 9vw, 128px) !important;
	line-height: .98;
	font-weight: 900;
	letter-spacing: -.045em;
	margin-top: 28px !important;
}
.jc-hero-sub { font-size: 19px; max-width: 520px; color: rgba(255, 255, 255, .75); margin-top: 30px !important; }
.jc-hero-cta { margin-top: 38px !important; gap: 14px; }
.jc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px !important; }
.jc-chips > * { margin: 0 !important; }

/* Lá bài K♠ chứa ảnh chân dung */
.jc-card {
	position: relative;
	aspect-ratio: 5 / 7;
	width: 100%;
	max-width: 360px;
	justify-self: end;
	border-radius: 22px;
	padding: 3px;
	background: var(--jc-grad);
	transform: rotate(3deg);
	transition: transform .6s var(--jc-ease);
	box-shadow: 0 30px 60px rgba(0, 60, 180, .35);
}
.jc-card:hover { transform: rotate(0) translateY(-6px); }
.jc-card-photo > div { width: 100% !important; height: 100% !important; }
.jc-card-in { position: absolute !important; inset: 3px; margin: 0 !important; border-radius: 19px; background: linear-gradient(160deg, #10284f, #081733); }
.jc-card-in::before, .jc-card-in::after {
	content: "K";
	position: absolute;
	z-index: 2;
	font-family: var(--jc-head);
	font-weight: 800;
	font-size: 30px;
	line-height: 1;
	color: #fff;
	text-align: center;
	width: 26px;
	padding-bottom: 28px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300c2ff'%3E%3Cpath d='M12 2C9 6 3 9 3 13.5 3 16 5 18 7.5 18c1.4 0 2.6-.6 3.4-1.5L10 22h4l-.9-5.5c.8.9 2 1.5 3.4 1.5 2.5 0 4.5-2 4.5-4.5C21 9 15 6 12 2z'/%3E%3C/svg%3E") bottom center / 22px no-repeat;
}
.jc-card-in::before { top: 16px; left: 16px; }
.jc-card-in::after { bottom: 16px; right: 16px; transform: rotate(180deg); }
.jc-card-photo {
	position: absolute !important;
	inset: 58px 42px;
	margin: 0 !important;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 10px;
	overflow: hidden;
	background: radial-gradient(circle at 50% 35%, #163a75, #0a1a35 70%);
}
.jc-card-photo img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 30%; display: block; }
.jc-card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(7, 20, 43, .55)); pointer-events: none; }

/* ---------- Dải chữ chạy ---------- */
.jc-marquee { background: var(--jc-grad); overflow: hidden; padding: 20px 0; white-space: nowrap; margin-block: 0; }
.jc-marquee-text {
	margin: 0;
	max-width: none !important;
	font-family: var(--jc-head);
	font-size: clamp(20px, 2.8vw, 30px) !important;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -.01em;
	color: #fff;
}
.jc-marquee-text em { font-style: normal; color: transparent; -webkit-text-stroke: 1.2px #fff; background: none; }
.jc-marquee-track { display: inline-flex; gap: 44px; animation: jc-scroll 36s linear infinite; }
.jc-marquee-track > span { display: inline-block; }
@keyframes jc-scroll { to { transform: translateX(-50%); } }

/* ---------- Về mình ---------- */
.jc-about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: start; }
.jc-about-grid > * { margin: 0 !important; }
.jc-about-text p { font-size: 18.5px; color: var(--jc-muted); max-width: 620px; margin-block: 0 18px; }
.jc-about-text p strong { color: var(--jc-ink); }
.jc-about-text h2 { margin-block: 0 22px; }
.jc-sign { font-size: 24px !important; margin-top: 28px !important; color: var(--jc-blue) !important; }
.jc-facts { display: flex; flex-direction: column; gap: 14px; }
.jc-facts > * { margin: 0 !important; }
.jc-fact {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 14px;
	padding: 20px 22px;
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--jc-shadow);
	border-left: 4px solid var(--jc-cyan);
}
.jc-fact > *, .jc-fact > * > * { margin: 0 !important; }
.jc-fact-k { font-family: var(--jc-head); font-size: 12px !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--jc-blue); padding-top: 3px; }
.jc-fact-v { font-weight: 600; font-size: 16.5px !important; line-height: 1.4; }
.jc-fact-sub { font-size: 14px !important; color: var(--jc-muted); margin-top: 2px !important; line-height: 1.5; }

/* ---------- Lưới ---------- */
.jc-grid-2, .jc-grid-3 { display: grid; gap: 22px; margin-top: 60px !important; list-style: none; padding: 0; }
.jc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.jc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.jc-grid-2 > *, .jc-grid-3 > * { margin: 0 !important; max-width: none !important; }
.jc-grid-2 > li, .jc-grid-3 > li { display: flex; }
.jc-grid-2 > li > *, .jc-grid-3 > li > * { flex: 1; margin: 0; }

/* ---------- Thẻ ---------- */
.is-style-jc-card {
	position: relative;
	background: var(--jc-navy2);
	color: #fff;
	border: 1px solid var(--jc-line-d);
	border-radius: 22px;
	padding: 38px 32px 42px;
	transition: background .35s, transform .35s, border-color .35s;
}
.is-style-jc-card:hover { transform: translateY(-6px); }
.is-style-jc-card > * { margin-block: 0; }
.is-style-jc-card p { color: var(--jc-muted-d); font-size: 15.5px; }
.is-style-jc-card a { color: inherit; }
.jc-hover-grad:hover { background: var(--jc-grad); border-color: transparent; }
.jc-hover-grad:hover p, .jc-hover-grad:hover .is-style-jc-accent, .jc-hover-grad:hover .jc-no { color: #fff; }

.is-style-jc-card-light {
	background: #fff;
	color: var(--jc-ink);
	border-radius: 22px;
	padding: 34px 30px 38px;
	box-shadow: var(--jc-shadow);
	transition: transform .35s;
	text-align: left;
}
.is-style-jc-card-light:hover { transform: translateY(-6px); }
.is-style-jc-card-light p { color: var(--jc-muted); font-size: 15.5px; }

/* Triết lý */
.jc-pillar-img { margin: -22px -16px 26px !important; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; position: relative; background: #0a1a35; }
.jc-pillar-img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform .6s var(--jc-ease); }
.jc-pillar:hover .jc-pillar-img img { transform: scale(1.05); }
.jc-pillar-img figcaption {
	position: absolute;
	left: 12px;
	bottom: 12px;
	margin: 0;
	font-family: var(--jc-head);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(7, 20, 43, .7);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #fff;
}
.jc-no { font-family: var(--jc-head); font-size: 13px !important; font-weight: 700; letter-spacing: .2em; color: var(--jc-cyan) !important; }
.jc-pillar-title { font-size: clamp(36px, 3.8vw, 52px) !important; font-weight: 900; letter-spacing: -.04em; margin: 14px 0 6px !important; text-transform: uppercase; }
.jc-pillar .is-style-jc-accent { font-size: 18px; margin-bottom: 20px; color: var(--jc-cyan); }

/* Hành trình */
.jc-chapters { margin-top: 60px !important; }
.jc-chapter {
	display: grid;
	grid-template-columns: 200px 1fr 1.1fr;
	gap: 32px;
	align-items: baseline;
	padding: 30px 0;
	border-bottom: 1px solid var(--jc-line-l);
	transition: padding .35s;
	margin: 0 !important;
}
.jc-chapter:first-child { border-top: 1px solid var(--jc-line-l); }
.jc-chapter:hover { padding-left: 16px; }
.jc-chapter > * { margin: 0 !important; }
.jc-chapter-lbl { font-family: var(--jc-head); font-size: 12px !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--jc-blue); }
.jc-chapter-title { font-size: clamp(34px, 4.6vw, 58px) !important; font-weight: 900; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; }
.jc-chapter:hover .jc-chapter-title { background: var(--jc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jc-chapter > p:not(.jc-chapter-lbl) { font-size: 16.5px; color: var(--jc-muted); }
.jc-still { margin-top: 52px !important; font-size: clamp(20px, 2.8vw, 32px) !important; line-height: 1.3; }

/* Dự án */
.jc-builds .wp-block-post-template { counter-reset: jcbuild; }
.jc-build { padding: 42px 38px; overflow: hidden; counter-increment: jcbuild; display: flex; flex-direction: column; }
.jc-build::before {
	content: counter(jcbuild, decimal-leading-zero);
	position: absolute;
	top: 38px;
	right: 38px;
	font-family: var(--jc-head);
	font-size: 44px;
	font-weight: 900;
	opacity: .12;
}
.jc-build::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--jc-grad); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.jc-build:hover { border-color: rgba(0, 194, 255, .4); }
.jc-build:hover::after { transform: scaleX(1); }
.jc-build .wp-block-post-title { font-size: 28px !important; font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; padding-right: 64px; }
.jc-build .wp-block-post-title a { color: #fff; text-decoration: none; }
.jc-build .wp-block-post-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.jc-build .wp-block-post-excerpt { color: var(--jc-muted-d); max-width: 440px; }
.jc-build .wp-block-post-excerpt p { margin: 0; }
.jc-build .wp-block-post-excerpt__more-text { display: none; }
.jc-build-thumb { margin: -42px -38px 28px !important; }
.jc-build-thumb img { border-radius: 0; }
.jc-tag {
	align-self: flex-start;
	display: inline-block;
	margin-top: 18px !important;
	font-family: var(--jc-head);
	font-size: 11px !important;
	font-weight: 700;
	letter-spacing: .16em;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(0, 194, 255, .12);
	color: #8fe3ff !important;
}
.jc-tag:empty { display: none; }

/* Biểu tượng */
.jc-code-title { font-size: clamp(26px, 4.5vw, 64px) !important; font-weight: 300; color: #9aaccc; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 24px; }
.jc-code-title em { font-size: 2em; font-weight: 900; vertical-align: middle; }
.jc-sym > * { margin-block: 0; }
.jc-glyph { height: 110px; display: flex; align-items: center; gap: 16px; font-family: var(--jc-head); font-weight: 900; }
.jc-glyph-num { font-size: 84px; line-height: 1; letter-spacing: -.04em; background: var(--jc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jc-glyph-king { font-size: 70px; line-height: 1; color: var(--jc-ink); }
.jc-mini-card { width: 62px; height: 86px; border-radius: 9px; border: 2px solid var(--jc-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; transform: rotate(6deg); background: #fff; color: var(--jc-ink); }
.jc-mini-card b { font-size: 30px; }
.jc-mini-card svg { width: 24px; height: 24px; margin-top: 2px; }
.jc-reels { display: flex; gap: 6px; padding: 8px; border-radius: 14px; background: var(--jc-grad); }
.jc-reels span { width: 52px; height: 74px; border-radius: 8px; background: #fff; display: grid; place-items: center; font-size: 46px; color: var(--jc-blue); box-shadow: inset 0 -8px 12px rgba(29, 92, 255, .12); }
.jc-sym-title { font-size: 13px !important; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin: 22px 0 10px !important; color: var(--jc-blue); }
.jc-sym p { margin-bottom: 16px; }
.jc-sym .is-style-jc-accent { font-size: 18px; color: var(--jc-blue); }

/* Mạng xã hội */
.jc-channel { padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.jc-channel > * { margin: 0 !important; }
.jc-net { display: flex; justify-content: space-between; align-items: center; font-family: var(--jc-head); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--jc-cyan); }
.jc-net > * { margin: 0 !important; }
.jc-net p { color: inherit !important; font-size: 12px !important; }
.jc-channel h3 { font-size: 24px !important; font-weight: 800; letter-spacing: -.02em; }
.jc-channel h3 a { text-decoration: none; }
.jc-channel h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.jc-channel > p:not(.jc-go) { font-size: 15px; flex: 1; }
.jc-go { font-family: var(--jc-head); font-size: 14px !important; font-weight: 700; color: #fff !important; }
.jc-hover-grad:hover .jc-net { color: #fff; }

.jc-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px !important; }
.jc-topics > * { margin: 0 !important; }
.jc-topic { border: 1px solid rgba(0, 194, 255, .25); background: rgba(0, 194, 255, .08); border-radius: 999px; padding: 8px 16px; font-size: 14px !important; color: #cfe9ff; }
.jc-topic strong { color: var(--jc-cyan); font-family: var(--jc-head); margin-right: 8px; }

/* Thẻ bài viết */
.jc-post-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; color: var(--jc-ink); box-shadow: var(--jc-shadow); transition: transform .35s; position: relative; }
.jc-post-card:hover { transform: translateY(-6px); }
.is-style-jc-dark .jc-post-card { background: rgba(255, 255, 255, .04); color: #fff; border: 1px solid var(--jc-line-d); box-shadow: none; }
.jc-post-card > * { margin: 0 !important; }
.jc-post-thumb { margin: 0 !important; background: var(--jc-grad); }
.jc-post-thumb img { transition: transform .6s var(--jc-ease); }
.jc-post-card:hover .jc-post-thumb img { transform: scale(1.04); }
.jc-post-body { padding: 24px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.jc-post-body > * { margin: 0 !important; }
.jc-post-date { font-family: var(--jc-head); font-size: 12px !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--jc-blue); }
.is-style-jc-dark .jc-post-date { color: var(--jc-cyan); }
.jc-post-title { font-size: 22px !important; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.jc-post-title a { color: inherit !important; text-decoration: none; }
.jc-post-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.jc-post-excerpt { font-size: 15px; color: var(--jc-muted); }
.is-style-jc-dark .jc-post-excerpt { color: var(--jc-muted-d); }
.jc-post-excerpt p { margin: 0; }
.jc-post-excerpt .wp-block-post-excerpt__more-text { display: none; }
.jc-empty { opacity: .7; margin-top: 40px !important; }

/* Manifesto */
.jc-manifesto-quote { font-family: var(--jc-head); font-size: clamp(24px, 3.4vw, 42px) !important; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; max-width: 980px; margin-left: auto !important; margin-right: auto !important; }
.jc-manifesto-quote strong { font-weight: 900; }
.jc-manifesto-lines { margin-top: 40px !important; font-size: 18px; color: var(--jc-muted); line-height: 2; }
.jc-sig { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px !important; }
.jc-sig > p { margin: 0 !important; font-family: var(--jc-head); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 18px; border-radius: 999px; background: var(--jc-grad); color: #fff; }

/* Liên hệ */
.jc-contact { padding-top: 140px; padding-bottom: 140px; overflow: hidden; }
.jc-contact::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; background: #1d5cff; filter: blur(130px); opacity: .35; top: -320px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.jc-contact > * { position: relative; }
.jc-contact h2 { max-width: 900px; margin-left: auto !important; margin-right: auto !important; }
.jc-contact-cta { margin-top: 44px !important; gap: 14px; justify-content: center; }

/* ---------- Đầu trang con (Blog, Dự án, trang thường) ---------- */
.jc-page-hero { padding-top: 170px; padding-bottom: 80px; overflow: hidden; }
.jc-page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: #1d5cff; filter: blur(110px); opacity: .35; top: -240px; right: -160px; pointer-events: none; }
.jc-page-hero > * { position: relative; }
.jc-page-title { font-size: clamp(40px, 6.5vw, 88px) !important; font-weight: 900; letter-spacing: -.04em; line-height: 1.02; margin-top: 18px; }
.jc-single-hero .jc-page-title { font-size: clamp(34px, 5vw, 64px) !important; }
.jc-meta-row { gap: 14px; align-items: center; }
.jc-meta-row > * { margin: 0 !important; }
.jc-post-cats a { color: #8fe3ff; font-family: var(--jc-head); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.jc-back a { text-decoration: none; }
.jc-404-num { font-family: var(--jc-head); font-size: clamp(90px, 18vw, 200px) !important; font-weight: 900; line-height: 1; letter-spacing: -.05em; background: var(--jc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jc-404 { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }

.jc-archive { padding-top: 40px; }
.jc-archive .jc-grid-3, .jc-archive .jc-grid-2 { margin-top: 40px !important; }

/* Phân trang */
.jc-pagination { margin-top: 56px !important; gap: 8px; font-family: var(--jc-head); font-weight: 700; font-size: 14px; }
.jc-pagination a, .jc-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--jc-line-l); color: inherit !important; text-decoration: none; }
.is-style-jc-dark .jc-pagination a, .is-style-jc-dark .jc-pagination .page-numbers { border-color: var(--jc-line-d); }
.jc-pagination .current { background: var(--jc-grad); color: #fff; border-color: transparent; }

/* Tìm kiếm */
.jc-search { max-width: 560px; margin-top: 28px !important; }
.jc-search .wp-block-search__input { border-radius: 999px; padding: 12px 20px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; }
.jc-search .wp-block-search__button { margin-left: 8px; }

/* ---------- Nội dung bài viết / trang ---------- */
.jc-prose { background: var(--jc-bg); color: var(--jc-ink); padding-top: 72px; padding-bottom: 110px; margin-block: 0; }
.jc-prose .wp-block-post-content { font-size: 18px; line-height: 1.8; }
.jc-prose .wp-block-post-content > * { margin-block-start: 1.2em; }
.jc-prose :where(h2, h3, h4) { color: var(--jc-ink); margin-top: 1.8em !important; }
.jc-prose h2 { font-size: clamp(26px, 3.4vw, 38px); }
.jc-prose h3 { font-size: clamp(21px, 2.6vw, 27px); }
.jc-prose a:where(:not(.wp-element-button)) { color: var(--jc-blue); text-decoration: underline; text-underline-offset: 3px; }
.jc-prose blockquote { font-family: var(--jc-head); font-size: 1.2em; font-weight: 600; }
.jc-prose figure img { border-radius: 16px; }
.jc-prose figcaption { color: var(--jc-muted); text-align: center; }
.jc-prose .is-style-jc-dark em, .jc-prose .is-style-jc-light em { font-style: normal; }
.jc-single-thumb { margin-top: -140px !important; margin-bottom: 40px !important; position: relative; z-index: 2; }
.jc-single-thumb img { border-radius: 22px; box-shadow: 0 30px 60px rgba(0, 40, 120, .25); width: 100%; }
.jc-post-tags { margin-top: 48px !important; }
.jc-post-tags a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(29, 92, 255, .08); text-decoration: none !important; font-size: 14px; }
.jc-post-nav { margin-top: 48px !important; padding-top: 28px; border-top: 1px solid var(--jc-line-l); gap: 20px; font-family: var(--jc-head); font-weight: 700; }
.jc-post-nav a { text-decoration: none !important; }

/* ---------- Chân trang ---------- */
.jc-footer { background: #040d1d; padding-top: 32px; padding-bottom: 32px; font-size: 14px; color: rgba(255, 255, 255, .5); margin-block: 0; }
.jc-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.jc-footer-inner > * { margin: 0 !important; }
.jc-footer .is-style-jc-accent { font-size: 15px; }

/* Nút chat nổi góc phải */
.jc-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; margin: 0 !important; }
.jc-fab > * { margin: 0 !important; }
.jc-fab .wp-block-jaycee-icon a {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
	transition: transform .2s;
	position: relative;
	color: #fff;
}
.jc-fab .wp-block-jaycee-icon a:hover { transform: scale(1.08); }
.jc-fab-z a { background: #0068ff; }
.jc-fab-z a::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #0068ff; animation: jc-ring 2s infinite; }
.jc-fab-m a { background: linear-gradient(135deg, #00b2ff, #006aff); }
@keyframes jc-ring { to { transform: scale(1.5); opacity: 0; } }

/* ==========================================================================
   HIỆU ỨNG XUẤT HIỆN (chỉ chạy ngoài web, không ảnh hưởng trình soạn thảo)
   ========================================================================== */
.jc-js .jc-anim:not(.is-done),
.jc-js .jc-stagger:not(.is-done) > * {
	transition: opacity .8s ease, transform .8s var(--jc-ease), filter .8s ease;
	transition-delay: var(--jc-delay, 0ms);
}
.jc-js .jc-stagger:not(.is-done) > * { transition-delay: calc(var(--jc-delay, 0ms) + var(--jc-i, 0) * 120ms); }

.jc-js .jc-anim--fade-up.jc-anim:not(.is-in), .jc-js .jc-anim--fade-up.jc-stagger:not(.is-in) > * { opacity: 0; transform: translateY(30px); }
.jc-js .jc-anim--fade.jc-anim:not(.is-in), .jc-js .jc-anim--fade.jc-stagger:not(.is-in) > * { opacity: 0; }
.jc-js .jc-anim--zoom.jc-anim:not(.is-in), .jc-js .jc-anim--zoom.jc-stagger:not(.is-in) > * { opacity: 0; transform: scale(.9); }
.jc-js .jc-anim--slide-left.jc-anim:not(.is-in), .jc-js .jc-anim--slide-left.jc-stagger:not(.is-in) > * { opacity: 0; transform: translateX(-48px); }
.jc-js .jc-anim--slide-right.jc-anim:not(.is-in), .jc-js .jc-anim--slide-right.jc-stagger:not(.is-in) > * { opacity: 0; transform: translateX(48px); }
.jc-js .jc-anim--blur.jc-anim:not(.is-in), .jc-js .jc-anim--blur.jc-stagger:not(.is-in) > * { opacity: 0; filter: blur(14px); }
/* Lá bài giữ góc nghiêng khi phóng to */
.jc-js .jc-card.jc-anim--zoom:not(.is-in) { transform: rotate(3deg) scale(.9); }

/* Hiệu ứng lặp */
.jc-anim--float.jc-loop { animation: jc-float 5s ease-in-out infinite; }
.jc-anim--pulse.jc-loop { animation: jc-pulse 2.4s ease-in-out infinite; }
@keyframes jc-float { 50% { transform: translateY(-14px); } }
@keyframes jc-pulse { 50% { transform: scale(1.05); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.jc-js .jc-anim, .jc-js .jc-stagger > * { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ==========================================================================
   ĐIỆN THOẠI & MÁY TÍNH BẢNG
   ========================================================================== */
@media (max-width: 1080px) {
	.jc-menu { order: 3; margin-left: 0; }
	.jc-nav-inner .wp-block-jaycee-lang-switch, .jc-nav-inner .jc-lang { margin-left: auto !important; }
	.jc-burger { display: block; }
	.jc-menu-list {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 0;
		background: rgba(7, 20, 43, .98);
		padding: 8px 16px 20px;
	}
	.jc-menu.is-open .jc-menu-list { display: flex; }
	.jc-menu-list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--jc-line-d); }
	.jc-nav { background: rgba(7, 20, 43, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}
@media (max-width: 980px) {
	.jc-hero-grid, .jc-about-grid { grid-template-columns: 1fr; }
	.jc-about-grid { gap: 40px; }
	.jc-card { justify-self: start; max-width: 300px; }
	.jc-grid-3 { grid-template-columns: 1fr; }
	.jc-chapter { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 782px) {
	body.admin-bar .jc-nav { top: 46px; }
}
@media (max-width: 760px) {
	html body {
		--wp--style--root--padding-left: 16px;
		--wp--style--root--padding-right: 16px;
	}
	.is-style-jc-dark, .is-style-jc-light { padding-top: 88px; padding-bottom: 88px; }
	.jc-nav-inner { height: 68px; }
	.jc-nav-inner .jc-logo-name { display: none; }
	.jc-hero { padding-top: 110px; }
	.jc-hero-cta { flex-direction: column; align-items: stretch; }
	.jc-hero-cta .wp-block-button, .jc-contact-cta .wp-block-button { width: 100%; }
	.jc-hero-cta .wp-block-button__link, .jc-contact-cta .wp-block-button__link { width: 100%; justify-content: center; }
	.jc-contact-cta { flex-direction: column; align-items: stretch; }
	.jc-grid-2 { grid-template-columns: 1fr; }
	.jc-build { padding: 34px 24px; }
	.jc-build::before { top: 30px; right: 24px; }
	.jc-build-thumb { margin: -34px -24px 24px !important; }
	.jc-page-hero { padding-top: 130px; padding-bottom: 64px; }
	.jc-single-thumb { margin-top: -100px !important; }
	.jc-fact { grid-template-columns: 64px 1fr; padding: 18px; }
}

/* ==========================================================================
   TRONG TRÌNH SOẠN THẢO: menu & nút nổi không "dính" để dễ sửa
   ========================================================================== */
.editor-styles-wrapper .jc-nav { position: relative; top: 0 !important; background: var(--jc-navy); }
.editor-styles-wrapper .jc-fab { position: relative; right: auto; bottom: auto; flex-direction: row; justify-content: flex-end; padding: 16px; background: #040d1d; }
.editor-styles-wrapper .jc-hero { min-height: 0; }
