/* Nexus Corporate — gaya korporat bersih & modern (di luar theme.json) */

:root {
	--nx-radius: 16px;
	--nx-radius-sm: 12px;
	--nx-shadow: 0 1px 2px rgba(9, 28, 41, .05), 0 12px 32px -14px rgba(9, 28, 41, .18);
	--nx-shadow-hover: 0 2px 4px rgba(9, 28, 41, .06), 0 24px 48px -18px rgba(9, 28, 41, .28);
	--nx-ease: cubic-bezier(.2, .7, .2, 1);
	--nx-header-h: 84px;
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wp-site-blocks { overflow-x: clip; }
.wp-site-blocks > * { margin-block-start: 0; }
:where(.wp-site-blocks) :focus-visible { outline: 2px solid var(--wp--preset--color--signal); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }

/* ---------- Tipografi pendukung ---------- */
.is-style-eyebrow, .nexus-kicker {
	display: inline-flex; align-items: center; gap: .7rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--wp--preset--color--ocean);
	margin-bottom: .5rem;
}
.is-style-eyebrow::before, .nexus-kicker::before {
	content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--wp--preset--color--signal); flex: none;
}
.nexus-kicker { color: rgba(255, 255, 255, .9); }
.has-deep-background-color .is-style-eyebrow, .has-harbor-background-color .is-style-eyebrow, .nexus-page-head .is-style-eyebrow { color: var(--wp--preset--color--signal); }

.nexus-arrow-link { margin: 0; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: var(--wp--preset--font-size--sm); }
.nexus-arrow-link a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--wp--preset--color--ocean); }
.nexus-arrow-link a::after {
	content: ""; width: 34px; height: 34px; border-radius: 50%; flex: none;
	background: var(--wp--preset--color--ocean) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform .3s var(--nx-ease), background-color .3s;
}
.nexus-arrow-link a:hover::after { transform: translateX(4px); background-color: var(--wp--preset--color--harbor); }

.nexus-code {
	font-size: var(--wp--preset--font-size--xs); font-weight: 600; letter-spacing: .04em;
	color: var(--wp--preset--color--slate); margin: 0;
}

.wp-block-post-title a { text-decoration: none; color: inherit; transition: color .2s; }
.wp-block-post-title a:hover { color: var(--wp--preset--color--ocean); }
.wp-block-site-title a { text-decoration: none; }
.wp-block-pullquote { border-color: var(--wp--preset--color--signal); color: var(--wp--preset--color--harbor); }
.wp-block-quote { border-radius: 0 var(--nx-radius-sm) var(--nx-radius-sm) 0; background: var(--wp--preset--color--sky); padding: 1.25rem 1.5rem; }

/* Tombol */
.wp-block-button__link { transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--nx-ease), box-shadow .25s; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(27, 95, 168, .7); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--ocean); border: 1.5px solid currentColor; padding: calc(.8rem - 1.5px) calc(1.6rem - 1.5px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--ocean); color: #fff; border-color: var(--wp--preset--color--ocean); }

