/*
==============================================================================
GUSTI GIUSTI — PAGE V2
Theme code: gusti-giusti

Visual language:
- full-screen fixed cover background
- clean transparent logo / wordmark
- #040404 + #f0e9cd
- matte minimal surfaces
- no gradients
- no backdrop blur
- restrained rounded geometry
- complete Builder V2 component coverage
==============================================================================
*/

body.space-page.theme-gusti-giusti {
    --gg-bg: #040404;
    --gg-surface: #090909;
    --gg-surface-2: #0f0f0f;
    --gg-surface-3: #151515;

    --gg-cream: #f0e9cd;
    --gg-cream-soft: #d5ceb5;
    --gg-white: #f7f5ec;
    --gg-muted: #aaa48f;
    --gg-muted-2: #7d796d;

    --gg-border: rgba(240, 233, 205, .10);
    --gg-border-soft: rgba(240, 233, 205, .055);
    --gg-border-strong: rgba(240, 233, 205, .22);

    --gg-r-xs: 8px;
    --gg-r-sm: 12px;
    --gg-r-md: 16px;
    --gg-r-lg: 20px;
    --gg-r-xl: 24px;
    --gg-pill: 999px;

    --gg-ease: cubic-bezier(.2, .8, .2, 1);
    --gg-ease-out: cubic-bezier(.16, 1, .3, 1);

    --space-page-accent: var(--gg-cream);

    margin: 0 !important;
    color: var(--gg-cream) !important;
    background: var(--gg-bg) !important;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    color-scheme: dark;
}

/* Remove the atmospheric cyber background from the default renderer. */
body.space-page.theme-gusti-giusti::before {
    display: none !important;
    content: none !important;
}

body.space-page.theme-gusti-giusti *,
body.space-page.theme-gusti-giusti *::before,
body.space-page.theme-gusti-giusti *::after {
    box-sizing: border-box;
}

body.space-page.theme-gusti-giusti :focus-visible {
    outline: 2px solid var(--gg-cream) !important;
    outline-offset: 3px !important;
}

/* ==========================================================================
   PAGE WRAPPER
   ========================================================================== */

body.space-page.theme-gusti-giusti > main.test-wrap {
    position: relative !important;
    z-index: 2 !important;

    width: 100% !important;
    max-width: 540px !important;
    min-width: 0 !important;
    min-height: 100dvh !important;

    display: flex !important;
    flex-direction: column !important;

    margin: 0 auto !important;

    padding:
        max(86px, calc(env(safe-area-inset-top, 0px) + 66px))
        18px
        52px !important;

    background: transparent !important;

    box-sizing: border-box !important;
    overflow: visible !important;
}

body.space-page.theme-gusti-giusti > main.test-wrap > .space-page-hero,
body.space-page.theme-gusti-giusti > main.test-wrap > .space-v2-block {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    box-sizing: border-box !important;
}

/* ==========================================================================
   FULL-SCREEN COVER BACKGROUND
   ========================================================================== */

body.space-page.theme-gusti-giusti .space-page-hero {
    position: relative !important;
    z-index: 2 !important;

    width: 100% !important;
    min-height: 0 !important;

    margin: 0 0 20px !important;
    padding: 0 !important;

    text-align: center !important;
}

body.space-page.theme-gusti-giusti .space-page-hero__cover {
    position: fixed !important;
    inset: 0 !important;
    z-index: -1 !important;

    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    background: var(--gg-bg) !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    pointer-events: none !important;
}

body.space-page.theme-gusti-giusti .space-page-hero__cover::before {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;

    background: rgba(4, 4, 4, .54) !important;

    pointer-events: none !important;
}

body.space-page.theme-gusti-giusti .space-page-hero__cover::after {
    display: none !important;
    content: none !important;
}

body.space-page.theme-gusti-giusti .space-page-hero__cover img {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;

    opacity: 1 !important;

    filter:
        brightness(.70)
        saturate(.76)
        contrast(1.03) !important;

    mask-image: none !important;
    -webkit-mask-image: none !important;

    transform: none !important;
    will-change: auto !important;
}

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

