.kf-catalog,.kf-archive,.kf-filter-ui,.kf-panel,.kf-backdrop{box-sizing:border-box}
.kf-catalog *,.kf-archive *,.kf-filter-ui *,.kf-panel *{box-sizing:border-box}
.kf-archive{width:min(100% - 44px,1060px);margin:0 auto}
.kf-catalog{color:#293b33;font:14px/1.45 system-ui,-apple-system,sans-serif}
.kf-catalog--archive{position:relative;width:100vw;max-width:none;margin:0 0 0 calc(50% - 50vw);padding:0 max(22px,calc((100vw - 1060px)/2)) 90px}
.kf-topic-description{margin:0 0 28px;font:18px/1.5 system-ui,-apple-system,sans-serif}
.kf-catalog-top{position:relative;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px}
.kf-catalog-top .kf-show-all,.kf-catalog-top .kf-topics-link,.kf-catalog-top .kf-materials-link,.kf-catalog-top .kf-materials-placeholder,.kf-catalog-top .kf-worksheets-placeholder,.kf-catalog-top .kf-add-lesson,.kf-catalog-top .kf-add-material{display:inline-block;padding:8px 13px;border:1px solid #4c6252;border-radius:7px;background:transparent;color:#244730;font:14px/1.45 system-ui,-apple-system,sans-serif;text-decoration:none;white-space:nowrap}
.kf-catalog-top .kf-materials-placeholder:disabled,.kf-catalog-top .kf-worksheets-placeholder:disabled,.kf-catalog-top .kf-add-lesson:disabled,.kf-catalog-top .kf-add-material:disabled{opacity:.65;cursor:default}
.kf-catalog-top .kf-show-all:hover,.kf-catalog-top .kf-topics-link:hover,.kf-catalog-top .kf-materials-link:hover,.kf-catalog-top a.kf-add-lesson:hover,.kf-catalog-top a.kf-add-material:hover{background:#edf4ee}
.kf-catalog-top .kf-show-all:focus-visible,.kf-catalog-top .kf-topics-link:focus-visible,.kf-catalog-top .kf-materials-link:focus-visible,.kf-catalog-top .kf-materials-placeholder:focus-visible,.kf-catalog-top .kf-add-lesson:focus-visible,.kf-catalog-top .kf-add-material:focus-visible{outline:0;box-shadow:0 0 0 1px #315f41}
.kf-material-page .entry-header,.kf-material-page .page-header,.kf-material-page .wp-block-post-title{display:none}
.kf-material-page .kf-material-catalog{position:static;width:min(1060px,calc(100vw - 44px));max-width:100%;margin:0 auto;padding:0 0 90px}
.kf-material-grid label{display:block;margin:0 0 9px;color:#254632;font:700 15px/1.35 system-ui,-apple-system,sans-serif}
.kf-material-grid input{display:block;width:min(100%,520px);min-height:42px;padding:8px 11px;border:1px solid #afc0b3;border-radius:7px;background:#fff;color:#293b33;font:14px/1.35 system-ui,-apple-system,sans-serif}
.kf-filter-ui{font:14px/1.45 system-ui,-apple-system,sans-serif;color:#293b33}
.kf-filter-ui .kf-open{padding:8px 13px;border:1px solid #4c6252;border-radius:7px;background:transparent;color:#244730;font:inherit;white-space:nowrap;cursor:pointer}
.kf-filter-ui .kf-open:hover{background:#edf4ee}
.kk-toolbar .kf-single-filters,.kk-toolbar .kf-filter-ui{display:contents}
.kf-filter-ui button:focus-visible,.kf-filter-ui input:focus-visible,.kf-filter-ui a:focus-visible,.kf-panel button:focus-visible,.kf-panel input:focus-visible,.kf-panel a:focus-visible{outline:0;box-shadow:0 0 0 1px #315f41}
.kf-backdrop:not([hidden]){position:fixed;inset:0;z-index:99990;border:0;background:rgba(15,27,21,.5);cursor:pointer}
.kf-panel:not([hidden]){position:fixed;top:0;right:0;bottom:0;z-index:99991;display:flex;flex-direction:column;width:min(1180px,100vw);max-width:100vw;background:#f8f7f2;color:#23342d;box-shadow:-18px 0 60px #142e1e33;font:14px/1.45 system-ui,-apple-system,sans-serif}
body.admin-bar .kf-panel:not([hidden]){top:32px}
.kf-panel-head{display:flex;flex:none;justify-content:space-between;align-items:center;gap:24px;min-height:106px;padding:24px 72px 24px 36px;border-bottom:1px solid #d5ded5;background:#f8f7f2}
.kf-panel-head small{display:block;margin-bottom:6px;color:#347456;font:800 11px/1.2 system-ui,-apple-system,sans-serif;letter-spacing:.15em}
.kf-panel-head h2{margin:0;font:700 30px/1.12 Georgia,serif;color:#23342d}
.kf-panel-head .kf-close{position:static;flex:0 0 40px;width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;max-height:40px;margin:0;padding:0;border:1px solid #abbcac;border-radius:8px;background:#fff;color:#23342d;font:18px/1 system-ui,-apple-system,sans-serif;cursor:pointer}
.kf-form{display:flex;flex-direction:column;min-height:0;flex:1;margin:0}
.kf-grid{display:block;flex:1;min-height:0;overflow:auto;padding:32px 36px 38px}
.kf-filter-row{display:grid;gap:24px 28px;align-items:start}
.kf-filter-row--primary{grid-template-columns:minmax(180px,1.45fr) minmax(145px,.95fr) minmax(125px,.8fr) minmax(190px,1.35fr) minmax(210px,1.45fr);gap:24px 22px}
.kf-filter-row--topics{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px 44px}
.kf-filter-row--materials{grid-template-columns:minmax(0,1fr)}
.kf-filter-separator{margin:27px 0;border-top:1px solid #d5ded5}
.kf-grid .kf-group{margin:0;padding:0;min-width:0;border:0}
.kf-grid .kf-group legend{display:block;width:100%;margin:0 0 9px;padding:0;font:700 15px/1.35 system-ui,-apple-system,sans-serif;color:#254632}
.kf-grid .kf-options{display:grid;gap:6px 12px;max-height:none;overflow:visible;padding:0}
.kf-grid .kf-group--oppekontekst .kf-options,.kf-grid .kf-group--kunstitehnika .kf-options,.kf-grid .kf-group--teema .kf-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.kf-grid .kf-group--toovahendid_ja_materjalid .kf-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 18px}
.kf-grid .kf-group--toovahendid_ja_materjalid .kf-option-search{width:min(100%,290px)}
.kf-grid .kf-option{display:flex;gap:9px;align-items:flex-start;margin:0;color:#293b33;font:400 14px/1.36 system-ui,-apple-system,sans-serif;cursor:pointer}
.kf-grid .kf-option[hidden]{display:none}
.kf-grid .kf-option input{flex:0 0 auto;width:16px;height:16px;margin:2px 0 0;accent-color:#285e42}
.kf-grid .kf-option-search{display:block;width:100%;min-height:38px;margin:0 0 9px;padding:7px 10px;border:1px solid #afc0b3;border-radius:7px;background:#fff;color:#293b33;font:400 14px/1.35 system-ui,-apple-system,sans-serif}
.kf-actions{display:flex;flex:none;flex-wrap:wrap;gap:18px;align-items:center;min-height:92px;padding:22px 36px calc(22px + env(safe-area-inset-bottom));border-top:1px solid #d5ded5;background:#f8f7f2}
.kf-actions .kf-search{flex:1 1 300px;max-width:430px;margin:0}
.kf-actions .kf-search input{display:block;width:100%;min-height:42px;margin:0;padding:8px 11px;border:1px solid #afc0b3;border-radius:7px;background:#fff;color:#293b33;font:400 14px/1.35 system-ui,-apple-system,sans-serif}
.kf-wishlist-placeholder,.kf-favorites-choice,.kf-featured-choice{display:flex;align-items:center;gap:7px;color:#667067;font:600 14px/1.4 system-ui,-apple-system,sans-serif;white-space:nowrap}
.kf-wishlist-placeholder{opacity:.72}
.kf-wishlist-placeholder input,.kf-favorites-choice input,.kf-featured-choice input{width:16px;height:16px;margin:0;accent-color:#285e42}
.kf-favorites-choice,.kf-featured-choice{cursor:pointer;color:#465a4c}
.kf-actions button{min-height:42px;padding:8px 18px;border:1px solid #285e42;border-radius:8px;background:#285e42;color:#fff;font:700 14px/1.4 system-ui,-apple-system,sans-serif;cursor:pointer}
.kf-actions a{color:#285e42;font:500 14px/1.4 system-ui,-apple-system,sans-serif}
body.kf-panel-open{overflow:hidden}
.kf-single-filters{margin:0}
.kf-setup-note{padding:12px 16px;border:1px solid #e0e8e0;border-radius:8px;background:#f7f9f7;font-size:14px}
.kf-results{min-width:0}
.kf-results-head{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:24px;text-align:center}
.kf-results-head h1,.kf-results-head h2,.kf-results-head p{margin:0}
.kf-results-head h1,.kf-results-head h2{font:400 clamp(2.4rem,5vw,3.8rem)/1.12 Georgia,serif;color:#24272b}
.kf-results-tools{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center}
.kf-sort{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0;color:#293b33;font:14px/1.4 system-ui,-apple-system,sans-serif}
.kf-sort label{margin:0;font:600 14px/1.4 system-ui,-apple-system,sans-serif}
.kf-sort select{max-width:210px;min-height:36px;padding:5px 9px;border:1px solid #afc0b3;border-radius:7px;background:#fff;color:#293b33;font:14px/1.4 system-ui,-apple-system,sans-serif}
.kf-sort button{min-height:36px;padding:6px 10px;border:1px solid #4c6252;border-radius:7px;background:#fff;color:#244730;font:14px/1.4 system-ui,-apple-system,sans-serif;cursor:pointer}
.kf-sort button:hover{background:#edf4ee}
.kf-sort select:focus-visible,.kf-sort button:focus-visible{outline:0;box-shadow:0 0 0 1px #315f41}
.kf-topics{color:#293b33;font:14px/1.5 system-ui,-apple-system,sans-serif}
.kf-topic-search{display:flex;align-items:end;justify-content:center;flex-wrap:wrap;gap:12px;margin:18px 0 28px}
.kf-topic-search label{display:grid;gap:6px;font-weight:600;min-width:min(100%,180px)}
.kf-topic-search input,.kf-topic-search select{min-height:40px;padding:7px 10px;border:1px solid #afc0b3;border-radius:7px;background:#fff;color:inherit;font:inherit}
.kf-topic-search button{min-height:40px;padding:7px 16px;border:1px solid #285e42;border-radius:7px;background:#285e42;color:#fff;font:600 14px system-ui,-apple-system,sans-serif;cursor:pointer}
.kf-topic-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px}
.kf-topic-cards a{display:block;padding:20px;border:1px solid #dce6dc;border-radius:12px;color:#293b33;text-decoration:none}
.kf-topic-cards a:hover,.kf-topic-cards a:focus-visible{border-color:#6a9976;box-shadow:0 6px 18px rgba(20,70,40,.12)}
.kf-topic-cards h3{margin:0 0 8px;font:700 20px Georgia,serif}.kf-topic-cards p{margin:0}
.kf-active{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;align-items:center;margin:0 0 22px}
.kf-active a{display:inline-block;padding:6px 10px;border:1px solid #bfd3c3;border-radius:999px;color:#285e42;text-decoration:none;font-size:.9em;line-height:1.25}
.kf-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,235px),1fr));gap:22px}
.kf-card{position:relative;overflow:hidden;padding-bottom:20px;border:1px solid #e1e8e1;border-radius:12px;color:inherit}
.kf-card:hover,.kf-card:focus-within{border-color:#6a9976;box-shadow:0 6px 18px rgba(20,70,40,.12)}
.kf-card-main{display:block;color:inherit;text-decoration:none}
.kf-card-main:focus-visible{outline:3px solid #315f41;outline-offset:-3px}
.kf-card-image{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;margin:0 0 16px;background:#f1f4ef}
.kf-card-image img{display:block;width:100%!important;height:100%!important;max-width:none;object-fit:contain;margin:0}
.kf-card-image .kk-access-badge{position:absolute;top:10px;left:10px;z-index:2;max-width:calc(100% - 164px)}
.kf-material-catalog .kk-access-badge,.kf-results .kk-access-badge{display:inline-flex;align-items:center;max-width:calc(100% - 20px);padding:5px 9px;border:1px solid #9fb5a4;border-radius:999px;background:#e6f0e8;color:#315f41;font:700 11px/1.2 system-ui,-apple-system,sans-serif;letter-spacing:.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kf-material-catalog .kk-access-badge--created,.kf-results .kk-access-badge--created{background:#f0f2eb;border-color:#aab8a9;color:#354e3b}
.kf-featured-star{position:absolute;top:10px;right:10px;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:999px;background:#315f41;color:#fff;font:700 16px/1 system-ui,-apple-system,sans-serif;box-shadow:0 1px 4px rgba(0,0,0,.34);z-index:2}
.kf-card-badge-row{position:relative}.kf-featured-star--no-image{top:0;right:0}
.kf-card-badge-row{display:block;margin:14px 18px 8px}
.kf-card h3{margin:0 18px 9px;font-size:1.2rem}
.kf-card p{margin:0 18px;line-height:1.5}
.kf-card-actions{display:flex;justify-content:flex-end;margin:14px 18px 0}
.kf-card-actions .kk-favorite,.kf-card-actions .kk-favorite-login,.kf-card-actions .kk-in-collection{padding:0;border:0;background:transparent;color:#285e42;font:600 13px/1.35 system-ui,-apple-system,sans-serif;text-decoration:none;cursor:pointer}
.kf-card-actions .kk-favorite[aria-pressed="true"]{background:transparent}
.kf-results-head{margin-bottom:20px}
.kf-catalog-top [aria-current="page"]{border-color:#315f41!important;background:#edf4ee!important;color:#244730!important;font-weight:700!important}
.kf-card{display:flex;flex-direction:column}
.kf-card-main{flex:1 1 auto}
.kf-card-image--empty{display:flex;align-items:center;justify-content:center;background:#f1f4ef;color:#78947f}
.kf-card-image--empty > span:not(.kk-access-badge){display:grid;place-items:center;width:44px;height:44px;border:1px solid #cad9cd;border-radius:50%;color:#52715a;font:600 19px/1 Georgia,serif}
.kf-card-badge-row{margin-top:-14px;margin-bottom:10px}
.kf-card-actions{margin-top:auto;padding-top:16px}
.kf-active .kf-clear-all{border-color:transparent;border-radius:7px;text-decoration:underline;text-underline-offset:3px}
.kf-all-search .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.kf-card-actions .kk-in-collection{color:#285e42;font-weight:700}
.kf-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;border-radius:10px;background:#f7f9f7;text-align:center}.kf-empty p{margin:0}.kf-add-lesson--empty{display:inline-block;padding:8px 13px;border:1px solid #285e42;border-radius:7px;background:#285e42;color:#fff;font:600 14px/1.45 system-ui,-apple-system,sans-serif;text-decoration:none;white-space:nowrap}.kf-add-lesson--empty:disabled{opacity:1;cursor:default;color:#fff;background:#285e42;border-color:#285e42}
.kf-pagination{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}
.kf-pagination a{padding:7px 12px;border:1px solid #bacfbe;border-radius:7px;color:#285e42;text-decoration:none}
.kf-pagination a[aria-current="page"]{background:#285e42;color:#fff}
@media(max-width:800px){.kf-grid{padding:26px 24px 32px}.kf-filter-row--primary{grid-template-columns:repeat(2,minmax(0,1fr))}.kf-filter-row--topics{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px 44px}.kf-grid .kf-group--toovahendid_ja_materjalid .kf-options{grid-template-columns:repeat(3,minmax(0,1fr))}.kf-actions{padding:20px 24px calc(20px + env(safe-area-inset-bottom))}.kf-panel-head{padding:20px 40px 20px 24px}}
@media(max-width:782px){body.admin-bar .kf-panel:not([hidden]){top:46px}}
@media(max-width:540px){.kf-archive{width:min(100% - 28px,1060px)}.kf-catalog--archive{padding:0 14px 70px}.kf-filter-row--primary,.kf-filter-row--topics{grid-template-columns:minmax(0,1fr)}.kf-grid .kf-group--toovahendid_ja_materjalid .kf-options{grid-template-columns:repeat(2,minmax(0,1fr))}.kf-panel-head{min-height:82px;padding:18px 38px 18px 20px}.kf-panel-head h2{font-size:23px}.kf-actions{min-height:82px;padding:16px 20px calc(16px + env(safe-area-inset-bottom))}.kf-actions .kf-search{flex-basis:100%;max-width:none}}
@media print{.kf-filter-ui,.kf-panel,.kf-backdrop,.kf-setup-note{display:none!important}body.kf-panel-open{overflow:visible}}

.kf-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.kf-catalog .kf-empty a.kf-add-lesson--empty,
.kf-catalog .kf-empty a.kf-add-lesson--empty:visited,
.kf-catalog .kf-empty a.kf-add-lesson--empty:hover,
.kf-catalog .kf-empty a.kf-add-lesson--empty:focus-visible{color:#fff!important}
.kf-add-material--empty{display:inline-block;padding:8px 13px;border:1px solid #285e42;border-radius:7px;background:#285e42;color:#fff;font:600 14px/1.45 system-ui,-apple-system,sans-serif;text-decoration:none;white-space:nowrap}.kf-add-material--empty:disabled{opacity:1;cursor:default;color:#fff;background:#285e42;border-color:#285e42}

/* Ülesande liik on päises esimene filter, koos avaldatud ülesannete arvuga. */
.kf-panel-head .kf-panel-title{flex:0 1 auto;min-width:0}
.kf-panel-head .kf-format-options{display:flex;flex:1 1 auto;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 22px;min-width:0}
.kf-panel-head .kf-format-options label{display:inline-flex;align-items:center;gap:7px;margin:0;color:#254632;font:700 14px/1.35 system-ui,-apple-system,sans-serif;white-space:nowrap;cursor:pointer}
.kf-panel-head .kf-format-options input{width:17px;height:17px;margin:0;accent-color:#285e42}
@media(max-width:760px){.kf-panel-head{flex-wrap:wrap;gap:10px 14px}.kf-panel-head .kf-panel-title{flex:1 1 calc(100% - 60px)}.kf-panel-head .kf-close{order:1}.kf-panel-head .kf-format-options{order:2;flex-basis:100%;justify-content:flex-start}.kf-panel-head{padding-right:20px}}
@media(max-width:400px){.kf-panel-head .kf-format-options{gap:8px 14px}.kf-panel-head .kf-format-options label{font-size:13px}}

.kf-all-search{display:flex;flex-wrap:wrap;justify-content:center;align-items:end;gap:12px;margin:0 0 32px}.kf-all-search label{display:grid;gap:5px;font-weight:600}.kf-all-search input,.kf-all-search select{min-height:40px;padding:7px 10px;border:1px solid #afc0b3;border-radius:7px;background:#fff;color:#293b33;font:inherit}.kf-all-search button{min-height:40px;padding:7px 16px;border:1px solid #285e42;border-radius:7px;background:#285e42;color:#fff;font-weight:700;cursor:pointer}.kf-kind{display:inline-block;margin:0 16px 8px;padding:3px 8px;border-radius:20px;background:#e6f0e8;color:#315f41;font-size:12px;font-weight:700}
/* Shared archive: navigation and search share one row on wide screens. */
.kf-all-toolbar{display:flex;align-items:flex-end;justify-content:center;gap:18px}
.kf-all-toolbar .kf-catalog-top{flex:0 0 auto;flex-wrap:nowrap;margin:0;gap:10px}
.kf-all-toolbar .kf-all-search{flex:1 1 auto;flex-wrap:nowrap;justify-content:flex-start;gap:10px;margin:0;min-width:0}
.kf-all-toolbar .kf-all-search label{min-width:0;white-space:nowrap}
.kf-all-toolbar .kf-all-search label:first-child{flex:1 1 190px}
.kf-all-toolbar .kf-all-search label:nth-child(2){flex:0 1 150px}
.kf-all-toolbar .kf-all-search label:nth-child(3){flex:0 1 170px}
.kf-all-toolbar .kf-all-search input,.kf-all-toolbar .kf-all-search select{width:100%}
.kf-all-toolbar .kf-all-search button{flex:0 0 auto}
@media(max-width:1120px){.kf-all-toolbar{flex-wrap:wrap}.kf-all-toolbar .kf-all-search{flex:1 1 100%;justify-content:center;flex-wrap:wrap}.kf-all-toolbar .kf-all-search label:first-child{flex:1 1 220px}.kf-all-toolbar .kf-all-search label:nth-child(2),.kf-all-toolbar .kf-all-search label:nth-child(3){flex:1 1 145px}}
@media(max-width:600px){.kf-all-toolbar .kf-catalog-top{flex-wrap:wrap}.kf-all-toolbar .kf-all-search label{flex:1 1 100%!important}.kf-all-toolbar .kf-all-search button{flex:1 1 100%}}
/* Shared catalogue controls: compact search and restrained actions. */
.kf-all-toolbar .kf-all-search{flex:0 1 auto}
.kf-all-toolbar .kf-all-search label:first-child{flex:0 1 430px;width:min(430px,100%);max-width:430px}
.kf-catalog-top .kf-show-all,.kf-catalog-top .kf-topics-link,.kf-catalog-top .kf-materials-link,.kf-catalog-top .kf-add-lesson,.kf-catalog-top .kf-add-material,.kf-filter-ui .kf-open,.kf-sort button{font-weight:400;box-shadow:none;transition:background-color .16s ease,border-color .16s ease}
.kf-catalog-top a:hover,.kf-filter-ui .kf-open:hover,.kf-sort button:hover{background:#edf4ee;border-color:#315f41;color:#244730}
.kf-actions button,.kf-all-search button,.kf-topic-search button{background:#315f41;border-color:#315f41;color:#fff;font-weight:600;box-shadow:none;transition:background-color .16s ease}
.kf-actions button:hover,.kf-all-search button:hover,.kf-topic-search button:hover{background:#294e37;border-color:#294e37;color:#fff}
.kf-all-toolbar .kf-all-search label{font-weight:500}
@media(max-width:1120px){.kf-all-toolbar .kf-all-search{flex:1 1 100%}.kf-all-toolbar .kf-all-search label:first-child{flex:1 1 220px;max-width:430px}}

/* Märksõnade sageduse järgi skaleeruv, mitmikvalikuga sildipilv. */
.kf-grid .kf-group--marksona{min-width:0}
.kf-tag-cloud{display:flex;flex-wrap:wrap;align-items:baseline;gap:7px 9px;padding:5px 0}
.kf-tag{position:relative;display:inline-flex;align-items:center;min-height:32px;padding:4px 10px;border:1px solid #d3ded5;border-radius:7px;background:#fff;color:#315f41;line-height:1.3;font-weight:400;cursor:pointer;transition:background .16s ease,border-color .16s ease}
.kf-tag--1{font-size:13px}.kf-tag--2{font-size:15px}.kf-tag--3{font-size:17px}.kf-tag--4{font-size:19px}.kf-tag--5{font-size:21px}
.kf-tag:hover{background:#f2f7f2;border-color:#9bb6a1}
.kf-tag:has(input:checked){background:#e5f0e7;border-color:#568165;color:#244b33}
.kf-tag:has(input:focus-visible){outline:2px solid #315f41;outline-offset:2px}
.kf-tag input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.kf-material-grid .kf-group--marksona{margin-top:18px}
.kf-material-grid .kf-tag{display:inline-flex;margin:0;font-weight:400}
.kf-material-grid .kf-tag input{position:absolute;display:block;width:1px;height:1px;min-height:0;margin:0;padding:0;border:0;opacity:0;pointer-events:none}
.kf-filter-row--keywords{grid-template-columns:minmax(0,1fr)}

/* Lühikesed arhiivilehed: jalus jääb sisu alla ja vähemalt ekraani alaserva. */
body.kf-sticky-footer .wp-site-blocks,body.kf-sticky-footer #page{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
body.kf-sticky-footer .wp-site-blocks > footer,body.kf-sticky-footer .wp-site-blocks > .wp-block-template-part:last-child,body.kf-sticky-footer #page > footer{margin-top:auto}
body.kf-sticky-footer #page > #content{flex:1 0 auto}

.kf-card-image .kunst-extra-symbols{position:absolute;top:10px;right:48px;bottom:auto;display:flex;align-items:center;gap:8px;z-index:2}
.kf-card-image .kunst-extra-symbol,
.kf-card-badge-row .kunst-extra-symbol,
.kf-featured-star--no-image,
.kf-card-badge-row .kf-featured-star{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;background:#315f41;color:#fff;box-shadow:0 1px 4px #1c302830;font:700 16px/1 system-ui,-apple-system,sans-serif}
.kf-card-image .kunst-extra-symbol,.kf-card-badge-row .kunst-extra-symbol{border-radius:999px}
.kf-card-image .kunst-extra-symbol--material,.kf-card-badge-row .kunst-extra-symbol--material{border-radius:8px;font-size:14px}
.kf-card-badge-row .kunst-extra-symbols{display:flex;align-items:center;gap:8px;margin-top:6px}
.kf-worksheet-catalog .kf-catalog-top .kf-materials-link{display:inline-block}

/* 1.0.50: töölehe PDF-eelvaade kasutab sama kaardistiili nagu muu sisu. */
.kf-worksheet-catalog .kf-card-image--pdf img{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:contain;background:#f1f4ef;}

.kf-card-image .kunst-extra-symbols:has(+ .kf-featured-star){right:48px}
@media (max-width: 640px){
  .kf-card-image .kk-access-badge{max-width:calc(100% - 20px)}
  .kf-card-image .kunst-extra-symbols{top:auto;bottom:10px;right:10px}
}


/* 1.0.52: ligipääsu- ja lisasisu tähised ei jookse enam üksteise peale ning on ühes süsteemis. */
.kf-card-badge-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.kf-card-badge-row .kk-access-badge{margin:0}
.kf-card-badge-row .kunst-extra-symbols{display:flex;align-items:center;gap:8px;margin:0}
.kf-card-image .kunst-extra-symbol,.kf-card-badge-row .kunst-extra-symbol,.kf-featured-star--no-image,.kf-card-badge-row .kf-featured-star{flex:0 0 30px}
.kf-card-image .kunst-extra-symbol{font-size:15px}
.kf-card-image .kunst-extra-symbol--material,.kf-card-badge-row .kunst-extra-symbol--material{font-size:12px}
.kf-card-image .kunst-extra-symbols:has(+ .kf-featured-star){right:48px}


/* 1.0.53: ülesandekaardi töölehe/materjali ikoonid liiguvad alla tegevusrea kõrvale. */
.kf-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 18px 0}
.kf-card-extra-flags,.kf-card-actions .kunst-extra-symbols{display:flex;align-items:center;gap:12px;min-width:0}
.kf-card-actions .kunst-extra-symbols{margin:0}
.kf-card-actions .kunst-extra-symbol{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;line-height:1;color:#285e42;font-size:16px;flex:0 0 16px;background:transparent;border:0;box-shadow:none}
.kf-card-actions .kunst-extra-symbol--material{font-size:11px}
.kf-card-image .kunst-extra-symbols{display:none !important}
.kf-card-badge-row .kunst-extra-symbols{display:none !important}
@media (max-width: 640px){
  .kf-card-actions{gap:10px}
  .kf-card-actions .kunst-extra-symbols{gap:10px}
}


/* 1.0.54: alumise rea ring, ruut ja lemmiku süda on optiliselt sama suured. */
.kf-card-actions .kunst-extra-symbol{
  width:18px;
  height:18px;
  flex:0 0 18px;
  font-size:0;
  line-height:18px;
}
.kf-card-actions .kunst-extra-symbol::before{
  content:"";
  display:block;
  width:14px;
  height:14px;
  background:currentColor;
}
.kf-card-actions .kunst-extra-symbol--worksheet::before{border-radius:50%}
.kf-card-actions .kunst-extra-symbol--material::before{border-radius:2px}
.kf-card-actions .kk-favorite,
.kf-card-actions .kk-favorite-login,
.kf-card-actions .kk-in-collection{
  font-size:16px;
  line-height:18px;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a{color:#315f41;font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}

.kf-card-image--empty > .kk-access-badge{position:absolute;top:10px;left:10px;z-index:2;width:auto;height:auto;max-width:calc(100% - 20px)}


/* 1.0.61: sisutüübid on eristatavad rahulike tunnusvärvidega. Nupud jäävad roheliseks. */
.kf-catalog{--kf-type-accent:#315f41;--kf-type-soft:#f1f5ef;--kf-type-rule:#9fb5a4}
.kf-material-catalog{--kf-type-accent:#516a78;--kf-type-soft:#f2f5f7;--kf-type-rule:#b4c2c8}
.kf-worksheet-catalog{--kf-type-accent:#7a604b;--kf-type-soft:#f7f3ee;--kf-type-rule:#cdbeaf}
.kf-material-catalog .kf-card,.kf-card--material{border-color:#d5dfe3}
.kf-worksheet-catalog .kf-card,.kf-card--worksheet{border-color:#e0d6cc}
.kf-card--lesson{--kf-card-accent:#315f41;--kf-card-soft:#f1f5ef;--kf-card-rule:#9fb5a4}
.kf-card--material{--kf-card-accent:#516a78;--kf-card-soft:#f2f5f7;--kf-card-rule:#b4c2c8}
.kf-card--worksheet{--kf-card-accent:#7a604b;--kf-card-soft:#f7f3ee;--kf-card-rule:#cdbeaf}
.kf-card--lesson .kf-card-image--empty,.kf-card--material .kf-card-image--empty,.kf-card--worksheet .kf-card-image--empty{background:var(--kf-card-soft);color:var(--kf-card-accent)}
.kf-card--lesson:hover,.kf-card--lesson:focus-within{border-color:var(--kf-card-rule)}
.kf-card--material:hover,.kf-card--material:focus-within{border-color:#8fa6b0;box-shadow:0 4px 14px rgba(81,106,120,.08)}
.kf-card--worksheet:hover,.kf-card--worksheet:focus-within{border-color:#b29c88;box-shadow:0 4px 14px rgba(122,96,75,.08)}
.kf-kind{border:1px solid var(--kf-card-rule,#9fb5a4);background:var(--kf-card-soft,#f1f5ef);color:var(--kf-card-accent,#315f41)}
.kf-kind--lesson{--kf-card-accent:#315f41;--kf-card-soft:#f1f5ef;--kf-card-rule:#9fb5a4}
.kf-kind--material{--kf-card-accent:#516a78;--kf-card-soft:#f2f5f7;--kf-card-rule:#b4c2c8}
.kf-kind--worksheet{--kf-card-accent:#7a604b;--kf-card-soft:#f7f3ee;--kf-card-rule:#cdbeaf}
/* otsingu-, filtri- ja tegevusnupud kasutavad jätkuvalt ainult saidi rohelist */
.kf-actions button,.kf-all-search button,.kf-topic-search button{background:#315f41;border-color:#315f41;color:#fff}
.kf-actions button:hover,.kf-all-search button:hover,.kf-topic-search button:hover{background:#244730;border-color:#244730;color:#fff}

.kf-card--material .kf-card-image--empty > span:not(.kk-access-badge){border-color:#b4c2c8;color:#516a78}
.kf-card--worksheet .kf-card-image--empty > span:not(.kk-access-badge){border-color:#cdbeaf;color:#7a604b}
.kf-card--lesson .kf-card-image--empty > span:not(.kk-access-badge){border-color:#9fb5a4;color:#315f41}


/* 1.0.63: materjali ja töölehe tähised kasutavad läbivalt selgemaid ikoone. */
.kunst-extra-symbol{--kunst-extra-icon:none;position:relative;display:inline-flex;align-items:center;justify-content:center;font-size:0;line-height:1;color:currentColor}
.kunst-extra-symbol::before{content:"";display:block;width:1em;height:1em;background:currentColor;-webkit-mask:var(--kunst-extra-icon) center/contain no-repeat;mask:var(--kunst-extra-icon) center/contain no-repeat}
.kunst-extra-symbol--material{--kunst-extra-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4.25 4h5.2c1.04 0 1.92.34 2.55.99.63-.65 1.51-.99 2.55-.99h5.2C20.44 4 21 4.56 21 5.25v13.5c0 .69-.56 1.25-1.25 1.25h-5.2c-1.04 0-1.92.34-2.55.99-.63-.65-1.51-.99-2.55-.99h-5.2C3.56 20 3 19.44 3 18.75V5.25C3 4.56 3.56 4 4.25 4ZM11 6.45c-.36-.64-.86-.95-1.55-.95H4.5v13h4.95c.57 0 1.09.09 1.55.28V6.45Zm2 12.33c.46-.19.98-.28 1.55-.28h4.95v-13h-4.95c-.69 0-1.19.31-1.55.95v12.33Z'/%3E%3C/svg%3E")}
.kunst-extra-symbol--worksheet{--kunst-extra-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h7l5 5v13.25A1.75 1.75 0 0 1 17.25 22H6.75A1.75 1.75 0 0 1 5 20.25V3.75A1.75 1.75 0 0 1 6.75 2H7Zm7 1.9v3.85c0 .69.56 1.25 1.25 1.25h3.85L14 3.9ZM8.2 11.2a.7.7 0 1 0 0 1.4h.6a.7.7 0 1 0 0-1.4h-.6Zm3 0a.7.7 0 1 0 0 1.4h4.6a.7.7 0 1 0 0-1.4h-4.6Zm-3 3.4a.7.7 0 1 0 0 1.4h.6a.7.7 0 1 0 0-1.4h-.6Zm3 0a.7.7 0 1 0 0 1.4h4.6a.7.7 0 1 0 0-1.4h-4.6Zm-3 3.4a.7.7 0 1 0 0 1.4h.6a.7.7 0 1 0 0-1.4h-.6Zm3 0a.7.7 0 1 0 0 1.4h3.1a.7.7 0 1 0 0-1.4h-3.1Z'/%3E%3C/svg%3E")}
.kf-card-actions .kunst-extra-symbol{width:18px;height:18px;flex:0 0 18px}
.kf-card-actions .kunst-extra-symbol::before{width:18px;height:18px}
.kf-card-image .kunst-extra-symbol,
.kf-card-badge-row .kunst-extra-symbol{font-size:0}
.kf-card-image .kunst-extra-symbol::before,
.kf-card-badge-row .kunst-extra-symbol::before{width:16px;height:16px}
.kf-card-image .kunst-extra-symbol--material::before,
.kf-card-badge-row .kunst-extra-symbol--material::before{width:17px;height:17px}


/* 1.0.64: üks sisutüüp = üks värviperekond ka nuppudes ja filtrites. */
.kf-catalog{
    --kf-task-accent:#315f41;--kf-task-hover:#244730;--kf-task-soft:#f1f5ef;--kf-task-rule:#9fb5a4;
    --kf-material-accent:#516a78;--kf-material-hover:#3f5663;--kf-material-soft:#f2f5f7;--kf-material-rule:#b4c2c8;
    --kf-worksheet-accent:#7a604b;--kf-worksheet-hover:#604936;--kf-worksheet-soft:#f7f3ee;--kf-worksheet-rule:#cdbeaf;
}

/* Ristnavigeerimise kolm sisunuppu on alati oma tunnusvärvis. */
.kf-catalog-top .kf-type-link--lesson,
.kf-all-toolbar .kf-type-link--lesson{
    border-color:var(--kf-task-accent)!important;color:var(--kf-task-accent)!important;background:transparent!important;
}
.kf-catalog-top .kf-type-link--lesson:hover,
.kf-all-toolbar .kf-type-link--lesson:hover,
.kf-catalog-top .kf-type-link--lesson[aria-current="page"]{
    border-color:var(--kf-task-accent)!important;color:var(--kf-task-hover)!important;background:var(--kf-task-soft)!important;
}
.kf-catalog-top .kf-type-link--material,
.kf-all-toolbar .kf-type-link--material{
    border-color:var(--kf-material-accent)!important;color:var(--kf-material-accent)!important;background:transparent!important;
}
.kf-catalog-top .kf-type-link--material:hover,
.kf-all-toolbar .kf-type-link--material:hover,
.kf-catalog-top .kf-type-link--material[aria-current="page"]{
    border-color:var(--kf-material-accent)!important;color:var(--kf-material-hover)!important;background:var(--kf-material-soft)!important;
}
.kf-catalog-top .kf-type-link--worksheet,
.kf-all-toolbar .kf-type-link--worksheet{
    border-color:var(--kf-worksheet-accent)!important;color:var(--kf-worksheet-accent)!important;background:transparent!important;
}
.kf-catalog-top .kf-type-link--worksheet:hover,
.kf-all-toolbar .kf-type-link--worksheet:hover,
.kf-catalog-top .kf-type-link--worksheet[aria-current="page"]{
    border-color:var(--kf-worksheet-accent)!important;color:var(--kf-worksheet-hover)!important;background:var(--kf-worksheet-soft)!important;
}

/* Materjalide filtripaneel ja tegevused. */
.kf-material-catalog .kf-panel-head small,.kf-material-catalog .kf-panel-head h2,.kf-material-catalog .kf-form label,.kf-material-catalog .kf-group legend{color:var(--kf-material-accent)}
.kf-material-catalog .kf-grid input[type="search"],.kf-material-catalog .kf-grid input[type="text"],.kf-material-catalog .kf-sort select{border-color:var(--kf-material-rule)}
.kf-material-catalog .kf-actions button,.kf-material-catalog .kf-sort button{
    background:var(--kf-material-accent)!important;border-color:var(--kf-material-accent)!important;color:#fff!important;
}
.kf-material-catalog .kf-actions button:hover,.kf-material-catalog .kf-sort button:hover{
    background:var(--kf-material-hover)!important;border-color:var(--kf-material-hover)!important;color:#fff!important;
}
.kf-material-catalog .kf-tag{border-color:var(--kf-material-rule);color:var(--kf-material-accent)}
.kf-material-catalog .kf-tag:hover,.kf-material-catalog .kf-tag:has(input:checked){background:var(--kf-material-soft);border-color:var(--kf-material-accent);color:var(--kf-material-hover)}
.kf-material-catalog .kf-tag:has(input:focus-visible){outline-color:var(--kf-material-accent)}
.kf-material-catalog .kf-pagination a{border-color:var(--kf-material-rule);color:var(--kf-material-accent)}
.kf-material-catalog .kf-pagination a[aria-current="page"]{background:var(--kf-material-accent);border-color:var(--kf-material-accent);color:#fff}

/* Töölehtede filtripaneel ja tegevused. */
.kf-worksheet-catalog .kf-panel-head small,.kf-worksheet-catalog .kf-panel-head h2,.kf-worksheet-catalog .kf-form label,.kf-worksheet-catalog .kf-group legend{color:var(--kf-worksheet-accent)}
.kf-worksheet-catalog .kf-grid input[type="search"],.kf-worksheet-catalog .kf-grid input[type="text"],.kf-worksheet-catalog .kf-sort select{border-color:var(--kf-worksheet-rule)}
.kf-worksheet-catalog .kf-actions button,.kf-worksheet-catalog .kf-sort button{
    background:var(--kf-worksheet-accent)!important;border-color:var(--kf-worksheet-accent)!important;color:#fff!important;
}
.kf-worksheet-catalog .kf-actions button:hover,.kf-worksheet-catalog .kf-sort button:hover{
    background:var(--kf-worksheet-hover)!important;border-color:var(--kf-worksheet-hover)!important;color:#fff!important;
}
.kf-worksheet-catalog .kf-tag{border-color:var(--kf-worksheet-rule);color:var(--kf-worksheet-accent)}
.kf-worksheet-catalog .kf-tag:hover,.kf-worksheet-catalog .kf-tag:has(input:checked){background:var(--kf-worksheet-soft);border-color:var(--kf-worksheet-accent);color:var(--kf-worksheet-hover)}
.kf-worksheet-catalog .kf-tag:has(input:focus-visible){outline-color:var(--kf-worksheet-accent)}
.kf-worksheet-catalog .kf-pagination a{border-color:var(--kf-worksheet-rule);color:var(--kf-worksheet-accent)}
.kf-worksheet-catalog .kf-pagination a[aria-current="page"]{background:var(--kf-worksheet-accent);border-color:var(--kf-worksheet-accent);color:#fff}

/* Seotud lisasisu ikoonid kannavad selle sisu värvi. */
.kunst-extra-symbol--material{color:var(--kf-material-accent,#516a78)}
.kunst-extra-symbol--worksheet{color:var(--kf-worksheet-accent,#7a604b)}

/* 1.0.66: koondvaate sisutüübi valikule piisav laius, et "Kõik sisud" ei kärbiks. */
.kf-all-toolbar .kf-all-search label:nth-child(2){flex:0 0 210px;min-width:210px}
.kf-all-toolbar .kf-all-search label:nth-child(2) select{min-width:210px;width:210px;padding-right:34px}
@media(max-width:1120px){.kf-all-toolbar .kf-all-search label:nth-child(2){flex:1 1 180px;min-width:180px}.kf-all-toolbar .kf-all-search label:nth-child(2) select{min-width:180px;width:100%}}
@media(max-width:600px){.kf-all-toolbar .kf-all-search label:nth-child(2),.kf-all-toolbar .kf-all-search label:nth-child(2) select{min-width:0;width:100%}}

/* 1.0.66: värvieristus jääb sisutüübi taustadesse. Kõik juhtnupud ja tekstilised
   tegevused kasutavad taas saidi rohelist, et kataloog ei muutuks liiga kirjuks. */
.kf-catalog-top .kf-type-link--lesson,
.kf-catalog-top .kf-type-link--material,
.kf-catalog-top .kf-type-link--worksheet,
.kf-all-toolbar .kf-type-link--lesson,
.kf-all-toolbar .kf-type-link--material,
.kf-all-toolbar .kf-type-link--worksheet,
.kf-filter-ui .kf-open,
.kf-catalog-top .kf-materials-link,
.kf-catalog-top .kf-show-all,
.kf-catalog-top .kf-topics-link{
  border-color:#315f41!important;
  color:#315f41!important;
  background:transparent!important;
}
.kf-catalog-top .kf-type-link--lesson:hover,
.kf-catalog-top .kf-type-link--material:hover,
.kf-catalog-top .kf-type-link--worksheet:hover,
.kf-all-toolbar .kf-type-link--lesson:hover,
.kf-all-toolbar .kf-type-link--material:hover,
.kf-all-toolbar .kf-type-link--worksheet:hover,
.kf-catalog-top .kf-type-link--lesson[aria-current="page"],
.kf-catalog-top .kf-type-link--material[aria-current="page"],
.kf-catalog-top .kf-type-link--worksheet[aria-current="page"],
.kf-filter-ui .kf-open:hover,
.kf-catalog-top .kf-materials-link:hover,
.kf-catalog-top .kf-show-all:hover,
.kf-catalog-top .kf-topics-link:hover{
  border-color:#315f41!important;
  color:#244730!important;
  background:#edf4ee!important;
}
.kf-material-catalog .kf-panel-head small,
.kf-material-catalog .kf-panel-head h2,
.kf-material-catalog .kf-form label,
.kf-material-catalog .kf-group legend,
.kf-worksheet-catalog .kf-panel-head small,
.kf-worksheet-catalog .kf-panel-head h2,
.kf-worksheet-catalog .kf-form label,
.kf-worksheet-catalog .kf-group legend{
  color:#315f41!important;
}
.kf-material-catalog .kf-grid input[type="search"],
.kf-material-catalog .kf-grid input[type="text"],
.kf-material-catalog .kf-sort select,
.kf-worksheet-catalog .kf-grid input[type="search"],
.kf-worksheet-catalog .kf-grid input[type="text"],
.kf-worksheet-catalog .kf-sort select{
  border-color:#9fb5a4!important;
}
.kf-material-catalog .kf-actions button,
.kf-material-catalog .kf-sort button,
.kf-worksheet-catalog .kf-actions button,
.kf-worksheet-catalog .kf-sort button,
.kf-actions button,.kf-all-search button,.kf-topic-search button{
  background:#315f41!important;
  border-color:#315f41!important;
  color:#fff!important;
}
.kf-material-catalog .kf-actions button:hover,
.kf-material-catalog .kf-sort button:hover,
.kf-worksheet-catalog .kf-actions button:hover,
.kf-worksheet-catalog .kf-sort button:hover,
.kf-actions button:hover,.kf-all-search button:hover,.kf-topic-search button:hover{
  background:#244730!important;
  border-color:#244730!important;
  color:#fff!important;
}
.kf-material-catalog .kf-tag,
.kf-worksheet-catalog .kf-tag{
  border-color:#d3ded5!important;
  color:#315f41!important;
}
.kf-material-catalog .kf-tag:hover,
.kf-material-catalog .kf-tag:has(input:checked),
.kf-worksheet-catalog .kf-tag:hover,
.kf-worksheet-catalog .kf-tag:has(input:checked){
  background:#f2f7f2!important;
  border-color:#9bb6a1!important;
  color:#244b33!important;
}
.kf-material-catalog .kf-tag:has(input:focus-visible),
.kf-worksheet-catalog .kf-tag:has(input:focus-visible){outline-color:#315f41!important}
.kf-material-catalog .kf-pagination a,
.kf-worksheet-catalog .kf-pagination a{border-color:#9fb5a4!important;color:#315f41!important}
.kf-material-catalog .kf-pagination a[aria-current="page"],
.kf-worksheet-catalog .kf-pagination a[aria-current="page"]{background:#315f41!important;border-color:#315f41!important;color:#fff!important}

/* Väikesed solid-märgid, sama optilise kaaluga kui soovituse täht. */
.kunst-extra-symbol{
  color:#315f41!important;
  font-size:0!important;
}
.kunst-extra-symbol--material{
  --kunst-extra-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 2h9a2 2 0 0 1 2 2v12h-2V4H8V2ZM5 6h9a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E")!important;
}
.kunst-extra-symbol--worksheet{
  --kunst-extra-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 2h8l6 6v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E")!important;
}
.kf-card-actions .kunst-extra-symbol::before{width:16px!important;height:16px!important}

/* 1.0.66 lõplik värvireegel kaartidele: sisutüübi värv ainult taustas. */
.kf-card--lesson,.kf-card--material,.kf-card--worksheet{
  border-color:#d7e2d8!important;
}
.kf-card--lesson:hover,.kf-card--lesson:focus-within,
.kf-card--material:hover,.kf-card--material:focus-within,
.kf-card--worksheet:hover,.kf-card--worksheet:focus-within{
  border-color:#9fb5a4!important;
  box-shadow:0 4px 14px rgba(49,95,65,.08)!important;
}
.kf-kind{
  border-color:#c7d2c9!important;
  color:#315f41!important;
}
.kf-card--lesson .kf-card-image--empty,
.kf-card--material .kf-card-image--empty,
.kf-card--worksheet .kf-card-image--empty{
  color:#315f41!important;
}
.kf-card--material .kf-card-image--empty > span:not(.kk-access-badge),
.kf-card--worksheet .kf-card-image--empty > span:not(.kk-access-badge),
.kf-card--lesson .kf-card-image--empty > span:not(.kk-access-badge){
  border-color:#9fb5a4!important;
  color:#315f41!important;
}


/* 1.0.67: samad materjali/töölehe solid-ikoonid ka „Kõik sisud“ kaartidel. */
.kf-all-catalog .kf-kind{display:inline-flex;align-items:center;gap:6px}
.kf-all-catalog .kf-kind-icon{width:13px;height:13px;flex:0 0 13px;color:#315f41!important}
.kf-all-catalog .kf-kind-icon::before{width:13px!important;height:13px!important}
.kf-all-catalog .kf-card-actions .kf-card-extra-flags:empty{display:none}


/* 1.0.68: lemmiku tegevus on kõigis arhiivikaartides alati all paremas nurgas. */
.kf-card-actions{
  margin-top:auto!important;
  padding-top:16px;
}
.kf-card-actions .kk-favorite,
.kf-card-actions .kk-favorite-login,
.kf-card-actions .kk-in-collection{
  margin-left:auto!important;
  flex:0 0 auto;
  text-align:right;
}

/* 1.0.77: päise geomeetria, järjestus ja lehe laius tulevad ainult pluginast Kunsti ühine mall. */

/* 1.0.81: päriselt õppetöös läbi proovitud ülesande kvaliteedimärgis. */
.kf-card .kk-tested-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin:1px 0 8px;padding:4px 8px;border:1px solid #a9bcae;border-radius:999px;background:#eef5ef;color:#315f41;font:700 11px/1.2 system-ui,-apple-system,sans-serif;letter-spacing:.02em;white-space:nowrap}
