/*
 * Gastreich Custom Page
 * Brand colors:
 * Marrone:    #442721
 * Off-White:  #d8d6c6
 */

/* =========================================
   BRAND FONTS
========================================= */

@font-face {
    font-family: 'Aurora';
    src: url('fonts/Aurora-LightRegular.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --gastreich-marrone: #442721;
    --gastreich-offwhite: #d8d6c6;
    --gastreich-link: #e5e3d8;
}

/* =========================================
   GLOBAL
========================================= */

html,
body {
    margin: 0;
    padding: 0;
    background: var(--gastreich-marrone);
    color: var(--gastreich-offwhite);
    font-family: 'Aurora', sans-serif;
    font-weight: 300;
}

body.gastreich-page {
    background: var(--gastreich-marrone);
    color: var(--gastreich-offwhite);

    margin: 0;
    padding: 0;
    background: var(--gastreich-marrone);
    color: var(--gastreich-offwhite);
    font-family: 'Aurora', sans-serif;
    font-weight: 300;
}

.gastreich,
.gastreich * {
    box-sizing: border-box;
}

.gastreich {
    width: 100%;
    overflow: hidden;
    background: var(--gastreich-marrone);
    color: var(--gastreich-offwhite);
}

/* =========================================
   HEADER
========================================= */

.gastreich-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 40px;
    padding: 24px 5%;
    background: var(--gastreich-marrone);
    color: var(--gastreich-offwhite);
}

body.gastreich-page a {
    color: var(--gastreich-offwhite);
    text-decoration: none;
}

.gastreich-brand-link,
.gastreich-contact {
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gastreich-logo-container {
    position: relative;
    width: 100%;
    min-height: 110px;
}

.gastreich-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(240px, 30vw);
}

.gastreich-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}

/* =========================================
   HERO
========================================= */

.gastreich-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    background: var(--gastreich-marrone);
}

.gastreich-hero-media {
    display: block;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    max-height: 850px;
    object-fit: cover;
}

.gastreich-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 500px;
    color: var(--gastreich-offwhite);
    background: var(--gastreich-marrone);
    font-size: 14px;
    letter-spacing: 0.15em;
}

/* =========================================
   INTRO
========================================= */

.gastreich-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10%;
    padding: 100px 10%;
    background: var(--gastreich-marrone);
    color: var(--gastreich-offwhite);
}

.gastreich-intro-copy {
    max-width: 1024px;
    font-size: clamp(16px, 3vw, 20px);
    /* font-size: clamp(24px, 3vw, 42px); */
    line-height: 1.35;
    text-align: center;
}

.gastreich-intro-copy p {
    margin: 0 0 1em;
}

.gastreich-corporate {
    max-width: 480px;
    font-size: 18px;
    line-height: 1.7;
}

.gastreich-corporate p {
    margin: 0 0 1em;
}

/* =========================================
   ACTION BAR
========================================= */

.gastreich-actionbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    padding: 25px 5%;
    background: var(--gastreich-marrone);
    color: var(--gastreich-offwhite);
    font-size: x-large;
}

.gastreich-actionbar a {
    color: var(--gastreich-link);
    font-size: 14px;
    letter-spacing: 0.12em;
    transition: opacity 0.2s ease;
    border-bottom: 1px solid var(--gastreich-link);
    padding-bottom: 2px;
}

.gastreich-actionbar a:hover {
    opacity: 0.6;
}

/* =========================================
   INSTAGRAM FEED
========================================= */

.gastreich-feed {
    width: 100%;
    padding: 50px 5%;
    background: var(--gastreich-marrone);
}

.gastreich-feed #sb_instagram {
    width: 100%;
}

.gastreich-feed #sb_instagram .sbi_item {
    background: transparent;
}

/* =========================================
   LOWER GRID
========================================= */

.gastreich-lower-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 500px;
    background: var(--gastreich-marrone);
    color: var(--gastreich-offwhite);
}

.gastreich-slow-goods {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 50px;
    font-size: 20px;
    letter-spacing: 0.12em;
}

.slow-goods-mark {
    font-size: 55px;
}

.gastreich-manifesto {
    padding: 80px 10%;
    background: var(--gastreich-offwhite);
    color: var(--gastreich-marrone);
}

.gastreich-manifesto h2 {
    margin: 0 0 35px;
    font-size: 32px;
    font-weight: 300;
}

.gastreich-manifesto div {
    font-size: 18px;
    line-height: 1.7;
}

.gastreich-lower-spacer {
    background: var(--gastreich-marrone);
}

/* =========================================
   FOOTER
========================================= */

.gastreich-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 35px 5%;
    background: var(--gastreich-marrone);
    color: var(--gastreich-offwhite);
    font-size: 13px;
    letter-spacing: 0.08em;
}

.gastreich-footer a {
    color: var(--gastreich-offwhite);
    text-decoration: none;
}

/* =========================================
   MAP
========================================= */

.gastreich-map-section {
    width: 100%;
    background: var(--gastreich-marrone);
    padding: 0;
}

.gastreich-map {
    width: 100%;
    height: 450px;
    background: var(--gastreich-offwhite);
}

.gastreich-map-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
}

.gastreich-map-button {
    display: inline-block;
    padding: 14px 24px;
    border: 1px solid var(--gastreich-offwhite);
    color: var(--gastreich-offwhite);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.1em;
    transition: all 0.2s ease;
}

.gastreich-map-button:hover {
    background: var(--gastreich-offwhite);
    color: var(--gastreich-marrone);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .gastreich-header {
        min-height: 85px;
        padding: 20px 5%;
    }

    .gastreich-logo {
        width: 150px;
    }

    .gastreich-logo img {
        max-height: 60px;
    }

    

    .gastreich-brand-link,
    .gastreich-contact {
        font-size: 10px;
    }

    .gastreich-hero-media {
        height: 55vh;
        min-height: 350px;
    }

    .gastreich-intro {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 65px 7%;
    }

    .gastreich-intro-copy {
        font-size: 16px;
    }

    .gastreich-corporate {
        font-size: 16px;
    }

    .gastreich-actionbar {
        flex-wrap: wrap;
        gap: 20px;
        padding: 22px 5%;
    }

    .gastreich-actionbar a {
        font-size: 20px;
    }

    .gastreich-feed {
        padding: 30px 3%;
    }

    .gastreich-lower-grid {
        grid-template-columns: 1fr;
    }

    .gastreich-slow-goods {
        min-height: 250px;
    }

    .gastreich-manifesto {
        padding: 55px 8%;
    }

    .gastreich-lower-spacer {
        display: none;
    }

    .gastreich-footer {
        gap: 8px;
        padding: 25px 6%;
        font-size: 11px;
        text-align: center;
    }

    .gastreich-map {
        height: 350px;
    }

    .gastreich-map-actions {
        flex-direction: column;
        align-items: center;
    }

    .gastreich-map-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Gastreich links – independent of Elementor kit IDs */
body.gastreich-page main.gastreich a,
body.gastreich-page main.gastreich a:visited {
    color: var(--gastreich-link) !important;
}

body.gastreich-page main.gastreich a:hover,
body.gastreich-page main.gastreich a:focus {
    color: var(--gastreich-offwhite) !important;
}


/* remove the newsletter popup */
body .elementor-location-popup {
    display: none !important;
}