:root {
    --news-item-read-more-align: right;
    --news-item-read-more-border-radius: 1px;
    --news-item-read-more-font-style: italic;
}

/* Nagłówek i nawigacja. */

.header-area {
    background: var(--header-bg, #000);
}

.header-area__inside {
    display: flex;
    flex-direction: column;
    gap: 1.25em;
    padding: 10px 0;
}

.logo-hamburger-wrapper,
.header-area__navigation {
    min-width: 0;
}

.logo {
    display: block;
    min-width: 0;
    background: var(--logo-background, #fff);
}

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

.godlo {
    display: none;
}

.header-area__navigation {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.header-area__navigation .search-form {
    width: 100%;
    max-width: 320px;
    align-self: flex-end;
}

.banner-area {
    background: var(--banner-background, none);
}

.banner-area__inside img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 700px) {
    .header-nav-ul {
        justify-content: flex-start;
        column-gap: 1.8em;
        row-gap: 0;
        margin: 0;
    }

    .header-nav-ul > li > a {
        padding: 0.35em 0;
    }
}

@media (min-width: 1000px) {
    .header-area__inside {
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }

    .header-area__navigation {
        flex: 1 1 0;
    }

    .header-nav-ul {
        font-size: 0.95em;
        justify-content: center;
    }

    .godlo {
        display: block;
    }
}

/* Treść zachowuje jedną kolumnę także przy włączonym Masonry. */

.main-area {
    padding-top: 10px;
    padding-bottom: 30px;
}

.main-column,
.sidebar {
    min-width: 0;
}

.main-column__inside {
    padding: 0 15px;
}

.main-area--only-first-sidebar.main-area--only-second-sidebar .main-area__inside {
    display: block;
}

.breadcrumbs {
    padding: 12px 0;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--breadcrumbs-color, inherit);
}

.breadcrumbs a {
    color: inherit;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
    color: var(--link-hover-color, #adff2f);
    text-decoration: underline;
}

.main-header__title {
    font-weight: 300;
}

.news-list .news-item {
    width: 100%;
    padding: 0 0 20px;
    margin-bottom: 20px;
}

.news-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: var(--news-list-items-separator-border, 1px dotted #d5d5d5);
}

.news-item__title {
    font-weight: 300;
    line-height: 1.2;
}

.news-item__thumbnail:not(.news-item__thumbnail--full-width) {
    max-width: 20%;
}

.news-item__read-more-link {
    padding: 3px 25px;
}

.news-item__read-more-text {
    font-weight: 400;
}

.news-item__read-more-icon {
    display: none;
}

.news-item__read-more-link:hover,
.news-item__read-more-link:focus {
    text-decoration: underline;
}

.pagination__link {
    border-radius: 1px;
}

@media (max-width: 699px) {
    .main-column__inside {
        padding: 0;
    }
}

/* Boczne moduły i menu. */

.sidebar__addon {
    padding: 10px 0 20px;
}

.sidebar__addon-header {
    color: var(--sidebar-header-color, #fff);
    font-size: 1.3em;
    font-weight: 300;
    line-height: 1.6;
    text-align: center;
    border-bottom: var(--sidebar-header-border, 1px solid #555);
    margin: 0 0 18px;
}

.sidebar-first__inside > * + * {
    margin-top: 25px;
}

.sidebar-second__inside > * + * {
    margin-top: 15px;
}

.sidebar__addon.nav-addon {
    background: var(--sidebar-nav-bg, #000);
    border: var(--sidebar-nav-box-border, 1px solid #fff);
    padding: 0;
}

.nav-addon .sidebar__addon-header {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sidebar__addon.nav-addon .sf-menu {
    padding-left: 8px;
}

.nav-addon .sf-menu > li {
    position: relative;
}

.nav-addon .sf-menu > li:not(:last-child) {
    border-bottom: var(--sidebar-nav-border, 1px solid #555);
}

.nav-addon .sf-menu > li::before {
    content: "";
    position: absolute;
    top: 1.05em;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--sidebar-nav-marker, #ffff00);
}

.nav-addon .sf-menu > li > a {
    padding: 9px 8px 9px 15px;
    line-height: 1.3;
}

.sidebar__addon .sf-menu ul {
    padding: 0 10px 10px 15px;
}

.sidebar__addon .sf-menu ul a {
    padding: 8px 0;
    border-bottom: var(--sidebar-nav-border, 1px dotted #555);
}

.search-form__input {
    padding: 7px 33px 7px 8px;
    border-radius: 0;
}

.search-form__button {
    opacity: 1;
}

.survey-addon {
    border: var(--sidebar-nav-box-border, 1px solid #fff);
    padding: 10px 15px 20px;
}

.survey-addon__header {
    color: var(--sidebar-header-color, #fff);
    padding-bottom: 0;
}

.survey-addon__buttons {
    flex-wrap: wrap;
}

@media (min-width: 450px) and (max-width: 699px) {
    .sidebar-first__inside {
        padding-right: 10px;
    }

    .sidebar-second__inside {
        padding-left: 10px;
    }
}

@media (min-width: 1170px) {
    .sidebar-first__inside {
        padding-right: 10px;
    }

    .sidebar-second__inside {
        padding-left: 10px;
    }
}

@media print {
    .main-area__inside {
        display: block;
    }

    .main-column__inside {
        padding: 0;
    }
}
