/* Kines main site inner pages (About / Why Kines / Packages / Contact / Blog listing) laid out like Kines Academy.
   Canva design approved by Art 16 Nov 2026. Loaded only on those 10 pages (TH/EN), after kines-canva-main-20261116.css. */
main#main-content{--hx:max(24px,calc(50vw - 610px))}
/* shared heading pattern: left, bold, blue English kicker (Academy) */
main#main-content>section:not(:first-of-type) h2:not(.sr-only){font-weight:700!important;font-size:clamp(28px,3.4vw,46px)!important;line-height:1.25!important;letter-spacing:-.3px;color:#0d0d0d}
main#main-content>section h2[data-k]:before,main#main-content>section .kk:before{display:block}
main#main-content>section:not(:first-of-type) h2:not(.sr-only):before{display:block;font-size:16px;font-weight:600;letter-spacing:.6px;color:#006cff;margin-bottom:10px;line-height:1.3}
main#main-content>section:not(:first-of-type) .text-center:has(>h2),main#main-content>section:not(:first-of-type) .text-center>div:has(>h2),main#main-content>section:not(:first-of-type) h2.text-center{text-align:left!important;margin-left:0!important}
main#main-content>section:not(:first-of-type) :is(.text-center,div):has(>h2)>p{margin-left:0!important;text-align:left!important;font-size:17px!important;color:#0d2140}
main#main-content>section:not(:first-of-type)>div{max-width:1220px!important}
main#main-content>section:not(:first-of-type){padding-left:var(--hx)!important;padding-right:var(--hx)!important;padding-top:68px!important;padding-bottom:68px!important}

/* ---------- page hero (Academy hero: blue photo, centered, big type) ---------- */
main#main-content>section:first-of-type:is([class*="bg-primary-900"],[class*="from-primary-900"],[class^="px-4 text-center bg-white"]){position:relative;min-height:440px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#0a3f9cd9,#0b3a8fe0 55%,#0a2f72f0),url('/villa.jpg') center/cover no-repeat!important;color:#fff!important;padding:0 24px!important}
main#main-content>section:first-of-type:is([class*="bg-primary-900"],[class*="from-primary-900"]) img{opacity:.28!important;mix-blend-mode:luminosity}
main#main-content>section:first-of-type>div.relative.w-full{display:none!important}
main#main-content>section:first-of-type :is(h1,p,div,span){color:#fff!important}
main#main-content>section:first-of-type h1{font-size:clamp(40px,5.2vw,72px)!important;font-weight:700!important;line-height:1.15!important;text-shadow:0 4px 24px #00122e40}
main#main-content>section:first-of-type h1+p[class*="text-primary-200"],main#main-content>section:first-of-type p[class*="text-primary-200"]{color:#5ea0ff!important;font-size:clamp(28px,3.6vw,52px)!important;font-weight:700!important}
main#main-content>section:first-of-type p[class*="backdrop-blur"]{background:none!important;letter-spacing:4px;text-transform:uppercase;font-size:14px!important;font-weight:500}
main#main-content>section:first-of-type p[class*="text-primary-100"]{font-size:clamp(16px,1.6vw,21px)!important;color:#e8f0ff!important}

/* ---------- shared final CTA band ---------- */
main#main-content>section[class*="from-primary-7"][class*="to-primary-8"] h2{text-align:center!important}
main#main-content>section[class*="from-primary-7"][class*="to-primary-8"] h2:before{content:"LET'S TALK";color:#bfdcff!important}

/* ---------- shared testimonial pattern (why-kines) ---------- */
main#main-content>section:has(article.w-80){background:linear-gradient(150deg,#fff 0%,#eef5ff 55%,#d4e5ff 100%)!important}
main#main-content>section:has(article.w-80) h2:before{content:"OWNER STORIES"}
main#main-content>section:has(article.w-80) h2 span{color:#006cff!important}
main#main-content>section:has(article.w-80) article{border:0!important;border-radius:28px!important;background:linear-gradient(180deg,#fff 0%,#fff 55%,#d9e8ff 100%)!important;box-shadow:0 14px 40px #0054c01f!important}
main#main-content>section:has(article.w-80) article:not(:first-child){background:linear-gradient(140deg,#4d86e6 0%,#1d4fa8 38%,#0b2f6c 72%,#021632 100%)!important}

