/*
Theme Name: SlawnoTheme
Template: hello-elementor
Author: Child Theme Configurator
Version: 1.0.1761601985
Updated: 2025-10-27 22:53:05

*/
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* ==================== KURSY WALUT === */

.waluty {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.waluta {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 15px;
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    background-color: #f6f6f6;
    border: 1px solid #F0F0F0;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.flaga-nazwa {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    min-width: 80px;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01);
}

.flaga img {
    width: 50px;
    height: 30px;
	border-radius: 5px;
}

.nazwa_waluty {
    font-size: 1em;
    font-weight: bold;
    margin-top: 8px;
    text-align: center;
}

.kursy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.kupno-sprzedaz {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 12px;
    width: 100%;
}

.kurs-blok {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.kurs-blok .label {
    font-size: 1em;
    color: #333;
    margin-bottom: 2px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
}

.kurs-blok .wartosc {
    font-size: 1.3em;
    font-weight: bold;
}

.kurs-blok.kupno .wartosc {
    color: #327429;
}

.kurs-blok.sprzedaz .wartosc {
    color: #9d2c2c;
}

.sredni_kurs {
    font-size: 1em;
    color: #444;
    font-weight: 500;
}


.info-walutowa {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 1em;
    font-weight: 300;
    flex-wrap: wrap;
    width: 100%;
	color: #333;
}

.dewizy-info {
    flex: 1;
    min-width: 200px;
}

.data-aktualizacji {
    text-align: right;
    flex: 1;
    min-width: 200px;
}

@media (max-width: 900px) {
    .waluta {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .waluta {
        flex-direction: row;
        align-items: center;
        flex: 1 1 100%;
        max-width: 100%;
    }

    .flaga-nazwa {
        margin-right: 15px;
        margin-bottom: 0;
        flex-direction: column;
        align-items: center;
    }

    .nazwa_waluty {
        margin-top: 8px;
        margin-left: 0;
        text-align: center;
    }

    .kursy {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .kupno-sprzedaz {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 5px;
    }

    .sredni_kurs {
        font-size: 0.9em;
    }
	.info-walutowa {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
		font-size: 0.9em;
  }

  .data-aktualizacji {
    text-align: left;
	  font-size: 0.9em;
  }
}
/*================================PDFY*/
a.file-link {
  display: flex;
  align-items: center;
  justify-content: space-between;   
  gap: 12px;
  border: 1px solid #ccc;
  padding: 10px 14px;
  background-color: #fff;
  font-weight: 400;
  font-size: 1.0rem;
  line-height: 1.5;
  text-decoration: none;
  color: #222 !important;
  transition: all 0.3s ease;
	border-radius: 3px;
}

a.file-link:hover {
  color: var(--e-global-color-primary)!important;
  background-color: #f3f3f3;
  border-color: #aaa;
}

a.file-link img {
  display: inline-block;
  vertical-align: middle;
}

a.file-link::after {
  content: "Pobierz";
  margin-left: auto;
  padding: 6px 14px;
  background-color: var(--e-global-color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 400;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

a.file-link:hover::after {
  background-color: #2b2b2b;  
}
/* przycisk pobierz */
a.file-link::after {
  content: "Pobierz";
  margin-left: auto;
  padding: 6px 14px;
  background-color: var(--e-global-color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 400;
	border-radius: 4px;
  transition: background-color 0.3s ease;
}

a.file-link:hover::after {
  background-color: #2b2b2b;  
}

/*======================MENU BOCZNEna stronach===*/
.menu-boczne,
.menu-boczne ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-boczne li {
  margin: 0;
  padding: 0;
}

.menu-boczne li a {
  display: block;
  padding: 12px 12px;
  font-size: 15px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
  transition: color .15s ease, background-color .15s ease;
}

.menu-boczne li a:hover {
  color: var(--e-global-color-primary);
}

.menu-boczne li.current > a {
  color: var(--e-global-color-primary);
  font-weight: 600;
  position: relative;
  background: #fff !important;
}

.menu-boczne li.current > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--e-global-color-primary);
  border-radius: 2px;
}

.menu-boczne > li > a {
  font-weight: 500;
}

.menu-boczne > li.open > ul > li > a {
  background: #f3f3f3;
  border: 1px solid #e9e9e9;
  border-left: none;
  margin: 0;
  padding: 10px 12px 10px 28px;
  color: #333;
}

.menu-boczne > li.open > ul > li > a:hover {
  background: #ececec;
  color: var(--e-global-color-primary);
}

.menu-boczne > li.open > ul > li > a::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--e-global-color-primary);
  border-radius: 1px;
  opacity: .9;
}

.menu-boczne > li.open > ul > li.current > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--e-global-color-primary);
  border-radius: 2px;
}
.menu-boczne li ul ul {
  margin-left: 12px;
  padding-left: 10px;
}

.menu-boczne li ul ul li > a {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #eaeaea;
  margin: 0;
  padding: 10px 12px 10px 28px;
  color: #333;
}

.menu-boczne li ul ul li > a::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--e-global-color-primary);
  border-radius: 1px;
  opacity: .9;
}
.menu-boczne li ul ul li.current > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--e-global-color-primary);
  border-radius: 2px;
}

