


 h3.sidebar-title::after {
  font-size: 38px;
  text-align: left;
  content: '';
  display: block;
  width: 25%;
  height: 4px;
  background-color: #840837;
  margin-top: 0px;
  margin-top: 0px;
  margin-top: 10px;
}
  
  
  h2.hero-title-art::after {
    font-size: 38px;
    text-align: left;
    content: '';
    display: block;
    width: 25%;
    height: 4px;
    background-color: #840837;
    margin-top: 0px;
    margin-top: 0px;
    margin-top: 10px;
  }

.main-header h1::after {
  content: '';
  display: block;
  width: 25%;
  height: 4px;
  background-color: #840837;
  margin: 0 auto;
  margin-top: 0px;
  margin-top: 10px;
}
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.contact-list li strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
}

.contact-list li a {
    color: #830736;
}

.heading {
    position: relative;
    padding-bottom: 8px;
    text-align: center;
}

.heading::after {
     position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    content: '';
    width: 40px;
    height: 4px;
    background: #830736;
}

.footer .footer-heading {
    position: relative;
    padding-bottom: 8px;
}

.footer .footer-heading::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 40px;
    height: 4px;
    background: #830736;
}

.map-embed {
    width: 100% !important;
    height: 450px !important;
    border-radius: 8px;
    overflow: hidden;
}

.map-embed iframe {
    width: 100% !important;
    height: 450px !important;
    border: 0;
}

.box {
	
    color: #2c3e50 !important;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
	
	
}

.box h2 {
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
    color: #1A1A1A !important ;
}


.box h3 {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    color: #1A1A1A !important ;
}

.box p {
    opacity: 0.8;
    
    color: #2c3e50 !important;
}


.main-background {
    background-image: url(https://sppagebuilder.com/sample-data/images/2018/js-slideshow/12/20/slidebg-nine-1.jpg); 
    height: 300px; 
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
	color: #5E5E5E;
	margin-bottom: 50px;
}

.main-header {
    text-align: center;
    margin-bottom: 0;
    padding: 0;
}

.main-header h1, .main-header h2 {
    font-size: 2.5rem !important;
    margin-bottom: 0 !important;
    font-weight: 600 !important;
    color: #1A1A1A;
}

main {
  
  padding-bottom: 50px;
}

/* Grid kontaktowy */
.kontakt-grid-wrapper {
    padding: 2rem;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.kontakt-col h2,
.kontakt-col h3 {
    color: #023C5A;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.kontakt-col p {
    line-height: 1.8;
    color: #2c3e50;
}

.kontakt-col-full {
    grid-column: 1 / -1;
}


.registry-list {
    list-style: none;
    padding: 0;
    margin: 0;
}


@media (max-width: 768px) {
    .main-background {
        height: 300px;
    }
    
    .main-header h1 {
        font-size: 2rem !important;
    }
    
    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .kontakt-grid-wrapper {
        padding: 1.5rem;
    }
    
    .hours .day {
        min-width: 110px;
    }
}

@media (max-width: 480px) {
    .main-background {
        height: 250px;
    }
    
    .main-header h1 {
        font-size: 1.75rem !important;
    }
    
    .kontakt-grid-wrapper {
        padding: 1rem;
    }
    
    .hours .day {
        display: block;
        margin-bottom: 0.25rem;
    }
}





/* ===== CATEGORY GRID - 3 KOLUMNY WCAG 2.2 ===== */
/* Dodaj te style na KOŃCU swojego istniejącego user.css */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 0;
    list-style: none;
    margin: 0;
}

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

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.category-grid-item {
    position: relative;
  /*  border-radius: 12px; */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border-left: 4px solid #840837;
    list-style: none;
}

.category-grid-item:hover,
.category-grid-item:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-grid-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-grid-item a:focus {
    outline: 3px solid #840837;
    outline-offset: 2px;
}

.category-grid-item a:focus:not(:focus-visible) {
    outline: none;
}

.category-grid-item a:focus-visible {
    outline: 3px solid #840837;
    outline-offset: 2px;
}

.category-grid-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
}

.category-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-grid-item:hover .category-grid-image img {
    transform: scale(1.05);
}

.category-grid-title {
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1A1A1A;
}

.category-grid-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #a60dcf 0%, #450b78 100%);
    color: #fff;
    font-size: 3rem;
    height: 100%;
}

.category-subtitle {
    color: #450b78;
    margin: 1rem 0;
    font-size: 1.5rem;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .category-grid-item {
        border: 2px solid #000;
    }
    
    .category-grid-title {
        color: #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .category-grid-item,
    .category-grid-image img {
        transition: none;
    }
    
    .category-grid-item:hover .category-grid-image img {
        transform: none;
    }
    
    .category-grid-item:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .category-grid {
        display: block;
    }
    
    .category-grid-item {
        break-inside: avoid;
        margin-bottom: 1rem;
        box-shadow: none;
        border: 1px solid #000;
    }
}

@supports (display:grid) {
  .site-grid {
    display: grid;
    
  /*  background-image: url(https://sppagebuilder.com/images/2020/minimal-agency/shape5.svg); */
    background-repeat: no-repeat;
    background-attachment: inherit;
    background-position: 0 250px;
    box-shadow: 0 0 0 0 #ffffff;
  }



/* Ukryj hamburger na desktop */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
}

#main-navigation .nav-item.deeper.parent:has(.current.active) > .mod-menu__sub {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.table-of-contents {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  border-left: 4px solid #840837;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  overflow: visible; /* Dodane - żeby nie obcinało outline */
}

.table-of-contents h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #2c3e50;
}

.table-of-contents ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.table-of-contents li {
  margin: 0;
}

.table-of-contents a {
  color: #840837;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: inline-block;
  border-radius: 6px;
  transition: all 0.15s;
  margin: 0.25rem; /* Dodane - miejsce na outline */
}

.table-of-contents a:hover {
  background: #f8f9fa;
  color: #9a0046;
  text-decoration: underline;
}