/* ===================== ABOUT ===================== */
main#main-content:has(section[class*="bg-city"])>section[class*="bg-city"]{background:linear-gradient(90deg,#a9cdff 0%,#dbeaff 35%,#f3f8ff 70%,#fff 100%)!important;padding:0!important}
main#main-content:has(section[class*="bg-city"])>section[class*="bg-city"]>div{background:none!important;max-width:none!important;padding:68px var(--hx)!important}
main#main-content:has(section[class*="bg-city"])>section[class*="bg-city"]>div>div{max-width:1220px!important;padding-left:0!important;padding-right:0!important}
main#main-content:has(section[class*="bg-city"])>section[class*="bg-city"]>div>div:first-child h2:before{content:"WHAT WE MANAGE FOR YOU"}
main#main-content:has(section[class*="bg-city"])>section[class*="bg-city"]>div>div:nth-child(2) h2:before{content:"WHERE WE OPERATE"}
main#main-content:has(section[class*="bg-city"])>section[class*="bg-city"] :is(article,.rounded-2xl){border:0!important;border-radius:28px!important;background:linear-gradient(180deg,#fff 0%,#fff 55%,#e3efff 100%)!important;box-shadow:0 14px 36px #0054c01f!important}
main#main-content:has(section[class*="bg-city"])>section[class*="bg-city"] article img{border-radius:20px}
main#main-content:has(section[class*="bg-city"])>section:nth-of-type(3) h2:before{content:"LEADERSHIP"}
main#main-content:has(section[class*="bg-city"])>section:nth-of-type(3) .lg\:grid-cols-2>div{border:0!important;border-radius:36px!important;background:linear-gradient(140deg,#4d86e6 0%,#1d4fa8 38%,#0b2f6c 72%,#021632 100%)!important;box-shadow:0 22px 50px #0054c040!important}
main#main-content:has(section[class*="bg-city"])>section:nth-of-type(4){background:linear-gradient(110deg,#006cff 0%,#0047b3 30%,#002a6b 58%,#00142f 82%,#000 100%)!important}
main#main-content:has(section[class*="bg-city"])>section:nth-of-type(4) :is(h2,p){color:#fff!important;text-align:center!important}
main#main-content:has(section[class*="bg-city"])>section:nth-of-type(4) h2{color:#5ea0ff!important;font-size:clamp(22px,2.4vw,30px)!important;letter-spacing:4px}
main#main-content:has(section[class*="bg-city"])>section:nth-of-type(4) h2:before{content:none}
main#main-content:has(section[class*="bg-city"])>section:nth-of-type(4) p{font-size:clamp(18px,1.9vw,24px)!important;line-height:1.6!important}
main#main-content:has(section[class*="bg-city"])>section:nth-of-type(4) .border-t{border-color:#ffffff33!important}
main#main-content:has(section[class*="bg-city"])>section:nth-of-type(5)>div{border-radius:36px!important;box-shadow:0 22px 50px #00234133}

/* ===================== WHY KINES ===================== */
main#main-content:has(>section[class^="px-4 text-center bg-white"])>section:first-of-type h1:before{content:"WHY KINES";display:block;font-size:14px;letter-spacing:4px;font-weight:500;margin-bottom:18px;text-shadow:none}
main#main-content:has(>section[class^="px-4 text-center bg-white"])>section:nth-of-type(2){background:#1f1f25!important}
main#main-content:has(>section[class^="px-4 text-center bg-white"])>section:nth-of-type(2):before{content:"CASE STUDIES";display:block;max-width:1220px;margin:0 auto 22px;color:#3d8fff;font-weight:600;letter-spacing:.6px;font-size:16px}
main#main-content:has(>section[class^="px-4 text-center bg-white"])>section:nth-of-type(2) .rounded-3xl{border:0!important;border-radius:36px!important;background:linear-gradient(120deg,#fff 0%,#eaf3ff 55%,#cfe2ff 100%)!important;box-shadow:0 20px 50px #0007!important}
main#main-content:has(>section[class^="px-4 text-center bg-white"])>section:nth-of-type(2) .rounded-3xl>div>div:first-child{border-radius:36px;overflow:hidden}

