@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&family=Saira+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Reset stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styl dla body */
body {
    font-family: "Kumbh Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "YOPQ" 300;
    line-height: 1.6;
    color: #333;
    background: #eaeaea;
}

.site-main {
    margin-bottom: 1rem;
}

.site-main .container {
	border-bottom: 2px solid #ccc;
}

ul.wp-block-list {
    margin-left: 1rem;
	margin-bottom: 1rem;
}

.single-post .container {
    padding: 1rem 1rem 0 1rem;
}

.single-post .site-main {
    margin-bottom: 0;
}

.single-post .swiper {
    padding: 0;
}

/* Styl dla list <ol> */
.custom-ordered-list {
    margin-left: 3rem;
}

/* Styl dla tabeli polityki prywatności */
.custom-policy-table-wrapper {
    width: 100%;
    margin: 1rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.custom-policy-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.custom-policy-table th,
.custom-policy-table td {
    padding: 0.5rem;
    border: 1px solid #ddd;
    text-align: center;
}

.custom-policy-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    font-size: 0.75em;
}

.custom-policy-table td {
    background-color: #fff;
}

.custom-policy-table th:nth-child(2),
.custom-policy-table td:nth-child(2) {
    text-align: left;
}

.custom-policy-table thead th:nth-child(1) {
    border-right: 1px solid #ddd;
}

/* Responsywność dla małych ekranów */
@media (max-width: 768px) {
    .custom-policy-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .custom-policy-table {
        min-width: 800px;
    }
}

@media (min-width: 1001px) {
    /* Ukrywanie top-bar na podstronach z sticky */
    body:not(.is-front-page) .top-bar {
        display: none;
    }

    /* Padding dla main na podstronach z sticky */
    body:not(.is-front-page) #main.site-main {
        padding-top: calc(45px + 1rem);
    }
}

/* Style dla nagłówków */
h1, h2, h3, h4, h5, h6 {
    font-family: "Saira Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: #333;
}

/* Style dla linków */
a {
    color: #e40001;
    text-decoration: none;
}

p {
    margin-bottom: 1rem;
    line-height: 2;
}

a:hover {
    color: #b30001;
}

/* News Slider */
.news-slider {
    position: relative;
    width: 100%;
    height: calc(100dvh - 110px);
    overflow: hidden;
}

.admin-bar .news-slider {
    height: calc(100dvh - 110px - 32px);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: none; /* Ukryte domyślnie, sterowane przez JS */
    transition: left 0.7s ease-in-out; /* Animacja przesuwania slajdów */
}

.hero-slide.active {
    left: 0;
    z-index: 2;
}

.hero-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1); /* Początkowa skala */
    animation: autoZoom 5s infinite ease-in-out; /* Animacja trwająca 5 sekund */
}

@keyframes autoZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.025); /* Półmetek na 1.025 */
    }
    100% {
        transform: scale(1.05); /* Pełny zoom na końcu */
    }
}

#gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50dvh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
    z-index: 1;
}

.hero-slide-content {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    color: #ffffff;
    z-index: 2;
    max-width: calc(100dvw - 6rem);
}

.hero-slide-title {
    font-size: 3rem;
    font-weight: 700;
    color: #FFF;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-slide-title a {
    color: #FFF;
    text-decoration: none;
}

.hero-slide-read-more {
    display: inline-block;
    background: #e40001;
    color: #FFF;
    padding: 0 2rem;
    font-size: 1rem;
    height: 3rem;
    line-height: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background 0.3s ease, color 0.3s ease;
}

.hero-slide-read-more:hover {
    background: #b30001;
    color: #ffffff;
}

.hero-slide-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.news-slider-kategoria {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    height: 100%;
    vertical-align: middle;
}

.hero-slide-date {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    font-size: 0;
    cursor: pointer;
    padding: 0.5rem;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 3;
    line-height: 1;
}

