.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,45fr) minmax(0,55fr);gap:clamp(12px,2vw,24px);align-items:start;justify-content:start;padding:var(--kdm-template-section-padding-top,var(--kdm-template-section-padding-y,42px)) clamp(16px,2.5%,28px) var(--kdm-template-section-padding-bottom,var(--kdm-template-section-padding-y,42px));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%;min-width:0;align-items:flex-start;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;justify-content:flex-start;gap:var(--kdm-template-button-gap,5px);width:100%;min-width:0}

.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-top,var(--kdm-template-button-padding-y,13px)) var(--kdm-template-button-padding-x,28px) var(--kdm-template-button-padding-bottom,var(--kdm-template-button-padding-y,13px));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-top,var(--kdm-template-section-padding-y,18px)) 0 var(--kdm-template-section-padding-bottom,var(--kdm-template-section-padding-y,18px));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-top,var(--kdm-template-button-padding-y,8px)) var(--kdm-template-button-padding-x,16px) var(--kdm-template-button-padding-bottom,var(--kdm-template-button-padding-y,8px));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(var(--kdm-template-grid-columns,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:var(--kdm-template-row-spacing,17px)}
.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:32px;bottom:32px;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(min(2,var(--kdm-template-grid-columns,3)),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-top,var(--kdm-template-button-padding-y,8px)) var(--kdm-template-button-padding-x,16px) var(--kdm-template-button-padding-bottom,var(--kdm-template-button-padding-y,8px))!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:var(--kdm-template-button-font-size,inherit)!important;
	font-weight:var(--kdm-template-button-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-top,var(--kdm-template-button-padding-y,7px)) var(--kdm-template-button-padding-x,12px) var(--kdm-template-button-padding-bottom,var(--kdm-template-button-padding-y,7px));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-top,var(--kdm-template-section-padding-y,10px)) 0 var(--kdm-template-section-padding-bottom,var(--kdm-template-section-padding-y,16px)) 24px;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-top,var(--kdm-template-section-padding-y,12px)) 0 var(--kdm-template-section-padding-bottom,var(--kdm-template-section-padding-y,12px));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-top,var(--kdm-template-button-padding-y,9px)) var(--kdm-template-button-padding-x,16px) var(--kdm-template-button-padding-bottom,var(--kdm-template-button-padding-y,9px));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-top,var(--kdm-template-section-padding-y,12px)) 0 var(--kdm-template-section-padding-bottom,var(--kdm-template-section-padding-y,12px));
	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. */
/* 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;
}

/* Dark-background adjustments use each element’s actual rendered background in download-lists.js. */
/* 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;
}

/* Independent vertical padding and optional font weight for Download actions. */
.kdm-list-template :is(.kdm-download-button,.kdm-kapy-button,.kdm-creative-button,.kdm-creative-rail-button,.kdm-button-1-button,.kdm-button-2-button,.kdm-banner-1-button){padding-top:var(--kdm-template-button-padding-top,var(--kdm-template-button-padding-y,8px));padding-bottom:var(--kdm-template-button-padding-bottom,var(--kdm-template-button-padding-y,8px))}
.kdm-list-template.kdm-list-template-custom-button-font-weight :is(.kdm-download-button,.kdm-kapy-button,.kdm-creative-button,.kdm-creative-rail-button,.kdm-button-1-button,.kdm-button-2-button,.kdm-banner-1-button){font-weight:var(--kdm-template-button-font-weight)!important}
.kdm-list-template.kdm-list-template-custom-button-font-weight .kdm-download-button-label{font-weight:inherit!important}

/* An explicit template text size applies to every Download action variant. */
.kdm-list-template.kdm-list-template-custom-button-font-size :is(.kdm-download-button,.kdm-kapy-button,.kdm-creative-button,.kdm-creative-rail-button,.kdm-button-1-button,.kdm-button-2-button,.kdm-banner-1-button){
	font-size:var(--kdm-template-button-font-size)!important;
	line-height:1.2!important;
}
.kdm-list-template.kdm-list-template-custom-button-font-size .kdm-download-button-label{
	font-size:inherit!important;
	line-height:inherit!important;
}

/* Share the remaining width after the gap; media must not widen the grid. */
.kdm-list-template-type-kapy_palaa .kdm-kapy-visual{min-width:0;overflow-wrap:anywhere}
.kdm-list-template-type-kapy_palaa .kdm-kapy-items-scroll{min-width:0;width:100%;box-sizing:border-box}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-action{white-space:normal}