body.space-page.theme-gusti-giusti .space-page-hero__body {
    position: relative !important;
    z-index: 3 !important;

    width: 100% !important;
    max-width: 470px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    text-align: center !important;
}

body.space-page.theme-gusti-giusti .space-page-hero__avatar {
    width: min(68vw, 270px) !important;
    height: 118px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 auto 10px !important;
    padding: 0 !important;

    overflow: visible !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

body.space-page.theme-gusti-giusti .space-page-hero__avatar img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
    object-position: center !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    filter: none !important;
}

body.space-page.theme-gusti-giusti .space-page-hero__avatar span {
    color: var(--gg-cream) !important;

    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
}

/*
 * The wordmark/logo is the primary identity.
 * Keep the text page title visible but deliberately secondary.
 */
body.space-page.theme-gusti-giusti .space-page-hero__title {
    margin: 0 0 5px !important;

    color: var(--gg-cream-soft) !important;
    background: none !important;

    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;

    font-family: inherit !important;
    font-size: .66rem !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    letter-spacing: .16em !important;
    text-transform: uppercase !important;

    text-shadow: none !important;
}

body.space-page.theme-gusti-giusti .space-page-hero__subtitle {
    margin: 0 0 8px !important;

    color: var(--gg-cream) !important;

    font-size: .72rem !important;
    line-height: 1.25 !important;
    font-weight: 650 !important;

    letter-spacing: .10em !important;
    text-transform: uppercase !important;

    opacity: 1 !important;
}

body.space-page.theme-gusti-giusti .space-page-hero__bio {
    max-width: 39ch !important;

    margin: 0 auto !important;

    color: var(--gg-cream-soft) !important;

    font-size: .84rem !important;
    line-height: 1.48 !important;
    font-weight: 450 !important;

    text-shadow: 0 1px 8px rgba(0, 0, 0, .34) !important;
}

/* ==========================================================================
   BLOCK RHYTHM
   ========================================================================== */

body.space-page.theme-gusti-giusti .space-v2-block {
    position: relative !important;
    z-index: 3 !important;

    margin: 0 0 12px !important;

    opacity: 0;
    transform: translateY(12px);

    transition:
        opacity .38s ease,
        transform .48s var(--gg-ease-out) !important;
}

body.space-page.theme-gusti-giusti .space-v2-block.is-active {
    opacity: 1;
    transform: translateY(0);
}

body.space-page.theme-gusti-giusti .space-v2-block.is-compact {
    margin-bottom: 8px !important;
}

