/*
 Theme Name:   Hello Child
 Theme URI:    https://blekitni-orneta.pl
 Description:  Child theme dla Hello Elementor - Błękitni Orneta
 Author:       Błękitni Orneta
 Author URI:   https://blekitni-orneta.pl
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  hello-child
*/

/* =========================================
   BŁĘKITNI ORNETA - GŁÓWNY STYL
   Wersja: 1.0.0
   ========================================= */

/* ============================================
   GŁÓWNA PEŁNA TABELA
   ============================================ */

.blekitni-table-widget {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin: 24px 0;
    font-family: "Bebas Neue", sans-serif;
}

.blekitni-table-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.blekitni-table-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
}

.blekitni-table-wrap {
    overflow-x: auto;
}

.blekitni-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.blekitni-table thead th {
    background: #3b82f6;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    padding: 16px 12px;
    text-align: center;
    border: none;
}

.blekitni-table tbody td {
    padding: 16px 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    vertical-align: middle;
    border: none;
}

/* Naprzemienne szaro-białe wiersze */
.blekitni-table tbody tr:nth-child(even) td {
    background: #fff;
}

.blekitni-table tbody tr:nth-child(odd) td {
    background: #f9f9f9;
}

/* Linia po lewej dla awansu/spadku */
.blekitni-table tbody tr.is-promotion td:first-child {
    border-left: 6px solid #22c55e;
}

.blekitni-table tbody tr.is-demotion td:first-child {
    border-left: 6px solid #ef4444;
}

/* Kolumna drużyny */
.blekitni-table td.team {
    text-align: left;
}

.team-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.team-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

/* Punkty */
.blekitni-table td.points {
    font-weight: 900;
}

/* Podświetlenie Błękitnych */
.blekitni-table tbody tr.is-highlight td {
    background: #dbeafe !important;
}

/* Stopka */
.blekitni-table-footer {
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    font-size: 12px;
    color: #6b7280;
    text-align: right;
}

/* ============================================
   MINI TABELA NA SIDEBAR
   ============================================ */

.blekitni-mini-table-widget {
    background: #ffffff;
    border-radius: 0px;
    overflow: hidden;
    width: 100%;
    font-family: "Bebas Neue", sans-serif;
    border: none !important;
    box-shadow: none !important;
}

.blekitni-mini-table-header {
    padding: 14px 16px;
    background: #fff;
    color: #000;
}

.blekitni-mini-table-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    display: none;
}

.blekitni-mini-table {
    width: 100%;
    border-collapse: collapse;
}

.blekitni-mini-table thead th {
    background: #3b82f6;
    color: white;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #fff;
}

.blekitni-mini-table tbody td {
    padding: 12px 8px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.blekitni-mini-table tbody tr:nth-child(even) td {
    background: #fff;
}

.blekitni-mini-table tbody tr:nth-child(odd) td {
    background: #f9f9f9;
}

.blekitni-mini-table tbody tr.is-promotion td:first-child {
    border-left: 4px solid #22c55e;
}

.blekitni-mini-table tbody tr.is-demotion td:first-child {
    border-left: 4px solid #ef4444;
}

.blekitni-mini-table tbody tr.is-highlight td {
    background: #dbeafe !important;
}

.blekitni-mini-table td.mini-team {
    text-align: left;
}

.blekitni-mini-table td.mini-points {
    font-weight: 900;
}

.blekitni-mini-table th,
.blekitni-mini-table td {
    border: none !important;
}

/* Loga w mini tabelce */
.blekitni-mini-table .mini-logo {
    width: 36px;
    padding: 0;
}

.mini-team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    margin-top: 10px;
}

.blekitni-mini-table td:nth-child(3) {
    text-align: left;
    padding-left: 4px;
}

/* ============================================
   LISTA WYNIKÓW I TERMINARZA
   ============================================ */

.blekitni-list-widget {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
    margin: 24px 0;
    font-family: system-ui, sans-serif;
}

.blekitni-list-header {
    background: #3b82f6;
    color: white;
    padding: 14px 16px;
}

.blekitni-list-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: white;
}

.blekitni-list-row {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.blekitni-list-row:nth-child(even) {
    background: #f9fafb;
}

.blekitni-list-row:last-child {
    border-bottom: none;
}

.list-date {
    font-size: 13px;
    color: #6b7280;
    font-weight: 700;
    width: 80px;
    flex-shrink: 0;
}

.list-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    flex-grow: 1;
    align-items: center;
}

