.fok-bw {
    --fok-bw-teal: #019ba5;
    --fok-bw-teal-dark: #00737b;
    --fok-bw-green: #95c121;
    --fok-bw-yellow: #ffd800;
    --fok-bw-text: #312f2f;
    --fok-bw-muted: #58666f;
    --fok-bw-line: #d9e2e3;
    --fok-bw-surface: #f4f8f8;
    color: var(--fok-bw-text);
    margin-bottom: 34px;
}

.fok-bw__search {
    background: #fff;
    border: 1px solid var(--fok-bw-line);
    border-radius: 4px;
    border-top: 5px solid var(--fok-bw-teal);
    box-shadow: 0 8px 24px rgba(0, 115, 123, .08);
    display: grid;
    gap: 20px;
    grid-template-columns: 56px minmax(0, 1fr);
    margin: 0 0 46px;
    padding: 28px 30px 24px;
}

.fok-bw__search-icon,
.fok-bw__topic-icon,
.fok-bw__group-icon {
    align-items: center;
    background: var(--fok-bw-teal);
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
}

.fok-bw__search-icon {
    font-size: 24px;
    height: 56px;
    width: 56px;
}

.fok-bw__search-content {
    min-width: 0;
}

.fok-bw__search label {
    display: block;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 6px;
}

.fok-bw__search-content > p:not(.fok-bw__status) {
    color: var(--fok-bw-muted);
    margin: 0 0 17px;
}

.fok-bw__search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.fok-bw__search input {
    background: #fff;
    border: 1px solid #8a999f;
    border-radius: 0;
    box-shadow: none;
    font-size: 16px;
    height: 54px;
    margin: 0;
    padding: 0 16px;
}

.fok-bw__search button {
    align-items: center;
    background: var(--fok-bw-teal);
    border: 2px solid var(--fok-bw-teal);
    border-radius: 0;
    color: #fff;
    display: inline-flex;
    gap: 9px;
    font-weight: 800;
    justify-content: center;
    min-width: 145px;
    padding: 0 18px;
}

.fok-bw__search button:hover {
    background: var(--fok-bw-teal-dark);
    border-color: var(--fok-bw-teal-dark);
}

.fok-bw__search input:focus,
.fok-bw__search button:focus-visible {
    box-shadow: 0 0 0 4px rgba(1, 155, 165, .18);
    outline: 2px solid var(--fok-bw-teal-dark);
    outline-offset: 2px;
}

.fok-bw__suggestions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.fok-bw__suggestions > span {
    color: var(--fok-bw-muted);
    font-size: 13px;
    font-weight: 700;
    margin-right: 2px;
}

.fok-bw__suggestions button {
    background: var(--fok-bw-surface);
    border: 1px solid #b8cbcd;
    border-radius: 3px;
    color: var(--fok-bw-teal-dark);
    font-size: 13px;
    line-height: 1;
    min-height: 34px;
    min-width: 0;
    padding: 8px 11px;
}

.fok-bw__suggestions button:hover,
.fok-bw__suggestions button:focus-visible {
    background: #fff;
    border-color: var(--fok-bw-teal);
    color: var(--fok-bw-teal-dark);
}

.fok-bw__status {
    color: var(--fok-bw-teal-dark);
    font-size: 14px;
    font-weight: 700;
    margin: 9px 0 0;
    min-height: 21px;
}

.fok-bw__nav {
    margin: 0 0 48px;
}

.fok-bw__nav-head {
    margin-bottom: 22px;
    max-width: 720px;
}

.fok-bw__nav-head > span {
    color: var(--fok-bw-teal-dark);
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}

.fok-bw__nav-head h2 {
    color: var(--fok-bw-text);
    font-size: 30px;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 8px;
}

.fok-bw__nav-head p {
    color: var(--fok-bw-muted);
    margin: 0;
}