.menu-boczne li > ul {
  margin-left: 16px;
  padding-left: 12px;
  border-left: 0;
}

/*===================== Zielone PUNKTORY=====*/
ul.zielona-lista {
  list-style: none;
  padding-left: 2em;
	margin-bottom: 2em;
	margin-top: 1.5em;
}

ul.zielona-lista li {
  position: relative;
  margin-bottom: 0.6em;
  line-height: 1.6;
}

ul.zielona-lista li::before {
  content: "";
  position: absolute;
  left: -1.2em;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background-color: var(--e-global-color-primary);
	border-radius: 2px; 
}

ul.zielona-lista.korzysci li::before {
  content: "";
  width: 9px;
  height: 9px;

  background: transparent;
  border: 2px solid var(--e-global-color-primary);
  border-radius: 2px;

  left: -1.3em;
  top: 0.55em;
}

/*===================== Listy kafelkowe  =====*/
ul.lista-kafelki {
  list-style: none;
  margin: 1em 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

ul.lista-kafelki li {
  flex: 1 1 calc(33% - 1.5rem); 
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.4rem 1.8rem 1.4rem 2.8rem; 
  position: relative;
  line-height: 1.6;
  margin: 0;
  min-height: 60px;                     
  display: flex;
  align-items: center;  
}

ul.lista-kafelki li::before {
  content: "";
  position: absolute;
  left: 1.4rem;                        
  width: 7px;
  height: 7px;
  background-color: var(--e-global-color-primary);
  border-radius: 2px;
  top: 50%;                            
  transform: translateY(-50%);         
}

ul.lista-kafelki li * {
  margin: 0 !important;
}
@media (max-width: 900px) {
  ul.lista-kafelki {
    gap: 0.75rem;
  }

  ul.lista-kafelki li {
    flex: 1 1 100%;
    min-height: auto;      
  }
}
.naglowek-kreska {
  position: relative;
  display: block;        
  width: 100%;             
  margin-bottom: 20px;
  padding-bottom: 12px;
  text-align: center;      
}

.naglowek-kreska::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;            
  height: 1px;
  background-color: #ddd;
}

.naglowek-kreska::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 50px;
  height: 3px;
  background-color: var(--e-global-color-primary);
  transform: translateX(-50%);
}

/*=================================================== KAFELKI (wspólne) */
.kafelki-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.kafelek-link {
  display: block;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.45s cubic-bezier(.25,.8,.25,1);
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  background-color: #f5f5f5;
}

.kafelek-link:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.kafelek-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.25,.8,.25,1);
  display: block;
}

.kafelek-link:hover .kafelek-img {
  transform: scale(1.05);
}

/* BODY */
.kafelek-body{
  background-color: #f5f5f5;
  padding: 14px 16px;
  border-top: 1px solid #eee;
  border-radius: 0 0 5px 5px;
}

.kafelek-title{
  padding: 0;
  margin: 0;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.25;
  color: #000;
  background: transparent;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.kafelek-subtitle{
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  color: #1C5F26;
}

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

/*================================== NAGŁÓWEK "Może Cię też zainteresować" */
.losowe-naglowek {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 2em;
  line-height: 1.3;
}
.losowe-naglowek::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #ccc;
  position: absolute;
  bottom: -8px;
  left: 0;
}
.losowe-naglowek::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--e-global-color-primary);
  margin: 0 auto;
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/*ACF bloki*/
.acf-bloki-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 1200px;
  margin: 40px auto;
  gap: 20px;
}


.acf-blok{
  border:1px solid #e5e5e5;
	border-radius:5px;
  background:#fff;
  padding:24px 18px; 
  text-align:center;
  transition:0.2s ease;
}

.acf-blok__ikona img{
  width:64px;
  height:auto;
  margin-bottom:14px;
}

.acf-blok__opis{
  font-size:14px;
  line-height:1.5;
  color:#555;
  margin:8px 0 0;
}
.acf-blok .naglowek-kreska{
  display:block;
  width:100%;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

