/* Homepage composition. Brand variables and custom.css remain the source of theme choices. */
.kd-home-page>.container{max-width:1328px;padding:26px 28px 0}
.kd-home-page .section{margin-top:38px}
.kd-home-page #categories{margin-top:24px}
.kd-home-page .section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:21px}
.kd-home-page .section-head h2{font-size:27px;font-weight:750;line-height:1.2;letter-spacing:-.65px;color:var(--kd-ink,#172b4d);margin:0}
.kd-home-page .section-head>.hint{font-size:13px;color:var(--kd-text-muted,#52647d);line-height:1.5}
.kd-home-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 22px}
.kd-home-heading h1,.kd-home-heading h2{margin:7px 0 0;font-size:30px;line-height:1.2;font-weight:750;letter-spacing:-.75px;color:var(--kd-ink,#172b4d)}
.kd-home-kicker{display:block;margin:0;font-size:11px;line-height:1.5;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--kd-text-muted,#53677f)}
.kd-home-heading__actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex-shrink:0}
.kd-home-map-inline,.kd-home-heading__actions>a{display:inline-flex;gap:8px;align-items:center;min-height:42px;padding:10px 13px;border:1px solid var(--kd-line,#e3eaf4);border-radius:12px;background:var(--kd-surface,#fff);color:var(--kd-light-link,var(--kd-link,var(--kd-brand,#1768eb)));font-size:13px;font-weight:650;line-height:1.4;text-decoration:none;white-space:nowrap}
.kd-home-map-inline:hover,.kd-home-heading__actions>a:hover{border-color:var(--kd-brand,#1768eb);background:var(--kd-soft,#eff5ff)}
.kd-home-map-inline .kd-icon{width:18px;height:18px}
.kd-home-banner,.kd-home-paid-banner{margin:0 0 28px}
.kd-home-banner{position:relative;overflow:hidden;border:1px solid var(--kd-line,#e3eaf4);border-radius:20px;background:var(--kd-surface,#fff)}
.kd-home-banner>a{display:block}
.kd-home-banner img{display:block;width:100%;height:auto;max-height:340px;object-fit:contain}
.kd-home-banner-label{position:absolute;right:12px;top:12px;z-index:1;border-radius:6px;background:rgba(var(--kd-surface-rgb,255,255,255),0.9608);padding:4px 7px;font-size:10px;line-height:1.3;color:var(--kd-text-muted,#52647d);pointer-events:none}
.kd-home-paid-banner .kd-ad-placement{margin:0}
.kd-home-page .banner{margin-top:28px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;background:linear-gradient(110deg,var(--kd-soft,#eff5ff),var(--kd-surface,#fff));border:1px solid var(--kd-line,#e3eaf4);border-radius:20px;box-shadow:none;color:var(--kd-ink,#172b4d)}
.kd-home-page .banner h2{font-size:22px;font-weight:700;line-height:1.25;letter-spacing:-.35px;margin:0 0 7px}
.kd-home-page .banner p{color:var(--kd-text-muted,#52647d);font-size:14px;line-height:1.6;margin:0}
.kd-home-page .banner .white-btn{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:46px;padding:13px 20px;background:var(--kd-brand,#1768eb);border:1px solid var(--kd-brand,#1768eb);color:#fff;border-radius:12px;font-size:14px;font-weight:650;line-height:1.35;text-decoration:none}
.kd-home-page .banner .white-btn:hover{filter:brightness(.94)}
.kd-home-page .vip-showcase{padding:26px;background:var(--kd-soft,#eff5ff);border:1px solid var(--kd-line,#dbe7f5);border-radius:22px;box-shadow:none}
.kd-home-page .vip-showcase .section-head{margin-bottom:9px}
.kd-home-page .vip-showcase h2{color:var(--kd-ink,#172b4d);font-size:25px}
.kd-home-page .vip-showcase-label{display:inline-flex;align-items:center;min-height:31px;padding:7px 11px;border:1px solid var(--kd-border,#dde8f5);border-radius:20px;background:var(--kd-surface,#fff);color:var(--kd-light-link,var(--kd-link,#174d9d));font-size:11px;font-weight:650;line-height:1.3}
.kd-home-page .vip-showcase-intro{margin:0 0 22px;color:var(--kd-text-muted,#52647d);font-size:13px;line-height:1.6}
.kd-home-page .recent-showcase{margin-top:40px;padding-top:0;border:0}
.kd-home-page .cards{gap:18px}
.kd-home-page .cards .card{box-shadow:0 3px 12px #18345404;transition:border-color .15s ease,box-shadow .15s ease}
.kd-home-page .cards .card:hover{border-color:var(--kd-border,#bacde7);box-shadow:0 8px 24px #1834540a}
.kd-home-page .empty{padding:28px;border-radius:16px;color:var(--kd-text-muted,#52647d);font-size:14px;line-height:1.65}
.kd-home-page .cards .place{color:var(--kd-text-muted,#52647d)!important}
.kd-home-page>.kd-footer{margin-top:52px}
/* Existing icon layouts keep their original category markup. */
.kd-home-category-copy{display:block;flex:1;min-width:0}
.kd-home-category-copy strong{display:block}
.kd-home-category-copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:6px;color:var(--kd-text-muted,#52647d);font-size:11px;line-height:1.5;font-weight:400}
.kd-home-category-arrow{font-size:17px;color:var(--kd-text-muted,#687c97);align-self:flex-start;flex:0 0 auto;line-height:1.2}
.kd-home-categories>.cat:hover .kd-home-category-arrow{color:var(--kd-light-link,var(--kd-link,var(--kd-brand,#1768eb)))}
@media(max-width:1060px){
 .kd-home-page>.container{padding:24px 22px 0}
 .kd-home-page .section-head h2{font-size:25px}
 .kd-home-heading h1,.kd-home-heading h2{font-size:28px}
}
@media(max-width:760px){
 .kd-home-page>.container{padding:20px 16px 0}
 .kd-home-page .section{margin-top:28px}
 .kd-home-page #categories{margin-top:20px}
 .kd-home-page .section-head{gap:12px;align-items:flex-start;margin-bottom:17px}
 .kd-home-page .section-head h2{font-size:23px;letter-spacing:-.45px}
 .kd-home-page .section-head>.hint{max-width:130px;text-align:right;font-size:12px}
 .kd-home-heading{align-items:flex-start;gap:16px;margin-bottom:18px}
 .kd-home-heading h1,.kd-home-heading h2{font-size:26px;letter-spacing:-.6px}
 .kd-home-kicker{font-size:10px;letter-spacing:.06em}
 .kd-home-heading__actions{gap:8px}
 .kd-home-map-inline,.kd-home-heading__actions>a{font-size:12px;gap:6px;padding:9px 11px;min-height:40px;white-space:normal}
 .kd-home-banner,.kd-home-paid-banner{margin-bottom:22px}
 .kd-home-banner{border-radius:16px}
 .kd-home-page .banner{padding:21px;gap:18px;border-radius:16px;margin-top:22px}
 .kd-home-page .banner h2{font-size:20px}
 .kd-home-page .banner p{font-size:13px}
 .kd-home-page .banner .white-btn{min-height:44px;padding:11px 16px;font-size:13px}
 .kd-home-page .vip-showcase{padding:20px 16px;border-radius:18px}
 .kd-home-page .vip-showcase h2{font-size:23px}
 .kd-home-page .vip-showcase-label{font-size:10px;min-height:28px;padding:6px 9px}
 .kd-home-page .vip-showcase-intro{font-size:12px;margin-bottom:17px}
 .kd-home-page .recent-showcase{margin-top:30px}
 .kd-home-page .cards{gap:12px}
 .kd-home-category-copy small,.kd-home-category-arrow{display:none}
 .kd-home-page>.kd-footer{margin-top:36px}
}
@media(max-width:480px){
 .kd-home-page>.container{padding:18px 14px 0}
 .kd-home-page .section-head.kd-home-heading{flex-wrap:wrap;gap:12px}
 .kd-home-heading__actions{justify-content:flex-start;flex-shrink:1}
 .kd-home-heading h1,.kd-home-heading h2{font-size:25px}
 .kd-home-page .banner{flex-direction:column;align-items:flex-start;padding:20px;gap:15px}
 .kd-home-page .banner .white-btn{align-self:flex-start}
 .kd-home-page .vip-showcase .section-head{flex-wrap:wrap;gap:10px}
 .kd-home-page .vip-showcase h2{font-size:21px}
 .kd-home-page .section-head>.hint{max-width:112px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){.kd-home-page .cards .card{transition:none}}

/* A compact catalogue toolbar connects the header to the category cards. */
.kd-home-page>main.container{padding-top:20px}
.kd-home-page #categories{margin-top:0}
.kd-home-page #categories>.kd-home-heading{align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}
.kd-home-page .kd-home-heading__copy{min-width:0}
.kd-home-page .kd-home-heading__copy h1{font-size:24px;line-height:1.3;letter-spacing:-.5px;margin:0;font-weight:750;color:var(--kd-ink,#172b4d)}
.kd-home-page .kd-home-heading__actions{gap:8px;margin:0}
.kd-home-page .kd-home-heading__actions>a{min-height:40px;padding:9px 13px;font-size:13px;border-radius:12px}
.kd-home-page .kd-home-heading__actions>a[href="#listings"]{background:var(--kd-soft,#eff5ff);border-color:transparent}
@media(max-width:700px){
 .kd-home-page>main.container{padding-top:16px}
 .kd-home-page #categories>.kd-home-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:14px}
 .kd-home-page .kd-home-heading__copy h1{font-size:22px}
 .kd-home-page .kd-home-heading__actions{width:100%;justify-content:flex-start;flex-wrap:wrap}
 .kd-home-page .kd-home-heading__actions{align-items:stretch}
 .kd-home-page .kd-home-heading__actions>a{flex:1 1 140px;justify-content:center;min-height:42px;font-size:11.5px;gap:6px;padding:9px 8px;white-space:nowrap}
}

.kd-home-heading__actions>a,.kd-home-heading__actions>a:hover{color:var(--kd-light-link,var(--kd-link,#135bc9))}
