/* Vine Studio global responsive layer */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    min-width: 0;
    overflow-x: hidden;
}

img,
video,
iframe,
svg,
canvas {
    max-width: 100%;
    height: auto;
}

input,
button,
select,
textarea {
    max-width: 100%;
    font: inherit;
}

table {
    max-width: 100%;
}

pre,
code {
    overflow-wrap: anywhere;
}

.container,
.wrap,
.page,
.content,
.main,
main {
    min-width: 0;
}

.nav,
.navin,
header {
    max-width: 100%;
}

.links {
    min-width: 0;
}

@media (max-width: 800px) {
    .navin {
        width: calc(100% - 24px) !important;
        min-height: 64px;
        margin: 0 auto !important;
        gap: 12px;
    }

    .brand {
        flex: 0 0 auto;
        font-size: 19px !important;
        white-space: nowrap;
    }

    .links {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-end !important;
        gap: 6px 12px !important;
    }

    .links a {
        margin: 0 !important;
        padding: 8px 4px !important;
        font-size: 14px !important;
        white-space: nowrap;
    }

    main,
    .main,
    .container,
    .wrap,
    .page {
        max-width: 100% !important;
    }

    .hero {
        height: auto !important;
        min-height: 0 !important;
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }

    .hero h1 {
        font-size: clamp(34px, 10vw, 56px) !important;
        line-height: 1.05 !important;
        overflow-wrap: anywhere;
    }

    .grid,
    .cards,
    .products,
    .article-grid,
    .product-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .card,
    .product-card,
    .article-card {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .navin {
        align-items: flex-start !important;
        padding: 12px 0 !important;
    }

    .links {
        line-height: 1.25;
    }

    .hero {
        padding: 24px 16px !important;
    }

    .hero h1 {
        font-size: clamp(30px, 11vw, 44px) !important;
    }
}