/* ---------- Header ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 60; }
.admin-bar header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.nexus-header {
	background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid rgba(9, 28, 41, .07);
	transition: background-color .35s, border-color .35s, box-shadow .35s, padding .35s;
}
.nexus-header .wp-block-navigation a { text-decoration: none; font-weight: 600; position: relative; }
.nexus-header .wp-block-navigation .wp-block-navigation-item__content { padding-block: .35rem; }
.nexus-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > a::after,
.nexus-header .wp-block-navigation .wp-block-page-list > .wp-block-navigation-item > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
	background: var(--wp--preset--color--signal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--nx-ease);
}
.nexus-header .wp-block-navigation a:hover::after, .nexus-header .wp-block-navigation .current-menu-item > a::after { transform: scaleX(1); }
.nexus-header .wp-block-navigation a:hover { color: var(--wp--preset--color--ocean); }
.nexus-header-cta .wp-block-button__link { padding: .65rem 1.25rem; font-size: .875rem; }

.nexus-brand .wp-block-site-title { font-size: 1.25rem; font-weight: 800; letter-spacing: .04em; line-height: 1.1; margin: 0; }
.nexus-brand .wp-block-site-title a { display: inline-flex; align-items: center; gap: .65rem; color: var(--wp--preset--color--harbor); }
.nexus-brand:not(:has(.wp-block-site-logo)) .wp-block-site-title a::before {
	content: ""; width: 38px; height: 38px; border-radius: 10px; flex: none;
	background: var(--wp--preset--color--harbor) url("nexus-icon-dummy.svg") center / 26px no-repeat;
}
.nexus-tagline { font-size: .72rem; font-weight: 500; color: var(--wp--preset--color--slate); margin: 0 0 0 calc(38px + .65rem) !important; line-height: 1.3; max-width: 260px; }

/* Header transparan di atas hero (beranda) */
header.wp-block-template-part.nexus-header-overlay { position: fixed; left: 0; right: 0; }
.nexus-header-overlay .nexus-header, .nexus-header-overlay.nexus-header {
	background: linear-gradient(180deg, rgba(9, 28, 41, .55), rgba(9, 28, 41, 0)); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
}
body:not(.is-scrolled) .nexus-header-overlay .wp-block-site-title a,
body:not(.is-scrolled) .nexus-header-overlay .wp-block-navigation a,
body:not(.is-scrolled) .nexus-header-overlay .wp-block-navigation__responsive-container-open { color: #fff; }
body:not(.is-scrolled) .nexus-header-overlay .nexus-tagline { color: rgba(255, 255, 255, .75); }
body:not(.is-scrolled) .nexus-header-overlay .wp-block-site-title a::before { background-color: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
body:not(.is-scrolled) .nexus-header-overlay .wp-block-navigation__responsive-container.is-menu-open a { color: #fff; }
body.is-scrolled .nexus-header-overlay .nexus-header, body.is-scrolled .nexus-header-overlay.nexus-header {
	background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom-color: rgba(9, 28, 41, .07); box-shadow: 0 8px 30px -20px rgba(9, 28, 41, .4);
	padding-top: .65rem !important; padding-bottom: .65rem !important;
}

/* ---------- Hero slider sinematik ---------- */
.nexus-hero-slider {
	--nx-dur: 8s;
	position: relative; isolation: isolate; overflow: hidden;
	height: max(620px, min(100svh, 940px)); background: var(--wp--preset--color--deep); color: #fff;
}
.nexus-hero-slider > .nexus-slide {
	position: absolute !important; inset: 0; margin: 0 !important; min-height: 100% !important; height: 100%;
	max-width: none !important; width: 100%;
	padding: calc(var(--nx-header-h) + 1.5rem) clamp(16px, 4vw, 40px) 12.5rem !important;
	align-items: center !important; justify-content: flex-start !important;
	opacity: 0; visibility: hidden; z-index: 1;
	transition: opacity 1.3s ease, visibility 0s linear 1.3s;
}
.nexus-hero-slider > .nexus-slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity 1.3s ease, visibility 0s; }
.nexus-hero-slider:not(.is-ready) > .nexus-slide:first-of-type { opacity: 1; visibility: visible; }
.nexus-slide .wp-block-cover__image-background, .nexus-slide .wp-block-cover__video-background { transform: scale(1.14); transform-origin: 65% 50%; will-change: transform; }
.nexus-slide.is-active .wp-block-cover__image-background, .nexus-slide.is-active .wp-block-cover__video-background { animation: nexus-kb calc(var(--nx-dur) + 2s) cubic-bezier(.25, .1, .25, 1) forwards; }
.nexus-slide:nth-of-type(even).is-active .wp-block-cover__image-background { animation-name: nexus-kb-alt; }
@keyframes nexus-kb { from { transform: scale(1.14) translate3d(1.5%, 0, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
@keyframes nexus-kb-alt { from { transform: scale(1.02) translate3d(-1%, 1%, 0); } to { transform: scale(1.14) translate3d(1.5%, -1%, 0); } }
.nexus-slide::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(6, 21, 33, .9) 0%, rgba(9, 28, 41, .62) 40%, rgba(9, 28, 41, .1) 75%),
		linear-gradient(0deg, rgba(6, 21, 33, .85) 0%, rgba(6, 21, 33, 0) 38%),
		linear-gradient(180deg, rgba(6, 21, 33, .55) 0%, rgba(6, 21, 33, 0) 22%);
}
.nexus-slide .wp-block-cover__inner-container { position: relative; z-index: 3; width: 100%; max-width: var(--wp--style--global--wide-size) !important; margin-inline: auto; color: #fff; }
.nexus-slide .wp-block-cover__inner-container > * { margin-left: 0 !important; max-width: 760px; }
.nexus-slide-label { display: none; }
.nexus-hero-title { color: #fff !important; font-weight: 800; letter-spacing: -.028em; line-height: 1.04 !important; max-width: 15ch !important; margin-top: .9rem !important; }
.nexus-hero-lead { color: rgba(255, 255, 255, .84); max-width: 52ch !important; margin-top: 1.25rem !important; }
.nexus-slide .wp-block-buttons { margin-top: 2.1rem !important; gap: .85rem; }
.nexus-slide .is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .7); }
.nexus-slide .is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--harbor); border-color: #fff; }
/* teks masuk bertahap tiap slide aktif */
.nexus-slide .wp-block-cover__inner-container > * { opacity: 0; transform: translateY(26px); }
.nexus-hero-slider:not(.is-ready) .nexus-slide .wp-block-cover__inner-container > * { opacity: 1; transform: none; }
.nexus-slide.is-active .wp-block-cover__inner-container > * { animation: nexus-rise 1s var(--nx-ease) forwards; }
.nexus-slide.is-active .wp-block-cover__inner-container > *:nth-child(3) { animation: nexus-reveal 1.1s var(--nx-ease) .15s forwards; }
.nexus-slide.is-active .wp-block-cover__inner-container > *:nth-child(4) { animation-delay: .35s; }
.nexus-slide.is-active .wp-block-cover__inner-container > *:nth-child(5) { animation-delay: .5s; }
@keyframes nexus-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes nexus-reveal { from { opacity: 0; transform: translateY(40px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -10% 0); } }
/* watermark dummy otomatis */
.nexus-hero-slider::after {
	content: ""; position: absolute; z-index: 4; pointer-events: none; right: clamp(16px, 4vw, 40px); top: calc(var(--nx-header-h) + 1.25rem);
	width: 118px; aspect-ratio: 4 / 1; background: url("nexus-logo-dummy-putih.png") right center / contain no-repeat; opacity: .75;
}

/* Di editor: slide ditumpuk agar semuanya bisa diedit */
.nexus-hero-slider.block-editor-block-list__block { height: auto; overflow: visible; display: flex; flex-direction: column; gap: 4px; }
.nexus-hero-slider > .nexus-slide.block-editor-block-list__block { position: relative !important; inset: auto; height: auto; min-height: 560px !important; opacity: 1; visibility: visible; padding-bottom: 3rem !important; }
.block-editor-block-list__block.nexus-slide .wp-block-cover__inner-container > * { opacity: 1 !important; transform: none !important; animation: none !important; }
.block-editor-block-list__block.nexus-slide .wp-block-cover__image-background, .block-editor-block-list__block.nexus-slide .wp-block-cover__video-background { transform: none; animation: none; }
.block-editor-block-list__block.nexus-slide .nexus-slide-label { display: inline-block; font-size: .75rem; font-weight: 700; background: var(--wp--preset--color--signal); color: var(--wp--preset--color--deep); padding: .2rem .6rem; border-radius: 999px; }
.block-editor-block-list__block.nexus-slide .nexus-slide-label::before { content: "Label tab: "; }

/* navigasi: tab + progres */
.nexus-hero-nav {
	position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(6.5rem + 1.6rem);
	padding-inline: clamp(16px, 4vw, 40px);
}
.nexus-hero-nav-inner { max-width: var(--wp--style--global--wide-size); margin: 0 auto; display: flex; align-items: flex-end; gap: clamp(1rem, 3vw, 2.5rem); }
.nexus-hero-tabs { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: clamp(.75rem, 2vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
.nexus-hero-tab {
	all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; padding-top: 1rem; position: relative;
	color: rgba(255, 255, 255, .6); font-family: var(--wp--preset--font-family--display); font-size: .82rem; font-weight: 600; line-height: 1.35;
	transition: color .3s;
}
.nexus-hero-tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255, 255, 255, .25); border-radius: 2px; }
.nexus-hero-tab i { position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--wp--preset--color--signal); border-radius: 2px; transform: scaleX(0); transform-origin: left; }
.nexus-hero-tab b { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: rgba(255, 255, 255, .5); margin-bottom: .2rem; }
.nexus-hero-tab:hover, .nexus-hero-tab.is-active { color: #fff; }
.nexus-hero-tab.is-active b { color: var(--wp--preset--color--signal); }
.nexus-hero-tab.is-active i { animation: nexus-progress var(--nx-dur) linear forwards; }
.nexus-hero-tab.is-done i { transform: scaleX(1); opacity: .45; }
.nexus-hero-slider.is-paused .nexus-hero-tab.is-active i { animation-play-state: paused; }
.nexus-hero-tab:focus-visible { outline: 2px solid var(--wp--preset--color--signal); outline-offset: 4px; }
@keyframes nexus-progress { to { transform: scaleX(1); } }
.nexus-hero-ctrl { display: flex; align-items: center; gap: .5rem; flex: none; }
.nexus-hero-count { font-family: var(--wp--preset--font-family--display); font-size: .82rem; font-weight: 700; color: rgba(255, 255, 255, .6); margin-right: .5rem; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.nexus-hero-count strong { color: #fff; font-size: 1.35rem; }
.nexus-hero-btn {
	all: unset; box-sizing: border-box; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
	border: 1px solid rgba(255, 255, 255, .4); color: #fff; transition: background-color .25s, border-color .25s, color .25s;
}
.nexus-hero-btn svg { width: 18px; height: 18px; }
.nexus-hero-btn:hover { background: #fff; color: var(--wp--preset--color--harbor); border-color: #fff; }
.nexus-hero-btn:focus-visible { outline: 2px solid var(--wp--preset--color--signal); outline-offset: 3px; }
.nexus-hero-btn .i-play { display: none; }
.nexus-hero-slider.is-paused .nexus-hero-btn .i-play { display: block; }
.nexus-hero-slider.is-paused .nexus-hero-btn .i-pause { display: none; }

/* ---------- Statistik melayang ---------- */
.nexus-stats-wrap { position: relative; z-index: 5; margin-top: -6.5rem !important; padding-inline: clamp(16px, 4vw, 40px); }
.nexus-stats-wrap > * { max-width: var(--wp--style--global--wide-size) !important; }
.nexus-stats {
	background: #fff; border-radius: 20px; box-shadow: var(--nx-shadow-hover);
	padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.75rem); gap: 0 !important;
}
.nexus-stat { padding: .5rem clamp(.75rem, 2vw, 1.75rem); border-left: 1px solid var(--wp--preset--color--mist); }
.nexus-stat:first-child { border-left: 0; }
.nexus-count { line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 0; color: var(--wp--preset--color--ocean) !important; }
.nexus-dummy-note { margin-top: .75rem !important; text-align: right; font-size: .72rem !important; }

/* ---------- Seksi ---------- */
.nexus-section { padding-top: clamp(4rem, 9vw, 7.5rem); padding-bottom: clamp(4rem, 9vw, 7.5rem); margin-top: 0 !important; }
.nexus-section-tight { padding-top: clamp(2rem, 4vw, 3rem); }
.nexus-bg-sky { background: var(--wp--preset--color--sky); }
.nexus-section-head { margin-bottom: clamp(2rem, 4vw, 3rem) !important; gap: 1.5rem; }
.nexus-section > .wp-block-group:first-child { margin-bottom: clamp(2rem, 4vw, 3rem); }
.nexus-section h2.wp-block-heading { max-width: 22ch; }
.nexus-main-pad { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(3rem, 7vw, 6rem); }

.nexus-rounded-img, .nexus-rounded-img img { border-radius: var(--nx-radius); overflow: hidden; }
.nexus-rounded-img { box-shadow: var(--nx-shadow); position: relative; }
.nexus-rounded-img img { display: block; width: 100%; transition: transform 1s var(--nx-ease); }
.nexus-rounded-img:hover img { transform: scale(1.03); }

/* ---------- Kartu ---------- */
.nexus-card, .is-style-nexus-card {
	background: #fff; border-radius: var(--nx-radius); box-shadow: var(--nx-shadow); overflow: hidden;
	border: 1px solid rgba(9, 28, 41, .05); height: 100%;
	transition: transform .35s var(--nx-ease), box-shadow .35s var(--nx-ease);
}
.is-style-nexus-card { padding: 1.75rem; }
.nexus-card:hover, .is-style-nexus-card:hover { transform: translateY(-6px); box-shadow: var(--nx-shadow-hover); }
.nexus-card > .wp-block-image, .nexus-card > .wp-block-post-featured-image { margin: 0 0 1.25rem; }
.nexus-zoom, .wp-block-post-featured-image { overflow: hidden; }
.nexus-zoom img, .wp-block-post-featured-image img { transition: transform .8s var(--nx-ease); display: block; width: 100%; }
.nexus-card:hover .nexus-zoom img, .nexus-card:hover .wp-block-post-featured-image img, .nexus-zoom:hover img { transform: scale(1.06); }
.nexus-post-card { display: flex; flex-direction: column; padding-bottom: 1.6rem; }
.nexus-post-card > *:not(.wp-block-post-featured-image) { padding-inline: 1.5rem; margin-top: 0; }
.nexus-post-card > * + * { margin-top: .55rem !important; }
.nexus-post-card > .wp-block-post-featured-image + * { margin-top: 0 !important; }
.nexus-post-card .wp-block-post-excerpt { color: var(--wp--preset--color--slate); }
.nexus-post-card .wp-block-post-excerpt__more-text { display: none; }
.nexus-post-card .wp-block-post-date { color: var(--wp--preset--color--ocean); font-weight: 600; }
.wp-block-post-template.is-layout-grid { gap: clamp(1.25rem, 2.5vw, 2rem); }

.nexus-media-card { overflow: hidden; display: flex; flex-direction: column; gap: 1rem; }
.nexus-media-card > .wp-block-image { margin: 0; }
.nexus-media-card.is-style-nexus-card { padding: 0 0 1.5rem; }
.nexus-media-card.is-style-nexus-card > *:not(.wp-block-image) { padding-inline: 1.5rem; }

/* Tanggal agenda */
.nexus-date-badge {
	display: inline-flex; align-items: baseline; gap: .45rem; margin: 0;
	font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--slate);
}
.nexus-date-badge strong { font-size: 2.1rem; font-weight: 800; color: var(--wp--preset--color--ocean); letter-spacing: -.02em; line-height: 1; }
.nexus-event { position: relative; }

/* ---------- Ubin bidang ---------- */
.nexus-tiles { display: grid !important; grid-template-columns: repeat(6, 1fr); gap: clamp(.9rem, 1.6vw, 1.5rem); max-width: var(--wp--style--global--wide-size) !important; }
.nexus-tiles > * { margin: 0 !important; }
.nexus-tile { grid-column: span 2; border-radius: var(--nx-radius); overflow: hidden; padding: 1.75rem !important; align-items: flex-end !important; }
.nexus-tile:nth-child(4), .nexus-tile:nth-child(5) { grid-column: span 3; }
.nexus-tile .wp-block-cover__image-background { transition: transform 1.1s var(--nx-ease); }
.nexus-tile:hover .wp-block-cover__image-background { transform: scale(1.07); }
.nexus-tile::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(180deg, rgba(9, 28, 41, .05) 20%, rgba(9, 28, 41, .55) 58%, rgba(9, 28, 41, .92) 100%);
	transition: opacity .4s;
}
.nexus-tile .wp-block-cover__inner-container { position: relative; z-index: 2; color: #fff; }
.nexus-tile h3 { color: #fff; font-size: 1.35rem; margin: .35rem 0 0; max-width: 20ch; }
.nexus-tile-code { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--wp--preset--color--signal); }
.nexus-tile-text {
	margin: .5rem 0 0; font-size: var(--wp--preset--font-size--sm); color: rgba(255, 255, 255, .82); line-height: 1.5;
	max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--nx-ease), opacity .4s;
}
.nexus-tile:hover .nexus-tile-text, .nexus-tile:focus-within .nexus-tile-text { max-height: 6em; opacity: 1; }
@media (hover: none) { .nexus-tile-text { max-height: none; opacity: 1; } }

/* ---------- Pita foto & CTA ---------- */
.nexus-band { padding-top: clamp(4rem, 10vw, 7rem) !important; padding-bottom: clamp(4rem, 10vw, 7rem) !important; margin-top: 0 !important; }
.nexus-band::after, .nexus-cta-band::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(90deg, rgba(9, 28, 41, .9) 0%, rgba(15, 44, 63, .7) 45%, rgba(15, 44, 63, .15) 100%);
}
.nexus-band .wp-block-cover__inner-container, .nexus-cta-band .wp-block-cover__inner-container { position: relative; z-index: 2; color: #fff; }
.nexus-band h2, .nexus-cta-band h2 { color: #fff; }
.nexus-band p:not(.nexus-kicker), .nexus-cta-band p:not(.nexus-kicker) { color: rgba(255, 255, 255, .85); }
.nexus-band .is-style-outline > .wp-block-button__link, .nexus-cta-band .is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .7); }
.nexus-band .is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--harbor); border-color: #fff; }
.nexus-band .wp-block-cover__image-background { transform: scale(1.02); }
.nexus-cta-band { border-radius: 24px; overflow: hidden; padding: clamp(2rem, 5vw, 4rem) !important; max-width: var(--wp--style--global--wide-size) !important; }
.nexus-cta-band::after { background: linear-gradient(100deg, rgba(27, 95, 168, .95) 0%, rgba(15, 44, 63, .85) 55%, rgba(9, 28, 41, .55) 100%); }
.nexus-btn-light > .wp-block-button__link { background: #fff; color: var(--wp--preset--color--harbor); }
.nexus-btn-light > .wp-block-button__link:hover { background: var(--wp--preset--color--signal); color: var(--wp--preset--color--deep); }

/* ---------- Kepala halaman ---------- */
.nexus-page-head {
	position: relative; overflow: hidden; margin-top: 0 !important;
	background: linear-gradient(120deg, var(--wp--preset--color--deep) 0%, var(--wp--preset--color--harbor) 60%, #164a6e 100%);
	padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3rem, 7vw, 5rem);
}
.nexus-page-head::after {
	content: ""; position: absolute; right: -6%; top: -40%; width: 46%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(27, 95, 168, .45), rgba(27, 95, 168, 0) 70%);
}
.nexus-page-head > * { position: relative; z-index: 1; }
.nexus-page-head .wp-block-post-title, .nexus-page-head h1 { color: #fff; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.nexus-page-head .wp-block-post-title::after, .nexus-page-head h1::after {
	content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: 1.25rem; background: var(--wp--preset--color--signal);
}
.nexus-page-head p, .nexus-page-head .wp-block-term-description { color: rgba(255, 255, 255, .78); }
.nexus-page-body { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 6rem); }

