.gastro-hero {
    position: relative;
    width: 1306px;
    height: 762px;
    margin: 0 auto;
    background-color: #F5EBDF;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.gastro-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.gastro-content {
    position: relative;
    height: 100%;
    padding-top: 0px;
}

.gastro-title {
    position: relative;
    left: 30px;
    width: 1247px;
    height: 319px;
}

.gastro-text-line1,
.gastro-text-line2 {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 208.34px;
    line-height: 1em;
    letter-spacing: -6.25px;
    text-transform: uppercase;
    color: #9E0909;
    display: block;
    margin: 0;
    text-align: left;
}

.gastro-text-line1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 778px;
    height: 146px;
}

.gastro-text-line2 {
    position: absolute;
    top: 173px;
    left: 399px;
    width: 848px;
    height: 146px;
}

.gastro-image {
    position: absolute;
    top: 0px;
    left: 0;
    width: 1307px;
    height: 770px;
    background: url('/wp-content/themes/ranna/assets/img/gastro-photo.png') no-repeat center;
    background-size: cover;
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.gastro-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -150px;
    background: linear-gradient(180deg, rgba(60, 145, 108, 0) 0%, rgb(255 255 255 / 0%) 42.09%, rgb(60 145 108 / 0%) 78.37%, rgba(60, 145, 108, 1) 100%);
    border-radius: 20px 20px 0 0;
}

.gastro-description {
    position: absolute;
    top: 387px;
    left: 853px;
    width: 405px;
    height: 60px;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 1.2em;
    letter-spacing: -2%;
    color: #000000;
    z-index: 2;
}

/* Адаптивність */
@media (max-width: 1320px) {
    .gastro-hero {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
    
    .gastro-title {
        width: calc(100% - 60px);
    }
    
    .gastro-image {
        width: calc(100% + 1px);
    }
}

@media (max-width: 1024px) {
    .gastro-text-line1,
    .gastro-text-line2 {
        font-size: 120px;
    }
    
    .gastro-text-line2 {
        left: 250px;
        top: 120px;
    }
    
    .gastro-text-line1 {
        width: 600px;
    }
    
    .gastro-text-line2 {
        width: 650px;
    }
    
    .gastro-description {
        width: 300px;
        font-size: 20px;
        top: 320px;
        left: 650px;
    }
}

@media (max-width: 768px) {
    .gastro-hero {
        height: 552px;
        width: calc(100% - 40px);
        margin: 0 10px;
    }
    
    .gastro-text-line1,
    .gastro-text-line2 {
        font-size: 80px;
    }
    
    .gastro-text-line1 {
        width: 400px;
        top: 10px;
    }
    
    .gastro-text-line2 {
        left: 150px;
        top: 80px;
        width: 450px;
    }
    
    .gastro-title {
        left: 20px;
        height: 200px;
    }
    
    .gastro-image {
        top: 150px;
        height: 350px;
    }
    
    .gastro-description {
        width: calc(100% - 60px);
        font-size: 18px;
        top: 280px;
        left: 30px;
    }
}

@media (max-width: 480px) {
    .gastro-hero {
        margin: -10px auto;
        border-radius: 20px 20px 0 0;
    }
    
    .gastro-text-line1,
    .gastro-text-line2 {
        font-size: 67px;
        font-weight: 500;
        line-height: 1em;
        letter-spacing: -3%;
        text-transform: uppercase;
    }
    
    .gastro-text-line1 {
        width: 250px;
        height: 47px;
        left: 0;
        top: 0;
    }
    
    .gastro-text-line2 {
        width: 273px;
        height: 47px;
        left: 0;
        top: 62px;
    }
    
    .gastro-title {
        left: 16px;
        top: 20px;
        width: 273px;
        height: 109px;
    }
    
    .gastro-image {
        top: 120px;
        left: 0;
        width: 100%;
        height: 448px;
        background: linear-gradient(180deg, rgba(60, 145, 108, 0) 0%, rgb(60 145 108 / 0%) 42.09%, rgb(60 145 108 / 68%) 92.37%, rgb(60 145 108) 100%), url(/wp-content/themes/ranna/assets/img/b-1-m.png) no-repeat center;
        background-size: cover;
        border-radius: 20px;
    }
    
    .gastro-description {
        font-size: 16px;
        line-height: 1.2em;
        letter-spacing: -2%;
        top: 154px;
        left: 16px;
        width: 167px;
        height: 57px;
    }
}

/* Друга секція - Про проєкт */
.gastro-about {
    width: 1306px;
    height: 521px;
    margin: 0 auto;
    background-color: #3C916C;
    border-radius: 0 0 20px 20px;
    position: relative;
    margin-top: -1px;
}

.gastro-about-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.gastro-about-text {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 663px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gastro-about-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1em;
    letter-spacing: -0.8px;
    color: #FFFFFF;
    margin: 0;
}

.gastro-about-descriptions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gastro-about-description {
    font-family: 'Rubik', sans-serif;
    line-height: 1.2em;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    margin: 0;
    width: 643px;
}

.gastro-about-description.bold {
    font-weight: 700;
    font-size: 24px;
}

.gastro-about-description.regular {
    font-weight: 400;
    font-size: 25px;
}

.gastro-about-photo {
    position: absolute;
    top: -15px;
    right: 60.31px;
    width: 530.31px;
    height: 556.42px;
    transform: rotate(4.012deg);
    z-index: 1;
}

.gastro-photo-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    box-shadow: -8.29px 4.74px 12.91px 0px rgba(0, 0, 0, 0.2);
    padding: 17.8px 17.8px 28.73px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 19.15px;
    box-sizing: border-box;
}

