/* Bonus card vizual - znovupouzite premenne / triedy zo styles.css */
.bonus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(0, 130, 0, 0.12);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 130, 0, 0.06);
    overflow: hidden;
    height: 100%;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.bonus-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 130, 0, 0.12);
}
.bonus-card-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ffb400, #ff8a00);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.25);
    z-index: 2;
}
.bonus-card-image {
    background: #f5f8f7;
    text-align: center;
    padding: 8px;
}
.bonus-card-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
.bonus-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 18px;
    flex-grow: 1;
}
/* Full-width row layout: image left, body right (desktop).
   Image-side ma fixnu SIROKU (320px) vsade rovnako, vyska sa
   prisposobi pomeru obrazka. */
.bonus-card-row {
    flex-direction: row;
}
.bonus-card-row .bonus-card-image-side {
    flex: 0 0 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.bonus-card-row .bonus-card-image-side img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.bonus-card-row .bonus-card-body {
    padding: 18px 22px 18px 8px;
}
@media (max-width: 767.98px) {
    .bonus-card-row {
        flex-direction: column;
    }
    .bonus-card-row .bonus-card-image-side {
        flex: 0 0 auto;
        padding: 8px;
    }
    .bonus-card-row .bonus-card-image-side img {
        max-height: 220px;
        width: auto;
    }
    .bonus-card-row .bonus-card-body {
        padding: 14px 16px 18px;
    }
}
.bonus-card-title {
    margin: 0;
    font-size: 1.28rem;
    line-height: 1.22;
    font-weight: 800;
}
.bonus-card-title a {
    color: #111827;
    text-decoration: none;
    font-weight: inherit;
}
.bonus-card-title a:hover {
    color: #008200;
    text-decoration: underline;
}
@media (max-width: 767.98px) {
    .bonus-card-title {
        font-size: 1.15rem;
        line-height: 1.25;
    }
}
.bonus-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.bonus-card-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eef5ff;
    color: #0053a3;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
}
.bonus-card-chip-casino {
    background: #e6f5ea;
    color: #0e6b21;
}
.bonus-card-chip-vertical {
    background: #fff3e0;
    color: #b25a00;
}
.bonus-card-amount {
    margin: 0;
    color: #008200;
    font-size: 1rem;
}
.bonus-card-desc {
    margin: 0;
    color: #444;
    font-size: 0.92rem;
    line-height: 1.45;
    flex-grow: 1;
}
.bonus-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}
/* Primary CTA - zelene zaoblene tlacidlo (vzor: clanky.php .article-read-btn, ale zelene) */
.bonus-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border: 1px solid rgba(0, 130, 0, 0.18);
    border-radius: 999px;
    background: #008200;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 130, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.bonus-card-cta:hover {
    background: #006a00;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 130, 0, 0.24);
    text-decoration: none;
}
.bonus-card-cta:focus-visible {
    outline: 3px solid rgba(0, 130, 0, 0.28);
    outline-offset: 2px;
}
/* Secondary - modre zaoblene tlacidlo (1:1 ako clanky.php .article-read-btn) */
.bonus-card-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border: 1px solid rgba(0, 104, 203, 0.18);
    border-radius: 999px;
    background: #eef5ff;
    color: #0053a3;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 104, 203, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.bonus-card-review-btn:hover {
    background: #e2efff;
    color: #0068cb;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 104, 203, 0.12);
    text-decoration: none;
}
.bonus-card-review-btn:focus-visible {
    outline: 3px solid rgba(0, 104, 203, 0.24);
    outline-offset: 2px;
}
.bonus-card-verified {
    margin: 0;
    color: #6c757d;
    font-size: 0.82rem;
}
.bonus-grid-empty {
    margin: 24px 0;
}
.bonus-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 18px 0 14px;
}
.bonus-affiliate-note {
    display: block;
    margin: 0 0 22px;
    padding: 12px 16px;
    background: #fff8ea;
    border: 1px solid #f5d889;
    border-left: 4px solid #d39c00;
    border-radius: 8px;
    color: #4a3a00;
    font-size: 0.92rem;
    line-height: 1.5;
}
.bonus-affiliate-note strong {
    color: #2a2400;
}
.bonus-affiliate-note a {
    color: #876300;
    text-decoration: underline;
}
/* Footer variant - vacsi nadpis, viac priestoru */
.bonus-affiliate-note-footer {
    margin: 36px 0 24px;
    padding: 22px 26px;
}
.bonus-affiliate-note-title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    color: #2a2400;
}
.bonus-affiliate-note-footer p {
    margin: 0 0 10px;
}
.bonus-affiliate-note-footer p:last-child {
    margin-bottom: 0;
}
/* Metodika - blok pod gridom */
.bonus-methodology {
    background: #f5f9ff;
    border: 1px solid rgba(0, 104, 203, 0.18);
    border-radius: 14px;
    padding: 22px 26px;
    margin: 32px 0 28px;
}
.bonus-methodology h2 {
    margin-top: 0;
}
.bonus-methodology ol,
.bonus-methodology ul {
    padding-left: 22px;
}
.bonus-methodology li {
    margin-bottom: 8px;
}
.bonus-methodology p:last-child {
    margin-bottom: 0;
}
/* Wrapper musi byt 100% sirky riadku (rodic .row je flex container,
   bez explicit width by sa col-12 pri kratkom obsahu scvrkol). */
