/* ==========================================================================
   LAYOUT STRÁNKY VÝZKUM (studie.html)
   ========================================================================== */

/* Hlavní kontejner pro karty výzkumu */
.research-detail-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: block; /* Bezpečné pro WeasyPrint/starší prohlížeče, nepoužívat flex na body/wrapper */
}

/* Mezi kartami vytvoříme rozestupy pomocí marginu */
.research-detail-wrapper .interactive-card {
    margin-bottom: 2.5rem;
}

.research-detail-wrapper .interactive-card:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   STRUKTURA KARTY (Identická jako u nutrice/trenéra)
   ========================================================================== */

.interactive-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: table; /* Zajišťuje dvousloupcový layout bez flexboxu */
    width: 100%;
}

.interactive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Levý sloupec s textem */
.card-left {
    display: table-cell;
    vertical-align: top;
    padding-right: 3rem;
}

/* Pravý sloupec se statistikami */
.card-right-stats {
    display: table-cell;
    vertical-align: middle;
    width: 280px;
    background: rgba(0, 0, 0, 0.02);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.01);
}

/* ==========================================================================
   ELEMENTY UVNITŘ KARTY
   ========================================================================== */

/* Horní štítek kategorie */
.category-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #8b0000; /* Tvoje tmavě červená */
    margin-bottom: 0.75rem;
}

/* Hlavní titulek karty */
.card-left h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

/* Podtitulek (metodika/licence) */
.sub-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Hlavní odstavec textu */
.card-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
}

/* ==========================================================================
   INTERAKTIVNÍ SEZNAM (Odrážky s ikonami)
   ========================================================================== */

.interactive-list {
    display: block;
}

.list-item {
    display: table;
    width: 100%;
    background: rgba(0, 0, 0, 0.015);
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.01);
    margin-bottom: 1rem;
}

.list-item:last-child {
    margin-bottom: 0;
}

.item-icon {
    display: table-cell;
    vertical-align: top;
    width: 40px;
    font-size: 1.5rem;
}

.item-text {
    display: table-cell;
    vertical-align: top;
}

.item-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 0.25rem;
}

.item-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

/* ==========================================================================
   STATISTICKÉ BOXY (Pravá strana)
   ========================================================================== */

.stat-box {
    display: block;
    margin-bottom: 2rem;
}

.stat-box:last-child {
    margin-bottom: 0;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #8b0000;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
}

/* ==========================================================================
   RESPONZIVITA (Mobily a tablety)
   ========================================================================== */

@media (max-width: 992px) {
    .interactive-card,
    .card-left,
    .card-right-stats {
        display: block;
        width: 100%;
        padding-right: 0;
    }

    .card-right-stats {
        margin-top: 2rem;
    }
}