.gastro-eugene-photo {
    width: 491.4px;
    height: 507.47px;
    background: url('/wp-content/themes/ranna/assets/img/eugene-photo.jpg') no-repeat center;
    background-size: cover;
}

.gastro-quote {
    position: absolute;
    bottom: 28.73px;
    left: 90.42px;
    width: 386.81px;
    height: 140.07px;
}

.gastro-quote-bubble {
    position: absolute;
    top: -105px;
    left: -20px;
    background-color: #FFFFFF;
    border: 4px solid #FFFFFF;
    border-radius: 30.84px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15.42px;
    height: 84px;
    width: auto;
    box-sizing: border-box;
}

.gastro-quote-text {
    font-family: 'Shantell Sans', cursive;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.1em;
    text-align: center;
    color: #000000;
    margin: 0;
    z-index: 2;
}

.gastro-quote-arrow {
    position: absolute;
    top: -115px;
    left: 151.44px;
    width: 38.65px;
    height: 38.65px;
    background-color: #FFFFFF;
    transform: rotate(45deg);
}

/* Адаптивність для другої секції */
@media (max-width: 1320px) {
    .gastro-about {
        width: calc(100% - 40px);
        margin: -1px 20px 0;
    }
    
    .gastro-about-text {
        width: 50%;
    }
    
    .gastro-about-description {
        width: 100%;
    }
    
    .gastro-about-photo {
        right: 30px;
        width: 40%;
        height: auto;
    }
}

@media (max-width: 1024px) {
    .gastro-about-title {
        font-size: 60px;
    }
    
    .gastro-about-description.bold {
        font-size: 20px;
    }
    
    .gastro-about-description.regular {
        font-size: 18px;
    }
    
    .gastro-photo-container {
        padding: 15px;
    }
    
    .gastro-eugene-photo {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .gastro-about {
        height: auto;
        padding: 30px 0;
        width: calc(100% - 40px);
        margin: auto;
    }
    
    .gastro-about-text {
        position: relative;
        top: auto;
        left: auto;
        width: calc(100% - 40px);
        margin: 0 20px 30px;
    }
    
    .gastro-about-title {
        font-size: 50px;
    }
    
    .gastro-about-photo {
        position: relative;
        top: auto;
        right: auto;
        width: calc(100% - 40px);
        height: auto;
        margin: 0 20px;
        transform: rotate(-1.012deg);
    }
    
    .gastro-photo-container {
        height: auto;
        padding: 15px;
    }
    
    .gastro-eugene-photo {
        height: 250px;
    }
    
    .gastro-quote {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        height: auto;
    }
    
    .gastro-quote-bubble {
        top: -130px;
        padding: 10px;
        left: 10px;
        border-radius: 15px;
        height: auto;
    }
    
    .gastro-quote-arrow {
        display: flex;
        top: -142px;
        left: 120px;
    }
    .gastro-quote-text {
        font-size: 14px;
    }
}

/* Третя секція - Відроджені рецепти */
.gastro-recipes {
    width: 1306px;
    height: 919px;
    margin: 0 auto;
    background-color: #F5EBDF;
    border-radius: 20px;
    position: relative;
    margin-top: 50px;
}

.gastro-recipes-container {
    padding: 50px;
    height: 819px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.gastro-recipes-header {
    display: flex;
    justify-content: space-between;
    gap: 85px;
    width: 1206px;
    height: auto;
}

.gastro-recipes-title-block {
    flex-shrink: 0;
}

.gastro-recipes-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1em;
    letter-spacing: -0.8px;
    color: #000000;
    margin: 0;
}

.gastro-recipes-description-block {
    width: 609px;
}

.gastro-recipes-descriptions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gastro-recipes-description {
    font-family: 'Rubik', sans-serif;
    line-height: 1.2em;
    letter-spacing: -0.5px;
    color: #000000;
    margin: 0;
}

.gastro-recipes-description.bold {
    font-weight: 700;
    font-size: 24px;
    width: 100%;
}

.gastro-recipes-description.regular {
    font-weight: 400;
    font-size: 25px;
    width: 544px;
}

.gastro-recipes-cards {
    display: flex;
    gap: 20px;
    width: 100%;
    height: 530px;
}

.gastro-card-large {
    position: relative;
    width: 485px;
    height: 530px;
    border-radius: 20px;
}

.gastro-card-image.large {
    width: 485px;
    height: 530px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%), url('/wp-content/themes/ranna/assets/img/recipe-1.png') no-repeat center;
    background-size: cover;
    border-radius: 20px;
}