/* Image lists use wrapping metadata and independently sized media, never a narrow action cell. */
.kdm-list-template-type-kapy_palaa{container-type:inline-size}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-list{display:grid;gap:20px;min-width:0;width:100%;max-width:100%}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-row{min-width:0;max-width:100%}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-meta{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 12px;margin:0 0 12px;padding:0}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-meta>div{min-width:0;max-width:100%}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-meta dt{margin:0 0 3px;font-weight:600;font-size:.85em}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-meta dd{margin:0;padding:0;white-space:nowrap}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-meta dd.kdm-kapy-item-label{white-space:normal;overflow-wrap:anywhere}
.kdm-list-template-type-kapy_palaa .kdm-kapy-meta-label-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-action{min-width:0;max-width:100%}
@container(max-width:640px){.kdm-kapy-section{grid-template-columns:minmax(0,1fr)!important;gap:24px!important;padding-left:24px!important;padding-right:24px!important}}

/* Keep metadata and Download aligned even when this Item has no player. */
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:var(--kdm-template-media-player-gap,13px);align-items:center}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-row>.kdm-kapy-item-meta{grid-column:1;grid-row:1;margin-bottom:0}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-row>.kdm-kapy-item-action,
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-row .kdm-media-action-group{display:contents}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-row .kdm-kapy-button{grid-column:2;grid-row:1;justify-self:end}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-row .kdm-media-controls{grid-column:1 / -1;grid-row:2;justify-self:end}

