@charset "UTF-8";

.sck-pagination {

  font-family: "DM Sans", sans-serif;
  background: #ffffff;
  color: #0a1929;

  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}


.btn {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: #197dba;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(25, 125, 186, 0.2);
}

.btn-primary a {
  color: #ffffff;
}

/* 
   Globalne style
   Style bazowe, typografia i globalne klasy pomocnicze
*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", sans-serif;
  background: rgba(255, 255, 255, 1);
  color: rgba(0, 91, 74, 1);
  /* Dark Green text */
  line-height: 1.6;
  min-height: 100vh;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.section-padding {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  color: rgba(0, 91, 74, 1);
  margin-bottom: 2rem;
  font-weight: 700;
}

:root {
  --sck-primary: rgba(0, 111, 179, 1);
  --sck-primary-hover: rgba(0, 89, 143, 1);

  --sck-green-bright: rgba(0, 167, 93, 1);
  --sck-green-mid: rgba(10, 142, 103, 1);
  --sck-green-dark: rgba(0, 91, 74, 1);

  --sck-blue-light: rgba(175, 223, 249, 1);
  --sck-bg-white: rgba(255, 255, 255, 1);

  --sck-text-heading: var(--sck-primary);
  --sck-text-body: rgba(44, 62, 80, 1);
  --sck-text-white: rgba(255, 255, 255, 1);
	
	--font-main: 'DM Sans', sans-serif;

    /* Semantic Palette (Core Colors) */
    --clr-blue: #197dba;
    --clr-light-blue: #338bc2;
    --clr-sky-blue: #b6e2f9;
    --clr-navy: #006fb3;
    --clr-green: #0a8e67;
    --clr-light-green: #00a75d;
    --clr-dark-green: #005b4a;

    /* Functional Mapping - Light & Fresh Theme */
    --color-bg-body: #ffffff;
    --color-bg-alt: #f8fbfe;
    /* Very light sky blue tint */
    --color-primary: var(--clr-blue);
    --color-secondary: var(--clr-light-blue);
    --color-accent: var(--clr-green);
    --color-accent-soft: var(--clr-light-green);

    --color-text-main: #0a1929;
    /* Deep Navy from old theme now used as primary text */
    --color-text-secondary: #4a5568;
    /* Slate gray for secondary text */

    /* Card & Interface Effects */
    --card-bg: #ffffff;
    --card-border: rgba(0, 111, 179, 0.35);
    /* Based on --clr-navy, quite visible */
    --card-border-hover: var(--color-text-main);
    /* High contrast hover */
    --card-shadow: 0 10px 30px rgba(0, 111, 179, 0.08);
    /* Soft blue shadow */
    --overlay-dark: rgba(0, 40, 80, 0.05);
    /* Light overlay for images in light mode */
    --overlay-text: rgba(255, 255, 255, 0.95);

    /* Spacing & Layout */
    --spacing-unit: 8px;
    --container-width: 1200px;
    --border-radius: 12px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}

/*.main-header {
    background: yellow !important;
    border-bottom: 5px solid red !important;
    box-shadow: 0 0 0 5px blue !important;
}*/

/*.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid red;
}*/



/*nowe*/
/*.main-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #b7d8c8;
}*/

.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
   	border-bottom: 1px solid rgba(0, 167, 93, 0.2);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.main-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
	/*nowe
	min-height: 72px;*/
}

.main-header .logo {
    display: flex;
	max-width: 100px;
}

.main-header .logo h1 a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.main-header .logo img {
    height: 50px;
	/*height: 58px;*/
    width: auto;
    display: inline-block;
}

.main-header .main-nav {
	display: inline-block;
}

.main-header .main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-header .main-nav .nav-list li {
    margin: 0;
    padding: 0;
}

