/*
Theme Name: Heimatverein Grub 2024
Theme URI: https://achtbit.digital/
Author: Achtbit Media GmbH
Author URI: https://achtbit.digital/
Description: WordPress-Theme für den Heimatverein Grub
Version: 1.0
Text Domain: grub_2024
*/

:root {
    --grub-green: #4b5b4f;
    --grub-red: #98473A;
    --grub-brown: #8E837A;
    --grub-beige: #EBE4DD;
    --grey: #494949;

    --grub-shadow: 0px 0px 20px 10px rgba(142, 131, 122, 0.30);
    --grub-shadow-hover: 0px 0px 20px 10px rgba(142, 131, 122, 0.50);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: var(--grey);
    font-family: "Jost", sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
    margin: 20px 0;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
p:first-child,
ul:first-child {
    margin-top: 0;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child,
p:last-child,
ul:last-child {
    margin-bottom: 0;
}

h1 {
    color: var(--grub-red);
    font-family: "Ephesis", sans-serif;
    font-size: 100px;
    font-weight: normal;
    line-height: 1;
}

h2 {
    color: var(--grub-red);
    font-family: "Ephesis", sans-serif;
    font-size: 40px;
    font-weight: normal;
    line-height: 1.1;
}

h3, h4, h5, h6 {
    color: var(--grub-red);
}

h3 {
    font-size: 23px;
}

h4 {
    font-size: 20px;
}

p,
ul,
.text-size {
    font-size: 20px;
}

a {
    color: var(--grub-red);
    font-weight: 600;
}

img:not(.no-shadow) {
    box-shadow: var(--grub-shadow);
}

.static-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 5;
    padding: 0 45px;
}

.static-nav::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--grub-red);
    opacity: 0;
    transition: opacity .3s;
}

.static-nav.scrolled::after {
    opacity: 1;
}

