/* Jonkun heebon sivut: moderni, responsiivinen uudistus */
:root{color-scheme:dark;--bg:#0b1020;--panel:#131c30;--panel2:#18243b;--line:#293a58;--text:#eaf1ff;--muted:#aab8d0;--accent:#43e0d0;--accent2:#7aa8ff;}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0!important;background-color:#080d19!important;background-image:linear-gradient(rgba(5,10,20,.48),rgba(5,10,20,.72)),url("images/tausta.png"),radial-gradient(ellipse at 15% 0%,#17314a 0,transparent 42%),linear-gradient(145deg,#080d19,#10182b 60%,#0b1020)!important;background-position:center top,center top,center,center!important;background-size:cover,cover,cover,cover!important;background-attachment:fixed,fixed,fixed,fixed!important;color:var(--text)!important;font:16px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif!important}
a{color:var(--accent)!important;text-decoration:none!important;transition:color .18s,background .18s}a:hover{color:#fff!important;text-decoration:underline!important}
#art-main{padding:26px 16px 40px!important;background:none!important}.art-sheet.clearfix{max-width:1180px;margin:0 auto!important;background:transparent!important;box-shadow:none!important;border:0!important}
.art-header{position:relative;overflow:hidden;min-height:190px;padding:36px clamp(22px,5vw,64px)!important;border:1px solid #28425e!important;border-radius:24px 24px 0 0;background-color:#102b40!important;background-image:linear-gradient(90deg,rgba(5,13,25,.78),rgba(7,24,39,.40) 58%,rgba(8,17,34,.55)),url("images/ylakuva.png")!important;background-size:cover!important;background-position:center 48%!important;display:flex;flex-direction:column;justify-content:center}
.art-headline{position:relative;z-index:1!important;font-size:clamp(2rem,5vw,3.5rem)!important;line-height:1.1;font-weight:850!important;letter-spacing:-.04em}.art-headline a{color:#fff!important}.art-slogan{position:relative;z-index:1;margin-top:12px!important;color:#a8c5d9!important;font-size:1.05rem!important;letter-spacing:.04em}
.art-nav{background:#0c1424!important;border:1px solid var(--line)!important;border-top:0!important;padding:10px 14px!important;position:sticky;top:0;z-index:20;box-shadow:0 8px 22px #0003}.art-hmenu{display:flex!important;flex-wrap:wrap;gap:7px!important;margin:0!important;padding:0!important;justify-content:center}.art-hmenu li{float:none!important;display:block!important;margin:0!important}.art-hmenu li a{display:block!important;padding:9px 14px!important;border:1px solid transparent!important;border-radius:10px!important;color:#d5e2f6!important;background:transparent!important;font-weight:650!important;font-size:.94rem!important}.art-hmenu li a:hover,.art-hmenu li.active>a,.art-hmenu li a.active{background:#1c3047!important;border-color:#31506b!important;color:var(--accent)!important;text-decoration:none!important}.art-hmenu li a[title="Oma Youtube"]:after{content:" YouTube"}.art-hmenu li a[title="Jogi Kosonen Youtube"]:after{content:" Jogi / YouTube"}.art-hmenu li a[title="Facebook"]:after{content:" Facebook"}
.art-layout-wrapper{padding:clamp(18px,3.5vw)!important;background:rgba(15,23,40,.94)!important;border:1px solid var(--line)!important;border-top:0!important;border-radius:0 0 24px 24px!important;min-height:240px}.art-content-layout,.art-content-layout-row,.art-layout-cell,.art-content{display:block!important;width:100%!important;float:none!important;margin:0!important;padding:0!important;background:transparent!important}.art-post,.art-article,.art-postcontent{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;color:var(--text)!important}.art-postheader,.art-postcontent h1{font-size:clamp(1.8rem,4vw,2.65rem)!important;line-height:1.15!important;color:#fff!important;letter-spacing:-.035em!important;margin:0 0 24px!important;padding:0 0 16px!important;border-bottom:2px solid var(--line)!important}.art-postcontent h2{font-size:1.45rem!important;color:var(--accent)!important}.art-postcontent h3{color:#b7d0ff!important}.art-postcontent p,.art-postcontent li{color:#dce6f6!important}.art-postcontent table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;margin:16px 0 26px!important;border:1px solid var(--line)!important;border-radius:12px!important;overflow:hidden!important;background:#101a2c!important;color:var(--text)!important;font-size:.96rem!important}.art-postcontent th{background:#20334d!important;color:#fff!important;text-align:left!important;font-weight:750!important}.art-postcontent th,.art-postcontent td{padding:10px 13px!important;border:0!important;border-bottom:1px solid #26364f!important;border-right:1px solid #23324a!important;vertical-align:top!important}.art-postcontent tr:last-child td{border-bottom:0!important}.art-postcontent tr:nth-child(even) td{background:rgba(255,255,255,.025)!important}.art-postcontent tr:hover td{background:rgba(67,224,208,.055)!important}.art-postcontent td[style*="background-color: #3366ff"],.art-postcontent td[style*="background-color:#3366ff"]{background:#315bd8!important;color:#fff!important;font-weight:800!important}.art-postcontent img{max-width:100%;height:auto;border-radius:12px}.art-footer{margin:16px 0 0!important;padding:18px!important;background:transparent!important;border:0!important;text-align:center!important;color:#7f91ad!important}.art-footer p{color:#7f91ad!important;font-size:.88rem!important}.art-footer-text{color:#7f91ad!important}
.site-search{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0 12px;padding:15px;background:var(--panel2);border:1px solid var(--line);border-radius:13px}.site-search label{font-weight:750;color:#fff}.site-search input{flex:1;min-width:220px;padding:12px 14px;border:1px solid #3a5272;border-radius:9px;background:#0a1221;color:#fff;font:inherit;outline:none}.site-search input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #43e0d022}.search-count{color:var(--muted);font-size:.9rem}.art-postcontent .site-search+table{margin-top:10px!important}
/* Pienet näytöt */
@media(max-width:650px){#art-main{padding:8px!important}.art-header{min-height:155px;padding:28px 20px!important;border-radius:17px 17px 0 0}.art-nav{position:static;padding:8px!important}.art-hmenu{justify-content:flex-start!important}.art-hmenu li a{padding:8px 10px!important;font-size:.88rem!important}.art-layout-wrapper{padding:18px 12px!important;border-radius:0 0 17px 17px!important}.art-postcontent table{font-size:.86rem!important;display:block;overflow-x:auto;white-space:normal}.art-postcontent th,.art-postcontent td{padding:8px!important}.art-postcontent h1{margin-bottom:18px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Valikko yhdelle riville: pienemmät välit ja sosiaalilinkit pelkkinä kuvakkeina */
.art-nav{overflow-x:auto;scrollbar-width:thin;}
.art-hmenu{flex-wrap:nowrap!important;justify-content:flex-start!important;gap:3px!important;width:max-content;min-width:100%;}
.art-hmenu li{flex:0 0 auto!important;white-space:nowrap!important;}
.art-hmenu li a{padding:8px 10px!important;font-size:.88rem!important;white-space:nowrap!important;}
.art-hmenu li a[title="Oma Youtube"]:after,
.art-hmenu li a[title="Jogi Kosonen Youtube"]:after,
.art-hmenu li a[title="Facebook"]:after{content:none!important;}
@media(max-width:650px){.art-hmenu{min-width:max-content!important;}.art-hmenu li a{padding:8px 9px!important;font-size:.84rem!important;}}

/* Valikon tekstin pystykeskitys aktiivisen linkin laatikkoon */
.art-hmenu li a,
.art-hmenu li a:link,
.art-hmenu li a:visited,
.art-hmenu li a.active,
.art-hmenu li a:hover {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  line-height: 1.2 !important;
  min-height: 38px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  vertical-align: middle !important;
}
.art-hmenu li a .dashicons {
  line-height: 1 !important;
  vertical-align: middle !important;
}
