/* Breadcrumb Section */
.breadcrumb-section {
    padding-top: 6rem;
}

.breadcrumb-section,
.breadcrumb-section .breadcrumb {
    font-size: 1rem !important;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-color);
}

.breadcrumb-item:first-child a {
    color: var(--primary-color);
    font-weight: 800;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: " » ";
    color: var(--text-color);
}

.breadcrumb-item.active {
    color: var(--text-color);
}

/* Nawigacja kategorii - stylizacja u góry */
.blog-categories {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 10px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.blog-categories a.blog-category {
    font-size: 0.9rem;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    -webkit-transition: background-color 0.3s ease, color 0.3s ease;
    -o-transition: background-color 0.3s ease, color 0.3s ease;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-categories a.blog-category.active {
    background-color: var(--primary-color);
    color: #fff;
}

.blog-categories a.blog-category:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Stylizacja kategorii w widoku postów */
.blog-post-categories {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.blog-post-categories a.blog-category {
    font-size: 0.8rem;
    text-decoration: none;
    padding: 3px 8px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    white-space: nowrap;
    font-weight: 600;
}

.blog-post-categories a.blog-category:hover {
    text-decoration: none;
}

/* Stylizacja <strong> w treści wpisu */
.post-content strong {
    font-weight: 800;
    color: var(--text-color);
}

/* Stylizacja wpisów na stronie głównej */
.blog-post-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100%;
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    -webkit-box-shadow: none;
            box-shadow: none;
    padding: 0.75rem;
}

.blog-post-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    margin: 0 auto;
}

.blog-post-content {
    padding: 10px 0;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.blog-post-title {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 10px 0;
    text-align: left;
}

.blog-post-title a {
    text-decoration: none;
    color: var(--text-color);
}

.blog-post-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
    text-align: left;
    font-weight: 600;
}

.blog-post-meta a {
    color: #6c757d;
    text-decoration: none;
}

.blog-post-meta a:hover {
    text-decoration: underline;
}

.blog-post-excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: auto;
}

.log-post-date {
    font-size: 0.9rem;
}

.single-post-container {
    padding-right: 2rem;
    line-height: 1.7;
}

/* Stylizacja pojedynczego wpisu */
.single-post-section h1 {
    font-size: 2.5rem !important;
    margin-bottom: 20px;
    text-align: left;
}

/* Stylizacja meta informacji */
.post-meta {
    font-size: 0.875rem !important;
    color: #6c757d;
    text-align: left;
}

.post-meta span {
    display: block;
    margin-bottom: 5px;
}

/* Treść wpisu */
.post-content {
    line-height: 1.6;
    text-align: left;
}

/* Media Queries - dostosowanie rozmiarów czcionek */
@media (min-width: 1200px) {
    .post-content {
        font-size: 18px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .post-content {
        font-size: 17px;
    }
}

@media (max-width: 991px) {
    .post-content {
        font-size: 16px;
    }
}

/* Usunięcie dodatkowych cieni, tła i obramowań */
.card, .card-body, .card-img-top {
    background: none !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    border: none !important;
}

/* Blok "W PIGUŁCE" */
.post-pigulka {
    background: #28a745;
    padding: 1.25em 2.375em;
    border-radius: 8px;
    color: #fff;
    text-align: left;
}

.pigulka-title {
    font-size: inherit;
    font-weight: bold;
}

h4.pigulka-title {
    color: white;
}

/* Styl dla strong w Pigułce */
.post-pigulka strong {
    font-weight: 800;
    color: #fff;
}

/* Nawigacja między wpisami */
.post-navigation a {
    color: #0d6efd;
    text-decoration: none;
}

.post-navigation a:hover {
    text-decoration: underline;
}

/* Tagi, autor, komentarze */
.post-tags .badge {
    font-size: 0.9rem;
}

.post-author-box {
    border-radius: 5px;
    background-color: transparent !important;
}

.post-author-box h5 {
    margin-bottom: 15px;
    text-align: left;
}

.post-author-box p {
    margin: 0;
    text-align: left;
}

.post-comments {
    margin-top: 30px;
}

/* Zaokrąglenie obrazków w pojedynczym wpisie */
.single-post-section img {
    border-radius: 24px;
}

/* Linie oddzielające sekcję z autorem */
.author-divider {
    background-color: transparent !important;
    border: none !important;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--author-border) !important;
}

/* Stylizacja nicku i opisu autora */
.post-author-box .author-name {
    font-size: 1.2rem;
    text-align: left;
}

.post-author-box .author-description {
    font-size: 0.875rem;
    text-align: left;
}