/* Osasto (product category) template 281793 – generic for all categories. px on purpose: html font-size is 10px. */
.tax-product_cat{--os-lime:hsl(74.6 61% 53.7%);--os-green:hsl(135.6 58.6% 39.8%);--os-soft:#f6f6f2;--os-head:#202020;--os-text:#555;--os-r:14px}
.tax-product_cat #brxe-hhakxr{font-size:19px;line-height:1.55;max-width:640px}
.tax-product_cat #brxe-vcyepp{font-size:clamp(36px,5vw,56px);line-height:1.05}

/* USPs */
.osasto-usps{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:16px 0 0;padding:0}
.osasto-usps li,.osasto-usps span{background:var(--os-soft);border-radius:99px;padding:7px 15px;font-size:15px;font-weight:600;color:var(--os-head)}
.osasto-usps li::before{content:"✓ ";color:var(--os-green)}

/* Cards (Valitse käytön mukaan): equal size, image on top */
.osasto-cards{padding:40px 0 8px}
.osasto-cards h2{font-size:34px;font-weight:800;margin-bottom:18px;color:var(--os-head)}
.osasto-cards__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:20px;width:100%}
.osasto-card{display:flex;flex-direction:column;align-items:stretch;gap:0;height:100%;background:var(--os-soft);border:2px solid transparent;border-radius:var(--os-r);padding:0;overflow:hidden;transition:.2s;color:var(--os-text)}
.osasto-card:hover{border-color:var(--os-lime);background:#fff}
.osasto-card img{width:100%!important;height:auto!important;aspect-ratio:16/10;object-fit:contain;mix-blend-mode:multiply;padding:18px;flex:none;display:block}
.osasto-card > :not(img){display:flex;flex-direction:column;flex:1;padding:0 18px 18px;text-align:left}
.osasto-card h3{font-size:23px;line-height:1.2;margin:0;color:var(--os-head)}
.osasto-card p{font-size:18px;line-height:1.45;margin:6px 0 10px}
.osasto-card .osasto-card__count{font-size:17px;font-weight:700;color:var(--os-green);margin-top:auto}

/* Product title + filter bar */
.osasto-products__title{font-size:34px;font-weight:800;color:var(--os-head);margin:0}
.osasto-fbar{display:flex;flex-direction:row;flex-wrap:nowrap;gap:12px 20px;align-items:center;justify-content:space-between;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;padding:12px 0;width:100%;font-size:15px}
.osasto-fbar__count{font-weight:700;color:var(--os-head)}
.osasto-fbar__filters{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px;flex:1 1 auto;width:auto!important;justify-content:flex-start}
.osasto-fbar select{appearance:none;-webkit-appearance:none;border:1px solid #ccc;border-radius:99px;padding:7px 34px 7px 15px;font:600 15px/1.2 inherit;color:var(--os-head);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E") no-repeat right 14px center;cursor:pointer;min-width:0;width:auto!important;height:38px!important;line-height:1.2;box-shadow:none}
.osasto-fbar > *{width:auto!important;margin:0}
.osasto-fbar .brxe-filter-select,.osasto-fbar select.brxe-filter-select{flex:0 0 auto}
.osasto-fbar select:hover{border-color:var(--os-head)}
.osasto-fbar .brxe-filter-select{width:auto}

/* Content sections */
.osasto-secs{padding:24px 0 8px}
.osasto-secs__list{width:100%;max-width:1280px;margin:0 auto;display:flex;flex-direction:column;gap:40px}
.osasto-sec{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;width:100%;font-size:17px;line-height:1.6;color:var(--os-text)}
.osasto-sec:not(:has(.osasto-sec__aside)){grid-template-columns:1fr}
.osasto-sec__body{display:flex;flex-direction:column;gap:0;min-width:0}
.osasto-sec__kicker{color:var(--os-green);font-weight:700;letter-spacing:.1em;text-transform:uppercase;font-size:13px;margin-bottom:6px}
.osasto-sec__title{font-size:34px;font-weight:800;line-height:1.1;color:var(--os-head);margin:0 0 12px}
.osasto-sec__content{font-size:17px;line-height:1.6}
.osasto-sec__content p{margin:0 0 12px}
.osasto-sec__content a{color:var(--os-green);font-weight:700}
.osasto-sec__content h3{font-size:22px;margin:18px 0 6px;color:var(--os-head)}
.osasto-sec__aside{min-width:0;width:100%}
.osasto-sec__img img,.osasto-sec__aside img{width:100%;border-radius:12px;display:block}
.osasto-sec__cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px;width:100%}
.osasto-sc{display:flex;flex-direction:column;gap:4px;border-radius:12px;padding:16px;min-width:0}
.osasto-sc__title{margin:0}

/* light */
.osasto-sec--light .osasto-sc{background:var(--os-soft)}
.osasto-sec--light .osasto-sc__title{font-size:20px;color:var(--os-head)}

/* dark: stats + table */
.osasto-sec--dark{background:#141414;color:#cfcfcf;border-radius:24px;padding:48px;grid-template-columns:1fr 1.4fr;align-items:start}
.osasto-sec--dark .osasto-sec__title{color:#fff}
.osasto-sec--dark .osasto-sec__kicker{color:var(--os-lime)}
.osasto-sec--dark .osasto-sec__content strong{color:#fff}
.osasto-sec--dark .osasto-sec__content a{color:var(--os-lime)}
.osasto-sec--dark .osasto-sc{background:#222;font-size:15px}
.osasto-sec--dark .osasto-sc__title{font-size:30px;color:var(--os-lime);line-height:1.1}
.osasto-table-wrap{overflow-x:auto}
.osasto-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.4;margin:0;border:0}
.osasto-table th,.osasto-table td{text-align:left;padding:11px 10px;border:0;border-bottom:1px solid #2c2c2c;background:none;vertical-align:middle}
.osasto-table thead th{color:#fff;font-size:13px;text-transform:uppercase;letter-spacing:.05em}
.osasto-table tbody th{color:#fff;font-weight:700}
.osasto-sec--light .osasto-table th,.osasto-sec--light .osasto-table td{border-bottom-color:#e5e5e5}
.osasto-sec--light .osasto-table thead th,.osasto-sec--light .osasto-table tbody th{color:var(--os-head)}
.osasto-chip{display:inline-block;border-radius:99px;padding:3px 10px;font-weight:700;font-size:13px;background:#333;color:#ddd;white-space:nowrap}
.osasto-chip--hi{background:var(--os-lime);color:#111}

/* cards: feature grid */
.osasto-sec--cards .osasto-sec__cards{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:20px;margin-top:10px}
.osasto-sec--cards .osasto-sc{height:100%;width:100%}
.osasto-sec--cards .osasto-sc{border:1px solid #e6e6e6;border-radius:var(--os-r);padding:24px;gap:6px;transition:.2s}
.osasto-sec--cards .osasto-sc:hover{border-color:var(--os-lime)}
.osasto-sec--cards .osasto-sc__icon{width:44px;height:44px;border-radius:12px;background:hsl(63.6 66.4% 75.5%);display:grid;place-items:center;font-size:22px;margin-bottom:6px}
.osasto-sec--cards .osasto-sc__title{font-size:22px;color:var(--os-head)}
.osasto-sec--cards .osasto-sc__text{font-size:16px;line-height:1.55;margin:0 0 6px}
.osasto-sc__link{color:var(--os-green)!important;font-weight:700;margin-top:auto}

/* size: soft panel + length boxes */
.osasto-sec--size{background:var(--os-soft);border-radius:24px;padding:40px}
.osasto-sec--size .osasto-sc{background:#fff;text-align:center;padding:14px;font-size:15px}
.osasto-sec--size .osasto-sc{cursor:default;box-shadow:none;border:0;outline:0}
.osasto-sec--size .osasto-sc:nth-child(2){background:hsl(74.6 61% 53.7% / .22)}
.osasto-sec--size .osasto-sc:nth-child(2)::after{content:"yleisin";font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--os-green)}
.osasto-sec--size{grid-template-columns:1fr!important}
.osasto-sec--size .osasto-sec__body{max-width:860px}
.osasto-sec--size .osasto-sec__aside{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px;background:#fff}
.osasto-sec--size .osasto-sec__aside a{display:block;cursor:zoom-in}
.osasto-sec--size .osasto-sec__aside img{width:100%;min-width:900px;border-radius:0}
.osasto-sec--size .osasto-sec__aside::after{content:"Avaa kokotaulukko isona klikkaamalla kuvaa";display:block;font-size:14px;padding:8px 12px;color:var(--os-text)}
.osasto-sec--size .osasto-sc__title{font-size:20px;color:var(--os-head)}
.osasto-sec--size .osasto-sec__aside img{background:#fff}
.osasto-sec--size + *{margin-top:0}

/* FAQ */
.osasto-faq{padding:40px 0}
.osasto-faq h2{font-size:34px;font-weight:800;color:var(--os-head);margin-bottom:8px}
.osasto-faq__item{border-bottom:1px solid #e5e5e5;padding:16px 0;max-width:860px;width:100%}
.osasto-faq__item summary{font-weight:700;color:var(--os-head);font-size:19px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.osasto-faq__item summary::-webkit-details-marker{display:none}
.osasto-faq__item summary::after{content:"+";color:var(--os-green);font-size:24px;line-height:1}
.osasto-faq__item[open] summary::after{content:"–"}
.osasto-faq__item > :not(summary){font-size:17px;line-height:1.6;color:var(--os-text);margin-top:10px}

@media (max-width:991px){
	.osasto-cards__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.osasto-sec,.osasto-sec--dark{grid-template-columns:1fr;gap:24px}
	.osasto-sec--cards .osasto-sec__cards{grid-template-columns:1fr 1fr}
}
@media (max-width:1100px){.osasto-fbar,.osasto-fbar__filters{flex-wrap:wrap}}
.osasto-fbar__reset{background:none!important;border:0!important;color:var(--os-green)!important;font:700 15px/1.2 inherit!important;padding:7px 6px!important;text-decoration:underline;cursor:pointer;white-space:nowrap}
@media (max-width:767px){
	.osasto-cards__grid{grid-template-columns:1fr!important;grid-auto-rows:auto;gap:10px}
	.osasto-card{flex-direction:row;align-items:center}
	.osasto-card img{width:96px!important;flex:0 0 96px;padding:8px}
	.osasto-card > :not(img){padding:12px 14px 12px 4px}
	.osasto-card h3{font-size:20px}.osasto-card p{font-size:16px;margin:4px 0 6px}
	.osasto-fbar__filters .brxe-filter-select{flex:1 1 45%}
	.osasto-fbar__filters .brxe-filter-select{flex:1 1 140px}
	.osasto-cards h2,.osasto-products__title,.osasto-sec__title,.osasto-faq h2{font-size:28px}
	.osasto-sec--dark{padding:26px 18px;border-radius:16px}
	.osasto-sec--size{padding:22px}
	.osasto-sec--cards .osasto-sec__cards{grid-template-columns:1fr}
	.osasto-sec--dark .osasto-sec__cards{grid-template-columns:repeat(3,1fr);gap:8px}
	.osasto-sec--dark .osasto-sc{padding:12px}
	.osasto-sec--dark .osasto-sc__title{font-size:22px}
	.osasto-table{min-width:560px}
	.osasto-fbar__filters{justify-content:flex-start;order:3;width:100%}
}

/* Product card differentiator (category archives only) */
.osasto-tagline{font-size:15px;line-height:1.4;color:var(--os-text);margin:2px 0 6px}
@media (max-width:767px){.osasto-cards__grid{grid-auto-rows:auto}.osasto-tagline{font-size:14px}}

/* polish4: mobile usage-card images + centered hero */
@media (max-width:767px){
	.osasto-card img{width:40%!important;flex:0 0 40%;aspect-ratio:3/4;padding:10px}
	.osasto-card > :not(img){padding:14px 14px 14px 6px}
	.tax-product_cat #brxe-hswqds,.tax-product_cat #brxe-hswqds img{object-position:center center!important;margin-left:auto;margin-right:auto}
}
.osasto-size__heading{font-size:32px;font-weight:800;line-height:1.2;margin:0 0 16px;color:var(--os-head,#111)}
@media (max-width:767px){.osasto-size__heading{font-size:24px}}
/* hub page /osasto/ */
.osasto-hub-page{max-width:1280px;margin:0 auto;padding:40px 20px 80px;width:100%}
.osasto-hub-page .osasto-crumbs{font-size:14px;margin:0 0 16px;color:#555}
.osasto-hub-page .osasto-crumbs a{color:#111}
.osasto-hub-page h1{font-size:56px;font-weight:800;line-height:1.05;margin:0 0 16px;color:#111}
.osasto-hub-page .osasto-hub-lead{font-size:20px;line-height:1.5;max-width:760px;margin:0 0 40px;color:#222}
.osasto-hub{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.osasto-hub__card{display:flex;flex-direction:column;border:2px solid #111;background:#fff}
.osasto-hub__img{display:block;aspect-ratio:4/3;overflow:hidden;background:#f2f2f2;border-bottom:2px solid #111}
.osasto-hub__img img{width:100%;height:100%;object-fit:cover;display:block}
.osasto-hub__body{display:flex;flex-direction:column;gap:12px;padding:20px;flex:1}
.osasto-hub__title{font-size:28px;font-weight:800;line-height:1.15;margin:0}
.osasto-hub__title a{color:#111;text-decoration:none}
.osasto-hub__intro{font-size:16px;line-height:1.5;margin:0;color:#333}
.osasto-hub__subs{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.osasto-hub__subs a{display:inline-block;font-size:14px;font-weight:600;padding:6px 12px;border:1px solid #111;border-radius:999px;color:#111;text-decoration:none}
.osasto-hub__subs a:hover{background:#111;color:#fff}
.osasto-hub__more{margin-top:auto;font-size:15px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#111}
@media (max-width:991px){.osasto-hub{grid-template-columns:repeat(2,1fr)}}
@media (max-width:767px){.osasto-hub{grid-template-columns:1fr}.osasto-hub-page h1{font-size:36px}.osasto-hub-page .osasto-hub-lead{font-size:17px}.osasto-hub__title{font-size:24px}}
/* image + text sections (sec_style=media), long-form copy readability */
.osasto-sec--light .osasto-sec__body,.osasto-sec--media .osasto-sec__body{max-width:760px}
.osasto-sec--light:not(:has(.osasto-sec__aside)){justify-items:start}
.osasto-sec--light .osasto-sec__content,.osasto-sec--media .osasto-sec__content{font-size:19px;line-height:1.7;color:#333}
.osasto-sec--light .osasto-sec__content p,.osasto-sec--media .osasto-sec__content p{margin:0 0 16px}
.osasto-sec--media{grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.osasto-sec--media .osasto-sec__aside{order:-1}
.osasto-sec--media.osasto-sec--flip .osasto-sec__aside{order:2}
.osasto-sec--media .osasto-sec__img,.osasto-sec--media .osasto-sec__img a{display:block;width:100%}
.osasto-sec--media .osasto-sec__img img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--os-r)}
.osasto-sec--media .osasto-sec__title,.osasto-sec--light .osasto-sec__title{font-size:36px;margin-bottom:16px}
@media (max-width:767px){
.osasto-sec--media{grid-template-columns:1fr;gap:20px}
.osasto-sec--media .osasto-sec__aside,.osasto-sec--media.osasto-sec--flip .osasto-sec__aside{order:-1}
.osasto-sec--light .osasto-sec__content,.osasto-sec--media .osasto-sec__content{font-size:17px}
.osasto-sec--media .osasto-sec__title,.osasto-sec--light .osasto-sec__title{font-size:28px}
}
@media (max-width:767px){.osasto-secs__list{padding-left:16px;padding-right:16px;box-sizing:border-box}}
.osasto-hero__desc p{margin:0 0 14px}
.osasto-hero__desc p:last-child{margin-bottom:0}
.osasto-sec__content a.osasto-plink,.osasto-faq__item a.osasto-plink{color:var(--os-head);font-weight:700;text-decoration:underline;text-decoration-color:var(--os-lime);text-decoration-thickness:2px;text-underline-offset:3px}
.osasto-sec--cutout .osasto-sec__img img{object-fit:contain;background:var(--os-soft);padding:24px;box-sizing:border-box}