.gastro-card-body {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 21px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.gastro-card-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2em;
    letter-spacing: -0.5px;
    color: #000000;
    margin: 0;
}

.gastro-card-arrow {
    width: 57px;
    height: 57px;
    background-color: #3C916C;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.gastro-card-arrow::after {
    content: '';
    width: 24px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' viewBox='0 0 24 20' fill='none'%3E%3Cpath d='M2 10H22M22 10L14 2M22 10L14 18' stroke='%23FFFFFF' stroke-width='2.44' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.gastro-card-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.gastro-tag {
    background-color: rgba(60, 145, 108, 1);
    backdrop-filter: blur(13.9px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 100px;
    padding: 15px;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2em;
    color: #FFFFFF;
}

.gastro-cards-small-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    height: 530px;
    width: 751px; /* Ширина для відображення 2 карток + 27px від 3-ї картки */
    flex-shrink: 0;
}

.gastro-slider-container {
    position: relative;
    height: 437px;
    width: 100%;
    overflow: hidden; /* Важливо: ховаємо все що виходить за межі */
}

.gastro-cards-slider {
    width: 100%;
    height: 437px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    cursor: grab;
}

.gastro-cards-slider:active {
    cursor: grabbing;
}

.gastro-cards-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.gastro-cards-track {
    display: flex;
    gap: 20px;
    height: 437px;
    width: calc(6 * 342px + 5 * 20px + 40px); /* 6 карток + 5 відступів + padding */
    min-width: max-content;
}

.gastro-card-small {
    position: relative;
    width: 342px;
    height: 437px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.gastro-card-image.small {
    width: 342px;
    height: 437px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

.gastro-card-small .gastro-card-body {
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: 302px;
}

.gastro-slider-progress {
    position: relative;
    width: 100%;
    height: 15px;
    margin-top: 20px;
}

.gastro-slider-track {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #FFFDFB;
    border-radius: 100px;
    border: 1px solid #E8E8E8;
}

.gastro-slider-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 15px;
    background-color: #9E0909;
    border-radius: 1000px;
    transition: left 0.3s ease;
    box-shadow: 0 2px 4px rgba(158, 9, 9, 0.3);
    cursor: pointer;
    z-index: 10;
    touch-action: none; /* Забороняємо браузеру обробляти тач-події */
}

.gastro-slider-thumb:hover {
    background-color: #3C916C;
    box-shadow: 0 3px 6px #3C916C;
    transform: scale(1.05);
}

.gastro-slider-thumb:active {
    background-color: #3C916C;
    cursor: grabbing;
    transform: scale(1.1);
}

.gastro-button {
    position: absolute;
    bottom: 50px;
    left: 50px;
    background-color: #9E0909;
    border: none;
    border-radius: 143px;
    padding: 20px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1em;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.gastro-button:hover {
    background-color: #E53312;
    color: #FFFFFF;
    text-decoration: none;
}

/* Адаптивність для третьої секції */
@media (max-width: 1320px) {
    .gastro-recipes {
        width: calc(100% - 40px);
        margin: 50px 20px 0;
        height: auto;
        padding: 20px 0;
    }
    
    .gastro-recipes-container {
        padding: 0px 16px;
        height: auto;
    }
    
    .gastro-recipes-header {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }
    
    .gastro-recipes-description-block {
        width: 100%;
    }
    
    .gastro-recipes-description.regular {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .gastro-recipes-title {
        font-size: 60px;
    }
    
    .gastro-recipes-description.bold {
        font-size: 20px;
    }
    
    .gastro-recipes-description.regular {
        font-size: 18px;
    }
    
    .gastro-recipes-cards {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }
    
    .gastro-card-large {
        width: 100%;
        height: 400px;
    }
    
    .gastro-card-image.large {
        width: 100%;
        height: 400px;
    }
    
    .gastro-slider-container {
        height: 300px;
    }
    
    .gastro-cards-slider {
        height: 300px;
    }
    
    .gastro-cards-track {
        height: 300px;
    }
    
    .gastro-card-small {
        width: 100%;
        height: 300px;
    }
    
    .gastro-card-image.small {
        width: 100%;
        height: 300px;
    }
    
    .gastro-card-small .gastro-card-body {
        width: calc(100% - 60px);
    }
}

@media (max-width: 768px) {
    .gastro-recipes-title {
        font-size: 30px;
    }
    
    .gastro-recipes-description.bold {
        font-size: 16px;
    }
    
    .gastro-recipes-description.regular {
        font-size: 16px;
    }
    
    /* Ховаємо велику картку на мобільних */
    .gastro-card-large {
        display: none;
    }
    
    /* Змінюємо структуру каруселі для мобільних */
    .gastro-cards-small-container {
        width: 100%;
        height: auto;
    }
    
    .gastro-slider-container {
        height: 326px;
    }
    
    .gastro-cards-slider {
        height: 326px;
    }
    
    .gastro-cards-track {
        height: 326px;
        width: auto; /* Дозволяємо автоматичну ширину */
    }
    
    .gastro-card-small {
        width: 269px; /* Збільшений розмір для мобільних */
        height: 326px;
        flex-shrink: 0;
    }
    
    .gastro-card-image.small {
        width: 269px;
        height: 326px;
    }
    
    .gastro-card-small .gastro-card-body {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 15px;
    }
    
    .gastro-card-title {
        font-size: 18px;
    }
    
    .gastro-card-arrow {
        width: 45px;
        height: 45px;
    }
    
    .gastro-tag {
        padding: 10px;
        font-size: 12px;
    }
    
    .gastro-button {
        position: relative;
        width: 100%;
        text-align: center;
        left: auto;
        bottom: auto;
        font-size: 14px;
    }
}

/* Додаткові стилі для дуже малих екранів */
@media (max-width: 480px) {
    .gastro-card-title {
        font-size: 16px;
    }
    
    .gastro-card-arrow {
        width: 40px;
        height: 40px;
    }
    
    .gastro-tag {
        padding: 8px;
        font-size: 11px;
    }
}

/* Четверта секція - Експедиції Україною */
.gastro-expeditions {
    width: 1306px;
    max-width: calc(100vw - 40px);
    margin: 50px auto 0;
    background-color: #F5EBDF;
    border-radius: 20px;
    position: relative;
    box-sizing: border-box;
}

.gastro-expeditions-container {
    padding: 50px 51px;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
}

/* Забезпечуємо відступи між блоками */
.gastro-expeditions + .gastro-expeditions {
    margin-top: 60px;
}

.gastro-expeditions-content {
    display: flex;
    gap: 48.85px;
    width: 100%;
    height: 100%;
}

.gastro-expeditions-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex-shrink: 0;
}

.gastro-expeditions-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1em;
    letter-spacing: -0.8px;
    color: #000000;
    margin: 0;
    max-width: 460px;
}

.gastro-expeditions-description-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gastro-expeditions-description {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 1.2em;
    letter-spacing: -0.5px;
    color: #000000;
    margin: 0;
    width: 471px;
}

.gastro-expeditions-button {
    background-color: #9E0909;
    border: none;
    border-radius: 143px;
    padding: 20px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1em;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content;
    text-decoration: none;
    display: inline-block;
}

.gastro-expeditions-button:hover {
    background-color: #E53312;
}

.gastro-expeditions-covers {
    display: flex;
    flex-direction: column; /* Велике відео зверху, маленькі знизу */
    gap: 15px;
    height: auto;
}

.gastro-cover-large {
    width: 698.15px;
    height: 376.39px;
    border-radius: 18.79px;
    overflow: hidden;
    position: relative;
}

.gastro-cover-large iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 18.79px;
    transition: opacity 0.3s ease;
}