.main-header .main-nav .nav-list li a {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    color: var(--sck-green-dark);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header .main-nav .nav-list li a:hover {
    color: var(--sck-primary);
    background: rgba(0, 111, 179, 0.08);
}

.main-header .main-nav .nav-list li a {
    color: #0b6b63 !important;
}

/*
.main-footer {
    background: rgba(5, 15, 25, 0.95);
    border-top: 1px solid var(--card-border);
    color: var(--color-text-main);
    padding: 3rem 0 1.5rem;
	margin-top: 6rem;
}

.main-footer .eu-logos {
        max-height: 80px;
        margin-bottom: 2rem;
        background: rgba(255, 255, 255, 0.95);
        padding: 15px;
        border-radius: var(--border-radius);
}

.main-footer .footer-content {
        font-size: 0.9rem;
        color: var(--color-text-secondary);
        border-top: 1px solid rgba(0, 188, 212, 0.2);
        padding-top: 1.5rem;
        margin-top: 1.5rem;
        text-align: center;
}


.main-footer .footer-content {
    font-size: 0.9rem;
    color: var(--sck-green-bright);
    border-top: 1px solid rgba(0, 188, 212, 0.2);
    padding-top: 1.5rem;
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}

.floating-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 167, 93, 0.2);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    z-index: 99;
    padding: 10px 0;
}

.floating-footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-footer .eu-logos {
    max-height: 60px;
    background: transparent;
}
*/

html, body {
    height: 100%;
    margin: 0;
}

body {
	min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.footer-wrapper {
    margin-top: auto;
}

.main-footer {
    background: rgba(0, 91, 74, 0.95);
    border-top: 1px solid rgba(0, 167, 93, 0.2);
    color: var(--sck-bg-white);
    height: 4rem;
    /*margin-top: 0px;
    margin-bottom: 0px;*/
	margin: 0;
    padding: 0.75rem 0;
	
}

.main-footer .footer-content {
    font-size: 0.9rem;
    color: var(--sck-green-bright);
    /*border-top: 1px solid rgba(0, 188, 212, 0.2);*/
    padding-top: 1rem;
	/*padding-top: 1.5rem;
    margin-top: auto;
    margin-bottom: auto;*/
    text-align: center;
}

/*nowe*/
.main-footer .footer-content p {
    margin: 0;
}

.floating-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 167, 93, 0.2);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    z-index: 99;
    padding: 10px 0;
}

.floating-footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-footer .eu-logos {
    max-height: 60px;
    background: transparent;
	/*nowe*/
	display: block;align-content;
}


.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--color-bg-body)
}

.hero .hero-slider {
    position: relative;
    height: 100%;
    perspective: 1200px;
    transform-style: preserve-3d;
    padding-top: 2rem
}

.hero .hero-slider .hero-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 70%;
    transition: all .6s cubic-bezier(.25, .46, .45, .94);
    transform-origin: center center;
    transform: translate(-50%, -50%) scale(.5) translateZ(-400px);
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    backface-visibility: hidden;
    border-radius: 12px;
    border: 1px solid var(--card-border)
}

.hero .hero-slider .hero-slide.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotateY(0) translateZ(0);
    z-index: 100;
    pointer-events: auto;
    border-color: var(--card-border-hover);
    box-shadow: var(--card-shadow)
}

.hero .hero-slider .hero-slide.prev {
    opacity: 1;
    transform: translate(-130%, -50%) scale(.65) rotateY(45deg) translateZ(-400px);
    z-index: 1;
    filter: brightness(.4);
    cursor: pointer;
    pointer-events: auto
}

.hero .hero-slider .hero-slide.next {
    opacity: 1;
    transform: translate(30%, -50%) scale(.65) rotateY(-45deg) translateZ(-400px);
    z-index: 1;
    filter: brightness(.4);
    cursor: pointer;
    pointer-events: auto
}

.hero .hero-slider .hero-slide .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px
}

.hero .hero-slider .hero-slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, #fff3, #ffffffd9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px
}

.hero .hero-slider .hero-slide .hero-content {
    text-align: center;
    z-index: 2;
    transform: translateZ(30px);
    opacity: 1;
    transition: opacity .3s
}

.hero .hero-slider .hero-slide .hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
    line-height: 1.2
}

.hero .hero-slider .hero-slide .hero-content p {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto
}

