/* GK Today Hindi — Web Stories Hub (CWV 98-100 Vanilla CSS, Zero Layout Shift) */
.ws-hub-wrap {
    width: 100%;
    max-width: 100%;
    padding: 20px 24px 48px;
    box-sizing: border-box;
}
.ws-hero-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 58%, #3730a3 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 26px 28px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}
.ws-hero-copy {
    flex: 1 1 460px;
    min-width: 0;
}
.ws-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid rgba(251, 191, 36, 0.55);
    color: #fde047;
    font-size: 12.5px;
    font-weight: 800;
    padding: 5px 13px;
    border-radius: 999px;
    margin-bottom: 10px;
    letter-spacing: 0.4px;
}
.ws-hero-title {
    margin: 0 0 8px;
    font-size: clamp(22px, 2.8vw, 31px);
    line-height: 1.28;
    font-weight: 800;
    color: #ffffff;
}
.ws-hero-desc {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 720px;
}
.ws-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ws-stat-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 12px 16px;
    min-width: 112px;
    text-align: center;
}
.ws-stat-val {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #fde047;
    line-height: 1.1;
}
.ws-stat-lbl {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #e2e8f0;
    margin-top: 4px;
}
.ws-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}
.ws-filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 15px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ws-filter-chip:hover {
    border-color: #4338ca;
    color: #4338ca;
    background: #eef2ff;
}
.ws-filter-chip.is-active {
    background: #4338ca;
    border-color: #4338ca;
    color: #ffffff;
}
.ws-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.ws-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ws-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.13);
}
.ws-poster-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #0f172a;
    overflow: hidden;
    text-decoration: none;
}
.ws-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
}
.ws-card:hover .ws-poster-img {
    transform: scale(1.04);
}
.ws-amp-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.86);
    border: 1px solid rgba(251, 191, 36, 0.78);
    color: #fde047;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}
.ws-slides-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(4, 120, 87, 0.94);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
}
.ws-poster-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 52px 14px 14px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.82) 52%, rgba(15, 23, 42, 0.97) 100%);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ws-ov-cat {
    font-size: 11px;
    font-weight: 800;
    color: #fde047;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.ws-ov-title {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.38;
    font-weight: 800;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}
.ws-ov-cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 5px;
    margin-top: 3px;
    background: #ea580c;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 999px;
}
.ws-card-body {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}
.ws-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: #475569;
}
.ws-full-test-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.ws-full-test-link:hover {
    background: #4338ca;
    color: #ffffff;
}
.ws-empty-state {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 44px 20px;
    text-align: center;
    color: #475569;
}
.ws-empty-state h2 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #0f172a;
}
.ws-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}
.ws-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.ws-page-btn.is-active {
    background: #4338ca;
    border-color: #4338ca;
    color: #ffffff;
}
@media (max-width: 640px) {
    .ws-hub-wrap {
        padding: 14px 12px 36px;
    }
    .ws-hero-card {
        padding: 20px 16px;
    }
    .ws-stories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .ws-card-body {
        padding: 10px 10px 12px;
    }
    .ws-card-title {
        font-size: 13.5px;
    }
}