.gastro-covers-small {
    display: flex;
    gap: 15px;
    height: auto;
    flex-wrap: nowrap; /* Запобігаємо переносу */
}

.gastro-cover-small {
    flex: 1; /* Кожне відео займає рівну частину (~33%) */
    height: 120px; /* Збільшуємо висоту для кращого вигляду */
    min-width: 0; /* Дозволяємо зменшуватися для кращої адаптивності */
    border-radius: 18.79px;
    flex-shrink: 1; /* Дозволяємо зменшуватися */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gastro-cover-small:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gastro-cover-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.gastro-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.gastro a {
    color: #FFFFFF !important;
}
.gastro-card-arrow:hover {
    background-color: #9E0909;
}
.gastro-play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid #9E0909;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 3px;
}

.gastro-cover-small:hover .gastro-play-button {
    background-color: #9E0909;
    transform: translate(-50%, -50%) scale(1.1);
}

.gastro-cover-small:hover .gastro-play-button::after {
    border-left-color: #FFFFFF;
}

.gastro-cover-small.active {
    border: 3px solid #9E0909;
    box-shadow: 0 4px 12px rgba(158, 9, 9, 0.3);
}

.gastro-cover-small.active .gastro-play-button {
    background-color: #9E0909;
}

.gastro-cover-small.active .gastro-play-button::after {
    border-left-color: #FFFFFF;
}

/* Адаптивність для четвертої секції */
@media (max-width: 1320px) {
    .gastro-expeditions {
        max-width: calc(100vw - 40px);
        margin: 50px 20px 0;
        height: auto;
        padding: 20px 0;
    }
    
    /* Оновлений відступ для додаткових блоків на малих екранах */
    .gastro-expeditions + .gastro-expeditions {
        margin-top: 60px;
    }
    
    .gastro-expeditions-container {
        padding: 30px 20px;
        height: auto;
        box-sizing: border-box;
    }
    
    .gastro-expeditions-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .gastro-expeditions-covers {
        width: 100%;
        max-width: 698.15px;
        height: auto;
    }
    
    .gastro-cover-large {
        width: 100%;
        height: 350px;
    }
    
    .gastro-cover-large iframe {
        width: 100%;
        height: 100%;
    }
    
    .gastro-covers-small {
        flex-direction: row;
        gap: 10px;
        height: auto;
        flex-wrap: nowrap;
    }
    
    .gastro-cover-small {
        flex: 1;
        height: 100px;
        min-width: 0;
    }
}

