/* Fluid layout and legacy block geometry. Loaded after the base styles. */

.site-header__inner,
.page-shell,
.site-footer__inner {
    width: calc(100% - clamp(16px, 2vw, 32px));
    max-width: none;
}

.page-shell {
    margin-top: clamp(8px, 1vw, 14px);
}

.site-layout {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: clamp(8px, 1vw, 14px);
    align-items: start;
}

.site-sidebar {
    position: static;
    width: max-content;
    max-width: min(260px, calc(100vw - 16px));
    max-height: none;
    overflow: visible;
    justify-self: start;
}

.legacy-menu {
    width: max-content;
    max-width: 100%;
}

.legacy-menu ul,
.language-links,
.site-search {
    width: 100%;
}

.legacy-menu a {
    white-space: nowrap;
}

.site-main,
.legacy-content,
.home-news {
    width: 100%;
    min-width: 0;
}

/* Shared presentation for simple legacy pages loaded into the new shell. */
.legacy-page-content {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
}

.legacy-page-content > div:first-child {
    margin: 0 0 clamp(18px, 2vw, 26px);
}

.legacy-page-content > div:first-child table {
    width: 100% !important;
}

.legacy-page-content > div:first-child .shadow,
.legacy-page-content > div:first-child table tr:first-child > .shadow_c {
    padding: clamp(10px, 1vw, 14px) clamp(14px, 1.5vw, 22px) !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: clamp(17px, 1.4vw, 22px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content p,
.legacy-page-content .main_page_justify {
    margin-top: 0 !important;
    margin-bottom: clamp(13px, 1.2vw, 18px) !important;
}

/* Forum report timestamps separate updates and days inside long reports. */
.legacy-page-content p.author {
    margin-top: clamp(20px, 2vw, 30px) !important;
    margin-bottom: clamp(10px, 1vw, 14px) !important;
    color: #0000ff !important;
    font-family: Consolas, monospace !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

/* Replacement for post-link GIFs removed by the forum redesign. */
.legacy-page-content .legacy-forum-post-icon {
    display: inline-block;
    width: 12px;
    height: 14px;
    margin: 0 3px 0 0;
    color: #6b7280;
    vertical-align: -2px;
    overflow: visible;
}

/* Legacy article index: keep the compact centered table and raised buttons. */
.legacy-page-content--articles > div:first-child {
    margin: 0;
    overflow-x: auto;
    text-align: center;
}

.legacy-page-content--articles > div:first-child table {
    width: max-content !important;
    max-width: none;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-page-content--articles > div:first-child .shadow_c,
.legacy-page-content--articles > div:first-child table tr:first-child > .shadow_c {
    padding: 2px 6px !important;
    color: #111111 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    box-shadow: none;
}

.legacy-page-content--articles td.separator {
    height: 6px;
    padding: 0 !important;
}

.legacy-page-content--articles td.menu {
    padding: 0 !important;
    background: #707570;
    border: 2px solid;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-page-content--articles td.menu > a.menu {
    display: block;
    padding: 3px 12px;
    color: #ffffff;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 #333333;
    white-space: nowrap;
}

.legacy-page-content--articles td.menu:hover {
    background: #626b66;
}

.legacy-page-content--articles td.menu:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

.legacy-page-content--articles td.menu > a.menu:hover,
.legacy-page-content--articles td.menu > a.menu:focus-visible {
    color: #ffffff;
    background: transparent;
    outline: none;
}

.legacy-page-content--articles td.menu > a.menu:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent);
}

@media (max-width: 580px) {
    .legacy-page-content--articles > div:first-child table {
        width: 100% !important;
        min-width: 0;
    }

    .legacy-page-content--articles td.menu,
    .legacy-page-content--articles td.menu > a.menu {
        white-space: normal;
    }
}

/* Competition archive: year dividers and readable report rows. */
.legacy-page-content--competitions {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
}

.legacy-page-content--competitions > div:first-child {
    margin: 0;
}

.legacy-page-content--competitions > div:first-child > table.shadow {
    width: 100% !important;
    margin: 0 0 20px;
    padding: 0 !important;
    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none;
}

.legacy-page-content--competitions > div:first-child > table.shadow > tbody > tr > td.shadow {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content--competitions > div:first-child > center {
    display: block;
}

.legacy-page-content--competitions > div:first-child > center > table {
    width: min(100%, 1200px) !important;
    margin: 0 auto;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-page-content--competitions td.pic_black {
    padding: 7px 10px !important;
    color: #ffffff !important;
    background: #707570 !important;
    border: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.legacy-page-content--competitions td.pic_black span,
.legacy-page-content--competitions td.pic_black font {
    color: inherit !important;
    background: transparent !important;
    font-size: inherit !important;
}

.legacy-page-content--competitions td.menu {
    padding: 0 !important;
    background: #eeeeee;
    border: 1px solid #c1c6c2 !important;
}

.legacy-page-content--competitions td.menu a,
.legacy-page-content--competitions td.menu a span,
.legacy-page-content--competitions td.menu a font {
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.legacy-page-content--competitions td.menu a {
    display: block;
    padding: 8px 12px;
    color: #17221b;
    text-align: left;
    text-decoration: none;
}

.legacy-page-content--competitions td.menu:hover {
    background: var(--brand-soft);
}

.legacy-page-content--competitions td.menu a:hover,
.legacy-page-content--competitions td.menu a:focus-visible {
    color: var(--brand-dark);
    text-decoration: underline;
    outline: none;
}

.legacy-page-content--competitions td.menu a span[style*="#FFFF00"],
.legacy-page-content--competitions td.menu a span[style*="#ffff00"] {
    background: #fff0a8 !important;
}

.legacy-page-content--competitions td.menu a span[style*="#00FF00"],
.legacy-page-content--competitions td.menu a span[style*="#00ff00"] {
    background: #cfe7d6 !important;
}

.legacy-page-content--competitions center > div:last-child > a {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
}

@media (max-width: 580px) {
    .legacy-page-content--competitions {
        padding: 12px 12px 22px;
    }

    .legacy-page-content--competitions > div:first-child > table.shadow > tbody > tr > td.shadow {
        font-size: 17px !important;
    }

    .legacy-page-content--competitions td.menu a,
    .legacy-page-content--competitions td.menu a span,
    .legacy-page-content--competitions td.menu a font {
        font-size: 14px !important;
    }
}

/* World Championship archive: raised buttons sized by the longest report title. */
.legacy-page-content--wcc {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: auto;
}

.legacy-page-content--wcc > div:first-child {
    width: max-content;
    max-width: none;
    margin: 0 auto;
}

.legacy-page-content--wcc > div:first-child > table.shadow {
    width: 100% !important;
    margin: 0 0 2px;
    padding: 0 !important;
    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none;
}

.legacy-page-content--wcc > div:first-child > table.shadow > tbody > tr > td.shadow {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content--wcc > div:first-child > center {
    display: block;
    width: 100%;
}

.legacy-page-content--wcc > div:first-child > center > table {
    width: max-content !important;
    max-width: none;
    margin: 0 auto;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-page-content--wcc td.menu {
    padding: 0 !important;
    background: #707570;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-page-content--wcc td.menu > span {
    display: block;
}

.legacy-page-content--wcc td.menu a,
.legacy-page-content--wcc td.menu a span,
.legacy-page-content--wcc td.menu a font,
.legacy-page-content--wcc td.menu > span,
.legacy-page-content--wcc td.menu > span font {
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-shadow: 0 1px 0 #333333;
}

.legacy-page-content--wcc td.menu a {
    display: block;
    padding: 4px 12px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.legacy-page-content--wcc td.menu:hover {
    background: #626b66;
}

.legacy-page-content--wcc td.menu:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434 !important;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

.legacy-page-content--wcc td.menu a:hover,
.legacy-page-content--wcc td.menu a:focus-visible {
    color: #ffffff !important;
    background: transparent !important;
    text-decoration: none;
    outline: none;
}

.legacy-page-content--wcc td.menu a:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent);
}

.legacy-page-content--wcc center > div:last-child > a {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
}

@media (max-width: 580px) {
    .legacy-page-content--wcc {
        padding: 12px 12px 22px;
    }

    .legacy-page-content--wcc > div:first-child {
        width: 100%;
        max-width: 100%;
    }

    .legacy-page-content--wcc > div:first-child > table.shadow > tbody > tr > td.shadow {
        font-size: 17px !important;
    }

    .legacy-page-content--wcc > div:first-child > center > table {
        width: 100% !important;
        max-width: 100%;
    }

    .legacy-page-content--wcc td.menu,
    .legacy-page-content--wcc td.menu a {
        white-space: normal;
    }

    .legacy-page-content--wcc td.menu a,
    .legacy-page-content--wcc td.menu a span,
    .legacy-page-content--wcc td.menu a font,
    .legacy-page-content--wcc td.menu > span,
    .legacy-page-content--wcc td.menu > span font {
        font-size: 14px !important;
    }
}

/* Personal fishing reports: compact archive with year dividers and raised links. */
.legacy-page-content--reports {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: auto;
}

.legacy-page-content--reports > div:first-child {
    width: max-content;
    max-width: none;
    margin: 0 auto;
}

.legacy-page-content--reports > div:first-child > table.shadow {
    width: 100% !important;
    margin: 0 0 2px;
    padding: 0 !important;
    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none;
}

.legacy-page-content--reports > div:first-child > table.shadow > tbody > tr > td.shadow {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content--reports > div:first-child > center {
    display: block;
    width: 100%;
}

.legacy-page-content--reports > div:first-child > center > table {
    width: max-content !important;
    max-width: none;
    margin: 0 auto;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-page-content--reports td.menu {
    padding: 0 !important;
    background: #59615c;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-page-content--reports td.menu > a.menu {
    display: block;
    padding: 4px 12px;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 #333333;
    white-space: nowrap;
}

.legacy-page-content--reports td.menu:not(.legacy-report-year):hover {
    background: var(--brand-soft);
}

.legacy-page-content--reports td.menu:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434 !important;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

.legacy-page-content--reports td.menu:hover > a.menu,
.legacy-page-content--reports td.menu > a.menu:hover,
.legacy-page-content--reports td.menu > a.menu:focus-visible {
    color: var(--brand-dark) !important;
    background: transparent !important;
    text-decoration: none;
    text-shadow: none;
    outline: none;
}

.legacy-page-content--reports td.menu > a.menu:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent);
}

.legacy-page-content--reports td.legacy-report-year {
    padding: 6px 12px !important;
    color: #ffffff !important;
    background: #707570 !important;
    border: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center;
    text-shadow: 0 1px 0 #333333;
    box-shadow: none;
}

.legacy-page-content--reports .legacy-report-year-label {
    display: inline-block;
    padding: 0 2px;
    color: #111111 !important;
    background: #ffff00 !important;
    line-height: 1.1;
    text-shadow: none;
}

.legacy-page-content--reports center > div:last-child > a {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
}

@media (max-width: 580px) {
    .legacy-page-content--reports {
        padding: 12px 12px 22px;
    }

    .legacy-page-content--reports > div:first-child {
        width: 100%;
        max-width: 100%;
    }

    .legacy-page-content--reports > div:first-child > table.shadow > tbody > tr > td.shadow {
        font-size: 17px !important;
    }

    .legacy-page-content--reports > div:first-child > center > table {
        width: 100% !important;
        max-width: 100%;
    }

    .legacy-page-content--reports td.menu,
    .legacy-page-content--reports td.menu > a.menu {
        white-space: normal;
    }

    .legacy-page-content--reports td.menu > a.menu {
        font-size: 14px !important;
    }
}

/* Fishing rigs index: compact intrinsic-width list with raised category buttons. */
.legacy-page-content--rigs {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: auto;
}

.legacy-page-content--rigs > .legacy-rigs-index {
    width: max-content;
    max-width: none;
    margin: 0 auto !important;
}

.legacy-page-content--rigs .legacy-rigs-title {
    width: 100%;
    margin: 0 0 2px;
    padding: 11px 16px;
    color: #ffffff;
    background: var(--brand-dark);
    border-bottom: 3px solid var(--accent);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content--rigs .legacy-rigs-index > div:not(.legacy-rigs-title) {
    margin: 0;
}

.legacy-page-content--rigs .legacy-rigs-index table {
    width: max-content !important;
    max-width: none;
    margin: 0 auto;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-page-content--rigs td.menu_gray {
    padding: 0 !important;
    background: #59615c;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-page-content--rigs td.menu_gray > a.menu {
    display: block;
    padding: 5px 12px;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 #333333;
    white-space: nowrap;
}

.legacy-page-content--rigs td.menu_gray:hover {
    background: var(--brand-soft);
}

.legacy-page-content--rigs td.menu_gray:hover > a.menu,
.legacy-page-content--rigs td.menu_gray > a.menu:hover,
.legacy-page-content--rigs td.menu_gray > a.menu:focus-visible {
    color: var(--brand-dark) !important;
    background: transparent !important;
    text-decoration: none;
    text-shadow: none;
    outline: none;
}

.legacy-page-content--rigs td.menu_gray:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434 !important;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

.legacy-page-content--rigs td.menu_gray > a.menu:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent);
}

@media (max-width: 580px) {
    .legacy-page-content--rigs {
        padding: 12px 12px 22px;
    }

    .legacy-page-content--rigs > .legacy-rigs-index {
        width: 100%;
        max-width: 100%;
    }

    .legacy-page-content--rigs .legacy-rigs-title {
        font-size: 17px;
    }

    .legacy-page-content--rigs .legacy-rigs-index table {
        width: 100% !important;
        max-width: 100%;
    }

    .legacy-page-content--rigs td.menu_gray,
    .legacy-page-content--rigs td.menu_gray > a.menu {
        white-space: normal;
    }

    .legacy-page-content--rigs td.menu_gray > a.menu {
        font-size: 14px !important;
    }
}

/* Baits index: replace the old two-frame page with one compact navigation and text page. */
.legacy-page-content--baits {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: auto;
}

.legacy-page-content--baits > .legacy-baits-page {
    margin: 0 !important;
}

.legacy-page-content--baits .legacy-baits-navigation {
    width: max-content;
    max-width: none;
    margin: 0 auto clamp(24px, 2.5vw, 34px);
}

.legacy-page-content--baits .legacy-baits-title {
    width: 100%;
    margin: 0 0 2px;
    padding: 11px 16px;
    color: #ffffff;
    background: var(--brand-dark);
    border-bottom: 3px solid var(--accent);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content--baits .legacy-baits-navigation table {
    width: 100% !important;
    margin: 0 auto;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-page-content--baits td.text_zagolovok {
    padding: 0 !important;
    background: #59615c;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-page-content--baits td.text_zagolovok > a {
    display: block;
    padding: 5px 12px;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 #333333;
    white-space: nowrap;
}

.legacy-page-content--baits td.text_zagolovok:hover {
    background: var(--brand-soft);
}

.legacy-page-content--baits td.text_zagolovok:hover > a,
.legacy-page-content--baits td.text_zagolovok > a:hover,
.legacy-page-content--baits td.text_zagolovok > a:focus-visible {
    color: var(--brand-dark) !important;
    background: transparent !important;
    text-decoration: none;
    text-shadow: none;
    outline: none;
}

.legacy-page-content--baits td.text_zagolovok:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434 !important;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

.legacy-page-content--baits td.text_zagolovok > a:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent);
}

.legacy-page-content--baits .legacy-baits-intro {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.6;
}

.legacy-page-content--baits .legacy-baits-intro p {
    margin-top: 0 !important;
    margin-bottom: clamp(13px, 1.2vw, 18px) !important;
}

@media (max-width: 580px) {
    .legacy-page-content--baits {
        padding: 12px 12px 22px;
    }

    .legacy-page-content--baits .legacy-baits-navigation {
        width: 100%;
        max-width: 100%;
    }

    .legacy-page-content--baits .legacy-baits-title {
        font-size: 17px;
    }

    .legacy-page-content--baits .legacy-baits-navigation table {
        width: 100% !important;
        max-width: 100%;
    }

    .legacy-page-content--baits td.text_zagolovok,
    .legacy-page-content--baits td.text_zagolovok > a {
        white-space: normal;
    }

    .legacy-page-content--baits td.text_zagolovok > a,
    .legacy-page-content--baits .legacy-baits-intro {
        font-size: 14px !important;
    }
}

/* Fish index: replace the old frame set with one compact list of source links. */
.legacy-page-content--fish {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: auto;
}

.legacy-page-content--fish > .legacy-fish-index {
    width: max-content;
    max-width: none;
    margin: 0 auto !important;
}

.legacy-page-content--fish .legacy-fish-title {
    width: 100%;
    margin: 0 0 2px;
    padding: 11px 16px;
    color: #ffffff;
    background: var(--brand-dark);
    border-bottom: 3px solid var(--accent);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content--fish .legacy-fish-index table {
    width: 100% !important;
    margin: 0 auto;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-page-content--fish td.menu {
    padding: 0 !important;
    background: #59615c;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-page-content--fish td.menu > a.menu {
    display: block;
    padding: 5px 12px;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 #333333;
    white-space: nowrap;
}

.legacy-page-content--fish td.menu:hover {
    background: var(--brand-soft);
}

.legacy-page-content--fish td.menu:hover > a.menu,
.legacy-page-content--fish td.menu > a.menu:hover,
.legacy-page-content--fish td.menu > a.menu:focus-visible {
    color: var(--brand-dark) !important;
    background: transparent !important;
    text-decoration: none;
    text-shadow: none;
    outline: none;
}

.legacy-page-content--fish td.menu:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434 !important;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

.legacy-page-content--fish td.menu > a.menu:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent);
}

@media (max-width: 580px) {
    .legacy-page-content--fish {
        padding: 12px 12px 22px;
    }

    .legacy-page-content--fish > .legacy-fish-index {
        width: 100%;
        max-width: 100%;
    }

    .legacy-page-content--fish .legacy-fish-title {
        font-size: 17px;
    }

    .legacy-page-content--fish .legacy-fish-index table {
        width: 100% !important;
        max-width: 100%;
    }

    .legacy-page-content--fish td.menu,
    .legacy-page-content--fish td.menu > a.menu {
        white-space: normal;
    }

    .legacy-page-content--fish td.menu > a.menu {
        font-size: 14px !important;
    }
}

/* Technique and tactics: compact centered source table without the empty legacy frame. */
.legacy-page-content--tactic {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: auto;
}

.legacy-page-content--tactic > .legacy-tactic-index {
    width: max-content;
    max-width: none;
    margin: 0 auto !important;
}

.legacy-page-content--tactic .legacy-tactic-index table {
    width: 100% !important;
    margin: 0 auto;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-page-content--tactic td.thumbbox_1 {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content--tactic td.separator {
    height: 2px;
    padding: 0 !important;
}

.legacy-page-content--tactic td.menu_gray {
    padding: 0 !important;
    background: #59615c;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-page-content--tactic td.menu_gray > a.menu {
    display: block;
    padding: 5px 12px;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 #333333;
    white-space: nowrap;
}

.legacy-page-content--tactic td.menu_gray:hover {
    background: var(--brand-soft);
}

.legacy-page-content--tactic td.menu_gray:hover > a.menu,
.legacy-page-content--tactic td.menu_gray > a.menu:hover,
.legacy-page-content--tactic td.menu_gray > a.menu:focus-visible {
    color: var(--brand-dark) !important;
    background: transparent !important;
    text-decoration: none;
    text-shadow: none;
    outline: none;
}

.legacy-page-content--tactic td.menu_gray:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434 !important;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

.legacy-page-content--tactic td.menu_gray > a.menu:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent);
}

@media (max-width: 580px) {
    .legacy-page-content--tactic {
        padding: 12px 12px 22px;
    }

    .legacy-page-content--tactic > .legacy-tactic-index {
        width: 100%;
        max-width: 100%;
    }

    .legacy-page-content--tactic .legacy-tactic-index table {
        width: 100% !important;
        max-width: 100%;
    }

    .legacy-page-content--tactic td.thumbbox_1 {
        font-size: 17px !important;
    }

    .legacy-page-content--tactic td.menu_gray,
    .legacy-page-content--tactic td.menu_gray > a.menu {
        white-space: normal;
    }

    .legacy-page-content--tactic td.menu_gray > a.menu {
        font-size: 14px !important;
    }
}

/* Glossary index: keep the useful alphabet bar and omit the initially empty frame. */
.legacy-page-content--glossary {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: auto;
}

.legacy-page-content--glossary > .legacy-glossary-index {
    width: max-content;
    max-width: 100%;
    margin: 0 auto !important;
}

.legacy-page-content--glossary .legacy-glossary-index > table.shadow {
    width: 100% !important;
    margin: 0 0 2px;
    padding: 0 !important;
    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: none;
}

.legacy-page-content--glossary .legacy-glossary-index > table.shadow td.shadow {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content--glossary .legacy-glossary-index > a[name] {
    display: block;
    height: 0;
}

.legacy-page-content--glossary .legacy-glossary-index > table:not(.shadow) {
    width: 100% !important;
    margin: 0 auto;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 2px;
}

.legacy-page-content--glossary tr.shadow_out {
    display: grid;
    grid-template-columns: repeat(25, minmax(28px, 1fr));
    gap: 2px;
}

.legacy-page-content--glossary td.buttons {
    display: block;
    padding: 0 !important;
    background: #59615c;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-page-content--glossary td.buttons > div {
    display: block;
    background: transparent !important;
}

.legacy-page-content--glossary td.buttons a {
    display: block;
    padding: 7px 4px;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 #333333;
}

.legacy-page-content--glossary td.buttons:hover {
    background: var(--brand-soft);
}

.legacy-page-content--glossary td.buttons:hover a,
.legacy-page-content--glossary td.buttons a:hover,
.legacy-page-content--glossary td.buttons a:focus-visible {
    color: var(--brand-dark) !important;
    background: transparent !important;
    text-decoration: none;
    text-shadow: none;
    outline: none;
}

.legacy-page-content--glossary td.buttons:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434 !important;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

.legacy-page-content--glossary td.buttons a:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent);
}

@media (max-width: 580px) {
    .legacy-page-content--glossary {
        padding: 12px 12px 22px;
    }

    .legacy-page-content--glossary > .legacy-glossary-index {
        width: 100%;
        max-width: 100%;
    }

    .legacy-page-content--glossary .legacy-glossary-index > table.shadow td.shadow {
        font-size: 17px !important;
    }

    .legacy-page-content--glossary tr.shadow_out {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .legacy-page-content--glossary td.buttons a {
        font-size: 14px !important;
    }
}

/* Illustrated glossary letter pages. */
.legacy-page-content--glossary .legacy-glossary-letter--disabled,
.legacy-page-content--glossary-letter .legacy-glossary-letter--disabled {
    display: block;
    padding: 7px 4px;
    color: #c8ceca;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: default;
    text-shadow: 0 1px 0 #333333;
}

.legacy-page-content--glossary-letter {
    padding: clamp(18px, 2vw, 28px) 3% clamp(28px, 3vw, 42px);
    overflow-x: hidden;
}

.legacy-page-content--glossary-letter .legacy-glossary-index--compact {
    width: 100%;
    margin: 0 0 clamp(22px, 3vw, 36px) !important;
}

.legacy-page-content--glossary-letter .legacy-glossary-index--compact > table.shadow,
.legacy-page-content--glossary-letter .legacy-glossary-index--compact > a[name] {
    display: none;
}

.legacy-page-content--glossary-letter .legacy-glossary-index--compact > table:not(.shadow) {
    width: 100% !important;
    margin: 0;
    border-collapse: separate;
    border-spacing: 2px;
}

.legacy-page-content--glossary-letter .legacy-glossary-index--compact tr.shadow_out {
    display: grid;
    grid-template-columns: repeat(25, minmax(28px, 1fr));
    gap: 2px;
}

.legacy-page-content--glossary-letter .legacy-glossary-index--compact td.buttons {
    display: block;
    padding: 0 !important;
    background: #59615c;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
}

.legacy-page-content--glossary-letter .legacy-glossary-index--compact td.buttons > div,
.legacy-page-content--glossary-letter .legacy-glossary-index--compact td.buttons a {
    display: block;
}

.legacy-page-content--glossary-letter .legacy-glossary-index--compact td.buttons a {
    padding: 7px 4px;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center;
    text-decoration: none;
}

.legacy-page-content--glossary-letter .legacy-glossary-letter-content {
    text-align: left !important;
}

.legacy-page-content--glossary-letter .legacy-glossary-letter-content h2 {
    margin: 0 0 18px;
    padding: 11px 16px;
    color: #ffffff;
    background: var(--brand-dark);
    border-bottom: 3px solid var(--accent);
    text-align: center !important;
}

.legacy-page-content--glossary-letter .legacy-glossary-letter-content h4 {
    clear: both;
    margin: 18px 0 10px;
    padding: 7px 12px;
    color: #ffffff !important;
    background: #4f5552;
    font-size: 14px !important;
    font-style: italic;
    line-height: 1.3 !important;
    text-align: left !important;
}

.legacy-page-content--glossary-letter .legacy-glossary-letter-content p,
.legacy-page-content--glossary-letter .legacy-glossary-letter-content td {
    text-align: left !important;
}

.legacy-page-content--glossary-letter .legacy-glossary-letter-content table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    table-layout: auto;
}

.legacy-page-content--glossary-letter .legacy-glossary-letter-content td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
}

.legacy-page-content--glossary-letter .legacy-glossary-letter-content td.shadow_black {
    width: 1%;
    text-align: right !important;
    white-space: nowrap;
}

.legacy-page-content--glossary-letter .legacy-glossary-letter-content img {
    width: auto !important;
    max-width: min(240px, 30vw) !important;
    height: auto !important;
    object-fit: contain;
}

@media (max-width: 580px) {
    .legacy-page-content--glossary-letter {
        padding: 12px;
    }

    .legacy-page-content--glossary-letter .legacy-glossary-index--compact tr.shadow_out {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .legacy-page-content--glossary-letter .legacy-glossary-letter-content table,
    .legacy-page-content--glossary-letter .legacy-glossary-letter-content tbody,
    .legacy-page-content--glossary-letter .legacy-glossary-letter-content tr,
    .legacy-page-content--glossary-letter .legacy-glossary-letter-content td {
        display: block;
        width: 100% !important;
    }

    .legacy-page-content--glossary-letter .legacy-glossary-letter-content td.shadow_black {
        text-align: center !important;
        white-space: normal;
    }

    .legacy-page-content--glossary-letter .legacy-glossary-letter-content img {
        max-width: 100% !important;
    }
}

/* Handmade index: preserve the six source entries and omit the empty lower frame. */
.legacy-page-content--handmade {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: auto;
}

.legacy-page-content--handmade > .legacy-handmade-index {
    width: max-content;
    max-width: none;
    margin: 0 auto !important;
}

.legacy-page-content--handmade .legacy-handmade-index table {
    width: 100% !important;
    margin: 0 auto;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-page-content--handmade .legacy-handmade-index tr:first-child > td.text_zaglavie_article {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content--handmade .legacy-handmade-index tr:not(:first-child) > td.text_zaglavie_article {
    padding: 5px 12px !important;
    color: #ffffff !important;
    background: #59615c;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center;
    text-shadow: 0 1px 0 #333333;
    white-space: nowrap;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-page-content--handmade .legacy-handmade-index tr:not(:first-child) > td.text_zaglavie_article a {
    color: #ffffff !important;
    background: transparent !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-decoration: none;
}

.legacy-page-content--handmade .legacy-handmade-index tr:not(:first-child) > td.text_zaglavie_article:hover {
    color: var(--brand-dark) !important;
    background: var(--brand-soft);
    text-shadow: none;
}

.legacy-page-content--handmade .legacy-handmade-index tr:not(:first-child) > td.text_zaglavie_article:hover a,
.legacy-page-content--handmade .legacy-handmade-index tr:not(:first-child) > td.text_zaglavie_article a:hover,
.legacy-page-content--handmade .legacy-handmade-index tr:not(:first-child) > td.text_zaglavie_article a:focus-visible {
    color: var(--brand-dark) !important;
    background: transparent !important;
    text-decoration: underline;
    text-shadow: none;
    outline: none;
}

.legacy-page-content--handmade .legacy-handmade-index tr:not(:first-child) > td.text_zaglavie_article:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434 !important;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

.legacy-page-content--handmade .legacy-handmade-index tr:not(:first-child) > td.text_zaglavie_article a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (max-width: 580px) {
    .legacy-page-content--handmade {
        padding: 12px 12px 22px;
    }

    .legacy-page-content--handmade > .legacy-handmade-index {
        width: 100%;
        max-width: 100%;
    }

    .legacy-page-content--handmade .legacy-handmade-index tr:first-child > td.text_zaglavie_article {
        font-size: 17px !important;
    }

    .legacy-page-content--handmade .legacy-handmade-index tr:not(:first-child) > td.text_zaglavie_article {
        font-size: 14px !important;
        white-space: normal;
    }
}

/* Equipment reviews: preserve category dividers and omit the empty legacy frame. */
.legacy-page-content--reviews {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: auto;
}

.legacy-page-content--reviews > .legacy-reviews-index {
    width: max-content;
    max-width: none;
    margin: 0 auto !important;
}

.legacy-page-content--reviews .legacy-reviews-index table {
    width: 100% !important;
    margin: 0 auto;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-page-content--reviews .legacy-reviews-index tr:first-child > td.text_zaglavie_article {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content--reviews td.separator {
    height: 2px;
    padding: 0 !important;
}

.legacy-page-content--reviews td.legacy-review-section {
    padding: 7px 12px !important;
    color: var(--brand-dark) !important;
    background: var(--brand-soft) !important;
    border: 1px solid #b7c7bd !important;
    border-top: 2px solid var(--accent) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center;
    text-shadow: none;
}

.legacy-page-content--reviews .legacy-reviews-index tr:first-child > td.legacy-review-section {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
    text-shadow: 0 1px 0 #333333;
}

.legacy-page-content--reviews td.legacy-review-item {
    padding: 0 !important;
    background: #59615c;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-page-content--reviews td.legacy-review-item > a {
    display: block;
    padding: 5px 12px;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 #333333;
    white-space: nowrap;
}

.legacy-page-content--reviews td.legacy-review-item > a b,
.legacy-page-content--reviews td.legacy-review-item > a strong {
    font-size: inherit !important;
    font-weight: inherit !important;
}

.legacy-page-content--reviews td.legacy-review-item:hover {
    background: var(--brand-soft);
}

.legacy-page-content--reviews td.legacy-review-item:hover > a,
.legacy-page-content--reviews td.legacy-review-item > a:hover,
.legacy-page-content--reviews td.legacy-review-item > a:focus-visible {
    color: var(--brand-dark) !important;
    background: transparent !important;
    text-decoration: none;
    text-shadow: none;
    outline: none;
}

.legacy-page-content--reviews td.legacy-review-item:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434 !important;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

.legacy-page-content--reviews td.legacy-review-item > a:focus-visible {
    box-shadow: inset 0 0 0 2px var(--accent);
}

@media (max-width: 580px) {
    .legacy-page-content--reviews {
        padding: 12px 12px 22px;
    }

    .legacy-page-content--reviews > .legacy-reviews-index {
        width: 100%;
        max-width: 100%;
    }

    .legacy-page-content--reviews .legacy-reviews-index tr:first-child > td.text_zaglavie_article,
    .legacy-page-content--reviews .legacy-reviews-index tr:first-child > td.legacy-review-section {
        font-size: 17px !important;
    }

    .legacy-page-content--reviews td.legacy-review-item,
    .legacy-page-content--reviews td.legacy-review-item > a {
        white-space: normal;
    }

    .legacy-page-content--reviews td.legacy-review-item > a {
        font-size: 14px !important;
    }
}

/* Israel shop directory and its six primary child pages. */
.legacy-page-content--shops {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: hidden;
}

.legacy-page-content--shops > a[name] {
    display: block;
    height: 0;
}

.legacy-page-content--shops > table:first-of-type {
    width: 100% !important;
    margin: 0 0 18px;
    border-spacing: 0;
}

.legacy-page-content--shops > table:first-of-type tr:first-child > .shadow,
.legacy-page-content--shops > table:first-of-type tr:first-child > .shadow_c_out,
.legacy-page-content--shops-detail > table:first-of-type tr:first-child > .text_zaglavie_article {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content--shops-index > p {
    max-width: 1000px;
    margin: 0 auto 20px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.legacy-page-content--shops-index > div {
    width: min(100%, 720px);
    margin: 18px auto 0 !important;
}

.legacy-page-content--shops-index > div table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 3px;
}

.legacy-page-content--shops-index td.shadow_c {
    padding: 8px 12px !important;
    color: #ffffff !important;
    background: #707570 !important;
    border: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

.legacy-page-content--shops-index td.menu {
    padding: 0 !important;
    background: #707570;
    border: 2px solid;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-page-content--shops-index td.menu > a.menu {
    display: block;
    padding: 7px 12px;
    color: #ffffff;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 #333333;
}

.legacy-page-content--shops-index td.menu:hover {
    background: #626b66;
}

.legacy-page-content--shops-index td.menu > a.menu:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -4px;
}

.legacy-page-content--shops-region > h3 {
    max-width: 1100px;
    margin: 0 auto 18px;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.55;
}

.legacy-page-content--shops-region {
    overflow-x: auto;
}

.legacy-page-content--shops-region > div {
    width: 100%;
    overflow-x: auto;
}

.legacy-page-content--shops-region > div table,
.legacy-page-content--shops-region > table:not(:first-of-type) {
    width: max-content !important;
    min-width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    table-layout: auto;
}

.legacy-page-content--shops-region td.pic_text_center {
    width: auto !important;
    padding: 7px 8px !important;
    color: #18211c;
    background: #eeeeee;
    border: 1px solid #b8bdb9;
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.legacy-page-content--shops-region tr:first-child > td.pic_text_center {
    color: #ffffff;
    background: #707570;
    font-weight: 700;
}

.legacy-page-content--shops-region td.pic_text_center font {
    font-size: inherit !important;
}

.legacy-page-content--shops-detail > table:first-of-type tr:nth-child(2) {
    display: none;
}

.legacy-page-content--shops-detail > table:not(:first-of-type) {
    width: 100% !important;
}

.legacy-page-content--shops-detail p,
.legacy-page-content--shops-detail p font,
.legacy-page-content--shops-detail p span {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.legacy-page-content--shops-detail > div {
    max-width: 100%;
    overflow-x: auto;
}

.legacy-page-content--shops-detail td.pic {
    padding: 4px !important;
    vertical-align: top;
}

.legacy-page-content--shops img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 580px) {
    .legacy-page-content--shops {
        padding: 12px 12px 22px;
    }

    .legacy-page-content--shops > table:first-of-type tr:first-child > .shadow,
    .legacy-page-content--shops > table:first-of-type tr:first-child > .shadow_c_out {
        font-size: 17px !important;
    }

    .legacy-page-content--shops-index > p,
    .legacy-page-content--shops-region > h3,
    .legacy-page-content--shops-detail p,
    .legacy-page-content--shops-detail p font,
    .legacy-page-content--shops-detail p span {
        font-size: 14px !important;
    }

    .legacy-page-content--shops-index td.menu > a.menu {
        font-size: 14px;
    }
}

/* Single sponsor tile: heading and Alpan. */
.home-partners {
    width: min(100%, 281px);
    max-width: 281px;
    margin: 12px auto 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-partners h2 {
    margin: 0 0 2px;
    padding: 5px 10px;
    color: #ffffff;
    background: #5482d4;
    border: 1px solid #315d9f;
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.sponsor-grid {
    display: block;
    width: 100%;
    padding: 0;
}

.sponsor-card,
.sponsor-card:hover {
    width: auto !important;
    height: auto !important;
    min-height: 0;
    padding: 0;
    background: #5482d4;
    border: 1px solid #d9e5fb;
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.sponsor-card--alpan img {
    width: 279px;
    height: 125px;
    max-width: none;
    max-height: none;
}

/* The news title stays mathematically centered while archive links remain right-aligned. */
.home-news__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
}

.home-news__header h2,
.news-page .home-news__header h1 {
    grid-column: 2;
    justify-self: center;
    text-align: center;
}

.home-news__actions {
    grid-column: 3;
    justify-self: end;
}

/* Full news page: reuse the homepage cards without the internal scroll area. */
.news-page {
    margin-top: 0;
}

.news-page .home-news__header h1 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.3;
}

.news-page .home-news__header a {
    font-size: 13px;
}

.news-page .news-year {
    padding: 6px 10px;
    font-size: 16px;
}

.news-page .news-item {
    grid-template-columns: 110px minmax(0, 1fr);
}

.news-page .news-item__date,
.news-page .news-item__text {
    font-size: 14px;
    line-height: 1.5;
}

.news-page .news-item__date {
    padding: 9px 10px;
}

.news-page .news-item__text {
    padding: 9px 12px;
}

@media (max-width: 580px) {
    .news-page .news-item {
        grid-template-columns: 1fr;
    }

    .news-page .news-item__date {
        text-align: left;
    }
}

/* Search button below the text field, as in the legacy sidebar. */
.site-search__row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

.site-search button {
    width: fit-content;
    align-self: center;
}

@media (max-width: 899px) {
    .site-layout {
        grid-template-columns: 1fr;
    }

    .site-sidebar,
    .legacy-menu {
        width: 100%;
        max-width: none;
    }

    .legacy-menu a {
        white-space: normal;
    }
}

@media (max-width: 700px) {
    .home-news__header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .home-news__actions {
        justify-content: center;
    }
}

@media (max-width: 580px) {
    .site-header__inner,
    .page-shell,
    .site-footer__inner {
        width: calc(100% - 12px);
    }

    .legacy-page-content {
        padding: 12px 12px 22px;
    }

    .legacy-page-content > div:first-child {
        margin-bottom: 16px;
    }

    .legacy-page-content > div:first-child .shadow,
    .legacy-page-content > div:first-child table tr:first-child > .shadow_c {
        font-size: 16px !important;
    }

    .sponsor-card--alpan {
        width: 100% !important;
    }

    .sponsor-card--alpan img {
        max-width: 100% !important;
        height: auto !important;
    }
}


/* Online shop directory: keep the legacy data table, without its old frame. */
.legacy-page-content--online-shops {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: hidden;
}

.legacy-online-shops-page {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
}

.legacy-online-shops-page > .legacy-online-shops-title {
    width: 100% !important;
    margin: 0 0 18px;
    border: 0 !important;
    border-collapse: collapse;
    border-spacing: 0;
}

.legacy-online-shops-title td.shadow {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-online-shops-page > p:first-of-type {
    max-width: 1100px;
    margin: 0 auto 20px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.legacy-online-shops-page > p:first-of-type img {
    display: inline-block;
    width: 19px !important;
    height: 19px !important;
    margin: 0 3px;
    vertical-align: middle;
}

.legacy-online-shops-page > div {
    width: 100%;
    margin: 0 auto 18px !important;
    overflow-x: auto;
}

.legacy-online-shops-table {
    width: max-content !important;
    min-width: min(100%, 900px);
    margin: 0 auto;
    border: 1px solid #aeb4b0 !important;
    border-collapse: collapse;
    table-layout: auto;
}

.legacy-online-shops-table td.pic_text_center {
    width: auto !important;
    height: auto !important;
    padding: 7px 12px !important;
    color: #18211c;
    background: #eeeeee;
    border: 1px solid #b8bdb9;
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.legacy-online-shops-table tr:first-child > td.pic_text_center {
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    color: #ffffff;
    background: #707570;
    font-weight: 700;
}

.legacy-online-shops-table td.pic_text_center font,
.legacy-online-shops-table td.pic_text_center span {
    font-size: inherit !important;
}

.legacy-online-shops-table td.pic_text_center a {
    color: var(--link);
}

.legacy-online-shops-table tr:not(:first-child):hover > td.pic_text_center {
    background: var(--brand-soft);
}

.legacy-online-shops-table td.pic_text_center img {
    display: inline-block;
    max-width: none;
    vertical-align: middle;
}

.legacy-online-shops-page > p:not(:first-of-type) {
    margin: 12px auto 0 !important;
    text-align: center !important;
}

@media (max-width: 700px) {
    .legacy-page-content--online-shops {
        padding-right: 12px;
        padding-left: 12px;
    }

    .legacy-online-shops-title td.shadow {
        font-size: 18px !important;
    }

    .legacy-online-shops-table td.pic_text_center {
        padding: 6px 8px !important;
        font-size: 12px !important;
    }
}


/* Paid fishing index: compact region selector inside the preview shell. */
.legacy-page-content--paid-fishing {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: hidden;
}

.legacy-paid-fishing-page {
    width: 100%;
    margin: 0 !important;
}

.legacy-paid-fishing-title {
    width: min(100%, 900px) !important;
    margin: 0 auto 20px;
    border: 0 !important;
    border-collapse: collapse;
    border-spacing: 0;
}

.legacy-paid-fishing-title td.text_zaglavie_article {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-paid-fishing-page > p {
    max-width: 1000px;
    margin: 0 auto 24px !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.legacy-paid-fishing-regions {
    width: max-content !important;
    max-width: 100%;
    margin: 0 auto;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-paid-fishing-regions td.text_zaglavie_article {
    padding: 7px 14px !important;
    color: var(--brand-dark) !important;
    background: var(--brand-soft) !important;
    border: 1px solid #b7c7bd !important;
    border-top: 2px solid var(--accent) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center;
}

.legacy-paid-fishing-regions tr:not(:first-child) > td.text_zaglavie_article {
    padding: 0 !important;
    background: #59615c !important;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-paid-fishing-regions tr:not(:first-child) > td.text_zaglavie_article > a {
    display: block;
    padding: 6px 14px;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 #333333;
    white-space: nowrap;
}

.legacy-paid-fishing-regions tr:not(:first-child) > td.text_zaglavie_article:hover {
    background: var(--brand-soft) !important;
}

.legacy-paid-fishing-regions tr:not(:first-child) > td.text_zaglavie_article:hover > a,
.legacy-paid-fishing-regions tr:not(:first-child) > td.text_zaglavie_article > a:focus-visible {
    color: var(--brand-dark) !important;
    text-shadow: none;
    outline: none;
}

.legacy-paid-fishing-regions tr:not(:first-child) > td.text_zaglavie_article:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434 !important;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

@media (max-width: 580px) {
    .legacy-page-content--paid-fishing {
        padding: 12px 12px 22px;
    }

    .legacy-paid-fishing-title td.text_zaglavie_article {
        font-size: 17px !important;
    }

    .legacy-paid-fishing-regions {
        width: 100% !important;
    }

    .legacy-paid-fishing-regions tr:not(:first-child) > td.text_zaglavie_article > a {
        font-size: 14px !important;
        white-space: normal;
    }
}


/* Legacy photo album index stored on the server outside the Git repository. */
.legacy-page-content--photo-album {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: auto;
}

.legacy-photo-album-index {
    width: max-content;
    max-width: 100%;
    margin: 0 auto !important;
}

.legacy-photo-album-title,
.legacy-photo-album-list {
    width: 100% !important;
    margin-right: auto;
    margin-left: auto;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-photo-album-title {
    margin-bottom: 3px;
    border: 0 !important;
}

.legacy-photo-album-title td.shadow {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-photo-album-list {
    border: 0 !important;
}

.legacy-photo-album-list td.menu {
    padding: 0 !important;
    background: #59615c;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
}

.legacy-photo-album-list td.menu > a.menu {
    display: block;
    padding: 5px 14px;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 #333333;
    white-space: nowrap;
}

.legacy-photo-album-list td.menu:hover {
    background: var(--brand-soft);
}

.legacy-photo-album-list td.menu:hover > a.menu,
.legacy-photo-album-list td.menu > a.menu:focus-visible {
    color: var(--brand-dark) !important;
    text-shadow: none;
    outline: none;
}

.legacy-photo-album-list td.menu:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434 !important;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

.legacy-photo-album-index > p {
    margin: 14px auto 0 !important;
    text-align: center;
}

@media (max-width: 580px) {
    .legacy-page-content--photo-album {
        padding: 12px 12px 22px;
    }

    .legacy-photo-album-index {
        width: 100%;
    }

    .legacy-photo-album-title td.shadow {
        font-size: 17px !important;
    }

    .legacy-photo-album-list td.menu > a.menu {
        font-size: 14px !important;
        white-space: normal;
    }
}


/* Useful information: compact reference directory in the preview shell. */
.legacy-page-content--useful {
    padding: clamp(18px, 2vw, 28px) 4.5% clamp(28px, 3vw, 42px);
    overflow-x: auto;
}

.legacy-useful-page {
    width: min(100%, 1000px);
    margin: 0 auto !important;
}

.legacy-useful-title,
.legacy-useful-intro,
.legacy-useful-list {
    width: 100% !important;
    margin-right: auto;
    margin-left: auto;
    border-collapse: separate;
    border-spacing: 1px;
}

.legacy-useful-title {
    margin-bottom: 14px;
    border: 0 !important;
}

.legacy-useful-title td.tabrow_border_100 {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-useful-intro {
    margin-bottom: 18px;
    background: var(--brand-soft);
    border: 1px solid #bdcbc2 !important;
}

.legacy-useful-intro td.pic_text {
    padding: 13px 18px !important;
    color: #26352d !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: center;
}

.legacy-useful-intro p {
    margin: 0 !important;
}

.legacy-useful-intro em,
.legacy-useful-intro font {
    color: inherit !important;
    font: inherit !important;
}

.legacy-useful-intro a {
    color: var(--link) !important;
    font-weight: 700;
}

.legacy-useful-list {
    width: max-content !important;
    max-width: 100%;
    border: 0 !important;
}

.legacy-useful-list td.pic_text {
    padding: 0 !important;
    color: #ffffff !important;
    background: #59615c !important;
    border: 2px solid !important;
    border-color: #e5e5e5 #343434 #343434 #e5e5e5 !important;
    box-shadow:
        inset 1px 1px 0 #aeb3b0,
        inset -1px -1px 0 #4f5451;
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-align: center;
}

.legacy-useful-list td.pic_text > li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.legacy-useful-list td.pic_text a {
    display: inline-block;
    padding: 6px 14px;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-decoration: none;
    text-shadow: 0 1px 0 #333333;
}

.legacy-useful-list td.pic_text font {
    padding-right: 12px;
    color: #ffffff !important;
    font-size: 12px !important;
    opacity: 0.82;
}

.legacy-useful-list td.pic_text:hover {
    color: var(--brand-dark) !important;
    background: var(--brand-soft) !important;
}

.legacy-useful-list td.pic_text:hover a,
.legacy-useful-list td.pic_text:hover font,
.legacy-useful-list td.pic_text a:focus-visible {
    color: var(--brand-dark) !important;
    text-shadow: none;
    opacity: 1;
    outline: none;
}

.legacy-useful-list td.pic_text:active {
    border-color: #343434 #e5e5e5 #e5e5e5 #343434 !important;
    box-shadow:
        inset 1px 1px 0 #4f5451,
        inset -1px -1px 0 #aeb3b0;
}

.legacy-useful-page > p:last-child {
    margin: 16px auto 0 !important;
    text-align: center;
}

@media (max-width: 700px) {
    .legacy-page-content--useful {
        padding: 12px 12px 22px;
    }

    .legacy-useful-title td.tabrow_border_100 {
        padding: 9px 12px !important;
        font-size: 18px !important;
    }

    .legacy-useful-intro td.pic_text {
        padding: 11px 12px !important;
        font-size: 13px !important;
        text-align: left;
    }

    .legacy-useful-list {
        width: 100% !important;
    }

    .legacy-useful-list td.pic_text a {
        display: block;
        padding: 7px 10px 3px;
        font-size: 14px !important;
        white-space: normal;
    }

    .legacy-useful-list td.pic_text font {
        display: block;
        padding: 0 10px 7px;
    }
}

/* Long legacy pages: frame-like navigation and centered report media. */
@media (min-width: 900px) {
    .site-sidebar {
        position: sticky;
        top: 10px;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

.legacy-page-content--detail {
    overflow-x: auto;
}

.legacy-page-content--detail .legacy-report-media-table {
    width: max-content !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.legacy-page-content--detail .legacy-report-media-table td {
    text-align: center !important;
}

.legacy-page-content--detail .legacy-report-media-line {
    text-align: center !important;
}

.legacy-page-content--detail .legacy-report-photo--standalone {
    display: block;
    margin-right: auto;
    margin-left: auto;
}


/* Legacy report lists keep their original left-aligned reading flow. */
.legacy-page-content--detail ul,
.legacy-page-content--detail ol,
.legacy-page-content--detail li {
    text-align: left !important;
}

/* Galilee 2015–2016 winners table: restore the original tiled grid. */
.legacy-page-content--carp-galilee-2015-2016 #table207 {
    width: min(100%, 1180px) !important;
    min-width: 760px;
    max-width: none !important;
    margin: clamp(14px, 1.5vw, 22px) auto !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 2px !important;
    table-layout: fixed;
}

.legacy-page-content--carp-galilee-2015-2016 #table207 > tbody > tr > td {
    padding: clamp(8px, 1vw, 14px) !important;
    color: #111111 !important;
    background: #dedede !important;
    border: 1px solid #b1b5b3 !important;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.85),
        inset -1px -1px 0 rgba(120, 125, 122, 0.2);
    line-height: 1.35 !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table207 > tbody > tr:first-child > td,
.legacy-page-content--carp-galilee-2015-2016 #table207 > tbody > tr > td[colspan="5"] {
    padding: 9px 12px !important;
    background: #d2d5d3 !important;
    border-color: #9fa5a2 !important;
    font-weight: 700 !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table207 > tbody > tr:not(:first-child) > td:last-child:not([colspan]) {
    padding: 2px !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table207 > tbody > tr:not(:first-child) > td:last-child:not([colspan]) img {
    display: block;
    width: min(100%, 200px) !important;
    height: auto !important;
    margin: 0 auto !important;
    border: 0 !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table207 > tbody > tr:first-child > td:nth-child(1) {
    width: 14% !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table207 > tbody > tr:first-child > td:nth-child(2) {
    width: 7% !important;
    padding-right: 4px !important;
    padding-left: 4px !important;
    white-space: nowrap;
}

.legacy-page-content--carp-galilee-2015-2016 #table207 > tbody > tr:first-child > td:nth-child(3) {
    width: 38% !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table207 > tbody > tr:first-child > td:nth-child(4) {
    width: 14% !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table207 > tbody > tr:first-child > td:nth-child(5) {
    width: 27% !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table207 > tbody > tr:first-child > td p {
    margin: 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

/* Final standings use the same tiled treatment with an eight-column layout. */
.legacy-page-content--carp-galilee-2015-2016 #table214 {
    width: min(100%, 1280px) !important;
    min-width: 1080px;
    max-width: none !important;
    margin: clamp(14px, 1.5vw, 22px) auto !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 2px !important;
    table-layout: fixed;
}

.legacy-page-content--carp-galilee-2015-2016 #table214 > tbody > tr > td {
    padding: clamp(8px, 0.8vw, 12px) !important;
    color: #111111 !important;
    background: #dedede !important;
    border: 1px solid #b1b5b3 !important;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.85),
        inset -1px -1px 0 rgba(120, 125, 122, 0.2);
    line-height: 1.35 !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table214 > tbody > tr:first-child > td {
    padding: 9px 6px !important;
    background: #d2d5d3 !important;
    border-color: #9fa5a2 !important;
    font-weight: 700 !important;
    white-space: nowrap;
}

.legacy-page-content--carp-galilee-2015-2016 #table214 > tbody > tr:first-child > td:nth-child(1) {
    width: 5% !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table214 > tbody > tr:first-child > td:nth-child(2) {
    width: 6% !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table214 > tbody > tr:first-child > td:nth-child(3) {
    width: 5% !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table214 > tbody > tr:first-child > td:nth-child(4) {
    width: 18% !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table214 > tbody > tr:first-child > td:nth-child(5) {
    width: 31% !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table214 > tbody > tr:first-child > td:nth-child(6) {
    width: 12% !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table214 > tbody > tr:first-child > td:nth-child(7) {
    width: 8% !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table214 > tbody > tr:first-child > td:nth-child(8) {
    width: 15% !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table214 > tbody > tr:not(:first-child) > td:last-child {
    padding: 2px !important;
}

.legacy-page-content--carp-galilee-2015-2016 #table214 > tbody > tr:not(:first-child) > td:last-child img {
    display: block;
    width: min(100%, 200px) !important;
    height: auto !important;
    margin: 0 auto !important;
    border: 0 !important;
}

/* Conservative automatic treatment for real data tables in legacy reports. */
.legacy-page-content--detail table.legacy-data-table {
    width: min(100%, 1200px) !important;
    min-width: 720px;
    max-width: none !important;
    margin: clamp(14px, 1.5vw, 22px) auto !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 2px !important;
    table-layout: auto;
}

.legacy-page-content--detail .legacy-data-table > thead > tr > th,
.legacy-page-content--detail .legacy-data-table > thead > tr > td,
.legacy-page-content--detail .legacy-data-table > tbody > tr > th,
.legacy-page-content--detail .legacy-data-table > tbody > tr > td,
.legacy-page-content--detail .legacy-data-table > tr > th,
.legacy-page-content--detail .legacy-data-table > tr > td {
    padding: clamp(7px, 0.8vw, 12px) !important;
    color: #111111 !important;
    background: #dedede !important;
    border: 1px solid #b1b5b3 !important;
    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.85),
        inset -1px -1px 0 rgba(120, 125, 122, 0.2);
    line-height: 1.35 !important;
    vertical-align: middle !important;
}

.legacy-page-content--detail .legacy-data-table > thead > .legacy-data-table__header > th,
.legacy-page-content--detail .legacy-data-table > thead > .legacy-data-table__header > td,
.legacy-page-content--detail .legacy-data-table > tbody > .legacy-data-table__header > th,
.legacy-page-content--detail .legacy-data-table > tbody > .legacy-data-table__header > td,
.legacy-page-content--detail .legacy-data-table > .legacy-data-table__header > th,
.legacy-page-content--detail .legacy-data-table > .legacy-data-table__header > td {
    padding: 9px 8px !important;
    background: #d2d5d3 !important;
    border-color: #9fa5a2 !important;
    font-weight: 700 !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.legacy-page-content--detail .legacy-data-table__header p {
    margin: 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

.legacy-page-content--detail .legacy-data-table > thead > tr > .legacy-data-table__media-cell,
.legacy-page-content--detail .legacy-data-table > tbody > tr > .legacy-data-table__media-cell,
.legacy-page-content--detail .legacy-data-table > tr > .legacy-data-table__media-cell {
    padding: 2px !important;
    text-align: center !important;
}

.legacy-page-content--detail .legacy-data-table__media-cell .legacy-report-photo {
    display: block;
    width: auto !important;
    max-width: min(100%, 240px) !important;
    height: auto !important;
    margin: 0 auto !important;
    border: 0 !important;
}

/* WCC 2016 contains malformed lists inside one align="center" wrapper.
   The page renderer adds stable classes so list markers and text stay together. */
.legacy-page-content--wcc-2016 > div[align="center"] {
    text-align: left;
}

.legacy-page-content--wcc-2016 .legacy-wcc-roster,
.legacy-page-content--wcc-2016 .legacy-wcc-source-links {
    display: table;
    width: auto !important;
    max-width: 100%;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-left: 2.2em;
    text-align: left !important;
}

.legacy-page-content--wcc-2016 .legacy-wcc-roster li,
.legacy-page-content--wcc-2016 .legacy-wcc-source-links li {
    text-align: left !important;
}

.legacy-page-content--wcc-2016 .shadow_c {
    width: fit-content !important;
    max-width: 100% !important;
    height: auto !important;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
}

/* Trusted YouTube embeds restored by the legacy-content sanitizer. */
.legacy-video-embed {
    display: block;
    width: min(100%, 560px);
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 14px auto;
    border: 0;
}

.back-to-top {
    position: fixed;
    right: clamp(12px, 2vw, 28px);
    bottom: clamp(14px, 2vw, 28px);
    z-index: 900;
    width: 46px;
    height: 46px;
    padding: 0 0 3px;
    color: #ffffff;
    background: var(--brand-dark);
    border: 2px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition:
        opacity 0.16s ease,
        transform 0.16s ease,
        visibility 0.16s ease,
        background-color 0.16s ease;
}

.back-to-top.is-visible {
    opacity: 0.92;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    color: var(--brand-dark);
    background: var(--brand-soft);
    outline: none;
}

.back-to-top:focus-visible {
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.28),
        0 0 0 3px rgba(210, 161, 58, 0.38);
}

@media (max-width: 580px) {
    .back-to-top {
        right: 10px;
        bottom: 10px;
        width: 40px;
        height: 40px;
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}



/* Grouped sidebar navigation. */
.legacy-menu__fixed,
.legacy-menu__group-list {
    display: block !important;
    margin: 0;
    padding: 4px;
    list-style: none;
}

.legacy-menu__fixed li + li,
.legacy-menu__group-list li + li {
    margin-top: 2px;
}

.legacy-menu__groups {
    padding: 0 4px 4px;
}

.legacy-menu__group + .legacy-menu__group {
    margin-top: 3px;
}

.legacy-menu__group-toggle {
    width: 100%;
    min-height: 31px;
    padding: 5px 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #263129;
    background: #d8ddda;
    border: 1px solid #9fa9a2;
    border-radius: 2px;
    font: inherit;
    font-size: 14px;
    line-height: 1.1;
    text-align: left;
    cursor: pointer;
}

.legacy-menu__group-toggle:hover,
.legacy-menu__group-toggle:focus-visible {
    color: #ffffff;
    background: #64766b;
    border-color: #4e5e55;
    outline: none;
}

.legacy-menu__group-toggle.is-current {
    color: #ffffff;
    background: var(--brand);
    border-color: var(--brand-dark);
}

.legacy-menu__group-arrow {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.16s ease;
}

.legacy-menu__group.is-open .legacy-menu__group-arrow {
    transform: rotate(225deg) translate(-1px, -1px);
}

.legacy-menu__group-list {
    display: none !important;
    margin-top: 2px;
    padding: 3px 3px 4px 10px;
    background: #c7ceca;
    border: 1px solid #a2aaa5;
    border-radius: 2px;
}

.legacy-menu__group.is-open .legacy-menu__group-list {
    display: block !important;
}

.legacy-menu__group-list a {
    padding: 4px 6px;
    font-size: 13px;
}

@media (max-width: 899px) {
    .legacy-menu__fixed,
    .legacy-menu__group-list {
        grid-template-columns: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legacy-menu__group-arrow {
        transition: none;
    }
}

/* Manufacturer directory: modern replacement for the nested FrontPage tables. */
.legacy-page-content--detail .manufacturer-directory {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: clamp(4px, 1vw, 12px);
}

.legacy-page-content--detail .manufacturer-directory__title {
    margin: 0 0 12px !important;
    padding: clamp(14px, 2vw, 22px);
    color: #ffffff !important;
    background: var(--brand-dark, #064b3b);
    border-bottom: 3px solid var(--accent, #d59b19);
    border-radius: 4px 4px 0 0;
    font-size: clamp(18px, 2.2vw, 27px) !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

.legacy-page-content--detail .manufacturer-directory__intro {
    margin: 0 0 clamp(20px, 3vw, 32px) !important;
    color: #39433f !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

.legacy-page-content--detail .manufacturer-directory__section {
    margin: 0 0 clamp(26px, 4vw, 42px);
}

.legacy-page-content--detail .manufacturer-directory__section-title {
    margin: 0 0 10px !important;
    padding: 0 0 8px;
    color: var(--brand-dark, #064b3b) !important;
    border-bottom: 2px solid var(--accent, #d59b19);
    font-size: clamp(16px, 1.8vw, 21px) !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

.legacy-page-content--detail .manufacturer-directory__table-wrap {
    width: 100%;
    overflow-x: auto;
}

.legacy-page-content--detail table.manufacturer-directory__table {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 7px !important;
    table-layout: fixed;
}

.legacy-page-content--detail .manufacturer-directory__table > thead > tr > th {
    padding: 10px 14px !important;
    color: #ffffff !important;
    background: var(--brand-dark, #064b3b) !important;
    border: 0 !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    text-align: left !important;
}

.legacy-page-content--detail .manufacturer-directory__table > thead > tr > th:first-child {
    width: 34%;
    border-radius: 4px 0 0 4px;
}

.legacy-page-content--detail .manufacturer-directory__table > thead > tr > th:last-child {
    border-radius: 0 4px 4px 0;
}

.legacy-page-content--detail .manufacturer-directory__table > tbody > tr > td {
    padding: 10px 14px !important;
    color: #202723 !important;
    background: #f3f5f4 !important;
    border-top: 1px solid #c5ceca !important;
    border-right: 0 !important;
    border-bottom: 1px solid #c5ceca !important;
    border-left: 0 !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
    text-align: left !important;
    vertical-align: middle !important;
}

.legacy-page-content--detail .manufacturer-directory__table > tbody > tr > td:first-child {
    width: 34%;
    border-left: 4px solid var(--accent, #d59b19) !important;
    border-radius: 4px 0 0 4px;
    font-weight: 700;
}

.legacy-page-content--detail .manufacturer-directory__table > tbody > tr > td:last-child {
    border-right: 1px solid #c5ceca !important;
    border-radius: 0 4px 4px 0;
}

.legacy-page-content--detail .manufacturer-directory__table > tbody > tr:hover > td {
    background: #e9efec !important;
}

.legacy-page-content--detail .manufacturer-directory__table a {
    color: #006b56 !important;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.legacy-page-content--detail .manufacturer-directory__entry--inactive > td:first-child {
    color: #65706b !important;
    border-left-color: #aeb8b3 !important;
    font-weight: 600;
}

@media (max-width: 680px) {
    .legacy-page-content--detail .manufacturer-directory {
        padding: 0;
    }

    .legacy-page-content--detail .manufacturer-directory__table-wrap {
        overflow: visible;
    }

    .legacy-page-content--detail table.manufacturer-directory__table,
    .legacy-page-content--detail .manufacturer-directory__table > tbody {
        display: block !important;
        width: 100% !important;
    }

    .legacy-page-content--detail .manufacturer-directory__table > thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .legacy-page-content--detail .manufacturer-directory__table > tbody > tr {
        display: block !important;
        margin: 0 0 10px;
        overflow: hidden;
        background: #f3f5f4;
        border: 1px solid #c5ceca;
        border-left: 4px solid var(--accent, #d59b19);
        border-radius: 5px;
    }

    .legacy-page-content--detail .manufacturer-directory__table > tbody > tr > td {
        display: block !important;
        width: auto !important;
        padding: 9px 12px !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    .legacy-page-content--detail .manufacturer-directory__table > tbody > tr > td:first-child {
        background: #e7ece9 !important;
    }

    .legacy-page-content--detail .manufacturer-directory__table > tbody > tr > td:last-child:empty {
        display: none !important;
    }

    .legacy-page-content--detail .manufacturer-directory__entry--inactive {
        border-left-color: #aeb8b3 !important;
    }
}

/* Nord paid-fishing page: contain the legacy full-width table layout. */
.legacy-page-content--nord {
    box-sizing: border-box;
    width: min(100%, 1280px);
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    overflow-x: hidden;
}

.legacy-page-content--nord > table {
    max-width: 100% !important;
}

.legacy-page-content--nord > table:nth-of-type(2),
.legacy-page-content--nord > table:nth-of-type(3) {
    width: 100% !important;
}

.legacy-page-content--nord > table:nth-of-type(3) {
    table-layout: fixed;
}

.legacy-page-content--nord .legacy-report-media-table {
    width: auto !important;
    max-width: 100% !important;
}

/* Photo detection marks the whole legacy table as media.
   Keep prose cells readable and center only actual photo/gallery cells. */
.legacy-page-content--nord .legacy-report-media-table td {
    text-align: left !important;
}

.legacy-page-content--nord .legacy-report-media-table td.pic,
.legacy-page-content--nord .legacy-report-media-table td.tabpic {
    text-align: center !important;
}

.legacy-page-content--nord td,
.legacy-page-content--nord p,
.legacy-page-content--nord a {
    white-space: normal !important;
    overflow-wrap: anywhere;
}

.legacy-page-content--nord img {
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 680px) {
    .legacy-page-content--nord {
        padding-right: 12px;
        padding-left: 12px;
    }

    .legacy-page-content--nord .legacy-report-media-table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
    }
}

/* Center paid-fishing page: restore the title and contain the legacy tables. */
.legacy-page-content--center {
    box-sizing: border-box;
    width: min(100%, 1280px);
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    overflow-x: hidden;
}

.legacy-page-content--center > table {
    max-width: 100% !important;
}

.legacy-page-content--nord > table:first-of-type,
.legacy-page-content--center > table:first-of-type {
    width: 100% !important;
    margin: 0 0 clamp(16px, 2vw, 24px) !important;
    border-collapse: collapse;
}

.legacy-page-content--nord > table:first-of-type td.text_zagolovok,
.legacy-page-content--center > table:first-of-type td.text_zagolovok {
    padding: clamp(10px, 1vw, 14px) clamp(14px, 1.5vw, 22px) !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: clamp(17px, 1.4vw, 22px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.legacy-page-content--center > table:nth-of-type(2),
.legacy-page-content--center > table:nth-of-type(2) table,
.legacy-page-content--center .legacy-report-media-table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
}

.legacy-page-content--center td,
.legacy-page-content--center p,
.legacy-page-content--center a {
    min-width: 0;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

.legacy-page-content--center > table:nth-of-type(2) table td:first-child {
    width: auto !important;
    text-align: left !important;
}

.legacy-page-content--center > table:nth-of-type(2) table td:last-child {
    width: min(330px, 32vw) !important;
    text-align: center !important;
}

.legacy-page-content--center img {
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 680px) {
    .legacy-page-content--center {
        padding-right: 12px;
        padding-left: 12px;
    }

    .legacy-page-content--center > table:nth-of-type(2) table,
    .legacy-page-content--center > table:nth-of-type(2) table tbody,
    .legacy-page-content--center > table:nth-of-type(2) table tr,
    .legacy-page-content--center > table:nth-of-type(2) table td {
        display: block;
        width: 100% !important;
    }

    .legacy-page-content--center > table:nth-of-type(2) table td:last-child {
        margin-top: 12px;
    }
}

/* Useful information pages and replacements for obsolete embedded services. */
.useful-tool-page {
    box-sizing: border-box;
    width: min(100%, 1120px);
    margin: 0 auto;
}

.useful-page-title {
    margin: 0 0 clamp(18px, 2vw, 26px) !important;
    padding: clamp(11px, 1.2vw, 16px) clamp(16px, 2vw, 24px) !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: clamp(18px, 1.7vw, 24px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.useful-tool-page__intro {
    margin: 0 auto clamp(20px, 3vw, 32px) !important;
    max-width: 880px;
    color: #34413b !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    text-align: center !important;
}

.useful-tool-page__section {
    margin: 0 0 clamp(24px, 3vw, 36px);
}

.useful-tool-page__section > h2 {
    margin: 0 0 12px !important;
    padding: 0 0 8px;
    color: var(--brand-dark) !important;
    border-bottom: 2px solid var(--accent);
    font-size: clamp(16px, 1.5vw, 20px) !important;
    text-align: left !important;
}

.useful-link-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.useful-link-list > li {
    margin: 0 0 8px;
    padding: 11px 14px;
    background: #f3f5f4;
    border: 1px solid #c5ceca;
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    text-align: left !important;
}

.useful-link-list > li > a {
    color: #006b56 !important;
    font-weight: 700;
}

.useful-link-list > li > span {
    display: block;
    margin-top: 4px;
    color: #53605a;
    line-height: 1.4;
}

.useful-conversion-table,
.useful-terms-table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    table-layout: fixed;
}

.useful-conversion-table th,
.useful-conversion-table td,
.useful-terms-table td {
    padding: 9px 12px !important;
    border: 1px solid #b8c2bd !important;
    line-height: 1.4 !important;
    text-align: left !important;
    vertical-align: top !important;
}

.useful-conversion-table th {
    color: #ffffff !important;
    background: var(--brand) !important;
    font-weight: 700 !important;
}

.useful-conversion-table tbody tr:nth-child(even) td,
.useful-terms-table tr:nth-child(even) td {
    background: #f2f5f3 !important;
}

.useful-terms-table tr:first-child td {
    color: #ffffff !important;
    background: var(--brand) !important;
    font-weight: 700 !important;
}

.useful-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 20px);
    margin-bottom: clamp(20px, 3vw, 30px);
}

.useful-service-card {
    padding: clamp(16px, 2vw, 24px);
    background: #f3f5f4;
    border: 1px solid #c5ceca;
    border-top: 4px solid var(--accent);
    border-radius: 5px;
}

.useful-service-card h2 {
    margin: 0 0 10px !important;
    color: var(--brand-dark) !important;
    font-size: 18px !important;
    text-align: left !important;
}

.useful-service-card p {
    min-height: 3em;
    text-align: left !important;
}

.useful-service-card__link {
    display: inline-block;
    padding: 9px 13px;
    color: #ffffff !important;
    background: var(--brand) !important;
    border-radius: 3px;
    font-weight: 700;
    text-decoration: none !important;
}

.useful-service-card__link:hover,
.useful-service-card__link:focus-visible {
    background: var(--brand-dark) !important;
}

.useful-note {
    margin: 18px 0 0 !important;
    padding: 12px 14px;
    color: #34413b !important;
    background: #eef2ef;
    border-left: 4px solid var(--accent);
    line-height: 1.5 !important;
    text-align: left !important;
}

.useful-note p {
    margin: 0 0 5px !important;
    text-align: left !important;
}

.useful-note p:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 680px) {
    .useful-service-grid {
        grid-template-columns: 1fr;
    }

    .useful-service-card p {
        min-height: 0;
    }

    .useful-conversion-table,
    .useful-terms-table {
        font-size: 12px !important;
    }

    .useful-conversion-table th,
    .useful-conversion-table td,
    .useful-terms-table td {
        padding: 7px 8px !important;
    }
}

/* Replacement for obsolete javascript:window.close() links. */
.useful-back-link {
    display: inline-block;
    padding: 8px 13px;
    color: #ffffff !important;
    background: var(--brand) !important;
    border-radius: 3px;
    font-weight: 700;
    text-decoration: none !important;
}

.useful-back-link:hover,
.useful-back-link:focus-visible {
    background: var(--brand-dark) !important;
}

/* Glossary descriptions must override the generic centered media-table rule. */
.legacy-page-content--detail.legacy-page-content--glossary-letter
    .legacy-glossary-letter-content table td {
    text-align: left !important;
}

.legacy-page-content--detail.legacy-page-content--glossary-letter
    .legacy-glossary-letter-content table td.shadow_black {
    text-align: right !important;
}

@media (max-width: 580px) {
    .legacy-page-content--detail.legacy-page-content--glossary-letter
        .legacy-glossary-letter-content table td.shadow_black {
        text-align: center !important;
    }
}

/* Tackle Enterprise nightlight adaptor review. */
.legacy-page-content--detail .nightlite-review__title {
    margin: 0 0 clamp(20px, 3vw, 32px);
    padding: clamp(12px, 1.5vw, 18px) clamp(16px, 2vw, 26px);
    color: #ffffff !important;
    background: var(--brand-dark);
    border-bottom: 3px solid var(--accent);
    font-size: clamp(18px, 1.7vw, 24px) !important;
    font-weight: 700;
    line-height: 1.3 !important;
    text-align: center !important;
}

.legacy-page-content--detail table.nightlite-review__layout,
.legacy-page-content--detail table.nightlite-review__content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    table-layout: fixed;
}

.legacy-page-content--detail table.nightlite-review__layout > tbody > tr > td,
.legacy-page-content--detail table.nightlite-review__content > tbody > tr > td {
    padding: 0 !important;
    text-align: left !important;
}

.legacy-page-content--detail .nightlite-review__hero {
    margin: 0 0 clamp(20px, 3vw, 32px) !important;
    text-align: center !important;
}

.legacy-page-content--detail .nightlite-review__hero img {
    display: inline-block;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Handmade wobblers article: replace the oversized legacy table with a responsive layout. */
.legacy-page-content--detail .handmade-wobblers {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.legacy-page-content--detail .handmade-wobblers__title {
    margin: 0;
    padding: clamp(12px, 1.5vw, 18px) clamp(16px, 2vw, 26px);
    color: #ffffff !important;
    background: var(--brand-dark);
    border-bottom: 3px solid var(--accent);
    font-size: clamp(18px, 1.7vw, 24px) !important;
    font-weight: 700;
    line-height: 1.3 !important;
    text-align: center !important;
}

.legacy-page-content--detail .handmade-wobblers__byline {
    margin: 10px 0 clamp(18px, 2.5vw, 30px) !important;
    color: #4d5852 !important;
    text-align: right !important;
}

.legacy-page-content--detail .handmade-wobblers__story {
    margin-bottom: clamp(20px, 3vw, 36px);
}

.legacy-page-content--detail .handmade-wobblers__story h2 {
    margin: 0 0 12px;
    color: var(--brand-dark);
    font-size: clamp(16px, 1.4vw, 20px) !important;
    text-align: left !important;
}

.legacy-page-content--detail .handmade-wobblers__story blockquote {
    margin: 0;
    padding: clamp(14px, 2vw, 22px);
    background: rgba(255, 255, 255, 0.24);
    border-left: 4px solid var(--accent);
}

.legacy-page-content--detail .handmade-wobblers__story p {
    text-align: left !important;
}

.legacy-page-content--detail .handmade-wobblers__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: clamp(14px, 2vw, 24px);
    align-items: start;
}

.legacy-page-content--detail .handmade-wobblers__gallery figure {
    margin: 0;
    padding: 8px;
    background: #eeeeee;
    border: 1px solid #c2c7c4;
}

.legacy-page-content--detail .handmade-wobblers__gallery img {
    display: block;
    width: 100% !important;
    max-width: 500px !important;
    height: auto !important;
    margin: 0 auto;
}


/* Paid-fishing locations: make each place visibly distinct while scrolling. */
.legacy-page-content--nord h2 {
    box-sizing: border-box;
    width: 100%;
    margin: clamp(24px, 3vw, 38px) 0 18px !important;
    padding: 13px 18px;
    border-bottom: 2px solid var(--accent);
    background: var(--brand-dark);
    color: #ffffff !important;
    font-size: clamp(16px, 1.5vw, 19px) !important;
    font-weight: 700;
    line-height: 1.35 !important;
    text-align: left !important;
}

.legacy-page-content--nord .place-note {
    margin: 18px 0 !important;
    padding: 13px 16px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.32);
    text-align: left !important;
}


/* Article collections formerly displayed in two HTML frames. */
.legacy-page-content--frameset-index {
    overflow: visible;
}

.legacy-page-content--frameset-index .legacy-frameset-navigation {
    box-sizing: border-box;
    width: min(100%, 900px);
    margin: 0 auto clamp(28px, 4vw, 46px);
    padding: clamp(14px, 2vw, 22px);
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid #c2cbc7;
    border-radius: 5px;
}

.legacy-page-content--frameset-index .legacy-frameset-navigation table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 5px !important;
}

.legacy-page-content--frameset-index .legacy-frameset-navigation td.thumbbox_1,
.legacy-page-content--frameset-index .legacy-frameset-navigation td.shadow_c {
    padding: 11px 16px !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: clamp(15px, 1.4vw, 19px) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
}

.legacy-page-content--frameset-index .legacy-frameset-navigation td.separator {
    height: 5px !important;
    padding: 0 !important;
}

.legacy-page-content--frameset-index .legacy-frameset-navigation td.menu_gray {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    text-align: left !important;
}

.legacy-page-content--frameset-index .legacy-frameset-link {
    display: block;
    padding: 9px 13px;
    color: #064b3b !important;
    background: #f3f5f4;
    border: 1px solid #bcc7c2;
    border-left: 4px solid var(--accent);
    border-radius: 3px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left !important;
    text-decoration: none !important;
}

.legacy-page-content--frameset-index .legacy-frameset-link:hover,
.legacy-page-content--frameset-index .legacy-frameset-link:focus-visible {
    background: #e7eeea;
    border-color: #91a29a;
}

.legacy-page-content--frameset-index .legacy-frameset-link.is-active {
    color: #ffffff !important;
    background: var(--brand);
    border-color: var(--brand-dark);
}

.legacy-page-content--frameset-index .legacy-frameset-article {
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    padding-top: clamp(22px, 3vw, 34px);
    border-top: 2px solid #b8c3be;
    scroll-margin-top: 18px;
}

.legacy-page-content--frameset-index .legacy-frameset-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    width: min(100%, 900px);
    margin: 0 auto 12px;
}

.legacy-page-content--frameset-index .legacy-frameset-actions--article {
    width: 100%;
    margin-bottom: 18px;
}

.legacy-page-content--frameset-index .legacy-frameset-action {
    display: inline-block;
    padding: 8px 12px;
    color: #ffffff !important;
    background: var(--brand);
    border: 1px solid var(--brand-dark);
    border-radius: 3px;
    font-weight: 700;
    text-decoration: none !important;
}

.legacy-page-content--frameset-index .legacy-frameset-action--catalog {
    color: var(--brand-dark) !important;
    background: #f3f5f4;
    border-color: #aebdb6;
}

.legacy-page-content--frameset-index .legacy-frameset-action:hover,
.legacy-page-content--frameset-index .legacy-frameset-action:focus-visible {
    color: #ffffff !important;
    background: var(--brand-dark);
}

@media (max-width: 680px) {
    .legacy-page-content--frameset-index .legacy-frameset-navigation {
        padding: 10px;
    }

    .legacy-page-content--frameset-index .legacy-frameset-link {
        padding: 10px 11px;
    }
}


/* Standalone Hebrew and English club information pages. */
.legacy-page-content--club-language {
    box-sizing: border-box;
    width: min(100%, 1180px);
    margin-right: auto;
    margin-left: auto;
    overflow-x: hidden;
}

.legacy-page-content--club-language .club-language-page {
    color: #1d2823;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.legacy-page-content--club-language .club-language-page[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

.legacy-page-content--club-language .club-language-page > div:first-of-type {
    width: 100%;
    margin: 0 0 clamp(20px, 3vw, 34px);
}

.legacy-page-content--club-language .club-language-page > div:first-of-type table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse;
}

.legacy-page-content--club-language .club-language-page > div:first-of-type td {
    padding: clamp(13px, 1.7vw, 20px) clamp(16px, 2vw, 28px) !important;
    color: #ffffff !important;
    background: var(--brand-dark) !important;
    border-bottom: 3px solid var(--accent) !important;
    font-size: clamp(19px, 2vw, 27px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.legacy-page-content--club-language .club-language-page > div:first-of-type h1,
.legacy-page-content--club-language .club-language-page > div:first-of-type span {
    margin: 0 !important;
    color: inherit !important;
    font: inherit !important;
}

.legacy-page-content--club-language .club-language-page p,
.legacy-page-content--club-language .club-language-page li {
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: start !important;
}

.legacy-page-content--club-language .club-language-page font {
    font-size: inherit !important;
}

.legacy-page-content--club-language .club-language-page iframe {
    display: block;
    width: min(100%, 720px) !important;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    margin: 20px auto;
}

.legacy-page-content--club-language .club-language-page img {
    max-width: 100% !important;
    height: auto !important;
}

.legacy-page-content--club-language .club-language-page table#table1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 10px;
    width: 100% !important;
    margin: clamp(22px, 3vw, 38px) 0 0 !important;
}

.legacy-page-content--club-language .club-language-page table#table1 > tbody,
.legacy-page-content--club-language .club-language-page table#table1 > tbody > tr {
    display: contents;
}

.legacy-page-content--club-language .club-language-page table#table1 td {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 7px !important;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid #c4ccc8;
}

.legacy-page-content--club-language .club-language-page table#table1 img {
    display: block;
    width: 100% !important;
    max-width: 240px !important;
    margin: auto;
}

@media (max-width: 580px) {
    .language-links {
        gap: 7px;
    }

    .language-links a {
        padding: 5px 6px;
    }

    .legacy-page-content--club-language .club-language-page {
        font-size: 14px;
    }
}