.fok-bw__topic-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fok-bw__topic {
    align-items: center;
    background: #fff;
    border: 1px solid var(--fok-bw-line);
    border-radius: 4px;
    color: var(--fok-bw-text);
    display: grid;
    gap: 12px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    min-height: 82px;
    padding: 14px;
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.fok-bw__topic:hover,
.fok-bw__topic:focus-visible {
    border-color: var(--fok-bw-teal);
    box-shadow: 0 8px 20px rgba(0, 115, 123, .1);
    color: var(--fok-bw-text);
    transform: translateY(-2px);
}

.fok-bw__topic:focus-visible {
    outline: 2px solid var(--fok-bw-teal-dark);
    outline-offset: 2px;
}

.fok-bw__topic-icon {
    font-size: 19px;
    height: 44px;
    width: 44px;
}

.fok-bw__topic:nth-child(even) .fok-bw__topic-icon {
    background: var(--fok-bw-green);
}

.fok-bw__topic-copy,
.fok-bw__topic-copy strong,
.fok-bw__topic-copy small {
    display: block;
}

.fok-bw__topic-copy strong {
    font-size: 15px;
    line-height: 1.25;
}

.fok-bw__topic-copy small {
    color: var(--fok-bw-muted);
    font-size: 12px;
    margin-top: 3px;
}

.fok-bw__topic-arrow {
    color: var(--fok-bw-teal-dark);
    font-size: 18px;
}

.fok-bw__group {
    border-top: 1px solid var(--fok-bw-line);
    padding: 42px 0 48px;
    scroll-margin-top: 210px;
}

.fok-bw__group-head {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    margin-bottom: 24px;
}

.fok-bw__group-icon {
    font-size: 23px;
    height: 56px;
    width: 56px;
}

.fok-bw__group:nth-of-type(even) .fok-bw__group-icon {
    background: var(--fok-bw-green);
}

.fok-bw__group-head p {
    color: var(--fok-bw-teal-dark);
    font-size: 13px;
    font-weight: 800;
    margin: 0 0 4px;
}

.fok-bw__group-head h2 {
    font-size: 28px;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 5px;
}

.fok-bw__group-head span {
    color: var(--fok-bw-muted);
    display: block;
    line-height: 1.55;
}

.fok-bw__group-head .fok-bw__group-icon {
    color: #fff;
    display: inline-flex;
    line-height: 1;
}

.fok-bw__group-icon i {
    color: inherit;
    line-height: 1;
}

.fok-bw__group-head .fok-bw__group-count {
    background: var(--fok-bw-surface);
    border-radius: 3px;
    color: var(--fok-bw-teal-dark);
    font-size: 13px;
    font-weight: 800;
    padding: 8px 11px;
    white-space: nowrap;
}

.fok-bw__list {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fok-bw__item {
    background: #fff;
    border: 1px solid var(--fok-bw-line);
    border-radius: 4px;
    border-top: 4px solid var(--fok-bw-teal);
    color: var(--fok-bw-text);
    display: flex;
    flex-direction: column;
    min-height: 180px;
    padding: 20px 21px 18px;
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.fok-bw__item:nth-child(even) {
    border-top-color: var(--fok-bw-green);
}

.fok-bw__item:hover,
.fok-bw__item:focus-visible {
    border-color: var(--fok-bw-teal);
    box-shadow: 0 9px 22px rgba(0, 115, 123, .1);
    color: var(--fok-bw-text);
    transform: translateY(-2px);
}

.fok-bw__item:focus-visible {
    outline: 2px solid var(--fok-bw-teal-dark);
    outline-offset: 2px;
}

.fok-bw__item[hidden],
.fok-bw__group[hidden] {
    display: none !important;
}

.fok-bw__item-head {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.fok-bw__item-head > i {
    color: var(--fok-bw-teal-dark);
    font-size: 18px;
    margin-top: 3px;
}

.fok-bw__question {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.fok-bw__summary {
    color: var(--fok-bw-muted);
    display: -webkit-box;
    flex: 1 1 auto;
    line-height: 1.5;
    margin-top: 10px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.fok-bw__open {
    align-items: center;
    align-self: flex-start;
    color: var(--fok-bw-teal-dark);
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    gap: 7px;
    margin-top: 15px;
    white-space: nowrap;
}

.fok-bw__open i {
    font-size: 14px;
}

.fok-bw__empty {
    background: #fff7cf;
    border-left: 6px solid var(--fok-bw-yellow);
    margin-bottom: 32px;
    padding: 22px 25px;
}

.fok-bw__empty h2 {
    font-size: 23px;
    letter-spacing: 0;
    margin-top: 0;
}

.fok-bw-link {
    display: inline;
    position: relative;
}

.fok-bw-link__trigger {
    border-bottom: 2px dotted var(--fok-bw-teal, #019ba5);
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.fok-bw-link__icon {
    align-items: center;
    background: var(--fok-bw-teal, #019ba5);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 10px;
    height: 15px;
    justify-content: center;
    line-height: 1;
    margin-left: 4px;
    transform: translateY(-1px);
    width: 15px;
}

.fok-bw-link__trigger:focus-visible {
    outline: 2px solid var(--fok-bw-teal, #019ba5);
    outline-offset: 3px;
}

.fok-bw-link__popover {
    --fok-bw-popover-shift-x: 0px;
    background: #fff;
    border: 3px solid var(--fok-bw-teal, #019ba5);
    bottom: calc(100% + 12px);
    box-shadow: 0 10px 28px rgba(22, 39, 43, .22);
    color: var(--fok-bw-text, #312f2f);
    display: block;
    left: 50%;
    max-width: min(340px, calc(100vw - 32px));
    min-width: 280px;
    opacity: 0;
    padding: 17px 18px 16px;
    pointer-events: none;
    position: absolute;
    transform: translate(calc(-50% + var(--fok-bw-popover-shift-x)), 8px);
    transition: opacity .16s ease, visibility .16s ease;
    visibility: hidden;
    white-space: normal;
    z-index: 9999;
}

.fok-bw-link__popover::after {
    background: #fff;
    border-bottom: 3px solid var(--fok-bw-teal, #019ba5);
    border-right: 3px solid var(--fok-bw-teal, #019ba5);
    bottom: -9px;
    content: '';
    height: 14px;
    left: calc(50% - var(--fok-bw-popover-shift-x));
    position: absolute;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
}

.fok-bw-link__popover > strong,
.fok-bw-link__popover > span {
    display: block;
}

.fok-bw-link__popover > strong {
    color: var(--fok-bw-teal-dark, #00737b);
    font-size: 16px;
    margin-bottom: 7px;
}

.fok-bw-link__popover > span {
    font-size: 14px;
    line-height: 1.5;
}

.fok-bw-link__more {
    background: var(--fok-bw-teal, #019ba5);
    color: #fff !important;
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    margin-top: 12px;
    padding: 8px 10px;
}

.fok-bw-link:hover .fok-bw-link__popover,
.fok-bw-link:focus-within .fok-bw-link__popover,
.fok-bw-link.is-open .fok-bw-link__popover {
    opacity: 1;
    pointer-events: auto;
    transform: translate(calc(-50% + var(--fok-bw-popover-shift-x)), 0);
    visibility: visible;
}

@media (max-width: 849px) {
    .fok-bw__topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fok-bw__group-head {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .fok-bw__group-head .fok-bw__group-count {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 549px) {
    .fok-bw__search {
        gap: 14px;
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 22px 18px;
    }

    .fok-bw__search-icon {
        font-size: 19px;
        height: 44px;
        width: 44px;
    }

    .fok-bw__search label {
        font-size: 19px;
    }

    .fok-bw__search-row {
        gap: 8px;
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .fok-bw__search button {
        min-height: 48px;
        width: 100%;
    }

    .fok-bw__suggestions {
        grid-column: 1 / -1;
    }

    .fok-bw__nav-head h2 {
        font-size: 26px;
    }

    .fok-bw__topic-grid,
    .fok-bw__list {
        grid-template-columns: 1fr;
    }

    .fok-bw__group {
        padding: 34px 0 40px;
    }

    .fok-bw__group-head {
        align-items: start;
        gap: 14px;
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .fok-bw__group-icon {
        font-size: 20px;
        height: 48px;
        width: 48px;
    }

    .fok-bw__group-head h2 {
        font-size: 24px;
    }

    .fok-bw__item {
        min-height: 0;
    }

    .fok-bw-link__popover {
        min-width: min(300px, calc(100vw - 32px));
    }
}