/* ===================== PACKAGES ===================== */
main#main-content:has(table.min-w-160)>section:nth-of-type(2){background:#1f1f25!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(2):before{content:"CHOOSE YOUR PACKAGE";display:block;max-width:1220px;margin:0 auto 26px;color:#3d8fff;font-weight:600;letter-spacing:.6px;font-size:16px}
main#main-content:has(table.min-w-160)>section:nth-of-type(2) .rounded-3xl{border:0!important;border-radius:28px!important;box-shadow:0 14px 40px #0006!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(2) .border-primary-400{border:3px solid #006cff!important;border-radius:31px!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(2) .bg-white:has(>*){background:linear-gradient(180deg,#fff 0%,#fff 55%,#d9e8ff 100%)!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(3) :is(.rounded-2xl){border:0!important;border-radius:24px!important;background:linear-gradient(150deg,#fff 0%,#eef5ff 55%,#d9e8ff 100%)!important;box-shadow:0 10px 30px #0054c014}
main#main-content:has(table.min-w-160)>section:nth-of-type(4){background:linear-gradient(150deg,#fff 0%,#eef5ff 55%,#d4e5ff 100%)!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(4) h2:before{content:"BEFORE WE START"}
main#main-content:has(table.min-w-160)>section:nth-of-type(4) h2{text-align:left!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(4) .border-2{border:0!important;border-radius:32px!important;background:#fff!important;box-shadow:0 14px 36px #0054c01f!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(5){background:linear-gradient(110deg,#006cff 0%,#0047b3 30%,#002a6b 58%,#00142f 82%,#000 100%)!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(5) h2{color:#fff!important;text-align:left!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(5) h2:before{content:"COMPARE PACKAGES";color:#bfdcff!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(5) .rounded-3xl{border:0!important;border-radius:28px!important;box-shadow:0 20px 50px #0007!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(5) thead{background:#006cff!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(5) .rounded-2xl{border:0!important;border-radius:24px!important;background:linear-gradient(120deg,#fff 0%,#eaf3ff 55%,#cfe2ff 100%)!important}
main#main-content:has(table.min-w-160)>section:nth-of-type(5) .rounded-2xl *{color:#0d2140!important}

