/* ═══════════ Webkon Frontend ═══════════ */
/* Theme CSS variables are inherited from :root */

.wk-loading {
    text-align: center;
    color: var(--text-color, #666);
    font-style: italic;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 320px;
    box-sizing: border-box;
}

.wk-loading::before {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--accent-color-1, #CF9F47);
    border-radius: 50%;
    animation: wk-fspin .6s linear infinite;
}

/* ── Min-height per shortcode section ── */
.wk-zapasy,
.wk-aktuality,
.wk-fotogalerie,
.wk-treningy,
.wk-nabor,
.wk-kemp {
    min-height: 320px;
}

.wk-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent-color-1, #CF9F47);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.wk-btn:hover {
    background: var(--accent-color-2, #b5883a);
}

/* ═══════════ [zapasy] ═══════════ */
.wk-zapasy {
    padding: 40px 20px;
}

.wk-zapasy-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.wk-zapasy-toggle-inner {
    display: inline-flex;
    background: rgba(31, 41, 55, 0.8);
    border-radius: 8px;
    padding: 4px;
    backdrop-filter: blur(4px);
}

.wk-zapasy-toggle-btn {
    padding: 8px 24px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.wk-zapasy-toggle-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.wk-zapasy-toggle-btn.active {
    background: var(--accent-color, #CF9F47);
    color: #fff;
    box-shadow: 0 2px 10px rgba(207, 159, 71, 0.45);
}

.wk-zapasy-card {
    max-width: 700px;
    margin: 0 auto;
    transition: opacity 0.25s ease;
    background: linear-gradient(135deg, #1F2937, #111827);
    border: 1px solid #374151;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    color: #fff;
}

.wk-zapasy-card.wk-fade-out {
    opacity: 0;
}

.wk-zapasy-header {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color-1, #CF9F47);
    margin-bottom: 8px;
}

.wk-zapasy-datetime {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #D1D5DB;
}

.wk-zapasy-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.wk-zapasy-team {
    flex: 1;
    text-align: center;
    max-width: 200px;
}

.wk-zapasy-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wk-zapasy-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.wk-zapasy-logo .wk-logo-fallback {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    opacity: .6;
}

.wk-zapasy-name {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 16px;
    font-weight: 600;
    color: #F9FAFB;
}

.wk-zapasy-vs {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-color-1, #CF9F47);
}

.wk-zapasy-location {
    margin-top: 20px;
    font-size: 14px;
    color: #9CA3AF;
}

/* ═══════════ [aktuality] ═══════════ */
.wk-aktuality {
    padding: 40px 20px;
}

.wk-aktuality-container {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wk-aktuality-viewport {
    flex: 1;
    overflow: hidden;
}

.wk-news-track {
    display: flex;
    gap: 24px;
    will-change: transform;
}

.wk-aktuality-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--accent-color-1, #CF9F47);
    background: transparent;
    color: var(--accent-color-1, #CF9F47);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.wk-aktuality-arrow:hover:not(.wk-arrow-disabled) {
    background: var(--accent-color-1, #CF9F47);
    color: #fff;
}

.wk-aktuality-arrow.wk-arrow-disabled {
    border-color: #D1D5DB;
    color: #D1D5DB;
    cursor: default;
    opacity: .5;
    pointer-events: none;
}

.wk-news-box {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--bg-color, #fff);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.wk-news-box:hover {
    transform: translateY(-4px);
}

.wk-news-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: #e5e7eb;
}

.wk-news-body {
    padding: 20px;
}

.wk-news-date {
    font-size: 12px;
    color: var(--accent-color-1, #CF9F47);
    font-weight: 600;
    margin-bottom: 6px;
}

.wk-news-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--heading-color-1, #000F2C);
    margin: 0 0 8px;
    line-height: 1.3;
}

.wk-news-excerpt {
    font-size: 14px;
    color: var(--text-color, #333);
    line-height: 1.5;
}

/* reCAPTCHA v3 — badge hidden per ToS; disclaimer shown below each form */
.grecaptcha-badge {
    visibility: hidden !important;
}

.wk-recaptcha-notice {
    font-size: 11px;
    color: var(--text-color, #6b7280);
    line-height: 1.4;
    margin-top: 14px;
    text-align: center;
    opacity: 0.75;
}

.wk-recaptcha-notice a {
    color: inherit;
    text-decoration: underline;
}

/* Mobile: full-width scroll-snap carousel with symmetric peek */
@media (max-width: 768px) {
    .wk-aktuality {
        padding: 40px 0;
        margin: 0;
    }
    .wk-aktuality-container {
        display: block;
        position: relative;
        gap: 0;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    .wk-aktuality-viewport {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .wk-aktuality-viewport::-webkit-scrollbar { display: none; }
    .wk-news-track {
        display: flex;
        gap: 12px;
        padding: 0 5vw;
        width: max-content;
    }
    .wk-news-box {
        flex: 0 0 90vw;
        scroll-snap-align: center;
    }
    .wk-aktuality-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }
    .wk-aktuality-prev { left: 8px; }
    .wk-aktuality-next { right: 8px; }
}

/* ═══════════ [fotogalerie] ═══════════ */
.wk-fotogalerie {
    padding: 40px 20px;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
}

.wk-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.wk-gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .2s, opacity .2s;
}

.wk-gallery-grid img:hover {
    transform: scale(1.03);
    opacity: .9;
}

.wk-gallery-more-wrap {
    text-align: center;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .wk-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════ [treningy] ═══════════ */
.wk-treningy {
    padding: 40px 20px;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
}

.wk-training-card {
    background: var(--bg-color-alt, #f8f8f8);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.wk-training-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    transition: background .15s;
}

.wk-training-header:hover {
    background: rgba(0,0,0,.02);
}

.wk-training-header h3 {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--heading-color-1, #000F2C);
    margin: 0;
}

.wk-training-next {
    font-size: 13px;
    color: var(--accent-color-1, #CF9F47);
    font-weight: 600;
    margin-left: auto;
    margin-right: 10px;
    text-align: right;
}

.wk-training-toggle {
    font-size: 20px;
    color: #9CA3AF;
    transition: transform .3s;
}

.wk-training-card.open .wk-training-toggle {
    transform: rotate(180deg);
}

.wk-training-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    opacity: 0;
    transition: max-height .4s ease, opacity .3s ease, padding .4s ease;
}

.wk-training-card.open .wk-training-body {
    max-height: 600px;
    opacity: 1;
    padding: 0 24px 20px;
}

.wk-schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.wk-schedule-table th {
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9CA3AF;
    padding: 8px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.wk-schedule-table td {
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-color, #333);
    border-bottom: 1px solid #f3f4f6;
}

/* ═══════════ [nabor_formulare] ═══════════ */
.wk-nabor {
    padding: 40px 20px;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
}

.wk-nabor-buttons {
    background: var(--bg-color-alt, #f8f8f8);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.wk-nabor-buttons-title {
    width: 100%;
    text-align: center;
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--heading-color-1, #000F2C);
    margin: 0 0 8px;
}

.wk-nabor-btn {
    padding: 12px 24px;
    background: var(--bg-color-alt, #f8f8f8);
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color-1, #000F2C);
    cursor: pointer;
    transition: all .2s;
}

.wk-nabor-btn:hover,
.wk-nabor-btn.active {
    border-color: var(--accent-color-1, #CF9F47);
    background: var(--accent-color-1, #CF9F47);
    color: #fff;
}

/* ── Nabor Detail Animation ── */
.wk-nabor-detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height .5s ease, opacity .4s ease, transform .4s ease;
}

.wk-nabor-detail.wk-nabor-detail-open {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
}

/* ── Form Detail Card ── */
.wk-form-card {
    background: var(--bg-color-alt, #f8f8f8);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
}

.wk-form-progress {
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.wk-form-progress-bar {
    height: 100%;
    background: var(--accent-color-1, #CF9F47);
    border-radius: 6px;
    transition: width .4s ease;
}

.wk-form-capacity {
    text-align: right;
    font-size: 13px;
    color: #6B7280;
    margin-top: -14px;
    margin-bottom: 16px;
}

.wk-form-desc {
    font-size: 14px;
    color: var(--text-color, #333);
    line-height: 1.6;
    white-space: pre-wrap;
    margin-bottom: 24px;
}

.wk-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wk-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--heading-color-1, #000F2C);
    margin-bottom: 6px;
}

.wk-form-field input[type="text"],
.wk-form-field input[type="email"],
.wk-form-field input[type="tel"],
.wk-form-field input[type="date"],
.wk-form-field input[type="file"],
.wk-form-field textarea,
.wk-form-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-body, 'Roboto', sans-serif);
    box-sizing: border-box;
    transition: border-color .15s;
}

.wk-form-field input:focus,
.wk-form-field textarea:focus,
.wk-form-field select:focus {
    outline: none;
    border-color: var(--accent-color-1, #CF9F47);
    box-shadow: 0 0 0 3px rgba(207,159,71,.15);
}

.wk-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.wk-form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--accent-color-1, #CF9F47);
}

.wk-form-radio label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    margin-bottom: 4px;
}

.wk-form-radio input[type="radio"] {
    accent-color: var(--accent-color-1, #CF9F47);
}

.wk-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.wk-form-price {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color-1, #000F2C);
}

.wk-form-price-period {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-color, #666);
    margin-left: 2px;
}

@media (max-width: 480px) {
    .wk-form-price-period {
        display: block;
        margin-left: 0;
        margin-top: 2px;
        font-size: 12px;
    }
}

.wk-form-submit {
    padding: 14px 36px;
}

.wk-form-success {
    text-align: center;
    padding: 40px;
    color: #10B981;
    font-size: 18px;
    font-weight: 600;
    animation: wk-fadeInUp 0.45s ease both;
}

@keyframes wk-fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wk-form-error {
    text-align: center;
    padding: 16px;
    color: #EF4444;
    font-size: 14px;
    background: #FEF2F2;
    border-radius: 8px;
    margin-top: 12px;
}

/* ═══════════ [kemp_formulare] ═══════════ */
.wk-kemp {
    padding: 40px 20px;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
}

.wk-kemp-trigger {
    text-align: center;
    padding: 10px 0 20px;
}

.wk-kemp-price-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--accent-color-1, #CF9F47);
    color: #fff;
    border-radius: 16px;
    padding: 40px 48px;
    gap: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.wk-kemp-price-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .03em;
    opacity: .9;
}
.wk-kemp-price-amount {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    margin: 4px 0;
}
.wk-kemp-price-sub {
    font-size: .95rem;
    opacity: .85;
    margin-bottom: 20px;
}
.wk-kemp-price-card .wk-btn {
    background: #fff;
    color: var(--accent-color-1, #CF9F47);
    font-weight: 700;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity .2s;
}
.wk-kemp-price-card .wk-btn:hover {
    opacity: .88;
}

.wk-kemp-detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height .5s ease, opacity .4s ease, transform .4s ease;
}

.wk-kemp-detail.wk-kemp-detail-open {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════ Training — signup button + row highlight ═══════════ */
.wk-training-signup-btn {
    display: inline-block;
    padding: 7px 16px;
    background: var(--accent-color-1, #CF9F47);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
    flex-shrink: 0;
}

.wk-training-signup-btn:hover {
    background: var(--accent-color-2, #b5883a);
    color: #fff;
    text-decoration: none;
}

.wk-signup-btn--disabled,
.wk-signup-btn--disabled:hover {
    background: #D1D5DB;
    color: #9CA3AF;
    cursor: default;
    pointer-events: none;
    text-decoration: none;
}

.wk-row-highlight td {
    background: rgba(207, 159, 71, 0.10);
    color: var(--accent-color-1, #CF9F47);
    font-weight: 700;
}

.wk-row-highlight td:first-child {
    border-left: 3px solid var(--accent-color-1, #CF9F47);
}

/* ═══════════ [kemp_program] ═══════════ */
.wk-kemp-program {
    max-width: 780px;
    margin: 0 auto;
}
.wk-kemp-program-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wk-program-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-color, #fff);
    border-radius: 5px;
    padding: 18px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.wk-program-time {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color-1, #CF9F47);
    white-space: nowrap;
    min-width: 110px;
}
.wk-program-name {
    font-weight: 700;
    font-size: 0.97rem;
    color: var(--heading-color-1, #000F2C);
    margin-bottom: 4px;
}
.wk-program-desc {
    font-size: 0.9rem;
    color: var(--text-color, #333);
    line-height: 1.5;
}
@media (max-width: 600px) {
    .wk-program-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .wk-program-time { min-width: unset; }
}

/* ═══════════ [liga] ═══════════ */
.wk-liga {
    padding: 40px 20px;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
}

.wk-liga-trigger {
    text-align: center;
    padding: 20px 0;
}

.wk-liga-detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height .5s ease, opacity .4s ease, transform .4s ease;
}

.wk-liga-detail.wk-liga-detail-open {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.wk-lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.wk-lb-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
}

.wk-lb-img {
    max-width: 85vw;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
}

.wk-lb-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s;
    z-index: 2;
    line-height: 1;
}

.wk-lb-close:hover { opacity: 1; }

.wk-lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.1);
    border: 2px solid rgba(255,255,255,.3);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
    z-index: 2;
}

.wk-lb-arrow:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.5);
}

.wk-lb-prev { left: 20px; }
.wk-lb-next { right: 20px; }

.wk-lb-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.6);
    font-size: 14px;
    font-family: var(--font-body, 'Roboto', sans-serif);
}

@media (max-width: 768px) {
    .wk-lb-arrow { width: 40px; height: 40px; font-size: 22px; }
    .wk-lb-prev { left: 8px; }
    .wk-lb-next { right: 8px; }
    .wk-lb-img { max-width: 95vw; }
}

/* ═══════════ Single News Page ═══════════ */
.wk-single-news {
    padding: 40px 20px 60px;
}

.wk-single-news-container {
    max-width: 800px;
    margin: 0 auto;
}

.wk-single-news-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-color-1, #CF9F47);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color .15s;
}

.wk-single-news-back:hover {
    color: var(--accent-color-2, #b5883a);
}

.wk-single-news-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color-1, #CF9F47);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.wk-single-news-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--heading-color-1, #000F2C);
    margin: 0 0 24px;
    line-height: 1.25;
}

.wk-single-news-hero {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
}

.wk-single-news-hero img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.wk-single-news-content {
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-color, #333);
    margin-bottom: 32px;
}

.wk-single-news-content p {
    margin-bottom: 16px;
}

.wk-single-news-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.wk-single-news-gallery img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .wk-single-news-title { font-size: 24px; }
    .wk-single-news-gallery { grid-template-columns: 1fr; }
}

/* ═══════════ Players Carousel ═══════════ */
.players-section {
    padding: 80px 0;
    background: var(--primary-color, #f8f8f8);
}

.wk-hraci {
    min-height: 400px;
    width: 100%;
}

.wk-hraci-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 16px;
}

.wk-hraci-toggle-inner {
    display: inline-flex;
    background: rgba(0, 15, 44, 0.75);
    border-radius: 8px;
    padding: 4px;
    backdrop-filter: blur(4px);
}

.wk-hraci-toggle-btn {
    padding: 10px 28px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.wk-hraci-toggle-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.wk-hraci-toggle-btn.active {
    background: var(--accent-color, #CF9F47);
    color: #fff;
    box-shadow: 0 2px 10px rgba(207, 159, 71, 0.45);
}

.wk-hraci-carousel {
    transition: opacity 0.3s ease;
}

.wk-hraci-carousel.wk-fade-out {
    opacity: 0;
}

.wk-hraci-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0 40px;
}

.wk-hraci-viewport {
    flex: 1;
    overflow: hidden;
}

.wk-carousel-track {
    display: flex;
    gap: 24px;
    will-change: transform;
    cursor: grab;
}

.wk-carousel-track:active {
    cursor: grabbing;
}

/* 4 cards visible: (100% - 3 gaps) / 4 */
.wk-player-card {
    flex: 0 0 calc(25% - 18px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wk-player-card:hover {
    transform: translateY(-6px);
}

.wk-player-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    background: var(--bg-color-alt, #eee);
}

.wk-player-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.wk-player-card:hover .wk-player-image {
    transform: scale(1.04);
}

.wk-player-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
    border-radius: 14px;
}

.wk-player-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    background: var(--accent-color-1, #CF9F47);
    color: #fff;
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 9px;
    border-radius: 6px;
    letter-spacing: 0.03em;
}

.wk-player-name {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--header-text, #FFFFFF);
    line-height: 1.3;
}

.players-section .section-heading {
    color: var(--header-text, #FFFFFF);
    text-align: center;
}

/* Carousel arrows */
.wk-carousel-arrow {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--accent-color-1, #CF9F47);
    background: transparent;
    color: var(--accent-color-1, #CF9F47);
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    padding: 0;
    align-self: center;
}

.wk-carousel-arrow:hover:not(:disabled) {
    background: var(--accent-color-1, #CF9F47);
    color: #fff;
    transform: scale(1.1);
}

.wk-carousel-arrow:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Responsive: 3 visible */
@media (max-width: 1024px) {
    .wk-player-card { flex: 0 0 calc(33.333% - 16px); }
}

/* Responsive: 2 visible */
@media (max-width: 680px) {
    .wk-player-card { flex: 0 0 calc(50% - 12px); }
    .wk-carousel-track { gap: 16px; }
    .wk-carousel-arrow { flex: 0 0 36px; width: 36px; height: 36px; font-size: 22px; }
}

/* Responsive: 1 visible */
@media (max-width: 400px) {
    .wk-player-card { flex: 0 0 100%; }
    .wk-carousel-track { gap: 12px; }
}

/* ═══════════ Spinner (frontend) ═══════════ */
.wk-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #D1D5DB;
    border-top-color: var(--accent-color-1, #CF9F47);
    border-radius: 50%;
    animation: wk-fspin .6s linear infinite;
    vertical-align: middle;
    margin-left: 8px;
}

@keyframes wk-fspin {
    to { transform: rotate(360deg); }
}