.slider-prev i, .slider-next i {
    font-size: 1.5rem;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Media Queries dla News Slider */
@media (min-width: 1001px) {
    .hero-slide-background img {
        animation-duration: 5s; /* Zachowuje 5 sekund na dużych ekranach */
    }
}

@media (max-width: 1200px) and (min-width: 1001px) {
    .hero-slide-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    .hero-slide-read-more {
        padding: 0 1.5rem;
        font-size: 0.75rem;
        height: 2.25rem;
        line-height: 2.25rem;
    }
}

@media (max-width: 1000px) {
    .hero-slide-content {
        bottom: 1.75rem;
        left: 1.75rem;
        max-width: calc(100dvw - 3.5rem);
    }
    .news-slider {
        height: calc(100dvh - 65px - 40px);
        margin-top: 40px;
    }
    .admin-bar .news-slider {
        height: calc(100dvh - 65px - 30px - 46px);
    }
    .hero-slide-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    .hero-slide-read-more {
        padding: 0 1.5rem;
        font-size: 0.75rem;
        height: 2rem;
        line-height: 2rem;
    }
    .hero-slide-meta {
        margin-bottom: 1.25rem;
    }
    .news-slider-kategoria {
        font-size: 0.75rem;
        line-height: 1;
    }
    .hero-slide-date {
        font-size: 0.75rem;
    }
    .slider-prev, .slider-next {
        padding: 12px;
    }
    .slider-prev i, .slider-next i {
        font-size: 30px;
    }
    .hero-slide-background img {
        animation-duration: 4s; /* Krótsza animacja na mniejszych ekranach */
    }
}

/* Home Fields */
.sponsor-home-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    background-color: #FFF;
}

.sponsor-home-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sponsor-home-box .inner-container {
    width: 100%;
    aspect-ratio: 2 / 1; /* Sztywne proporcje 2:1 dla wszystkich inner-container */
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}

.sponsor-home-box:first-child .inner-container {
    max-width: 500px; /* Maksymalna szerokość dla pierwszego boxa */
    text-align: center;
}

.sponsor-home-box:nth-child(2) .inner-container {
    max-width: 624px; /* Maksymalna szerokość dla drugiego boxa */
    text-align: center;
}

.sponsor-home-box-shortcode .inner-container {
    /* Zachowujemy overflow: hidden dla shortcode */
}

.sponsor-home-box-shortcode .inner-container * {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* Zapewniamy, że zawartość shortcode nie łamie proporcji */
    height: 100%;
    object-fit: contain; /* Zawartość skaluje się, zachowując proporcje */
}

.sponsor-home-box-image .inner-container {
    max-width: 624px; /* Zachowujemy maksymalną szerokość */
}

.rzeszow-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Obraz wypełnia kontener, zachowując proporcje */
    transition: transform 0.3s ease;
}

.rzeszow-image:hover {
    transform: scale(1.05);
}

.rzeszow-image-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.home-fields {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 1rem;
}

.home-fields .field {
    position: relative;
    overflow: hidden;
}

.home-fields .field-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    z-index: 0;
}

.home-fields .field-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.home-fields .field-header {
    font-family: "Saira Condensed", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1rem;
}

.home-fields .field-text {
    font-family: "Kumbh Sans", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 300;
    line-height: 1;
	margin-bottom:0;
}

.home-fields .text-bg {
    display: inline-block;
    padding: 0.25rem 0.5rem;
}

.home-fields .field a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.home-fields .field-1 {
    flex: 0 0 50%;
    aspect-ratio: 2 / 1;
}

.home-fields .field-2, .home-fields .field-3 {
    flex: 0 0 25%;
    aspect-ratio: 1 / 1;
}

@media (min-width: 1001px) {
    .field-1:hover .field-background img.background-image,
    .field-2:hover .field-background img.background-image,
    .field-3:hover .field-background img.background-image {
        transform: scale(1.05);
    }
}

