/*
Theme Name: Astra Child
Template: astra
*/

/* ===== GLOBAL ===== */
/* 1. pełna wysokość */


html, body {
	height: 100%;
}

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

.site {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 100vh;
}

#page {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.site-content {
	flex: 1;
}

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


body {
	font-family: Arial, sans-serif !important;
	font-size: 13px;
	background: #e9e9e9 !important;
}

/* ===== LAYOUT ===== */
.ast-container {
	max-width: 1000px !important;
}


/* ===== SIDEBAR ===== */
.ast-sidebar,
#secondary {
	width: 280px;
	background: #f2f2f2 !important;
	border: 1px solid #ccc !important;
	padding: 0 !important;
}

#secondary::before {
	content: "Menu użytkownika";
	display: block;
	background: linear-gradient(to bottom, #d40000, #a00000);
	color: #fff;
	font-weight: bold;
	padding: 10px;
}

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

#secondary .menu-item a {
	display: block;
	padding: 10px;
	border-bottom: 1px solid #ccc;
	color: #000 !important;
	font-size: 16px;
	background: #efefef;
}

#secondary .menu-item a:hover {
	background: #ddd;
	text-decoration: none;
}

#secondary .current-menu-item a {
	background: #ccc;
	font-weight: bold;
}

#secondary li {
	margin-bottom: 0;
}

/* ===== CONTENT ===== */
#primary {
	background: #fff;
	padding: 20px 30px;
	border-left: 1px solid #ccc;
	
}

.ast-left-sidebar #primary {
	padding-left: 20px !important;
}

.entry-title {
	font-size: 22px !important;
	border-bottom: 2px solid #000;
	padding-bottom: 5px;
}

.entry-content p {
	padding: 6px 0;
	margin: 0;
	border-bottom: none !important;
	font-size: 16px;
}

ul > li,
ol > li {
	font-size: 16px;
}

h1 {
	font-size: 26px;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
}

/* ===== HEADER ===== */
.ast-primary-header-bar .site-primary-header-wrap,
.ast-mobile-header-wrap {
	background: linear-gradient(to bottom, #d40000, #a00000) !important;
}

.site-below-header-wrap,
.ast-header-break-point .ast-below-header-bar {
	background-color: #6a6a6a !important;
	border-bottom: 2px solid #3c3c3c !important;
}

.ast-site-title-wrap .site-title a {
	color: #fff !important;
}

h3.elementor-heading-title {
	color: white;
	font-size: 1.2rem;
}

/* ===== SEARCH ===== */
.search .entry {
	padding: 10px 0;
	border-bottom: 1px solid #cfcfcf;
	margin: 0;
}

.search .entry-title {
	font-size: 16px;
	font-weight: bold;
	margin: 0;
	border: none;
}

.search .entry-title a {
	color: #003366;
	text-decoration: underline;
}

.search .entry-title a:hover {
	text-decoration: none;
}

.search .entry-summary {
	margin-top: 5px;
	font-size: 13px;
	color: #333;
}

.search article {
	margin-bottom: 5px !important;
	padding-bottom: 5px;
}
/*
.search .site-main {
	flex: 1;
}*/

/* ===== PAGINATION ===== */
.ast-pagination {
	text-align: center;
	margin-top: auto;
	padding-top: 20px;
}

.ast-pagination .page-numbers {
	display: inline-block;
	margin: 0 6px;
}

.ast-pagination a.page-numbers {
	color: #003366;
	text-decoration: underline;
}

.ast-pagination a.page-numbers:hover {
	color: #002244;
}

.ast-pagination .current {
	background: #1e63b6;
	color: #fff !important;
	text-decoration: none;
}

.ast-pagination .next,
.ast-pagination .prev {
	white-space: nowrap;
}

/* ===== BANER ===== */
.informacja {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #f5f5f5;
	border-top: 3px solid #d40000;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
	z-index: 9999;

	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	gap: 20px;
}

.informacja .lewa {
	flex: 1;
	color: #333;
	font-size: 14px;
	line-height: 1.5;
}

.informacja .lewa a {
	color: #d40000 !important;
	font-weight: 500;
	text-decoration: underline;
}

.informacja .prawa {
	display: flex;
	align-items: center;
	gap: 10px;
}

.informacja .prawa a,
.informacja .prawa button {
	background: #d40000 !important;
	color: #fff !important;
	border: none !important;
	padding: 8px 14px !important;
	font-weight: 600;
	border-radius: 3px;
	cursor: pointer;
	text-decoration: none;
}

.informacja .prawa a:hover,
.informacja .prawa button:hover {
	background: #a80000 !important;
}

@media (max-width: 768px) {
	.informacja {
		flex-direction: column;
		text-align: center;
	}

	.informacja .prawa {
		justify-content: center;
	}
}

/* ===== FOOTER ===== */
.footer-main {
	text-align: center;
}

.footer-title {
	font-weight: 600;
	margin-bottom: 10px;
}

.footer-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	line-height: 1.3;
	margin-bottom: 6px;
}

