

@media(max-width:640px){

    .ukf-wow-stats.ukf-site-activity-grid{
        grid-template-columns:1fr !important;
    }

}
.ukf-wow-hero{
    padding:5px 22px 60px;
    border-radius:28px;
    background:
        radial-gradient(circle at 15% 12%, rgba(151,71,255,.15), transparent 30%),
        radial-gradient(circle at 84% 8%, rgba(0,182,255,.12), transparent 30%),
        linear-gradient(180deg,#0c1124,#061845);
}
.ukf-wow-hero__inner{
    max-width:1100px;
    margin:0 auto;
    text-align:center;
}

.ukf-wow-hero__eyebrow{
    margin-bottom:24px;
    font-size:16px;
    font-weight:900;
    letter-spacing:.02em;
    color:#69a2ff;
}

.ukf-wow-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.ukf-wow-stat{
    min-height:94px;
    padding:18px;
    border-radius:18px;
    background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
    border:1px solid rgba(110,150,255,.22);
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    transition:.2s ease;
}

.ukf-wow-stat:hover{
    transform:translateY(-3px);
    border-color:rgba(150,190,255,.42);
    background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.03));
}

.ukf-wow-stat__number{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    font-size:30px;
    line-height:1.1;
    font-weight:900;
    color:#69b9ff;
    white-space:nowrap;
}

.ukf-wow-stat__label{
    margin-top:10px;
    font-size:14px;
    line-height:1.25;
    font-weight:800;
    color:#d5e4ff;
}

.ukf-trend{
    position:relative;
    top:-1px;
    font-size:18px;
    font-weight:900;
}

