:root {
    --menu-black: #2e2e2e;
    --menu-red: #d01728;
    --menu-yellow: #fbec00;
    --menu-paper: #fff;
    --menu-rule: rgba(46, 46, 46, 0.18);
}

.custom-menu-sections {
    position: relative;
    margin-top: 0;
    border-top:6px solid #000;
}

.custom-menu-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.custom-menu-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: background-color 0.2s ease-out;
}

.custom-menu-section:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .custom-menu-sections--masonry > .custom-menu-section {
        width: 50%;
    }
}

.custom-menu-section__title,
.custom-menu-section__intro,
.custom-menu-section__items,
.custom-menu-section__sides,
.custom-menu-section__beverages,
.custom-menu-section__inner {
    position: relative;
    z-index: 2;
}

.custom-menu-section__inner {
    width: 80%;
    max-width: 1480px;
    margin: 2vw auto;
    border: 3px solid var(--menu-red);
    box-shadow: 5px 5px 0 var(--menu-yellow);
}

.custom-menu-section__title {
    margin: 0;
    padding: 20px 18px 12px 18px;
    font-family: 'Londrina Solid', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.04em;
    line-height: 1.08;
    text-transform: uppercase;
}

.custom-menu-section__intro {
    margin: -2px 0 0 0;
    padding: 0 18px 12px 18px;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 1.04rem;
    line-height: 1.5;
    letter-spacing: 0.035em;
    max-width: 62ch;
}

.custom-menu-section__items {
    padding: 4px 12px 16px 12px;
}

.custom-menu-section__sides {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 6px 12px 18px 12px;
}

.custom-menu-section__beverages {
    padding: 6px 18px 18px 18px;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.5;
    letter-spacing: 0.03em;
}

.custom-menu-section__beverages p,
.custom-menu-section__beverages ul,
.custom-menu-section__beverages ol {
    margin-top: 0;
    margin-bottom: 12px;
}

.custom-menu-section__beverages ul,
.custom-menu-section__beverages ol {
    padding-left: 22px;
}

.custom-menu-item {
    padding: 12px 10px;
    border-top: 1px solid var(--menu-rule);
}

.custom-menu-item:first-child {
    border-top: 0;
}

.custom-menu-item__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
}

.custom-menu-item__name {
    margin: 0;
    font-family: 'Londrina Solid', sans-serif;
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: 0.03em;
    line-height: 1.15;
    text-transform: uppercase;
}

.custom-menu-item__price {
    flex-shrink: 0;
    font-family: 'Oswald', Helvetica, Arial, sans-serif;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.custom-menu-item__description {
    margin: 7px 0 0 0;
    font-size: 1rem;
    line-height: 1.45;
    letter-spacing: 0.03em;
}

.custom-menu-section--has-bg {
    color: #fff;
    margin-bottom:0;
    border-bottom:6px solid #000;
}

.custom-menu-section--has-bg::before {
    background-color: rgba(46, 46, 46, 0.62);
}

.custom-menu-section--has-bg .custom-menu-section__title {
    color: #fff;
    text-shadow: 0 2px 9px rgba(0, 0, 0, 0.45);
}

.custom-menu-section--has-bg .custom-menu-section__intro {
    color: rgba(255, 255, 255, 0.93);
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.4);
}

.custom-menu-section--has-bg .custom-menu-item {
    border-top-color: rgba(255, 255, 255, 0.34);
}

.custom-menu-section--has-bg .custom-menu-item__name,
.custom-menu-section--has-bg .custom-menu-item__description {
    color: #fff;
}