.list-teams .team-home {
    text-align: right;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

.list-teams .team-away {
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

.list-teams .winner {
    font-weight: 800 !important;
    color: #111827 !important;
}

.list-score {
    background: #111827;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    min-width: 60px;
}

.list-vs {
    background: #e5e7eb;
    color: #6b7280;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 13px;
    text-align: center;
    text-transform: uppercase;
}

/* ============================================
   ALERTY O ZMIANACH/ODWOŁANIACH MECZU
   ============================================ */

.banner-match-alert {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    margin-top: -10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    animation: pulseAlert 2s infinite;
}

.widget-match-alert {
    margin-top: 12px;
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
}

@keyframes pulseAlert {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ============================================
   ROZDZIELENIE KOLORÓW NAZW DRUŻYN
   ============================================ */

.blekitni-table .team-name {
    color: #111827 !important;
}

.blekitni-next-match-banner .team-name {
    color: #ffffff !important;
    font-family: "Bebas Neue", sans-serif;
}

/* ============================================
   LEGENDA TABELI GŁÓWNEJ
   ============================================ */

.blekitni-table-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 20px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}

.legend-color.promotion {
    background: #22c55e;
}

.legend-color.demotion {
    background: #ef4444;
}

.legend-color.highlight {
    background: #dbeafe;
    border: 1px solid #bfdbfe;
}

/* ============================================
   KARTA ZAWODNIKA
   ============================================ */

.player-card {
    position: relative;
    text-align: center;
    padding: 40px 20px;
    overflow: hidden;
}

.player-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 260px;
    font-weight: 900;
    color: rgba(0, 174, 239, 0.08);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
    font-family: "Bebas Neue", sans-serif;
}

.player-info {
    position: relative;
    z-index: 10;
}

.player-position {
    display: inline-block;
    padding: 6px 18px;
    background: transparent;
    border: 2px solid #00aeef;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 15px;
}

.player-name {
    font-size: 45px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Bebas Neue", sans-serif !important;
}

.player-button {
    display: inline-block;
    padding: 14px 35px;
    background: #00aeef;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.player-button:hover {
    background: #0077b6;
    color: #ffffff;
}

/* ============================================
   JET BANNER - ZAWODNICY
   ============================================ */

.jet-banner {
    position: relative;
    overflow: hidden;
}

.jet-banner__text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
    padding: 30px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0, 20, 40, 0.95) 0%, rgba(0, 20, 40, 0.7) 50%, transparent 100%);
    color: #ffffff;
    font-size: 14px;
    text-align: center;
}

.jet-banner:hover .jet-banner__text {
    opacity: 1;
    transform: translateY(0);
}

.jet-banner__text .player-position,
.jet-banner__text span:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 18px;
    background: #00192670;
    border: 2px solid #00aeef;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00aeef;
    margin: 0 auto 12px auto;
    width: fit-content;
}

.jet-banner__title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.jet-banner__button {
    display: inline-block;
    padding: 12px 30px;
    background: #00aeef;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.jet-banner__button:hover {
    background: #0077b6;
    color: #ffffff;
}

.jet-smart-listing__featured-content {
    background: #003E72;
    padding: 18px 10px;
}

/* ============================================
   PLAYERS CAROUSEL (SWIPER)
   ============================================ */

.players-carousel {
    overflow: visible !important;
    padding: 80px 0;
}

.players-carousel .swiper-slide {
    opacity: 0.4;
    transform: scale(0.6);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.players-carousel .swiper-slide-prev,
.players-carousel .swiper-slide-next {
    opacity: 0.7;
    transform: scale(0.8);
    z-index: 2;
}

.players-carousel .swiper-slide-active {
    opacity: 1;
    transform: scale(1.2);
    z-index: 10;
}

.players-carousel .player-image {
    transition: all 0.6s ease;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.players-carousel .swiper-slide-active .player-image {
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

/* ============================================
   NUMER KOSZULKI PROFIL
   ============================================ */

.atleticos-panel-number-profil {
    font-size: clamp(100px, 12vw, 100px);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 8px;
    font-family: 'Montserrat', 'Oswald', 'Arial Black', sans-serif;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #00baff 0%, rgb(21 30 45) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   SLIDER TEXTS
   ============================================ */

#SR7_1_1-1-12 > span.slider_text_white {
    background: #fff;
    display: inline-block;
    padding: 0 10px 0 4px;
    color: #00baff;
}

#SR7_1_1-1-12 > span.slider_text_blue {
    background: #00baff;
    display: inline-block;
    padding: 0 10px 0 4px;
}

/* ============================================
   BUTTON HOVER
   ============================================ */

[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus,
button:hover {
    background-color: #09c7f5 !important;
}

/* ============================================
   ELEMENTOR KIT LINKS
   ============================================ */

.elementor-kit-659 a {
    font-family: "Bebas Neue", Sans-serif;
    font-weight: 400;
}

/* ============================================
   BLEKITNI ERROR
   ============================================ */

.blekitni-error {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #856404;
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

/* ============================================
   RESPONSYWNOŚĆ
   ============================================ */

@media (max-width: 767px) {
    .team-name {
        font-size: 16px;
    }

    .blekitni-table tbody td {
        font-size: 15px;
        padding: 12px 8px;
    }

    .blekitni-list-row {
        flex-direction: column;
        gap: 12px;
    }

    .list-date {
        width: 100%;
        text-align: center;
        border-bottom: 1px dashed #e5e7eb;
        padding-bottom: 8px;
    }

    .list-teams {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 8px;
        width: 100%;
    }

    .list-teams .team-home,
    .list-teams .team-away {
        text-align: center;
    }

    .list-score,
    .list-vs {
        margin: 0 auto;
        width: max-content;
    }

    .players-carousel {
        padding: 40px 0;
    }

    .players-carousel .swiper-slide {
        transform: scale(0.5);
    }

    .players-carousel .swiper-slide-active {
        transform: scale(1);
    }
}
#content a.elementor-post__read-more {
	background: #00baff;
    padding: 12px 30px;
}
#content a.elementor-post__read-more:hover {
	background: #003e72;
}
.elementor-669 .elementor-element.elementor-element-e571d92 .elementor-pagination .page-numbers:not(.dots)
 {
    font-family: 'Bebas Neue';
}
#content .kadra-tenerska-h-link.elementor-widget.elementor-widget-heading > h2 > a {
	font-family: 'Bebas Neue';
}
.elementor-widget-posts a.elementor-post__read-more {
    background: #00baff;
    padding: 12px 30px;
}
.elementor-widget-posts a.elementor-post__read-more:hover {
	background: #003e72;
}
/* ============================================================================
   ELEMENTOR COMMENTS SECTION - MODERN DESIGN
   ============================================================================ */

/* Main Comments Container */
#comments {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    margin: 40px 0;
}

