/* KlikServer: lapisan gaya di atas Klikweb Universal (palet & font di demos/klikserver/style.json).
 * Merek dari Avada prod: navy #05043d, biru #0e0bba, oranye #f8921e, Work Sans.
 * Tombol aksi oranye memakai teks navy (kontras 8,4:1; putih di oranye hanya 2,3:1). */
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/work-sans-latin-wght-normal.woff2) format("woff2"); }

.kss-cta .wp-block-button__link, .wp-block-button.is-style-kss-cta .wp-block-button__link { background: #f8921e; color: #05043d; }
.kss-cta .wp-block-button__link:hover, .wp-block-button.is-style-kss-cta .wp-block-button__link:hover { background: #ffa94a; color: #05043d; }

/* Header gelap: logo putih prod. */
.kwu-header .custom-logo { height: auto; max-width: 172px; }
.kss-lang-switch { display: flex; gap: .5rem; font-size: .875rem; }
.kss-lang-switch a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Footer navy seperti prod. */
.kss-footer { background: #05043d !important; color: #fff; padding-block: var(--wp--preset--spacing--70, 3.5rem) var(--wp--preset--spacing--40, 1.5rem); margin-top: 0 !important; }
.kss-footer a { color: #fff; }
.kss-footer a:hover { color: #f8921e; }
.kss-footer__title { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; color: #fff; }
.kss-footer__contact { color: #c9c9e8; font-size: .9375rem; margin-block: 0 .75rem; }
.kss-footer__legal { color: #c9c9e8; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1rem; margin-top: 2rem; }
.kss-footer .kwu-footer__social { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }

/* Hero navy (teks putih), dipakai section pertama tiap halaman. */
.kss-hero { color: #fff; padding-block: clamp(3rem, 8vw, 6rem); }
.kss-hero h1, .kss-hero a:not(.wp-block-button__link) { color: #fff; }
.kss-hero p { color: #e3e3f5; font-size: 1.125rem; }
.kss-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }

/* Kartu: judul tautan tanpa garis bawah, tautan "Explore …" oranye tua agar kontras di latar putih. */
.kwu-card-x h2 a, .kwu-card-x h3 a { color: inherit; text-decoration: none; }
.kwu-card-x .wp-block-image img { width: 72px; height: auto; }
.kss-more a { color: var(--wp--preset--color--primary); }

/* Gambar pendamping teks dibatasi agar tidak terlalu tinggi. */
.kss-split .wp-block-image img { max-height: 420px; width: auto; margin-inline: auto; display: block; }

/* Logo pelanggan/mitra: grid rata, abu-abu sampai disentuh. */
.kss-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem 1.5rem; align-items: center; }
.kss-logos .wp-block-image { margin: 0; }
.kss-logos img { width: 100%; height: auto; max-height: 72px; object-fit: contain; }

/* Tabel spesifikasi/perbandingan: bisa digeser di HP. */
.kss-table { overflow-x: auto; }
.kss-table table { min-width: 560px; border-collapse: collapse; }
.kss-table th, .kss-table td { border: 1px solid var(--wp--preset--color--border); padding: .5rem .75rem; text-align: left; vertical-align: top; }
.kss-table thead th { background: var(--wp--preset--color--surface); }

/* ===== Tata letak halaman (4 Des: "tampilan belum rapi") ===== */
/* Lebar konten 1.200 px; teks tunggal ±880 px agar nyaman dibaca. */
.kwu-section.is-layout-constrained > :where(:not(.alignfull):not(.alignwide)) { max-width: 1200px; }
.kwu-section.is-layout-constrained > :is(p, h2, h3, .wp-block-list, .wp-block-details, .wp-block-buttons, .wp-block-table) { max-width: 880px; }
.kwu-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.kwu-section h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.2; margin-bottom: 1rem; }
/* Section dengan grid kartu: judul & intro di tengah. */
.kwu-section:has(> .kwu-grid) > :is(h2, p) { text-align: center; }
.kwu-section > .kwu-grid { margin-top: 2rem; gap: 1.5rem; }

/* Kartu: latar putih, garis halus, sudut membulat. */
.kwu-card-x { background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: 14px; padding: 1.5rem; box-shadow: 0 1px 2px rgba(5,4,61,.04), 0 8px 24px rgba(5,4,61,.06); }
.kwu-card-x .wp-block-image img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; }
.kwu-card-x h2, .kwu-card-x h3 { font-size: 1.2rem !important; line-height: 1.3; }
.kwu-card-x p { color: var(--wp--preset--color--muted); }
/* Kartu fitur kecil (ikon + judul saja): 2 kolom di HP, rata tengah. */
.kwu-grid:not(:has(.kwu-card-x p)) .kwu-card-x { align-items: center; text-align: center; padding: 1.25rem 1rem; }
@media (max-width: 781px) { .kwu-grid:not(:has(.kwu-card-x p)) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* Tautan "Explore …": tebal, warna utama, panah. */
.kss-more { margin-top: auto !important; }
.kss-more a { color: var(--wp--preset--color--primary); text-decoration: none; font-weight: 700; }
.kss-more a::after { content: " →"; }
.kss-more a:hover { text-decoration: underline; }

/* Checklist 2 kolom (daftar keunggulan Avada). */
.kss-check { list-style: none; padding-left: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .6rem 1.5rem; }
.kss-check li { position: relative; padding-left: 1.75rem; }
.kss-check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #e7e6fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230e0bba' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }

/* Ilustrasi tunggal dibatasi & di tengah. */
.kwu-section > .wp-block-image img { max-width: min(720px, 100%); height: auto; margin-inline: auto; display: block; }
.kss-split .wp-block-image img { max-height: 380px; }

/* Hero: gradasi navy → biru. */
.kss-hero { background: radial-gradient(1200px 400px at 85% 0%, rgba(248,146,30,.18), transparent 60%), linear-gradient(135deg, #05043d 0%, #0b0a7a 70%, #0e0bba 100%) !important; }
.kss-hero h1 { margin-bottom: 1rem; }
.kwu-header .kwu-header__main { border-bottom: 1px solid rgba(255,255,255,.08); }
/* Section ajakan: ilustrasi CS di kiri teks + tombol, logo mitra di bawahnya. */
.kss-split--ilus { margin-bottom: 2.5rem; }
.kss-split--ilus .wp-block-image img { max-height: 320px; }
.kss-split--ilus h2 { text-align: left !important; }
.kwu-section:has(> .kss-logos) > :is(h2, p) { text-align: center; }
@media (max-width: 781px) { .kss-split--ilus .wp-block-image img { max-height: 240px; } }

/* ===== Header + hero menyatu, melengkung (contoh Bolot 4 Des) ===== */
:root { --kss-grad: linear-gradient(90deg, #05043d 0%, #0b0a7a 55%, #1d1ad0 100%); }
.kwu-site-header .kwu-header__main { background: var(--kss-grad) !important; border-bottom: 0 !important; }
.kwu-site-header.is-stuck { box-shadow: 0 8px 24px rgba(5, 4, 61, .25); }
.kwu-header__row { min-height: 76px; }
/* Menu: huruf tegas, jarak lega; item terakhir (LOGIN) = tombol pil. */
.kwu-header .wp-block-navigation-item__content { font-weight: 600; font-size: .9rem; letter-spacing: .01em; }
.kwu-header .wp-block-navigation__container > .wp-block-navigation-item:last-child > .wp-block-navigation-item__content {
	border: 1px solid rgba(255, 255, 255, .55); border-radius: 10px; padding: .5rem 1.1rem; background: rgba(255, 255, 255, .1); }
.kwu-header .wp-block-navigation__container > .wp-block-navigation-item:last-child > .wp-block-navigation-item__content:hover { background: #fff; color: #05043d; }
.kwu-header .wp-block-navigation__submenu-container { border-radius: 12px; overflow: hidden; border: 0 !important; box-shadow: 0 12px 32px rgba(5, 4, 61, .2); }
/* Pemilih bahasa: pil kecil. */
.kss-lang-switch a { text-decoration: none; border-radius: 999px; padding: .4rem .85rem; background: rgba(255, 255, 255, .12); font-weight: 600; font-size: .8rem; }
.kss-lang-switch a:hover { background: rgba(255, 255, 255, .25); }

/* Hero: gradasi sama dengan header, rata kiri di kontainer 1200 px, bawah melengkung. */
.kss-hero { background: var(--kss-grad) !important; border-bottom-left-radius: 50% 72px; border-bottom-right-radius: 50% 72px;
	padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 9vw, 7rem) !important; margin-bottom: clamp(1.5rem, 4vw, 3rem) !important; }
.kss-hero.is-layout-constrained > :where(:not(.alignfull)) { max-width: 1200px !important; }
.kss-hero.is-layout-constrained > :is(h1, p, .wp-block-list) { padding-right: clamp(0px, calc(100% - 720px), 480px); }
.kss-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem) !important; line-height: 1.15; }
.kss-hero .kss-check li::before { background-color: rgba(255, 255, 255, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 781px) { .kss-hero { border-bottom-left-radius: 50% 32px; border-bottom-right-radius: 50% 32px; } }

/* Tombol & kartu membulat. */
.wp-element-button, .wp-block-button__link { border-radius: 10px !important; }
.kwu-card-x { border-radius: 16px; }
.kss-hero.is-layout-constrained > :is(h1, p, .wp-block-list) { box-sizing: border-box; }
/* Logo & menu sejajar dengan tepi konten 1200 px. */
.kwu-site-header .kwu-header__row { max-width: 1200px; margin-inline: auto; width: 100%; }
/* Teks section biasa rata kiri pada tepi kontainer 1200 px (sejajar hero & header); section kartu/logo tetap di tengah. */
.kwu-section:not(.kss-hero):not(.kss-tengah):not(:has(> .kwu-grid, > .kss-logos)).is-layout-constrained > :is(p, h2, h3, .wp-block-list, .wp-block-details, .wp-block-buttons, .wp-block-table) {
	margin-left: max(0px, calc((100% - 1200px) / 2)) !important; margin-right: auto !important; }
@media (max-width: 781px) { .kss-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem 1rem; } .kss-logos img { max-height: 44px; } }

/* ===== About & Contact: posisi mengikuti prod (Bolot 4 Des) ===== */
.kss-banner { margin: 0 !important; }
.kss-banner img { width: 100%; height: auto; max-height: 360px; object-fit: cover; display: block; }
.kss-tengah.is-layout-constrained > :is(p, h1, h2, h3) { margin-left: auto !important; margin-right: auto !important; max-width: 960px; }
.kss-about-company p:not(.has-text-align-center) { text-align: left; }
.kss-about-h1 { font-size: clamp(1.5rem, 2.4vw, 1.9rem) !important; }
/* The Team: latar gelap bergambar, 2 profil berdampingan, foto bulat. */
.kss-team { color: #fff; background: linear-gradient(rgba(37, 49, 78, .88), rgba(37, 49, 78, .88)), url(../../../uploads/2020/05/background2.jpg) center / cover no-repeat; }
.kss-team h2, .kss-team h3, .kss-team h4 { color: #fff; }
.kss-team .kss-team-sub { font-size: 1.1rem !important; font-weight: 400; color: #e3e6f0; margin-bottom: 2.5rem; }
.kss-tim { gap: 3rem; max-width: 1000px !important; margin-inline: auto !important; }
.kss-profil { text-align: center; }
.kss-profil .wp-block-image img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; margin-inline: auto; display: block; }
.kss-profil h4 { font-size: .95rem; font-weight: 500; letter-spacing: .05em; color: #cfd6e6 !important; }
.kss-profil p { color: #e3e6f0; }
/* Contact: daftar kontak berikon, ilustrasi CS di kanan. */
.kss-contact-intro { padding-bottom: 0 !important; }
.kss-contact-h1 { font-size: clamp(1.4rem, 2.2vw, 1.75rem) !important; }
.kss-kontak-judul { font-size: 1.15rem !important; margin: 1.5rem 0 .5rem !important; }
.kss-kontak { position: relative; padding-left: 1.9rem; margin: .4rem 0 !important; }
.kss-kontak::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #7cc142 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/75% no-repeat; }
.kss-layanan .wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.kss-layanan .kss-layanan-judul { font-weight: 500; letter-spacing: .02em; font-size: 1.5rem !important; }
@media (max-width: 781px) { .kss-split .wp-block-image img { max-height: 260px; } .kss-tim { gap: 2rem; } }

/* Banner benar-benar selebar layar; jarak intro → daftar kontak dirapatkan. */
.kss-banner { width: 100vw; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
.kss-contact-intro + .kwu-section { padding-top: 1rem !important; }
/* Ilustrasi penutup section (peta DC beranda) tanpa ruang kosong besar di bawahnya (temuan Kiwil 4 Des). */
.kwu-section > .wp-block-image:last-child { margin-bottom: 0 !important; }
.kwu-section:has(> .wp-block-image:last-child) { padding-bottom: clamp(1.5rem, 3vw, 2.5rem) !important; }