/* Media Queries dla Home Fields */
@media (max-width: 1000px) {
    .home-fields {
        gap: 0;
        padding: 0 1rem;
        margin: 0;
    }
    .home-fields .field {
        margin: 0;
        padding: 0;
    }
    .home-fields .field-1 {
        flex: 0 0 100%;
        width: 100%;
        padding: 0.5rem;
    }
    .home-fields .field-2,
    .home-fields .field-3 {
        flex: 0 0 50%;
        width: 50%;
    }
}

@media (max-width: 360px) {
    .home-fields .field-content,
    .home-fields .field-2 .field-content,
    .home-fields .field-3 .field-content {
        padding: 0.25rem;
    }
    .home-fields .field-2 .field-header,
    .home-fields .field-3 .field-header {
        font-size: 1rem;
        line-height: 1;
        margin-bottom: 0.35rem;
    }
    .home-fields .field-2 .field-text,
    .home-fields .field-3 .field-text {
        font-size: 0.5rem;
        line-height: 1.2;
    }
    .home-fields .field-2 .text-bg,
    .home-fields .field-3 .text-bg {
        padding: 0.25rem 0.5rem;
    }
    .home-fields .field-1 {
        padding: 0.25rem;
    }
}

@media (min-width: 361px) and (max-width: 480px) {
    .home-fields .field-content,
    .home-fields .field-2 .field-content,
    .home-fields .field-3 .field-content {
        padding: 0.75rem;
    }
    .home-fields .field-2 .field-header,
    .home-fields .field-3 .field-header {
        font-size: 1rem;
        line-height: 1;
        margin-bottom: 0.35rem;
    }
    .home-fields .field-2 .field-text,
    .home-fields .field-3 .field-text {
        font-size: 0.6rem;
        line-height: 1.2;
    }
    .home-fields .field-2 .text-bg,
    .home-fields .field-3 .text-bg {
        padding: 0.25rem 0.5rem;
    }
    .home-fields .field-1 {
        padding: 0.25rem;
    }
}

@media (min-width: 481px) and (max-width: 640px) {
    .home-fields .field-content,
    .home-fields .field-2 .field-content,
    .home-fields .field-3 .field-content {
        padding: 0.75rem;
    }
    .home-fields .field-2 .field-header,
    .home-fields .field-3 .field-header {
        font-size: 1.25rem;
        line-height: 1;
        margin-bottom: 0.35rem;
    }
    .home-fields .field-2 .field-text,
    .home-fields .field-3 .field-text {
        font-size: 1rem;
        line-height: 1.2;
    }
    .home-fields .field-2 .text-bg,
    .home-fields .field-3 .text-bg {
        padding: 0.25rem 0.5rem;
    }
    .home-fields .field-1 {
        padding: 0.5rem;
    }
}

@media (min-width: 641px) and (max-width: 1000px) {
    .home-fields .field-content,
    .home-fields .field-2 .field-content,
    .home-fields .field-3 .field-content {
        padding: 1rem;
    }
    .home-fields .field-2 .field-header,
    .home-fields .field-3 .field-header {
        font-size: 1.75rem;
        line-height: 1;
        margin-bottom: 0.35rem;
    }
    .home-fields .field-2 .field-text,
    .home-fields .field-3 .field-text {
        font-size: 1.25rem;
        line-height: 1.2;
    }
    .home-fields .field-2 .text-bg,
    .home-fields .field-3 .text-bg {
        padding: 0.25rem 0.5rem;
    }
    .home-fields .field-1 {
        padding: 0.5rem;
    }
}