/* Comments Title */
#comments .comments-title,
#comments #reply-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #151e2d;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #00B9FF;
    position: relative;
}

#comments .comments-title::after,
#comments #reply-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: #151e2d;
}

/* Comments List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    background: #f9f9f9;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #00B9FF;
    transition: all 0.3s ease;
}

.comment-list .comment:hover {
    background: #f0f8ff;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 185, 255, 0.15);
}

/* Nested Comments (Replies) */
.comment-list .children {
    list-style: none;
    padding-left: 40px;
    margin-top: 20px;
}

.comment-list .children .comment {
    border-left-color: #151e2d;
    background: #ffffff;
}

/* Comment Meta (Author, Date) */
.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author {
    font-weight: 700;
    font-size: 16px;
    color: #151e2d;
}

.comment-author .avatar {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    border: 3px solid #00B9FF;
    margin-right: 10px;
}

.comment-metadata {
    font-size: 13px;
    color: #64748b;
}

.comment-metadata a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}

.comment-metadata a:hover {
    color: #00B9FF;
}

/* Comment Content */
.comment-content {
    color: #151e2d;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 15px;
}

.comment-content p {
    margin-bottom: 10px;
}

/* Reply Link */
.reply {
    margin-top: 10px;
}

.comment-reply-link {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #00B9FF 0%, #0095cc 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: linear-gradient(135deg, #151e2d 0%, #1e293b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 185, 255, 0.3);
}

/* Comment Form */
#respond {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.comment-form {
    display: grid;
    gap: 20px;
}

/* Form Fields */
.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
    margin-bottom: 0;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: #151e2d;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #00B9FF;
    box-shadow: 0 0 0 3px rgba(0, 185, 255, 0.1);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Submit Button */
.form-submit {
    margin: 0;
}

.comment-form input[type="submit"] {
    background: linear-gradient(135deg, #00B9FF 0%, #0095cc 100%);
    color: #ffffff;
    padding: 14px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 185, 255, 0.3);
}

.comment-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #151e2d 0%, #1e293b 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(21, 30, 45, 0.4);
}

.comment-form input[type="submit"]:active {
    transform: translateY(-1px);
}

/* Awaiting Moderation */
.comment-awaiting-moderation {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

/* No Comments Message */
.no-comments {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    font-size: 16px;
}

/* Pagination */
.comment-navigation {
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    flex: 1;
}

.comment-navigation a {
    display: block;
    padding: 12px 20px;
    background: #f9f9f9;
    color: #151e2d;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
}

.comment-navigation a:hover {
    background: #00B9FF;
    color: #ffffff;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
    #comments {
        padding: 25px 20px;
    }

    #comments .comments-title,
    #comments #reply-title {
        font-size: 24px;
    }

    .comment-list .children {
        padding-left: 20px;
    }

    .comment-list .comment {
        padding: 20px 15px;
    }

    .comment-author .avatar {
        width: 40px;
        height: 40px;
    }

    #respond {
        padding: 20px;
    }

    .comment-form input[type="submit"] {
        width: 100%;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .comment-navigation {
        flex-direction: column;
    }
}