#pf-suvisiace-wrapper,
#pf-aktuality-wrapper {
    font-family: "Fedra Sans Alt Pro", sans-serif;
}

#pf-suvisiace-wrapper .pf-grid,
#pf-aktuality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.5rem;
    row-gap: 3.5rem;
    overflow-y: auto;
}

.pf-grid-item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.pf-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 34.5 / 30;
    object-fit: cover;
}

.pf-title {
    font-family: "Georgia Pro", sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 400 !important;
    color: #000 !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    line-height: 2.813rem !important;
}

.pf-excerpt {
    font-family: "Fedra Sans Alt Pro", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #000;
    white-space: normal;
}

.pf-blogtext p {
    font-family: "Fedra Sans Alt Pro", sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #000;
    padding: 0;
    margin: 0;
    line-height: 1.875rem;
    white-space: normal;
}

.pf-readmore {
    font-weight: 400;
    margin-left: 0.5rem;
    opacity: 0;
    color: #000;
    transition: opacity 0.2s ease;
}

.pf-grid-item:hover .pf-readmore {
    opacity: 1;
    text-decoration: underline;
}

.pf-filter-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
    gap: 2.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.pf-filter-bar::-webkit-scrollbar {
    display: none;
}

.pf-filter-left {
    display: flex;
    gap: 2.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
}

.pf-filter-left::-webkit-scrollbar {
    display: none;
}

.pf-filter-left .pf-filter-btn {
    font-family: "Fedra Sans Alt Pro", sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: none;
    color: #000;
    background: none;
    box-shadow: none;
    padding: 0 0 0.5rem 0;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    line-height: 1.875rem;
    display: inline-block;
    flex-shrink: 0;
}

.pf-filter-left .pf-filter-btn.active {
    font-weight: 300;
}

.pf-filter-left .pf-filter-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: black;
}

.pf-filter-right .pf-order-btn {
    font-family: "Fedra Sans Alt Pro", sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #888;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0.5rem 0;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.875rem;
    display: inline-block;
}

.pf-filter-right {
    display: flex;
    gap: 2.5rem;
}

.pf-filter-right .pf-order-btn.active {
    color: #000;
}

.pf-excerpt-carousel {
    color: white;
    font-family: "Fedra Sans Alt Pro", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    width: 70rem;
}

.pf-excerpt-carousel a.pf-readmore-carousel {
    color: white;
    font-family: "Fedra Sans Alt Pro", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    text-decoration: underline;
}

.pf-breadcrumb {
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0;
}

.pf-breadcrumb::-webkit-scrollbar {
    display: none;
}

.pf-breadcrumb-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    color: var(--Black-400, #888);
    font-family: "Fedra Sans Alt Pro", sans-serif;
    font-size: 1rem;
    font-style: normal;
    text-transform: none;
    font-weight: 300;
    line-height: normal;
    white-space: nowrap;
}

.pf-breadcrumb-inner a {
    color: var(--Black-400, #888);
    text-decoration: underline !important;
    text-transform: none;
    transition: color 0.2s ease;
}

.pf-breadcrumb-inner a:hover {
    color: #000;
}

.pf-breadcrumb-inner .pf-breadcrumb-current {
    color: var(--Black-400, #888);
    text-decoration: none;
    text-transform: none;
}

.pf-breadcrumb-inner .pf-breadcrumb-separator {
    width: 0.75rem;
    height: 0.75rem;
    margin-top: 4px;
    vertical-align: middle;
    flex-shrink: 0;
}

#pf-load-more-wrapper {
    text-align: center;
    margin-top: 7.5rem;
    height: auto;
}

#pf-load-more-btn {
    width: 12rem;
    height: 3.25rem;
    font-family: 'Fedra Sans Alt Pro', sans-serif;
    font-size: 1rem;
    font-weight: 300;
	text-transform:uppercase;
    line-height: 1.25rem;
    border: 0.125rem solid #000;
    background: #fff;
    color: #000;
    border-radius: 2rem;
    cursor: pointer;
    text-align: center;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease, visibility 0.3s ease, opacity 0.3s ease;
}

#pf-load-more-btn:hover {
    background: #000;
    color: #fff;
}

@media (max-width: 921px) {
    #pf-suvisiace-wrapper .pf-grid,
    #pf-aktuality-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 3.5rem;
        padding: 0 1rem;
    }

    .pf-grid-item {
        gap: 1rem;
    }

    .pf-thumb img {
        width: 100%;
        height: 21.4375rem;
    }

    .pf-title {
        font-size: 1.5rem !important;
        margin-top: 0 !important;
        color: #000 !important;
        font-weight: 400 !important;
        margin-bottom: 0 !important;
        line-height: 1.688rem !important;
    }

    .pf-readmore {
        opacity: 1;
        margin-left: 0;
        font-size: 1rem;
        text-decoration: underline;
    }

    .pf-excerpt {
        font-family: "Fedra Sans Alt Pro", sans-serif;
        font-size: 1rem;
        font-weight: 300;
        color: #000;
        white-space: normal;
    }

    .pf-filter-bar {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        padding-left: 1rem; /* Removed left padding to start flush with grid */
        overflow-x: visible;
    }

    .pf-filter-left {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0; /* No padding to start flush with left edge */
        gap: 1rem;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        box-sizing: border-box;
        position: relative;
    }

    .pf-filter-left::after {
        content: '';
        flex-shrink: 0;
        width: 1rem; /* Buffer to align last button with grid's right padding */
        height: 1px;
    }

    .pf-filter-left::-webkit-scrollbar {
        display: none;
    }

    .pf-filter-left .pf-filter-btn {
        font-size: 1rem;
        line-height: 1.25rem;
        padding-bottom: 0.5rem;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .pf-filter-left .pf-filter-btn.active::after {
        height: 0.1rem;
    }

    .pf-filter-right {
        flex-direction: row;
        gap: 1rem;
        width: 100%;
        padding: 0; /* No padding to start flush with left edge */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pf-filter-right::after {
        content: '';
        flex-shrink: 0;
        width: 1rem; /* Buffer to align last button with grid's right padding */
        height: 1px;
    }

    .pf-filter-right::-webkit-scrollbar {
        display: none;
    }

    .pf-filter-right .pf-order-btn {
        font-size: 1rem;
        line-height: 1.25rem;
        padding: 0;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .pf-excerpt-carousel {
        width: 100%;
        font-size: 1rem;
        padding: 0;
    }

    .pf-excerpt-carousel a.pf-readmore-carousel {
        font-size: 1rem;
    }

    .pf-breadcrumb {
        padding: 0;
    }

    .pf-breadcrumb-inner {
        gap: 0.5rem;
        width: 37.5rem;
        max-width: 45rem;
        font-size: 1rem;
    }

    .pf-breadcrumb-inner .pf-breadcrumb-separator {
        width: 0.75rem;
        height: 0.75rem;
        margin-top: 3px;
    }

    #pf-load-more-wrapper {
        margin-top: 3.5rem;
        padding: 0 1rem;
    }

    #pf-load-more-btn {
        width: 100%;
        max-width: 12rem;
        height: 3.25rem;
        font-family: 'Fedra Sans Alt Pro', sans-serif;
        font-size: 1rem;
        font-weight: 300;
		text-transform:uppercase;
        line-height: 1.25rem;
        border: 2px solid #000;
        background: #000;
        color: #fff;
        border-radius: 2rem;
        cursor: pointer;
        margin: 1rem auto;
        transition: background 0.2s ease, color 0.2s ease, visibility 0.3s ease, opacity 0.3s ease;
    }
}