@media (min-width: 1001px) and (max-width: 1280px) {
    .home-fields .field-content,
    .home-fields .field-2 .field-content,
    .home-fields .field-3 .field-content {
        padding: 0.75rem;
    }
    .home-fields .field-2 .field-header,
    .home-fields .field-3 .field-header {
        font-size: 1.25rem;
        line-height: 1;
        margin-bottom: 0.35rem;
    }
    .home-fields .field-2 .field-text,
    .home-fields .field-3 .field-text {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    .home-fields .field-2 .text-bg,
    .home-fields .field-3 .text-bg {
        padding: 0.25rem 0.5rem;
    }
    .home-fields .field-1 {
        padding: 0.5rem;
    }
}

/* Sponsorzy Widget */
.sponsorzy-widget {
    padding: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.sponsorzy-wiersz {
    margin-bottom: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    text-align: center;
}

.sponsorzy-wiersz h3 {
    margin: 0 0 1rem 0;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sponsorzy-wiersz h3::before,
.sponsorzy-wiersz h3::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #CCC;
    margin: 0 10px;
}

.sponsorzy-logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: calc(250px * 4 + 1rem * 3);
    margin: 0 auto;
}

.sponsor-logo {
    flex: 0 0 250px;
    max-width: 250px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.sponsor-logo img {
    width: 100%;
    max-width: 250px;
    height: auto;
    transition: transform 0.6s ease;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    display: block;
}

.sponsor-logo:hover img {
    transform: rotateY(360deg);
}

.sponsorzy-kolumny-1 .sponsorzy-logo-grid {
    max-width: 250px;
}

.sponsorzy-kolumny-4 .sponsorzy-logo-grid {
    max-width: calc(250px * 4 + 1rem * 3);
}

.sponsorzy-kolumny-5 .sponsorzy-logo-grid {
    max-width: calc(250px * 5 + 1rem * 4);
}

.sponsorzy-kolumny-6 .sponsorzy-logo-grid {
    max-width: calc(250px * 6 + 1rem * 5);
}

.sponsorzy-widget.styl-gray_hover .sponsor-logo {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.sponsorzy-widget.styl-gray_hover .sponsor-logo img {
    filter: grayscale(100%);
    transition: filter 0.6s ease, transform 0.6s ease;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    display: block;
    width: 100%;
    height: auto;
}

.sponsorzy-widget.styl-gray_hover .sponsor-logo:hover img {
    filter: grayscale(0%);
    transform: rotateY(360deg);
}

/* Media Queries dla Sponsorzy Widget */
@media (max-width: 768px) {
    .sponsorzy-mobile-1 .sponsorzy-logo-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: calc(100% - 2rem);
        margin: 0 auto;
    }
    .sponsorzy-mobile-1 .sponsor-logo {
        flex: 0 0 50%;
        max-width: 250px;
        margin: 0 25%;
    }
    .sponsorzy-mobile-2 .sponsorzy-logo-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 250px));
        gap: 1rem;
        justify-content: center;
        max-width: calc(100% - 1rem);
        margin: 0 auto;
    }
    .sponsorzy-mobile-2 .sponsorzy-logo-grid:has(.sponsor-logo:nth-last-child(1):first-child) {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .sponsorzy-mobile-2 .sponsorzy-logo-grid:has(.sponsor-logo:nth-last-child(1):first-child) .sponsor-logo {
        flex: 0 0 50%;
        max-width: 250px;
        margin: 0 25%;
    }
    .sponsorzy-mobile-2 .sponsorzy-logo-grid:has(.sponsor-logo:nth-child(odd):last-child) .sponsor-logo:last-child {
        grid-column: 1 / -1;
        width: 50%;
        max-width: 250px;
        margin: 0 25%;
        text-align: center;
    }
    .sponsorzy-mobile-3 .sponsorzy-logo-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: calc(250px * 3 + 1rem * 2);
        margin: 0 auto;
    }
}

/* Ogólne style tła */
.field-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.field-background img.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.active-field-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.active-field-background img.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

/* Styl dla przycisku small-red-button */
.small-red-button {
	color: #FFF;
	font-size: 0.75rem;
    background: #e40001;
    padding: 0 0.75rem;
    margin-right: 0.5rem;
    width: max-content;
    white-space: nowrap;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    height: 2rem;
    line-height: 2rem;
}

.small-red-button:hover {
    background-color: #b30001;
	color: #FFF;
}

/* Styl linków w sidebarze */
ul li .sidebar-link-item {
    margin-bottom: 0.5rem;
}

.sidebar-link-item {
    font-family: "Kumbh Sans", sans-serif;
    font-size: 0.875rem;
    color: #e40001;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-left: 1.5rem;
}

