/* SEObot – případové studie (seo-casestudy) */

*,
*::before,
*::after {
    box-sizing: border-box
}

.cs2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #1e293b;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.65;
    background: #fff
}

.cs2-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #fff;
    padding: 48px 40px 40px;
    border-radius: 16px 16px 0 0
}

.cs2-hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 16px
}

.cs2-hero h1 {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px;
    color: #fff
}

.cs2-hero-web {
    margin: 14px 0 0;
    font-size: 14px;
    color: #94a3b8
}

.cs2-hero-web a {
    color: #6ee7b7;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(110, 231, 183, .35)
}

.cs2-hero-web a:hover {
    border-color: #6ee7b7
}

.cs2-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top: none
}

.cs2-stat {
    padding: 24px 20px;
    border-right: 1px solid #e2e8f0;
    text-align: center
}

.cs2-stat:last-child {
    border-right: none
}

.cs2-stat-value {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    color: #16a34a;
    line-height: 1;
    margin: 0 0 6px;
    letter-spacing: -.02em
}

.cs2-stat:first-child .cs2-stat-value {
    font-size: clamp(22px, 3vw, 28px);
    color: #1e3a5f;
    letter-spacing: -.01em
}

.cs2-stat:first-child .cs2-stat-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .07em;
    color: #94a3b8
}

.cs2-stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.3
}

.cs2-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 20px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-top: none;
    font-size: 13px;
    color: #64748b
}

.cs2-meta-sep {
    color: #cbd5e1
}

.cs2-body {
    padding: 36px 40px 40px;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 16px 16px
}

.cs2-body h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 32px 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9
}

.cs2-body h2:first-child {
    margin-top: 0
}

.cs2-body p {
    margin: 0 0 14px;
    color: #334155
}

.cs2-body strong {
    color: #0f172a
}

.cs2-body ul,
.cs2-body ol {
    margin: 0 0 14px;
    padding-left: 22px;
    color: #334155
}

.cs2-body li {
    margin-bottom: 6px
}

.cs2-lead {
    font-size: 17px;
    color: #334155;
    margin: 0 0 22px;
    line-height: 1.7
}

.cs2-kw-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 24px;
    font-size: 14px
}

.cs2-kw-table th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 8px 12px;
    text-align: left;
    border-bottom: 2px solid #e2e8f0
}

.cs2-kw-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle
}

.cs2-kw-table tr:last-child td {
    border-bottom: none
}

.cs2-kw-table tr:hover td {
    background: #f8fafc
}

.cs2-kw-kw {
    font-weight: 600;
    color: #0f172a
}

.cs2-kw-pct {
    font-weight: 800;
    color: #16a34a;
    font-size: 15px
}

.cs2-kw-clicks {
    color: #334155
}

.cs2-kw-pos {
    color: #64748b;
    font-size: 13px
}

.cs-quote,
.cs2-quote {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 24px 0;
    color: #14532d;
    font-style: italic;
    font-size: 15px;
    line-height: 1.55
}

.cs-quote cite,
.cs2-quote cite,
.cs-quote-text p {
    margin: 0
}

.cs-quote cite {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em
}

.cs-callout,
.cs2-callout {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
    color: #1e40af;
    font-size: 14px
}

.cs-callout p,
.cs2-callout p {
    margin: 0
}

.cs2-chart-wrap {
    margin: 28px 0 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px
}

.cs2-chart-title {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 14px
}

.cs2-bar-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: center;
    margin: 8px 0
}

.cs2-bar-label {
    font-size: 13px;
    font-weight: 700;
    color: #475569
}

.cs2-bar-pair {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.cs2-bar-track {
    height: 24px;
    background: #e2e8f0;
    border-radius: 6px;
    position: relative;
    overflow: hidden
}

.cs2-bar-fill-prev {
    height: 100%;
    background: #cbd5e1;
    border-radius: 6px
}

.cs2-bar-fill-curr {
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #4ade80);
    border-radius: 6px
}

.cs2-bar-val {
    position: absolute;
    left: 8px;
    top: 5px;
    font-size: 11px;
    color: #fff;
    font-weight: 700
}

.cs2-bar-legend {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 12px;
    color: #64748b
}

.cs2-bar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px
}

.cs2-bar-legend span::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px
}

.cs2-leg-prev::before {
    background: #cbd5e1
}

.cs2-leg-curr::before {
    background: #16a34a
}

.cs2-footer {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
    color: #94a3b8
}

@media(max-width:600px) {
    .cs2-stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .cs2-stat:nth-child(2) {
        border-right: none
    }

    .cs2-stat:nth-child(3) {
        border-top: 1px solid #e2e8f0
    }

    .cs2-stat:nth-child(4) {
        border-top: 1px solid #e2e8f0;
        border-right: none
    }

    .cs2-hero {
        padding: 28px 20px 24px
    }

    .cs2-body {
        padding: 20px 20px 24px
    }

    .cs2-bar-row {
        grid-template-columns: 80px 1fr
    }
}