@media (max-width: 1024px) {
    .gastro-expeditions + .gastro-expeditions {
        margin-top: 40px;
    }
    
    .gastro-expeditions-title {
        font-size: 60px;
    }
    
    .gastro-expeditions-description {
        font-size: 20px;
        width: 100%;
        max-width: 400px;
    }
    
    .gastro-cover-large {
        height: 200px;
    }
    
    .gastro-cover-large iframe {
        height: 100%;
    }
    
    .gastro-cover-small {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .gastro-expeditions {
        margin: 30px 20px 0;
        border-radius: 15px;
    }
    .gastro-expeditions-button {
        text-align: center;
    }
    .gastro-expeditions + .gastro-expeditions {
        margin-top: 30px;
    }
    
    .gastro-expeditions-container {
        padding: 20px 15px;
    }
    
    .gastro-expeditions-title {
        font-size: 40px;
    }
    
    .gastro-expeditions-description {
        font-size: 18px;
        width: 100%;
    }
    
    .gastro-expeditions-button {
        font-size: 14px;
        padding: 15px 20px;
    }
    
    .gastro-covers-small {
        flex-direction: row;
        gap: 10px;
        height: auto;
        flex-wrap: nowrap;
    }
    
    .gastro-cover-small {
        width: 32.5%;
        height: 150px;
        flex: none;
    }
}

/* Додаткові стилі для дуже малих екранів */
@media (max-width: 480px) {
    .gastro-covers-small {
        gap: 5px; /* Зменшуємо відступ для дуже малих екранів */
    }
    
    .gastro-cover-small {
        height: 58px; /* Трохи зменшуємо висоту для малих екранів */
    }
}

/* П'ята секція - Традиції починаються з тебе */
.gastro-traditions {
    width: 1306px;
    height: 741px;
    margin: 50px auto 0;
    background-color: #9E0909;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.gastro-traditions-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.gastro-traditions-photo {
    position: absolute;
    top: 0;
    left: -1px;
    width: 1306px;
    height: 301px;
    background: url('/wp-content/themes/ranna/assets/img/traditions-hero.jpg') no-repeat center;
    background-size: cover;
    border-radius: 20px 20px 0 0;
}

.gastro-traditions-content {
    position: absolute;
    top: 351px;
    left: 50px;
    width: 1194px;
    height: 340px;
    display: flex;
    gap: 60px;
}

.gastro-traditions-header {
    display: flex;
    flex-direction: column;
    gap: 34px;
    flex-shrink: 0;
}

.gastro-traditions-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1em;
    letter-spacing: -0.8px;
    color: #FFFFFF;
    margin: 0;
    width: auto;
}

.gastro-traditions-description {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 1.2em;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    margin: 0;
    width: 505px;
}

.gastro-traditions-text {
    width: 608px;
    height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 41px;
}

.gastro-traditions-quote {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 1.2em;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    margin: 0;
    flex: 1;
}

.gastro-traditions-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gastro-traditions-button {
    background-color: #F5EBDF;
    border: none;
    border-radius: 143px;
    padding: 20px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1em;
    text-transform: uppercase;
    color: #9E0909;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    width: fit-content;
}

.gastro-traditions-button:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.gastro-traditions-button.secondary {
    background-color: transparent;
    border: 1px solid #F5EBDF;
    color: #F5EBDF;
}

.gastro-traditions-button.secondary:hover {
    color: #E53312 !important;
    border: 1px solid #E53312;
}

/* Адаптивність для п'ятої секції */
@media (max-width: 1320px) {
    .gastro-traditions {
        width: calc(100% - 40px);
        margin: 50px 20px 0;
        height: 793px;
        padding-bottom: 50px;
    }
    
    .gastro-traditions-photo {
        width: calc(100% + 1px);
    }
    
    .gastro-traditions-content {
        width: calc(100% - 100px);
        position: relative;
        top: 320px;
        left: 50px;
        height: auto;
    }
}

