body {
    color: var(--pm-color-text);
    font-family: var(--pm-font-family);
}

img,
iframe {
    max-width: 100%;
}

.site-main a {
    color: inherit;
}

.pm-container {
    width: min(100% - 32px, var(--pm-content-width));
    margin-inline: auto;
}

.static-page {
    padding-block: 32px;
    border-bottom: 1px solid #d9d9d9;
    overflow-wrap: anywhere;
}

.static-page > h1 {
    margin: 0 0 24px;
}

.static-page__content {
    display: flow-root;
}

.static-page__content > :last-child {
    margin-bottom: 0;
}

.pm-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 33px;
    padding: 0 22px;
    border: 0;
    border-radius: 15px;
    background: var(--pm-color-primary);
    color: #ffffff;
    font-family: var(--pm-font-family);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.site-header {
    display: contents;
    background: var(--pm-color-surface);
}

.pm-menu-bars {
    position: sticky;
    z-index: 1001;
    top: 0;
}

.pm-header-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 108px;
    background: var(--pm-color-surface);
}

.pm-header-top .header-utility {
    position: absolute;
    left: 0;
    top: 50%;
    max-width: calc(50% - 180px);
    transform: translateY(-50%);
}

.header-utility,
.header-branding {
    border: 0;
    border-radius: 0;
    padding: 0;
}

.header-branding img {
    display: block;
    width: auto;
    max-height: 78px;
}

.header-utility__social,
.header-utility .menu {
    gap: 16px;
}

.header-utility a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pm-color-text);
    font-size: 14px;
    text-decoration: none;
}

.header-social-icon {
    display: block;
    width: 22px;
    height: 22px;
}

.pm-menu-bar {
    min-height: 40px;
    background: var(--pm-color-menu-bg);
}

.header-nav--secondary {
    border-top: 2px solid rgba(255, 255, 255, 0.7);
}

.pm-menu-bar__inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 40px;
}

.pm-menu-bar__home,
.pm-menu-bar__search {
    display: grid;
    flex: 0 0 24px;
    width: 24px;
    height: 40px;
    place-items: center;
    color: #000000;
}