/* Bound download glyphs in every list type, including Basic Table. */
.kdm-list-template .kdm-download-button-with-icon{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.kdm-list-template .kdm-download-button-with-icon .kdm-download-button-icon{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 1em!important;width:1em!important;height:1em!important;min-width:0!important;line-height:1}
.kdm-list-template .kdm-download-button-with-icon .kdm-download-button-icon svg{display:block!important;width:1em!important;height:1em!important;max-width:1em!important;max-height:1em!important;flex-shrink:0!important}

/* Search results must reserve space for metadata when a player is enabled. */
.kdm-list-template-type-searchable_list .kdm-download-action{min-width:0;max-width:100%}
.kdm-list-template-type-searchable_list .kdm-download-meta>span{white-space:nowrap}
.kdm-list-template-type-searchable_list .kdm-download-action .kdm-media-action-group{display:flex;flex-direction:column;align-items:flex-start;width:240px;max-width:100%;min-width:0}
.kdm-list-template-type-searchable_list .kdm-download-action .kdm-media-action-group>.kdm-media-controls,
.kdm-list-template-type-searchable_list .kdm-download-action .kdm-media-action-group>.kdm-media-controls:has(>video){flex:0 1 auto;width:100%;max-width:100%}
@media(min-width:721px){
.kdm-list-template-type-searchable_list .kdm-download-item:has(.kdm-media-controls){grid-template-columns:minmax(0,1.3fr) minmax(220px,1fr) minmax(0,240px)}
.kdm-list-template-type-searchable_list .kdm-download-group-row:has(.kdm-media-controls){grid-template-columns:minmax(0,1fr) minmax(0,240px)}
}

/* Keep banner headings in the template colour even on dark themes. */
.kdm-list-template-type-banner_1 .kdm-banner-1-title{color:var(--kdm-template-heading,#172033)!important}
.kdm-list-template-type-banner_1 .kdm-banner-1-title a{color:inherit!important}

/* Accordion controls and previews keep their intended shape within themes. */
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;border:0;border-radius:0}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-mark::before{content:"";display:block;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-item[open] .kdm-creative-accordion-mark{transform:rotate(180deg)}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-item>summary::marker{content:""}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-image{box-sizing:border-box;width:100%;height:auto!important;max-height:var(--kdm-template-preview-max-height,120px);object-fit:contain!important}
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-media,
.kdm-list-template-type-creative_accordion .kdm-creative-accordion-content{min-width:0}
.kdm-list-template-type-creative_accordion .kdm-creative-button{box-sizing:border-box!important;display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:100%;aspect-ratio:auto!important;padding:var(--kdm-template-button-padding-top,var(--kdm-template-button-padding-y,8px)) var(--kdm-template-button-padding-x,16px) var(--kdm-template-button-padding-bottom,var(--kdm-template-button-padding-y,8px))!important;border-radius:var(--kdm-template-button-radius,6px)!important;line-height:1.2!important}
.kdm-list-template-type-creative_accordion .kdm-creative-meta{column-gap:0}
.kdm-list-template-type-creative_accordion .kdm-creative-meta>span[aria-hidden="true"]{margin-inline:.45em}

/* Magazine panels remain readable and bounded within host themes. */
.kdm-list-template-type-creative_magazine .kdm-creative-magazine-hero::before{content:none;background:none}
.kdm-list-template-type-creative_magazine .kdm-creative-magazine-item,
.kdm-list-template-type-creative_magazine .kdm-creative-magazine-hero{border-left:0;border-right:0;box-shadow:none}
.kdm-list-template-type-creative_magazine .kdm-creative-magazine-panel{box-sizing:border-box;min-width:0;max-width:100%;padding:28px 32px 28px 28px}
.kdm-list-template-type-creative_magazine .kdm-creative-title{margin:0!important;color:var(--kdm-template-heading,#211c18)!important;font-size:var(--kdm-template-title-size,28px)!important;font-weight:var(--kdm-template-title-weight,750);line-height:1.25!important;overflow-wrap:anywhere}
.kdm-list-template-type-creative_magazine .kdm-creative-meta{font-size:16px}
.kdm-list-template-type-creative_magazine .kdm-creative-button{box-sizing:border-box!important;display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:100%;aspect-ratio:auto!important;padding:var(--kdm-template-button-padding-top,var(--kdm-template-button-padding-y,9px)) var(--kdm-template-button-padding-x,18px) var(--kdm-template-button-padding-bottom,var(--kdm-template-button-padding-y,9px))!important;border-radius:var(--kdm-template-button-radius,6px)!important;line-height:1.2!important}
.kdm-list-template-type-creative_magazine .kdm-media-action-group{gap:var(--kdm-template-media-player-gap,24px)}

/* A chosen font applies only to this template; an empty choice keeps theme inheritance. */
.kdm-list-template[style*="--kdm-template-font-family:"] :is(h1,h2,h3,h4,h5,h6,p,a,span,summary,td,th,button,input,select),
.kdm-list-template[style*="--kdm-template-font-family:"]{font-family:var(--kdm-template-font-family)!important}


/* Checkbox download lists: each list keeps its own selections and progress. */
.kdm-list-template .kdm-bulk-list{min-width:0}
.kdm-list-template .kdm-bulk-search-label{display:block;margin-bottom:16px;color:var(--kdm-template-text,#475569)}
.kdm-list-template .kdm-bulk-search-label input{display:block;box-sizing:border-box;width:100%;max-width:560px;margin-top:8px;padding:10px;font:inherit}
.kdm-list-template .kdm-bulk-selection{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:12px 0}
.kdm-list-template .kdm-bulk-rows{list-style:none!important;padding:0!important;margin:0!important}
.kdm-list-template .kdm-bulk-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 18px;padding:var(--kdm-template-section-padding-top,12px) 0 var(--kdm-template-section-padding-bottom,12px);border-bottom:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#dbe2ea);margin:0;min-width:0}
.kdm-list-template .kdm-bulk-choice{display:flex;gap:12px;align-items:center;min-width:0;cursor:pointer}
.kdm-list-template .kdm-bulk-choice input{flex:0 0 auto;width:18px;height:18px;margin:0}
.kdm-list-template .kdm-bulk-name{font-size:var(--kdm-template-title-size,18px);font-weight:var(--kdm-template-title-weight,600);color:var(--kdm-template-heading,#172033);overflow-wrap:anywhere}
.kdm-list-template .kdm-bulk-info{align-self:center;font-size:16px;color:var(--kdm-template-text,#475569);overflow-wrap:anywhere}
.kdm-list-template .kdm-bulk-unlock{grid-column:1/-1}
.kdm-list-template .kdm-bulk-footer{margin-top:20px}
.kdm-list-template .kdm-bulk-footer progress{display:block;max-width:100%;margin-top:12px}
.kdm-list-template .kdm-bulk-list [hidden]{display:none!important}
.kdm-list-template .kdm-bulk-list button:disabled{opacity:.5;cursor:default}
.kdm-list-template .kdm-bulk-submit{font:inherit;cursor:pointer}
@media(max-width:600px){.kdm-list-template .kdm-bulk-row{grid-template-columns:1fr}.kdm-list-template .kdm-bulk-info{padding-left:30px}}


/* Lightweight mixed-media catalogue: no cropped covers or theme heading overrides. */
.kdm-list-template .kdm-media-catalogue{display:flex;flex-direction:column;gap:20px;padding:12px;min-width:0}
.kdm-list-template-type-media_gallery .kdm-media-catalogue{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:stretch}
.kdm-list-template .kdm-media-card{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:20px;min-width:0;margin:0;padding:var(--kdm-template-section-padding-top,18px) 18px var(--kdm-template-section-padding-bottom,18px);border:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#dbe2ea);border-radius:var(--kdm-template-list-radius,6px);background:var(--kdm-template-background,#fff)}
.kdm-list-template-type-media_gallery .kdm-media-card{display:flex;flex-direction:column}
.kdm-list-template .kdm-media-visual{display:flex;flex-direction:column;align-items:center;gap:var(--kdm-template-media-player-gap,13px);min-width:0}
.kdm-list-template .kdm-media-copy{min-width:0}
.kdm-list-template .kdm-media-image-link{display:block;max-width:100%;width:100%}
.kdm-list-template .kdm-media-visual img{display:block;box-sizing:border-box;width:100%!important;height:auto!important;max-width:100%;max-height:320px;object-fit:contain!important}
.kdm-list-template .kdm-media-visual .kdm-media-cover{max-height:180px;max-width:var(--kdm-template-preview-max-width,180px)}
.kdm-list-template .kdm-media-visual>.kdm-media-controls{display:block;width:100%;max-width:100%;min-width:0;margin:0}
.kdm-list-template .kdm-media-visual video{width:100%;height:auto;max-height:360px;object-fit:contain}
.kdm-list-template .kdm-media-name{margin:0 0 10px!important;font-size:var(--kdm-template-title-size,18px)!important;line-height:1.3!important;font-weight:var(--kdm-template-title-weight,600)!important;color:var(--kdm-template-heading,#172033)!important;overflow-wrap:anywhere}
.kdm-list-template .kdm-media-description{margin:0 0 12px;font-size:var(--kdm-template-description-size,15px);color:var(--kdm-template-text,#475569);overflow-wrap:anywhere}
.kdm-list-template .kdm-media-info{margin:0 0 12px;font-size:16px;color:var(--kdm-template-text,#475569);overflow-wrap:anywhere}
.kdm-list-template .kdm-media-download{display:inline-flex!important;box-sizing:border-box!important;align-items:center;justify-content:center;width:auto!important;height:auto!important;min-height:0!important;min-width:0!important;aspect-ratio:auto!important;gap:6px;padding:var(--kdm-template-button-padding-top,8px) var(--kdm-template-button-padding-x,14px) var(--kdm-template-button-padding-bottom,8px)!important;background:var(--kdm-template-button-background,#959595)!important;color:var(--kdm-template-button-text,#fff)!important;border:var(--kdm-template-button-border-width,0px) solid var(--kdm-template-button-border-color,#959595)!important;border-radius:var(--kdm-template-button-radius,6px)!important;font-size:var(--kdm-template-button-font-size,16px)!important;font-weight:var(--kdm-template-button-font-weight,600)!important;line-height:1.2!important;text-decoration:none!important}
.kdm-list-template .kdm-media-download:hover,.kdm-list-template .kdm-media-download:focus{background:var(--kdm-template-button-hover-background,#757575)!important;color:var(--kdm-template-button-hover-text,#fff)!important;border-color:var(--kdm-template-button-hover-border-color,#757575)!important}
@media(max-width:600px){.kdm-list-template .kdm-media-card{grid-template-columns:1fr}}

/* Panel colour belongs to the panel, never the gaps between magazine cards. */
.kdm-list-template.kdm-list-template-type-creative_magazine{background:transparent!important}
.kdm-list-template-type-creative_magazine .kdm-creative-button-group,
.kdm-list-template-type-creative_magazine .kdm-media-action-group{align-items:center;gap:var(--kdm-template-media-player-gap,24px)}
.kdm-list-template-type-creative_magazine .kdm-creative-button{align-self:center!important;flex:0 0 auto}

/* Basic Table: bounded controls, natural metadata widths and shared text baselines. */
.kdm-list-template-type-basic_table .kdm-downloads-table-wrap{overflow-x:auto;max-width:100%}
.kdm-list-template-type-basic_table .kdm-downloads-table{table-layout:auto!important;background:var(--kdm-template-background,transparent)}
.kdm-list-template-type-basic_table .kdm-downloads-table td{box-sizing:border-box;vertical-align:baseline!important}
.kdm-list-template-type-basic_table .kdm-downloads-table td.kdm-download-preview{vertical-align:top!important;width:1%}
.kdm-list-template-type-basic_table .kdm-download-size,
.kdm-list-template-type-basic_table .kdm-download-format,
.kdm-list-template-type-basic_table .kdm-download-language,
.kdm-list-template-type-basic_table .kdm-download-updated{white-space:nowrap}
.kdm-list-template-type-basic_table td.kdm-download-button-cell{width:1%;padding-left:8px;padding-right:8px}
.kdm-list-template-type-basic_table .kdm-download-button-cell .kdm-download-button{margin:0!important;vertical-align:baseline;line-height:inherit!important}
.kdm-list-template-type-basic_table .kdm-download-button-cell .kdm-media-controls{display:block;width:180px;max-width:100%;min-width:0;margin:var(--kdm-template-media-player-gap,13px) 0 0}
.kdm-list-template-type-basic_table .kdm-download-button-cell .kdm-media-action-group{display:block;width:180px;max-width:100%;min-width:0}
.kdm-list-template-type-basic_table .kdm-download-button-cell .kdm-media-controls audio,
.kdm-list-template-type-basic_table .kdm-download-button-cell .kdm-media-controls video{box-sizing:border-box;width:100%;max-width:100%;min-width:0}

/* Basic List has content, metadata and actions: place all three explicitly. */
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;align-items:start;padding:var(--kdm-template-section-padding-top,var(--kdm-template-section-padding-y,12px)) 0 var(--kdm-template-section-padding-bottom,var(--kdm-template-section-padding-y,12px));border-bottom:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#dbe2ea)}
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download>.kdm-download-content,
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download>.kdm-download-title{grid-column:1;grid-row:1;min-width:0}
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download>.kdm-download-info,
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download>.kdm-download-meta{grid-column:1;grid-row:2;min-width:0}
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download>.kdm-download-action{grid-column:2;grid-row:1 / 3;min-width:0;max-width:100%;align-self:start}
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download:has(.kdm-media-controls){grid-template-columns:minmax(0,1fr) minmax(0,240px)}
.kdm-list-template-type-basic_list .kdm-download-meta{display:flex!important;flex-wrap:wrap;gap:6px .5em!important;margin:0;line-height:1.5}
.kdm-list-template-type-basic_list .kdm-download-meta>span{white-space:nowrap}
.kdm-list-template-type-basic_list .kdm-download-action .kdm-download-button{margin:0!important;vertical-align:top}
.kdm-list-template-type-basic_list .kdm-download-action .kdm-media-controls{display:block;width:240px;max-width:100%;min-width:0;margin:var(--kdm-template-media-player-gap,13px) 0 0}
.kdm-list-template-type-basic_list .kdm-download-action .kdm-media-action-group{display:block;width:240px;max-width:100%;min-width:0}
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download:has(>.kdm-download-preview){grid-template-columns:minmax(0,var(--kdm-template-preview-max-width,100px)) minmax(0,1fr) auto}
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download:has(>.kdm-download-preview):has(.kdm-media-controls){grid-template-columns:minmax(0,var(--kdm-template-preview-max-width,100px)) minmax(0,1fr) minmax(0,240px)}
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download>.kdm-download-preview{grid-column:1;grid-row:1 / 3;min-width:0}
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download:has(>.kdm-download-preview)>.kdm-download-content,
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download:has(>.kdm-download-preview)>.kdm-download-title,
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download:has(>.kdm-download-preview)>.kdm-download-info,
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download:has(>.kdm-download-preview)>.kdm-download-meta{grid-column:2}
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download:has(>.kdm-download-preview)>.kdm-download-action{grid-column:3}
@media(max-width:720px){
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download{grid-template-columns:minmax(0,1fr)!important}
.kdm-list-template-type-basic_list .kdm-downloads-list>.kdm-download>*{grid-column:1!important;grid-row:auto!important}
}

.kdm-list-template-type-basic_list .kdm-download-meta>span+span::before{content:'·';display:inline-block;margin-right:.5em}

/* Searchable List gives metadata more room and aligns first text baselines. */
.kdm-list-template-type-searchable_list .kdm-download-item,
.kdm-list-template-type-searchable_list .kdm-download-group-row,
.kdm-list-template-type-searchable_list .kdm-download-group-item .kdm-download-content{align-items:baseline}
.kdm-list-template-type-searchable_list .kdm-download-meta{align-items:baseline;line-height:1.5}
.kdm-list-template-type-searchable_list .kdm-download-meta>.kdm-download-updated{display:inline-flex;align-items:baseline;font-size:inherit}
.kdm-list-template-type-searchable_list .kdm-download-meta>.kdm-download-updated>span[aria-hidden]{order:1;margin-left:.35em}
.kdm-list-template-type-searchable_list .kdm-download-action .kdm-download-button{margin:0!important;vertical-align:baseline;line-height:inherit!important}
.kdm-list-template-type-searchable_list .kdm-download-action>.kdm-media-controls{display:block;width:220px;max-width:100%;min-width:0;margin:var(--kdm-template-media-player-gap,13px) 0 0}
.kdm-list-template-type-searchable_list .kdm-download-action .kdm-media-action-group{width:220px;max-width:100%}
@media(min-width:721px){
.kdm-list-template-type-searchable_list .kdm-download-item{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr) auto}
.kdm-list-template-type-searchable_list .kdm-download-item:has(.kdm-media-controls){grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr) minmax(0,220px)}
.kdm-list-template-type-searchable_list .kdm-download-group-row:has(.kdm-media-controls){grid-template-columns:minmax(0,1fr) minmax(0,220px)}
}

.kdm-list-template-type-searchable_list .kdm-download-button-label{order:0}
.kdm-list-template-type-searchable_list .kdm-download-button-icon{order:1}

/* Category rows align metadata with names; actions keep an explicit media gap. */
.kdm-list-template.kdm-list-template-type-category_list .kdm-downloads-category-list>.kdm-downloads-table>tbody>tr.kdm-download-item>td{display:table-cell!important;vertical-align:middle!important}
.kdm-list-template-type-category_list .kdm-downloads-table td.kdm-download-button-cell{width:1%;white-space:nowrap;padding-right:16px!important}
.kdm-list-template-type-category_list .kdm-download-button-cell .kdm-download-button{margin:0!important;vertical-align:middle}
.kdm-list-template.kdm-list-template-type-category_list .kdm-download-button-cell .kdm-media-controls{margin:0 0 0 var(--kdm-template-media-player-gap,6px)!important;vertical-align:middle}
.kdm-list-template-type-category_list .kdm-download-button-cell .kdm-media-action-group{align-items:center;gap:var(--kdm-template-media-player-gap,6px)}

/* Selectable lists own their checkbox shape, independent of theme check glyphs. */
.kdm-list-template .kdm-bulk-rows{border-top:var(--kdm-template-divider-width,1px) solid var(--kdm-template-divider-color,#dbe2ea)}
.kdm-list-template .kdm-bulk-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
.kdm-list-template .kdm-bulk-download{display:inline-flex;align-items:center;justify-self:end;align-self:center;gap:.4em;white-space:nowrap;font:inherit;text-decoration:none}
.kdm-list-template .kdm-bulk-download svg{display:block;width:1em!important;height:1em!important;max-width:1em!important;flex:none}
.kdm-list-template .kdm-bulk-choice input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;display:inline-grid!important;place-content:center;position:relative;box-sizing:border-box!important;width:18px!important;height:18px!important;min-width:18px;flex:0 0 18px;margin:0!important;padding:0!important;border:1px solid #fff!important;border-radius:2px!important;background:#374151!important;color:#fff!important;box-shadow:none!important;outline-color:#fff!important;transform:none!important;cursor:pointer}
.kdm-list-template .kdm-bulk-choice input[type=checkbox]::before{content:""!important;display:block!important;position:static!important;box-sizing:content-box;width:4px!important;height:8px!important;margin:0!important;border:0!important;border-right:2px solid #fff!important;border-bottom:2px solid #fff!important;background:none!important;transform:translateY(-1px) rotate(45deg) scale(0)!important}
.kdm-list-template .kdm-bulk-choice input[type=checkbox]:checked::before{transform:translateY(-1px) rotate(45deg) scale(1)!important}
.kdm-list-template .kdm-bulk-choice input[type=checkbox]::after{content:none!important}
.kdm-list-template .kdm-bulk-choice input[type=checkbox]:focus-visible{outline:2px solid #fff!important;outline-offset:2px}
.kdm-list-template .kdm-bulk-choice input[type=checkbox]:disabled{opacity:.5;cursor:default}
@media(max-width:600px){.kdm-list-template .kdm-bulk-row{grid-template-columns:minmax(0,1fr) auto}.kdm-list-template .kdm-bulk-choice{grid-column:1;grid-row:1}.kdm-list-template .kdm-bulk-download{grid-column:2;grid-row:1}.kdm-list-template .kdm-bulk-info{grid-column:1/-1;grid-row:2}}

/* Media List has a dedicated trailing action column; Gallery keeps its card layout. */
.kdm-list-template-type-media_list .kdm-media-card{grid-template-columns:minmax(0,240px) minmax(0,1fr) auto;padding-left:18px!important;padding-right:18px!important}
.kdm-list-template-type-media_list .kdm-media-card>.kdm-media-download{grid-column:3;align-self:center;justify-self:end;font-size:var(--kdm-template-button-font-size,18px)!important}
@media(max-width:600px){.kdm-list-template-type-media_list .kdm-media-card{grid-template-columns:minmax(0,1fr)}.kdm-list-template-type-media_list .kdm-media-card>.kdm-media-download{grid-column:1;grid-row:auto;justify-self:end}}

/* Centre the complete Media Gallery card, independently of Media List. */
.kdm-list-template-type-media_gallery .kdm-media-card{align-items:center;text-align:center}
.kdm-list-template-type-media_gallery .kdm-media-visual,
.kdm-list-template-type-media_gallery .kdm-media-copy{box-sizing:border-box;width:100%;text-align:center}
.kdm-list-template-type-media_gallery .kdm-media-name,
.kdm-list-template-type-media_gallery .kdm-media-info,
.kdm-list-template-type-media_gallery .kdm-media-description{text-align:center!important}
.kdm-list-template-type-media_gallery .kdm-media-download{float:none!important;vertical-align:middle}

/* Keep an accessible search name without a visible extra label row. */
.kdm-list-template .kdm-bulk-search-caption{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.kdm-list-template .kdm-bulk-search-label input{width:60%!important;max-width:336px!important;margin-top:0!important;padding:10px 16px!important}

/* Searchable metadata uses one typography and baseline, including dates/icons. */
.kdm-list-template.kdm-list-template-type-searchable_list .kdm-download-meta{font-size:16px!important;line-height:1.5!important;align-items:baseline!important}
.kdm-list-template.kdm-list-template-type-searchable_list .kdm-download-meta>span,
.kdm-list-template.kdm-list-template-type-searchable_list .kdm-download-meta>.kdm-download-updated>span{font-size:inherit!important;line-height:inherit!important;vertical-align:baseline}
.kdm-list-template.kdm-list-template-type-searchable_list .kdm-download-item,
.kdm-list-template.kdm-list-template-type-searchable_list .kdm-download-group-row{align-items:baseline!important}
.kdm-list-template.kdm-list-template-type-searchable_list .kdm-download-title{overflow-wrap:anywhere}
.kdm-list-template.kdm-list-template-type-searchable_list .kdm-download-action>.kdm-media-controls,
.kdm-list-template.kdm-list-template-type-searchable_list .kdm-download-action .kdm-media-action-group{width:200px;max-width:100%}
@media(min-width:721px){
.kdm-list-template.kdm-list-template-type-searchable_list .kdm-download-item{grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr) auto!important}
.kdm-list-template.kdm-list-template-type-searchable_list .kdm-download-item:has(.kdm-media-controls){grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr) minmax(0,200px)!important}
.kdm-list-template.kdm-list-template-type-searchable_list .kdm-download-group-row:has(.kdm-media-controls){grid-template-columns:minmax(0,1fr) minmax(0,200px)!important}
}

/* Keep banner typography and its metadata/action row independent of theme headings. */
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-item{grid-template-columns:minmax(90px,var(--kdm-template-preview-max-width,180px)) minmax(0,1fr)}
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-item:not(:has(>.kdm-banner-1-media)){grid-template-columns:minmax(0,1fr)}
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-content{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;column-gap:24px;row-gap:12px;min-width:0}
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-title{grid-column:1;grid-row:1;margin:0!important;font-size:var(--kdm-template-title-size,22px)!important;font-weight:var(--kdm-template-title-weight,700)!important;line-height:1.25!important;overflow-wrap:anywhere}
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-meta{grid-column:2;grid-row:1;align-self:center;align-items:center;margin:0!important;font-size:16px!important;line-height:1.5!important}
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-actions{grid-column:3;grid-row:1;align-self:center;align-items:center;justify-content:flex-end;gap:var(--kdm-template-media-player-gap,12px);min-width:0}
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-description{grid-column:1/-1;grid-row:2;margin:0}
.kdm-list-template.kdm-list-template-type-banner_1 a.kdm-banner-1-button{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center;justify-content:center;box-sizing:border-box!important;flex:0 0 auto;width:auto!important;height:auto!important;min-height:0!important;min-width:0!important;aspect-ratio:auto!important;margin:0!important;padding:var(--kdm-template-button-padding-top,var(--kdm-template-button-padding-y,9px)) var(--kdm-template-button-padding-x,16px) var(--kdm-template-button-padding-bottom,var(--kdm-template-button-padding-y,9px))!important;background:var(--kdm-template-button-background,#e27822)!important;color:var(--kdm-template-button-text,#fff)!important;border:var(--kdm-template-button-border-width,0px) solid var(--kdm-template-button-border-color,#e27822)!important;border-radius:var(--kdm-template-button-radius,6px)!important;font-size:var(--kdm-template-button-font-size,16px)!important;line-height:1.2!important;text-decoration:none!important}
.kdm-list-template.kdm-list-template-type-banner_1 a.kdm-banner-1-button:is(:hover,:focus){background:var(--kdm-template-button-hover-background,#b85c17)!important;color:var(--kdm-template-button-hover-text,#fff)!important;border-color:var(--kdm-template-button-hover-border-color,#b85c17)!important}
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-actions .kdm-media-controls{width:200px;max-width:100%;margin:0!important}
@media(max-width:900px){
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-content{grid-template-columns:minmax(0,1fr)}
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-meta{grid-column:1;grid-row:2}
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-actions{grid-column:1;grid-row:3;justify-content:flex-start}
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-description{grid-row:4}
}
@media(max-width:720px){.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-item{grid-template-columns:72px minmax(0,1fr)}}

/* Inline metadata omits empty fields and gives every visible value equal separation. */
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-meta.kdm-kapy-item-meta-inline{align-items:center;gap:6px 0}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-meta-inline>div{display:inline-flex;align-items:baseline}
.kdm-list-template-type-kapy_palaa .kdm-kapy-item-meta-inline>div+div::before{content:"·";display:inline-block;margin:0 .5em;color:inherit}

/* Banner previews preserve the entire image, including square file icons. */
.kdm-list-template.kdm-list-template-type-banner_1 .kdm-banner-1-media img{width:auto!important;height:auto!important;max-width:100%!important;max-height:var(--kdm-template-preview-max-height,140px)!important;object-fit:contain!important}

/* Respect image-list title sizes even when the theme styles headings. */
.kdm-list-template.kdm-list-template-type-kapy_palaa .kdm-kapy-title{font-size:var(--kdm-template-title-size,30px)!important;line-height:1.28!important}

/* Card grid: preserve full previews and bound theme heading styles. */
.kdm-list-template.kdm-list-template-type-creative_card_grid .kdm-creative-card-media{aspect-ratio:auto;height:auto;overflow:visible;background:transparent}
.kdm-list-template.kdm-list-template-type-creative_card_grid .kdm-creative-card-image{display:block;width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain!important}
.kdm-list-template.kdm-list-template-type-creative_card_grid .kdm-creative-card-body{min-width:0}
.kdm-list-template.kdm-list-template-type-creative_card_grid .kdm-creative-title{margin:0!important;font-size:min(var(--kdm-template-title-size,22px),24px)!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere}
.kdm-list-template.kdm-list-template-type-creative_card_grid .kdm-creative-card-meta{font-size:16px!important;line-height:1.5;justify-content:center;align-items:baseline;text-align:center}
.kdm-list-template.kdm-list-template-type-creative_card_grid .kdm-creative-card-actions{text-align:center}
.kdm-list-template.kdm-list-template-type-creative_card_grid .kdm-creative-button-group{justify-content:center;align-items:center}
.kdm-list-template.kdm-list-template-type-creative_card_grid .kdm-media-controls{margin-left:auto;margin-right:auto}

/* Accordion gaps show the page; individual panels keep their configured fill. */
.kdm-list-template.kdm-list-template-type-creative_accordion,
.kdm-list-template.kdm-list-template-type-creative_accordion>.kdm-list-template-content,
.kdm-list-template.kdm-list-template-type-creative_accordion .kdm-creative-list{background:transparent!important}
.kdm-list-template.kdm-list-template-type-creative_accordion .kdm-creative-accordion-media{justify-self:start;text-align:left}
.kdm-list-template.kdm-list-template-type-creative_accordion .kdm-creative-accordion-image{width:auto!important;max-width:100%!important;object-position:left center;margin-left:0!important;margin-right:auto!important}
.kdm-list-template.kdm-list-template-type-creative_accordion .kdm-creative-button-group{align-items:center}
.kdm-list-template.kdm-list-template-type-creative_accordion .kdm-creative-button{align-self:center;flex:0 0 auto;margin:0!important}