.bonus-card-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

/* Pagination - znovupouzite slotPagination triedy */
.slotPagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 28px 0 12px;
}
.slotPagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(0, 104, 203, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: #0053a3;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.slotPagination-link:hover {
    background: #eef5ff;
    color: #0068cb;
    text-decoration: none;
}
.slotPagination-active {
    background: #0068cb;
    border-color: #0068cb;
    color: #ffffff;
}
.slotPagination-ellipsis {
    display: inline-flex;
    align-items: center;
    padding: 0 6px;
    color: #6c757d;
}

/* Top bonus banner heading */
.top-bonus-heading {
    margin: 18px 0 12px;
}
.top-bonus-heading .heading-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.top-bonus-heading .heading-icon {
    font-size: 1.5rem;
}
.top-bonus-heading .heading-title {
    margin: 0;
}
.top-bonus-heading .heading-month-badge {
    display: inline-flex;
    align-items: center;
    background: #fff3e0;
    color: #b25a00;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}
.top-bonus-heading .heading-subtitle {
    margin: 6px 0 0;
    color: #555;
}

.bonus-results-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 6px;
}
.bonus-results-meta .results-count {
    font-weight: 600;
    color: #1a1a1a;
}
.bonus-results-meta .results-sort-hint {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Multi-select - velkost dropdownov v slotFilterGrid */
.slotFilterGrid .slotFilterField {
    min-width: 0;
}

/* Visible breadcrumb (sparovany s BreadcrumbList JSON-LD) */
.bonus-breadcrumb {
    margin: 8px 0 4px;
    font-size: 0.92rem;
    color: #6c757d;
}
.bonus-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bonus-breadcrumb li + li::before {
    content: "›";
    margin-right: 6px;
    color: #adb5bd;
}
.bonus-breadcrumb a {
    color: #0053a3;
    text-decoration: none;
}
.bonus-breadcrumb a:hover {
    text-decoration: underline;
}
.bonus-breadcrumb [aria-current="page"] {
    color: #1a1a1a;
    font-weight: 600;
}

/* Newsletter spacer (nahradil <br> medzi sekciami) */
.bonus-section-spacer {
    height: 24px;
}

/* ============================================================
   parts/bonusTypePage.php - sdilene sekce pro /online-bonusy/*
   ============================================================ */

/* TL;DR rámeček */
.bonus-tldr {
    margin: 18px 0 22px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f3faf3 0%, #eaf6ff 100%);
    border: 1px solid rgba(0, 130, 0, 0.18);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 130, 0, 0.06);
}
.bonus-tldr-title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    color: #0a4d0a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.bonus-tldr-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.bonus-tldr-list li {
    padding: 6px 0;
    border-top: 1px dashed rgba(0, 130, 0, 0.18);
    line-height: 1.5;
}
.bonus-tldr-list li:first-child {
    border-top: 0;
    padding-top: 0;
}
.bonus-tldr-list strong {
    color: #0a4d0a;
}

/* Porovnávací tabulka */
.bonus-comparison-table-wrap {
    margin: 14px 0 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.bonus-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 130, 0, 0.06);
}
.bonus-comparison-table thead th {
    background: #008200;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.bonus-comparison-table thead th:last-child {
    border-right: 0;
}
.bonus-comparison-table tbody td {
    padding: 10px 12px;
    border-top: 1px solid rgba(0, 130, 0, 0.1);
    vertical-align: middle;
}
.bonus-comparison-table tbody tr:nth-child(even) {
    background: #f8fbf8;
}
.bonus-comparison-table tbody tr:hover {
    background: #eef6ee;
}
.bonus-comparison-cta {
    display: inline-block;
    padding: 6px 14px;
    background: #ff6b00;
    color: #fff !important;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.88rem;
    transition: background 0.15s ease;
}
.bonus-comparison-cta:hover {
    background: #d95800;
    text-decoration: none;
}
.bonus-comparison-cta.bonus-comparison-cta-internal {
    background: transparent;
    color: #0053a3 !important;
    border: 1px solid #0053a3;
    padding: 5px 13px;
    font-weight: 500;
}
.bonus-comparison-cta.bonus-comparison-cta-internal:hover {
    background: #0053a3;
    color: #fff !important;
}
.bonus-comparison-note {
    margin: 6px 0 18px;
    color: #6c757d;
    font-style: italic;
}
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobilní verze tabulky - stackované řádky */
@media (max-width: 720px) {
    .bonus-comparison-table thead {
        display: none;
    }
    .bonus-comparison-table,
    .bonus-comparison-table tbody,
    .bonus-comparison-table tr,
    .bonus-comparison-table td {
        display: block;
        width: 100%;
    }
    .bonus-comparison-table tr {
        margin-bottom: 14px;
        border: 1px solid rgba(0, 130, 0, 0.15);
        border-radius: 10px;
        background: #fff;
    }
    .bonus-comparison-table tbody tr:nth-child(even) {
        background: #fff;
    }
    .bonus-comparison-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 14px;
        border-top: 1px solid rgba(0, 130, 0, 0.08);
        text-align: right;
    }
    .bonus-comparison-table td:first-child {
        background: #f3faf3;
        border-top: 0;
        border-radius: 10px 10px 0 0;
        font-size: 1.05rem;
    }
    .bonus-comparison-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #0a4d0a;
        text-align: left;
        margin-right: 12px;
    }
    .bonus-comparison-table td:first-child::before {
        content: none;
    }
}