.hero .hero-slider .hero-slide.prev .hero-content,
.hero .hero-slider .hero-slide.next .hero-content {
    opacity: 0
}

.hero .hero-slider .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fffc;
    border: 1px solid var(--card-border);
    color: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 40;
    box-shadow: 0 4px 10px #0000001a;
    transition: var(--transition-smooth)
}

.hero .hero-slider .slider-nav:hover {
    background: #fff;
    border-color: var(--card-border-hover);
    color: var(--color-secondary);
    transform: translateY(-50%) scale(1.1)
}

.hero .hero-slider .slider-nav.prev {
    left: 2rem
}

.hero .hero-slider .slider-nav.next {
    right: 2rem
}

.sck-filter-buttons {

  font-family: "DM Sans", sans-serif;
  background: #ffffff;
  color: #0a1929;

  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.sck-filter-buttons span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #197dba;
  align-self: center;
}

.btn {
  display: inline-block;
  padding: 0.7rem 0.85rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: #197dba;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(25, 125, 186, 0.2);
}

.btn-primary a {
  color: #ffffff;
	border: none;
	text-decoration:none;
	border-radius: 50px;
}

.btn-primary:hover {
  background: #197dba;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 125, 186, 0.3);
}

.btn-secondary {
  background: #ffffff;
  color: #197dba;
  border: 2px solid #197dba;
	padding:0px;
}

.btn-secondary a {
  color: #197dba;
	border: none;
	text-decoration:none;
	background:transparent;
	height:100vh;
	padding: 0.7rem;
	border-radius: 50px;
}

.btn-secondary:hover {
  background: #197dba;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 125, 186, 0.3);
}

/*.btn-secondary a:hover {
  color: #ffffff;
}
*/
.tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}


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


.tile-card {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(0, 111, 179, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.tile-card:hover {
    border-color: #0a1929;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 111, 179, 0.08);
}

.tile-card:hover .tile-icon {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
}

.tile-card .tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile-card .tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.95));
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tile-card .tile-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.tile-card .tile-tag {
    color: #197dba;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tile-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0a1929;
}

.tile-card p {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.5;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

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

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

.news-card {
    font-family: "DM Sans", sans-serif;
    background: #ffffff;
    color: #0a1929;

    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 111, 179, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
}


.news-card:hover {
    border-color: #0a1929;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 111, 179, 0.08);
}

.news-card .news-image-placeholder,
.news-card .news-image {
    height: 200px;
    background: linear-gradient(135deg, #1a2332, #2a3f5f);
    position: relative;
    overflow: hidden;
}

.news-card .news-image-placeholder:after,
.news-card .news-image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.4) 100%);
}

.news-card .news-image-placeholder img,
.news-card .news-image img {
   /* width: 100%; */
    height: 100%;
    object-fit: cover;
}

.news-card .news-content {
    padding: 1.5rem;
}

.news-card .news-content .date {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #197dba;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.news-card .news-content .news-excerpt {
  min-height: 6em;   /* 4 linie × 1.5em */
  line-height: 1.5em;
}

.news-card .news-content .news-excerpt:not(:empty) {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--sck-green-dark);
    line-height: 1.4;
}

.news-card .news-content h3 a {
    color: #0a1929;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-card .news-content h3 a:hover {
    color: #197dba;
}

.news-card .news-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.news-card .news-content .read-more {
    color: #197dba;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card .news-content .read-more:hover {
    gap: 0.8rem;
}


.sck-pagination {

  font-family: "DM Sans", sans-serif;
  background: #ffffff;
  color: #0a1929;

  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.sck-pagination .page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 111, 179, 0.2);
  color: #197dba;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sck-pagination .page-numbers:hover {
  background-color: #197dba;
  color: #ffffff;
  border-color: #197dba;
}

.sck-pagination .page-numbers.current {
  background-color: #197dba;
  color: #ffffff;
  border-color: #197dba;
}

.sck-pagination .page-numbers.next,
.sck-pagination .page-numbers.prev {
  font-weight: 700;
}