/* ===================== CONTACT ===================== */
main#main-content:has(>section[class*="bg-blue-50"] form)>section:nth-of-type(2){background:linear-gradient(150deg,#fff 0%,#eef5ff 55%,#d4e5ff 100%)!important}
main#main-content:has(>section[class*="bg-blue-50"] form)>section:nth-of-type(2) h2:before{content:"CONTACT KINES"}
main#main-content:has(>section[class*="bg-blue-50"] form)>section:nth-of-type(2) .grid>*{border:0!important;border-radius:24px!important;background:#fff!important;box-shadow:0 12px 30px #0054c01a!important}
main#main-content:has(>section[class*="bg-blue-50"] form)>section[class*="bg-blue-50"]{background:linear-gradient(110deg,#006cff 0%,#0047b3 30%,#002a6b 58%,#00142f 82%,#000 100%)!important}
main#main-content:has(>section[class*="bg-blue-50"] form)>section[class*="bg-blue-50"] .flex-col>div:first-child :is(h2,h3,p,span){color:#fff!important}
main#main-content:has(>section[class*="bg-blue-50"] form)>section[class*="bg-blue-50"] .flex-col>div:first-child h2:before{content:"GET IN TOUCH";color:#bfdcff!important}
main#main-content:has(>section[class*="bg-blue-50"] form)>section[class*="bg-blue-50"] .flex-col>div.rounded-2xl:not([class*="from-primary"]){border:0!important;border-radius:24px!important;background:linear-gradient(120deg,#fff 0%,#eaf3ff 55%,#cfe2ff 100%)!important}
main#main-content:has(>section[class*="bg-blue-50"] form)>section[class*="bg-blue-50"] .flex-col>div.rounded-2xl[class*="from-primary"]{border:1px solid #ffffff33!important;border-radius:24px!important;background:#ffffff14!important}
main#main-content:has(>section[class*="bg-blue-50"] form)>section[class*="bg-blue-50"] .lg\:grid-cols-2>div:last-child{border:0!important;border-radius:36px!important;background:linear-gradient(120deg,#fff 0%,#eaf3ff 55%,#cfe2ff 100%)!important;box-shadow:0 20px 50px #0007!important}
main#main-content:has(>section[class*="bg-blue-50"] form)>section[class*="bg-blue-50"] .lg\:grid-cols-2>div:last-child>div:first-child{background:transparent!important;padding:30px 28px 4px!important}
main#main-content:has(>section[class*="bg-blue-50"] form)>section[class*="bg-blue-50"] .lg\:grid-cols-2>div:last-child>div:first-child *{color:#0d0d0d!important}
main#main-content:has(>section[class*="bg-blue-50"] form)>section[class*="bg-blue-50"] .lg\:grid-cols-2>div:last-child>div:first-child h2{display:block!important;font-size:clamp(24px,2.4vw,32px)!important}
main#main-content:has(>section[class*="bg-blue-50"] form)>section[class*="bg-blue-50"] .lg\:grid-cols-2>div:last-child>div:first-child h2:before{content:"GET A FREE ASSESSMENT";color:#006cff!important}
main#main-content:has(>section[class*="bg-blue-50"] form)>section[class*="bg-blue-50"] .lg\:grid-cols-2>div:last-child>div:first-child svg{display:none}
main#main-content:has(>section[class*="bg-blue-50"] form) form :is(input,select,textarea){border-radius:14px!important;border-color:#cfe0f7!important;background:#fff!important}
main#main-content:has(>section[class*="bg-blue-50"] form) form button[type=submit]{background:#006cff!important;color:#fff!important;border-radius:999px!important}