.table-of-contents a:focus {
  text-decoration: underline;
  outline: 2px solid #005fcc;
  outline-offset: 3px;
  background: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
  .table-of-contents {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .table-of-contents ul {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  
  .table-of-contents a {
    width: 100%;
  }
}

.read-more-link2:hover {
  color: white !important;
  text-decoration: underline;
}

.read-more-link2 {
  display: inline-block !important;
  white-space: nowrap !important;
  transition: color 0.2s !important;
  padding: 15px 40px;
  background-color: #840837;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
}

h3.about {
    color: #450b78;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card h2 {
           
            margin-bottom: 15px;
            font-size: 1.5em !important;
            display: flex;
            align-items: center;
            gap: 10px;
        }

.cta-section {
    text-align: center;

}
.field-entry.o-nas-zdjecie-gora {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.read-more-link:hover {
  text-decoration: underline !important;
}

@media (max-width: 1120px) {
	#main-navigation.mod-menu.nav.navbar-nav {
	max-width: 820px;
	}
}	

.read-more-link {
    display: block !important;
    margin-top: 0.5rem !important;
    text-decoration: none !important;
    width: fit-content !important;
}
.articles-grid .read-more-link {
    width: 30%;
  }
/* Paginacja - responsywna */
.pagination-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pagination-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    min-width: min-content;
}

/* Zmniejsz przyciski na mobile */
@media (max-width: 768px) {
    .pagination a,
    .pagination span {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.85rem !important;
        min-width: auto !important;
    }
    
    /* Ukryj środkowe numery, zostaw tylko kilka */
    .pagination .page-item:nth-child(n+5):nth-last-child(n+3) {
        display: none !important;
    }
    
    /* Pokaż tylko Previous, 1, 2, 3, ... ostatni, Next */
    .pagination .page-item:first-child,
    .pagination .page-item:nth-child(2),
    .pagination .page-item:nth-child(3),
    .pagination .page-item:nth-child(4),
    .pagination .page-item:last-child,
    .pagination .page-item:nth-last-child(2) {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .pagination a,
    .pagination span {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.75rem !important;
    }
}

.articles-grid .read-more-link {
  width: 60%;
  display: inline-block !important;
    white-space: nowrap !important;
    transition: color 0.2s !important;
  padding: 15px 40px;
  background-color: #840837;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 20px;
}

.sidebar-content a {
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.sidebar-content a:hover,
.sidebar-content a:active {
    text-decoration: underline !important;
}

.custom-banner {
    width: 100%;
    margin: 0;
}

.banner-image-wrapper {
    width: 100%;
}

.banner-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile - opcjonalnie ustaw max-height */
@media (max-width: 768px) {
    .banner-image-wrapper img {
        max-height: 300px;
        object-fit: cover;
    }
}

.article-title:hover {
  text-decoration: underline;
}

/* Layout z sidebariem */
.blog-layout-wrapper {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.blog-main-content {
    flex: 1;
    min-width: 0;
}

/* SIDEBAR */
.sidebar-right {
    width: 320px;
    flex-shrink: 0;
}

.sidebar-box {
  
    top: 2rem;
    background: #fff;
   
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.sidebar-title {
    margin: 0;
    padding: 1.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.sidebar-content {
    padding: 1.25rem;
}

/* Artykuły w jednej kolumnie */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-card {
    background: #fff;
  
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.article-link {
    display: flex;
    gap: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.article-image {
    width: 300px;
    flex-shrink: 0;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.article-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #333;
    line-height: 1.3;
}

.article-date {
    color: #666;
    font-size: 0.9rem;
    display: block;
}

.article-intro {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.article-footer {
    padding: 0 1.5rem 1.5rem;
}

.read-more-link {
    display: inline-block;
    color: #0066cc;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.read-more-link:hover {
    border-color: #003d5c;
  color: #ffffff !important;
  outline: 2px solid #003d5c;
  outline-offset: 2px;
  transform: translateY(-1px);
  

}

/* Lead article */
.lead-article .article-image {
    width: 400px;
}

.lead-article .article-title {
    font-size: 1.75rem;
}

/* Responsywność */
@media (max-width: 1024px) {
    .sidebar-right {
        width: 280px;
    }
    
    .article-image {
        width: 250px;
    }
    
    .lead-article .article-image {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .blog-layout-wrapper {
        flex-direction: column;
    }
    
    .sidebar-right {
        width: 100%;
        order: 2;
    }
    .main-column {
        order: 1; /* Artykuł na początku */
      }
    .article-link {
        flex-direction: column;
    }
    
    .article-image,
    .lead-article .article-image {
        width: 100%;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .article-footer {
        padding: 0 1rem 1rem;
    }
}


h2.hero-title-art {
  font-size: 38px;
  text-align: left;
}
.hero-title-art {
  color: #1A1A1A;
  font-size: 60px;
  display: block;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.back-to-top-link:hover, .back-to-top-link:focus {
  
  background-color:#f2f2f2 !important;
 
}

.footer .grid-child {
  padding: 1rem .5em;
}

/* Responsywność */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0;
    }

    .footer-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo-wrapper {
        gap: 12px;
    }

    .footer-logo {
        width: 250px;  /* Większe logo na mobile */
        height: 80px;
        object-fit: contain;
    }

    .footer-brand-name {
        font-size: 1rem;
		color: #1A1A1A;
    }

    .footer-partner-logo {
        max-width: 140px;
    }
}


.footer-fb-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.fb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.footer-fb-link:hover,
.footer-fb-link:focus {
    color: #ffffff;
}

.footer-fb-link:focus {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

.footer-col-4 {
    padding: 0 20px;
}

/* Lub możesz użyć tylko dla środkowej i prawej kolumny */
.footer-col-4:not(:first-child) {
    padding-left: 30px;
}

.site-footer {
    
    color: #ffffff;
    padding: 25px 0 0;
    
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
   
    margin-bottom: 25px;
}

.footer-col-4 {
    /* Każda kolumna zajmuje 1/3 szerokości */
}

/* Kolumna 1: Logo, nazwa, opis i Facebook */
.footer-logo-wrapper {
    display: flex;
    flex-direction: column;  /* Logo nad nazwą */
    align-items: flex-start; /* Wyrównanie do lewej (było: center) */
   
   
}

.footer-logo {
    width: 225px;
    height: 80px;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #1A1A1A;
    line-height: 1.3;
    text-align: left;  /* Tekst do lewej */
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #5E5E5E;
    margin: 0 0 20px 0;
}

.footer-fb-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-fb-link:hover,
.footer-fb-link:focus {
    color: #ffffff;
    transform: scale(1.1);
}

.footer-fb-link:focus {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Kolumna 2: Menu */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #1A1A1A !important;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-link:hover,
.footer-link:focus {
    color: #ffffff;
    text-decoration: underline;
}

.footer-link:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Kolumna 3 - Kontakt i logo OPS */
.footer-col-4:last-of-type {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 280px;
}

.footer-contact {
    font-style: normal;
    margin-bottom: auto;
}

.contact-item {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #5E5E5E;
  font-size: 0.9rem;
}

.contact-label {
    display: block;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.contact-item a.footer-link {
    color: rgba(255, 255, 255, 0.85);
    word-break: break-word;
}

/* Logo OPS w prawym dolnym rogu */
.footer-partner-box {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.footer-partner-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-partner-link:hover,
.footer-partner-link:focus {
    opacity: 0.8;
}

.footer-partner-link:focus {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
    border-radius: 4px;
}

.footer-partner-logo {
    max-width: 140px;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-col-4:last-of-type {
        min-height: auto;
    }
    
    .footer-partner-box {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .footer-partner-logo {
        max-width: 120px;
    }
}
/* Dolna belka - pełna szerokość */
.footer-bottom {
    border-top: 1px solid #5E5E5E;
    padding: 20px 0;
    text-align: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #5E5E5E;
    margin: 0;
}

/* Responsywność */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 0;
    }

    .footer-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo-wrapper {
        gap: 12px;
    }

   

    .footer-brand-name {
        font-size: 1rem;
    }

    .footer-partner-logo {
        max-width: 140px;
    }
}

/* Wysoki kontrast dla WCAG */
@media (prefers-contrast: high) {
    .site-footer {
        background: #000000;
    }
    
    .footer-link,
    .footer-description,
    .footer-copyright,
    .footer-fb-link {
        color: #ffffff;
    }
}

.category-blog-container .read-more-link {
   display: inline-block;
  padding: 15px 40px;
  background-color: #840837;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.container-banner {
  margin: 0 !important;
 
}

.read-more-link:hover {
  color: white !important;
  text-decoration: underline;
}

.read-more-link {
display: inline-block;
  padding: 15px 40px;
  background-color: #840837;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 20px;
  transition: background-color 0.3s ease;
 
}

.article-content {
  
  flex-direction: column;
}

.article-title {
  margin-bottom: 0.5rem;
}

.article-date {
  display: block;
  padding-left: 15px;
  border-left: 3px solid #840837;
  font-size: 0.9rem;
  color: #666;
  margin: 12px 0;
 
}
.article-date:hover {
 text-decoration: none !important;
}
.header-btn {
  display: block;
  margin-top: auto;
}

.article-date,
.header-btn {
  display: block;
  /* inne wspólne style */
}

h2.hero-title {
    font-size: 38px;
    text-align: center;
}

.hero-text {
  color: #450b78;
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 15px;
  font-weight: normal;
}

.hero-title {
  color: #450b78;
  font-size: 60px;
  display: block;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.header-btn {
  font-family: "DM Sans",sans-serif;
  border: none;
  padding: 13px 32px !important;
  text-transform: capitalize !important;
  cursor: pointer;
  color: #fff !important;
  display: inline-block !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  b
  border-radius: 30px;
}
.header-btn a:hover {
  text-decoration:underline;
  background: #840837;
   color: #fff !important;
}



/* Slider area – pełna szerokość, tło, wysokość */
.slider-area { position: relative; }

.single-sliders {
  position: relative;
  display: flex;
  align-items: center;
  /* overlay poprawiający kontrast (WCAG 2.2) */
  isolation: isolate;
}
.single-sliders::before {
  content: "";
  position: absolute;
  inset: 0;
  
  z-index: -1;
}

/* wysokość „baneru” – dostosuj */
.slider-height2 { min-height: 320px; }
@media (max-width: 640px) { .slider-height2 { min-height: 220px; } }

/* TŁO: podmień ścieżkę na swoją grafikę */
.slider-bg2 {
  background-image: url("/images/tlo-top.png"); /* <- PODMIEŃ */
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background: #f4feff;
 
}

/* Utility z twojego HTML (jeśli nie używasz bootstrapa) */
.d-flex { display: flex; }
.align-items-center { align-items: center; }

/* Teksty na banerze – czytelność na zdjęciu */
.hero-caption h2,
.hero-caption p { color: #fff; }
.hero-caption h2 { margin: 0 0 .25rem; font-weight: 700; }
.hero-caption p { margin: 0; max-width: 52ch; }
/* 2) Pasek nawigacji też bez tła/cienia */
.container-header .container-nav,
#main-navigation.mod-menu.nav.navbar-nav {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* 3) Dropdowny – jeśli mają swoje tło, też je zdejmij/rozjaśnij */
#main-navigation .mod-menu__sub {
  background: rgba(255,255,255,0.0) !important; /* totalna przezroczystość */
  border: 0 !important;
  box-shadow: none !important;
}

/* 4) (Opcjonalnie) tylko na stronie głównej
   Jeśli chcesz, by przezroczysty był TYLKO na Home, użyj tego zamiast reguł powyżej: */
/*
.itemid-101 .header.container-header,
.itemid-101 .container-header,
.itemid-101 .container-header.full-width,
.itemid-101 .container-header .container-nav,
.itemid-101 #main-navigation.mod-menu.nav.navbar-nav,
.itemid-101 #main-navigation .mod-menu__sub {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
*/

/* 5) (Opcjonalnie) lepsza czytelność linków na tle zdjęcia */
.header.container-header a,
#main-navigation .nav-item a {
  color: #ffffff ;           /* białe linki */
 
}
#main-navigation .nav-item a:hover,
#main-navigation .nav-item a:focus {
  color: #1A1A1A !important;
 
  outline-offset: 2px;
  background: transparent !important;
  border-color: transparent !important;
}

/* 6) (Opcjonalnie) delikatne rozmycie tła pod menu (jeśli chcesz półprzezroczyste, nie całkiem transparent) */
/*
.header.container-header {
  background: rgba(255,255,255,0.1) !important;
  backdrop-filter: blur(8px);
}
*/




/* Layout 2-kolumnowy - artykuł + sidebar */
.article-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.main-column {
    min-width: 0;
}

.sidebar-right {
    align-self: start;
}

/* Sidebar box w stylu article-simple */
.sidebar-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid #840837;
   margin-top: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
    color: #1A1A1A;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f8f9fa;
}

.sidebar-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-content li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0e9ff;
}

.sidebar-content li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-content a {
    color: #1A1A1A;
    text-decoration: none;
    line-height: 1.5;
    display: block;
}

.sidebar-content a:hover {
    color: #9a0046;
    text-decoration: underline;
}

.sidebar-content a:focus-visible {
    outline: 2px solid #830e33;
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 992px) {
    .article-with-sidebar {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   ARTICLE SIMPLE - SYSTEM KOMPONENTÓW
   Minimalistyczny layout artykułu z wariantami
   ===================================================== */

/* ===== BASE ARTICLE SIMPLE ===== */

.com-content-article .article-simple {
    max-width: 1200px;
  
    padding: 2.5rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid #840837;
    
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.com-content-article .article-simple header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.com-content-article .article-simple h1 {
    color: #1A1A1A;
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: 600;
}

.com-content-article .article-simple .meta-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.com-content-article .article-simple .meta-info time {
    border-left: 3px solid #840837;
    color: #1A1A1A;
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}

.com-content-article .article-simple .content {
    line-height: 1.8;
    color: #2c3e50;
   
}

.com-content-article .article-simple .content p {
    margin-bottom: 1rem;
}

.com-content-article .article-simple .content h2 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.com-content-article .article-simple .content h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.com-content-article .article-simple .content ul,
.com-content-article .article-simple .content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.com-content-article .article-simple .content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.com-content-article .article-simple .content a {
    color: #830e33;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.com-content-article .article-simple .content a:hover {
    color: #9a0046;
}

.com-content-article .article-simple .content a:focus-visible {
    outline: 2px solid #830e33;
    outline-offset: 2px;
    border-radius: 2px;
}

.com-content-article .article-simple .content strong {
    font-weight: 600;
    color: #2c3e50;
}

.com-content-article .article-simple .content blockquote {
    border-left: 4px solid #e9ecef;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}


/* ===== WARIANTY KOLORÓW ===== */

/* Niebieski */
.com-content-article .article-simple.blue {
    border-left-color: #3498db;
}

.com-content-article .article-simple.blue .content a {
    color: #3498db;
}

.com-content-article .article-simple.blue .content a:hover {
    color: #2980b9;
}

/* Zielony */
.com-content-article .article-simple.green {
    border-left-color: #27ae60;
}

.com-content-article .article-simple.green .content a {
    color: #27ae60;
}

.com-content-article .article-simple.green .content a:hover {
    color: #229954;
}

/* Fioletowy */
.com-content-article .article-simple.purple {
    border-left-color: #9b59b6;
}

.com-content-article .article-simple.purple .content a {
    color: #9b59b6;
}

.com-content-article .article-simple.purple .content a:hover {
    color: #8e44ad;
}

/* Pomarańczowy */
.com-content-article .article-simple.orange {
    border-left-color: #f39c12;
}

.com-content-article .article-simple.orange .content a {
    color: #f39c12;
}

.com-content-article .article-simple.orange .content a:hover {
    color: #e67e22;
}

/* Czerwony */
.com-content-article .article-simple.red {
    border-left-color: #e74c3c;
}

.com-content-article .article-simple.red .content a {
    color: #e74c3c;
}

.com-content-article .article-simple.red .content a:hover {
    color: #c0392b;
}


/* ===== DODATKOWE ELEMENTY ===== */

/* Kategoria/Tag */
.com-content-article .article-simple .meta-info .category,
.com-content-article .article-simple .meta-info .tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Autor */
.com-content-article .article-simple .meta-info .author {
    color: #6c757d;
    font-size: 0.9rem;
}

.com-content-article .article-simple .meta-info .author::before {
    content: "•";
    margin-right: 0.5rem;
    opacity: 0.5;
}

/* Separator w meta */
.com-content-article .article-simple .meta-info .separator {
    color: #dee2e6;
    font-weight: 300;
}


/* ===== OBRAZKI W ARTYKULE ===== */

.com-content-article .article-simple .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.com-content-article .article-simple .content figure {
    margin: 1.5rem 0;
}

.com-content-article .article-simple .content figcaption {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
    text-align: center;
    font-style: italic;
}


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

@media (max-width: 768px) {
    .com-content-article .article-simple {
        margin: 1rem;
        padding: 1.5rem;
    }

    .com-content-article .article-simple h1 {
        font-size: 1.5rem;
    }

    .com-content-article .article-simple .content h2 {
        font-size: 1.3rem;
    }

    .com-content-article .article-simple .content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .com-content-article .article-simple {
        padding: 1rem;
        border-left-width: 3px;
    }

    .com-content-article .article-simple h1 {
        font-size: 1.3rem;
    }
}


/* ===== WCAG 2.2 ACCESSIBILITY ===== */

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .com-content-article .article-simple {
        border: 2px solid #000;
        border-left-width: 4px;
    }

    .com-content-article .article-simple .content a {
        font-weight: 600;
        text-decoration: underline;
        text-decoration-thickness: 2px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .com-content-article .article-simple {
        transition: none;
    }
}

/* Focus Visible */
.com-content-article .article-simple .content *:focus-visible {
    outline: 2px solid #830e33;
    outline-offset: 2px;
}


/* ===== PRINT STYLES ===== */

@media print {
    .com-content-article .article-simple {
        border: 1px solid #000;
        box-shadow: none;
        page-break-inside: avoid;
    }

    .com-content-article .article-simple .meta-info time {
        background: none;
        border: 1px solid #000;
    }
}

/* Meta info w article-box */
.com-content-article .article-box .article-meta {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.com-content-article .article-box .article-date {
    background: #e9ecef;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #6c757d;
    display: inline-block;
}

/* ===== ARTICLE-BOX - Styl info-box z tekstem do lewej ===== */

.com-content-article .article-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #840837;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.com-content-article .article-box h2,
.com-content-article .article-box h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 1.3rem;
    font-weight: 600;
}

.com-content-article .article-box p {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.6;
    font-size: 1rem;
}

.com-content-article .article-box ul,
.com-content-article .article-box ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    text-align: left;
}

.com-content-article .article-box li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    text-align: left;
}

.com-content-article .article-box strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Linki w article-box */
.com-content-article .article-box a {
    color: #450b78;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.com-content-article .article-box a:hover {
    color: #9a0046;
    text-decoration: underline;
}

.com-content-article .article-box a:focus-visible {
    outline: 2px solid #830e33;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Warianty kolorów article-box */
.com-content-article .article-box.blue {
    border-left-color: #3498db;
}

.com-content-article .article-box.green {
    border-left-color: #27ae60;
}

.com-content-article .article-box.purple {
    border-left-color: #9b59b6;
}

.com-content-article .article-box.orange {
    border-left-color: #f39c12;
}

/* WCAG 2.2 - kontrast i czcionki */
.com-content-article .article-box {
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .com-content-article .article-box {
        padding: 1rem;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .com-content-article .article-box {
        border: 2px solid #000;
    }
}

/* ===== JAK ZOSTAĆ UCZESTNIKIEM - STYLE ===== */

/* Table of contents */
.com-content-article .table-of-contents {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #840837;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.com-content-article .table-of-contents h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.com-content-article .table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.com-content-article .table-of-contents li {
    margin-bottom: 0.5rem;
}

.com-content-article .table-of-contents a {
    color: #450b78;
    text-decoration: none;
    padding: 0.5rem;
    display: block;
    border-radius: 6px;
    transition: all 0.15s;
}

.com-content-article .table-of-contents a:hover {
    background: #f8f9fa;
    padding-left: 1rem;
  outline: 3px solid #000 !important;
}

.com-content-article .table-of-contents a:focus-visible {
    outline: 2px solid #830e33;
    outline-offset: 3px;
}

/* Participation sections - styl jak zajęcia z kolorami */
.com-content-article .participation-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid;
    transition: transform 0.3s;
}

.com-content-article .participation-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Kolorowe bordery dla różnych sekcji */
.com-content-article #procedura-przyjecia {
    border-left-color: #3498db;
}

.com-content-article #zajecia-oczekujacy {
    border-left-color: #27ae60;
}

.com-content-article #zajecia-byli-uczestnicy {
    border-left-color: #9b59b6;
}

/* Procedure steps */
.com-content-article .procedure-steps {
    padding-left: 1.5rem;
    line-height: 1.8;
}

.com-content-article .procedure-steps li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

/* Details grid - jak w zajęciach */
.com-content-article .details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.com-content-article .detail-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid;
    transition: all 0.2s;
}

/* Kolorowe bordery dla detail-item według rodzica */
#procedura-przyjecia .detail-item {
    border-left-color: #3498db;
}

#zajecia-oczekujacy .detail-item {
    border-left-color: #27ae60;
}

#zajecia-byli-uczestnicy .detail-item {
    border-left-color: #9b59b6;
}

.com-content-article .detail-item:hover {
    background: #fff;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.com-content-article .detail-item h3 {
    color: #450b78 !important;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Important info highlight */
.com-content-article .detail-item.important-info {
    background: #fff3cd;
    border-left-color: #f39c12;
}

/* Cost info */
.com-content-article .cost-info {
    background: #d4edda;
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid #27ae60;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .com-content-article .details-grid {
        grid-template-columns: 1fr;
    }
}      


	  .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            background: #ffffff;
            border-radius: 20px;
            padding: 40px;
            padding-bottom: 30px;
            box-shadow: 0;
            text-align: center;
        }

        .header h1 {
            color: #830e33;
            font-size: 2.5em;
            margin-bottom: 15px;
        }

        .header p {
            font-size: 1.1em;
            color: #666;
            margin-bottom: 10px;
        }

        .mission-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 50px;
          margin-top: 50px;
        }

        .card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

     

        .icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #830e33 0%, #a8194d 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5em;
        }

        .activities {
            background: white;
            border-radius: 15px;
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .activities h2 {
            color: #450b78;
            margin-bottom: 25px;
            text-align: center;
            font-size: 2em;
        }

        .activity-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
          margin-top: 50px;
  margin-bottom: 50px;
        }

        .activity-item {
           
            padding: 25px;
            border-radius: 12px;
            border-left: 4px solid  #840837;
            transition: all 0.3s ease;
        }

        .activity-item:hover {
            border-left-width: 8px;
            transform: translateX(5px);
        }

        .activity-item h3 {
            color: #450b78;
            margin-bottom: 10px;
            font-size: 1.1em;
        }

        .activity-item p {
            color: #555;
            font-size: 0.95em;
        }

        .process {
            background: white;
            border-radius: 15px;
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .process h2 {
            
            margin-bottom: 30px;
            text-align: center;
            font-size: 2em;
        }

        .timeline {
            position: relative;
            padding: 20px 0;
        }

        .timeline-item {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
            position: relative;
        }

        .timeline-dot {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #830e33 0%, #a8194d 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            flex-shrink: 0;
            margin-right: 20px;
           
        }

        .timeline-content {
            flex: 1;
            background: #fbf9ff;
            padding: 20px;
            border-radius: 10px;
        }

        .timeline-content h3 {
            color: #450b78;
            margin-bottom: 8px;
        }

        .footer {
            background: white;
            margin-top: 0px !important;
            padding: 30px;
            
           }

        .footer h3 {
            color: #830e33;
            margin-bottom: 15px;
            font-size: 1.5em;
        }

        .partners {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }

        .partner-tag {
            background: linear-gradient(135deg, #830e33 0%, #a8194d 100%);
            color: white;
            padding: 10px 20px;
            border-radius: 20px;
            font-size: 0.9em;
        }

   .stats-section {
  
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 60px 0;
    background: #f8f9fa;  /* Dodaj tło aby było widać pełną szerokość */
    position: relative;
    box-sizing: border-box;
}

.stats-section .hero-title {
    text-align: center;
    margin-bottom: 40px;
    color: #450b78;
    font-weight: 600;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #450b78;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}
   /* Content sections */
        .content-section {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 12px;
            margin: 2rem 0;
            border-left: 4px solid #840837;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .content-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .content-item {
            background: #ffffff;
            padding: 2rem;
            border-radius: 8px;
            border-left: 3px solid #840837;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .content-item h3 {
            margin-top: 0;
            color: #450b78;
            font-size: 20px;
        }

        /* Lists - WCAG 1.3.1 */
        .services-list {
            margin: 2rem 0;
        }

        .services-list ul {
            list-style: none;
            padding: 0;
            margin: 1rem 0;
        }

        .services-list li {
            padding: 1rem;
            margin-bottom: 0.5rem;
            background: #ffffff;
            border-radius: 6px;
            border-left: 3px solid #840837;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        /* Ikona ukryta dla screen readerów - tylko CSS */
        .services-list li::before {
            content: "✓";
            color: #450b78;
            font-weight: bold;
            font-size: 18px;
            margin-right: 0.5rem;
            position: absolute;
            left: 0.5rem;
        }

        .services-list li .service-content {
            margin-left: 1.5rem;
        }

        /* Quick facts - WCAG 1.4.3 kontrast */
        .quick-facts {
            background: linear-gradient(135deg, #bc0055 0%, #9a0046 100%);
            color: #ffffff;
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            margin: 2rem 0;
        }

        .quick-facts h3 {
            color: #ffffff;
            margin-bottom: 1.5rem;
        }

        .facts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 1.5rem;
            margin-top: 1rem;
        }

        .fact-item {
            background: rgba(255, 255, 255, 0.1);
            padding: 1.5rem;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            min-height: 44px; /* WCAG 2.5.5 */
        }

        .fact-number {
            font-size: 2.5rem;
            font-weight: bold;
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        .fact-label {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        /* Focus indicators - WCAG 2.4.7 */
        .content-item:focus-within,
        .fact-item:focus-within,
        .services-list li:focus-within {
            outline: 2px solid #840837;
            outline-offset: 2px;
        }

        .content-item:focus,
        .fact-item:focus {
            outline: 2px solid #840837;
            outline-offset: 2px;
        }

        /* High contrast - WCAG 1.4.6 */
        @media (prefers-contrast: high) {
            .content-section,
            .content-item,
            .services-list li {
                border: 2px solid #000000;
            }

            .quick-facts {
                border: 2px solid #ffffff;
            }

            .fact-item {
                border: 2px solid rgba(255, 255, 255, 0.8);
            }

            .services-list li::before {
                font-weight: 900;
            }
        }

        /* Reduced motion - WCAG 2.3.3 */
        @media (prefers-reduced-motion: reduce) {
            * {
                transition: none !important;
                animation: none !important;
            }
        }

        /* Responsive - WCAG 1.4.10 */
        @media (max-width: 768px) {
            body {
                
                font-size: 16px;
            }

            .content-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .content-item,
            .content-section {
                padding: 1.5rem;
            }

            h1 {
                font-size: 28px;
            }

            h2 {
                font-size: 24px;
            }

            h3 {
                font-size: 20px;
            }

            .fact-number {
                font-size: 2rem;
            }

            .services-list li .service-content {
                margin-left: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            body {
                font-size: 16px; /* Zapobiega zoom na iOS */
            }

            .facts-grid {
                grid-template-columns: 1fr;
            }

            .content-item {
                padding: 1rem;
            }

            .services-list li {
                padding: 0.75rem 0.75rem 0.75rem 2rem;
            }

            .services-list li .service-content {
                margin-left: 0;
            }
        }

        /* Print styles */
        @media print {
            .skip-link,
            .quick-facts {
                display: none;
            }

            .content-section,
            .content-item {
                break-inside: avoid;
                box-shadow: none;
                border: 1px solid #000;
            }
		}
/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000000;
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 9999;
    border-radius: 4px;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Blog container */
.category-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Category header - spójny z resztą strony */
.category-blog-container .category-header {
    background: #fff;
    color: #2c3e50;
    border-radius: 12px;
    border-left: 6px solid #840837;
    box-shadow: 0 4px 12px rgba(188, 0, 85, 0.1);
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.category-blog-container .page-heading,
.category-blog-container .category-title {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
}

/* Category description */
.category-blog-container .category-desc {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #840837;
}

.category-blog-container .category-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
}

.category-blog-container .category-image {
    text-align: center;
    margin-bottom: 1rem;
}

.category-blog-container .category-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Articles section */
.category-blog-container .articles-section {
    margin-bottom: 3rem;
}

.category-blog-container .section-heading {
    color: #450b78;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #840837;
    font-size: 1.8rem;
    text-align: center;
}

/* Articles grid */
.category-blog-container .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Article cards - styl marki */
.category-blog-container .article-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #840837;
    display: flex;
    flex-direction: column;
}

.category-blog-container .article-card:hover,
.category-blog-container .article-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-blog-container .article-card:focus {
    outline: 2px solid #840837;
    outline-offset: 2px;
}

.category-blog-container .article-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
}

.category-blog-container .article-link:focus {
    outline: none;
    color: inherit;
    text-decoration: none;
}

.category-blog-container .article-link:hover {
    color: inherit;
    text-decoration: none;
}

/* Article images */
.category-blog-container .article-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
  
}

.category-blog-container .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Article content */
.category-blog-container .article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-blog-container .article-title {
    color: #450b78 !important;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 600;
    flex: 1;
}

.category-blog-container .article-date {
    background-color: #f8f9fa;
    padding: 0.5rem 0.75rem;
 
    font-size: 0.9rem;
    border: 1px solid rgba(188, 0, 85, 0.1);
    color: #6c757d;
    display: inline-block;
    margin-top: auto;
  border-left: 3px solid #840837;
}

/* Article footer z przyciskiem */
.category-blog-container .article-footer {
    padding: 0 1.5rem 1.5rem;
}



.category-blog-container .read-more-link:hover,
.category-blog-container .read-more-link:focus {
   
    border-color: #450b78;
    color: #ffffff !important;
   
    outline: 2px solid #450b78;
    outline-offset: 2px;
    transform: translateY(-1px);
   
}

.category-blog-container .read-more-link:visited {
    color: #ffffff !important;
}

/* No articles */
.category-blog-container .no-articles {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #840837;
}

.category-blog-container .no-articles h2 {
    color: #450b78;
    margin-bottom: 1rem;
}

.category-blog-container .alert {
    background-color: #e7f3ff;
    border: 1px solid rgba(188, 0, 85, 0.2);
    color: #495057;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.category-blog-container .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #6c757d;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    min-height: 44px;
    border: 2px solid #6c757d;
}

.category-blog-container .btn-secondary:hover,
.category-blog-container .btn-secondary:focus {
    background-color: #5a6268;
    border-color: #5a6268;
    color: #ffffff !important;
    text-decoration: none !important;
    outline: 2px solid #6c757d;
    outline-offset: 2px;
}

/* Subcategories */
.category-blog-container .subcategories {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #840837;
}

.category-blog-container .cat-children {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/* Link articles */
.category-blog-container .link-articles {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #6c757d;
}

.category-blog-container .items-more {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-blog-container .items-more a {
    color: #450b78 !important;
    text-decoration: none !important;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid rgba(188, 0, 85, 0.2);
    transition: all 0.2s ease;
    font-weight: 500;
}

.category-blog-container .items-more a:hover,
.category-blog-container .items-more a:focus {
    background-color: #840837;
    color: #ffffff !important;
    text-decoration: none !important;
    outline: 2px solid #840837;
    outline-offset: 2px;
}

/* ---------------------------------------
   PAGINATION — WERSJA POSPRZĄTANA
----------------------------------------*/
/* ===== Pagination – layout i wygląd ===== */
/* ===== Wyśrodkowanie wrappera ===== */
.category-blog-container .pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* elementy w kolumnie */
  text-align: center;
}

/* ===== Wyśrodkowanie listy przycisków ===== */
.category-blog-container .pagination-links {
  width: 100%;
  display: flex;
  justify-content: center;
}

.category-blog-container .pagination-links .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}



.category-blog-container .pagination-wrapper {
  margin-top: 3rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-left: 4px solid #840837;
  text-align: center;
}

.category-blog-container .pagination-counter {
  margin-bottom: 1rem;
  color: #6c757d;
  font-size: 0.9rem;
}

.category-blog-container .pagination-links .pagination {
  display: flex;
  flex-wrap: wrap; /* jak chcesz zawsze w jednym rzędzie: zmień na nowrap */
  justify-content: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-blog-container .pagination .page-item {
  list-style: none;
}

.category-blog-container .pagination .page-link {
  display: inline-block;
  color: #450b78 !important;
  border-color: rgba(188, 0, 85, 0.2);
  padding: 0.75rem 1rem;
  margin: 0 0.25rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none !important;
  background-color: #ffffff;
}

.category-blog-container .pagination .page-link:hover,
.category-blog-container .pagination .page-link:focus {
  background-color: #840837;
  color: #ffffff !important;
  border-color: #840837;
  outline: 2px solid #840837;
  outline-offset: 2px;
  text-decoration: none !important;
}

.category-blog-container .pagination .page-item.active .page-link {
  background-color: #840837;
  border-color: #840837;
  color: #ffffff !important;
}

/* ===== Fallback dla ikon – zamiast „iksy” wstawiamy strzałki ===== */

.category-blog-container .pagination .icon-angle-right::before {
  content: "›" !important;
  font-family: inherit !important;
}

.category-blog-container .pagination .icon-angle-double-right::before {
  content: "»" !important;
  font-family: inherit !important;
}

.category-blog-container .pagination .icon-angle-left::before {
  content: "‹" !important;
  font-family: inherit !important;
}

.category-blog-container .pagination .icon-angle-double-left::before {
  content: "«" !important;
  font-family: inherit !important;
}

/* Create article button */
.category-blog-container .create-article {
    text-align: center;
    margin: 2rem 0;
}

.category-blog-container .create-article a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #840837;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease;
    border: 2px solid #840837;
}

.category-blog-container .create-article a:hover,
.category-blog-container .create-article a:focus {
    background-color: #9a0046;
    border-color: #9a0046;
    color: #ffffff !important;
    text-decoration: none !important;
    outline: 2px solid #840837;
    outline-offset: 2px;
}

/* Responsywność */
@media (max-width: 768px) {
    .category-blog-container {
        padding: 0.5rem;
    }
    
    .category-blog-container .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-blog-container .page-heading,
    .category-blog-container .category-title {
        font-size: 2rem !important;
    }
    
    .category-blog-container .category-header {
        padding: 1.5rem;
    }
    
    .category-blog-container .article-content {
        padding: 1rem;
    }
    
    .category-blog-container .article-footer {
        padding: 0 1rem 1rem;
    }
    
    .category-blog-container .section-heading {
        font-size: 1.5rem;
    }
    
    .category-blog-container .read-more-link {
        width: 60%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .category-blog-container .category-header {
        padding: 1rem;
    }
    
    .category-blog-container .article-title {
        font-size: 1.1rem;
    }
    
    .category-blog-container .cat-children {
        grid-template-columns: 1fr;
    }
    
    .category-blog-container .read-more-link {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
}

/* High contrast */
@media (prefers-contrast: high) {
    .category-blog-container .article-card {
        border: 2px solid #000000;
    }
    
    .category-blog-container .category-header {
        border: 2px solid #000000;
    }
    
    .category-blog-container .read-more-link {
        border: 2px solid #840837;
        font-weight: bold;
    }
    
    .category-blog-container .pagination .page-link {
        border: 2px solid #840837;
        font-weight: bold;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .category-blog-container .article-card,
    .category-blog-container .read-more-link {
        transition: none !important;
    }
    
    .category-blog-container .article-card:hover {
        transform: none !important;
    }
    
    .category-blog-container .read-more-link:hover {
        transform: none !important;
    }
}

/* Print styles */
@media print {
    .category-blog-container .read-more-link,
    .category-blog-container .pagination-wrapper {
        display: none !important;
    }
    
    .category-blog-container .article-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}
/* Articles section */
.articles-section {
    margin-bottom: 3rem;
}

.section-heading {
    color: #005fcc;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #005fcc;
    font-size: 1.8rem;
    text-align: center;
}

/* Articles grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5rem;
  max-width: 1200px;
  
}

/* Article cards */


.article-card:hover,
.article-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.article-card:focus {
    outline: 2px solid #840837;
    outline-offset: 2px;
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
    
}

.article-link:focus {
    outline: none;
    color: inherit;
    text-decoration: none;
}

/* Article images */
.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Article content */
.article-content {
    padding: 1.5rem;
}

.article-title {
    color: #450b78 !important;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 600;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.article-meta > * {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-date,
.article-author,
.article-category {
   font-size: 0.9rem;
  color: #450b78;
  background: #f8f9fa;
  padding: 0.25rem 0.75rem;
  
}

.article-intro {
 font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #2c3e50;
}

.read-more-text {
    color: #450b78;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid rgba(188, 0, 85, 0.2);
}

/* No articles state */
.no-articles {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #840837;
}

.no-articles h2 {
    color: #450b78;
    margin-bottom: 1rem;
}

/* Pagination wrapper */
.pagination-wrapper {
    margin-top: 3rem;
    text-align: center;
    background-color: #f8f9fa;
    padding: 1.5rem;
  
    border-left: 4px solid #840837;
}

.pagination-wrapper .pagination {
    justify-content: center;
    margin: 0;
}

.pagination-wrapper .page-link {
    color: #450b78;
    border-color: rgba(188, 0, 85, 0.2);
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 6px;
    font-weight: 500;
}

.pagination-wrapper .page-link:hover,
.pagination-wrapper .page-link:focus {
    background-color: #840837;
    color: #ffffff;
    border-color: #840837;
    outline: 2px solid #840837;
    outline-offset: 2px;
}

.pagination-wrapper .page-item.active .page-link {
    background-color: #840837;
    border-color: #840837;
    color: #ffffff;
}

/* Category filters */
.category-filters {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #840837;
}

.category-filters .form-control {
    border-color: rgba(188, 0, 85, 0.2);
    border-radius: 6px;
    padding: 0.75rem;
}

.category-filters .form-control:focus {
    border-color: #840837;
    box-shadow: 0 0 0 0.2rem rgba(188, 0, 85, 0.25);
}

/* Responsywność dla kategorii */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-title {
        font-size: 2rem !important;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .category-header {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog.category-list,
    .blog.category-blog {
        padding: 0.5rem;
    }
    
    .category-header {
        padding: 1rem;
    }
    
    .article-title {
        font-size: 1.1rem;
    }
}

/* High contrast dla kategorii */
@media (prefers-contrast: high) {
    .article-card {
        border: 2px solid #000000;
    }
    
    .category-header {
        border: 2px solid #000000;
    }
    
    .pagination-wrapper .page-link {
        border: 2px solid #840837;
        font-weight: bold;
    }
}

/* Reduced motion dla kategorii */
@media (prefers-reduced-motion: reduce) {
    .article-card {
        transition: none !important;
    }
    
    .article-card:hover {
        transform: none !important;
    }
}

/* ===== INTEGRACJA Z ISTNIEJĄCYMI STYLAMI ===== */

/* Zapewnienie, że artykuły w kategoriach używają tych samych kolorów co reszta strony */
.article-card .article-title,
.article-card .read-more-text {
    color: #1A1A1A !important;
}

.article-card:hover .article-title,
.article-card:focus-within .article-title {
    color: #840837 !important;
}

/* Breadcrumbs dla kategorii */
.blog .mod-breadcrumbs__wrapper {
    margin-bottom: 2rem;
}

/* Dostosowanie do istniejących btn-primary */
.no-articles .btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #e9ecef;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
    min-height: 44px;
    font-size: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    justify-content: center;
    min-width: 200px;
    margin: 0 auto;
}

.no-articles .btn-secondary:hover,
.no-articles .btn-secondary:focus {
    background-color: #840837;
    color: white !important;
    border-color: #840837;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    outline: none;
}


/* Sekcje */
.participation-section {
    margin-bottom: 3rem;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
}

.participation-section h2 {
    color: #450b78;
   
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Procedura - lista numerowana */
.procedure-steps {
    padding-left: 1.5rem;
    line-height: 1.6;
}

.procedure-steps li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

/* Siatka szczegółów */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.detail-item {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #005fcc;
}

.detail-item h3 {
    color: #005fcc;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Wyróżnienie ważnych informacji */
.important-info {
    background-color: #fff3cd;
    border-left-color: #ff6b35;
}

.cost-info {
    font-size: 1.1rem;
    color: #450b78;
    background-color: #e7f3ff;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #005fcc;
}

/* Responsywność */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .participation-section {
        padding: 1rem;
    }
}

ul.fields-container {
    padding-left: 0 !important;
    list-style: none;
}

/* ===== PRZYCISKI CTA - STYL JAK DOKUMENTY ===== */

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #e9ecef;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
    min-height: 44px;
    font-size: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    justify-content: center;
    min-width: 200px;
}

.btn-primary:hover {
    background-color: #840837;
    color: white !important;
    border-color: #840837;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.btn-primary:focus {
    outline: none;
    border-color: #840837;
    box-shadow: 0 0 0 3px rgba(188, 0, 85, 0.1);
    background-color: #840837;
    color: white !important;
}

.btn-primary:hover .btn-icon,
.btn-primary:hover span {
    color: white !important;
}

.btn-primary:focus .btn-icon,
.btn-primary:focus span {
    color: white !important;
}

.btn-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
    border-left: 4px solid #840837;
}

.contact-cta p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Breadcrumbs w stylu info-box */
.mod-breadcrumbs__wrapper {
    margin: 1rem 0 2rem 0;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid #840837;
    border-radius: 12px;
   
    overflow: hidden;
}

.mod-breadcrumbs {
    background: #f8f9fa;
    margin: 0;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.mod-breadcrumbs__here {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
    float: none !important;
}

.mod-breadcrumbs__item {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
    content: "›";
    color: #450b78;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0 0.5rem;
    opacity: 0.7;
}

.mod-breadcrumbs__item .pathway {
    color: #450b78;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.15s ease-in-out;
    font-weight: 500;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.mod-breadcrumbs__item .pathway:hover {
    background-color: rgba(188, 0, 85, 0.1);
    color: #9a0046;
    text-decoration: none;
    transform: translateY(-1px);
}

.mod-breadcrumbs__item .pathway:focus {
    outline: none;
    background-color: rgba(188, 0, 85, 0.15);
    box-shadow: 0 0 0 2px rgba(188, 0, 85, 0.2);
    color: #9a0046;
}

.mod-breadcrumbs__item.active {
    color: #495057;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background-color: rgba(188, 0, 85, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(188, 0, 85, 0.15);
}

.mod-breadcrumbs__item.active span {
    color: #450b78;
}

/* Responsywność */
@media (max-width: 768px) {
    .mod-breadcrumbs__wrapper {
        margin: 0.75rem 0 1.5rem 0;
    }
    
    .mod-breadcrumbs {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
    
    .mod-breadcrumbs__here {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
        width: 100%;
    }
    
    .mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
        margin: 0 0.25rem;
    }
}

@media (max-width: 480px) {
    .mod-breadcrumbs {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .mod-breadcrumbs__here {
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #dee2e6;
        width: 100%;
    }
    
    .mod-breadcrumbs__item {
        width: 100%;
    }
    
    .mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
        content: "↳";
        margin: 0 0.5rem 0 0;
        display: inline-block;
    }
    
    .mod-breadcrumbs__item .pathway,
    .mod-breadcrumbs__item.active {
        width: 100%;
        padding: 0.5rem 0.75rem;
        justify-content: flex-start;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .mod-breadcrumbs__wrapper {
        border: 2px solid #000;
    }
    
    .mod-breadcrumbs__item .pathway {
        border: 1px solid transparent;
    }
    
    .mod-breadcrumbs__item .pathway:hover,
    .mod-breadcrumbs__item .pathway:focus {
        border-color: #840837;
        font-weight: bold;
    }
    
    .mod-breadcrumbs__item.active {
        border: 2px solid #840837;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .mod-breadcrumbs__item .pathway {
        transition: none;
    }
    
    .mod-breadcrumbs__item .pathway:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .mod-breadcrumbs__wrapper {
        background: none !important;
        border: 1px solid #000;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .mod-breadcrumbs__item .pathway {
        color: #000 !important;
        background: none !important;
    }
    
    .mod-breadcrumbs__item.active {
        background: none !important;
        border: 1px solid #000;
    }
    
    .mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
        color: #000 !important;
    }
}

/* Focus management */
.mod-breadcrumbs__item .pathway:focus-visible {
    outline: 2px solid #840837;
    outline-offset: 2px;
}

/* Animacja pojawienia się */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mod-breadcrumbs__wrapper {
    animation: fadeInUp 0.3s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .mod-breadcrumbs__wrapper {
        animation: none;
    }
}

/* Dodatkowe style dla lepszej integracji */
.mod-breadcrumbs__item span {
    display: inline-block;
}

/* Usunięcie domyślnych Bootstrap classes conflicts */
.mod-breadcrumbs.px-3 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

.mod-breadcrumbs.py-2 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* ===== PLIKI - STYLE DOKUMENTÓW ===== */

.field-value {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lista-zalacznikow {
    display: block;
    margin: 1rem 0;
}

.file-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    color: #450b78;
    border: 1px solid #e9ecef;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
    min-height: 44px;
    font-size: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.file-link:hover {
    background-color: #840837;
    color: white;
    border-color: #840837;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.file-link:focus {
    outline: none;
    border-color: #840837;
    box-shadow: 0 0 0 3px rgba(188, 0, 85, 0.1);
    background-color: #840837;
    color: white;
}

.file-item {
    display: flex;
    align-items: center;
}

.file-item:first-child {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    justify-content: center;
    background-color: rgba(188, 0, 85, 0.08);
    border-radius: 8px;
}

.file-item:first-child i {
    font-size: 18px !important;
    color: #450b78;
}

.file-link:hover .file-item:first-child {
    background-color: rgba(255, 255, 255, 0.2);
}

.file-link:hover .file-item:first-child i {
    color: white;
}

.file-link:hover .file-item strong {
    color: white;
}

.file-link:hover .file-item:nth-child(3) {
    color: white;
}

.file-link:focus .file-item:first-child {
    background-color: rgba(255, 255, 255, 0.2);
}

.file-link:focus .file-item:first-child i {
    color: white;
}

.file-link:focus .file-item strong {
    color: white;
}

.file-link:focus .file-item:nth-child(3) {
    color: white;
}

.file-item:nth-child(2) {
    flex-grow: 1;
    min-width: 0;
}

.file-item:nth-child(2) strong {
    font-size: 1rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.file-item:nth-child(3) {
    flex-shrink: 0;
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: normal;
}

.file-ext {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== SDS UNIWERSALNE KOMPONENTY ===== */

.sds-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.sds-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: #fff;
    color: #2c3e50 !important;
    border-radius: 12px;
    border-left: 6px solid #840837;
    box-shadow: 0 4px 12px rgba(188, 0, 85, 0.1);
}

.sds-header h1,
.sds-header h2 {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
}

.sds-header p {
    font-size: 1.2rem !important;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    color: #2c3e50 !important;
}

.sds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-box {
    background: #ffffff;
    color: #2c3e50 !important;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    border-left: 4px solid #840837;
    border-right: 4px solid #840837;
}
.info-box h2 {
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
    color: #450b78 !important;
}


.info-box h3 {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    color: #450b78 !important;
}

.info-box p {
    opacity: 0.8;
    font-size: 1rem !important;
    color: #2c3e50 !important;
}

/* ===== ZAJĘCIA - KATEGORIE KOLOROWE ===== */

.zajecia-kategoria {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid;
}

.zajecia-kategoria:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.kategoria-psychologiczna { border-left-color: #3498db; }
.kategoria-tworcza { border-left-color: #e74c3c; }
.kategoria-fizyczna { border-left-color: #27ae60; }
.kategoria-spoleczna { border-left-color: #f39c12; }
.kategoria-edukacyjna { border-left-color: #9b59b6; }

.kategoria-tytul {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
}

.kategoria-ikona {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #fff;
}

.psychologiczna .kategoria-ikona { background-color: #3498db; }
.tworcza .kategoria-ikona { background-color: #e74c3c; }
.fizyczna .kategoria-ikona { background-color: #27ae60; }
.spoleczna .kategoria-ikona { background-color: #f39c12; }
.edukacyjna .kategoria-ikona { background-color: #9b59b6; }

.zajecia-lista {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.zajecie-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.zajecie-item:last-child { border-bottom: none; }

.zajecie-item:hover {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.zajecie-ikona {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.psychologiczna .zajecie-ikona { background-color: #5dade2; }
.tworcza .zajecie-ikona { background-color: #ec7063; }
.fizyczna .zajecie-ikona { background-color: #58d68d; }
.spoleczna .zajecie-ikona { background-color: #f7dc6f; }
.edukacyjna .zajecie-ikona { background-color: #bb8fce; }

.zajecie-nazwa {
    font-weight: 500 !important;
    color: #2c3e50 !important;
    margin-bottom: 0.25rem !important;
    font-size: 1rem !important;
}

.zajecie-opis {
    color: #6c757d !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

/* ===== MENU GŁÓWNE ===== */

/* Skip navigation - WCAG 2.2 */
.skip-navigation {
    position: absolute !important;
    top: -40px !important;
    left: 6px !important;
    background: #a60dcf !important;
    color: #fff !important;
    padding: 8px 12px !important;
    text-decoration: none !important;
    z-index: 9999 !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.skip-navigation:focus {
    top: 6px !important;
    outline: 3px solid #fff !important;
    outline-offset: 2px !important;
    color: #fff !important;
}

/* Header container */
.container-header,
.header .container,
[data-position="menu"] {
   
  
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #ffffff;
    border-radius: 0;
}

/* Main navigation */
#main-navigation.mod-menu.nav.navbar-nav  {
    gap: 0.25rem !important;
    align-items: center !important;
    justify-content: center !important;
    list-style: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
}
.metismenu.mod-menu .metismenu-item a {
    color: #450b78;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0.6rem 1rem !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  border: 1px solid transparent !important;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: transparent;
  margin: 0 0.25rem !important;
  display: block !important;
}
.metismenu.mod-menu {
  margin: 0;
  gap: 0.25rem !important;
  align-items: center !important;
  justify-content: center !important;
  list-style: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
}
.metismenu-item.current.active:active {


}
.container-header .mod-list li.active > a {
    border-left: 3px solid #a60dcf !important;
}

#main-navigation .nav-item a {
    color: #1A1A1A !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 0.6rem 1rem !important;
   
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    margin: 0 0.25rem !important;
    display: block !important;
}

#main-navigation .nav-item a:hover {
   
    text-decoration: underline !important;
}

#main-navigation .nav-item a:focus {
   
    text-decoration: underline !important;
}

#main-navigation .nav-item.current a,
#main-navigation .nav-item.active a,
#main-navigation .nav-item a[aria-current="page"] {
    border-left: 3px solid #840837 !important;
}

/* Dropdown menu - UKRYTE domyślnie */
#main-navigation .mod-menu__sub {
    background: #fff !important;
    border: 1px solid rgba(188, 0, 85, 0.15) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.25rem !important;
    border-top: 2px solid #a60dcf !important;
    min-width: 180px !important;
    position: absolute !important;
    z-index: 1000 !important;
    list-style: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

/* POKAŻ gdy ma klasę .open (JavaScript) */
#main-navigation .nav-item.deeper.parent.open > .mod-menu__sub {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* POKAŻ na hover (desktop) */
@media (min-width: 992px) {
    #main-navigation .nav-item.deeper:hover .mod-menu__sub {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
#main-navigation .nav-item.deeper:hover .mod-menu__sub {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#main-navigation .mod-menu__sub .nav-item a {
    color: #2c3e50 !important;
    padding: 0.5rem 1rem !important;
    font-weight: 400 !important;
    border-left: 2px solid transparent !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    font-size: 0.9rem !important;
}

#main-navigation .mod-menu__sub .nav-item a:hover {
    background: #f8f9fa !important;
    color: #450b78 !important;
    border-left-color: #a60dcf !important;
    padding-left: 1.25rem !important;
}

/* Parent dropdown arrow */
#main-navigation .nav-item.deeper.parent > a::after {
    content: "▾" !important;
    font-size: 0.6rem !important;
    margin-left: 0.4rem !important;
}

#main-navigation .nav-item.deeper.parent:hover > a::after {
    color: #450b78 !important;
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 1132px) {
.articles-grid {

  max-width: 991px;
}
}
@media (max-width: 1220px) {
.articles-grid .read-more-link {
  width: 70%;
}
}

@media (max-width: 991px) {
    /* Ukryj menu na mobile - pokaż tylko przez hamburger */
    #main-navigation.mod-menu.nav.navbar-nav {
          position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        bottom: 0 !important;
        width: 280px !important;
        background: #fff !important;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1) !important;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;  /* DODAJ TO - BEZ WRAP */
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 75px 0 0 0 !important;
        overflow-y: scroll !important;
        overflow-x: hidden !important;
        z-index: 9999 !important;
        transition: right 0.3s ease !important;
    }


.banner-image-wrapper img {
    height: 300px;
    object-fit: cover;
  }

.blog-layout-wrapper {

  padding: 0;
}
  
.articles-grid {
 
  max-width: 991px;
}
  
.hero-title {
  
  font-size: 3rem;
  
}
  
.articles-grid .read-more-link {
  width: 70%;
}
  .sidebar-box {
    margin-bottom: 5rem;
  }
.article-with-sidebar {
  padding: 0 !important;
}
.sds-container  {
  padding: 0 !important;
  
}
    .com-content-article .article-simple {
      margin: 0 !important;
    }
.partnerzy-sekcja {

  margin-left: 0 !important;
  margin-right: 0 !important;

}
  .nav-item a[aria-current="page"] {
  
  color: #450b78 !important;
}
    .sppb-col-md-12 {

      padding-right: 0px !important;
  padding-left: 0px !important;
    }
    /* Pokazanie menu gdy jest aktywne */
    #main-navigation.mod-menu.nav.navbar-nav.show {
        right: 0 !important;
    }
    
    /* Overlay dla menu */

    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Menu items na mobile */
    #main-navigation .nav-item {
        width: 100% !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    #main-navigation .nav-item:last-child {
        margin-bottom: 60px !important;
    }
    
    #main-navigation .nav-item a {
        width: 100% !important;
        margin: 0 !important;
        padding: 1rem 1.5rem !important;
        border-radius: 0 !important;
        border: none !important;
        border-left: 3px solid transparent !important;
    }
    
    #main-navigation .nav-item.current a,
    #main-navigation .nav-item.active a,
    #main-navigation .nav-item a[aria-current="page"] {
        background: #f8f9fa !important;
        border-left: 3px solid #a60dcf !important;
    }
    
  /* Dropdown na mobile - DOMYŚLNIE UKRYTE */
/* Dropdown na mobile */
#main-navigation .mod-menu__sub {
    position: static !important;
    width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f8f9fa !important;
    border-top: 1px solid #e0e0e0 !important;
}

#main-navigation .nav-item.deeper:hover .mod-menu__sub {
    display: none !important;
}
    .navbar-nav {
  display: block !important;
}
    /* Toggle dla submenu na mobile */
    #main-navigation .nav-item.deeper.parent > a {
        position: relative !important;
    }
    
    #main-navigation .nav-item.deeper.parent > a::after {
        position: absolute !important;
        right: 1.5rem !important;
        top: 50% !important;
        transform: translateY(-50%) rotate(0deg) !important;
        transition: transform 0.3s ease !important;
        margin: 0 !important;
        font-size: 0.8rem !important;
    }
    
    #main-navigation .nav-item.deeper.parent.open > a::after {
        transform: translateY(-50%) rotate(180deg) !important;
    }
    
    #main-navigation .nav-item.deeper.parent.open .mod-menu__sub {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    #main-navigation .mod-menu__sub .nav-item a {
        padding: 0.75rem 1.5rem 0.75rem 2.5rem !important;
        font-size: 0.9rem !important;
        background: #f8f9fa !important;
    }
    
    #main-navigation .mod-menu__sub .nav-item a:hover {
        background: #e9ecef !important;
        padding-left: 2.75rem !important;
    }
    
    #main-navigation .mod-menu__sub .nav-item:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Hamburger button */
    .navbar-toggler {
     display: block !important;
    position: fixed !important;
    top: 15px !important;
    right: 25px !important;
    padding: 1.25rem !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    z-index: 10000 !important;
      background: #840837;
     
    }
    
    .navbar-toggler-icon {
        display: block !important;
        width: 28px !important;
        height: 2px !important;
        background: #fff !important;
        position: relative !important;
        transition: all 0.3s ease !important;
    }
    
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: '' !important;
        display: block !important;
        width: 28px !important;
        height: 2px !important;
        background: #fff !important;
        position: absolute !important;
        left: 0 !important;
        transition: all 0.3s ease !important;
    }
    
    .navbar-toggler-icon::before {
        top: -8px !important;
    }
    
    .navbar-toggler-icon::after {
        top: 8px !important;
    }
    
    /* Hamburger animation */
    .navbar-toggler.active .navbar-toggler-icon {
        background: transparent !important;
    }
    
    .navbar-toggler.active .navbar-toggler-icon::before {
        top: 0 !important;
        transform: rotate(45deg) !important;
    }
    
    .navbar-toggler.active .navbar-toggler-icon::after {
        top: 0 !important;
        transform: rotate(-45deg) !important;
    }
}
/* Tablet view */
@media (min-width: 768px) and (max-width: 991px) {
    #main-navigation.mod-menu.nav.navbar-nav {
        width: 320px !important;
    }
}
/* ===== LOGO ===== */

.grid-child:has(.navbar-brand),
.navbar-brand {
    width: auto !important;
    max-width: 250px !important;
    flex: 0 0 auto !important;
    padding-left: 1rem !important;
}

.navbar-brand img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

.navbar-brand:focus {
    outline: 2px solid #a60dcf !important;
    outline-offset: 2px !important;
    border-radius: 4px !important;
}




/* ===== GLOBALNE STYLE STRONY ===== */

/* Kolory marki */
a {
    color: #830e33 ;
    text-decoration: none ;
}

a:hover {
    color: #b91a4e !important;
   
}

a:focus {
    outline: 3px solid #000 !important;
    outline-offset: 2px !important;
}

/* Typografia WCAG 2.2 */
body {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #5E5E5E !important;
    background-color: #fff !important;
}

h1 {
    font-size: 32px ;
    margin-bottom: 1rem ;
    font-weight: 700 ;
    line-height: 1.4 ;
    margin-top: 1rem ;
}

h2 {
    font-size: 38px ;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-top: 1rem !important;
}

h3 {
    font-size: 24px !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-top: 1rem !important;
}

h4 {
    font-size: 20px !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-top: 1rem !important;
}

/* Lista */
.com-content-article ul {
    list-style: none;
}

/* Przyciski */
.sppb-btn-info, .btn-info {
    background: #830e33 !important;
}

.sppb-btn-info:hover, .btn-info:hover {
    background: #b91a4e !important;
}

/* Footer */
.footer {
    background: #F5F6F7;
}

.footer a {
    color:#5E5E5E !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.footer a:hover,
.footer a:focus {
    outline: 3px solid #000 !important;
    outline-offset: 2px !important;
}

/* Menu boczne */
.sidebar-left .mod-menu a {
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: block !important;
    padding: 0.6rem 1rem !important;
    transition: background-color 0.3s, color 0.3s !important;
}

.sidebar-left .mod-menu a:hover,
.sidebar-left .mod-menu a:focus {
    background-color: #f2f2f2 !important;
    color: #830e33 !important;
    outline: 3px solid #000 !important;
    outline-offset: 2px !important;
}

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

@media (max-width: 991.98px) {
    #main-navigation {
        flex-direction: column !important;
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
    }
	

    
    #main-navigation .nav-item a {
        min-width: 150px !important;
        text-align: center !important;
        margin-bottom: 0.5rem !important;
    }
    
    #main-navigation .mod-menu__sub {
        position: static !important;
        background: #f8f9fa !important;
        border: none !important;
        box-shadow: none !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

@media (max-width: 768px) {
    .sds-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .sds-header h1,
    .sds-header h2 {
        font-size: 2rem !important;
    }
    
    .navbar-brand {
        max-width: 180px !important;
    }
    
    .zajecia-kategoria {
        padding: 1.5rem !important;
    }
    
    .file-link {
        padding: 0.875rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .file-item:nth-child(2) strong {
        font-size: 0.95rem;
    }
    
    .file-item:nth-child(3) {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        max-width: 140px !important;
    }
    
    .file-link {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .file-item:nth-child(2),
    .file-item:nth-child(3) {
        width: 100%;
        justify-content: center;
    }
}

/* ===== WCAG 2.2 ACCESSIBILITY ===== */

/* High contrast mode */
@media (prefers-contrast: high) {
    .zajecia-kategoria,
    .info-box {
        border: 2px solid #000 !important;
    }
    
    .file-link {
        border: 2px solid #000;
        font-weight: bold;
    }
    
    .file-item:first-child {
        border: 1px solid rgba(0, 0, 0, 0.3);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .zajecia-kategoria,
    .zajecie-item,
    #main-navigation .nav-item/* Breadcrumbs w stylu info-box */
.mod-breadcrumbs__wrapper {
    margin: 1rem 0 2rem 0;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid #840837;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.mod-breadcrumbs {
    background: none;
    margin: 0;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.mod-breadcrumbs__here {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
    float: none !important;
}

.mod-breadcrumbs__item {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
    content: "›";
    color: #450b78;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0 0.5rem;
    opacity: 0.7;
}

.mod-breadcrumbs__item .pathway {
    color: #450b78;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.15s ease-in-out;
    font-weight: 500;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.mod-breadcrumbs__item .pathway:hover {
    background-color: rgba(188, 0, 85, 0.1);
    color: #9a0046;
    text-decoration: none;
    transform: translateY(-1px);
}

.mod-breadcrumbs__item .pathway:focus {
    outline: none;
    background-color: rgba(188, 0, 85, 0.15);
    box-shadow: 0 0 0 2px rgba(188, 0, 85, 0.2);
    color: #9a0046;
}

.mod-breadcrumbs__item.active {
    color: #495057;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background-color: rgba(188, 0, 85, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(188, 0, 85, 0.15);
}

.mod-breadcrumbs__item.active span {
    color: #495057;
}

/* Responsywność */
@media (max-width: 768px) {
    .mod-breadcrumbs__wrapper {
        margin: 0.75rem 0 1.5rem 0;
    }
    
    .mod-breadcrumbs {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
    }
    
    .mod-breadcrumbs__here {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
        width: 100%;
    }
    
    .mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
        margin: 0 0.25rem;
    }
}

@media (max-width: 480px) {
    .mod-breadcrumbs {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .mod-breadcrumbs__here {
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #dee2e6;
        width: 100%;
    }
    
    .mod-breadcrumbs__item {
        width: 100%;
    }
    
    .mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
        content: "↳";
        margin: 0 0.5rem 0 0;
        display: inline-block;
    }
    
    .mod-breadcrumbs__item .pathway,
    .mod-breadcrumbs__item.active {
        width: 100%;
        padding: 0.5rem 0.75rem;
        justify-content: flex-start;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .mod-breadcrumbs__wrapper {
        border: 2px solid #000;
    }
    
    .mod-breadcrumbs__item .pathway {
        border: 1px solid transparent;
    }
    
    .mod-breadcrumbs__item .pathway:hover,
    .mod-breadcrumbs__item .pathway:focus {
        border-color: #840837;
        font-weight: bold;
    }
    
    .mod-breadcrumbs__item.active {
        border: 2px solid #840837;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .mod-breadcrumbs__item .pathway {
        transition: none;
    }
    
    .mod-breadcrumbs__item .pathway:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .mod-breadcrumbs__wrapper {
        background: none !important;
        border: 1px solid #000;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .mod-breadcrumbs__item .pathway {
        color: #000 !important;
        background: none !important;
    }
    
    .mod-breadcrumbs__item.active {
        background: none !important;
        border: 1px solid #000;
    }
    
    .mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
        color: #000 !important;
    }
}

/* Focus management */
.mod-breadcrumbs__item .pathway:focus-visible {
    outline: 2px solid #840837;
    outline-offset: 2px;
}

/* Animacja pojawienia się */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mod-breadcrumbs__wrapper {
    animation: fadeInUp 0.3s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .mod-breadcrumbs__wrapper {
        animation: none;
    }
}

/* Dodatkowe style dla lepszej integracji */
.mod-breadcrumbs__item span {
    display: inline-block;
}

/* Usunięcie domyślnych Bootstrap classes conflicts */
.mod-breadcrumbs.px-3 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

.mod-breadcrumbs.py-2 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}


.header-btn a {
 
  color: #fff !important;
 
}