/* Match the existing dropdown palette across the public header. */
#masthead {
    --potok-menu-bg: #fff;
    --potok-menu-text: #202638;
    --potok-menu-highlight: #765016;
}
/* Outrank Astra's transparent-header border reset on both layouts. */
body #masthead .main-header-bar,
#masthead #ast-desktop-header > .ast-main-header-wrap > .main-header-bar,
#masthead #ast-mobile-header > .ast-main-header-wrap > .main-header-bar {
    background: var(--potok-menu-bg);
    border-bottom: 1px solid #e0e2e6;
}
body #masthead .ast-mobile-header-content,
body #masthead .ast-mobile-header-content .main-header-menu,
body #masthead .ast-mobile-header-content .menu-link {
    background: var(--potok-menu-bg);
}
body #masthead .main-header-menu > .menu-item > .menu-link,
body #masthead .main-header-menu > .menu-item > .ast-menu-toggle,
body #masthead .ast-mobile-menu-trigger-minimal {
    color: var(--potok-menu-text);
    text-shadow: none;
}
body #masthead .site-logo-img img {
    filter: brightness(0);
}
body #masthead .main-header-menu > :is(.current-menu-item, .current-menu-ancestor, :hover, :focus-within) > .menu-link {
    color: var(--potok-menu-highlight);
}
body #masthead .main-header-menu > .menu-item > .menu-link:is(:hover, :focus-visible) {
    background: transparent;
}
/* Older WordPress custom CSS sets the yellow dropdown fill with !important. */
body #masthead .main-header-menu .sub-menu .menu-item > .menu-link:is(:hover, :focus),
body #masthead .main-header-menu .sub-menu .current-menu-item > .menu-link {
    background: transparent !important;
}

#masthead .dropdown-menu-toggle .ast-icon,
#masthead .ast-menu-toggle {
    transition: transform .18s ease;
}
body.ast-desktop #masthead .menu-item-has-children:is(:hover, .focus, .ast-submenu-expanded) > .menu-link > .dropdown-menu-toggle .ast-icon,
body.ast-desktop #masthead .dropdown-menu-toggle[aria-expanded="true"] .ast-icon,
body.ast-header-break-point #masthead .ast-submenu-expanded > .ast-menu-toggle,
body.ast-header-break-point #masthead .ast-menu-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
    #masthead .dropdown-menu-toggle .ast-icon,
    #masthead .ast-menu-toggle { transition: none; }
}
body:not(.ast-theme-transparent-header) #masthead .site-logo-img img {
    width: 176px;
    max-width: 176px;
    height: auto;
}
@media (max-width: 921px) {
    body:not(.ast-theme-transparent-header) #masthead .site-logo-img img { width: 120px; max-width: 120px; }
}
@media (max-width: 543px) {
    body:not(.ast-theme-transparent-header) #masthead .site-logo-img img { width: 100px; max-width: 100px; }
}

body.potok-sticky-ready #masthead {
    position: fixed;
    inset: var(--potok-header-top, 0px) 0 auto;
    width: 100%;
    z-index: 1000;
}
.potok-header-spacer { height: var(--potok-header-space, 0px); }
html { scroll-padding-top: var(--potok-header-bottom, 0px); }

body.page-id-2050 .pk-price-table thead th {
    padding-top: 14px;
    padding-bottom: 14px;
}
body.page-id-2050 .pk-price-table thead th h2 {
    height: auto;
    min-height: 2.3em;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
}
body.page-id-2050 .pk-price-table thead th:first-child h2 { justify-content: flex-start; }
body.page-id-2050 .pk-price-table thead th:not(:first-child) > p {
    display: grid;
    grid-template-rows: 2.05em 2.25em 1.05em auto;
    line-height: 1.15;
    justify-items: center;
    align-items: center;
    margin: 0;
}
body.page-id-2050 .pk-price-table thead th:not(:first-child) small {
    min-height: 0;
    margin: 0;
    line-height: 1.15;
}
body.page-id-2050 .pk-price-table thead th:not(:first-child) .pk-price { margin: 0; line-height: 1.12; }
body.page-id-2050 .pk-price-table thead th:not(:first-child) a { margin: 7px 0 0; }
.potok-price-sticky {
    position: fixed;
    z-index: 990;
    overflow-x: auto;
    overflow-y: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    max-height: calc(100dvh - var(--potok-header-bottom) - 80px);
    background: var(--ast-global-color-5, #faf5e5);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .14);
}
.potok-price-sticky[hidden] { display: none; }
.potok-price-sticky .pk-price-table {
    table-layout: fixed;
    margin: 0;
    min-width: 0 !important;
    max-width: none;
}
.potok-plan-notes { margin: 22px 0 30px; color: #42483c; }
.potok-plan-notes h3 { font-size: 20px; margin: 0 0 10px; }
.potok-plan-notes ul { margin: 0 0 12px 1.2em; }
.potok-plan-notes li { margin-bottom: .45em; }
.potok-plan-notes summary { cursor: pointer; font-weight: 600; }
.potok-plan-notes details > div { padding-top: 10px; }
#pk-calc-error { color: #9a2824; font-size: 14px; margin-top: 8px; }
#pk-calc-error[hidden] { display: none; }
@media (max-width: 921px) {
    body.potok-sticky-ready #masthead .ast-mobile-header-content {
        max-height: calc(100dvh - var(--potok-header-bar-height, 68px) - var(--potok-header-top, 0px));
        overflow-y: auto;
    }
}