.header {
    width: 100%;
    background-color: var(--grub-beige);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

body.home .header {
    height: 100vh;
}

.main-logo-wrapper {
    z-index: 6;
}

.main-logo {
    position: fixed;
    top: 0;
    left: 45px;
    box-shadow: var(--grub-shadow);
    height: 215px;
    text-align: center;
    transition: box-shadow .3s;
}

.main-logo-wrapper .main-logo.small {
    display: none;
}

.main-logo-wrapper.scrolled .main-logo {
    height: 80px;
    margin-top: 10px;
    box-shadow: none;
}

.main-logo-wrapper.scrolled .main-logo.big {
    display: none;
}

.main-logo-wrapper.scrolled .main-logo.small {
    display: block !important;
}

.header-wrapper {
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: stretch;
    margin: 100px auto 0;
    position: relative;
    padding: 100px 0;
}

body.home .header-wrapper {
    height: 100%;
}

.header-image-wrapper {
    width: 100%;
    max-width: 680px;
    position: relative;
    margin: 0 auto;
}

.header-image {
    width: 100%;
    padding-bottom: 66.666%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: block;
    box-shadow: var(--grub-shadow);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.wrapper {
    flex-grow: 1;
}

.nav-wrapper {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-logo {
    height: 100%;
    background-color: var(--grub-red);
    padding: 10px;
}

.static-nav ul, .static-nav li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.static-nav ul {
    display: flex;
    gap: 60px;
}

.static-nav ul a {
    text-decoration: none;
    color: var(--grey);
    text-transform: uppercase;
    font-weight: 400;
    transition: color .3s;
    font-size: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-contents,
.nav-contents ul {
    height: 100%;
}

.static-nav ul li {
    position: relative;
}

.static-nav ul li:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--grub-brown);
    transition: opacity .3s, color .3s;
    opacity: 0;
}

.static-nav ul li:hover::after {
    opacity: 1;
}

.static-nav ul li.current-menu-item a,
.static-nav ul li.current-menu-ancestor a {
    font-weight: 600;
    color: var(--grub-red);
}

.static-nav ul li.current-menu-item::after,
.static-nav ul li.current-menu-ancestor::after {
    background-color: var(--grub-red);
    opacity: 1;
}

.static-nav.scrolled ul li:after {
    background-color: white;
}

.static-nav.scrolled ul li ul li:after {
    background-color: var(--grub-red);
}

.static-nav.scrolled ul li a {
    color: white;
}

img.alignleft {
    float: left;
    display: inline-block;
    margin-right: 20px;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.alignright {
    float: right;
    display: inline-block;
    margin-left: 20px;
}

.header-left {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.header-left-inner {
    padding-left: 30px;
}

.header-right {
    display: flex;
    justify-content: center;
    width: calc(40% - 30px);
    height: 450px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.header-name {
    color: var(--grey);
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
}

.home-title-handwritten-wrapper {
    position: relative;
}

.home-title-normal-wrapper {
    position: absolute;
    top: 100%;
    left: 80%;
    font-family: "Jost", sans-serif;
    color: var(--grey);
    font-size: .6em;
}

.animate__fadeInLeftOwn {
    animation-delay: 300ms;
    animation-name: fadeInLeftOwn;
}

.animate__fadeInRightOwn {
    animation-delay: 300ms;
    animation-name: fadeInRightOwn;
}

.home-title-handwritten-wrapper {
    display: inline-block;
    margin-bottom: 87px;
    margin-right: 60px;
    line-height: 75px;
}

.header-button-container {
    display: flex;
    gap: 20px;
}

.button, .page-numbers, input[type="submit"] {
    display: inline-block;
    color: white;
    padding: 10px 25px;
    cursor: pointer;
    box-shadow: var(--grub-shadow);
    font-size: 18px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    transition: box-shadow .3s;
    border: none;
    font-family: "Jost", sans-serif;
    width: unset;
}

.button:hover, .page-numbers:hover {
    box-shadow: var(--grub-shadow-hover);
}

.button-red, .page-numbers, input[type="submit"] {
    background-color: var(--grub-red);
}

.button-green, .page-numbers.current {
    background-color: var(--grub-green);
}

input[type="submit"]:disabled {
    background-color: var(--grub-beige);
    box-shadow: none;
}

.header-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.header-background {
    background-image: url("./inc/img/hintergrund.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    position: absolute;
    bottom: -100px;
    left: 200px;
    width: calc(100% + 100px);
    height: 100%;
    max-height: 90%;
    pointer-events: none;
}

.grub-row-wrapper:nth-child(even),
.video-single .grub-row-wrapper {
    background-color: var(--grub-beige);
}

.grub-row-wrapper-inner {
    max-width: 1090px;
    padding: 60px 45px 65px;
    margin: 0 auto;
}

.footer-copyright {
    background-color: var(--grub-red);
    color: white;
}

.footer-copyright-inner {
    max-width: 1390px;
    padding: 20px 45px;
    margin: 0 auto;
}

.footer-main {
    background-color: var(--grub-brown);
    color: white;
}

.footer-main-inner {
    max-width: 1390px;
    padding: 0 45px 60px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    justify-content: stretch;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}

.footer-logo {
    width: 155px;
    flex-grow: 0;
    flex-shrink: 0;
    align-self: flex-start;
    z-index: 3;
}

.footer-signature {
    flex-grow: 0;
    flex-shrink: 0;
}

.footer-main-text {
    flex-grow: 1;
    flex-shrink: 1;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.footer-main-text > div {
    min-width: 0;
}

.footer-main-text-heading {
    text-transform: uppercase;
    font-weight: 600;
}

.footer-main-text-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-main-text-legal a {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
}

.footer-main-text-legal a:hover {
    text-decoration: underline;
}

footer p {
    font-size: 16px;
}

.footer-signature-content {
    font-size: 50px;
    font-family: "Ephesis", sans-serif;
    display: inline-block;
    position: relative;
    margin-right: 40px;
    margin-bottom: 25px;
    font-weight: normal;
}

.footer-signature-content-normal {
    position: absolute;
    top: calc(100% - 10px);
    right: -40px;
    font-family: "Jost", sans-serif;
    font-size: 0.6em;
}

.footer-background {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 80%;
    background-image: url("./inc/img/hintergrund.svg");
    background-repeat: no-repeat;
    background-position: right bottom;
    opacity: .4;
    transform: translateY(10%);
    pointer-events: none;
}

.panel-grid {
    margin-bottom: 0 !important;
}

.heading-handwritten {
    display: block;
}

.heading-normal {
    display: block;
    margin-left: 60px;
    font-family: "Jost", sans-serif;
    color: var(--grey);
    font-size: .7em;
    line-height: 1;
    opacity: 0;
}

.grub-row-wrapper-inner .grub-row-wrapper-inner {
    padding: 0;
}

.grub-image-link {
    width: 100%;
    padding-bottom: 66.666%;
    position: relative;
    display: block;
    box-shadow: var(--grub-shadow);
    transition: box-shadow .3s;
    overflow: hidden;
}

.grub-image-link:hover {
    box-shadow: var(--grub-shadow-hover);
}

.grub-image-link-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    transition: transform .3s;
}

.grub-image-link:hover .grub-image-link-image {
    transform: scale(1.05, 1.05);
}

.grub-image-link-inner {
    background-image: linear-gradient(to top, #4B5B4FFF 0%, rgba(75, 91, 79, 0) 70%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grub-image-link-text {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.grub-image-link-text::after {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url('./inc/img/arrow_white_right.svg');
    background-position: center center;
    background-size: contain;
    margin-left: 10px;
    margin-bottom: -3px;
    transition: transform .3s;
}

.grub-image-link:hover .grub-image-link-text::after {
    transform: translateX(10px);
}

.grub-text-with-image {
    display: flex;
    gap: 45px;
    align-items: center;
}

.grub-text-with-image-image-wrapper {
    width: 350px;
    flex-grow: 0;
    flex-shrink: 0;
}

.grub-text-with-image-image {
    height: auto;
    width: 100%;
    display: block;
    box-shadow: var(--grub-shadow);
}

.grub-text-with-image-position-right {
    flex-direction: row-reverse;
}

.grub-text-with-image-position-none .grub-text-with-image-image-wrapper {
    display: none;
}

.grub-text-with-image-text {
    width: 100%;
}

.news-teaser-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.news-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.news-entry {
    width: calc(33.333% - 20px);
    background-color: var(--grub-brown);
    color: white;
    box-shadow: var(--grub-shadow);
    text-decoration: none;
    transition: box-shadow .3s;
}

.news-entry:hover {
    box-shadow: var(--grub-shadow-hover);
}

.news-entry-excerpt {
    font-weight: normal;
}

.news-entry-text {
    padding: 20px;
}

.news-entry-image {
    width: 100%;
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden;
}

.news-entry-image-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform .3s;
}

.news-entry:hover .news-entry-image-inner {
    transform: scale(1.05, 1.05);
}

.news-entry-date {
    font-size: 14px;
}

.news-entry-title {
    font-weight: 600;
    margin-bottom: 20px;
}

p img {
    max-width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 45px;
}

.page-numbers.dots {
    background-color: var(--grub-brown);
    cursor: default;
}

.grub-events-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.grub-event {
    display: flex;
    gap: 30px;
    text-decoration: none;
    align-items: center;
    color: var(--grey);
    font-weight: normal;
}

.grub-event-icon {
    width: 120px;
    height: 120px;
    background-color: var(--grub-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
    box-shadow: var(--grub-shadow);
}

.grub-event-icon-weekday,
.grub-event-icon-month {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
}

.grub-event-icon-day {
    font-family: "Ephesis", sans-serif;
    font-size: 40px;
    margin-top: -5px;
    margin-bottom: -7px;
}

.grub-event-heading {
    color: var(--grub-red);
    font-weight: 600;
}

.grub-event-desc {
    margin-top: 20px;
}

.button-events,
.button-videos {
    margin-top: 30px;
}

.grub-gallery-detail-button-wrapper {
    margin-top: 30px;
}

.grub-video {
    width: 100%;
    display: block;
    margin-bottom: 30px;
    box-shadow: var(--grub-shadow);
}

.header-image-mobile {
    display: none;
}

.mobile-menu-button {
    display: none;
}

.mobile-nav {
    display: none;
}

.grub-events-months-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.grub-partner-slider .swiper-wrapper {
    transition-timing-function: linear !important;
}

.grub-partner-slider .swiper-slide {
    width: 200px;
    height: 100px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.grub-partner-slider .swiper-slide .grub-partner-slider-slide-inner-wrapper {
    display: block;
    width: 100%;
    height: 100%;
}

.grub-partner-slider-logo {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    margin-left: 20px;
    margin-top: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

label {
    font-size: 18px;
}

input, textarea {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--grub-brown);
    padding: 5px 7px;
    font-size: 18px;
    font-family: 'Jost', sans-serif;
    margin-top: 5px;
    width: 100%;
    max-width: 400px;
    outline: none;
}

input:focus, textarea:focus {
    box-shadow: 0 0 7px 1px #8e837a5c;
}

.wpcf7-not-valid {
    border: 1px solid #dc3232;
}

.wpcf7-list-item {
    margin: 0;
}

input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 0;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    margin: 0;
    border: 0;
    cursor: pointer;
    border: none !important;
    background-color: unset !important;
}

input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 2px;
    left: -30px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--grub-brown);
    z-index: 7;
}

input[type="checkbox"]:checked::before {
    content: "X";
}

.privacy-label {
    padding-left: 30px;
    display: inline-block;
    position: relative;
    line-height: 1.2;
}

.nav-contents ul li ul {
    background-color: var(--grub-beige);
    box-shadow: var(--grub-shadow);
    height: auto;
    padding: 35px;
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s, visibility .3s;
}

.nav-contents ul li:hover ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-contents ul li ul li a {
    color: var(--grey) !important;
    font-weight: normal !important;
}

.nav-contents ul li ul li.current-menu-item a {
    font-weight: 600 !important;
}

.nav-contents ul li ul li:hover::after {
    opacity: 0;
}

.nav-contents ul li ul li::after {
    top: 50%;
    transform: translateY(-50%);
    left: -35px;
    width: 20px;
    height: 20px;
}

.nav-contents ul li ul li.current-menu-item::after {
    opacity: 1;
}

.nav-contents ul li ul li:hover a {
    color: var(--grub-red) !important;
}

@keyframes fadeInLeftOwn {
    0% {
        opacity: 0;
        transform: translate3d(-150px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRightOwn {
    0% {
        opacity: 0;
        transform: translate3d(150px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 1250px) {
    h1 {
        font-size: 80px;
    }
}

@media (max-width: 1000px) {
    h1 {
        font-size: 60px;
    }

    .static-nav ul {
        gap: 30px;
    }

    .footer-main-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-signature {
        align-self: flex-end;
    }

    .footer-main-text {
        padding-top: 0;
    }

    .grub-text-with-image {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .grub-text-with-image-image-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 880px) {
    .header {
        height: auto !important;
    }

    .header-wrapper {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
        height: auto !important;
        margin-top: 200px;
        align-items: flex-start;
    }

    .header-left-inner {
        padding-left: 0;
    }

    .header-right {
        background: none;
        width: 100%;
        height: auto;
    }

    .header-image {
        position: static;
        top: unset;
        left: unset;
        transform: unset;
    }

    .header-image-wrapper {
        max-width: unset;
    }

    .header-button-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .grub-row-wrapper-inner {
        padding: 30px;
    }

    .so-widget-grub_image_link {
        width: 100%;
    }

    .news-entry {
        width: 100%;
    }

    .news-wrapper {
        flex-direction: column;
    }

    .grub-event {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .grub-event-desc {
        margin-top: 10px;
    }

    .static-nav ul {
        display: none;
    }

    .mobile-menu-button {
        display: block;
        position: fixed;
        top: 35px;
        transform: translateY(-50%);
        right: 30px;
        cursor: pointer;
        z-index: 9;
        transition: transform .3s;
    }

    body.no-menu:not(.mobile-open) .mobile-menu-button {
        transform: translateY(-70px);
    }

    .bar1, .bar2, .bar3 {
        width: 25px;
        height: 4px;
        background-color: var(--grub-red);
        margin: 5px 0;
        display: block;
        transition: .3s;
    }

    .mobile-menu-button.scrolled .bar1,
    .mobile-menu-button.scrolled .bar2,
    .mobile-menu-button.scrolled .bar3,
    .mobile-menu-button.mobile-scrolled .bar1,
    .mobile-menu-button.mobile-scrolled .bar2,
    .mobile-menu-button.mobile-scrolled .bar3,
    body.mobile-open .mobile-menu-button .bar1,
    body.mobile-open .mobile-menu-button .bar2,
    body.mobile-open .mobile-menu-button .bar3 {
        background-color: white;
    }

    .bar2 {
        width: 17px;
        margin-left: 8px;
    }

    body.mobile-open .bar1 {
        transform: rotate(-45deg) translate(-7px, 6px);
    }

    body.mobile-open .bar2 {
        opacity: 0;
    }

    body.mobile-open .bar3 {
        transform: rotate(45deg) translate(-6.5px, -6px);
    }

    .static-nav {
        height: 70px;
    }

    .main-logo {
        height: 200px;
    }

    .main-logo-wrapper.scrolled .main-logo.small {
        height: 50px;
    }

    .static-nav {
        transition: transform .3s;
    }

    .main-logo-wrapper .main-logo {
        transition: transform .3s;
    }

    body.no-menu:not(.mobile-open) .static-nav {
        transform: translateY(-100%);
    }

    body.no-menu:not(.mobile-open) .main-logo-wrapper .main-logo {
        transform: translateY(calc(-100% - 20px));
    }

    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--grub-beige);
        z-index: 7;
        padding-top: 115px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .3s, visibility .3s;
    }

    body.mobile-open .mobile-nav {
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav-background {
        background-image: url("./inc/img/hintergrund.svg");
        position: fixed;
        bottom: 0;
        right: -100px;
        left: 100px;
        width: 100%;
        height: 100%;
        z-index: -1;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: bottom right;
    }

    .mobile-nav ul {
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-nav ul li {
        padding: 0 30px 0 60px;
        margin: 0;
        list-style-type: none;
        position: relative;
        text-transform: uppercase;
    }

    .mobile-nav ul li a {
        text-decoration: none;
        color: var(--grey);
        font-size: 20px;
    }

    .mobile-nav ul li::after {
        content: "";
        position: absolute;
        top: 4px;
        left: 0;
        height: 20px;
        width: 45px;
        background-color: var(--grub-red);
        display: none;
    }

    .mobile-nav ul li.current-menu-item::after,
    .mobile-nav ul li.current-menu-parent::after {
        display: block;
    }

    .mobile-nav ul li.current-menu-item,
    .mobile-nav ul li.current-menu-parent {
        font-weight: bold;
    }

    .footer-main-inner {
        padding: 0 30px 30px;
        gap: 30px;
    }

    .main-logo {
        left: 30px;
    }

    .static-nav.mobile-scrolled::after {
        opacity: 1;
    }

    .main-logo-wrapper.mobile-scrolled .main-logo {
        height: 80px;
        margin-top: 10px;
        box-shadow: none;
    }

    .main-logo-wrapper.mobile-scrolled .main-logo.big {
        display: none;
    }

    .main-logo-wrapper.mobile-scrolled .main-logo.small {
        display: block !important;
    }

    .static-nav.mobile-scrolled ul li:after {
        background-color: white;
    }

    .static-nav.mobile-scrolled ul li a {
        color: white;
    }

    .main-logo-wrapper.mobile-scrolled .main-logo.small {
        height: 50px;
    }

    p, ul, .text-size {
        font-size: 16px;
    }

    .grub-image-link-text {
        font-size: 20px;
    }

    .grub-event-heading,
    .grub-event-meta {
        font-size: 18px;
    }

    .button {
        font-size: 16px;
    }

    .footer-copyright-inner {
        padding: 20px 30px;
    }

    .mobile-nav ul li ul li a {
        font-weight: 400;
        font-size: 18px;
    }

    .mobile-nav ul li ul li {
        padding-left: 20px;
    }

    .mobile-nav ul li ul li::after {
        display: none !important;
    }

    .mobile-nav ul li ul li.current-menu-item a {
        font-weight: 600;
    }

    .mobile-nav ul li ul {
        margin-top: 0;
        gap: 10px;
        height: 0;
        overflow: hidden;
        transition: margin-top .5s, height .5s;
    }

    .mobile-menu-header-line {
        position: absolute;
        top: 0;
        left: 0;
        height: 70px;
        width: 100%;
        background-color: var(--grub-red);
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .mobile-menu-logo {
        height: 50px;
        padding-left: 30px;
    }
}

@media (max-width: 600px) {
    .footer-signature-content {
        font-size: 40px;
    }

    h1 {
        font-size: 45px;
    }

    .home-title-handwritten-wrapper {
        margin-bottom: 40px;
        margin-right: 40px;
        line-height: 60px;
    }

    .home-title-normal-wrapper {
        margin-top: -20px;
    }

    .footer-logo {
        width: 120px;
    }
}

@media (max-width: 330px) {
    .so-widget-grub_image_link {
        width: calc(100% + 60px);
        transform: translateX(-30px);
    }

    .news-entry {
        width: calc(100% + 60px);
        transform: translateX(-30px);
    }
}