.ukf-trend--up{ color:#60ef9a; }
.ukf-trend--down{ color:#ff6b6b; }
.ukf-trend--flat{ color:#9aa8c8; }

.ukf-wow-stat--live .ukf-wow-stat__number{ gap:10px; }

.ukf-live-dot{
    width:10px;
    height:10px;
    border-radius:999px;
    background:#54ef9a;
    box-shadow:0 0 0 4px rgba(84,239,154,.12), 0 0 18px rgba(84,239,154,.45);
    display:inline-block;
    flex:0 0 auto;
}

.ukf-live-grid{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
}

.ukf-live-col{
    flex:1;
    text-align:center;
    padding:0 10px;
}

.ukf-live-col:first-child{
    border-right:1px solid rgba(255,255,255,.12);
}

.ukf-live-col .ukf-wow-stat__number{ justify-content:center; }
.ukf-live-col .ukf-wow-stat__label{ margin-top:8px; }


/* ==========================================================
   2.3.3 – KIRJAN 30 PV SITOUTUMINEN
   Kaksi erittäin kompaktia yhden rivin mittaria samassa
   kortissa. Erillinen perioditeksti poistettu, jotta kortti
   pysyy vakaana myös kapealla mobiilinäytöllä.
========================================================== */
.ukf-wow-stat--engagement{
    position:relative;
}
.ukf-book-engagement-grid{
    width:100%;
}
.ukf-book-engagement-grid .ukf-live-col{
    min-width:0;
    padding:0 10px;
}
.ukf-book-engagement-grid .ukf-wow-stat__number{
    font-size:27px;
    white-space:nowrap;
}
.ukf-book-engagement-label{
    white-space:nowrap;
}
.ukf-stat-unit{
    font-size:.55em;
    font-weight:800;
}

.ukf-wow-top{
    margin-top:34px;
}

.ukf-wow-top__title{
    text-align:center;
    margin-bottom:20px;
    color:#ffffff;
    font-weight:900;
    font-size:28px;
    line-height:1.2;
}
.ukf-wow-top__item{
    display:block;
    padding:12px 14px;
    border-radius:12px;
    background:rgba(255,255,255,.05);
    margin-bottom:8px;
    color:#fff;
    text-decoration:none;
    font-weight:800;
    text-align:left;
}

.ukf-wow-top__item:hover{
    background:rgba(255,255,255,.08);
    color:#fff;
}

.ukf-top-row{
    display:block;
    min-width:0;
}

.ukf-top-row--secondary{
    margin-top:6px;
    padding-top:6px;
    border-top:1px solid rgba(255,255,255,.08);
}

.ukf-top-label{
    display:block;
    margin-bottom:3px;
    font-size:11px;
    line-height:1.1;
    font-weight:900;
    letter-spacing:.02em;
    text-transform:uppercase;
    color:#73a9ff;
}

.ukf-top-row--secondary .ukf-top-label{
    color:#8fa8dd;
}

.ukf-top-main{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    min-width:0;
    color:inherit;
    text-decoration:none;
}

.ukf-top-main:hover{
    color:inherit;
    text-decoration:none;
}

.ukf-top-title-text{
    display:block;
    min-width:0;
    text-align:left;
    line-height:1.25;
}

.ukf-top-views{
    flex:0 0 auto;
    padding-left:10px;
    white-space:nowrap;
    text-align:right;
}

.ukf-top-row--primary .ukf-top-title-text,
.ukf-top-row--primary .ukf-top-views{
    font-size:16px;
    font-weight:900;
    color:#fff;
}

.ukf-top-row--secondary .ukf-top-title-text,
.ukf-top-row--secondary .ukf-top-views{
    font-size:13px;
    font-weight:800;
    color:#b7c9ff;
}

@media(max-width:1024px){
    .ukf-wow-stats{ grid-template-columns:repeat(3,1fr); }
    .ukf-wow-stat__number{ font-size:28px; }
}

@media(max-width:640px){
    .ukf-wow-hero{
        padding:1px 16px;
        border-radius:22px;
    }

    .ukf-wow-top__title{
        font-size:22px;
    }

    .ukf-wow-stats{
        grid-template-columns:repeat(2,1fr);
        gap:14px;
    }

    .ukf-wow-stat{
        min-height:88px;
        padding:15px 10px;
    }

    .ukf-wow-stat__number{ font-size:25px; }
    .ukf-wow-stat__label{ font-size:13px; }
    .ukf-trend{ font-size:15px; }

    .ukf-wow-top__item{
        padding:11px 12px;
    }

    .ukf-top-label{
        font-size:10px;
    }

    .ukf-top-row--primary .ukf-top-title-text,
    .ukf-top-row--primary .ukf-top-views{
        font-size:15px;
    }

    .ukf-top-row--secondary .ukf-top-title-text,
    .ukf-top-row--secondary .ukf-top-views{
        font-size:12px;
    }
}


.ukf-stats-toggle-wrap{
    text-align:center;
    margin:22px 0 0;
}

.ukf-toggle-stats{
    padding:12px 24px;
    border-radius:999px;
    border:1px solid rgba(110,150,255,.25);
    background:rgba(255,255,255,.05);
    color:#73a9ff;
    font-size:15px;
    font-weight:900;
    cursor:pointer;
    transition:.2s ease;
}

.ukf-toggle-stats:hover{
    background:rgba(255,255,255,.08);
    border-color:rgba(150,190,255,.45);
}

.ukf-stats-panel{
    margin-top:30px;
}



/* v2.5.1: original separate statistics hero, no first-hero layout reuse. */
.ukf-wow-hero{padding-top:22px;padding-bottom:35px;color:#fff}
.ukf-wow-hero [hidden]{display:none!important}
.ukf-wow-hero .ukf-stats-panel{margin-top:18px}
.ukf-wow-hero .ukf-top-main{color:inherit}
.ukf-wow-hero .ukf-top-row{padding-bottom:2px}
.ukf-wow-hero .ukf-top-views{font-size:12px;opacity:.76}
.ukf-wow-hero .ukf-wow-top--featured{margin-top:8px}
.ukf-wow-hero .ukf-wow-top__title{font-size:21px;margin-bottom:12px}
.ukf-wow-hero .ukf-wow-stat__number{white-space:normal}
.ukf-wow-hero .ukf-wow-stat__label{font-size:12px}
.ukf-wow-hero .ukf-wow-stat__period{margin-top:4px;font-size:11px;color:#a7badc}
.ukf-wow-hero .ukf-top-empty{opacity:.75;font-size:13px;padding:12px 0}
.ukf-wow-hero .ukf-stats-panel__group{margin-top:24px}
.ukf-wow-hero .ukf-toggle-stats:focus-visible,.ukf-wow-hero a:focus-visible{outline:2px solid #74d2ff;outline-offset:3px}
@media(max-width:640px){.ukf-wow-hero{padding:18px 14px 25px}.ukf-wow-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ukf-wow-stat{min-height:85px}.ukf-wow-top__title{font-size:19px}.ukf-wow-hero .ukf-wow-stat__number{font-size:23px}.ukf-wow-hero .ukf-top-main{flex-wrap:wrap;gap:3px}.ukf-wow-hero .ukf-top-views{padding-left:0}}
@media(max-width:380px){.ukf-wow-stats{grid-template-columns:1fr 1fr;gap:8px}.ukf-wow-stat{padding:12px 7px}.ukf-wow-hero .ukf-wow-stat__number{font-size:21px}}