/* ---------- Konten halaman dari plugin ---------- */
.is-style-route { position: relative; padding-left: 2rem !important; }
.is-style-route::before { content: ""; position: absolute; left: .45rem; top: .4rem; bottom: .4rem; border-left: 2px solid var(--wp--preset--color--mist); }
.is-style-route > *::before { content: none; }
.is-style-route > h3, .is-style-route > h4 { position: relative; }
.is-style-route > h3::after, .is-style-route > h4::after {
	content: ""; position: absolute; left: -1.95rem; top: .3em; width: .8rem; height: .8rem; border-radius: 50%;
	background: #fff; border: 3px solid var(--wp--preset--color--ocean); box-sizing: border-box;
}

.is-style-placeholder {
	background: #fff8ea; border: 1px dashed var(--wp--preset--color--signal); border-radius: var(--nx-radius-sm);
	padding: .85rem 1.1rem; font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--ink);
}

.nexus-avatar {
	width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0;
	font-weight: 800; font-size: 1.35rem; letter-spacing: .02em;
	background: linear-gradient(135deg, var(--wp--preset--color--ocean), var(--wp--preset--color--harbor)); color: #fff;
	box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--wp--preset--color--mist);
}
.nexus-avatar.alt { background: linear-gradient(135deg, var(--wp--preset--color--channel), #1f5b61); }

.nexus-book img { border-radius: 6px; box-shadow: 0 18px 30px -16px rgba(9, 28, 41, .55); transition: transform .4s var(--nx-ease); }
.nexus-book:hover img, .wp-block-post-template li:hover .nexus-book img { transform: translateY(-6px); }
.nexus-books > li { display: flex; flex-direction: column; gap: .5rem; }
.has-deep-background-color .wp-block-post-title, .has-deep-background-color .wp-block-post-title a { color: #fff; }
.has-deep-background-color .wp-block-post-terms a { color: var(--wp--preset--color--signal); text-decoration: none; }
.wp-block-post-terms a { text-decoration: none; }

.nexus-zoom-media .wp-block-media-text__media { overflow: hidden; border-radius: var(--nx-radius); }
.nexus-zoom-media .wp-block-media-text__media img { transition: transform .8s var(--nx-ease); }
.nexus-zoom-media:hover .wp-block-media-text__media img { transform: scale(1.04); }
.wp-block-media-text + .wp-block-media-text { margin-top: var(--wp--preset--spacing--40); }
.wp-block-image.is-style-rounded img, .wp-block-media-text__media img { border-radius: var(--nx-radius); }
.nexus-page-body .wp-block-image:not(.wp-block-gallery .wp-block-image) { border-radius: var(--nx-radius-sm); overflow: hidden; }

.nexus-pub-meta {
	display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.5rem; padding: 1.25rem 1.5rem;
	background: var(--wp--preset--color--sky); border-radius: var(--nx-radius-sm); font-size: var(--wp--preset--font-size--sm);
}
.nexus-pub-meta dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--wp--preset--color--slate); }
.nexus-pub-meta dd { margin: 0; }

.wp-block-gallery.nexus-gallery { gap: 1.25rem !important; }
.wp-block-gallery.nexus-gallery figure.wp-block-image { flex-direction: column !important; align-items: stretch; }
.wp-block-gallery.nexus-gallery figure.wp-block-image img {
	aspect-ratio: 16 / 10; object-fit: cover; object-position: right center; height: auto !important;
	border-radius: var(--nx-radius-sm); transition: transform .8s var(--nx-ease);
}
.wp-block-gallery.nexus-gallery figure.wp-block-image figcaption {
	position: static; background: none; color: var(--wp--preset--color--slate); max-height: none; padding: .6rem 0 0; text-align: left;
	font-size: var(--wp--preset--font-size--xs); font-weight: 500; text-shadow: none;
}
.wp-block-gallery.nexus-gallery figure.wp-block-image:before { display: none; }

/* Form & tabel bawaan */
.wp-block-table table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--wp--preset--color--mist); border-radius: var(--nx-radius-sm); overflow: hidden; }
.wp-block-table th { background: var(--wp--preset--color--sky); text-align: left; }
.wp-block-table td, .wp-block-table th { border: 0; border-top: 1px solid var(--wp--preset--color--mist); padding: .75rem 1rem; }
.wp-block-table tr:first-child td, .wp-block-table thead th { border-top: 0; }
.wp-block-separator { border-top-width: 1px; opacity: 1; }
.wp-block-details { border: 1px solid var(--wp--preset--color--mist); border-radius: var(--nx-radius-sm); padding: 1rem 1.25rem; background: #fff; }
.wp-block-details summary { font-weight: 700; color: var(--wp--preset--color--harbor); cursor: pointer; }
.wp-block-query-pagination { margin-top: 3rem; font-weight: 600; }
.wp-block-query-pagination-numbers .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; text-decoration: none; }
.wp-block-query-pagination-numbers .current { background: var(--wp--preset--color--ocean); color: #fff; }

/* ---------- Footer ---------- */
.nexus-footer { position: relative; overflow: hidden; }
.nexus-footer a { text-decoration: none; transition: color .2s; }
.nexus-footer a:hover { color: #fff !important; }
.nexus-footer .is-style-eyebrow { color: #fff; font-size: .78rem; letter-spacing: .12em; }
.nexus-footer .is-style-eyebrow::before { width: 18px; }
.nexus-footer-brand .wp-block-site-title { font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; margin: 0; }
.nexus-footer-brand .wp-block-site-title a { display: inline-flex; align-items: center; gap: .65rem; color: #fff; }
.nexus-footer-brand .wp-block-site-title a::before {
	content: ""; width: 40px; height: 40px; border-radius: 10px; flex: none;
	background: rgba(255, 255, 255, .08) url("nexus-icon-dummy.svg") center / 26px no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.nexus-links { list-style: none; padding-left: 0; line-height: 2.1; margin: 0; }
.nexus-contact { line-height: 1.9; }
.nexus-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.nexus-footer-bottom p { margin: 0; }
.nexus-newsletter {
	background: linear-gradient(110deg, var(--wp--preset--color--ocean), #174f8c); border-radius: 20px;
	padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem) !important; margin-bottom: clamp(3rem, 6vw, 4.5rem) !important;
}
.nexus-newsletter h2 { color: #fff; margin: 0; }
.nexus-newsletter p { color: rgba(255, 255, 255, .85); margin: .35rem 0 0; }

/* ---------- Penanda data contoh ---------- */
.nexus-demo-bar {
	position: fixed; left: 16px; bottom: 16px; z-index: 90;
	display: inline-flex; align-items: center; gap: .5rem; max-width: calc(100vw - 32px);
	background: var(--wp--preset--color--signal); color: var(--wp--preset--color--deep);
	font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .5rem .95rem; border-radius: 999px;
	box-shadow: 0 10px 24px -10px rgba(9, 28, 41, .5);
}

/* ---------- Responsif ---------- */
@media (max-width: 1100px) {
	.nexus-tiles { grid-template-columns: repeat(2, 1fr); }
	.nexus-tile, .nexus-tile:nth-child(4) { grid-column: span 1; }
	.nexus-tile:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 781px) {
	:root { --nx-header-h: 68px; }
	.nexus-tagline, .nexus-header-cta { display: none !important; }
	.nexus-hero-slider { height: max(640px, 100svh); }
	.nexus-hero-slider > .nexus-slide { padding-bottom: 11.5rem !important; align-items: flex-end !important; }
	.nexus-slide::after { background: linear-gradient(0deg, rgba(6, 21, 33, .95) 0%, rgba(6, 21, 33, .7) 45%, rgba(6, 21, 33, .3) 100%); }
	.nexus-hero-title { font-size: 2.35rem !important; }
	.nexus-hero-lead { font-size: 1.02rem !important; }
	.nexus-hero-nav { bottom: calc(4rem + 1.25rem); }
	.nexus-hero-tab { font-size: 0; padding-top: .7rem; }
	.nexus-hero-tab b { font-size: .68rem; margin: 0; }
	.nexus-hero-count, .nexus-hero-btn.is-arrow { display: none; }
	.nexus-hero-btn { width: 38px; height: 38px; }
	.nexus-hero-slider::after { width: 92px; }
	.nexus-slide .wp-block-cover__image-background, .nexus-slide .wp-block-cover__video-background { object-position: 66% 50% !important; }
	.nexus-stats-wrap { margin-top: -4rem !important; }
	.nexus-stats { grid-template-columns: repeat(2, 1fr) !important; }
	.nexus-stat { padding: 1rem .75rem; border-left: 0; }
	.nexus-stat:nth-child(even) { border-left: 1px solid var(--wp--preset--color--mist); }
	.nexus-stat:nth-child(n+3) { border-top: 1px solid var(--wp--preset--color--mist); }
	.nexus-count { font-size: 2.3rem !important; }
	.nexus-dummy-note { text-align: left; }
	.nexus-tiles { grid-template-columns: 1fr; }
	.nexus-tile, .nexus-tile:nth-child(n) { grid-column: auto; min-height: 260px !important; }
	.nexus-tile-text { max-height: none; opacity: 1; }
	.nexus-band::after { background: linear-gradient(0deg, rgba(9, 28, 41, .92), rgba(15, 44, 63, .6)); }
	.nexus-cta-band .wp-block-buttons { justify-content: flex-start !important; }
	.nexus-section h2.wp-block-heading { font-size: 2rem !important; }
	.wp-block-post-template.nexus-books { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.5rem 1rem; }
	.nexus-books .wp-block-post-title { font-size: 1rem !important; }
	.nexus-demo-bar { left: 50%; transform: translateX(-50%); bottom: 12px; white-space: nowrap; font-size: .66rem; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.nexus-slide .wp-block-cover__inner-container > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.nexus-slide .wp-block-cover__image-background, .nexus-slide .wp-block-cover__video-background { transform: none; }
	.nexus-hero-tab.is-active i { transform: scaleX(1); }
}
