.kdm-list-template-type-kapy_palaa{color:var(--kdm-template-text,#fff);background:var(--kdm-template-background,#087536)}
/* Carry the outer radius to the edge borders without clipping preview menus. */
.kdm-list-template-type-kapy_palaa > .kdm-list-template-content,
.kdm-list-template-type-kapy_palaa .kdm-kapy-palaa-list{border-radius:inherit}
.kdm-list-template-type-kapy_palaa .kdm-kapy-section:first-child{border-top-left-radius:var(--kdm-template-list-radius,0px);border-top-right-radius:var(--kdm-template-list-radius,0px)}
.kdm-list-template-type-kapy_palaa .kdm-kapy-section:last-child{border-bottom-left-radius:var(--kdm-template-list-radius,0px);border-bottom-right-radius:var(--kdm-template-list-radius,0px)}
.kdm-list-template-type-kapy_palaa .kdm-kapy-items-scroll{max-width:100%;overflow-x:auto}
.kdm-list-template-type-kapy_palaa .kdm-kapy-items{width:auto;max-width:100%;margin:0;border:0;border-collapse:collapse;background:transparent;color:inherit}
.kdm-list-template-type-kapy_palaa .kdm-kapy-items th,
.kdm-list-template-type-kapy_palaa .kdm-kapy-items td{padding:8px;border:0;background:transparent;color:inherit;text-align:start;vertical-align:middle}
.kdm-list-template-type-kapy_palaa .kdm-kapy-section{display:grid;grid-template-columns:minmax(0,38%) minmax(0,62%);gap:clamp(28px,6vw,90px);align-items:start;justify-content:start;padding:var(--kdm-template-section-padding-y,42px) 6%;border-bottom:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#122f20)}
.kdm-list-template-type-kapy_palaa .kdm-kapy-section:first-child{border-top:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#122f20)}
:where(.kdm-list-template-type-kapy_palaa) :where(.kdm-kapy-title){display:block;margin:0 0 20px;color:var(--kdm-template-heading,var(--kdm-template-text,#fff))!important;font-size:var(--kdm-template-title-size,30px);font-weight:var(--kdm-template-title-weight,700);line-height:1.28}:where(.kdm-list-template-type-kapy_palaa) :where(.kdm-kapy-title)-link,:where(.kdm-list-template-type-kapy_palaa) :where(.kdm-kapy-title)-link:visited{color:inherit;text-decoration:none}
.kdm-list-template-type-kapy_palaa .kdm-kapy-preview img{display:block;max-width:var(--kdm-template-preview-max-width,160px)!important;max-height:var(--kdm-template-preview-max-height,160px)!important;width:auto!important;height:auto!important}
.kdm-list-template-type-kapy_palaa .kdm-kapy-preview-menu,.kdm-list-template-type-kapy_palaa .kdm-kapy-title-menu{position:relative;display:block;width:max-content;max-width:100%}
.kdm-list-template-type-kapy_palaa .kdm-kapy-preview-menu>summary,.kdm-list-template-type-kapy_palaa .kdm-kapy-title-menu>summary{display:block;list-style:none;cursor:pointer;outline:none}
.kdm-list-template-type-kapy_palaa .kdm-kapy-preview-menu>summary::-webkit-details-marker,.kdm-list-template-type-kapy_palaa .kdm-kapy-title-menu>summary::-webkit-details-marker{display:none}
.kdm-list-template-type-kapy_palaa .kdm-kapy-preview-menu>summary::marker,.kdm-list-template-type-kapy_palaa .kdm-kapy-title-menu>summary::marker{content:""}
.kdm-list-template-type-kapy_palaa .kdm-kapy-preview-menu-panel{position:absolute;z-index:20;top:calc(100% + 10px);left:0;min-width:190px;max-width:min(280px,80vw);padding:10px;background:var(--kdm-template-preview-menu-background,#fff);color:var(--kdm-template-preview-menu-text,#111);border:0;border-radius:10px;box-shadow:none}
.kdm-list-template-type-kapy_palaa .kdm-kapy-preview-menu-title{margin:0 0 6px;padding:2px 4px;font-size:14px;font-weight:700;line-height:1.3}
.kdm-list-template-type-kapy_palaa .kdm-kapy-preview-menu-item{display:block;padding:8px 10px;border-radius:6px;color:var(--kdm-template-preview-menu-text,#111)!important;text-decoration:none}
.kdm-list-template-type-kapy_palaa .kdm-kapy-preview-menu-item:hover,.kdm-list-template-type-kapy_palaa .kdm-kapy-preview-menu-item:focus{background:rgba(0,0,0,.08)}
@media(max-width:720px){.kdm-list-template-type-kapy_palaa .kdm-kapy-preview-menu-panel{min-width:170px;max-width:calc(100vw - 48px)}}
.kdm-list-template-type-kapy_palaa .kdm-kapy-downloads{display:flex;flex-direction:column;gap:15px;width:100%;max-width:100%;align-items:flex-end;justify-self:stretch}.kdm-list-template-type-kapy_palaa .kdm-kapy-description{margin:0 0 var(--kdm-template-row-spacing,40px);color:inherit;font-size:var(--kdm-template-description-size,22px);line-height:1.35}
.kdm-list-template-type-kapy_palaa .kdm-kapy-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--kdm-template-button-gap,5px)}

.kdm-list-template-type-kapy_palaa .kdm-kapy-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:var(--kdm-template-button-padding-y,13px) var(--kdm-template-button-padding-x,28px);border:var(--kdm-template-button-border-width,0px) solid var(--kdm-template-button-border-color,transparent);border-radius:var(--kdm-template-button-radius,999px);background:var(--kdm-template-button-background,#ffb35f);color:var(--kdm-template-button-text,#111);font-size:17px;font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap}
@media(max-width:720px){.kdm-list-template-type-kapy_palaa .kdm-kapy-section{grid-template-columns:1fr;gap:24px;padding-right:24px;padding-left:24px}:where(.kdm-list-template-type-kapy_palaa) :where(.kdm-kapy-title){margin-bottom:20px;font-size:min(var(--kdm-template-title-size,30px),11vw)}.kdm-list-template-type-kapy_palaa .kdm-kapy-preview img{max-width:min(var(--kdm-template-preview-max-width,160px),55vw)!important}}


/* Creative Factory templates */
.kdm-list-template-type-creative_minimal .kdm-creative-list{display:flex;flex-direction:column;background:var(--kdm-template-background,#fff)}
.kdm-list-template-type-creative_minimal .kdm-creative-minimal-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px;align-items:center;padding:var(--kdm-template-section-padding-y,18px) 0;border-bottom:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#e5e7eb)}
.kdm-list-template-type-creative_minimal .kdm-creative-minimal-item:first-child{border-top:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#e5e7eb)}
.kdm-list-template-type-creative_minimal .kdm-creative-minimal-media{width:var(--kdm-template-preview-max-width,72px);min-width:var(--kdm-template-preview-max-width,72px)}
.kdm-list-template-type-creative_minimal .kdm-creative-minimal-image{display:block;width:100%;height:auto;max-height:var(--kdm-template-preview-max-height,72px);object-fit:cover}
:where(.kdm-list-template-type-creative_minimal,.kdm-list-template-type-creative_file_shelf,.kdm-list-template-type-creative_card_grid,.kdm-list-template-type-creative_accordion,.kdm-list-template-type-creative_action_rail,.kdm-list-template-type-creative_timeline,.kdm-list-template-type-creative_magazine) :where(.kdm-creative-title){margin:0;color:var(--kdm-template-heading,#111827);font-size:var(--kdm-template-title-size,19px);font-weight:var(--kdm-template-title-weight,700);line-height:1.25}
.kdm-list-template-type-creative_minimal .kdm-creative-description,.kdm-list-template-type-creative_file_shelf .kdm-creative-description,.kdm-list-template-type-creative_card_grid .kdm-creative-description,.kdm-list-template-type-creative_accordion .kdm-creative-description,.kdm-list-template-type-creative_action_rail .kdm-creative-description,.kdm-list-template-type-creative_timeline .kdm-creative-description,.kdm-list-template-type-creative_magazine .kdm-creative-description{margin:9px 0 0;color:var(--kdm-template-text,#475569);font-size:var(--kdm-template-description-size,15px);line-height:1.45}
.kdm-list-template-type-creative_minimal .kdm-creative-meta,.kdm-list-template-type-creative_file_shelf .kdm-creative-meta,.kdm-list-template-type-creative_card_grid .kdm-creative-card-meta,.kdm-list-template-type-creative_action_rail .kdm-creative-meta,.kdm-list-template-type-creative_timeline .kdm-creative-meta,.kdm-list-template-type-creative_magazine .kdm-creative-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;color:var(--kdm-template-text,#64748b);font-size:12px;line-height:1.3}
.kdm-list-template-type-creative_minimal .kdm-creative-button-group,.kdm-list-template-type-creative_file_shelf .kdm-creative-button-group,.kdm-list-template-type-creative_card_grid .kdm-creative-button-group,.kdm-list-template-type-creative_accordion .kdm-creative-button-group,.kdm-list-template-type-creative_action_rail .kdm-creative-button-group,.kdm-list-template-type-creative_timeline .kdm-creative-button-group,.kdm-list-template-type-creative_magazine .kdm-creative-button-group{display:flex;flex-wrap:wrap;gap:var(--kdm-template-button-gap,8px)}
.kdm-list-template-type-creative_minimal .kdm-creative-button,.kdm-list-template-type-creative_file_shelf .kdm-creative-button,.kdm-list-template-type-creative_card_grid .kdm-creative-button,.kdm-list-template-type-creative_accordion .kdm-creative-button,.kdm-list-template-type-creative_timeline .kdm-creative-button,.kdm-list-template-type-creative_magazine .kdm-creative-button{display:inline-flex;align-items:center;justify-content:center;padding:var(--kdm-template-button-padding-y,8px) var(--kdm-template-button-padding-x,16px);border:var(--kdm-template-button-border-width,0px) solid var(--kdm-template-button-border-color,#111827);border-radius:var(--kdm-template-button-radius,6px);background:var(--kdm-template-button-background,#111827);color:var(--kdm-template-button-text,#fff);font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap}
.kdm-list-template-type-creative_minimal .kdm-creative-minimal-actions{justify-self:end}

/* File shelf */
.kdm-list-template-type-creative_file_shelf .kdm-creative-list{display:flex;flex-direction:column;gap:1px;background:var(--kdm-template-divider-color,#cbd5e1)}
.kdm-list-template-type-creative_file_shelf .kdm-creative-file-shelf-item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:18px;align-items:center;padding:var(--kdm-template-section-padding-y,16px);background:var(--kdm-template-background,#f8fafc)}
.kdm-list-template-type-creative_file_shelf .kdm-creative-file-badge{display:flex;align-items:center;justify-content:center;width:64px;height:72px;border:2px solid var(--kdm-template-heading,#0f172a);border-radius:4px;background:transparent;color:var(--kdm-template-heading,#0f172a);font-size:12px;font-weight:800;letter-spacing:.04em}
.kdm-list-template-type-creative_file_shelf .kdm-creative-file-actions{justify-self:end}
.kdm-list-template-type-creative_file_shelf .kdm-creative-file-actions .kdm-creative-button{background:transparent;color:var(--kdm-template-heading,#0f172a)}

/* Card grid */
.kdm-list-template-type-creative_card_grid .kdm-creative-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:4px}
.kdm-list-template-type-creative_card_grid .kdm-creative-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#dbe2ea);border-radius:12px;background:var(--kdm-template-background,#f5f7fb);box-shadow:0 8px 24px rgba(15,23,42,.06)}
.kdm-list-template-type-creative_card_grid .kdm-creative-card-media{aspect-ratio:16/10;overflow:hidden;background:#e8edf3}
.kdm-list-template-type-creative_card_grid .kdm-creative-card-image{display:block;width:100%;height:100%;object-fit:cover}
.kdm-list-template-type-creative_card_grid .kdm-creative-card-body{display:flex;flex:1;flex-direction:column;padding:20px}
.kdm-list-template-type-creative_card_grid .kdm-creative-card-actions{margin-top:auto;padding-top:18px}

/* Accordion */
.kdm-list-template-type-creative_accordion .kdm-creative-list{display:flex;flex-direction:column;gap:10px}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-item{border:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#d1d5db);background:var(--kdm-template-background,#fff)}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-item>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;cursor:pointer;list-style:none;color:var(--kdm-template-heading,#111827);font-size:var(--kdm-template-title-size,19px);font-weight:var(--kdm-template-title-weight,700)}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-item>summary::-webkit-details-marker{display:none}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-mark{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--kdm-template-divider-color,#d1d5db);border-radius:50%;font-size:18px;line-height:1}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-item[open] .kdm-creative-accordion-mark{transform:rotate(45deg)}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-body{display:grid;grid-template-columns:minmax(150px,30%) minmax(0,1fr);gap:24px;padding:0 20px 20px}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-image{display:block;width:100%;max-height:var(--kdm-template-preview-max-height,120px);object-fit:cover}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-actions{margin-top:18px}

/* Action rail */
.kdm-list-template-type-creative_action_rail .kdm-creative-list{display:flex;flex-direction:column;gap:14px}
.kdm-list-template-type-creative_action_rail .kdm-creative-rail-item{display:grid;grid-template-columns:92px minmax(0,1fr) minmax(150px,220px);gap:24px;align-items:stretch;padding:18px;background:var(--kdm-template-background,#101827);border:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#263348)}
.kdm-list-template-type-creative_action_rail .kdm-creative-rail-actions{display:flex;align-items:stretch}
.kdm-list-template-type-creative_action_rail .kdm-creative-rail-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:110px;padding:14px 8px;background:var(--kdm-template-button-background,#f4c95d);color:var(--kdm-template-button-text,#151515);font-size:13px;font-weight:800;line-height:1.25;text-align:center;text-decoration:none;writing-mode:vertical-rl;transform:rotate(180deg)}
.kdm-list-template-type-creative_action_rail .kdm-creative-rail-content{align-self:center}
.kdm-list-template-type-creative_action_rail .kdm-creative-rail-media{display:flex;align-items:center;justify-content:center;overflow:hidden;min-height:110px}
.kdm-list-template-type-creative_action_rail .kdm-creative-rail-image{display:block;width:100%;height:100%;max-height:var(--kdm-template-preview-max-height,180px);object-fit:cover}
.kdm-list-template-type-creative_action_rail .kdm-creative-rail-empty{border:1px dashed var(--kdm-template-divider-color,#263348);color:var(--kdm-template-heading,#fff);font-size:12px;font-weight:800;letter-spacing:.08em}

/* Timeline */
.kdm-list-template-type-creative_timeline .kdm-creative-list{position:relative;display:flex;flex-direction:column;padding:10px 0 10px 52px}
.kdm-list-template-type-creative_timeline .kdm-creative-list::before{content:"";position:absolute;top:0;bottom:0;left:20px;width:var(--kdm-template-divider-width,2px);background:var(--kdm-template-divider-color,#c9d5ce)}
.kdm-list-template-type-creative_timeline .kdm-creative-timeline-item{position:relative;padding:0 0 var(--kdm-template-row-spacing,28px)}
.kdm-list-template-type-creative_timeline .kdm-creative-timeline-marker{position:absolute;left:-52px;top:18px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--kdm-template-button-background,#20342a);color:var(--kdm-template-button-text,#fff);font-size:10px;font-weight:800;letter-spacing:.04em;box-shadow:0 0 0 6px var(--kdm-template-background,#f7f8f5)}
.kdm-list-template-type-creative_timeline .kdm-creative-timeline-card{padding:20px;border:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#c9d5ce);background:var(--kdm-template-background,#f7f8f5);box-shadow:0 8px 22px rgba(32,52,42,.06)}
.kdm-list-template-type-creative_timeline .kdm-creative-timeline-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px}
.kdm-list-template-type-creative_timeline .kdm-creative-timeline-media{margin:16px 0 0;overflow:hidden}
.kdm-list-template-type-creative_timeline .kdm-creative-timeline-image{display:block;max-width:100%;width:100%;max-height:var(--kdm-template-preview-max-height,140px);object-fit:cover}
.kdm-list-template-type-creative_timeline .kdm-creative-timeline-actions{margin-top:18px}

/* Magazine */
.kdm-list-template-type-creative_magazine .kdm-creative-list{display:flex;flex-direction:column;gap:34px}
.kdm-list-template-type-creative_magazine .kdm-creative-magazine-item{position:relative;min-height:420px}
.kdm-list-template-type-creative_magazine .kdm-creative-magazine-hero{position:relative;min-height:420px;background-position:center;background-size:cover;background-repeat:no-repeat}
.kdm-list-template-type-creative_magazine .kdm-creative-magazine-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.04) 0%,rgba(0,0,0,.12) 45%,rgba(0,0,0,.4) 100%)}
.kdm-list-template-type-creative_magazine .kdm-creative-magazine-hero-empty{background:linear-gradient(135deg,#d8d0c4,#a99f92)}
.kdm-list-template-type-creative_magazine .kdm-creative-magazine-panel{position:absolute;right:6%;bottom:8%;width:min(520px,86%);padding:28px;background:var(--kdm-template-background,#efeae2);color:var(--kdm-template-text,#554d45);box-shadow:0 16px 40px rgba(33,28,24,.2)}
.kdm-list-template-type-creative_magazine .kdm-creative-magazine-actions{margin-top:20px}

@media(max-width:980px){
	.kdm-list-template-type-creative_card_grid .kdm-creative-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
	.kdm-list-template-type-creative_minimal .kdm-creative-minimal-item{grid-template-columns:auto minmax(0,1fr)}
	.kdm-list-template-type-creative_minimal .kdm-creative-minimal-actions{grid-column:2;justify-self:start}
	.kdm-list-template-type-creative_file_shelf .kdm-creative-file-shelf-item{grid-template-columns:58px minmax(0,1fr)}
	.kdm-list-template-type-creative_file_shelf .kdm-creative-file-actions{grid-column:2;justify-self:start}
	.kdm-list-template-type-creative_file_shelf .kdm-creative-file-badge{width:52px;height:62px}
	.kdm-list-template-type-creative_card_grid .kdm-creative-list{grid-template-columns:1fr}
	.kdm-list-template-type-creative_accordion .kdm-creative-accordion-body{grid-template-columns:1fr}
	.kdm-list-template-type-creative_action_rail .kdm-creative-rail-item{grid-template-columns:72px minmax(0,1fr)}
	.kdm-list-template-type-creative_action_rail .kdm-creative-rail-media{grid-column:1/-1}
	.kdm-list-template-type-creative_action_rail .kdm-creative-rail-button{min-height:96px}
	.kdm-list-template-type-creative_timeline .kdm-creative-timeline-head{display:block}
	.kdm-list-template-type-creative_magazine .kdm-creative-magazine-hero{min-height:520px}
	.kdm-list-template-type-creative_magazine .kdm-creative-magazine-panel{right:20px;bottom:20px;left:20px;width:auto}
}


/* Optional theme button isolation */
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-download-button,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-kapy-button,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-button,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-rail-button,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-button-1-button,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-button-2-button,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-banner-1-button{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	box-sizing:border-box!important;
	min-height:0!important;
	margin:0!important;
	padding:var(--kdm-template-button-padding-y,8px) var(--kdm-template-button-padding-x,16px)!important;
	border:var(--kdm-template-button-border-width,0px) solid var(--kdm-template-button-border-color,#111827)!important;
	border-radius:var(--kdm-template-button-radius,6px)!important;
	background:var(--kdm-template-button-background,#111827)!important;
	color:var(--kdm-template-button-text,#fff)!important;
	font-family:inherit!important;
	font-size:inherit!important;
	font-weight:700!important;
	line-height:1.2!important;
	text-decoration:none!important;
	text-transform:none!important;
	letter-spacing:normal!important;
	appearance:none!important;
	-webkit-appearance:none!important;
	box-shadow:none!important;
	width:auto!important;
	max-width:100%!important;
	min-width:0!important;
	height:auto!important;
	min-height:0!important;
	float:none!important;
	transform:none!important;
	vertical-align:middle!important;
}
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-download-button::before,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-download-button::after,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-kapy-button::before,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-kapy-button::after,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-button::before,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-button::after,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-rail-button::before,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-rail-button::after,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-button-1-button::before,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-button-1-button::after,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-button-2-button::before,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-button-2-button::after,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-banner-1-button::before,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-banner-1-button::after{
	content:none!important;
	display:none!important;
}
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-download-button:hover,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-download-button:focus,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-download-button:active,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-kapy-button:hover,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-kapy-button:focus,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-kapy-button:active,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-button:hover,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-button:focus,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-button:active,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-rail-button:hover,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-rail-button:focus,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-rail-button:active,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-button-1-button:hover,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-button-1-button:focus,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-button-1-button:active,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-button-2-button:hover,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-button-2-button:focus,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-button-2-button:active,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-banner-1-button:hover,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-banner-1-button:focus,
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-banner-1-button:active{
	background:var(--kdm-template-button-background,#111827)!important;
	border-color:var(--kdm-template-button-border-color,#111827)!important;
	color:var(--kdm-template-button-text,#fff)!important;
	box-shadow:none!important;
	text-decoration:none!important;
	text-transform:none!important;
}


/* Template hover states: only take control when theme button styling is explicitly omitted. */
.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-download-button:hover,.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-download-button:focus,.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-download-button:active,.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-kapy-button:hover,.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-kapy-button:focus,.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-kapy-button:active,.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-button:hover,.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-button:focus,.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-button:active,.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-rail-button:hover,.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-rail-button:focus,.kdm-list-template.kdm-list-template-omit-theme-button-style .kdm-creative-rail-button:active{background:var(--kdm-template-button-hover-background,var(--kdm-template-button-background,#111827))!important;border-color:var(--kdm-template-button-hover-border-color,var(--kdm-template-button-border-color,#111827))!important;color:var(--kdm-template-button-hover-text,var(--kdm-template-button-text,#fff))!important;-webkit-text-fill-color:var(--kdm-template-button-hover-text,var(--kdm-template-button-text,#fff))!important}
:where(.kdm-list-template) :where(.kdm-download-link:hover),:where(.kdm-list-template) :where(.kdm-download-link:focus),:where(.kdm-list-template) :where(.kdm-kapy-title-link:hover),:where(.kdm-list-template) :where(.kdm-kapy-title-link:focus),:where(.kdm-list-template) :where(.kdm-kapy-title:hover),:where(.kdm-list-template) .kdm-kapy-title-menu>summary:hover,:where(.kdm-list-template) :where(.kdm-creative-title:hover),:where(.kdm-list-template) :where(.kdm-creative-accordion-item>summary:hover){color:var(--kdm-template-heading-hover,var(--kdm-template-heading,#222))!important;-webkit-text-fill-color:var(--kdm-template-heading-hover,var(--kdm-template-heading,#222))!important}


/* The Download label and icon use the template's text colours even when theme button styling is retained. */
.kdm-list-template .kdm-download-button-with-icon,
.kdm-list-template .kdm-download-button-with-icon .kdm-download-button-label,
.kdm-list-template .kdm-download-button-with-icon .kdm-download-button-icon{
	color:var(--kdm-template-button-text,#fff) !important;
	-webkit-text-fill-color:var(--kdm-template-button-text,#fff) !important;
}
.kdm-list-template .kdm-download-button-with-icon .kdm-download-button-icon svg path{
	fill:currentColor !important;
}
.kdm-list-template .kdm-download-button-with-icon:hover,
.kdm-list-template .kdm-download-button-with-icon:focus,
.kdm-list-template .kdm-download-button-with-icon:active,
.kdm-list-template .kdm-download-button-with-icon:hover .kdm-download-button-label,
.kdm-list-template .kdm-download-button-with-icon:focus .kdm-download-button-label,
.kdm-list-template .kdm-download-button-with-icon:active .kdm-download-button-label,
.kdm-list-template .kdm-download-button-with-icon:hover .kdm-download-button-icon,
.kdm-list-template .kdm-download-button-with-icon:focus .kdm-download-button-icon,
.kdm-list-template .kdm-download-button-with-icon:active .kdm-download-button-icon{
	color:var(--kdm-template-button-hover-text,var(--kdm-template-button-text,#fff)) !important;
	-webkit-text-fill-color:var(--kdm-template-button-hover-text,var(--kdm-template-button-text,#fff)) !important;
}

/* Respect each template's preview image size settings for standard download images, including category lists. */
.kdm-list-template .kdm-download-preview-image{
	display:block;
	max-width:var(--kdm-template-preview-max-width,120px)!important;
	max-height:var(--kdm-template-preview-max-height,120px)!important;
	width:auto!important;
	height:auto!important;
	object-fit:contain;
}

/* Preview image hover styles */
.kdm-list-template .kdm-download-preview-image,
.kdm-list-template .kdm-kapy-preview .kdm-download-preview-image,
.kdm-list-template .kdm-creative-card-image,
.kdm-list-template .kdm-creative-accordion-image{transition:transform .25s ease,filter .25s ease}
.kdm-list-template .kdm-download-preview-link:hover .kdm-download-preview-image,
.kdm-list-template .kdm-kapy-preview-link:hover .kdm-download-preview-image,
.kdm-list-template .kdm-creative-card-media:hover .kdm-creative-card-image,
.kdm-list-template .kdm-creative-accordion-media:hover .kdm-creative-accordion-image{transform:scale(var(--kdm-preview-hover-scale,1));filter:var(--kdm-preview-hover-filter,none)}
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:zoom-subtle"] .kdm-download-preview-link:hover .kdm-download-preview-image,
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:zoom-subtle"] .kdm-kapy-preview-link:hover .kdm-download-preview-image,
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:zoom-subtle"] .kdm-creative-card-media:hover .kdm-creative-card-image,
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:zoom-subtle"] .kdm-creative-accordion-media:hover .kdm-creative-accordion-image{--kdm-preview-hover-scale:1.03}
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:zoom-strong"] .kdm-download-preview-link:hover .kdm-download-preview-image,
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:zoom-strong"] .kdm-kapy-preview-link:hover .kdm-download-preview-image,
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:zoom-strong"] .kdm-creative-card-media:hover .kdm-creative-card-image,
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:zoom-strong"] .kdm-creative-accordion-media:hover .kdm-creative-accordion-image{--kdm-preview-hover-scale:1.08}
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:lighten"] .kdm-download-preview-link:hover .kdm-download-preview-image,
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:lighten"] .kdm-kapy-preview-link:hover .kdm-download-preview-image,
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:lighten"] .kdm-creative-card-media:hover .kdm-creative-card-image,
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:lighten"] .kdm-creative-accordion-media:hover .kdm-creative-accordion-image{--kdm-preview-hover-filter:brightness(1.12)}
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:darken"] .kdm-download-preview-link:hover .kdm-download-preview-image,
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:darken"] .kdm-kapy-preview-link:hover .kdm-download-preview-image,
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:darken"] .kdm-creative-card-media:hover .kdm-creative-card-image,
.kdm-list-template[style*="--kdm-template-preview-image-hover-style:darken"] .kdm-creative-accordion-media:hover .kdm-creative-accordion-image{--kdm-preview-hover-filter:brightness(.88)}


/* Button 1 / Banner 1 factory templates */
.kdm-list-template-type-button_1{color:var(--kdm-template-text,#222);background:var(--kdm-template-background,transparent)}
.kdm-list-template-type-button_1 .kdm-button-1-list,.kdm-list-template-type-button_3 .kdm-button-1-list{display:flex;flex-direction:column;gap:var(--kdm-template-row-spacing,12px)}
.kdm-list-template-type-button_1 .kdm-button-1-item,.kdm-list-template-type-button_3 .kdm-button-1-item{display:block;margin:0 0 6px}
:where(.kdm-list-template-type-button_1,.kdm-list-template-type-button_3) :where(.kdm-button-1-button),:where(.kdm-list-template-type-banner_1) :where(.kdm-banner-1-button){display:inline-flex;align-items:center;justify-content:center;padding:var(--kdm-template-button-padding-y,7px) var(--kdm-template-button-padding-x,12px);border:var(--kdm-template-button-border-width,1px) solid var(--kdm-template-button-border-color,#ccc);border-radius:var(--kdm-template-button-radius,4px);background:var(--kdm-template-button-background,#f4f4f4);color:var(--kdm-template-button-text,#111)!important;font-size:15px;font-weight:600;line-height:1.2;text-decoration:none;transition:background .15s ease,color .15s ease,border-color .15s ease}
:where(.kdm-list-template-type-button_1,.kdm-list-template-type-button_3) :where(.kdm-button-1-button):hover,:where(.kdm-list-template-type-button_1,.kdm-list-template-type-button_3) :where(.kdm-button-1-button):focus,:where(.kdm-list-template-type-banner_1) :where(.kdm-banner-1-button):hover,:where(.kdm-list-template-type-banner_1) :where(.kdm-banner-1-button):focus{background:var(--kdm-template-button-hover-background,#e9e9e9);color:var(--kdm-template-button-hover-text,#111)!important;border-color:var(--kdm-template-button-hover-border-color,#bbb)}
.kdm-list-template-type-button_1 .kdm-button-1-description,.kdm-list-template-type-button_3 .kdm-button-1-description{margin:0;color:var(--kdm-template-text,#475569);font-size:var(--kdm-template-description-size,15px);line-height:1.45}
.kdm-list-template-type-banner_1{color:var(--kdm-template-text,#475569);background:var(--kdm-template-background,#fff)}
.kdm-list-template-type-banner_1 .kdm-banner-1-list{display:flex;flex-direction:column;gap:var(--kdm-template-row-spacing,18px)}
.kdm-list-template-type-banner_1 .kdm-banner-1-item{display:grid;grid-template-columns:minmax(90px,var(--kdm-template-preview-max-width,180px)) minmax(0,1fr) auto;gap:20px;align-items:center;padding:var(--kdm-template-section-padding-y,16px) 0;border-bottom:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#dbe2ea)}
.kdm-list-template-type-banner_1 .kdm-banner-1-item:first-child{border-top:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#dbe2ea)}
.kdm-list-template-type-banner_1 .kdm-banner-1-media img{display:block;width:100%;height:auto;max-height:var(--kdm-template-preview-max-height,140px);object-fit:cover}
:where(.kdm-list-template-type-banner_1) :where(.kdm-banner-1-title){margin:0;color:var(--kdm-template-heading,#172033);font-size:var(--kdm-template-title-size,22px);font-weight:var(--kdm-template-title-weight,700);line-height:1.25}
.kdm-list-template-type-banner_1 .kdm-banner-1-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:7px;color:var(--kdm-template-text,#64748b);font-size:12px;line-height:1.3}
.kdm-list-template-type-banner_1 .kdm-banner-1-description{margin-top:9px;color:var(--kdm-template-text,#475569);font-size:var(--kdm-template-description-size,15px);line-height:1.45}
.kdm-list-template-type-banner_1 .kdm-banner-1-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--kdm-template-button-gap,8px)}
@media(max-width:720px){.kdm-list-template-type-banner_1 .kdm-banner-1-item{grid-template-columns:72px minmax(0,1fr);gap:14px}.kdm-list-template-type-banner_1 .kdm-banner-1-media img{max-height:110px}.kdm-list-template-type-banner_1 .kdm-banner-1-actions{grid-column:1/-1;justify-content:flex-start}.kdm-list-template-type-button_1 .kdm-button-1-button{justify-content:center}}


/* Button 2 */
.kdm-list-template-type-button_2{color:var(--kdm-template-text,#475569);background:var(--kdm-template-background,transparent)}
.kdm-list-template-type-button_2 .kdm-button-2-list,.kdm-list-template-type-button_4 .kdm-button-2-list{display:flex;flex-direction:column;gap:var(--kdm-template-row-spacing,20px)}
.kdm-list-template-type-button_2 .kdm-button-2-item,.kdm-list-template-type-button_4 .kdm-button-2-item{padding:var(--kdm-template-section-padding-y,12px) 0;border-bottom:var(--kdm-template-divider-width,0px) solid var(--kdm-template-divider-color,#dddddd)}
.kdm-list-template-type-button_2 .kdm-button-2-item:first-child,.kdm-list-template-type-button_4 .kdm-button-2-item:first-child{padding-top:0}
:where(.kdm-list-template-type-button_2,.kdm-list-template-type-button_4) :where(.kdm-button-2-title){margin:0;color:var(--kdm-template-heading,#172033);font-size:var(--kdm-template-title-size,22px);font-weight:var(--kdm-template-title-weight,700);line-height:1.25}
:where(.kdm-list-template-type-button_2,.kdm-list-template-type-button_4) :where(.kdm-button-2-meta){margin-top:6px;color:var(--kdm-template-text,#64748b);font-size:13px;line-height:1.35}
:where(.kdm-list-template-type-button_2,.kdm-list-template-type-button_4) :where(.kdm-button-2-description){margin-top:8px;color:var(--kdm-template-text,#475569);font-size:var(--kdm-template-description-size,15px);line-height:1.45}
:where(.kdm-list-template-type-button_2,.kdm-list-template-type-button_4) :where(.kdm-button-2-actions){margin-top:12px}
:where(.kdm-list-template-type-button_2,.kdm-list-template-type-button_4) :where(.kdm-button-2-button){display:inline-flex;align-items:center;justify-content:center;padding:var(--kdm-template-button-padding-y,9px) var(--kdm-template-button-padding-x,16px);border:var(--kdm-template-button-border-width,0px) solid var(--kdm-template-button-border-color,#e27822);border-radius:var(--kdm-template-button-radius,6px);background:var(--kdm-template-button-background,#e27822);color:var(--kdm-template-button-text,#fff)!important;font-size:15px;font-weight:700;line-height:1.2;text-decoration:none;transition:background .15s ease,color .15s ease,border-color .15s ease}
:where(.kdm-list-template-type-button_2,.kdm-list-template-type-button_4) :where(.kdm-button-2-button):hover,:where(.kdm-list-template-type-button_2,.kdm-list-template-type-button_4) :where(.kdm-button-2-button):focus{background:var(--kdm-template-button-hover-background,#b85c17);color:var(--kdm-template-button-hover-text,#fff)!important;border-color:var(--kdm-template-button-hover-border-color,#b85c17)}


/* Configurable gradients and button drop shadows */
.kdm-list-template{
	background:var(--kdm-template-background,transparent);
	color:var(--kdm-template-text,#222);
	border-radius:var(--kdm-template-list-radius,0px);
	background-clip:padding-box;
}
/* Space around table is the inset between the outer panel and the complete table. */
.kdm-list-template-layout-table{
	box-sizing:border-box;
	padding:var(--kdm-template-table-outer-spacing,0px) !important;
	padding-top:var(--kdm-template-table-outer-spacing,0px) !important;
	padding-right:var(--kdm-template-table-outer-spacing,0px) !important;
	padding-bottom:var(--kdm-template-table-outer-spacing,0px) !important;
	padding-left:var(--kdm-template-table-outer-spacing,0px) !important;
}
.kdm-list-template-layout-table > .kdm-list-template-content{
	display:flow-root;
	box-sizing:border-box;
	width:100%;
	min-width:0;
	margin:0 !important;
	padding:0 !important;
	background:transparent;
}
.kdm-list-template-layout-table .kdm-downloads-table-wrap,
.kdm-list-template-type-category_list .kdm-downloads-table-wrap{
	box-sizing:border-box;
	width:100% !important;
	max-width:100%;
	margin:0 !important;
}
.kdm-list-template-layout-table .kdm-downloads-table-wrap > .kdm-downloads-table,
.kdm-list-template-type-category_list .kdm-downloads-table-wrap > .kdm-downloads-table{
	box-sizing:border-box;
	display:table;
	width:100% !important;
	max-width:100% !important;
	min-width:0 !important;
	margin:0 !important;
}
.kdm-list-template.kdm-list-template-has-button-shadow .kdm-download-button,
.kdm-list-template.kdm-list-template-has-button-shadow .kdm-kapy-button,
.kdm-list-template.kdm-list-template-has-button-shadow .kdm-creative-button,
.kdm-list-template.kdm-list-template-has-button-shadow .kdm-creative-rail-button,
.kdm-list-template.kdm-list-template-has-button-shadow .kdm-button-1-button,
.kdm-list-template.kdm-list-template-has-button-shadow .kdm-button-2-button,
.kdm-list-template.kdm-list-template-has-button-shadow .kdm-banner-1-button{
	box-shadow:var(--kdm-template-button-shadow,none)!important;
}
.kdm-list-template.kdm-list-template-has-button-border-gradient .kdm-download-button,
.kdm-list-template.kdm-list-template-has-button-border-gradient .kdm-kapy-button,
.kdm-list-template.kdm-list-template-has-button-border-gradient .kdm-creative-button,
.kdm-list-template.kdm-list-template-has-button-border-gradient .kdm-creative-rail-button,
.kdm-list-template.kdm-list-template-has-button-border-gradient .kdm-button-1-button,
.kdm-list-template.kdm-list-template-has-button-border-gradient .kdm-button-2-button,
.kdm-list-template.kdm-list-template-has-button-border-gradient .kdm-banner-1-button{
	border-color:transparent!important;
	background:var(--kdm-template-button-background) padding-box,var(--kdm-template-button-border-gradient) border-box!important;
	background-clip:padding-box,border-box!important;
}
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-download-button:hover,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-download-button:focus,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-download-button:active,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-kapy-button:hover,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-kapy-button:focus,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-kapy-button:active,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-creative-button:hover,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-creative-button:focus,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-creative-button:active,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-creative-rail-button:hover,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-creative-rail-button:focus,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-creative-rail-button:active,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-button-1-button:hover,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-button-1-button:focus,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-button-1-button:active,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-button-2-button:hover,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-button-2-button:focus,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-button-2-button:active,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-banner-1-button:hover,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-banner-1-button:focus,
.kdm-list-template.kdm-list-template-has-button-hover-border-gradient .kdm-banner-1-button:active{
	border-color:transparent!important;
	background:var(--kdm-template-button-hover-background) padding-box,var(--kdm-template-button-hover-border-gradient) border-box!important;
	background-clip:padding-box,border-box!important;
}
/* Basic, searchable and category list templates */
.kdm-list-template-type-basic_list .kdm-downloads-list,
.kdm-list-template-type-searchable_list .kdm-downloads-list{
	display:flex;
	flex-direction:column;
	gap:0;
}
.kdm-list-template-type-basic_list .kdm-download-item{
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
}
.kdm-list-template-type-searchable_list .kdm-download-item{
	display:grid;
	grid-template-columns:minmax(0,1.3fr) minmax(220px,1fr) auto;
	gap:18px;
	align-items:center;
	padding:var(--kdm-template-section-padding-y,12px) 0;
	border-bottom:var(--kdm-template-divider-width,1px) solid var(--kdm-template-search-item-divider,var(--kdm-template-divider-color,#dbe2ea));
}
.kdm-list-template-type-searchable_list .kdm-download-group-item{
	align-items:stretch;
}
.kdm-list-template-type-searchable_list .kdm-download-group-item .kdm-download-content{
	display:flex;
	align-items:center;
	gap:18px;
}
.kdm-list-template-type-searchable_list .kdm-download-group-rows{
	grid-column:2 / 4;
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	gap:0 18px;
	min-width:0;
}
.kdm-list-template-type-searchable_list .kdm-download-group-row{
	grid-column:1 / -1;
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	gap:18px;
	align-items:center;
	min-width:0;
	padding:4px 0;
}
.kdm-list-template-type-searchable_list .kdm-download-group-row + .kdm-download-group-row{
	padding-top:2px;
}
.kdm-list-template-type-basic_list .kdm-download-item:first-child{
	border-top:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#dbe2ea);
}
.kdm-list-template-type-searchable_list .kdm-download-item:first-child,
.kdm-list-template-type-searchable_list .kdm-download-search + .kdm-download-item{
	border-top:var(--kdm-template-divider-width,1px) solid var(--kdm-template-search-top-divider,var(--kdm-template-divider-color,#dbe2ea));
}
.kdm-list-template-type-basic_list .kdm-download-content,
.kdm-list-template-type-searchable_list .kdm-download-content,
.kdm-list-template-type-searchable_list .kdm-download-info{min-width:0}
.kdm-list-template-type-basic_list .kdm-download-title,
.kdm-list-template-type-searchable_list .kdm-download-title{
	margin:0;
	color:var(--kdm-template-heading,#172033);
	font-size:var(--kdm-template-title-size,18px);
	font-weight:var(--kdm-template-title-weight,600);
	line-height:1.3;
	text-align:var(--kdm-template-text-align,left);
}
.kdm-list-template-type-searchable_list .kdm-download-title{
	color:var(--kdm-template-search-download-name,var(--kdm-template-heading,#172033));
}
.kdm-list-template-type-basic_list .kdm-download-title .kdm-download-link,
.kdm-list-template-type-searchable_list .kdm-download-title .kdm-download-link{
	color:inherit;
	font-weight:inherit;
	text-decoration:none;
}
.kdm-list-template-type-basic_list .kdm-download-title .kdm-download-link:hover,
.kdm-list-template-type-searchable_list .kdm-download-title .kdm-download-link:hover{
	text-decoration:none;
}
.kdm-list-template-type-basic_list .kdm-download-meta,
.kdm-list-template-type-searchable_list .kdm-download-meta{
	display:flex;
	flex-wrap:wrap;
	column-gap:0;
	row-gap:4px;
	margin-top:7px;
	color:var(--kdm-template-text,#64748b);
	font-size:16px;
	line-height:1.4;
	text-align:var(--kdm-template-text-align,left);
}
.kdm-list-template-type-searchable_list .kdm-download-meta{
	color:var(--kdm-template-search-info,var(--kdm-template-text,#64748b));
}
.kdm-list-template-type-searchable_list .kdm-download-meta > span + span::before{
	content:'·';
	display:inline-block;
	margin:0 8px;
	color:var(--kdm-template-text,#94a3b8);
}
.kdm-list-template-type-basic_list .kdm-download-action,
.kdm-list-template-type-searchable_list .kdm-download-info{
	min-width:0;
	text-align:var(--kdm-template-text-align,left);
}
.kdm-list-template-type-searchable_list .kdm-download-info .kdm-download-meta{
	margin-top:0;
}
.kdm-list-template-type-searchable_list .kdm-download-action{
	justify-self:var(--kdm-template-action-align,end);
}
.kdm-list-template-type-searchable_list .kdm-download-action .kdm-download-button{
	font-size:var(--kdm-template-title-size,18px)!important;
	font-weight:var(--kdm-template-title-weight,600)!important;
	line-height:1.3!important;
}
.kdm-list-template-type-searchable_list .kdm-download-button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:6px;
}
.kdm-list-template-type-searchable_list .kdm-download-button-icon{
	display:inline-flex;
	width:1em;
	height:1em;
	flex:0 0 1em;
}
.kdm-list-template-type-searchable_list .kdm-download-button-icon svg{
	display:block;
	width:100%;
	height:100%;
}
.kdm-list-template-type-searchable_list .kdm-download-search{
	margin:0 0 var(--kdm-template-row-spacing,14px);
}
.kdm-list-template-type-searchable_list .kdm-download-search-label{
	display:block;
	margin:0 0 6px;
	color:var(--kdm-template-search-color,var(--kdm-template-heading,#172033));
	font-size:14px;
	font-weight:600;
}
.kdm-list-template-type-searchable_list .kdm-download-search-input{
	display:block;
	box-sizing:border-box;
	width:100%;
	max-width:520px;
	padding:9px 11px;
	border:1px solid var(--kdm-template-divider-color,#dbe2ea);
	border-radius:var(--kdm-template-button-radius,6px);
	background:var(--kdm-template-background,#fff);
	color:var(--kdm-template-search-color,var(--kdm-template-text,#475569));
	font:inherit;
	line-height:1.4;
}
.kdm-list-template-type-searchable_list .kdm-download-search-input:focus{
	border-color:var(--kdm-template-button-border-color,#e27822);
	outline:2px solid color-mix(in srgb,var(--kdm-template-button-border-color,#e27822) 18%,transparent);
	outline-offset:1px;
}
.kdm-list-template-type-searchable_list .kdm-download-search-hidden{display:none!important}
.kdm-list-template-type-searchable_list .kdm-download-search-empty{
	margin-top:10px;
	color:var(--kdm-template-search-color,var(--kdm-template-text,#64748b));
	font-size:14px;
}
.kdm-list-template-type-category_list .kdm-downloads-category-list{
	position:relative;
	background:var(--kdm-template-background,#fff);
	border-radius:var(--kdm-template-list-radius,0px);
	/* Edge lines are drawn on this block wrapper, not on the table element. */
	overflow:visible;
}
.kdm-list-template-type-category_list .kdm-downloads-category-list-no-headers::before,
.kdm-list-template-type-category_list .kdm-downloads-category-list::after{
	content:"";
	position:absolute;
	z-index:10;
	right:0;
	left:0;
	display:block;
	pointer-events:none;
}
.kdm-list-template-type-category_list .kdm-downloads-category-list-no-headers::before{
	top:0;
	height:1px;
	background:var(--kdm-template-category-heading-divider,var(--kdm-template-heading,#172033));
}
.kdm-list-template-type-category_list .kdm-downloads-category-list::after{
	bottom:0;
	height:var(--kdm-template-divider-width,1px);
	background:var(--kdm-template-category-item-divider,var(--kdm-template-divider-color,#dbe2ea));
}
.kdm-list-template-type-category_list .kdm-downloads-category-list .kdm-downloads-table{
	border-collapse:collapse;
}
.kdm-list-template.kdm-list-template-has-table-outline{
	box-sizing:border-box;
	border:var(--kdm-template-table-outline-width,0px) solid var(--kdm-template-table-outline-color,#dbe2ea) !important;
	border-radius:var(--kdm-template-list-radius,0px) !important;
}
.kdm-list-template-type-category_list .kdm-downloads-category-list th,
.kdm-list-template-type-category_list .kdm-downloads-category-list td{
	text-align:var(--kdm-template-text-align,left) !important;
}
.kdm-list-template-type-category_list .kdm-downloads-category-list > .kdm-downloads-table > thead > tr > th{
	border-bottom:1px solid var(--kdm-template-category-heading-divider,var(--kdm-template-heading,#172033)) !important;
}
.kdm-list-template-type-category_list .kdm-download-title{
	color:var(--kdm-template-category-download-name,var(--kdm-template-heading,#172033)) !important;
	font-size:var(--kdm-template-title-size,18px);
	font-weight:var(--kdm-template-title-weight,600);
}
.kdm-list-template-type-category_list .kdm-download-title .kdm-download-link{
	color:inherit;
	font-weight:inherit;
	text-decoration:none;
}
.kdm-list-template-type-category_list .kdm-download-title .kdm-download-link:hover{
	text-decoration:none;
}
.kdm-list-template-type-category_list .kdm-download-size,
.kdm-list-template-type-category_list .kdm-download-updated{
	white-space:nowrap;
}
.kdm-list-template-type-category_list .kdm-download-item td{
	border-bottom:var(--kdm-template-divider-width,1px) solid var(--kdm-template-category-item-divider,var(--kdm-template-divider-color,#dbe2ea));
}
.kdm-list-template-type-category_list .kdm-download-group-title{
	vertical-align:middle;
}
.kdm-list-template-type-category_list .kdm-download-category-heading th{
	padding:18px 16px 9px;
	border-bottom:1px solid var(--kdm-template-category-heading-divider,var(--kdm-template-heading,#172033)) !important;
	background:transparent;
	color:var(--kdm-template-category-heading,var(--kdm-template-heading,#172033));
	font-size:var(--kdm-template-title-size,18px);
	font-weight:var(--kdm-template-title-weight,600);
	line-height:1.3;
	text-align:left;
}
.kdm-list-template-type-category_list .kdm-download-category-heading:first-child th{padding-top:8px}
.kdm-list-template-type-category_list .kdm-downloads-category-list-no-headers .kdm-download-category-heading:first-child th{
	border-top:0 !important;
}
.kdm-list-template-type-category_list .kdm-downloads-category-list > .kdm-downloads-table > tbody > tr:last-child > td{
	border-bottom:0 !important;
}
.kdm-list-template-type-category_list .kdm-download-button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:6px;
}
.kdm-list-template-type-category_list .kdm-download-button-icon{
	display:inline-flex;
	width:1em;
	height:1em;
	flex:0 0 1em;
}
.kdm-list-template-type-category_list .kdm-download-button-icon svg{
	display:block;
	width:100%;
	height:100%;
}
@media(max-width:720px){
	.kdm-list-template-type-basic_list .kdm-download-item{grid-template-columns:1fr;gap:12px}
	.kdm-list-template-type-searchable_list .kdm-download-item{grid-template-columns:1fr;gap:10px}
	.kdm-list-template-type-searchable_list .kdm-download-group-rows{
		grid-column:1;
		grid-template-columns:1fr;
	}
	.kdm-list-template-type-searchable_list .kdm-download-group-row{
		grid-template-columns:1fr;
		gap:8px;
		padding:2px 0;
	}
	.kdm-list-template-type-basic_list .kdm-download-action,
	.kdm-list-template-type-searchable_list .kdm-download-action{justify-self:start}
	.kdm-list-template-type-searchable_list .kdm-download-search-input{max-width:none}
}

.kdm-list-template-type-kapy_palaa .kdm-kapy-updated,
.kdm-list-template .kdm-download-updated{
	font-size:var(--kdm-template-updated-size,14px);
	line-height:1.4;
}

.kdm-list-template-type-kapy_palaa .kdm-kapy-description-with-updated{
	margin-bottom:0;
}

/* Liquid glass and Backdrop look effects belong to the OUTER panel.
   The table remains transparent so the chosen effect is visible in the spacing on all four sides. */
.kdm-list-template-liquid-glass{
	background:rgba(255,255,255,var(--kdm-liquid-white-tint,.10)) !important;
	backdrop-filter:blur(var(--kdm-liquid-blur,5px)) brightness(var(--kdm-liquid-brightness,150%)) saturate(var(--kdm-liquid-saturation,100%));
	-webkit-backdrop-filter:blur(var(--kdm-liquid-blur,5px)) brightness(var(--kdm-liquid-brightness,150%)) saturate(var(--kdm-liquid-saturation,100%));
}
.kdm-list-template-liquid-glass .kdm-downloads-category-list,
.kdm-list-template-liquid-glass .kdm-downloads-table,
.kdm-list-template-liquid-glass .kdm-downloads-table th,
.kdm-list-template-liquid-glass .kdm-downloads-table td{
	background:transparent !important;
}
@supports not ((backdrop-filter:blur(1px))){
	.kdm-list-template-liquid-glass{
		background:rgba(255,255,255,.84) !important;
	}
}

/* Backdrop look presets are painted on the outer template panel, not on the inset table. */
:is(
	.kdm-list-template-backdrop-look-frosted_light,
	.kdm-list-template-backdrop-look-frosted_heavy,
	.kdm-list-template-backdrop-look-dark_frosted_light,
	.kdm-list-template-backdrop-look-dark_frosted_heavy,
	.kdm-list-template-backdrop-look-milky_white,
	.kdm-list-template-backdrop-look-soft_blue,
	.kdm-list-template-backdrop-look-dark_smoke,
	.kdm-list-template-backdrop-look-midnight_gradient,
	.kdm-list-template-backdrop-look-deep_ocean,
	.kdm-list-template-backdrop-look-violet_dusk,
	.kdm-list-template-backdrop-look-charcoal_aurora
){
	position:relative;
	border-radius:var(--kdm-template-list-radius,0px);
	background-clip:padding-box;
	backdrop-filter:blur(14px) brightness(108%) saturate(70%);
	-webkit-backdrop-filter:blur(14px) brightness(108%) saturate(70%);
}
:is(
	.kdm-list-template-backdrop-look-frosted_light,
	.kdm-list-template-backdrop-look-frosted_heavy,
	.kdm-list-template-backdrop-look-dark_frosted_light,
	.kdm-list-template-backdrop-look-dark_frosted_heavy,
	.kdm-list-template-backdrop-look-milky_white,
	.kdm-list-template-backdrop-look-soft_blue,
	.kdm-list-template-backdrop-look-dark_smoke,
	.kdm-list-template-backdrop-look-midnight_gradient,
	.kdm-list-template-backdrop-look-deep_ocean,
	.kdm-list-template-backdrop-look-violet_dusk,
	.kdm-list-template-backdrop-look-charcoal_aurora
) .kdm-downloads-category-list,
:is(
	.kdm-list-template-backdrop-look-frosted_light,
	.kdm-list-template-backdrop-look-frosted_heavy,
	.kdm-list-template-backdrop-look-dark_frosted_light,
	.kdm-list-template-backdrop-look-dark_frosted_heavy,
	.kdm-list-template-backdrop-look-milky_white,
	.kdm-list-template-backdrop-look-soft_blue,
	.kdm-list-template-backdrop-look-dark_smoke,
	.kdm-list-template-backdrop-look-midnight_gradient,
	.kdm-list-template-backdrop-look-deep_ocean,
	.kdm-list-template-backdrop-look-violet_dusk,
	.kdm-list-template-backdrop-look-charcoal_aurora
) .kdm-downloads-table,
:is(
	.kdm-list-template-backdrop-look-frosted_light,
	.kdm-list-template-backdrop-look-frosted_heavy,
	.kdm-list-template-backdrop-look-dark_frosted_light,
	.kdm-list-template-backdrop-look-dark_frosted_heavy,
	.kdm-list-template-backdrop-look-milky_white,
	.kdm-list-template-backdrop-look-soft_blue,
	.kdm-list-template-backdrop-look-dark_smoke,
	.kdm-list-template-backdrop-look-midnight_gradient,
	.kdm-list-template-backdrop-look-deep_ocean,
	.kdm-list-template-backdrop-look-violet_dusk,
	.kdm-list-template-backdrop-look-charcoal_aurora
) .kdm-downloads-table th,
:is(
	.kdm-list-template-backdrop-look-frosted_light,
	.kdm-list-template-backdrop-look-frosted_heavy,
	.kdm-list-template-backdrop-look-dark_frosted_light,
	.kdm-list-template-backdrop-look-dark_frosted_heavy,
	.kdm-list-template-backdrop-look-milky_white,
	.kdm-list-template-backdrop-look-soft_blue,
	.kdm-list-template-backdrop-look-dark_smoke,
	.kdm-list-template-backdrop-look-midnight_gradient,
	.kdm-list-template-backdrop-look-deep_ocean,
	.kdm-list-template-backdrop-look-violet_dusk,
	.kdm-list-template-backdrop-look-charcoal_aurora
) .kdm-downloads-table td{
	background:transparent !important;
}

/* Light glass surfaces: fill the whole outer panel, including its spacing. */
.kdm-list-template-backdrop-look-frosted_light{
	background:rgba(255,255,255,.30) !important;
	backdrop-filter:blur(14px) brightness(108%) saturate(70%);
	-webkit-backdrop-filter:blur(14px) brightness(108%) saturate(70%);
}
.kdm-list-template-backdrop-look-frosted_heavy{
	background:rgba(255,255,255,.40) !important;
	backdrop-filter:blur(24px) brightness(106%) saturate(60%);
	-webkit-backdrop-filter:blur(24px) brightness(106%) saturate(60%);
}
.kdm-list-template-backdrop-look-dark_frosted_light{
	background:linear-gradient(135deg,rgba(18,18,18,.92),rgba(32,32,32,.88)) !important;
	backdrop-filter:blur(14px) brightness(90%) saturate(70%);
	-webkit-backdrop-filter:blur(14px) brightness(90%) saturate(70%);
}
.kdm-list-template-backdrop-look-dark_frosted_heavy{
	background:linear-gradient(135deg,rgba(18,18,18,.92),rgba(32,32,32,.88)) !important;
	backdrop-filter:blur(24px) brightness(90%) saturate(70%);
	-webkit-backdrop-filter:blur(24px) brightness(90%) saturate(70%);
}
.kdm-list-template-backdrop-look-milky_white{
	background:rgba(255,255,255,.62) !important;
	backdrop-filter:blur(16px) brightness(105%) saturate(55%);
	-webkit-backdrop-filter:blur(16px) brightness(105%) saturate(55%);
}
.kdm-list-template-backdrop-look-soft_blue{
	background:linear-gradient(135deg,rgba(220,241,255,.78),rgba(237,248,255,.62)) !important;
	backdrop-filter:blur(14px) brightness(106%) saturate(80%);
	-webkit-backdrop-filter:blur(14px) brightness(106%) saturate(80%);
}

/* Dark glass and gradient surfaces: these backgrounds also cover the inset margin. */
.kdm-list-template-backdrop-look-dark_smoke{
	background:linear-gradient(135deg,rgba(15,23,42,.92),rgba(36,45,60,.88)) !important;
	backdrop-filter:blur(16px) brightness(90%) saturate(70%);
	-webkit-backdrop-filter:blur(16px) brightness(90%) saturate(70%);
}
.kdm-list-template-backdrop-look-midnight_gradient{
	background:linear-gradient(125deg,rgba(8,13,30,.96) 0%,rgba(23,32,66,.93) 52%,rgba(48,31,76,.92) 100%) !important;
	backdrop-filter:blur(18px) brightness(88%) saturate(95%);
	-webkit-backdrop-filter:blur(18px) brightness(88%) saturate(95%);
}
.kdm-list-template-backdrop-look-deep_ocean{
	background:linear-gradient(125deg,rgba(4,24,38,.96) 0%,rgba(9,67,79,.92) 48%,rgba(11,35,58,.95) 100%) !important;
	backdrop-filter:blur(17px) brightness(91%) saturate(92%);
	-webkit-backdrop-filter:blur(17px) brightness(91%) saturate(92%);
}
.kdm-list-template-backdrop-look-violet_dusk{
	background:linear-gradient(125deg,rgba(24,20,42,.96) 0%,rgba(57,35,78,.92) 52%,rgba(20,43,65,.94) 100%) !important;
	backdrop-filter:blur(18px) brightness(88%) saturate(90%);
	-webkit-backdrop-filter:blur(18px) brightness(88%) saturate(90%);
}
.kdm-list-template-backdrop-look-charcoal_aurora{
	background:linear-gradient(120deg,rgba(12,20,27,.97) 0%,rgba(11,60,67,.93) 48%,rgba(30,30,58,.96) 100%) !important;
	backdrop-filter:blur(20px) brightness(86%) saturate(88%);
	-webkit-backdrop-filter:blur(20px) brightness(86%) saturate(88%);
}

/* Colour inversion is an independent template setting, never implied by a Backdrop look. */
.kdm-list-template.kdm-list-template-dark-background-colors{
	--kdm-template-text:#ffffff !important;
	--kdm-template-heading:#ffffff !important;
	--kdm-template-heading-hover:#ffffff !important;
	--kdm-template-category-download-name:#ffffff !important;
	--kdm-template-category-heading:#ffffff !important;
	--kdm-template-search-download-name:#ffffff !important;
	--kdm-template-search-info:#ffffff !important;
	--kdm-template-search-color:#ffffff !important;
	--kdm-template-download-link-color:#ffffff !important;
	/* Divider colours intentionally keep their existing dark-background settings. */
	--kdm-template-category-heading-divider:rgba(255,255,255,.28) !important;
	--kdm-template-category-item-divider:rgba(255,255,255,.20) !important;
	--kdm-template-search-top-divider:rgba(255,255,255,.28) !important;
	--kdm-template-search-item-divider:rgba(255,255,255,.20) !important;
	--kdm-template-divider-color:rgba(255,255,255,.22) !important;
}

/* Download-name links follow the general text inversion, not the button-only toggle. */
.kdm-list-template .kdm-download-link,
.kdm-list-template .kdm-kapy-title-link{
	color:var(--kdm-template-download-link-color,inherit) !important;
	-webkit-text-fill-color:var(--kdm-template-download-link-color,inherit) !important;
}
.kdm-list-template .kdm-download-link:hover,
.kdm-list-template .kdm-download-link:focus,
.kdm-list-template .kdm-kapy-title-link:hover,
.kdm-list-template .kdm-kapy-title-link:focus{
	color:var(--kdm-template-download-link-hover-color,var(--kdm-template-heading-hover,var(--kdm-template-heading,#222222))) !important;
	-webkit-text-fill-color:var(--kdm-template-download-link-hover-color,var(--kdm-template-heading-hover,var(--kdm-template-heading,#222222))) !important;
}

/* Explicitly colour the table/list text while leaving the Download action button alone. */
.kdm-list-template.kdm-list-template-dark-background-colors .kdm-downloads-table th,
.kdm-list-template.kdm-list-template-dark-background-colors .kdm-downloads-table td,
.kdm-list-template.kdm-list-template-dark-background-colors .kdm-download-meta,
.kdm-list-template.kdm-list-template-dark-background-colors .kdm-download-info,
.kdm-list-template.kdm-list-template-dark-background-colors .kdm-download-search-label,
.kdm-list-template.kdm-list-template-dark-background-colors .kdm-download-search-empty{
	color:#ffffff !important;
}

/* The second toggle changes only the label and icon of the Download action button. */
.kdm-list-template.kdm-list-template-dark-background-download-links{
	--kdm-template-download-button-color:#93c5fd !important;
	--kdm-template-download-button-hover-color:#bfdbfe !important;
}
.kdm-list-template.kdm-list-template-dark-background-download-links .kdm-download-button-with-icon,
.kdm-list-template.kdm-list-template-dark-background-download-links .kdm-download-button-with-icon .kdm-download-button-label,
.kdm-list-template.kdm-list-template-dark-background-download-links .kdm-download-button-with-icon .kdm-download-button-icon{
	color:var(--kdm-template-download-button-color,#93c5fd) !important;
	-webkit-text-fill-color:var(--kdm-template-download-button-color,#93c5fd) !important;
}
.kdm-list-template.kdm-list-template-dark-background-download-links .kdm-download-button-with-icon:hover,
.kdm-list-template.kdm-list-template-dark-background-download-links .kdm-download-button-with-icon:focus,
.kdm-list-template.kdm-list-template-dark-background-download-links .kdm-download-button-with-icon:hover .kdm-download-button-label,
.kdm-list-template.kdm-list-template-dark-background-download-links .kdm-download-button-with-icon:focus .kdm-download-button-label,
.kdm-list-template.kdm-list-template-dark-background-download-links .kdm-download-button-with-icon:hover .kdm-download-button-icon,
.kdm-list-template.kdm-list-template-dark-background-download-links .kdm-download-button-with-icon:focus .kdm-download-button-icon{
	color:var(--kdm-template-download-button-hover-color,#bfdbfe) !important;
	-webkit-text-fill-color:var(--kdm-template-download-button-hover-color,#bfdbfe) !important;
}


/* Download-name links are not underlined unless the template option is enabled. */
.kdm-list-template .kdm-download-link,
.kdm-list-template .kdm-kapy-title-link{
	text-decoration:none !important;
}
.kdm-list-template .kdm-download-link:hover,
.kdm-list-template .kdm-download-link:focus,
.kdm-list-template .kdm-kapy-title-link:hover,
.kdm-list-template .kdm-kapy-title-link:focus{
	text-decoration:none !important;
}
.kdm-list-template.kdm-list-template-download-name-underline .kdm-download-link:hover,
.kdm-list-template.kdm-list-template-download-name-underline .kdm-download-link:focus,
.kdm-list-template.kdm-list-template-download-name-underline .kdm-kapy-title-link:hover,
.kdm-list-template.kdm-list-template-download-name-underline .kdm-kapy-title-link:focus{
	text-decoration:underline !important;
}
