/*
Theme Name: LIKIVI Knowledge & Sourcing
Theme URI: https://likivi.com/
Author: LIKIVI
Description: Giao diện WordPress riêng cho Thư viện số ngành may Việt Nam, dựa trên mockup LIKIVI 2027. Responsive, SEO-friendly, Gutenberg and WooCommerce ready.
Version: 2.2.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: likivi
Tags: custom-logo, custom-menu, featured-images, blog, e-commerce, translation-ready
*/
:root{--navy:#12384b;--teal:#007f79;--mint:#e8f7f1;--sand:#f7f4ee;--ink:#193747;--muted:#647b87;--border:#dfeae8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:white;color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.7}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.container{max-width:1220px;margin:auto;padding:0 24px}.topbar{background:#102e3e;color:#d4e7e7;font-size:12px;padding:8px 0}.topbar .container{display:flex;justify-content:space-between;gap:12px}.site-header{background:white;position:relative;z-index:10;border-bottom:1px solid #edf1ef}.navrow{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:11px;color:var(--navy)}.brandmark{display:grid;place-items:center;width:42px;height:42px;background:var(--teal);color:white;border-radius:11px;font-size:26px;font-weight:800}.brandtext strong{font-size:25px;letter-spacing:-1px;display:block;line-height:1.1}.brandtext small{font-size:9px;font-weight:800;letter-spacing:1px;color:#66828b}.custom-logo{max-height:55px;width:auto}.menu{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}.menu a{font-size:13px;font-weight:700}.menu a:hover,.menu .current-menu-item>a{color:var(--teal)}.button,.wp-block-button__link{background:var(--teal);color:#fff;border:0;padding:12px 19px;border-radius:9px;font-weight:700;display:inline-flex;justify-content:center;gap:9px;align-items:center;font-size:13px}.button:hover{background:#006a65;color:#fff}.button.ghost{border:1px solid #9ab9b8;background:transparent;color:white}.button.white{background:white;color:#006e69}.menu-toggle{display:none;border:0;background:transparent;font-size:26px}.hero{background:linear-gradient(112deg,#123749 0%,#123749 48%,#14646a 100%);color:white;overflow:hidden}.hero-grid{min-height:470px;padding-top:70px;padding-bottom:75px;display:grid;grid-template-columns:1.1fr .9fr;gap:45px;align-items:center}.eyebrow{font-size:12px;color:#008b7f;text-transform:uppercase;letter-spacing:1.6px;font-weight:800}.hero .eyebrow{color:#90e3d0}.hero h1{font-size:clamp(34px,4vw,52px);line-height:1.23;letter-spacing:-1.6px;margin:15px 0 22px}.hero h1 em{color:#8ee5c9;font-style:normal}.hero p{color:#d1e8e8;font-size:15px;max-width:570px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-art{position:relative;max-width:440px;width:100%;margin:auto;min-height:320px}.draft{background:#f8fbf9;border-radius:17px;box-shadow:0 20px 50px #001a2b55;color:#385360;padding:19px;transform:rotate(2deg)}.draft .drafthead{display:flex;justify-content:space-between;font-size:12px;font-weight:800}.draft svg{width:100%;height:auto}.floatlabel{position:absolute;bottom:-8px;left:-13px;background:white;border-radius:12px;color:#185d5c;box-shadow:0 15px 40px #001a2b44;padding:16px 22px;font-weight:800;font-size:13px}.searchbar{display:flex;align-items:center;gap:12px;background:white;padding:10px;border-radius:13px;box-shadow:0 12px 38px #213e4620;margin-top:-28px;position:relative;z-index:2;border:1px solid var(--border)}.searchbar input{border:0;outline:0;flex:1;padding:12px;font-size:14px;min-width:0}.searchbar select{border:0;border-left:1px solid #dce9e6;padding:12px;background:white;max-width:200px}.section{padding:75px 0}.section.sand{background:var(--sand)}.section-heading{text-align:center;max-width:720px;margin:0 auto 36px}.section-heading h2,.section-title h2{font-size:clamp(25px,3vw,34px);line-height:1.35;letter-spacing:-.7px;margin:7px 0 10px}.section-heading p,.section-title p{color:var(--muted);font-size:14px;margin:0}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature{background:white;border:1px solid var(--border);padding:25px;border-radius:14px}.feature-icon{width:46px;height:46px;border-radius:12px;background:var(--mint);display:grid;place-items:center;font-size:23px}.feature h3{font-size:17px;margin:17px 0 7px}.feature p{font-size:13px;color:var(--muted);min-height:58px}.feature a,.more{font-size:13px;font-weight:800;color:var(--teal)}.section-title{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:27px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.product-card,.post-card{border:1px solid var(--border);border-radius:13px;overflow:hidden;background:white}.product-image{aspect-ratio:4/3;background:linear-gradient(135deg,#d6e8e3,#f5f8f4);display:grid;place-items:center;position:relative}.product-image img{width:100%;height:100%;object-fit:cover}.placeholder-icon{font-size:62px;color:#699c91}.product-card .body,.post-card .body{padding:18px}.product-card small,.post-card small{font-size:11px;color:var(--teal);font-weight:700}.product-card h3,.post-card h3{font-size:15px;line-height:1.5;margin:9px 0}.product-card .price{font-size:17px;color:var(--teal);font-weight:800}.product-card .button{width:100%;margin-top:12px;background:#e8f5f0;color:var(--teal)}.two-col{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:55px}.two-col h2{font-size:clamp(25px,3vw,35px);line-height:1.3;margin:10px 0 18px}.two-col p{font-size:14px;color:var(--muted)}.checks{padding:0;list-style:none}.checks li{padding:7px 0;font-weight:600;font-size:14px}.checks li:before{content:'✓';color:var(--teal);margin-right:13px}.tool-panel{background:white;box-shadow:0 18px 45px #25465318;border-radius:16px;padding:20px;border:1px solid var(--border)}.tool-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.tool-stats div{background:#f1f7f5;border-radius:9px;padding:15px}.tool-stats b{display:block;font-size:22px}.tool-stats small{font-size:11px;color:var(--muted)}.demo-table{width:100%;border-collapse:collapse;font-size:12px}.demo-table td,.demo-table th{text-align:left;border-bottom:1px solid #e8eeed;padding:10px 5px}.pill{background:#dff4e8;color:#007b6b;border-radius:25px;padding:4px 7px;font-size:11px;white-space:nowrap}.cta{background:#123b4d;color:white;padding:42px;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:25px}.cta h2{font-size:28px;margin:5px 0}.cta p{color:#cce1e5;font-size:14px;margin:0}.postgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.post-card .product-image{aspect-ratio:16/9}.post-card h3{min-height:48px}.post-card p{font-size:13px;color:var(--muted)}.site-footer{background:#102e3e;color:#bfd4da;padding:55px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:35px}.site-footer h3{color:white;font-size:14px}.site-footer a{display:block;margin:8px 0;font-size:13px}.site-footer p{font-size:13px}.copyright{border-top:1px solid #ffffff26;margin-top:35px;padding-top:17px;font-size:12px}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:45px}.page-head{background:#eef8f4;padding:45px 0;margin-bottom:40px}.page-head h1{font-size:clamp(25px,3vw,37px);margin:5px 0}.breadcrumb{font-size:12px;color:#69858d}.entry-content{font-size:17px;line-height:1.85;overflow-wrap:anywhere}.entry-content a{color:var(--teal);text-decoration:underline}.entry-content img{height:auto}.entry-content h2,.entry-content h3{line-height:1.4}.widget{padding:20px;border:1px solid var(--border);border-radius:10px;margin-bottom:20px}.widget h3{margin-top:0}.archive-list article{border-bottom:1px solid var(--border);padding:18px 0}.archive-list h2{font-size:21px;margin:6px 0}.meta{color:var(--muted);font-size:12px}.pagination{margin:25px 0}.pagination .page-numbers{margin:0 5px;color:var(--teal)}.skip-link{position:absolute;left:-9999px;top:5px;background:white;padding:8px}.skip-link:focus{left:5px;z-index:99}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);overflow:hidden;height:1px;width:1px}.alignwide{max-width:1220px;margin-left:auto;margin-right:auto}.alignfull{width:100%}.woocommerce .products li.product{border:1px solid var(--border);padding:12px!important;border-radius:12px}.woocommerce a.button,.woocommerce button.button{background:var(--teal)!important;color:white!important}
@media(max-width:1050px){.menu{gap:12px}.menu a{font-size:12px}.hero-grid{gap:25px}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.topbar .top-extra{display:none}.menu-toggle{display:block}.primary-nav{display:none;position:absolute;top:78px;left:0;right:0;background:white;box-shadow:0 15px 25px #102d3f1e;padding:20px}.primary-nav.open{display:block}.menu{display:flex;flex-direction:column;align-items:start;gap:15px}.navrow>.button{display:none}.hero-grid{grid-template-columns:1fr;padding-top:50px;padding-bottom:75px}.hero-art{max-width:340px}.feature-grid{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.content-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr)}.postgrid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.container{padding:0 18px}.brandtext strong{font-size:22px}.hero h1{font-size:33px}.hero-grid{padding-top:45px}.searchbar{flex-wrap:wrap}.searchbar input{width:100%;flex-basis:100%}.searchbar select,.searchbar button{flex:1}.feature-grid,.cards,.postgrid{grid-template-columns:1fr}.feature p{min-height:0}.section{padding:58px 0}.section-title{display:block}.section-title .button{margin-top:15px}.cta{display:block;padding:28px}.cta .button{margin-top:22px}.footer-grid{grid-template-columns:1fr 1fr}.tool-panel{overflow-x:auto}.site-footer{padding-top:40px}}

/* LIKIVI 2.0 – Minimal app-like learning and digital-library experience */
body{background:#fff;color:#1c3540;font-size:15px}.container{max-width:1160px}.topbar{font-size:11px;padding:5px 0;background:#eff8f5;color:#42736e}.navrow{min-height:68px}.primary-nav .menu{gap:23px}.nav-account{display:flex;align-items:center;gap:9px}.account-link,.google-login{border:1px solid #cfe2df;padding:8px 13px;border-radius:9px;font-size:12px;font-weight:800;color:#116a64;white-space:nowrap}.google-login{background:#f2f8f6}.app-home .eyebrow{font-size:10px;letter-spacing:1.7px}.app-hero{background:#f3f9f7;border-bottom:1px solid #dfebe7}.app-hero-inner{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:center;padding-top:64px;padding-bottom:68px}.app-hero h1{font-size:clamp(34px,4vw,50px);line-height:1.22;letter-spacing:-1.6px;color:#133b4a;margin:12px 0 20px}.app-hero h1 span{color:#00827b}.app-hero p{max-width:590px;color:#55727c;line-height:1.8;font-size:15px}.app-hero .subtle{background:white;color:#136e68;border:1px solid #c9e1dc}.app-hero-side{border:1px solid #dceae6;background:white;border-radius:17px;box-shadow:0 16px 35px #133f4610;padding:22px}.mini-label{font-size:10px;letter-spacing:1.3px;color:#82959b;font-weight:800;margin-bottom:10px}.quick-list{display:grid;gap:3px}.quick-list a{display:flex;gap:14px;align-items:center;font-size:13px;font-weight:700;padding:11px 7px;border-bottom:1px solid #eff2f1}.quick-list a:last-child{border:0}.quick-list a span{width:34px;height:34px;display:grid;place-items:center;background:#e8f6f1;color:#00827b;border-radius:8px;font-size:18px}.quick-list a b{margin-left:auto;color:#00827b}.quick-list a:hover{color:#00827b}.app-search-wrap{position:relative;margin-top:-24px}.app-search{display:flex;align-items:center;background:white;border:1px solid #d9e9e5;border-radius:13px;box-shadow:0 8px 30px #133c4314;padding:7px 8px 7px 20px;gap:12px}.app-search>span{font-size:26px;color:#007f79}.app-search input{flex:1;border:0;outline:0;min-width:0;font-size:14px}.app-search button{border:0;border-radius:8px;color:#fff;background:#007f79;padding:12px 21px;font-weight:750}.app-section{padding:65px 0}.app-section.muted-bg{background:#f7f9f8}.app-section-heading{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:26px}.app-section-heading h2,.app-course-layout h2,.app-collab h2{font-size:clamp(24px,3vw,30px);letter-spacing:-.7px;margin:5px 0 8px;line-height:1.35}.app-section-heading p{color:#6a7f86;font-size:13px;margin:0}.app-section-heading>a{color:#007f79;font-size:12px;font-weight:800;white-space:nowrap}.software-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.software-card{border:1px solid #e1ebe8;border-radius:13px;padding:21px;background:white;display:flex;flex-direction:column;align-items:start;gap:9px;min-height:203px;transition:.2s}.software-card:hover,.reading-card:hover,.library-card:hover{transform:translateY(-3px);box-shadow:0 10px 23px #183d4711}.software-avatar{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:#e4f4ee;color:#008079;font-size:23px;font-weight:850}.software-card:nth-child(2) .software-avatar{background:#e6edf8;color:#466ca7}.software-card:nth-child(3) .software-avatar{background:#f1eafa;color:#7a55a2}.software-card:nth-child(4) .software-avatar{background:#fff1e7;color:#b17941}.software-card strong{font-size:16px}.software-card small{font-size:11px;color:#778b91;line-height:1.5}.software-arrow{font-size:11px;color:#007f79;font-weight:800;margin-top:auto}.reading-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.reading-card,.library-card{border:1px solid #e0ebe8;border-radius:13px;background:white;overflow:hidden;transition:.2s}.reading-image,.library-image{display:grid;place-items:center;background:#e3eeea;aspect-ratio:16/9;overflow:hidden;color:#679b8c;font-size:55px}.reading-image img,.library-image img{width:100%;height:100%;object-fit:cover}.reading-body,.library-body{padding:19px}.reading-body h3,.library-body h3{font-size:15px;line-height:1.5;margin:9px 0}.reading-body p{color:#71858c;font-size:12px;line-height:1.65;margin:0 0 12px}.reading-body .meta{font-size:10px}.library-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.library-image{aspect-ratio:4/3;background:#ebf1ef}.library-body small{font-size:10px;color:#00877f;font-weight:800}.library-body .price{font-size:15px;color:#007f79;font-weight:800;margin-bottom:12px}.library-intro{grid-column:1/-1;background:#eff8f4;border-radius:12px;padding:25px}.app-course-layout{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.app-course-layout p,.app-collab p{color:#647d85;font-size:14px}.app-checks{padding:0;list-style:none;margin:18px 0 24px}.app-checks li{padding:6px 0;font-size:13px}.app-checks li:before{content:'✓';color:#00877e;font-weight:900;margin-right:10px}.course-preview{border:1px solid #dceae6;background:white;border-radius:18px;padding:30px;box-shadow:0 13px 30px #133d4610}.course-icon{width:58px;height:58px;display:grid;place-items:center;background:#e2f5ed;color:#0a8a7a;font-size:34px;border-radius:14px}.course-preview small{color:#0a8a7a;font-weight:800;font-size:10px;letter-spacing:1px;display:block;margin-top:22px}.course-preview h3{font-size:20px}.course-preview p{font-size:12px}.course-progress{height:8px;background:#e9f2ef;border-radius:8px;margin:20px 0}.course-progress span{display:block;width:38%;height:100%;background:#008279;border-radius:8px}.app-collab-box{background:#123d4c;color:white;border-radius:16px;padding:37px;display:flex;align-items:center;justify-content:space-between;gap:30px}.app-collab-box h2{color:white}.app-collab-box p{color:#c6dce0;max-width:660px}.app-collab-box .eyebrow{color:#8fe1ca}.app-collab-box .button{white-space:nowrap;background:white;color:#087269}.app-secondary{padding-top:32px;padding-bottom:55px;border-top:1px solid #ecf1ef}.phase-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.phase-grid span{border:1px dashed #d3e5df;border-radius:10px;color:#657d84;padding:14px;font-size:12px}.phase-note{font-size:11px;color:#7d9298;margin-top:15px}.entry-content{max-width:850px;font-size:18px;line-height:1.95}.entry-content p{margin:0 0 1.45em}.entry-content img{border-radius:7px}.page-head{background:#f5f9f7;padding:35px 0}.site-footer{padding-top:45px}
@media(max-width:900px){.app-hero-inner{gap:30px}.software-grid{grid-template-columns:repeat(2,1fr)}.reading-grid{grid-template-columns:repeat(2,1fr)}.library-grid{grid-template-columns:repeat(2,1fr)}.phase-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.nav-account{margin-left:auto}.nav-account .google-login{display:none}.app-hero-inner{grid-template-columns:1fr;padding-top:46px;padding-bottom:65px}.app-hero-side{max-width:520px}.app-course-layout{grid-template-columns:1fr}.app-collab-box{display:block}.app-collab-box .button{margin-top:15px}.primary-nav{top:68px}}@media(max-width:580px){.app-hero h1{font-size:32px}.app-section{padding:52px 0}.app-section-heading{align-items:start;display:block}.app-section-heading>a{display:inline-block;margin-top:13px}.app-search{gap:5px;padding:7px 7px 7px 12px}.app-search input{font-size:12px}.app-search button{padding:11px 10px;font-size:11px}.software-grid{grid-template-columns:repeat(2,1fr);gap:10px}.software-card{padding:15px;min-height:210px}.software-card strong{font-size:14px}.reading-grid,.library-grid{grid-template-columns:1fr}.reading-image{aspect-ratio:16/9}.app-collab-box{padding:24px}.phase-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.entry-content{font-size:17px}.account-link{padding:7px 10px}}
.reading-layout{max-width:900px;padding-top:12px;padding-bottom:60px}.reading-layout .entry-content{max-width:none}.reading-layout .entry-content>p:first-child{font-size:19px;color:#365b66}.reading-layout .meta{margin-top:35px}.reading-layout .entry-content a{text-decoration:underline;text-underline-offset:3px}

/* LIKIVI: lượt xem gọn cạnh ngày đăng trong danh sách bài viết */
.meta .lk-views .post-views{display:inline-flex!important;align-items:center;gap:4px;margin:0!important;padding:0!important;vertical-align:baseline;font:inherit}
.meta .lk-views .post-views-count{order:1}
.meta .lk-views .post-views-label{order:2}
.meta .lk-views .pvc-icon{order:0}