.footer-line .icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 18px;
	height: 18px;

	font-size: 18px;
	line-height: 1;
	color: #d40000;

	transform: translateY(0.5px);
}
.footer-line .icon {
	color: #d40000;
}
.footer-line a {
	color: #1a1a1a;
	text-decoration: none;
}

.footer-line a:hover {
	color: #d40000;
}

.footer-line.address {
	display: flex;
	/*align-items: center;
	justify-content: center;*/
	gap: 8px;
}

.footer-line.address .pin {
	width: 14px;
	height: 14px;
	background: #d40000;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	position: relative;
	flex-shrink: 0;
}

.footer-line.address .pin::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 6px;
	height: 6px;
	background: #fff;
	border-radius: 50%;
}

.pin {
	display: inline-block;
	width: 14px;
	height: 14px;
	background: #d40000;
	border-radius: 50%;
	overflow: hidden;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 921px) {
	#secondary {
		display: none !important;
	}
}

#ast-scroll-top {
	background: linear-gradient(to bottom, #d40000, #a00000);
	font-size: 15px;
}

.ast-footer-copyright p {
	font-size: 11px !important;
}


.site, #page {
	min-height: auto !important;
	height: auto !important;
}
.site,
#page {
	min-height: auto !important;
	height: auto !important;
}
#primary {
    margin: 5em 0;
}
.ast-icon svg:not([fill]) {
    fill: white;
}
.ast-desktop .ast-header-search .slide-search .search-form
 {
    border: 2px solid white;
}
.wp-image-11656{
	height: 60px;   
	width: auto;
}
/* kontener treści jako kolumna */
#primary {
	display: flex;
	flex-direction: column;
	min-height: 600px; /* możesz zmienić np. 700 */
}

/* lista wyników rośnie */
.search .site-main {
	flex: 1;
}

/* paginacja na dół */
.ast-pagination {
	margin-top: auto;
	padding-top: 20px;
	text-align: center;
}
@media (min-width: 993px) {
    .ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary {
        margin: 5em 0;
        padding: 0;
    }
}
#primary {
    margin: 5em 0 2.6rem 0!important;
}
.ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary {
        margin: 5em 0 2.6rem 0!important;
        padding: 0;
    }


/* ===== METRYCZKA ===== */

/* ===== DELIKATNA METRYCZKA BIP ===== */

.metryczka {
    margin-top: 30px;
    border: 1px solid #d6d6d6;
    background: #fafafa;
    font-size: 12px;
}

.metryczka-naglowek {
    background: #efefef;
    color: #222;
    padding: 5px 15px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid #d6d6d6;
}

.historia-wpisu {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.historia-wpisu:last-child {
    border-bottom: none;
}

.metryczka-row {
    display: flex;
    margin-bottom: 5px;
}

.metryczka-label {
    width: 260px;
    font-weight: 600;
    color: #444;
}

.metryczka-value {
    flex: 1;
    color: #222;
}


.starsze-aktualizacje {
    display: none;
}
.pokaz-historie {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;

    padding: 0 !important;
    margin: 10px 15px 15px !important;

    color: black !important;
    font-size: 13px !important;
    font-weight: 600 !important;

    cursor: pointer;
    text-decoration: underline;
}

.pokaz-historie:hover,
.pokaz-historie:focus,
.pokaz-historie:active {
    background: transparent !important;
    color: #000 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
	
}
.pokaz-historie:hover{
	text-decoration:none;
}
/* ===== RESPONSIVE METRYCZKA ===== */

@media screen and (max-width: 600px) {

    .metryczka-row {
        display: block;
        margin-bottom: 15px;
    }

    .metryczka-label {
        width: 100%;
        margin-bottom: 4px;
    }

    .metryczka-value {
        width: 100%;
    }
}