/*
 * Title:   Custom Style File
 * Author:  http://themeforest.net/user/soaptheme 
 */

/* Reset poprzednich styli */
.logo {
    display: block;
    padding: 15px 0;
    width: 100%;
    max-width: 300px;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    max-width: 100%;
}

/* Styl dla logo w headerze */
.logo.navbar-brandddd {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 0 10px 0;
    position: relative;
    z-index: 2;
    width: 300px;
}

.logo.navbar-brand img {
    height: 50px;
    width: auto;
    max-width: none;
    display: block;
}

/* Ukrywamy drugie logo w nagłówku na stronie artykułu */
body.article-page .main-header .logo:not(:first-child) {
    display: none;
}

/* Media queries */
@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
}

/* Upewniamy się, że banner ma niższy z-index */
.page-title-container {
    position: relative;
    z-index: 1;
}

/* Style dla sidebara */
.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    font-size: 18px;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-posts li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.popular-posts li:last-child {
    border-bottom: none;
}

.popular-posts img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.popular-posts span {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.popular-posts a {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.popular-posts a:hover span {
    color: #007bff;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #333;
    margin-right: 15px;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: #007bff;
}

/* Style dla strony polityki prywatności */
.container h1 {
    margin-bottom: 30px;
    color: #333;
}

.container h2 {
    margin: 25px 0 15px;
    color: #444;
    font-size: 20px;
}

.container p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.container a {
    color: #007bff;
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}

/* Style dla strony kontaktowej */
.contact-section {
    margin-bottom: 30px;
}

.contact-section h2 {
    color: #444;
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-section p {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.contact-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
}

.contact-section ul li {
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.contact-section ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
}

.contact-section a {
    color: #007bff;
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}
