:root {
    --color-header-bg: #1f3a52;
    --color-header-text: #FFFFFF;
    --color-header-text-hover: #b8cfe0;
    --color-page-bg: #f5f5f5;
    --color-card-bg: #FFFFFF;
    --color-border: #e0e0e0;
    --color-text-primary: #2c3e50;
    --color-text-muted: #6b7c8d;
    --color-accent-primary: #E31B23;
    --color-accent-gold: #c97d0a;
}

* {
    font-family: 'Noto Sans Hebrew', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
    color: var(--color-text-primary);
}

a {
    color: var(--color-accent-primary);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
    color: var(--color-accent-gold);
    text-decoration-thickness: 2px;
}

.container {
    width: 100%;
    max-width: 1220px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.h1 {
    font-family: 'Noto Sans Hebrew', sans-serif !important;
    font-weight: 600;
}

.breadcrumbs {
    margin-top: 12px;
    margin-bottom: 12px;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
}

.breadcrumbs-item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.breadcrumbs-item+.breadcrumbs-item::before {
    content: "/";
    margin-right: 8px;
    color: var(--color-border);
}

.breadcrumbs-link {
    color: var(--color-accent-primary);
    text-decoration: none;
}

.breadcrumbs-link:hover {
    text-decoration: underline;
}

.breadcrumbs-current {
    color: var(--color-text-primary);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* â”€â”€ Responsive breakpoints â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@media screen and (max-width: 575px) {
    .container {
        width: 100%;
    }

    .xl {
        display: none;
    }

    .l {
        display: none;
    }

    .m {
        display: none;
    }

    .s {
        display: block;
    }

    .search-input {
        border: 1px solid var(--color-border);
        border-radius: 4px;
        font-size: 15px;
        height: 36px;
        box-shadow: inset 0 1px 2px rgba(15, 31, 49, 0.04);
        color: var(--color-text-primary);
        box-sizing: border-box;
        width: 70%;
        padding: 0 12px;
    }

    .categories {
        text-align: left;
    }

    .footer-details {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-item-start {
        flex-grow: 1;
        align-content: start;
        text-align: center;
    }

    .footer-item-end {
        display: flex;
        flex-grow: 1;
        justify-content: center;
        align-items: center;
        margin-top: 4px;
    }

    .footer-padding-middle {
        padding-bottom: 3px;
    }

    .commercial-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media screen and (min-width: 576px) {
    .container {
        width: 100%;
    }

    .xl {
        display: none;
    }

    .l {
        display: none;
    }

    .m {
        display: none;
    }

    .s {
        display: block;
    }

    .search-input {
        border: 1px solid var(--color-border);
        border-radius: 3px;
        font-size: 15px;
        height: 36px;
        box-shadow: none;
        color: var(--color-text-primary);
        box-sizing: border-box;
        width: 75%;
    }

    .categories {
        text-align: left;
        width: 75%;
    }

    .footer-details {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-item-start {
        flex-grow: 1;
        align-content: start;
        text-align: center;
    }

    .footer-item-end {
        display: flex;
        flex-grow: 1;
        justify-content: center;
        align-items: center;
        margin-top: 4px;
    }

    .footer-padding-middle {
        padding-bottom: 3px;
    }

    .commercial-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media screen and (min-width: 768px) {
    .container {
        width: 100%;
    }

    .xl {
        display: none;
    }

    .l {
        display: none;
    }

    .m {
        display: block;
    }

    .s {
        display: none;
    }

    .search-input {
        border: 1px solid var(--color-border);
        border-radius: 3px;
        font-size: 15px;
        height: 36px;
        box-shadow: none;
        color: var(--color-text-primary);
        box-sizing: border-box;
        width: 85%;
        margin-right: 30px;
    }

    .categories {
        text-align: left;
        width: 89%;
    }

    .footer-details {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-item-start {
        flex-grow: 1;
        align-content: start;
        text-align: center;
    }

    .footer-item-end {
        display: flex;
        flex-grow: 1;
        justify-content: center;
        align-items: center;
        margin-top: 4px;
    }

    .footer-padding-middle {
        padding-bottom: 3px;
    }

    .commercial-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media screen and (min-width: 992px) {
    .container {
        width: 100%;
    }

    .xl {
        display: none;
    }

    .l {
        display: block;
    }

    .m {
        display: none;
    }

    .s {
        display: none;
    }

    .search-input {
        border: 1px solid var(--color-border);
        border-radius: 3px;
        font-size: 15px;
        height: 36px;
        box-shadow: none;
        color: var(--color-text-primary);
        box-sizing: border-box;
        width: 90%;
        margin-right: 28px;
    }

    .categories {
        text-align: left;
        width: 92%;
    }

    .footer-details {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .footer-item-start {
        flex-grow: 1;
        align-content: start;
        text-align: start;
    }

    .footer-item-end {
        display: flex;
        flex-grow: 1;
        justify-content: end;
        align-items: center;
    }

    .footer-padding-middle {
        padding-bottom: 4px;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        max-width: 1440px;
        width: 100%;
    }

    .xl {
        display: block;
    }

    .l {
        display: none;
    }

    .m {
        display: none;
    }

    .s {
        display: none;
    }

    .search-input {
        border: 1px solid var(--color-border);
        border-radius: 3px;
        font-size: 15px;
        height: 36px;
        box-shadow: none;
        color: var(--color-text-primary);
        box-sizing: border-box;
        width: 95%;
        margin-right: 28px;
    }

    .categories {
        text-align: left;
        width: 97%;
    }

    .footer-details {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .footer-item-start {
        flex-grow: 1;
        align-content: start;
        text-align: start;
    }

    .footer-item-end {
        display: flex;
        flex-grow: 1;
        justify-content: end;
        align-items: center;
    }

    .footer-padding-middle {
        padding-bottom: 4px;
    }
}

/* â”€â”€ Base â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

body {
    padding: 0;
    margin: 0;
    background-color: var(--color-page-bg);
    color: var(--color-text-primary);
}

/* â”€â”€ Header & Nav â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: var(--color-header-bg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
}

.header-height {
    height: fit-content;
    min-height: 35px;
    z-index: 1;
}

.menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.menu-button {
    height: 24px;
    width: 24px;
    fill: var(--color-header-text);
    margin-top: 10px;
    cursor: pointer;
}

.menu-button-search {
    height: 24px;
    width: 24px;
    fill: var(--color-header-text);
    margin-top: 10px;
    margin-right: 20px;
    margin-left: 5px;
    cursor: pointer;
}

.menu-link {
    font-size: 13px;
    text-decoration: none;
    color: var(--color-header-text);
    text-wrap: nowrap;
}

.menu-link:hover,
.menu-link-small:hover {
    color: var(--color-header-text-hover);
    transform: translateY(-1px);
}

.menu-link-small {
    font-size: 14px;
    text-decoration: none;
    color: var(--color-header-text);
    text-wrap: nowrap;
}

.menu-link[aria-current="page"],
.menu-link-small[aria-current="page"] {
    color: var(--color-header-text);
    font-weight: 700;
}

.menu-logo {
    font-weight: 700;
    color: var(--color-header-text);
    font-size: 16px;
    margin-right: 10px;
    letter-spacing: 0.02em;
}

.menu-last {
    flex-grow: 1;
    align-content: end;
    text-align: end;
}

.menu-right {
    margin-left: 15px;
}

.menu-left {
    margin-right: 15px;
}

.menu-bold {
    font-weight: 500;
}

.menu-light {
    font-weight: 400;
}

.menu-bolder {
    font-weight: 600;
}

.menu-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.menu-dropdown-content {
    display: none;
    position: absolute;
    z-index: 2;
    min-width: fit-content;
    background-color: var(--color-header-bg);
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.menu-dropdown-item {
    list-style-type: none;
    margin: 0;
    padding: 15px;
}

.menu-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.menu-header {
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    padding-bottom: 5px;
    padding-top: 8px;
    color: var(--color-header-text);
}

.menu-to-right {
    float: right;
}

.submenu {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
}

.submenu-item {
    /* inherits global font stack */
}

.submenu-item-first {
    margin-right: 26px;
}

.show {
    display: block;
}

.hide {
    display: none;
}

.upper-line {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Search block in header — white background, so all text must be dark */
#searchBlock {
    background-color: var(--color-card-bg) !important;
    border-top: 1px solid var(--color-border);
}

#searchBlock .menu-link,
#searchBlock .menu-link-small {
    color: var(--color-text-primary);
}

#searchBlock .menu-link:hover,
#searchBlock .menu-link-small:hover {
    color: var(--color-accent-primary);
    transform: translateY(-1px);
}

#searchBlock .menu-header {
    color: var(--color-text-muted);
}

#searchBlock svg {
    fill: var(--color-text-primary);
}


.search {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.search-form {
    display: flex;
    margin-bottom: 18px;
    margin-top: 15px;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.search-button {
    display: none;
}

/* â”€â”€ Content & Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.content {
    min-height: calc(100vh - 70px);
    padding: 16px 0 24px;
}

.footer {
    background-color: var(--color-header-bg);
    margin-top: 10px;
    width: 100%;
    height: fit-content;
}

.footer-logo {
    font-weight: 700;
    color: var(--color-header-text);
    font-size: 16px;
    margin-right: 10px;
    letter-spacing: 0.02em;
}

.footer-text {
    font-size: 13px;
    text-decoration: none;
    color: var(--color-header-text);
}

.footer-text * {
    color: inherit;
}

.footer-text a {
    color: var(--color-header-text);
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.85;
}

.footer-text a:hover {
    opacity: 1;
    color: var(--color-header-text);
}

.footer-text-big {
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    color: var(--color-header-text);
    margin-right: 10px;
}

/* Footer SVG social icons */
.footer svg {
    fill: var(--color-header-text);
    opacity: 0.85;
    vertical-align: middle;
    transition: opacity 0.2s ease;
}

.footer svg:hover {
    opacity: 1;
}

.footer-padding-top {
    padding-top: 10px;
}

.footer-padding-bottom {
    padding-bottom: 10px;
}

/* â”€â”€ Category badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@media screen and (max-width: 639px) {
    .category {
        background-color: var(--color-accent-gold) !important;
        color: var(--color-header-text);
        font-weight: 600;
        font-size: 11px;
        padding: 4px 8px;
        text-transform: uppercase;
        border-radius: 3px;
        text-decoration: none;
        white-space: nowrap;
    }

    .category-inverted {
        background-color: var(--color-card-bg) !important;
        color: var(--color-accent-gold) !important;
        font-weight: 600;
        font-size: 11px;
        padding: 4px 8px;
        text-transform: uppercase;
        border-radius: 3px;
        border: 1px solid var(--color-accent-gold);
        text-decoration: none;
        white-space: nowrap;
    }
}

@media screen and (min-width: 640px) {
    .category {
        background-color: var(--color-accent-gold) !important;
        color: var(--color-header-text);
        font-weight: 600;
        font-size: 12px;
        padding: 4px 8px;
        text-transform: uppercase;
        border-radius: 3px;
        text-decoration: none;
        white-space: nowrap;
    }

    .category-inverted {
        background-color: var(--color-card-bg) !important;
        color: var(--color-accent-gold) !important;
        font-weight: 600;
        font-size: 12px;
        padding: 4px 8px;
        text-transform: uppercase;
        border-radius: 3px;
        border: 1px solid var(--color-accent-gold);
        text-decoration: none;
        white-space: nowrap;
    }
}

/* â”€â”€ Pagination â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.pagination-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 15px;
}

.pagination-item {
    border: 1px solid var(--color-border);
    border-radius: 3px;
    padding: 1px 7px 3px 7px;
    text-decoration: none;
    color: var(--color-accent-primary);
    margin-right: 3px;
    margin-left: 3px;
    font-weight: 600;
}

.pagination-item-active {
    border: 1px solid var(--color-accent-gold);
    border-radius: 3px;
    padding: 1px 7px 3px 7px;
    text-decoration: none;
    color: var(--color-header-text);
    background-color: var(--color-accent-gold);
    margin-right: 3px;
    margin-left: 3px;
    font-weight: 600;
}

/* â”€â”€ Utilities â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.shift-26 {
    margin-right: 26px;
}

.shift-32 {
    margin-right: 32px;
}

.anchor {
    background-color: var(--color-accent-primary) !important;
    color: var(--color-header-text);
    font-weight: 600;
    font-size: 12px;
    padding: 3px 7px;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Fix unreadable text color in blocks with photo overlays */
.alpha-row-title *,
.beta-row-title *,
.top7-row-title *,
.small521-row-big-title * {
    color: inherit;
}

.alpha-row-title a:hover,
.beta-row-title a:hover,
.top7-row-title a:hover,
.small521-row-big-title a:hover {
    color: inherit;
}

.category:hover {
    color: var(--color-header-text) !important;
}

.pagination-item-active:hover{
    color: var(--color-header-text) !important;
}