@media (max-width: 1024px) {
    .gastro-traditions-title {
        font-size: 60px;
    }
    
    .gastro-traditions-description {
        font-size: 22px;
        width: 100%;
    }
    
    .gastro-traditions-quote {
        font-size: 20px;
    }
    
    .gastro-traditions-content {
        flex-direction: column;
        gap: 10px;
        top: 280px;
    }
    
    .gastro-traditions-text {
        width: 100%;
        height: auto;
        gap: 30px;
    }
}
.gastro-traditions-buttons .primary {
    color: #9E0909 !important;
}
.gastro-traditions-buttons .primary:hover {
    color: #E53312 !important;
}
@media (max-width: 768px) {
    .gastro-traditions-header {
        gap: 10px;
    }
    .gastro-traditions {
        width: calc(100% - 40px);
        margin: 30px 20px 0;
        padding-bottom: 30px;
    }
    
    .gastro-traditions-photo {
        height: 240px;
    }
    
    .gastro-traditions-content {
        top: 260px;
        left: 20px;
        width: calc(100% - 40px);
    }
    
    .gastro-traditions-title {
        font-size: 30px;
    }
    
    .gastro-traditions-description {
        font-size: 16px;
    }
    
    .gastro-traditions-quote {
        font-size: 16px;
    }
    
    .gastro-traditions-buttons {
        gap: 15px;
    }
    
    .gastro-traditions-button {
        width: 100%;
    }
}

/* Шоста секція - Співпраця */
.gastro-collaboration {
    width: 1306px;
    height: 1195px;
    margin: 50px auto 0;
    background-color: #3C916C;
    border-radius: 20px;
    position: relative;
}

.gastro-collaboration-container {
    padding: 50px 51px;
    display: flex;
    align-items: flex-start;
}

.gastro-collaboration-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.gastro-collaboration-header {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: 1204px;
    height: auto;
    margin-bottom: 40px;
}

.gastro-collaboration-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1em;
    letter-spacing: -0.8px;
    color: #FFFFFF;
    margin: 0;
    flex-shrink: 0;
}

.gastro-collaboration-text {
    width: 609px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gastro-collaboration-descriptions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gastro-collaboration-description {
    font-family: 'Rubik', sans-serif;
    line-height: 1.2em;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    margin: 0;
}

.gastro-collaboration-description.bold {
    font-weight: 700;
    font-size: 24px;
    width: 100%;
}

.gastro-collaboration-description.regular {
    font-weight: 400;
    font-size: 25px;
    width: 544px;
}

.gastro-collaboration-button {
    background-color: #9E0909;
    border: none;
    border-radius: 143px;
    padding: 20px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1em;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content;
}

.gastro-collaboration-button:hover {
    background-color: #E53312;
}

.gastro-collaboration-card {
    position: relative;
    width: 1209px;
    height: 626px;
}

.gastro-collaboration-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gastro-card-layer-3 {
    position: absolute;
    top: 0;
    left: 111.81px;
    width: 1097.18px;
    height: 626px;
    background-color: rgba(255, 246, 236, 0.4);
    backdrop-filter: blur(4.7px);
    border-radius: 18.46px;
}

.gastro-card-layer-2 {
    position: absolute;
    top: 0;
    left: 45.92px;
    width: 1117.15px;
    height: 626px;
    background-color: rgba(255, 246, 236, 0.7);
    border-radius: 18.46px;
}

.gastro-card-layer-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 1113.16px;
    height: 626px;
    background-color: #F5EBDF;
    border-radius: 18.46px;
}

.gastro-collaboration-card-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    padding: 50px;
    box-sizing: border-box;
    gap: 24px;
}

.gastro-collaboration-photo {
    width: 532px;
    height: 526px;
    background: url('/wp-content/themes/ranna/assets/img/collaboration-photo.jpg') no-repeat center;
    background-size: cover;
    border-radius: 20px;
    flex-shrink: 0;
}

.gastro-collaboration-info {
    width: 481px;
    height: 517px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.gastro-collaboration-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gastro-collaboration-brand {
    display: flex;
    gap: 30px;
    align-items: center;
}

.gastro-collaboration-logo {
    width: 110px;
    height: 64px;
    background: url('/wp-content/themes/ranna/assets/img/lviv-logo.png') no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}

.gastro-collaboration-brand-name {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 55px;
    line-height: 1em;
    letter-spacing: -0.55px;
    color: #000000;
    margin: 0;
}

.gastro-collaboration-description-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gastro-collaboration-story {
    font-family: 'Rubik', sans-serif;
    line-height: 1.2em;
    letter-spacing: -0.5px;
    color: #000000;
    margin: 0;
    width: 481px;
}

.gastro-collaboration-story.bold {
    font-weight: 700;
    font-size: 24px;
}

.gastro-collaboration-story.regular {
    font-weight: 400;
    font-size: 25px;
}

.gastro-collaboration-arrows {
    display: flex;
    align-items: center;
    gap: 21px;
}

.gastro-arrow-button {
    width: 57px;
    height: 57px;
    border-radius: 50%;
    border: 2.85px solid #9E0909;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.gastro-arrow-button::after {
    content: '';
    width: 24px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' viewBox='0 0 24 20' fill='none'%3E%3Cpath d='M2 10H22M22 10L14 2M22 10L14 18' stroke='%239E0909' stroke-width='2.44' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.gastro-arrow-button.prev::after {
    transform: rotate(180deg);
}

.gastro-arrow-button.active {
    background-color: #9E0909;
    border-color: #9E0909;
}

.gastro-arrow-button.active::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' viewBox='0 0 24 20' fill='none'%3E%3Cpath d='M2 10H22M22 10L14 2M22 10L14 18' stroke='%23FFFFFF' stroke-width='2.44' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.gastro-arrow-button:hover {
    background-color: #9E0909;
    border-color: #9E0909;
}

