/* font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
/* variable */
:root {      
    --alt-font: "Inter", sans-serif;
    --primary-font: "Inter", sans-serif;
    --base-color: #d62f28;
    --yellow: #dfbb25;
    --dark-gray: #1f2220;
    --medium-gray: #828282;
    --very-light-gray: #f7f7f7;
}
body {
    font-size: 16px;
    line-height: 28px;
}
/* header */
.polonia-top-bar {
	height: 20px;
	margin-right: 20px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    width: 300px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 600;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li.active:hover > a {
    background-color: var(--base-color);
    color: var(--white);
}
.navbar .navbar-nav .dropdown .dropdown-menu a i,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
    font-size: 20px;
    margin-right: 10px;
    width: auto;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover i {
    color: var(--white);
}
header .navbar-brand img {
    max-height: 100px;
	margin-top: 40px;
}
.navbar .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 18px;
}
/* button */
.btn {
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0px;
}
.btn.btn-switch-text.btn-extra-large > span {
    padding: 17px 38px;
    font-size: 17px; 
}
.btn.btn-switch-text.btn-large > span {
    padding: 13px 32px;
    font-size:15px;
}
.btn.btn-switch-text.btn-medium > span {
    padding: 12px 26px;
    font-size:14px;
}
/* heading */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
}
/* Text gradient color */
.text-gradient-light-green-white {
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%,  #ebf6ee 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Background color */
.bg-light-green {
    background-color: #c4e7cc;
}
.bg-very-light-green {
    background-color: #E3BF11;
}
/* Transparent background color */
.bg-gradient-green-transparent {
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%,  #dfbb25 100%);
}

.right-210px {
  right: 210px;
}

/* page title */
.page-title-large h1 {
    font-size: 4.2rem;
    line-height: 4rem;
}
.page-title-large h2 {
    font-size: 18px;
}

/* Border color */
.border-color-dark-green {
    border-color: var(--green);
}
/* Subcribe style 02 */
.newsletter-style-02 .btn:hover {
    background-color: var(--green);
}
.newsletter-style-02 .btn {
    height: 85%;
    margin: 4px;
    padding: 5px 20px 5px;
}
.newsletter-style-02 input {
    padding-right: 75px !important;
}

/* Will change */
.animation-rotation {
    -webkit-animation: rotation 2.5s infinite linear;
}
/* footer */
footer .footer-logo img {
    max-height: 43px;
    width: auto;
}
footer a:hover {
    color: var(--white);
}
footer ul li {
    margin-bottom: 2px;
}
@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1320px;
    }
}
@media (max-width: 1600px) {
    /* Font size */
    .fs-80 {
        font-size: 4rem;
        line-height: 4rem;
    }
}
@media (max-width: 1199px){
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
        padding: 10px 10px;
    }
}
@media (max-width: 991px){
    /* Background image */
    .md-background-position-top-center {
        background-position: top center !important;
    } 
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
        padding-bottom: 15px;
    }
}
@media (max-width: 767px){
    /* Background image */
    .sm-background-position-top-center {
        background-position: top center !important;
    }
}

.team-big {
    margin-bottom: 60px; /* możesz zwiększyć lub zmniejszyć */
}

.team-static-caption {
    color: #000;
}

.team-static-caption .team-member-name {
    font-weight: 600;
}

.team-static-caption .member-designation {
    opacity: 0.85;
}

/* Lider */
table.league-table tbody tr.leader td {
    background: linear-gradient(90deg, #ffe08a, #ffd24c) !important;
    font-weight: 700 !important;
}

/* Strefa spadkowa */
table.league-table tbody tr.relegation td {
    background: rgba(255, 0, 0, 0.12) !important;
    color: #b30000 !important;
    font-weight: 600 !important;
}

/* Dopieszczenie */
table.league-table thead th {
    font-weight: 700;
    letter-spacing: 0.5px;
}

table.league-table tbody td {
    vertical-align: middle;
}

table.league-table img {
    display: block;
    margin: 0 auto;
}

/* ===== Treść artykułu: czytelność i format ===== */
.prose{
  font-size: 17px;
  line-height: 1.75;
  color: #222;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.prose p{
  margin: 0 0 14px;
}

.prose br{
  line-height: 1.75;
}

.prose a{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover{
  opacity: .85;
}

/* nagłówki, jeśli admin wrzuca h2/h3 */
.prose h2, .prose h3, .prose h4{
  margin: 18px 0 10px;
  line-height: 1.25;
}

/* listy */
.prose ul, .prose ol{
  margin: 10px 0 14px 20px;
}
.prose li{
  margin: 6px 0;
}

/* cytaty */
.prose blockquote{
  margin: 14px 0;
  padding: 12px 14px;
  border-left: 4px solid rgba(0,0,0,.15);
  background: rgba(0,0,0,.04);
  border-radius: 10px;
}

/* separatory */
.prose hr{
  border: 0;
  height: 1px;
  background: rgba(0,0,0,.12);
  margin: 18px 0;
}

/* obrazki w treści (admin czasem wklei) */
.prose img{
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 10px 0;
}


.item .fb-name{
  font-size: 26px;       /* było ~32–36 w szablonie */
  line-height: 1.25;
  margin-top: 5px !important;
  margin-bottom: 5px;
  letter-spacing: -0.3px;
}

@media (max-width: 768px){
  .item .fb-name{
    font-size: 22px;
  }
}

.article-cover{
  margin-bottom: 5px !important;
}

.gallery{
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 5px !important;
}

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 5px;
}

.gallery-grid img{
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery figure{
  margin: 0 !important;
}

.thumb-more{
  position: relative;
}

.thumb-more .thumb-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  pointer-events: none;
}

/* =========================
   PAGINACJA
   ========================= */

.pagination-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.pagination {
  list-style: none;
  display: flex;
  flex-wrap: wrap;               /* zawijanie na mobile */
  gap: 10px;
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
}

.page-item {
  display: flex;
}

.page-link,
.page-item > span.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;               /* paluch-friendly */
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(214,47,40,.35);
  background-color: #fff;
  color: #d62f28;
  text-decoration: none;
  line-height: 1;
  font-weight: 600;
  user-select: none;
  transition: 
    background-color .12s ease,
    border-color .12s ease,
    transform .06s ease;
}

.page-link:hover {
  background-color: rgba(214,47,40,.08);
  border-color: #d62f28;
  color: #d62f28;
  transform: translateY(-1px);
}

.page-item.active .page-link {
  background-color: #d62f28;
  border-color: #d62f28;
  color: #ffffff;
  cursor: default;
}

.page-item.disabled .page-link,
.page-item.disabled > span.page-link {
  opacity: .35;
  pointer-events: none;
  color: #d62f28;
}

.page-link.ellipsis {
  min-width: 44px;
  padding: 0 10px;
  cursor: default;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 480px) {
  .pagination {
    gap: 8px;
  }

  .page-link,
  .page-item > span.page-link {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
  }
}
