/**
* Theme Name: Medibazar Child
* Description: This is a child theme of Medibazar, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>
* Template: medibazar
* Version: 1.8.8
*/

.taxonomy-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    background-color: #e1f5fb;
	margin: 80px auto;
}

.taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.taxonomy-item {
    background: #fff;
    border: 0.8px solid #000000;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.taxonomy-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: #004080;
}

.taxonomy-excerpt {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
}

.taxonomy-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #004080;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.taxonomy-button:hover {
    background-color: #e2001a;
    color: white;
}

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

    .taxonomy-title {
        font-size: 18px;
    }

    .taxonomy-excerpt {
        font-size: 14px;
    }

    .taxonomy-button {
        font-size: 12px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .taxonomy-item {
        padding: 15px;
    }

    .taxonomy-title {
        font-size: 16px;
    }

    .taxonomy-excerpt {
        font-size: 12px;
    }

    .taxonomy-button {
        font-size: 10px;
        padding: 6px 12px;
    }
}


.taxonomy-thumbnail {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
}


/* Styl dla kontenera pojedynczego wpisu */
.aktualnosci-single-container {
    max-width: 800px; /* Maksymalna szerokość kontenera */
    margin: 40px auto; /* Centrowanie kontenera */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

/* Kontener dla samego wpisu */
.aktualnosci-single {
    padding: 30px;
    border-radius: 8px;
}

/* Nagłówek wpisu */
.aktualnosci-header {
    margin-bottom: 20px;
}

.aktualnosci-title {
    font-size: 2.5rem; /* Większy tytuł */
    color: #333;
    margin: 0;
    font-weight: bold;
}

.aktualnosci-meta {
    font-size: 1rem;
    color: #777;
    margin-top: 10px;
}

.aktualnosci-date {
    font-style: italic;
}

.aktualnosci-author {
    font-weight: bold;
}

/* Treść artykułu */
.aktualnosci-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-top: 20px;
}

/* Stopka z tagami */
.aktualnosci-footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
    color: #777;
    font-size: 0.9rem;
}

.aktualnosci-tags strong {
    font-weight: bold;
}

.aktualnosci-tags a {
    color: #0073e6;
    text-decoration: none;
}

.aktualnosci-tags a:hover {
    text-decoration: underline;
}

/* Stylizacja responsywna */
@media (max-width: 768px) {
    .aktualnosci-single-container {
        width: 95%; /* Kontener dostosowany do szerokości urządzenia */
        padding: 15px;
    }

    .aktualnosci-title {
        font-size: 2rem; /* Mniejszy tytuł na mniejszych ekranach */
    }

    .aktualnosci-content {
        font-size: 1rem;
    }
}

/* ---- Fix WCAG: kontrast kolorów ---- */
/* Placeholder wyszukiwarki w nagłówku: #9b9b9b (2,61:1) -> #666 (5,41:1) na tle #f8f8f8 */
#searchform input::placeholder { color: #666666; opacity: 1; }
#searchform input::-webkit-input-placeholder { color: #666666; }
#searchform input::-moz-placeholder { color: #666666; opacity: 1; }
#searchform input:-ms-input-placeholder { color: #666666; }

/* Link kredytowy w stopce: #e2001a (4,39:1) -> #c8001a (5,37:1) na tle #e1f5fb */
.copyright p a { color: #c8001a !important; }


/* ---- Wyszukiwarka w nagłówku: okrągły przycisk z lupą ---- */
/* miejsce na przycisk, żeby wpisywany tekst nie wchodził pod lupę */
#searchform input { padding-right: 58px; }

#searchform button {
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 50%;
	background: #043468;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	line-height: 1;
	transition: background-color .3s ease;
}
#searchform button:hover {
	background: #06498f;
	color: #fff;
}
#searchform button i { line-height: 1; }

/* Tło pola wyszukiwarki */
#searchform input {
	background: #fff;
	border: 1px solid #e2e5ea;
}
#searchform input:focus {
	outline: none;
	border-color: #043468;
}