.custom-menu-section--has-bg .custom-menu-item__price,
.custom-menu-section--has-bg .custom-menu-side-item__price {
    color: var(--menu-yellow);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.custom-menu-section--has-bg .custom-menu-side-item {
    border-top-color: rgba(255, 255, 255, 0.34);
}

.custom-menu-section--has-bg .custom-menu-side-item__name {
    color: #fff;
}

.custom-menu-section--has-bg .custom-menu-section__beverages {
    color: #fff;
}

.custom-menu-section--has-bg .custom-menu-section__beverages a {
    color: #fff;
    text-decoration: underline;
}

.custom-menu-section--no-bg {
    background: var(--menu-paper);
    color: var(--menu-black);
}

.custom-menu-section--no-bg::before {
    background-color: rgba(255, 255, 255, 0.18);
}

.custom-menu-section--no-bg .custom-menu-section__title {
    color: var(--menu-red);
}

.custom-menu-section--no-bg .custom-menu-section__intro {
    color: rgba(47, 47, 49, 0.9);
}

.custom-menu-section--no-bg .custom-menu-item,
.custom-menu-section--no-bg .custom-menu-side-item {
    border-top-color: var(--menu-rule);
}

.custom-menu-section--no-bg .custom-menu-item__name,
.custom-menu-section--no-bg .custom-menu-side-item__name {
    color: var(--menu-black);
}

.custom-menu-section--no-bg .custom-menu-item__description {
    color: rgba(47, 47, 49, 0.9);
}

.custom-menu-section--no-bg .custom-menu-item__price,
.custom-menu-section--no-bg .custom-menu-side-item__price {
    color: var(--menu-red);
}

.custom-menu-section--no-bg .custom-menu-section__beverages {
    color: var(--menu-black);
}

.custom-menu-section--no-bg .custom-menu-section__beverages a {
    color: var(--menu-red);
}

.custom-menu-section--has-bg:hover::before {
    background-color: rgba(46, 46, 46, 0.46);
}

.custom-menu-side-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 10px;
    border-top: 1px solid var(--menu-rule);
}

.custom-menu-side-item__name {
    margin: 0;
    font-family: 'Londrina Solid', sans-serif;
    font-size: 1.28rem;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.custom-menu-side-item__price {
    flex-shrink: 0;
    font-family: 'Oswald', Helvetica, Arial, sans-serif;
    font-size: 1.9rem;
    line-height: 1;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.custom-menu-content-after {
    margin-top: 30px;
    padding: 18px 20px 20px 20px;
    background: var(--menu-paper);
    border: 3px solid var(--menu-black);
    border-top: 8px solid var(--menu-red);
    box-shadow: 5px 5px 0 var(--menu-yellow);
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    color: var(--menu-black);
}

.custom-menu-content-after h2,
.custom-menu-content-after h3,
.custom-menu-content-after h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-family: 'Londrina Solid', sans-serif;
    color: var(--menu-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.15;
}

.custom-menu-content-after p,
.custom-menu-content-after li {
    font-size: 1.02rem;
    line-height: 1.55;
    letter-spacing: 0.03em;
}

.custom-menu-content-after p {
    margin-top: 0;
    margin-bottom: 12px;
}

.custom-menu-content-after ul,
.custom-menu-content-after ol {
    margin-top: 0;
    margin-bottom: 12px;
    padding-left: 22px;
}

.custom-menu-content-after a {
    color: var(--menu-red);
    font-weight: 700;
    text-decoration: underline;
}

@media (min-width: 460px) {
    .custom-menu-section__sides {
        grid-template-columns: 1fr 1fr;
        column-gap: 26px;
    }

    .custom-menu-side-item:nth-child(-n + 2) {
        border-top: 0;
    }
}

@media (max-width: 459px) {
    .custom-menu-item__name {
        font-size: 1.28rem;
    }

    .custom-menu-side-item:first-child {
        border-top: 0;
    }
}

@media (min-width: 768px) {
    .custom-menu-section__title {
        font-size: 2.35rem;
        padding: 26px 26px 14px 26px;
    }

    .custom-menu-section__intro {
        padding: 0 26px 16px 26px;
        font-size: 1.12rem;
    }

    .custom-menu-section__items {
        padding: 10px 22px 22px 22px;
    }

    .custom-menu-section__sides {
        padding: 10px 22px 24px 22px;
        column-gap: 30px;
    }

    .custom-menu-section__beverages {
        padding: 10px 26px 24px 26px;
        font-size: 1.1rem;
    }

    .custom-menu-item__description {
        font-size: 1.05rem;
    }

    .custom-menu-content-after {
        margin-top: 36px;
        padding: 22px 28px 26px 28px;
    }
}