/*
Theme Name: BS_Osie_Theme
Template: hello-biz
Author: Child Theme Configurator
Version: 1.1.0.1749574383
Updated: 2025-06-10 18:53:03

*/

/* ==================MOGĄ CIĘ TEŻ ZAINTERESOWAĆ */
.losowe-naglowek {
  position: relative;
  text-align: center;
  margin-top: 60px;
  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;
}

/* SIATKA KAFELKÓW */
.kafelki-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .kafelki-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* KAFELKI */
.kafelek-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: #fff;
  position: relative;
}

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

/* OBRAZEK Z EFEKTEM ZOOM */
.kafelek-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  will-change: transform;
}

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

/* TYTUŁ */
.kafelek-title {
  padding: 15px;
  font-size: 1.1em;
  font-weight: 400;
  text-align: center;
}

/*================================PDFY*/
a.file-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px 16px;
  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;
}

a.file-link:hover {
  color: #038118 !important;
  background-color: #f3f3f3;
  border-color: #aaa;
}

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

/*===========================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: 8px;
  height: 8px;
  background-color: #038118;
  border-radius: 50%;
}
/* === KURSY WALUT – STOPKA === */

.waluty {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 0;
    color: #fff;
}

.waluta {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
    box-sizing: border-box;
}

.flaga-nazwa {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    gap: 8px;
    border-radius: 6px;
    background: #fff;
    text-align: left;
    max-width: fit-content;
    margin: 0 auto;
}


.flaga img {
    width: 46px;
    height: 54px;
    border-radius: 4px !important;
}
.nazwa_waluty {
    font-size: 1em;
    font-weight: 400;
    color: #cc0100;
    margin: 0;
}

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

.kupno-sprzedaz {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 6px;
}

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

.kurs-blok .label {
    text-align: center;
	font-size: 0.9em;
    font-weight: 300;
}
.kurs-blok .wartosc {
    font-size: 1.1em;
    font-weight: 400;
    color: #ffffff;
}

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

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

.sredni_kurs {
    font-size: 0.85em;
    color: #bbb;
    font-weight: 400;
}

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

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

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


/*==============BOX- wyróżniająca się klasa===*/
p.box {
  background: #fafafa;           
  border: 1px solid #ddd;        
  border-radius: 8px;            
  padding: 15px 20px;            
  font-size: 1.1em;              
  line-height: 1.6;             
  margin: 20px 0;                
}

/*============TABELE*/

/* (druga kolumna) wyróżnione zielonym */
.wp-block-table.tab td:last-child {
  color: #038118;
  font-weight: 500;
}

/*=====================FOCUS*/
a:focus,
button:focus,
input:focus {
  outline: 2px dashed var(--e-global-color-primary); 
  outline-offset: 2px; 
	border-radius: 5px;
}

