/* Home, plan B (25/11/2026): rows of cards under the slideshow, like UAD's home without the banners.
   Uses the theme variables (--bg, --surface, --line, --text, --muted) so it follows dark, cream and white. */
.home-row{margin-top:56px}
.home-row[hidden]{display:none}
.home-row-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.home-row-head h2{margin:0;font-size:clamp(22px,2.4vw,30px);font-weight:600;letter-spacing:-.025em;line-height:1.15}
.home-row-tools{display:flex;align-items:center;gap:14px}
.home-row-all{font-size:13px;font-weight:600;color:var(--text);white-space:nowrap}
.home-row-all:hover{text-decoration:underline;text-underline-offset:3px}
.home-arrows{display:flex;gap:6px}
.home-arrow{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid var(--line-strong);border-radius:50%;background:transparent;color:var(--text);cursor:pointer;transition:border-color .15s,background .15s,opacity .15s}
.home-arrow:hover:not(:disabled){border-color:var(--text);background:var(--surface)}
.home-arrow:disabled{opacity:.3;cursor:default}
.home-arrow svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* chips */
.home-chips{display:flex;gap:8px;margin:-4px 0 18px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.home-chips::-webkit-scrollbar{display:none}
.home-chip{flex:0 0 auto;min-height:36px;padding:0 15px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--text);font:inherit;font-size:13px;font-weight:500;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.home-chip:hover{border-color:var(--text)}
.home-chip[aria-pressed="true"]{border-color:var(--text);background:var(--text);color:var(--bg)}

/* bundle cards after UAD's cards (25/11/2026): white card, rounded picture with chips, bold name, price row, outline button */
.home-bundles{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.kcard{display:flex;flex-direction:column;min-width:0;padding:12px;border-radius:10px;background:var(--surface);color:var(--text);transition:box-shadow .18s,transform .18s}
.kcard:hover{transform:translateY(-2px);box-shadow:0 14px 30px -16px rgba(20,20,19,.35)}
.kcard-art{position:relative;display:block;aspect-ratio:5/4;overflow:hidden;border-radius:8px;background:#0b0c0f}
.kcard-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:84% 50%}
.kcard-art.is-empty::after{content:attr(data-name);position:absolute;inset:0;display:grid;place-items:center;padding:10px;text-align:center;color:#faf9f5;font-size:18px;font-weight:600}
.kcard-art.is-pick{display:grid;place-items:center;background:#1e2126 repeating-linear-gradient(0deg,transparent 0 22px,rgba(255,255,255,.035) 22px 23px)}
.kcard-pick{display:grid;place-items:center;gap:0;width:58%;margin-top:-9%;aspect-ratio:1;border-radius:10px;background:linear-gradient(155deg,rgb(var(--pk-a)),rgb(var(--pk-b)));outline:2px dashed rgba(255,255,255,.85);outline-offset:-7px;box-shadow:0 10px 24px -10px rgb(var(--pk-b) / .7);color:#fff;text-align:center;line-height:1}
.kcard-pick-word{font-size:clamp(12px,1.35vw,18px);font-weight:600;letter-spacing:.04em;align-self:end;padding-bottom:2px}
.kcard-pick-num{font-size:clamp(40px,4.8vw,70px);font-weight:800;letter-spacing:-.04em;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.18)}
.kcard-pick-sub{font-size:clamp(9px,.95vw,13px);padding-top:2px;font-weight:600;letter-spacing:.06em;color:rgba(255,255,255,.92);align-self:start}
.kcard-pick-foot{position:absolute;left:0;right:0;bottom:10px;text-align:center;color:rgba(250,249,245,.45);font-size:11.5px;letter-spacing:.1em;text-transform:uppercase}
.kcard-chips{position:absolute;top:8px;right:8px;display:flex;gap:4px}
.kcard-chip{padding:3px 8px;border-radius:3px;background:#e4e6d6;color:#2b2a27;font-size:11.5px;font-weight:600;line-height:1.2}
.kcard-chip.is-sale{background:#c65f5f;color:#fff}
.kcard-chip.is-owned{background:#2f7d5b;color:#fff}
.kcard-chip.is-part{background:#f3e3b0;color:#4a3a10}
.kcard-body{display:flex;flex:1;flex-direction:column;gap:10px;padding:14px 4px 4px}
.kcard-name{margin:0;font-size:19px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.kcard-name a{color:inherit}
.kcard-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:auto;padding-top:6px}
.kcard-price{font-size:16px;font-weight:700}
.kcard-price s{margin-left:6px;color:var(--muted);font-size:12.5px;font-weight:400}
.kcard-price.is-sale{color:#c65f5f}
.kcard-note{color:var(--muted);font-size:13px}
.kcard-button{display:block;padding:11px 14px;border:1px solid var(--line-strong);border-radius:999px;color:var(--text);font-size:14px;font-weight:600;text-align:center;transition:border-color .15s,background .15s}
.kcard-button:hover{border-color:var(--text);background:var(--surface-2)}

/* plugin cards in a scroller */
.home-scroller{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:2px 0 6px;margin:0 -2px}
.home-scroller::-webkit-scrollbar{display:none}
.home-card{position:relative;flex:0 0 calc((100% - 48px) / 4);min-width:210px;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);scroll-snap-align:start;transition:border-color .18s,transform .18s,box-shadow .18s}
.home-card:hover{transform:translateY(-2px);border-color:var(--line-strong);box-shadow:0 12px 28px -14px rgba(0,0,0,.35)}
.home-card-img{position:relative;aspect-ratio:4/3;background:#0b0c0f;overflow:hidden}
.home-card-img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.home-card:hover .home-card-img img{transform:scale(1.03)}
.home-card-img.is-empty::after{content:attr(data-name);position:absolute;inset:0;display:grid;place-items:center;padding:12px;color:#faf9f5;font-size:15px;font-weight:600;text-align:center}
.home-card-copy{display:flex;flex-direction:column;gap:3px;padding:14px 15px 16px}
.home-card-type{color:var(--muted);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase}
.home-card-name{font-size:15px;font-weight:600;letter-spacing:-.015em;line-height:1.3}
.home-card-price{margin-top:6px;font-size:14px;font-weight:600}
.home-card-price s{margin-left:6px;color:var(--muted);font-weight:400}
.home-card-more{justify-content:center;align-items:center;min-height:240px;gap:8px;text-align:center;border-style:dashed}
.home-card-more strong{font-size:16px}
.home-card-more span{color:var(--muted);font-size:13px}
.home-badges{position:absolute;top:10px;left:10px;z-index:2;display:flex;gap:6px}
.home-badge{padding:4px 8px;border-radius:5px;background:#faf9f5;color:#141413;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 2px 8px rgba(0,0,0,.3)}
.home-badge.is-sale{background:#d92d20;color:#fff}

/* news: three small cards */
.home-news{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-news-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);transition:border-color .18s,transform .18s}
.home-news-card:hover{transform:translateY(-2px);border-color:var(--line-strong)}
.home-news-img{aspect-ratio:16/9;background:#0b0c0f;overflow:hidden}
.home-news-img img{display:block;width:100%;height:100%;object-fit:cover}
.home-news-img.is-empty{display:grid;place-items:center;color:#8d8c86;font-size:11px;letter-spacing:.2em;text-transform:uppercase}
.home-news-copy{display:flex;flex-direction:column;gap:8px;padding:18px 18px 20px}
.home-news-meta{color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.home-news-title{font-size:16px;font-weight:600;letter-spacing:-.015em;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-news-summary{margin:0;color:var(--muted);font-size:13px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

@media(max-width:1000px){.home-card{flex-basis:calc((100% - 32px) / 3)}.home-news{grid-template-columns:repeat(2,minmax(0,1fr))}.home-news-card:nth-child(3){display:none}}
@media(max-width:760px){.home-row{margin-top:42px}.home-bundles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kcard{padding:8px}.kcard-name{font-size:16px}.kcard-button{padding:9px 10px;font-size:13px}.home-card{flex-basis:62%;min-width:200px}.home-arrows{display:none}.home-bundle-copy{padding:14px 15px 16px}.home-news{grid-template-columns:1fr}.home-news-card:nth-child(3){display:flex}.home-news-card:nth-child(n+3){display:none}}
#home-plugins + .featured-strip{margin-top:44px}

.kcard-pick-num.is-multi{font-size:clamp(24px,2.6vw,36px);letter-spacing:-.02em;padding:6px 0;white-space:nowrap}
.kcard-price{white-space:nowrap}.kcard-note{text-align:right}

.home-subhead{display:flex;align-items:baseline;gap:12px;margin:34px 0 14px}.home-subhead h3{margin:0;font-size:19px;font-weight:700;letter-spacing:-.02em}.home-subhead span{color:var(--muted);font-size:13.5px}.home-subhead .home-row-all{margin-left:auto}

@media(min-width:760px){.home-bundles-pick{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* each Pick size has its own colour, as a solid block like a ticket (3 teal, 5 blue, 10 amber, 20 coral); other sizes use amber */
.kcard-art.is-pick{--pk-a:244 150 48;--pk-b:206 104 14}
.kcard-art.is-pick[data-size="3"]{--pk-a:47 181 168;--pk-b:27 134 124}
.kcard-art.is-pick[data-size="5"]{--pk-a:92 134 238;--pk-b:52 88 196}
.kcard-art.is-pick[data-size="20"]{--pk-a:255 112 94;--pk-b:214 62 56}

/* the card stands off the page: a soft shadow, more air between cards, a stronger name, price and button */
.home-bundles{gap:24px}
.kcard{box-shadow:0 1px 2px rgba(20,20,19,.06),0 10px 26px -14px rgba(20,20,19,.22)}
.kcard:hover{box-shadow:0 2px 4px rgba(20,20,19,.08),0 18px 34px -14px rgba(20,20,19,.32)}
.kcard-name{font-size:20px}
.kcard-price{font-size:17px}
.kcard-button{border-color:rgba(20,20,19,.35);font-weight:700;color:#141413}
.kcard-button:hover{background:#141413;color:#fff;border-color:#141413}
.kcard-pick-foot{color:rgba(250,249,245,.55)}

.bundles-title{margin:0;font-size:clamp(28px,3.4vw,44px);font-weight:700;letter-spacing:-.03em;line-height:1.1}#bundles-page-list{padding-top:36px;padding-bottom:60px}

/* Plugin bundles on the home page: one row that scrolls sideways (owner 26/11/2026), four cards in view, arrows like Featured plugins */
#home-bundles .home-bundles{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:4px 2px 18px;margin:0 -2px}
#home-bundles .home-bundles::-webkit-scrollbar{display:none}
#home-bundles .kcard{flex:0 0 calc((100% - 72px) / 4);min-width:240px;scroll-snap-align:start}
@media(max-width:760px){#home-bundles .home-bundles{gap:12px}#home-bundles .kcard{flex-basis:72%;min-width:0}#home-bundles .home-arrows{display:none}}

/* The All Access band under the bundles (owner 26/11/2026) */
.home-aa{margin-top:34px}
.home-aa-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 34px;border-radius:16px;background:#14120f;color:#faf9f5}
.home-aa-eyebrow{display:block;margin:0 0 8px;color:#ffb36b;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.home-aa h2{margin:0 0 8px;font-size:clamp(24px,3vw,32px);font-weight:600;letter-spacing:-.025em;line-height:1.15}
.home-aa p{margin:0;max-width:620px;color:#d8d2c6;font-size:15px;line-height:1.55}
.home-aa-button{flex:0 0 auto;white-space:nowrap;background:#faf9f5;color:#14120f;border-color:#faf9f5}
.home-aa-button:hover{background:#ffb36b;border-color:#ffb36b;color:#14120f}
@media(max-width:760px){.home-aa-inner{flex-direction:column;align-items:flex-start;gap:18px;padding:24px 22px}}

/* KRS Blog on the home page: one big post and a column of small ones (owner 26/11/2026) */
.home-blog{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.home-blog-feature,.home-blog-item{display:flex;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);transition:border-color .18s,transform .18s}
.home-blog-feature:hover,.home-blog-item:hover{transform:translateY(-2px);border-color:var(--line-strong)}
.home-blog-feature{flex-direction:column}
.home-blog-side{display:grid;gap:16px}
.home-blog-img{overflow:hidden;background:#0b0c0f}
.home-blog-feature .home-blog-img{aspect-ratio:16/9}
.home-blog-item .home-blog-img{flex:0 0 38%;aspect-ratio:4/3}
.home-blog-img img{display:block;width:100%;height:100%;object-fit:cover}
.home-blog-img.is-default{display:grid;place-items:center;background:#14120f}
.home-blog-img.is-default img{width:46%;height:auto;object-fit:contain}
.home-blog-copy{display:flex;flex-direction:column;gap:7px;padding:16px 18px 18px;min-width:0}
.home-blog-item .home-blog-copy{padding:12px 16px 12px 14px;justify-content:center}
.home-blog-meta{color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.home-blog-title{font-size:17px;font-weight:600;letter-spacing:-.015em;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.home-blog-feature .home-blog-title{font-size:24px;letter-spacing:-.025em;line-height:1.25}
.home-blog-summary{margin:0;color:var(--muted);font-size:13.5px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.home-blog-item .home-blog-summary{-webkit-line-clamp:2;font-size:13px}
@media(max-width:860px){.home-blog{grid-template-columns:1fr}.home-blog-feature .home-blog-title{font-size:21px}}
@media(max-width:520px){.home-blog-item .home-blog-img{flex-basis:34%}.home-blog-item .home-blog-summary{display:none}}

/* Blog block, second pass (owner 26/11/2026: "xau nhi"): both columns the same height, a calmer default picture, bigger side pictures */
.home-blog{align-items:stretch}
.home-blog-side{grid-auto-rows:1fr;align-content:stretch}
.home-blog-item{height:100%}
.home-blog-item .home-blog-img{flex:0 0 42%;aspect-ratio:auto;min-height:130px}
.home-blog-img.is-default{background:linear-gradient(135deg,#1c130b 0%,#2b1b0d 55%,#1c130b 100%)}
.home-blog-img.is-default img{width:28%;opacity:.9}
.home-blog-item .home-blog-img.is-default img{width:46%}
.home-blog-item .home-blog-copy{padding:14px 18px}
@media(max-width:860px){.home-blog-side{grid-auto-rows:auto}.home-blog-item{height:auto}.home-blog-item .home-blog-img{aspect-ratio:4/3}}

/* Blog block, third pass (owner 26/11/2026: "card danh sach mong di"): thin list cards on the right, shorter big picture */
.home-blog{align-items:start}
.home-blog-side{grid-auto-rows:auto;gap:12px}
.home-blog-item{height:auto;align-items:stretch}
.home-blog-item .home-blog-img{flex:0 0 112px;aspect-ratio:auto;min-height:0}
.home-blog-item .home-blog-img.is-default img{width:62%}
.home-blog-item .home-blog-copy{padding:10px 16px;gap:4px;justify-content:center}
.home-blog-item .home-blog-title{font-size:15px;-webkit-line-clamp:2}
.home-blog-item .home-blog-summary{display:none}
.home-blog-feature .home-blog-img{aspect-ratio:2/1}
@media(max-width:860px){.home-blog-item .home-blog-img{flex-basis:104px;aspect-ratio:auto}}



/* Borderless plug-in cards (owner 03/12/2026) */
.home-card,.home-card:hover{border:0}
.home-card{background:transparent}.home-card-copy{flex:1;background:var(--surface)}