.gastro-arrow-button:hover::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' viewBox='0 0 24 20' fill='none'%3E%3Cpath d='M2 10H22M22 10L14 2M22 10L14 18' stroke='%23FFFFFF' stroke-width='2.44' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

/* Адаптивність для шостої секції */
@media (max-width: 1320px) {
    .gastro-collaboration {
        width: calc(100% - 40px);
        margin: 50px 20px 0;
        height: auto;
        padding-bottom: 30px;
    }
    
    .gastro-collaboration-container {
        padding: 30px 20px;
        height: auto;
    }
    
    .gastro-collaboration-header {
        width: 100%;
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .gastro-collaboration-text {
        width: 100%;
    }
    
    .gastro-collaboration-description.regular {
        width: 100%;
    }
    
    .gastro-collaboration-card {
        width: 100%;
        height: auto;
    }
    
    .gastro-card-layer-1,
    .gastro-card-layer-2,
    .gastro-card-layer-3 {
        position: relative;
        width: 100%;
        left: 0;
        margin-bottom: -590px;
    }
    
    .gastro-card-layer-2 {
        margin-left: 20px;
        margin-bottom: -595px;
    }
    
    .gastro-card-layer-3 {
        margin-left: 40px;
        margin-bottom: 0;
    }
}

@media (max-width: 1024px) {
    .gastro-collaboration-title {
        font-size: 60px;
    }
    .gastro-collaboration-card-bg {
        position: relative;
    }
    .gastro-collaboration-description.bold {
        font-size: 20px;
    }
    
    .gastro-collaboration-description.regular {
        font-size: 18px;
    }
    
    .gastro-collaboration-card-content {
        flex-direction: column;
        height: auto;
        gap: 30px;
        padding: 0;
    }
    
    .gastro-collaboration-photo {
        width: 100%;
        height: 370px;
    }
    
    .gastro-collaboration-info {
        width: 100%;
        height: auto;
        background: #F5EBDF;
        padding: 10px;
        border-radius: 18px;
    }
    
    .gastro-collaboration-brand-name {
        font-size: 40px;
    }
    
    .gastro-collaboration-story {
        width: 100%;
    }
    
    .gastro-collaboration-story.bold {
        font-size: 20px;
    }
    
    .gastro-collaboration-story.regular {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .gastro-collaboration {
        width: calc(100% - 40px);
        margin: 30px 20px 0;
        padding-bottom: 30px;
    }
    
    .gastro-collaboration-title {
        font-size: 50px;
    }
    
    .gastro-collaboration-description.bold {
        font-size: 18px;
    }
    
    .gastro-collaboration-description.regular {
        font-size: 16px;
    }
    
    .gastro-collaboration-button {
        width: 100%;
        text-align: center;
    }
    
    .gastro-collaboration-brand {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .gastro-collaboration-logo {
        align-self: center;
    }
    
    .gastro-collaboration-brand-name {
        font-size: 35px;
    }
    
    .gastro-card-layer-1,
    .gastro-card-layer-2,
    .gastro-card-layer-3 {
        margin-left: 0;
        margin-bottom: -60px;
        height: 60px;
    }
    
    .gastro-card-layer-2 {
        margin-left: 10px;
        margin-bottom: -30px;
        height: 60px;
    }
    
    .gastro-card-layer-3 {
        margin-left: 20px;
        margin-bottom: -30px;
        height: 60px;
    }
}

/* Сьома секція - Новини */
.gastro-news {
    width: 1306px;
    height: 653px;
    margin: 50px auto 0;
    background-color: #F5EBDF;
    border-radius: 20px;
    position: relative;
}

.gastro-news-container {
    padding: 50px;
    height: 553px;
    display: flex;
    flex-direction: column;
    gap: 37px;
}

.gastro-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 1204px;
    height: auto;
}

.gastro-news-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1em;
    letter-spacing: -0.8px;
    color: #000000;
    margin: 0;
}

.gastro-news-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gastro-news-arrow {
    width: 57px;
    height: 57px;
    border-radius: 50%;
    border: 2.85px solid #9E0909;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.gastro-news-arrow::after {
    content: '';
    width: 24px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' viewBox='0 0 24 20' fill='none'%3E%3Cpath d='M2 10H22M22 10L14 2M22 10L14 18' stroke='%239E0909' stroke-width='2.44' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.gastro-news-arrow.prev::after {
    transform: rotate(180deg);
}

.gastro-news-arrow.active {
    background-color: #9E0909;
    border-color: #9E0909;
}

.gastro-news-arrow.active::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' viewBox='0 0 24 20' fill='none'%3E%3Cpath d='M2 10H22M22 10L14 2M22 10L14 18' stroke='%23FFFFFF' stroke-width='2.44' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.gastro-news-arrow:hover {
    background-color: #9E0909;
    border-color: #9E0909;
}