.pm-menu-bar__home svg,
.pm-menu-bar__search svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.pm-menu-bar__search {
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.pm-header-search {
    position: absolute;
    z-index: 1100;
    top: 100%;
    right: 0;
    width: min(320px, calc(100vw - 24px));
    padding: 14px 20px 12px;
    background: var(--pm-color-surface);
    box-shadow: var(--pm-shadow-mega-menu);
}

.pm-header-search__form {
    display: grid;
    gap: 6px;
}

.pm-header-search__form input {
    width: 100%;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid var(--pm-color-primary);
    border-radius: 16px;
    font: italic 14px/1.2 var(--pm-font-family);
}

.pm-header-search__form input:focus {
    box-shadow: 0 0 0 3px rgba(var(--pm-color-primary-rgb), 0.14);
    outline: 0;
}

.pm-header-search__form button {
    min-height: 36px;
    border: 0;
    border-radius: 14px;
    background: var(--pm-color-primary);
    color: #ffffff;
    font-family: var(--pm-font-family);
    font-weight: 700;
    cursor: pointer;
}

.pm-menu-bar__next {
    display: none;
}

.pm-menu-bar .menu {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 44px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.pm-menu-bar .menu::-webkit-scrollbar {
    display: none;
}

.pm-menu-bar .menu li {
    position: relative;
    flex: 0 0 auto;
}

.pm-menu-bar .menu a {
    display: flex;
    align-items: center;
    min-height: 40px;
    color: #272727;
    font-family: var(--pm-font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.pm-menu-bar .current-menu-item > a,
.pm-menu-bar .current-menu-ancestor > a,
.pm-menu-bar .current_page_item > a {
    color: var(--pm-color-menu-active);
    font-weight: 700;
}

.header-nav .sub-menu {
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: 0;
    display: none;
    min-width: 220px;
    max-width: min(909px, calc(100vw - 32px));
    margin: 0;
    padding: 22px 28px;
    list-style: none;
    border: 0;
    border-radius: 0;
    background: var(--pm-color-surface);
    box-shadow: var(--pm-shadow-mega-menu);
}

.header-nav li:hover > .sub-menu,
.header-nav li:focus-within > .sub-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, max-content));
    gap: 10px 28px;
}

.header-nav .sub-menu a {
    min-height: 0;
    color: var(--pm-color-text);
    font-size: 14px;
    font-weight: 400;
}

.header-nav .sub-menu .current-menu-item > a,
.header-nav .sub-menu .current-menu-ancestor > a,
.header-nav .sub-menu a:hover,
.header-nav .sub-menu a:focus {
    color: var(--pm-color-submenu-active);
    font-weight: 700;
}

@media (min-width: 768px) {
    .header-nav .menu {
        overflow: visible;
    }

    .pm-mega-menu {
        position: absolute;
        z-index: 1000;
        top: 100%;
        left: 0;
        display: none;
        width: min(820px, calc(100vw - 32px));
        min-height: 230px;
        padding: 20px 28px;
        border: 0;
        background: var(--pm-color-surface);
        box-shadow: var(--pm-shadow-mega-menu);
        box-sizing: border-box;
    }

    .pm-mega-menu--align-right {
        right: 0;
        left: auto;
    }

    .header-nav .menu > li:hover > .pm-mega-menu,
    .header-nav .menu > li:focus-within > .pm-mega-menu {
        display: flex;
    }

    .pm-mega-menu__category-nav {
        display: flex;
        flex: 0 0 190px;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
        margin: 0 28px 0 0;
        padding: 0 28px 0 0;
        border-right: 1px solid #d7d7d7;
    }

    .pm-mega-menu--align-right .pm-mega-menu__category-nav {
        order: 2;
        margin: 0 0 0 28px;
        padding: 0 0 0 28px;
        border-right: 0;
        border-left: 1px solid #d7d7d7;
    }

    .pm-mega-menu__categories {
        display: flex;
        width: 100%;
        max-height: 165px;
        flex-direction: column;
        gap: 3px;
        margin: 0;
        padding: 0;
        overflow-y: hidden;
        scroll-behavior: smooth;
        list-style: none;
    }

    .pm-mega-menu__categories > li {
        flex: 0 0 18px;
        min-height: 18px;
    }

    .pm-menu-bar .menu .pm-mega-menu__category {
        display: block;
        width: 100%;
        overflow: hidden;
        min-height: 0;
        padding: 2px 0;
        color: var(--pm-color-text);
        font-size: 12px;
        font-weight: 400;
        line-height: 1.15;
        text-transform: lowercase;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pm-mega-menu__scroll {
        height: 24px;
        padding: 0;
        border: 0;
        color: var(--pm-color-primary);
        background: transparent;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .pm-mega-menu__scroll span {
        display: inline-block;
    }

    .pm-mega-menu__scroll--up span {
        transform: rotate(90deg);
    }

    .pm-mega-menu__scroll--down span {
        transform: rotate(90deg);
    }

    .pm-mega-menu__scroll:disabled {
        visibility: hidden;
    }

    .pm-menu-bar .menu .pm-mega-menu__category::first-letter {
        text-transform: uppercase;
    }

    .pm-menu-bar .menu .pm-mega-menu__category:hover,
    .pm-menu-bar .menu .pm-mega-menu__category:focus,
    .pm-menu-bar .menu .pm-mega-menu__category.is-active {
        color: var(--pm-color-primary);
        font-weight: 700;
        outline: 0;
    }

    .pm-menu-bar .menu .pm-mega-menu__category:focus-visible {
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .pm-menu-bar .menu .pm-mega-menu__article a {
        display: block;
        min-height: 0;
        white-space: normal;
    }

    .pm-mega-menu__article a {
        text-transform: none;
    }

    .pm-mega-menu__articles {
        display: grid;
        flex: 1 1 auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
        align-items: start;
        min-width: 0;
    }

    .pm-mega-menu__articles[hidden] {
        display: none;
    }

    .pm-mega-menu__article {
        min-width: 0;
    }

    .pm-mega-menu__thumbnail {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 10;
        margin-bottom: 8px;
        object-fit: cover;
        background: #dedede;
    }

    .pm-menu-bar .menu .pm-mega-menu__title {
        display: block;
        color: var(--pm-color-text);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.25;
        text-transform: none;
    }
}

@media (max-width: 767.98px) {
    .pm-mega-menu {
        display: none;
    }
}

.site-breadcrumb {
    min-height: 32px;
    background: var(--pm-color-surface);
}

.site-breadcrumb__inner {
    display: flex;
    align-items: center;
    min-height: 32px;
    overflow: hidden;
}

.site-breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #b5b5b5;
    font-size: 12px;
    line-height: 1.25;
    list-style: none;
    white-space: nowrap;
}

.site-breadcrumb__item {
    display: flex;
    align-items: center;
    min-width: 0;
}

.site-breadcrumb__item:not(:last-child)::after {
    margin-left: 8px;
    color: #d2d2d2;
    content: "/";
}

.site-breadcrumb__item a,
.site-breadcrumb__item span {
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    text-overflow: ellipsis;
}

.site-breadcrumb__item a:hover,
.site-breadcrumb__item a:focus-visible {
    color: #555555;
}

@media (max-width: 575.98px) {
    .pm-container {
        width: min(100% - 24px, var(--pm-content-width));
    }

    .pm-header-top {
        min-height: 96px;
    }

    .pm-header-top .header-utility {
        right: 0;
        left: auto;
        max-width: none;
    }

    .pm-header-top .header-utility__inner,
    .pm-header-top .header-utility__social,
    .pm-header-top .header-utility .menu {
        flex-direction: column;
        flex-wrap: nowrap !important;
        gap: 2px !important;
    }

    .pm-menu-bar .menu {
        justify-content: flex-start;
        gap: 28px;
    }

    .pm-menu-bar__home {
        margin-right: 12px;
    }

    .pm-menu-bar__search {
        margin-left: 12px;
    }

    .pm-menu-bar__next {
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        display: grid;
        width: 44px;
        height: 40px;
        padding: 0 0 0 8px;
        place-items: center;
        border: 0;
        background: linear-gradient(90deg, transparent, var(--pm-color-menu-bg) 28%);
        color: var(--pm-color-text);
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
    }

    .pm-menu-bar__next[hidden] {
        display: none;
    }

    .pm-menu-bar__next:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: -3px;
    }

    .section-disclaimer__container {
    width: min(100% - 24px, var(--pm-content-width));
    }
}

.pm-button-primary,
.site-main a.pm-button-primary,
.card a.pm-button-primary {
    color: #ffffff;
}

.pm-button-primary:hover,
.pm-button-primary:focus,
.pm-button-primary:visited,
.site-main a.pm-button-primary:hover,
.site-main a.pm-button-primary:focus,
.site-main a.pm-button-primary:visited,
.card a.pm-button-primary:hover,
.card a.pm-button-primary:focus,
.card a.pm-button-primary:visited {
    color: #ffffff;
}

/* Shared disclaimer styling */
.section-disclaimer {
    margin: 0;
}

.section-disclaimer__container {
    width: min(100% - 32px, var(--pm-content-width));
    max-width: var(--pm-content-width);
    margin-inline: auto;
    padding: 0;
    background: #ffffff;
    text-align: center;
}

.section-disclaimer__text {
    max-width: 760px;
    margin: 0 auto;
    color: #000000;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.site-footer {
    background: #ffffff;
    color: #000000;
    font-family: var(--pm-font-family);
}

.site-footer__container {
    width: min(100% - 32px, var(--pm-content-width));
    max-width: var(--pm-content-width);
    margin-inline: auto;
    padding-block: 20px 24px;
    background: #ffffff;
}

/* Single footer separator for home and article pages */
body.home .site-footer__container,
body.single-post .site-footer__container {
    border-top: 1px solid #d9d9d9;
    padding-top: 40px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}

.footer-column,
.footer-column .widget {
    min-width: 0;
}

.footer-column__title,
.footer-column .widget-title,
.footer-column .wp-block-heading {
    margin: 0 0 14px;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.footer-column .menu,
.footer-column ul:not(.footer-social) {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column .menu a,
.footer-column a {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
}

.footer-column--logo img,
.footer-column--logo .custom-logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 92px;
    border: 0;
    border-radius: 0;
    object-fit: contain;
}

@media (min-width: 992px) {
    .header-branding img,
    .footer-column--logo img,
    .footer-column--logo .custom-logo {
        width: 250px;
        height: 84px;
        max-width: none;
        max-height: none;
        object-fit: contain;
    }
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.footer-column--media iframe,
.footer-column--media .fb-page,
.footer-column--media .fb_iframe_widget,
.footer-column--media .fb_iframe_widget span {
    max-width: 100% !important;
}

.site-footer__meta {
    margin-top: 28px;
    padding-top: 0;
    text-align: center;
    color: #000000;
    font-size: 12px;
    line-height: 1.4;
}

.site-footer__meta p {
    margin: 0;
}

.back-to-top {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 1000;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    color: #000000;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    opacity: 1;
    backdrop-filter: blur(4px);
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.back-to-top[hidden] {
    display: none;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    transform: translateY(-2px);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--pm-color-primary, #be1522);
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .back-to-top {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
        width: 44px;
        height: 44px;
    }

    .site-footer__container {
        width: min(100% - 24px, var(--pm-content-width));
        padding-block: 20px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 28px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column--logo,
    .footer-column--media {
        grid-column: 1 / -1;
    }

    .footer-column--logo {
        padding-bottom: 4px;
    }

    .footer-column--logo img,
    .footer-column--logo .custom-logo {
        margin-inline: auto;
    }

    .footer-column:not(.footer-column--logo) {
        padding-top: 20px;
        border-top: 1px solid #e2e8f0;
    }

    .footer-column .menu,
    .footer-column ul:not(.footer-social) {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column--media iframe,
    .footer-column--media .fb-page,
    .footer-column--media .fb_iframe_widget {
        margin-inline: auto;
    }
}
/* Patika Magazin category featured-image watermark. */
.pm-watermarked-image {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pm-watermarked-image > .pm-magazine-watermark,
.pm-magazine-watermark {
    position: absolute;
    z-index: 2;
    top: clamp(8px, 2.5%, 20px);
    right: clamp(8px, 2.5%, 20px);
    width: clamp(58px, 18%, 130px) !important;
    height: auto !important;
    max-height: 28%;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: top right;
    pointer-events: none;
}