body.space-page.theme-gusti-giusti
.space-v2-block.is-boxed:not(.space-v2-block--event-cover):not(.space-v2-block--image-banner):not(.space-v2-block--youtube-embed) {
    padding: 16px !important;

    background: var(--gg-surface) !important;

    border: 1px solid var(--gg-border) !important;
    border-radius: var(--gg-r-md) !important;

    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* ==========================================================================
   TITLES / TEXT
   ========================================================================== */

body.space-page.theme-gusti-giusti .space-v2-block--title {
    margin-top: 14px !important;
    margin-bottom: 10px !important;
}

body.space-page.theme-gusti-giusti .space-v2-title__heading {
    margin: 0 0 5px !important;

    color: var(--gg-cream) !important;

    font-family: inherit !important;
    font-size: 1.22rem !important;
    line-height: 1.15 !important;
    font-weight: 650 !important;

    letter-spacing: -.015em !important;
}

body.space-page.theme-gusti-giusti .space-v2-title__subtitle {
    margin: 0 !important;

    color: var(--gg-muted) !important;

    font-size: .76rem !important;
    line-height: 1.4 !important;
}

body.space-page.theme-gusti-giusti .space-v2-text__content {
    width: 100% !important;

    padding: 15px 16px !important;

    color: var(--gg-cream-soft) !important;
    background: var(--gg-surface) !important;

    border: 1px solid var(--gg-border) !important;
    border-radius: var(--gg-r-md) !important;

    font-size: .84rem !important;
    line-height: 1.55 !important;
    font-weight: 450 !important;

    text-align: left !important;

    box-shadow: none !important;
}

/* ==========================================================================
   DIVIDER
   ========================================================================== */

body.space-page.theme-gusti-giusti .space-v2-divider {
    gap: 12px !important;

    margin: 17px 0 !important;
}

body.space-page.theme-gusti-giusti .space-v2-divider__line {
    height: 1px !important;

    background: var(--gg-border) !important;
}

body.space-page.theme-gusti-giusti .space-v2-divider__label {
    color: var(--gg-muted-2) !important;

    font-size: .58rem !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

/* ==========================================================================
   BUTTON LINKS
   ========================================================================== */

body.space-page.theme-gusti-giusti .space-v2-button {
    width: 100% !important;
    min-height: 54px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 10px !important;

    padding: 13px 17px !important;

    color: var(--gg-cream) !important;
    background: var(--gg-surface) !important;

    border: 1px solid var(--gg-border) !important;
    border-radius: var(--gg-r-md) !important;

    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    font-size: .86rem !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;

    text-decoration: none !important;

    overflow: hidden !important;

    transition:
        transform .24s var(--gg-ease-out),
        color .20s ease,
        background-color .20s ease,
        border-color .20s ease !important;
}

body.space-page.theme-gusti-giusti .space-v2-button:hover,
body.space-page.theme-gusti-giusti .space-v2-button:focus-visible {
    transform: translateY(-2px) !important;

    color: var(--gg-bg) !important;
    background: var(--gg-cream) !important;

    border-color: var(--gg-cream) !important;

    box-shadow: none !important;
}

body.space-page.theme-gusti-giusti .space-v2-button:active {
    transform: scale(.985) !important;
}

body.space-page.theme-gusti-giusti .space-v2-button__icon {
    color: currentColor !important;

    font-size: 17px !important;
}

/* ==========================================================================
   EVENT COVER
   ========================================================================== */

body.space-page.theme-gusti-giusti .space-v2-block--event-cover {
    overflow: hidden !important;

    background: var(--gg-surface) !important;

    border: 1px solid var(--gg-border) !important;
    border-radius: var(--gg-r-lg) !important;

    box-shadow: none !important;
}

body.space-page.theme-gusti-giusti .space-v2-event-cover__media {
    overflow: hidden !important;

    background: var(--gg-surface-2) !important;
}

body.space-page.theme-gusti-giusti .space-v2-event-cover__media img {
    display: block !important;

    width: 100% !important;
    height: 220px !important;

    object-fit: cover !important;

    opacity: .82 !important;

    transition:
        transform .46s var(--gg-ease-out),
        opacity .24s ease !important;
}

@media (hover: hover) {
    body.space-page.theme-gusti-giusti
    .space-v2-block--event-cover:hover
    .space-v2-event-cover__media img {
        transform: scale(1.025) !important;
        opacity: .92 !important;
    }
}

body.space-page.theme-gusti-giusti .space-v2-event-cover__content {
    position: relative !important;
    inset: auto !important;

    padding: 17px !important;

    background: var(--gg-surface) !important;

    text-align: left !important;
}

body.space-page.theme-gusti-giusti .space-v2-event-cover__eyebrow {
    margin-bottom: 6px !important;

    color: var(--gg-muted) !important;

    font-size: .58rem !important;
    font-weight: 700 !important;

    letter-spacing: .10em !important;
    text-transform: uppercase !important;
}

body.space-page.theme-gusti-giusti .space-v2-event-cover__title {
    margin: 0 0 5px !important;

    color: var(--gg-cream) !important;

    font-family: inherit !important;
    font-size: 1.16rem !important;
    line-height: 1.16 !important;
    font-weight: 650 !important;
}

body.space-page.theme-gusti-giusti .space-v2-event-cover__subtitle {
    margin: 0 0 14px !important;

    color: var(--gg-muted) !important;

    font-size: .78rem !important;
    line-height: 1.45 !important;
}

body.space-page.theme-gusti-giusti
.space-v2-event-cover__actions
.space-v2-button {
    color: var(--gg-bg) !important;
    background: var(--gg-cream) !important;

    border-color: var(--gg-cream) !important;

    box-shadow: none !important;
}

/* ==========================================================================
   IMAGE BANNER
   ========================================================================== */

body.space-page.theme-gusti-giusti .space-v2-image-banner {
    overflow: hidden !important;

    background: var(--gg-surface) !important;

    border: 1px solid var(--gg-border) !important;
    border-radius: var(--gg-r-lg) !important;

    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.space-page.theme-gusti-giusti .space-v2-image-banner__media {
    overflow: hidden !important;
}

body.space-page.theme-gusti-giusti .space-v2-image-banner__image {
    display: block !important;

    width: 100% !important;
    max-height: 280px !important;

    object-fit: cover !important;

    opacity: .92 !important;

    transition:
        transform .42s var(--gg-ease-out),
        opacity .22s ease !important;
}

@media (hover: hover) {
    body.space-page.theme-gusti-giusti
    .space-v2-image-banner:hover
    .space-v2-image-banner__image {
        transform: scale(1.02) !important;
        opacity: 1 !important;
    }
}

body.space-page.theme-gusti-giusti .space-v2-image-banner__caption {
    padding: 11px 14px !important;

    color: var(--gg-muted) !important;
    background: var(--gg-surface) !important;

    font-size: .74rem !important;
    line-height: 1.35 !important;

    text-align: left !important;
}

/* ==========================================================================
   YOUTUBE
   ========================================================================== */

body.space-page.theme-gusti-giusti .space-v2-youtube__title {
    margin: 0 0 9px !important;

    color: var(--gg-cream) !important;

    font-size: .88rem !important;
    font-weight: 600 !important;

    text-align: left !important;
}

body.space-page.theme-gusti-giusti .space-v2-youtube__frame-wrap {
    overflow: hidden !important;

    background: #000 !important;

    border: 1px solid var(--gg-border) !important;
    border-radius: var(--gg-r-lg) !important;

    box-shadow: none !important;
}

/* ==========================================================================
   PROMO CARD
   ========================================================================== */

body.space-page.theme-gusti-giusti .space-v2-promo-card {
    overflow: hidden !important;

    background: var(--gg-surface) !important;

    border: 1px solid var(--gg-border) !important;
    border-radius: var(--gg-r-lg) !important;

    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__media {
    height: 220px !important;

    background: var(--gg-surface-2) !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__media::after {
    display: none !important;
    content: none !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__media img {
    opacity: .90 !important;

    transition:
        transform .44s var(--gg-ease-out),
        opacity .22s ease !important;
}

@media (hover: hover) {
    body.space-page.theme-gusti-giusti
    .space-v2-promo-card:hover
    .space-v2-promo-card__media img {
        transform: scale(1.025) !important;
        opacity: 1 !important;
    }
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__content {
    padding: 16px !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__topline {
    gap: 8px !important;
    margin-bottom: 10px !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__eyebrow {
    color: var(--gg-muted) !important;

    font-size: .58rem !important;
    font-weight: 700 !important;
    letter-spacing: .09em !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__badge {
    min-height: 24px !important;
    padding: 4px 8px !important;

    color: var(--gg-cream-soft) !important;
    background: var(--gg-surface-2) !important;

    border: 1px solid var(--gg-border) !important;
    border-radius: var(--gg-r-xs) !important;

    font-size: .57rem !important;
    letter-spacing: .05em !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__title {
    color: var(--gg-cream) !important;

    font-family: inherit !important;
    font-size: 1.16rem !important;
    line-height: 1.15 !important;
    font-weight: 650 !important;

    letter-spacing: -.015em !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__description {
    margin-top: 8px !important;

    color: var(--gg-muted) !important;

    font-size: .78rem !important;
    line-height: 1.48 !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__bottom {
    gap: 10px !important;

    margin-top: 14px !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__price {
    color: var(--gg-cream) !important;

    font-size: .94rem !important;
    font-weight: 700 !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__button {
    min-height: 38px !important;
    padding: 9px 12px !important;

    color: var(--gg-bg) !important;
    background: var(--gg-cream) !important;

    border: 0 !important;
    border-radius: var(--gg-r-sm) !important;

    box-shadow: none !important;

    font-size: .70rem !important;
    font-weight: 700 !important;

    transition:
        transform .20s var(--gg-ease),
        opacity .20s ease !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card__button:hover {
    transform: translateY(-1px) !important;
    filter: none !important;
}

/* ==========================================================================
   PROMO POPUP
   ========================================================================== */

body.space-page.theme-gusti-giusti .space-v2-promo-popup {
    padding: 14px !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-popup__backdrop {
    background: rgba(4, 4, 4, .82) !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-popup__panel {
    width: min(100%, 430px) !important;
    max-height: calc(100dvh - 28px) !important;

    transform: translateY(12px) scale(.99) !important;

    transition:
        transform .30s var(--gg-ease-out),
        opacity .20s ease !important;
}

body.space-page.theme-gusti-giusti
.space-v2-promo-popup.is-open
.space-v2-promo-popup__panel {
    transform: translateY(0) scale(1) !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-popup__close {
    width: 36px !important;
    height: 36px !important;

    color: var(--gg-cream) !important;
    background: var(--gg-surface-2) !important;

    border: 1px solid var(--gg-border) !important;
    border-radius: var(--gg-r-sm) !important;

    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    font-size: 20px !important;
}

body.space-page.theme-gusti-giusti .space-v2-promo-card--popup {
    box-shadow: none !important;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */

body.space-page.theme-gusti-giusti .space-v2-block--gallery {
    margin-bottom: 14px !important;
}

body.space-page.theme-gusti-giusti .space-v2-gallery__head {
    margin-bottom: 11px !important;

    text-align: left !important;
}

body.space-page.theme-gusti-giusti .space-v2-gallery__title {
    color: var(--gg-cream) !important;

    font-family: inherit !important;
    font-size: 1.08rem !important;
    font-weight: 650 !important;

    letter-spacing: -.01em !important;
}

body.space-page.theme-gusti-giusti .space-v2-gallery__subtitle {
    margin: 4px 0 0 !important;

    color: var(--gg-muted) !important;

    font-size: .74rem !important;
    line-height: 1.4 !important;
}

body.space-page.theme-gusti-giusti .space-v2-gallery__grid {
    gap: 8px !important;
}

body.space-page.theme-gusti-giusti .space-v2-gallery__item {
    overflow: hidden !important;

    background: var(--gg-surface) !important;

    border: 1px solid var(--gg-border) !important;
    border-radius: var(--gg-r-md) !important;

    box-shadow: none !important;
}

body.space-page.theme-gusti-giusti .space-v2-gallery__item img {
    transition:
        transform .42s var(--gg-ease-out),
        opacity .22s ease !important;
}

@media (hover: hover) {
    body.space-page.theme-gusti-giusti
    .space-v2-gallery__item:hover img {
        transform: scale(1.025) !important;
        opacity: 1 !important;
    }
}

body.space-page.theme-gusti-giusti .space-v2-gallery__item figcaption {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;

    padding: 6px 8px !important;

    color: var(--gg-cream-soft) !important;
    background: var(--gg-surface) !important;

    border: 1px solid var(--gg-border) !important;
    border-radius: var(--gg-r-xs) !important;

    font-size: .65rem !important;
    font-weight: 600 !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.space-page.theme-gusti-giusti
.space-v2-gallery--carousel
.space-v2-gallery__grid {
    gap: 10px !important;

    padding-bottom: 10px !important;
}

body.space-page.theme-gusti-giusti
.space-v2-gallery--carousel
.space-v2-gallery__item,
body.space-page.theme-gusti-giusti
.space-v2-gallery--carousel
.space-v2-gallery__item--1,
body.space-page.theme-gusti-giusti
.space-v2-gallery--carousel
.space-v2-gallery__item--4 {
    border-radius: var(--gg-r-lg) !important;
    box-shadow: none !important;
}

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

body.space-page.theme-gusti-giusti > .space-public-footer {
    position: relative !important;
    z-index: 3 !important;

    margin-top: 0 !important;

    color: var(--gg-muted) !important;
    background: var(--gg-bg) !important;

    border-top: 1px solid var(--gg-border-soft) !important;
}

body.space-page.theme-gusti-giusti
> .space-public-footer
.space-public-footer__eyebrow,
body.space-page.theme-gusti-giusti
> .space-public-footer
.space-public-footer__social {
    color: var(--gg-cream) !important;
}

body.space-page.theme-gusti-giusti
> .space-public-footer
.space-public-footer__tagline,
body.space-page.theme-gusti-giusti
> .space-public-footer
.space-public-footer__bottom p {
    color: var(--gg-muted-2) !important;
}

body.space-page.theme-gusti-giusti
> .space-public-footer
.space-public-footer__cta {
    background: var(--gg-surface) !important;

    border: 1px solid var(--gg-border) !important;
    border-radius: var(--gg-r-md) !important;

    box-shadow: none !important;
}

body.space-page.theme-gusti-giusti
> .space-public-footer
.space-public-footer__join {
    color: var(--gg-bg) !important;
    background: var(--gg-cream) !important;

    border: 0 !important;
    border-radius: var(--gg-r-sm) !important;

    box-shadow: none !important;
}

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

@media (max-width: 560px) {
    body.space-page.theme-gusti-giusti > main.test-wrap {
        padding:
            max(76px, calc(env(safe-area-inset-top, 0px) + 58px))
            14px
            42px !important;
    }

    body.space-page.theme-gusti-giusti .space-page-hero {
        margin-bottom: 16px !important;
    }

    body.space-page.theme-gusti-giusti .space-page-hero__avatar {
        width: min(68vw, 238px) !important;
        height: 100px !important;

        margin-bottom: 8px !important;
    }

    body.space-page.theme-gusti-giusti .space-page-hero__title {
        font-size: .61rem !important;
    }

    body.space-page.theme-gusti-giusti .space-page-hero__subtitle {
        font-size: .67rem !important;
    }

    body.space-page.theme-gusti-giusti .space-page-hero__bio {
        max-width: 36ch !important;

        font-size: .80rem !important;
        line-height: 1.43 !important;
    }

    body.space-page.theme-gusti-giusti .space-v2-button {
        min-height: 52px !important;

        padding: 12px 15px !important;
    }

    body.space-page.theme-gusti-giusti .space-v2-event-cover__media img,
    body.space-page.theme-gusti-giusti .space-v2-promo-card__media {
        height: 200px !important;
    }

    body.space-page.theme-gusti-giusti .space-v2-promo-card__bottom {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    body.space-page.theme-gusti-giusti .space-v2-promo-card__button {
        width: 100% !important;
    }
}

@media (max-width: 390px) {
    body.space-page.theme-gusti-giusti > main.test-wrap {
        padding:
            max(68px, calc(env(safe-area-inset-top, 0px) + 52px))
            12px
            38px !important;
    }

    body.space-page.theme-gusti-giusti .space-page-hero__avatar {
        width: min(70vw, 218px) !important;
        height: 92px !important;
    }

    body.space-page.theme-gusti-giusti .space-page-hero__bio {
        max-width: 34ch !important;

        font-size: .78rem !important;
    }

    body.space-page.theme-gusti-giusti .space-v2-text__content,
    body.space-page.theme-gusti-giusti
    .space-v2-block.is-boxed:not(.space-v2-block--event-cover):not(.space-v2-block--image-banner):not(.space-v2-block--youtube-embed) {
        padding: 14px !important;
    }

    body.space-page.theme-gusti-giusti .space-v2-event-cover__media img,
    body.space-page.theme-gusti-giusti .space-v2-promo-card__media {
        height: 184px !important;
    }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    body.space-page.theme-gusti-giusti .space-v2-block,
    body.space-page.theme-gusti-giusti .space-v2-button,
    body.space-page.theme-gusti-giusti .space-v2-event-cover__media img,
    body.space-page.theme-gusti-giusti .space-v2-image-banner__image,
    body.space-page.theme-gusti-giusti .space-v2-promo-card__media img,
    body.space-page.theme-gusti-giusti .space-v2-promo-card__button,
    body.space-page.theme-gusti-giusti .space-v2-promo-popup,
    body.space-page.theme-gusti-giusti .space-v2-promo-popup__panel,
    body.space-page.theme-gusti-giusti .space-v2-gallery__item img {
        transition: none !important;
        animation: none !important;
    }

    body.space-page.theme-gusti-giusti .space-v2-block {
        opacity: 1 !important;
        transform: none !important;
    }
}