.sidebar-link-item-inner {
    display: inline-block;
    transition: padding-left 0.3s ease, color 0.3s ease;
    padding-left: 0;
}

.sidebar-link-item:hover .sidebar-link-item-inner {
    color: #b30001;
    padding-left: 0.5rem;
}

.sidebar-link-item::before {
    content: '\25CB';
    position: absolute;
    left: 0.25rem;
    color: #e40001;
    font-size: 0.75rem;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar-link-item:hover::before {
    color: #b30001;
}

.sidebar-link-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #e40001;
    transition: width 0.3s ease;
}

.sidebar-link-item:hover::after {
    width: 100%;
    background-color: #b30001;
}

.sidebar-link-item--current .sidebar-link-item-inner {
    font-weight: bold;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    font-family: "Kumbh Sans", sans-serif;
    font-size: 1rem;
}

.row-swiper-news, .home-fields, .row-swiper-matches, .active-ticket-field, .row-swiper-standings {
	max-width:1280px;
	margin: 0 auto;
}

/* Widgety meczowe na sidebarze */
.sidebar-match-widget {
    width: 100%;
    background: #fff;
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.sb-match-widget-header {
    background: #e40001;
    color: #fff;
    font-family: "Saira Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.25rem;
    text-align: center;
    text-transform: uppercase;
}

.sb-match-widget-content {
    width: 100%;
    padding: 0.5rem;
}

.sb-match-league-round {
    margin-bottom: 1rem;
    width: 100%;
    height: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sb-league-round-text {
    width: calc(100% - 2rem);
    height: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sb-match-league-name {
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    line-height: 1rem;
}

.sb-match-round {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    line-height: 1rem;
}

.sb-match-league-logo {
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.sb-match-league-logo img {
    max-height: 100%;
    max-width: 100%;
}

.sb-match-teams {
    width: 100%;
    height: 4.5rem;
    margin-bottom: 1rem;
}

.sb-match-team-row {
    width: 100%;
    height: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sb-match-team-row:first-child {
    margin-bottom: 0.5rem;
}

.sb-match-team-logo {
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sb-match-team-logo img {
    max-height: 100%;
    max-width: 100%;
}

.sb-match-team-name {
    width: calc(100% - 3.75rem);
    height: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.sb-match-team-name span:first-child {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
}

.sb-match-team-name span:last-child {
    font-size: 0.6rem;
    line-height: 1;
    text-transform: uppercase;
}

.sb-match-team-score {
    width: 1.75rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: bold;
    background: #333;
    color: #fff;
}

.sb-no-score {
    background: #333;
}

.sb-match-date-time {
    width: 100%;
    height: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.sb-buttons-match-center {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0.5rem;
    row-gap: 0.5rem;
    width: 100%;
    margin-bottom: 1rem;
}

.sb-button-match-center {
    font-family: "Saira Condensed", sans-serif;
    color: #fff;
    font-size: 0.75rem;
    background: #e40001;
    padding: 0 0.5rem;
    width: 100%;
    white-space: nowrap;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    height: 1.5rem;
    line-height: 1.5rem;
    border: none;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}

.sb-button-match-center-unactive {
    background: #ddd;
    cursor: default;
}

.sb-button-match-center:hover {
    background: #b30001;
}

.sb-button-match-center-unactive:hover {
    background: #ddd;
}

.sb-match-stripe-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 1;
}

.sb-match-stripe-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #e40001;
    transition: width 1s ease;
}

.sidebar-match-widget:hover .sb-match-stripe-animation::before {
    width: 100%;
}

.sb-team-resovia {
    color: #e40001;
}

.sb-next-home-match,
.sb-next-match,
.sb-last-match {
}

.sb-next-match .sb-buttons-match-center {
    grid-template-columns: 1fr;
}

#sidebar {
    display: none; /* Domyślnie ukryty */
}

@media (min-width: 1024px) {
    #sidebar {
        display: block; /* Widoczny na ekranach 1024px i większych */
    }
}