.gastro-news-arrow:hover::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' viewBox='0 0 24 20' fill='none'%3E%3Cpath d='M2 10H22M22 10L14 2M22 10L14 18' stroke='%23FFFFFF' stroke-width='2.44' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.gastro-news-slider-container {
    position: relative;
    width: 100%;
    height: 437px;
}

.gastro-news-slider {
    width: 100%;
    height: 437px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.gastro-news-slider:active {
    cursor: grabbing;
}

.gastro-news-slider::-webkit-scrollbar {
    display: none;
}

.gastro-news-track {
    display: flex;
    gap: 20px;
    height: 437px;
    width: max-content;
    align-items: center;
}

.gastro-news-card {
    position: relative;
    width: 342px;
    height: 437px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #FFFFFF;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gastro-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gastro-news-card-image {
    width: 342px;
    height: 437px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
}

.gastro-news-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    border-radius: 0 0 20px 20px;
}

.gastro-news-card-body {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 21px;
    margin: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 0;
}

.gastro-news-card-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2em;
    letter-spacing: -0.5px;
    color: #000000;
    margin: 0;
    flex: 1;
}

.gastro-news-card-arrow {
    width: 57px;
    height: 57px;
    background-color: #3C916C;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.gastro-news-card-arrow::after {
    content: '';
    width: 24px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' viewBox='0 0 24 20' fill='none'%3E%3Cpath d='M2 10H22M22 10L14 2M22 10L14 18' stroke='%23FFFFFF' stroke-width='2.44' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.gastro-news-card-arrow:hover {
    background-color: #9E0909;
}

.gastro-news-card-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 5px;
    z-index: 4;
}

.gastro-news-tag {
    background-color: rgba(60, 145, 108, 1);
    backdrop-filter: blur(13.9px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 100px;
    padding: 15px;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2em;
    color: #FFFFFF;
}
.gastro-collaboration-arrows {
    display: none;
}
/* Адаптивність для сьомої секції */
@media (max-width: 1320px) {
    .gastro-text-line1, .gastro-text-line2 {
        font-size: 170px;
    }
    .gastro-news {
        width: calc(100% - 40px);
        margin: 30px 20px 0;
        height: auto;
        padding-bottom: 20px;
    }
    
    .gastro-news-container {
        padding: 10px 20px 0;
        height: auto;
    }
    
    .gastro-news-header {
        width: 100%;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .gastro-news-navigation {
        order: -1;
    }
}

@media (max-width: 1024px) {
    .gastro-news-title {
        font-size: 60px;
    }
    
    .gastro-news-slider-container {
        height: 350px;
    }
    
    .gastro-news-slider {
        height: 350px;
    }
    
    .gastro-news-track {
        height: 350px;
    }
    
    .gastro-news-card {
        width: 280px;
        height: 350px;
    }
    
    .gastro-news-card-image {
        width: 280px;
        height: 350px;
    }
    
    .gastro-news-card-image::after {
        height: 150px;
    }
    
    .gastro-news-card-title {
        font-size: 20px;
    }
    
    .gastro-news-card-arrow {
        width: 50px;
        height: 50px;
    }
    
    .gastro-news-tag {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .gastro-news-title {
        font-size: 30px;
    }
    .gastro-page::after {
        background-size: auto !important;
    }
    .gastro-news-header {
        flex-direction: row;
        justify-content: space-between;
    }
    .gastro-news-arrow::after {
        content: '';
        width: 24px;
        height: 14px;
    }
    .gastro-news-arrow {
        width: 48px;
        height: 48px;
        padding: 2px;
    }

    .gastro-news-navigation {
        order: 0;
    }
    
    .gastro-news-slider-container {
        height: 300px;
    }
    
    .gastro-news-slider {
        height: 300px;
    }
    
    .gastro-news-track {
        height: 300px;
    }
    
    .gastro-news-card {
        width: 250px;
        height: 300px;
    }
    
    .gastro-news-card-image {
        width: 250px;
        height: 300px;
    }
    
    .gastro-news-card-image::after {
        height: 120px;
    }
    
    .gastro-news-card-title {
        font-size: 18px;
    }
    
    .gastro-news-card-body {
        padding: 15px;
        margin: 15px;
    }
    
    .gastro-news-card-arrow {
        width: 45px;
        height: 45px;
    }
    
    .gastro-news-tag {
        padding: 10px;
        font-size: 12px;
    }
}

/* Фонові зображення */
.gastro-page {
    position: relative;
    z-index: 2;
}

.gastro-page::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/ranna/assets/img/back-2.webp') no-repeat center bottom;
    background-size: 100% auto;
    z-index: -1;
    pointer-events: none;
    min-height: 400px;
}

.gastro-page::before {
    content: '';
    position: absolute;
    bottom: calc(2400px + 100px);
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/ranna/assets/img/back-1.webp') no-repeat center bottom;
    background-size: 100% auto;
    z-index: -2;
    pointer-events: none;
    min-height: 400px;
}

 