/* "Kdy se vyplatí / kdy ne" decision grid */
.bonus-decision-section {
    margin: 28px 0;
}
.bonus-decision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 12px;
}
.bonus-decision-col {
    padding: 18px 20px;
    border-radius: 12px;
    background: #fff;
}
.bonus-decision-worth {
    background: #f0fbf0;
    border: 1px solid rgba(0, 130, 0, 0.22);
}
.bonus-decision-not-worth {
    background: #fff5f3;
    border: 1px solid rgba(220, 50, 30, 0.22);
}
.bonus-decision-col h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.15rem;
}
.bonus-decision-worth h3 {
    color: #0a4d0a;
}
.bonus-decision-not-worth h3 {
    color: #a82c14;
}
.bonus-decision-col ul {
    margin: 0;
    padding-left: 22px;
}
.bonus-decision-col li {
    margin-bottom: 6px;
    line-height: 1.5;
}
@media (max-width: 720px) {
    .bonus-decision-grid {
        grid-template-columns: 1fr;
    }
}

/* Krok-za-krokem (jak-aktivovat) */
.bonus-howto-section {
    margin: 28px 0;
}
.bonus-howto-steps {
    counter-reset: bonus-step;
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}
.bonus-howto-steps li {
    position: relative;
    padding: 12px 16px 12px 56px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid rgba(0, 130, 0, 0.12);
    border-radius: 12px;
    line-height: 1.5;
    counter-increment: bonus-step;
}
.bonus-howto-steps li::before {
    content: counter(bonus-step);
    position: absolute;
    top: 12px;
    left: 14px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #008200;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Nástrahy / common pitfalls */
.bonus-pitfalls-section {
    margin: 28px 0;
}
.bonus-pitfalls-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}
.bonus-pitfalls-list li {
    position: relative;
    padding: 12px 16px 12px 50px;
    margin-bottom: 10px;
    background: #fffaf3;
    border: 1px solid rgba(255, 152, 0, 0.32);
    border-radius: 12px;
    line-height: 1.5;
}
.bonus-pitfalls-list li::before {
    content: "⚠";
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 1.25rem;
    color: #d97706;
}

/* Wagering example (matematicky priklad) */
.bonus-wagering-section {
    margin: 28px 0;
    padding: 18px 22px;
    background: #f7f9fc;
    border-left: 4px solid #0068cb;
    border-radius: 0 12px 12px 0;
}
.bonus-wagering-section .wagering-formula {
    display: block;
    margin: 10px 0;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid rgba(0, 104, 203, 0.2);
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.95rem;
}

/* Souvisejici bonusy (related cards) */
.bonus-related-section {
    margin: 28px 0;
}
.bonus-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.bonus-related-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(0, 130, 0, 0.15);
    border-radius: 12px;
    color: #1a1a1a;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.bonus-related-card:hover {
    border-color: #008200;
    box-shadow: 0 6px 18px rgba(0, 130, 0, 0.12);
    text-decoration: none;
    transform: translateY(-1px);
}
.bonus-related-card strong {
    color: #0053a3;
    font-size: 1rem;
}
.bonus-related-card span {
    color: #6c757d;
    font-size: 0.88rem;
    line-height: 1.4;
}

/* Závěrečný summary box */
.bonus-summary-box {
    margin: 28px 0 12px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #fff 0%, #f3faf3 100%);
    border: 1px solid rgba(0, 130, 0, 0.18);
    border-radius: 14px;
}
.bonus-summary-box h2,
.bonus-summary-box h3 {
    margin-top: 0;
}

/* Wrapper pro obsahové sekce - jednotne spacing */
.bonus-content-section {
    margin: 28px 0;
}
.bonus-content-section h2.center,
.bonus-content-section h3.center {
    margin-bottom: 12px;
}