/* ===================== BLOG LISTING ===================== */
body:not(:has(#app)) main#main-content.kd-hub>section.kd-hub-heading:first-child{background:linear-gradient(180deg,#0a3f9cd9,#0b3a8fe0 55%,#0a2f72f0),url('/villa.jpg') center/cover no-repeat!important;color:#fff!important;text-align:center;border-radius:0!important;margin:0 0 0!important;max-width:none!important;padding:90px 24px!important;width:auto!important}
body:not(:has(#app)) main#main-content.kd-hub>section.kd-hub-heading:first-child :is(h1,p){color:#fff!important;margin-left:auto!important;margin-right:auto!important}
body:not(:has(#app)) main#main-content.kd-hub>section.kd-hub-heading:first-child h1{font-size:clamp(40px,5vw,68px)!important;font-weight:700!important}
body:not(:has(#app)) main#main-content.kd-hub>section.kd-hub-heading:first-child .kd-eyebrow{letter-spacing:4px;text-transform:uppercase;font-size:14px!important}
body:not(:has(#app)) main#main-content.kd-hub>section.kd-hub-heading:first-child .kd-topics{justify-content:center}
body:not(:has(#app)) main#main-content.kd-hub>section.kd-hub-heading:first-child .kd-topics a{background:#fff!important;color:#006cff!important;border:0!important;border-radius:999px!important}
main#main-content.kd-hub .kv-filters{justify-content:flex-start;max-width:1220px;margin:34px auto 0!important;padding:0 24px}
main#main-content.kd-hub .kv-filter{background:#dfe4ea!important;color:#1f1f25!important;border:0!important;border-radius:10px!important;font-size:16px}
main#main-content.kd-hub .kv-filter:is(.active,[aria-pressed=true]){background:#006cff!important;color:#fff!important;font-weight:600}
main#main-content.kd-hub .kd-feature h2:before{content:"FEATURED GUIDE";display:block;font-size:16px;color:#006cff;font-weight:600;letter-spacing:.6px;margin-bottom:8px}
main#main-content.kd-hub .kd-feature h2{color:#0d0d0d!important;font-weight:700!important}
main#main-content.kd-hub .kd-feature .kd-card{border:0!important;border-radius:36px!important;background:linear-gradient(120deg,#fff 0%,#eaf3ff 55%,#cfe2ff 100%)!important;box-shadow:0 20px 50px #0054c033!important;overflow:hidden}
main#main-content.kd-hub .kd-library h2:before{content:"ALL GUIDES";display:block;font-size:16px;color:#3d8fff;font-weight:600;letter-spacing:.6px;margin-bottom:8px}
main#main-content.kd-hub .kd-cta{border-radius:36px!important;background:linear-gradient(110deg,#006cff 0%,#0047b3 30%,#002a6b 58%,#00142f 82%,#000 100%)!important;color:#fff!important}
main#main-content.kd-hub .kd-cta :is(h2,p){color:#fff!important}
main#main-content.kd-hub .kd-cta a{border-radius:999px!important}

@media(max-width:760px){
 main#main-content{--hx:20px}
 main#main-content>section:not(:first-of-type){padding-top:48px!important;padding-bottom:48px!important}
 main#main-content>section:first-of-type:is([class*="bg-primary-900"],[class*="from-primary-900"],[class^="px-4 text-center bg-white"]){min-height:380px}
 main#main-content>section:first-of-type h1{font-size:38px!important}
 main#main-content>section:first-of-type p[class*="text-primary-200"]{font-size:28px!important}
 main#main-content>section:not(:first-of-type) h2:not(.sr-only){font-size:28px!important}
 main#main-content>section:not(:first-of-type) h2:not(.sr-only):before{font-size:13px}
 main#main-content:has(section[class*="bg-city"])>section[class*="bg-city"]>div{padding:48px 20px!important}
 body:not(:has(#app)) main#main-content.kd-hub>section.kd-hub-heading:first-child{padding:60px 20px!important}
}
main#main-content>section:not(:first-of-type) :is(.max-w-3xl,.max-w-4xl):has(>h2){max-width:none!important}
main#main-content:has(section[class*="bg-city"])>section:nth-of-type(4) div:has(>h2)>p{text-align:center!important;margin-left:auto!important;margin-right:auto!important;max-width:820px;color:#fff!important;font-size:clamp(18px,1.9vw,23px)!important;line-height:1.65!important}
main#main-content:has(section[class*="bg-city"])>section:nth-of-type(4) h2{text-align:center!important;font-size:clamp(20px,2vw,26px)!important;letter-spacing:5px!important;color:#5ea0ff!important}
main#main-content .rounded-xl.bg-primary-800{background:linear-gradient(140deg,#3f7ee6 0%,#1d4fa8 40%,#0b2f6c 78%,#021632 100%)!important;border-radius:20px!important}
main#main-content .rounded-xl.bg-primary-800 :is(p,span,li,strong){color:#fff!important}
main#main-content :is(a,button)[class*="bg-whatsapp"],main#main-content :is(a,button)[class*="bg-whatsapp"] *,main#main-content :is(a,button)[class*="bg-line"],main#main-content :is(a,button)[class*="bg-line"] *{color:#fff!important}
main#main-content :is(a,button):is([class*="bg-whatsapp"],[class*="bg-line"]){border-radius:999px!important}
main#main-content a[class*="bg-whatsapp"]{background:#25d366!important}
main#main-content>section:first-of-type:is([class*="bg-primary-900"],[class*="from-primary-900"],[class^="px-4 text-center bg-white"]):first-child{background:linear-gradient(180deg,#0a3f9cd9,#0b3a8fe0 55%,#0a2f72f0),url("/villa.jpg") center/cover no-repeat!important}
